/**
 * network.css — Location Index Page Styles
 * KMS Technologies
 * Only contains classes used in Locations/location.php
 */

/* ===================================================================
   HERO SECTION
   =================================================================== */
.network-hero {
    position: relative;
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #2e2b33 url("../About/peb-india-map.webp") center 60% / contain no-repeat;
    overflow: hidden;
}

.network-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgb(26 26 46 / 41%) 0%, rgba(22, 33, 62, 0.85) 100%);
    z-index: 1;
}

.network-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 5rem 1.25rem 3.75rem;
    max-width: 56.25rem;
}

.network-hero-title {
    font-size: 2.75rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    margin: 0 0 1.25rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.network-hero-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    margin: 0 auto;
    font-weight: 400;
    max-width: 46.875rem;
}

/* ===================================================================
   CITY LINK GRID
   =================================================================== */
.network-city-section {
    padding: 2.5rem 1rem 3.5rem;
    background: #ffffff;
}

.network-city-container {
    max-width: 75rem;
    margin: 0 auto;
}

.network-city-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid #9ca3af;
    border-left: 1px solid #9ca3af;
}

.network-city-link {
    display: block;
    padding: 0.7rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.5;
    color: #1a56db;
    text-decoration: none;
    border-right: 1px solid #9ca3af;
    border-bottom: 1px solid #9ca3af;
    transition: background 0.2s ease, color 0.2s ease,
                border-left 0.2s ease, padding-left 0.2s ease;
}

.network-city-link:hover {
    background: #fffbeb;
    color: #b45309;
    border-left: 3px solid #f59e0b;
    padding-left: calc(1rem - 2px);
}

/* ===================================================================
   GET QUOTE CTA BANNER
   =================================================================== */
.get-quote-cta-section {
    position: relative;
    background: linear-gradient(135deg, #043352, #0b1138);
    overflow: hidden;
}

.get-quote-cta-section::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 55%;
    height: 100%;
    background: linear-gradient(135deg, #ffc107, #ff9800);
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%);
}

.get-quote-cta-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 30px;
    gap: 20px;
}

.get-quote-cta-text {
    flex: 1;
}

.get-quote-cta-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 8px 0;
}

.get-quote-cta-subtitle {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
}

.get-quote-cta-btn {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #ffd700;
    padding: 14px 36px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    border: 2px solid #ffd700;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 6px 20px rgba(26, 26, 46, 0.25);
}

.get-quote-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
    color: #ffd700;
}

/* ===================================================================
   RESPONSIVE
   =================================================================== */

/* Tablet */
@media (max-width: 991.98px) {
    .network-hero {
        min-height: 40vh;
    }

    .network-hero-title {
        font-size: 2.25rem;
    }

    .network-city-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 575.98px) {
    .network-hero {
        min-height: 35vh;
    }

    .network-hero-content {
        padding: 3.5rem 1rem 2.5rem;
    }

    .network-hero-title {
        font-size: 1.5rem;
    }

    .network-hero-subtitle {
        font-size: 0.95rem;
    }

    .network-city-grid {
        grid-template-columns: 1fr;
    }

    .network-city-link {
        font-size: 0.8rem;
        padding: 0.6rem 0.75rem;
    }
}