/* ==========================================
   About Page Styles
   ========================================== */

/* Page Header (Hero) */
.page-header {
    background: linear-gradient(rgba(10, 25, 47, 0.85), rgba(10, 25, 47, 0.9)), url('../images/hero_slide_1.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 120px 0 80px;
    text-align: center;
    color: var(--white);
    position: relative;
    margin-top: 80px; /* Offset fixed header */
}

/* Light Mode Page Header */
body.light-mode .page-header {
    background: linear-gradient(rgba(240, 242, 245, 0.9), rgba(240, 242, 245, 0.95)), url('../images/hero_slide_1.jpg');
    color: var(--navy-primary);
}

.page-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 15px;
    animation: fadeInUp 0.8s ease;
    color: var(--gold-primary);
}

.breadcrumbs {
    font-size: 1.1rem;
    color: var(--text-secondary);
    display: flex;
    justify-content: center;
    gap: 10px;
    align-items: center;
}

.breadcrumbs a {
    color: var(--gold-primary);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumbs a:hover {
    color: var(--white);
}

body.light-mode .breadcrumbs a:hover {
    color: var(--navy-primary);
}

.breadcrumbs .current {
    color: var(--text-secondary);
}

/* Intro Section */
.section-padding {
    padding: 80px 0;
}

.about-grid-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: visible;
}

.about-main-img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

.about-main-img:hover {
    transform: scale(1.02);
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    left: -30px; /* RTL Note: Might need right depending on layout direction, assuming RTL so right */
    background: var(--gold-gradient);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.3);
    color: var(--navy-primary);
    min-width: 160px;
    animation: float 4s ease-in-out infinite;
}

/* RTL adjustment */
[dir="rtl"] .experience-badge {
    left: auto;
    right: -30px;
}

.experience-badge .year {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 5px;
}

.experience-badge .text {
    font-size: 1rem;
    font-weight: 700;
}

.section-subtitle {
    color: var(--gold-primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 10px;
}

.section-title-sm {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.3;
    color: var(--text-primary);
}

.section-text {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.about-features-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.about-features-list li {
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 15px;
}

.about-features-list li i {
    color: var(--gold-primary);
    font-size: 1.2rem;
}

/* Vision Mission Cards */
.bg-darker {
    background: rgba(0, 0, 0, 0.2);
}

body.light-mode .bg-darker {
    background: var(--navy-secondary); /* Very light grey */
}

.vision-mission-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.vm-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

body.light-mode .vm-card {
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.vm-card:hover, .vm-card.active {
    transform: translateY(-10px);
    border-color: var(--gold-primary);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.15);
}

.vm-icon {
    width: 80px;
    height: 80px;
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 25px;
    transition: all 0.3s ease;
}

.vm-card:hover .vm-icon {
    background: var(--gold-primary);
    color: var(--navy-primary);
    transform: rotateY(360deg);
}

.vm-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.vm-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Stats Section */
.stats-section {
    background: var(--navy-secondary);
    padding: 60px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

body.light-mode .stats-section {
    background: var(--gold-primary); /* Gold background for stats in light mode? Or maybe just light grey */
    background: var(--gold-gradient);
    border: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 900;
    color: var(--gold-primary);
    margin-bottom: 10px;
}

body.light-mode .stat-number {
    color: var(--navy-primary);
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 600;
}

body.light-mode .stat-label {
    color: var(--navy-secondary);
}

/* Core Values */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.value-box {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 35px 25px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

body.light-mode .value-box {
    background: var(--white);
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.value-box:hover {
    transform: translateY(-5px);
    border-color: var(--gold-primary);
}

.value-icon {
    font-size: 2.5rem;
    color: var(--gold-primary);
    margin-bottom: 20px;
}

.value-box h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.value-box p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(rgba(10, 25, 47, 0.9), rgba(10, 25, 47, 0.8)), url('../images/hero_slide_1.jpg'); /* Reuse existing image */
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    text-align: center;
    color: var(--white);
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--white);
}

.cta-content p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn-outline-light {
    border: 2px solid var(--white);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--navy-primary);
}

/* Responsive */
@media (max-width: 991px) {
    .about-grid-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image-wrapper {
        order: -1; 
        max-width: 500px;
        margin: 0 auto;
    }

    [dir="rtl"] .experience-badge {
        right: 0;
        bottom: -20px;
    }

    .vision-mission-grid {
        grid-template-columns: 1fr;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
}
