button.nav-link.active::after {
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    background-color: #117e43;
    position: absolute;
    bottom: -2px;
    left: 0;
}

.subtitle {
    font-weight: 300;
    opacity: 0.9;
    margin-top: 8px;
    font-size: 1.1rem;
}

.legend {
    display: flex;
    gap: 20px;
    padding: 15px 30px;
    background: #f0f4f8;
    border-bottom: 1px solid #e0e6ed;
    align-items: center;
    justify-content: center;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid white;
}

#chartdiv {
    width: 100%;
    min-height: 500px;
    @media(max-width:576px){
        min-height: 300px;
    }
}

.info-box {
    padding: 20px 30px;
    background: #f8fafc;
    border-top: 1px solid #e0e6ed;
    font-size: 0.95rem;
    color: #4a5568;
}

.info-box h4 {
    margin-top: 0;
    color: #2d3748;
    font-size: 1.1rem;
}

.stats {
    display: flex;
    gap: 30px;
    margin-top: 10px;
}

.stat-item {
    text-align: center;
    padding: 10px 15px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    flex: 1;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #117e43;
}

.stat-label {
    font-size: 0.85rem;
    color: #718096;
    margin-top: 5px;
}

.project-modal .modal-content {
    border-radius: 12px;
    overflow: hidden;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.project-modal .modal-header {
    background: linear-gradient(135deg, #117e43 0%, #004fa3 100%);
    color: white;
    border-bottom: none;
    padding: 20px 25px;
}

.project-modal .btn-close {
    filter: invert(1);
}

.project-modal .modal-body {
    padding: 25px;
}

.project-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.project-info li {
    padding: 12px 0;
    border-bottom: 1px solid #edf2f7;
    display: flex;
}

.project-info li:last-child {
    border-bottom: none;
}

.info-label {
    font-weight: 600;
    min-width: 120px;
    color: #2d3748;
}

.info-value {
    color: #4a5568;
}

@media (max-width: 768px) {
    .legend {
        flex-wrap: wrap;
        gap: 12px;
    }

    .stats {
        flex-direction: column;
        gap: 12px;
    }

    h1 {
        font-size: 1.8rem;
    }
}

/* Tooltip Kart */
.tooltip-card {
    max-width: 240px;
    min-width: 200px;
    padding: 12px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    font-family: Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
}

/* Başlık Bölümü */
.tooltip-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.tooltip-flag {
    width: 32px;
    height: 20px;
    border: 1px solid #ddd;
    border-radius: 3px;
    margin-right: 10px;
    object-fit: cover;
}

.tooltip-title {
    font-size: 15px;
    color: #333;
    font-weight: 600;
}

/* SPV satırı */
.tooltip-spv {
    color: #555;
    margin-bottom: 8px;
}

/* Ayırıcı çizgi */
.tooltip-divider {
    border-top: 1px solid #eee;
    margin: 6px 0 10px;
}

/* Grid düzeni */
.tooltip-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    row-gap: 6px;
    column-gap: 8px;
}

.tooltip-label {
    font-weight: 500;
    color: #444;
}

.tooltip-value {
    font-weight: 500;
    color: #444;
}

.project-detail-modal {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.project-detail-modal h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #D92D2D;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Üçlü istatistik kartları */
.stats-grid {
    display: flex;
    justify-content: space-around;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.stat-card {
    text-align: center;
    width: 25%;
    margin-bottom: 20px;

    @media screen and (max-width: 768px) {
        width: 50%;
    }
}

.stat-card .label {
    font-size: 1.2rem;
    color: #444;
    line-height: 1.5em;
    margin-top: 10px;
}

.stat-card .value {
    font-size: 1.5rem;
    font-weight: 600;
    color: #163c35;
    margin-top: .25rem;
}

/* Timeline */
.timeline {
    border-radius: 6px;
    overflow: hidden;
    display: grid;
    grid-template-rows: auto auto;
    background: #163c35;
}

.timeline .phases {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.timeline .phase {
    padding: .75rem 0;
    color: #fff;
    text-align: center;
    font-weight: 600;
    font-size: .9rem;
}

.phase-dev {
    background: linear-gradient(90deg, #D92D2D, #F75947);
}

.phase-con {
    background: linear-gradient(90deg, #F75947, #FF8A00);
}

.phase-op {
    background: linear-gradient(90deg, #FF8A00, #D92D2D);
}

.timeline .labels {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: #fff;
}

.timeline .labels .label {
    padding: .75rem 0;
    font-size: .85rem;
    color: #444;
    text-align: center;
}

.stat-icon img {
    padding: 10px;
    background: #eaf3ed;
    border-radius: 50%;
}

.btn-close-modal {
    position: absolute;
    right: 10px;
    top: 10px;
    background-color: #163c35;
    filter: none;
    width: 30px;
    height: 30px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
}

.project-detail-header {
    position: relative;
    display: flex;
    margin-bottom: 40px;
    margin-top: 20px;
    align-items: center;
    justify-content: center;
}

.project-detail-header span {
    font-size: 36px;
    font-weight: 600;
    color: #163c35;
}

.project-detail-description {
    font-size: 18px;
    color: #555;
    margin-top: 20px;
    line-height: 1.6;
    text-align: center;
}

.project-detail-location {
    font-size: 28px;
    font-weight: 600;
    color: #163c35;
    margin-bottom: 10px;
}

.project-gallery ul {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    list-style: none;
    padding: 0;
}

.project-gallery li {
    width: calc(33.333% - 10px);
    position: relative;
    border: none;
    padding: 0;
    display: block;
}