/* ============================================
   ASH CORPORATE - Global Stylesheet
   Brand: Navy #0f172a | Accent #fbbf24
   ============================================ */

/* --- CSS Variables & Reset --- */
:root {
    --primary-navy: #0f172a; /* Dark Navy for text and footer */
    --accent-yellow: #fbbf24; /* Logo Yellow */
    --yellow-dark: #d97706; /* Darker yellow for hovers/cautions */
    --light-bg: #f8fafc;
    --text-dark: #334155;
    --text-light: #64748b;
    --navy-soft: #1e293b;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

html { scroll-behavior: smooth; }

body {
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll on mobile */
}

img { max-width: 100%; display: block; }

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-padding { padding: 80px 0; }
.bg-light { background-color: var(--light-bg); }

/* ============================================
   TOP BAR
   ============================================ */
.top-bar {
    background-color: var(--primary-navy);
    color: var(--white);
    font-size: 0.85rem;
    padding: 8px 0;
}

.top-bar-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-info span { margin-right: 20px; }
.top-info i { color: var(--accent-yellow); margin-right: 5px; }

.top-social a {
    margin-left: 15px;
    color: var(--white);
    transition: 0.3s;
}
.top-social a:hover { color: var(--accent-yellow); }

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.logo img { height: 44px; width: auto; display: block; }

.nav-links { display: flex; gap: 25px; }

.nav-links a {
    font-weight: 600;
    color: var(--primary-navy);
    font-size: 0.95rem;
    transition: 0.3s;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-yellow);
    border-bottom: 2px solid var(--accent-yellow);
}

/* Hamburger (mobile only) */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.6rem;
    color: var(--primary-navy);
    cursor: pointer;
    padding: 6px 10px;
}

/* ============================================
   HERO (Home)
   ============================================ */
.hero {
    background: linear-gradient(rgba(15, 23, 42, 0.82), rgba(15, 23, 42, 0.62)),
        url('../img/hero-bg.webp') center/cover no-repeat;
    color: var(--white);
    padding: 120px 0;
    text-align: left;
}

.hero-content { max-width: 700px; }
.hero-tagline {
    color: var(--accent-yellow);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    margin-bottom: 18px;
}
.hero h1 { font-size: 3.5rem; line-height: 1.2; margin-bottom: 20px; }
.hero h1 span { color: var(--accent-yellow); }
.hero p { font-size: 1.1rem; margin-bottom: 30px; color: #cbd5e1; }

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary {
    display: inline-block;
    background-color: var(--accent-yellow);
    color: var(--primary-navy);
    padding: 12px 30px;
    font-weight: 700;
    border-radius: 4px;
    transition: 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary:hover {
    background-color: var(--yellow-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    display: inline-block;
    background-color: var(--primary-navy);
    color: var(--white);
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 4px;
    transition: 0.3s;
    margin-top: 15px;
}

.btn-secondary:hover { background-color: var(--navy-soft); }

/* ============================================
   PAGE HEADER (Inner pages banner)
   ============================================ */
.page-header {
    background: linear-gradient(rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.68)),
        url('../img/page-header-bg.webp') center/cover no-repeat;
    color: var(--white);
    text-align: center;
    padding: 70px 0;
}

.page-header h1 {
    font-size: 2.6rem;
    letter-spacing: 2px;
    color: var(--white);
}

.page-header .crumb {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #cbd5e1;
}

.page-header .crumb a { color: var(--accent-yellow); }

/* ============================================
   SECTION TITLE
   ============================================ */
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { font-size: 2.2rem; color: var(--primary-navy); }

.divider {
    width: 60px;
    height: 3px;
    background-color: var(--accent-yellow);
    margin: 15px auto 0;
}

.divider-left { margin: 15px 0 0; }

/* ============================================
   ABOUT PREVIEW (Home)
   ============================================ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.sub-heading {
    color: var(--accent-yellow);
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.about-text h2 { font-size: 2.2rem; color: var(--primary-navy); margin-bottom: 20px; }
.about-text p { color: var(--text-light); margin-bottom: 20px; }

.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* ============================================
   SERVICES GRID (Home)
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: 0.3s;
    border-top: 3px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    border-top: 3px solid var(--accent-yellow);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.icon-box {
    font-size: 2rem;
    color: var(--primary-navy);
    background: #f1f5f9;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 20px;
}

.service-card h3 { font-size: 1.2rem; color: var(--primary-navy); margin-bottom: 10px; }
.service-card p { font-size: 0.9rem; color: var(--text-light); margin-bottom: 20px; }

.read-more { color: var(--primary-navy); font-weight: 600; font-size: 0.9rem; }
.read-more:hover { color: var(--accent-yellow); }

.center-btn { text-align: center; margin-top: 50px; }

/* ============================================
   STATS SECTION
   ============================================ */
.stats-section {
    background-color: var(--primary-navy);
    padding: 60px 0;
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
}

.stat-item h2 { font-size: 3rem; color: var(--accent-yellow); margin-bottom: 5px; }
.stat-item h2 span { color: var(--white); }

/* ============================================
   ABOUT PAGE - "Who We Are" / "Our Expertise"
   ============================================ */
.about-body { max-width: 850px; margin: 0 auto; }

.about-block { margin-bottom: 50px; }

.about-block:last-child { margin-bottom: 0; }

.about-block h3 {
    color: var(--primary-navy);
    font-size: 1.6rem;
    margin-bottom: 15px;
}

.about-block .divider-left { margin-bottom: 20px; }

.about-block p {
    color: var(--text-light);
    margin-bottom: 15px;
}

.about-block ul {
    margin-top: 15px;
}

.about-block ul li {
    color: var(--text-light);
    padding-left: 28px;
    position: relative;
    margin-bottom: 10px;
}

.about-block ul li::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--accent-yellow);
    position: absolute;
    left: 0;
}

/* ============================================
   SERVICES PAGE - Zig-Zag Layout
   ============================================ */
.service-row {
    padding: 70px 0; /* Background lives on the outer section */
}

/* The container inside the row is the zig-zag grid */
.service-row-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.service-img img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.service-title h3 {
    font-size: 1.8rem;
    color: var(--primary-navy);
    margin-bottom: 8px;
}

.service-title .divider-left { margin-bottom: 20px; }

.service-title p { color: var(--text-light); margin-bottom: 20px; }

.service-title ul li {
    color: var(--text-light);
    padding-left: 26px;
    position: relative;
    margin-bottom: 8px;
}

.service-title ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--accent-yellow);
    font-size: 0.85rem;
    position: absolute;
    left: 0;
}

/* Reverse rows (image left / text right) */
.service-row.reverse .service-img { order: -1; }

/* ============================================
   CAREER PAGE
   ============================================ */
.career-box {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
    background: var(--white);
    border: 1px solid #e2e8f0;
    border-top: 4px solid var(--accent-yellow);
    border-radius: 8px;
    padding: 60px 40px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
}

.career-box i {
    font-size: 2.6rem;
    color: var(--accent-yellow);
    margin-bottom: 20px;
}

.career-box h2 {
    color: var(--primary-navy);
    font-size: 1.7rem;
    margin-bottom: 15px;
}

.career-box p { color: var(--text-light); }

.career-box .cv-btn {
    margin-top: 18px;
}

.career-box .cv-btn i { margin-right: 8px; }

.career-box .cv-email-note {
    margin-top: 14px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-navy);
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.map-wrap {
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.map-wrap iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 40px;
    align-items: start;
}

.contact-form {
    background: var(--white);
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
}

.contact-form h3 {
    color: var(--primary-navy);
    font-size: 1.5rem;
    margin-bottom: 25px;
}

.form-group { margin-bottom: 20px; }

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--primary-navy);
    font-size: 0.9rem;
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    font-size: 0.95rem;
    color: var(--text-dark);
    outline: none;
    transition: 0.3s;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent-yellow);
    box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.15);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-status {
    display: none;
    margin-top: 15px;
    padding: 12px 15px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
}

.form-status.success {
    display: block;
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

.contact-info-box {
    background: var(--primary-navy);
    color: var(--white);
    border-radius: 8px;
    padding: 40px;
}

.contact-info-box h3 {
    font-size: 1.3rem;
    margin-bottom: 25px;
}

.contact-info-box h3::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--accent-yellow);
    margin-top: 8px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.info-item i {
    color: var(--accent-yellow);
    font-size: 1.2rem;
    margin-top: 4px;
}

.info-item h4 { font-size: 1rem; margin-bottom: 3px; }
.info-item p { font-size: 0.9rem; color: #cbd5e1; }

/* ============================================
   TAX CALCULATOR (Tabbed, FY 2025-2026)
   ============================================ */
.tax-section {
    max-width: 1000px;
    margin: 0 auto;
}

.tax-main-heading {
    text-align: center;
    color: var(--primary-navy);
    font-size: 2.3rem;
    line-height: 1.2;
    margin-bottom: 18px;
}

.brand-divider-gap { margin-top: 24px; }

/* Folder-style tab bar (text-link tabs) */
.tax-tabs {
    display: flex;
    border-bottom: 1px solid #e2e8f0;
    padding: 0 8px;
    gap: 2px;
}

.tax-tab {
    appearance: none;
    background: transparent;
    border: 1px solid transparent;
    border-bottom: none;
    border-radius: 8px 8px 0 0;
    color: var(--text-dark);
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 13px 20px;
    margin-bottom: -1px; /* rides over the strip line */
    cursor: pointer;
    transition: 0.2s;
    white-space: nowrap;
}

.tax-tab:hover { color: var(--primary-navy); }

.tax-tab.active {
    background: var(--white);
    border-color: #e2e8f0;
    color: var(--primary-navy);
    box-shadow: inset 0 -3px 0 var(--accent-yellow); /* yellow underline, like the navbar */
    position: relative;
    z-index: 1;
}

/* White card that the active tab blends into */
.tax-card {
    background: var(--white);
    border-radius: 0 0 10px 10px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    padding: 40px;
}

.tax-panel.hidden { display: none; }

.tax-panel-heading {
    color: var(--primary-navy);
    font-size: 1.45rem;
    text-align: center;
    margin-bottom: 18px;
}

.tax-panel .divider { margin-bottom: 25px; }

.tax-field-group { margin-bottom: 20px; }

.tax-field-group label {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.87rem;
    margin-bottom: 8px;
}

.tax-field-group select,
.tax-field-group input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--text-dark);
    outline: none;
    background: var(--white);
    transition: 0.2s;
}

.tax-field-group select:focus,
.tax-field-group input:focus {
    border-color: var(--accent-yellow);
    box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.15);
}

.tax-btn {
    width: 100%;
    background: var(--accent-yellow);
    color: var(--primary-navy);
    border: none;
    border-radius: 6px;
    padding: 14px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: 0.2s;
}

.tax-btn:hover {
    background: var(--yellow-dark);
    transform: translateY(-1px);
}

.tax-coming {
    text-align: center;
    color: var(--text-light);
    padding: 35px 0 15px;
    font-size: 0.95rem;
}

.tax-coming i { color: var(--accent-yellow); margin-right: 8px; }

@media (max-width: 768px) {
    .tax-main-heading { font-size: 1.6rem; }
    .tax-rules { padding: 22px 18px; }

    /* Tabs: clean 2-column chip grid instead of a ragged wrap.
       Everything stays visible; no folder-tab illusion needed. */
    .tax-tabs {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        border-bottom: none;
        padding: 0;
        margin-top: 20px;
    }

    .tax-tab {
        border: 1px solid #e2e8f0;
        border-radius: 8px;
        background: var(--white);
        padding: 11px 12px;
        font-size: 0.9rem;
        margin-bottom: 0;
        text-align: center;
    }

    .tax-tab.active {
        background: var(--primary-navy);
        color: var(--white);
        border-color: var(--primary-navy);
        box-shadow: inset 0 -3px 0 var(--accent-yellow);
        position: static;
        z-index: auto;
    }

    /* 5 tabs = 2 + 2 + 1; the last one spans the full row */
    .tax-tab:nth-child(5) { grid-column: 1 / -1; }

    /* Card gets all its corners back (no longer meets tab bar) */
    .tax-card {
        padding: 25px 18px;
        border-radius: 10px;
        margin-top: 10px;
    }

    /* 16px prevents iOS Safari's auto-zoom on focus */
    .tax-field-group select,
    .tax-field-group input { font-size: 16px; padding: 12px; }

    /* Result card: roomier rows that wrap instead of squeezing */
    .tax-result { padding: 16px 14px; margin-top: 22px; }

    .tax-result-row {
        flex-wrap: wrap;
        gap: 2px 14px;
        font-size: 0.88rem;
        padding: 8px 0;
    }

    .tax-result-row.total { padding: 9px 10px; }

    .tax-result-note { margin-top: 10px; }

    /* Rules card inside the tab: slightly tighter rows */
    .tax-panel-rules { margin-top: 20px; }

    .tax-rule-card { padding: 14px 14px 16px; }

    .tax-rule-rates li {
        font-size: 0.82rem;
        padding: 4px 0;
    }

    .tax-rule-rates strong { max-width: 45%; }

    /* Long spans like 'Rs. 1,200,001 - 2,200,000' may wrap */
    .tax-rule-rates li span,
    .tax-rule-rates li strong { overflow-wrap: anywhere; }
}

/* Result card shown under a calculator form */
.tax-result {
    margin-top: 26px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px 22px;
}

.tax-result-heading {
    color: var(--primary-navy);
    font-size: 1.05rem;
    margin-bottom: 10px;
}

.tax-result-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 14px;
    padding: 9px 0;
    border-bottom: 1px dashed #e2e8f0;
    font-size: 0.92rem;
    color: var(--text-dark);
}

.tax-result-row:last-of-type { border-bottom: none; }

.tax-result-row strong {
    color: var(--primary-navy);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.tax-result-row.total {
    background: rgba(251, 191, 36, 0.25);
    border-radius: 6px;
    border-bottom: none;
    padding: 10px 12px;
    margin: 6px 0;
}

.tax-result-note {
    margin-top: 12px;
    font-size: 0.8rem;
    line-height: 1.55;
    color: #64748b;
}

/* Rules summary cards + caution (Tax Year 2025-2026) */
.tax-rules {
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    padding: 30px 34px;
}

.tax-rules h2 {
    text-align: center;
    color: var(--primary-navy);
    font-size: 1.25rem;
    margin-bottom: 18px;
}

/* Rule card shown inside the active calculator tab */
.tax-panel-rules { margin-top: 26px; }

.tax-rules .tax-caution { margin-top: 0; }

.tax-rule-card {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 18px 20px 20px;
    background: var(--light-bg);
}

.tax-rule-title {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-navy);
    font-size: 1.05rem;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent-yellow);
}

.tax-rule-title i { font-size: 0.95rem; }

.tax-rule-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #94a3b8;
    margin: 0 0 6px;
}

.tax-rule-label + .tax-rule-rates { margin-bottom: 14px; }

.tax-rule-rates,
.tax-rule-conditions {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tax-rule-rates { margin-bottom: 14px; }

.tax-rule-rates li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 14px;
    padding: 5px 0;
    border-bottom: 1px dashed #e2e8f0;
    font-size: 0.85rem;
    color: var(--text-dark);
}

.tax-rule-rates li:last-child { border-bottom: none; }

.tax-rule-rates strong {
    color: var(--primary-navy);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.tax-rule-conditions li {
    position: relative;
    padding: 3px 0 3px 14px;
    font-size: 0.8rem;
    line-height: 1.5;
    color: var(--text-dark);
}

.tax-rule-conditions li::before {
    content: '\2022';
    position: absolute;
    left: 2px;
    color: var(--yellow-dark);
    font-weight: 700;
}

.tax-caution {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 20px;
    background: rgba(251, 191, 36, 0.18);
    border-left: 4px solid var(--yellow-dark);
    border-radius: 6px;
    padding: 14px 16px;
}

.tax-caution i { color: var(--yellow-dark); margin-top: 3px; }

.tax-caution p {
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--text-dark);
}

.tax-source {
    margin-top: 16px;
    font-size: 0.78rem;
    color: #94a3b8;
    line-height: 1.5;
}
/* ============================================
   LEADERSHIP PAGE
   Partner profile, expertise, mission & vision
   ============================================ */

/* Solid navy page banner (variation of .page-header) */
.page-header-leadership {
    background:
        radial-gradient(circle at 82% 18%, rgba(251, 191, 36, 0.16), transparent 42%),
        var(--primary-navy);
    position: relative;
    overflow: hidden;
}

.page-header-leadership::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 90px;
    height: 4px;
    background: var(--accent-yellow);
}

.page-header-leadership .container {
    position: relative;
    z-index: 1;
}

.section-lead {
    max-width: 720px;
    margin: 18px auto 0;
    color: var(--text-light);
    font-size: 0.98rem;
    line-height: 1.7;
}

/* --- Partner profile card --- */
.partner-card {
    display: grid;
    grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
    background: var(--white);
    border-radius: 8px;
    border-top: 4px solid var(--accent-yellow);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.10);
    overflow: hidden;
}

.partner-visual {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-height: 560px;
    padding: 40px 34px 32px;
    color: var(--white);
    background: linear-gradient(160deg, #16233c 0%, var(--primary-navy) 55%, #080e1c 100%);
}

.partner-visual::before,
.partner-visual::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.partner-visual::before {
    width: 340px;
    height: 340px;
    top: -120px;
    right: -140px;
    border: 1px solid rgba(251, 191, 36, 0.18);
}

.partner-visual::after {
    width: 280px;
    height: 280px;
    bottom: 90px;
    left: -150px;
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.partner-photo-wrap {
    position: relative;
    z-index: 1;
    flex: 1;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-photo-wrap::before {
    content: '';
    position: absolute;
    top: 42%;
    left: 50%;
    width: 300px;
    height: 300px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.18) 0%, rgba(251, 191, 36, 0.05) 48%, transparent 70%);
    pointer-events: none;
}

.partner-photo {
    position: relative;
    z-index: 1;
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 500px;
    object-fit: contain;
    object-position: center bottom;
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 86%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 0%, #000 86%, transparent 100%);
}

.partner-visual-overlay {
    position: relative;
    z-index: 2;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    text-align: center;
}

.partner-visual-caption {
    margin: 0 0 14px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #e2e8f0;
}

.partner-visual-caption::before {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    margin: 0 auto 14px;
    background: var(--accent-yellow);
}

.partner-visual-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.8rem;
    color: #cbd5e1;
}

.partner-visual-meta i {
    width: 18px;
    margin-right: 6px;
    color: var(--accent-yellow);
    text-align: center;
}

.partner-details { padding: 48px 48px 44px; }

.partner-name {
    color: var(--primary-navy);
    font-size: 2.35rem;
    line-height: 1.18;
    margin-bottom: 8px;
}

.partner-role {
    color: var(--text-light);
    font-size: 0.98rem;
    line-height: 1.6;
}

.partner-role span {
    margin: 0 6px;
    color: var(--accent-yellow);
    font-weight: 700;
}

.credential-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 22px 0 26px;
}

.credential-badges li {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 16px;
    border-radius: 50px;
    border: 1px solid rgba(251, 191, 36, 0.65);
    background: rgba(251, 191, 36, 0.16);
    color: var(--primary-navy);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    line-height: 1.4;
}

.credential-badges i {
    color: var(--yellow-dark);
    font-size: 0.75rem;
}

.partner-profile p {
    color: var(--text-dark);
    font-size: 0.95rem;
    line-height: 1.85;
    margin-bottom: 16px;
}

.partner-profile p:last-child { margin-bottom: 0; }

.partner-profile strong {
    color: var(--primary-navy);
    font-weight: 700;
}

.partner-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 28px;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid #e2e8f0;
}

.partner-facts li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.partner-facts i {
    margin-top: 3px;
    color: var(--accent-yellow);
    font-size: 0.95rem;
}

.partner-facts span {
    display: flex;
    flex-direction: column;
    color: var(--text-light);
    font-size: 0.76rem;
    line-height: 1.5;
}

.partner-facts strong {
    color: var(--primary-navy);
    font-size: 0.9rem;
    font-weight: 700;
}

/* --- Professional philosophy quote --- */
.philosophy-quote {
    position: relative;
    margin-top: 34px;
    padding: 36px 44px 32px;
    background: var(--light-bg);
    border-left: 4px solid var(--accent-yellow);
    border-radius: 0 8px 8px 0;
    box-shadow: 0 5px 20px rgba(15, 23, 42, 0.04);
    overflow: hidden;
}

.quote-mark {
    position: absolute;
    top: 24px;
    right: 34px;
    color: rgba(251, 191, 36, 0.22);
    font-size: 3rem;
    line-height: 1;
    pointer-events: none;
}

.philosophy-quote p {
    position: relative;
    max-width: 920px;
    color: var(--primary-navy);
    font-size: 1.12rem;
    font-style: italic;
    line-height: 1.85;
}

.philosophy-quote cite {
    position: relative;
    display: block;
    margin-top: 18px;
    color: var(--text-light);
    font-size: 0.8rem;
    font-style: normal;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.philosophy-quote cite span {
    margin-left: 8px;
    color: var(--text-light);
    font-weight: 400;
    letter-spacing: 0.02em;
    text-transform: none;
}

/* --- Areas of expertise --- */
.expertise-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.expertise-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 26px 28px;
    background: var(--white);
    border: 1px solid #e2e8f0;
    border-top: 3px solid transparent;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(15, 23, 42, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-top-color 0.3s ease;
}

.expertise-item:hover {
    transform: translateY(-3px);
    border-top-color: var(--accent-yellow);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.09);
}

.expertise-check {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--primary-navy);
    color: var(--accent-yellow);
    font-size: 0.82rem;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.expertise-item:hover .expertise-check {
    background: var(--accent-yellow);
    color: var(--primary-navy);
}

.expertise-item h3 {
    color: var(--primary-navy);
    font-size: 1rem;
    line-height: 1.45;
    margin-bottom: 5px;
}

.expertise-item p {
    color: var(--text-light);
    font-size: 0.86rem;
    line-height: 1.65;
}

/* --- Mission & Vision (reusable component) --- */
.mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.mv-card {
    position: relative;
    overflow: hidden;
    padding: 48px 44px;
    border-radius: 8px;
    min-height: 280px;
}

.mv-card::after {
    content: '';
    position: absolute;
    width: 190px;
    height: 190px;
    right: -65px;
    bottom: -80px;
    border: 1px solid rgba(251, 191, 36, 0.20);
    border-radius: 50%;
    pointer-events: none;
}

.mv-icon {
    position: relative;
    z-index: 1;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    border-radius: 50%;
    border: 1px solid rgba(251, 191, 36, 0.35);
    background: rgba(251, 191, 36, 0.12);
    color: var(--accent-yellow);
    font-size: 1.7rem;
}

.mv-card h3 {
    position: relative;
    z-index: 1;
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.mv-card h3::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    margin-top: 10px;
    background: var(--accent-yellow);
}

.mv-card p {
    position: relative;
    z-index: 1;
    font-size: 0.95rem;
    line-height: 1.85;
}

.mv-mission {
    background: linear-gradient(145deg, #16233c 0%, var(--primary-navy) 70%);
    color: var(--white);
    border-top: 4px solid var(--accent-yellow);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.18);
}

.mv-mission h3 { color: var(--white); }
.mv-mission p { color: #cbd5e1; }

.mv-vision {
    background: var(--white);
    border: 1px solid #e2e8f0;
    border-top: 4px solid var(--accent-yellow);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.mv-vision h3 { color: var(--primary-navy); }
.mv-vision p { color: var(--text-dark); }

.mv-vision::after { border-color: rgba(15, 23, 42, 0.06); }

/* --- Leadership responsive --- */
@media (max-width: 1100px) {
    .partner-name { font-size: 2rem; }
}

@media (max-width: 992px) {
    .partner-details { padding: 40px 36px; }
    .mv-card { padding: 40px 34px; }

    .partner-section .section-title h2,
    .expertise-section .section-title h2,
    .mv-section .section-title h2 {
        font-size: 1.7rem;
        line-height: 1.3;
    }

    .section-lead { font-size: 0.92rem; }

    .partner-card { grid-template-columns: 1fr; }

    .partner-visual {
        min-height: 620px;
        padding: 34px 26px 30px;
        gap: 22px;
    }

    .partner-photo-wrap { min-height: 400px; }

    .partner-visual-meta {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px 20px;
        text-align: center;
    }

    .partner-details { padding: 32px 24px 36px; }

    .partner-name { font-size: 1.85rem; }

    .partner-role { font-size: 0.9rem; }

    .credential-badges { margin: 20px 0 24px; }

    .credential-badges li {
        padding: 6px 13px;
        font-size: 0.74rem;
    }

    .partner-facts { gap: 14px; }

    .partner-facts li { flex: 1 1 100%; }

    .philosophy-quote {
        margin-top: 24px;
        padding: 28px 22px 26px;
    }

    .philosophy-quote p {
        font-size: 1rem;
        line-height: 1.8;
    }

    .quote-mark {
        top: 18px;
        right: 20px;
        font-size: 2.2rem;
    }

    .expertise-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .expertise-item { padding: 20px 20px; }

    .mv-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .mv-card {
        padding: 34px 26px;
        min-height: 0;
    }
}

@media (max-width: 400px) {
    .partner-visual {
        min-height: 540px;
        padding: 28px 22px 26px;
    }

    .partner-photo-wrap { min-height: 330px; }

    .partner-visual-meta {
        flex-direction: column;
        align-items: center;
    }

    .philosophy-quote { padding-right: 18px; }
    .quote-mark { display: none; }
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    background-color: #0b1120;
    color: #94a3b8;
    padding-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-brand img { height: 62px; width: auto; display: block; margin-bottom: 15px; }

.footer-brand p { font-size: 0.9rem; }

.footer-tagline {
    margin-bottom: 8px;
    color: var(--accent-yellow);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
}

.footer-links h3,
.footer-contact h3 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-links ul li { margin-bottom: 10px; }
.footer-links a:hover { color: var(--accent-yellow); }

.footer-contact p { margin-bottom: 15px; font-size: 0.9rem; }
.footer-contact i { color: var(--accent-yellow); margin-right: 10px; }

.footer-bottom {
    background-color: var(--primary-navy);
    text-align: center;
    padding: 20px 0;
    font-size: 0.8rem;
    border-top: 1px solid #1e293b;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 992px) {
    /* Mobile hamburger menu */
    .menu-toggle { display: block; }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background: var(--white);
        gap: 0;
        border-top: 1px solid #f1f5f9;
    }

    .nav-links.open { display: flex; }

    .nav-links li { border-bottom: 1px solid #f1f5f9; }
    .nav-links li:last-child { border-bottom: none; }

    .nav-links a {
        display: block;
        padding: 12px 0;
        border-bottom: none;
    }

    .nav-links a:hover,
    .nav-links a.active {
        color: var(--accent-yellow);
        border-bottom: none;
    }
}

@media (max-width: 768px) {
    .top-bar-flex { flex-direction: column; gap: 10px; text-align: center; }
    .top-info span { margin: 0 8px; }
    /* on small screens keep only phone + email in the top strip */
    .top-info .top-hours,
    .top-social { display: none; }

    .hero { padding: 80px 0; }
    .hero h1 { font-size: 2.3rem; }
    .hero p { font-size: 1rem; }

    .hero-tagline { font-size: 0.85rem; }
    .footer-tagline { font-size: 0.8rem; }

    .section-padding { padding: 60px 0; }

    .about-grid,
    .services-grid,
    .stats-grid,
    .footer-grid,
    .contact-grid { grid-template-columns: 1fr; }

    .stats-grid { gap: 25px; }
    .stat-item h2 { font-size: 2.2rem; }
    .service-card h3 { font-size: 1.1rem; }

    .page-header h1 { font-size: 1.9rem; }

    /* Zig-zag collapses to single column */
    .service-row { padding: 50px 0; }
    .service-row-grid { grid-template-columns: 1fr; gap: 25px; }
    .service-title h3 { font-size: 1.4rem; }

    .contact-form,
    .contact-info-box { padding: 30px 22px; }

    .form-row { grid-template-columns: 1fr; }

    .map-wrap { height: 300px; }

    .career-box { padding: 40px 25px; }
}

/* ============================================
   FLOATING WHATSAPP BUTTON
   ============================================ */
#whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background-color: #25D366;
    color: #ffffff;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

#whatsapp-btn i {
    font-size: 1.4rem;
    animation: wa-pulse 2.4s infinite ease-in-out;
}

#whatsapp-btn:hover {
    transform: scale(1.05);
    background-color: #1fb857;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

@keyframes wa-pulse {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.12); }
}

@media (prefers-reduced-motion: reduce) {
    #whatsapp-btn i { animation: none; }
    #whatsapp-btn:hover { transform: none; }
}

@media (max-width: 768px) {
    #whatsapp-btn {
        bottom: 20px;
        right: 20px;
        width: 56px;
        height: 56px;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
    }

    #whatsapp-btn span { display: none; }
    #whatsapp-btn i { font-size: 1.7rem; }
}
