:root {
    /* Light Theme */
    --primary-color: #8b5cf6;
    --primary-dark: #7c3aed;
    --primary-light: #a78bfa;
    --secondary-color: #ec4899;
    --accent-color: #f59e0b;
    
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-tertiary: #f3f4f6;
    
    --text-primary: #111827;
    --text-secondary: #6b7280;
    --text-tertiary: #9ca3af;
    
    --border-color: #e5e7eb;
    --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);
    
    --gradient-purple: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
    --gradient-light: linear-gradient(135deg, #a78bfa 0%, #f9a8d4 100%);
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Theme */
[data-theme="dark"] {
    --bg-primary: #111827;
    --bg-secondary: #1f2937;
    --bg-tertiary: #374151;
    
    --text-primary: #f9fafb;
    --text-secondary: #d1d5db;
    --text-tertiary: #9ca3af;
    
    --border-color: #374151;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.6);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    transition: var(--transition);
    position: relative;
    overflow-x: hidden;
}

/* Watermark logo background */
body::before {
    content: '';
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background-image: url('logo.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.08;
    z-index: -2;
    pointer-events: none;
    filter: blur(1px);
}

[data-theme="dark"] body::before {
    opacity: 0.06;
    filter: blur(1px);
}

/* Animated background pattern */
.container {
    position: relative;
}

.container::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.16;
    background-image: 
        radial-gradient(circle at 20% 30%, var(--primary-color) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, var(--secondary-color) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, var(--primary-light) 0%, transparent 45%),
        radial-gradient(circle at 10% 80%, var(--accent-color) 0%, transparent 35%);
    background-size: 100% 100%;
    animation: backgroundShift 25s ease-in-out infinite;
}

[data-theme="dark"] .container::before {
    opacity: 0.16;
}

/* Floating geometric shapes */
body::after {
   content: '';
   position: fixed;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   z-index: -1;
   background-image: 
       linear-gradient(45deg, var(--primary-light) 0%, transparent 70%),
       linear-gradient(-45deg, var(--secondary-color) 0%, transparent 70%);
   background-size: 400px 400px, 300px 300px;
   background-position: 0% 0%, 100% 100%;
   opacity: 0.08;
   animation: geometricMove 30s ease-in-out infinite;
}

@keyframes backgroundShift {
    0%, 100% {
        background-position: 0% 0%, 100% 100%, 50% 50%, 20% 80%;
    }
    25% {
        background-position: 50% 30%, 70% 60%, 80% 20%, 30% 90%;
    }
    50% {
        background-position: 100% 50%, 0% 50%, 30% 80%, 70% 40%;
    }
    75% {
        background-position: 70% 80%, 40% 20%, 60% 60%, 10% 70%;
    }
}

@keyframes geometricMove {
    0%, 100% {
        background-position: 0% 0%, 100% 100%;
        transform: rotate(0deg);
    }
    50% {
        background-position: 100% 50%, 0% 50%;
        transform: rotate(180deg);
    }
}

/* Decorative dots pattern */
.container::after {
    content: '';
    position: absolute;
    top: -50px;
    right: 5%;
    width: 100px;
    height: 100px;
    background-size: 15px 15px;
    opacity: 0.15;
    animation: dotsFloat 20s ease-in-out infinite;
}

@keyframes dotsFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-30px) rotate(45deg);
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* ========== Header ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.9);
}

[data-theme="dark"] .header {
    background-color: rgba(17, 24, 39, 0.9);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.2rem;
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.logo-text {
    background: var(--gradient-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-purple);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.theme-toggle {
    background: var(--bg-tertiary);
    border: none;
    padding: 8px 12px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: var(--transition);
}

.theme-toggle:hover {
    transform: scale(1.1);
}

[data-theme="light"] .moon-icon {
    display: none;
}

[data-theme="dark"] .sun-icon {
    display: none;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* ========== Buttons ========== */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background: var(--gradient-purple);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: var(--bg-secondary);
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-program {
    width: 100%;
    margin-top: 20px;
}

/* ========== Hero Section ========== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-light);
    opacity: 0.1;
    z-index: -1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 15%;
    left: 10%;
    width: 150px;
    height: 150px;
    background: var(--primary-light);
    opacity: 0.15;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: morphing 8s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 20%;
    right: 15%;
    width: 120px;
    height: 120px;
    background: var(--accent-color);
    opacity: 0.12;
    border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
    animation: morphing 10s ease-in-out infinite reverse;
}


@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(50px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-30px, 30px) scale(0.95);
    }
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out;
    position: relative;
    z-index: 1;
}


@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.2;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.1;
    }
}


.hero-logo {
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
    animation: logoEntrance 1s ease-out;
}

.hero-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(139, 92, 246, 0.3));
}

@keyframes logoEntrance {
    0% {
        opacity: 0;
        transform: scale(0.5) rotate(-10deg);
    }
    60% {
        transform: scale(1.1) rotate(5deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.highlight {
    background: var(--gradient-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 60px;
}

.hero-features {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-icon {
    width: 30px;
    height: 30px;
    background: var(--gradient-purple);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--text-tertiary);
}

.scroll-arrow {
    font-size: 2rem;
    animation: bounce 2s infinite;
}

/* ========== Section Styles ========== */
section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

/* Large decorative circles for sections */
section::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    opacity: 0.12;
    pointer-events: none;
    filter: blur(60px);
}

section:nth-child(odd)::before {
    top: 5%;
    right: -150px;
    background: radial-gradient(circle, var(--primary-color) 0%, transparent 60%);
    animation: floatSlow 25s ease-in-out infinite;
}

section:nth-child(even)::before {
    bottom: 5%;
    left: -150px;
    background: radial-gradient(circle, var(--secondary-color) 0%, transparent 60%);
    animation: floatSlow 20s ease-in-out infinite reverse;
}

/* Additional decorative element */
section::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    opacity: 0.08;
    pointer-events: none;
}

section:nth-child(odd)::after {
    bottom: 15%;
    left: 8%;
    background: var(--accent-color);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    animation: morphing 12s ease-in-out infinite;
}

section:nth-child(even)::after {
    top: 15%;
    right: 8%;
    background: var(--primary-light);
    border-radius: 60% 40% 30% 70% / 50% 60% 40% 50%;
    animation: morphing 15s ease-in-out infinite reverse;
}

@keyframes floatSlow {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(-30px, 40px);
    }
}

[data-theme="dark"] section::before {
    opacity: 0.15;
}

[data-theme="dark"] section::after {
    opacity: 0.1;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

/* ========== About Section ========== */
.about {
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.about-content::before {
    content: '';
    position: absolute;
    top: -30px;
    left: 0;
    width: 150px;
    height: 3px;
    background: var(--gradient-purple);
    opacity: 0.3;
    border-radius: 10px;
}

.about::after {
    content: '';
    position: absolute;
    top: -50px;
    right: 10%;
    width: 200px;
    height: 200px;
    background: var(--primary-light);
    opacity: 0.08;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: morphing 10s ease-in-out infinite;
}

@keyframes morphing {
    0%, 100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
        transform: rotate(0deg);
    }
    50% {
        border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
        transform: rotate(180deg);
    }
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 40px;
}
.about-description li{
    padding-left: 30px;
    color: var(--text-secondary);
}
.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--text-secondary);
    margin-top: 5px;
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.image-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--gradient-purple);
    color: white;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
}

/* ========== Programs Section ========== */
.programs {
    position: relative;
}

.programs::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 5%;
    width: 180px;
    height: 180px;
    background: var(--secondary-color);
    opacity: 0.15;
    border-radius: 50%;
    filter: blur(50px);
    animation: float 18s ease-in-out infinite;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.program-card {
    background: var(--bg-secondary);
    border-radius: 20px;
    padding: 40px;
    position: relative;
    border: 2px solid var(--border-color);
    transition: var(--transition);
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.program-card.featured {
    background: var(--gradient-light);
    border-color: var(--primary-color);
}

.program-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.program-badge.special {
    background: var(--gradient-purple);
}

.program-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.program-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.program-description {
    color: var(--text-secondary);
    margin-bottom: 25px;
    line-height: 1.7;
}

.program-features {
    list-style: none;
    margin-bottom: 25px;
}

.program-features li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: var(--text-secondary);
}

.program-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.program-info {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.info-label {
    font-size: 0.85rem;
    color: var(--text-tertiary);
}

.info-value {
    font-weight: 600;
    color: var(--primary-color);
}

/* ========== RELS Section ========== */
.rels-section {
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-primary) 100%);
    position: relative;
    overflow: hidden;
}

.rels-section::before {
    content: '';
    position: absolute;
    top: 10%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: var(--primary-color);
    opacity: 0.08;
    border-radius: 50%;
    filter: blur(80px);
    animation: floatSlow 25s ease-in-out infinite;
}

.rels-section::after {
    content: '';
    position: absolute;
    bottom: 10%;
    right: -10%;
    width: 350px;
    height: 350px;
    background: var(--secondary-color);
    opacity: 0.08;
    border-radius: 50%;
    filter: blur(80px);
    animation: floatSlow 20s ease-in-out infinite reverse;
}

.rels-logo-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
}

.rels-logo {
    width: 120px;
    height: 120px;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(139, 92, 246, 0.3));
}

.rels-intro {
    margin-bottom: 60px;
}

.rels-video-main {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-tertiary);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.rels-video-main video {
    width: 100%;
    display: block;
    min-height: 400px;
    background: #000;
}

.rels-video-card video {
    min-height: 300px;
    background: #000;
}

.founder-video-wrapper video {
    min-height: 300px;
    background: #000;
}

.video-description {
    padding: 30px;
}

.video-description h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.video-description p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.rels-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
    align-items: start;
}

.rels-benefits h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    background: var(--gradient-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.rels-benefits p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.rels-benefits ul {
    list-style: none;
    margin-bottom: 40px;
}

.rels-benefits ul li {
    padding: 12px 0 12px 35px;
    position: relative;
    color: var(--text-secondary);
    line-height: 1.6;
}

.rels-benefits ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.3rem;
}

.rels-detailed-info {
    background: var(--bg-primary);
    padding: 30px;
    border-radius: 16px;
    margin: 30px 0;
    border-left: 4px solid var(--primary-color);
}

.rels-detailed-info h4 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.rels-detailed-info p {
    margin-bottom: 15px;
}

.rels-detailed-info ul {
    list-style: none;
    margin: 20px 0;
}

.rels-detailed-info ul li {
    padding: 10px 0 10px 30px;
    position: relative;
}

.rels-detailed-info ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.rels-note-small {
    background: rgba(139, 92, 246, 0.05);
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    font-style: italic;
    border-left: 3px solid var(--primary-color);
}

.rels-why-effective {
    background: var(--gradient-light);
    padding: 25px;
    border-radius: 16px;
    margin-top: 20px;
}

.rels-why-effective h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.rels-why-effective p {
    margin-bottom: 10px;
    line-height: 1.7;
}

.rels-highlight {
    background: rgba(139, 92, 246, 0.2);
    padding: 15px;
    border-radius: 8px;
    font-size: 1.1rem;
    text-align: center;
    margin-top: 15px;
}

.rels-comparison {
    margin: 60px 0;
    padding: 40px;
    background: var(--bg-secondary);
    border-radius: 24px;
}

.rels-comparison h3 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-primary);
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.comparison-card {
    background: var(--bg-primary);
    padding: 30px;
    border-radius: 16px;
}

.comparison-card h4 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    text-align: center;
    color: var(--text-primary);
}

.comparison-pros,
.comparison-cons {
    list-style: none;
}

.comparison-pros li,
.comparison-cons li {
    padding: 12px 0 12px 35px;
    position: relative;
    line-height: 1.6;
}

.comparison-pros li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
    font-size: 1.5rem;
}

.comparison-cons li::before {
    content: '−';
    position: absolute;
    left: 0;
    color: var(--text-tertiary);
    font-weight: bold;
    font-size: 1.5rem;
}

.rels-course-info {
    background: var(--bg-primary);
    padding: 30px;
    border-radius: 16px;
    margin: 30px 0;
}

.rels-course-info h4 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    text-align: center;
    color: var(--text-primary);
}

.course-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.course-step {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--gradient-purple);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.step-content h5 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.step-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.rels-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.stat-box {
    background: var(--bg-secondary);
    padding: 25px;
    border-radius: 16px;
    text-align: center;
    border: 2px solid var(--border-color);
    transition: var(--transition);
}

.stat-box:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.stat-box .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 10px;
}

.stat-box .stat-label {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.rels-image-block {
    position: relative;
}

.rels-image-block img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
}

.image-caption {
    margin-top: 15px;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    font-style: italic;
}

.rels-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 60px;
}

.rels-feature-card {
    background: var(--bg-secondary);
    padding: 30px;
    border-radius: 16px;
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
    position: relative;
}

.rels-feature-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-lg);
    border-left-width: 6px;
}

.feature-number {
    position: absolute;
    top: 15px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: var(--gradient-purple);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.rels-feature-card h4 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.rels-feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

.rels-video-section {
    margin-bottom: 60px;
}

.rels-video-section h3 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-primary);
}

.rels-videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.rels-video-card {
    background: var(--bg-secondary);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.rels-video-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.rels-video-card video,
.rels-video-card img {
    width: 100%;
    display: block;
}

.rels-video-card h4 {
    padding: 20px 25px 10px;
    font-size: 1.3rem;
    color: var(--text-primary);
}

.rels-video-card p {
    padding: 0 25px 25px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.rels-cta {
    background: var(--gradient-light);
    border-radius: 24px;
    padding: 50px;
    margin-bottom: 40px;
    box-shadow: var(--shadow-xl);
}

.rels-cta-content h3 {
    font-size: 2rem;
    margin-bottom: 25px;
    color: var(--text-primary);
}

.rels-cta-content ul {
    list-style: none;
    margin-bottom: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.rels-cta-content ul li {
    padding-left: 30px;
    position: relative;
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.rels-cta-content ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.3rem;
}

.rels-note {
    background: rgba(139, 92, 246, 0.1);
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    margin: 25px 0;
    font-size: 1.05rem;
    line-height: 1.7;
}

.rels-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.rels-purchase {
    background: var(--bg-secondary);
    border-radius: 24px;
    padding: 50px;
    border: 2px solid var(--border-color);
}

.rels-purchase-content {
    text-align: center;
}

.rels-purchase-logo {
    width: 100px;
    height: 100px;
    margin: 0 auto 25px;
}

.rels-purchase-content h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.rels-purchase-content > p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.rels-package {
    background: var(--bg-primary);
    padding: 30px;
    border-radius: 16px;
    margin: 30px auto;
    max-width: 600px;
    text-align: left;
}

.rels-package h4 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.rels-package ul {
    list-style: none;
}

.rels-package ul li {
    padding: 10px 0 10px 30px;
    position: relative;
    color: var(--text-secondary);
}

.rels-package ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

/* ========== Gallery Section ========== */
.gallery {
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.gallery::before {
    content: '';
    position: absolute;
    top: 30%;
    right: 5%;
    width: 350px;
    height: 350px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    opacity: 0.12;
    border-radius: 50%;
    filter: blur(80px);
    animation: floatSlow 22s ease-in-out infinite;
}

/* Photo Carousel Styles */
.photo-carousel {
    margin-top: 60px;
    position: relative;
    max-width: 100%;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    background: var(--bg-tertiary);
}

.carousel-slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-slide img {
    width: auto;
    max-width: 100%;
    height: 600px;
    object-fit: contain;
    display: block;
}

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    font-size: 1.3rem;
    font-weight: 600;
    text-align: center;
}

.carousel-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
}

.carousel-btn {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: var(--transition);
    pointer-events: all;
    box-shadow: var(--shadow-md);
}

.carousel-btn:hover {
    background: white;
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    padding: 0;
}

.indicator.active {
    background: var(--primary-color);
    width: 30px;
    border-radius: 6px;
}

.indicator:hover {
    background: var(--primary-light);
}


.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
}

.gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

/* ========== Founder Section ========== */
.founder-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: center;
}

.founder-image {
    position: relative;
}

.founder-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
}

.founder-badge {
    display: inline-block;
    background: var(--gradient-purple);
    color: white;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 6px 18px;
    border-radius: 20px;
    margin-bottom: 16px;
    letter-spacing: 0.03em;
}

.founder-name {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.founder-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 20px;
}

.founder-description {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 30px;
}

.founder-video-block {
    margin: 30px 0;
}

.founder-video-wrapper {
    background: var(--bg-secondary);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-top: 15px;
}

.founder-video-wrapper video {
    width: 100%;
    display: block;
}

.founder-achievements {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.achievement-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: var(--bg-secondary);
    border-radius: 12px;
}

.achievement-icon {
    font-size: 2rem;
}

.founder-education-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    background: var(--gradient-purple);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 10px;
}

.founder-education-toggle:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.toggle-icon {
    transition: transform 0.3s ease;
}

.founder-education-toggle.active .toggle-icon {
    transform: rotate(180deg);
}

.founder-education {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    margin-top: 20px;
}

.founder-education.active {
    max-height: 600px;
    overflow-y: auto;
}

.founder-education::-webkit-scrollbar {
    width: 8px;
}

.founder-education::-webkit-scrollbar-track {
    background: var(--bg-secondary);
    border-radius: 10px;
}

.founder-education::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.founder-education::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

.education-timeline {
    position: relative;
    padding-left: 30px;
}

.education-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gradient-purple);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    padding-bottom: 30px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -36px;
    top: 5px;
    width: 15px;
    height: 15px;
    background: var(--primary-color);
    border: 3px solid var(--bg-primary);
    border-radius: 50%;
    box-shadow: 0 0 0 3px var(--primary-light);
}

.timeline-year {
    display: inline-block;
    padding: 4px 12px;
    background: var(--primary-light);
    color: var(--primary-dark);
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.timeline-content {
    background: var(--bg-secondary);
    padding: 20px;
    border-radius: 12px;
    border-left: 3px solid var(--primary-color);
}

.timeline-content strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: 8px;
    font-size: 1.05rem;
}

.timeline-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}
.founder-works {
    margin: 30px 0;
}

.founder-subtitle {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.works-list {
    list-style: none;
    padding: 0;
    margin: 0 0 10px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px 10px;
    color: var(--text-secondary);
}

.works-list li {
    padding-left: 14px;
    position: relative;
}

.works-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-color);
    font-weight: 900;
}

.founder-clinic {
    margin-top: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

/* ========== Methods Section ========== */
.methods {
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.methods::before {
    content: '';
    position: absolute;
    bottom: -100px;
    left: 5%;
    width: 250px;
    height: 250px;
    background: var(--secondary-color);
    opacity: 0.16;
    border-radius: 40% 60% 60% 40% / 60% 40% 60% 40%;
    animation: morphing 12s ease-in-out infinite;
    filter: blur(40px);
}

.methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.method-card {
    position: relative;
    height: 350px;
    perspective: 1000px;
    cursor: pointer;
}

.method-card.with-image {
    height: 350px;
}

.method-card.with-image .method-front {
    position: relative;
}

.method-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    opacity: 0.3;
    transition: var(--transition);
}

.method-card.with-image:hover .method-image {
    opacity: 0.15;
}

.method-card.with-image .method-icon,
.method-card.with-image .method-title {
    position: relative;
    z-index: 1;
}

.method-front,
.method-back {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    backface-visibility: hidden;
    transition: transform 0.6s ease;
    border-radius: 20px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow-lg);
}

.method-front {
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
}

.method-back {
    background: var(--gradient-purple);
    color: white;
    transform: rotateY(180deg);
    text-align: center;
}

.method-card:hover .method-front {
    transform: rotateY(180deg);
}

.method-card:hover .method-back {
    transform: rotateY(0deg);
}

.method-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.method-title {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
}

.method-title-back {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 10px;
}

.method-description {
    font-size: 0.95rem;
    line-height: 1;
    opacity: 0.95;
}

/* ========== Prices Section ========== */
.prices {
    background: var(--bg-primary);
}

.prices-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 900px;
    margin: 0 auto;
}

.price-card {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 40px;
    background: var(--bg-secondary);
    border-radius: 16px;
    transition: var(--transition);
    gap: 30px;
    z-index: 1;
}

.price-card:nth-child(odd) {
    transform: translateX(-10px);
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    z-index: 2;
}

.price-card:nth-child(even) {
    transform: translateX(10px);
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    margin-top: -10px;
}

.price-card:hover {
    transform: translateX(0) translateY(-5px) !important;
    box-shadow: var(--shadow-xl);
    z-index: 10;
}

.price-card.featured {
    background: var(--gradient-light) !important;
    border: 2px solid var(--primary-color);
    transform: translateX(0) scale(1.02) !important;
    z-index: 3;
}

.price-card.featured:hover {
    transform: translateX(0) scale(1.05) !important;
}

.price-badge {
    position: absolute;
    top: -12px;
    left: 30px;
    background: var(--gradient-purple);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: var(--shadow-md);
}

.price-content {
    flex: 1;
}

.price-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.price-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.price-duration {
    display: inline-block;
    padding: 4px 12px;
    background: var(--primary-light);
    color: var(--primary-dark);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.price-value {
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.price-note {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-top: 5px;
    -webkit-text-fill-color: var(--text-tertiary);
}

/* ========== Contacts Section ========== */
/* Найдите секцию .contacts-content и замените на: */
.contacts-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
}

.contact-card-main {
    background: var(--bg-secondary);
    padding: 50px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    width: 100%;
    box-sizing: border-box;
}

/* Добавьте эти новые стили для iframe: */
.reviews-widget-wrapper {
    width: 100%;
    max-width: 100%;
    height: 800px;
    overflow: hidden;
    position: relative;
    box-sizing: border-box;
    background: var(--bg-secondary);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.reviews-iframe {
    width: 100%;
    height: 100%;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-sizing: border-box;
}

.contact-main-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    background: var(--gradient-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-main-description {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 40px;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.contact-method-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--bg-primary);
    border-radius: 16px;
    border: 2px solid var(--border-color);
    transition: var(--transition);
    cursor: pointer;
}

.contact-method-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.contact-method-card.vk:hover {
    background: linear-gradient(135deg, #5c9af6 0%, #3a46ed 100%);
    color: white;
    border-color: transparent;
}

.contact-method-card.whatsapp:hover {
    background: #25D366;
    color: white;
    border-color: transparent;
}

.contact-method-card.telegram:hover {
    background: #0088cc;
    color: white;
    border-color: transparent;
}

.contact-method-card.instagram:hover {
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    border-color: transparent;
}

.method-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.method-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.method-info p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.contact-info-box {
    background: var(--bg-primary);
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.info-box-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.info-box-item strong {
    font-weight: 600;
    color: var(--text-primary);
}

.info-box-item span {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    background: var(--bg-secondary);
    padding: 30px;
    border-radius: 16px;
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

.info-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-lg);
}

.info-card.highlight {
    background: var(--gradient-light);
    border-left: 4px solid var(--secondary-color);
}

.info-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.info-card h4 {
    margin-bottom: 12px;
    font-size: 1.2rem;
    color: var(--text-primary);
}

.info-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 15px;
}

.info-link {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.info-link:hover {
    gap: 10px;
}

.info-badge {
    display: inline-block;
    padding: 6px 12px;
    background: var(--gradient-purple);
    color: white;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 10px;
}

.contacts-simple,
.contact-info-grid,
.social-section,
.social-links-large,
.social-link-large {
    display: none;
}

/* overlay */

.actions {
    display: flex;
    gap: 10px;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.overlay-content {
    background: var(--bg-primary);
    padding: 30px;
    border-radius: 10px;
    width: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}
.overlay .block{
    background: var(--bg-secondary);
    border-radius: 20px;
    padding: 40px;
    position: relative;
    border: 2px solid var(--border-color);
    transition: var(--transition);
    max-width: 200px;
}

.blocks-row {
    display: flex;
    flex-direction: row;
    gap: 20px;
    justify-content: center;
    flex-wrap: nowrap;
    
}


.close-overlay {
    align-self: flex-end;
    display: inline-block;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}


/* ========== Footer ========== */
.footer {
    background: var(--bg-secondary);
    padding: 60px 0 30px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    font-weight: 700;
    font-size: 1.2rem;
}

.footer-logo img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.footer-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav a {
    color: var(--text-secondary);
    transition: var(--transition);
}

.footer-nav a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contacts p {
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-tertiary);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--text-tertiary);
}

.footer-links a:hover {
    color: var(--primary-color);
}

/* ========== Promo Section ========== */
.promo {
    background: var(--bg-secondary);
}

.promo-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.promo-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 25px;
}

.promo-features {
    list-style: none;
    margin-bottom: 35px;
}

.promo-features li {
    padding: 10px 0 10px 30px;
    position: relative;
    color: var(--text-secondary);
}

.promo-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.promo-image img {
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
}

/* Responsive */
@media (max-width: 968px) {
    .promo-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .promo-features li {
        text-align: left;
    }
}


/* ========== Trainers Section ========== */
.trainers {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.trainers-team-banner {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 50px;
    box-shadow: var(--shadow-xl);
}

.trainers-team-banner img {
    width: 100%;
    height: auto;
    display: block;
}

.trainers-team-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, transparent 100%);
    padding: 40px 40px 30px;
}

.trainers-team-text {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 600;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
    margin: 0;
}

/* Award block */
.trainers-award {
    display: flex;
    align-items: center;
    gap: 40px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 30px 40px;
    margin-bottom: 60px;
    box-shadow: var(--shadow-md);
}

.trainers-award-img {
    flex-shrink: 0;
    width: 120px;
}

.trainers-award-img img {
    width: 120px;
    border-radius: 12px;
    object-fit: cover;
}

.trainers-award-text h3 {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.trainers-award-text p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 6px;
}

.trainers-award-text strong {
    color: var(--text-primary);
}

/* Trainers grid */
.trainers-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.trainer-card {
    background: var(--bg-primary);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.trainer-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}


.trainer-photo-wrap {
    position: relative;
    width: 100%;
    height: 340px;
    overflow: hidden;
}

.trainer-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    display: block;
    transition: transform 0.5s ease;
}

.trainer-card:hover .trainer-photo {
    transform: scale(1.04);
}

.trainer-emoji {
    position: absolute;
    bottom: 14px;
    right: 18px;
    font-size: 1.8rem;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.trainer-info {
    padding: 28px 30px 30px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.trainer-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.trainer-role {
    font-size: 0.95rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 20px;
}

.trainer-education h4 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-tertiary);
    margin-bottom: 10px;
}

.trainer-education ul {
    list-style: none;
    margin-bottom: 20px;
    padding: 0;
}

.trainer-education ul li {
    position: relative;
    padding: 6px 0 6px 22px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
    line-height: 1.5;
}

.trainer-education ul li:last-child {
    border-bottom: none;
}

.trainer-education ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 0.85rem;
}

.trainer-quotes {
    margin-bottom: 22px;
    flex: 1;
}

.trainer-quotes blockquote {
    font-style: italic;
    color: var(--text-secondary);
    font-size: 0.9rem;
    border-left: 3px solid var(--primary-light);
    padding: 8px 14px;
    margin: 0 0 10px 0;
    background: var(--bg-tertiary);
    border-radius: 0 8px 8px 0;
    line-height: 1.6;
}

.trainer-btn {
    width: 100%;
    text-align: center;
    margin-top: auto;
}

@media (max-width: 968px) {
    .trainers-grid {
        grid-template-columns: 1fr;
    }

    .trainers-team-banner img {
        height: 380px;
    }

    .trainers-award {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 24px 20px;
    }
}

@media (max-width: 640px) {
    .trainers-team-banner img {
        height: 280px;
    }

    .trainers-team-overlay {
        padding: 20px;
    }

    .trainers-team-text {
        font-size: 1rem;
    }

    .trainer-photo-wrap {
        height: 280px;
    }

    .trainer-info {
        padding: 20px;
    }
}

/* ========== Animations ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* ========== Responsive Design ========== */
@media (max-width: 968px) {   
    .blocks-row {
        flex-direction: column;
        align-items: center;
    }
    .carousel-slide img {
        height: 500px;
    }

    .blocks-row .program-card {
        width: 100%;
        max-width: 400px;
    } 
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .about-content,
    .founder-content,
    .contacts-content {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .gallery-item.large {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .method-card {
        height: auto;
        min-height: 350px;
    }

    .method-card .method-front,
    .method-card .method-back {
        position: relative;
        transform: none !important;
    }

    .method-card .method-back {
        display: none;
    }

    .method-card.expanded .method-front {
        display: none;
    }

    .method-card.expanded .method-back {
        display: flex;
    }

    .price-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 25px 20px;
    }

    .price-card:nth-child(odd),
    .price-card:nth-child(even) {
        transform: translateX(0);
        margin-top: 0;
        margin-bottom: 10px;
    }

    .price-value {
        align-self: flex-end;
        font-size: 1.8rem;
    }

    .education-timeline {
        padding-left: 20px;
    }

    .founder-education.active {
        max-height: 500px;
    }

    .contact-methods {
        grid-template-columns: 1fr;
    }

    .contact-card-main {
        padding: 30px 20px;
    }

    /* RELS Section Mobile */
    .rels-logo-header {
        flex-direction: column;
        gap: 20px;
    }

    .rels-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .rels-stats {
        grid-template-columns: 1fr;
    }

    .rels-features-grid {
        grid-template-columns: 1fr;
    }

    .rels-videos-grid {
        grid-template-columns: 1fr;
    }

    .rels-cta,
    .rels-purchase {
        padding: 30px 20px;
    }

    .rels-buttons {
        flex-direction: column;
    }

    .rels-cta-content ul {
        grid-template-columns: 1fr;
    }

    .comparison-grid {
        grid-template-columns: 1fr;
    }

    .course-steps {
        grid-template-columns: 1fr;
    }

    .rels-detailed-info {
        padding: 20px;
    }

    .rels-comparison {
        padding: 25px 20px;
    }
    .contacts-content {
        grid-template-columns: 1fr !important;
        gap: 30px;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }
    
    .contact-card-main {
        padding: 30px 20px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .contact-methods {
        grid-template-columns: 1fr;
        width: 100%;
    }
    
    .contact-method-card {
        width: 100%;
        box-sizing: border-box;
    }
    
    .contact-info {
        width: 100%;
        max-width: 100%;
    }
    
    .info-card {
        width: 100%;
        box-sizing: border-box;
    }
    
    .reviews-widget-wrapper {
        width: 100%;
        max-width: 100%;
        height: 500px;
    }
    
    .reviews-iframe {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 640px) {
    .contact-card-main {
        padding: 20px 15px;
    }
    
    .reviews-widget-wrapper {
        height: 400px;
    }
    
    .contact-main-title {
        font-size: 1.5rem;
    }
    
    .contact-main-description {
        font-size: 1rem;
    }
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .programs-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 20px;
    }

    .methods-grid {
        grid-template-columns: 1fr;
    }

    .price-card {
        padding: 20px 15px;
    }

    .price-title {
        font-size: 1.1rem;
    }

    .price-value {
        font-size: 1.5rem;
    }

    .founder-name {
        font-size: 1.5rem;
    }

    .timeline-item {
        padding-bottom: 20px;
    }
    .carousel-slide img {
        height: 400px;
    }
    
    .carousel-caption {
        font-size: 1rem;
        padding: 20px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    /* RELS Section Mobile Small */
    .rels-logo {
        width: 80px;
        height: 80px;
    }

    .video-description h3 {
        font-size: 1.4rem;
    }

    .video-description p {
        font-size: 1rem;
    }

    .rels-benefits h3,
    .rels-video-section h3,
    .rels-cta-content h3,
    .rels-purchase-content h3 {
        font-size: 1.6rem;
    }

    .rels-videos-grid {
        grid-template-columns: 1fr;
    }

    .rels-video-card {
        min-width: 100%;
    }
    
}

@media (min-width: 969px) {
    .nav {
        position: static !important;
        left: auto !important;
        top: auto !important;
        width: auto !important;
        height: auto !important;
        background: transparent !important;
        flex-direction: row !important;
        padding: 0 !important;
        gap: 30px !important;
        box-shadow: none !important;
        transform: none !important;
        overflow: visible !important;
        backdrop-filter: none !important;
    }

    .nav.active {
        left: auto !important; 
    }

    .nav-link {
        font-size: inherit !important;
        width: auto !important;
        text-align: left !important;
        padding: 0 !important;
        border-bottom: none !important;
    }
}