/* ======================= */
/* PARTNERS & ALLIANCES (DIV BLOCK) */
/* ======================= */
.ahda-partners-block {
  position: relative;
  overflow: hidden;
  margin: 0;             
  padding: 40px 0 0 0;    

  background:
    radial-gradient(circle at 15% 25%, rgba(245, 123, 44, 0.08) 0%, transparent 38%),
    radial-gradient(circle at 80% 35%, rgba(11, 79, 102, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 55% 85%, rgba(20, 119, 109, 0.06) 0%, transparent 45%),
    linear-gradient(135deg,
      rgba(243, 250, 250, 0.95) 0%,
      rgba(255, 255, 255, 0.98) 35%,
      rgba(243, 250, 250, 0.95) 100%);

  border-top: 1px solid rgba(11, 79, 102, 0.08);
  border-bottom: none;   
}

.ahda-partners-block::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(11, 79, 102, 0.10) 1.2px, transparent 1.3px);
  background-size: 22px 22px;
  opacity: 0.20;
  pointer-events: none;
}

.ahda-partners-block::after {
  content: "";
  position: absolute;
  inset: -60px;
  background:
    radial-gradient(circle at 12% 22%, rgba(245, 123, 44, 0.18) 0%, transparent 18%),
    radial-gradient(circle at 90% 20%, rgba(20, 119, 109, 0.16) 0%, transparent 20%),
    radial-gradient(circle at 88% 88%, rgba(11, 79, 102, 0.14) 0%, transparent 22%);
  opacity: 0.35;
  pointer-events: none;
}

.ahda-partners-block .container {
  position: relative;
  z-index: 1;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

/* Title */
.ahda-partners-title {
  text-align: center;
  max-width: 880px;
  margin: 0 auto 12px; /* Reduced from 18px */
}

.ahda-partners-title h2 {
  margin: 0;
  font-weight: 900;
  letter-spacing: 0.2px;
  line-height: 1.1;
  font-size: clamp(1.8rem, 2.8vw, 3rem);
}

.ahda-partners-title .t-primary { color: var(--ahda-teal); }
.ahda-partners-title .t-accent { color: var(--ahda-orange); }

.ahda-partners-underline {
  display: inline-block;
  width: min(260px, 62%);
  height: 6px;
  margin-top: 10px; /* Reduced from 12px */
  border-radius: 999px;
  background: linear-gradient(90deg,
    rgba(245, 123, 44, 0.0) 0%,
    rgba(245, 123, 44, 0.9) 30%,
    rgba(245, 123, 44, 0.6) 55%,
    rgba(245, 123, 44, 0.0) 100%);
  position: relative;
}

.ahda-partners-underline::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: -3px;
  width: 52px;
  height: 12px;
  border-radius: 999px;
  background: rgba(245, 123, 44, 0.18);
}

.ahda-partners-subtitle {
  margin: 10px auto 0; /* Reduced from 14px */
  color: var(--ahda-text-gray);
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1.5;
}

/* ======================= */
/* SLIDER WITHOUT BUTTONS */
/* ======================= */
.ahda-partners-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
  margin: 18px auto 0; /* Reduced from 30px */
  padding: 0;
}

.ahda-partners-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s ease-in-out;
  will-change: transform;
}

/* Partner card */
.ahda-partner {
  flex: 0 0 auto;
  width: 200px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(11, 79, 102, 0.12);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.ahda-partner img {
  max-width: 100%;
  max-height: 60px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.ahda-partner:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 123, 44, 0.35);
  box-shadow: 0 14px 30px rgba(11, 79, 102, 0.12);
}

.ahda-partner:hover img {
  transform: scale(1.04);
  filter: saturate(1.08);
}

/* Dots/Pagination Only */
.ahda-slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 18px; /* Reduced from 30px */
  margin-bottom: 0;
  padding-bottom: 0;
}

.ahda-slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(11, 79, 102, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  padding: 0;
}

.ahda-slider-dot.active {
  background: var(--ahda-orange);
  transform: scale(1.3);
}

.ahda-slider-dot:hover {
  background: var(--ahda-teal);
}

/* Touch/swipe support */
.ahda-partners-slider {
  cursor: grab;
  user-select: none;
}

.ahda-partners-slider:active {
  cursor: grabbing;
}

/* Auto-slide indicator (optional) */
.ahda-slider-dot.active::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 50%;
  border: 2px solid rgba(245, 123, 44, 0.3);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(1.1); }
  100% { opacity: 0.7; transform: scale(1); }
}

/* Responsive */
@media (max-width: 768px) {
  .ahda-partners-slider {
    margin: 16px auto 0; /* Reduced for mobile */
  }
  
  .ahda-partner {
    width: 170px;
    height: 90px;
    padding: 16px;
  }
  
  .ahda-partners-track {
    gap: 20px;
  }
  
  .ahda-slider-dots {
    margin-top: 16px; /* Reduced for mobile */
  }
}

@media (max-width: 575.98px) {
  .ahda-partners-block {
    margin-top: 35px; /* Reduced from 40px */
    padding: 35px 0 10px 0; /* Reduced: top 35px, bottom 10px */
  }
  
  .ahda-partners-title {
    margin: 0 auto 10px; /* Reduced for mobile */
  }
  
  .ahda-partners-underline {
    margin-top: 8px; /* Reduced for mobile */
  }
  
  .ahda-partners-subtitle {
    margin: 8px auto 0; /* Reduced for mobile */
    font-size: 0.95rem; /* Slightly smaller font */
  }
  
  .ahda-partners-slider {
    margin: 14px auto 0; /* Reduced for mobile */
  }
  
  .ahda-partner {
    width: 150px;
    height: 85px;
    padding: 14px;
    border-radius: 14px;
  }
  
  .ahda-partners-track {
    gap: 16px;
  }
  
  .ahda-slider-dots {
    margin-top: 14px; /* Reduced for mobile */
    gap: 8px;
  }
  
  .ahda-slider-dot {
    width: 10px;
    height: 10px;
  }
}

/* Ensure footer sits directly below partners section */
footer, 
.site-footer,
.ahda-footer {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

