﻿/* about-us.css - Complete Styles for About Us Page */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
    background: #fefcf5;
}

.about-page-wrapper {
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section Tag */
.section-tag {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #f39c12;
    background: rgba(243, 156, 18, 0.1);
    padding: 5px 12px;
    border-radius: 20px;
    margin-bottom: 15px;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

    .section-header h2 {
        font-size: 36px;
        font-weight: 700;
        color: #2c3e50;
        margin-bottom: 15px;
        position: relative;
        display: inline-block;
    }

    .section-header p {
        color: #7f8c8d;
        font-size: 16px;
        max-width: 600px;
        margin: 0 auto;
    }

/* Hero Section */
.hero-section {
    position: relative;
    height: 80vh;
    min-height: 600px;
    overflow: hidden;
    margin-bottom: 60px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.5) 100%);
    z-index: 1;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    color: white;
    width: 90%;
    max-width: 800px;
}

.trust-badge span {
    background: rgba(243, 156, 18, 0.9);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 20px;
}

.school-logo-container {
    margin-bottom: 20px;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.logo-icon {
    font-size: 60px;
    color: #f39c12;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.3));
}

.school-name-hero {
    font-size: 48px;
    font-weight: 700;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-details {
    margin-top: 20px;
}

    .hero-details p {
        margin: 10px 0;
        font-size: 16px;
    }

    .hero-details i {
        margin-right: 8px;
        color: #f39c12;
    }

/* Hero Image Slider */
.hero-images-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

    .slide.active {
        opacity: 1;
    }

    .slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 15px 20px;
    cursor: pointer;
    z-index: 3;
    border-radius: 50%;
    transition: all 0.3s ease;
}

    .slider-btn:hover {
        background: rgba(243, 156, 18, 0.8);
    }

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

/* About Intro Section */
.about-intro {
    padding: 80px 0;
    background: #fff;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-content h2 {
    font-size: 36px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
}

.about-content p {
    color: #7f8c8d;
    line-height: 1.8;
    margin-bottom: 20px;
}

.stats-container {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: #f39c12;
}

.stat-label {
    font-size: 14px;
    color: #7f8c8d;
}

.about-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Vision Mission Cards Section */
.vision-mission-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

    .card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    }

.card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #f39c12, #e67e22);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

    .card-icon i {
        font-size: 40px;
        color: white;
    }

.card h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #2c3e50;
}

.card p {
    color: #7f8c8d;
    line-height: 1.6;
}

.card-hover-effect {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #f39c12, #e67e22);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.card:hover .card-hover-effect {
    transform: scaleX(1);
}

/* Programs Section */
.programs-section {
    padding: 80px 0;
    background: white;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.program-card {
    text-align: center;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
}

    .program-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    }

.program-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #f39c12, #e67e22);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

    .program-icon i {
        font-size: 32px;
        color: white;
    }

.program-card h4 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #2c3e50;
}

.program-card p {
    color: #7f8c8d;
    font-size: 14px;
    line-height: 1.6;
}

/* ============================================ */
/* ENHANCED PRINCIPAL SECTION - Better Background & Image */
/* ============================================ */
.principal-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    position: relative;
    overflow: hidden;
}

    /* Decorative background elements */
    .principal-section::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -20%;
        width: 500px;
        height: 500px;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 50%;
        pointer-events: none;
    }

    .principal-section::after {
        content: '';
        position: absolute;
        bottom: -30%;
        left: -10%;
        width: 400px;
        height: 400px;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 50%;
        pointer-events: none;
    }

.principal-wrapper {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 60px;
    align-items: start;
    position: relative;
    z-index: 2;
}

/* Principal Image Container - With Actual Image */
.principal-image {
    text-align: center;
    position: relative;
}

    .principal-image .principal-img {
        width: 100%;
        max-width: 300px;
        height: auto;
        border-radius: 20px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
        border: 5px solid rgba(255, 255, 255, 0.3);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

        .principal-image .principal-img:hover {
            transform: scale(1.02);
            box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
        }

/* Image placeholder for fallback */
.image-placeholder {
    width: 280px;
    height: 280px;
    background: linear-gradient(135deg, #f39c12, #e67e22);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border: 5px solid rgba(255, 255, 255, 0.5);
}

    .image-placeholder i {
        font-size: 120px;
        color: white;
        filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.2));
    }

/* Principal Message Content - Enhanced Readability */
.principal-message {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

    .principal-message .section-tag {
        background: rgba(243, 156, 18, 0.2);
        color: #e67e22;
        font-weight: 700;
    }

    .principal-message h2 {
        font-size: 36px;
        font-weight: 700;
        color: #1e3c72;
        margin-bottom: 10px;
        position: relative;
        display: inline-block;
    }

        .principal-message h2::after {
            content: '';
            position: absolute;
            bottom: -8px;
            left: 0;
            width: 60px;
            height: 3px;
            background: linear-gradient(90deg, #f39c12, #e67e22);
            border-radius: 2px;
        }

.principal-title {
    font-size: 18px;
    color: #e67e22;
    font-weight: 600;
    margin-bottom: 25px;
    letter-spacing: 0.5px;
}

.message-content p {
    color: #2c3e50;
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 16px;
    text-align: justify;
}

    .message-content p:first-child {
        font-size: 18px;
        font-weight: 500;
        color: #1e3c72;
    }

.principal-signature {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px dashed rgba(243, 156, 18, 0.3);
    text-align: right;
}

    .principal-signature p {
        font-size: 20px;
        font-weight: 700;
        color: #1e3c72;
        margin-bottom: 5px;
        font-style: normal;
    }

    .principal-signature span {
        font-size: 14px;
        color: #e67e22;
        font-weight: 500;
        letter-spacing: 1px;
    }

/* Facilities Section */
.facilities-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.facility-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

    .facility-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    }

    .facility-card i {
        font-size: 50px;
        color: #f39c12;
        margin-bottom: 20px;
    }

    .facility-card h4 {
        font-size: 20px;
        margin-bottom: 10px;
        color: #2c3e50;
    }

    .facility-card p {
        color: #7f8c8d;
        line-height: 1.6;
    }

/* Why Choose Section */
.why-choose-section {
    padding: 80px 0;
    background: white;
}

.choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.choose-card {
    padding: 30px;
    text-align: center;
    position: relative;
    border-radius: 10px;
    transition: all 0.3s ease;
}

    .choose-card:hover {
        background: #f8f9fa;
        transform: translateY(-5px);
    }

.choose-number {
    font-size: 48px;
    font-weight: 700;
    color: rgba(243, 156, 18, 0.2);
    margin-bottom: 15px;
}

.choose-card h4 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #2c3e50;
}

.choose-card p {
    color: #7f8c8d;
    line-height: 1.6;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: #2c3e50;
    color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h3,
.trust-info h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #f39c12;
}

.contact-info p,
.trust-info p {
    margin: 15px 0;
    line-height: 1.6;
}

.contact-info i {
    margin-right: 10px;
    color: #f39c12;
}

.social-links {
    margin-top: 20px;
}

    .social-links a {
        display: inline-block;
        width: 40px;
        height: 40px;
        background: rgba(255,255,255,0.1);
        border-radius: 50%;
        text-align: center;
        line-height: 40px;
        margin-right: 10px;
        color: white;
        transition: all 0.3s ease;
    }

        .social-links a:hover {
            background: #f39c12;
            transform: translateY(-3px);
        }

/* Responsive Design */
@media (max-width: 768px) {
    .school-name-hero {
        font-size: 32px;
    }

    .hero-section {
        height: 70vh;
        min-height: 500px;
    }

    .about-grid,
    .principal-wrapper,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .stats-container {
        justify-content: space-around;
    }

    .cards-grid,
    .programs-grid,
    .facilities-grid,
    .choose-grid {
        grid-template-columns: 1fr;
    }

    .principal-message {
        padding: 25px;
    }

        .principal-message h2 {
            font-size: 28px;
        }

    .message-content p:first-child {
        font-size: 16px;
    }

    .principal-image .principal-img {
        max-width: 250px;
    }

    .slider-btn {
        padding: 10px 15px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .school-name-hero {
        font-size: 24px;
    }

    .hero-details p {
        font-size: 12px;
    }

    .card {
        padding: 30px 20px;
    }

    .principal-message {
        padding: 20px;
    }

        .principal-message h2 {
            font-size: 24px;
        }

    .principal-title {
        font-size: 16px;
    }

    .message-content p {
        font-size: 14px;
    }
}
