@keyframes pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  70% {
    transform: translate(-50%, -50%) scale(1.8);
    opacity: 0;
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0;
  }
}

.map-heading {
  text-align: center;
  font-size: 28px;
  margin-bottom: 20px;
  color: #140266;
  font-weight: 600;
}


.map-container {
  position: relative;
  width: 100%;
  max-width: 800px;  /* Optional: limits image size */
  margin: 0 auto;
}

.world-map {
  width: 100%;      /* Responsive image */
  height: auto;
  display: block;
}

.india-marker {
  position: absolute;
  top: 55%;          /* Adjusted position relative to image height */
  left: 68%;       /* Adjusted position relative to image width */
  width: 2vw;        /* Responsive size: 2% of viewport width */
  height: 2vw;
  max-width: 15px;   /* Limit max size for large screens */
  max-height: 15px;
  background-color: rgb(255, 166, 0);
  border: 2px solid white;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
  animation: pulse 0.7s infinite ease-in-out;
}

.singapore-marker {
  position: absolute;
  top: 62%;           /* Adjust this based on your map */
  left: 77%;        /* Approximate for Singapore */
  width: 2vw;         /* Responsive size */
  height: 2vw;
  max-width: 15px;
  max-height: 15px;
  background-color: rgb(18, 103, 1);  /* Green marker */
  border: 2px solid white;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
  animation: pulse 0.7s infinite ease-in-out;
}

.srilanka-marker {
  position: absolute;
  top: 60%;           /* Approximate vertical position */
  left: 69%;        /* Approximate horizontal position for Sri Lanka */
  width: 2vw;
  height: 2vw;
  max-width: 15px;
  max-height: 15px;
  background-color: rgb(255, 166, 0);  /* Green marker */
  border: 2px solid white;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
  animation: pulse 0.7s infinite ease-in-out;
}

.saudi-marker {
  position: absolute;
  top: 55%;           /* Approximate vertical position */
  left: 60%;        /* Approximate horizontal position for Sri Lanka */
  width: 2vw;
  height: 2vw;
  max-width: 15px;
  max-height: 15px;
  background-color: rgb(255, 166, 0);  /* Green marker */
  border: 2px solid white;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
  animation: pulse 0.7s infinite ease-in-out;
}

.image-slide-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
  background-color: #f0f0f0;
}

/* Slide animation container */
.slide-in-image {
  width: 100%;
  max-width: 600px;
  overflow: hidden;
  animation: slideInFromLeft 1s ease-out forwards;
  opacity: 0;
}

/* Responsive image */
.slide-in-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

/* Keyframes for sliding in from the left */
@keyframes slideInFromLeft {
  0% {
    transform: translateX(-100%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

.sap-title {
  background-image: url('/logo/erp.png'); /* ✅ Replace with your actual image path */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 100px 20px;
  text-align: center;
  color: white; /* Optional: text color over background */
}

/* SLIDER CONTAINER */
.slider {
  position: relative;
  width: 100%;
  max-width: 1500px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  margin: auto;
  border-radius: 16px;
}

/* SLIDES */
.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  animation: fadeSlide 25s infinite;
}

.slide:nth-child(1) { animation-delay: 0s; }
.slide:nth-child(2) { animation-delay: 5s; }
.slide:nth-child(3) { animation-delay: 10s; }
.slide:nth-child(4) { animation-delay: 15s; }
.slide:nth-child(5) { animation-delay: 20s; }

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* OVERLAY TEXT */
.overlay-text {
  position: absolute;
  bottom: 40%;
  left: 5%;
  right: 5%;
  color: white;
  text-shadow: 1px 1px 50px #ff8000;
  animation: textSlide 1s ease-in-out forwards;
  opacity: 1;
  z-index: 2;
  max-width: 90%;
  word-wrap: break-word;
}

.overlay-text h2 {
  font-size: 2.5rem;
  margin: 0 0 10px;
  color: white;
}

.overlay-text p {
  font-size: 1.5rem;
  margin: 0;
  line-height: 1.6;
}

/* FADE SLIDE ANIMATION */
@keyframes fadeSlide {
  0% { opacity: 0; }
  4% { opacity: 1; }
  16% { opacity: 1; }
  20% { opacity: 0; }
  100% { opacity: 0; }
}

/* TEXT SLIDE ANIMATION */
@keyframes textSlide {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* RESPONSIVE TEXT */
@media (max-width: 768px) {
  .overlay-text {
    bottom: 25%;
  }
  .overlay-text h2 {
    font-size: 1.5rem;
  }
  .overlay-text p {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .overlay-text {
    bottom: 20%;
  }
  .overlay-text h2 {
    font-size: 1.2rem;
  }
  .overlay-text p {
    font-size: 0.8rem;
  }
}
