﻿
.project-img-card {
    max-height: 250px;
    margin-bottom: 15px;
    margin-top: 15px;
    overflow: hidden;
}

.card:hover .card-hover-body {
    display: flex;
    height: 100%;
    width: 100%;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
    background: #00000080;
}

.card:hover .volunteer-info, .card .volunteer-work {
    display: none;
}

.card:hover .volunteer-work {
    display: block;
}

.card-story .card-story-title {
    display: flex;
    align-items: flex-end;
    color: var(--white);
}

.card-story:hover .card-story-title {
    display: none;
}

.card.project-gallery-card {
    margin: 1.5rem;
    max-width: 430px;
    transition: all ease-in .4s;
}

    .card.project-gallery-card:hover {
        border: 1px solid var(--primary);
    }

/*Animated Timeline*/
.timeline {
    position: relative;
    padding-left: 50px;
    max-width: 600px;
    margin: auto;
}

    .timeline::before {
        content: "";
        position: absolute;
        top: 0;
        left: 30px;
        width: 1px;
        height: calc(100% - 100px);
        background: var(--secondary-light);
    }

.progress-bar-fill {
    position: absolute;
    top: 0;
    left: 30px;
    width: 2px;
    height: 100%;
    background: var(--primary);
    animation: growProgress linear;
    animation-timeline: view(block 20% 0%);
    animation-range: entry 0% cover 100%;
}

.timeline-item {
    position: relative;
    padding-left: 30px;
    margin-bottom: 30px;
}

    .timeline-item .timeline-number-dot {
        position: absolute;
        top: 0;
        left: -36px;
        width: 34px;
        height: 34px;
        background: var(--primary-lighter);
        color: var(--primary);
        border: 2px solid var(--white);
        border-radius: 50%;
        z-index: 2;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
    }

.timeline-content {
}

@keyframes growProgress {
    from {
        height: 0%;
    }

    to {
        height: 100%;
    }
}

.bg-gradient-fade-left {
    background: linear-gradient(to right, var(--secondary-lighter) 20%, #ffffff00 100%);
    pointer-events: none;
    z-index: 2;
    height: 100% !important;
    width: 192px;
}

.bg-gradient-fade-right {
    background: linear-gradient(to left, var(--secondary-lighter) 20%, #ffffff00 100%);
    pointer-events: none;
    z-index: 2;
    height: 100% !important;
    width: 192px;
    right: 0;
}

.solution-card {
    border-top: 1px solid var(--secondary-light);
    background: var(--primary-lighter);
}

.tab-design {
    background-color: white;
    border-radius: 16.5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    overflow: hidden;
}

.nav-tabs-custom {
    border-bottom: none;
    gap: 10px;
}

.progress-indicator-container {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background-color: #e9ecef;
}

.progress-line {
    display: none;
    height: 100%;
    background-color: #9FB034;
    width: 0%;
    transition: width 12s linear;
}

.nav-link.active + .progress-indicator-container .progress-line {
    display: block;
}

.nav-tabs-custom .nav-item {
    border-bottom: none;
    position: relative;
}

.nav-tabs-custom .nav-link {
    border: none;
    border-radius: 0;
    padding-top: 25px;
    padding-bottom: 25px;
    padding-left: 20px;
    padding-right: 20px;
    color: #000;
    font-size: 14px;
    margin-right: 0;
    transition: background-color 0.15s ease-in-out, color 0.15s ease-in-out;
}

    .nav-tabs-custom .nav-link:hover {
        background-color: #f8f9fa;
    }

    .nav-tabs-custom .nav-link.active,
    .nav-tabs-custom .nav-link.active:hover {
        color: #9FB034;
        border-bottom: none;
        background-color: transparent;
    }

.tab-content-custom {
    position: relative;
    min-height: 400px;
    padding: 20px;
}

.content-section {
    display: none;
}

    .content-section.active {
        display: block;
    }

.main-content-area {
    background-color: white;
    border-radius: 16px;
    height: 336px;
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 18px;
}

.star-points li {
    margin-bottom: 20px;
}
