/* Modern Map Section Redesign - Theme Colors Only */
.mapSection {
  background: linear-gradient(135deg, #f0f4fd 0%, #f0f4fd 100%);
  padding: 100px 0;
  padding-bottom: 0;
  position: relative;
  overflow: hidden;
}

.mapSection::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="2" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
  opacity: 0.3;
  z-index: 0;
}

.presenceBg {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  border-radius: 30px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.presenceBg::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(41, 70, 243, 0.05) 50%,
    transparent 70%
  );
  animation: shimmer 3s infinite;
  z-index: -1;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }
  100% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
  }
}

.presenceTxt h2 {
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--base-color) 0%, #1a2fd1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 2rem;
  position: relative;
}

.presenceTxt h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 80px;
  height: 4px;
  background: linear-gradient(135deg, var(--base-color) 0%, #1a2fd1 100%);
  border-radius: 2px;
}

.presenceTxt p {
  font-size: 1.2rem;
  color: var(--medium-gray);
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.orangeClr {
  color: #0c4d93;
  font-weight: 700;
  text-shadow: 0 0 20px rgba(239, 153, 31, 0.3);
}

.presenceTxt ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.presenceTxt ul li {
  position: relative;
  padding: 16px 0 16px 50px;
  font-size: 1.1rem;
  color: var(--dark-gray);
  line-height: 1.7;
  border-bottom: 1px solid rgba(41, 70, 243, 0.1);
  transition: all 0.4s ease;
  margin-bottom: 8px;
  border-radius: 12px;
}

.presenceTxt ul li:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.presenceTxt ul li::before {
  content: "✦";
  position: absolute;
  left: 0;
  top: 16px;
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, var(--base-color), #1a2fd1);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
  box-shadow: 0 4px 15px rgba(41, 70, 243, 0.3);
  transition: all 0.3s ease;
}

.presenceTxt ul li span {
  background: linear-gradient(135deg, #0c4d93, #0c4d93);
  color: white;
  padding: 6px 16px;
  border-radius: 25px;
  font-weight: 700;
  font-size: 0.95rem;
  margin: 0 8px;
  box-shadow: 0 4px 15px rgba(239, 153, 31, 0.3);
  transition: all 0.3s ease;
}

/* .presenceTxt ul li:hover {
  transform: translateX(15px);
  background: rgba(41, 70, 243, 0.05);
  border-radius: 12px;
  padding-left: 60px;
} */

.presenceTxt ul li:hover::before {
  transform: scale(1.2);
  box-shadow: 0 6px 20px rgba(41, 70, 243, 0.4);
}

.presenceTxt ul li:hover span {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(239, 153, 31, 0.4);
}

/* Map Container */
.mapBox {
  position: relative;
}

.mapWrap {
  position: relative;
  border-radius: 25px;
  padding: 30px;
  transition: all 0.4s ease;
}

.mapWrap img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  /* filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.1)); */
  transition: all 0.3s ease;
}

.mapWrap:hover img {
  filter: drop-shadow(0 15px 40px rgba(0, 0, 0, 0.15));
}

/* Map Locations */
.mapListing {
  position: absolute;
  top: 30px;
  left: 30px;
  right: 30px;
  bottom: 30px;
  pointer-events: none;
}

.mapLocation {
  position: absolute;
  width: 40px;
  height: 40px;
  cursor: pointer;
  pointer-events: all;
  transition: all 0.4s ease;
  z-index: 2;
}

.mapLocation::before {
  content: "";
  position: absolute;
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, #0c4d93, #0c4d93);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 6px rgba(239, 153, 31, 0.3);
  transition: all 0.4s ease;
  animation: pulse 2s infinite;
}

.mapLocation::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  background: white;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.4s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.mapLocation:hover::before {
  transform: translate(-50%, -50%) scale(1.4);
  box-shadow: 0 0 0 12px rgba(239, 153, 31, 0.2);
  animation: none;
}

.mapLocation.active::before {
  background: linear-gradient(135deg, var(--green), #25a06a);
  box-shadow: 0 0 0 8px rgba(46, 187, 121, 0.4);
}

.mapLocation.active::after {
  background: white;
}

/* Location Tooltips */
.locShow {
  position: absolute;
  background: linear-gradient(135deg, #4479b137, #2b64a123);
  color: rgb(0, 0, 0);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 8px;
  border-radius: 15px;
  box-shadow: 0 15px 40px rgba(41, 70, 243, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(10px);
  transition: all 0.4s ease;
  white-space: nowrap;
  z-index: 10;
  pointer-events: none;
  top: -60px;
  left: 50%;
  backdrop-filter: blur(10px);
}

.mapLocation:hover .locShow,
.mapLocation.active .locShow {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Location Positions - Only Accurate Pins for 14 States */
.ladakh {
  top: 8.65%;
  left: 30.49%;
}
.jammuKashmir {
  top: 10.61%;
  left: 23.48%;
}
.himachalPradesh {
  top: 16.77%;
  left: 29.84%;
}
.punjab {
  top: 20.44%;
  left: 25.05%;
}
.haryana {
  top: 25.52%;
  left: 27.3%;
}
.rajasthan {
  top: 32.58%;
  left: 20.67%;
}
.mumbai {
  top: 57.07%;
  left: 20.33%;
}
.uttarPradesh {
  top: 32.55%;
  left: 38.87%;
}
.madhyaPradesh {
  top: 44.42%;
  left: 32.84%;
}
.chhattisgarh {
  top: 48.34%;
  left: 44.35%;
}
.odisha {
  top: 50.93%;
  left: 51.99%;
}
.andhraPradesh {
  top: 68.07%;
  left: 36.23%;
}
.assam {
  top: 34.39%;
  left: 74.59%;
}
.meghalaya {
  top: 36.76%;
  left: 70.7%;
}
.tripura {
  top: 42.22%;
  left: 71.06%;
}

/* Enhanced Animation for map locations */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(213, 176, 124, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(239, 153, 31, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(239, 153, 31, 0);
  }
}

/* Responsive Design */
@media (max-width: 991.98px) {
  .mapSection {
    padding: 80px 0;
  }

  .presenceTxt h2 {
    font-size: 2.5rem;
    text-align: center;
  }

  .presenceTxt h2::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .presenceTxt {
    text-align: center;
    margin-bottom: 3rem;
  }

  .presenceTxt ul li {
    text-align: left;
  }
}

@media (max-width: 575.98px) {
  .mapSection {
    padding: 60px 0;
  }

  .presenceTxt h2 {
    font-size: 2rem;
  }

  .presenceTxt p {
    font-size: 1.1rem;
  }

  .presenceTxt ul li {
    font-size: 1rem;
    padding: 14px 0 14px 45px;
  }

  .mapLocation {
    width: 35px;
    height: 35px;
  }

  .mapLocation::before {
    width: 20px;
    height: 20px;
  }

  .mapLocation::after {
    width: 8px;
    height: 8px;
  }

  .locShow {
    font-size: 12px;
    padding: 10px 16px;
  }
}

/* Additional hover effects */
.presenceBg:hover {
  transform: translateY(-5px);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.2);
}

/* Smooth scrolling for better UX */
html {
  scroll-behavior: smooth;
}
