/* --- 1. GLOBAL RESETS & FONTS --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400&display=swap');

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

body {
    font-family: 'Inter', Arial, sans-serif;
    background-color: #ebf0f6;
    /* Global soft background */
    color: #333333;
    padding: 24px;
    min-height: 100vh;
}

/* --- 2. REUSABLE UI COMPONENTS --- */
/* Badges */
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 50px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #475569;
    margin-bottom: 24px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background-color: #611535;
    border-radius: 50%;
}

/* Standard White Button */
.consultation-btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background-color: #ffffff;
    border: none;
    border-radius: 50px;
    padding: 8px 8px 8px 24px;
    font-size: 16px;
    font-weight: 600;
    color: #000000;
    text-decoration: none;
    transition: all 0.3s ease;
}

.arrow-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #611535;
    border-radius: 50px;
    color: #ffffff;
    font-size: 20px;
    transition: transform 0.3s ease;
}

.consultation-btn:hover {
    background-color: #f5f5f5;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.consultation-btn:hover .arrow-circle {
    transform: translate(2px, -2px);
}

/* Inverted Black Button */
.btn-inverted {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    background-color: #000000;
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    padding: 8px 8px 8px 24px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    width: fit-content;
}

.arrow-circle-alt {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #ffffff;
    color: #611535;
    border-radius: 50%;
    font-size: 20px;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.btn-inverted:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn-inverted:hover .arrow-circle-alt {
    transform: translate(2px, -2px);
}

/* --- 3. HERO & NAVIGATION --- */
.page-hero {
    position: relative;
    width: 100%;
    height: 600px;
    border-radius: 24px;
    background: url('images/IMG-20260630-WA0034.jpg') no-repeat center center;
    /* background: url('images/IMG-20260627-WA0022.jpg') no-repeat center top; */
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    padding: 24px;
    margin-bottom: 80px;
}

.main-header {
    width: 100%;
    max-width: 1400px;
    background-color: #ffffff;
    border-radius: 20px;
    padding: 16px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 10;
}

.logo-img {
    height: 100px;
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-link {
    text-decoration: none;
    color: #1e293b;
    font-size: 16px;
    font-weight: 600;
    transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #3b71ca;
    text-decoration: underline;
}

.header-contact-btn {
    text-decoration: none;
    background-color: #3b71ca;
    color: #ffffff;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    transition: background-color 0.2s ease;
}

.header-contact-btn:hover {
    background-color: #2b579a;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(15, 23, 42, 0.6);
    z-index: 1;
}

.page-title {
    position: relative;
    z-index: 2;
    color: #ffffff;
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 600;
    margin: auto 0;
}

/* --- 4. INTRO SECTION --- */
.about-intro {
    max-width: 1400px;
    margin: 0 auto 100px auto;
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 60px;
}

.intro-title {
    font-size: clamp(3rem, 4vw, 4rem);
    color: #3b71ca;
    font-weight: 500;
}

.intro-right p {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #1e293b;
    margin-bottom: 24px;
}

.intro-right .bold-highlight {
    font-weight: 700;
    font-size: 1.25rem;
    margin-top: 32px;
}

.italic-text {
    font-style: italic;
}

/* --- 5. MISSION SPLIT SECTION --- */
.mission-split {
    max-width: 1400px;
    margin: 0 auto 100px auto;
}

.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: stretch;
}

.mission-image-card {
    border-radius: 24px;
    overflow: hidden;
    min-height: 450px;
    position: relative;
}

.mission-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.mission-content-card {
    background-color: #ffffff;
    border-radius: 24px;
    padding: 60px 48px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.mission-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    color: #3b71ca;
    font-weight: 400;
    margin-bottom: 24px;
}

.mission-desc {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #475569;
    margin-bottom: 40px;
}

/* --- 6. VISION SECTION --- */
.vision-section {
    max-width: 1400px;
    margin: 0 auto 100px auto;
}

.vision-statement {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: #111827;
    font-weight: 300;
    font-style: italic;
    line-height: 1.4;
    margin-bottom: 40px;
    max-width: 1200px;
}

.vision-image-container {
    width: 100%;
    height: 500px;
    border-radius: 24px;
    overflow: hidden;
}

.vision-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- 7. STATS COUNTER --- */
.stats-section {
    max-width: 1400px;
    margin: 0 auto 100px auto;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.stat-card {
    background-color: #ffffff;
    border-radius: 20px;
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.stat-number {
    font-size: clamp(3rem, 4vw, 4.5rem);
    font-weight: 400;
    color: #3b71ca;
    margin-bottom: 16px;
}

.stat-description {
    font-size: 1rem;
    line-height: 1.5;
    color: #475569;
}

/* --- 8. TEAM SECTION --- */
.team-section {
    max-width: 1200px;
    margin: 0 auto 100px auto;
}

.team-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.team-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    color: #3b71ca;
    font-weight: 500;
    margin-bottom: 16px;
}

.team-subtitle {
    font-size: 1.1rem;
    color: #475569;
    line-height: 1.5;
}

.team-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.team-card {
    background-color: #ffffff;
    border-radius: 24px;
    padding: 40px;
    display: flex;
    gap: 40px;
    align-items: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
}

.team-photo {
    width: 200px;
    height: 200px;
    border-radius: 24px;
    object-fit: cover;
    flex-shrink: 0;
    object-position: center top;
}

.team-info {
    display: flex;
    flex-direction: column;
}

.team-name {
    font-size: 1.5rem;
    color: #3b71ca;
    font-weight: 600;
    margin-bottom: 4px;
}

.team-role {
    font-size: 1.1rem;
    color: #111827;
    font-weight: 700;
    margin-bottom: 16px;
}

.team-bio {
    font-size: 1rem;
    color: #475569;
    line-height: 1.6;
}

/* --- 9. FINAL CTA SECTION --- */
.final-cta-section {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 60px auto;
    min-height: 550px;
    border-radius: 24px;
    overflow: hidden;
    background: url('images/about_footer_bg.webp') no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 60px;
}

.cta-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.4);
    z-index: 1;
}

.cta-glass-card {
    position: relative;
    z-index: 2;
    max-width: 500px;
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
}

.cta-glass-card h2 {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    color: #ffffff;
    font-weight: 400;
    line-height: 1.1;
}

.cta-glass-card p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #e2e8f0;
}

/* --- 10. FOOTER SECTION --- */
.site-footer {
    background-color: #ffffff;
    padding: 80px 40px 40px 40px;
    color: #475569;
    margin: 0 -24px -24px -24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.5fr;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-logo {
    max-width: 150px;
    margin-bottom: 24px;
}

.brand-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 280px;
}

.footer-heading {
    font-size: 1.8rem;
    color: #6384f5;
    font-weight: 500;
    margin-bottom: 24px;
}

.footer-links {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a,
.contact-email,
.location-block a {
    text-decoration: none;
    color: #475569;
    transition: color 0.2s ease;
}

.footer-links a:hover,
.contact-email:hover,
.location-block a:hover {
    color: #6384f5;
}

.location-block {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 24px;
}

.footer-bottom {
    max-width: 1400px;
    margin: 60px auto 0 auto;
    text-align: right;
    font-size: 0.85rem;
    color: #94a3b8;
}

/* --- 11. RESPONSIVE BREAKPOINTS --- */
@media (max-width: 1024px) {
    .about-intro {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .mission-grid {
        grid-template-columns: 1fr;
    }

    .mission-image-card {
        min-height: 400px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: flex;
    }

    .team-card {
        flex-direction: column;
        text-align: center;
        padding: 32px;
        gap: 24px;
    }

    .team-photo {
        width: 160px;
        height: 160px;
    }

    .final-cta-section {
        padding: 40px 20px;
    }

    .cta-glass-card {
        max-width: 100%;
        padding: 40px 24px;
    }
}

@media (max-width: 640px) {
    body {
        padding: 12px;
    }

    .site-footer {
        margin: 0 -12px -12px -12px;
        padding: 60px 20px 20px 20px;
    }

    .page-hero {
        height: 550px;
        padding: 16px;
        margin-bottom: 60px;
    }

    .main-header {
        padding: 16px 20px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .mission-content-card {
        padding: 40px 24px;
    }

    .vision-image-container {
        height: 350px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        text-align: left;
    }
}


/* --- Desktop Defaults (Hide Mobile Elements) --- */
.mobile-menu-toggle {
    display: none;
}

.contact-btn {
    text-decoration: none;
    background-color: #3b71ca; /* Matches the clean corporate blue layout */
    color: #ffffff;
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    transition: background-color 0.2s ease, transform 0.2s ease;
    display: inline-block;
}

.mobile-only-btn {
    display: none;
}

/* --- Mobile & Tablet Breakpoint (992px and below) --- */
@media (max-width: 992px) {
    /* 1. Hide Desktop Elements */
    .desktop-only-btn {
        display: none;
    }

    /* 2. Style the Header for Mobile Layout */
    .main-header {
        position: relative; /* Crucial so the absolute menu positions relative to this header */
        padding: 16px 24px;
    }

    /* 3. The 2-Line Hamburger Button */
    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 14px; /* Controls the gap between the two lines */
        width: 24px;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 50; /* Keeps the button above the dropdown menu */
    }

    .hamburger-line {
        width: 100%;
        height: 2px;
        background-color: #1e293b;
        transition: transform 0.3s ease, opacity 0.3s ease;
        border-radius: 2px;
    }

    /* 4. The Hidden Dropdown Menu Container */
    .nav-menu {
        position: absolute;
        top: 100%; /* Drops it immediately below the white header box */
        left: 0;
        right: 0;
        background-color: #ffffff;
        flex-direction: column;
        align-items: center;
        gap: 24px;
        padding: 32px 24px;
        border-radius: 0 0 20px 20px; /* Rounds the bottom corners */
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
        
        /* Animation properties (Hidden by default) */
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 40;
    }

    /* Show the mobile contact button inside the menu */
    .mobile-only-btn {
        display: inline-block;
        margin-top: 16px;
        width: 100%;
        text-align: center;
    }

    /* --- ACTIVE STATES (Triggered via JavaScript) --- */
    
    /* Reveal the menu */
    .nav-menu.is-active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    /* Animate the 2-line icon into an 'X' */
    .mobile-menu-toggle.is-active .top-line {
        transform: translateY(6px) rotate(45deg);
    }
    
    .mobile-menu-toggle.is-active .bottom-line {
        transform: translateY(-6px) rotate(-45deg);
    }

    .main-header.is-active {
        border-radius: 20px 20px 0 0;
    }
}

.contact-btn:hover {
    background-color: #2b579a;
    transform: translateY(-1px);
}
