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

:root {
    --primary-color: #0d3b2e;
    --secondary-color: #165740;
    --accent-color: #c41e3a;
    --accent-gold: #d4af37;
    --text-dark: #e4e4e4;
    --text-light: #c5c5c5;
    --background-light: #1a2f26;
    --background-dark: #0a1f18;
    --white: #ffffff;
    --card-bg: #1a3d30;
    --gradient-start: #165740;
    --gradient-end: #0d3b2e;
    --christmas-red: #c41e3a;
    --christmas-green: #165740;
    --snow-white: #f0f8ff;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-dark);
    overflow-x: hidden;
    scroll-behavior: smooth;
    position: relative;
}

body::before {
    content: '❄️';
    position: fixed;
    top: -50px;
    left: 10%;
    font-size: 20px;
    opacity: 0.7;
    animation: snowfall 10s linear infinite;
    pointer-events: none;
    z-index: 9999;
}

body::after {
    content: '❄️';
    position: fixed;
    top: -50px;
    left: 80%;
    font-size: 25px;
    opacity: 0.6;
    animation: snowfall 12s linear infinite 2s;
    pointer-events: none;
    z-index: 9999;
}

@keyframes snowfall {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.7;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

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

/* Navigation */
.navbar {
    background: linear-gradient(90deg, var(--christmas-green) 0%, var(--primary-color) 50%, var(--christmas-green) 100%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5), 0 0 20px rgba(196, 30, 58, 0.3);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 2px solid var(--accent-color);
}

.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.logo img {
    height: 50px;
    width: auto;
    background: white;
    padding: 5px;
    border-radius: 8px;
}

.logo span {
    font-size: 1.5rem;
    color: var(--white);
    font-weight: 700;
}

.logo .slogan {
    font-size: 0.75rem;
    color: var(--accent-color);
    font-weight: 400;
    font-style: italic;
    letter-spacing: 0.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

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

.nav-menu a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--white);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--christmas-green) 0%, var(--gradient-end) 50%, var(--primary-color) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    margin-top: 70px;
    padding: 2rem 0;
    border-bottom: 3px solid var(--christmas-red);
    overflow: hidden;
    box-shadow: inset 0 0 100px rgba(196, 30, 58, 0.1);
}

.hero::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(196, 30, 58, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    top: -200px;
    right: -200px;
    animation: float 8s ease-in-out infinite;
}

.hero::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    bottom: -150px;
    left: -150px;
    animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, 30px) scale(1.1); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.6;
    animation: backgroundScroll 20s linear infinite;
}

@keyframes backgroundScroll {
    0% { background-position: 0 0; }
    100% { background-position: 100px 100px; }
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--white);
    animation: fadeInUp 1s ease;
    max-width: 1000px;
    padding: 2rem 1rem;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4);
    letter-spacing: 2px;
    animation: titlePulse 2s ease-in-out infinite;
}

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

.hero-slogan {
    font-size: 1.5rem;
    font-weight: 300;
    font-style: italic;
    margin-bottom: 1rem;
    color: var(--accent-gold);
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.6), 1px 1px 2px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
    animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { text-shadow: 0 0 20px rgba(212, 175, 55, 0.6), 1px 1px 2px rgba(0, 0, 0, 0.3); }
    50% { text-shadow: 0 0 30px rgba(212, 175, 55, 0.8), 0 0 40px rgba(196, 30, 58, 0.4), 1px 1px 2px rgba(0, 0, 0, 0.3); }
}

.hero-subtitle {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
}

.hero-text {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--christmas-red);
    color: var(--white);
    box-shadow: 0 5px 20px rgba(196, 30, 58, 0.5);
    font-size: 1.1rem;
    padding: 1.2rem 3rem;
    border: 2px solid var(--accent-gold);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(196, 30, 58, 0.7), 0 0 30px rgba(212, 175, 55, 0.4);
    background: #a01828;
    border-color: var(--white);
}

.btn-secondary {
    background: var(--christmas-green);
    color: var(--white);
    border: 2px solid var(--christmas-red);
}

.btn-secondary:hover {
    background: var(--christmas-red);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(196, 30, 58, 0.5);
    border-color: var(--accent-gold);
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--white);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--christmas-red), var(--accent-gold), var(--christmas-green));
    margin: 1rem auto 0;
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(196, 30, 58, 0.5);
}

/* About Section */
.about {
    background: var(--background-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-image .image-placeholder {
    width: 100%;
    height: 600px;
    background: var(--card-bg);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 2px solid var(--accent-color);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.about-text strong {
    color: var(--accent-color);
}

/* Method Section */
.method {
    background: var(--background-light);
    position: relative;
}

.method::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--christmas-red), var(--accent-gold), var(--christmas-green), var(--accent-gold), var(--christmas-red));
    animation: christmasLights 3s linear infinite;
}

@keyframes christmasLights {
    0% { filter: brightness(1); }
    50% { filter: brightness(1.3); }
    100% { filter: brightness(1); }
}

.method-intro {
    max-width: 900px;
    margin: 0 auto 4rem;
    text-align: center;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 20px;
    border: 2px solid var(--christmas-red);
    box-shadow: 0 10px 30px rgba(196, 30, 58, 0.3), 0 0 20px rgba(212, 175, 55, 0.2);
}

.method-intro p {
    font-size: 1.2rem;
    line-height: 1.9;
    color: var(--text-light);
    margin: 0;
}

.method-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.method-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    transition: all 0.4s ease;
    text-align: center;
    border: 2px solid rgba(196, 30, 58, 0.3);
    position: relative;
    overflow: hidden;
}

.method-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--christmas-red), var(--accent-gold), var(--christmas-green));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.method-card:hover::before {
    transform: scaleX(1);
}

.method-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 50px rgba(196, 30, 58, 0.5), 0 0 30px rgba(212, 175, 55, 0.3);
    border-color: var(--christmas-red);
}

.method-number {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--christmas-red), var(--accent-gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--white);
    margin: 0 auto 1.5rem;
    box-shadow: 0 5px 20px rgba(196, 30, 58, 0.5);
    transition: transform 0.3s ease;
    border: 2px solid var(--accent-gold);
}

.method-card:hover .method-number {
    transform: scale(1.1) rotate(360deg);
}

.method-card h3 {
    font-size: 1.6rem;
    color: var(--white);
    margin-bottom: 1.2rem;
    font-weight: 600;
}

.method-card p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1.05rem;
}

/* Classes Section */
.classes {
    background: var(--background-dark);
}

.classes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.class-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    text-align: center;
    border: 2px solid rgba(196, 30, 58, 0.3);
}

.class-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(196, 30, 58, 0.5), 0 0 20px rgba(212, 175, 55, 0.3);
    border-color: var(--christmas-red);
}

.class-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.class-card h3 {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.class-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.class-features {
    list-style: none;
    text-align: left;
    margin-bottom: 1.5rem;
}

.class-features li {
    padding: 0.5rem 0;
    color: var(--text-light);
    position: relative;
    padding-left: 1.5rem;
}

.class-features li::before {
    content: '✓';
    color: var(--accent-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Testimonials Section */
.testimonials {
    background: var(--background-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    border: 2px solid rgba(196, 30, 58, 0.3);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(196, 30, 58, 0.5), 0 0 20px rgba(212, 175, 55, 0.3);
    border-color: var(--christmas-red);
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    font-style: italic;
    color: var(--text-light);
    line-height: 1.8;
    position: relative;
}

.testimonial-content p::before {
    content: '"';
    font-size: 3rem;
    color: var(--accent-gold);
    position: absolute;
    left: -20px;
    top: -10px;
    opacity: 0.6;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.testimonial-author h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.testimonial-author p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Contact Section */
.contact {
    background: var(--background-dark);
}

.contact-content-center {
    display: flex;
    justify-content: center;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info h3 {
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.contact-info p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-method .icon {
    font-size: 2rem;
}

.contact-method h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.contact-method p {
    color: var(--text-light);
    margin: 0;
}

/* Contact Form */
.contact-form {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(50, 130, 184, 0.3);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--white);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid rgba(50, 130, 184, 0.3);
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    background: var(--background-light);
    color: var(--white);
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.form-group textarea {
    resize: vertical;
}

/* Footer */
.footer {
    background: linear-gradient(90deg, var(--christmas-green), var(--primary-color), var(--christmas-green));
    color: var(--white);
    text-align: center;
    padding: 2rem 0;
    border-top: 3px solid var(--christmas-red);
    box-shadow: 0 -5px 20px rgba(196, 30, 58, 0.3);
}

.footer-slogan {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

/* Animations are defined in hero section */

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--primary-color);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.5);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.8rem;
    }

    .hero-text {
        font-size: 1.1rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

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

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

    .contact-content {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .logo span {
        font-size: 1.4rem;
    }

    .logo .slogan {
        font-size: 0.65rem;
    }

    .btn {
        padding: 0.8rem 1.8rem;
        font-size: 0.9rem;
    }
}
