/* ==========================================================================
   SRH WORLD — ABOUT US STYLESHEET (about.css)
   ========================================================================== */

/* --- 1. CSS VARIABLES & RESET --- */
:root {
    --primary-dark: #0f172a;
    --primary-navy: #1e293b;
    --accent-green: #10b981;
    --accent-green-hover: #059669;
    --accent-blue: #2563eb;
    --accent-blue-hover: #1d4ed8;
    --bg-light: #f8f9fa;
    --card-bg: #ffffff;
    --text-main: #0f172a;
    --text-muted: #475569;
    --text-sub: #64748b;
    --border-color: #e2e8f0;
    --border-subtle: #cbd5e1;
    --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.06);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
}

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

html { 
    scroll-behavior: smooth; 
}

body { 
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif; 
    background-color: var(--bg-light); 
    color: var(--text-main); 
    line-height: 1.6; 
    overflow-x: hidden; 
    -webkit-font-smoothing: antialiased; 
}

img, video { 
    max-width: 100%; 
    height: auto; 
    display: block; 
}

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

/* --- 2. GLOBAL HEADER & NAVIGATION --- */
.header-sticky-wrapper { 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    z-index: 2000; 
    transform: translateY(-100%); 
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease; 
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); 
}

.header-sticky-wrapper.header-visible { 
    transform: translateY(0); 
}

.main-header { 
    background-color: #ffffff; 
    border-bottom: 1px solid var(--border-color); 
    width: 100%; 
}

.header-container { 
    max-width: 1240px; 
    margin: 0 auto; 
    padding: 10px 24px; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    position: relative; 
}

.logo-area .client-logo { 
    height: 48px; 
    width: auto; 
    object-fit: contain; 
    display: block; 
}

.header-right-actions { 
    display: flex; 
    align-items: center; 
    gap: 14px; 
    z-index: 1050; 
}

.header-calc-pill { 
    background-color: #64748b; 
    color: #ffffff !important; 
    padding: 8px 16px; 
    border-radius: 25px; 
    font-size: 13.5px; 
    font-weight: 700; 
    display: inline-flex; 
    align-items: center; 
    gap: 8px; 
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); 
    transition: background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease; 
}

.header-calc-pill:hover { 
    background-color: var(--accent-green) !important; 
    transform: translateY(-2px) scale(1.06); 
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4); 
}

.mobile-nav-toggle { 
    display: block; 
    background: none; 
    border: none; 
    color: var(--primary-dark); 
    font-size: 24px; 
    cursor: pointer; 
    padding: 6px; 
}

.nav-bar { 
    position: absolute; 
    top: 100%; 
    left: 0; 
    width: 100%; 
    background-color: #ffffff; 
    border-top: 1px solid var(--border-color); 
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.09); 
    max-height: 0; 
    overflow: hidden; 
    transition: max-height 0.35s ease; 
}

.nav-bar.mobile-open { 
    max-height: 85vh; 
    overflow-y: auto; 
}

.nav-list { 
    list-style: none; 
    display: flex; 
    flex-direction: column; 
    padding: 8px 0; 
}

.nav-item { 
    border-bottom: 1px solid #f1f5f9; 
}

.nav-item:last-child { 
    border-bottom: none; 
}

.nav-link { 
    color: var(--primary-dark); 
    font-weight: 700; 
    font-size: 15px; 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    padding: 14px 28px; 
    transition: 0.2s ease; 
}

.nav-link:hover, .nav-link.active { 
    background-color: #f8fafc; 
    color: var(--accent-green); 
}

.mobile-arrow { 
    margin-left: 8px; 
    font-size: 12px; 
    transition: transform 0.25s ease; 
}

.rotate-arrow { 
    transform: rotate(180deg); 
}

.horizontal-dropdown { 
    list-style: none; 
    background-color: #f8fafc; 
    max-height: 0; 
    overflow: hidden; 
    display: flex; 
    flex-direction: column; 
    transition: max-height 0.3s ease-out; 
}

.horizontal-dropdown.submenu-visible { 
    max-height: 800px; 
    border-top: 1px solid var(--border-color); 
}

.horizontal-dropdown li a { 
    display: flex; 
    align-items: center; 
    gap: 12px; 
    padding: 12px 40px; 
    color: var(--text-muted); 
    font-size: 13.5px; 
    font-weight: 600; 
    transition: 0.2s ease; 
}

.horizontal-dropdown li a:hover { 
    background-color: #edf2f7; 
    color: var(--primary-dark); 
}

.dropdown-icon { 
    font-size: 15px; 
    color: var(--accent-green); 
    width: 18px; 
    text-align: center; 
}

/* --- 3. ABOUT US PAGE LAYOUTS --- */
.about-overview-section { 
    max-width: 1240px; 
    margin: 100px auto 60px auto; 
    padding: 0 20px; 
}

.about-overview-container { 
    display: grid; 
    grid-template-columns: 1.15fr 1fr; 
    gap: 50px; 
    align-items: center; 
}

.about-text-block { 
    display: flex; 
    flex-direction: column; 
    gap: 16px; 
}

.about-tagline { 
    display: inline-flex; 
    align-items: center; 
    background-color: #ecfdf5; 
    color: var(--accent-green); 
    font-size: 12px; 
    font-weight: 800; 
    padding: 6px 14px; 
    border-radius: 20px; 
    width: fit-content; 
    text-transform: uppercase; 
    letter-spacing: 0.5px; 
}

.about-text-block h2 { 
    font-size: 34px; 
    font-weight: 800; 
    color: var(--primary-dark); 
    line-height: 1.25; 
}

.about-text-block p { 
    font-size: 15px; 
    color: var(--text-muted); 
    line-height: 1.7; 
}

.about-mission-cards { 
    display: flex; 
    flex-direction: column; 
    gap: 20px; 
}

.mission-card { 
    background-color: var(--card-bg); 
    border: 1px solid var(--border-color); 
    border-radius: var(--radius-md); 
    padding: 28px; 
    box-shadow: var(--shadow-sm); 
}

.mission-icon { 
    font-size: 24px; 
    color: var(--accent-green); 
    margin-bottom: 12px; 
}

.mission-card h3 { 
    font-size: 19px; 
    font-weight: 800; 
    color: var(--primary-dark); 
    margin-bottom: 8px; 
}

.mission-card p { 
    font-size: 14px; 
    color: var(--text-muted); 
    line-height: 1.6; 
}

/* Milestones & Statistics */
.about-stats-section { 
    background-color: var(--primary-dark); 
    color: #ffffff; 
    padding: 60px 0; 
    margin: 60px 0; 
}

.about-stats-container { 
    max-width: 1240px; 
    margin: 0 auto; 
    padding: 0 20px; 
}

.stats-heading { 
    text-align: center; 
    font-size: 28px; 
    font-weight: 800; 
    margin-bottom: 40px; 
    color: #ffffff; 
}

.about-stats-grid { 
    display: grid; 
    gap: 30px; 
    grid-template-columns: repeat(3, 1fr); 
}

.about-stat-item { 
    background-color: #1e293b; 
    border: 1px solid #334155; 
    border-radius: var(--radius-md); 
    padding: 30px; 
    text-align: center; 
}

.stat-number-lg { 
    font-size: 38px; 
    font-weight: 800; 
    color: var(--accent-green); 
    margin-bottom: 6px; 
}

.stat-label-lg { 
    font-size: 14px; 
    color: #cbd5e1; 
    font-weight: 600; 
}

/* ==========================================================
   LEADERSHIP SECTION (STRICT 1:1 SQUARE FIX)
   ========================================================== */
.leadership-section { 
    max-width: 1240px; 
    margin: 80px auto; 
    padding: 0 20px; 
}

.leadership-header { 
    text-align: center; 
    max-width: 700px; 
    margin: 0 auto 45px auto; 
}

.hero-category-label { 
    display: inline-flex; 
    align-items: center; 
    background-color: #f1f5f9; 
    color: var(--text-muted); 
    font-size: 12px; 
    font-weight: 800; 
    padding: 6px 14px; 
    border-radius: 20px; 
    margin-bottom: 12px; 
    text-transform: uppercase; 
}

.section-heading-title { 
    font-size: 28px; 
    color: var(--primary-dark); 
    font-weight: 800; 
    margin-bottom: 14px; 
    letter-spacing: -0.5px; 
}

.founders-grid { 
    display: grid !important; 
    grid-template-columns: 1fr 1fr !important; 
    gap: 40px !important; 
    align-items: start !important;
}

/* Card container: remove all padding to make image full-bleed */
.founder-profile-card { 
    background-color: #ffffff !important; 
    border: 1px solid var(--border-color) !important; 
    border-radius: 20px !important; 
    overflow: hidden !important; 
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04) !important; 
    display: flex !important; 
    flex-direction: column !important; 
    padding: 0 !important;
    margin: 0 !important;
}

/* Force container to lock 1:1 using width and aspect-ratio, zeroing out fixed heights */
.founder-image-wrapper { 
    position: relative !important; 
    width: 100% !important; 
    height: auto !important; 
    aspect-ratio: 1 / 1 !important; 
    background-color: #000000 !important; 
    overflow: hidden !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Force image to fill the exact 1:1 box with zero distortion */
.founder-photo { 
    width: 100% !important; 
    height: 100% !important; 
    aspect-ratio: 1 / 1 !important; 
    object-fit: cover !important; 
    object-position: 50% 15% !important; /* Centers face and avoids cutting off heads */
    display: block !important; 
    margin: 0 !important;
    padding: 0 !important;
}

.founder-badge { 
    position: absolute !important; 
    bottom: 16px !important; 
    left: 16px !important; 
    background-color: rgba(15, 23, 42, 0.85) !important; 
    color: #ffffff !important; 
    font-size: 12px !important; 
    font-weight: 700 !important; 
    padding: 6px 14px !important; 
    border-radius: 20px !important; 
    backdrop-filter: blur(4px) !important; 
    z-index: 2 !important;
}

.founder-info-body { 
    padding: 28px !important; 
    display: flex !important; 
    flex-direction: column !important; 
    gap: 12px !important; 
    flex-grow: 1 !important; 
    text-align: left !important;
}

.founder-name { 
    font-size: 22px !important; 
    font-weight: 800 !important; 
    color: var(--primary-dark) !important; 
}

.founder-role { 
    font-size: 13.5px !important; 
    font-weight: 700 !important; 
    color: var(--accent-green) !important; 
    text-transform: uppercase !important; 
}

.founder-skills-chips { 
    display: flex !important; 
    flex-wrap: wrap !important; 
    gap: 8px !important; 
    margin-top: 4px !important; 
}

.founder-skills-chips span { 
    background-color: #f8fafc !important; 
    border: 1px solid var(--border-color) !important; 
    color: var(--primary-dark) !important; 
    font-size: 12px !important; 
    font-weight: 600 !important; 
    padding: 4px 10px !important; 
    border-radius: 6px !important; 
}

.founder-social-links { 
    display: flex !important; 
    gap: 12px !important; 
    margin-top: 8px !important; 
}

.founder-social-links a { 
    width: 36px !important; 
    height: 36px !important; 
    border-radius: 50% !important; 
    background-color: #f1f5f9 !important; 
    color: var(--primary-dark) !important; 
    display: inline-flex !important; 
    align-items: center !important; 
    justify-content: center !important; 
    font-size: 14px !important; 
    transition: background-color 0.2s ease !important; 
}

.founder-social-links a:hover { 
    background-color: var(--accent-green) !important; 
    color: #ffffff !important; 
}

/* Core Values */
.core-values-section { 
    max-width: 1240px; 
    margin: 80px auto; 
    padding: 0 20px; 
}

.values-grid { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 30px; 
}

.value-box { 
    background-color: var(--card-bg); 
    border: 1px solid var(--border-color); 
    border-radius: var(--radius-md); 
    padding: 32px; 
    box-shadow: var(--shadow-sm); 
    display: flex; 
    flex-direction: column; 
    gap: 12px; 
}

.value-icon { 
    font-size: 32px; 
    color: var(--accent-green); 
    margin-bottom: 4px; 
}

.value-box h4 { 
    font-size: 18px; 
    font-weight: 800; 
    color: var(--primary-dark); 
}

.value-box p { 
    font-size: 13.5px; 
    color: var(--text-muted); 
    line-height: 1.6; 
}

/* --- 4. SITE FOOTER & FLOATING ACTIONS --- */
.site-footer-compact { 
    background-color: var(--primary-dark); 
    color: #cbd5e1; 
    padding-top: 45px; 
    margin-top: 60px; 
    border-top: 1px solid var(--primary-navy); 
}

.footer-custom-container { 
    max-width: 1240px; 
    margin: 0 auto; 
    padding: 0 24px 35px 24px; 
    display: flex; 
    flex-direction: column; 
    gap: 32px; 
}

.footer-top-row { 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    flex-wrap: wrap; 
    gap: 24px; 
    border-bottom: 1px solid #1e293b; 
    padding-bottom: 25px; 
}

.footer-brand-wrap .footer-main-logo { 
    height: 75px; 
    width: auto; 
    max-width: 320px; 
    object-fit: contain; 
}

.footer-social-icons { 
    display: flex; 
    align-items: center; 
    gap: 14px; 
}

.footer-social-icons .social-icon { 
    width: 44px; 
    height: 44px; 
    border-radius: 50%; 
    background-color: #1e293b; 
    color: #ffffff; 
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    font-size: 19px; 
    border: 1px solid #334155; 
    transition: transform 0.2s ease; 
}

.footer-social-icons .social-icon:hover { 
    transform: translateY(-3px); 
}

.social-icon.social-fb:hover { background-color: #1877F2 !important; }
.social-icon.social-insta:hover { background-color: #d6249f !important; }
.social-icon.social-li:hover { background-color: #0A66C2 !important; }
.social-icon.social-twitter:hover { background-color: #1DA1F2 !important; }
.social-icon.social-yt:hover { background-color: #FF0000 !important; }
.social-icon.social-wa:hover { background-color: #25D366 !important; }

.footer-offices-grid { 
    display: grid; 
    grid-template-columns: 1.15fr 1fr; 
    gap: 40px; 
}

.footer-office-col { 
    display: flex; 
    flex-direction: column; 
    gap: 10px; 
}

.footer-office-heading { 
    font-size: 15px; 
    font-weight: 800; 
    color: #ffffff; 
    display: flex; 
    align-items: center; 
    gap: 8px; 
    margin-bottom: 4px; 
}

.footer-office-heading i { 
    color: var(--accent-green); 
}

.footer-info-item { 
    display: flex; 
    align-items: flex-start; 
    gap: 10px; 
    font-size: 13.5px; 
    line-height: 1.55; 
}

.footer-label { 
    color: #ffffff; 
    font-weight: 700; 
    min-width: 75px; 
}

.footer-info-item a { 
    color: #ffffff; 
    font-weight: 600; 
}

.footer-info-item a:hover { 
    color: var(--accent-green); 
    text-decoration: underline; 
}

.footer-bottom-bar { 
    border-top: 1px solid var(--primary-navy); 
    padding: 18px 0; 
    background-color: #0b1120; 
}

.footer-bottom-container { 
    max-width: 1240px; 
    margin: 0 auto; 
    padding: 0 24px; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    font-size: 12.5px; 
    color: #64748b; 
}

.footer-legal-links { 
    display: flex; 
    gap: 18px; 
}

.footer-legal-links a { 
    color: #64748b; 
}

.footer-legal-links a:hover { 
    color: #ffffff; 
}

/* Floating WhatsApp */
.whatsapp-float { 
    position: fixed !important; 
    bottom: 25px !important; 
    right: 25px !important; 
    background-color: #25d366 !important; 
    color: #ffffff !important; 
    width: 58px !important; 
    height: 58px !important; 
    border-radius: 50% !important; 
    display: flex !important; 
    align-items: center !important; 
    justify-content: center !important; 
    font-size: 32px !important; 
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3) !important; 
    z-index: 99999 !important; 
    transition: opacity 0.3s ease, transform 0.3s ease; 
}

.whatsapp-float.hide-floating-btn { 
    opacity: 0 !important; 
    visibility: hidden !important; 
    pointer-events: none !important; 
}

/* --- 5. RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 992px) {
    .about-overview-container,
    .about-stats-grid,
    .founders-grid,
    .values-grid,
    .footer-offices-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .about-overview-section {
        margin-top: 80px;
    }
    .about-text-block h2 {
        font-size: 26px;
    }
    .footer-bottom-container {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    .footer-legal-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}