/* Hero Video Section Styles */
.hero-video-section {
    height: 100vh;
    min-height: 600px;
}

.hero-video-section video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

/* Mobile adjustments for hero */
@media (max-width: 768px) {
    .hero-video-section {
        height: 100vh;
        /* min-height: 500px; */
    }

    .hero-video-section video {
        object-position: center center;
    }
}

@media (max-width: 480px) {
    .hero-video-section {
        min-height: 450px;
    }
}

/* Stats Section - Exact Match Styles */
.stats-section {
    background-color: #ffffff;
    padding: 32px 0 120px 0;
}

.stats-section .stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.stats-section .stat-card {
    background-color: #f5f5f5;
    border-radius: 12px;
    padding: 1.5rem;
}

.stats-section .stat-icon {
    margin-bottom: 12px;
}

.stats-section .stat-icon img {
    width: 24px;
    height: 24px;
    display: block;
}

.stats-section .stat-number {
    font-size: 24px;
    font-weight: 500;
    color: #1a1a1a;
    line-height: 1.2;
    margin-bottom: 4px;
    letter-spacing: -0.01em;
}

.stats-section .stat-label {
    font-size: 1rem;
    font-weight: 400;
    color: #6b7280;
    line-height: 1.5;
}

/* Counter Animation */
.stats-section .counter {
    display: inline-block;
}

/* Fade in animation for cards */
.stats-section .stat-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.stats-section .stat-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.stats-section .stat-card:nth-child(1) {
    transition-delay: 0s;
}

.stats-section .stat-card:nth-child(2) {
    transition-delay: 0.08s;
}

.stats-section .stat-card:nth-child(3) {
    transition-delay: 0.16s;
}

.stats-section .stat-card:nth-child(4) {
    transition-delay: 0.24s;
}

/* Tablet - 2 columns */
@media (max-width: 1024px) {
    .stats-section .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

/* Mobile - 1 column */
@media (max-width: 640px) {
    .stats-section {
        padding: 24px 0 92px 0;
    }

    .stats-section .stats-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .stats-section .stat-card {
        padding: 1.5rem;
    }

    .stats-section .stat-number {
        font-size: 1.375rem;
    }

    .stats-section .stat-label {
        font-size: 1rem;
    }
}

/* Investor Slider Section Styles */
.investor-slider-section {
    position: relative;
    padding: 80px 0 100px 0;
    overflow: hidden;
}

.investor-slider-background {
    position: absolute;
    inset: 0;
    /* background: linear-gradient(315deg, #F4C6B9 0.06%, #F1EDEB 25.97%); */
    z-index: 0;
}

.investor-slider-container {
    position: relative;
    z-index: 1;
}

.investor-slider-wrapper {
    position: relative;
    width: 100%;
}

.investor-slides {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 12px;
}

.investor-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    border-radius: 12px;
    overflow: hidden;
}

.investor-slide.active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
    z-index: 2;
}

.investor-slide.prev {
    opacity: 0;
    transform: translateX(-30px) scale(0.95);
}

.investor-slide.next {
    opacity: 0;
    transform: translateX(30px) scale(0.95);
}

.slide-image-wrapper {
    position: absolute;
    inset: 0;
    border-radius: 12px;
    overflow: hidden;
}

.slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.investor-slide.active .slide-image {
    transform: scale(1);
}

.investor-slide:hover .slide-image {
    transform: scale(1.02);
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 32px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
}

.slide-text {
    font-family: inherit;
    font-size: 2rem;
    font-weight: 500;
    line-height: 1.2;
    color: #ffffff;
    margin: 0;
    max-width: 450px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Navigation Arrows */
.investor-slider-nav {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.slider-arrow {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: #384949;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.slider-arrow:hover {
    background: rgba(56, 73, 73, 0.1);
    transform: scale(1.1);
}

.slider-arrow:active {
    transform: scale(0.95);
}

.slider-arrow svg {
    width: 24px;
    height: 24px;
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
    .investor-slider-section {
        padding: 60px 0 80px 0;
    }

    .investor-slides {
        height: 450px;
    }

    .slide-text {
        font-size: 1.75rem;
        max-width: 380px;
    }
}

@media (max-width: 768px) {
    .investor-slider-section {
        padding: 48px 0 60px 0;
    }

    .investor-slides {
        height: 450px;
    }

    .slide-image {
        object-position: center 20%;
    }

    .slide-content {
        padding: 32px 24px;
    }

    .slide-text {
        font-size: 1.5rem;
        max-width: 320px;
    }

    .slider-arrow {
        width: 40px;
        height: 40px;
    }

    .slider-arrow svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .investor-slider-section {
        padding: 24px 0 40px 0;
    }

    .investor-slides {
        height: 420px;
        border-radius: 8px;
    }

    .investor-slide {
        border-radius: 8px;
    }

    .slide-image-wrapper {
        border-radius: 8px;
    }

    .slide-image {
        object-position: center 25%;
    }

    .slide-content {
        padding: 24px 20px;
    }

    .slide-text {
        font-size: 1.35rem;
        max-width: 85%;
        line-height: 1.25;
    }

    .investor-slider-nav {
        margin-top: 16px;
        gap: 8px;
    }

    .slider-arrow {
        width: 36px;
        height: 36px;
    }

    .slider-arrow svg {
        width: 18px;
        height: 18px;
    }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .investor-slide {
        transition: opacity 0.3s ease;
        transform: none !important;
    }

    .investor-slide.active,
    .investor-slide.prev,
    .investor-slide.next {
        transform: none !important;
    }

    .slide-image {
        transition: none;
    }
}

#history-timeline {
    transition: background-color 0.7s ease;
}

#history-timeline .tl-year-text {
    font-size: 100px;
    font-weight: 500;
    line-height: 1;
    transition: color 0.3s ease;
    letter-spacing: -0.02em;
}

@media (min-width: 768px) {
    #history-timeline .tl-year-text {
        font-size: 120px;
    }
}

@media (max-width: 767px) {
    #history-timeline .tl-year-text {
        font-size: 70px;
    }
}

#history-timeline .tl-content-wrapper {
    position: relative;
    min-height: 100px;
}

#history-timeline .tl-content {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

#history-timeline .tl-content.active {
    opacity: 1;
    transform: translateY(0);
    position: relative;
}

#history-timeline .tl-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4B5563;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

#history-timeline .tl-dot:hover {
    background: #6B7280;
}

#history-timeline .tl-dot.active {
    width: 18px;
    height: 18px;
    background: #0C1C1C;
    border: 2px solid #8B7BF7;
}

#history-timeline .tl-dot.active::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background: #8B7BF7;
    border-radius: 50%;
}

/* Brown era background for active dot */
#history-timeline[style*="rgb(107, 93, 77)"] .tl-dot.active,
#history-timeline[style*="#6B5D4D"] .tl-dot.active {
    background: #6B5D4D;
}