* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
    background: #000000;
    color: #ffffff;
}

.unicode {
    font-family: 'Noto Sans Sinhala', sans-serif;
}

/* Navbar Styles */
.navbar {
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 8px 32px 0 rgba(220, 38, 38, 0.3);
    padding: 1rem 0;
    box-shadow: 0 8px 32px 0 rgba(220, 38, 38, 0.3);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white !important;
    font-size: 1.5rem;
    font-weight: 700;
}

.navbar-brand img {
    width: 40px;
    height: 40px;
    filter: drop-shadow(0 0 8px rgba(220, 38, 38, 0.6)) drop-shadow(0 0 15px rgba(220, 38, 38, 0.4));
    animation: logoGlow 3s ease-in-out infinite;
}

@keyframes logoGlow {
    
    0%,
    90% {
        filter: drop-shadow(0 0 8px rgba(220, 38, 38, 0.3)) drop-shadow(0 0 15px rgba(220, 38, 38, 0.2));
    }
    
    40% {
        filter: drop-shadow(0 0 12px rgba(220, 38, 38, 0.4)) drop-shadow(0 0 20px rgba(220, 38, 38, 0.3)) drop-shadow(0 0 30px rgba(239, 68, 68, 0.2));
    }
}

.navbar-toggler {
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    padding: 8px 10px;
    padding-top: 3px;
    border-radius: 6px;
}

.navbar-toggler:focus {
    box-shadow: none;
    border-color: white;
}

.navbar-toggler-icon {
    width: 22px;
    height: 2px;
    position: relative;
    display: inline-block;
    background: white;
    border-radius: 2px;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: '';
    width: 22px;
    height: 2px;
    background: white;
    position: absolute;
    left: 0;
    border-radius: 2px;
}

.navbar-toggler-icon::before {
    top: -7px;
}

.navbar-toggler-icon::after {
    top: 7px;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    padding: 8px 20px !important;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.navbar-nav .nav-link:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white !important;
}

.navbar-nav .nav-link.btn-style {
    background: white;
    color: #0088cc !important;
    padding: 10px 30px !important;
    font-weight: 600;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.navbar-nav .nav-link.btn-style:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.3);
    color: #0088cc !important;
}

@media (max-width: 991px) {
    .navbar-nav .nav-link.btn-style {
        margin-top: 15px;
    }
}

/* Hero Video Section */
.hero-video-section {
    margin-top: 80px;
    height: calc(100vh - 80px);
    position: relative;
    overflow: hidden;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    pointer-events: none;
}

.video-mobile {
    display: none;
}

.video-desktop {
    display: block;
}

@media (max-width: 768px) {
    .video-mobile {
        display: block;
    }
    
    .video-desktop {
        display: none;
    }

    .mob-mt {
        margin-top: 15px;
        padding-top: 17px;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        margin-bottom: 2px;
    }

    .mob-mb {
        margin-bottom: 20px;
        margin-top: 10px;
    }
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2;
}

/* Video Loading Overlay */
.video-loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.video-loading-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid #dc2626;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

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

.loading-text {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-content {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 80px;
}

.video-card {
    background: rgba(15, 15, 15, 0.7);
    backdrop-filter: blur(30px) saturate(150%);
    -webkit-backdrop-filter: blur(30px) saturate(150%);
    border: 2px solid rgba(220, 38, 38, 0.3);
    border-radius: 30px;
    padding: 50px 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4),
    0 0 100px rgba(220, 38, 38, 0.3),
    inset 0 1px 1px rgba(255, 255, 255, 0.08);
    text-align: center;
    max-width: 550px;
    width: 90%;
    animation: fadeInUp 1s ease;
    position: relative;
    transition: transform 0.1s ease-out, box-shadow 0.1s ease-out, border-color 0.3s ease;
    transform-style: preserve-3d;
}

.video-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%);
    border-radius: 30px 30px 0 0;
    pointer-events: none;
}

.video-card:hover {
    border-color: rgba(220, 38, 38, 0.5);
}

.video-card:hover::before {
    opacity: 0.8;
}

.video-card h1 {
    font-size: 2.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff, #f59e0b, #ef4444);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px rgba(245, 158, 11, 0.6);
    margin-bottom: 15px;
    animation: textGlow 2s infinite;
}

@keyframes textGlow {
    
    0%,
    100% {
        filter: brightness(1);
    }
    
    50% {
        filter: brightness(1.3);
    }
}

.video-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.btn-watch-video {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    color: white;
    padding: 16px 45px;
    font-size: 1.15rem;
    font-weight: 700;
    border: 3px solid white;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.5);
}

.btn-watch-video:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(220, 38, 38, 0.7);
}

.btn-watch-video i {
    font-size: 1.2rem;
}

/* Mute/Unmute Button */
.mute-toggle-btn {
    position: absolute;
    top: 30px;
    right: 30px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 100;
    color: white;
    font-size: 20px;
    opacity: 0.8;
}

.mute-toggle-btn:hover {
    background: rgba(220, 38, 38, 0.8);
    border: 1px solid rgba(220, 38, 38, 0.5);
    transform: scale(1.1);
    box-shadow: 0 8px 24px rgba(220, 38, 38, 0.4);
}

@media (max-width: 768px) {
    .mute-toggle-btn {
        width: 45px;
        height: 45px;
        top: 20px;
        right: 20px;
        font-size: 18px;
    }
}

/* Video Modal */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.video-modal.active {
    display: flex;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    aspect-ratio: 16/9;
}

.video-modal iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
}

.close-modal {
    position: absolute;
    top: -50px;
    right: 0;
    background: transparent;
    border: none;
    color: white;
    font-size: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-modal:hover {
    transform: rotate(90deg);
    color: #dc2626;
}

/* Telegram CTA Section */
.telegram-section {
    background: linear-gradient(135deg, #0a0a0a 0%, #1e1b4b 50%, #0a0a0a 100%);
    border-top: 2px solid rgba(59, 130, 246, 0.3);
    border-bottom: 2px solid rgba(139, 92, 246, 0.3);
    padding: 70px 0;
    color: white;
    text-align: center;
    box-shadow: inset 0 0 100px rgba(59, 130, 246, 0.1);
}

.telegram-section h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.telegram-section p {
    font-size: 1.1rem;
    opacity: 0.95;
    margin-bottom: 30px;
}

.btn-telegram {
    background: linear-gradient(135deg, #06b6d4, #3b82f6, #0088cc);
    color: white;
    padding: 16px 45px;
    font-size: 1.15rem;
    font-weight: 700;
    border: 3px solid white;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(6, 182, 212, 0.4);
    animation: buttonFloat 3s ease-in-out infinite 0.5s;
}

.btn-telegram:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(6, 182, 212, 0.6);
    color: white;
}

/* Milestones Section */
.milestones-section {
    padding: 10px 0;
    background: url('https://echem.lk/images/banner-single-1.jpg') center center / cover no-repeat;
    position: relative;
}

.milestones-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.85) 0%, rgba(248, 250, 252, 0.88) 50%, rgba(255, 255, 255, 0.85) 100%);
    z-index: 0;
}

.milestones-section .container {
    position: relative;
    z-index: 1;
}

.asawen-text-img {
    max-width: 300px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 50px;
    margin-bottom: 20px;
}

.section-title {
    text-align: center;
    opacity: 0;
    transform: translateY(-30px);
    animation: fadeInDown 0.8s ease forwards;
    padding-bottom: 12px;
    margin-bottom: 60px;
    border-bottom: #4d4d4dff 2px solid;
}

.section-title h2 {
    font-size: 2.8rem;
    font-weight: 800;
    background: #000000;
    /* background: linear-gradient(135deg, #ef4444, #f59e0b, #10b981, #3b82f6, #8b5cf6); */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    animation: titleGlow 3s ease-in-out infinite;
}

.section-title p {
    font-size: 1.1rem;
    color: #6c757d;
}

@keyframes fadeInDown {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Timeline styling */
.timeline {
    position: relative;
    margin: 2rem 0;
    padding: 0;
}

/* Vertical line in the middle on desktop */
@media (min-width: 768px) {
    .timeline::before {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        left: 50%;
        width: 5px;
        background: linear-gradient(180deg, #ef4444 0%, #f59e0b 25%, #10b981 50%, #3b82f6 75%, #8b5cf6 100%);
        transform: translateX(-50%);
        border-radius: 3px;
        box-shadow: 0 0 30px rgba(139, 92, 246, 0.5), 0 0 20px rgba(239, 68, 68, 0.4);
        animation: lineGlow 3s ease-in-out infinite;
    }
    
    @keyframes lineGlow {
        
        0%,
        100% {
            box-shadow: 0 0 30px rgba(139, 92, 246, 0.5), 0 0 20px rgba(239, 68, 68, 0.4);
        }
        
        50% {
            box-shadow: 0 0 45px rgba(139, 92, 246, 0.7), 0 0 30px rgba(239, 68, 68, 0.6);
        }
    }
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.timeline-item.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item:last-child {
    margin-bottom: 0;
}

/* Mobile timeline: simple vertical stack with colorful gradient border */
@media (max-width: 767px) {
    
    .asawen-text-img {
        max-width: 250px;
        margin-top: 40px;
        margin-bottom: 20px;
    }
    
    .section-title h2 {
        font-size: 1.8rem !important;
    }
    
    .timeline {
        padding-left: 1.1rem;
        border-left: 5px solid;
        border-image: linear-gradient(180deg, #ef4444 0%, #f59e0b 20%, #10b981 40%, #3b82f6 60%, #8b5cf6 80%, #ec4899 100%) 1;
        border-radius: 0;
    }
    
    .timeline-item::before {
        content: "";
        position: absolute;
        left: -29px;
        top: 20px;
        width: 20px;
        height: 20px;
        border-radius: 50%;
        background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
        box-shadow: 0 0 0 5px #ffffff, 0 0 0 9px rgba(245, 158, 11, 0.3), 0 0 20px rgba(239, 68, 68, 0.5);
        z-index: 1;
    }
    
    .timeline-item:nth-child(2)::before {
        background: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
        box-shadow: 0 0 0 5px #ffffff, 0 0 0 9px rgba(16, 185, 129, 0.3), 0 0 20px rgba(6, 182, 212, 0.5);
    }
    
    .timeline-item:nth-child(3)::before {
        background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
        box-shadow: 0 0 0 5px #ffffff, 0 0 0 9px rgba(59, 130, 246, 0.3), 0 0 20px rgba(139, 92, 246, 0.5);
    }
    
    .timeline-item:nth-child(4)::before {
        background: linear-gradient(135deg, #ec4899 0%, #f43f5e 100%);
        box-shadow: 0 0 0 5px #ffffff, 0 0 0 9px rgba(236, 72, 153, 0.3), 0 0 20px rgba(244, 63, 94, 0.5);
    }
    
    .timeline-item:nth-child(5)::before {
        background: linear-gradient(135deg, #14b8a6 0%, #06b6d4 100%);
        box-shadow: 0 0 0 5px #ffffff, 0 0 0 9px rgba(20, 184, 166, 0.3), 0 0 20px rgba(6, 182, 212, 0.5);
    }
    
    .timeline-item:nth-child(6)::before {
        background: linear-gradient(135deg, #f59e0b 0%, #eab308 100%);
        box-shadow: 0 0 0 5px #ffffff, 0 0 0 9px rgba(245, 158, 11, 0.3), 0 0 20px rgba(234, 179, 8, 0.5);
    }
}

/* Alternating left/right on desktop */
@media (min-width: 768px) {
    .timeline-item {
        width: 50%;
    }
    
    .timeline-item:nth-child(even) {
        margin-left: 50%;
        padding-left: 2.5rem;
    }
    
    .timeline-item:nth-child(odd) {
        margin-right: 50%;
        padding-right: 2.5rem;
    }
    
    .timeline-item::before {
        content: "";
        position: absolute;
        top: 30px;
        width: 24px;
        height: 24px;
        border-radius: 50%;
        background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
        box-shadow: 0 0 0 6px #ffffff, 0 0 0 12px rgba(245, 158, 11, 0.3), 0 0 30px rgba(239, 68, 68, 0.6);
        z-index: 1;
        animation: pulse 2s infinite;
    }
    
    @keyframes pulse {
        
        0%,
        100% {
            transform: scale(1);
        }
        
        50% {
            transform: scale(1.15);
        }
    }
    
    .timeline-item:nth-child(even)::before {
        left: -12px;
    }
    
    .timeline-item:nth-child(odd)::before {
        right: -12px;
    }
    
    .timeline-item:nth-child(2)::before {
        background: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
        box-shadow: 0 0 0 5px #ffffff, 0 0 0 10px rgba(16, 185, 129, 0.3), 0 0 25px rgba(6, 182, 212, 0.5);
    }
    
    .timeline-item:nth-child(3)::before {
        background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
        box-shadow: 0 0 0 5px #ffffff, 0 0 0 10px rgba(59, 130, 246, 0.3), 0 0 25px rgba(139, 92, 246, 0.5);
    }
    
    .timeline-item:nth-child(4)::before {
        background: linear-gradient(135deg, #ec4899 0%, #f43f5e 100%);
        box-shadow: 0 0 0 5px #ffffff, 0 0 0 10px rgba(236, 72, 153, 0.3), 0 0 25px rgba(244, 63, 94, 0.5);
    }
    
    .timeline-item:nth-child(5)::before {
        background: linear-gradient(135deg, #14b8a6 0%, #06b6d4 100%);
        box-shadow: 0 0 0 5px #ffffff, 0 0 0 10px rgba(20, 184, 166, 0.3), 0 0 25px rgba(6, 182, 212, 0.5);
    }
    
    .timeline-item:nth-child(6)::before {
        background: linear-gradient(135deg, #f59e0b 0%, #eab308 100%);
        box-shadow: 0 0 0 5px #ffffff, 0 0 0 10px rgba(245, 158, 11, 0.3), 0 0 25px rgba(234, 179, 8, 0.5);
    }
    
    
    
    /* Desktop: Message tail pointing left for even items (right side) */
    .timeline-item:nth-child(even) .timeline-content::after {
        left: -19px;
        right: auto;
        border-right: 20px solid #ffffff;
        border-left: none;
        border-top: 17px solid transparent;
        border-bottom: 17px solid transparent;
        filter: drop-shadow(-2px 2px 8px rgba(0, 0, 0, 0.15));
    }
    
    /* Desktop: Message tail pointing right for odd items (left side) */
    .timeline-item:nth-child(odd) .timeline-content::after {
        right: -19px;
        left: auto;
        border-left: 20px solid #ffffff;
        border-right: none;
        border-top: 17px solid transparent;
        border-bottom: 17px solid transparent;
        filter: drop-shadow(2px 2px 8px rgba(0, 0, 0, 0.15));
    }
    
    /* Desktop: Colorful bar on right for even items (opposite of tail) */
    .timeline-item:nth-child(even) .timeline-card-body::before {
        left: auto;
        right: 0;
        top: 0;
        bottom: 0;
        border-radius: 0 22px 22px 0;
    }
    
    /* Desktop: Colorful bar on left for odd items (opposite of tail) */
    .timeline-item:nth-child(odd) .timeline-card-body::before {
        right: auto;
        left: 0;
        top: 0;
        bottom: 0;
        border-radius: 22px 0 0 22px;
    }
    
    .timeline-item:nth-child(1) .timeline-card-body::before {
        background: linear-gradient(180deg, #ef4444 0%, #f59e0b 100%);
    }
    
    .timeline-item:nth-child(2) .timeline-card-body::before {
        background: linear-gradient(180deg, #10b981 0%, #06b6d4 100%);
    }
    
    .timeline-item:nth-child(3) .timeline-card-body::before {
        background: linear-gradient(180deg, #3b82f6 0%, #8b5cf6 100%);
    }
    
    .timeline-item:nth-child(4) .timeline-card-body::before {
        background: linear-gradient(180deg, #ec4899 0%, #f43f5e 100%);
    }
    
    .timeline-item:nth-child(5) .timeline-card-body::before {
        background: linear-gradient(180deg, #14b8a6 0%, #06b6d4 100%);
    }
    
    .timeline-item:nth-child(6) .timeline-card-body::before {
        background: linear-gradient(180deg, #f59e0b 0%, #eab308 100%);
    }
    
    /* Desktop: Year badge on left for even items (starting side) */
    .timeline-item:nth-child(even) .timeline-year {
        left: 35px;
        right: auto;
    }
    
    /* Desktop: Year badge on right for odd items (starting side) */
    .timeline-item:nth-child(odd) .timeline-year {
        right: 35px;
        left: auto;
    }
    
    /* Desktop: Padding adjustment for even items (left padding on starting side) */
    .timeline-item:nth-child(even) .timeline-card-body {
        padding: 35px 35px 20px 20px;
    }
    
    /* Desktop: Padding adjustment for odd items (right padding on starting side) */
    .timeline-item:nth-child(odd) .timeline-card-body {
        padding: 20px 20px 20px 35px;
    }
}

/* Timeline Card */
.timeline-content {
    background: linear-gradient(135deg, #ffffff 0%, #fefefe 100%);
    border: 2px solid transparent;
    background-clip: padding-box;
    border-radius: 24px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1), 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
    position: relative;
    margin-top: 50px;
}

.timeline-content::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(135deg, #ef4444, #f59e0b, #10b981, #3b82f6, #8b5cf6);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.3;
}

/* Colorful accent bar - right side on mobile */
.timeline-card-body::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 6px;
    background: linear-gradient(180deg, #ef4444 0%, #f59e0b 50%, #10b981 100%);
    border-radius: 0 22px 22px 0;
    z-index: 1;
}

/* Message box tail on left - mobile */
.timeline-content::after {
    content: '';
    position: absolute;
    left: -19px;
    top: 22px;
    width: 0;
    height: 0;
    border-top: 17px solid transparent;
    border-bottom: 17px solid transparent;
    border-right: 20px solid #ffffff;
    z-index: 5;
    filter: drop-shadow(-2px 2px 8px rgba(0, 0, 0, 0.15));
}

.timeline-content:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 25px 70px rgba(139, 92, 246, 0.25), 0 10px 30px rgba(59, 130, 246, 0.15);
}

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

/* Year badge - positioned outside and above the card on starting side */
.timeline-year {
    position: absolute;
    top: -17px;
    left: 5px;
    font-size: 1.3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ef4444 0%, #f59e0b 100%);
    color: white;
    padding: 10px 24px;
    border-radius: 50px;
    margin-bottom: 0;
    box-shadow: 0 10px 30px rgba(239, 68, 68, 0.4);
    z-index: 100;
    line-height: 1.4;
    border: 3px solid white;
}

.timeline-item:nth-child(2) .timeline-year {
    background: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4);
}

.timeline-item:nth-child(3) .timeline-year {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
}

.timeline-item:nth-child(4) .timeline-year {
    background: linear-gradient(135deg, #ec4899 0%, #f43f5e 100%);
    box-shadow: 0 10px 30px rgba(236, 72, 153, 0.4);
}

.timeline-item:nth-child(5) .timeline-year {
    background: linear-gradient(135deg, #14b8a6 0%, #06b6d4 100%);
    box-shadow: 0 10px 30px rgba(20, 184, 166, 0.4);
}

.timeline-item:nth-child(6) .timeline-year {
    background: linear-gradient(135deg, #f59e0b 0%, #eab308 100%);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.4);
}

.timeline-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #212529;
    margin-top: 20px;
    margin-bottom: 8px;
}

.timeline-subtitle {
    font-size: 1.05rem;
    background: linear-gradient(135deg, rgb(218, 108, 108), #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.timeline-description {
    font-size: 1rem;
    color: rgb(92, 95, 97);
    line-height: 1.7;
}

.timeline-special-text {
    display: block;
    font-size: 1.2rem;
    color: #dc2626;
    font-weight: 700;
    margin-top: 8px;
}

.timeline-gradient-text {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #dc2626 0%, rgb(73, 66, 60) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-top: 0px;
    letter-spacing: 2px;
}

.timeline-large-a {
    display: inline-block;
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
    margin: 0 10px;
    vertical-align: middle;
}

.timeline-large-a .a-letter {
    color: #dc2626;
}

.timeline-large-a .a-number {
    color: #000000;
}

.timeline-results-sheet {
    display: inline-block;
    font-size: 1.5rem;
    font-weight: 800;
    color: #dc2626;
    margin: 0;
    vertical-align: middle;
}

.timeline-final-text {
    display: block;
    font-size: 1.8rem;
    font-weight: 900;
    color: #000000;
    margin-top: 15px;
    text-align: center;
}

.timeline-red-highlight {
    color: #dc2626;
    font-weight: 700;
}

.timeline-card-body {
    padding: 30px 35px 20px 20px;
    position: relative;
}

.timeline-title::before {
    content: '🚀';
    margin-right: 10px;
    font-size: 1.4rem;
}

.timeline-item:nth-child(2) .timeline-title::before {
    content: '⭐';
}

.timeline-item:nth-child(3) .timeline-title::before {
    content: '💪';
}

.timeline-item:nth-child(4) .timeline-title::before {
    content: '🌟';
}

.timeline-item:nth-child(5) .timeline-title::before {
    content: '🎯';
}

.timeline-item:nth-child(6) .timeline-title::before {
    content: '🏆';
}

/* Telegram CTA After Milestones */
.telegram-cta-bottom {
    background: linear-gradient(135deg, #f59e0b 0%, #ef4444 50%, #dc2626 100%);
    padding: 70px 0;
    color: white;
    text-align: center;
    box-shadow: 0 -10px 50px rgba(220, 38, 38, 0.4);
    animation: gradientShift 8s ease-in-out infinite;
}

/* @keyframes gradientShift {

0%,
100% {
background: linear-gradient(135deg, #dc2626 0%, #ef4444 30%, #f59e0b 100%);
}

50% {
background: linear-gradient(135deg, #f59e0b 0%, #ef4444 50%, #dc2626 100%);
}
} */

.telegram-cta-bottom h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.telegram-cta-bottom p {
    font-size: 1.1rem;
    opacity: 0.95;
    margin-bottom: 30px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Info Image Section */
.mobile-info-section {
    padding: 0;
    margin: 0;
    background: linear-gradient(135deg, rgb(255, 255, 255) 0%, rgb(255, 255, 255) 50%, rgb(255, 255, 255) 100%);
    width: 100%;
    overflow: hidden;
}

.mobile-info-section .container {
    padding: 0;
    max-width: 100%;
}

.mobile-info-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: none;
    object-fit: cover;
}

.desktop-info-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .mobile-info-image {
        display: block;
    }

    .desktop-info-image {
        display: none;
    }
    
    .hero-video-section {
        height: calc(100vh - 70px);
        margin-top: 70px;
    }
    
    .video-card {
        padding: 30px 25px;
        max-width: 90%;
    }
    
    .video-card h1 {
        font-size: 2rem;
    }
    
    .video-card p {
        font-size: 1rem;
    }
    
    .btn-watch-video {
        padding: 12px 30px;
        font-size: 1rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .milestone-card {
        padding: 25px;
    }
    
    .milestone-year {
        font-size: 2rem;
    }
    
    .milestone-title {
        font-size: 1.3rem;
    }
    
    .telegram-section h2,
    .telegram-cta-bottom h2 {
        font-size: 1.5rem;
    }
    
    .close-modal {
        top: -40px;
        font-size: 30px;
    }
}

@media (max-width: 576px) {
    .navbar-brand {
        font-size: 1.1rem;
    }
    
    .navbar-brand img {
        width: 32px;
        height: 32px;
    }
}

/* Footer Styles */
.footer {
    background: linear-gradient(180deg, #0a0a0a 0%, #1e1b4b 50%, #0a0a0a 100%);
    padding: 60px 0 0;
    border-top: 2px solid rgba(139, 92, 246, 0.4);
    margin-top: 0;
    box-shadow: 0 -10px 50px rgba(59, 130, 246, 0.2);
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-brand img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.footer-brand h3 {
    color: #ffffff;
    font-weight: 700;
    margin: 0;
    font-size: 1.8rem;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-top: 15px;
    text-align: center;
}

@media (min-width: 769px) {
    .footer-brand {
        justify-content: flex-start;
    }
    
    .footer-description {
        text-align: left;
    }
}

.footer-title {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 1.3rem;
    text-align: center;
}

@media (min-width: 769px) {
    .footer-title {
        text-align: left;
    }
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.footer-links a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ef4444, #f59e0b, #10b981, #3b82f6, #8b5cf6);
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: #ffffff;
    transform: translateX(5px);
}

.footer-links a:hover::before {
    width: 100%;
}

@media (min-width: 769px) {
    .footer-links {
        text-align: left;
    }
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #dc2626;
    padding-left: 5px;
}

.footer-social {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

@media (min-width: 769px) {
    .footer-social {
        justify-content: flex-start;
    }
    
    .footer-quick-links {
        padding-left: 40px;
    }
}

.footer-social a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 20px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-social a:hover {
    background: #dc2626;
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    margin-top: 40px;
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .footer {
        padding: 40px 0 0;
    }
    
    .footer-brand h3 {
        font-size: 1.5rem;
    }
    
    .footer-title {
        font-size: 1.1rem;
        margin-top: 20px;
    }
}