* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

:root {
    /* BotBees Color Palette - Bee-themed */
    --primary: #fbbf24;
    --primary-dark: #f59e0b;
    --primary-light: #fcd34d;
    --secondary: #1f2937;
    --accent: #fbbf24;
    --accent-hover: #f59e0b;
    --success: #10b981;
    --success-dark: #059669;
    --error: #ef4444;
    --error-dark: #dc2626;
    --warning: #f59e0b;
    --warning-light: #fef3c7;
    --warning-border: #fde68a;

    /* Neutral Colors */
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    --bg-white: #ffffff;
    --bg-light: #f9fafb;
    --bg-gray: #f3f4f6;
    --border: #e5e7eb;
    --border-light: #f3f4f6;

    /* Gradient Colors */
    --gradient-primary: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    --gradient-hero: linear-gradient(135deg, rgba(251, 191, 36, 0.1) 0%, rgba(245, 158, 11, 0.1) 100%);

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;

    /* Typography */
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-primary);
    position: relative;
    letter-spacing: -0.01em;
    overflow-x: hidden;
}

/* Background Slideshow */
.slideshow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.slideshow-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.slide.active {
    opacity: 1;
}

/* Header */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    color: var(--text-primary);
    padding: 1.25rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid var(--border);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-primary);
    transition: transform var(--transition-base), opacity var(--transition-base);
    cursor: pointer;
}

.logo-link:hover {
    transform: translateY(-1px);
    opacity: 0.85;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-link h1 {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.logo-tagline {
    margin: 0;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-secondary, #6b7280);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-family: var(--font-body);
}

.robot-emoji {
    font-size: 2rem;
    animation: bounce 2s infinite;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-8px);
    }

    60% {
        transform: translateY(-4px);
    }
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-cta-button {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--transition-base);
    box-shadow: var(--shadow);
    white-space: nowrap;
}

.nav-cta-button:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color var(--transition-fast);
    position: relative;
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width var(--transition-base);
}

.nav-links a:hover {
    color: var(--primary);
}

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

.nav-icon {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    transition: all var(--transition-fast);
    flex-shrink: 0;
}

.nav-links a:hover .nav-icon {
    transform: translateY(-1px);
    stroke: var(--primary);
}

.nav-links a span {
    display: inline-block;
}

/* Hero Section */
.hero {
    background: transparent;
    color: white;
    padding: 14rem 2rem 10rem;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1280px;
    margin: 0 auto;
    min-height: 100vh;
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-content {
    max-width: 1000px;
    position: relative;
    z-index: 3;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.25rem, 5.5vw, 4rem);
    font-weight: 500;
    margin-bottom: 2.5rem;
    color: white;
    line-height: 1.5;
    letter-spacing: -0.01em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4), 0 4px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero-title-main {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: clamp(2.25rem, 5.5vw, 3.75rem);
    color: #ffffff;
    display: block;
    letter-spacing: -0.01em;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2), 0 1px 10px rgba(0, 0, 0, 0.15);
    animation: fadeInUp 0.8s ease-out;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.hero-title-main::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    border-radius: 2px;
    opacity: 0.6;
}

.hero-title-sub {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    color: rgba(255, 255, 255, 0.92);
    display: block;
    letter-spacing: 0.02em;
    margin-top: 0.75rem;
    line-height: 1.6;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1s ease-out 0.2s both;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    max-width: 700px;
    margin: 2rem auto;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-cta-group {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 3rem;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-cta.secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.2);
}

.hero-cta.secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.3);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 3rem 0;
    flex-wrap: wrap;
    padding: 2rem 0;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.stat-item {
    text-align: center;
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all var(--transition-base);
    min-width: 140px;
    flex: 1;
    max-width: 200px;
    overflow: hidden;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 0.5rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    font-family: var(--font-heading);
    line-height: 1.2;
    white-space: nowrap;
}

.stat-item-small-text .stat-value {
    font-size: 1.5rem;
    text-align: center;
    white-space: normal;
    word-wrap: break-word;
}

.hero-cta {
    display: inline-block;
    margin-top: 1rem;
}

.cta-button {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 1.125rem 2.75rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: var(--font-body);
    box-shadow: 0 10px 20px -5px rgba(251, 191, 36, 0.3);
    letter-spacing: -0.01em;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.cta-button::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.5s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px -5px rgba(251, 191, 36, 0.4);
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:active {
    transform: translateY(-1px);
}

.cta-button.large {
    padding: 1.375rem 3.5rem;
    font-size: 1.25rem;
}

.robot-animation {
    font-size: clamp(6rem, 15vw, 10rem);
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(0 10px 30px rgba(251, 191, 36, 0.2));
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Video in Blog Card */
.blog-card-video {
    padding: 0;
    overflow: hidden;
}

.blog-card-video a {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.blog-card-video a:hover .blog-video-thumbnail {
    transform: scale(1.05);
    transition: transform var(--transition-base);
}

.blog-card-video a:hover .blog-video-thumbnail div {
    transform: translate(-50%, -50%) scale(1.1);
    transition: transform var(--transition-base);
}

.blog-video-container {
    width: 100%;
    margin-bottom: 1.25rem;
    position: relative;
    background: #000;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
}

.blog-video-container video {
    width: 100%;
    height: auto;
    display: block;
    background: #000;
}

.blog-card-video .blog-date {
    padding: 0 2rem;
    margin-top: 0;
}

.blog-card-video h3 {
    padding: 0 2rem;
}

.blog-card-video p {
    padding: 0 2rem;
    padding-bottom: 2rem;
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Robotics Intro Section */
.robotics-intro {
    padding: 6rem 2rem;
    background: var(--bg-white);
    text-align: center;
    position: relative;
}

.robotics-intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.robotics-intro h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.intro-text {
    font-size: 1.2rem;
    line-height: 1.9;
    color: var(--text-secondary);
    max-width: 900px;
    margin: 0 auto 3rem;
    font-weight: 400;
}

.section-subtitle {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 3.5rem;
    text-align: center;
    font-weight: 400;
}

.section-cta {
    text-align: center;
    margin-top: 4rem;
}

.contact-cta {
    text-align: center;
    margin-top: 3rem;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Classes Section */
.classes-section {
    padding: 6rem 2rem;
    background: var(--bg-light);
    position: relative;
}

.classes-section h2 {
    text-align: center;
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xl);
    letter-spacing: -0.02em;
}

.classes-slider-wrapper {
    position: relative;
    width: 100%;
}

.classes-grid {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
    padding-bottom: 0.5rem;
    scroll-snap-type: x mandatory;
}

.classes-grid::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
}

.classes-grid>.class-card {
    flex: 0 0 auto;
    width: calc((100% - 4.5rem) / 4);
    /* 4 cards with 3 gaps of 1.5rem */
    min-width: 280px;
    scroll-snap-align: start;
}

/* On larger screens, maintain consistent card size */
@media (min-width: 1200px) {
    .classes-grid>.class-card {
        width: calc((100% - 4.5rem) / 4);
    }
}

.class-card {
    background: var(--bg-white);
    border-radius: 24px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
    height: 100%;
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
    display: flex;
    flex-direction: column;
}

.class-link {
    text-decoration: none;
    color: inherit;
    display: block;
    flex: 1;
    position: relative;
    z-index: 1;
}

.class-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.class-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
}

.class-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px -12px rgba(251, 191, 36, 0.25), 0 0 0 1px rgba(251, 191, 36, 0.1);
    border-color: var(--primary-light);
}

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

.class-card:hover::after {
    opacity: 1;
}

.explore-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
    margin-top: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.explore-link::after {
    content: '→';
    transition: transform 0.3s ease;
}

.class-card:hover .explore-link {
    color: var(--primary-dark);
    gap: 0.75rem;
}

.class-card:hover .explore-link::after {
    transform: translateX(4px);
}

.class-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
}

.class-card:hover .class-icon {
    transform: scale(1.1) rotate(5deg);
}

.class-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.class-card .class-age {
    color: var(--primary);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    margin-top: 0;
    font-family: var(--font-body);
    letter-spacing: 0.02em;
}

.class-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-top: 0.75rem;
    margin-bottom: 1.25rem;
    font-size: 0.9rem;
}

.class-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
    align-items: center;
    position: relative;
    z-index: 10;
}

.classes-pagination {
    display: none;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding: 0.5rem 0;
}

.classes-pagination.active {
    display: flex;
}

.classes-pagination-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(251, 191, 36, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.classes-pagination-dot:hover {
    background: rgba(251, 191, 36, 0.6);
    transform: scale(1.2);
}

.classes-pagination-dot.active {
    background: var(--primary);
    width: 12px;
    height: 12px;
}

.projects-pagination,
.testimonials-pagination {
    display: none;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding: 0.5rem 0;
}

.projects-pagination.active,
.testimonials-pagination.active {
    display: flex;
}

.projects-pagination-dot,
.testimonials-pagination-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(251, 191, 36, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.projects-pagination-dot:hover,
.testimonials-pagination-dot:hover {
    background: rgba(251, 191, 36, 0.6);
    transform: scale(1.2);
}

.projects-pagination-dot.active,
.testimonials-pagination-dot.active,
.personality-pagination-dot.active {
    background: var(--primary);
    width: 12px;
    height: 12px;
}

.personality-pagination {
    display: none;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding: 0.5rem 0;
}

.personality-pagination.active {
    display: flex;
}

.personality-pagination-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(251, 191, 36, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.personality-pagination-dot:hover {
    background: rgba(251, 191, 36, 0.6);
    transform: scale(1.2);
}

.class-actions .curriculum-btn {
    width: 100%;
    max-width: 100%;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    font-size: 0.9rem;
    padding: 0.75rem 1rem;
    position: relative;
    z-index: 11;
}

.class-actions .explore-link {
    margin-top: 0;
    text-decoration: none;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0.5rem 1rem;
}

.class-actions .explore-link:hover {
    color: var(--primary-dark);
    gap: 0.75rem;
}

.enroll-btn,
.curriculum-btn {
    color: white;
    border: none;
    padding: 0.75rem 1.25rem;
    border-radius: 10px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all var(--transition-base);
    font-family: var(--font-body);
    letter-spacing: -0.01em;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.enroll-btn {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    box-shadow: var(--shadow);
}

.enroll-btn:hover {
    background: linear-gradient(135deg, var(--accent-hover) 0%, var(--accent) 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    text-decoration: none;
}

.curriculum-btn {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    box-shadow: var(--shadow);
}

.curriculum-btn:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    text-decoration: none;
}

/* Projects Section */
.projects-section {
    background: var(--bg-white);
    padding: 6rem 2rem;
    position: relative;
}

.projects-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.projects-section h2 {
    text-align: center;
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.projects-slider-wrapper {
    position: relative;
    width: 100%;
}

.projects-grid {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
    padding-bottom: 0.5rem;
    scroll-snap-type: x mandatory;
    max-width: 1280px;
    margin: 0 auto;
}

.projects-grid::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
}

.projects-grid>.project-card {
    flex: 0 0 auto;
    width: calc((100% - 4rem) / 3);
    /* 3 cards with 2 gaps of 2rem */
    min-width: 280px;
    max-width: 400px;
    scroll-snap-align: start;
}

.project-card {
    background: var(--bg-white);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.project-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;
}

.project-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px -12px rgba(251, 191, 36, 0.2);
    border-color: var(--primary-light);
}

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

.project-image {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
}

.project-card:hover .project-image {
    transform: scale(1.15) rotate(-5deg);
}

.project-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.project-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Blog Section */
.blog-section {
    background: var(--bg-white);
    padding: var(--spacing-2xl) 2rem;
    max-width: 1280px;
    margin: 0 auto;
}

.blog-section h2 {
    text-align: center;
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xl);
    letter-spacing: -0.02em;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1280px;
    margin: 0 auto;
}

.blog-card {
    background: var(--bg-white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: all var(--transition-base);
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.blog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--border);
}

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

.blog-image {
    font-size: 3.5rem;
    margin-bottom: 1.25rem;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    text-align: center;
}

.blog-date {
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 500;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.blog-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.blog-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    font-size: 0.95rem;
}

.blog-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: -0.01em;
}

.blog-link:hover {
    color: var(--primary-dark);
    gap: 0.75rem;
}

.blog-link::after {
    content: '→';
    transition: transform var(--transition-fast);
}

.blog-link:hover::after {
    transform: translateX(4px);
}

/* Testimonials Section */
.testimonials-section {
    background: var(--bg-light);
    padding: 6rem 2rem;
    position: relative;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.testimonials-section h2 {
    text-align: center;
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 3rem;
    letter-spacing: -0.02em;
}

.testimonials-slider-wrapper {
    position: relative;
    width: 100%;
}

.testimonials-grid {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
    padding-bottom: 0.5rem;
    scroll-snap-type: x mandatory;
    max-width: 1280px;
    margin: 0 auto;
}

.testimonials-grid::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
}

.testimonials-grid>.testimonial-card {
    flex: 0 0 auto;
    width: calc((100% - 4rem) / 3);
    /* 3 cards with 2 gaps of 2rem */
    min-width: 320px;
    max-width: 420px;
    scroll-snap-align: start;
}

.testimonial-card {
    background: var(--bg-white);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.testimonial-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;
}

.testimonial-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px -12px rgba(251, 191, 36, 0.2);
    border-color: var(--primary-light);
}

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

.testimonial-stars {
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    line-height: 1;
    letter-spacing: 0.1em;
}

.testimonial-text {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    font-size: 1rem;
    font-style: italic;
    position: relative;
    padding-left: 1.5rem;
}

.testimonial-text::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -0.5rem;
    font-size: 3rem;
    color: var(--primary-light);
    font-family: var(--font-heading);
    line-height: 1;
    opacity: 0.3;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-light);
}

.testimonial-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

.testimonial-info h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    letter-spacing: -0.01em;
}

.testimonial-info p {
    font-size: 0.875rem;
    color: var(--text-light);
    margin: 0;
    font-weight: 500;
}

.testimonials-cta {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
}

.testimonial-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--primary, #fbbf24) 0%, var(--primary-dark, #f59e0b) 100%);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
}

.testimonial-share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.4);
    text-decoration: none;
    color: white;
}

.testimonial-share-btn::before {
    content: '⭐';
    font-size: 1.2rem;
}

/* Features Section */
.features-section {
    padding: 6rem 2rem;
    background: var(--bg-white);
    text-align: center;
    position: relative;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.features-section h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

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

.feature-card {
    background: var(--bg-light);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.feature-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;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px -12px rgba(251, 191, 36, 0.15);
    border-color: var(--primary-light);
    background: var(--bg-white);
}

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

.feature-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
}

.feature-card:hover .feature-icon {
    transform: scale(1.15) rotate(5deg);
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Personality Section */
.personality-section {
    padding: 6rem 2rem;
    background: var(--bg-light);
    text-align: center;
    position: relative;
}

.personality-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.personality-section h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.personality-slider-wrapper {
    position: relative;
    width: 100%;
}

.personality-grid {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
    padding-bottom: 0.5rem;
    scroll-snap-type: x mandatory;
    margin-top: 3rem;
}

.personality-grid::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
}

.personality-grid>.personality-card {
    flex: 0 0 auto;
    width: calc((100% - 4rem) / 3);
    /* 3 cards with 2 gaps of 2rem */
    min-width: 280px;
    max-width: 400px;
    scroll-snap-align: start;
}

.personality-card {
    background: var(--bg-white);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-light);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.personality-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;
}

.personality-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px -12px rgba(251, 191, 36, 0.2);
    border-color: var(--primary-light);
}

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

.personality-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
}

.personality-card:hover .personality-icon {
    transform: scale(1.15) rotate(-5deg);
}

.personality-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.personality-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Contact Section */
.contact-section {
    padding: 6rem 2rem;
    background: var(--bg-white);
    text-align: center;
    position: relative;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.contact-section h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

/* Footer */
footer {
    background: var(--text-primary);
    color: white;
    padding: 3rem 2rem 2rem;
}

.footer-content {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.footer-section h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-section ul li a:hover {
    color: white;
}

.footer-bottom {
    max-width: 1280px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-bottom a:hover {
    color: white;
}

/* Curriculum Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    animation: fadeIn var(--transition-base);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-content {
    background-color: var(--bg-white);
    margin: 3% auto;
    padding: 2.5rem;
    border: none;
    border-radius: 24px;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
    position: relative;
    animation: slideDown var(--transition-base);
}

@keyframes slideDown {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close {
    color: var(--text-light);
    float: right;
    font-size: 2rem;
    font-weight: 600;
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    line-height: 1;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.close:hover,
.close:focus {
    color: var(--primary);
    background: var(--bg-light);
}

.modal-content h2 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    margin-bottom: 2rem;
    font-size: 2rem;
    font-weight: 600;
    text-align: center;
    letter-spacing: -0.02em;
}

.curriculum-content {
    margin-top: 2rem;
}

.curriculum-module {
    background: var(--bg-light);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    border-left: 4px solid var(--primary);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.curriculum-module:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-md);
    border-left-color: var(--primary-dark);
}

.curriculum-module-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0;
    cursor: pointer;
    user-select: none;
    position: relative;
    padding: 0.5rem 0;
}

.curriculum-module-header::after {
    content: '▼';
    margin-left: auto;
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: bold;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    display: inline-block;
    line-height: 1;
    padding-left: 0.5rem;
}

.curriculum-module.expanded .curriculum-module-header::after {
    transform: rotate(180deg);
}

/* Default: All content is collapsed */
.curriculum-module .curriculum-module-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease-out, opacity 0.3s ease-out, margin 0.3s ease-out;
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
}

/* Expanded: Content is visible */
.curriculum-module.expanded .curriculum-module-content {
    max-height: 5000px;
    opacity: 1;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    padding-top: 0;
    padding-bottom: 0;
    transition: max-height 0.5s ease-in, opacity 0.4s ease-in, margin 0.3s ease-in;
}

.curriculum-module-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background: var(--gradient-primary);
    color: white;
    border-radius: 12px;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(251, 191, 36, 0.3);
}

.curriculum-module h3 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    flex: 1;
}

.curriculum-module h4 {
    color: var(--text-primary);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-size: 1.15rem;
    font-weight: 600;
    font-family: var(--font-heading);
    letter-spacing: -0.01em;
}

.curriculum-module ul {
    list-style: none;
    padding-left: 0;
    margin: 1.25rem 0;
}

.curriculum-module ul li {
    padding: 0.75rem 0;
    padding-left: 1.75rem;
    position: relative;
    color: var(--text-secondary);
    line-height: 1.7;
}

.curriculum-module ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 700;
    font-size: 1.1rem;
}

.project-box {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 1.75rem;
    margin-top: 1.5rem;
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-sm);
}

.project-box strong {
    color: var(--primary);
    font-size: 1.1rem;
    font-weight: 600;
    display: block;
    margin-bottom: 0.75rem;
    font-family: var(--font-heading);
    letter-spacing: -0.01em;
}

.project-box p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0.5rem 0;
}

/* Responsive Design for Modal */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 5% auto;
        padding: 1.75rem;
        border-radius: 20px;
    }

    .curriculum-module {
        padding: 1.5rem;
    }

    .curriculum-module-header {
        gap: 0.75rem;
    }

    .curriculum-module-number {
        width: 2rem;
        height: 2rem;
        font-size: 1rem;
    }

    .curriculum-module h3 {
        font-size: 1.25rem;
    }
}

/* Tablet Responsive Design */
@media (max-width: 1024px) and (min-width: 769px) {
    .classes-grid>.class-card {
        width: calc((100% - 1.25rem) / 2);
        /* 2 cards with 1 gap of 1.25rem */
        min-width: 320px;
    }

    .class-card {
        padding: 2rem 1.25rem;
    }

    .class-card h3 {
        font-size: 1.3rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        padding: 12rem 1.5rem 6rem;
    }

    .hero-content h1 {
        font-size: 2.25rem;
        gap: 0.4rem;
    }

    .hero-title-main,
    .hero-title-sub,
    .hero-title-highlight {
        font-size: inherit;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .stat-item {
        min-width: 120px;
        padding: 1.25rem 1.5rem;
    }

    .stat-value {
        font-size: 1.75rem;
    }

    .nav-links {
        display: none;
    }

    .nav-cta-button {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }

    .robotics-intro,
    .classes-section,
    .projects-section,
    .testimonials-section,
    .features-section,
    .personality-section,
    .contact-section {
        padding: 4rem 1.5rem;
    }

    .classes-grid {
        overflow-x: visible;
        overflow-y: visible;
        scroll-snap-type: none;
        flex-direction: column;
        gap: 1.5rem;
    }

    .classes-grid>.class-card {
        width: 100%;
        min-width: 100%;
        scroll-snap-align: none;
    }

    .classes-pagination {
        display: none !important;
    }

    .projects-grid>.project-card {
        width: calc(100% - 0rem);
        min-width: 100%;
    }

    .testimonials-grid>.testimonial-card {
        width: calc(100% - 0rem);
        min-width: 100%;
    }

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

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

    .personality-grid>.personality-card {
        width: calc(100% - 0rem);
        min-width: 100%;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    nav {
        padding: 0 1.5rem;
    }

    .logo-link h1 {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 7rem 1rem 3rem;
    }

    .classes-section,
    .projects-section,
    .testimonials-section,
    .blog-section,
    .contact-section {
        padding: var(--spacing-xl) 1rem;
    }

    .class-card,
    .project-card,
    .testimonial-card,
    .blog-card {
        padding: 2rem 1.5rem;
    }

    .blog-card-video .blog-date,
    .blog-card-video h3,
    .blog-card-video p {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}