/* ===============================================================
   LOCATIONS.CSS - Locations page specific styles
   Load only on locations.php
================================================================ */

/* ========== LOCATIONS HERO ========== */
.locations-hero {
    background: linear-gradient(135deg, rgba(0, 31, 84, 0.94), rgba(0, 51, 153, 0.90)),
                url('https://images.unsplash.com/photo-1524661135-423995f22d0b?w=1600&q=80') center/cover no-repeat;
    color: var(--white);
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

.locations-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(37, 211, 102, 0.1) 0%, transparent 50%);
    animation: pulseGlow 8s ease-in-out infinite;
}

.locations-hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.8s ease forwards;
}

.locations-hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.locations-hero-content p {
    font-size: 18px;
    opacity: 0.95;
    line-height: 1.7;
    max-width: 750px;
    margin: 0 auto;
}

/* ========== MAJOR CITIES ========== */
.major-cities {
    padding: 80px 0;
    background: var(--primary-blue);
}

.cities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.city-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: all 0.4s ease;
    opacity: 1 !important;
    transform: translateY(30px);
    border: 2px solid transparent;
}

.city-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.city-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.2);
    border-color: var(--accent-green);
}

.city-card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.city-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.city-card:hover .city-card-image img {
    transform: scale(1.15);
}

.city-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.city-badge {
    background: var(--accent-green);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    animation: pulse 2s infinite;
}

.city-card-content {
    padding: 25px;
}

.city-card-content h3 {
    font-size: 22px;
    color: var(--primary-blue);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-fast);
}

.city-card:hover .city-card-content h3 {
    color: var(--accent-green);
}

.city-card-content h3 i {
    font-size: 18px;
}

.city-card-content > p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 15px;
}
.city-address{
    color:var(--text-color);
}

.city-features {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 20px;
    padding: 15px;
    background: var(--light-bg);
    border-radius: 8px;
}

.city-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #555;
    transition: var(--transition-fast);
}

.city-features li:hover {
    color: var(--text-color);
    transform: translateX(5px);
}

.city-features li i {
    color: var(--accent-green);
    font-size: 12px;
    flex-shrink: 0;
}

.city-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-blue);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.4s ease;
    box-shadow: var(--shadow-light);
}

.city-btn:hover {
    background: var(--accent-green);
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.city-btn i {
    transition: var(--transition-fast);
}

.city-btn:hover i {
    transform: translateX(5px);
}

/* ========== BANGALORE HUBS ========== */
.bangalore-hubs {
    padding: 80px 0;
    background: var(--primary-blue);
}

.hubs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 50px;
}

.hub-card {
    background: var(--light-bg);
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.4s ease;
    border: 2px solid transparent;
    opacity: 1 !important;
    transform: translateY(30px);
}

.hub-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.hub-card:hover {
    background: var(--white);
    border-color: var(--accent-green);
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.hub-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.5s ease;
    box-shadow: 0 5px 20px rgba(0, 51, 153, 0.3);
}

.hub-icon i {
    font-size: 32px;
    color: var(--white);
    transition: all 0.4s ease;
}

.hub-card:hover .hub-icon {
    transform: rotate(360deg) scale(1.1);
    background: linear-gradient(135deg, var(--accent-green), var(--highlight-yellow));
}

.hub-card h4 {
    font-size: 17px;
    color: var(--primary-blue);
    margin-bottom: 10px;
    transition: var(--transition-fast);
}

.hub-card:hover h4 {
    color: var(--accent-green);
}

.hub-card > p {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.hub-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hub-features li {
    font-size: 12px;
    color: #777;
    padding: 5px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition-fast);
}

.hub-features li:last-child {
    border-bottom: none;
}

.hub-features li:hover {
    color: var(--accent-green);
    transform: translateX(3px);
}
.area-link{
    color:var(--text-color);
}
/* ========== MAP SECTION ========== */
.map-section {
    padding: 80px 0;
    background: var(--primary-blue);
}

.map-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-top: 50px;
    align-items: start;
}

.map-wrapper {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(0,0,0,0.2);
    transition: all 0.4s ease;
}

.map-wrapper:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.map-wrapper iframe {
    display: block;
    border-radius: 15px;
}

.contact-info-box {
    background: var(--white);
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    position: sticky;
    top: 100px;
    transition: all 0.4s ease;
}

.contact-info-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.2);
}

.contact-info-box h3 {
    font-size: 22px;
    color: var(--primary-blue);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--light-bg);
}

.contact-info-box h3 i {
    color: var(--accent-green);
}

.info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    background: var(--light-bg);
    border-radius: 10px;
    transition: all 0.4s ease;
}

.info-item:hover {
    background: rgba(37, 211, 102, 0.05);
    transform: translateX(5px);
}

.info-item > i {
    font-size: 24px;
    color: var(--primary-blue);
    flex-shrink: 0;
    width: 30px;
    text-align: center;
    transition: all 0.4s ease;
}

.info-item:hover > i {
    color: var(--accent-green);
    transform: scale(1.2);
}

.info-item div {
    flex: 1;
}

.info-item strong {
    display: block;
    font-size: 14px;
    color: var(--primary-blue);
    margin-bottom: 5px;
    font-weight: 600;
}

.info-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.info-item a {
    color: #666;
    transition: var(--transition-fast);
}

.info-item a:hover {
    color: var(--accent-green);
    text-decoration: underline;
}

/* ========== COVERAGE STATS ========== */
.coverage-stats {
    padding: 60px 0;
    background: var(--dark-blue);
    color: var(--white);
    position: relative;
}

.coverage-stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 0;
}

.coverage-stats .stats-grid {
    position: relative;
    z-index: 1;
}

.coverage-stats .stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.stat-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.stat-icon i {
    font-size: 32px;
    color: var(--highlight-yellow);
    transition: all 0.4s ease;
}

.coverage-stats .stat-item:hover .stat-icon {
    background: var(--accent-green);
    transform: rotate(360deg) scale(1.15);
}

.coverage-stats .stat-item:hover .stat-icon i {
    color: var(--white);
}

/* ========== LOCATIONS CTA ========== */
.locations-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(0, 31, 84, 0.95), rgba(0, 51, 153, 0.92)),
                url('https://images.unsplash.com/photo-1600880292203-757bb62b4baf?w=1600&q=80') center/cover;
    color: var(--white);
    text-align: center;
    position: relative;
}

.locations-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 0;
}

.locations-cta .cta-content {
    position: relative;
    z-index: 1;
}

.locations-cta h2 {
    font-size: 42px;
    margin-bottom: 15px;
}

.locations-cta p {
    font-size: 18px;
    margin-bottom: 35px;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1200px) {
    .cities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hubs-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .locations-hero {
        padding: 80px 0 60px;
    }
    
    .locations-hero-content h1 {
        font-size: 38px;
    }
    
    .cities-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .hubs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .map-container {
        grid-template-columns: 1fr;
    }
    
    .contact-info-box {
        position: static;
    }
}

@media (max-width: 768px) {
    .locations-hero {
        padding: 70px 0 50px;
    }
    
    .locations-hero-content h1 {
        font-size: 32px;
    }
    
    .locations-hero-content p {
        font-size: 16px;
    }
    
    .cities-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .city-card-image {
        height: 200px;
    }
    
    .hubs-grid {
        grid-template-columns: 1fr;
    }
    
    .map-wrapper iframe {
        height: 350px;
    }
    
    .contact-info-box {
        padding: 25px;
    }
    
    .locations-cta h2 {
        font-size: 32px;
    }
    
    .locations-cta p {
        font-size: 16px;
    }
    
    .locations-cta .cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .locations-cta .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .locations-hero-content h1 {
        font-size: 28px;
    }
    
    .city-card-content {
        padding: 20px;
    }
    
    .city-card-content h3 {
        font-size: 20px;
    }
    
    .city-card-image {
        height: 180px;
    }
    
    .hub-card {
        padding: 25px 15px;
    }
    
    .hub-icon {
        width: 60px;
        height: 60px;
    }
    
    .hub-icon i {
        font-size: 28px;
    }
    
    .map-wrapper iframe {
        height: 300px;
    }
    
    .contact-info-box {
        padding: 20px;
    }
    
    .info-item {
        flex-direction: column;
        text-align: center;
    }
    
    .info-item > i {
        width: 100%;
    }
    
    .locations-cta h2 {
        font-size: 26px;
    }
}