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

:root {
  --header-height: 72px; /* adjust to match your navbar */
  --chat-bottom-gap: 24px;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #040815;
  color: #f5f7ff;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

/* ==== LAYOUT ==== */
.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ==== HEADER & NAV ==== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #020414;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: #ffffff;
  font-weight: 600;
  font-size: 1.35rem;
}

.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: #ff7a1a;
  color: #020414;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* .nav {
  display: flex;
  align-items: center;
  gap: 24px;
  position: relative;
} */

.nav {
  display: flex;
  align-items: center;
  flex: 1;                 /* <-- key */
  justify-content: center; /* center links nicely */
  gap: 50px;               /* increase spacing between links */
  position: relative;
}


.nav-link {
  background: none;
  border: none;
  color: #c3c9f5;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  padding: 6px 0;
}

.nav-link:hover,
.nav-link:focus {
  color: #ffffff;
}

.nav-cta {
  background: #ff7a1a;
  color: #020414;
  padding: 10px 24px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-left: auto; /* <-- key */
  text-decoration: none;
  box-shadow: 0 0 20px rgba(255, 122, 26, 0.65);
}

.nav-cta:hover {
  filter: brightness(1.05);
}

/* ==== DROPDOWN ==== */
.nav-item.dropdown {
  position: relative;
}

.dropdown-toggle::after {
  content: "";
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: #040817;
  border-radius: 6px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  z-index: 1000;
}

.dropdown.open .dropdown-menu {
  display: block;
}

.dropdown-menu a {
  display: block;
  padding: 10px 18px;
  color: #ffffff;
  font-size: 0.92rem;
  text-decoration: none;
  white-space: nowrap;
}

.dropdown-menu a:hover,
.dropdown-menu a.active-link {
  background: #ff7a1a;
  color: #020414;
}

/* ==== HERO ==== */
.hero {
  background: radial-gradient(circle at top left, #1f4bff 0, #040815 55%, #020414 100%);
  padding: 60px 0 70px;
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 48px;
}

.hero-left,
.hero-right {
  flex: 1;
}

.hero-photo-card {
  background: #020414;
  border-radius: 24px;
  padding: 12px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.7);
}

.hero-photo {
  border-radius: 18px;
}

.hero-right h1 {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.hero-subtitle {
  color: #c3c9f5;
  margin-bottom: 20px;
}

.hero-cta {
  display: inline-block;
  background: #ff7a1a;
  color: #020414;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 10px;
  box-shadow: 0 0 22px rgba(255, 122, 26, 0.8);
}

.hero-cta:hover {
  filter: brightness(1.05);
}

.hero-note {
  font-size: 0.9rem;
  color: #9ea5ff;
}

/* ==== GENERIC SECTIONS ==== */
.section {
  padding: 56px 0;
}

.section.alt {
  background: #050b1c;
}

.section h2 {
  font-size: 1.6rem;
  margin-bottom: 16px;
}

/* ==== FEATURES STRIP ==== */
.features {
  background: #050b1c;
}

.features-strip {
  display: flex;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.feature-card {
  background: #040817;
  border-radius: 18px;
  padding: 18px 16px;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.5);
  flex: 1 1 260px;
}

.feature-icon {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.feature-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.9rem;
  color: #c3c9f5;
  margin-bottom: 10px;
}

.feature-link {
  font-size: 0.85rem;
  color: #ffb36a;
  text-decoration: none;
}

/* ==== DETAIL SECTIONS ==== */
.detail-section {
  border-top: 1px solid rgba(126, 135, 255, 0.14);
}

.detail-section.alt {
  background: #050b1c;
}

.detail-section ul {
  margin-top: 12px;
  padding-left: 18px;
}

.detail-section li {
  margin-bottom: 6px;
}

/* ==== SUB-HERO FOR INNER PAGES ==== */
.sub-hero {
  background: radial-gradient(circle at top left, #224fff 0, #040815 60%);
  padding: 48px 0;
  border-bottom: 1px solid rgba(126, 135, 255, 0.15);
}

.sub-hero-inner {
  display: flex;
  align-items: center;
}

.sub-hero h1 {
  font-size: 1.9rem;
  margin-bottom: 10px;
}

.sub-hero .hero-subtitle {
  max-width: 640px;
}

/* ==== CALL GRID (VIDEO / CHAT / VOICE) ==== */
.call-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.call-card {
  background: #040817;
  padding: 18px 16px;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.52);
}

.call-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.call-card p {
  font-size: 0.9rem;
  color: #c3c9f5;
  margin-bottom: 12px;
}

.call-icon {
  margin-right: 8px;
}

.call-btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  background: #ff7a1a;
  color: #020414;
}

.call-btn.secondary {
  background: transparent;
  border: 1px solid #ff7a1a;
  color: #ffb36a;
}

/* ==== CONTACT SECTION ==== */
.contact {
  background: #020414;
}

.contact-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.contact-inner p {
  color: #c3c9f5;
}

/* ==== FAQ ==== */
.faq-item + .faq-item {
  margin-top: 16px;
}

.faq-item h3 {
  font-size: 1rem;
  margin-bottom: 4px;
}

/* ==== FOOTER ==== */
.site-footer {
  margin-top: 40px;
  background: #020414;
  color: #c3c9f5;
  font-size: 0.9rem;
}

.footer-top {
  border-top: 1px solid rgba(126, 135, 255, 0.18);
  padding: 28px 0;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.footer-col h4 {
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 6px;
}

.footer-col a {
  color: #c3c9f5;
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-col a:hover {
  color: #ffffff;
}

.footer-text {
  font-size: 0.88rem;
  color: #a6aef0;
}

.social-links i {
  margin-right: 6px;
}

.footer-bottom {
  border-top: 1px solid rgba(126, 135, 255, 0.18);
  padding: 10px 0;
  text-align: center;
}

/* ==== VOICE WIDGET ==== */
.voice-widget {
  margin-top: 12px;
  background: #040817;
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
}

.voice-controls {
  display: flex;
  gap: 10px;
  margin-bottom: 8px;
}

.voice-button {
  padding: 8px 16px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  background: #ff7a1a;
  color: #020414;
}

.voice-button.secondary {
  background: transparent;
  border: 1px solid #ff7a1a;
  color: #ffb36a;
}

.voice-status {
  font-size: 0.85rem;
  color: #c3c9f5;
}

/* ==== RESPONSIVE ==== */
@media (max-width: 900px) {
  .hero-inner,
  .contact-inner {
    flex-direction: column;
  }

  .features-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .call-grid,
  .footer-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .features-strip,
  .call-grid,
  .footer-columns {
    grid-template-columns: 1fr;
  }

  .header-inner {
    flex-wrap: wrap;
    gap: 10px;
  }

  .nav {
    gap: 14px;
  }

  .hero-right h1 {
    font-size: 1.6rem;
  }
}

.contact-container {
  max-width: 700px;
}

.contact-card {
  background: #1f2c62;
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.contact-intro {
  margin-bottom: 2rem;
  color: #ababab;
}

.contact-form .form-group {
  margin-bottom: 1.5rem;
}

.contact-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

.form-status {
  margin-top: 1rem;
  font-weight: 600;
}

.faq-item {
  background: #040817;
  border: 1px solid rgba(126, 135, 255, 0.14);
  border-radius: 14px;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

.faq-item + .faq-item {
  margin-top: 14px;
}

.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 16px 16px;
  background: transparent;
  border: 0;
  color: #ffffff;
  cursor: pointer;
  text-align: left;
  font-size: 1rem;
  font-weight: 650;
}

.faq-q:hover,
.faq-q:focus {
  outline: none;
  background: rgba(255, 122, 26, 0.08);
}

.faq-icon {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 122, 26, 0.35);
  color: #ffb36a;
  flex: 0 0 auto;
  transition: transform 220ms ease;
}

.faq-q[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg); 
}

.faq-a {
  padding: 0 16px 16px;
  color: #c3c9f5;
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-a[hidden] {
  display: block;       
  max-height: 0;
  padding-bottom: 0;
  overflow: hidden;
  opacity: 0;
}

.faq-a.is-open {
  max-height: 220px;     
  opacity: 1;
  transition: max-height 260ms ease, opacity 220ms ease;
}
.bullet-list a:link,
.bullet-list a:visited {
  color: #ffb36a;
  text-decoration: underline;
}

.bullet-list a:hover,
.bullet-list a:focus {
  color: #ffffff;
}
/* Bullet list formatting (keeps bullets inside the content block) */
.bullet-list{
  margin: 12px 0 0;
  padding-left: 1.25rem;      /* THIS pulls bullets inside */
  list-style: disc;
  list-style-position: outside;
}

.bullet-list li{
  margin: 8px 0;
}

/* =========================
   Mobile Navbar Fix
   ========================= */

@media (max-width: 900px) {
  .header-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .brand {
    justify-content: center;
    font-size: 1.15rem;
  }

  .nav {
    flex: none;
    justify-content: center;
    flex-wrap: wrap;        /* key fix */
    gap: 14px;              /* reduce spacing */
    padding-bottom: 8px;
  }

  .nav-cta {
    margin-left: 0;
    width: 100%;            /* button becomes full width */
    text-align: center;
    display: block;
  }
}

@media (max-width: 640px) {
  .nav {
    justify-content: flex-start;
    gap: 10px;
  }

  .nav-link {
    font-size: 0.9rem;
  }

  /* Dropdown menu should not fall off-screen on mobile */
  .dropdown-menu {
    left: 0;
    right: 0;
    min-width: 100%;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 36px 0 44px;
  }

  .hero-right h1 {
    font-size: 1.55rem;
    line-height: 1.2;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

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

/* =========================
   Mobile Header / Top Bar Fix
   ========================= */

@media (max-width: 768px) {
  .site-header {
    padding-bottom: 8px;
  }

  .header-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  /* Center the logo cleanly */
  .brand {
    justify-content: center;
    font-size: 1.1rem;
  }

  /* Navigation wraps and tightens */
  .nav {
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 4px 0;
  }

  .nav-link {
    font-size: 0.85rem;
  }

  /* PRIMARY CTA — full width */
  .nav-cta {
    width: 100%;
    margin-left: 0;
    text-align: center;
    padding: 12px 0;
    font-size: 0.95rem;
  }

  /* HIDE secondary CTA on mobile */
  .nav-cta + .nav-cta {
    display: none;
  }
}
