/* ===== RESET & BASE ===== */
/* *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Barlow', sans-serif;
  background: #0a0a0a;
  overflow-x: hidden;
} */

/* ===== HERO SECTION ===== */
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 650px;
  overflow: hidden;
  background: #111;
}

/* ===== SLIDES ===== */
.carousel-slides {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.4s cubic-bezier(0.4, 0, 0.2, 1);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
}

.slide.active {
  opacity: 1;
  z-index: 2;
}

/* Dark gradient overlay - left-heavy for text readability */
.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(0, 0, 0, 0.78) 0%,
    rgba(0, 0, 0, 0.55) 45%,
    rgba(0, 0, 0, 0.15) 75%,
    rgba(0, 0, 0, 0.05) 100%
  );
  z-index: 1;
}

/* Color accent overlay - bottom strip */
.slide-color-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 5px;
  z-index: 3;
  transition: background 0.5s ease;
}

/* ===== SLIDE CONTENT ===== */
.slide-content {
  position: relative;
  z-index: 5;
  max-width: auto;
   margin-left: 350px;   /*start 350px from left */
  margin-right: 0;      
  padding: 0 20px;       
  animation: slideIn 0.9s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes slideIn {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* SDG Badge */
.sdg-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 18px 7px 7px;
  border-radius: 50px;
  margin-bottom: 18px;
  color: #fff;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.sdg-badge-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

/* SDG Number large display */
.sdg-number-display {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 7rem;
  font-weight: 800;
  line-height: 0.85;
  color: rgba(255,255,255,0.08);
  position: absolute;
  top: -10px;
  left: 54px;
  pointer-events: none;
  z-index: 0;
  user-select: none;
}

.slide-text-wrap {
  position: relative;
  z-index: 1;
}

.slide-content h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 700;
  line-height: 1.1;
  color: #ffffff;
  margin-bottom: 14px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
  letter-spacing: 0.3px;
}

.slide-content p {
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  line-height: 1.65;
  color: rgba(255,255,255,0.85);
  margin-bottom: 28px;
  max-width: 520px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 32px;
  border-radius: 50px;
  font-family: 'Barlow', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
  cursor: pointer;
  letter-spacing: 0.3px;
}

.cta-button:hover {
  background: rgba(255,255,255,0.88);
  color: #111;
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.3);
}

/* ===== CIRCULAR NAV ===== */
.circular-nav {
  position: absolute;
  right: 56px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 320px;
  height: 320px;
}

.circle-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.ring-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.nav-dots-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Each nav dot positioned via JS transform */
.nav-dot {
  position: absolute;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 2px solid rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.8);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  left: 50%;
  top: 50%;
  margin-left: -21px;
  margin-top: -21px;
  z-index: 5;
}

.nav-dot:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.7);
  transform: var(--dot-pos) scale(1.15) !important;
  z-index: 10;
}

.nav-dot.active {
  background: var(--sdg-color) !important;
  border-color: var(--sdg-color) !important;
  color: #fff;
  transform: var(--dot-pos) scale(1.22) !important;
  box-shadow: 0 0 0 4px rgba(255,255,255,0.15), 0 0 18px var(--sdg-color);
  z-index: 10;
}

/* Tooltip on hover */
.nav-dot::after {
  content: attr(data-label);
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  background: rgba(10,10,10,0.92);
  color: #fff;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  border: 1px solid rgba(255,255,255,0.1);
  z-index: 30;
}

.nav-dot:hover::after {
  opacity: 1;
}

/* Center display */
.center-display {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(0,0,0,0.75);
  border: 2px solid rgba(255,255,255,0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 6;
  backdrop-filter: blur(6px);
  transition: border-color 0.4s ease;
}

.center-icon {
  font-size: 22px;
  line-height: 1;
  margin-bottom: 1px;
}

.center-nums {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: baseline;
  gap: 1px;
}

.center-nums span:first-child {
  font-size: 14px;
  color: #fff;
}

.c-sep {
  font-size: 10px;
  opacity: 0.5;
}

/* ===== BOTTOM CONTROLS ===== */
.carousel-controls {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 16px;
  align-items: center;
  z-index: 20;
}

.ctrl-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1.5px solid rgba(255,255,255,0.28);
  color: #fff;
  font-size: 17px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.28s ease;
  backdrop-filter: blur(8px);
  font-family: inherit;
  line-height: 1;
}

.ctrl-btn:hover {
  background: rgba(255,255,255,0.22);
  border-color: rgba(255,255,255,0.6);
  transform: scale(1.1);
}

.ctrl-btn:active {
  transform: scale(0.96);
}

.slide-counter {
  color: #fff;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px;
  font-weight: 600;
  background: rgba(0,0,0,0.45);
  padding: 9px 22px;
  border-radius: 24px;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.12);
  letter-spacing: 0.5px;
  min-width: 90px;
  text-align: center;
}

/* ===== PROGRESS BAR ===== */
.progress-container {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(255,255,255,0.08);
  z-index: 20;
}

.progress-bar {
  height: 100%;
  width: 0%;
  transition: width 0.1s linear, background-color 0.5s ease;
  border-radius: 0 2px 2px 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1280px) {
  .circular-nav {
    right: 30px;
    width: 280px;
    height: 280px;
  }
}

@media (max-width: 1024px) {
  .circular-nav {
    display: none;
  }
  .slide-content {
    margin-left:120px;
    padding-right:40px;
  }
}

@media (max-width: 768px) {
  .hero-section { min-height: 560px; }
  .slide-content {
    margin-left:0;
    padding:0 24px;
    max-width:600px;
  }
  }
  .slide-content h2 { font-size: 1.9rem; }
  .slide-content p { font-size: 0.95rem; }
  .carousel-controls { bottom: 20px; gap: 10px; }
  .ctrl-btn { width: 40px; height: 40px; font-size: 15px; }
  .sdg-number-display { font-size: 5rem; }


@media (max-width: 480px) {
  .slide-content h2 { font-size: 1.6rem; }
    .slide-content { padding:0 18px;
  }
  .cta-button { padding: 11px 24px; font-size: 0.88rem; }
}