@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@300;400;500;600;700&family=Comic+Neue:wght@300;400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Fredoka', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    line-height: 1.6;
    min-height: 100vh;
}

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

/* Header Styles */
header {
    background: linear-gradient(135deg, #9333ea 0%, #ec4899 50%, #3b82f6 100%);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

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

.cat-emoji {
    width: 60px;
    height: 60px;
    position: relative;
    overflow: visible;
}

.cat-emoji svg {
    width: 100%;
    height: 100%;
}

.logo-text h1 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
}

.logo-text .subtitle {
    font-family: 'Comic Neue', cursive;
    font-size: 1rem;
    margin-top: 0.25rem;
}

/* Navigation Styles */
nav {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

nav a {
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.2);
}

nav a:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
    border-color: rgba(255,255,255,0.4);
}

nav a.active {
    background: rgba(255,255,255,0.3);
    border-color: white;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: rgba(255,255,255,0.2);
    border: 2px solid white;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Fredoka', sans-serif;
}

/* Animated Cat Styles */
.animated-cat-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.animated-cat {
    animation: walkAndSit 12s ease-in-out infinite;
    transform-origin: center;
}

@keyframes walkAndSit {
    0%, 100% { transform: translateX(-20px) scaleX(1); }
    10% { transform: translateX(0px) scaleX(1); }
    20% { transform: translateX(20px) scaleX(1); }
    22%, 38% { transform: translateX(20px) scaleX(1); }
    40% { transform: translateX(20px) scaleX(-1); }
    50% { transform: translateX(0px) scaleX(-1); }
    60% { transform: translateX(-20px) scaleX(-1); }
    62%, 78% { transform: translateX(-20px) scaleX(-1); }
    80% { transform: translateX(-20px) scaleX(1); }
    90% { transform: translateX(-20px) scaleX(1); }
}

#leg-fl, #leg-fr, #leg-bl, #leg-br {
    animation: legStep 0.8s ease-in-out infinite;
}

#leg-fr, #leg-br {
    animation-delay: 0.4s;
}

@keyframes legStep {
    0%, 22%, 38%, 62%, 78%, 100% { transform: translateY(0); }
    10%, 50%, 90% { transform: translateY(-3px); }
}

#tail {
    transform-origin: 30px 100px;
    animation: tailWag 1.5s ease-in-out infinite;
}

@keyframes tailWag {
    0%, 22%, 38%, 62%, 78%, 100% { transform: rotate(0deg); }
    10%, 50%, 90% { transform: rotate(20deg); }
}

/* Hero Section */
.hero {
    background: linear-gradient(180deg, #ffffff 0%, #f3e8ff 100%);
    padding: 4rem 0;
    text-align: center;
}

.hero h2 {
    font-size: 3rem;
    background: linear-gradient(45deg, #f093fb 0%, #f5576c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
}

.hero-text {
    font-size: 1.5rem;
    color: #374151;
    max-width: 800px;
    margin: 0 auto 2rem;
    font-family: 'Comic Neue', cursive;
}

.sparkles {
    font-size: 4rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
}

.sparkle {
    animation: sparkle 2s ease-in-out infinite;
}

.sparkle:nth-child(2) {
    animation-delay: 0.3s;
}

.sparkle:nth-child(3) {
    animation-delay: 0.6s;
}

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

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

.section-white {
    background: white;
}

.section-light {
    background: linear-gradient(135deg, #dbeafe 0%, #e9d5ff 100%);
}

.section-gradient {
    background: linear-gradient(180deg, #f3e8ff 0%, #fce7f3 100%);
}

.section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #6b21a8;
    margin-bottom: 3rem;
}

.section-title-gradient {
    font-size: 3rem;
    background: linear-gradient(45deg, #f093fb 0%, #f5576c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    margin-bottom: 1.5rem;
}

.section-intro {
    text-align: center;
    font-size: 1.25rem;
    color: #6b7280;
    margin-bottom: 3rem;
    font-family: 'Comic Neue', cursive;
}

/* Card Styles */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    border: 2px solid #e5e7eb;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-align: center;
}

.card h3 {
    font-size: 1.5rem;
    color: #7c3aed;
    margin-bottom: 0.5rem;
    text-align: center;
}

.card p {
    color: #4b5563;
    text-align: center;
}

/* Feature Card Styles */
.feature-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    border: 4px solid #a78bfa;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

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

.feature-card h3 {
    font-size: 1.5rem;
    color: #7c3aed;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: #4b5563;
}

/* Course Cards */
.course-level {
    margin-bottom: 3rem;
}

.level-header {
    padding: 2rem;
    border-radius: 24px;
    margin-bottom: 1.5rem;
}

.level-header.elementary {
    background: #f9a8d4;
    border: 4px solid #ec4899;
}

.level-header.middle {
    background: #93c5fd;
    border: 4px solid #3b82f6;
}

.level-header.high {
    background: #c084fc;
    border: 4px solid #a855f7;
}

.level-header h3 {
    font-size: 2rem;
    color: white;
    margin-bottom: 1.5rem;
    text-align: center;
}

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

.course-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    border: 2px solid #e5e7eb;
    transition: transform 0.3s ease;
}

.course-card:hover {
    transform: translateY(-10px) scale(1.02);
}

.course-emoji {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-align: center;
}

.course-card h4 {
    font-size: 1.25rem;
    color: #1f2937;
    margin-bottom: 1rem;
    text-align: center;
}

.course-card p {
    color: #6b7280;
    margin-bottom: 1rem;
}

.paws {
    font-size: 1.5rem;
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 3rem;
    border-radius: 50px;
    font-size: 1.25rem;
    font-weight: bold;
    text-decoration: none;
    transition: transform 0.2s ease;
    cursor: pointer;
    border: none;
    font-family: 'Fredoka', sans-serif;
}

.btn-primary {
    background: white;
    color: #9333ea;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.btn-primary:hover {
    transform: scale(1.1);
}

.btn-secondary {
    background: linear-gradient(135deg, #9333ea 0%, #ec4899 100%);
    color: white;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.btn-secondary:hover {
    transform: scale(1.05);
}

/* Info Box */
.info-box {
    background: #fef3c7;
    border: 4px solid #fbbf24;
    border-radius: 24px;
    padding: 2rem;
    max-width: 700px;
    margin: 2rem auto;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.info-box p {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    text-align: center;
    margin: 0;
}

/* Call to Action Section */
.cta {
    background: linear-gradient(135deg, #9333ea 0%, #ec4899 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.cta-emoji {
    font-size: 5rem;
    margin-bottom: 1.5rem;
}

.cta h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: white;
}

.cta p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-family: 'Comic Neue', cursive;
}

.cta-icons {
    display: flex;
    justify-content: center;
    gap: 3rem;
    font-size: 3rem;
    margin-top: 3rem;
}

.wiggle-icon {
    animation: wiggle 1.5s ease-in-out infinite;
}

.wiggle-icon:nth-child(2) {
    animation-delay: 0.2s;
}

.wiggle-icon:nth-child(3) {
    animation-delay: 0.4s;
}

.wiggle-icon:nth-child(4) {
    animation-delay: 0.6s;
}

@keyframes wiggle {
    0%, 100% { transform: rotate(-3deg); }
    50% { transform: rotate(3deg); }
}

/* Footer */
footer {
    background: #111827;
    color: white;
    padding: 3rem 0;
    text-align: center;
}

footer .footer-emoji {
    font-size: 4rem;
    margin-bottom: 1rem;
}

footer h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

footer p {
    margin-bottom: 0.5rem;
}

.copyright {
    font-size: 0.875rem;
    opacity: 0.6;
    margin-top: 1.5rem;
}

/* Learning Path Styles */
.path-container {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border: 4px solid #a78bfa;
}

.path-step {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.step-number {
    background: #f9a8d4;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
}

.step-number.step-2 {
    background: #93c5fd;
}

.step-number.step-3 {
    background: #a855f7;
}

.step-content h3 {
    font-size: 1.5rem;
    color: #7c3aed;
    margin-bottom: 0.5rem;
}

.step-content p {
    color: #374151;
}

.step-divider {
    width: 4px;
    background: #a78bfa;
    height: 40px;
    margin-left: 28px;
    margin-bottom: 1rem;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

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

.form-group label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #d1d5db;
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Fredoka', sans-serif;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #9333ea;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }

    .logo-text h1 {
        font-size: 1.5rem;
    }

    nav {
        display: none;
        width: 100%;
        flex-direction: column;
    }

    nav.active {
        display: flex;
    }

    nav a {
        width: 100%;
        text-align: center;
    }

    .menu-toggle {
        display: block;
    }

    .hero h2 {
        font-size: 2rem;
    }

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

    .cta h2 {
        font-size: 2rem;
    }

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

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

    .cat-emoji {
        width: 100px;
        height: 75px;
    }
}
