/* Hero */
.hero-title {
  color: #985432 !important;
}

.hero-section::before {
  background: rgba(0, 0, 0, 0) !important;
}

.hero-text-content {
  margin-top: 220px !important;
}

/* Global Footprints */
.global-footprint-section {
  background: linear-gradient(to bottom, #f0e5de 50%, #ffffff 100%);
  padding: 120px 0;
  text-align: center;
}

.global-title {
  font-size: 3.5rem;
  color: #985432;
  font-weight: 400;
  margin-bottom: 0.5rem;
  letter-spacing: -0.5px;
}

.global-subtitle {
  font-size: 0.9rem;
  font-weight: 300;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 4rem;
}

.map-container {
  width: 50%;
  margin: auto;
}

.marker {
  fill: red;
  stroke: white;
  stroke-width: 3px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

/* Ripple effect using a pseudo-element */
.ripple {
  fill: red;
  opacity: 0.4;
  animation: ripple 1.5s infinite;
}

@keyframes ripple {
  0% {
    r: 8;
    opacity: 0.6;
  }
  100% {
    r: 25; /* expands */
    opacity: 0; /* fades */
  }
}

.responsible {
  background: #fff;
}

.responsible h2 {
  color: #8a3d2e;
}

.responsible .subtitle {
  color: #555;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.section-title {
  font-size: 3.5rem;
  color: #985333;
  text-align: center;
}

.section-subtitle {
  font-size: 1.5rem;
  margin-bottom: 4rem;
  text-align: center;
}

/* Events Section */
.events-section {
  background: #fff;
  padding: 100px 0;
}

.events-subtitle {
  color: #999;
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 3rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.event-layout {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-bottom: 3rem;
  justify-content: center;
}

.event-card2 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* vertical centering */
  height: 100%;
}

.event-image-container {
  flex: 0 0 auto;
}

.event-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.event-details {
  flex: 0 0 auto;
  text-align: left;
}

.event-title {
  font-size: 2.2rem;
  color: var(--text-dark);
  margin-bottom: 15px;
  font-weight: 400;
}

.event-date {
  color: var(--text-dark);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.event-location {
  color: #666;
  font-size: 1.1rem;
  margin-bottom: 0;
}

.event-description {
  color: var(--text-dark);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero-button {
  background: transparent;
  color: white;
  border: 2px solid white;
  padding: 15px 40px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 2rem;
}

.hero-button:hover {
  background: white;
  color: var(--dark-brown);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

/* Initial hidden state */
.animate-out {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Visible state with slower entrance */
.animate-in {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s ease, transform 0.8s ease;
  /* slower in */
}

/* Stagger delays for specific groups */
.award-item:nth-child(1) {
  transition-delay: 0.1s;
}

.award-item:nth-child(2) {
  transition-delay: 0.2s;
}

.award-item:nth-child(3) {
  transition-delay: 0.3s;
}

.award-item:nth-child(4) {
  transition-delay: 0.4s;
}

.award-item:nth-child(5) {
  transition-delay: 0.5s;
}

.award-item:nth-child(6) {
  transition-delay: 0.6s;
}

.partner-logo:nth-child(1) {
  transition-delay: 0.1s;
}

.partner-logo:nth-child(2) {
  transition-delay: 0.2s;
}

.partner-logo:nth-child(3) {
  transition-delay: 0.3s;
}

.partner-logo:nth-child(4) {
  transition-delay: 0.4s;
}

.partner-logo:nth-child(5) {
  transition-delay: 0.5s;
}

.footprints-section {
  background: linear-gradient(to bottom, #f0e5de 50%, #ffffff 100%);
}

.form-section {
  border-right: 1px solid #ddd;
  padding-right: 2rem;
}
/* .circle-button {
        width: 80px;
        height: 80px;
        border-radius: 50%;
        border: none;
        background-color: #e74c3c; 
        color: #fff;
        font-weight: bold;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        margin: 2rem auto 0;
    } */
/* .circle-button .arrow {
        font-size: 1rem;
        margin-top: 0.2rem;
    } */

/* Responsive Design */
@media (max-width: 768px) {
  .precision-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .diamond-image {
    max-width: 300px;
  }

  .hero-logo {
    top: -10%;
  }

  .event-layout {
    flex-direction: column;
    gap: 20px;
  }

  .event-image {
    width: 100%;
    max-width: 400px;
  }

  .event-details {
    padding-left: 0;
  }

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

  .global-title {
    font-size: 2.5rem;
  }

  .global-footprint-section {
    padding: 80px 0;
  }

  .world-map-svg {
    height: 300px;
  }
}

/* Tooltip (desktop only) */
.location-tooltip {
  position: absolute;
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  /* box-shadow: 0 4px 15px rgba(0,0,0,0.15); */
  text-align: left;
  width: 300px;
  display: none;
  pointer-events: none;
  z-index: 999;
}

.tooltip-title {
  font-family: "Typhone", sans-serif;
  font-size: 20px;
  font-weight: 400;
  color: #8b4513;
  margin-bottom: 12px;
}
.tooltip-address,
.tooltip-contact {
  font-size: 15px;
  line-height: 1.5;
  color: #222;
  margin-bottom: 10px;
}
.tooltip-address b,
.tooltip-contact b {
  color: #000;
  font-weight: 600;
}

/* Carousel (mobile only) */
.location-carousel {
  /* display: none; */
  margin-top: 15px;
  overflow-x: auto;
  white-space: nowrap;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
  word-wrap: normal !important;
}
.location-card {
  display: inline-block;
  vertical-align: top;
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  /* box-shadow: 0 4px 15px rgba(0,0,0,0.15); */
  text-align: left;
  width: 260px;
  margin-right: 15px;
  scroll-snap-align: start;
  word-wrap: normal !important;
}
.location-card .title {
  font-size: 25px;
  font-weight: 600;
  color: #8b4513;
  margin-bottom: 10px;
  word-wrap: normal !important;
}
.location-card .address,
.location-card .contact {
  font-size: 14px;
  line-height: 1.5;
  color: #222;
  margin-bottom: 8px;
  word-wrap: normal !important;
}
.location-card b {
  font-weight: 600;
  color: #000;
  word-wrap: normal !important;
}

/* Responsive switch */
.desktop-map {
  display: block;
}
.mobile-map {
  display: none;
}
.form-select {
  padding: 1% 7% 1% 2%;
}
@media (max-width: 768px) {

  .contact-us-img{
    content: url("../images/contactus_mob.png");
  }

  .location-card .address,
  .location-card .contact {
    font-size: 12px;
    text-wrap: auto;
  }

  .events-section{
    font-size: 12px;
  }

  .desktop-map {
    display: none;
  }
  .mobile-map {
    display: block;
    margin-top: 10px;
  }

  /* Hide tooltips on mobile */
  .location-tooltip {
    display: none !important;
  }

  /* Show carousel */
  .location-carousel {
    display: block;
  }

  .map-container {
    width: 100%;
  }
}

.event-carousel-item {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.event-carousel-item.active {
    display: block;
    opacity: 1;
}

/* Custom indicators like in your screenshot */
.carousel-indicators {
  gap: 1rem;
}
.carousel-indicators .indicator {
  display: inline-block;
  width: 60px;
  height: 6px;
  border-radius: 3px;
  background: #f9e6dc; /* inactive color */
  cursor: pointer;
  transition: background 0.3s ease;
}
.carousel-indicators .indicator.active {
  background: #d94b2b; /* active color */
}