:root {
    --sky-blue: #6EC1E4;
    --sunshine-yellow: #FFD166;
    --apple-green: #8BC34A;
    --soft-white: #FFFFFF;
    --coral-red: #F76C6C;

    --gradient-primary: linear-gradient(135deg, var(--sky-blue), var(--sunshine-yellow));
    --gradient-secondary: linear-gradient(135deg, var(--apple-green), var(--sky-blue));

    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 2rem;
    --space-xl: 4rem;

    --border-radius-sm: 0.25rem;
    --border-radius-md: 0.5rem;
    --border-radius-lg: 1rem;
    --border-radius-xl: 2rem;

    --shadow-sm: 0 2px 5px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 10px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.2);

    --transition-fast: 0.2s ease;
    --transition-medium: 0.4s ease;
    --transition-slow: 0.8s ease;

    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-md: 1rem;
    --font-size-lg: 1.25rem;
    --font-size-xl: 1.5rem;
    --font-size-2xl: 2rem;
    --font-size-3xl: 2.5rem;

    --font-family-primary: 'Quicksand', sans-serif;
    --font-family-secondary: 'Comfortaa', cursive;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family-primary);
    background-color: #f0f8ff;
    background-image:
            radial-gradient(circle at 100% 0%, rgba(110, 193, 228, 0.2) 20%, transparent 50%),
            radial-gradient(circle at 0% 100%, rgba(139, 195, 74, 0.2) 20%, transparent 50%);
    background-attachment: fixed;
    color: #333;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
            url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cg fill='%236ec1e4' fill-opacity='0.05'%3E%3Cpath d='M0 0h4v4H0V0zm10 0h4v4h-4V0zm10 0h4v4h-4V0zm10 0h4v4h-4V0zm10 0h4v4h-4V0zM5 5h4v4H5V5zm10 0h4v4h-4V5zm10 0h4v4h-4V5zm10 0h4v4h-4V5zM0 10h4v4H0v-4zm15 0h4v4h-4v-4zm10 0h4v4h-4v-4zm10 0h4v4h-4v-4zM5 15h4v4H5v-4zm10 0h4v4h-4v-4zm10 0h4v4h-4v-4zm10 0h4v4h-4v-4zM0 20h4v4H0v-4zm15 0h4v4h-4v-4zm10 0h4v4h-4v-4zm10 0h4v4h-4v-4zM5 25h4v4H5v-4zm10 0h4v4h-4v-4zm10 0h4v4h-4v-4zm10 0h4v4h-4v-4zM0 30h4v4H0v-4zm15 0h4v4h-4v-4zm10 0h4v4h-4v-4zm10 0h4v4h-4v-4zM5 35h4v4H5v-4zm10 0h4v4h-4v-4zm10 0h4v4h-4v-4zm10 0h4v4h-4v-4z'/%3E%3C/g%3E%3C/svg%3E");
    z-index: -1;
    opacity: 0.5;
    pointer-events: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-secondary);
    color: #333;
    line-height: 1.2;
    margin-bottom: var(--space-md);
}

h1 {
    font-size: var(--font-size-3xl);
}

h2 {
    font-size: var(--font-size-2xl);
}

h3 {
    font-size: var(--font-size-xl);
}

p {
    margin-bottom: var(--space-md);
    line-height: 1.6;
}

a {
    color: var(--sky-blue);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--coral-red);
}

img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius-md);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-md);
}

.btn {
    display: inline-block;
    padding: var(--space-sm) var(--space-lg);
    background-color: var(--coral-red);
    color: var(--soft-white);
    border: none;
    border-radius: var(--border-radius-md);
    font-family: var(--font-family-primary);
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    cursor: pointer;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-sm);
    letter-spacing: 0.5px;
}

.btn:hover {
    background-color: #e45f5f;
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    color: var(--soft-white);
}

.btn-secondary {
    background-color: var(--sky-blue);
}

.btn-secondary:hover {
    background-color: #5aa8cc;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--coral-red);
    color: var(--coral-red);
}

.btn-outline:hover {
    background-color: var(--coral-red);
    color: var(--soft-white);
}

.floating-element {
    animation: float 6s infinite ease-in-out;
}

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0); }
}

.animate-fadeIn {
    opacity: 0;
    animation: fadeIn 1s forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-fadeInUp {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeInRight {
    opacity: 0;
    transform: translateX(-30px);
    animation: fadeInRight 1s forwards;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-pulse {
    animation: pulse 3s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.animate-wiggle {
    animation: wiggle 2.5s infinite;
}

@keyframes wiggle {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(5deg); }
    50% { transform: rotate(0deg); }
    75% { transform: rotate(-5deg); }
    100% { transform: rotate(0deg); }
}

.animate-bounce {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.animate-spin {
    animation: spin 10s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.header {
    position: relative;
    z-index: 100;
    padding: var(--space-md) 0;
    transition: all var(--transition-medium);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-family: var(--font-family-secondary);
    font-weight: 700;
    font-size: var(--font-size-xl);
    color: #333;
    text-transform: uppercase;
    transition: all var(--transition-fast);
}

.logo-icon {
    display: inline-block;
    margin-right: var(--space-sm);
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    color: var(--soft-white);
    font-size: var(--font-size-lg);
    font-weight: bold;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 25px;
    position: relative;
    z-index: 200;
}

.nav-toggle span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: #333;
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.nav-toggle span:nth-child(1) {
    top: 0px;
}

.nav-toggle span:nth-child(2) {
    top: 10px;
}

.nav-toggle span:nth-child(3) {
    top: 20px;
}

.nav-toggle.active span:nth-child(1) {
    top: 10px;
    transform: rotate(135deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
    left: -60px;
}

.nav-toggle.active span:nth-child(3) {
    top: 10px;
    transform: rotate(-135deg);
}

.nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    margin-left: var(--space-lg);
}

.nav-link {
    color: #333;
    font-weight: 500;
    position: relative;
    padding: var(--space-xs) 0;
    transition: color var(--transition-fast);
}

.nav-link:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--coral-red);
    visibility: hidden;
    transform: scaleX(0);
    transition: all var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
    color: var(--coral-red);
}

.nav-link:hover:before, .nav-link.active:before {
    visibility: visible;
    transform: scaleX(1);
}

.hero {
    position: relative;
    padding: var(--space-xl) 0;
    overflow: hidden;
    background: url("../images/hero-bg.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 85vh;
    min-height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    text-align: center;
    color: var(--soft-white);
    max-width: 800px;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: var(--space-md);
    color: var(--soft-white);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.hero p {
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-lg);
    color: var(--soft-white);
    font-weight: 300;
    text-shadow: 2px 2px 4px var(--sky-blue);
}

.hero-btn-group {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath opacity='.5' d='M96 95h4v1h-4v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9zm-1 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9z'/%3E%3Cpath d='M6 5V0H5v5H0v1h5v94h1V6h94V5H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.15;
}

.hero-shape {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    z-index: 1;
}

.hero-shape svg {
    display: block;
    width: 100%;
    height: auto;
    fill: #f0f8ff;
}

.doodles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.doodle {
    position: absolute;
    font-size: 2rem;
    color: rgba(255,255,255,0.3);
}

.doodle:nth-child(1) {
    top: 10%;
    left: 10%;
    animation: float 6s infinite ease-in-out;
}

.doodle:nth-child(2) {
    top: 20%;
    right: 15%;
    animation: float 8s infinite ease-in-out;
}

.doodle:nth-child(3) {
    bottom: 15%;
    left: 15%;
    animation: float 7s infinite ease-in-out;
}

.doodle:nth-child(4) {
    bottom: 20%;
    right: 10%;
    animation: float 9s infinite ease-in-out;
}

.section {
    padding: var(--space-xl) 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: var(--space-xl);
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--sky-blue);
    margin: var(--space-sm) auto 0;
    border-radius: 2px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
}

.feature-card {
    background-color: var(--soft-white);
    border-radius: var(--border-radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.feature-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
}

.feature-icon {
    font-size: 3rem;
    color: var(--sky-blue);
    margin-bottom: var(--space-md);
}

.feature-title {
    margin-bottom: var(--space-sm);
    font-size: var(--font-size-lg);
}

.feature-text {
    color: #666;
}

.course-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-lg);
}

.course-card {
    background-color: var(--soft-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.course-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.course-img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 60%, rgba(0,0,0,0.7) 100%);
}

.course-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-medium);
}

.course-card:hover .course-img img {
    transform: scale(1.1);
}

.course-age {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    background-color: var(--coral-red);
    color: var(--soft-white);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--border-radius-md);
    font-weight: bold;
    font-size: var(--font-size-sm);
}

.course-content {
    padding: var(--space-lg);
}

.course-title {
    margin-bottom: var(--space-sm);
    font-size: var(--font-size-lg);
}

.course-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--space-md);
    font-size: var(--font-size-sm);
    color: #666;
}

.course-desc {
    margin-bottom: var(--space-lg);
    color: #666;
}

.teacher-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.teacher-card {
    background-color: var(--soft-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: transform var(--transition-medium);
}

.teacher-card:hover {
    transform: translateY(-10px);
}

.teacher-img {
    height: 250px;
    position: relative;
    overflow: hidden;
}

.teacher-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-medium);
}

.teacher-card:hover .teacher-img img {
    transform: scale(1.1);
}

.teacher-content {
    padding: var(--space-lg);
}

.teacher-name {
    margin-bottom: var(--space-xs);
    font-size: var(--font-size-lg);
}

.teacher-title {
    color: var(--sky-blue);
    margin-bottom: var(--space-md);
    font-size: var(--font-size-sm);
}

.teacher-bio {
    color: #666;
    font-size: var(--font-size-sm);
}

.testimonial-section {
    background: var(--gradient-secondary);
    color: var(--soft-white);
    position: relative;
    overflow: hidden;
}

.testimonial-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.2;
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-slide {
    text-align: center;
    padding: 0 var(--space-lg);
}

.testimonial-text {
    font-size: var(--font-size-lg);
    line-height: 1.8;
    margin-bottom: var(--space-lg);
    position: relative;
    padding: 0 var(--space-lg);
}

.testimonial-text:before, .testimonial-text:after {
    content: '"';
    position: absolute;
    font-size: 4rem;
    font-family: Georgia, serif;
    line-height: 1;
    color: rgba(255,255,255,0.3);
}

.testimonial-text:before {
    top: -20px;
    left: 0;
}

.testimonial-text:after {
    bottom: -50px;
    right: 0;
}

.testimonial-author {
    font-weight: bold;
    font-size: var(--font-size-md);
}

.testimonial-role {
    font-size: var(--font-size-sm);
    opacity: 0.8;
}

.contact-section {
    position: relative;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
}

.contact-info {
    padding-right: var(--space-lg);
}

.contact-title {
    margin-bottom: var(--space-lg);
}

.contact-text {
    margin-bottom: var(--space-lg);
}

.contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: var(--space-md);
}

.contact-icon {
    margin-right: var(--space-md);
    color: var(--sky-blue);
    font-size: var(--font-size-lg);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.contact-details {
    flex-grow: 1;
}

.contact-label {
    display: block;
    font-weight: bold;
    margin-bottom: var(--space-xs);
}

.contact-value {
    color: #666;
}

.contact-form {
    background-color: var(--soft-white);
    border-radius: var(--border-radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: var(--space-lg);
}

.form-label {
    display: block;
    margin-bottom: var(--space-xs);
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: var(--space-md);
    border: 1px solid #ddd;
    border-radius: var(--border-radius-md);
    font-family: var(--font-family-primary);
    font-size: var(--font-size-md);
    transition: border-color var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--sky-blue);
}

textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

.form-check {
    display: flex;
    align-items: flex-start;
    margin-bottom: var(--space-lg);
}

.form-check-input {
    margin-right: var(--space-sm);
    margin-top: 0.25rem;
}

.form-check-label {
    font-size: var(--font-size-sm);
    color: #666;
}

.map-container {
    height: 400px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-top: var(--space-xl);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.footer {
    background-color: #333;
    color: #fff;
    padding: var(--space-xl) 0 var(--space-lg);
    margin-top: var(--space-xl);
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-xl);
}

.footer-logo {
    font-family: var(--font-family-secondary);
    font-weight: 700;
    font-size: var(--font-size-lg);
    color: #fff;
    margin-bottom: var(--space-md);
}

.footer-text {
    color: rgba(255,255,255,0.7);
    margin-bottom: var(--space-lg);
}

.footer-title {
    color: #fff;
    margin-bottom: var(--space-md);
    font-size: var(--font-size-md);
    position: relative;
}

.footer-title:after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: var(--sky-blue);
    margin-top: var(--space-xs);
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-link {
    margin-bottom: var(--space-sm);
}

.footer-link a {
    color: rgba(255,255,255,0.7);
    transition: color var(--transition-fast);
}

.footer-link a:hover {
    color: var(--sky-blue);
}

.copyright {
    text-align: center;
    padding-top: var(--space-lg);
    margin-top: var(--space-lg);
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5);
    font-size: var(--font-size-sm);
}

.privacy-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(51, 51, 51, 0.95);
    color: #fff;
    padding: var(--space-lg);
    z-index: 1000;
    transform: translateY(100%);
    transition: transform var(--transition-medium);
    box-shadow: 0 -5px 20px rgba(0,0,0,0.2);
}

.privacy-popup.show {
    transform: translateY(0);
}

.privacy-popup-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.privacy-popup-text {
    flex-grow: 1;
    margin-right: var(--space-lg);
}

.privacy-popup-btn {
    flex-shrink: 0;
}

.thank-you-container {
    text-align: center;
    padding: var(--space-xl) 0;
    max-width: 700px;
    margin: 0 auto;
}

.thank-you-icon {
    font-size: 5rem;
    color: var(--apple-green);
    margin-bottom: var(--space-lg);
}

.thank-you-title {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--space-lg);
}

.thank-you-text {
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-xl);
}

.error-container {
    text-align: center;
    padding: var(--space-xl) 0;
    max-width: 700px;
    margin: 0 auto;
}

.error-title {
    font-size: 6rem;
    font-weight: 700;
    color: var(--coral-red);
    margin-bottom: var(--space-md);
    line-height: 1;
}

.error-subtitle {
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-lg);
}

.error-text {
    margin-bottom: var(--space-xl);
}

.legal-content {
    background-color: var(--soft-white);
    padding: var(--space-xl);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.legal-title {
    margin-bottom: var(--space-lg);
}

.legal-section {
    margin-bottom: var(--space-xl);
}

.legal-section-title {
    margin-bottom: var(--space-md);
    font-size: var(--font-size-lg);
    color: var(--sky-blue);
}

.legal-list {
    margin-left: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.legal-list li {
    margin-bottom: var(--space-sm);
}

.legal-date {
    margin-top: var(--space-xl);
    font-style: italic;
    color: #666;
}

.home-button {
    display: inline-flex;
    align-items: center;
    margin-top: var(--space-lg);
    padding: var(--space-sm) var(--space-md);
    background-color: var(--sky-blue);
    color: var(--soft-white);
    border-radius: var(--border-radius-md);
    transition: background-color var(--transition-fast);
}

.home-button:hover {
    background-color: #5aa8cc;
    color: var(--soft-white);
}

@media (max-width: 1024px) {
    :root {
        --space-xl: 3rem;
    }

    h1 {
        font-size: 2.5rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .contact-info {
        padding-right: 0;
    }
}

@media (max-width: 768px) {
    .legal-title{
        font-size: var(--font-size-xl);
    }

    .section-title{
        font-size: var(--font-size-xl);
    }

    .logo{
        font-size: 1.2rem;
    }

    :root {
        --space-xl: 2.5rem;
    }

    .nav-toggle {
        display: block;
    }

    .nav {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 80%;
        max-width: 300px;
        background-color: var(--soft-white);
        box-shadow: -5px 0 20px rgba(0,0,0,0.1);
        flex-direction: column;
        justify-content: center;
        z-index: 100;
        transform: translateX(100%);
        transition: transform var(--transition-medium);
        padding: var(--space-xl);
    }

    .nav.active {
        transform: translateX(0);
    }

    .nav-menu {
        flex-direction: column;
        align-items: center;
    }

    .nav-item {
        margin-left: 0;
        margin-bottom: var(--space-lg);
    }

    .hero-btn-group {
        flex-direction: column;
        align-items: center;
    }

    .hero-btn-group .btn {
        width: 100%;
        margin-bottom: var(--space-sm);
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-text {
        font-size: var(--font-size-md);
    }

    .testimonial-text:before, .testimonial-text:after {
        font-size: 3rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
}

@media (max-width: 480px) {
    .logo{
        font-size: 0.9rem;
    }

    :root {
        --space-xl: 2rem;
    }

    html {
        font-size: 14px;
    }

    .container {
        width: 95%;
    }

    h1 {
        font-size: 2rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero {
        min-height: 450px;
    }

    .privacy-popup-container {
        flex-direction: column;
    }

    .privacy-popup-text {
        margin-right: 0;
        margin-bottom: var(--space-md);
    }
}

.particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.3;
    pointer-events: none;
}

.paint-splash {
    position: absolute;
    width: 200px;
    height: 200px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.15;
    pointer-events: none;
    z-index: -1;
}

.paint-splash-1 {
    top: 10%;
    left: 5%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cpath d='M140.5,42.8c-3.3-7.2-10.2-12.3-18.5-12.3c-11.1,0-20.2,8.8-20.2,19.7c0,0.7,0,1.4,0.1,2.1 c-17.1-4-32.1,7-32.1,24.8c0,17.8,15,32.2,33.4,32.2c6.7,0,12.9-1.9,18.1-5.2c2.6,7.6,9.8,13.1,18.3,13.1c10.7,0,19.4-8.6,19.4-19.2 c0-0.9-0.1-1.8-0.2-2.7c0.1,0,0.2,0,0.3,0c10.7,0,19.4-8.6,19.4-19.2C178.5,58.9,161.7,44.9,140.5,42.8z' fill='%236EC1E4'/%3E%3C/svg%3E");
    transform: rotate(-15deg);
    animation: float 8s infinite ease-in-out;
}

.paint-splash-2 {
    bottom: 20%;
    right: 10%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cpath d='M154.5,92.8c-10.7-23.3-43.6-27.2-52.1-4.7c-2.9-10.9-12.8-18.9-24.5-18.9c-14,0-25.3,11.3-25.3,25.3 c0,3.1,0.6,6.1,1.6,8.9c-15.2,3.9-26.4,17.6-26.4,33.9c0,19.3,15.7,35,35,35c6.8,0,13.2-2,18.6-5.3c7,10.2,18.8,16.9,32.1,16.9 c21.5,0,39-17.4,39-39c0-1,0-2-0.1-3c14.8-1.2,26.4-13.6,26.4-28.8C178.9,100.5,168,90.5,154.5,92.8z' fill='%238BC34A'/%3E%3C/svg%3E");
    transform: rotate(20deg);
    animation: float 10s infinite ease-in-out;
}

.paint-splash-3 {
    top: 60%;
    left: 15%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cpath d='M148.9,75.7c-5.4-28.5-48-32.3-57.3-5.1c-2.5-9.3-10.8-16-20.8-16c-11.9,0-21.6,9.6-21.6,21.6 c0,2.7,0.5,5.2,1.4,7.5c-13,3.3-22.5,15-22.5,28.9c0,16.5,13.4,29.9,29.9,29.9c5.8,0,11.2-1.7,15.8-4.6c6,8.7,16,14.4,27.4,14.4 c18.3,0,33.2-14.9,33.2-33.2c0-0.8,0-1.7-0.1-2.5c12.6-1,22.5-11.6,22.5-24.6C156.9,84.9,153.7,79.2,148.9,75.7z' fill='%23FFD166'/%3E%3C/svg%3E");
    transform: rotate(-25deg);
    animation: float 9s infinite ease-in-out;
}

.paint-splash-4 {
    bottom: 70%;
    right: 20%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cpath d='M150,50c-27.6,0-50,22.4-50,50c0,27.6,22.4,50,50,50c27.6,0,50-22.4,50-50C200,72.4,177.6,50,150,50z M50,70 c-16.6,0-30,13.4-30,30c0,16.6,13.4,30,30,30c16.6,0,30-13.4,30-30C80,83.4,66.6,70,50,70z M80,130c-11,0-20,9-20,20 c0,11,9,20,20,20c11,0,20-9,20-20C100,139,91,130,80,130z' fill='%23F76C6C'/%3E%3C/svg%3E");
    transform: rotate(15deg);
    animation: float 7s infinite ease-in-out;
}

@keyframes brush-stroke {
    0% {
        background-position: left center;
    }
    100% {
        background-position: right center;
    }
}

.brush-stroke {
    display: inline-block;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 20'%3E%3Cpath d='M0,10 Q10,5 20,10 T40,10 T60,10 T80,10 T100,10' stroke='%236EC1E4' stroke-width='5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-size: 200% 100%;
    background-position: left center;
    background-repeat: no-repeat;
    padding: 0 5px;
    animation: brush-stroke 1s forwards;
}

.creative-bg {
    background-image:
            radial-gradient(circle at 20% 30%, rgba(110, 193, 228, 0.1) 0%, transparent 30%),
            radial-gradient(circle at 80% 70%, rgba(139, 195, 74, 0.1) 0%, transparent 30%),
            radial-gradient(circle at 40% 80%, rgba(255, 209, 102, 0.1) 0%, transparent 30%),
            radial-gradient(circle at 60% 20%, rgba(247, 108, 108, 0.1) 0%, transparent 30%);
}

.classes-section {
    position: relative;
}

.age-group-tab {
    display: flex;
    justify-content: center;
    margin-bottom: var(--space-xl);
    position: relative;
    z-index: 1;
}

.age-tab {
    padding: var(--space-md) var(--space-lg);
    background-color: var(--soft-white);
    border-radius: var(--border-radius-md);
    margin: 0 var(--space-sm);
    cursor: pointer;
    font-weight: 600;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-sm);
    color: #666;
}

.age-tab:hover {
    box-shadow: var(--shadow-md);
    color: var(--coral-red);
}

.age-tab.active {
    background-color: var(--sky-blue);
    color: var(--soft-white);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.age-group-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0.1;
    z-index: 0;
    pointer-events: none;
}

.cursor-paint {
    position: fixed;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--sky-blue);
    mix-blend-mode: multiply;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.animated-scribble {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.1;
}

.parallax-doodle {
    position: absolute;
    pointer-events: none;
    opacity: 0.2;
    z-index: 0;
}

.parallax-doodle-1 {
    top: 10%;
    left: 5%;
    font-size: 3rem;
}

.parallax-doodle-2 {
    top: 30%;
    right: 10%;
    font-size: 2.5rem;
}

.parallax-doodle-3 {
    bottom: 20%;
    left: 15%;
    font-size: 2rem;
}

.parallax-doodle-4 {
    bottom: 40%;
    right: 5%;
    font-size: 2.8rem;
}

.draw-animation path {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: draw 2s forwards;
}

@keyframes draw {
    to {
        stroke-dashoffset: 0;
    }
}

.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.preloader.fade-out {
    opacity: 0;
    pointer-events: none;
}

.preloader-icon {
    width: 60px;
    height: 60px;
    position: relative;
}

.preloader-circle {
    width: 100%;
    height: 100%;
    border: 4px solid #f0f0f0;
    border-top: 4px solid var(--sky-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.nav-open{
    overflow: hidden;
}

.responsive-table{
    overflow: auto;
}