/* ─── FAQ ─── */
#section-faq { padding: 88px 0; background: #fff; }
.faq-item { border-bottom: 1px solid #eee; }
.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 0;
    cursor: pointer;
    user-select: none;
}
.faq-question span { font-weight: 700; color: #0d0028; font-size: 1rem; font-family: var(--font-main); }
.faq-chevron { color: var(--uni-blue); transition: transform .25s; flex-shrink: 0; }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-answer { display: none; padding-bottom: 16px; }
.faq-answer p { color: #666; font-size: .97rem; line-height: 1.7; margin: 0; }

@media (max-width: 767px) {
    #section-faq { padding: 56px 0; }
    #section-faq h2 { font-size: 1.8rem !important; }
}
@media (max-width: 480px) {
    #section-faq { padding: 40px 0; }
    #section-faq h2 { font-size: 1.5rem !important; }
}

/* ── Hero overlay brand gradient ── */
#section-intro .overlay-gradient {
    background: linear-gradient(140deg, rgba(41,0,151,.82) 0%, rgba(26,0,102,.72) 100%) !important;
}

/* Hero title */
#section-intro h1.big { font-family: var(--font-main); font-weight: 900; }
#section-intro h1.big span { color: var(--uni-yellow); }

/* CTA button */
.btn-custom, a.btn-custom {
    background: var(--uni-yellow) !important;
    color: var(--uni-blue) !important;
    font-weight: 800 !important;
    border-radius: 10px !important;
}
.btn-custom:hover { opacity: .9 !important; }

/* id-color → brand blue */
.id-color { color: var(--uni-yellow) !important; }

/* small-border → brand blue */
.small-border { background: var(--uni-blue) !important; }

/* Section headings */
#section-about h2,
#section-speakers h2,
#section-register h2 {
    color: var(--uni-blue);
    font-family: var(--font-main);
    font-weight: 900;
}

/* Stats bar backgrounds */
#section-fun-facts-top {
    background: url('../../images/pexels-sun-286671774-30562665.jpg') center/cover fixed !important;
}
#section-fun-facts {
    background: url('../../images/pexels-george-pak-7972324.jpg') center/cover fixed !important;
}

/* Fun-facts / stats bar overlay */
#section-fun-facts .overlay-gradient,
#section-fun-facts-top .overlay-gradient {
    background: linear-gradient(140deg, rgba(41,0,151,.92) 0%, rgba(26,0,102,.9) 100%) !important;
}
#section-fun-facts .timer,
#section-fun-facts-top .timer { color: var(--uni-yellow); font-family: var(--font-main); }

/* Schedules bar */
#section-schedules .overlay-gradient {
    background: linear-gradient(140deg, rgba(41,0,151,.92) 0%, rgba(26,0,102,.9) 100%) !important;
}

/* Register bar */
#section-register {
    background: url('../../images/office_interior.avif') center/cover fixed !important;
}
#section-register .overlay-gradient {
    background: linear-gradient(140deg, rgba(41,0,151,.92) 0%, rgba(26,0,102,.9) 100%) !important;
}

/* Pricing ribbons */
.pricing-s1 .ribbon { background: var(--uni-blue) !important; }

/* Tabs active */
.de_tab.tab_style_4 .de_nav li.active { border-color: var(--uni-blue) !important; }

/* Floating icon */
#floating-icon a.bg-orange { background: var(--uni-blue) !important; }

/* Countdown */
.countdown-s1 .countdown-section { border-color: rgba(255,255,255,.25) !important; }

/* ── Responsive ── */

/* Grid utility classes (replaced inline styles) */
.about-row      { display: flex; align-items: center; gap: 60px; flex-wrap: wrap; }
.about-col-text { flex: 0 0 360px; max-width: 360px; }
.g-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.g-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.s-heading { font-size: 2.8rem; font-weight: 900; }

/* Map iframe */
.map-wrap { min-height: 480px; }
.map-wrap iframe { min-height: 480px; display: block; }

/* ── Tablet (≤ 991px) ── */
@media (max-width: 991px) {
  .g-4 { grid-template-columns: repeat(2, 1fr); }
  #section-fun-facts-top,
  #section-fun-facts,
  #section-register {
    background-attachment: scroll !important;
  }
}

/* ── Hero row layout (custom, Bootstrap-independent) ── */
.hero-row {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 0 15px;
  box-sizing: border-box;
  width: 100%;
}
.hero-col-text    { flex: 0 0 auto; }
.hero-col-countdown { flex: 1; min-width: 0; text-align: center; margin-top: 16px; }

/* Desktop (>991px): equal halves */
@media (min-width: 992px) {
  .hero-col-text    { flex: 0 0 50%; max-width: 50%; }
  .hero-col-countdown { flex: 0 0 50%; max-width: 50%; margin-top: 60px; }
}

/* Mobile (<480px): stack vertically */
@media (max-width: 479px) {
  .hero-row { flex-direction: column; gap: 20px; }
  .hero-col-countdown { margin-top: 40px; }
  .hero-col-text, .hero-col-countdown { flex: none; width: 100%; max-width: 100%; text-align: center; }
  #section-intro h1.big { text-align: center !important; }
}

/* ── Tablet hero (480px–991px) ── */
@media (min-width: 480px) and (max-width: 991px) {
  /* Section & overlay fill viewport */
  #section-intro { position: relative !important; }
  #section-intro,
  #section-intro .overlay-gradient { height: 100vh !important; min-height: 100vh !important; }

  /* Slider covers the section as a background layer */
  #section-intro #custom-owl-slider {
    position: absolute !important;
    top: 0; left: 0; right: 0; bottom: 0;
    height: 100% !important;
    z-index: 0;
  }
  #section-intro #custom-owl-slider .owl-wrapper-outer,
  #section-intro #custom-owl-slider .owl-wrapper,
  #section-intro #custom-owl-slider .owl-item { height: 100% !important; }
  #section-intro #custom-owl-slider .item {
    aspect-ratio: unset !important;
    height: 100% !important;
    max-height: none !important;
  }
  #section-intro #custom-owl-slider .item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  /* Overlay: pseudo-element sits on top of slider (z-index 1) */
  #section-intro .overlay-gradient {
    position: relative !important;
    background: none !important;
  }
  #section-intro .overlay-gradient::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(140deg, rgba(41,0,151,.82) 0%, rgba(26,0,102,.72) 100%);
  }

  /* Content above the overlay */
  #section-intro .owl-slider-nav,
  #section-intro .center-y {
    position: relative !important;
    z-index: 2 !important;
  }

  /* h1 scaled for tablet */
  #section-intro h1.big {
    font-size: clamp(2.2rem, 9vw, 4rem) !important;
    line-height: 1.05 !important;
    white-space: nowrap !important;
  }
}

/* ── About: Tablet (768px–1024px) ── */
@media (min-width: 768px) and (max-width: 1024px) {
  #section-about { padding: 70px 0 !important; }

  #section-about .about-row {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 0 !important;
  }
  #section-about .about-col-text {
    flex: 1 1 100% !important;
    max-width: 640px !important;
  }
  /* Hide cards column */
  #section-about .about-row > div:last-child {
    display: none !important;
  }
  /* Center CTA */
  #section-about .about-cta {
    display: inline-flex !important;
    margin: 0 auto !important;
  }
  /* World map: center & subtler */
  #section-about > img[aria-hidden="true"] {
    width: 420px !important;
    opacity: .08 !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
  }
}

/* ── Mobile (≤ 767px) ── */
@media (max-width: 767px) {
  #section-about { padding: 56px 0 !important; }

  #section-about .about-row {
    flex-direction: column !important;
    gap: 32px !important;
    align-items: flex-start !important;
  }
  #section-about .about-col-text {
    flex: 1 1 100% !important;
    max-width: 100% !important;
  }
  #section-about .about-row > div:last-child {
    width: 100% !important;
    flex: 1 1 100% !important;
    min-width: 0 !important;
  }
  #section-about .g-2 {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
  #section-about .s-heading { font-size: 2rem !important; }
  /* World map: hidden on mobile */
  #section-about > img[aria-hidden="true"] { display: none !important; }
  /* CTA: full width */
  #section-about .about-cta {
    display: flex !important;
    width: 100% !important;
    justify-content: center !important;
    box-sizing: border-box;
  }

  .s-heading { font-size: 1.9rem; }
  #section-speakers { padding: 56px 0 !important; }
  #section-schedules { padding: 56px 0 !important; }
  .map-wrap { min-height: 280px !important; }
  .map-wrap iframe { min-height: 280px !important; }
}

/* ── Small mobile (≤ 600px) ── */
@media (max-width: 600px) {
  .g-4 { grid-template-columns: 1fr; }
}

/* ── Tiny phone (≤ 480px) ── */
@media (max-width: 480px) {
  .s-heading { font-size: 1.6rem; }
  #section-about    { padding: 40px 0 !important; }
  #section-speakers { padding: 40px 0 !important; }
  #section-schedules { padding: 40px 0 !important; }
}

/* Slider images — 1920×1280, object-fit cover */
#custom-owl-slider .item {
    width: 100%;
    aspect-ratio: 1920 / 1280;
    max-height: 100vh;
    overflow: hidden;
    position: relative;
}

#custom-owl-slider .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}
