﻿:root {
  --dark:    #0b1e34;
  --navy:    #122b47;
  --steel:   #1e3f60;
  --mid:     #3e6082;
  --silver:  #7a9ab8;
  --stone:   #d0e2f0;
  --light:   #eef5fb;
  --white:   #ffffff;
  --accent:  #0066cc; /* JAN Blue */
  --accent2: #3ba6e8; /* JAN Light Blue */
  --warm:    #f5a623;
  --sans:    'Manrope', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--dark); background: var(--white); overflow-x: hidden; }

/* ===========================
   TICKER
   =========================== */
.ticker-bar {
  background: var(--dark);
  color: rgba(255,255,255,0.6);
  padding: 9px 0;
  overflow: hidden;
  white-space: nowrap;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.05em;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.ticker-inner {
  display: inline-block;
  animation: tickerMove 35s linear infinite;
  padding-left: 100%;
}
.ticker-inner span { margin-right: 3.5rem; }
.ticker-inner span i { margin-right: 6px; color: var(--accent); }
.ticker-inner span i.fa-star { color: var(--warm); }
@keyframes tickerMove {
  0%   { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-100%, 0, 0); }
}

/* ===========================
   NAV
   =========================== */
.main-nav {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(11,30,52,0.97);
  backdrop-filter: blur(16px);
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-logo img {
  height: 44px;
  width: auto;
  object-fit: contain;
  display: block;
}
.nav-back {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
}
.nav-back:hover { color: var(--white); }

/* ===========================
   HERO
   =========================== */
.hero-section {
  position: relative;
  min-height: 45vh;
  display: flex;
  align-items: center;
  background-image: url('img/hero-1.jpg');
  background-size: cover;
  background-position: center 30%;
  background-attachment: fixed;
  overflow: hidden;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    130deg,
    rgba(11,30,52,0.93) 0%,
    rgba(11,30,52,0.82) 50%,
    rgba(16,117,196,0.2) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 60px 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--accent2);
  margin-bottom: 18px;
}
.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--accent);
  flex-shrink: 0;
}
.hero-content h1 {
  font-size: clamp(32px, 5vw, 62px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 16px;
  letter-spacing: -0.04em;
}
.hero-content h1 span { color: var(--accent2); }
.hero-content p {
  font-size: 13.5px;
  color: rgba(255,255,255,0.55);
  font-weight: 400;
  max-width: 550px;
  line-height: 1.8;
  margin: 0 auto;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0; right: 0;
  height: 60px;
  background: var(--white);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  z-index: 3;
}

/* ===========================
   MENU TOPICS
   =========================== */
.topic-menu {
  margin-top: -30px;
  position: relative;
  z-index: 10;
}
.topic-card {
  background: var(--white);
  border: 1px solid var(--stone);
  padding: 24px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 4px 12px rgba(11,30,52,0.04);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.topic-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(11,30,52,0.08);
  border-color: var(--accent2);
}
.topic-card.active {
  background: var(--dark);
  border-color: var(--accent);
  box-shadow: 0 16px 36px rgba(11,30,52,0.2);
}
.topic-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: all 0.3s;
}
.topic-icon i {
  color: var(--accent);
  font-size: 20px;
}
.topic-card.active .topic-icon {
  background: var(--accent);
}
.topic-card.active .topic-icon i {
  color: var(--white);
}
.topic-card h3 {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
  transition: color 0.3s;
}
.topic-card.active h3 {
  color: var(--white);
}
.topic-card p {
  font-size: 11px;
  color: var(--silver);
  line-height: 1.6;
  margin: 0;
  transition: color 0.3s;
}
.topic-card.active p {
  color: rgba(255,255,255,0.5);
}

/* ===========================
   FAQ CONTAINER
   =========================== */
.faq-section {
  padding: 60px 0 90px;
  background: var(--white);
}
.faq-row {
  display: none;
}
.faq-row.active-row {
  display: flex;
  animation: rowFade 0.5s ease forwards;
}
@keyframes rowFade {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.topic-intro-box {
  background: var(--light);
  border-left: 4px solid var(--accent);
  padding: 24px 30px;
  margin-bottom: 40px;
  border-radius: 4px;
}
.topic-intro-box h4 {
  font-size: 15px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.topic-intro-box p {
  font-size: 13px;
  line-height: 1.75;
  color: var(--mid);
  margin: 0;
}

.faq-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  text-align: center;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}
.faq-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--accent);
  margin: 10px auto 0;
}

/* Accordion Custom Styling */
.accordion-item-custom {
  background: var(--white);
  border: 1px solid var(--stone);
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(11,30,52,0.02);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.accordion-item-custom:hover {
  border-color: var(--silver);
}
.accordion-button-custom {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--dark);
  background: var(--white);
  padding: 18px 22px;
  border: none;
  width: 100%;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  outline: none;
  cursor: pointer;
  letter-spacing: -0.02em;
  line-height: 1.5;
}
.accordion-button-custom i {
  font-size: 12px;
  color: var(--silver);
  transition: transform 0.25s;
  margin-left: 12px;
}
.accordion-button-custom:not(.collapsed) {
  color: var(--accent);
}
.accordion-button-custom:not(.collapsed) i {
  transform: rotate(180deg);
  color: var(--accent);
}
.accordion-collapse-custom {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease-out;
}
.accordion-body-custom {
  padding: 0 22px 20px;
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--mid);
  font-weight: 400;
}
.accordion-body-custom strong {
  color: var(--dark);
}

.summary-text {
  margin-bottom: 12px;
  font-size: 12.5px;
  color: var(--mid);
  line-height: 1.6;
}
.btn-readmore {
  background: none;
  border: none;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}
.btn-readmore:hover {
  color: var(--accent2);
}

.step-list {
  margin: 14px 0;
  padding-left: 20px;
}
.step-list li {
  margin-bottom: 8px;
}

/* ===========================
   MODAL (POPUP) STYLING
   =========================== */
.faq-modal {
  position: fixed;
  inset: 0;
  background: rgba(11, 30, 52, 0.75);
  backdrop-filter: blur(6px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.faq-modal.active {
  opacity: 1;
  pointer-events: auto;
}
.faq-modal-content {
  background: var(--white);
  border-radius: 12px;
  width: 90%;
  max-width: 680px;
  max-height: 85vh;
  overflow-y: auto;
  padding: 36px;
  box-shadow: 0 24px 64px rgba(11,30,52,0.3);
  position: relative;
  transform: translateY(20px) scale(0.95);
  transition: transform 0.3s ease;
  border: 1px solid var(--stone);
}
.faq-modal.active .faq-modal-content {
  transform: translateY(0) scale(1);
}
.faq-modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 28px;
  font-weight: 700;
  color: var(--silver);
  cursor: pointer;
  background: none;
  border: none;
  transition: color 0.2s;
}
.faq-modal-close:hover {
  color: var(--dark);
}
.faq-modal-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 20px;
  line-height: 1.4;
  padding-right: 30px;
  border-bottom: 2px solid var(--light);
  padding-bottom: 12px;
}
.faq-modal-body {
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--mid);
}
.faq-modal-body p {
  margin-bottom: 14px;
}
.faq-modal-body strong {
  color: var(--dark);
}
.faq-modal-subtitle {
  font-size: 14px;
  font-weight: 800;
  color: var(--dark);
  margin: 20px 0 8px 0;
  letter-spacing: -0.01em;
}
.faq-modal-cta {
  background: var(--light);
  border: 1px solid var(--stone);
  border-radius: 8px;
  padding: 20px;
  margin-top: 28px;
  text-align: center;
}
.faq-modal-cta p {
  font-size: 12px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}
.faq-modal-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--white);
  padding: 10px 24px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  transition: background 0.2s;
}
.faq-modal-cta-btn:hover {
  background: var(--dark);
  color: var(--white);
}

/* ===========================
   CONTACT STRIP
   =========================== */
.contact-strip {
  background: var(--dark);
  padding: 56px 0 52px;
  position: relative;
  overflow: hidden;
}
.contact-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 50% 100%, rgba(16,117,196,0.12) 0%, transparent 65%);
  pointer-events: none;
}
.contact-strip-label {
  text-align: center;
  margin-bottom: 44px;
}
.contact-strip-label .eyebrow {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.contact-strip-label h3 {
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
}

.contact-box {
  text-align: center;
  padding: 24px 20px;
  border-right: 1px solid rgba(255,255,255,0.06);
  transition: background 0.2s;
}
.contact-box:last-child { border-right: none; }
.contact-box:hover { background: rgba(255,255,255,0.03); }
.contact-box-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(16,117,196,0.12);
  border: 1px solid rgba(16,117,196,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.contact-box-icon i { color: var(--accent2); font-size: 18px; }
.contact-box .cb-label {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  display: block;
  margin-bottom: 8px;
}
.contact-box .cb-value {
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  display: block;
  text-decoration: none;
  line-height: 1.3;
}
.contact-box .cb-value:hover { color: var(--accent2); }
.contact-box .cb-sub {
  font-size: 11.5px;
  color: rgba(255,255,255,0.38);
  font-weight: 400;
  margin-top: 5px;
  display: block;
  line-height: 1.7;
}

/* ===========================
   FOOTER
   =========================== */
footer {
  background: #060e1c;
  padding: 26px 24px;
  text-align: center;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.18);
  border-top: 1px solid rgba(255,255,255,0.04);
}
footer a {
  color: rgba(255,255,255,0.28);
  text-decoration: none;
  margin: 0 14px;
  transition: color 0.2s;
}
footer a:hover { color: rgba(255,255,255,0.65); }

/* ===========================
   RESPONSIVE — Mobile First
   =========================== */
.contact-box { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.05); padding: 28px 20px; }
.contact-box:last-child { border-bottom: none; }
.hero-section { background-attachment: scroll; }

@media (min-width: 768px) {
  .main-nav { padding: 0 48px; }
  .contact-box { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.05); }
  .contact-box:last-child { border-bottom: none; }
}

@media (min-width: 992px) {
  .hero-section { background-attachment: fixed; min-height: 45vh; }
  .contact-box { border-right: 1px solid rgba(255,255,255,0.06); border-bottom: none; }
  .contact-box:last-child { border-right: none; }
}
