/* Custom fonts */
@font-face {
    font-family: 'Jost';
    src: url('./attached_assets/static/Jost-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Jost';
    src: url('./attached_assets/static/Jost-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Jost';
    src: url('./attached_assets/static/Jost-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Jost';
    src: url('./attached_assets/static/Jost-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

/* CSS Variables */
:root {
    --furniture-primary: hsl(28, 42%, 32%);
    --furniture-accent: hsl(20, 100%, 50%);
    --furniture-accent-hover: hsl(18, 100%, 45%);
    --font-family: 'Jost', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-weight: 400;
    color: #000;
    line-height: 1.6;
}

/* Utility classes */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .container {
        padding: 0 2rem;
    }
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #5c463a 0%, #4a3b30 100%);
}

.background-image {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    /* Behind image but above background */
    pointer-events: none;
    /* Let clicks pass through to background */
}

.hero-image {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    height: 95vh;
    width: auto;
    object-fit: cover;
    z-index: 2;
}

@media (min-width: 1024px) {
    .hero-image {
        height: 95vh;
        max-width: 70%;
        left: auto;
        transform: none;
        right: calc((100vw - 1400px) / 2 + 2rem);
    }
}

.logo-section {
    position: relative;
    z-index: 10;
    padding-top: 1rem;
    padding-right: 1rem;
}

@media (min-width: 768px) {
    .logo-section {
        padding: 50px 2rem 0;
    }
}

@media (min-width: 1024px) {
    .logo-section {
        padding: 120px 0 0;
    }
}

.logo-container {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
}

@media (min-width: 1024px) {
    .logo-container {
        justify-content: flex-start;
    }
}

.main-logo {
    height: 3.5rem;
    width: auto;
    /* Layered shadows for 3D volumetric effect */
    filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.3)) drop-shadow(0 8px 12px rgba(0, 0, 0, 0.3));
    transition: filter 0.3s ease;
}

@media (min-width: 768px) {
    .main-logo {
        height: 5rem;
    }
}

.hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 20;
    padding-bottom: 50px !important;
}

@media (min-width: 1024px) {
    .hero-content {
        padding-bottom: 100px !important;
    }
}

/* Hero Stats */
.hero-stats-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 10px;
    margin-top: 1.5rem;
    width: 100%;
    position: relative;
    z-index: 25;

    /* Glassmorphism effect */
    background: rgba(92, 70, 58, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1.25rem 0.5rem;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2),
        0 2px 8px 0 rgba(0, 0, 0, 0.1),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.3);
}

.hero-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-stat-value {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 1.75rem;
    color: var(--furniture-accent);
    line-height: 1;
    margin-bottom: 0.25rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5), 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-stat-text {
    font-family: var(--font-family);
    font-size: 0.65rem;
    font-weight: 400;
    color: #fff;
    line-height: 1.2;
    text-align: center;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5), 1px 1px 2px rgba(0, 0, 0, 0.3);
}

@media (min-width: 1024px) {
    .hero-stats-container {
        position: absolute;
        width: auto;
        margin-top: 0;
        right: max(2rem, calc((100vw - 1400px) / 2 + 2rem));
        bottom: 100px;
        gap: 2.5rem;
        align-items: flex-start;
        padding: 2rem 2.5rem;
        border-radius: 32px;
    }

    .hero-stat-item {
        align-items: flex-start;
        text-align: left;
        max-width: 200px;
    }

    .hero-stat-value {
        font-size: 3rem;
        margin-bottom: 0.5rem;
    }

    .hero-stat-text {
        font-size: 1rem;
        line-height: 1.3;
        text-align: left;
    }
}

.content-wrapper {
    max-width: 42rem;
    width: 100%;
    text-align: center;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .content-wrapper {
        text-align: left;
        margin: 0;
    }
}

.heading-container {
    margin-bottom: 2rem;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 768px) {
    .heading-container {
        margin-bottom: 3rem;
    }
}

.heading-content {
    position: relative;
    z-index: 10;

    /* Стеклянный фон для заголовка на мобильном */
    background: rgba(92, 70, 58, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1rem 1rem;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2),
        0 2px 8px 0 rgba(0, 0, 0, 0.1),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.3);
}

@media (min-width: 768px) {
    .heading-content {
        background: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border-radius: 0;
        border: none;
        padding: 0;
        box-shadow: none;
    }
}

.main-heading {
    color: white;
    font-weight: 700;
    font-size: 1.85rem;
    line-height: 1.1;
    margin-bottom: 0.75rem;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4), 1px 1px 0px rgba(0, 0, 0, 0.2);
}

@media (min-width: 768px) {
    .main-heading {
        font-size: 3rem;
        margin-bottom: 0.75rem;
    }
}

@media (min-width: 1024px) {
    .main-heading {
        font-size: 3.75rem;
    }
}

@media (min-width: 1280px) {
    .main-heading {
        font-size: 4.5rem;
    }
}

.heading-line {
    display: block;
}

@media (min-width: 768px) {
    .heading-line.accent {
        display: inline;
    }
}

.heading-line.accent {
    color: var(--furniture-accent);
}

.hero-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1.625;
    margin-bottom: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5), 1px 1px 2px rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
    .hero-description {
        font-size: 1.5rem;
        margin-bottom: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .hero-description {
        font-size: 1.5rem;
        margin-bottom: 2.5rem;
    }
}

.accent-text {
    font-weight: 600;
    color: var(--furniture-accent);
}

.sketchup-text {
    font-weight: 700;
    color: var(--furniture-accent);
}

.cta-section {
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (min-width: 1024px) {
    .cta-section {
        align-items: center;
        width: fit-content;
    }
}

.cta-button {
    position: relative;
    width: 100%;
    background-color: var(--furniture-accent);
    color: white;
    font-weight: 600;
    font-size: 1.25rem;
    padding: 1rem 2.5rem;
    border: 2px solid var(--furniture-accent);
    border-radius: 9999px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: all 0.3s ease-out;
    margin-bottom: 0;

    /* Пульсирующая анимация с оранжевыми волнами */
    animation: pulse-waves 2s ease-in-out infinite;
}

/* Keyframes для вылетающих оранжевых волн */
@keyframes pulse-waves {
    0% {
        box-shadow:
            0 0 0 0 rgba(255, 85, 0, 0.25),
            0 0 0 0 rgba(255, 85, 0, 0.18),
            0 0 0 0 rgba(255, 85, 0, 0.12),
            0 10px 15px -3px rgba(0, 0, 0, 0.1),
            0 4px 6px -2px rgba(0, 0, 0, 0.05);
    }

    100% {
        box-shadow:
            0 0 0 15px rgba(255, 85, 0, 0),
            0 0 0 30px rgba(255, 85, 0, 0),
            0 0 0 45px rgba(255, 85, 0, 0),
            0 10px 15px -3px rgba(0, 0, 0, 0.1),
            0 4px 6px -2px rgba(0, 0, 0, 0.05);
    }
}

@media (min-width: 768px) {
    .cta-button {
        width: auto;
        padding: 1.5rem 3.5rem;
    }
}

.cta-button:hover {
    background-color: var(--furniture-accent-hover);
    border-color: var(--furniture-accent-hover);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transform: scale(1.05);
    /* Анимация продолжается при наведении */
}

.button-content {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.arrow {
    margin-left: 0.75rem;
    transition: all 0.3s ease;
}

.cta-button:hover .arrow {
    transform: translateX(0.25rem) scale(1.1);
}

.next-course {
    color: white;
    font-size: 1rem;
    text-align: center;
    margin-bottom: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5), 1px 1px 2px rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
    .next-course {
        text-align: center;
    }
}

/* Hamburger Menu */
.hamburger-menu {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 40;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile Menu Container */
/* Mobile Menu Container */
/* Mobile Menu Container */
.mobile-menu-container {
    position: fixed;
    top: 5rem;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    /* Constrain height */
    z-index: 50;

    /* Animation Start State: Slight slide up and scale down */
    transform-origin: top center;
    transform: translateY(-20px) scale(0.95);
    opacity: 0;

    /* Unified transition for smooth pop-in */
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);

    /* Visual Styles (Moved from content to fix backdrop-filter) */
    background: rgba(92, 70, 58, 0.25);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2),
        0 2px 8px 0 rgba(0, 0, 0, 0.1),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.3);
    padding: 1rem;
    overflow: hidden;

    /* Force hardware acceleration for filters */
    will-change: transform, opacity;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;

    pointer-events: none;
    display: flex;
    flex-direction: column;
}

.mobile-menu-container.active {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu-content {
    /* Styles moved to container to fix blur */
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    width: 100%;

    height: 100%;
    display: flex;
    flex-direction: column;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
    gap: 0;
    padding-bottom: 1vh;
}

.mobile-nav .nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: clamp(1rem, 2.2vh, 1.25rem);
    padding: 0.5vh 1rem;
    text-decoration: none;
    transition: all 0.2s ease;
    border-radius: 16px;
}

.mobile-nav .nav-link:hover,
.mobile-nav .nav-link:active {
    background: rgba(255, 255, 255, 0.1);
    color: var(--furniture-accent);
}

.nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: clamp(2.5rem, 6vh, 3.5rem);
    height: clamp(2.5rem, 6vh, 3.5rem);
    background: transparent;
    border-radius: 12px;
    color: white;
    transition: color 0.2s ease;
    flex-shrink: 0;
}

.nav-icon svg {
    width: 60%;
    height: 60%;
}

.mobile-nav .nav-link:hover .nav-icon {
    background: transparent;
    color: var(--furniture-accent);
}

.nav-text {
    flex: 1;
}

.mobile-cta-button {
    width: 100%;
    margin-top: auto;
    background-color: var(--furniture-accent);
    color: white;
    font-weight: 600;
    font-size: clamp(1rem, 2.2vh, 1.25rem);
    padding: clamp(0.75rem, 2vh, 1rem) 2.5rem;
    border: 2px solid var(--furniture-accent);
    border-radius: 9999px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: all 0.3s ease-out;
    display: flex;
    align-items: center;
    justify-content: center;

    /* Animation consistent with hero button */
    animation: pulse-waves 2s ease-in-out infinite;
}

.mobile-cta-button:hover {
    background-color: var(--furniture-accent-hover);
    border-color: var(--furniture-accent-hover);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transform: scale(1.05);
}

.mobile-cta-button .arrow {
    margin-left: 0.75rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.mobile-cta-button:hover .arrow {
    transform: translateX(0.25rem) scale(1.1);
}

/* Hide updated menu on desktop */
@media (min-width: 1024px) {

    .mobile-menu-container,
    .mobile-menu-overlay {
        display: none;
    }
}


/* Hamburger Menu */
.hamburger-menu {
    position: fixed;
    top: 1rem;
    left: 1rem;
    padding: 0.5rem;
    z-index: 100;
    border-radius: 50%;
    border: none;
    background-color: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

@media (min-width: 1024px) {
    .hamburger-menu {
        display: none;
    }
}

.hamburger-menu.active {
    background-color: transparent;
    box-shadow: none;
}

.hamburger-lines {
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.line {
    width: 1.5rem;
    height: 0.125rem;
    margin-bottom: 0.25rem;
    transition: all 0.3s ease;
    background-color: #f97316;
}

.hamburger-menu.active .line {
    background-color: #f97316;
}

.hamburger-menu.active .line-1 {
    transform: rotate(45deg) translateY(0.5rem);
}

.hamburger-menu.active .line-2 {
    opacity: 0;
}

.hamburger-menu.active .line-3 {
    transform: rotate(-45deg) translateY(-0.5rem);
}

/* Sticky Navigation (Floating Bottom Menu) */
.sticky-nav {
    position: fixed;
    bottom: 2rem;
    top: auto;
    left: 50%;
    transform: translateX(-50%) translateY(150%);
    z-index: 100;
    width: auto;
    max-width: 95vw;

    /* Glassmorphism effect */
    background: rgba(92, 70, 58, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);

    padding: 0.5rem 0.5rem;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: none;
    /* Hidden by default on mobile/tablet */
}

.sticky-nav.visible {
    transform: translateX(-50%) translateY(0);
}

@media (min-width: 1024px) {
    .sticky-nav {
        display: block;
    }
}

.nav-container {
    width: auto;
    margin: 0;
    padding: 0;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto;
    padding: 0;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    position: relative;
    z-index: 10;
}

/* Hide the sliding background for now as we are using a different style */
.nav-background {
    display: none;
}

.desktop-nav .nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 1.1rem;
    padding: 0.75rem 1.25rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 50px;
    white-space: nowrap;
}

.desktop-nav .nav-link:hover,
.desktop-nav .nav-link.active {
    background: rgba(92, 70, 58, 0.85);
    color: white;
    box-shadow: none;
}

.desktop-nav .nav-link:hover .nav-icon,
.desktop-nav .nav-link.active .nav-icon {
    color: white;
}

.desktop-nav .nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.desktop-nav .nav-icon svg {
    width: 100%;
    height: 100%;
}

.desktop-nav .nav-text {
    display: block;
}

/* Remove old logo and button styles if they exist inside nav-content in simplified HTML */
.nav-logo,
.nav-cta-button {
    display: none !important;
}



/* Content Sections */
.content-sections {
    scroll-margin-top: 90px;
}

/* About Section */
.about-section {
    padding: 50px 0;
    background-color: #f8f4f0;
    border-bottom: 1px solid rgba(107, 74, 50, 0.3);
}

@media (min-width: 1024px) {
    .about-section {
        padding: 50px 0;
    }
}

/* Speakers Section */
.speakers-section {
    padding: 50px 2rem;
    border-bottom: 1px solid rgba(107, 74, 50, 0.3);
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

@media (min-width: 1024px) {
    .speakers-section {
        padding: 50px 2rem;
    }
}

/* Why Us Section */
.why-us-section {
    padding: 50px 0;
    background-color: #f8f4f0;
    border-bottom: 1px solid rgba(107, 74, 50, 0.3);
}

@media (min-width: 1024px) {
    .why-us-section {
        padding: 50px 0;
    }
}

/* General Sections */
.section,
.about-section,
.speakers-section,
.why-us-section,
.students-section,
.program-section,
.video-lessons-section,
.results-section,
.prices-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    /* justify-content: center; Removed to avoid clipping on mobile */
}

/* Center content vertically if space permits, otherwise scroll */
.section>.container,
.about-section>.container,
.speakers-section>.container,
.why-us-section>.container,
.students-section>.container,
.program-section>.container,
.video-lessons-section>.container,
.results-section>.container,
.prices-section>.container {
    margin-top: auto;
    margin-bottom: auto;
    width: 100%;
    /* Ensure container takes full width */
}

.section {
    padding: 50px 2rem;
    border-bottom: 1px solid rgba(107, 74, 50, 0.3);
}

@media (max-width: 1023px) {
    .section {
        padding: 50px 0;
    }
}

/* Specific sections with light background */
#program,
#results {
    background-color: #f8f4f0 !important;
}

@media (min-width: 1024px) {
    .section {
        padding: 50px 2rem;
    }
}

/* Program Section Styles */
.program-section {
    padding: 50px 0;
}

@media (min-width: 1024px) {
    .program-section {
        padding: 50px 0;
    }
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

.about-text {
    text-align: center;
    padding: 0 2rem;
}

@media (min-width: 768px) {
    .about-text {
        text-align: left;
    }
}

@media (min-width: 1024px) {
    .about-text {
        padding: 0;
    }
}

.section-heading {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--furniture-primary);
    margin-bottom: 1rem;
    margin-top: 0;
}

@media (min-width: 768px) {
    .section-heading {
        font-size: 1.875rem;
    }
}

.section-text {
    font-size: 1.125rem;
    line-height: 1.625;
    color: black;
    font-weight: 400;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .section-text {
        font-size: 1.25rem;
    }
}

/* Statistics */
.stats-mobile {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 768px) {
    .stats-mobile {
        display: none;
    }
}

.stats-mobile .stat-item {
    display: flex;
    align-items: center;
}

.stats-mobile .stat-number {
    width: 40%;
    text-align: right;
    padding-right: 0.25rem;
}

.stats-mobile .stat-description {
    width: 60%;
    padding-left: 0.25rem;
}

.stats-mobile .stat-value {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--furniture-accent);
}

.stats-mobile .stat-description p {
    font-size: 1rem;
    color: black;
    text-align: left;
    line-height: 1.2;
    font-weight: 400;
}

.stats-desktop {
    display: none;
}

@media (min-width: 768px) {
    .stats-desktop {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem 4rem;
        /* Row gap 2rem, Column gap 4rem for better spacing */
        align-items: start;
    }
}

.stats-desktop .stat-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.stats-desktop .stat-value {
    font-size: 3rem;
    font-weight: 700;
    color: var(--furniture-accent);
}

.stats-desktop .stat-item p {
    font-size: 1.125rem;
    color: black;
    text-align: left;
    line-height: 1.2;
    font-weight: 400;
}

.about-image {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 2rem;
}

@media (min-width: 1024px) {
    .about-image {
        padding: 0;
        justify-content: flex-end;
    }
}

.graduates-image {
    width: 100%;
    height: 16rem;
    object-fit: cover;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

@media (min-width: 1024px) {
    .graduates-image {
        height: 500px;
        width: 100%;
        max-width: none;
    }
}

/* Speakers Section */
.speakers-section {
    padding: 100px 2rem;
    border-bottom: 1px solid rgba(107, 74, 50, 0.3);
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

@media (min-width: 1024px) {
    .speakers-section {
        padding: 150px 2rem;
    }
}

.page-heading {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--furniture-primary);
    text-align: center;
    margin-bottom: 3rem;
    margin-top: 0;
}

@media (min-width: 768px) {
    .page-heading {
        font-size: 1.875rem;
    }
}

.speakers-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 96rem;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .speakers-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

.founder-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.founder-photo {
    margin-bottom: 1.5rem;
    width: 100%;
}

.photo-placeholder {
    width: 16rem;
    height: 16rem;
    margin: 0 auto;
    background-color: #e5e7eb;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-placeholder span {
    color: #6b7280;
    font-size: 0.875rem;
}

.founder-image {
    width: 16rem;
    height: 16rem;
    margin: 0 auto;
    object-fit: cover;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    display: block;
}

.founder-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--furniture-primary);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--furniture-primary);
    margin-bottom: 0.5rem;
}

.founder-description {
    font-size: 1rem;
    color: black;
    font-size: 1rem;
    color: black;
    margin-bottom: 0.5rem;
    line-height: 1.2;
    max-width: 400px;
    /* Slightly wider than photo (approx 16rem = 256px) */
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

.founder-credentials {
    font-size: 1rem;
    color: black;
    line-height: 1.2;
    font-weight: 400;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0.5rem;
}

/* Why Us Section */
.why-us-section {
    padding: 50px 0;
    background-color: #f8f4f0;
    border-bottom: 1px solid rgba(107, 74, 50, 0.3);
}

@media (min-width: 1024px) {
    .why-us-section {
        padding: 50px 0;
    }
}

/* Main heading styling */
.why-us-section .page-heading {
    text-align: center;
    margin-bottom: 3rem;
}

/* New two-column layout for Why Us section */
.why-us-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    padding: 0 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .why-us-content {
        flex-direction: row;
        gap: 1rem;
        padding: 0;
        align-items: stretch;
    }
}

/* Left column - Images */
.why-us-images-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .why-us-images-column {
        flex: 1;
        gap: 3rem;
        justify-content: flex-start;
        align-items: center;
    }
}

.why-us-kitchen-image {
    width: 100%;
    height: auto;
    max-width: 500px;
    object-fit: contain;
    background: transparent;
    border: none;
}

@media (min-width: 1024px) {
    .why-us-kitchen-image {
        max-width: 100%;
    }
}

/* Right column - Text */
.why-us-text-column {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
}

@media (min-width: 1024px) {
    .why-us-text-column {
        flex: 1;
        gap: 0.75rem;
        text-align: left;
    }
}

.feature-item {
    margin-bottom: 0.5rem;
    text-align: center;
}

@media (min-width: 1024px) {
    .feature-item {
        margin-bottom: 0.75rem;
        text-align: left;
    }
}

.feature-item:last-child {
    margin-bottom: 0;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--furniture-primary);
    margin-bottom: 0.25rem;
    display: block;
}

@media (min-width: 768px) {
    .feature-title {
        font-size: 1.375rem;
    }
}

.feature-text {
    font-size: 1rem;
    line-height: 1.3;
    color: black;
    font-weight: 400;
    max-width: none;
    margin: 0;
}

@media (min-width: 768px) {
    .feature-text {
        font-size: 1.125rem;
    }
}

/* General Sections */
.section {
    padding: 50px 2rem;
    border-bottom: 1px solid rgba(107, 74, 50, 0.3);
}

@media (max-width: 1023px) {
    .section {
        padding: 50px 0;
    }
}

/* Specific sections with light background */
#program,
#results {
    background-color: #f8f4f0 !important;
}

@media (min-width: 1024px) {
    .section {
        padding: 50px 2rem;
    }
}

.section-content {
    max-width: 64rem;
    margin: 0 auto;
    text-align: center;
}

/* Program Section Styles */
.program-section {
    padding: 50px 0;
}

@media (min-width: 1024px) {
    .program-section {
        padding: 50px 0;
    }
}

/* Main heading styling */
.why-us-section .page-heading {
    text-align: center;
    margin-bottom: 3rem;
}

/* New two-column layout for Why Us section */
.why-us-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    padding: 0 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .why-us-content {
        flex-direction: row;
        gap: 1rem;
        padding: 0;
        align-items: stretch;
    }
}

/* Left column - Images */
.why-us-images-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .why-us-images-column {
        flex: 1;
        gap: 3rem;
        justify-content: flex-start;
        align-items: center;
    }
}

.why-us-kitchen-image {
    width: 100%;
    height: auto;
    max-width: 500px;
    object-fit: contain;
    background: transparent;
    border: none;
}

@media (min-width: 1024px) {
    .why-us-kitchen-image {
        max-width: 100%;
    }
}

/* Right column - Text */
.why-us-text-column {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
}

@media (min-width: 1024px) {
    .why-us-text-column {
        flex: 1;
        gap: 0.75rem;
        text-align: left;
    }
}

.feature-item {
    margin-bottom: 0.5rem;
    text-align: center;
}

@media (min-width: 1024px) {
    .feature-item {
        margin-bottom: 0.75rem;
        text-align: left;
    }
}

.feature-item:last-child {
    margin-bottom: 0;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--furniture-primary);
    margin-bottom: 0.25rem;
    display: block;
}

@media (min-width: 768px) {
    .feature-title {
        font-size: 1.375rem;
    }
}

.feature-text {
    font-size: 1rem;
    line-height: 1.3;
    color: black;
    font-weight: 400;
    max-width: none;
    margin: 0;
}

@media (min-width: 768px) {
    .feature-text {
        font-size: 1.125rem;
    }
}

/* General Sections */
.section {
    padding: 100px 2rem;
    border-bottom: 1px solid rgba(107, 74, 50, 0.3);
}

@media (max-width: 1023px) {
    .section {
        padding: 100px 0;
    }
}

/* Specific sections with light background */
#program,
#results {
    background-color: #f8f4f0 !important;
}

@media (min-width: 1024px) {
    .section {
        padding: 150px 2rem;
    }
}

.section-content {
    max-width: 64rem;
    margin: 0 auto;
    text-align: center;
}

/* Program Section Styles */
.program-section {
    padding: 100px 0;
}

@media (min-width: 1024px) {
    .program-section {
        padding: 150px 0;
    }
}

.program-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

@media (max-width: 1023px) {
    .program-content {
        padding: 0;
    }
}

/* New Layout Styles */
.program-layout {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 3rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

/* Mobile accordion layout */
@media (max-width: 1023px) {
    .program-layout {
        flex-direction: column;
        gap: 0;
        margin-left: 0;
        margin-right: 0;
    }
}

@media (min-width: 1024px) {
    .program-layout {
        flex-direction: row;
        gap: 0;
        align-items: flex-start;
        /* Let items be their natural height */
    }
}

/* Left Column - Navigation */
.program-navigation {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid #ddd;
    border-right: none;
    position: relative;
    z-index: 2;
    overflow: hidden;
}

/* Mobile navigation styles */
@media (max-width: 1023px) {
    .program-navigation {
        border: none;
    }
}

@media (min-width: 1024px) {
    .program-navigation {
        flex: 0 0 320px;
        gap: 0;
        /* height: 100%; Removed to allow auto height */
    }
}

.week-nav-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    padding: 1rem 1.5rem;
    background: white;
    border-bottom: 1px solid #ddd;
    cursor: pointer;
    border-radius: 0;
    position: relative;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.week-nav-item:last-child {
    border-bottom: none;
}

/* Mobile tab styles */
@media (max-width: 1023px) {
    .week-nav-item {
        border: 1px solid #ddd;
        border-bottom: none;
        position: relative;
    }

    .week-nav-item:last-child {
        border-bottom: 1px solid #ddd;
    }

    .week-nav-item.active::after {
        display: none;
    }
}

.week-nav-item:last-child {
    border-bottom: none;
}

.week-nav-item:hover {
    background: #e9e9e9;
}

.week-nav-item.active {
    background: #6b4a32;
    color: white;
}

.week-nav-item.active::after {
    content: '';
    position: absolute;
    right: -1px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-right: 15px solid white;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    z-index: 3;
}

.week-nav-number {
    display: none;
}


.week-nav-text h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0 0 0.25rem 0;
    color: var(--furniture-primary);
}

.week-nav-item.active .week-nav-text h4 {
    color: white;
}

.week-nav-text p {
    font-size: 0.875rem;
    margin: 0;
    color: #6b7280;
    font-weight: 400;
}

.week-nav-item.active .week-nav-text p {
    color: rgba(255, 255, 255, 0.8);
}

/* Mobile specific - style week titles like "Why Us" section headings */
@media (max-width: 1023px) {

    /* Make "Неделя X" look like headings in "Why Us" section */
    .week-nav-text h4 {
        font-size: 1.25rem;
        font-weight: 700;
        color: var(--furniture-primary);
    }

    .week-nav-item.active .week-nav-text h4 {
        color: white;
    }

    /* Make "Материалы" smaller and secondary */
    .week-nav-text p {
        font-size: 0.875rem;
        font-weight: 400;
        color: #6b7280;
    }

    .week-nav-item.active .week-nav-text p {
        color: rgba(255, 255, 255, 0.8);
    }
}

/* Right Column - Content Area */
.program-content-area {
    flex: 1;
    position: relative;
    border: 1px solid #ddd;
    border-left: none;
    background: white;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    z-index: 1;
}

/* Mobile content area - hidden by default */
@media (max-width: 1023px) {
    .program-content-area {
        display: none;
    }
}

.week-content {
    display: none;
    background: white;
    border: none;
    padding: 2rem;
    flex: 1;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

@media (min-width: 768px) {
    .week-content {
        padding: 2.5rem;
    }
}

.week-content.active {
    display: flex;
    flex-direction: column;
    height: 100%;
    opacity: 1;
    transform: translateX(0);
}

/* Mobile inline content styles */
.week-content-mobile {
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-top: none;
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

@media (max-width: 1023px) {
    .week-content-mobile.active {
        padding: 1.5rem;
        padding-bottom: 2rem;
        /* Extra bottom padding for better spacing */
    }
}

.week-content-header {
    margin-bottom: 2rem;
    text-align: center;
}

@media (min-width: 768px) {
    .week-content-header {
        text-align: left;
    }
}

.week-content-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--furniture-primary);
    margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
    .week-content-title {
        font-size: 1.875rem;
    }
}

.week-content-description {
    font-size: 1.125rem;
    color: #6b7280;
    margin: 0;
    font-weight: 400;
}

@media (min-width: 768px) {
    .week-content-description {
        font-size: 1.25rem;
    }
}

.week-content-topics {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Mobile specific - reduce spacing between lists */
@media (max-width: 1023px) {
    .week-content-topics {
        gap: 0.125rem;
    }
}

.week-content-topics li {
    font-size: 1rem;
    line-height: 1.5;
    color: black;
    padding: 0.75rem 1rem;
    background: transparent;
    border-radius: 0;
    position: relative;
    font-weight: 400;
    padding-left: 2.5rem;
}

@media (min-width: 768px) {
    .week-content-topics li {
        font-size: 1.125rem;
        padding: 0.875rem 1rem 0.875rem 3rem;
    }
}

.week-content-topics li:hover {
    background: transparent;
}

.week-content-topics li:before {
    content: '✓';
    color: var(--furniture-accent);
    font-weight: bold;
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2em;
    width: 24px;
    height: 24px;
    background: var(--furniture-accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
}

@media (min-width: 768px) {
    .week-content-topics li:before {
        left: 1rem;
    }
}

/* Video Lessons Section */
.video-lessons-section {
    padding: 50px 0;
    border-bottom: 1px solid rgba(107, 74, 50, 0.1);
}

.video-lessons-section .page-heading {
    margin-bottom: 1rem;
}

/* GetCourse brand styling */
.getcourse-brand {
    color: #ff6b35;
    font-weight: 700;
}

@media (min-width: 1024px) {
    .video-lessons-section {
        padding: 50px 0;
    }
}

/* Video Tabs Container */
.video-tabs-container {
    border: 1px solid rgba(107, 74, 50, 0.2);
    border-radius: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    background: white;
    margin: 2rem 0;
    overflow: hidden;
}

/* Video Tabs */
.video-tabs {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 0;
    background: #f8f4f0;
    position: relative;
    overflow: hidden;
}

/* Mobile active tab background indicator */
.video-tabs::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100% / 3);
    /* Equal height for 3 tabs */
    background: var(--furniture-primary);
    transition: transform 0.4s ease-in-out;
    transform: translateY(0%);
    z-index: 1;
}

@media (min-width: 768px) {
    .video-tabs {
        flex-direction: row;
        justify-content: center;
        gap: 0;
        border-radius: 0;
        padding: 0;
        margin: 0;
    }

    /* Desktop: change to horizontal background indicator */
    .video-tabs::after {
        width: calc(100% / 3);
        /* Equal width for 3 tabs */
        height: 100%;
        transform: translateX(0%);
    }

    /* Active indicator positions for desktop */
    .video-tabs[data-active="0"]::after {
        transform: translateX(0%);
    }

    .video-tabs[data-active="1"]::after {
        transform: translateX(100%);
    }

    .video-tabs[data-active="2"]::after {
        transform: translateX(200%);
    }
}

/* Active indicator positions for mobile */
@media (max-width: 767px) {
    .video-tabs[data-active="0"]::after {
        transform: translateY(0%);
    }

    .video-tabs[data-active="1"]::after {
        transform: translateY(100%);
    }

    .video-tabs[data-active="2"]::after {
        transform: translateY(200%);
    }
}

.video-tab {
    background: transparent;
    border: none;
    color: var(--furniture-primary);
    padding: 1rem 1.5rem;
    border-radius: 0;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    white-space: nowrap;
    position: relative;
    z-index: 2;
}

@media (min-width: 768px) {
    .video-tab {
        flex: 1;
        border: none;
        border-radius: 0;
        background: transparent;
        font-size: 0.95rem;
        padding: 1rem 1.5rem;
        text-align: left;
        position: relative;
        z-index: 2;
        transition: color 0.4s ease-in-out;
    }
}

@media (min-width: 1024px) {
    .video-tab {
        font-size: 1rem;
        padding: 1.125rem 2rem;
    }
}

.video-tab:hover {
    background: rgba(107, 74, 50, 0.1);
    color: var(--furniture-primary);
}

@media (min-width: 768px) {
    .video-tab:hover {
        background: rgba(107, 74, 50, 0.1);
        color: var(--furniture-primary);
    }
}

.video-tab.active {
    background: transparent;
    color: white;
    border: none;
}

@media (min-width: 768px) {
    .video-tab.active {
        background: transparent;
        color: white;
        box-shadow: none;
        border-radius: 0;
        margin: 0;
        font-weight: 700;
    }
}

/* Video Content */
.video-content-wrapper {
    margin-top: 0;
    border: none;
    border-radius: 0;
    overflow: hidden;
    background: white;
    position: relative;
    height: 400px;
}

@media (min-width: 768px) {
    .video-content-wrapper {
        height: 500px;
    }
}

@media (min-width: 1024px) {
    .video-content-wrapper {
        height: 600px;
    }
}

.video-content-track {
    display: flex;
    width: 300%;
    /* 3 tabs = 300% */
    height: 100%;
    transition: transform 0.4s ease-in-out;
    transform: translateX(0%);
}

.video-content {
    flex: 0 0 33.333333%;
    /* Each tab takes 1/3 of track width */
    width: 33.333333%;
    height: 100%;
    position: relative;
}

.video-content.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
    z-index: 2;
}

.video-content.slide-left {
    transform: translateX(-100%);
}

.video-content.slide-right {
    transform: translateX(100%);
}

/* YouTube Video Container */
.youtube-video-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.youtube-video-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* Results Section Spacing */
.results-section .page-heading {
    margin-bottom: 1rem;
}

.results-section .section-text {
    margin-bottom: 2rem;
}

/* Results Tabs Section */
.results-tabs-container {
    border: 1px solid rgba(107, 74, 50, 0.2);
    border-radius: 0;
    background: white;
    margin: 2rem 0;
    overflow: hidden;
}

/* Results Tabs */
.results-tabs {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 0;
    background: white;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(107, 74, 50, 0.2);
}

/* Mobile active tab background indicator */
.results-tabs::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100% / 3);
    /* Equal height for 3 tabs */
    background: var(--furniture-primary);
    transition: transform 0.4s ease-in-out;
    transform: translateY(0%);
    z-index: 1;
}

@media (min-width: 768px) {
    .results-tabs {
        flex-direction: row;
        justify-content: center;
        gap: 0;
        border-radius: 0;
        padding: 0;
        margin: 0;
    }

    /* Desktop: change to horizontal background indicator */
    .results-tabs::after {
        width: calc(100% / 3);
        /* Equal width for 3 tabs */
        height: 100%;
        transform: translateX(0%);
    }

    /* Active indicator positions for desktop */
    .results-tabs[data-active="0"]::after {
        transform: translateX(0%);
    }

    .results-tabs[data-active="1"]::after {
        transform: translateX(100%);
    }

    .results-tabs[data-active="2"]::after {
        transform: translateX(200%);
    }
}

/* Active indicator positions for mobile */
@media (max-width: 767px) {
    .results-tabs[data-active="0"]::after {
        transform: translateY(0%);
    }

    .results-tabs[data-active="1"]::after {
        transform: translateY(100%);
    }

    .results-tabs[data-active="2"]::after {
        transform: translateY(200%);
    }
}

.results-tab {
    background: transparent;
    border: none;
    color: var(--furniture-primary);
    padding: 1rem 1.5rem;
    border-radius: 0;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    white-space: nowrap;
    position: relative;
    z-index: 2;
}

@media (min-width: 768px) {
    .results-tab {
        flex: 1;
        border: none;
        border-radius: 0;
        background: transparent;
        font-size: 0.95rem;
        padding: 1rem 1.5rem;
        text-align: left;
        position: relative;
        z-index: 2;
        transition: color 0.4s ease-in-out;
    }
}

@media (min-width: 1024px) {
    .results-tab {
        font-size: 1rem;
        padding: 1.125rem 2rem;
    }
}

.results-tab:hover {
    background: rgba(107, 74, 50, 0.1);
    color: var(--furniture-primary);
}

@media (min-width: 768px) {
    .results-tab:hover {
        background: rgba(107, 74, 50, 0.1);
        color: var(--furniture-primary);
    }
}

.results-tab.active {
    background: transparent;
    color: white;
    border: none;
}

@media (min-width: 768px) {
    .results-tab.active {
        background: transparent;
        color: white;
        box-shadow: none;
        border-radius: 0;
        margin: 0;
        font-weight: 700;
    }
}

/* Results Content */
.results-content-wrapper {
    margin-top: 0;
    border: none;
    border-radius: 0;
    overflow: hidden;
    background: white;
    position: relative;
}

.results-content-track {
    display: flex;
    width: 300%;
    /* 3 tabs = 300% */
    height: 100%;
    transition: transform 0.4s ease-in-out;
    transform: translateX(0%);
}

.results-content {
    flex: 0 0 33.333333%;
    /* Each tab takes 1/3 of track width */
    width: 33.333333%;
    height: 100%;
    position: relative;
    padding: 0;
}

.results-content.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
    z-index: 2;
}

.results-content.slide-left {
    transform: translateX(-100%);
}

.results-content.slide-right {
    transform: translateX(100%);
}

/* Photo Slider */
.photo-slider {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    background: white;
}

.photo-slider-container {
    width: 100%;
    height: 600px;
    position: relative;
}

.photo-slides-track {
    display: flex;
    width: 100%;
    height: auto;
    transition: transform 0.5s ease-in-out;
}

.photo-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.photo-slide img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Slider Navigation Buttons */
.photo-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    color: var(--furniture-primary);
    border: none;
    width: 50px;
    height: 50px;
    font-size: 2.5rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-slider-btn:hover {
    color: rgba(107, 74, 50, 0.8);
    transform: translateY(-50%) scale(1.2);
}

.photo-prev {
    left: 20px;
}

.photo-next {
    right: 20px;
}

@media (max-width: 767px) {
    .photo-slider-container {
        height: 300px;
    }

    .photo-slide {
        height: 300px;
    }

    .photo-slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .photo-prev {
        left: 10px;
    }

    .photo-next {
        right: 10px;
    }
}

/* Slider Dots */
.photo-slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.photo-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(107, 74, 50, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.photo-dot:hover,
.photo-dot.active {
    background: var(--furniture-primary);
    transform: scale(1.2);
}

/* Gallery Placeholder for Empty Sliders */
.gallery-placeholder {
    color: var(--furniture-primary);
    font-size: 1.1rem;
    text-align: center;
    font-weight: 500;
    opacity: 0.7;
    padding: 2rem;
}

/* Students Slider Section */
.students-section {
    padding: 100px 0;
    border-bottom: 1px solid rgba(107, 74, 50, 0.3);
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

@media (min-width: 1024px) {
    .students-section {
        padding: 150px 0;
    }
}

.students-slider-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    padding: 0 2rem;
}

@media (min-width: 1024px) {
    .students-slider-container {
        padding: 0;
    }
}

.students-slider {
    overflow: hidden;
    border-radius: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    background-color: transparent;
    margin-bottom: 2rem;
    height: 720px;
}

@media (min-width: 768px) {
    .students-slider {
        height: 600px;
    }
}

.students-track {
    display: flex;
    width: 200%;
    /* 2 slides = 200% */
    transition: transform 0.5s ease-in-out;
    cursor: grab;
}

.students-track.grabbing {
    cursor: grabbing;
}

.student-slide {
    width: 50%;
    /* 100% / 2 slides */
    flex-shrink: 0;
    padding: 0;
    height: 100%;
}

@media (min-width: 768px) {
    .student-slide {
        padding: 0;
        height: 100%;
    }
}

.student-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    height: 100%;
    max-width: none;
    margin: 0;
    background-color: white;
    border-radius: 1.5rem;
}

@media (min-width: 768px) {
    .student-card {
        flex-direction: row;
        text-align: left;
        align-items: stretch;
        gap: 0;
        height: 100%;
    }
}

.student-photo {
    margin: 0;
    flex-shrink: 0;
    width: 100%;
    height: 300px;
    min-height: 300px;
}

@media (min-width: 768px) {
    .student-photo {
        margin: 0;
        width: 40%;
        height: 100%;
        min-height: 600px;
        align-self: stretch;
    }
}

.student-image {
    width: 100%;
    height: 100%;
    min-height: 300px;
    border-radius: 1.5rem 1.5rem 0 0;
    object-fit: cover;
    object-position: top;
    box-shadow: none;
    display: block;
}

@media (min-width: 768px) {
    .student-image {
        width: 100%;
        height: 100%;
        min-height: 600px;
        border-radius: 1.5rem 0 0 1.5rem;
    }
}

.student-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 300px;
    padding: 2.5rem;
    overflow: hidden;
}

@media (min-width: 768px) {
    .student-content {
        padding: 3rem 4rem 3rem 2rem;
    }
}

/* New styles for redesigned content */
.student-header {
    margin-bottom: 0.5rem;
    text-align: center;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 1024px) {
    .student-header {
        margin-bottom: 0.75rem;
        text-align: left;
        margin-left: 0;
        margin-right: 0;
    }
}

.student-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--furniture-primary);
    margin-bottom: 0.2rem;
}

@media (max-width: 767px) {
    .student-name {
        margin-bottom: 0.1rem;
    }
}

@media (min-width: 768px) {
    .student-name {
        font-size: 1.375rem;
    }
}

.student-profession {
    font-size: 1rem;
    line-height: 1.3;
    color: black;
    font-weight: 400;
    max-width: none;
    margin: 0;
    margin-bottom: 0.8rem;
}

@media (min-width: 768px) {
    .student-profession {
        font-size: 1.125rem;
    }
}

.student-achievements {
    margin-bottom: 1rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 1024px) {
    .student-achievements {
        margin-bottom: 1.5rem;
        margin-left: 0;
        margin-right: 0;
    }
}

.achievement-text {
    font-size: 1rem;
    line-height: 1.3;
    color: black;
    font-weight: 400;
    max-width: none;
    margin-bottom: 0.3rem;
    text-align: center;
}

@media (min-width: 768px) {
    .achievement-text {
        font-size: 1.125rem;
    }
}

@media (min-width: 1024px) {
    .achievement-text {
        margin-bottom: 0.4rem;
        text-align: left;
    }
}

.amount {
    font-weight: 700;
    color: var(--furniture-accent);
    font-size: 1.2em;
}

.student-quote-container {
    margin-top: 1.5rem;
    margin-bottom: 0;
}

.student-quote {
    background-color: var(--furniture-primary);
    color: white;
    padding: 1.5rem;
    border-radius: 1.5rem;
    font-size: 1rem;
    font-style: italic;
    line-height: 1.4;
    position: relative;
    margin: 0;
    box-shadow: 0 15px 20px -5px rgba(0, 0, 0, 0.15), 0 8px 8px -3px rgba(0, 0, 0, 0.04);
}

.student-quote::before {
    content: '';
    position: absolute;
    left: -12px;
    top: 30px;
    width: 0;
    height: 0;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-right: 12px solid var(--furniture-primary);
}

@media (min-width: 768px) {
    .student-quote {
        font-size: 1.125rem;
        padding: 2rem;
        border-radius: 2rem;
    }
}


/* Legacy styles for other slides - keeping for compatibility */
.student-info {
    font-size: 0.95rem;
    color: #6b7280;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-weight: 500;
}

@media (min-width: 768px) {
    .student-info {
        font-size: 1rem;
    }
}

.student-testimonial {
    font-size: 1rem;
    font-style: italic;
    color: black;
    line-height: 1.6;
    border-left: 4px solid var(--furniture-accent);
    padding-left: 1rem;
    margin: 0;
    position: relative;
}

@media (min-width: 768px) {
    .student-testimonial {
        font-size: 1.125rem;
    }
}

.student-testimonial:before {
    content: '"';
    font-size: 3rem;
    color: var(--furniture-accent);
    position: absolute;
    left: -0.5rem;
    top: -1rem;
    font-weight: bold;
    line-height: 1;
}

.student-testimonial:after {
    content: '"';
    font-size: 3rem;
    color: var(--furniture-accent);
    font-weight: bold;
    line-height: 1;
}


/* Mobile responsiveness for slider */
@media (max-width: 767px) {
    .students-slider-container {
        padding: 0;
        margin: 0;
        max-width: none;
    }

    .student-slide {
        padding: 0;
    }

    .student-photo {
        margin: 0;
        padding: 0;
        height: 230px;
        min-height: 230px;
    }

    .student-image {
        border-radius: 0;
        min-height: 230px;
    }

    .student-content {
        padding: 1rem;
        min-height: auto;
    }

    .student-quote::before {
        left: 35px;
        top: -11px;
        border-left: 12px solid transparent;
        border-right: 12px solid transparent;
        border-bottom: 12px solid var(--furniture-primary);
        border-top: none;
    }

    .student-quote {
        padding: 1rem;
    }

    .slider-navigation {
        gap: 0.5rem;
        margin-top: 1rem;
    }

    .slider-btn {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.25rem;
    }

    .slider-dots {
        margin: 0 0.5rem;
    }

    .dot {
        width: 10px;
        height: 10px;
    }
}

/* Slider Navigation Styles */
.slider-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.slider-btn {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    border: 2px solid var(--furniture-primary);
    background-color: white;
    color: var(--furniture-primary);
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    user-select: none;
}

.slider-btn:hover {
    background-color: var(--furniture-primary);
    color: white;
    transform: scale(1.1);
}

.slider-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.slider-btn:disabled:hover {
    background-color: white;
    color: var(--furniture-primary);
}

.slider-dots {
    display: flex;
    gap: 0.5rem;
    margin: 0 1rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(92, 70, 58, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: var(--furniture-primary);
    transform: scale(1.2);
}

.dot:hover {
    background-color: var(--furniture-primary);
    transform: scale(1.1);
}

/* Scroll margin for anchor links */
section[id],
[id="about"],
[id="speakers"],
[id="why-us"],
[id="students"],
[id="program"],
[id="results"],
[id="prices"] {
    scroll-margin-top: 90px;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .container {
        padding: 0 1rem;
    }

    .hero-content {
        padding: 0 1rem 150px;
    }

    .about-section,
    .speakers-section,
    .section {
        padding: 80px 1rem;
    }

    /* Override for program section to match slider padding */
    .program-section {
        padding: 80px 0;
    }

    .program-section .container {
        padding: 0;
    }
}

/* Additional mobile program section adjustments to match slider */
@media (max-width: 1023px) {
    .program-section .container {
        padding: 0 1rem;
    }
}

/* Pricing Section */
.prices-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.prices-header-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 3rem;
    min-height: 100px;
}

.prices-header-text {
    text-align: center;
}

.prices-section .page-heading {
    margin-bottom: 0.25rem;
    text-align: center;
}

.prices-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: var(--furniture-secondary);
    margin: 0;
    font-weight: 400;
}

.prices-header-image {
    position: absolute;
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
}

.installment-image {
    max-width: 150px;
    height: auto;
    border-radius: 36px;
}

@media (max-width: 768px) {
    .prices-header-container {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        position: static;
    }

    .prices-section .page-heading {
        text-align: center;
    }

    .prices-subtitle {
        text-align: center;
    }

    .prices-header-image {
        position: static;
        transform: none;
        order: 1;
    }

    .prices-header-text {
        order: 0;
    }

    .installment-image {
        max-width: 125px;
    }
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 0.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.pricing-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    min-height: 600px;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
}

.pricing-card.popular {
    border: 2px solid var(--furniture-accent);
    background: linear-gradient(145deg, #f0fdf4 0%, #ffffff 100%);
}

.popular-badge {
    position: absolute;
    top: -10px;
    right: 1rem;
    background: var(--furniture-accent);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.plan-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--furniture-primary);
    margin: 0 0 0.125rem 0;
}

.plan-type {
    color: var(--furniture-accent);
}

.plan-subtitle {
    font-size: 0.875rem;
    color: var(--furniture-secondary);
    margin: 0;
    font-weight: 400;
}

.pricing-features {
    flex-grow: 1;
    margin-bottom: 0.5rem;
}

.pricing-features .feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.25rem;
    font-size: 0.875rem;
    line-height: 1.4;
}

.feature-icon {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin-right: 0.75rem;
    margin-top: 0.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.feature-item.included .feature-icon {
    color: #16a34a;
}

.feature-item.excluded .feature-icon {
    color: #9ca3af;
}

.feature-item.included .feature-text {
    color: var(--furniture-primary);
}

.feature-item.excluded .feature-text {
    color: var(--furniture-secondary);
    opacity: 0.7;
}

.pricing-features .feature-text {
    flex: 1;
    font-size: 0.875rem !important;
    line-height: 1.4;
}

.pricing-access {
    text-align: center;
    margin: 0.5rem 0;
    padding: 0.5rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.access-text {
    margin: 0;
    font-size: 0.875rem;
    color: var(--furniture-secondary);
    line-height: 1.4;
}

.access-text strong {
    color: var(--furniture-primary);
    font-weight: 600;
    font-size: 1rem;
}

.pricing-footer {
    text-align: center;
    margin-top: auto;
}

.price-block {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.current-price {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--furniture-accent);
    margin-bottom: 0.25rem;
}

.old-price {
    font-size: 1rem;
    color: var(--furniture-secondary);
    text-decoration: line-through;
    opacity: 0.7;
    font-weight: 700;
}

.countdown-timer {
    margin-top: 0;
    margin-bottom: 0.25rem;
    text-align: center;
}

.timer-label {
    font-size: 0.75rem;
    color: var(--furniture-secondary);
    margin-bottom: 0.25rem;
    text-align: center;
}

.countdown-text {
    font-size: 1.125rem;
    color: var(--furniture-secondary);
    display: block;
    margin-bottom: 0.5rem;
}

.countdown-display {
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    font-weight: 700;
    color: var(--furniture-accent);
    background: rgba(255, 85, 0, 0.1);
    padding: 0.5rem;
    border-radius: 6px;
    border: 1px solid rgba(255, 85, 0, 0.2);
}

.pricing-button {
    width: 100%;
    margin-top: 0.75rem;
    background-color: var(--furniture-accent);
    color: white;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--furniture-accent);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pricing-button:hover {
    background-color: var(--furniture-accent-hover);
    border-color: var(--furniture-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 85, 0, 0.3);
}

/* Mobile optimizations for pricing */
@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .pricing-card {
        padding: 1.25rem;
        min-height: auto;
    }

    .plan-title {
        font-size: 1.125rem;
    }

    .current-price {
        font-size: 1.5rem;
    }

    .pricing-features .feature-item {
        font-size: 0.875rem;
        justify-content: flex-start;
    }

    .pricing-features .feature-text {
        text-align: left;
        flex: 1;
        font-size: 0.875rem !important;
    }

    .popular-badge {
        font-size: 0.625rem;
        padding: 0.25rem 0.5rem;
    }

    .countdown-timer {
        margin-top: 0.5rem;
    }

    .countdown-text {
        font-size: 1rem;
    }

    .countdown-display {
        font-size: 0.875rem;
        padding: 0.375rem;
    }

    .pricing-button {
        font-size: 0.875rem;
        padding: 0.625rem 1.25rem;
        margin-top: 0.5rem;
    }
}

/* Footer Section */
.footer-section {
    background-color: var(--furniture-primary);
    color: white;
    padding: 60px 0 40px 0;
}

.footer-content {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-form {
    flex: 1;
    max-width: 400px;
}

.footer-form-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-registration-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-input {
    padding: 0.875rem 1rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.footer-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.footer-input:focus {
    outline: none;
    border-color: var(--furniture-accent);
    background: rgba(255, 255, 255, 0.15);
}

.footer-submit-btn {
    padding: 0.875rem 2rem;
    background-color: var(--furniture-accent);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.footer-submit-btn:hover {
    background-color: var(--furniture-accent-hover);
    transform: translateY(-2px);
}

.footer-info {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.footer-contact {
    text-align: right;
}

.footer-company {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.footer-address {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
}

.footer-phone {
    font-size: 1.125rem;
    font-weight: 600;
    color: white;
    margin: 0.125rem 0;
}

/* Kommo form integration styles */
#amoforms_1549176 {
    margin-top: 1rem;
}

#amoforms_1549176 form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#amoforms_1549176 input {
    padding: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
}

#amoforms_1549176 input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

#amoforms_1549176 select {
    padding: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
}

#amoforms_1549176 button {
    background: var(--furniture-accent);
    color: white;
    border: none;
    padding: 0.875rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

#amoforms_1549176 button:hover {
    background: var(--furniture-accent-dark);
    transform: translateY(-2px);
}

/* Footer social icons */
.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    justify-content: flex-end;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link.whatsapp {
    background: #25D366;
    color: white;
}

.social-link.whatsapp:hover {
    background: #1db954;
    transform: scale(1.1);
}

.social-link.instagram {
    background: transparent;
    padding: 0;
    border-radius: 50%;
    overflow: hidden;
}

.social-link.instagram:hover {
    transform: scale(1.1);
}

.social-link.instagram img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
        align-items: center;
    }

    .footer-form {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-info {
        justify-content: center;
        align-items: center;
    }

    .footer-contact {
        text-align: center;
    }

    .footer-form-title {
        font-size: 1.25rem;
        text-align: center;
    }

    .footer-company {
        font-size: 1.125rem;
    }

    .footer-social {
        justify-content: center;
        margin-top: 1.5rem;
    }

    .footer-section {
        padding-bottom: 3rem;
    }
}

/* Pricing Modal Styles */
.pricing-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.pricing-modal.active {
    display: flex;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.modal-container {
    position: relative;
    background: white;
    border-radius: 20px;
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Modal Header */
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 1px solid #e2e8f0;
    background: #f8fafc;
}

.modal-tabs {
    display: flex;
    gap: 8px;
}

.modal-tab {
    padding: 12px 20px;
    border: none;
    background: transparent;
    color: var(--furniture-secondary);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.modal-tab:hover {
    background: rgba(var(--furniture-accent-rgb), 0.1);
    color: var(--furniture-accent);
}

.modal-tab.active {
    background: var(--furniture-accent);
    color: white;
}

.modal-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    color: var(--furniture-secondary);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.1);
    color: var(--furniture-primary);
}

/* Modal Content */
.modal-content {
    display: flex;
    padding: 30px;
    gap: 40px;
    overflow-y: auto;
    max-height: calc(90vh - 160px);
}

.plan-details {
    flex: 1;
    position: relative;
}

.plan-content {
    display: none;
}

.plan-content.active {
    display: block;
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.modal-plan-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--furniture-primary);
    margin: 0 0 8px 0;
    text-align: left;
}

.popular-text {
    background: var(--furniture-accent);
    color: white;
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-left: 10px;
}

.modal-plan-subtitle {
    font-size: 1rem;
    color: var(--furniture-secondary);
    margin: 0 0 20px 0;
    text-align: left;
}

.modal-price-block {
    margin-bottom: 20px;
    padding: 15px 0;
}

.modal-current-price {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--furniture-accent);
    margin-bottom: 5px;
}

.modal-old-price {
    font-size: 1rem;
    color: var(--furniture-secondary);
    text-decoration: line-through;
}

.modal-features {
    margin-bottom: 20px;
}

.modal-features .feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    font-size: 0.875rem;
    line-height: 1.4;
}

.modal-access {
    padding: 15px 0;
}

.modal-access p {
    margin: 0;
    font-size: 1rem;
    color: var(--furniture-secondary);
}

.modal-access strong {
    color: var(--furniture-primary);
    font-weight: 600;
}

/* Form Section */
.form-section {
    flex: 0 0 350px;
    background: #f8fafc;
    border-radius: 16px;
    padding: 25px;
    height: fit-content;
}

.form-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--furniture-primary);
    margin: 0 0 20px 0;
    text-align: center;
}

/* Modal Kommo Form Styles */
#amoforms_1549184 {
    width: 100%;
}

#amoforms_1549184 form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#amoforms_1549184 input,
#amoforms_1549184 select,
#amoforms_1549184 textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    background: white;
    color: var(--furniture-primary);
    font-size: 0.875rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

#amoforms_1549184 input:focus,
#amoforms_1549184 select:focus,
#amoforms_1549184 textarea:focus {
    outline: none;
    border-color: var(--furniture-accent);
    box-shadow: 0 0 0 3px rgba(var(--furniture-accent-rgb), 0.1);
}

#amoforms_1549184 input::placeholder,
#amoforms_1549184 textarea::placeholder {
    color: #9ca3af;
}

#amoforms_1549184 button {
    background: var(--furniture-accent);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 10px;
}

#amoforms_1549184 button:hover {
    background: var(--furniture-accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(var(--furniture-accent-rgb), 0.3);
}

/* Modal Form Styles - Desktop */
@media (min-width: 769px) {
    .plan-content.active {
        display: flex;
        gap: 30px;
        align-items: flex-start;
    }

    /* Vertical layout on desktop - prices below plan name */
    .plan-content.active .modal-plan-info {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .plan-content.active .modal-plan-titles {
        text-align: left;
    }

    .plan-content.active .modal-plan-title {
        font-size: 2rem;
        font-weight: 700;
        margin: 0 0 8px 0;
        color: var(--furniture-primary);
    }

    .plan-content.active .modal-plan-subtitle {
        font-size: 1.25rem;
        margin: 0 0 15px 0;
        color: #64748b;
    }

    .plan-content.active .modal-price-block {
        text-align: left;
        margin: 0;
        padding: 0;
    }

    .plan-content.active .modal-current-price {
        display: block;
        font-size: 2.5rem;
        font-weight: 700;
        margin: 0 0 8px 0;
        color: var(--furniture-accent);
    }

    .plan-content.active .modal-old-price {
        display: block;
        font-size: 1.125rem;
        margin: 0;
        color: #94a3b8;
        text-decoration: line-through;
    }
}

/* Mobile modal layout */
@media (max-width: 768px) {

    /* Hide all plan content by default */
    .plan-content {
        display: none !important;
    }

    /* Show only active plan content */
    .plan-content.active {
        display: block !important;
    }

    /* Two-column layout for plan info */
    .plan-content.active .modal-plan-info {
        display: flex !important;
        justify-content: space-between !important;
        align-items: flex-start !important;
        gap: 15px !important;
        margin-bottom: 20px !important;
    }

    /* Left column - plan titles */
    .plan-content.active .modal-plan-titles {
        flex: 1 !important;
        text-align: left !important;
    }

    .plan-content.active .modal-plan-titles h3.modal-plan-title,
    .plan-content.active .modal-plan-titles .modal-plan-title {
        text-align: left !important;
        margin: 0 0 8px 0 !important;
        font-size: 1.2rem !important;
        font-weight: 700 !important;
    }

    .plan-content.active .modal-plan-titles p,
    .plan-content.active .modal-plan-titles .modal-plan-subtitle {
        text-align: left !important;
        margin: 0 !important;
        font-size: 1.125rem !important;
        color: #64748b !important;
    }

    /* Right column - pricing */
    .plan-content.active .modal-price-block {
        text-align: right !important;
        margin: 0 !important;
        padding: 0 !important;
        flex-shrink: 0 !important;
    }

    .plan-content.active .modal-price-block .modal-current-price {
        display: block !important;
        text-align: right !important;
        font-size: 1.8rem !important;
        font-weight: 700 !important;
        margin: 0 0 5px 0 !important;
        color: var(--furniture-accent) !important;
    }

    .plan-content.active .modal-price-block .modal-old-price {
        display: block !important;
        text-align: right !important;
        font-size: 1rem !important;
        margin: 0 !important;
        color: #94a3b8 !important;
        text-decoration: line-through !important;
    }
}


.modal-plan-info {
    flex: 1;
    min-width: 0;
}

.modal-form-container {
    flex: 0 0 280px;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #e5e7eb;
}

.form-title {
    margin: 0 0 20px 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--furniture-primary);
    text-align: center;
}

.form-group {
    margin-bottom: 15px;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: white;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: var(--furniture-accent);
    box-shadow: 0 0 0 3px rgba(255, 85, 0, 0.1);
}

.form-group input::placeholder {
    color: #9ca3af;
}

.form-submit-btn {
    width: 100%;
    background: var(--furniture-accent);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.form-submit-btn:hover {
    background: var(--furniture-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 85, 0, 0.3);
}

.form-submit-btn:active {
    transform: translateY(0);
}


/* Modal Timer */
.modal-timer {
    background: var(--furniture-accent);
    color: white;
    padding: 20px 30px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.timer-text {
    font-size: 1.5rem;
    font-weight: 600;
}

.modal-countdown-display {
    font-size: 1rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 8px;
    min-width: 100px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .pricing-modal {
        padding: 20px 10px;
        align-items: center;
        box-sizing: border-box;
    }

    .modal-container {
        max-height: calc(100vh - 40px);
        border-radius: 16px;
        margin: 0;
    }

    .modal-header {
        padding: 10px 15px;
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }

    .modal-tabs {
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px;
        margin-right: 50px;
    }

    .modal-tab {
        padding: 10px 16px;
        font-size: 0.75rem;
        flex: 1;
        min-width: 120px;
    }

    .modal-close {
        position: absolute;
        top: 15px;
        right: 15px;
        width: 32px;
        height: 32px;
    }

    .modal-content {
        flex-direction: column;
        padding: 15px;
        gap: 15px;
        max-height: calc(100vh - 340px);
    }

    .form-section {
        flex: none;
        width: 100%;
    }

    .modal-current-price {
        font-size: 1.75rem;
    }

    .modal-features {
        display: none;
    }


    .modal-timer {
        padding: 15px 20px;
        flex-direction: column;
        gap: 10px;
    }

    .timer-text {
        font-size: 0.875rem;
    }

    .modal-countdown-display {
        font-size: 0.875rem;
        padding: 6px 12px;
    }
}

@media (max-width: 480px) {
    .modal-tabs {
        gap: 4px;
    }

    .modal-tab {
        padding: 8px 12px;
        font-size: 0.7rem;
        flex: 1;
        min-width: 0;
        text-align: center;
        white-space: normal;
        line-height: 1.2;
    }

    .modal-content {
        padding: 10px;
    }

    .form-section {
        padding: 15px;
    }
}

/* Scroll to Top Button */
.scroll-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(92, 70, 58, 0.65);
    /* More opaque for visibility */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    /* Stronger border */
    color: white;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3),
        0 4px 12px 0 rgba(0, 0, 0, 0.2),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.scroll-to-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top-btn:hover {
    background: rgba(92, 70, 58, 0.85);
    /* Darker on hover */
    transform: translateY(0);
    box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.4),
        0 6px 16px 0 rgba(0, 0, 0, 0.3),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.5);
    border-color: rgba(255, 255, 255, 0.6);
}

.scroll-to-top-btn:active {
    transform: translateY(0);
}

.scroll-to-top-btn svg {
    transition: transform 0.2s ease;
}

.scroll-to-top-btn:hover svg {
    transform: translateY(0);
}

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 170px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #25D366;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
}

.whatsapp-btn.visible {
    opacity: 1;
    visibility: visible;
    animation: floatInstagram 3s ease-in-out infinite;
    animation-delay: 0.5s;
    /* Staggered animation */
}

.whatsapp-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}

.whatsapp-btn:active {
    transform: translateY(0) scale(1);
}

.whatsapp-btn svg {
    transition: transform 0.2s ease;
}

.whatsapp-btn:hover svg {
    transform: scale(1.1);
}

/* Instagram Button */
.instagram-btn {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(188, 24, 136, 0.3);
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
}

.instagram-btn.visible {
    opacity: 1;
    visibility: visible;
    animation: floatInstagram 3s ease-in-out infinite;
}

.instagram-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 16px rgba(188, 24, 136, 0.4);
}

.instagram-btn:active {
    transform: translateY(0) scale(1);
}

.instagram-btn svg {
    transition: transform 0.2s ease;
}

.instagram-btn:hover svg {
    transform: scale(1.1);
}

/* Instagram Float Animation */
@keyframes floatInstagram {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* Mobile Styles for Floating Buttons */
@media (max-width: 480px) {
    .scroll-to-top-btn {
        bottom: 15px;
        right: 15px;
        width: 42px;
        height: 42px;
        font-size: 16px;
    }

    .instagram-btn {
        bottom: 70px;
        right: 15px;
        width: 42px;
        height: 42px;
    }

    .whatsapp-btn {
        bottom: 125px;
        right: 15px;
        width: 42px;
        height: 42px;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .scroll-to-top-btn {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    .instagram-btn {
        bottom: 80px;
        right: 20px;
        width: 45px;
        height: 45px;
    }

    .whatsapp-btn {
        bottom: 140px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .scroll-to-top-btn {
        bottom: 25px;
        right: 25px;
    }

    .instagram-btn {
        bottom: 90px;
        right: 25px;
    }

    .whatsapp-btn {
        bottom: 155px;
        right: 25px;
    }
}

/* Unified Section Padding Fix - Enforcing consistent 50px padding everywhere */
.about-section,
.speakers-section,
.why-us-section,
.students-section,
.program-section,
.video-lessons-section,
.results-section,
.prices-section,
.section {
    padding-top: 50px !important;
    padding-bottom: 50px !important;
    margin-top: 0 !important;
}

@media (min-width: 1024px) {

    .about-section,
    .speakers-section,
    .why-us-section,
    .students-section,
    .program-section,
    .video-lessons-section,
    .results-section,
    .prices-section,
    .section {
        padding-top: 50px !important;
        padding-bottom: 50px !important;
        margin-top: 0 !important;
    }
}