/* ========================================================================
   MYSOFTINDIA CORE ENTERPRISE SYSTEM STYLESHEET
======================================================================== */

:root {
    /*change*/
    --bg-primary: #e8e0cd;
    --bg-secondary: #ddd5c2;
    --bg-tertiary: #d2c9b3;
    --text-main: #3d4329;
    --text-muted: #6b7152;
    --accent-color: #7a5f1f;
    --accent-gradient: linear-gradient(135deg, #5f6a3c 0%, #3d4329 100%);
    --surface-gradient: linear-gradient(180deg, #ddd5c2 0%, #e8e0cd 100%);
    --border-color: rgba(82, 89, 55, 0.18);
    --border-hover: rgba(82, 89, 55, 0.32);
    --dark-olive: #262b1a;
    --on-dark: #f0e9d6;
    --on-dark-muted: #c9c2aa;
    --gold-light: #d4b26a;
    /*change*/
    --font-stack: 'DM Sans', -apple-system, sans-serif;
    --font-heading: 'Playfair Display', Georgia, serif;
    --border-radius-sm: 6px;
    --border-radius-md: 12px;
    --border-radius-lg: 20px;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.6);
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-primary);
    color: var(--text-main);
    font-family: var(--font-stack);
    -webkit-font-smoothing: antialiased;
}

body {
    overflow-x: hidden;
    line-height: 1.6;
}


h1, h2, h3, .footer-logo, .navbar-brand {
    font-family: var(--font-heading);
}


.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.text-center { text-align: center; }
.accent { color: var(--accent-color); }
.text-gradient {
    /*change*/ background: linear-gradient(90deg, #a88a3a, #525937); /*change*/
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.id-anchor {
    scroll-margin-top: 100px;
}

section {
    padding: 110px 0;
    border-bottom: 1px solid var(--border-color);
}

.section-header {
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--dark-olive);
}

/* Button Configurations */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--accent-gradient);
    color: #ffffff;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    transform: translateY(-2px);
    /*change*/ box-shadow: 0 12px 20px rgba(82, 89, 55, 0.35); /*change*/
}

.btn-secondary {
    /*change*/ background: rgba(82, 89, 55, 0.06); /*change*/
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    /*change*/ background: rgba(82, 89, 55, 0.14); /*change*/
    border-color: var(--border-hover);
}

.btn-block { width: 100%; }

/* 1. Top Header Component */
.top-header {
    /*change*/
    background-color: var(--dark-olive);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--on-dark-muted);
    /*change*/
    font-size: 0.8rem;
    padding: 10px 0;
}

.top-header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-header-left {
    display: flex;
    gap: 24px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-item svg { /*change*/ color: var(--gold-light); /*change*/ }

.top-tag {
    /*change*/
    background: rgba(212, 178, 106, 0.16);
    color: var(--gold-light);
    /*change*/
    padding: 2px 10px;
    border-radius: 4px;
}

/* 2. Sticky Navbar Configuration */
.navbar {
    position: relative;
    z-index: 1000;
    /*change*/ background-color: rgba(232, 224, 205, 0.92); /*change*/
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.navbar.sticky-active {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    box-shadow: var(--shadow-lg);
    animation: slideDownNav 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideDownNav {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.navbar-brand {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.95rem;
    color: var(--dark-olive);
    position: relative;
    padding: 8px 0;
}

.nav-link:hover, .nav-link.active { color: var(--text-main); }

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition-smooth);
}

.nav-link.active::after, .nav-link:hover::after { width: 100%; }

.nav-btn {
    /*change*/
    background: #525937;
    color: #ffffff;
    /*change*/
    padding: 10px 22px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--border-radius-sm);
}

.nav-btn:hover {
    background: var(--accent-color);
    color: #ffffff;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger-bar {
    width: 24px;
    height: 2px;
    background-color: var(--text-main);
    transition: var(--transition-smooth);
}

/* 3. Hero Section Configuration */
.hero-section {
    background: var(--surface-gradient);
    padding: 120px 0 140px 0;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 6px 14px;
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 30px;
    margin-bottom: 24px;
    color: var(--dark-olive);
}

.hero-title {
    font-size: 3.25rem;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--dark-olive);
    margin-bottom: 36px;
}

.hero-actions { display: flex; gap: 16px; }

/* Abstract Dashboard Layout Graphic */
.abstract-dashboard {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    width: 100%;
    height: 330px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.dashboard-header {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.dashboard-header .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.2);
}

.mock-tab-title {
    font-size: 0.75rem;
    color: var(--dark-olive);
    margin-left: 8px;
}

.dashboard-body {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.chart-line-wrapper {
    background-color: rgba(255, 255, 255, 0.01);
    border: 1px dashed var(--border-color);
    height: 130px;
    border-radius: var(--border-radius-sm);
    position: relative;
    overflow: hidden;
}

.chart-label-mock {
    position: absolute;
    top: 12px;
    left: 12px;
    font-size: 0.7rem;
    color: var(--dark-olive);
}

.mock-line {
    position: absolute;
    bottom: 35px;
    left: 0;
    width: 200%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    animation: mockWave 4s infinite linear;
}

@keyframes mockWave {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0%); }
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.mini-card {
    /*change*/ background: rgba(82, 89, 55, 0.04); /*change*/
    border: 1px solid var(--border-color);
    padding: 12px;
    border-radius: var(--border-radius-sm);
}

.mini-card small {
    display: block;
    font-size: 0.75rem;
    color: var(--dark-olive);
}

.mini-card strong {
    font-size: 1.1rem;
    /*change*/ color: var(--text-main); /*change*/
}

/* 4. Services Components */
.services-section { background: var(--bg-primary); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }

.service-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: var(--border-radius-md);
    transition: var(--transition-smooth);
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-lg);
}

.service-icon-wrapper {
    width: 50px;
    height: 50px;
    background: /*change*/ rgba(122, 95, 31, 0.12) /*change*/;
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.service-card-title { font-size: 1.3rem; font-weight: 600; margin-bottom: 14px; }
.service-card-text { color: var(--dark-olive); font-size: 0.95rem; }

/* 5. Products Components */
.products-section { background: var(--bg-secondary); }
.products-layout { display: flex; flex-direction: column; gap: 40px; }

.product-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 48px;
    position: relative;
    overflow: hidden;
}

.product-tag {
    font-size: 0.8rem;
    color: var(--accent-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-block;
    margin-bottom: 12px;
}

.product-title { font-size: 1.8rem; font-weight: 700; margin-bottom: 16px; }
.product-text { color: var(--dark-olive); margin-bottom: 24px; max-width: 800px; }
.product-features { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 600px; }

.product-features li {
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-features li::before {
    content: '✓';
    color: var(--accent-color);
    font-weight: bold;
}

/* 6. About Company Components */
.about-section { background: var(--bg-primary); }
.about-container { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }

.ui-mockup-wrapper {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 40px;
    height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
}

.mockup-header { display: flex; gap: 6px; }
.mockup-header .circle { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.1); }
.mockup-content-lines .line { height: 7px; background: rgba(255, 255, 255, 0.03); border-radius: 4px; }
.line.long { width: 85%; }
.line.medium { width: 65%; }
.line.short { width: 35%; }

.about-content .section-title { text-align: left; }
.about-text { color: var(--dark-olive); margin-bottom: 20px; font-size: 1.05rem; }

/* 7. Why Choose Us Components */
.benefits-section { background: var(--bg-secondary); }
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }

.benefit-card {
    border-left: 3px solid var(--accent-color);
    background: rgba(255, 255, 255, 0.01);
    padding: 24px 32px;
}

.benefit-card h4 { font-size: 1.15rem; font-weight: 600; margin-bottom: 12px; }
.benefit-card p { color: var(--dark-olive); font-size: 0.95rem; }

/* 8. Tech Stack Styles */
.tech-section { background: var(--bg-primary); }
.tech-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }

.tech-category {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 32px;
    border-radius: var(--border-radius-md);
}

.tech-category h5 { font-size: 1.1rem; font-weight: 600; margin-bottom: 20px; }
.tech-tags { display: flex; flex-wrap: wrap; gap: 12px; }

.tech-tag-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 6px 14px;
    font-size: 0.85rem;
    border-radius: 4px;
    color: var(--dark-olive);
}

/* 9. Statistics / Counter System */
.stats-section { background: var(--accent-gradient); color: #ffffff; padding: 75px 0; border-bottom: none; }
.stats-container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-number { font-size: 3.5rem; font-weight: 700; line-height: 1; margin-bottom: 8px; }
.stat-label { font-size: 0.95rem; opacity: 0.85; }

/* 10. Client Logos Styles */
.logos-section { /*change*/ background: var(--bg-tertiary); /*change*/ padding: 48px 0; }
.logos-wrapper { display: flex; justify-content: space-between; align-items: center; gap: 32px; /*change*/ opacity: 0.75; /*change*/ }
.logo-placeholder { font-weight: 700; font-size: 1rem; letter-spacing: 0.12em; color: var(--dark-olive); }

/* 11. Testimonials Styles */
.testimonials-section { background: var(--bg-primary); }
.testimonials-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }

.testimonial-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: var(--border-radius-md);
}

.testimonial-quote { font-size: 1.05rem; font-style: italic; color: var(--dark-olive); margin-bottom: 24px; }
.testimonial-author strong { display: block; color: var(--text-main); font-size: 0.95rem; }
.testimonial-author span { font-size: 0.85rem; color: var(--accent-color); }

/* 12. Contact & 13. Map Framework */
.contact-section { background: var(--bg-secondary); }
.contact-container { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; }
.contact-form-wrapper h3 { font-size: 1.75rem; font-weight: 700; margin-bottom: 12px; }
.contact-form-wrapper p { color: var(--dark-olive); margin-bottom: 32px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.85rem; margin-bottom: 8px; color: var(--dark-olive); }

.form-group input, .form-group textarea, .form-select-element {
    width: 100%;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 14px;
    color: var(--text-main);
    font-family: var(--font-stack);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.form-select-element option { background-color: var(--bg-primary); color: var(--text-main); }
.form-group input:focus, .form-group textarea:focus, .form-select-element:focus {
    outline: none;
    border-color: var(--accent-color);
    /*change*/ box-shadow: 0 0 0 3px rgba(122, 95, 31, 0.2); /*change*/
}

.form-status { margin-top: 16px; font-size: 0.9rem; font-weight: 500; }
.form-status.success { color: #10b981; }
.form-status.error { color: #ef4444; }

.contact-details-box {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    padding: 32px;
    border-radius: var(--border-radius-md);
    margin-bottom: 32px;
}

.contact-details-box h5 { font-size: 0.9rem; text-transform: uppercase; color: var(--accent-color); margin-bottom: 8px; }
.contact-details-box p { color: var(--dark-olive); margin-bottom: 24px; font-size: 0.95rem; }
.contact-details-box p:last-child { margin-bottom: 0; }

/* 13. Map Layout Matrix */
.map-placeholder-container { height: 230px; /*change*/ background: #cfc6af; /*change*/ border: 1px solid var(--border-color); border-radius: var(--border-radius-md); position: relative; overflow: hidden; }
.map-overlay-info { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 2; /*change*/ background: rgba(232, 224, 205, 0.95); /*change*/ padding: 12px 20px; border: 1px solid var(--border-color); font-size: 0.85rem; border-radius: 4px; }

.mock-map-graphics {
    width: 100%;
    height: 100%;
    opacity: 0.1;
    background-image: radial-gradient(var(--accent-color) 1px, transparent 1px), linear-gradient(to right, var(--border-color) 1px, transparent 1px);
    background-size: 20px 20px, 40px 40px;
}

/* 14. Footer Layout */
.main-footer { /*change*/ background: var(--dark-olive); color: var(--on-dark-muted); /*change*/ padding: 80px 0 32px 0; font-size: 0.9rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 48px; margin-bottom: 64px; }
.footer-logo { font-size: 1.35rem; font-weight: 700; display: block; margin-bottom: 16px; /*change*/ color: var(--on-dark); /*change*/ }
/*change*/ .footer-logo .accent { color: var(--gold-light); } /*change*/
.footer-description { /*change*/ color: var(--on-dark-muted); /*change*/ max-width: 300px; }
.footer-links-column h6 { font-size: 0.95rem; font-weight: 600; margin-bottom: 20px; /*change*/ color: var(--on-dark); /*change*/ }
.footer-links-column li { margin-bottom: 12px; }
.footer-links-column a { /*change*/ color: var(--on-dark-muted); /*change*/ }
.footer-links-column a:hover { /*change*/ color: var(--gold-light); /*change*/ }
.footer-bottom { /*change*/ border-top: 1px solid rgba(255, 255, 255, 0.1); /*change*/ padding-top: 32px; text-align: center; /*change*/ color: var(--on-dark-muted); /*change*/ font-size: 0.85rem; }

/* --- Reveal System Animations Framework --- */
.reveal-element {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-element.revealed {
    opacity: 1;
    transform: translateY(0);
}



/*change*/
.about-image-wrapper {
    width: 85%;
    margin: 0 auto;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
}

.about-image-wrapper img {
    display: block;
    width: 100%;
    height: auto;
    box-sizing: border-box;
}
/*change*/

/*change*/
.brochure-card {
    position: relative;
    display: block;
    height: 380px;
    overflow: hidden;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}
.brochure-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: var(--transition-smooth);
}
.brochure-card:hover img { transform: scale(1.04); }
.brochure-card-cta {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 36px 16px 16px;
    text-align: center;
    font-weight: 600;
    color: var(--on-dark);
    background: linear-gradient(180deg, transparent, rgba(38, 43, 26, 0.92));
}
.brochure-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 3000;
    background: rgba(38, 43, 26, 0.94);
    overflow-y: auto;
    padding: 56px 16px 32px;
}
.brochure-lightbox:target { display: block; }
.brochure-lightbox img {
    display: block;
    width: 100%;
    max-width: 820px;
    height: auto;
    margin: 0 auto;
    border-radius: var(--border-radius-md);
}
.brochure-lightbox-close {
    position: fixed;
    top: 12px; right: 24px;
    font-size: 2.4rem;
    line-height: 1;
    color: var(--on-dark);
}
/*change*/

/*change*/
.navbar-brand {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.15;
}
.brand-tagline {
    font-family: var(--font-stack);
    font-size: 0.60rem;
    font-weight: 200;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-top: 4px;
    color: #262b1a;
}
/*change*/

/*change*/
.brand-logo {
    display: block;
    height: 44px;
    width: auto;
}
/*change*/

/* About Section - Two Column Layout */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 50px;
}

.about-visual {
    width: 100%;
}

.about-image-wrapper {
    width: 78%;
    margin: 0 auto;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
}

.about-image-wrapper img {
    display: block;
    width: 100%;
    height: auto;
    box-sizing: border-box;
}

.about-content {
    width: 100%;
}

/*change*/
.brochure-lightbox img + img { margin-top: 16px; }
.brochure-download {
    display: block;
    width: fit-content;
    margin: 24px auto 0;
    padding: 12px 28px;
    border-radius: var(--border-radius-sm);
    background: var(--gold-light);
    color: var(--dark-olive);
    font-weight: 700;
}
.brochure-download:hover { background: var(--on-dark); }
/*change*/