/* ===== CSS Variables - Child-Friendly Colors ===== */
:root {
    --primary-color: #FF6B9D;
    --primary-dark: #E5558A;
    --primary-light: #FF8FB3;
    --secondary-color: #FFC93C;
    --secondary-dark: #FFB800;
    --accent-color: #4ECDC4;
    --accent-dark: #3BA99F;
    --purple: #A8E6CF;
    --orange: #FF8B94;
    --text-dark: #2D3436;
    --text-light: #636E72;
    --bg-light: #FFF9F5;
    --bg-white: #FFFFFF;
    --bg-gradient: linear-gradient(135deg, #FF6B9D 0%, #FFC93C 50%, #4ECDC4 100%);
    --border-color: #FFE5E5;
    --shadow: 0 4px 20px rgba(255, 107, 157, 0.15);
    --shadow-lg: 0 8px 30px rgba(255, 107, 157, 0.25);
    --shadow-playful: 0 6px 25px rgba(255, 201, 60, 0.3);
    
    --font-primary: 'Fredoka', sans-serif;
    --font-secondary: 'Nunito', sans-serif;
    
    --header-height: 80px;
    --header-height-mobile: 70px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Mobile-first touch targets */
    --touch-target-min: 44px;
    --spacing-mobile: 20px;
    --spacing-mobile-small: 15px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Mobile-first base font size */
@media screen and (min-width: 768px) {
    body {
        font-size: 18px;
    }
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-dark);
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

/* Optimize image loading for mobile */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

ul {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* ===== Container ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-mobile);
}

@media screen and (min-width: 768px) {
    .container {
        padding: 0 25px;
    }
}

.section {
    padding: 60px 0;
    position: relative;
}

@media screen and (min-width: 768px) {
    .section {
        padding: 100px 0;
    }
}

.section__header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

@media screen and (min-width: 768px) {
    .section__header {
        margin-bottom: 70px;
    }
}

.section__title {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--text-dark);
    position: relative;
    display: inline-block;
}

@media screen and (min-width: 768px) {
    .section__title {
        font-size: 3rem;
        margin-bottom: 20px;
    }
}

.section__title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 6px;
    background: var(--bg-gradient);
    border-radius: 10px;
}

.section__subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 30px auto 0;
    font-weight: 600;
}

.grid {
    display: grid;
    gap: 40px;
}

/* ===== Header & Navigation ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 249, 245, 0.98) 100%);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(255, 107, 157, 0.1);
    z-index: 1000;
    transition: var(--transition);
}

.nav {
    height: var(--header-height-mobile);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media screen and (min-width: 768px) {
    .nav {
        height: var(--header-height);
    }
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 15px;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.logo-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border: 2px solid var(--secondary-color);
}

@media screen and (min-width: 768px) {
    .logo-img {
        width: 60px;
        height: 60px;
        border-radius: 15px;
        border-width: 3px;
    }
}

.logo-text {
    display: none;
    background: var(--bg-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav__menu {
    display: flex;
    align-items: center;
}

.nav__list {
    display: flex;
    gap: 35px;
    align-items: center;
}

.nav__link {
    font-weight: 600;
    color: var(--text-dark);
    position: relative;
    padding: 8px 0;
    transition: var(--transition);
    font-size: 1.05rem;
}

.nav__link:hover,
.nav__link.active-link {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.nav__link.active-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--bg-gradient);
    border-radius: 10px;
}

.nav__toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: var(--touch-target-min);
    height: var(--touch-target-min);
    padding: 8px;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 1001;
    transition: var(--transition);
}

.nav__toggle .hamburger {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    transition: var(--transition);
    display: block;
}

.nav__toggle.active .hamburger:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.nav__toggle.active .hamburger:nth-child(2) {
    opacity: 0;
}

.nav__toggle.active .hamburger:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: var(--touch-target-min);
    height: var(--touch-target-min);
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-dark);
    transition: var(--transition);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
}

@media screen and (min-width: 769px) {
    .nav__toggle,
    .nav__close {
        display: none;
    }
}

.nav__toggle:hover,
.nav__close:hover {
    color: var(--primary-color);
    transform: scale(1.1);
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #FFE5F1 0%, #FFF4E6 50%, #E0F7F4 100%);
    background-image: url('https://images.unsplash.com/photo-1503454537195-1dcabb73ffb9?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=90');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    overflow: hidden;
}

.hero__decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.cloud {
    position: absolute;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50px;
    animation: float 6s ease-in-out infinite;
}

.cloud::before,
.cloud::after {
    content: '';
    position: absolute;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50px;
}

.cloud-1 {
    width: 100px;
    height: 40px;
    top: 15%;
    left: 10%;
    animation-delay: 0s;
}

.cloud-1::before {
    width: 50px;
    height: 50px;
    top: -25px;
    left: 10px;
}

.cloud-1::after {
    width: 60px;
    height: 60px;
    top: -35px;
    right: 10px;
}

.cloud-2 {
    width: 120px;
    height: 50px;
    top: 25%;
    right: 15%;
    animation-delay: 2s;
}

.cloud-2::before {
    width: 60px;
    height: 60px;
    top: -30px;
    left: 15px;
}

.cloud-2::after {
    width: 70px;
    height: 70px;
    top: -40px;
    right: 15px;
}

.cloud-3 {
    width: 80px;
    height: 35px;
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

.cloud-3::before {
    width: 40px;
    height: 40px;
    top: -20px;
    left: 10px;
}

.cloud-3::after {
    width: 50px;
    height: 50px;
    top: -25px;
    right: 10px;
}

.star {
    position: absolute;
    font-size: 2rem;
    animation: twinkle 2s ease-in-out infinite;
}

.star-1 {
    top: 20%;
    right: 20%;
    animation-delay: 0s;
}

.star-2 {
    top: 60%;
    left: 15%;
    animation-delay: 1s;
}

.star-3 {
    bottom: 25%;
    right: 30%;
    animation-delay: 0.5s;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.4) 0%, rgba(255, 201, 60, 0.35) 50%, rgba(78, 205, 196, 0.35) 100%);
    z-index: 2;
}

.hero__container {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--bg-white);
    padding: 60px var(--spacing-mobile) 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - var(--header-height-mobile));
    min-height: calc(100dvh - var(--header-height-mobile));
}

@media screen and (min-width: 768px) {
    .hero__container {
        padding: 70px 20px 30px;
        min-height: calc(100vh - var(--header-height));
    }
}

.hero__content {
    max-width: 900px;
    margin: 0 auto;
}

.hero__badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.9) 0%, rgba(255, 201, 60, 0.9) 50%, rgba(78, 205, 196, 0.9) 100%);
    backdrop-filter: blur(10px);
    color: var(--bg-white);
    padding: 8px 24px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 20px;
    margin-bottom: 20px;
    border: 2px solid rgba(255, 255, 255, 0.9);
    letter-spacing: 1px;
    text-transform: uppercase;
    animation: fadeInUp 0.8s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.hero__title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--bg-white);
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease 0.1s both;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

@media screen and (min-width: 768px) {
    .hero__title {
        font-size: 4.5rem;
        letter-spacing: -1px;
    }
}

.hero__tagline {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 1px 1px 8px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease 0.2s both;
    font-style: italic;
    letter-spacing: 0.3px;
}

@media screen and (min-width: 768px) {
    .hero__tagline {
        font-size: 1.8rem;
        letter-spacing: 0.5px;
    }
}


.hero__description {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease 0.3s both;
    font-weight: 400;
    line-height: 1.7;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero__cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.hero__trust {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    padding-top: 20px;
    border-top: 2px solid rgba(255, 255, 255, 0.4);
    animation: fadeInUp 0.8s ease 0.8s both;
}

.trust-item {
    text-align: center;
    backdrop-filter: blur(15px);
    padding: 20px 25px;
    border-radius: 20px;
    border: 3px solid rgba(255, 255, 255, 0.9);
    transition: var(--transition);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), 0 4px 16px rgba(0, 0, 0, 0.15);
}

.trust-item:nth-child(1) {
    background: rgba(255, 107, 157, 0.85);
}

.trust-item:nth-child(2) {
    background: rgba(255, 201, 60, 0.85);
}

.trust-item:nth-child(3) {
    background: rgba(78, 205, 196, 0.85);
}

.trust-item:hover {
    transform: translateY(-5px) scale(1.05);
    border-color: rgba(255, 255, 255, 1);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25), 0 6px 20px rgba(0, 0, 0, 0.2);
}

.trust-item:nth-child(1):hover {
    background: rgba(255, 107, 157, 0.95);
}

.trust-item:nth-child(2):hover {
    background: rgba(255, 201, 60, 0.95);
}

.trust-item:nth-child(3):hover {
    background: rgba(78, 205, 196, 0.95);
}

.trust-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 8px;
    animation: pulse 2s ease-in-out infinite;
}

.trust-number {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--bg-white);
    font-family: var(--font-primary);
}

.trust-label {
    display: block;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
}


/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    min-height: var(--touch-target-min);
    font-size: 1rem;
    font-weight: 700;
    border-radius: 50px;
    transition: var(--transition);
    text-align: center;
    cursor: pointer;
    border: 3px solid transparent;
    font-family: var(--font-primary);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    touch-action: manipulation; /* Better touch response */
    -webkit-tap-highlight-color: transparent;
}

@media screen and (min-width: 768px) {
    .btn {
        padding: 15px 35px;
    }
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn--primary {
    background: var(--bg-white);
    color: var(--primary-color);
    border-color: var(--bg-white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.btn--primary:hover {
    background: var(--secondary-color);
    color: var(--bg-white);
    transform: translateY(-5px) scale(1.05);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary-color);
}

.btn--featured {
    background: linear-gradient(135deg, #FF6B9D 0%, #FFC93C 100%);
    color: var(--bg-white);
    border: 3px solid var(--bg-white);
    padding: 20px 45px;
    font-size: 1.2rem;
    box-shadow: 0 6px 30px rgba(255, 107, 157, 0.5), 0 0 0 0 rgba(255, 107, 157, 0.7);
    animation: pulse-glow 2s ease-in-out infinite;
    position: relative;
    overflow: visible;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    z-index: 1;
}

.btn--featured::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(135deg, #FF6B9D 0%, #FFC93C 100%);
    border-radius: 50px;
    z-index: -1;
    opacity: 0.5;
    filter: blur(15px);
    animation: pulse-glow 2s ease-in-out infinite;
}

.btn--featured:hover {
    background: linear-gradient(135deg, #FFC93C 0%, #FF6B9D 100%);
    transform: translateY(-8px) scale(1.08);
    box-shadow: 0 8px 40px rgba(255, 107, 157, 0.6), 0 0 0 0 rgba(255, 107, 157, 0.9);
    border-color: var(--bg-white);
}

.btn--featured:hover::before {
    opacity: 0.7;
    filter: blur(20px);
}

.btn-icon {
    font-size: 1.4rem;
    display: inline-block;
    animation: bounce 2s ease-in-out infinite;
}

.btn-text {
    font-weight: 700;
    letter-spacing: 0.5px;
}

.btn-arrow {
    font-size: 1.3rem;
    transition: transform 0.3s ease;
    display: inline-block;
}

.btn--featured:hover .btn-arrow {
    transform: translateX(5px);
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 6px 30px rgba(255, 107, 157, 0.5), 0 0 0 0 rgba(255, 107, 157, 0.7);
    }
    50% {
        box-shadow: 0 6px 30px rgba(255, 107, 157, 0.7), 0 0 0 10px rgba(255, 107, 157, 0);
    }
}

.btn--secondary {
    background-color: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    border-color: var(--bg-white);
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn--secondary:hover {
    background-color: var(--bg-white);
    transform: translateY(-5px) scale(1.05);
    box-shadow: var(--shadow-lg);
}

.btn--full {
    width: 100%;
}

/* ===== About Section ===== */
.about {
    background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg-white) 100%);
    padding: 40px 0 !important;
}

@media screen and (min-width: 768px) {
    .about {
        padding: 60px 0 !important;
    }
}

.about .section__header {
    margin-bottom: 30px !important;
}

@media screen and (min-width: 768px) {
    .about .section__header {
        margin-bottom: 40px !important;
    }
}

.about__container {
    grid-template-columns: 1.2fr 1fr;
    align-items: start;
    gap: 30px;
}

.about__video {
    display: flex;
    height: 100%;
}

.about__content {
    display: flex;
    flex-direction: column;
}

.about__title {
    font-size: 2rem;
    margin-bottom: 15px;
    background: var(--bg-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about__description {
    margin-bottom: 15px;
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1rem;
}

.about__features {
    margin-top: 25px;
}

.feature-item {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    align-items: flex-start;
    background: var(--bg-white);
    padding: 15px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-left: 4px solid var(--primary-color);
}

.feature-item:last-child {
    margin-bottom: 0;
}

.feature-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: var(--bg-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: var(--shadow);
}

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

.feature-text p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

.about__image,
.about__video {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 5px solid var(--secondary-color);
}

.about-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 25px;
}

.about__video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 145%; /* Portrait aspect ratio (taller than wide) */
    height: 0;
    border-radius: 25px;
    overflow: hidden;
    background: var(--bg-light);
}

.about__video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 25px;
}

@media screen and (min-width: 768px) {
    .about__container {
        align-items: stretch;
    }
    
    .about__video {
        display: flex;
        height: 100%;
    }
    
    .about__video-wrapper {
        height: 100%;
        padding-bottom: 0;
        aspect-ratio: 7 / 10; /* Portrait ratio - maintains portrait shape while matching height */
    }
    
    @supports not (aspect-ratio: 7 / 10) {
        .about__video-wrapper {
            padding-bottom: 142.86%; /* Fallback for browsers without aspect-ratio support */
            height: 0;
        }
    }
}

/* ===== Services Section ===== */
.services {
    background: var(--bg-white);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(180deg, var(--bg-light) 0%, transparent 100%);
}

.programs__container {
    position: relative;
    margin-top: 50px;
}

.programs__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 20px 0;
}

.program-image-wrapper {
    border-radius: 25px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    background: var(--bg-white);
    border: 3px solid transparent;
    position: relative;
    aspect-ratio: 3/4;
}

.program-image-wrapper:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-playful);
    border-color: var(--primary-color);
}

.program-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    transition: transform 0.3s ease;
    background: var(--bg-white);
    border-radius: 22px;
    min-height: 300px;
}

.program-image-wrapper:hover .program-image {
    transform: scale(1.05);
}

.gallery__slider,
.testimonials__slider {
    display: flex;
    overflow: hidden;
    scroll-behavior: smooth;
    gap: 30px;
    padding: 30px 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.gallery-item,
.testimonial-card {
    min-width: 100%;
    scroll-snap-align: start;
    flex-shrink: 0;
}

/* ===== Gallery Section ===== */
.gallery {
    background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-light) 100%);
}

.gallery__container {
    position: relative;
}

.gallery-item {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 5px solid var(--accent-color);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: scale(1.02);
    border-color: var(--primary-color);
}

.gallery-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: var(--transition);
    border-radius: 25px;
}

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

/* ===== Videos Section ===== */
.videos {
    background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-light) 100%);
}

.videos__container {
    position: relative;
}

.videos__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 20px 0;
}

.video-item {
    width: 100%;
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 177.78%; /* 16:9 aspect ratio */
    height: 0;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 5px solid var(--accent-color);
    transition: var(--transition);
    background: var(--bg-light);
}

.video-wrapper:hover {
    transform: translateY(-10px) scale(1.03);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-playful);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 25px;
}

/* ===== Testimonials Section ===== */
.testimonials {
    background: var(--bg-white);
}

.testimonials__container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.testimonial-card {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-white) 100%);
    border-radius: 30px;
    padding: 50px;
    box-shadow: var(--shadow-lg);
    max-width: 900px;
    margin: 0 auto;
    border: 3px solid var(--border-color);
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 8rem;
    color: var(--primary-color);
    opacity: 0.2;
    font-family: serif;
    line-height: 1;
}

.testimonial-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.testimonial-stars {
    color: var(--secondary-color);
    font-size: 2rem;
    margin-bottom: 25px;
    letter-spacing: 5px;
}

.testimonial-text {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 30px;
    font-weight: 500;
}

.testimonial-author h4 {
    color: var(--text-dark);
    margin-bottom: 8px;
    font-size: 1.3rem;
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 600;
}

/* ===== Slider Controls ===== */
.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    margin-top: 40px;
}

.slider-btn {
    width: 50px;
    height: 50px;
    min-width: var(--touch-target-min);
    min-height: var(--touch-target-min);
    border-radius: 50%;
    background: var(--bg-gradient);
    color: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    transition: var(--transition);
    box-shadow: var(--shadow);
    font-weight: 700;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

@media screen and (min-width: 768px) {
    .slider-btn {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
}

.slider-btn:hover {
    transform: scale(1.15);
    box-shadow: var(--shadow-lg);
}

.slider-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.slider-dots {
    display: flex;
    gap: 12px;
}

.slider-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: var(--border-color);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.slider-dot.active {
    background: var(--bg-gradient);
    transform: scale(1.3);
    border-color: var(--primary-color);
}

/* ===== Contact Section ===== */
.contact {
    background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg-white) 100%);
}

.contact__container {
    display: flex;
    flex-direction: column;
    gap: 50px;
    margin-bottom: 60px;
}

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

.contact__card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border: 3px solid transparent;
}

.contact__card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.contact__icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
}

.contact__title {
    font-size: 1.3rem;
    margin-bottom: 12px;
    background: var(--bg-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: var(--font-primary);
}

.contact__description {
    color: var(--text-light);
    margin-bottom: 10px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.contact__link {
    color: var(--primary-color);
    font-weight: 700;
    transition: var(--transition);
    font-size: 1.1rem;
}

.contact__link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
    transform: scale(1.05);
}

.contact__social {
    text-align: center;
    padding: 30px;
    background: var(--bg-white);
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.contact__social .contact__title {
    margin-bottom: 20px;
}

.social__links {
    display: flex;
    gap: 15px;
    justify-content: center;
}

@media screen and (min-width: 768px) {
    .contact__info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .contact__container {
        gap: 60px;
    }
    
    .contact__form-map-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media screen and (max-width: 767px) {
    .contact__info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact__form-map-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact__map {
        display: none;
    }
}

.social__link {
    padding: 15px 30px;
    background: var(--bg-gradient);
    color: var(--bg-white);
    border-radius: 50px;
    font-weight: 700;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.social__link:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: var(--shadow-lg);
}

.contact__form-map-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: start;
}

.contact__form-container {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 25px;
    box-shadow: var(--shadow-lg);
    border: 3px solid var(--border-color);
}

.form__group {
    margin-bottom: 25px;
}

.form__input {
    width: 100%;
    padding: 18px 20px;
    border: 3px solid var(--border-color);
    border-radius: 15px;
    font-family: inherit;
    font-size: 1.05rem;
    transition: var(--transition);
    background-color: var(--bg-light);
    color: var(--text-dark);
}

.form__input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(255, 107, 157, 0.1);
    background-color: var(--bg-white);
}

.form__textarea {
    resize: vertical;
    min-height: 150px;
    font-family: inherit;
}

.form__message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 15px;
    text-align: center;
    display: none;
    font-weight: 600;
}

.form__message.success {
    background: linear-gradient(135deg, #A8E6CF 0%, #4ECDC4 100%);
    color: #155724;
    border: 3px solid #4ECDC4;
    display: block;
}

.form__message.error {
    background: linear-gradient(135deg, #FF8B94 0%, #FF6B9D 100%);
    color: #721c24;
    border: 3px solid #FF6B9D;
    display: block;
}

.contact__map {
    display: none;
}

.contact__map iframe {
    width: 100%;
    height: 100%;
    min-height: 500px;
    border: none;
    display: block;
}


/* ===== Footer ===== */
.footer {
    background: linear-gradient(135deg, var(--text-dark) 0%, #1A1A1A 100%);
    color: var(--bg-white);
    padding: 80px 0 30px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--bg-gradient);
}

.footer__container {
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
    margin-bottom: 50px;
}

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

.footer-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 15px;
    border: 3px solid var(--secondary-color);
}

.footer__title {
    font-size: 1.4rem;
    margin-bottom: 25px;
    color: var(--bg-white);
    font-family: var(--font-primary);
}

.footer__description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.9;
    font-size: 1.05rem;
}

.footer__links li {
    margin-bottom: 12px;
}

.footer__link {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
    font-size: 1.05rem;
    font-weight: 500;
}

.footer__link:hover {
    color: var(--secondary-color);
    padding-left: 8px;
    transform: translateX(5px);
}

.footer__info {
    color: rgba(255, 255, 255, 0.8);
    line-height: 2.2;
    font-size: 1.05rem;
}

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

.footer__info a:hover {
    color: var(--secondary-color);
}

.footer__copy {
    text-align: center;
    padding-top: 40px;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
}

/* ===== Scroll to Top ===== */
.scrolltop {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 60px;
    height: 60px;
    background: var(--bg-gradient);
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    font-weight: 700;
    border: 3px solid var(--bg-white);
}

.scrolltop.show {
    opacity: 1;
    visibility: visible;
}

.scrolltop:hover {
    transform: translateY(-8px) scale(1.1);
    box-shadow: var(--shadow-playful);
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-15px);
    }
    60% {
        transform: translateX(-50%) translateY(-8px);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes twinkle {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(0.8);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* ===== Mobile Responsive ===== */
@media screen and (max-width: 968px) {
    .section__title {
        font-size: 2.5rem;
    }
    
    .about__container,
    .contact__info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer__container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero__title {
        font-size: 3rem;
    }
    
    .videos__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .programs__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media screen and (max-width: 768px) {
    .nav__menu {
        position: fixed;
        top: var(--header-height-mobile);
        right: -100%;
        width: 85%;
        max-width: 320px;
        height: calc(100vh - var(--header-height-mobile));
        height: calc(100dvh - var(--header-height-mobile));
        background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-light) 100%);
        box-shadow: -4px 0 20px rgba(255, 107, 157, 0.2);
        transition: var(--transition);
        padding: 40px var(--spacing-mobile);
        border-left: 5px solid var(--primary-color);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .nav__menu.show {
        right: 0;
    }
    
    .nav__close {
        position: absolute;
        top: 20px;
        right: 20px;
        background: rgba(255, 107, 157, 0.1);
        color: var(--text-dark);
        z-index: 1001;
    }
    
    .nav__close:hover,
    .nav__close:active {
        background: rgba(255, 107, 157, 0.2);
        color: var(--primary-color);
    }
    
    .nav__list {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }
    
    .nav__link {
        font-size: 1.2rem;
        padding: 18px 0;
        min-height: var(--touch-target-min);
        display: flex;
        align-items: center;
        width: 100%;
        border-bottom: 2px solid var(--border-color);
        transition: var(--transition);
    }
    
    .nav__link:active {
        background: rgba(255, 107, 157, 0.1);
        transform: translateX(5px);
    }
    
    .logo-text {
        display: block;
    }
    
    .hero {
        background-attachment: scroll;
        min-height: 90vh;
        min-height: 90dvh;
    }
    
    .hero__container {
        padding: 60px var(--spacing-mobile) 25px;
        min-height: calc(100vh - var(--header-height-mobile));
        min-height: calc(100dvh - var(--header-height-mobile));
    }
    
    .hero__title {
        font-size: 2.2rem;
        margin-bottom: 12px;
        text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
    }
    
    .hero__tagline {
        font-size: 1.2rem;
        margin-bottom: 15px;
        text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.4);
    }
    
    .hero__description {
        font-size: 1rem;
        margin-bottom: 30px;
        text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.4);
    }
    
    .hero__cta {
        flex-direction: column;
        align-items: stretch;
        margin-bottom: 25px;
        gap: 12px;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        max-width: 100%;
        padding: 16px 24px;
        font-size: 1rem;
    }
    
    .btn--featured {
        padding: 18px 24px;
        font-size: 1.05rem;
    }
    
    .btn-icon {
        font-size: 1.2rem;
    }
    
    .btn-arrow {
        font-size: 1.1rem;
    }
    
    .hero__trust {
        flex-direction: column;
        gap: 12px;
        padding-top: 20px;
    }
    
    .trust-item {
        padding: 16px 20px;
        width: 100%;
    }
    
    .trust-icon {
        font-size: 1.8rem;
        margin-bottom: 8px;
    }
    
    .trust-number {
        font-size: 1.1rem;
        margin-bottom: 5px;
    }
    
    .trust-label {
        font-size: 0.85rem;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .section__title {
        font-size: 1.8rem;
    }
    
    .section__subtitle {
        font-size: 1rem;
    }
    
    .section__header {
        margin-bottom: 35px;
    }
    
    .programs__grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .testimonials__container {
        padding: 0;
        margin: 0;
    }
    
    .testimonials__slider {
        gap: 20px;
        padding: 20px 0;
    }
    
    .testimonial-card {
        padding: 30px 20px;
        border-radius: 25px;
        width: 100%;
        max-width: 100%;
        margin: 0;
    }
    
    .testimonial-card::before {
        font-size: 5rem;
        top: 15px;
        left: 15px;
    }
    
    .testimonial-stars {
        font-size: 1.5rem;
        margin-bottom: 20px;
        letter-spacing: 3px;
    }
    
    .testimonial-text {
        font-size: 1rem;
        line-height: 1.7;
        margin-bottom: 25px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .testimonial-author h4 {
        font-size: 1.1rem;
    }
    
    .testimonial-author span {
        font-size: 0.9rem;
    }
    
    .contact__form-container {
        padding: 30px var(--spacing-mobile);
    }
    
    .contact__map {
        display: none;
    }
    
    .contact__card {
        padding: 25px var(--spacing-mobile);
    }
    
    .footer__container {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    
    .gallery-img {
        height: 300px;
    }
    
    .videos__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .video-wrapper {
        padding-bottom: 177.78%;
    }
    
    .slider-btn {
        width: 48px;
        height: 48px;
        min-width: var(--touch-target-min);
        min-height: var(--touch-target-min);
        font-size: 1.5rem;
    }
    
    .slider-dot {
        width: 12px;
        height: 12px;
        min-width: 12px;
        min-height: 12px;
    }
    
    .cloud {
        display: none;
    }
    
    .scrolltop {
        width: 50px;
        height: 50px;
        min-width: var(--touch-target-min);
        min-height: var(--touch-target-min);
        bottom: 20px;
        right: 20px;
        font-size: 1.5rem;
    }
}

@media screen and (max-width: 480px) {
    .container {
        padding: 0 20px;
    }
    
    .hero__container {
        padding: 80px 15px 25px;
    }
    
    .hero__title {
        font-size: 2.2rem;
        margin-bottom: 10px;
        text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    }
    
    .hero__tagline {
        font-size: 1.2rem;
        margin-bottom: 12px;
        text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.5);
    }
    
    .hero__description {
        font-size: 1rem;
        margin-bottom: 25px;
        text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
    }
    
    .hero__cta {
        margin-bottom: 20px;
    }
    
    .hero__trust {
        gap: 10px;
        padding-top: 15px;
    }
    
    .trust-item {
        padding: 10px 12px;
    }
    
    .trust-icon {
        font-size: 1.3rem;
    }
    
    .trust-number {
        font-size: 1rem;
    }
    
    .trust-label {
        font-size: 0.7rem;
    }
    
    .section__title {
        font-size: 1.8rem;
    }
    
    .programs__grid {
        gap: 20px;
    }
    
    .testimonials__container {
        margin: 0;
    }
    
    .testimonials__slider {
        gap: 15px;
        padding: 15px 0;
    }
    
    .testimonial-card {
        padding: 25px 15px;
        border-radius: 20px;
        width: 100%;
        max-width: 100%;
        margin: 0;
    }
    
    .testimonial-card::before {
        font-size: 4rem;
        top: 10px;
        left: 10px;
    }
    
    .testimonial-stars {
        font-size: 1.3rem;
        margin-bottom: 15px;
        letter-spacing: 2px;
    }
    
    .testimonial-text {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 20px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .testimonial-author h4 {
        font-size: 1rem;
        margin-bottom: 5px;
    }
    
    .testimonial-author span {
        font-size: 0.85rem;
    }
    
    .slider-controls {
        margin-top: 30px;
        gap: 20px;
        padding: 0 20px;
    }
    
    .contact__card {
        padding: 30px 25px;
    }
    
    .scrolltop {
        width: 50px;
        height: 50px;
        bottom: 25px;
        right: 25px;
        font-size: 1.5rem;
    }
    
    .hero__badge {
        font-size: 0.9rem;
        padding: 10px 20px;
    }
}

/* ===== Accessibility ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Focus styles for keyboard navigation */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
    border-radius: 5px;
}

/* Remove focus outline for mouse users, keep for keyboard */
.js-focus-visible a:focus:not(.focus-visible),
.js-focus-visible button:focus:not(.focus-visible) {
    outline: none;
}

/* Better tap highlight for mobile */
a, button {
    -webkit-tap-highlight-color: rgba(255, 107, 157, 0.2);
}

/* Improve scrolling on iOS */
* {
    -webkit-overflow-scrolling: touch;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --text-dark: #000000;
        --text-light: #333333;
        --border-color: #666666;
    }
}
