/* Original solar section styles */
.section-solar {
    position: relative;
    background:
        radial-gradient(900px 400px at 10% -10%, rgba(21, 43, 202, .18), transparent 60%),
        radial-gradient(800px 380px at 105% 110%, rgba(21, 43, 202, .16), transparent 60%),
        linear-gradient(135deg, #0b1024 0%, #0f1433 45%, #0a1026 100%);
    color: #E9EEF7;
    overflow: hidden;
}

.bg-accent {
    background: var(--color-button) !important;
}

.benefit .check {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .06);
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .08);
    color: #aef1ef;
}

.benefit:hover .check {
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .2);
}

.stat-card {
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 1rem;
    padding: 1rem 1.25rem;
    text-align: center;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
}

.stat-label {
    font-size: .95rem;
    color: #cfd6ea;
}

.bg-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .22);
}

.card-glass {
    background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .03));
    border-radius: 1rem;
    backdrop-filter: blur(6px);
}

.timeline {
    position: relative;
    margin-left: .5rem;
}

.tl-item {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0;
    border-left: 2px solid rgba(255, 255, 255, .12);
    height: 75px;
}

.tl-item:last-child {
    margin-bottom: .25rem;
}

.tl-dot {
    position: absolute;
    left: -7px;
    top: .35rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-button);
    box-shadow: 0 0 0 4px rgba(255, 234, 35, .15), 0 6px 16px rgba(255, 234, 35, .25);
}

.tl-content {
    color: #eaf0ff;
}

.tl-head {
    display: flex;
    gap: .75rem;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: .2rem;
}

.tl-branch {
    font-weight: 600;
    color: #fff;
}

.tl-year {
    font-size: .95rem;
    color: #c6cbe0;
}

.tl-title {
    color: #dfe6ff;
}

.btn.btn-primary {
    --bs-btn-bg: var(--color-primary);
    --bs-btn-border-color: var(--color-primary);
    --bs-btn-color: #fff;
    --bs-btn-hover-bg: #1f2750;
    --bs-btn-hover-border-color: #1f2750;
}

/* New gallery section styles */
.section-gallery {
    background: linear-gradient(135deg, #0a1026 0%, #0b1024 45%, #0f1433 100%);
    color: #E9EEF7;
    position: relative;
}

.branch-tab {
    background: rgba(255, 255, 255, .08);
    border: 0px solid rgba(255, 255, 255, .12);
    color: #cfd6ea;
    border-radius: 0.5rem;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    font-weight: 500;
}

.branch-tab:hover {
    background: rgba(255, 255, 255, .12);
    color: #fff;
}

.branch-tab.active {
    background: var(--color-button);
    color: #0b1024;
}

.gallery-grid {
    display: none;
}

.gallery-grid.active {
    display: block;
}

.gallery-item {
    margin-bottom: 1.5rem;
}

.gallery-image {
    border-radius: 0.75rem;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .1);
}

.gallery-image:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(21, 43, 202, .3);
}

.gallery-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-image:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, .8));
    color: #fff;
    padding: 2rem 1rem 1rem;
    font-size: 0.9rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-image:hover .gallery-caption {
    opacity: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #cfd6ea;
    max-width: 600px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .branch-tab {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }

    .gallery-image img {
        height: 200px;
    }

    .section-title {
        font-size: 2rem;
    }
}




/* .branch-tab {
border: 1px solid #e5e7eb;
background: #fff;
color: #111827;
padding: .5rem .9rem;
border-radius: 999px;
cursor: pointer;
transition: all .2s ease;
}
.branch-tab:hover { background: #f3f4f6; }
.branch-tab.active { background: #111827; color: #fff; border-color: #111827; } */

.gallery-grid {
    display: none;
}

.gallery-grid.active {
    display: block;
}

.gallery-caption {
    font-size: .95rem;
    color: #ffffffff;
    margin-top: .5rem;
}








/* Section background: navy gradient + soft lights */
.section-solar {
    position: relative;
    background:
        radial-gradient(900px 400px at 10% -10%, rgba(21, 43, 202, .18), transparent 60%),
        radial-gradient(800px 380px at 105% 110%, rgba(21, 43, 202, .16), transparent 60%),
        linear-gradient(135deg, #0b1024 0%, #0f1433 45%, #0a1026 100%);
    color: #E9EEF7;
    overflow: hidden;
}

/* Accent badge */
.bg-accent {
    background: var(--color-button) !important;
}

/* Benefit list */
.benefit .check {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .06);
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .08);
    color: #aef1ef;
}

.benefit:hover .check {
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .2);
}

/* Stat cards */
.stat-card {
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 1rem;
    padding: 1rem 1.25rem;
    text-align: center;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
}

.stat-label {
    font-size: .95rem;
    color: #cfd6ea;
}

.bg-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .22);
}

/* Card glass */
.card-glass {
    background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .03));
    border-radius: 1rem;
    backdrop-filter: blur(6px);
}

/* Timeline */
.timeline {
    position: relative;
    margin-left: .5rem;
}

.tl-item {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0;
    border-left: 2px solid rgba(255, 255, 255, .12);
    height: 75px;
}

.tl-item:last-child {
    margin-bottom: .25rem;
}

.tl-dot {
    position: absolute;
    left: -7px;
    top: .35rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-button);
    box-shadow: 0 0 0 4px rgba(255, 234, 35, .15), 0 6px 16px rgba(255, 234, 35, .25);
}

.tl-content {
    color: #eaf0ff;
}

.tl-head {
    display: flex;
    gap: .75rem;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: .2rem;
}

.tl-branch {
    font-weight: 600;
    color: #fff;
}

.tl-year {
    font-size: .95rem;
    color: #c6cbe0;
}

.tl-title {
    color: #dfe6ff;
}


.btn.btn-primary {
    --bs-btn-bg: var(--color-primary);
    --bs-btn-border-color: var(--color-primary);
    --bs-btn-color: #fff;
    --bs-btn-hover-bg: #1f2750;
    --bs-btn-hover-border-color: #1f2750;
}