/* ================= VARIABLES ================= */
:root {
    --primary-color: #3B82F6;
    --primary-dark: #1d4ed8;
    --secondary-color: #0ea5e9;
    --accent-purple: #8B5CF6;
    --accent-red: #ef4444;
    
    --text-dark: #0F172A;
    --text-medium: #334155;
    --text-light: #64748b;
    --text-white: #ffffff;
    
    --bg-light: #F8FAFC;
    --bg-white: #ffffff;
    --bg-dark: #0F172A;
    
    --border-color: #e2e8f0;
    --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --card-hover-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* ================= BASE STYLES ================= */
.about-page {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.bg-light {
    background-color: var(--bg-light);
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-white);
}

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

/* ================= HERO SECTION ================= */
.about-hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    background: url('../images/about/about-hero.jpeg') center/cover no-repeat fixed; /* Ensure image path is correct */
    display: flex;
    align-items: center;
    color: var(--text-white);
    margin-top: 70px; /* Offset fixed header if needed */
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 58, 138, 0.8) 100%);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content {
    max-width: 800px;
}

.hero-subtitle {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.about-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.about-hero p {
    font-size: 1.25rem;
    color: #e2e8f0;
    max-width: 600px;
}

/* ================= OVERVIEW SECTION ================= */
.overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.overview-description p {
    margin-bottom: 1.5rem;
    color: var(--text-medium);
    font-size: 1.05rem;
}

.overview-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.stat-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--card-shadow);
    text-align: center;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--card-hover-shadow);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ================= MVV SECTION ================= */
.mvv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.mvv-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.mvv-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--card-hover-shadow);
    border-color: var(--border-color);
}

.mvv-icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.75rem;
}

.mvv-icon-wrapper.blue { background: rgba(59, 130, 246, 0.1); color: var(--primary-color); }
.mvv-icon-wrapper.purple { background: rgba(139, 92, 246, 0.1); color: var(--accent-purple); }
.mvv-icon-wrapper.red { background: rgba(239, 68, 68, 0.1); color: var(--accent-red); }

.mvv-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.mvv-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ================= WHY CHOOSE US ================= */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.why-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    text-align: left;
}

.why-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--card-hover-shadow);
    transform: translateY(-5px);
}

.why-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--bg-light), #fff);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
}

.why-card h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.why-card p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ================= CULTURE SECTION ================= */
.about-culture {
    background-color: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

/* Optional: Add a subtle pattern overlay here if desired */

.text-white { color: var(--text-white) !important; }

.culture-description {
    color: #cbd5e1;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
}

.culture-highlights {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.highlight {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--primary-color); /* Highlight color */
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.highlight:hover {
    background: rgba(59, 130, 246, 0.2);
    color: var(--text-white);
    border-color: var(--primary-color);
    transform: scale(1.05);
}

/* ================= OFFICES SECTION ================= */
.offices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2.5rem;
}

.office-card {
    background: var(--bg-white);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.office-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-hover-shadow);
    border-color: var(--primary-color);
}

.office-map-visual {
    height: 150px;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 3rem;
    opacity: 0.7;
}

.office-info {
    padding: 2rem;
    flex-grow: 1;
}

.office-info h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.office-role {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.office-address {
    color: var(--text-medium);
    font-weight: 500;
    margin-bottom: 1rem;
}

.office-desc {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.office-contact {
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    color: var(--text-medium);
    font-size: 0.9rem;
}

.contact-item i {
    color: var(--primary-color);
    width: 20px;
    text-align: center;
}

/* ================= PARTNERS SECTION ================= */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.partner-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-hover-shadow);
}

.partner-logo {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: #94a3b8; /* Placeholder color */
    opacity: 0.7;
    transition: all 0.3s;
}

.partner-card:hover .partner-logo {
    opacity: 1;
    color: var(--primary-color);
}

.partner-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.partner-card p {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* ================= RESPONSIVE ADJUSTMENTS ================= */
@media (max-width: 992px) {
    .overview-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-hero h1 {
        font-size: 2.5rem;
    }
    
    .offices-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 3rem 0;
    }
    
    .stat-card {
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        margin-bottom: 1rem;
    }
}