/* ==========================================
   ADEPTIX GLOBAL — Common Styles
   Shared across all pages
   ========================================== */

:root {
    --gold: #C9A22D;
    --gold-dark: #A8831A;
    --gold-light: #D9B84B;
    --dark-green: #4A5D23;
    --olive: #4A5D23;
    --cream: #F8F4EE;
    --white: #FFFFFF;
    --text-dark: #2C2C2C;
    --text-gray: #5A5A5A;
    --text-light: #7A7A7A;
    --border: #E0D5C5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', 'Segoe UI', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background: #fff;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ==========================================
   SHARED LAYOUT HELPERS
   ========================================== */
.section-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-title {
    text-align: center;
    font-size: 34px;
    font-weight: 700;
    color: var(--dark-green);
    margin-bottom: 48px;
    font-family: 'Montserrat', sans-serif;
}

/* ==========================================
   SHARED BUTTONS
   ========================================== */
.btn-outline-gold {
    border: 2px solid var(--gold);
    color: #fff;
    padding: 11px 22px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    background: transparent;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-outline-gold:hover {
    background: var(--gold);
    color: #fff;
}

.btn-gold-full {
    width: 100%;
    background: var(--gold);
    color: #fff;
    padding: 12px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
    margin-bottom: 10px;
}

.btn-gold-full:hover {
    background: var(--gold-dark);
}

.btn-cta-gold {
    background: var(--gold);
    color: #fff;
    padding: 14px 28px;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s;
    flex-shrink: 0;
}

.btn-cta-gold:hover {
    background: var(--gold-dark);
    color: #fff;
}

/* ==========================================
   TOP UTILITY BAR
   ========================================== */
.top-bar {
    background: var(--gold);
    padding: 8px 0;
}

.top-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.top-bar-region {
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    border: 1.5px solid rgba(255,255,255,0.8);
    border-radius: 4px;
    padding: 2px 12px;
    transition: background 0.2s;
}

.top-bar-region:hover {
    background: rgba(255,255,255,0.15);
}

.top-bar-email {
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    margin-left: 6px;
    display: flex;
    align-items: center;
}

/* ==========================================
   NAVBAR
   ========================================== */
.navbar {
    background: #fff;
    padding: 16px 0 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
    border-bottom: 3px solid var(--gold);
    transition: padding 0.3s ease, box-shadow 0.3s ease;
}
.navbar.scrolled {
    padding: 4px 0 0;
    box-shadow: 0 2px 16px rgba(0,0,0,0.12);
}
.navbar.scrolled .logo-image-header {
    width: 110px;
    transition: width 0.3s ease;
}
.navbar.scrolled .logo-group {
    display: none;
}

.navbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    transition: padding 0.3s ease;
}
.navbar.scrolled .navbar-inner {
    padding: 0 24px 4px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.nav-logo-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nav-logo-icon svg {
    display: block;
}

.nav-logo-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.logo-image-header {
    width: 150px;
    height: 100%;
    transition: width 0.3s ease;
}

.logo-name {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1.15;
    color: var(--dark-green);
    font-family: 'Montserrat', sans-serif;
}

.logo-group {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #444;
    font-weight: 400;
}

.logo-group-a {
    font-size: 12px;
    color: #444;
}

.corenza-badge {
    color: #444;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 2px;
    letter-spacing: 0.5px;
}

.logo-group-label {
    font-size: 12px;
    color: #444;
}

.logo-icon {
    width: 40px;
    height: 40px;
    border: 2px solid var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
    color: var(--gold);
    letter-spacing: -1px;
    font-style: italic;
}

.logo-text {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: inherit;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
    flex: 1;
    justify-content: center;
}

.nav-links li a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    transition: color 0.2s;
    position: relative;
}

.nav-links li a.active {
    color: var(--text-dark);
    font-weight: 600;
}

.nav-links li a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gold);
}

.nav-links li a:hover {
    color: var(--gold);
}

.nav-links .dropdown {
    display: flex;
    align-items: center;
    gap: 2px;
}

/* Resources dropdown */
.nav-has-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.nav-chevron {
    font-size: 10px;
    transition: transform 0.2s;
}

.nav-has-dropdown:hover .nav-chevron {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.10);
    min-width: 160px;
    list-style: none;
    padding: 6px 0;
    z-index: 200;
}

/* Transparent bridge fills the gap between trigger and dropdown so hover stays active */
.nav-dropdown-menu::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    height: 12px;
}

.nav-has-dropdown:hover .nav-dropdown-menu {
    display: block;
}

.nav-dropdown-menu li a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-dark);
    white-space: nowrap;
    transition: background 0.15s, color 0.15s;
}

.nav-dropdown-menu li a:hover {
    background: var(--cream);
    color: var(--gold);
}

.nav-dropdown-menu li a i {
    color: var(--gold);
    font-size: 12px;
}

.btn-nav-cta {
    background: var(--gold);
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.2s;
    white-space: nowrap;
}

.btn-nav-cta:hover {
    background: var(--gold-dark);
}

/* Mobile region buttons — hidden on desktop */
.nav-mobile-regions {
    display: none;
}

/* Hamburger button */
.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    flex-shrink: 0;
}

.nav-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: transform 0.25s, opacity 0.25s;
    transform-origin: center;
}

.nav-hamburger.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-hamburger.is-open span:nth-child(2) {
    opacity: 0;
}

.nav-hamburger.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav drawer */
.nav-mobile-menu {
    display: none;
    background: #fff;
    border-top: 1px solid var(--border);
    padding: 8px 24px 20px;
}

.nav-mobile-menu.is-open {
    display: block;
}

.nav-mobile-links {
    list-style: none;
}

.nav-mobile-links li a {
    display: block;
    padding: 13px 0;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark);
    border-bottom: 1px solid var(--border);
    transition: color 0.2s;
}

.nav-mobile-links li a:hover,
.nav-mobile-links li a.active {
    color: var(--gold);
}

/* Mobile nav nested Resources accordion */
.nav-mobile-has-sub .nav-mobile-sub-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: none;
    border: none;
    border-bottom: 1px solid var(--border);
    padding: 13px 0;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark);
    cursor: pointer;
    font-family: inherit;
}
.nav-mobile-has-sub .nav-mobile-sub-toggle i {
    transition: transform 0.2s;
    font-size: 12px;
    color: #999;
}
.nav-mobile-has-sub.is-open .nav-mobile-sub-toggle i {
    transform: rotate(180deg);
}
.nav-mobile-sub {
    display: none;
    list-style: none;
    padding-left: 14px;
}
.nav-mobile-has-sub.is-open .nav-mobile-sub {
    display: block;
}
.nav-mobile-sub li a {
    display: block;
    padding: 11px 0;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    border-bottom: 1px solid var(--border);
    transition: color 0.2s;
}
.nav-mobile-sub li a:hover {
    color: var(--gold);
}

.btn-mobile-cta {
    display: block;
    text-align: center;
    background: var(--gold);
    color: #fff;
    padding: 13px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 700;
    margin-top: 16px;
    transition: background 0.2s;
}

.btn-mobile-cta:hover {
    background: var(--gold-dark);
    color: #fff;
}

/* ==========================================
   TEAM LINKEDIN ICON
   ========================================== */
.team-linkedin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: #0077B5;
    color: #fff;
    border-radius: 4px;
    font-size: 11px;
    margin-left: 6px;
    vertical-align: middle;
    transition: background 0.2s;
}

.team-linkedin:hover {
    background: #005f91;
    color: #fff;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    background: #1c2410;
    padding: 60px 0 0;
    color: rgba(255,255,255,0.7);
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.footer-logo .logo-icon {
    border-color: var(--gold);
    color: var(--gold);
}

.footer-logo .logo-text {
    color: #fff;
}

.footer-desc {
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 20px;
    color: rgba(255,255,255,0.6);
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 32px;
    height: 32px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    transition: all 0.2s;
}

.social-links a:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.footer-col h5 {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: var(--gold);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 13px;
    color: rgba(255,255,255,0.6);
}

.contact-item svg {
    width: 16px;
    height: 16px;
    stroke: var(--gold);
    fill: none;
    stroke-width: 1.5;
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-bottom-bar {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-bottom-note {
    text-align: center;
    font-size: 11px;
    color: rgba(255,255,255,0.3);
    padding: 12px 24px;
    border-top: 1px solid rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.footer-bottom-note svg {
    width: 12px;
    height: 12px;
    stroke: rgba(255,255,255,0.3);
    fill: none;
    stroke-width: 1.5;
}

/* ==========================================
   WHATSAPP FLOAT BUTTON
   ========================================== */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 56px;
    height: 56px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 4px 16px rgba(37,211,102,0.4);
    z-index: 9999;
    transition: background 0.2s, transform 0.2s;
}

.whatsapp-float:hover {
    background: #1ebe5d;
    color: #fff;
    transform: scale(1.08);
}

/* ==========================================
   RESPONSIVE — Common (navbar, footer, top bar)
   ========================================== */
@media (max-width: 1024px) {
    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    /* Top bar */
    .top-bar-email {
        display: flex;
        font-size: 11px;
    }
    .top-bar-inner {
        padding: 0 12px;
    }

    /* Navbar — India / UAE (hamburger drawer) */
    .nav-links,
    .btn-nav-cta {
        display: none !important;
    }
    .nav-hamburger {
        display: flex !important;
    }
    .nav-mobile-regions {
        display: none;
    }

    /* Navbar — Home (region shortcuts, no hamburger) */
    .navbar-home .nav-hamburger,
    .navbar-home .nav-mobile-menu {
        display: none !important;
    }
    .navbar-home .nav-mobile-regions {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-left: auto;
    }
    .navbar-home .nav-mobile-regions .top-bar-region {
        color: var(--gold);
        border-color: var(--gold);
        font-size: 12px;
        padding: 3px 10px;
    }
    .navbar-home .nav-mobile-regions .top-bar-region:hover {
        background: rgba(201,162,45,0.1);
    }
    .nav-mobile-regions .top-bar-region {
        color: var(--gold);
        border-color: var(--gold);
        font-size: 12px;
        padding: 3px 10px;
    }
    .nav-mobile-regions .top-bar-region:hover {
        background: rgba(201,162,45,0.1);
    }
    .navbar-inner {
        padding: 0 16px 12px;
    }
    .navbar {
        padding: 0;
    }
    .logo-image-header {
        width: 80px;
        height: 100%;
    }

    /* Footer */
    .footer-inner {
        grid-template-columns: 1fr;
    }
    .footer-bottom-bar {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .top-bar-region {
        font-size: 11px;
        padding: 2px 8px;
    }
}
