    /* Reset and base styles */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            font-size: 14px;
        }

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            background: #000000;
            color: #ffffff;
            line-height: 1.5;
            overflow-x: hidden;
            min-height: 100vh;
        }

        
        /* TimelineMilestoneSection */
        .timeline-milestone-section {
            position: relative;
            width: 100%;
            overflow: hidden;
        }

        /* Background Image Container */
        .timeline-background-container {
            position: absolute;
            inset: 0;
            z-index: 0;
        }

        .timeline-background-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center center;
            filter: brightness(0.9) contrast(1.1);
        }

        .timeline-background-overlay {
            position: absolute;
            inset: 0;
            background-color: rgba(0, 0, 0, 0.2);
        }

        /* Content Container */
        .timeline-content-container {
            position: relative;
            z-index: 10;
            width: 100%;
            display: flex;
            flex-direction: column;
        }

        /* Enhanced Responsive Detection */
        .mobile-layout {
            display: none;
        }

        .desktop-layout {
            display: none;
        }

        /* Layout-specific styling */
        .mobile-layout .timeline-milestone-section {
            min-height: auto;
            height: auto;
        }

        .desktop-layout .timeline-milestone-section {
            min-height: 100vh;
            height: 100vh;
        }

        .mobile-layout .timeline-content-container {
            min-height: 100vh;
            padding: 2rem 0;
            height: auto;
        }

        .desktop-layout .timeline-content-container {
            height: 100%;
        }

        .mobile-layout .vertical-timeline-wrapper {
            flex: 1;
        }

        /* SearchCarousel Container - Desktop Only */
        .search-carousel-container {
            display: flex;
            align-items: center;
            justify-content: center;
            flex: 0.3;
        }

        .size-md .search-carousel-container {
            padding-top: 8rem;
        }

        .size-lg .search-carousel-container {
            padding-top: 9rem;
        }

        /* MilestoneTimeline Container - Desktop Only */
        .milestone-timeline-container {
            display: flex;
            align-items: center;
            justify-content: center;
            flex: 0.7;
        }

        .size-md .milestone-timeline-container {
            padding-bottom: 1rem;
            padding-top: 2rem;
        }

        .size-lg .milestone-timeline-container {
            padding-bottom: 1.25rem;
            padding-top: 2.5rem;
        }

        .size-md .desktop-layout .timeline-content-container {
            padding: 0 2rem;
        }

        .size-lg .desktop-layout .timeline-content-container {
            padding: 0 2.5rem;
        }

        /* SearchCarousel - Desktop Component */
        .carousel-container-wrapper {
            width: 100%;
            display: flex;
            justify-content: center;
        }

        .carousel {
            position: relative;
            width: 600px;
            height: 50px;
            background: white;
            border-radius: 50px;
            overflow: hidden;
            transform-origin: center center;
            transform: scale(1);
            box-shadow: 0px 5px 20px 0 rgba(12, 12, 12, 0.2);
        }

        .size-lg .carousel {
            transform: scale(1.2);
            box-shadow: 0px 6px 24px 0 rgba(12, 12, 12, 0.24);
        }

        .size-lg .carousel-container-wrapper {
            padding: 15px 90px;
        }

        .carousel-inner {
            width: 100%;
            height: 100%;
        }

        .carousel-item {
            display: flex;
            justify-content: center;
            align-items: center;
            text-align: center;
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0;
            transform: translate3d(0, 100%, 0);
            transition: 0.6s cubic-bezier(0.93, 0, 0.18, 0.98) all;
            backface-visibility: hidden;
            padding: 0 1rem;
        }

        .carousel-item.active {
            opacity: 1;
            transform: translate3d(0, 0, 0);
        }

        .carousel-item span {
            color: #000000;
            display: inline-block;
            padding: 13px;
            vertical-align: middle;
            font-size: 16px;
            font-weight: 500;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            max-width: 100%;
        }

        /* MilestoneTimeline - Desktop Component */
        .milestone-timeline {
            height: 50vh;
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
        }

        .milestone-timeline-svg-container {
            width: 100%;
            margin: 0 auto;
            padding: 0 2rem;
            display: flex;
            justify-content: center;
            max-width: 1200px;
        }

        .size-lg .milestone-timeline-svg-container {
            max-width: 1350px;
        }

        .milestone-timeline svg {
            width: 100%;
            max-width: 1200px;
            height: auto;
            opacity: 0;
            transition: opacity 0.6s ease-out;
        }

        .milestone-timeline.visible svg {
            opacity: 1;
        }

        /* VerticalMilestoneTimeline - Mobile Component */
        .vertical-timeline {
            position: relative;
            width: 100%;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: opacity 0.6s ease-out;
            min-height: 100vh;
            transform-origin: center center;
            margin: 0 auto;
            padding: 3rem 1.5rem;
        }

        .vertical-timeline.visible {
            opacity: 1;
        }

        .vertical-timeline-scaled {
            position: relative;
            display: flex;
            flex-direction: column;
            align-items: center;
            width: 100%;
            margin: 0 auto;
            padding: 0 2rem;
            transition: transform 0.3s ease-out;
            transform-origin: center center;
            transform: scale(1.4);
            max-width: 90vw;
            overflow: visible;
        }

        /* Vertical Line Container */
        .vertical-line-container {
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            top: 0;
            bottom: 0;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        /* Background Line */
        .vertical-line-bg {
            background-color: #666666;
            border-radius: 2px;
            width: 3px;
        }

        /* Animated Progress Line */
        .vertical-line-progress {
            position: absolute;
            top: 0;
            background-color: #ffffff;
            border-radius: 2px;
            transform-origin: top;
            transform: scaleY(0);
            transition: transform 0.1s linear;
            width: 3px;
        }

        /* Milestone Items Container */
        .milestone-items {
            position: relative;
            z-index: 10;
            width: 100%;
            display: flex;
            flex-direction: column;
        }

        /* Individual Milestone Item */
        .milestone-item {
            position: relative;
            display: flex;
            flex-direction: column;
            align-items: center;
            width: 100%;
            margin-bottom: 0;
            min-height: 90px;
            overflow: visible;
        }

        /* Milestone Dot */
        .milestone-dot {
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            z-index: 20;
            top: 0;
        }

        .milestone-dot-ring {
            width: 22px;
            height: 22px;
            border: 4px solid #666666;
            border-radius: 50%;
            background: #000000;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease-out;
        }

        .milestone-dot.reached .milestone-dot-ring {
            border-color: #ffffff;
        }

        .milestone-dot.active .milestone-dot-ring {
            border-width: 6px;
            transform: scale(1.2);
            filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.8));
        }

        .milestone-dot.completed .milestone-dot-ring {
            border-color: #ffffff;
            filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.3));
        }

        .milestone-dot-inner {
            width: 8px;
            height: 8px;
            background: #ffffff;
            border-radius: 50%;
            opacity: 0;
            transform: scale(0);
            transition: all 0.4s ease-out;
        }

        .milestone-dot.reached .milestone-dot-inner {
            opacity: 1;
            transform: scale(1);
        }

        /* Milestone Content Container */
        .milestone-content-container {
            position: absolute;
            top: 0;
            width: 100%;
            display: flex;
            align-items: flex-start;
            justify-content: center;
            min-height: 75px;
            overflow: visible;
        }

        /* Milestone Content Card - SIMPLIFIED WITHOUT CLICKING */
        .milestone-content {
            width: 220px;
            padding: 12px;
            background: transparent;
            border: 2px solid #333333;
            border-radius: 12px;
            transition: all 0.3s ease-out;
            opacity: 0;
            transform: scale(0.8);
            max-width: 35vw;
            position: relative;
        }

        .milestone-content.left {
            position: absolute;
            right: 50%;
            margin-right: 22px;
        }

        .milestone-content.right {
            position: absolute;
            left: 50%;
            margin-left: 22px;
        }

        .milestone-content.visible {
            opacity: 1;
            transform: scale(1);
        }

        .milestone-content.active {
            border-color: #ffffff;
            border-width: 3px;
            filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.3));
        }

        .milestone-content.completed {
            border-color: #ffffff;
            filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.3));
        }

        .milestone-title {
            color: #ffffff;
            font-size: 0.8rem;
            font-weight: 500;
            margin-bottom: 5px;
            line-height: 1.2;
        }

        .milestone-date {
            color: #d1d5db;
            font-size: 0.75rem;
            margin-bottom: 8px;
        }

        .milestone-description {
            color: #9ca3af;
            font-size: 0.7rem;
            line-height: 1.5;
        }

        /* Connection Line */
        .connection-line {
            position: absolute;
            top: 11px;
            height: 2px;
            background-color: rgba(156, 163, 175, 0.8);
            transition: all 0.4s ease-out;
            opacity: 0;
            z-index: 15;
        }

        .connection-line.left {
            left: 100%;
            width: 22px;
        }

        .connection-line.right {
            right: 100%;
            width: 22px;
        }

        .milestone-content.visible .connection-line {
            opacity: 0.8;
        }

        .milestone-content.active .connection-line {
            background-color: rgba(255, 255, 255, 0.9);
            opacity: 1;
            height: 3px;
            top: 10.5px;
        }

        /* Carousel Badge (Mobile) */
        .carousel-phrase-container {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(4px);
            border-radius: 20px;
            box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
            border: 1px solid rgba(255, 255, 255, 0.3);
            opacity: 0;
            transform: scale(0.8);
            transition: all 0.4s ease;
            white-space: nowrap;
            position: relative;
            display: inline-block;
            text-align: center;
            z-index: 30;
            min-width: fit-content;
            pointer-events: auto;
        }

        .carousel-phrase-container.visible {
            opacity: 1 !important;
            transform: scale(1) !important;
            display: inline-block !important;
            visibility: visible !important;
        }

        .carousel-phrase-text {
            color: #1f2937;
            font-weight: 500;
            text-align: center;
            font-size: 0.65rem;
            padding: 6px 12px;
            line-height: 1.3;
        }

        /* Carousel wrapper positioning */
        .carousel-wrapper {
            width: auto;
            display: flex;
            justify-content: center;
            position: absolute;
            top: -35px;
            z-index: 25;
        }

        .carousel-wrapper.left {
            justify-content: flex-end;
            right: 0;
            width: 100px;
        }

        .carousel-wrapper.right {
            justify-content: flex-start;
            left: 0;
            width: 100px;
        }

        /* Scroll Indicator */
        .scroll-indicator {
            position: fixed;
            bottom: 2rem;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            flex-direction: column;
            align-items: center;
            color: rgba(255, 255, 255, 0.6);
            z-index: 30;
            opacity: 0;
            transform: translateX(-50%) translateY(20px);
            transition: all 0.5s ease;
        }

        .scroll-indicator.visible {
            opacity: 1;
            transform: translateX(-50%) translateY(0);
        }

        .scroll-indicator-text {
            font-size: 0.875rem;
            text-align: center;
            margin-bottom: 8px;
        }

        .scroll-indicator-arrow {
            width: 20px;
            height: 20px;
            animation: bounce 1.5s infinite;
        }

        @keyframes bounce {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(5px); }
        }

        /* OPTIMIZED CSS FOR SCREENS UNDER 420PX - ENHANCED READABILITY */
        @media (max-width: 420px) {
            /* Main container adjustments for small screens */
            .vertical-timeline {
                padding: 2rem 0.8rem !important;
                min-height: 100vh !important;
            }

            .vertical-timeline-scaled {
                transform: scale(0.85) !important;
                padding: 0 0.3rem !important;
                max-width: 95vw !important;
                margin: 0 auto !important;
            }

            /* Milestone content cards - much more conservative sizing */
            .milestone-content {
                width: 160px !important;
                max-width: 45vw !important;
                padding: 10px !important;
                margin-right: 16px !important;
                margin-left: 16px !important;
                border-radius: 8px !important;
            }

            /* Typography optimization for MAXIMUM readability */
            .milestone-title {
                font-size: 1rem !important; /* Significantly increased for readability */
                font-weight: 600 !important;
                line-height: 1.2 !important;
                margin-bottom: 6px !important;
            }

            .milestone-date {
                font-size: 0.9rem !important; /* Much more readable */
                margin-bottom: 8px !important;
                color: #e5e7eb !important;
            }

            .milestone-description {
                font-size: 0.85rem !important; /* Much more readable */
                line-height: 1.4 !important;
                color: #d1d5db !important;
            }

            /* Timeline dots and lines - optimized sizing */
            .milestone-dot-ring {
                width: 18px !important;
                height: 18px !important;
                border-width: 3px !important;
            }

            .milestone-dot-inner {
                width: 6px !important;
                height: 6px !important;
            }

            .vertical-line-bg,
            .vertical-line-progress {
                width: 2.5px !important;
            }

            /* Connection lines - properly sized */
            .connection-line {
                height: 2px !important;
                top: 9px !important;
            }

            .connection-line.left {
                width: 16px !important;
            }

            .connection-line.right {
                width: 16px !important;
            }

            /* Carousel badges - much better positioning and sizing */
            .carousel-wrapper {
                top: -30px !important;
                width: auto !important;
                max-width: 100px !important;
            }

            .carousel-wrapper.left {
                right: -10px !important;
                justify-content: flex-end !important;
            }

            .carousel-wrapper.right {
                left: -10px !important;
                justify-content: flex-start !important;
            }

            .carousel-phrase-container {
                transform: scale(0.85) !important;
                border-radius: 12px !important;
                max-width: 90px !important;
                min-width: auto !important;
            }

            .carousel-phrase-text {
                font-size: 0.7rem !important; /* Much more readable */
                padding: 4px 8px !important;
                line-height: 1.2 !important;
                white-space: nowrap !important;
                overflow: hidden !important;
                text-overflow: ellipsis !important;
            }

            /* Scroll indicator adjustments */
            .scroll-indicator {
                bottom: 1.5rem !important;
            }

            .scroll-indicator-text {
                font-size: 0.8rem !important;
            }

            .scroll-indicator-arrow {
                width: 16px !important;
                height: 16px !important;
            }
        }

        /* Additional refinements for very small screens (under 375px) */
        @media (max-width: 375px) {
            .vertical-timeline-scaled {
                transform: scale(0.8) !important;
                max-width: 98vw !important;
            }

            .milestone-content {
                width: 150px !important;
                max-width: 48vw !important;
                padding: 8px !important;
            }

            .milestone-title {
                font-size: 0.95rem !important; /* Still very readable */
            }

            .milestone-date {
                font-size: 0.8rem !important; /* Still readable */
            }

            .milestone-description {
                font-size: 0.75rem !important; /* Still readable */
            }

            .carousel-phrase-container {
                max-width: 80px !important;
                transform: scale(0.8) !important;
            }

            .carousel-phrase-text {
                font-size: 0.65rem !important; /* Still readable */
                padding: 3px 6px !important;
            }
        }

        /* Responsive adjustments for other screen sizes */
        @media (max-width: 480px) {
            .vertical-timeline-scaled {
                transform: scale(1.05);
                padding: 0 0.8rem;
                max-width: 88vw;
            }
            
            .vertical-timeline {
                min-height: 100vh;
                padding: 2rem 0.3rem;
            }
            
            .carousel-wrapper {
                top: -30px;
            }
            
            .carousel-wrapper.left {
                width: 80px;
                right: -5px;
            }
            
            .carousel-wrapper.right {
                width: 80px;
                left: -5px;
            }
            
            .milestone-dot-ring {
                width: 18px;
                height: 18px;
                border-width: 3px;
            }
            
            .milestone-dot-inner {
                width: 6px;
                height: 6px;
            }
            
            .vertical-line-bg,
            .vertical-line-progress {
                width: 2.5px;
            }
            
            .milestone-content {
                width: 180px;
                max-width: 32vw;
                padding: 10px;
                margin-right: 18px !important;
                margin-left: 18px !important;
            }
            
            .milestone-title {
                font-size: 0.75rem;
            }
            
            .milestone-date,
            .milestone-description {
                font-size: 0.65rem;
            }
            
            .carousel-phrase-container {
                border-radius: 16px;
            }
            
            .carousel-phrase-text {
                font-size: 0.58rem;
                padding: 4px 8px;
            }
        }

        @media (max-width: 640px) {
            .vertical-timeline-scaled {
                transform: scale(1.2);
                padding: 0 1.2rem;
                max-width: 90vw;
            }
            
            .milestone-content {
                max-width: 34vw;
                width: 200px;
                padding: 11px;
                margin-right: 20px !important;
                margin-left: 20px !important;
            }
            
            .milestone-title {
                font-size: 0.75rem;
            }
            
            .milestone-date,
            .milestone-description {
                font-size: 0.7rem;
            }
            
            .carousel-phrase-container {
                border-radius: 18px;
            }
            
            .carousel-phrase-text {
                font-size: 0.6rem;
                padding: 5px 10px;
            }
        }
        
        @media (max-width: 768px) and (min-width: 641px) {
            .vertical-timeline-scaled {
                transform: scale(1.25);
                padding: 0 1.5rem;
                max-width: 92vw;
            }
            
            .milestone-content {
                width: 210px;
                max-width: 35vw;
                margin-right: 20px !important;
                margin-left: 20px !important;
            }
            
            .carousel-phrase-container {
                border-radius: 18px;
            }
            
            .carousel-phrase-text {
                font-size: 0.6rem;
                padding: 4px 9px;
            }
        }

        @media (max-width: 900px) and (min-width: 769px) {
            .vertical-timeline-scaled {
                transform: scale(1.3);
                padding: 0 1.8rem;
                max-width: 94vw;
            }
            
            .milestone-content {
                width: 220px;
                max-width: 36vw;
                margin-right: 22px !important;
                margin-left: 22px !important;
            }
            
            .carousel-phrase-text {
                font-size: 0.62rem;
                padding: 5px 10px;
            }
        }