/* Base & Reset */
:root {
    --primary-color: #3526E0; /* The requested blue */
    --primary-light: #6457E5;
    --primary-dark: #2216A6;
    --secondary-color: #FFB347; /* Warm Orange/Yellow */
    --accent-color: #FF6B6B; /* Soft Red/Pink for a playful touch */
    --bg-color: #FFFDF8; /* Off-white warm background */
    --section-bg: #FFFFFF;
    --text-color: #333333;
    --text-muted: #666666;
    --card-shadow: 0 10px 30px rgba(53, 38, 224, 0.08);
    --border-radius: 20px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography & Utilities */
.section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 6px;
    background-color: var(--secondary-color);
    border-radius: 3px;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
    box-shadow: 0 8px 20px rgba(53, 38, 224, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(53, 38, 224, 0.4);
}

/* Header & Navigation */
header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 15px 0;
}

header.scrolled {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    padding: 10px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--primary-color);
}

.logo i {
    font-size: 2rem;
    color: var(--secondary-color);
}

.school-logo {
    width: 45px;
    height: 45px;
    object-fit: contain;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
}

.logo h1 {
    font-size: 1.3rem;
    margin: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    background-color: var(--accent-color);
    bottom: -5px;
    left: 0;
    border-radius: 2px;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a.active {
    color: var(--primary-color);
}

.nav-links a.active::after {
    width: 100%;
    background-color: var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 180px 0 140px;
    position: relative;
    background-color: #F4F7FF;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-container {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content {
    flex: 0 1 650px;
    z-index: 2;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 50px;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(53, 38, 224, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.badge {
    display: inline-block;
    background-color: #FFEAE6;
    color: var(--accent-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero h2 {
    font-size: 3.5rem;
    color: var(--primary-color);
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 500px;
}

/* Float animation removed as image is now background */

.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
}

.wave-divider .shape-fill {
    fill: #FFFFFF;
}

/* About Section */
.about {
    padding: 100px 0;
    background-color: #FFFFFF;
}

.about-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-image {
    flex: 1;
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: var(--border-radius);
    position: relative;
    z-index: 2;
    object-fit: contain;
    box-shadow: 0 20px 40px rgba(53, 38, 224, 0.15);
}

.about-content {
    flex: 1;
}

.about-content .history {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--text-muted);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.value-card {
    background-color: #FAFAFF;
    padding: 20px;
    border-radius: var(--border-radius);
    transition: var(--transition);
    border: 1px solid rgba(53, 38, 224, 0.05);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow);
    background-color: #fff;
    border-color: rgba(53, 38, 224, 0.1);
}

.value-card .icon-wrap {
    width: 50px;
    height: 50px;
    background-color: #EBF0FF;
    color: var(--primary-color);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.value-card:nth-child(2) .icon-wrap {
    background-color: #FFF2E6;
    color: var(--secondary-color);
}

.value-card:nth-child(3) .icon-wrap {
    background-color: #FFEAE6;
    color: var(--accent-color);
}

.value-card:nth-child(4) .icon-wrap {
    background-color: #E6F9F2;
    color: #00B884;
}

.value-card h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--primary-dark);
}

.value-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background-color: var(--bg-color);
    position: relative;
    z-index: 1;
}

.wave-divider-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave-divider-top svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
}

.wave-divider-top .shape-fill {
    fill: #FFFFFF;
}

.contact-container {
    display: flex;
    gap: 60px;
    margin-top: 40px;
}

.contact-info {
    flex: 1;
}

.contact-info > p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.info-item i {
    width: 50px;
    height: 50px;
    background-color: #fff;
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.info-item h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--primary-dark);
}

.info-item p {
    color: var(--text-muted);
}

.contact-form-wrapper {
    flex: 1;
    background-color: #fff;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
}

.contact-form-wrapper h3 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: var(--primary-color);
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-color);
}

.form-group label span {
    color: var(--accent-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #EBEBFF;
    border-radius: 12px;
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
    background-color: #FAFAFF;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-light);
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(53, 38, 224, 0.1);
}

.error-msg {
    color: var(--accent-color);
    font-size: 0.85rem;
    margin-top: 5px;
    display: block;
}

.btn-submit {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.2rem;
    padding: 15px;
}

/* Footer */
footer {
    background-color: var(--primary-dark);
    color: #fff;
    padding: 40px 0 20px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-brand .logo {
    color: #fff;
    margin-bottom: 20px;
}

.footer-brand .logo h2 {
    background: none;
    -webkit-text-fill-color: #fff;
    font-size: 1.4rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.8);
    max-width: 400px;
}

.footer-links h4 {
    display: none;
}

.footer-links ul {
    display: flex;
    flex-direction: row;
    gap: 25px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-links a:hover {
    color: #fff;
    padding-left: 5px;
}

/* Connect with us section styles removed */

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-container,
    .about-container,
    .contact-container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        padding: 40px 20px;
    }
    
    .hero h2 {
        font-size: 2.8rem;
    }
    
    .hero p {
        margin: 0 auto 30px;
    }
    
    .about-content .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .info-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-brand p {
        margin: 0 auto;
    }
    
    .logo {
        justify-content: center;
    }
    
    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
}
