/* halokeS - Modern Minimalist Elegant CSS */

/* Topik Pelajaran Page Styles - Grade Level & Class Category Components */

/* Section-specific color schemes */
.sd-section .grade-level h3 {
    color: #dc2626; /* Red */
}

.sd-section .subject-icon {
    background: linear-gradient(135deg, #dc2626, #ef4444);
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.3);
}

.sd-section .subject-item:hover {
    background: #dc2626;
    border-color: #dc2626;
}

.sd-section .grade-level:hover {
    border-color: #dc2626;
}

.smp-section .grade-level h3 {
    color: #1e40af; /* Dark Blue */
}

.smp-section .subject-icon {
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    box-shadow: 0 4px 14px rgba(30, 64, 175, 0.3);
}

.smp-section .subject-item:hover {
    background: #1e40af;
    border-color: #1e40af;
}

.smp-section .grade-level:hover {
    border-color: #1e40af;
}

.sma-section .grade-level h3 {
    color: #475569; /* Bluish Gray */
}

.sma-section .subject-icon {
    background: linear-gradient(135deg, #475569, #64748b);
    box-shadow: 0 4px 14px rgba(71, 85, 105, 0.3);
}

.sma-section .subject-item:hover {
    background: #475569;
    border-color: #475569;
}

.sma-section .grade-level:hover {
    border-color: #475569;
}

/* Base styles */
.grade-level {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 40px;
    box-shadow: 0 4px 6px var(--shadow-color);
    transition: all 0.3s ease;
}

.grade-level:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px var(--shadow-color);
}

.grade-level h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    text-align: center;
}

.subject-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.subject-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.subject-item:hover {
    color: white;
    border-width: 2px;
}

.subject-icon {
    font-size: 2rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    flex-shrink: 0;
}

.subject-content {
    flex: 1;
}

.subject-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
}

.subject-text {
    flex: 1;
}

.subject-text h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.subject-text p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

.subject-button {
    flex-shrink: 0;
    margin-top: 4px;
}

.subject-item:hover .subject-content h4,
.subject-item:hover .subject-content p {
    color: white;
}

/* Class selection buttons */
.class-button {
    display: block;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.class-button:hover {
    transform: translateY(-4px);
}

.class-card {
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 24px 16px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px var(--shadow-color);
}

.class-button:hover .class-card {
    border-color: var(--primary-color);
    box-shadow: 0 8px 16px var(--shadow-color);
}

.class-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
    display: block;
}

.class-number {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.class-button:hover .class-number {
    color: var(--primary-color);
}

/* SD Class colors */
.sd-class .class-card {
    border-color: #dc2626;
}

.sd-class .class-icon {
    color: #dc2626;
}

.sd-class:hover .class-card {
    background: rgba(220, 38, 38, 0.05);
}

/* SMP Class colors */
.smp-class .class-card {
    border-color: #1e40af;
}

.smp-class .class-icon {
    color: #1e40af;
}

.smp-class:hover .class-card {
    background: rgba(30, 64, 175, 0.05);
}

/* SMA Class colors */
.sma-class .class-card {
    border-color: #475569;
}

.sma-class .class-icon {
    color: #475569;
}

.sma-class:hover .class-card {
    background: rgba(71, 85, 105, 0.05);
}

.category-title {
    margin-bottom: 32px;
    position: relative;
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: currentColor;
    border-radius: 2px;
}

/* Remove button animations */
.btn {
    transition: none !important;
}

.btn:hover {
    transform: none !important;
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

 :root {
    /* Cheerful Modern Minimalist Color Palette */
    --primary-color: #3b82f6; /* Sky Blue */
    --secondary-color: #64748b; /* Sophisticated Gray */
    --accent-color: #fbbf24; /* Vibrant Yellow */
    --success-color: #10b981; /* Fresh Green */
    --warning-color: #f59e0b; /* Warm Amber */
    --dark-color: #1e293b; /* Deep Slate */
    --light-color: #ffffff; /* Pure White */
    --neutral-color: #64748b; /* Neutral Gray */
    --muted-color: #94a3b8; /* Muted Gray */

    /* Cheerful Gradients */
    --gradient-primary: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    --gradient-accent: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    --gradient-success: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --gradient-joy: linear-gradient(135deg, #3b82f6 0%, #10b981 50%, #fbbf24 100%);
    --gradient-soft: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    --gradient-playful: linear-gradient(45deg, #fef3c7 0%, #dbeafe 50%, #d1fae5 100%);

    /* Bootstrap Color Variables - Cheerful Style */
    --bs-primary: #3b82f6;
    --bs-secondary: #64748b;
    --bs-success: #10b981;
    --bs-info: #3b82f6;
    --bs-warning: #fbbf24;
    --bs-danger: #ef4444;
    --bs-light: #ffffff;
    --bs-dark: #1e293b;

    /* Text and Background Colors */
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-accent: #fef3c7;
    --bg-joy: #f0f9ff;
    --border-color: #e5e7eb;
    --shadow-color: rgba(15, 23, 42, 0.08);
    --shadow-playful: rgba(59, 130, 246, 0.15);
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-primary);
    overflow-x: hidden;
    background: var(--bg-primary);
    line-height: 1.7;
    font-size: 16px;
    font-weight: 400;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(251, 191, 36, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.03) 0%, transparent 50%);
    background-attachment: fixed;
}

/* Navbar Styles - Cheerful & Playful */
.navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 2px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(251, 191, 36, 0.08);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 700;
    color: var(--primary-color) !important;
    font-size: 2rem;
    letter-spacing: -0.025em;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.navbar-brand::after {
    content: '🎓';
    position: absolute;
    right: -30px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    opacity: 0.8;
}

.nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    margin: 0 12px;
    padding: 12px 20px;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-transform: none;
    letter-spacing: 0;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color) !important;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.1), rgba(59, 130, 246, 0.05));
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.15);
}

/* Button Styles - Cheerful & Playful */
.btn-primary {
    background: var(--gradient-primary);
    border: 2px solid transparent;
    border-radius: 16px;
    padding: 16px 32px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.25);
    text-transform: none;
    letter-spacing: 0.5px;
    color: white !important;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: var(--primary-color);
    box-shadow: 0 12px 35px rgba(59, 130, 246, 0.35);
    transform: translateY(-3px) scale(1.05);
    color: white !important;
}

/* Hero Section - Cheerful & Playful */
.hero {
    position: relative;
    min-height: 55vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    text-align: center;
    background: var(--gradient-playful);
    overflow: hidden;
    padding: 50px 0;
    margin-bottom: 30px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(251, 191, 36, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(59, 130, 246, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(16, 185, 129, 0.05) 0%, transparent 50%);
}

.hero::after {
    content: '🎈';
    position: absolute;
    top: 10%;
    right: 10%;
    font-size: 3rem;
    animation: float 6s ease-in-out infinite;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 60px 30px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-primary);
    line-height: 1.2;
    letter-spacing: -0.025em;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    color: var(--text-secondary);
    font-weight: 400;
    line-height: 1.6;
}

/* Section Styles */
.section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 80px;
    text-align: center;
    color: var(--text-primary);
    letter-spacing: -0.025em;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::before {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.section-title::after {
    content: '✨';
    position: absolute;
    right: -40px;
    top: -10px;
    font-size: 1.5rem;
    opacity: 0.7;
}

/* Features Section - Modern Minimalist */
.features {
    background: var(--bg-primary);
    padding: 80px 0;
    position: relative;
}

.feature-card {
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: 24px;
    padding: 48px 40px;
    height: 100%;
    box-shadow: 0 8px 25px rgba(251, 191, 36, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
    color: var(--text-primary);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-joy);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

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

.feature-card:hover {
    transform: translateY(-12px) rotate(1deg);
    box-shadow: 0 25px 50px rgba(251, 191, 36, 0.15);
    border-color: var(--accent-color);
}

.feature-icon {
    width: 88px;
    height: 88px;
    border-radius: 20px;
    background: var(--gradient-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 32px;
    color: white;
    font-size: 2.5rem;
    box-shadow: 0 8px 25px rgba(251, 191, 36, 0.3);
    transition: all 0.3s ease;
    position: relative;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 12px 35px rgba(251, 191, 36, 0.4);
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
    text-transform: none;
    letter-spacing: 0;
}

/* Services Section - Cheerful & Playful */
.service-card {
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.08);
    margin-bottom: 40px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

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

.service-card:hover {
    transform: translateY(-10px) rotate(-0.5deg);
    box-shadow: 0 25px 50px rgba(59, 130, 246, 0.15);
    border-color: var(--primary-color);
}

.service-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--gradient-accent);
    color: white;
    padding: 8px 16px;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: none;
    box-shadow: 0 4px 14px rgba(6, 182, 212, 0.2);
    letter-spacing: 0;
}

.service-content {
    padding: 32px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-icon {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    background: var(--gradient-success);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: white;
    font-size: 1.75rem;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.25);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 35px rgba(16, 185, 129, 0.35);
}

.service-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
    text-transform: none;
    letter-spacing: 0;
}

.service-description {
    margin-bottom: 20px;
    flex-grow: 1;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.service-features {
    list-style: none;
    padding: 0;
    margin-bottom: 24px;
}

.service-features li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    font-weight: 400;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.service-features li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.5rem;
}

.service-price {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 20px;
}

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

.testimonial-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 6px var(--shadow-color);
    margin-bottom: 32px;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px var(--shadow-color);
}

.testimonial-text {
    font-style: normal;
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    font-weight: 400;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-avatar {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    margin-right: 16px;
    object-fit: cover;
    border: 2px solid var(--border-color);
}

/* CTA Section - Vibrant & Cheerful */
.cta {
    background: var(--gradient-joy);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 30% 40%, rgba(16, 185, 129, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(251, 191, 36, 0.2) 0%, transparent 50%);
}

.cta::after {
    content: '🌟';
    position: absolute;
    top: 20%;
    left: 5%;
    font-size: 2rem;
    animation: pulse 3s ease-in-out infinite;
    opacity: 0.6;
}

.cta h2 {
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -0.025em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.cta p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    font-weight: 500;
    opacity: 0.95;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Contact Section */
.contact-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 6px var(--shadow-color);
    margin-bottom: 32px;
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px var(--shadow-color);
}

.contact-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
}

.contact-item {
    flex: 0 0 calc(50% - 16px);
    margin-bottom: 32px;
    display: flex;
    align-items: flex-start;
}

.contact-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: var(--gradient-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    color: white;
    font-size: 1.25rem;
    box-shadow: 0 4px 14px rgba(6, 182, 212, 0.2);
    flex-shrink: 0;
}

.contact-details h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-primary);
    text-transform: none;
}

.contact-details p {
    margin: 0;
    color: var(--text-secondary);
    font-weight: 400;
    font-size: 0.95rem;
}

/* Form Styles */
.form-group {
    margin-bottom: 24px;
}

.form-control, .form-select {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--bg-primary);
    color: var(--text-primary);
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    outline: none;
}

.btn-submit {
    background: var(--gradient-primary);
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 12px 32px;
    font-weight: 500;
    color: white;
    transition: all 0.3s ease;
    width: 100%;
    text-transform: none;
    letter-spacing: 0;
    font-size: 1rem;
    box-shadow: 0 4px 14px var(--shadow-color);
}

.btn-submit:hover {
    background: var(--primary-color);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.25);
    transform: translateY(-2px);
    color: white;
}

/* FAQ Section */
.faq {
    background: var(--bg-primary);
}

.faq-item {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: 0 2px 4px var(--shadow-color);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 8px 16px var(--shadow-color);
}

.faq-question {
    padding: 20px 24px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    background: var(--bg-primary);
    color: var(--text-primary);
    text-transform: none;
    letter-spacing: 0;
}

.faq-question:hover {
    background: var(--bg-accent);
    color: var(--primary-color);
}

.faq-question i {
    transition: transform 0.3s ease;
    font-size: 1.125rem;
    color: var(--text-muted);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--primary-color);
}

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: var(--bg-primary);
    color: var(--text-secondary);
    font-weight: 400;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    padding: 0 24px 20px;
    max-height: 500px;
}

/* Footer - Cheerful & Modern */
footer {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, #f0f9ff 100%);
    color: var(--text-secondary);
    padding: 60px 0 32px;
    border-top: 3px solid var(--accent-color);
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-accent);
}

.footer-links {
    margin-bottom: 40px;
}

.footer-links a {
    color: var(--text-secondary);
    margin-right: 24px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
    font-size: 1rem;
    padding: 8px 16px;
    border-radius: 8px;
}

.footer-links a:hover {
    color: var(--primary-color);
    background: rgba(251, 191, 36, 0.1);
    transform: translateY(-2px);
}

.social-icons {
    margin-top: 40px;
}

.social-icons a {
    color: var(--text-muted);
    font-size: 1.5rem;
    margin-right: 20px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    padding: 12px;
    border: 2px solid transparent;
    border-radius: 12px;
    background: var(--bg-primary);
}

.social-icons a:hover {
    color: var(--primary-color);
    border-color: var(--accent-color);
    background: rgba(251, 191, 36, 0.1);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.2);
}

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

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

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

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

@keyframes wiggle {
    0%, 7% { transform: rotateZ(0); }
    15% { transform: rotateZ(-15deg); }
    20% { transform: rotateZ(10deg); }
    25% { transform: rotateZ(-10deg); }
    30% { transform: rotateZ(6deg); }
    35% { transform: rotateZ(-4deg); }
    40%, 100% { transform: rotateZ(0); }
}

@keyframes rainbow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

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

/* Additional Playful Elements */
.hero-content h1 {
    animation: fadeInUp 0.8s ease-out;
}

.hero-content p {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.btn-primary {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* Fun decorative elements */
.hero::after {
    animation: float 6s ease-in-out infinite;
}

/* Enhanced card interactions */
.feature-card:nth-child(odd):hover {
    transform: translateY(-12px) rotate(1deg);
}

.feature-card:nth-child(even):hover {
    transform: translateY(-12px) rotate(-1deg);
}

/* Playful background patterns */
.section:nth-child(even) {
    background: linear-gradient(135deg, rgba(240, 249, 255, 0.3), rgba(254, 243, 199, 0.2));
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        min-height: 75vh;
    }

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

    .hero p {
        font-size: 1.125rem;
    }

    .section-title {
        font-size: 2.25rem;
        margin-bottom: 50px;
    }

    .contact-item {
        flex: 0 0 100%;
    }

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

    .service-content {
        padding: 24px;
    }

    .feature-card {
        padding: 32px 24px;
    }

    .hero-content {
        padding: 40px 24px;
    }
}

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

    .hero p {
        font-size: 1rem;
    }

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

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

    .service-content {
        padding: 20px;
    }

    .feature-card {
        padding: 24px 20px;
    }
}
