/* Reset e variabili globali */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #4a7c59;
    --secondary-color: #8fb996;
    --accent-color: #f4a261;
    --text-dark: #2d3436;
    --text-light: #636e72;
    --bg-light: #f9fafb;
    --white: #ffffff;
}

body {
    font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    position: relative;
    background: #f7faf7; /* static, clean background */
}

/* Scroll Progress Indicator */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    z-index: 1000;
    transition: width 0.3s ease;
    width: 0%;
}

/* Navigation */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 999;
    padding-top: 4px;
    transition: all 0.3s ease;
}

header.scrolled {
    padding-top: 4px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    background: rgba(255, 255, 255, 0.98);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1200px;
    margin: 0 auto;
    transition: padding 0.3s ease;
}

header.scrolled nav {
    padding: 0.5rem 5%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.logo img {
    height: 40px;
    width: auto;
    transition: height 0.3s ease;
}

header.scrolled .logo img {
    height: 35px;
}

.logo:hover {
    transform: scale(1.03);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    transition: color 0.3s ease;
    font-weight: 500;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(74, 124, 89, 0.85), rgba(143, 185, 150, 0.85));
    min-height: 80vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding-top: 100px;
    position: relative;
    overflow: hidden;
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
    animation: heroGradientShift 15s cubic-bezier(0.4, 0.0, 0.2, 1) infinite;
}

@keyframes heroGradientShift {
    0% {
        background: linear-gradient(135deg, rgba(74, 124, 89, 0.85), rgba(143, 185, 150, 0.85));
    }
    12.5% {
        background: linear-gradient(140deg, rgba(68, 118, 83, 0.87), rgba(153, 195, 160, 0.83));
    }
    25% {
        background: linear-gradient(145deg, rgba(58, 104, 73, 0.88), rgba(163, 205, 170, 0.82));
    }
    37.5% {
        background: linear-gradient(150deg, rgba(70, 120, 85, 0.86), rgba(148, 188, 155, 0.84));
    }
    50% {
        background: linear-gradient(155deg, rgba(84, 144, 99, 0.82), rgba(123, 165, 130, 0.88));
    }
    62.5% {
        background: linear-gradient(160deg, rgba(78, 138, 93, 0.84), rgba(138, 178, 145, 0.86));
    }
    75% {
        background: linear-gradient(165deg, rgba(64, 114, 79, 0.87), rgba(173, 215, 180, 0.83));
    }
    87.5% {
        background: linear-gradient(130deg, rgba(72, 122, 87, 0.86), rgba(158, 200, 165, 0.84));
    }
    100% {
        background: linear-gradient(135deg, rgba(74, 124, 89, 0.85), rgba(143, 185, 150, 0.85));
    }
}

/* Animated background elements */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.25) 0%, transparent 60%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.18) 0%, transparent 55%),
        radial-gradient(circle at 50% 20%, rgba(244, 162, 97, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 70% 90%, rgba(143, 185, 150, 0.15) 0%, transparent 45%);
    animation: heroBackgroundMove 25s cubic-bezier(0.4, 0.0, 0.2, 1) infinite;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, 
        transparent 20%, 
        rgba(255, 255, 255, 0.15) 35%, 
        rgba(244, 162, 97, 0.1) 40%, 
        rgba(255, 255, 255, 0.2) 45%, 
        transparent 60%, 
        rgba(255, 255, 255, 0.12) 75%, 
        transparent 90%);
    animation: heroShimmer 20s cubic-bezier(0.4, 0.0, 0.2, 1) infinite;
    pointer-events: none;
}

@keyframes heroBackgroundMove {
    0% {
        background: 
            radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.25) 0%, transparent 60%),
            radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.18) 0%, transparent 55%),
            radial-gradient(circle at 50% 20%, rgba(244, 162, 97, 0.2) 0%, transparent 50%),
            radial-gradient(circle at 70% 90%, rgba(143, 185, 150, 0.15) 0%, transparent 45%);
    }
    25% {
        background: 
            radial-gradient(circle at 70% 40%, rgba(255, 255, 255, 0.3) 0%, transparent 65%),
            radial-gradient(circle at 30% 80%, rgba(255, 255, 255, 0.22) 0%, transparent 58%),
            radial-gradient(circle at 80% 30%, rgba(244, 162, 97, 0.25) 0%, transparent 55%),
            radial-gradient(circle at 20% 70%, rgba(143, 185, 150, 0.18) 0%, transparent 48%);
    }
    50% {
        background: 
            radial-gradient(circle at 90% 20%, rgba(255, 255, 255, 0.28) 0%, transparent 62%),
            radial-gradient(circle at 10% 60%, rgba(255, 255, 255, 0.2) 0%, transparent 56%),
            radial-gradient(circle at 60% 80%, rgba(244, 162, 97, 0.23) 0%, transparent 52%),
            radial-gradient(circle at 40% 30%, rgba(143, 185, 150, 0.16) 0%, transparent 47%);
    }
    75% {
        background: 
            radial-gradient(circle at 40% 70%, rgba(255, 255, 255, 0.26) 0%, transparent 63%),
            radial-gradient(circle at 90% 40%, rgba(255, 255, 255, 0.19) 0%, transparent 57%),
            radial-gradient(circle at 20% 60%, rgba(244, 162, 97, 0.21) 0%, transparent 53%),
            radial-gradient(circle at 80% 15%, rgba(143, 185, 150, 0.17) 0%, transparent 46%);
    }
    100% {
        background: 
            radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.25) 0%, transparent 60%),
            radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.18) 0%, transparent 55%),
            radial-gradient(circle at 50% 20%, rgba(244, 162, 97, 0.2) 0%, transparent 50%),
            radial-gradient(circle at 70% 90%, rgba(143, 185, 150, 0.15) 0%, transparent 45%);
    }
}

@keyframes heroShimmer {
    0% {
        transform: translateX(-120%) translateY(-120%) rotate(45deg);
        opacity: 0.8;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateX(120%) translateY(120%) rotate(45deg);
        opacity: 0.8;
    }
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
    animation: heroContentFadeIn 1.2s ease-out forwards;
}

@keyframes heroContentFadeIn {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(30px);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    animation: heroTitleSlideIn 1s ease-out 0.3s forwards;
}

@keyframes heroTitleSlideIn {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(30px);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.hero .hero-subtitle {
    animation: heroSubtitleSlideIn 1s ease-out 0.6s forwards;
}

.hero .hero-quote {
    animation: heroQuoteSlideIn 1s ease-out 0.9s forwards;
}

@keyframes heroSubtitleSlideIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroQuoteSlideIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.cta-button {
    display: inline-block;
    padding: 14px 32px;
    background: var(--accent-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 999px;
    font-weight: 700;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    box-shadow: 0 5px 15px rgba(244, 162, 97, 0.4);
    animation: heroButtonSlideIn 1s ease-out 1.2s forwards;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.cta-button:hover::before {
    left: 100%;
}

@keyframes heroButtonSlideIn {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(244, 162, 97, 0.5);
    background: #e69547;
    animation: buttonPulse 2s ease-in-out infinite;
}

@keyframes buttonPulse {
    0%, 100% {
        box-shadow: 0 10px 25px rgba(244, 162, 97, 0.5);
        transform: translateY(-3px) scale(1.05);
    }
    50% {
        box-shadow: 0 20px 45px rgba(244, 162, 97, 0.8), 0 0 30px rgba(244, 162, 97, 0.3);
        transform: translateY(-5px) scale(1.08);
    }
}

/* Animation Classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Sections */
section {
    padding: 80px 5%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 2.2rem;
    opacity: 0;
    transform: translateY(20px);
    position: relative;
    font-weight: 800;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent-color);
}

/* Services */
.services {
    background: rgba(249, 250, 251, 0.8);
    backdrop-filter: blur(5px);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.service-card {
    background: #fff;
    padding: 28px;
    border-radius: 16px;
    border: 1px solid #eef2ef;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    transition: all 0.25s ease;
    text-align: left;
    opacity: 0;
    transform: translateY(30px);
    position: relative;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.08);
}

.service-icon {
    font-size: 28px;
    color: var(--primary-color);
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #eef6f0;
    margin-bottom: 14px;
}

.service-card h3 {
    color: var(--text-dark);
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.service-card p {
    color: var(--text-light);
    font-size: 0.98rem;
}

/* Journey Section (Percorso) - Premium Timeline Design */
.journey-section {
    background: linear-gradient(135deg, #f8fbf9 0%, #f2f7f4 50%, #eef4f0 100%);
    position: relative;
    overflow: hidden;
    padding: 100px 5% 120px;
}

.journey-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(74, 124, 89, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(143, 185, 150, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 50% 90%, rgba(244, 162, 97, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.journey-subtitle {
    text-align: center;
    font-size: 1.15rem;
    color: var(--text-light);
    margin: -1rem auto 4rem;
    max-width: 600px;
    opacity: 0;
    transform: translateY(20px);
    font-style: italic;
    position: relative;
    z-index: 1;
}

.journey-timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0;
    z-index: 1;
}

/* Central Timeline Line */
.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    height: calc(100% + 15rem); /* Extended even more to ensure full connection */
    width: 4px;
    background: linear-gradient(
        180deg,
        var(--primary-color) 0%,
        var(--secondary-color) 50%,
        var(--accent-color) 100%
    );
    transform: translateX(-50%);
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(74, 124, 89, 0.3);
    animation: timelineGlow 3s ease-in-out infinite alternate;
    z-index: 0;
}

@keyframes timelineGlow {
    0% {
        box-shadow: 0 0 20px rgba(74, 124, 89, 0.3);
    }
    100% {
        box-shadow: 0 0 30px rgba(74, 124, 89, 0.5), 0 0 50px rgba(143, 185, 150, 0.2);
    }
}

@keyframes timelineGrow {
    0% {
        height: 0%;
        opacity: 0.5;
    }
    100% {
        height: 100%;
        opacity: 1;
    }
}

/* Journey Step Base Styles */
.journey-step {
    position: relative;
    margin: 4rem 0;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.journey-step.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Step Content Container */
.step-content {
    position: relative;
    max-width: 420px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.08),
        0 8px 16px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s ease;
    overflow: hidden;
}

.step-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(74, 124, 89, 0.02), rgba(143, 185, 150, 0.02));
    transition: opacity 0.4s ease;
    opacity: 0;
}

.step-content:hover::before {
    opacity: 1;
}

.step-content:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.12),
        0 12px 24px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* Step Positioning */
.step-left .step-content {
    margin-right: auto;
    margin-left: 0;
}

.step-right .step-content {
    margin-left: auto;
    margin-right: 0;
}

/* Step Icon */
.step-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    box-shadow: 
        0 10px 25px rgba(74, 124, 89, 0.3),
        inset 0 2px 4px rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.step-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    transition: transform 0.6s ease;
}

.step-content:hover .step-icon::before {
    transform: rotate(45deg) translateX(100%);
}

.step-content:hover .step-icon {
    transform: rotate(5deg) scale(1.1);
    box-shadow: 
        0 15px 35px rgba(74, 124, 89, 0.4),
        inset 0 2px 4px rgba(255, 255, 255, 0.3);
}

/* Step Badge */
.step-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-color), #e69547);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.8rem;
    box-shadow: 0 4px 12px rgba(244, 162, 97, 0.3);
    transition: all 0.3s ease;
}

.step-content:hover .step-badge {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(244, 162, 97, 0.4);
}

/* Step Info */
.step-info h3 {
    color: var(--text-dark);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    line-height: 1.3;
    position: relative;
}

.step-info p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.2rem;
}

/* Feature Tags */
.step-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.feature-tag {
    display: inline-block;
    background: rgba(74, 124, 89, 0.1);
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(74, 124, 89, 0.2);
    transition: all 0.3s ease;
}

.feature-tag:hover {
    background: rgba(74, 124, 89, 0.2);
    transform: translateY(-1px);
}

/* Timeline Connectors */
.timeline-connector {
    position: absolute;
    top: 50%;
    width: 30px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
    transform: translateY(-50%);
    box-shadow: 0 2px 8px rgba(74, 124, 89, 0.3);
}

.step-left .timeline-connector {
    right: -30px;
}

.step-right .timeline-connector {
    left: -30px;
}

/* Journey Success Section */
.journey-success {
    text-align: center;
    margin-top: 12rem; /* Further increased spacing for complete connection */
    padding: 2.5rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 251, 249, 0.9));
    backdrop-filter: blur(10px);
    border-radius: 25px;
    border: 2px solid rgba(74, 124, 89, 0.1);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    overflow: visible; /* Changed to allow pseudo-elements to show */
    opacity: 0;
    transform: translateY(30px);
    z-index: 1;
}

/* Connettore finale per collegare l'ultimo step alla card di successo */
.journey-success::after {
    content: '';
    position: absolute;
    top: -12rem;
    left: 50%;
    width: 4px;
    height: 12rem;
    background: linear-gradient(to bottom, var(--accent-color), var(--primary-color));
    transform: translateX(-50%);
    border-radius: 2px;
    box-shadow: 0 0 15px rgba(74, 124, 89, 0.4);
    z-index: 2;
}

/* Removed shimmer effect - was creating unwanted shadow */

/* Removed shimmer keyframes - no longer needed */

.success-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e91e63, #ff4081);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    box-shadow: 
        0 15px 35px rgba(233, 30, 99, 0.3),
        inset 0 2px 4px rgba(255, 255, 255, 0.2);
    animation: heartBeat 2s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

/* Punto finale della timeline sulla success-icon */
.success-icon::before {
    content: '';
    position: absolute;
    top: -14rem; /* Adjusted to align with new extended connector */
    left: 50%;
    width: 18px;
    height: 18px;
    background: var(--accent-color);
    border: 4px solid white;
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 0 4px var(--primary-color), 0 4px 12px rgba(74, 124, 89, 0.4);
    z-index: 10;
    animation: finalPulse 3s ease-in-out infinite;
}

@keyframes finalPulse {
    0%, 100% { transform: translateX(-50%) scale(1); box-shadow: 0 0 0 4px var(--primary-color), 0 4px 12px rgba(74, 124, 89, 0.4); }
    50% { transform: translateX(-50%) scale(1.1); box-shadow: 0 0 0 8px var(--primary-color), 0 6px 18px rgba(74, 124, 89, 0.6); }
}

@keyframes heartBeat {
    0%, 20%, 40%, 60%, 80%, 100% {
        transform: scale(1);
    }
    10%, 30% {
        transform: scale(1.1);
    }
}

.journey-success h4 {
    color: var(--text-dark);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    position: relative;
    z-index: 1;
}

.journey-success p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* Studio */
.studio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.studio-card {
    background: #fff;
    padding: 24px;
    border-radius: 16px;
    border: 1px solid #eef2ef;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    transition: all 0.25s ease;
    opacity: 0;
    transform: translateY(30px);
}

.studio-card h3 { 
    margin-bottom: 8px; 
    color: var(--text-dark); 
}

.studio-card p { 
    color: var(--text-light); 
}

.studio-photo {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.studio-photo img { 
    width: 100%; 
    height: auto; 
    display: block; 
}

/* FAQ */
.faq-list { 
    max-width: 900px; 
    margin: 0 auto; 
}

details.faq-item {
    background: #fff;
    border: 1px solid #eef2ef;
    border-radius: 12px;
    padding: 14px 18px;
    margin-bottom: 12px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.04);
}

details.faq-item summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--text-dark);
    list-style: none;
}

details.faq-item[open] { 
    border-color: #e1f2e6; 
    box-shadow: 0 6px 16px rgba(0,0,0,0.06); 
}

details.faq-item p { 
    margin-top: 8px; 
    color: var(--text-light); 
}

/* About */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 5%;
}

.about-text {
    padding: 24px;
    opacity: 0;
    transform: translateX(-30px);
    background: #fff;
    border-radius: 16px;
    border: 1px solid #eef2ef;
    box-shadow: 0 12px 28px rgba(0,0,0,0.10);
}

.about-text h3 {
    margin-bottom: 12px;
    font-size: 1.5rem;
    color: var(--text-dark);
}

.about-text p, .about-text li {
    color: var(--text-light);
}

.about-image {
    width: 100%;
    height: 450px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    opacity: 0;
    transform: translateX(30px);
    position: relative;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

/* About Studies Container */
.about-studies-container {
    max-width: 600px;
    margin: 40px auto 0;
    padding: 0 5%;
}

/* Studi (I miei studi) - Card style */
.studi-card {
    background: #fff;
    padding: 24px;
    border-radius: 16px;
    border: 1px solid #eef2ef;
    box-shadow: 0 12px 32px rgba(0,0,0,0.10);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.studi-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 44px rgba(0,0,0,0.14);
}

.studi-card > h4 {
    margin: -4px 0 12px;
    color: var(--primary-color);
    display: inline-block;
    padding: 6px 12px;
    background: #eef6f0;
    border-radius: 999px;
    font-size: 1.05rem;
}

/* Formation / Timeline */
.formation {
    margin-top: 0;
}

.formation h4 {
    color: var(--primary-color);
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.timeline {
    list-style: none;
    position: relative;
    padding-left: 22px;
    border-left: 2px solid #e6efe9;
}

.timeline li {
    margin: 12px 0 12px 0;
    position: relative;
}

.timeline li::before {
    content: '';
    position: absolute;
    left: -9px;
    top: 6px;
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    border: 2px solid #fff;
    outline: 2px solid #e6efe9;
    border-radius: 50%;
}

.timeline .item-title {
    font-weight: 600;
    color: var(--text-dark);
}

.timeline .item-sub {
    color: var(--text-light);
    font-size: 0.95rem;
}

.timeline i {
    color: var(--primary-color);
    margin-right: 8px;
}

/* Testimonials */
.testimonials {
    background: rgba(249, 250, 251, 0.8);
    backdrop-filter: blur(5px);
    padding: 80px 5%;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 28px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.3s ease;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.08;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

/* Contact */
.contact {
    background: rgba(249, 250, 251, 0.8);
    backdrop-filter: blur(5px);
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 800px;
    margin: 0 auto 28px;
}

.contact-info-card {
    background: rgba(255, 255, 255, 0.98);
    padding: 22px;
    border-radius: 14px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.12);
}

.contact-info-icon {
    font-size: 22px;
    color: var(--primary-color);
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #eef6f0;
    margin-bottom: 10px;
}

/* General contact card hover effects */
.contact-info-card a:hover {
    transition: color 0.3s ease;
}

.contact-info-card:hover .contact-info-icon {
    transform: scale(1.1);
    transition: all 0.3s ease;
}

/* Specific hover effects for each contact type */
/* Address (Google Maps) */
.contact-info-card:nth-child(1) a:hover {
    color: var(--primary-color) !important;
}

.contact-info-card:nth-child(1):hover .contact-info-icon {
    background: var(--primary-color);
    color: white;
}

/* WhatsApp */
.contact-info-card:nth-child(2) a:hover {
    color: #25d366 !important;
}

.contact-info-card:nth-child(2):hover .contact-info-icon {
    background: #25d366;
    color: white;
}

/* Email */
.contact-info-card:nth-child(3) a:hover {
    color: #ea4335 !important;
}

.contact-info-card:nth-child(3):hover .contact-info-icon {
    background: #ea4335;
    color: white;
}

/* Booking Widget Styles */
.booking-section {
    margin: 3rem 0 2rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    border: 2px solid rgba(74, 124, 89, 0.1);
    opacity: 0;
    transform: translateY(30px);
}

.booking-title {
    text-align: center;
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.booking-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Booking Button Container - Optimized for Medium Button Widget */
.booking-button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 20px;
    border: 2px solid rgba(74, 124, 89, 0.1);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.booking-button-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(74, 124, 89, 0.02), rgba(143, 185, 150, 0.02));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.booking-button-container:hover::before {
    opacity: 1;
}

.booking-button-container:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 45px rgba(0,0,0,0.12);
    border-color: rgba(74, 124, 89, 0.15);
}

/* MioDottore Button Styling - Let the widget handle its own appearance but provide clean container */
.booking-button-container .zl-url {
    /* Remove any inherited styles that might interfere */
    all: initial;
    font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif !important;
}

/* Ensure the widget button displays properly */
.booking-button-container > * {
    position: relative;
    z-index: 2;
}

/* Focus state for accessibility */
.booking-button-container:focus-within {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
    border-color: var(--primary-color);
    box-shadow: 
        0 20px 45px rgba(0,0,0,0.12),
        0 0 0 4px rgba(74, 124, 89, 0.1);
}

/* Loading state support */
.booking-button-container.loading {
    pointer-events: none;
    opacity: 0.7;
}

.booking-button-container.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--primary-color);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 3;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Ensure MioDottore widget link is clickable */
.booking-button-container .zl-url {
    pointer-events: auto !important;
    cursor: pointer;
    z-index: 10;
    position: relative;
    display: inline-block;
}

.booking-button-container a {
    pointer-events: auto !important;
    cursor: pointer;
}

/* Fallback styling in case widget doesn't load */
.booking-fallback {
    padding: 1.5rem;
    text-align: center;
    color: var(--text-light);
    font-size: 0.95rem;
    background: rgba(74, 124, 89, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(74, 124, 89, 0.1);
}

.booking-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-decoration: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(74, 124, 89, 0.3);
    position: relative;
    overflow: hidden;
}

.booking-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.booking-button:hover::before {
    left: 100%;
}

.booking-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(74, 124, 89, 0.4);
    background: linear-gradient(135deg, #3d6b4a, #7fa888);
}

.booking-button:focus {
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
}

.booking-button i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.booking-button:hover i {
    transform: scale(1.1);
}

/* Mobile Booking Button Optimization */
@media (max-width: 768px) {
    .booking-section {
        margin: 2rem 0 1.5rem;
        padding: 1.5rem;
        border-radius: 15px;
    }
    
    .booking-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .booking-button-container {
        padding: 1.5rem;
        border-radius: 15px;
    }
}

@media (max-width: 480px) {
    .booking-section {
        margin: 1.5rem 0;
        padding: 1rem;
    }
    
    .booking-button-container {
        padding: 1rem;
        border-radius: 12px;
    }
    
    .booking-title {
        font-size: 1.3rem;
    }
}

.contact-note {
    max-width: 600px;
    margin: 0 auto 14px;
    background: #f2fbf4;
    border: 1px solid #e1f2e6;
    color: #2f5e3f;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 0.95rem;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.98);
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    opacity: 0;
    transform: translateY(30px);
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.95);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(74, 124, 89, 0.1);
}

.submit-btn {
    width: 100%;
    padding: 14px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 999px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(74, 124, 89, 0.25);
}

.submit-btn:hover {
    background: #3a5f47;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(74, 124, 89, 0.35);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Success Message */
.success-message {
    display: none;
    background: linear-gradient(135deg, #28a745, #20c997);
    color: var(--white);
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 16px;
    text-align: center;
    animation: slideInDown 0.5s ease;
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.25);
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 56px;
    height: 56px;
    bottom: 24px;
    right: 24px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 28px;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
    z-index: 100;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.12) rotate(8deg);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-tooltip {
    position: absolute;
    right: 64px;
    top: 50%;
    transform: translateY(-50%);
    background: #333;
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    white-space: nowrap;
    font-size: 13px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    box-shadow: 0 3px 10px rgba(0,0,0,0.3);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #2d3436, #3a4042);
    color: var(--white);
    text-align: center;
    padding: 40px 5%;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(74, 124, 89, 0.1), transparent);
    pointer-events: none;
}

footer p {
    position: relative;
    z-index: 1;
}

/* Animations */
@keyframes slideInDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* About section - remove lateral padding for centered header */
.about {
    padding: 80px 0 80px 0;
}

/* Full-width header styling */
.section-header-full {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background: linear-gradient(135deg, #f2f7f3, #eaf2ed);
    border-top: 1px solid #e6efe9;
    border-bottom: 1px solid #e6efe9;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    padding: 40px 20px;
    margin-top: -20px;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.section-header-full .section-title {
    margin: 0;
    text-align: center;
    width: auto;
    max-width: none;
    position: relative;
    /* Preserve animation compatibility */
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.section-header-full .section-title.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hero elements visibility - enhanced with staggered animations */
.hero-title.visible {
    animation: heroTitleSlideIn 1s ease-out 0.3s forwards;
}

.hero-subtitle.visible {
    animation: heroSubtitleSlideIn 1s ease-out 0.6s forwards;
}

.hero-quote.visible {
    animation: heroQuoteSlideIn 1s ease-out 0.9s forwards;
}

.cta-button.visible {
    animation: heroButtonSlideIn 1s ease-out 1.2s forwards;
}

/* Floating animation for hero content */
@keyframes heroFloat {
    0%, 100% {
        transform: translateY(0px) scale(1);
    }
    33% {
        transform: translateY(-12px) scale(1.02);
    }
    66% {
        transform: translateY(8px) scale(0.98);
    }
}

.hero-quote { 
    white-space: normal; 
}

.about-text, .about-image { 
    order: initial; 
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 20px 0;
        backdrop-filter: blur(10px);
    }

    .nav-links.active {
        left: 0;
    }

    .menu-toggle {
        display: flex;
    }

    .hero h1 {
        font-size: 1.8rem;
        line-height: 1.2;
        margin-bottom: 0.8rem;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 1.2rem;
    }

    .hero-quote {
        font-size: 0.95rem !important;
        margin-bottom: 1.2rem !important;
        white-space: normal !important;
        line-height: 1.4;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-text { 
        order: 1; 
    }
    
    .about-image { 
        order: 2; 
    }

    .section-title {
        font-size: 1.8rem;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 18px;
        right: 18px;
    }

    .hero {
        padding-top: 80px;
        min-height: 100vh;
    }

    .hero-content {
        padding: 0 15px;
    }

    .cta-button {
        padding: 12px 24px;
        font-size: 0.95rem;
    }

    /* Mobile studi card styling */
    .studi-card {
        padding: 22px;
        box-shadow: 0 12px 36px rgba(0,0,0,0.12);
    }

    /* Mobile Journey Section */
    .journey-section {
        padding: 60px 3% 80px;
    }

    .journey-subtitle {
        font-size: 1rem;
        margin: -0.5rem auto 2.5rem;
        white-space: normal;
        text-align: center;
    }

    .journey-timeline {
        padding: 1rem 0;
    }

    /* Mobile Timeline - Single column layout */
    .timeline-line {
        left: 30px;
        width: 3px;
        height: calc(100% + 8rem); /* Extended further for proper connection */
    }

    .journey-step {
        margin: 2.5rem 0;
        padding-left: 70px;
        position: relative;
    }

    /* Reset positioning for mobile */
    .step-left .step-content,
    .step-right .step-content {
        margin: 0;
        max-width: 100%;
    }

    .step-content {
        padding: 1.5rem;
        border-radius: 16px;
        box-shadow: 
            0 12px 25px rgba(0, 0, 0, 0.08),
            0 4px 10px rgba(0, 0, 0, 0.04);
    }

    .step-content:hover {
        transform: translateY(-4px) scale(1.01);
        box-shadow: 
            0 20px 40px rgba(0, 0, 0, 0.12),
            0 8px 16px rgba(0, 0, 0, 0.06);
    }

    /* Mobile step icons */
    .step-icon {
        width: 60px;
        height: 60px;
        font-size: 1.4rem;
        margin-bottom: 1rem;
        position: absolute;
        left: -85px; /* Better alignment */
        top: 20px;
    }

    /* Mobile step badge */
    .step-badge {
        font-size: 0.75rem;
        padding: 0.3rem 0.8rem;
    }

    .step-info h3 {
        font-size: 1.2rem;
        margin-bottom: 0.6rem;
    }

    .step-info p {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }

    /* Mobile feature tags */
    .feature-tag {
        font-size: 0.75rem;
        padding: 0.25rem 0.6rem;
    }

    /* Hide connectors on mobile */
    .timeline-connector {
        display: none;
    }

    /* Mobile journey success */
    .journey-success {
        margin-top: 4rem; /* Reduced spacing */
        padding: 2rem 1.5rem;
        border-radius: 20px;
        position: relative;
    }

    /* Mobile success card connector */
    .journey-success::after {
        display: none; /* Remove double connector */
    }

    .success-icon::before {
        top: -7rem;
        left: 30px; /* Align with mobile timeline */
        transform: translateX(-50%);
        width: 16px;
        height: 16px;
        background: var(--primary-color);
        border: 3px solid white;
        box-shadow: 0 0 0 2px var(--primary-color), 0 2px 8px rgba(74, 124, 89, 0.4);
    }

    .success-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .journey-success h4 {
        font-size: 1.3rem;
        margin-bottom: 0.6rem;
    }

    .journey-success p {
        font-size: 0.95rem;
    }
}

/* Small mobile devices */
@media (max-width: 600px) {
    .hero h1 {
        font-size: 1.6rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero-quote {
        font-size: 0.9rem !important;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card {
        padding: 20px;
    }

    nav {
        padding: 0.8rem 3%;
    }

    .logo {
        font-size: 0.85rem;
        gap: 8px;
    }

    .logo span {
        display: inline;
        font-weight: 600;
        line-height: 1.2;
    }
}


/* Extra small mobile devices */
@media (max-width: 480px) {
    .journey-section {
        padding: 50px 2% 60px;
    }

    .journey-subtitle {
        font-size: 0.95rem;
        margin: 0 auto 2rem;
    }

    .journey-step {
        padding-left: 60px;
        margin: 2rem 0;
    }

    .timeline-line {
        left: 25px;
        width: 3px;
        height: calc(100% + 6rem); /* Extended further for proper connection */
    }

    .step-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        left: -75px; /* Better alignment for small screens */
        top: 15px;
    }

    .step-content {
        padding: 1.2rem;
    }

    .step-info h3 {
        font-size: 1.1rem;
    }

    .step-info p {
        font-size: 0.9rem;
    }

    .journey-success {
        padding: 1.5rem;
        margin-top: 3rem; /* Reduced spacing */
    }

    /* Extra small mobile connector adjustments */
    .journey-success::after {
        display: none; /* Remove double connector */
    }

    .success-icon::before {
        left: 25px; /* Align with extra small timeline */
        top: -5rem; /* Adjusted position */
        transform: translateX(-50%);
        width: 14px;
        height: 14px;
        background: var(--primary-color);
        border: 3px solid white;
        box-shadow: 0 0 0 2px var(--primary-color), 0 2px 8px rgba(74, 124, 89, 0.4);
    }

    .success-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }

    .journey-success h4 {
        font-size: 1.2rem;
    }

    .journey-success p {
        font-size: 0.9rem;
    }

    .hero h1 {
        font-size: 1.4rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .hero-quote {
        font-size: 0.85rem !important;
    }

    .cta-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .nav-links {
        top: 60px;
        padding: 15px 0;
    }

    .logo {
        font-size: 0.8rem;
        gap: 6px;
    }

    .logo span {
        display: inline;
        font-weight: 600;
        line-height: 1.1;
    }
}