/* --- RESETS TO ELIMINATE TOP GAP --- */
html, body {
  margin: 0 !important;
  padding: 0 !important;
  width: 100%;
  overflow-x: hidden;
}

body {
  background: #0a0e17 !important;
}

/* --- NEW HERO BROMO LAYOUT --- */
.hero-section-bromo {
  margin: 0 !important;
  margin-top: 0 !important;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: clamp(110px, 14vw, 150px) 5% 60px;
  position: relative;
  z-index: 2;
  box-sizing: border-box;
  overflow: hidden;
  isolation: isolate;
  background-color: #0a0e17;
  background-origin: border-box;
  background-clip: border-box, border-box;
  background-image:
    linear-gradient(180deg, #0a0e17 0px, transparent 90px),
    url("../assets/images/hero-bg.jpg");
  background-size: auto, cover;
  background-position: 0 0, 0 -20px;
  background-repeat: no-repeat, no-repeat;
  background-attachment: scroll, scroll;
}

.hero-section-bromo::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  display: block;
  background:
    linear-gradient(180deg, #0a0e17 0px, transparent 80px),
    radial-gradient(1200px 600px at 12% 10%, rgba(110, 231, 168, 0.16), transparent 60%),
    radial-gradient(900px 500px at 92% 22%, rgba(122, 184, 255, 0.18), transparent 55%),
    radial-gradient(700px 420px at 55% 110%, rgba(110, 231, 168, 0.10), transparent 60%),
    linear-gradient(180deg, rgba(10, 14, 23, 0.78) 0%, rgba(10, 14, 23, 0.92) 55%, rgba(10, 14, 23, 0.97) 100%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, transparent 45%, rgba(255, 255, 255, 0.04) 100%);
  z-index: 0;
  pointer-events: none;
  mix-blend-mode: normal;
}

.hero-section-bromo::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 42%;
  display: block;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
  filter: blur(1px);
  z-index: 0;
  pointer-events: none;
  opacity: 0.9;
}

.hero-section-bromo > * {
  position: relative;
  z-index: 1;
  margin-top: 0 !important;
}

.hero-section-bromo > :first-child {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.hero-center-top {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 0;
}

.hero-badge-pill {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 10px 28px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 400;
  color: var(--text-white);
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-title-bromo {
  font-family: 'Inter', sans-serif;
  font-weight: 200;
  font-size: clamp(30px, 5vw, 56px);
  line-height: 1.15;
  text-transform: none;
  letter-spacing: -1px;
  margin-bottom: 20px;
  text-align: center;
  width: 100%;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.hero-subtitle-bromo {
  font-size: clamp(14px, 1.6vw, 18px);
  line-height: 1.7;
  color: var(--text-muted-light);
  text-align: center;
  max-width: 780px;
  width: 100%;
  margin: 0 auto 28px;
  font-weight: 300;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  max-width: 100%;
  margin: 0 auto 8px;
}

.hero-cta {
  text-decoration: none;
}

.hero-cta-primary {
  padding-right: 8px !important;
}

.hero-cta-secondary {
  padding: 10px 22px !important;
  gap: 10px;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--text-white);
}
.hero-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
}

.hero-bottom-area {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  align-items: end;
  margin-top: auto;
}

.hero-bottom-left {
  max-width: 340px;
  width: 100%;
}

.left-title {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: clamp(22px, 3vw, 28px);
  text-transform: none;
  margin-bottom: 6px;
}

.left-date {
  font-size: 15px;
  color: var(--text-white);
  margin-bottom: 16px;
  font-weight: 300;
}

.avatars-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.avatar-group {
  display: flex;
}

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--bg-darker);
  margin-left: -12px;
  object-fit: cover;
}

.avatar:first-child {
  margin-left: 0;
}

.avatar-more {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--bg-darker);
  margin-left: -12px;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: bold;
}

.avatars-text {
  font-size: 13px;
  color: var(--text-white);
  font-weight: 300;
}

.left-desc {
  font-size: 14px;
  color: var(--text-muted-light);
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 100%;
}

.hero-bottom-right {
  position: relative;
  width: min(540px, 100%);
  height: 200px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin: 0 auto;
}

.carousel-card {
  position: absolute;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255,255,255,0.05);
  transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  bottom: 0;
}

.carousel-card.card-active {
  left: 0;
  width: 260px;
  height: 190px;
  opacity: 1;
  z-index: 3;
}

.carousel-card.card-next-1 {
  left: 280px;
  width: 110px;
  height: 160px;
  opacity: 1;
  z-index: 2;
}

.carousel-card.card-next-2 {
  left: 410px;
  width: 110px;
  height: 160px;
  opacity: 1;
  z-index: 1;
}

.carousel-card.card-hidden {
  left: 540px;
  width: 110px;
  height: 160px;
  opacity: 0;
  z-index: 0;
}

.carousel-card.card-prev {
  left: -100px;
  width: 260px;
  height: 190px;
  opacity: 0;
  z-index: 0;
}

.text-slide-container {
  position: relative;
  min-height: 280px;
  width: 100%;
}

.text-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  pointer-events: none;
  display: flex;
  flex-direction: column;
}

.text-slide.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.carousel-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 16px;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}

.card-info-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.card-info-top h4 {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 15px;
  text-transform: none;
}

.card-info-top span {
  font-size: 12px;
}

.card-info p {
  font-size: 11px;
  color: rgba(255,255,255,0.8);
  line-height: 1.4;
  margin: 0;
}

.hero-footer-bar {
  display: grid;
  grid-template-columns: 1fr 2fr;
  align-items: center;
  gap: 40px;
  margin-top: 48px;
  padding-bottom: 20px;
}

.slide-num {
  font-size: 28px;
  font-weight: 300;
  font-family: 'Inter', sans-serif;
}

.slide-num span {
  font-size: 15px;
  color: var(--text-muted);
}

.progress-bar-container {
  width: 100%;
  height: 2px;
  background: rgba(255,255,255,0.2);
  position: relative;
}

.progress-bar-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 20%;
  background: var(--text-white);
}

/* NEW NAV BROMO STYLE */
.navbar-bromo {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 24px 5%;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  z-index: 1000;
  transition: all 0.3s ease;
  border: none;
  gap: 12px;
}

@media (min-width: 1025px) and (max-width: 1119px) {
  .navbar-bromo .nav-btn {
    display: none !important;
  }
  .navbar-bromo {
    gap: 0;
  }
  .nav-links-pill {
    margin-right: 0;
    margin-left: auto;
  }
}

.navbar-bromo.scrolled {
  background: rgba(18, 26, 47, 0.55);
  padding: 12px 5%;
}

.navbar-bromo.scrolled .nav-links-pill {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0.9;
}

.navbar-bromo.scrolled .nav-btn {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0.9;
}

.navbar-bromo.scrolled .nav-logo-cursive img {
  height: clamp(48px, 6vw, 72px);
  max-width: 28vw;
  opacity: 0.88;
}

.navbar-bromo.scrolled .nav-logo-cursive {
  opacity: 0.88;
}

.nav-logo-cursive {
  font-family: 'Pacifico', cursive;
  font-size: clamp(22px, 3vw, 32px);
  color: var(--text-white);
  text-decoration: none;
  max-width: none;
  overflow: visible;
  text-overflow: clip;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  line-height: 1;
  position: absolute;
  top: 50%;
  left: 5%;
  transform: translateY(-50%);
  z-index: 1001;
}

.nav-logo-cursive img {
  display: block;
  height: clamp(60px, 7.5vw, 90px);
  width: auto;
  max-width: 35vw;
  object-fit: contain;
  margin-top: 5px;
  margin-bottom: 5px;
}

.navbar-bromo .mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-white);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  padding: 6px 8px;
  margin-left: auto;
  order: 3;
  width: auto;
  height: auto;
  text-align: center;
  position: relative;
  z-index: 1002;
}

.nav-links-pill {
  display: flex;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 50px;
  padding: 6px;
  gap: 4px;
  margin-right: 0;
  margin-left: auto;
  position: relative;
  z-index: 1000;
}

.nav-btn {
  position: relative;
  z-index: 1000;
}

.nav-links-pill a {
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 400;
  color: var(--text-white);
  transition: all 0.3s ease;
}

.nav-links-pill a.active, .nav-links-pill a:hover {
  background: var(--text-white);
  color: var(--bg-darker);
}

.nav-btn {
  justify-self: end;
}

.btn-pill-icon {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 6px 6px 6px 18px;
  border-radius: 50px;
  color: var(--text-white);
  font-weight: 400;
  font-size: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%;
}
.btn-pill-icon:hover {
  background: rgba(255, 255, 255, 0.2);
}
.btn-pill-icon .icon-circle {
  width: 32px;
  height: 32px;
  background: var(--text-white);
  color: var(--bg-darker);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 16px;
  flex-shrink: 0;
}

.btn-white {
  background: var(--text-white);
  color: var(--bg-darker);
  border-color: var(--text-white);
}
.btn-white:hover {
  background: rgba(255,255,255,0.8);
}
.btn-white .icon-circle {
  background: var(--bg-darker);
  color: var(--text-white);
}

.btn-pill-icon {
  white-space: nowrap;
}

@media (max-width: 1024px) {
  .hero-bottom-area { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 32px; }
  .hero-bottom-left { max-width: 600px; width: 100%; display: flex; flex-direction: column; align-items: center; }
  .text-slide { align-items: center; }
  .avatars-row { justify-content: center; }
  .hero-bottom-right { justify-content: center; width: 100%; }
  .hero-footer-bar { grid-template-columns: 1fr; gap: 20px; justify-items: center; width: 100%; }

  .navbar-bromo {
    grid-template-columns: 1fr auto auto;
  }
  .navbar-bromo .nav-links-pill:not(.active) {
    display: none;
  }
  .navbar-bromo .nav-links-pill.active {
    display: flex !important;
  }
  .navbar-bromo .nav-btn {
    display: none;
  }
  .navbar-bromo .mobile-menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .hero-section-bromo {
    min-height: auto;
    padding: clamp(96px, 20vw, 110px) 20px 56px;
  }

  .hero-center-top {
    margin-top: 0;
  }

  .hero-title-bromo {
    font-size: clamp(24px, 9vw, 40px);
    margin-bottom: 14px;
    letter-spacing: -0.5px;
  }

  .hero-badge-pill {
    font-size: 12px;
    padding: 8px 18px;
    margin-bottom: 16px;
  }

  .hero-subtitle-bromo {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
    max-width: 100%;
  }

  .hero-cta-row {
    gap: 12px;
    flex-direction: row;
  }

  .hero-cta {
    width: auto;
    max-width: 100%;
  }

  .hero-cta-secondary {
    padding: 10px 18px !important;
    font-size: 13px;
  }

  .hero-bottom-area {
    gap: 24px;
    margin-top: 20px;
  }

  .text-slide-container {
    min-height: auto;
    position: relative;
  }

  .text-slide {
    position: relative;
    display: none;
    padding: 0 4px;
  }

  .text-slide.active {
    display: flex;
    transform: none;
  }

  .left-title {
    font-size: 22px;
    margin-bottom: 4px;
  }

  .left-date {
    font-size: 14px;
    margin-bottom: 14px;
  }

  .avatars-row {
    margin-bottom: 14px;
  }

  .left-desc {
    font-size: 13px;
    line-height: 1.65;
    margin-bottom: 18px;
    max-width: 100%;
    width: 100%;
    word-break: break-word;
    overflow-wrap: anywhere;
  }

  .btn-pill-icon {
    gap: 10px;
    padding: 6px 6px 6px 16px;
    font-size: 13px;
    width: auto;
  }

  .hero-bottom-right {
    height: auto;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    margin: 0;
  }

  .carousel-card {
    display: none;
    position: relative;
    left: auto !important;
    right: auto !important;
    bottom: auto;
    top: auto;
  }

  .carousel-card.card-active {
    display: block;
    width: 100% !important;
    max-width: 480px;
    height: 220px;
    margin: 0 auto;
    position: relative;
  }

  .hero-footer-bar {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 32px;
    padding-bottom: 0;
    width: 100%;
  }

  .slide-num {
    font-size: 22px;
  }

  .progress-bar-container {
    width: 100%;
    max-width: 100%;
  }

  .navbar-bromo {
    display: flex;
    justify-content: space-between;
    padding: 16px 16px;
    gap: 8px;
    background: transparent;
  }

  .navbar-bromo.scrolled {
    padding: 12px 16px;
  }

  .nav-logo-cursive {
    font-size: 22px;
    left: 16px;
    max-width: none;
  }

  .nav-logo-cursive img {
    height: clamp(38px, 9vw, 54px);
    max-width: 36vw;
  }

  .navbar-bromo .mobile-menu-btn {
    display: inline-flex;
    font-size: 26px;
    color: var(--text-white);
    padding: 4px 6px;
  }
}

@media (max-width: 480px) {
  .hero-section-bromo {
    padding: clamp(130px, 36vw, 144px) 16px 48px;
  }

  .hero-title-bromo {
    font-size: clamp(22px, 10vw, 32px);
    margin-bottom: 14px;
  }

  .hero-badge-pill {
    font-size: 11px;
    padding: 7px 14px;
    margin-bottom: 14px;
  }

  .hero-subtitle-bromo {
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 18px;
  }

  .hero-cta-row {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .hero-cta {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .hero-cta-primary,
  .hero-cta-secondary {
    width: 100%;
    justify-content: center;
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  .hero-bottom-right {
    width: 100%;
  }

  .carousel-card.card-active {
    height: 200px;
    max-width: 100%;
    width: 100% !important;
    border-radius: 16px;
  }

  .hero-footer-bar {
    margin-top: 24px;
  }

  .slide-num {
    font-size: 20px;
  }
}
