﻿
.carousel-container {
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1;
}

.carousel, .carousel-inner, .carousel-item {
    height: 100%;
    width: 100%;
}

.carousel-item {
    position: relative;
}

    .carousel-item img {
        object-fit: cover;
        height: 100%;
        width: 100%;
        position: relative;
        z-index: 0;
    }

.text-container {
    position: absolute;
    top: 50%;
    left: 2%;
    transform: translateY(-50%);
    margin: 10px;
    font-size: 2.3rem;
    color: white;
    z-index: 2;
    max-width: 40%;
    margin-left: 30px;
}

    .text-container::before {
        content: "";
        position: absolute;
        top: -10px;
        left: -10px;
        width: calc(100% + 40px);
        height: calc(100% + 60px);
        background: rgba(0, 0, 0, 0.7);
        z-index: -1;
    }

.text-container {
    font-size: 2.5rem;
}

.btn-custom {
    background-color: #00C2FF;
    color: white;
    margin-left: 0;
}

.second-section {
    margin-top: 90vh;
    padding: 20px;
    background-color: #f8f9fa;
    text-align: center;
}

.icon {
    color: #00C2FF;
    transition: transform 0.3s ease-in-out;
}

    .icon:hover {
        transform: scale(1.1);
        color: #84BD00;
    }

.section-title {
    color: #008BB2;
    font-weight: bold;
}

.section-content {
    color: black;
}

#history_timeline {
    margin-top: -130px !important;
}


body {
    background-color: #f8f9fa;
    overflow-x: hidden;
}


img {
    max-width: 100%;
}

.sagblue {
    color: #00C2FF;
}

.saggreen {
    color: #84BD00;
}


#gradient-section {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(to bottom, #eff5f9, #f6ffe6);
    overflow-x: hidden;
}


.timeline-container {
    width: 80%;
    margin: 50px auto;
    text-align: center;
}

.timeline-title {
    font-size: 3rem;
    margin-bottom: 30px;
    color: #00C2FF;
    text-transform: uppercase;
}

.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline-item {
    position: relative;
    margin: 50px 0;
    opacity: 0;
    transform: translateY(50px) scale(0.95);
    transition: all 0.8s ease-out;
}

    .timeline-item.active {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    .timeline-item:nth-child(even) .timeline-content {
        transform: translateX(-50px);
    }

    .timeline-item:nth-child(odd) .timeline-content {
        transform: translateX(50px);
    }

    .timeline-item.active .timeline-content {
        transform: translateX(0);
    }

.timeline-dot {
    position: relative;
    width: 30px;
    height: 30px;
    background: #84BD00;
    border: 4px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(132, 189, 0, 0.6);
    margin: 0 auto 15px;
    cursor: pointer;
}
    .timeline-dot:hover {
        box-shadow: 0 0 20px rgba(132, 189, 0, 0.8);
    }

        .timeline-dot:hover .tooltipMsg {
            display: block;
        }

.tooltipMsg {
    display: none;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 30px;
    background: #84BD00;
    color: #fff;
    padding: 8px 12px;
    border-radius: 5px;
    font-size: 0.9rem;
    white-space: nowrap;
    z-index: 10;
}

.intro-text {
    margin: 20px auto;
    font-size: 16px;
    line-height: 1.6;
    width: 80%;
    max-width: 800px;
    color: #555;
}

#yearDropdown {
    padding: 10px 20px;
    font-size: 16px;
    border: 2px solid #6abf4b;
    border-radius: 5px;
    background-color: #fff;
    color: #333;
    margin: 20px;
    outline: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

#yearDropdown:hover {
    border-color: #4a8e38;
}

.description-container {
    background-color: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px;
    margin: 20px auto;
    width: 80%;
    max-width: 800px;
    text-align: justify;
    font-size: 16px;
    line-height: 1.8;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

    .description-container:hover {
        transform: scale(1.02);
        border-color: #6abf4b;
    }


@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 10px rgba(132, 189, 0, 0.6);
    }

    50% {
        box-shadow: 0 0 20px rgba(132, 189, 0, 0.8);
    }
}

.timeline-content {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 90%;
    margin: 0 auto;
    position: relative;
    z-index: 5;
    transition: all 0.5s ease-in-out;
    line-height: 1.8rem;
}

    .timeline-content h2 {
        margin: 0;
        color: #00C2FF; 
        font-size: 1.8rem;
    }

    .timeline-content p {
        margin: 10px 0 0;
        color: #555;
        font-size: 1rem;
    }

:root {
    --primary-color: #84BD00;
    --secondary-color: #00C2FF;
}

.mobile-history {
    display: none;
}

@media screen and (max-width: 768px) {
    #gradient-section{
        display: none;
    }
    .mobile-history {
        display: block;
        overflow: hidden;
        margin: 0;
        font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
        font-size: 16px;
        background: #eee;
    }
}

.swiper-container-wrapper {
    width: 100%;
    margin: 0 auto;
    padding-top: 20px;
}

.swiper-pagination-progressbar {
    position: relative;
    margin: 20px 0;
    background-color: transparent;
    height: 4px;
    border-bottom: 1px solid var(--secondary-color);
    width: 100%;
}

.swiper-pagination-progressbar-fill {
    background-color: var(--primary-color) !important;
    height: 3px;
    top: 2px;
}

.swiper-pagination-switch {
    text-align: center;
    cursor: pointer;
    padding: 0px 10px;
    font-size: 16px;
    border: 2px solid #6abf4b;
    border-radius: 5px;
    background-color: #fff;
    color: #333;
    outline: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

    .swiper-pagination-switch span {
        display: inline-block;
        padding: 5px 10px;
        background: #fff;
        border-radius: 5px;
    }

    .swiper-pagination-switch.active {
        font-weight: bold;
        color: var(--secondary-color);
        border: 1px solid var(--secondary-color);
    }

.swiper-slide {
    display: flex;
    background: #fff;
    min-height: 300px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.title {
    padding: 20px;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.9;
    color: #333;
    text-align: center;
    opacity: 0;
    transition: opacity 0.5s ease 0.5s;
}

.swiper-slide-active .title {
    opacity: 1;
}

.swiper-pagination-custom {
    list-style: none;
    margin: 1rem 0;
    padding: 0;
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    gap: 20px;
    scroll-behavior: smooth;
    padding-bottom: 10px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

    .swiper-pagination-custom::-webkit-scrollbar {
        display: none;
    }

    .swiper-pagination-custom::-ms-scrollbar {
        display: none;
    }

.sagblue {
    color: #00C2FF;
}

.saggreen {
    color: #84BD00;
}

@media (max-width: 768px) {

    .text-container {
        position: absolute;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 1.5rem;
        color: white;
        z-index: 2;
        width: 100%;
        margin-left: 0 !important;
        text-align: center
    }

    .text-container::before {
        content: "";
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 85vw;
        height: calc(100% + 100px);
        background: rgba(0, 0, 0, 0.7);
    }
}
