/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
    /* Color Palette */
    --primary-blue: #0056b3;
    /* Adjusted slightly to be rich standard blue */
    --secondary-blue: #003366;
    /* Darker navy for footer/text */
    --accent-gold: #D4AF37;
    /* Gold often matches school crests better than red */
    --text-dark: #1a1a1a;
    --text-light: #f5f5f5;
    --text-gray: #666666;
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-off-white: #f0f4f8;

    /* Spacing */
    --container-padding: 2rem;
    --section-spacing: 5rem;
    --border-radius: 8px;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);

    /* Fonts */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

/* Modern Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--secondary-blue);
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
}

h3 {
    font-size: 1.75rem;
    font-weight: 600;
}

p {
    margin-bottom: 1.5rem;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.section {
    padding: var(--section-spacing) 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.bg-primary {
    background-color: var(--secondary-blue);
}

.text-center {
    text-align: center;
}

.text-primary {
    color: var(--primary-blue);
}

.text-accent {
    color: var(--accent-gold);
}

.text-white {
    color: white;
}

/* Spacing Utilities */
.mb-3 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

.mt-5 {
    margin-top: 3rem;
}

.pt-5 {
    padding-top: 3rem;
}

.pb-5 {
    padding-bottom: 3rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: white;
}

.btn-primary:hover {
    background-color: #003d80;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid white;
    color: white;
}

.btn-outline:hover {
    background-color: white;
    color: var(--primary-blue);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    padding: 1rem 0;
    transition: padding 0.3s ease;
}

.navbar.scrolled {
    padding: 0.5rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo img {
    height: 50px;
    width: auto;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.school-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--secondary-blue);
    line-height: 1;
}

.motto {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-gray);
}

.nav-links ul {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--secondary-blue);
}

.nav-links a:hover {
    color: var(--primary-blue);
}

.nav-cta.btn {
    padding: 0.6rem 1.5rem;
    color: white !important;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--secondary-blue);
    margin-bottom: 5px;
    transition: all 0.3s;
}

/* Hero Section */
/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    color: white;
    padding-top: 80px;
    /* offset navbar */
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.hero-overlay {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 74, 173, 0.85), rgba(10, 25, 47, 0.75));
    z-index: 1;
}

/* Removed .hero::before as slider takes over */

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-subtitle {
    display: block;
    font-size: 0.9rem;
    letter-spacing: 0.15em;
    color: var(--accent-gold);
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero h1 {
    font-size: 4rem;
    color: white;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

/* Section Headers */
.section-header {
    margin-bottom: 4rem;
}

.sub-heading {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.section-desc {
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-gray);
}

/* Features/Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 5rem;
}

.stat-card {
    background: white;
    padding: 2rem;
    border: 1px solid #e5e7eb;
    border-radius: var(--border-radius);
    text-align: center;
    transition: transform 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-blue);
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* About Redesign */
.about-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-quote {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.25rem;
    color: var(--secondary-blue);
    margin-top: 2rem;
}

.about-cards-col {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.vision-card,
.mission-card {
    padding: 2.5rem;
    border-radius: 12px;
}

.vision-card {
    background-color: var(--primary-blue);
    color: white;
    box-shadow: 0 10px 30px rgba(0, 74, 173, 0.2);
}

.mission-card {
    background-color: white;
    border: 1px solid #e5e7eb;
    color: var(--text-dark);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.card-header i {
    font-size: 1.25rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.75rem;
    border-radius: 50%;
}

.mission-card .card-header i {
    background: var(--bg-off-white);
    color: var(--primary-blue);
}

.card-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
}

/* Advantage Section */
.advantage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.advantage-card {
    padding: 2.5rem;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.advantage-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-md);
}

.icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.light-blue {
    background-color: rgba(0, 74, 173, 0.1);
    color: var(--primary-blue);
}

/* Programs Grid */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.program-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    transition: all 0.3s;
    border-top: 4px solid transparent;
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-top-color: var(--primary-blue);
}

.program-card .icon-box {
    background: var(--primary-blue);
    color: white;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

/* Facilities Redesign */
.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.facility-card {
    height: 400px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    background-size: cover;
    background-position: center;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s;
}

.facility-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.facility-overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 2rem;
    background: rgba(10, 25, 47, 0.6);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.facility-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: white !important;
}

.facility-overlay p {
    font-size: 0.95rem;
    opacity: 0.9;
    margin: 0;
    color: white !important;

}

/* Extracurricular Activities */
.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.activity-card {
    background: white;
    padding: 2.5rem;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    transition: all 0.3s;
}

.activity-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-blue);
}

.activity-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.icon-blue {
    background: rgba(0, 74, 173, 0.1);
    color: var(--primary-blue);
}

.icon-orange {
    background: rgba(255, 107, 0, 0.1);
    color: #FF6B00;
}

.icon-pink {
    background: rgba(255, 0, 102, 0.1);
    color: #FF0066;
}

.activity-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.activity-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.activity-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-weight: 500;
}

.tag-blue {
    background: rgba(0, 74, 173, 0.05);
    color: var(--primary-blue);
}

.tag-orange {
    background: rgba(255, 107, 0, 0.05);
    color: #FF6B00;
}

.tag-pink {
    background: rgba(255, 0, 102, 0.05);
    color: #FF0066;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.testimonial-card i {
    font-size: 2rem;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.testimonial-card p {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.testimonial-card .author strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.testimonial-card .author span {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Contact Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    padding: 4rem;
    overflow: hidden;
}

.info-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-blue);
}

.info-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--secondary-blue);
}

.info-item p {
    color: var(--text-gray);
    margin: 0;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    font-family: var(--font-body);
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 74, 173, 0.1);
}

/* Footer */
.footer {
    background-color: var(--secondary-blue);
    color: white;
    padding: 5rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand p {
    opacity: 0.7;
    max-width: 300px;
}

.footer-links h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    opacity: 0.7;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--accent-gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-socials {
    display: flex;
    gap: 1.5rem;
}

.footer-socials a {
    color: white;
    font-size: 1.25rem;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.footer-socials a:hover {
    opacity: 1;
    color: var(--accent-gold);
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    margin-bottom: 1rem;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-blue);
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1rem;
    color: var(--secondary-blue);
    cursor: pointer;
    text-align: left;
}

.faq-question i {
    color: var(--primary-blue);
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: rgba(0, 86, 179, 0.02);
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    margin: 0;
    color: var(--text-gray);
    line-height: 1.6;
}

/* Active State for FAQ */
.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    max-height: 200px;
    /* Adjust as needed */
    border-top: 1px solid #e5e7eb;
}

.faq-item.active .faq-question {
    color: var(--primary-blue);
}

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.75rem;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        padding: 2rem;
    }

    .about-content-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 80%;
        height: calc(100vh - 70px);
        background: white;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        padding: 2rem;
        transition: right 0.3s ease;
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links ul {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 1.5rem;
    }

    .mobile-menu-btn {
        display: block;
    }

    /* Mobile Gallery: 2x2 Grid, hide rest */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 150px);
        /* Reduced height */
    }

    .gallery-item:nth-child(n+5) {
        display: none;
    }
}

/* --- NEW SECTIONS --- */

/* Admissions Section */
.admissions-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.requirements-list {
    margin: 2rem 0;
}

.requirements-list h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--secondary-blue);
}

.requirements-list ul li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.requirements-list ul li i {
    color: var(--primary-blue);
}

.admissions-process-card {
    background: white;
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

.admissions-process-card h3 {
    margin-bottom: 2rem;
}

.step-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.step-number {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    line-height: 1;
}

.step-info h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: var(--secondary-blue);
}

.step-info p {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin: 0;
}

.deadline-box {
    background: var(--bg-off-white);
    padding: 1.5rem;
    border-radius: 4px;
    font-size: 0.9rem;
    color: var(--secondary-blue);
    border-left: 4px solid var(--primary-blue);
}

.mt-4 {
    margin-top: 1.5rem;
}

/* Gallery Section */
.container-fluid {
    width: 100%;
    padding: 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 300px);
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 74, 173, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-overlay i {
    color: white;
    font-size: 2rem;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-cta {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    padding: 4rem 0;
    text-align: center;
    color: white;
}

.gallery-cta h3 {
    color: white;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

/* Lightbox */
.lightbox {
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
}

.lightbox-img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    cursor: pointer;
}

.lightbox-prev,
.lightbox-next {
    background: none;
    border: none;
    color: white;
    font-size: 30px;
    cursor: pointer;
    padding: 20px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

/* Contact Refined */
.contact-layout {
    display: grid;
    grid-template-columns: 1.2fr 1.5fr;
    gap: 3rem;
    margin-top: 3rem;
}

.contact-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.info-card {
    background: var(--bg-light);
    padding: 2rem 1.5rem;
    border-radius: var(--border-radius);
    text-align: center;
}

.icon-circle {
    width: 50px;
    height: 50px;
    background: rgba(0, 86, 179, 0.1);
    color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.25rem;
}

.info-card h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.info-card p {
    font-size: 0.85rem;
    color: var(--text-gray);
    margin: 0;
    line-height: 1.5;
}

.map-card {
    grid-column: span 2;
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 250px;
}

.contact-form-card {
    background: white;
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid #e5e7eb;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.w-100 {
    width: 100%;
    justify-content: center;
}

@media (max-width: 992px) {

    .admissions-wrapper,
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, 300px);
    }
}

@media (max-width: 576px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .gallery-item {
        height: 300px;
    }

    .contact-cards-grid,
    .form-row {
        grid-template-columns: 1fr;
    }

    .map-card {
        grid-column: span 1;
    }
}

/* --- FIX for Blank Page --- */
/* Ensure content is visible by default if JS fails */
.fade-in {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Only hide content if JS is running (added by script.js) */
body.js-active .fade-in {
    opacity: 0;
    transform: translateY(20px);
}

body.js-active .fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Application Wizard --- */
.wizard-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    border-top: 5px solid var(--primary-blue);
}

.progress-container {
    position: relative;
    margin-bottom: 3rem;
}

.progress-track {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 4px;
    background: #e9ecef;
    transform: translateY(-50%);
    z-index: 0;
}

.progress-bar {
    position: absolute;
    top: 50%;
    left: 0;
    width: 0%;
    height: 4px;
    background: var(--primary-blue);
    transform: translateY(-50%);
    z-index: 1;
    transition: width 0.4s ease;
}

.progress-steps {
    position: relative;
    display: flex;
    justify-content: space-between;
    list-style: none;
    padding: 0;
    margin: 0;
    z-index: 2;
}

.progress-steps li {
    width: 35px;
    height: 35px;
    background: #fff;
    border: 2px solid #e9ecef;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--text-gray);
    transition: all 0.3s ease;
}

.progress-steps li.active {
    border-color: var(--primary-blue);
    background: var(--primary-blue);
    color: white;
}

.form-step {
    display: none;
    animation: fadeIn 0.5s ease;
}

.form-step.active {
    display: block;
}

.form-step h3 {
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e9ecef;
}

.wizard-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.required {
    color: var(--accent-gold);
    margin-left: 2px;
}

/* Form Styles refined */
.form-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
    color: var(--text-dark);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.radio-group,
.checkbox-group {
    display: flex;
    gap: 1.5rem;
    padding: 0.5rem 0;
}

.radio-group label,
.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: normal;
    cursor: pointer;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-weight: normal;
    cursor: pointer;
}

.checkbox-label input {
    width: auto;
    margin-top: 4px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 576px) {
    .wizard-container {
        padding: 1.5rem;
    }

    .progress-steps li {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
}