/* CSS for Upper Hill Junior School Website */

:root {
    --primary-color: #006400;
    /* Deep Green */
    --primary-light: #008000;
    --primary-dark: #004d00;
    --secondary-color: #808080;
    /* Gray */
    --dark-green-overlay: rgba(0, 50, 0, 0.88);
    --accent-color: #ffd700;
    /* Gold for excellence */
    --text-color: #2c3e50;
    --text-muted: #7f8c8d;
    --light-bg: #fdfdfd;
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.9);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.12);
    --transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

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

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

h1,
h2,
h3,
h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--primary-dark);
}

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

/* Typography */
h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.text-center {
    text-align: center;
}

.section-title {
    margin-top: 80px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--secondary-color);
}

/* Header */
.main-header {
    background: var(--white);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.logo-placeholder {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: 2px;
}

.nav-links a {
    text-decoration: none;
    color: var(--secondary-color);
    margin: 0 15px;
    font-weight: 700;
    transition: var(--transition);
}

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

/* Mobile Toggle - Ensure Visibility */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1100;
}

.mobile-toggle span {
    width: 100%;
    height: 3px;
    background: var(--primary-color);
    border-radius: 10px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    color: var(--white);
    padding-top: 80px;
    overflow: hidden;
    background: var(--charcoal);
}

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

.hero-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;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 50, 0, 0.4);
    z-index: 2;
}

.hero .container {
    position: relative;
    z-index: 3;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero h1 {
    color: var(--white);
}

/* About Us Teaser */
.about-teaser {
    position: relative;
    padding: 150px 0;
    overflow: hidden;
    color: var(--white);
    text-align: center;
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    /* Extra height for parallax effect */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: -2;
}

.parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark-green-overlay);
    z-index: -1;
}

.about-teaser-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--white);
}

.about-teaser-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.feature-small {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}

.feature-small .dot {
    width: 8px;
    height: 8px;
    background: var(--accent-gold);
    border-radius: 50%;
}

.feature-small p {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
}

/* General Layout Utilities */
.grid {
    display: grid;
    gap: 30px;
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.bg-light {
    background: var(--light-bg);
}

/* Academic Section Upgraded UI */
#academics {
    position: relative;
    padding: 120px 0;
    background: linear-gradient(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.95)), url('../assets/images/school-building-bg.png');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
}

.academics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.interactive-card {
    background: var(--glass-bg);
    border-radius: 24px;
    padding: 60px 40px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(0, 100, 0, 0.1);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    z-index: 1;
}

.interactive-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: var(--transition);
    transform-origin: right;
}

.interactive-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
    background: var(--white);
}

.interactive-card:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.card-icon {
    font-size: 4rem;
    margin-bottom: 25px;
    display: inline-block;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.interactive-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

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

.card-link {
    display: inline-flex;
    align-items: center;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.card-link::after {
    content: '→';
    margin-left: 8px;
    transition: var(--transition);
}

.interactive-card:hover .card-link {
    color: var(--primary-light);
}

.interactive-card:hover .card-link::after {
    transform: translateX(5px);
}

/* Admissions Section */
.admissions-section {
    padding: 100px 0;
}

.admissions-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.step {
    text-align: center;
    max-width: 150px;
}

.step-num {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 15px;
}

.step p {
    font-weight: 600;
}

.step-arrow {
    font-size: 2rem;
    color: var(--secondary-color);
}

.mt-40 {
    margin-top: 40px;
}

.w-100 {
    width: 100%;
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.info-item .icon {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.map-placeholder {
    width: 100%;
    height: 250px;
    background: #e0e0e0;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    border: 1px dashed var(--secondary-color);
}

.contact-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
}

.form-group textarea {
    height: 120px;
}

.mt-30 {
    margin-top: 30px;
}

/* Activities */
.activities {
    padding: 80px 0;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.activity-item {
    position: relative;
    overflow: hidden;
    height: 350px;
    border-radius: 10px;
    background: var(--secondary-color);
}

.activity-img {
    width: 100%;
    height: 100%;
}

.activity-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.activity-item:hover .activity-img img {
    transform: scale(1.1);
}

.activity-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: rgba(0, 100, 0, 0.9);
    /* Primary color overlay darker */
    color: var(--white);
    transform: translateY(100%);
    transition: var(--transition);
}

.activity-item:hover .activity-info {
    transform: translateY(0);
}

/* Modern Tables */
.table-responsive {
    overflow-x: auto;
    margin: 30px 0;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.modern-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    min-width: 600px;
}

.modern-table th {
    background: var(--primary-color);
    color: var(--white);
    padding: 15px 20px;
    text-align: left;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.modern-table td {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    font-size: 0.95rem;
}

.modern-table tr:last-child td {
    border-bottom: none;
}

.modern-table tr:nth-child(even) {
    background: #f9f9f9;
}

.modern-table tr:hover {
    background: #f0f7f0;
}

.table-badge {
    padding: 4px 10px;
    background: var(--primary-light);
    color: var(--white);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

/* Paybill Card */
.payment-card {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    padding: 30px;
    border-radius: 15px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    box-shadow: var(--shadow-lg);
    margin: 20px 0;
}

.paybill-num {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 2px;
    margin: 10px 0;
}

/* Uniform List */
.uniform-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    list-style: none;
    margin-top: 20px;
}

.uniform-list li {
    padding: 10px 15px;
    background: var(--white);
    border-left: 3px solid var(--primary-color);
    box-shadow: var(--shadow-sm);
    border-radius: 0 8px 8px 0;
    font-size: 0.9rem;
}

/* Co-curricular Section Enhancement */
.co-curricular-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.co-activity-card {
    background: var(--white);
    padding: 30px 20px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0, 77, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.co-activity-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.co-activity-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-light);
}

.co-activity-card:hover::after {
    transform: scaleX(1);
}

.co-icon {
    font-size: 2rem;
    margin-bottom: 10px;
    display: block;
}

/* Section Transitions */
.angled-section {
    position: relative;
    padding: 100px 0;
    background: var(--white);
}

.angled-section::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background: inherit;
    transform: skewY(-2deg);
    z-index: -1;
}

/* Why Choose Us */
.why-choose-us {
    padding: 100px 0;
}

.selling-point {
    text-align: center;
    padding: 40px 20px;
    background: var(--white);
    border-radius: 10px;
    transition: var(--transition);
}

.selling-point:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.point-icon {
    width: 70px;
    height: 70px;
    background: #f0f7f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--primary-color);
}

/* Animations Refinement */
[data-aos] {
    pointer-events: none;
}

.aos-animate {
    pointer-events: auto;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* Footer */
.main-footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about h3,
.footer-contact h3,
.footer-links h3 {
    color: var(--white);
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    font-size: 0.9rem;
    color: #aaa;
}

/* Mobile Navigation */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.mobile-toggle span {
    width: 100%;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 10px;
}

/* About Page Specifics */
.hero-small {
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding-top: 80px;
}

.hero-small h1 {
    font-size: 3.5rem;
    margin-bottom: 10px;
}

.director-section {
    padding: 100px 0;
}

.director-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: center;
}

.director-img img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.quote-style {
    background: #f0f7f0;
    padding: 30px;
    border-left: 5px solid var(--primary-color);
    margin: 30px 0;
    position: relative;
    border-radius: 0 10px 10px 0;
}

.quote-style p {
    font-style: italic;
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.director-name {
    font-weight: 700;
    color: var(--secondary-color);
}

.mission-vision {
    padding: 100px 0;
}

.mv-item {
    background: var(--white);
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.07);
    transition: all 0.4s ease;
    border-top: 5px solid var(--primary-color);
    height: 100%;
    text-align: center;
}

.mv-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 55px rgba(0, 0, 0, 0.12);
}

.mv-icon {
    font-size: 3rem;
    margin-bottom: 25px;
    display: inline-block;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.1));
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        text-align: center;
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        display: block;
        margin: 10px 0;
    }

    .header-cta {
        display: none;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .director-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-small h1 {
        font-size: 2.5rem;
    }

    .step-arrow {
        transform: rotate(90deg);
    }
}

/* Phase 3 Utilities & Component Polishes (Global) */
.mb-40 {
    margin-bottom: 40px;
}

.mb-60 {
    margin-bottom: 60px;
}

.mt-60 {
    margin-top: 60px;
}

.py-100 {
    padding: 100px 0;
}

.motto-tag {
    display: inline-block;
    padding: 8px 20px;
    background: var(--accent-color);
    color: var(--primary-dark);
    font-weight: 800;
    border-radius: 50px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.motto-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-style: italic;
    color: var(--accent-color) !important;
}

.transport-list li strong {
    color: var(--primary-color);
    float: right;
}

.payment-card h3 {
    color: var(--white) !important;
    margin-bottom: 5px;
}

.payment-card p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Form Polish */
.enquiry-form input:focus,
.enquiry-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 100, 0, 0.1);
}

/* Animations Expansion */
[data-aos="zoom-in-up"] {
    transform: translateY(50px) scale(0.9);
    opacity: 0;
    transition-property: transform, opacity;
}

[data-aos="zoom-in-up"].aos-animate {
    transform: translateY(0) scale(1);
    opacity: 1;
}

/* Standards Section */
.standards-section {
    background: #f8f9fa;
}

.standard-item {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    text-align: center;
    border-bottom: 4px solid transparent;
}

.standard-item:hover {
    transform: translateY(-10px);
    border-bottom: 4px solid var(--primary-color);
}

.point-icon {
    font-size: 40px;
    margin-bottom: 20px;
}

.standard-item h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Premium Activity Cards (Image Ready) */
.activity-card-premium {
    position: relative;
    height: 350px;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

.activity-card-premium .activity-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
    background-color: #004d00;
    /* Dark green placeholder */
}

.activity-card-premium:hover .activity-img {
    transform: scale(1.1);
}

.activity-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(0, 50, 0, 0.95), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
    color: white;
    transition: height 0.3s ease;
}

.activity-card-premium:hover .activity-overlay {
    height: 80%;
    background: linear-gradient(to top, rgba(0, 50, 0, 0.98), rgba(0, 50, 0, 0.4));
}

.activity-overlay h4 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
    color: var(--accent-gold);
}

.activity-overlay p {
    font-size: 0.9rem;
    opacity: 0.8;
    line-height: 1.4;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
}

.activity-card-premium:hover .activity-overlay p {
    max-height: 100px;
    margin-top: 5px;
}

.activity-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--accent-gold);
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.75rem;
    z-index: 2;
    text-transform: uppercase;
}

[data-aos="zoom-in-up"].aos-animate {
    transform: translateY(0) scale(1);
    opacity: 1;
}

/* Map Styling */
.map-container {
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 100, 0, 0.1);
}

.map-container iframe {
    display: block;
}

/* Values Icon Styling */
.v-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 15px;
}

.co-activity-card:hover .v-icon {
    transform: scale(1.2);
    transition: var(--transition);
}

/* Philosophy Section Styles */
.philosophy-section {
    background: var(--white);
}

.philosophy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.philosophy-content h3 {
    color: var(--primary-green);
    margin-bottom: 20px;
}

.philosophy-img img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

@media (max-width: 768px) {
    .philosophy-grid {
        grid-template-columns: 1fr;
    }

    .about-teaser-content h2 {
        font-size: 2rem;
    }
}

/* Boarding Badges */
.boarding-badge {
    position: absolute;
    top: 20px;
    right: -35px;
    background: var(--primary-green);
    color: var(--white);
    padding: 8px 45px;
    font-size: 0.75rem;
    font-weight: 700;
    transform: rotate(45deg);
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.badge-gold {
    background: var(--accent-gold);
    color: var(--primary-green);
}

/* Curriculum Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: none;
    /* Controlled by JS */
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 50, 0, 0.85);
    backdrop-filter: blur(8px);
}

.modal-container {
    position: relative;
    background: var(--white);
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    border-radius: 30px;
    overflow-y: auto;
    padding: 60px 40px;
    box-shadow: var(--shadow-xl);
    animation: modalScaleUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 2001;
}

@keyframes modalScaleUp {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.close-modal {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 2.5rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--primary-green);
    transform: rotate(90deg);
}

.modal-header {
    text-align: center;
    margin-bottom: 50px;
}

.modal-header h2 {
    color: var(--primary-green);
    margin-bottom: 10px;
    font-size: 2.5rem;
}

.subjects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 25px;
}

.subject-pill {
    background: #f8fcf8;
    border: 1px solid rgba(0, 100, 0, 0.1);
    border-radius: 15px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: var(--transition);
}

.subject-pill:hover {
    background: var(--white);
    border-color: var(--primary-green);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.subject-icon {
    font-size: 1.8rem;
}

.subject-name {
    font-weight: 600;
    color: var(--dark-charcoal);
}

.modal-footer {
    margin-top: 50px;
    text-align: center;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

@media (max-width: 600px) {
    .modal-container {
        padding: 40px 20px;
    }

    .modal-header h2 {
        font-size: 1.8rem;
    }

    .subjects-grid {
        grid-template-columns: 1fr;
    }
}

/* Boarding Highlight Box */
.boarding-highlight {
    background: linear-gradient(135deg, rgba(0, 100, 0, 0.05) 0%, rgba(212, 175, 55, 0.05) 100%);
    border: 2px dashed var(--accent-gold);
    border-radius: 20px;
    padding: 30px;
    position: relative;
    overflow: hidden;
}

.highlight-flex {
    display: flex;
    align-items: center;
    gap: 25px;
}

.highlight-icon {
    font-size: 3rem;
    background: var(--white);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
}

.highlight-text h4 {
    color: var(--primary-green);
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.highlight-text p {
    margin: 0;
    color: var(--text-muted);
}

.highlight-price {
    margin-left: auto;
    background: var(--primary-green);
    color: var(--white);
    padding: 15px 25px;
    border-radius: 15px;
    text-align: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.highlight-price small {
    display: block;
    font-size: 0.7rem;
    font-weight: 400;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .highlight-flex {
        flex-direction: column;
        text-align: center;
    }

    .highlight-price {
        margin-left: 0;
        width: 100%;
    }
}

/* Boarding Section Styling */
.boarding-section {
    background: #fbfdfb;
}

.boarding-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.boarding-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.b-feature {
    display: flex;
    align-items: center;
    gap: 15px;
}

.boarding-visual {
    position: relative;
}

.boarding-img-wrapper {
    position: relative;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.boarding-img-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.boarding-img-wrapper:hover img {
    transform: scale(1.05);
}

.boarding-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(transparent, rgba(0, 50, 0, 0.9));
    color: var(--white);
    text-align: center;
}

.boarding-overlay p {
    font-weight: 600;
    font-size: 1.1rem;
    margin: 0;
}

@media (max-width: 968px) {
    .boarding-grid {
        grid-template-columns: 1fr;
    }

    .boarding-visual {
        order: -1;
    }
}

/* Boarding Teaser */
.boarding-teaser {
    position: relative;
    padding: 120px 0;
    color: var(--white);
    text-align: center;
    overflow: hidden;
}

.boarding-teaser .parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -2;
}

.boarding-teaser .parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 50, 0, 0.9) 0%, rgba(212, 175, 55, 0.7) 100%);
    z-index: -1;
}

.boarding-teaser-content {
    max-width: 800px;
    margin: 0 auto;
}

.boarding-teaser-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.boarding-teaser-content p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .boarding-teaser-content h2 {
        font-size: 2.2rem;
    }
}