:root {
    /* Exact colors from user palette */
    --color-cyan: #09B1AB;
    --color-cream: #EDE0D4;
    --color-pink: #F7E9F6;
    --color-brown-light: #7D7671;
    --color-dark-green: #00504D;
    --color-brown-dark: #362F27;

    /* Theme Assignment */
    --primary-color: var(--color-dark-green);
    --primary-hover: var(--color-cyan);
    --accent-color: var(--color-cyan);
    --text-main: var(--color-brown-dark);
    --text-muted: var(--color-brown-light);

    /* Backgrounds */
    --bg-cream: var(--color-cream);
    --bg-pink: var(--color-pink);
    --bg-white: #ffffff;
    --bg-dark: var(--color-dark-green);
    --bg-footer: var(--color-brown-light);

    /* Typography */
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Be Vietnam Pro', sans-serif;

    /* Spacing & Utilities */
    --border-radius: 20px;
    --container-width: 1200px;
    --section-pad: 80px;
    --transition: 0.3s ease-in-out;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: auto;
    /* Handled by JS */
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--bg-cream);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Typography Utilities */
.section-title {
    font-size: 2.5rem;
    text-align: left;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

/* Layout Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-spacing {
    padding: var(--section-pad) 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 80, 77, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(9, 177, 171, 0.4);
}

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

.btn-secondary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

/* Navbar */
.navbar {
    background-color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 15px 0;
}

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

.logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary-color);
}

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

.nav-links a {
    font-weight: 500;
    font-size: 1rem;
    color: var(--primary-color);
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

/* Hero Section */
.hero {
    background-color: var(--bg-cream);
    padding-top: 60px;
    padding-bottom: 60px;
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 90%;
}

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

.hero-image img {
    width: 100%;
}

/* About Section (bg pink) */
.about {
    background-color: var(--bg-pink);
}

.about-top-text {
    margin-bottom: 3rem;
    max-width: 800px;
}

.about-top-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.about-teachers-card {
    background: var(--bg-white);
    background-image: url('../images/background_teachers.png');
    background-size: cover;
    background-position: center;
    border-radius: 30px;
    overflow: hidden;
    display: flex;
    align-items: center;
    box-shadow: var(--shadow);
    padding: 20px;
}

.about-teachers-img {
    flex: 1;
}

.about-teachers-img img {
    width: 80%;
    object-fit: cover;
}

.about-teachers-text {
    flex: 1;
    padding: 3rem;
}

.about-teachers-text p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Schedule Section */
.schedule {
    background-color: var(--bg-white);
}

.schedule-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-flow: column;
    grid-template-rows: repeat(5, auto);
    gap: 20px 40px;
}

.schedule-item {
    padding: 15px 20px 15px 30px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: var(--transition);
    border: 1px solid var(--color-cream);
}

.schedule-item.bg-pink {
    background-color: var(--bg-pink);
}

.schedule-item.bg-cream {
    background-color: var(--bg-cream);
}

.schedule-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.schedule-time {
    font-weight: 600;
    color: var(--primary-color);
    min-width: 110px;
}

.schedule-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background-color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px;
}

.schedule-icon img {
    max-width: 100%;
    max-height: 100%;
}

.schedule-task {
    font-weight: 500;
    font-size: 0.95rem;
}

/* Gallery Section */
.gallery {
    background-color: var(--bg-cream);
}

.gallery-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
}

.gallery-container {
    overflow: hidden;
    border-radius: 20px;
    width: 100%;
    background-color: transparent;
}

.gallery-track {
    display: flex;
    gap: 20px;
    transition: transform 0.4s ease-in-out;
}

.gallery-slide {
    min-width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 15px;
    cursor: pointer;
}

.gallery-btn {
    background-color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: var(--primary-color);
    transition: var(--transition);
    z-index: 10;
}

.gallery-btn:hover {
    background-color: var(--accent-color);
    color: white;
    transform: scale(1.05);
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    animation: zoom 0.3s ease-in-out;
}

@keyframes zoom {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: var(--accent-color);
    text-decoration: none;
    cursor: pointer;
}

/* Resources Section */
.resources {
    background-color: var(--bg-pink);
}

.resources .section-title {
    display: block;
    margin-bottom: 0.5rem;
}

.policy-link {
    display: block;
    color: var(--accent-color);
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    margin-bottom: 3rem;
}

.resources-layout {
    display: flex;
    gap: 50px;
    align-items: center;
}

.resources-img {
    flex: 1;
}

.resources-img img {
    border-radius: 30px;
    box-shadow: var(--shadow);
}

.resources-text {
    flex: 1.2;
}

.resources-text p {
    margin-bottom: 1.5rem;
}

.resources-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 2rem;
}

/* Field Trip */
.field-trip {
    background-color: var(--bg-dark);
    color: var(--bg-cream);
}

.field-trip .section-title {
    color: var(--bg-cream);
}

.field-trip-container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.field-trip-text {
    flex: 1;
    font-size: 1.2rem;
    line-height: 1.8;
}

.field-trip-img {
    flex: 1;
}

.field-trip-img img {
    width: 100%;
}

/* Contact */
.contact {
    background-color: var(--bg-cream);
}

.contact-subtitle {
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

.contact-grid {
    display: flex;
    gap: 40px;
    background: var(--bg-white);
    border-radius: 30px;
    padding: 30px;
    box-shadow: var(--shadow);
}

.contact-info {
    flex: 1;
    padding: 20px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.contact-details strong {
    font-family: var(--font-heading);
    color: var(--primary-color);
    display: block;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 2rem;
}

.social-links a {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.social-links a:hover {
    transform: translateY(-3px);
}

.contact-map {
    flex: 1.5;
    border-radius: 20px;
    overflow: hidden;
    min-height: 400px;
}

/* Footer */
.footer {
    background-color: var(--bg-footer);
    padding: 40px 0;
    text-align: center;
    color: var(--bg-cream);
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--bg-cream);
    margin-bottom: 10px;
}

.footer-copyright {
    color: var(--bg-cream);
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-copyright a {
    color: white;
}

/* Responsive Design */
@media (max-width: 992px) {

    .hero-container,
    .about-teachers-card,
    .resources-layout,
    .field-trip-container,
    .contact-grid {
        flex-direction: column;
    }

    .about-teachers-img {
        display: flex;
        justify-content: center;
        width: 100%;
    }

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

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

    .hero-content p {
        margin: 0 auto 2rem;
    }

    .gallery-slide {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-cream);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
        gap: 15px;
    }

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

    .mobile-menu-btn {
        display: flex;
    }

    .nav-cta {
        display: none;
    }

    .section-spacing {
        padding: 50px 0;
    }

    .schedule-grid {
        grid-template-columns: 1fr;
        grid-auto-flow: row;
    }

    .schedule-item {
        padding: 15px;
    }

    .schedule-icon {
        display: none;
    }

    .contact-grid {
        padding: 20px;
    }

    .contact-map {
        min-height: 300px;
    }
}