/* ===========================
   CSS Reset & Base Styles
   =========================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Minimalist Color Palette */
    --primary-dark: #1a1a1a;
    --primary-darker: #000000;
    --accent-color: #d32f2f;
    --text-white: #ffffff;
    --text-dark: #1a1a1a;
    --text-gray: #4a4a4a;
    --text-light-gray: #6b6b6b;
    --bg-white: #ffffff;
    --bg-light: #fafafa;
    --bg-lighter: #f5f5f5;
    --border-light: #e0e0e0;
    --border-lighter: #eeeeee;

    /* Minimal Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.10);

    /* Typography - Clean & Simple */
    --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-weight-light: 300;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;

    /* Spacing - More generous white space */
    --section-padding: 80px 24px;
    --section-padding-large: 120px 24px;
    --container-max-width: 1200px;

    /* Transitions - Subtle */
    --transition: all 0.2s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.7;
    font-weight: var(--font-weight-regular);
    color: var(--text-dark);
    background-color: var(--bg-white);
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

/* ===========================
   Header & Navigation
   =========================== */

#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--bg-white);
    z-index: 1000;
    border-bottom: 1px solid var(--border-lighter);
    transition: var(--transition);
}

#header.scrolled {
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.logo-container {
    flex-shrink: 0;
}

.logo {
    height: 45px;
    width: auto;
}

.nav-menu {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-menu a {
    color: var(--text-dark);
    font-weight: var(--font-weight-medium);
    font-size: 15px;
    position: relative;
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--accent-color);
}

.nav-menu a.active {
    color: var(--accent-color);
    font-weight: var(--font-weight-semibold);
}

/* Active state underline indicator for desktop */
.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-color);
}

.cta-button {
    background: var(--accent-color);
    color: var(--text-white);
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: var(--font-weight-semibold);
    font-size: 15px;
    transition: var(--transition);
    white-space: nowrap;
}

.cta-button:hover {
    background: #b71c1c;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    transition: var(--transition-smooth);
}

/* ===========================
   Hero Section
   =========================== */

.hero {
    position: relative;
    height: 80vh;
    min-height: 600px;
    overflow: hidden;
    margin-top: 65px;
}

.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.hero-slide.active {
    opacity: 1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--text-white);
    z-index: 10;
    width: 90%;
    max-width: 700px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: var(--font-weight-bold);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.25rem);
    margin-bottom: 32px;
    font-weight: var(--font-weight-regular);
    opacity: 0.95;
}

.hero-cta {
    display: inline-block;
    background: var(--accent-color);
    color: var(--text-white);
    padding: 16px 40px;
    font-size: 16px;
    font-weight: var(--font-weight-semibold);
    border-radius: 4px;
    transition: var(--transition);
}

.hero-cta:hover {
    background: #b71c1c;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.carousel-indicators {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.indicator.active {
    background-color: var(--text-white);
}

/* ===========================
   Section Styles
   =========================== */

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: var(--font-weight-bold);
    text-align: center;
    margin-bottom: 64px;
    color: var(--text-dark);
}

/* ===========================
   Why Choose Us Section
   =========================== */

.why-choose-us {
    padding: var(--section-padding-large);
    background: var(--bg-white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.benefit-card {
    background: var(--bg-white);
    padding: 40px 28px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.benefit-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.benefit-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.benefit-card h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: var(--font-weight-semibold);
    margin-bottom: 12px;
    color: var(--text-dark);
}

.benefit-card p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-gray);
}

/* ===========================
   Programs Section
   =========================== */

.programs {
    padding: var(--section-padding-large);
    background: var(--bg-light);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.program-card {
    background: var(--bg-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-lighter);
}

.program-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.program-image-container {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.program-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.program-card:hover .program-image {
    transform: scale(1.05);
}

.program-content {
    padding: 28px 24px;
}

.program-content h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: var(--font-weight-semibold);
    margin-bottom: 12px;
    color: var(--text-dark);
}

.program-content p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-gray);
    margin-bottom: 16px;
}

.program-pricing {
    font-weight: var(--font-weight-medium);
    color: var(--text-light-gray);
    font-size: 14px;
}

.program-pricing-link {
    display: inline-block;
    color: var(--accent-color);
    font-weight: var(--font-weight-medium);
    font-size: 14px;
    margin-top: 12px;
    transition: var(--transition);
}

.program-pricing-link:hover {
    color: #b71c1c;
    transform: translateX(4px);
}

/* ===========================
   Pricing Section
   =========================== */

.pricing-section {
    padding: var(--section-padding-large);
    background: var(--bg-white);
}

.pricing-subtitle {
    text-align: center;
    font-size: 17px;
    color: var(--text-gray);
    margin-top: -48px;
    margin-bottom: 56px;
    font-weight: var(--font-weight-regular);
}

.pricing-table-wrapper {
    max-width: 900px;
    margin: 0 auto 40px;
    background: var(--bg-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--font-primary);
}

.pricing-table thead {
    background: var(--primary-dark);
    color: var(--text-white);
}

.pricing-table th {
    padding: 20px 32px;
    text-align: left;
    font-family: var(--font-heading);
    font-weight: var(--font-weight-semibold);
    font-size: 16px;
    letter-spacing: 0.3px;
}

.pricing-table tbody tr {
    border-bottom: 1px solid var(--border-lighter);
    transition: background-color 0.2s ease;
}

.pricing-table tbody tr:last-child {
    border-bottom: none;
}

.pricing-table tbody tr:hover {
    background-color: var(--bg-lighter);
}

.pricing-table tbody tr.highlighted-row {
    background-color: rgba(211, 47, 47, 0.03);
    border-left: 3px solid var(--accent-color);
}

.pricing-table tbody tr.highlighted-row:hover {
    background-color: rgba(211, 47, 47, 0.06);
}

.pricing-table td {
    padding: 28px 32px;
    vertical-align: middle;
}

.student-category {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.category-name {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: var(--font-weight-semibold);
    color: var(--text-dark);
}

.category-age {
    font-size: 14px;
    color: var(--text-light-gray);
    font-weight: var(--font-weight-regular);
}

.price-value {
    display: flex;
    align-items: baseline;
    gap: 6px;
    flex-wrap: wrap;
}

.price-from {
    font-size: 14px;
    color: var(--text-light-gray);
    font-weight: var(--font-weight-regular);
}

.price-amount {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: var(--font-weight-bold);
    color: var(--accent-color);
}

.price-unit {
    font-size: 15px;
    color: var(--text-gray);
    font-weight: var(--font-weight-medium);
}

.price-note {
    font-size: 13px;
    color: var(--text-light-gray);
    font-style: italic;
    margin-left: 8px;
    display: block;
    width: 100%;
    margin-top: 4px;
}

.pricing-footer {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.pricing-note {
    font-size: 14px;
    color: var(--text-light-gray);
    margin-bottom: 24px;
    line-height: 1.6;
}

.pricing-cta {
    display: inline-block;
    background: var(--accent-color);
    color: var(--text-white);
    padding: 16px 40px;
    font-size: 16px;
    font-weight: var(--font-weight-semibold);
    border-radius: 4px;
    transition: var(--transition);
}

.pricing-cta:hover {
    background: #b71c1c;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ===========================
   Instructors Section
   =========================== */

.instructors {
    padding: var(--section-padding-large);
    background: var(--bg-white);
}

.instructors-grid {
    display: grid;
    gap: 40px;
}

.instructor-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.08),
        0 2px 8px rgba(0, 0, 0, 0.04);
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.06);
    position: relative;
}

.instructor-card:hover {
    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.12),
        0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
    border-color: rgba(229, 57, 53, 0.2);
}

.instructor-image-container {
    width: 100%;
    height: 100%;
    min-height: 350px;
    overflow: hidden;
}

.instructor-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.instructor-content {
    padding: 30px 30px 30px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.instructor-content h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: var(--font-weight-semibold);
    margin-bottom: 6px;
    color: var(--text-dark);
}

.instructor-title {
    font-size: 15px;
    font-weight: var(--font-weight-medium);
    color: var(--accent-color);
    margin-bottom: 20px;
}

.instructor-bio {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-gray);
    margin-bottom: 16px;
}

.instructor-social {
    margin: 12px 0 20px 0;
    display: flex;
    gap: 12px;
}

.instructor-social .social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--bg-lighter);
    border: 1px solid var(--border-light);
    border-radius: 6px;
    color: var(--text-gray);
    transition: var(--transition);
}

.instructor-social .social-link:hover {
    background: var(--accent-color);
    color: var(--text-white);
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* ===========================
   Promotions Section
   =========================== */

.promotions-section {
    padding: var(--section-padding-large);
    background: var(--bg-lighter);
    border-top: 1px solid var(--border-lighter);
}

.promotions-subtitle {
    text-align: center;
    font-size: 17px;
    color: var(--text-gray);
    margin-top: -48px;
    margin-bottom: 56px;
    font-weight: var(--font-weight-regular);
}

.promotions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 48px;
}

.promo-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 36px 28px;
    text-align: center;
    transition: var(--transition);
    position: relative;
}

.promo-card.featured {
    border: 2px solid var(--accent-color);
    transform: scale(1.02);
    box-shadow: var(--shadow-md);
}

.promo-ribbon {
    position: absolute;
    top: 16px;
    right: -4px;
    background: var(--accent-color);
    color: var(--text-white);
    font-size: 10px;
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.5px;
    padding: 4px 12px;
    border-radius: 4px 0 0 4px;
}

.promo-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
    border-color: var(--accent-color);
}

.promo-card.featured:hover {
    transform: scale(1.02) translateY(-4px);
}

.promo-card-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.promo-card-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: var(--font-weight-semibold);
    color: var(--text-dark);
    margin-bottom: 12px;
}

.promo-card-description {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-gray);
    margin-bottom: 20px;
}

.promo-card-value {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: var(--font-weight-bold);
    color: var(--accent-color);
}

.promo-strikethrough {
    text-decoration: line-through;
    color: var(--text-light-gray);
    font-size: 16px;
    margin-right: 8px;
}

.promo-free {
    color: var(--accent-color);
    font-size: 22px;
}

.promotions-cta {
    text-align: center;
    margin-top: 48px;
}

.promotions-button {
    display: inline-block;
    background: var(--accent-color);
    color: var(--text-white);
    padding: 16px 40px;
    font-size: 16px;
    font-weight: var(--font-weight-semibold);
    border-radius: 4px;
    transition: var(--transition);
    margin-bottom: 16px;
}

.promotions-button:hover {
    background: #b71c1c;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.promotions-note {
    font-size: 13px;
    color: var(--text-light-gray);
    font-style: italic;
}

/* ===========================
   Google Reviews Section
   =========================== */

.reviews-section {
    padding: var(--section-padding-large);
    background: var(--bg-lighter);
}

.reviews-widget-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--bg-white);
    border-radius: 8px;
    padding: 40px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-lighter);
}

/* Elfsight widget container styling */
.reviews-widget-wrapper [class*="elfsight-app"] {
    min-height: 400px;
}

/* ===========================
   Trial Section
   =========================== */

.trial-section {
    padding: var(--section-padding-large);
    background: var(--bg-lighter);
}

.trial-section .section-title {
    color: var(--text-dark);
    margin-bottom: 16px;
}

.trial-description-centered {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-gray);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 48px;
}

.trial-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-button {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 6px;
    color: var(--text-dark);
    font-size: 16px;
    font-weight: var(--font-weight-medium);
    transition: var(--transition);
}

.contact-button:hover {
    border-color: var(--accent-color);
    box-shadow: var(--shadow-sm);
}

.contact-icon {
    font-size: 20px;
}

.trial-qr {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 400px;
}

.qr-code {
    max-width: 280px;
    margin: 0 auto 16px;
    border-radius: 8px;
    border: 1px solid var(--border-light);
    padding: 16px;
    background: white;
    box-shadow: var(--shadow-sm);
}

.qr-text {
    font-size: 15px;
    color: var(--text-light-gray);
}

/* Trial Section Benefits Enhancement */
.trial-benefits {
    background: var(--bg-white);
    border-left: 3px solid var(--accent-color);
    padding: 20px 24px;
    margin: 32px 0;
    border-radius: 4px;
    box-shadow: var(--shadow-sm);
}

.trial-benefits-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: var(--font-weight-bold);
    color: var(--text-dark);
    margin-bottom: 16px;
}

.trial-benefits-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.trial-benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.6;
}

.benefit-check {
    color: var(--accent-color);
    font-weight: var(--font-weight-bold);
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

.trial-benefits-list strong {
    color: var(--text-dark);
    font-weight: var(--font-weight-semibold);
}

/* Character + Benefits Container - Unified Card */
.trial-left-container {
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    padding: 32px;
    display: flex;
    gap: 32px;
    align-items: flex-start;
    margin: 32px 0;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.trial-left-container:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

/* Subtle accent border */
.trial-left-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, var(--accent-color), #ff6b6b);
}

.trial-character {
    flex-shrink: 0;
    width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.character-image {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.08));
    animation: gentle-float 4s ease-in-out infinite;
}

/* Subtle floating animation for character */
@keyframes gentle-float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

/* Adjust benefits to work within unified card - Remove redundant styling */
.trial-left-container .trial-benefits {
    flex: 1;
    margin: 0;
    min-width: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 8px 0;
    border-radius: 0;
}

/* ===========================
   Footer
   =========================== */

.footer {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 64px 24px 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 48px;
    margin-bottom: 48px;
}

.footer-column h4 {
    font-size: 14px;
    font-weight: var(--font-weight-semibold);
    margin-bottom: 20px;
    color: var(--text-white);
}

.footer-logo {
    height: 50px;
    width: auto;
    margin-bottom: 16px;
}

.footer-about {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--text-white);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-contact li {
    font-size: 14px;
    line-height: 1.6;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.9);
}

.footer-contact a:hover {
    color: var(--text-white);
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: var(--text-white);
    transition: var(--transition);
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.15);
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

/* ===========================
   Scroll to Top Button
   =========================== */

.scroll-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    background-color: var(--accent-color);
    color: var(--text-white);
    border: none;
    border-radius: 4px;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow-md);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background-color: #b71c1c;
}

/* ===========================
   Responsive Design
   =========================== */

@media (max-width: 930px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--primary-dark);
        flex-direction: column;
        gap: 0;
        padding: 20px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu a {
        padding: 15px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        color: rgba(255, 255, 255, 0.8);
    }

    .nav-menu a:hover {
        color: var(--text-white);
    }

    .nav-menu a.active {
        color: var(--text-white);
        background-color: rgba(211, 47, 47, 0.15);
        padding: 2px 20px;
        margin: 0;
        border-left: 3px solid var(--accent-color);
        border-radius: 2px;
        transition: all 0.2s ease;
        display: inline-block;
    }

    /* Remove underline indicator on mobile */
    .nav-menu a.active::after {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .nav-container {
        display: grid;
        grid-template-columns: 1fr auto auto;
        align-items: center;
        gap: 12px;
    }

    .cta-button {
        display: inline-flex;
        padding: 8px 16px;
        font-size: 13px;
        white-space: nowrap;
        order: 2;
    }

    .mobile-menu-toggle {
        order: 3;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .instructor-card {
        grid-template-columns: 1fr;
    }

    .instructor-image-container {
        min-height: 300px;
    }

    .instructor-content {
        padding: 30px;
    }

    .trial-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* Trial character responsive - Tablet */
    .trial-left-container {
        padding: 28px;
        gap: 24px;
    }

    .trial-character {
        width: 160px;
    }

    .trial-benefits-title {
        font-size: 18px;
    }

    .trial-qr {
        min-height: auto;
    }

    .qr-code {
        max-width: 240px;
    }

    .promotions-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .promo-card.featured {
        transform: none;
    }

    .promo-card.featured:hover {
        transform: translateY(-4px);
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px 20px;
    }

    .hero {
        margin-top: 80px;
        min-height: 500px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-cta {
        padding: 14px 30px;
        font-size: 16px;
    }

    .section-title {
        font-size: 28px;
        margin-bottom: 35px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .programs-grid {
        grid-template-columns: 1fr;
    }

    /* Pricing table responsive - Mobile */
    .pricing-table {
        display: block;
    }

    .pricing-table thead {
        display: none;
    }

    .pricing-table tbody,
    .pricing-table tr,
    .pricing-table td {
        display: block;
        width: 100%;
    }

    .pricing-table tbody tr {
        margin-bottom: 16px;
        border-bottom: 2px solid var(--border-light);
        padding-bottom: 20px;
    }

    .pricing-table tbody tr:last-child {
        margin-bottom: 0;
        padding-bottom: 0;
    }

    .pricing-table tbody tr.highlighted-row {
        border-left: none;
        border-top: 3px solid var(--accent-color);
        padding-top: 20px;
    }

    .pricing-table td {
        padding: 12px 24px;
        border: none;
        text-align: left;
    }

    .pricing-table td:first-child {
        padding-top: 20px;
    }

    .pricing-table td:last-child {
        padding-bottom: 20px;
    }

    .pricing-table td::before {
        content: attr(data-label);
        font-weight: var(--font-weight-semibold);
        color: var(--text-dark);
        display: block;
        margin-bottom: 8px;
        font-size: 13px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .student-category {
        gap: 6px;
    }

    .category-name {
        font-size: 20px;
    }

    .category-age {
        font-size: 15px;
    }

    .price-value {
        gap: 8px;
    }

    .price-amount {
        font-size: 32px;
    }

    .price-unit {
        font-size: 16px;
    }

    .pricing-subtitle {
        margin-top: -35px;
        margin-bottom: 40px;
        font-size: 16px;
    }

    .pricing-table-wrapper {
        margin-bottom: 32px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .reviews-widget-wrapper {
        padding: 24px 20px;
        border-radius: 6px;
    }

    .promotions-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .promo-card.featured {
        transform: none;
    }

    .promo-card.featured:hover {
        transform: translateY(-4px);
    }

    .promotions-subtitle {
        margin-top: -35px;
        margin-bottom: 40px;
        font-size: 16px;
    }

    .promo-card {
        padding: 28px 24px;
    }

    .trial-benefits {
        padding: 16px 20px;
        margin: 24px 0;
    }

    .trial-benefits-list li {
        font-size: 14px;
    }

    .trial-description-centered {
        font-size: 16px;
        margin-bottom: 32px;
    }

    /* Trial character responsive - Mobile */
    .trial-left-container {
        flex-direction: column;
        align-items: center;
        padding: 32px 24px;
        gap: 24px;
        text-align: center;
    }

    .trial-character {
        width: 180px;
        order: -1;
    }

    .trial-left-container .trial-benefits {
        width: 100%;
        text-align: left;
    }

    .trial-benefits-list li {
        font-size: 14px;
    }

    .qr-code {
        max-width: 220px;
    }
}

@media (max-width: 480px) {
    .logo {
        height: 40px;
    }

    .nav-container {
        padding: 12px 15px;
    }

    .hero-title {
        font-size: 26px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .section-title {
        font-size: 24px;
    }

    .benefit-card {
        padding: 30px 20px;
    }

    .program-content {
        padding: 20px;
    }

    .instructor-content h3 {
        font-size: 24px;
    }

    .qr-code {
        max-width: 250px;
    }

    /* Trial character responsive - Small Mobile */
    .trial-left-container {
        padding: 24px 20px;
        gap: 20px;
    }

    .trial-character {
        width: 140px;
    }

    .trial-benefits-title {
        font-size: 16px;
        text-align: center;
    }

    /* Pricing responsive - Small Mobile */
    .pricing-table td {
        padding: 10px 20px;
    }

    .price-amount {
        font-size: 28px;
    }

    .category-name {
        font-size: 18px;
    }

    .pricing-cta {
        width: 100%;
        padding: 16px 20px;
    }
}

/* ===========================
   Animations
   =========================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* ===========================
   Accessibility & Focus States
   =========================== */

a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--accent-red);
    outline-offset: 4px;
    border-radius: 4px;
}

/* Reduced Motion Preference */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .character-image {
        animation: none !important;
    }
}

/* Loading Animation for Images - Removed global animation to prevent conflicts with lazy loading */
/* Images will be animated via JavaScript Intersection Observer for better control */

@keyframes imageLoad {
    from {
        opacity: 0;
        filter: blur(10px);
    }
    to {
        opacity: 1;
        filter: blur(0);
    }
}

/* Apply animation only to specific images that need it on page load (e.g., hero, logo) */
.hero-image,
.logo,
.footer-logo {
    animation: imageLoad 0.6s ease-out;
}
