.branches-hero {
    background: linear-gradient(135deg, #0a174e 0%, #143b8f 60%, #1f4db3 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4rem 8vw;
    position: relative;
    overflow: hidden;
}
.branches-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.15), transparent 55%),
                radial-gradient(circle at 80% 0%, rgba(255,255,255,0.12), transparent 50%);
    pointer-events: none;
}
.branches-hero-content {
    max-width: 560px;
    position: relative;
    z-index: 1;
}
.hero-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #ffd166;
}
.branches-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}
.branches-hero p {
    font-size: 1.15rem;
    opacity: 0.9;
    line-height: 1.6;
}
.branches-hero-art {
    position: relative;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}
.branches-hero-art .glow {
    width: 70%;
    height: 70%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.7), rgba(255,255,255,0));
    animation: pulseGlow 3s ease-in-out infinite;
}
@keyframes pulseGlow {
    0%,100% { transform: scale(0.9); opacity: 0.6; }
    50% { transform: scale(1.1); opacity: 1; }
}

.branch-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 2.5rem 2rem 1rem;
    background: #f4f7ff;
}
.branch-tab {
    border: none;
    background: #fff;
    border-radius: 24px;
    padding: 0.6rem 1.2rem 0.6rem 0.6rem;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    box-shadow: 0 8px 24px rgba(15,23,42,0.12);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.branch-tab img {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    object-fit: cover;
}
.branch-tab span {
    font-weight: 600;
    color: #0a174e;
}
.branch-tab.active {
    box-shadow: 0 14px 30px rgba(255,45,45,0.25);
    transform: translateY(-4px);
}

.branch-list {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2.5rem 1rem 3rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.75rem;
}
.branch-card {
    background: #fff;
    border-radius: 26px;
    box-shadow: 0 18px 36px rgba(10,23,78,0.08);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.branch-card.highlight,
.branch-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 50px rgba(255,45,45,0.18);
}
.branch-card-image img {
    width: 100%;
    height: 210px;
    object-fit: cover;
}
.branch-card-body {
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}
.branch-card-city {
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-size: 0.9rem;
    color: #ff6b6b;
    font-weight: 700;
}
.branch-card h2 {
    font-size: 1.45rem;
    color: #0a174e;
    margin-bottom: 0.25rem;
}
.branch-card-address {
    color: #4a4a4a;
    line-height: 1.6;
}
.branch-card-pincode {
    font-weight: 600;
    color: #0a174e;
    margin-top: -0.4rem;
}
.branch-card-contact {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}
.branch-card-contact span {
    display: block;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #94a3b8;
}
.branch-card-contact a {
    font-weight: 600;
    color: #0a174e;
    text-decoration: none;
}
.branch-card-contact a:hover {
    color: #ff2d2d;
}
.branch-card-map {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.6rem 1.3rem;
    border-radius: 999px;
    background: #0a174e;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    align-self: flex-start;
    margin: 0 0 1.5rem 1.8rem;
    box-shadow: 0 12px 30px rgba(10,23,78,0.25);
    transition: transform 0.2s ease, background 0.2s ease;
}
.branch-card-map svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}
.branch-card-map:hover {
    background: #ff2d2d;
    transform: translateY(-2px);
}

@media (max-width: 900px) {
    .branches-hero {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    .branches-hero-art {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 600px) {
    .branches-hero {
        padding: 3rem 1.5rem;
    }
    .branch-tabs {
        padding: 2rem 1rem 1rem;
        gap: 1rem;
    }
    .branch-card-contact {
        flex-direction: column;
    }
}

