/* About Page Specific Styles */

/* Hero Section with Background Image */
.about-hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.6)),
        url('https://images.unsplash.com/photo-1427504494785-3a9ca7044f45?w=1920') center/cover;
    color: white;
    padding: 120px 0 80px;
}

.about-hero::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 120px;
    background: white;
    clip-path: ellipse(50% 100% at 50% 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-label {
    display: inline-block;
    color: #f39c12;
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;
    border-left: 4px solid #f39c12;
    padding-left: 15px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 30px;
    font-family: var(--font-heading);
}

.hero-title .white-text {
    color: white;
}

.hero-title .orange-text {
    color: #f39c12;
}

.hero-description {
    font-size: 1.25rem;
    line-height: 1.8;
    max-width: 900px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 0;
}

/* School Introduction Section */
.school-intro-section {
    padding: 100px 0;
    background: white;
}

.intro-image-wrapper {
    position: relative;
}

.intro-image {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.intro-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Decorative curve on image */
.intro-image::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 250px;
    height: 250px;
    background: #f39c12;
    border-radius: 30px 0 30px 0;
    z-index: -1;
}

.intro-content {
    padding-left: 40px;
}

.intro-label {
    display: inline-block;
    color: #f39c12;
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;
    border-left: 4px solid #f39c12;
    padding-left: 15px;
}

.intro-title {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 30px;
    font-family: var(--font-heading);
    color: #2d2d2d;
}

.intro-title .highlight {
    color: #f39c12;
}

.intro-text {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #666;
    margin-bottom: 25px;
}

/* Legacy Section */
.legacy-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.legacy-content {
    padding-right: 50px;
}

.legacy-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 30px;
    font-family: var(--font-heading);
    color: #2d2d2d;
}

.legacy-title .orange-text {
    color: #f39c12;
    display: block;
}

.legacy-text {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #666;
    margin-bottom: 25px;
}

.legacy-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    background: transparent;
    color: #f39c12;
    font-weight: 700;
    font-size: 1rem;
    border: 2px solid #f39c12;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.legacy-btn:hover {
    background: #f39c12;
    color: white;
    transform: translateX(10px);
}

.legacy-btn i {
    transition: transform 0.3s ease;
}

.legacy-btn:hover i {
    transform: translateX(5px);
}

.legacy-image-wrapper {
    position: relative;
}

.legacy-image {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.legacy-image img {
    width: 100%;
    height: auto;
    display: block;
    /* filter: grayscale(100%) sepia(20%); */
}

/* Decorative curve on legacy image */
.legacy-image::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    width: 200px;
    height: 200px;
    background: #7d2e3f;
    border-radius: 30px 0 0 0;
    z-index: -1;
}

/* Stats Section */
.stats-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #7d2e3f 0%, #5a1f2e 100%);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(243, 156, 18, 0.1) 0%, transparent 70%);
    animation: rotate 30s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.stat-card {
    text-align: center;
    padding: 30px 20px;
    position: relative;
    z-index: 2;
}

.stat-number {
    font-size: 4rem;
    font-weight: 800;
    color: #f39c12;
    font-family: var(--font-heading);
    margin-bottom: 10px;
    display: block;
}

.stat-label {
    font-size: 1.1rem;
    color: white;
    font-weight: 500;
}

/* Values Section */
.values-section {
    padding: 100px 0;
    background: white;
}

.value-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    height: 100%;
    border-top: 4px solid transparent;
}

.value-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15);
    border-top-color: #f39c12;
}

.value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, rgba(125, 46, 63, 0.1) 0%, rgba(243, 156, 18, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.value-icon i {
    font-size: 2.5rem;
    color: #ffff;
    transition: all 0.4s ease;
}

.value-card:hover .value-icon {
    background: linear-gradient(135deg, #7d2e3f 0%, #5a1f2e 100%);
    transform: scale(1.15) rotate(10deg);
}

.value-card:hover .value-icon i {
    color: white;
}

.value-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d2d2d;
    margin-bottom: 15px;
    font-family: var(--font-heading);
}

.value-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: #666;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 991px) {
    .hero-title {
        font-size: 3rem;
    }

    .intro-title,
    .legacy-title {
        font-size: 2.25rem;
    }

    .intro-content,
    .legacy-content {
        padding-left: 0;
        padding-right: 0;
        margin-top: 40px;
    }

    .stat-number {
        font-size: 3rem;
    }
}

@media (max-width: 767px) {
    .about-hero {
        min-height: 60vh;
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-description {
        font-size: 1.05rem;
    }

    .intro-title,
    .legacy-title {
        font-size: 1.85rem;
    }

    .intro-text,
    .legacy-text {
        font-size: 1rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .school-intro-section,
    .legacy-section,
    .values-section {
        padding: 60px 0;
    }
}