/* =========================================================
   OUR LOCATIONS SECTION
   ========================================================= */

.locations-section {
    position: relative;
    padding: 100px 0;
    background: #f5f9fc;
    overflow: hidden;
}


/* subtle background decoration */

.locations-section::before {
    content: "";
    position: absolute;

    width: 620px;
    height: 620px;

    left: -300px;
    top: 80px;

    border-radius: 50%;

    background: rgba(8, 123, 209, 0.035);

    pointer-events: none;
}

.locations-section::after {
    content: "";
    position: absolute;

    width: 500px;
    height: 500px;

    right: -250px;
    bottom: -180px;

    border-radius: 50%;

    background: rgba(8, 123, 209, 0.035);

    pointer-events: none;
}


/* =========================================================
   HEADING
   ========================================================= */

.locations-heading {
    position: relative;
    z-index: 2;

    max-width: 720px;

    margin: 0 auto 55px;

    text-align: center;
}

.locations-heading h2 {
    margin: 10px 0 15px;
	font-size: clamp(30px, 4vw, 42px);
	font-weight:bold;
}

.locations-heading h2 span {
    color: #087bd1;
}

.locations-heading p {
    max-width: 650px;

    margin: 0 auto;

    color: #687988;

    line-height: 1.75;
}


/* =========================================================
   MAIN LAYOUT
   ========================================================= */

.locations-layout {
    position: relative;
    z-index: 2;

    display: grid;

    grid-template-columns:
        minmax(0, 1.35fr)
        minmax(350px, 0.65fr);

    gap: 35px;

    align-items: stretch;
}


/* =========================================================
   MAP CARD
   ========================================================= */

.locations-map-card {
    position: relative;

    padding: 25px;

    background: #061f32;

    border-radius: 26px;

    overflow: hidden;

    box-shadow:
        0 25px 60px rgba(4, 31, 50, 0.18);
}


/* map card glow */

.locations-map-card::before {
    content: "";

    position: absolute;

    width: 650px;
    height: 650px;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -45%);

    border-radius: 50%;

    background: rgba(8, 123, 209, 0.045);

    pointer-events: none;
}


/* =========================================================
   MAP HEADER
   ========================================================= */

.map-heading {
    position: relative;
    z-index: 5;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    padding: 0 5px 18px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}


.map-heading span {
    display: block;

    margin-bottom: 5px;

    color: #53b6ff;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1.2px;
}


.map-heading h3 {
    margin: 0;

    color: #ffffff;

    font-size: 20px;

    font-weight: 750;
}


.map-indicator {
    display: flex;

    align-items: center;

    gap: 8px;

    padding: 8px 12px;

    border-radius: 30px;

    background: rgba(255, 255, 255, 0.06);

    color: rgba(255, 255, 255, 0.75);

    font-size: 11px;

    white-space: nowrap;
}


.map-indicator span {
    width: 8px;
    height: 8px;

    margin: 0;

    border-radius: 50%;

    background: #087bd1;

    box-shadow:
        0 0 0 4px rgba(8, 123, 209, 0.18);
}


/* =========================================================
   MAP CANVAS
   IMPORTANT:
   This is a 1:1 coordinate canvas matching
   india-map.svg viewBox 0 0 1000 1000.
   ========================================================= */

.india-map-canvas {
    position: relative;

    width: min(100%, 720px);

    aspect-ratio: 1 / 1;

    margin: 0 auto;

    overflow: visible;
}


/* actual map */

.india-map-image {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    display: block;

    object-fit: contain;

    z-index: 2;

    user-select: none;

    -webkit-user-drag: none;
}


/* =========================================================
   LOCATION MARKERS
   These coordinates correspond to the SVG's 1000x1000
   coordinate system.
   ========================================================= */

.location-marker {
    position: absolute;

    width: 28px;
    height: 28px;

    z-index: 20;

    transform: translate(-50%, -50%);

    cursor: pointer;

    outline: none;
}


/* =========================================================
   ALL INDIA STATE / UT LOCATION MARKERS
   ---------------------------------------------------------
   Map coordinate system:
   SVG = 1000 × 1000
   CSS uses percentage of the map canvas.

   Simply add the corresponding marker class in HTML
   whenever you want to enable a location.
   ========================================================= */


/* =========================================================
   STATES
   ========================================================= */


/* 01 — Andhra Pradesh */
/* .marker-andhra-pradesh {
    left: 39.23%;
    top: 73.07%;
} */


/* 02 — Arunachal Pradesh */
/* .marker-arunachal-pradesh {
    left: 80.50%;
    top: 34.50%;
} */


/* 03 — Assam */
/* .marker-assam {
    left: 77.59%;
    top: 39.39%;
} */


/* 04 — Bihar */
.marker-bihar {
    left: 57.58%;
    top: 41.10%;
}


/* 05 — Chhattisgarh */
/* .marker-chhattisgarh {
    left: 47.50%;
    top: 55.00%;
} */


/* 06 — Goa */
/* .marker-goa {
    left: 26.16%;
    top: 71.39%;
} */


/* 07 — Gujarat */
/* .marker-gujarat {
    left: 20.50%;
    top: 52.00%;
} */


/* 08 — Haryana */
/* .marker-haryana {
    left: 31.00%;
    top: 31.50%;
} */


/* 09 — Himachal Pradesh */
/* .marker-himachal-pradesh {
    left: 35.00%;
    top: 22.00%;
} */


/* 10 — Jharkhand */
/* .marker-jharkhand {
    left: 56.39%;
    top: 47.58%;
}
 */

/* 11 — Karnataka */
/* .marker-karnataka {
    left: 30.21%;
    top: 72.81%;
} */


/* 12 — Kerala */
.marker-kerala {
    left: 32.55%;
    top: 84.89%;
}


/* 13 — Madhya Pradesh */
/* .marker-madhya-pradesh {
    left: 39.00%;
    top: 50.50%;
}
 */

/* 14 — Maharashtra */
/* .marker-maharashtra {
    left: 30.57%;
    top: 59.79%;
} */


/* 15 — Manipur */
/* .marker-manipur {
    left: 78.00%;
    top: 46.00%;
} */


/* 16 — Meghalaya */
/* .marker-meghalaya {
    left: 72.00%;
    top: 42.00%;
}
 */

/* 17 — Mizoram */
.marker-mizoram {
    left: 74.00%;
    top: 50.00%;
}


/* 18 — Nagaland */
/* .marker-nagaland {
    left: 82.00%;
    top: 40.50%;
} */


/* 19 — Odisha */
/* .marker-odisha {
    left: 54.99%;
    top: 55.93%;
} */


/* 20 — Punjab */
/* .marker-punjab {
    left: 28.50%;
    top: 26.00%;
} */


/* 21 — Rajasthan */
/* .marker-rajasthan {
    left: 24.50%;
    top: 43.00%;
} */


/* 22 — Sikkim */
/* .marker-sikkim {
    left: 68.50%;
    top: 37.50%;
} */


/* 23 — Tamil Nadu */
/* .marker-tamil-nadu {
    left: 37.96%;
    top: 83.56%;
} */


/* 24 — Telangana */
.marker-telangana {
    left: 39.67%;
    top: 64.19%;
}


/* 25 — Tripura */
/* .marker-tripura {
    left: 72.50%;
    top: 48.00%;
} */


/* 26 — Uttar Pradesh */
/* .marker-uttar-pradesh {
    left: 43.87%;
    top: 37.55%;
} */


/* 27 — Uttarakhand */
/* .marker-uttarakhand {
    left: 40.00%;
    top: 26.00%;
}
 */

/* 28 — West Bengal */
/* .marker-west-bengal {
    left: 63.71%;
    top: 48.58%;
} */



/* =========================================================
   UNION TERRITORIES
   ========================================================= */


/* 01 — Andaman & Nicobar Islands */
.marker-andaman-nicobar {
    left: 77.50%;
    top: 80.00%;
}


/* 02 — Chandigarh */
/* .marker-chandigarh {
    left: 34.00%;
    top: 30.00%;
} */


/* 03 — Dadra & Nagar Haveli and Daman & Diu */
/* .marker-dadra-nagar-haveli-daman-diu {
    left: 23.50%;
    top: 61.00%;
} */


/* 04 — Delhi */
.marker-delhi {
    left: 34.41%;
    top: 32%;
}


/* 05 — Jammu & Kashmir */
/* .marker-jammu-kashmir {
    left: 27.00%;
    top: 15.50%;
} */


/* 06 — Ladakh */
/* .marker-ladakh {
    left: 35.00%;
    top: 13.00%;
} */


/* 07 — Lakshadweep */
/* .marker-lakshadweep {
    left: 25.00%;
    top: 88.00%;
} */


/* 08 — Puducherry */
/* .marker-puducherry {
    left: 40.00%;
    top: 80.00%;
} */

/* =========================================================
   DOT
   ========================================================= */

.location-dot {
    position: absolute;

    width: 16px;
    height: 16px;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    border-radius: 50%;

    background: #087bd1;

    border: 3px solid #ffffff;

    box-sizing: border-box;

    box-shadow:
        0 0 0 6px rgba(8, 123, 209, 0.20),
        0 4px 14px rgba(0, 0, 0, 0.35);

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}


/* pulse */

.location-marker::before {
    content: "";

    position: absolute;

    width: 28px;
    height: 28px;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    border-radius: 50%;

    border: 1px solid rgba(8, 123, 209, 0.45);

    animation: locationMarkerPulse 2s ease-out infinite;

    pointer-events: none;
}


@keyframes locationMarkerPulse {

    0% {
        opacity: 0.85;

        transform:
            translate(-50%, -50%)
            scale(0.65);
    }

    70% {
        opacity: 0;

        transform:
            translate(-50%, -50%)
            scale(1.8);
    }

    100% {
        opacity: 0;

        transform:
            translate(-50%, -50%)
            scale(1.8);
    }

}


/* hover */

.location-marker:hover .location-dot,
.location-marker:focus .location-dot {
    transform:
        translate(-50%, -50%)
        scale(1.25);

    background: #ffffff;

    border-color: #087bd1;

    box-shadow:
        0 0 0 7px rgba(8, 123, 209, 0.22),
        0 5px 18px rgba(0, 0, 0, 0.4);
}


/* =========================================================
   LOCATION POPUP
   ========================================================= */

.location-popup {
    position: absolute;

    width: 260px;

    left: 50%;

    bottom: 34px;

    transform:
        translateX(-50%)
        translateY(10px);

    padding: 18px 20px;

    box-sizing: border-box;

    background: #ffffff;

    border-radius: 13px;

    border: 1px solid rgba(8, 123, 209, 0.15);

    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.28);

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transition:
        opacity 0.22s ease,
        transform 0.22s ease;
}


/* popup arrow */

.location-popup::after {
    content: "";

    position: absolute;

    left: 50%;

    bottom: -7px;

    width: 13px;
    height: 13px;

    transform:
        translateX(-50%)
        rotate(45deg);

    background: #ffffff;

    border-right: 1px solid rgba(8, 123, 209, 0.15);

    border-bottom: 1px solid rgba(8, 123, 209, 0.15);
}


.location-marker:hover .location-popup,
.location-marker:focus .location-popup {
    opacity: 1;

    visibility: visible;

    transform:
        translateX(-50%)
        translateY(0);
}


.popup-state {
    display: block;

    margin-bottom: 5px;

    color: #087bd1;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1px;

    text-transform: uppercase;
}


.location-popup h4 {
    margin: 0 0 7px;

    color: #091a29;

    font-size: 17px;

    line-height: 1.25;

    font-weight: 800;
}


.location-popup p {
    margin: 0;

    color: #697987;

    font-size: 12px;

    line-height: 1.6;
}


/* =========================================================
   INFO CARD
   ========================================================= */

.locations-info-card {
    position: relative;

    display: flex;

    flex-direction: column;

    padding: 38px;

    background: #ffffff;

    border: 1px solid #e3ebf3;

    border-radius: 26px;

    box-shadow:
        0 20px 55px rgba(9, 43, 72, 0.08);

    overflow: hidden;
}


.locations-info-card::after {
    content: "";

    position: absolute;

    width: 190px;
    height: 190px;

    right: -80px;
    top: -80px;

    border-radius: 50%;

    background: rgba(8, 123, 209, 0.05);

    pointer-events: none;
}


.locations-info-card h3 {
    position: relative;
    z-index: 2;

    margin: 13px 0 15px;

    color: #081b2b;

    font-size: 31px;

    line-height: 1.2;

    font-weight: 800;
}


.locations-info-card h3 span {
    color: #087bd1;
}


.locations-intro {
    position: relative;
    z-index: 2;

    margin: 0 0 28px;

    color: #6c7b89;

    font-size: 14px;

    line-height: 1.75;
}


/* =========================================================
   STATS
   ========================================================= */

.location-stats {
    position: relative;
    z-index: 2;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 10px;

    margin-bottom: 30px;
}


.location-stat {
    padding: 17px;

    border-radius: 12px;

    background: #f6faff;

    border: 1px solid #e4edf5;
}


.location-stat strong {
    display: block;

    margin-bottom: 4px;

    color: #087bd1;

    font-size: 21px;

    font-weight: 850;
}


.location-stat span {
    display: block;

    color: #71808e;

    font-size: 11px;

    line-height: 1.4;
}


/* =========================================================
   STATE LIST
   ========================================================= */

.locations-state-list {
    position: relative;
    z-index: 2;

    padding-top: 22px;

    border-top: 1px solid #e7edf2;
}


.state-list-heading {
    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 15px;

    color: #1b2d3b;

    font-size: 13px;

    font-weight: 800;
}


.state-list-heading i {
    color: #087bd1;
}


.state-list {
    display: flex;

    flex-wrap: wrap;

    gap: 7px;
}


.state-list span {
    display: inline-flex;

    align-items: center;

    min-height: 30px;

    padding: 5px 10px;

    box-sizing: border-box;

    border-radius: 7px;

    background: #f4f8fb;

    border: 1px solid #e4ebf1;

    color: #566978;

    font-size: 10px;

    font-weight: 600;

    transition:
        color 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}


.state-list span:hover {
    color: #087bd1;

    background: rgba(8, 123, 209, 0.06);

    border-color: rgba(8, 123, 209, 0.22);
}


/* =========================================================
   CTA
   ========================================================= */

.locations-cta {
    position: relative;
    z-index: 2;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;

    margin-top: auto;
    padding: 15px 17px;

    border-radius: 10px;

    background: #087bd1;

    color: #ffffff;

    font-size: 12px;

    font-weight: 750;

    text-decoration: none;

    transition:
        background 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


.locations-cta i {
    font-size: 12px;
}


.locations-cta:hover {
    background: #0669b3;

    color: #ffffff;

    transform: translateY(-2px);

    box-shadow:
        0 8px 22px rgba(8, 123, 209, 0.22);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1100px) {

    .locations-layout {
        grid-template-columns: 1fr;
    }

    .locations-map-card {
        padding: 22px;
    }

    .india-map-canvas {
        width: min(100%, 680px);
    }

    .locations-info-card {
        padding: 30px;
    }

}


/* =========================================================
   MOBILE / TABLET
   ========================================================= */

@media (max-width: 768px) {

    .locations-section {
        padding: 75px 0;
    }

    .locations-heading {
        margin-bottom: 38px;
        padding: 0 15px;
    }

    .locations-layout {
        gap: 22px;
    }

    .locations-map-card {
        padding: 18px;

        border-radius: 20px;
    }

    .map-heading {
        align-items: flex-start;

        flex-direction: column;

        gap: 12px;
    }

    .map-heading h3 {
        font-size: 17px;
    }

    .map-indicator {
        font-size: 10px;
    }

    .india-map-canvas {
        width: 100%;
    }

    .locations-info-card {
        padding: 25px;

        border-radius: 20px;
    }

    .locations-info-card h3 {
        font-size: 27px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 576px) {

    .locations-section {
        padding: 60px 0;
    }

    .locations-heading {
        margin-bottom: 30px;
    }

    .locations-heading p {
        font-size: 13px;
    }

    .locations-map-card {
        padding: 13px;

        border-radius: 16px;
    }

    .map-heading {
        padding: 0 3px 13px;
    }

    .map-heading span {
        font-size: 9px;
    }

    .map-heading h3 {
        font-size: 15px;
    }

    .map-indicator {
        padding: 6px 9px;
    }

    /* dots */

    .location-marker {
        width: 21px;
        height: 21px;
    }

    .location-dot {
        width: 12px;
        height: 12px;

        border-width: 2px;

        box-shadow:
            0 0 0 4px rgba(8, 123, 209, 0.20),
            0 3px 10px rgba(0, 0, 0, 0.30);
    }

    .location-marker::before {
        width: 21px;
        height: 21px;
    }


    /* popup */

    .location-popup {
        width: 205px;

        padding: 14px 15px;
    }

    .location-popup h4 {
        font-size: 15px;
    }

    .location-popup p {
        font-size: 11px;
    }


    /*
       Prevent popup from going outside
       left/right edge.
    */

    .marker-delhi .location-popup,
    .marker-up .location-popup,
    .marker-maharashtra .location-popup,
    .marker-karnataka .location-popup,
    .marker-goa .location-popup,
    .marker-kerala .location-popup {
        left: 0;

        transform:
            translateY(8px);
    }

    .marker-delhi:hover .location-popup,
    .marker-delhi:focus .location-popup,
    .marker-up:hover .location-popup,
    .marker-up:focus .location-popup,
    .marker-maharashtra:hover .location-popup,
    .marker-maharashtra:focus .location-popup,
    .marker-karnataka:hover .location-popup,
    .marker-karnataka:focus .location-popup,
    .marker-goa:hover .location-popup,
    .marker-goa:focus .location-popup,
    .marker-kerala:hover .location-popup,
    .marker-kerala:focus .location-popup {
        transform:
            translateY(0);
    }


    .marker-assam .location-popup,
    .marker-west-bengal .location-popup {
        left: auto;

        right: 0;

        transform:
            translateY(8px);
    }

    .marker-assam:hover .location-popup,
    .marker-assam:focus .location-popup,
    .marker-west-bengal:hover .location-popup,
    .marker-west-bengal:focus .location-popup {
        transform:
            translateY(0);
    }


    /* info card */

    .locations-info-card {
        padding: 21px;
    }

    .locations-info-card h3 {
        font-size: 24px;
    }

    .locations-intro {
        font-size: 13px;
    }


    /* stats */

    .location-stats {
        gap: 8px;
    }

    .location-stat {
        padding: 13px;
    }

    .location-stat strong {
        font-size: 18px;
    }

    .location-stat span {
        font-size: 10px;
    }


    /* CTA */

    .locations-cta {
        font-size: 11px;

        padding: 13px 14px;
    }

}


/* =========================================================
   VERY SMALL MOBILE
   ========================================================= */

@media (max-width: 380px) {

    .locations-map-card {
        padding: 10px;
    }

    .locations-info-card {
        padding: 18px;
    }

    .locations-info-card h3 {
        font-size: 22px;
    }

    .state-list {
        gap: 5px;
    }

    .state-list span {
        font-size: 9px;

        padding: 4px 7px;
    }

}