/* Hero Section */
.hero {
    background: var(--gradient-1);
    color: var(--white);
    padding: 8rem 2rem 6rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../Assets/Acacia.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(8px);
    transform: scale(1.1);
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-logo {
    width: 350px;
    height: 350px;
    margin-bottom: 2.5rem;
    transition: transform 0.3s ease;
}

.hero h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 4rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.8s ease;
}

.tagline {
    font-size: 1.4rem;
    color: #ffffff;
    font-weight: 400;
    letter-spacing: 0.5px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

/* About Section */
.about-section {
    padding: 6rem 2rem;
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fc 50%, #ffffff 100%);
    position: relative;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(9, 146, 194, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(10, 196, 224, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.about-section h2 {
    text-align: center;
    font-size: 2.8rem;
    color: var(--dark-blue);
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.about-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-1);
    border-radius: 2px;
}

.about-section p {
    margin-bottom: 1.8rem;
    font-size: 1.15rem;
    color: var(--text-light);
    text-align: justify;
    line-height: 1.9;
}

/* Mission and Vision */
.mission-vision {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #f0f4f8 0%, #fafbfc 50%, #f5f7fa 100%);
    position: relative;
}

.mission-vision::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%230992c2' fill-opacity='0.02' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.5;
    pointer-events: none;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

.mission-box,
.vision-box {
    background: linear-gradient(145deg, #ffffff 0%, #fafbfc 100%);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(11, 45, 114, 0.08), 0 2px 8px rgba(11, 45, 114, 0.04);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(9, 146, 194, 0.08);
    position: relative;
    overflow: hidden;
}

.mission-box::after,
.vision-box::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(9, 146, 194, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.mission-box::before,
.vision-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.mission-box:hover,
.vision-box:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
}

.mission-box:hover::before,
.vision-box:hover::before {
    transform: scaleX(1);
}

.mission-box h3,
.vision-box h3 {
    font-size: 2rem;
    color: var(--dark-blue);
    margin-bottom: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.mission-box h3::before {
    content: '🎯';
    font-size: 1.8rem;
}

.vision-box h3::before {
    content: '🔭';
    font-size: 1.8rem;
}

.mission-box p,
.vision-box p {
    color: var(--text-light);
    line-height: 1.9;
    font-size: 1.05rem;
}

/* School Head Section */
.school-head {
    padding: 5rem 2rem;
    background: linear-gradient(to right, #fafbfc 0%, #ffffff 50%, #fafbfc 100%);
    position: relative;
}

.school-head::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: linear-gradient(90deg, rgba(9, 146, 194, 0.01) 1px, transparent 1px),
                      linear-gradient(rgba(9, 146, 194, 0.01) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

.school-head h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--dark-blue);
    margin-bottom: 3rem;
}

.head-content {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.head-image {
    flex: 0 0 400px;
}

.head-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.head-image img:hover {
    transform: scale(1.02);
}

.head-description {
    flex: 1;
}

.head-description h3 {
    font-size: 2rem;
    color: var(--dark-blue);
    margin-bottom: 0.5rem;
}

.head-description .title {
    font-size: 1.2rem;
    color: var(--blue);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.head-description p {
    margin-bottom: 1.2rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* Stats Section */
.stats-section {
    padding: 1.5rem 2rem;
    background: var(--gradient-1);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.stat-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0.75rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.stat-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 1);
}

.stat-number {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.3rem;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-dark);
    font-weight: 600;
    letter-spacing: 0.5px;
}
