@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@700;800&display=swap");

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

@keyframes gold2FadeIn {
  from { opacity: 0; transform: scale(0.97); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes gold2DotPulse {
  0%, 100% { box-shadow: 0 0 0 5px rgba(212, 162, 76, 0.22); }
  50% { box-shadow: 0 0 0 8px rgba(212, 162, 76, 0.12); }
}

@keyframes gold2Drift {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  10% { opacity: 0.7; }
  50% { transform: translateY(-160px) translateX(14px); opacity: 0.9; }
  90% { opacity: 0.3; }
  100% { transform: translateY(-320px) translateX(-6px); opacity: 0; }
}

@keyframes gold2Shine {
  0% { transform: translateX(-120%) skewX(-20deg); }
  100% { transform: translateX(220%) skewX(-20deg); }
}

.gold2 {
  width: 100%;
  background:
    radial-gradient(circle at 15% 10%, rgba(212, 162, 76, 0.1), transparent 45%),
    radial-gradient(circle at 85% 90%, rgba(30, 58, 95, 0.1), transparent 45%),
    linear-gradient(150deg, #eef4ff 0%, #e6edfb 45%, #f3ecdf 100%);
  padding: 64px 48px;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
  position: relative;
  overflow: hidden;
}

/* ---------- ambient floating particles ---------- */
.gold2__particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.gold2__particle {
  position: absolute;
  bottom: -20px;
  border-radius: 50%;
  background: radial-gradient(circle, #f0c878 0%, rgba(212, 162, 76, 0.15) 70%);
  animation-name: gold2Drift;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

.gold2__inner {
  max-width: 1360px;
  margin: 0 auto;
  position: relative;
}

/* ---------- badge ---------- */
.gold2__badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: transparent;
  z-index: 6;
  max-width: 100%;
  margin-bottom: 28px;
  opacity: 0;
  animation-play-state: paused;
}

.gold2__badge-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: linear-gradient(145deg, #f0c878, #d4a24c);
  color: #1e3a5f;
  border-radius: 9px;
  flex-shrink: 0;
  box-shadow: 0 6px 14px rgba(212, 162, 76, 0.3);
}

.gold2__badge-divider {
  width: 1.5px;
  height: 18px;
  background: #c9d4e6;
  flex-shrink: 0;
}

.gold2__badge-text {
  color: #1e3a5f;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.8px;
  white-space: nowrap;
  font-family: "Plus Jakarta Sans", sans-serif;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- box ---------- */
.gold2__box {
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  z-index: 2;
  overflow: visible;
}

/* ---------- LEFT: content ---------- */
.gold2__content {
  min-width: 0;
  opacity: 0;
  animation-play-state: paused;
}

.gold2__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #d4a24c;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.2px;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.gold2__tagIcon {
  display: inline-block;
  width: 22px;
  height: 3px;
  background: #d4a24c;
  border-radius: 2px;
}

.gold2__heading {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.32;
  color: #1e3a5f;
  margin: 0 0 22px 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  letter-spacing: -0.3px;
}

.gold2__heading--accent {
  color: #d4a24c;
}

.gold2__underline {
  display: block;
  width: 110px;
  height: 5px;
  border-radius: 3px;
  background: linear-gradient(90deg, #d4a24c, rgba(212, 162, 76, 0));
  margin-bottom: 28px;
  position: relative;
  box-shadow: 0 0 14px rgba(212, 162, 76, 0.3);
}

.gold2__underline::after {
  content: "";
  position: absolute;
  left: 0;
  top: -4px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #d4a24c;
  box-shadow: 0 0 0 5px rgba(212, 162, 76, 0.22);
  animation: gold2DotPulse 2.4s ease-in-out infinite;
}

.gold2__para {
  font-size: 17px;
  line-height: 1.75;
  color: #3d4759;
  margin: 0 0 38px 0;
  max-width: 460px;
}

.gold2__btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: linear-gradient(135deg, #1e3a5f, #28407c);
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  font-family: "Plus Jakarta Sans", sans-serif;
  border: none;
  border-radius: 10px;
  padding: 16px 20px 16px 28px;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  box-shadow: 0 12px 28px rgba(30, 58, 95, 0.3);
  overflow: hidden;
}

.gold2__btnShine {
  position: absolute;
  top: 0;
  left: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.35) 50%, rgba(255, 255, 255, 0) 100%);
  animation: gold2Shine 3.2s ease-in-out infinite;
  animation-delay: 1s;
  pointer-events: none;
}

.gold2__btnIcon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 22px;
  padding-left: 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.25);
  color: #d4a24c;
}

.gold2__btn:hover {
  background: #28407c;
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(30, 58, 95, 0.32);
}

/* ---------- RIGHT: image carousel ---------- */
.gold2__imageWrap {
  position: relative;
  min-width: 0;
  opacity: 0;
  animation-play-state: paused;
}

.gold2__imageFrame {
  width: 100%;
  border-radius: 20px;
  padding: 3px;
  background: linear-gradient(160deg, #d4a24c, #f0c878 45%, #d4a24c 100%);
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(30, 58, 95, 0.2);
  position: relative;
}

.gold2__corner {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, #f0c878, #d4a24c);
  clip-path: polygon(100% 0, 0 0, 100% 100%);
  z-index: 3;
  box-shadow: -4px 4px 10px rgba(0, 0, 0, 0.18);
  border-top-right-radius: 17px;
}

.gold2__image {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
  border-radius: 17px;
  transition: transform 0.6s ease, opacity 0.4s ease;
}

.gold2__imageFrame:hover .gold2__image {
  transform: scale(1.05);
}

.gold2__navBtn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ffffff;
  border: none;
  color: #1e3a5f;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(30, 58, 95, 0.2);
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
  flex-shrink: 0;
  z-index: 4;
}

.gold2__navBtn:hover {
  background: #1e3a5f;
  color: #d4a24c;
  transform: translateY(-50%) scale(1.08);
}

.gold2__navBtn--prev {
  left: -21px;
}

.gold2__navBtn--next {
  right: -21px;
}

.gold2__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}

.gold2__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #c9d4e6;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.gold2__dot--active {
  width: 30px;
  border-radius: 6px;
  background: #1e3a5f;
}

/* ---------- scroll-triggered reveal ---------- */
.gold2.gold2--visible .gold2__badge {
  animation: gold2FadeInUp 0.7s ease both;
  animation-play-state: running;
}

.gold2.gold2--visible .gold2__content {
  animation: gold2FadeInUp 0.8s ease 0.1s both;
  animation-play-state: running;
}

.gold2.gold2--visible .gold2__imageWrap {
  animation: gold2FadeIn 0.8s ease 0.2s both;
  animation-play-state: running;
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 1200px) {
  .gold2 {
    padding: 64px 36px;
  }

  .gold2__box {
    gap: 40px;
  }

  .gold2__heading {
    font-size: 36px;
  }

  .gold2__image {
    height: 340px;
  }
}

@media (max-width: 1024px) {
  .gold2 {
    padding: 56px 28px;
  }

  .gold2__inner {
    text-align: center;
  }

  .gold2__box {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .gold2__content {
    text-align: center;
  }

  .gold2__tag {
    justify-content: center;
  }

  .gold2__underline {
    margin-left: auto;
    margin-right: auto;
  }

  .gold2__para {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .gold2__heading {
    font-size: 32px;
  }

  .gold2__btn {
    justify-content: center;
    font-size: 14px;
    padding: 14px 18px 14px 24px;
  }

  .gold2__navBtn--prev {
    left: 8px;
  }

  .gold2__navBtn--next {
    right: 8px;
  }

  .gold2__image {
    height: 320px;
  }
}

@media (max-width: 768px) {
  .gold2 {
    padding: 50px 20px;
  }

  .gold2__badge-text {
    font-size: 12.5px;
  }

  .gold2__heading {
    font-size: 27px;
  }

  .gold2__para {
    font-size: 15.5px;
  }

  .gold2__image {
    height: 280px;
  }
}

@media (max-width: 640px) {
  .gold2 {
    padding: 48px 16px 40px;
  }

  .gold2__badge-icon {
    width: 30px;
    height: 30px;
  }

  .gold2__badge-text {
    font-size: 12px;
  }

  .gold2__heading {
    font-size: 23px;
  }

  .gold2__para {
    font-size: 14.5px;
    max-width: 100%;
  }

  .gold2__image {
    height: 240px;
  }

  .gold2__btn {
    width: 100%;
    justify-content: center;
    font-size: 13.5px;
    padding: 13px 16px 13px 20px;
  }

  .gold2__btnIcon {
    margin-left: 14px;
    padding-left: 12px;
  }

  .gold2__navBtn {
    width: 36px;
    height: 36px;
  }

  .gold2__corner {
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 400px) {
  .gold2 {
    padding: 40px 12px 32px;
  }

  .gold2__heading {
    font-size: 20px;
  }

  .gold2__para {
    font-size: 13.5px;
    line-height: 1.6;
  }

  .gold2__image {
    height: 200px;
  }

  .gold2__tag {
    font-size: 12px;
  }

  .gold2__navBtn {
    width: 32px;
    height: 32px;
  }

  .gold2__navBtn--prev {
    left: 4px;
  }

  .gold2__navBtn--next {
    right: 4px;
  }

  .gold2__btn {
    font-size: 12.5px;
    padding: 12px 14px 12px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gold2__particle,
  .gold2__btnShine,
  .gold2__underline::after {
    animation: none;
  }
}