/* 
   Xylonethra Cycling - Main Stylesheet
   Theme: Cycling as Fitness Alternative
   Author: Xylonethra Design Team
   Version: 1.0
*/

/* ===== BASE STYLES ===== */
:root {
    /* Colors */
    --primary-dark: #212121;
    --primary-light: #F5F5F5;
    --accent-yellow: #FFB300;
    --accent-teal: #00BCD4;
    --accent-green: #4CAF50;
    --accent-red: #F44336;
    
    /* Typography */
    --font-primary: 'Poppins', sans-serif;
    --font-mono: 'Courier New', monospace;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;
    
    /* Other */
    --border-radius: 8px;
    --transition-speed: 0.3s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--primary-dark);
    background-color: var(--primary-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: var(--spacing-sm);
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

p {
    margin-bottom: var(--spacing-sm);
}

a {
    color: var(--accent-teal);
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}

a:hover {
    color: var(--accent-green);
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

section {
    padding: var(--spacing-lg) 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-sm);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent-yellow);
    margin: var(--spacing-xs) auto;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: var(--spacing-md);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--accent-teal);
    color: white;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all var(--transition-speed) ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
    background-color: var(--accent-green);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.cta-button.primary {
    background-color: var(--accent-yellow);
    color: var(--primary-dark);
    font-size: 1.1rem;
    padding: 1rem 2rem;
}

.cta-button.primary:hover {
    background-color: #FFA000;
}

/* ===== HEADER ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    z-index: 1000;
    transition: all var(--transition-speed) ease;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-header.scrolled {
    padding: 0.5rem 0;
    background-color: rgba(255, 255, 255, 0.98);
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-menu li {
    margin-left: var(--spacing-sm);
}

.nav-menu a {
    color: var(--primary-dark);
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    border-radius: var(--border-radius);
    transition: all var(--transition-speed) ease;
}

.nav-menu a:hover, 
.nav-menu a.active {
    color: var(--accent-teal);
    background-color: rgba(0, 188, 212, 0.1);
}

.nav-menu a.cta-button {
    color: white;
    margin-left: var(--spacing-sm);
}

.nav-menu a.cta-button:hover {
    background-color: var(--accent-green);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--primary-dark);
    margin: 6px 0;
    transition: all var(--transition-speed) ease;
}

/* ===== 1. WELCOME SECTION ===== */
.welcome-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 0;
    padding: 0;
}

.video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.video-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7));
    z-index: 1;
}

.welcome-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 2rem;
    color: white;
}

.welcome-content h1 {
    font-size: 4rem;
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.welcome-content p {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
    opacity: 0.9;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    text-align: center;
    z-index: 3;
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    opacity: 0.7;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border-right: 2px solid white;
    border-bottom: 2px solid white;
    transform: rotate(45deg);
    margin: 0 auto;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-15px);
    }
    60% {
        transform: translateY(-7px);
    }
}

/* ===== 2. BENEFITS SECTION ===== */
.benefits-section {
    background: linear-gradient(135deg, #4CAF50 0%, #00BCD4 100%);
    color: white;
    padding: var(--spacing-xl) 0;
}

.benefits-section .section-title,
.benefits-section .section-subtitle {
    color: white;
}

.benefits-section .section-title::after {
    background: white;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.benefit-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: var(--spacing-md);
    text-align: center;
    backdrop-filter: blur(5px);
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-sm);
    color: var(--accent-yellow);
}

.icon-3d {
    width: 100%;
    height: 100%;
    filter: drop-shadow(3px 3px 2px rgba(0, 0, 0, 0.3));
    transition: transform 0.5s ease;
}

.benefit-card:hover .icon-3d {
    transform: rotate(10deg) scale(1.1);
}

.benefit-card h3 {
    font-size: 1.4rem;
    margin-bottom: var(--spacing-sm);
    color: white;
}

.benefit-card p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

/* ===== 3. PROGRAM SECTION ===== */
.program-section {
    background-color: white;
    padding: var(--spacing-xl) 0;
}

.program-flow {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: var(--spacing-lg);
    flex-wrap: wrap;
    position: relative;
}

.flow-step {
    flex: 1;
    min-width: 200px;
    text-align: center;
    padding: var(--spacing-sm);
    position: relative;
    z-index: 2;
}

.road-sign {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-sm);
}

.road-sign-svg {
    width: 100%;
    height: 100%;
}

.flow-step h3 {
    margin-bottom: var(--spacing-xs);
    font-size: 1.3rem;
}

.flow-step p {
    font-size: 0.95rem;
    color: #666;
}

.flow-connector {
    flex-grow: 1;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-yellow), var(--accent-teal));
    position: relative;
    margin: 0 10px;
    align-self: center;
    min-width: 30px;
    max-width: 50px;
}

.flow-connector::before,
.flow-connector::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--accent-teal);
    top: 50%;
    transform: translateY(-50%);
}

.flow-connector::before {
    left: -6px;
}

.flow-connector::after {
    right: -6px;
}

/* ===== 4. PLANS SECTION ===== */
.plans-section {
    background-color: #f9f9f9;
    padding: var(--spacing-xl) 0;
    position: relative;
    overflow: hidden;
}

.plans-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 179, 0, 0.1) 0%, rgba(255, 179, 0, 0) 70%);
    transform: translate(50%, -50%);
    z-index: 1;
}

.plans-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 188, 212, 0.1) 0%, rgba(0, 188, 212, 0) 70%);
    transform: translate(-50%, 50%);
    z-index: 1;
}

.plans-container {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.plan-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 350px;
    overflow: hidden;
    transition: all var(--transition-speed) ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.plan-card:hover {
    transform: perspective(500px) rotateY(5deg);
    box-shadow: -10px 10px 30px rgba(0, 0, 0, 0.2);
}

.plan-header {
    background: var(--primary-dark);
    color: white;
    padding: var(--spacing-md);
    text-align: center;
    position: relative;
}

.plan-sign {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    z-index: 3;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.plan-sign.yellow {
    background: var(--accent-yellow);
}

.plan-sign.blue {
    background: var(--accent-teal);
}

.plan-sign.red {
    background: var(--accent-red);
}

.plan-header h3 {
    margin-top: var(--spacing-sm);
    margin-bottom: var(--spacing-xs);
    font-size: 1.8rem;
}

.plan-price {
    font-size: 2.2rem;
    font-weight: 700;
}

.plan-price span {
    font-size: 1rem;
    font-weight: 400;
    opacity: 0.7;
}

.plan-features {
    padding: var(--spacing-md);
    flex-grow: 1;
}

.plan-features ul li {
    padding: var(--spacing-xs) 0;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 20px;
}

.plan-features ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-green);
}

.plan-button {
    display: block;
    padding: var(--spacing-sm) 0;
    background: var(--primary-dark);
    color: white;
    text-align: center;
    font-weight: 500;
    transition: all var(--transition-speed) ease;
}

.plan-button:hover {
    background: var(--accent-teal);
    color: white;
}

.starter .plan-button:hover {
    background: var(--accent-yellow);
    color: var(--primary-dark);
}

.explorer .plan-button:hover {
    background: var(--accent-teal);
}

.pro .plan-button:hover {
    background: var(--accent-red);
}

/* ===== 5. TESTIMONIALS SECTION ===== */
.testimonials-section {
    background-color: var(--primary-dark);
    color: white;
    padding: var(--spacing-xl) 0;
    position: relative;
    overflow: hidden;
}

.us-map-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/us.jpg') no-repeat center center/cover;
    opacity: 0.15;
    z-index: 1;
}

.testimonials-section .container {
    position: relative;
    z-index: 2;
}

.testimonials-section .section-title,
.testimonials-section .section-subtitle {
    color: white;
}

.testimonials-section .section-title::after {
    background: var(--accent-yellow);
}

.testimonials-slider {
    margin-top: var(--spacing-lg);
    position: relative;
}

.testimonial-slide {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.testimonial-slide.active {
    display: block;
    opacity: 1;
}

.testimonial-content {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(5px);
}

.route-visual {
    padding: var(--spacing-md);
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
}

.route-map {
    width: 100%;
    height: 150px;
    margin-bottom: var(--spacing-sm);
}

.route-data {
    display: flex;
    justify-content: space-around;
    font-family: var(--font-mono);
    text-transform: uppercase;
}

.data-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.data-item .label {
    font-size: 0.7rem;
    opacity: 0.7;
    margin-bottom: 4px;
}

.data-item .value {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-yellow);
}

.testimonial-text {
    padding: var(--spacing-md);
}

.testimonial-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: var(--spacing-sm);
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.testimonial-author .name {
    font-weight: 600;
    font-size: 1.1rem;
}

.testimonial-author .location {
    font-size: 0.9rem;
    color: var(--accent-teal);
}

.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: var(--spacing-md);
}

.prev-slide,
.next-slide {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all var(--transition-speed) ease;
}

.prev-slide:hover,
.next-slide:hover {
    background: rgba(255, 255, 255, 0.1);
}

.slide-indicators {
    display: flex;
    gap: 8px;
    margin: 0 var(--spacing-sm);
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all var(--transition-speed) ease;
}

.indicator.active {
    background: var(--accent-yellow);
    transform: scale(1.2);
}

/* ===== 6. PHILOSOPHY SECTION ===== */
.philosophy-section {
    background-color: #f1f1f1;
    color: var(--primary-dark);
    padding: var(--spacing-xl) 0;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.philosophy-text {
    padding-right: var(--spacing-md);
}

.philosophy-text .section-title {
    text-align: left;
}

.philosophy-text .section-title::after {
    margin-left: 0;
}

.manifesto {
    font-size: 1.8rem;
    font-style: italic;
    margin: var(--spacing-md) 0;
    padding-left: var(--spacing-md);
    border-left: 4px solid var(--accent-yellow);
    line-height: 1.4;
}

.team-map {
    position: relative;
}

.team-silhouette {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    filter: grayscale(100%);
    transition: all var(--transition-speed) ease;
}

.team-silhouette:hover {
    filter: grayscale(0%);
}

.team-silhouette img {
    width: 100%;
    height: auto;
    display: block;
}

.regions-map {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 70%;
    background: white;
    border-radius: var(--border-radius);
    padding: var(--spacing-sm);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.usa-regions {
    width: 100%;
    height: auto;
}

.map-legend {
    font-size: 0.8rem;
    text-align: center;
    margin-top: var(--spacing-xs);
    color: #666;
}

/* ===== 7. SUBSCRIBE SECTION ===== */
.subscribe-section {
    background: linear-gradient(to right, var(--primary-dark), #424242);
    color: white;
    padding: var(--spacing-lg) 0;
    text-align: center;
}

.subscribe-section .section-title,
.subscribe-section .section-subtitle {
    color: white;
}

.subscribe-section .section-title::after {
    background: var(--accent-yellow);
}

.subscribe-form {
    max-width: 600px;
    margin: var(--spacing-md) auto 0;
}

.subscribe-form .form-group {
    display: flex;
    margin-bottom: var(--spacing-xs);
}

.subscribe-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-family: var(--font-primary);
    font-size: 1rem;
}

.subscribe-button {
    background: var(--accent-yellow);
    color: var(--primary-dark);
    border: none;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    padding: 0 1.5rem;
    font-family: var(--font-primary);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: all var(--transition-speed) ease;
}

.subscribe-button:hover {
    background: #FFA000;
}

.pedal-icon {
    width: 24px;
    height: 24px;
    margin-left: 10px;
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.form-disclaimer {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-top: var(--spacing-xs);
}

.form-disclaimer a {
    color: var(--accent-yellow);
    text-decoration: underline;
}

.form-disclaimer a:hover {
    color: var(--accent-teal);
}

/* ===== 8. CONTACT SECTION ===== */
.contact-section {
    background-color: white;
    padding: var(--spacing-xl) 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
}

.contact-form-container {
    padding-right: var(--spacing-md);
}

.contact-form {
    margin-top: var(--spacing-md);
}

.contact-form .form-group {
    margin-bottom: var(--spacing-sm);
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #555;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #eee;
    border-radius: var(--border-radius);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: all var(--transition-speed) ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--accent-teal);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 188, 212, 0.1);
}

.contact-form input.error,
.contact-form select.error,
.contact-form textarea.error {
    border-color: var(--accent-red);
}

.submit-button {
    background: var(--primary-dark);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    padding: 0.75rem 1.5rem;
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
}

.submit-button:hover {
    background: var(--accent-teal);
}

.location-container {
    background: #f9f9f9;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.location-container h3 {
    padding: var(--spacing-sm) var(--spacing-md);
    margin: 0;
    background: var(--primary-dark);
    color: white;
}

.google-map {
    height: 300px;
    width: 100%;
    background: #eee;
}

.contact-details {
    padding: var(--spacing-md);
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: var(--spacing-sm);
}

.contact-icon {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    color: var(--accent-teal);
}

/* ===== FOOTER ===== */
.site-footer {
    background-color: var(--primary-dark);
    color: white;
    padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.footer-logo img {
    height: 60px;
    margin-bottom: var(--spacing-sm);
}

.footer-logo p {
    opacity: 0.7;
}

.footer-links h3,
.footer-legal h3 {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-sm);
    position: relative;
}

.footer-links h3::after,
.footer-legal h3::after {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background: var(--accent-yellow);
    margin-top: 0.5rem;
}

.footer-links ul li,
.footer-legal ul li {
    margin-bottom: 0.5rem;
}

.footer-links ul li a,
.footer-legal ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: all var(--transition-speed) ease;
}

.footer-links ul li a:hover,
.footer-legal ul li a:hover {
    color: white;
    padding-left: 5px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 0.9rem;
    opacity: 0.7;
    margin: 0;
}

.footer-icons {
    display: flex;
    gap: 15px;
}

.footer-icon {
    width: 24px;
    height: 24px;
    color: rgba(255, 255, 255, 0.7);
    transition: all var(--transition-speed) ease;
}

.footer-icon:hover {
    color: var(--accent-yellow);
    transform: translateY(-3px);
}

/* ===== UTILITIES ===== */
.success-notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--accent-green);
    color: white;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    animation: fadeInUp 0.5s ease, fadeOut 0.5s ease 5s forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

/* ===== MEDIA QUERIES ===== */
@media (max-width: 1200px) {
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .welcome-content h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 992px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .philosophy-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .team-map {
        margin-top: var(--spacing-md);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-logo {
        grid-column: 1 / -1;
        text-align: center;
        margin-bottom: var(--spacing-md);
    }
    
    .footer-logo img {
        margin: 0 auto var(--spacing-sm);
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .welcome-content h1 {
        font-size: 3rem;
    }
    
    .welcome-content p {
        font-size: 1.2rem;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: 0;
        background: white;
        flex-direction: column;
        align-items: flex-start;
        overflow: hidden;
        transition: height var(--transition-speed) ease;
        z-index: 999;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        height: auto;
        padding: var(--spacing-md) 0;
    }
    
    .nav-menu li {
        margin: 0;
        width: 100%;
    }
    
    .nav-menu a {
        display: block;
        padding: 0.75rem 2rem;
        width: 100%;
    }
    
    .flow-connector {
        display: none;
    }
    
    .program-flow {
        flex-direction: column;
        gap: var(--spacing-md);
    }
    
    .flow-step {
        width: 100%;
        max-width: 100%;
    }
    
    .testimonial-content {
        flex-direction: column;
    }
    
    .route-data {
        flex-wrap: wrap;
        gap: var(--spacing-xs);
    }
    
    .subscribe-form .form-group {
        flex-direction: column;
    }
    
    .subscribe-form input {
        border-radius: var(--border-radius) var(--border-radius) 0 0;
    }
    
    .subscribe-button {
        border-radius: 0 0 var(--border-radius) var(--border-radius);
        padding: 1rem;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .plans-container {
        flex-direction: column;
        align-items: center;
    }
    
    .plan-card {
        width: 100%;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--spacing-sm);
        text-align: center;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes slideInFromLeft {
    0% {
        transform: translateX(-100px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInFromRight {
    0% {
        transform: translateX(100px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.slide-in-left {
    animation: slideInFromLeft 0.5s ease-out forwards;
}

.slide-in-right {
    animation: slideInFromRight 0.5s ease-out forwards;
}

.fade-in {
    animation: fadeIn 0.5s ease-out forwards;
}

.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}