/**
 * FIT4FUN - Style CSS
 * Design: Bianco e Arancione (Tema Chiaro)
 * Font: Inter (body), Montserrat (headings)
 */

/* ========================================
   CSS VARIABLES & RESET
   ======================================== */
:root {
    /* Colors */
    --color-white: #FFFFFF;
    --color-orange-primary: #FF6B35;
    --color-orange-light: #FF8C61;
    --color-orange-dark: #E85A2A;
    --color-orange-50: #FFF4F0;
    --color-orange-100: #FFE5DB;

    --color-gray-900: #1A1A1A;
    --color-gray-800: #2D2D2D;
    --color-gray-700: #404040;
    --color-gray-600: #666666;
    --color-gray-500: #808080;
    --color-gray-400: #999999;
    --color-gray-300: #CCCCCC;
    --color-gray-200: #E5E5E5;
    --color-gray-100: #F5F5F5;
    --color-gray-50: #FAFAFA;

    /* Typography */
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;

    /* Border Radius */
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --radius-xl: 2rem;
    --radius-2xl: 2.5rem;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-orange: 0 10px 30px -5px rgba(255, 107, 53, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-white);
    color: var(--color-gray-900);
    line-height: 1.6;
    overflow-x: hidden;
}

::selection {
    background-color: var(--color-orange-primary);
    color: var(--color-white);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-orange {
    color: var(--color-orange-primary);
}

.gradient-text {
    background: linear-gradient(135deg, var(--color-orange-primary), var(--color-orange-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   HEADER / NAVIGATION
   ======================================== */
.header {
    position: fixed;
    top: 1.5rem;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
    padding: 0 1rem;
}

.nav-container {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border: 2px solid var(--color-orange-100);
    box-shadow: var(--shadow-xl);
    border-radius: var(--radius-full);
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    min-width: 700px;
    transition: all 0.3s ease;
}

.nav-container:hover {
    box-shadow: var(--shadow-orange);
    border-color: var(--color-orange-primary);
}

.logo {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--color-gray-900);
    letter-spacing: -0.02em;
}

.logo-dot {
    color: var(--color-orange-primary);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex: 1;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-gray-600);
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--color-orange-primary);
}

.btn-primary-small {
    background: var(--color-orange-primary);
    color: var(--color-white);
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-orange);
}

.btn-primary-small:hover {
    background: var(--color-orange-dark);
    transform: scale(1.05);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 0.25rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 1.5rem;
    height: 2px;
    background: var(--color-gray-900);
    transition: all 0.3s ease;
}

/* ========================================
   HERO SECTION - NEW DESIGN
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #FAFAFA;
    padding: 8rem 0 4rem;
}

/* Grid Pattern Background */
.her.rooms-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 107, 53, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 107, 53, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 1;
    pointer-events: none;
    /* Allow clicks to pass through */
}

/* Gradient Overlay */
.hero-gradient-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 107, 53, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(255, 140, 97, 0.08) 0%, transparent 50%);
    z-index: 2;
}

/* Hero Layout - Split Screen */
.hero-layout {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: 80vh;
}

/* Left Side - Content */
.hero-content-left {
    animation: slideInLeft 0.8s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Badge */
.hero-badge-new {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--color-white);
    border: 1px solid var(--color-orange-100);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    margin-bottom: 2rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-orange-primary);
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.1);
}

.hero-badge-new svg {
    color: var(--color-orange-primary);
    animation: pulse-scale 2s ease-in-out infinite;
}

@keyframes pulse-scale {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

/* Title */
.hero-title-new {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(3rem, 8vw, 5.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--color-gray-900);
    letter-spacing: -0.02em;
}

.hero-title-gradient {
    background: linear-gradient(135deg, var(--color-orange-primary) 0%, var(--color-orange-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    position: relative;
}

.hero-title-gradient::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-orange-primary), transparent);
    border-radius: 2px;
}

/* Subtitle */
.hero-subtitle-new {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--color-gray-600);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 540px;
}

/* CTA Buttons */
.hero-cta-new {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--color-orange-primary), var(--color-orange-dark));
    color: var(--color-white);
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.4);
}

.btn-hero-primary svg {
    transition: transform 0.3s ease;
}

.btn-hero-primary:hover svg {
    transform: translateX(4px);
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    background: var(--color-white);
    color: var(--color-gray-900);
    border: 2px solid var(--color-gray-200);
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
    border-color: var(--color-orange-primary);
    color: var(--color-orange-primary);
    transform: translateY(-2px);
}

/* Stats Row */
.hero-stats-row {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 1.5rem 0;
    border-top: 1px solid var(--color-gray-200);
}

.hero-stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number-new {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 2rem;
    color: var(--color-orange-primary);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label-new {
    font-size: 0.75rem;
    color: var(--color-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--color-gray-200);
}

/* Right Side - Visual Elements */
.hero-visual-right {
    position: relative;
    height: 500px;
    animation: fadeIn 1s ease-out 0.3s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Floating Cards */
.floating-card {
    position: absolute;
    background: var(--color-white);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--color-gray-100);
    transition: all 0.3s ease;
    cursor: pointer;
}

.floating-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.15);
}

.card-icon {
    font-size: 2.5rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-orange-50);
    border-radius: var(--radius-md);
}

.card-text {
    flex: 1;
}

.card-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    color: var(--color-gray-900);
    margin-bottom: 0.25rem;
}

.card-subtitle {
    font-size: 0.75rem;
    color: var(--color-gray-500);
    font-weight: 500;
}

/* Card Positions & Animations */
.card-1 {
    top: 0;
    right: 0;
    animation: float-card-1 6s ease-in-out infinite;
}

.card-2 {
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    animation: float-card-2 7s ease-in-out infinite;
}

.card-3 {
    bottom: 0;
    right: 20%;
    animation: float-card-3 8s ease-in-out infinite;
}

@keyframes float-card-1 {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes float-card-2 {

    0%,
    100% {
        transform: translateY(-50%) translateX(0px);
    }

    50% {
        transform: translateY(-50%) translateX(10px);
    }
}

@keyframes float-card-3 {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-10px) rotate(2deg);
    }
}

/* Decorative Accents */
.hero-circle-accent {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(255, 140, 97, 0.15));
    top: 10%;
    right: -50px;
    filter: blur(40px);
    animation: pulse-glow 4s ease-in-out infinite;
    z-index: -1;
}

.hero-square-accent {
    position: absolute;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.08), rgba(255, 140, 97, 0.12));
    bottom: 10%;
    left: -30px;
    border-radius: 20px;
    transform: rotate(15deg);
    filter: blur(30px);
    animation: rotate-slow 20s linear infinite;
    z-index: -1;
}

@keyframes rotate-slow {
    from {
        transform: rotate(15deg);
    }

    to {
        transform: rotate(375deg);
    }
}

@keyframes pulse-glow {

    0%,
    100% {
        opacity: 0.08;
        transform: scale(1);
    }

    50% {
        opacity: 0.15;
        transform: scale(1.1);
    }
}

/* Scroll Indicator */
.scroll-indicator-new {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-gray-500);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    z-index: 10;
    animation: bounce-slow 2s ease-in-out infinite;
}

.scroll-indicator-new svg {
    color: var(--color-orange-primary);
}

@keyframes bounce-slow {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-visual-right {
        height: 400px;
        margin: 0 auto;
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 6rem 0 3rem;
    }

    .hero-stats-row {
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    .stat-divider {
        display: none;
    }

    .hero-cta-new {
        flex-direction: column;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        justify-content: center;
    }

    .floating-card {
        padding: 1rem;
    }

    .card-icon {
        width: 50px;
        height: 50px;
        font-size: 2rem;
    }
}

/* OLD HERO STYLES - KEEP FOR OTHER SECTIONS */
.hero-title {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(2.5rem, 8vw, 6.5rem);
    line-height: 0.9;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.hero-title-line {
    display: block;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.5rem);
    color: var(--color-gray-600);
    margin-bottom: 2.5rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    font-weight: 500;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 4rem;
}

.btn-primary {
    position: relative;
    background: linear-gradient(135deg, var(--color-orange-primary), var(--color-orange-dark));
    color: var(--color-white);
    padding: 1.25rem 3rem;
    border-radius: var(--radius-full);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-orange);
    overflow: hidden;
    z-index: 1;
    border: none;
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 35px -5px rgba(255, 107, 53, 0.4);
}

.btn-secondary {
    border: 2px solid var(--color-orange-primary);
    color: var(--color-orange-primary);
    background: var(--color-white);
    padding: 1.25rem 3rem;
    border-radius: var(--radius-full);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--color-orange-50);
    transform: scale(1.05);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 42rem;
    margin: 0 auto;
}

.stat-card {
    background: var(--color-white);
    border: 2px solid var(--color-orange-100);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.stat-card:hover {
    border-color: var(--color-orange-primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-orange);
}

.stat-number {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 2.5rem;
    color: var(--color-orange-primary);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--color-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    color: var(--color-orange-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: bounce 2s ease-in-out infinite;
}

.scroll-indicator span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    opacity: 0.8;
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about {
    padding: 8rem 0;
    background: #FAFAFA;
    /* Match hero background */
    position: relative;
    overflow: hidden;
}

.decorative-blob {
    position: absolute;
    top: 0;
    right: 0;
    width: 24rem;
    height: 24rem;
    background: var(--color-orange-50);
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.7;
    animation: float 6s ease-in-out infinite;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.about-image {
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 4px solid var(--color-orange-100);
    height: 600px;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.floating-badge {
    position: absolute;
    bottom: -2.5rem;
    right: -2.5rem;
    width: 12rem;
    height: 12rem;
    background: var(--color-white);
    border: 3px solid var(--color-orange-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-orange-primary);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.25rem;
    box-shadow: var(--shadow-orange);
    z-index: 10;
    animation: float 6s ease-in-out infinite;
}

.section-label {
    color: var(--color-orange-primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    display: block;
}

.section-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(3rem, 6vw, 4.5rem);
    line-height: 0.85;
    margin-bottom: 2rem;
    color: var(--color-gray-900);
}

.about-intro {
    font-size: 1.25rem;
    color: var(--color-gray-700);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-description {
    font-size: 1.125rem;
    color: var(--color-gray-600);
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.feature-line {
    height: 4px;
    width: 100%;
    background: var(--color-orange-100);
    border-radius: var(--radius-full);
    margin-bottom: 1rem;
}

.feature-item:hover .feature-line {
    background: var(--color-orange-primary);
}

.feature-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-orange-primary);
}

/* ========================================
   COURSES SECTION
   ========================================*/
.courses {
    padding: 8rem 0;
    background: #FAFAFA;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 4rem;
}

.courses-scroll {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding-bottom: 3rem;
    scroll-snap-type: x mandatory;
    /* Custom Scrollbar enabled */
    scrollbar-color: var(--color-orange-primary) var(--color-orange-100);
    scrollbar-width: auto;
    /* Show scrollbar in Firefox */
}

/* Custom Scrollbar for Webkit (Chrome, Safari, Edge) */
.courses-scroll::-webkit-scrollbar {
    height: 12px;
    display: block;
    /* Force display */
}

.courses-scroll::-webkit-scrollbar-track {
    background: var(--color-orange-100);
    border-radius: 10px;
}

.courses-scroll::-webkit-scrollbar-thumb {
    background: var(--color-orange-primary);
    border-radius: 10px;
    border: 3px solid var(--color-orange-100);
    /* Creates padding around thumb */
}

.courses-scroll::-webkit-scrollbar-thumb:hover {
    background: var(--color-orange-dark);
}

.course-card {
    min-width: 350px;
    scroll-snap-align: center;
    background: var(--color-white);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--color-orange-100);
    transition: all 0.3s ease;
    height: 580px;
    display: flex;
    flex-direction: column;
}

.course-card:hover {
    border-color: var(--color-orange-primary);
    box-shadow: var(--shadow-orange);
    transform: translateY(-10px);
}

.course-image {
    height: 66.67%;
    overflow: hidden;
    position: relative;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.course-card:hover .course-image img {
    transform: scale(1.1);
}

.course-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--color-white), transparent);
}

.course-content {
    padding: 2rem;
    height: 33.33%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.course-difficulty {
    background: var(--color-orange-primary);
    color: var(--color-white);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 1rem;
}

.course-name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.875rem;
    color: var(--color-gray-900);
    margin-bottom: 0.75rem;
    line-height: 1.1;
    transition: color 0.3s ease;
}

.course-card:hover .course-name {
    color: var(--color-orange-primary);
}

.course-schedule {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-gray-600);
    border-top: 1px solid var(--color-gray-100);
    padding-top: 1rem;
}

.schedule-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: var(--color-orange-50);
    color: var(--color-orange-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ========================================
   ROOMS SECTION
   ========================================*/
.rooms {
    padding: 8rem 0;
    background: #FAFAFA;
    /* Match hero background */
    position: relative;
    overflow: hidden;
}

.rooms-pattern {
    position: absolute;
    inset: 0;
    background-image: url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><path d="M0 0h60v60H0z" fill="none"/><path d="M30 0L0 30l30 30 30-30z" fill="%23FF6B35" opacity="0.03"/></svg>');
    opacity: 0.5;
}

.section-header-center {
    text-align: center;
    margin-bottom: 4rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--color-gray-600);
    max-width: 42rem;
    margin: 0 auto;
}

.rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.room-card {
    background: var(--color-white);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    border: 2px solid var(--color-orange-primary);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.room-card:hover {
    background: var(--color-orange-50);
    transform: translateY(-8px);
    box-shadow: var(--shadow-orange);
}

.room-image {
    height: 16rem;
    overflow: hidden;
    background: var(--color-gray-100);
}

.room-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.room-card:hover .room-image img {
    transform: scale(1.1);
}

.room-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--color-gray-500);
}

.room-content {
    padding: 2rem;
}

.room-name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--color-orange-primary);
    transition: color 0.3s ease;
}

.room-description {
    color: var(--color-gray-600);
    font-size: 1, 5rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.room-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 2px solid var(--color-orange-100);
    padding-top: 1rem;
}

.room-info {
    color: var(--color-gray-500);
    font-size: 0.875rem;
}

.room-price {
    font-weight: 700;
    color: var(--color-orange-primary);
    font-size: 1.5rem;
}

/* ========================================
   GALLERY SECTION
   ======================================== */
.gallery {
    padding: 8rem 0;
    background: var(--color-white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.gallery-item {
    border: 3px solid var(--color-orange-100);
    border-radius: var(--radius-xl);
    overflow: hidden;
    cursor: pointer;
    height: 16rem;
}

.gallery-item-large {
    grid-column: span 2;
    grid-row: span 2;
    height: auto;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.gallery-item:hover {
    border-color: var(--color-orange-primary);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact {
    padding: 8rem 0;
    background: var(--color-orange-50);
    position: relative;
    overflow: hidden;
}

.contact-pattern {
    position: absolute;
    inset: 0;
    background-image: url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><path d="M0 0h60v60H0z" fill="none"/><path d="M30 0L0 30l30 30 30-30z" fill="%23FF6B35" opacity="0.03"/></svg>');
    opacity: 0.5;
    pointer-events: none;
}

/* ========================================
   BENTO GRID CONTACT SECTION
   ======================================== */
.contact-bento-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-areas:
        "header"
        "map"
        "address"
        "phone"
        "social"
        "deborah";
}

.bento-header {
    grid-area: header;
    text-align: center;
    margin-bottom: 2rem;
}

.bento-map {
    grid-area: map;
    height: 300px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 0;
    position: relative;
}

.bento-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(0.1);
    transition: filter 0.5s ease, transform 0.5s ease;
}

.bento-map:hover iframe {
    filter: grayscale(0);
    transform: scale(1.02);
}

.bento-card {
    background: var(--color-white);
    border: 1px solid rgba(0, 0, 0, 0.05);
    /* Subtle border */
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.08);
    /* Premium soft shadow */
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Decorative accent corner */
.bento-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--color-orange-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.bento-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -12px rgba(255, 107, 53, 0.25);
    /* Colored shadow on hover */
    border-color: rgba(255, 107, 53, 0.2);
}

.bento-card:hover::before {
    opacity: 1;
}

.bento-address {
    grid-area: address;
}

.bento-phone {
    grid-area: phone;
}

.bento-social {
    grid-area: social;
}

/* Inner Content Styling */
.bento-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: var(--color-orange-50);
    color: var(--color-orange-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.bento-card:hover .bento-icon {
    transform: scale(1.1) rotate(5deg);
    background: var(--color-orange-primary);
    color: var(--color-white);
}

.bento-info-content h4 {
    font-size: 0.875rem;
    text-transform: uppercase;
    color: var(--color-gray-500);
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.bento-info-content p,
.bento-info-content a {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-gray-900);
    line-height: 1.4;
    text-decoration: none;
    transition: color 0.2s;
}

.bento-info-content a:hover {
    color: var(--color-orange-primary);
}

/* Social Compact Styling */
.social-buttons-compact {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.social-icon-btn {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f1f1f1;
    color: #444;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-icon-btn svg {
    width: 22px;
    height: 22px;
}

/* Brand Colors on Hover (or active class) */
.social-icon-btn:hover {
    color: white;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.2);
}

/* Specific Brands */
.social-icon-btn.social-instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-icon-btn.social-facebook:hover {
    background: #1877F2;
}

.social-icon-btn.social-tik-tok:hover,
.social-icon-btn.social-tiktok:hover {
    background: #000000;
}

/* Desktop Grid Layout */
@media (min-width: 900px) {
    .contact-bento-grid {
        grid-template-columns: 1.3fr 1fr;
        /* Adjusted for better proportion */
        grid-template-rows: auto 1fr 1fr 0.8fr auto;
        grid-template-areas:
            "header header"
            "map address"
            "map phone"
            "map social"
            "deborah deborah";
        height: auto;
    }

    .bento-header {
        text-align: left;
        margin-bottom: 2rem;
    }

    .bento-map {
        height: 100%;
        min-height: 480px;
        /* Taller map */
    }

    .bento-card {
        padding: 2.5rem;
        /* More breathing room on desktop */
    }
}

/* ========================================
   DEBORAH CARD STYLING
   ======================================== */
.bento-deborah {
    grid-area: deborah;
    overflow: hidden;
    padding: 0 !important;
    /* Remove default padding to let image flush if needed, or keep consistent */
}

.bento-deborah-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    height: 100%;
}

.deborah-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--color-orange-primary);
    flex-shrink: 0;
}

.deborah-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.deborah-info h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-gray-900);
    margin-bottom: 0.5rem;
    font-family: var(--font-display);
}

.deborah-info p {
    font-size: 1.125rem;
    color: var(--color-gray-600);
    font-weight: 500;
}

@media (max-width: 768px) {
    .bento-deborah-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}


/* ========================================
   FOOTER
   ======================================== */
.footer {
    margin-top: 8rem;
    padding-top: 4rem;
    border-top: 3px solid var(--color-orange-primary);
    color: var(--color-gray-900);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    max-width: 28rem;
}

.footer-logo {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.875rem;
    margin-bottom: 1rem;
}

.footer-description {
    color: var(--color-gray-600);
    line-height: 1.6;
}

.footer-heading {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.875rem;
    color: var(--color-orange-primary);
    margin-bottom: 1rem;
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: var(--color-gray-600);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--color-orange-primary);
}

.footer-contact li {
    color: var(--color-gray-600);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 2px solid var(--color-orange-100);
    color: var(--color-gray-600);
    font-size: 0.875rem;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    color: var(--color-gray-600);
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--color-orange-primary);
}

.feature-description {
    color: var(--color-gray-500);
    font-size: 0.875rem;
}

.image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.3), transparent);
}

.badge-content {
    text-align: center;
    line-height: 1.2;
}

.badge-content .small {
    font-size: 0.875rem;
    font-family: var(--font-body);
    font-weight: 400;
    opacity: 0.9;
}

.about-content {
    position: relative;
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

.fade-in-down {
    animation: fadeInDown 0.8s ease-out forwards;
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.delay-1 {
    animation-delay: 0.1s;
    opacity: 0;
}

.delay-2 {
    animation-delay: 0.2s;
    opacity: 0;
}

.delay-3 {
    animation-delay: 0.3s;
    opacity: 0;
}

.delay-4 {
    animation-delay: 0.4s;
    opacity: 0;
}

.delay-5 {
    animation-delay: 0.5s;
    opacity: 0;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1024px) {

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-container {
        min-width: auto;
        width: 100%;
        padding: 1rem 1.5rem;
    }

    .nav-menu {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--color-white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        z-index: 998;
        padding: 2rem;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu .nav-link {
        font-size: 1.5rem;
        color: var(--color-gray-900);
    }

    .mobile-menu-toggle {
        display: flex;
        z-index: 999;
        /* Ensure button is above the menu overlay */
    }

    /* Animate Hamburger to X */
    .mobile-menu-toggle span {
        transition: all 0.3s ease;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
    }

    .stat-card {
        padding: 1rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .features-grid,
    .info-cards {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .course-card {
        min-width: 300px;
    }

    .rooms-grid {
        grid-template-columns: 1fr;
    }

    .scroll-indicator {
        display: none;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
    }

    .contact-form-wrapper {
        padding: 2rem;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   HERO LOGO STYLES
   ======================================== */
.hero-logo-container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
    padding-right: 2rem;
}

.hero-logo {
    width: auto;
    height: 350px;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(255, 107, 53, 0.2));
    animation: float-logo 6s ease-in-out infinite;
}

@keyframes float-logo {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* ========================================
   COURSES HORIZONTAL SCROLL - NEW PREMIUM DESIGN
   ======================================== */
.courses-scroll {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 3rem 0;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: none;
    scrollbar-width: thin;
    scrollbar-color: var(--color-orange-primary) var(--color-gray-100);
}

.courses-scroll::-webkit-scrollbar {
    height: 10px;
}

.courses-scroll::-webkit-scrollbar-track {
    background: var(--color-gray-100);
    border-radius: 10px;
    margin: 0 1rem;
}

.courses-scroll::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, var(--color-orange-primary), var(--color-orange-dark));
    border-radius: 10px;
    border: 2px solid var(--color-gray-100);
}

.courses-scroll::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(90deg, var(--color-orange-dark), var(--color-orange-primary));
}

.course-card {
    flex: 0 0 auto;
    width: 380px;
    height: 480px;
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

.course-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(255, 107, 53, 0.4) 0%,
            rgba(232, 90, 42, 0.35) 50%,
            rgba(26, 26, 26, 0.7) 100%);
    opacity: 0.6;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.course-card:hover::before {
    opacity: 0.7;
}

.course-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 60px rgba(255, 107, 53, 0.35);
}

.course-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.course-card:hover .course-image img {
    transform: scale(1.15);
}

.course-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            transparent 0%,
            rgba(0, 0, 0, 0.3) 50%,
            rgba(0, 0, 0, 0.8) 100%);
    z-index: 1;
}

.course-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2.5rem;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transform: translateY(0);
    transition: transform 0.4s ease;
}

.course-card:hover .course-content {
    transform: translateY(-10px);
}

.course-name {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 2rem;
    color: var(--color-white);
    margin: 0;
    line-height: 1.2;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    letter-spacing: -0.02em;
    position: relative;
    display: inline-block;
}

.course-name::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-orange-primary), transparent);
    border-radius: 2px;
    transition: width 0.4s ease;
}

.course-card:hover .course-name::after {
    width: 100px;
}



/* ========================================
   ROOMS SECTION IMAGE FIX
   ======================================== */
.rooms-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.room-card {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    border: 2px solid var(--color-gray-100);
}

.room-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-orange);
    border-color: var(--color-orange-primary);
}

.room-image {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.room-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.room-card:hover .room-image img {
    transform: scale(1.05);
}

.room-content {
    padding: 2rem;
}

.room-name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--color-gray-900);
    margin-bottom: 0.75rem;
}

.room-description {
    color: var(--color-gray-600);
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .hero-logo {
        height: 200px;
    }

    .hero-logo-container {
        justify-content: center;
        padding-right: 0;
    }

    .course-card {
        width: 280px;
    }

    .rooms-grid {
        grid-template-columns: 1fr;
    }
}