@import url('https://fonts.googleapis.com/css2?family=Geist:wght@100..900&display=swap');

:root {
  /* Color styles from spec */
  --text--white: rgba(255, 255, 255, 1);
  --background: rgba(255, 255, 255, 1);
  --background--light: rgba(252, 252, 253, 1);
  --background--light-2: rgba(249, 249, 251, 1);
  --background--secondary: rgba(240, 240, 245, 1);
  --background--tertiaty: rgba(224, 224, 235, 1);
  --background--overlay--extra--light: rgba(214, 216, 220, 1);
  --background--overlay--light: rgba(227, 229, 232, 1);
  --background--overlay--dark: rgba(145, 151, 161, 1);
  --text--highest--emphasis: rgba(5, 5, 6, 1);
  --text--high--emphasis: rgba(70, 75, 83, 1);
  --text--med--emphasis: rgba(118, 125, 137, 1);
  --text--low--emphasis: rgba(172, 177, 185, 1);
  --primary--0: rgba(0, 3, 10, 1);
  --primary--10: rgba(1, 16, 50, 1);
  --primary--20: rgba(2, 34, 111, 1);
  --primary--30----secondary: rgba(2, 45, 146, 1);
  --primary--40----primary: rgba(3, 69, 221, 1);
  --primary--50: rgba(4, 78, 251, 1);
  --primary--60: rgba(54, 113, 252, 1);
  --primary--70: rgba(104, 149, 253, 1);
  --primary--80: rgba(155, 184, 253, 1);
  --primary--90: rgba(205, 220, 254, 1);
  --primary--93: rgba(220, 230, 254, 1);
  --primary--95: rgba(230, 237, 255, 1);
  --primary--97: rgba(240, 244, 255, 1);
  --primary--99: rgba(250, 251, 255, 1);

  /* Text-size styles from spec */
  --heading--400---h1: 48px;
  --heading--400---h2: 40px;
  --heading--400---h3: 32px;
  --heading--400---h4: 28px;
  --heading--400---h5: 24px;
  --heading--400---h6: 20px;
  --heading--500---h1: 48px;
  --heading--500---h2: 40px;
  --heading--500---h3: 32px;
  --heading--500---h4: 28px;
  --heading--500---h5: 24px;
  --heading--500---h6: 20px;
  --heading--600---h1: 48px;
  --heading--600---h2: 40px;
  --heading--600---h3: 32px;
  --heading--600---h4: 28px;
  --heading--600---h5: 24px;
  --heading--600---h6: 20px;
  --heading--700---h1: 48px;
  --heading--700---h2: 40px;
  --heading--700---h3: 32px;
  --heading--700---h4: 28px;
  --heading--700---h5: 24px;
  --heading--700---h6: 20px;

  --body--400---p1: 24px;
  --body--400---p2: 20px;
  --body--400---p3: 16px;
  --body--400---p4: 14px;
  --body--400---p5: 12px;
  --body--500---p1: 24px;
  --body--500---p2: 20px;
  --body--500---p3: 16px;
  --body--500---p4: 14px;
  --body--500---p5: 12px;
  --body--600---p1: 24px;
  --body--600---p2: 20px;
  --body--600---p3: 16px;
  --body--600---p4: 14px;
  --body--600---p5: 12px;
  --body--700---p1: 24px;
  --body--700---p2: 20px;
  --body--700---p3: 16px;
  --body--700---p4: 14px;
  --body--700---p5: 12px;

  /* Custom Transitions & Shadow variables for premium feel */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 2px 8px rgba(0, 3, 10, 0.04);
  --shadow-md: 0 8px 24px rgba(0, 3, 10, 0.08);
  --shadow-lg: 0 16px 40px rgba(0, 3, 10, 0.12);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

/* Global Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 64px;
}

body {
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--background);
  color: var(--text--high--emphasis);
  font-size: var(--body--400---p3);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

button, input, select, textarea {
  font-family: inherit;
  outline: none;
}

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

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
  position: relative;
}

.section-bg-light {
  background-color: var(--background--light);
}

.section-bg-light-2 {
  background-color: var(--background--light-2);
}

.section-bg-secondary {
  background-color: var(--background--secondary);
}

/* Badge style */
.badge {
  display: inline-flex;
  align-items: center;
  font-size: 20px;
  font-weight: 500;
  color: var(--text--highest--emphasis);
  background: transparent;
  padding: 0;
  border-radius: 0;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
  text-transform: none;
}

.badge-text {
  color: var(--primary--40----primary);
  margin: 0 6px;
}

/* Header & Nav */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: transparent;
  padding: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
  display: flex;
  justify-content: center;
  transform: translateY(0);
}

.header.header-hidden {
  transform: translateY(-110%);
}

.header.scrolled {
  padding: 0;
}

.nav-container {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  width: 82%;
  max-width: 1080px;
  background-color: var(--background);
  border-bottom-left-radius: 24px;
  border-bottom-right-radius: 24px;
  box-shadow: 0 4px 30px rgba(0, 3, 10, 0.08);
  padding: 10px 20px;
  transition: var(--transition-smooth);
  position: relative;
}

.nav-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: -20px;
  width: 20px;
  height: 20px;
  background-color: transparent;
  border-top-right-radius: 20px;
  box-shadow: 10px -10px 0 0 #ffffff;
  pointer-events: none;
}

.nav-container::after {
  content: '';
  position: absolute;
  top: 0;
  right: -20px;
  width: 20px;
  height: 20px;
  background-color: transparent;
  border-top-left-radius: 20px;
  box-shadow: -10px -10px 0 0 #ffffff;
  pointer-events: none;
}

.header.scrolled .nav-container {
  padding: 8px 12px;
  box-shadow: 0 4px 30px rgba(0, 3, 10, 0.12);
}

.logo-wrapper {
  display: flex;
  align-items: center;
}

.logo-wrapper img {
  height: 38px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  list-style: none;
}

.nav-link {
  font-size: var(--body--500---p3);
  font-weight: 500;
  color: var(--text--high--emphasis);
  padding: 8px 0;
  transition: var(--transition-smooth);
}

.nav-link:hover {
  color: var(--primary--40----primary);
}

.nav-link.active {
  color: var(--primary--40----primary);
  font-weight: 600;
}

/* Primary Button */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: var(--body--600---p4);
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition-smooth);
  gap: 8px;
}

.btn-primary {
  display: inline-flex;
  padding: 12px 12px 12px 16px;
  justify-content: center;
  align-items: center;
  gap: 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.40);
  background: #1a1a1a;
  box-shadow: 0 0 8px 1px rgba(255, 255, 255, 0.08) inset, 0 -2px 4px 0 rgba(255, 255, 255, 0.08) inset;
  color: #ffffff;
  text-decoration: none;
}

.btn-primary:hover {
  background-color: #333333;
  transform: translateY(-1px);
}

/* Nav CTA Button — Black per design system */
.nav-cta-btn {
  padding: 10px 12px 10px 16px;
  font-size: 14px;
  font-weight: 600;
  gap: 10px;
}

/* Desktop standalone CTA (3rd grid column) */
.nav-cta-desktop {
  display: inline-flex;
}

/* Hide mobile-drawer CTA on desktop */
.nav-menu-btn {
  display: none;
}

.btn-secondary {
  background-color: var(--text--white);
  color: var(--text--highest--emphasis);
  border-color: var(--background--overlay--light);
}

.btn-secondary:hover {
  background-color: var(--background--light-2);
  border-color: var(--background--overlay--dark);
  transform: translateY(-1px);
}

.btn-outline-white {
  background-color: transparent;
  color: var(--text--white);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline-white:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--text--white);
  transform: translateY(-1px);
}

.btn-white {
  background-color: var(--text--white);
  color: var(--text--highest--emphasis);
}

.btn-white:hover {
  background-color: var(--background--light-2);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn-hero-secondary {
  background-color: rgba(255, 255, 255, 0.12);
  color: var(--text--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-hero-secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text--highest--emphasis);
  margin: 5px 0;
  transition: var(--transition-smooth);
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px 0;
  background-color: var(--primary--0);
  background-image: linear-gradient(to right, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.2) 45%, rgba(0, 0, 0, 0) 70%), url('assets/hero_bg.png');
  background-size: cover;
  background-position: center;
  color: var(--text--white);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.hero-content {
  max-width: 720px;
}

.hero-title {
  font-size: var(--heading--700---h1);
  font-weight: 400;
  line-height: 1.25;
  margin-bottom: 24px;
  color: var(--text--white);
  letter-spacing: -1px;
}

.hero-title strong {
  font-weight: 700;
}

.hero-description {
  font-size: var(--body--400---p3);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 40px;
  max-width: 600px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* About Us Section */
.about-section {
  text-align: center;
  background-color: var(--background);
  padding-bottom: 60px;
}

.about-content {
  max-width: 1000px;
  margin: 0 auto;
}

.about-title {
  font-size: 40px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--text--highest--emphasis);
  margin-bottom: 60px;
  letter-spacing: -0.5px;
}

.about-title .muted {
  color: var(--text--med--emphasis);
}

.about-title strong {
  font-weight: 700;
  color: var(--text--highest--emphasis);
}

/* Horizontal scroller marquee ticker */
.ticker-container {
  width: 100%;
  background-color: var(--background);
  box-shadow: 0 4px 20px rgba(0, 3, 10, 0.05);
  border-top: 1px solid var(--background--secondary);
  border-bottom: 1px solid var(--background--secondary);
  padding: 24px 0;
  overflow: hidden;
  margin-top: 60px;
}

.ticker-wrap {
  width: 100%;
  overflow: hidden;
}

.ticker-move {
  display: flex;
  width: max-content;
  animation: marquee-scroll 28s linear infinite;
}

.ticker-group {
  display: flex;
  align-items: center;
  gap: 60px;
  padding-right: 60px;
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.ticker-item span {
  font-size: 24px;
  font-weight: 500;
  color: var(--text--highest--emphasis);
  white-space: nowrap;
}

.checkmark-svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

@keyframes marquee-scroll {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

/* Services Section */
.services-section {
  background-color: var(--primary--97);
}

.section-header {
  text-align: center;
  max-width: 1000px;
  margin: 0 auto 64px auto;
}

.section-title {
  font-size: 40px;
  font-weight: 500;
  color: var(--text--highest--emphasis);
  line-height: 1.3;
  letter-spacing: -0.5px;
}

.services-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1fr;
  gap: 24px;
  align-items: stretch;
  margin-bottom: 32px;
}

.services-column {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.service-card {
  background-color: var(--background);
  border: 1px solid rgba(0, 3, 10, 0.06);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0, 3, 10, 0.02);
  transition: var(--transition-smooth);
  position: relative;
  text-align: left;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(3, 69, 221, 0.08);
  border-color: rgba(3, 69, 221, 0.15);
}

.service-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 20px;
  background: none !important;
  border-radius: 0;
  transition: var(--transition-smooth);
}

.service-icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.service-card:hover .service-icon {
  transform: scale(1.06);
}

.service-card-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text--highest--emphasis);
  margin-bottom: 12px;
  line-height: 1.4;
}

.service-card-desc {
  font-size: 14px;
  color: var(--text--med--emphasis);
  line-height: 1.6;
}

.services-center-img {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.services-center-img img {
  width: 100%;
  height: auto;
  object-fit: contain;
  margin-bottom: 24px;
}

.services-cta {
  text-align: center;
}

/* How It Works Section */
.how-it-works-section {
  background-color: var(--background);
  border-top: 1px solid var(--background--secondary);
  border-bottom: 1px solid var(--background--secondary);
}

.how-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: flex-start;
}

.how-sticky {
  position: sticky;
  top: 120px;
}

.how-sticky .section-title {
  margin-bottom: 24px;
}

.how-sticky p {
  color: var(--text--med--emphasis);
  margin-bottom: 32px;
  font-size: var(--body--400---p3);
}

.process-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.process-item {
  display: flex;
  gap: 24px;
  padding: 32px 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--background--secondary);
  border-radius: 0;
  box-shadow: none;
  transition: var(--transition-smooth);
}

.process-item:last-child {
  border-bottom: none;
}

.process-num {
  font-size: 36px;
  font-weight: 400;
  color: var(--text--low--emphasis);
  line-height: 1.1;
  width: 40px;
  flex-shrink: 0;
}

.process-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.process-title {
  font-size: var(--heading--600---h5);
  font-weight: 600;
  color: var(--text--highest--emphasis);
}

.process-desc {
  font-size: var(--body--400---p3);
  color: var(--text--med--emphasis);
  line-height: 1.6;
}

/* Why Choose Us Section */
.why-section {
  background-color: var(--primary--97);
}

.why-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: stretch;
}

.why-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition-smooth);
  height: 100%;
  display: flex;
}

.why-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.why-image-wrapper:hover {
  transform: scale(1.01);
}

.why-image-wrapper:hover img {
  transform: scale(1.03);
}

.why-intro {
  font-size: var(--body--400---p3);
  color: var(--text--med--emphasis);
  margin-bottom: 32px;
  line-height: 1.7;
}

.why-benefits-card {
  background-color: var(--background);
  border: 1px solid var(--background--secondary);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  margin-top: 24px;
}

.benefits-title {
  font-size: var(--heading--600---h5);
  font-weight: 700;
  color: var(--text--highest--emphasis);
  margin-bottom: 24px;
}

.benefits-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.benefit-item span {
  font-size: var(--body--500---p4);
  font-weight: 500;
  color: var(--text--high--emphasis);
}

/* FAQ Accordion Section */
/* FAQ Accordion Section */
.faq-section {
  background-color: var(--background);
}

.faq-list {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background-color: var(--primary--97);
  border: 1px solid transparent;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: none;
  transition: var(--transition-smooth);
}

.faq-item:hover {
  border-color: var(--primary--90);
}

.faq-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 32px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  gap: 16px;
  transition: var(--transition-smooth);
}

.faq-question {
  font-size: 18px;
  font-weight: 600;
  color: var(--text--highest--emphasis);
}

.faq-icon-wrapper {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--background);
  color: var(--text--highest--emphasis);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  flex-shrink: 0;
}

.faq-item.active {
  background-color: var(--background);
  border-color: var(--background--secondary);
  box-shadow: 0 10px 30px rgba(0, 3, 10, 0.04);
}

.faq-item.active .faq-icon-wrapper {
  background-color: var(--primary--97);
  color: var(--text--highest--emphasis);
  transform: rotate(45deg);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-body {
  padding: 0 32px 24px 32px;
  color: var(--text--med--emphasis);
  font-size: var(--body--400---p3);
  line-height: 1.7;
}

/* Contact Section */
/* Contact Us Section */
.contact-section {
  background-color: var(--background--light-2);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: stretch;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.contact-header-block p {
  color: var(--text--med--emphasis);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 0;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 40px;
}

.contact-detail-item {
  display: flex;
  gap: 16px;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
}

.contact-detail-item:hover .contact-icon-box {
  box-shadow: 0 4px 16px rgba(3, 69, 221, 0.18);
  transform: scale(1.07);
}

.contact-icon-box {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background-color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.contact-icon-img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.contact-text-box p {
  font-size: 15px;
  font-weight: 400;
  color: var(--text--highest--emphasis);
  margin-bottom: 0;
}

/* Form Container */
.contact-form-container {
  background-color: var(--background);
  border: 1px solid var(--background--secondary);
  padding: 32px;
  border-radius: 24px;
  box-shadow: 0 10px 40px rgba(0, 3, 10, 0.04);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 12px;
}

.form-group {
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text--highest--emphasis);
}

.form-control {
  width: 100%;
  padding: 10px 16px;
  background-color: var(--background);
  border: 1px solid var(--background--tertiaty);
  border-radius: 10px;
  font-size: 15px;
  color: var(--text--highest--emphasis);
  transition: var(--transition-smooth);
}

.form-control:focus {
  border-color: var(--primary--50);
  box-shadow: 0 0 0 3px var(--primary--95);
}

/* Inside-Input Mobile Pill & Dropdown */
.mobile-input-capsule {
  position: relative;
  display: flex;
  align-items: center;
  background-color: var(--background);
  border: 1px solid var(--background--tertiaty);
  border-radius: 10px;
  padding: 4px 6px;
  transition: var(--transition-smooth);
}

.mobile-input-capsule:focus-within,
.mobile-input-capsule.focused {
  border-color: var(--primary--50);
  box-shadow: 0 0 0 3px var(--primary--95);
}

.country-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: #f0f2f6;
  border: none;
  border-radius: 7px;
  padding: 6px 10px;
  cursor: pointer;
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.country-pill-btn:hover {
  background-color: #e4e7ee;
}

.pill-code {
  font-size: 14px;
  font-weight: 500;
  color: var(--text--highest--emphasis);
}

.pill-arrow {
  transition: transform 0.2s ease;
  color: var(--text--high--emphasis);
}

.country-pill-btn.open .pill-arrow {
  transform: rotate(180deg);
}

.phone-num-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  padding: 6px 10px;
  font-size: 15px;
  color: var(--text--highest--emphasis);
  width: 100%;
}

/* Floating Search Dropdown Modal */
.country-dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  width: 320px;
  max-width: 90vw;
  background: var(--background);
  border: 1px solid var(--background--secondary);
  border-radius: 16px;
  box-shadow: 0 12px 36px rgba(0, 3, 10, 0.14);
  padding: 12px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s ease;
}

.country-dropdown-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.country-search-wrapper {
  position: relative;
  margin-bottom: 10px;
}

.country-search-wrapper .search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text--med--emphasis);
}

.country-search-input {
  width: 100%;
  padding: 8px 12px 8px 36px;
  background-color: #f5f6fa;
  border: 1px solid #e0e3ec;
  border-radius: 20px;
  font-size: 14px;
  outline: none;
  color: var(--text--highest--emphasis);
  transition: border-color 0.2s;
}

.country-search-input:focus {
  border-color: var(--primary--50);
}

.country-list-container {
  max-height: 220px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.country-list-container::-webkit-scrollbar {
  width: 5px;
}

.country-list-container::-webkit-scrollbar-thumb {
  background: #d0d4e0;
  border-radius: 4px;
}

.country-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s;
  font-size: 14px;
  color: var(--text--highest--emphasis);
}

.country-item:hover {
  background-color: #f0f3fa;
}

.country-item-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.country-flag-icon {
  font-size: 18px;
  line-height: 1;
}

.country-item-name {
  font-size: 14px;
}

.country-item.selected .country-item-name {
  color: #e85d04;
  font-weight: 500;
}

.country-radio {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.15s;
}

.country-item.selected .country-radio {
  border-color: #e85d04;
  background-color: #e85d04;
}

.country-item.selected .country-radio::after {
  content: "";
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
}

/* All Textbox UI Input States: Empty, Filled, Selected/Focus, Valid, Error, Disabled */
.form-control.state-empty,
.mobile-input-capsule.state-empty {
  background-color: var(--background);
  border: 1px solid var(--background--tertiaty);
}

.form-control.state-filled,
.mobile-input-capsule.state-filled {
  background-color: var(--background);
  border: 1px solid #8c93a0;
  color: var(--text--highest--emphasis);
}

.form-control:focus,
.form-control.state-selected,
.mobile-input-capsule:focus-within,
.mobile-input-capsule.state-selected {
  border-color: var(--primary--40----primary) !important;
  box-shadow: 0 0 0 3px rgba(3, 69, 221, 0.15) !important;
  background-color: var(--background) !important;
}

.form-control.state-valid,
.mobile-input-capsule.state-valid,
.form-group.is-valid .form-control,
.mobile-input-capsule.is-valid {
  border-color: #10b981 !important;
  background-color: rgba(16, 185, 129, 0.02) !important;
}

.form-control.state-error,
.form-control.has-error,
.mobile-input-capsule.state-error,
.mobile-input-capsule.has-error,
.form-group.has-error .form-control {
  border-color: #dc2626 !important;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15) !important;
  background-color: rgba(254, 242, 242, 1) !important;
}

.form-control:disabled,
.form-control.state-disabled,
.mobile-input-capsule.state-disabled,
.mobile-input-capsule.disabled {
  background-color: #f3f4f6 !important;
  border-color: #e5e7eb !important;
  color: #9ca3af !important;
  cursor: not-allowed !important;
  opacity: 0.7;
}

.error-msg {
  display: none;
  color: #dc2626;
  font-size: 13px;
  font-weight: 500;
  margin-top: 6px;
}

.error-msg.visible,
.form-group.has-error .error-msg,
.has-error .error-msg,
.form-control.has-error ~ .error-msg,
.form-control.state-error ~ .error-msg,
.mobile-input-capsule.has-error ~ .error-msg,
.mobile-input-capsule.state-error ~ .error-msg {
  display: block !important;
  color: #dc2626 !important;
}

textarea.form-control {
  min-height: 80px;
  resize: vertical;
}

.form-submit-btn {
  width: max-content;
  border-radius: 12px;
}

/* Footer styling */
.footer {
  background-color: var(--background);
  color: var(--text--highest--emphasis);
  padding: 60px 0 40px 0;
  border-top: 1px solid rgba(0, 3, 10, 0.06);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
  gap: 32px;
}

.footer-info {
  max-width: 460px;
  text-align: left;
}

.footer-logo {
  height: 40px;
  width: auto;
  margin-bottom: 16px;
}

.footer-info p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 0;
  color: var(--text--med--emphasis);
}

.footer-links-row {
  list-style: none;
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
}

.footer-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text--med--emphasis);
  transition: var(--transition-smooth);
}

.footer-link:hover {
  color: var(--primary--40----primary);
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(0, 3, 10, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom p {
  font-size: 13px;
  color: #8c93a0;
  margin-bottom: 0;
}

.footer-legal-links {
  display: flex;
  gap: 24px;
}

.footer-legal-link {
  font-size: 13px;
  color: #8c93a0;
  transition: var(--transition-smooth);
}

.footer-legal-link:hover {
  color: var(--primary--40----primary);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

.fade-in {
  animation: fadeIn 0.8s ease forwards;
}

.slide-up {
  animation: slideUp 0.8s ease forwards;
}

/* =============================================
   RESPONSIVE STYLES
   Breakpoints: 1280, 1024, 768, 480, 375
   ============================================= */

/* --- Large Tablets / Small Laptops (≤ 1280px) --- */
@media (max-width: 1280px) {
  .container {
    padding: 0 32px;
  }

  .nav-container {
    width: 90%;
    padding: 0 28px;
  }

  .hero-grid {
    grid-template-columns: 1fr 0.7fr;
    gap: 32px;
  }

  .how-grid {
    gap: 48px;
  }

  .why-grid {
    gap: 48px;
  }

  .services-layout {
    grid-template-columns: 1fr 0.9fr 1fr;
    gap: 16px;
  }
}

/* --- Tablets / Menu Collapse (≤ 1024px) --- */
@media (max-width: 1024px) {
  :root {
    --heading--700---h1: 38px;
    --heading--700---h2: 30px;
    --heading--700---h3: 26px;
    --heading--600---h1: 38px;
    --heading--600---h2: 30px;
    --heading--600---h3: 26px;
    --heading--500---h1: 38px;
    --heading--500---h2: 30px;
    --heading--500---h3: 26px;
    --heading--400---h1: 38px;
    --heading--400---h2: 30px;
    --heading--400---h3: 26px;

    --body--400---p1: 20px;
    --body--400---p2: 17px;
    --body--400---p3: 15px;
    --body--500---p1: 20px;
    --body--500---p2: 17px;
    --body--500---p3: 15px;
    --body--600---p1: 20px;
    --body--600---p2: 17px;
    --body--600---p3: 15px;
  }

  .container {
    padding: 0 24px;
  }

  .section {
    padding: 72px 0;
  }

  /* Hero */
  .hero-section {
    padding: 100px 0 64px 0;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .hero-content {
    margin: 0 auto;
  }
  .hero-btns {
    justify-content: center;
  }
  .hero-description {
    max-width: 100%;
  }

  /* About */
  .about-title {
    font-size: 30px;
    margin-bottom: 40px;
  }
  .about-features {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  /* Ticker */
  .ticker-item span {
    font-size: 18px;
  }

  /* Services */
  .services-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .services-center-img {
    order: -1;
    grid-row: auto;
    max-width: 340px;
  }
  .services-column {
    gap: 16px;
  }
  .section-header {
    margin-bottom: 40px;
  }

  /* How It Works */
  .how-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .how-sticky {
    position: static;
    text-align: center;
  }
  .how-sticky .btn {
    margin: 0 auto;
  }

  /* Why Choose Us */
  .why-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .why-content {
    order: -1;
  }
  .why-image-wrapper {
    max-height: 400px;
  }
  .why-benefits-card {
    padding: 24px;
  }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* Footer */
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
  }
  .footer-links-row {
    flex-wrap: wrap;
    gap: 12px 20px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  /* Nav Menu Triggered at 1024px */
  .mobile-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 64px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 64px);
    background-color: var(--background);
    flex-direction: column;
    align-items: center;
    padding-top: 48px;
    transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border-top: 1px solid var(--background--secondary);
    box-shadow: var(--shadow-md);
    gap: 24px;
    overflow-y: auto;
    z-index: 999;
  }

  .nav-menu.open {
    left: 0;
  }

  .header.scrolled .nav-menu {
    top: 56px;
    height: calc(100vh - 56px);
  }

  /* Hide desktop CTA, show mobile drawer CTA */
  .nav-cta-desktop {
    display: none !important;
  }

  .nav-menu-btn {
    display: flex;
    justify-content: center;
    width: 80%;
    max-width: 320px;
    margin-top: 16px;
  }

  .nav-menu-btn .btn-primary {
    width: 100%;
    justify-content: center;
  }

  .nav-link {
    font-size: 18px;
  }

  .nav-container {
    display: flex !important;
    justify-content: space-between !important;
    width: 100% !important;
    border-radius: 0 !important;
    padding: 0 24px !important;
  }

  .nav-container::before,
  .nav-container::after {
    display: none !important;
  }
}

/* --- Small Tablets / Large Phones (≤ 768px) --- */
@media (max-width: 768px) {
  :root {
    --heading--700---h1: 28px;
    --heading--700---h2: 24px;
    --heading--700---h3: 20px;
    --heading--600---h1: 28px;
    --heading--600---h2: 24px;
    --heading--600---h3: 20px;
    --heading--500---h1: 28px;
    --heading--500---h2: 24px;
    --heading--500---h3: 20px;
    --heading--400---h1: 28px;
    --heading--400---h2: 24px;
    --heading--400---h3: 20px;

    --body--400---p1: 17px;
    --body--400---p2: 15px;
    --body--400---p3: 14px;
    --body--400---p4: 13px;
    --body--500---p1: 17px;
    --body--500---p2: 15px;
    --body--500---p3: 14px;
    --body--500---p4: 13px;
    --body--600---p1: 17px;
    --body--600---p2: 15px;
    --body--600---p3: 14px;
    --body--600---p4: 13px;
  }

  .container {
    padding: 0 20px;
  }

  .section {
    padding: 56px 0;
  }

  /* Hero */
  .hero-section {
    padding: 120px 0 80px 0;
    min-height: 70vh;
  }
  .hero-title {
    font-size: 36px;
    letter-spacing: -0.5px;
  }
  .hero-description {
    font-size: 15px;
    margin-bottom: 28px;
  }
  .hero-btns {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .hero-btns .btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  /* About */
  .about-section {
    padding-bottom: 40px;
  }
  .about-title {
    font-size: 28px;
    margin-bottom: 32px;
    line-height: 1.5;
  }
  .about-features {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* Ticker */
  .ticker-container {
    padding: 16px 0;
    margin-top: 40px;
  }
  .ticker-item span {
    font-size: 15px;
  }
  .ticker-group {
    gap: 40px;
    padding-right: 40px;
  }

  /* Services */
  .section-title {
    font-size: 32px;
  }
  .section-header {
    margin-bottom: 32px;
  }
  .services-center-img {
    max-width: 320px;
  }
  .services-center-img img {
    max-width: 280px;
  }
  .service-card {
    padding: 20px;
  }
  .service-card-title {
    font-size: 16px;
  }

  /* How It Works */
  .process-num {
    font-size: 28px;
    width: 32px;
  }
  .process-item {
    padding: 24px 0;
    gap: 16px;
  }

  /* Why */
  .why-image-wrapper {
    max-height: 300px;
  }
  .why-benefits-card {
    padding: 20px;
  }
  .benefits-title {
    font-size: 16px;
    margin-bottom: 16px;
  }

  /* FAQ */
  .faq-header {
    padding: 20px 24px;
  }
  .faq-question {
    font-size: 15px;
  }
  .faq-body {
    padding: 0 24px 20px 24px;
    font-size: 14px;
  }

  /* Contact */
  .contact-form-container {
    padding: 24px;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  /* Footer */
  .footer {
    padding: 48px 0 32px 0;
  }
  .footer-info {
    max-width: 100%;
  }
  .footer-links-row {
    gap: 10px 16px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .footer-legal-links {
    gap: 16px;
  }
}

/* --- Mobile Phones (≤ 480px) --- */
@media (max-width: 480px) {
  :root {
    --heading--700---h1: 24px;
    --heading--700---h2: 20px;
    --heading--700---h3: 18px;
    --heading--600---h1: 24px;
    --heading--600---h2: 20px;
    --heading--600---h3: 18px;
    --heading--500---h1: 24px;
    --heading--500---h2: 20px;
    --heading--500---h3: 18px;
    --heading--400---h1: 24px;
    --heading--400---h2: 20px;
    --heading--400---h3: 18px;
  }

  .container {
    padding: 0 16px;
  }

  .section {
    padding: 48px 0;
  }

  /* Nav */
  .nav-container {
    padding: 0 16px !important;
  }
  .logo-wrapper img {
    height: 30px;
  }

  /* Hero */
  .hero-section {
    padding: 100px 0 80px 0;
    min-height: 75vh;
  }
  .hero-title {
    font-size: 30px;
    line-height: 1.3;
  }
  .hero-description {
    font-size: 14px;
    margin-bottom: 24px;
  }
  .badge {
    font-size: 13px;
    margin-bottom: 16px;
  }

  /* About */
  .about-title {
    font-size: 24px;
    margin-bottom: 24px;
  }

  /* Ticker */
  .ticker-item span {
    font-size: 13px;
  }
  .ticker-group {
    gap: 28px;
    padding-right: 28px;
  }
  .checkmark-svg {
    width: 16px;
    height: 16px;
  }

  /* Services */
  .section-title {
    font-size: 28px;
  }
  .services-center-img {
    max-width: 320px;
  }
  .services-center-img img {
    max-width: 220px;
  }
  .service-icon img {
    width: 32px;
    height: 32px;
  }
  .service-icon {
    width: 32px;
    height: 32px;
    margin-bottom: 14px;
  }

  /* How it works */
  .process-num {
    font-size: 24px;
  }

  /* Contact */
  .contact-form-container {
    padding: 20px 16px;
  }
  .contact-icon-box {
    width: 42px;
    height: 42px;
    min-width: 42px;
  }
  .contact-icon-img {
    width: 18px;
    height: 18px;
  }
  .contact-text-box p {
    font-size: 14px;
  }

  /* FAQs */
  .faq-header {
    padding: 16px 20px;
  }
  .faq-body {
    padding: 0 20px 16px 20px;
  }
  .faq-list {
    gap: 12px;
  }

  /* Footer */
  .footer {
    padding: 40px 0 28px 0;
  }
  .footer-logo {
    height: 32px;
  }
  .footer-info p {
    font-size: 13px;
  }
  .footer-link {
    font-size: 13px;
  }
  .footer-legal-link,
  .footer-bottom p {
    font-size: 12px;
  }
  .footer-legal-links {
    flex-wrap: wrap;
    gap: 8px 12px;
  }
}

/* --- Small Phones (≤ 375px) --- */
@media (max-width: 375px) {
  :root {
    --heading--700---h1: 22px;
    --heading--700---h2: 19px;
    --heading--600---h1: 22px;
    --heading--600---h2: 19px;
    --heading--500---h1: 22px;
    --heading--500---h2: 19px;
    --heading--400---h1: 22px;
    --heading--400---h2: 19px;
  }

  .container {
    padding: 0 14px;
  }

  .hero-title {
    font-size: 28px;
  }
  .about-title {
    font-size: 22px;
  }
  .section-title {
    font-size: 26px;
  }

  .services-center-img {
    max-width: 300px;
  }
  .services-center-img img {
    max-width: 190px;
  }

  .contact-form-container {
    padding: 16px 12px;
  }

  .btn {
    font-size: 13px;
    padding: 10px 18px;
  }
}

/* Mobile Toggle Animation */
.mobile-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.mobile-toggle.open span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* ==========================================================================
   Legal Pages CSS (Terms & Conditions, Privacy Policy)
   ========================================================================== */

.legal-page {
  background-color: var(--background--light);
  color: var(--text--high--emphasis);
}

/* Legal Header Banner */
.legal-header-banner {
  padding: 140px 0 60px;
  background: linear-gradient(135deg, var(--primary--97) 0%, var(--primary--99) 100%);
  border-bottom: 1px solid var(--background--overlay--extra--light);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.legal-header-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(4, 78, 251, 0.03) 0%, transparent 70%);
  pointer-events: none;
}

.legal-banner-badge {
  display: inline-block;
  padding: 6px 14px;
  background-color: var(--primary--93);
  color: var(--primary--40----primary);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 30px;
  margin-bottom: 16px;
}

.legal-title {
  font-size: var(--heading--500---h1);
  font-weight: 800;
  color: var(--text--highest--emphasis);
  margin-bottom: 16px;
  line-height: 1.2;
}

.legal-meta {
  font-size: 14px;
  color: var(--text--med--emphasis);
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.legal-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Legal Content Grid Layout */
.legal-content-section {
  padding: 60px 0 100px;
}

.legal-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
}

/* Sticky Navigation Sidebar */
.legal-sidebar {
  position: sticky;
  top: 100px;
  background-color: var(--background);
  border: 1px solid var(--background--overlay--extra--light);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.01);
  max-height: calc(100vh - 140px);
  overflow-y: auto;
}

.legal-sidebar-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text--highest--emphasis);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--background--secondary);
}

.legal-nav-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.legal-nav-item a {
  display: block;
  padding: 10px 14px;
  color: var(--text--med--emphasis);
  font-size: 14px;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.25s ease;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.legal-nav-item a:hover {
  background-color: var(--primary--97);
  color: var(--primary--40----primary);
  padding-left: 18px;
}

.legal-nav-item.active a {
  background-color: var(--primary--40----primary);
  color: var(--text--white);
  font-weight: 600;
}

/* Legal Content Panel */
.legal-content-card {
  background-color: var(--background);
  border: 1px solid var(--background--overlay--extra--light);
  border-radius: 16px;
  padding: 48px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.legal-doc-section {
  padding-top: 32px;
  margin-top: 32px;
  border-top: 1px dashed var(--background--secondary);
}

.legal-doc-section:first-of-type {
  padding-top: 0;
  margin-top: 0;
  border-top: none;
}

.legal-doc-section-title {
  font-size: var(--heading--400---h4);
  font-weight: 700;
  color: var(--text--highest--emphasis);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  scroll-margin-top: 110px; /* Offset for sticky header when scrolling to anchor */
}

.legal-doc-section p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text--high--emphasis);
  margin-bottom: 16px;
}

.legal-doc-section a {
  color: var(--primary--40----primary);
  text-decoration: underline;
  transition: color 0.2s ease;
}

.legal-doc-section a:hover {
  color: var(--primary--60);
}

/* Responsive Breakpoints for Legal Layout */
@media (max-width: 992px) {
  .legal-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .legal-sidebar {
    display: none; /* Hide sidebar list on tablets and mobile for clean reading */
  }

  .legal-content-card {
    padding: 32px;
  }
}

@media (max-width: 768px) {
  .legal-header-banner {
    padding: 120px 0 40px;
  }
  .legal-title {
    font-size: 32px;
  }
  .legal-content-card {
    padding: 24px 16px;
  }
  .legal-doc-section-title {
    font-size: 20px;
  }
}

