/* VARIABLES */
:root {
    /* Colors */
    --color-turquoise: #00B6D6;
    --color-white: #F7FAFB;
    --color-coral: #FF6B5E;
    --color-indigo: #002F5F;
    --color-text: #14213D;
    
    /* Font sizes */
    --fs-xl: clamp(2.5rem, 5vw, 4rem);
    --fs-lg: clamp(2rem, 4vw, 3rem);
    --fs-md: clamp(1.5rem, 3vw, 2rem);
    --fs-sm: clamp(1rem, 2vw, 1.25rem);
    --fs-xs: clamp(0.875rem, 1.5vw, 1rem);
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    
    /* Other */
    --transition-speed: 400ms;
    --border-radius: 0.5rem;
    --container-width: 1200px;
}

/* RESET */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 5rem;
}

body {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-white);
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

/* UTILITIES */
.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
}

.section {
    padding: var(--space-xl) 0;
}

.section-title {
    font-size: var(--fs-lg);
    margin-bottom: var(--space-lg);
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 5rem;
    height: 0.25rem;
    background-color: var(--color-turquoise);
    border-radius: var(--border-radius);
}

.highlight {
    color: var(--color-turquoise);
    font-weight: 600;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
}

.btn-primary {
    background-color: var(--color-turquoise);
    color: var(--color-white);
    border: 2px solid var(--color-turquoise);
}

.btn-primary:hover, .btn-primary:focus {
    background-color: transparent;
    color: var(--color-turquoise);
    box-shadow: 0 4px 6px rgba(0, 182, 214, 0.2);
    transform: translateY(-2px);
}

/* HEADER & NAVIGATION */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: rgba(0, 47, 95, 0.9);
    backdrop-filter: blur(5px);
    transition: all var(--transition-speed) ease;
}

.header.scroll-header {
    height: 4rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

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

.nav-logo img {
    transition: all var(--transition-speed) ease;
}

.header.scroll-header .nav-logo img {
    transform: scale(0.85);
}

.nav-list {
    display: flex;
    column-gap: 2rem;
}

.nav-link {
    color: var(--color-white);
    font-weight: 600;
    transition: color var(--transition-speed) ease;
}

.nav-link:hover {
    color: var(--color-turquoise);
}

.nav-toggle, .nav-close {
    display: none;
    color: var(--color-white);
    cursor: pointer;
}

/* HERO SECTION */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

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

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 47, 95, 0.7), rgba(0, 47, 95, 0.3));
}

.hero-container {
    text-align: center;
    color: var(--color-white);
    padding-top: 5rem;
}

.hero-title {
    font-size: var(--fs-xl);
    margin-bottom: var(--space-md);
}

.hero-subtitle {
    font-size: var(--fs-md);
    margin-bottom: var(--space-lg);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* ABOUT SECTION */
.about-text {
    text-align: center;
    font-size: var(--fs-sm);
    max-width: 800px;
    margin: 0 auto var(--space-lg);
}

.about-img-container {
    max-width: 800px;
    margin: 0 auto;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* PROGRAMS SECTION */
.programs-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-md);
}

.program-card {
    background-color: var(--color-white);
    padding: var(--space-md);
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.program-icon {
    color: var(--color-turquoise);
    margin-bottom: var(--space-sm);
}

.program-title {
    font-size: var(--fs-sm);
    margin-bottom: var(--space-xs);
}

.program-description {
    color: var(--color-text);
    opacity: 0.8;
}

/* STATS SECTION */
.stats {
    background-color: var(--color-indigo);
    color: var(--color-white);
}

.stats .section-title::after {
    background-color: var(--color-coral);
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-md);
    text-align: center;
}

.stat-number {
    font-size: var(--fs-lg);
    font-weight: 700;
    color: var(--color-coral);
    margin-bottom: var(--space-xs);
}

.stat-text {
    font-size: var(--fs-xs);
}

/* TESTIMONIAL SECTION */
.testimonial-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.testimonial-quote {
    color: var(--color-turquoise);
    opacity: 0.3;
    margin-bottom: var(--space-sm);
}

.testimonial-text {
    font-size: var(--fs-md);
    font-style: italic;
    margin-bottom: var(--space-sm);
}

.testimonial-author {
    color: var(--color-text);
    opacity: 0.8;
}

/* CTA SECTION */
.cta {
    background-color: var(--color-turquoise);
    color: var(--color-white);
    text-align: center;
    padding: var(--space-lg) 0;
}

.cta-title {
    font-size: var(--fs-md);
    margin-bottom: var(--space-md);
}

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

.cta .btn-primary:hover, .cta .btn-primary:focus {
    background-color: transparent;
    color: var(--color-white);
}

/* LOCATION SECTION */
.location-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: center;
}

.location-address {
    margin-bottom: var(--space-md);
}

.location-contact {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.location-contact p {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.location-map {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* FOOTER */
.footer {
    background-color: var(--color-indigo);
    color: var(--color-white);
    padding: var(--space-lg) 0 var(--space-md);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-md);
    flex-wrap: wrap;
    gap: var(--space-md);
}

.footer-links {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.footer-link {
    opacity: 0.8;
    transition: opacity var(--transition-speed) ease;
}

.footer-link:hover {
    opacity: 1;
}

.footer-copyright {
    text-align: center;
    opacity: 0.6;
    font-size: var(--fs-xs);
}

/* ANIMATIONS */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 1s ease forwards;
}

/* MEDIA QUERIES */
@media screen and (max-width: 1024px) {
    .location-container {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100%;
        background-color: var(--color-indigo);
        padding: 4rem 0 0 3rem;
        transition: right var(--transition-speed) ease;
        z-index: 100;
    }
    
    .nav-menu.show-menu {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        row-gap: 2rem;
    }
    
    .nav-toggle, .nav-close {
        display: block;
    }
    
    .nav-close {
        position: absolute;
        top: 1rem;
        right: 1rem;
    }
    
    .programs-container {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

@media screen and (max-width: 480px) {
    .hero {
        height: 90vh;
    }
    
    .stats-container {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: var(--space-sm);
    }
}
