/* ==========================================================================
   ABOUT US HERO LAYER (Optimized Asset Loading & Perfect Centering)
   ========================================================================== */

#about-hero {
    /* Alignment Architecture: Forces structural vertical and horizontal centering */
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    
    /* Optimized Image Asset: Web-scaled to 1200px width for near-instant loads */
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.96), rgba(43, 108, 176, 0.9)), 
                url("https://images.pexels.com/photos/3183150/pexels-photo-3183150.jpeg?auto=compress&cs=tinysrgb&w=1200") no-repeat center center/cover !important;
    
    /* FIXED: Removed margin-top entirely and adjusted padding to flush the image to the top edge */
    min-height: 300px !important;
    padding: 160px 20px 100px !important; 
    margin-top: 0 !important; 
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Enforces perfect structural alignment for container contents */
.hero-content {
    max-width: 850px !important;
    margin: 0 auto !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
}

#about-hero h1 {
    font-size: 38px !important;
    color: #ffffff !important;
    margin: 0 0 15px 0 !important;
    font-weight: 700 !important;
    text-align: center !important;
    width: 100% !important;
}

#about-hero p {
    font-size: 18px !important;
    color: #edf2f7 !important;
    font-weight: 500 !important;
    text-align: center !important;
    max-width: 650px !important;
    margin: 0 !important;
}

/* ==========================================================================
   PAGE STRUCTURAL ALIGNMENT
   ========================================================================== */
.about-page-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 20px;
}

.vision-block {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    line-height: 1.8;
}

.vision-block p {
    color: var(--gray);
    font-size: 16px;
}

/* --- Team Layout Grid --- */
.team-section {
    background: #edf2f7;
    padding: 80px 20px;
}

.team-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.profile-card {
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease, border-top 0.2s ease;
    border-top: 4px solid transparent;
}

.profile-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(26, 54, 93, 0.12);
    border-top: 4px solid var(--accent);
}

.profile-header {
    background: var(--primary);
    color: var(--white);
    padding: 30px;
}

.profile-header h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
}

.profile-header h4 {
    color: #cbd5e0;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.profile-body {
    padding: 30px;
}

.credentials {
    font-size: 14px;
    background: #f7fafc;
    padding: 10px 15px;
    border-left: 3px solid var(--primary-light);
    margin-bottom: 20px;
    color: var(--dark);
    border-radius: 0 4px 4px 0;
}

.profile-body p {
    color: var(--gray);
    font-size: 15px;
    margin-bottom: 20px;
}

.milestone-title {
    font-size: 15px;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 12px;
}

.milestone-list {
    list-style: none;
}

.milestone-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
    font-size: 14px;
    color: var(--gray);
    line-height: 1.5;
}

.milestone-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

.active-nav {
    color: var(--accent) !important;
    font-weight: 700 !important;
}

/* --- Navigation / Interaction Layouts --- */
.lang-switch:hover {
    box-shadow: 0 4px 10px rgba(43, 108, 176, 0.4) !important;
}
.btn:hover {
    background: var(--primary-light) !important;
    box-shadow: 0 6px 20px rgba(43, 108, 176, 0.4) !important;
}

/* --- Responsive Layout Adjustments --- */
@media (max-width: 900px) {
    .team-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    #about-hero h1 {
        font-size: 28px !important;
    }
    #about-hero p {
        font-size: 16px !important;
    }
}