

  :root {
    --atlas-ink: #152235;
    --atlas-line: #4d94da;
  }


  body.map-modal-open {
    overflow: hidden;
  }

  .map-section {
    position: relative;
    z-index: 1;
    width: 100%;
    padding-inline: 24px;
    padding-top: 80px;
    padding-bottom: 40px;
    /* height: 120dvh; */
  }

  .container-map {
    position: relative;
    width: 100%;
    max-width: 1360px;
    margin: 0 auto;
    /* display: flex; */
    align-items: center;
    justify-content: center;
    overflow: visible;
    isolation: isolate;
    height: 120dvh;
  }

  svg#india-map {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    overflow: visible;
    transform: perspective(1200px) rotateX(4deg) rotateZ(-0.8deg) scaleX(1.18);
    transform-origin: 50% 48%;
  }

  @media only screen and (max-width: 1024px){
  svg#india-map {
    width: 80%;
  }
  }

  .state {
    pointer-events: none;
    outline: none;
    will-change: transform;
    transition:
      transform 0.46s cubic-bezier(0.2, 0.8, 0.2, 1),
      filter 0.42s ease;
  }

  .state-hit-layer {
    isolation: isolate;
  }

  .state-hit {
    fill: transparent;
    stroke: transparent;
    stroke-width: 8;
    vector-effect: non-scaling-stroke;
    pointer-events: all;
    cursor: pointer;
    outline: none;
  }

  .state-depth,
  .depth-slice,
  .state-callout,
  .state-callout-layer,
  .label-code,
  .label-name {
    pointer-events: none;
  }

  .depth-slice {
    fill: #5a9dd3;
    stroke: #397eb7;
    stroke-width: 0.7;
    transition: fill 0.36s ease;
  }

  .depth-slice.depth-deep {
    fill: #347bb5;
  }

  .depth-slice.depth-mid {
    fill: #4b91c9;
  }

  .depth-slice.depth-shallow {
    fill: #69a9db;
  }

  .state-path {
    fill: url(#state-top-gradient) !important;
    stroke: var(--atlas-line);
    stroke-width: 1.05;
    paint-order: stroke fill;
    transition:
      fill 0.4s ease,
      stroke 0.4s ease,
      stroke-width 0.4s ease;
  }

  .label-code {
    display: none;
  }

  .label-name {
    fill: #142033;
    stroke: rgba(238, 247, 255, 0.9);
    stroke-width: 2px;
    stroke-linejoin: round;
    paint-order: stroke;
    font-family: 'Inter', sans-serif;
    font-size: 14.2px;
    font-weight: 700;
    letter-spacing: -0.015em;
    transition: fill 0.3s ease;
  }

  .label-name.has-callout {
    display: none;
  }

  .state-callout polyline {
    fill: none;
    stroke: #3c78ac;
    stroke-width: 0.8;
    vector-effect: non-scaling-stroke;
  }

  .state-callout circle {
    fill: #2f73ad;
    stroke: #ffffff;
    stroke-width: 0.8;
  }

  .state-callout text {
    fill: #172337;
    stroke: rgba(255, 255, 255, 0.98);
    stroke-width: 2.8px;
    stroke-linejoin: round;
    paint-order: stroke;
    font-family: 'Inter', sans-serif;
    font-size: 12.5px;
    font-weight: 700;
  }

  .state.is-hovered,
  .state.is-focused,
  .state.is-active {
    transform: translateY(-13px) scale(1.035);
    filter: drop-shadow(0 17px 11px rgba(34, 83, 126, 0.34));
  }

  .state.is-hovered .state-path,
  .state.is-focused .state-path,
  .state.is-active .state-path {
    fill: url(#state-hover-gradient) !important;
    stroke: #246fae;
    stroke-width: 1.35;
  }

  .state.is-hovered .depth-slice,
  .state.is-focused .depth-slice,
  .state.is-active .depth-slice {
    fill: #3d86bf;
  }

  .state.is-hovered .label-name,
  .state.is-focused .label-name,
  .state.is-active .label-name,
  .state.is-hovered .state-callout text,
  .state.is-focused .state-callout text,
  .state.is-active .state-callout text {
    fill: #0d1b2c;
  }

  .map-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(227, 237, 246, 0.72);
    backdrop-filter: blur(10px);
    opacity: 0;
    pointer-events: none;
    will-change: opacity;
    transition: opacity 0.3s ease;
  }

  .map-modal-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  .map-modal-panel {
    position: relative;
    width: 100%;
    max-width: 470px;
    max-height: min(86vh, 680px);
    padding: 30px 30px 25px;
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 1px solid #c6dff4;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow:
      0 30px 80px rgba(39, 79, 115, 0.22),
      0 5px 18px rgba(39, 79, 115, 0.1);
    scrollbar-width: thin;
    scrollbar-color: #9bc4e3 transparent;
    transform: translateY(24px) scale(0.97);
    transition: transform 0.34s cubic-bezier(0.2, 0.8, 0.2, 1);
  }

  .map-modal-overlay.is-open .map-modal-panel {
    transform: translateY(0) scale(1);
  }

  .map-modal-panel::-webkit-scrollbar {
    width: 8px;
  }

  .map-modal-panel::-webkit-scrollbar-track {
    background: transparent;
  }

  .map-modal-panel::-webkit-scrollbar-thumb {
    border: 2px solid transparent;
    border-radius: 999px;
    background: #9bc4e3;
    background-clip: padding-box;
  }

  .map-modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #c2d9ec;
    border-radius: 50%;
    background: #f1f7fc;
    color: #467aa8;
    cursor: pointer;
    font-size: 13px;
    transition:
      background-color 0.2s ease,
      color 0.2s ease,
      transform 0.2s ease;
  }

  .map-modal-close:hover {
    background: #e1effa;
    color: #1e5686;
    transform: rotate(90deg);
  }

  .map-modal-close:focus-visible {
    outline: 3px solid rgba(47, 120, 181, 0.35);
    outline-offset: 2px;
  }

  .map-modal-title {
    margin: 0;
    padding-right: 46px;
    color: #152235;
    font-family: 'Sora', sans-serif;
    font-size: 27px;
    font-weight: 700;
  }

  table.map-modal-table {
    width: 100%;
    margin-top: 22px;
    border-collapse: collapse;
    font-family: 'Inter', sans-serif;
  }

  table.map-modal-table th {
    padding: 11px 8px;
    text-align: left;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
  }

  table.map-modal-table th:last-child,
  table.map-modal-table td:last-child {
    text-align: right;
  }

  table.map-modal-table thead tr {
    border: 1px solid #cfe2f2;
    background: #edf6fd;
  }

  table.map-modal-table thead th {
    color: #2c6596;
  }

  table.map-modal-table tbody tr {
    border-top: 1px solid #e1ebf3;
  }

  table.map-modal-table tbody tr:first-child {
    border-top: 0;
  }

  table.map-modal-table td {
    padding: 12px 8px;
    vertical-align: top;
  }

  table.map-modal-table tbody td:first-child {
    width: 68%;
    color: #334e68;
    font-size: 14px;
  }

  table.map-modal-table tbody td:last-child {
    color: #28394a;
    font-size: 14.5px;
    line-height: 1.45;
  }

  table.map-modal-table tfoot tr {
    border-top: 2px solid #9ec9e9;
  }

  table.map-modal-table tfoot th,
  table.map-modal-table tfoot td {
    padding: 14px 8px 4px;
    color: #174f7d;
    font-size: 15px;
    font-weight: 800;
  }


  @media only screen and (max-width:1024px){
        .container-map{
      height: auto;
    }
  }

  @media (min-width: 1025px) {
    .map-section {
      /* height: 120vh;
      height: 120dvh; */
      min-height: 100vh;
      min-height: 100dvh;
    }

    .container-map {
      /* height: 100%; */
            height: 120vh;
      height: 120dvh;
    }

    svg#india-map {
      width: auto;
      height: 100%;
      max-height: 100%;
    }
  }

  @media (max-width: 767px) {
    .map-section {
      padding-inline: 12px;
    }


  }

  @media (max-width: 760px) {
    svg#india-map {
      transform: perspective(1000px) rotateX(3deg) rotateZ(-0.5deg) scaleX(1.08);
    }

    .label-name {
      font-size: 15.2px;
    }

    .state-callout text {
      font-size: 13.5px;
    }
  }

  @media (max-width: 440px) {
    .map-modal-panel {
      padding: 26px 22px 21px;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .state,
    .depth-slice,
    .state-path,
    .label-name,
    .map-modal-overlay,
    .map-modal-panel {
      transition: none !important;
    }
  }















  .country-stats {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 40px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: linear-gradient(145deg, #111530, #0d1226);
  border: 1px solid rgba(33, 92, 255, 0.25);
  border-radius: 12px;
  min-width: 220px;
  justify-content: space-between;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.stat-item:hover {
  transform: translateY(-4px);
  border-color: rgba(33, 199, 245, 0.5);
  box-shadow: 0 12px 28px rgba(33, 92, 255, 0.25);
}

.stat-name {
  font-family: 'Sora', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #e6e9f5;
  letter-spacing: 0.2px;
}

.stat-sep {
  font-size: 16px;
  color: #4a5578;
  font-weight: 400;
}

.stat-value {
  font-family: 'Geist', sans-serif;
  font-size: 18px;
  font-weight: 700;
  background: linear-gradient(90deg, #215cff, #21c7f5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (max-width: 640px) {
  .country-stats {
    flex-direction: column;
    align-items: center;
  }
  .stat-item {
    width: 100%;
    /* max-width: 320px; */
  }
}