/* Local Web Fonts: Plus Jakarta Sans */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('../fonts/PlusJakartaSans-Latin-Variable.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('../fonts/PlusJakartaSans-LatinExt-Variable.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: italic;
  font-weight: 200 800;
  font-display: swap;
  src: url('../fonts/PlusJakartaSans-Italic-Latin-Variable.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Deep Blue Color Palette (No light blue) */
  --primary: #1e3a8a;
  --primary-hover: #172554;
  --primary-subtle: rgba(30, 58, 138, 0.08);
  --primary-glow: rgba(30, 58, 138, 0.30);

  --accent: #1e40af;
  --accent-gradient: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
  --accent-gradient-hover: linear-gradient(135deg, #172554 0%, #1e3a8a 100%);

  /* Deep Black Typography & Neutral Palette (White Theme) */
  --bg-body: #f8fafc;
  --bg-surface: #ffffff;
  --bg-header: rgba(255, 255, 255, 0.96);

  --text-main: #0a0a0a;
  --text-bold: #000000;
  --text-muted: #1f2937;
  --text-subtle: #4b5563;

  --border-subtle: #f1f5f9;
  --border-color: #e2e8f0;
  --border-focus: #93c5fd;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 25px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.03);
  --shadow-header: 0 4px 20px -2px rgba(0, 0, 0, 0.06);
  --shadow-btn: 0 4px 14px 0 rgba(30, 58, 138, 0.35);
  --shadow-btn-hover: 0 6px 20px 0 rgba(23, 37, 84, 0.45);

  /* Dimensions & Spacing */
  --header-height: 80px;
  --container-max-width: 1280px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: clip;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  padding-top: var(--header-height);
  overflow-x: clip;
  width: 100%;
  position: relative;
}

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

ul,
ol {
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ==========================================================================
   HEADER & NAVIGATION (WHITE THEME - DEEP BLACK TEXT & DEEP BLUE TONE)
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: var(--header-height);
  background-color: var(--bg-header);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-header);
  z-index: 1000;
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: transform;
  transition: background-color 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.site-header .container {
  height: 100%;
}

.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 32px;
}

/* Brand / Logo */
.site-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.025em;
  color: var(--text-bold);
  text-decoration: none;
}

.site-header .site-brand {
  position: relative;
  z-index: 1001;
}

.site-logo-img {
  height: 44px;
  width: 44px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  transition: var(--transition-normal);
  flex-shrink: 0;
}

.site-brand:hover .site-logo-img {
  transform: translateY(-2px) scale(1.06);
}

.brand-icon-box {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.32);
  transition: var(--transition-normal);
  flex-shrink: 0;
}

.site-brand:hover .brand-icon-box {
  transform: translateY(-2px) rotate(-3deg);
  box-shadow: 0 6px 16px rgba(23, 37, 84, 0.42);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-weight: 800;
  color: var(--text-bold);
  background: linear-gradient(135deg, #000000 40%, #1e3a8a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
}

.brand-tag {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Navigation Links */
.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  border-radius: var(--radius-full);
  transition: var(--transition-fast);
  position: relative;
}

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

.nav-link.active {
  color: var(--primary);
  background-color: var(--primary-subtle);
  font-weight: 800;
}

/* Header Right Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  cursor: pointer;
  border: none;
  transition: var(--transition-normal);
  line-height: 1;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #ffffff;
  box-shadow: var(--shadow-btn);
}

.btn-primary:hover {
  background: var(--accent-gradient-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-btn-hover);
  color: #ffffff;
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-icon {
  transition: transform 0.25s ease;
}

.btn-primary:hover .btn-icon {
  transform: translateX(4px);
}

.btn-secondary {
  background: #ffffff;
  color: #334155;
  border: 1.5px solid #cbd5e1;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.btn-secondary:hover {
  background: #f8fafc;
  border-color: #94a3b8;
  color: #0f172a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.btn-secondary:active {
  transform: translateY(0);
}

/* Mobile Menu Toggle Button */
.mobile-toggle {
  display: none;
  background: transparent;
  border: 1.5px solid var(--border-color);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
  color: var(--text-bold);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1001;
  position: relative;
}

.mobile-toggle:hover {
  background-color: var(--primary-subtle);
  border-color: var(--primary);
}

.hamburger-bar {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--text-bold);
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease, background-color 0.2s ease;
  transform-origin: center;
}

.mobile-toggle:hover .hamburger-bar {
  background-color: var(--primary);
}

/* Hamburger active/morphing state to X */
.mobile-toggle.active {
  border-color: var(--primary);
  background-color: var(--primary-subtle);
}

.mobile-toggle.active .hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background-color: var(--primary);
}

.mobile-toggle.active .hamburger-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-toggle.active .hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background-color: var(--primary);
}

/* Mobile Backdrop Overlay */
.mobile-backdrop {
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: 100%;
  height: calc(100vh - var(--header-height));
  background-color: rgba(15, 23, 42, 0.40);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s ease;
  z-index: 998;
}

.mobile-backdrop.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Responsive Navigation Styles with Smooth Animations */
@media (max-width: 900px) {
  .mobile-toggle {
    display: flex;
  }

  .main-nav-container {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.12);
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    transform: translateY(-16px);
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.32s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.35s ease,
                padding 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 999;
  }

  .main-nav-container.open {
    max-height: 480px;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    padding: 24px;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }

  .nav-item {
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .main-nav-container.open .nav-item:nth-child(1) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.08s;
  }

  .main-nav-container.open .nav-item:nth-child(2) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.13s;
  }

  .main-nav-container.open .nav-item:nth-child(3) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.18s;
  }

  .nav-link {
    width: 100%;
    padding: 13px 18px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: var(--radius-md);
    color: var(--text-bold);
    background-color: #ffffff;
    border: 1px solid transparent;
  }

  .nav-link:hover, .nav-link:active {
    background-color: var(--primary-subtle);
    color: var(--primary);
    border-color: rgba(30, 58, 138, 0.12);
  }

  .header-actions {
    display: none;
  }

  .mobile-cta {
    display: block;
    width: 100%;
    margin-top: 4px;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .main-nav-container.open .mobile-cta {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.22s;
  }

  .mobile-cta .btn {
    width: 100%;
    padding: 15px 20px;
    font-size: 1rem;
  }
}

@media (min-width: 901px) {
  .main-nav-container {
    display: flex;
    align-items: center;
    gap: 32px;
  }

  .mobile-cta {
    display: none;
  }
}

/* ==========================================================================
   BUTTON EXTENSIONS & UTILITIES
   ========================================================================== */

.btn-lg {
  padding: 16px 32px;
  font-size: 1.05rem;
}

.btn-block {
  width: 100%;
}

.btn-secondary {
  background-color: #ffffff;
  color: var(--text-bold);
  border: 1.5px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  background-color: var(--primary-subtle);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.text-gradient {
  color: var(--primary);
  background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   HERO SECTION (WHITE THEME WITH FLAT WORLD MAP BACKGROUND)
   ========================================================================== */

.hero-section {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  background-color: #ffffff;
  overflow: hidden;
  padding: 60px 0 80px;
}

.hero-map-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../images/world-map.svg');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: min(100%, 1400px) auto;
  opacity: 1;
  pointer-events: none;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.60) 0%,
    rgba(255, 255, 255, 0.38) 45%,
    rgba(255, 255, 255, 0.15) 100%
  );
  pointer-events: none;
  z-index: 2;
}

.hero-container {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
}

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

/* Hero Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  padding: 8px 16px;
  background-color: var(--primary-subtle);
  border: 1px solid rgba(30, 58, 138, 0.15);
  border-radius: var(--radius-full);
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.2);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(30, 58, 138, 0.4);
  }

  70% {
    box-shadow: 0 0 0 6px rgba(30, 58, 138, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(30, 58, 138, 0);
  }
}

.badge-text {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.02em;
}

/* Hero Typography */
.hero-title {
  font-size: clamp(2.3rem, 4.5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-bold);
}

.hero-subtitle {
  font-size: 1.12rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 580px;
}

/* Hero Buttons Group */
.hero-cta-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 8px;
}

/* Highlights / Stats */
.hero-highlights {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
  padding-top: 28px;
  border-top: 1px solid var(--border-color);
}

.highlight-item {
  display: flex;
  flex-direction: column;
}

.highlight-number {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-bold);
  line-height: 1.1;
}

.highlight-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-subtle);
  margin-top: 4px;
}

.highlight-divider {
  width: 1px;
  height: 36px;
  background-color: var(--border-color);
}

/* ==========================================================================
   QUICK VISA FINDER CARD
   ========================================================================== */

.hero-card-wrapper {
  position: relative;
  z-index: 2;
}

.hero-form-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.02);
  transition: var(--transition-normal);
}

.hero-form-card:hover {
  box-shadow: 0 25px 50px -12px rgba(30, 58, 138, 0.12), 0 0 0 1px rgba(30, 58, 138, 0.08);
}

.form-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-subtle);
}

.form-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--accent-gradient);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(30, 58, 138, 0.28);
}

.form-card-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-bold);
  line-height: 1.2;
}

.form-card-sub {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-subtle);
  margin-top: 2px;
}

.hero-quick-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

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

.form-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-bold);
}

.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 16px;
  color: var(--primary);
  font-size: 0.95rem;
  pointer-events: none;
}

.form-select,
.form-input {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 13px 16px 13px 44px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-bold);
  background-color: #ffffff;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  outline: none;
  transition: var(--transition-fast);
}

.form-select {
  padding-right: 38px;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%231e3a8a'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2.5' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  cursor: pointer;
}

.form-select:focus,
.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.12);
}

.btn-card {
  margin-top: 8px;
  padding: 15px;
  font-size: 1rem;
}

.form-card-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-subtle);
}

.form-card-footer i {
  color: #16a34a;
}

/* ==========================================================================
   FOOTER (WHITE THEME)
   ========================================================================== */

.site-footer {
  background-color: #ffffff;
  border-top: 1px solid var(--border-color);
  padding: 70px 0 30px;
  margin-top: auto;
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-logo {
  margin-bottom: 16px;
  position: static;
  z-index: auto;
}

.footer-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 320px;
  margin-bottom: 20px;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background-color: var(--border-subtle);
  border: 1px solid var(--border-color);
  color: var(--text-bold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.social-link:hover {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  transform: translateY(-2px);
}

.footer-heading {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-bold);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 4px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.contact-icon {
  color: var(--primary);
  margin-top: 3px;
  font-size: 1rem;
  flex-shrink: 0;
}

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.88rem;
  color: var(--text-subtle);
  font-weight: 500;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-bottom-links a {
  color: var(--text-subtle);
  font-weight: 500;
}

.footer-bottom-links a:hover {
  color: var(--primary);
}

/* ==========================================================================
   HOW IT WORKS SECTION (WHITE THEME & DEEP BLUE TONE)
   ========================================================================== */

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

.how-it-works-section {
  background-color: var(--bg-body);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

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

.section-header {
  max-width: 680px;
  margin: 0 auto 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background-color: var(--primary-subtle);
  border: 1px solid rgba(30, 58, 138, 0.15);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.02em;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--text-bold);
}

.section-subtitle {
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--text-muted);
}

/* Steps Grid */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-bottom: 56px;
}

.step-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.04);
  transition: var(--transition-normal);
  position: relative;
}

.step-card:hover {
  transform: translateY(-6px);
  border-color: rgba(30, 58, 138, 0.25);
  box-shadow: 0 20px 35px -8px rgba(30, 58, 138, 0.12), 0 0 0 1px rgba(30, 58, 138, 0.10);
}

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

.step-number {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary);
  opacity: 0.35;
  line-height: 1;
  font-family: inherit;
  transition: var(--transition-fast);
}

.step-card:hover .step-number {
  opacity: 0.9;
  transform: scale(1.08);
}

.step-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--accent-gradient);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  box-shadow: 0 6px 16px rgba(30, 58, 138, 0.25);
  transition: var(--transition-normal);
}

.step-card:hover .step-icon-box {
  transform: rotate(6deg) scale(1.05);
  box-shadow: 0 8px 22px rgba(23, 37, 84, 0.35);
}

.step-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-bold);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.step-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.step-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.step-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-bold);
}

.step-tag i {
  color: #16a34a;
  font-size: 0.8rem;
}

/* Bottom CTA Banner */
.steps-cta-box {
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.05) 0%, rgba(30, 64, 175, 0.08) 100%);
  border: 1.5px solid rgba(30, 58, 138, 0.15);
  border-radius: var(--radius-lg);
  padding: 36px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  box-shadow: 0 10px 25px -5px rgba(30, 58, 138, 0.05);
}

.steps-cta-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-bold);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.steps-cta-desc {
  font-size: 0.98rem;
  color: var(--text-muted);
}

/* ==========================================================================
   SUPPORTED COUNTRIES & DESTINATIONS SECTION
   ========================================================================== */

.countries-section {
  background-color: #ffffff;
}

.countries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 56px;
}

.country-card {
  background: #ffffff;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.04);
  transition: var(--transition-normal);
  position: relative;
}

.country-card:hover {
  transform: translateY(-5px);
  border-color: rgba(30, 58, 138, 0.28);
  box-shadow: 0 20px 35px -10px rgba(30, 58, 138, 0.12), 0 0 0 1px rgba(30, 58, 138, 0.10);
}

.country-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.country-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--accent-gradient);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 4px 14px rgba(30, 58, 138, 0.25);
  flex-shrink: 0;
  transition: var(--transition-normal);
}

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

.country-header-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.country-name {
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--text-bold);
  line-height: 1.2;
}

.country-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary);
  background-color: var(--primary-subtle);
  padding: 3px 8px;
  border-radius: var(--radius-full);
  width: fit-content;
  letter-spacing: 0.02em;
}

/* Country Details */
.country-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
  flex-grow: 1;
}

.country-detail-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.88rem;
}

.detail-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-subtle);
  font-weight: 600;
}

.detail-label i {
  color: var(--primary);
  font-size: 0.8rem;
}

.detail-value {
  font-weight: 700;
  color: var(--text-bold);
  text-align: right;
}

.text-primary {
  color: var(--primary);
}

.text-success {
  color: #16a34a;
}

.country-card-footer {
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  align-items: stretch;
}

.country-card-footer .btn {
  padding: 11px 12px;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  white-space: nowrap;
}

.btn-req {
  background-color: #ffffff;
  color: var(--primary);
  border: 1.5px solid rgba(30, 58, 138, 0.25);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.btn-req:hover, .btn-req:focus-visible {
  background-color: var(--primary-subtle);
  border-color: var(--primary);
  color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.12);
}

.btn-apply {
  background: var(--accent-gradient);
  color: #ffffff;
  border: 1.5px solid transparent;
  box-shadow: 0 4px 14px rgba(30, 58, 138, 0.22);
}

.btn-apply:hover, .btn-apply:focus-visible {
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(30, 58, 138, 0.32);
}

/* ==========================================================================
   VISA REQUIREMENTS MODAL POPUP & ANIMATIONS
   ========================================================================== */

body.modal-open {
  overflow: hidden;
}

.req-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.req-modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.req-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 15, 30, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
}

.req-modal-dialog {
  position: relative;
  width: 100%;
  max-width: 740px;
  max-height: min(90vh, 840px);
  background: #ffffff;
  border: 1px solid rgba(30, 58, 138, 0.15);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px -15px rgba(10, 15, 30, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.9) inset;
  z-index: 2;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(28px) scale(0.96);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.req-modal-backdrop.active .req-modal-dialog {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.req-modal-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

/* Modal Header */
.req-modal-header {
  padding: 22px 28px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  flex-shrink: 0;
}

.modal-header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.modal-icon-badge {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--accent-gradient);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 4px 14px rgba(30, 58, 138, 0.25);
  flex-shrink: 0;
}

.modal-badge-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.modal-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-bold);
  line-height: 1.2;
}

.modal-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary);
  background-color: var(--primary-subtle);
  padding: 3px 8px;
  border-radius: var(--radius-full);
  letter-spacing: 0.02em;
}

.modal-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 3px;
}

.req-modal-close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: #ffffff;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.25s ease;
  flex-shrink: 0;
}

.req-modal-close:hover, .req-modal-close:focus-visible {
  background-color: #fee2e2;
  color: #dc2626;
  border-color: #fca5a5;
  transform: rotate(90deg) scale(1.05);
}

/* Modal Body */
.req-modal-body {
  padding: 24px 28px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  overscroll-behavior: contain;
}

.req-modal-body::-webkit-scrollbar {
  width: 6px;
}

.req-modal-body::-webkit-scrollbar-track {
  background: #f1f5f9;
}

.req-modal-body::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}

.req-modal-body::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Modal Specs Grid */
.modal-specs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  background: #f8fafc;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}

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

.spec-icon {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background: rgba(30, 58, 138, 0.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.spec-details {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.spec-label {
  font-size: 0.7rem;
  color: var(--text-subtle);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.spec-val {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text-bold);
  line-height: 1.2;
}

/* Modal Section Block */
.modal-section-block {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.modal-block-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--text-bold);
}

.modal-block-title i {
  font-size: 1.05rem;
}

/* Checklist Cards Grid */
.req-checklist {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.req-check-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 15px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
  transition: all 0.2s ease;
}

.req-check-card:hover {
  border-color: rgba(30, 58, 138, 0.28);
  background: #f8fafc;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.06);
}

.req-check-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #dcfce7;
  color: #16a34a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.req-check-content {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.req-check-title {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-bold);
  line-height: 1.3;
}

.req-check-desc {
  font-size: 0.77rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* Advisory Box */
.modal-advisory-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-md);
  font-size: 0.84rem;
  color: #1e3a8a;
  line-height: 1.5;
}

.advisory-icon {
  font-size: 1.15rem;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 1px;
}

.advisory-text strong {
  display: block;
  font-weight: 800;
  margin-bottom: 2px;
  color: #172554;
}

.advisory-text p {
  margin: 0;
  color: #1e3a8a;
}

/* Fast-track assistance strip */
.modal-guarantee-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  color: #047857;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  padding: 11px 16px;
  border-radius: var(--radius-md);
  font-weight: 600;
  line-height: 1.45;
}

.modal-guarantee-strip i {
  font-size: 1rem;
  flex-shrink: 0;
}

/* Modal Footer */
.req-modal-footer {
  padding: 18px 28px;
  border-top: 1px solid var(--border-subtle);
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-shrink: 0;
}

.modal-btn-close {
  padding: 12px 20px;
  font-size: 0.92rem;
  font-weight: 700;
}

.modal-btn-apply {
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 700;
}

/* Bottom Note Box */
.countries-bottom-box {
  background-color: var(--bg-body);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.countries-bottom-text {
  display: flex;
  align-items: center;
  gap: 18px;
}

.bottom-info-icon {
  font-size: 1.8rem;
  color: var(--primary);
  flex-shrink: 0;
}

.bottom-box-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-bold);
  margin-bottom: 4px;
}

.bottom-box-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* ==========================================================================
   ABOUT PLATFORM SECTION
   ========================================================================== */

.about-section {
  background-color: #ffffff;
  position: relative;
  border-top: 1px solid var(--border-subtle);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.about-title {
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  font-weight: 800;
  line-height: 1.22;
  color: var(--text-bold);
  letter-spacing: -0.02em;
}

.about-lead {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-bold);
  line-height: 1.65;
}

.about-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Value Pillars Grid */
.about-pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 6px 0 10px;
}

.pillar-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  background-color: var(--bg-body);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: var(--transition-normal);
}

.pillar-card:hover {
  transform: translateY(-2px);
  border-color: rgba(30, 58, 138, 0.25);
  box-shadow: 0 6px 16px rgba(30, 58, 138, 0.06);
  background-color: #ffffff;
}

.pillar-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background-color: var(--primary-subtle);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
  transition: var(--transition-normal);
}

.pillar-card:hover .pillar-icon {
  background: var(--accent-gradient);
  color: #ffffff;
  transform: scale(1.05);
}

.pillar-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.pillar-title {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text-bold);
  line-height: 1.25;
}

.pillar-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* About Action Buttons */
.about-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 6px;
  flex-wrap: wrap;
}

/* About Right Visual Showcase Card */
.about-visual-wrapper {
  position: relative;
  width: 100%;
}

.about-main-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 0 20px 45px -10px rgba(10, 15, 30, 0.08), 0 0 0 1px rgba(30, 58, 138, 0.05);
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}

.about-card-badge-header {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  background-color: var(--primary-subtle);
  padding: 7px 14px;
  border-radius: var(--radius-full);
  width: fit-content;
  letter-spacing: 0.01em;
}

.pulse-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #16a34a;
  box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.7);
  animation: pulseIndicatorGreen 2s infinite;
}

@keyframes pulseIndicatorGreen {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 7px rgba(22, 163, 74, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(22, 163, 74, 0);
  }
}

/* Bento Stats Grid */
.about-stats-bento {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.bento-stat-item {
  padding: 20px 18px;
  border-radius: var(--radius-md);
  background-color: var(--bg-body);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 3px;
  transition: var(--transition-normal);
}

.bento-stat-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(30, 58, 138, 0.2);
}

.bento-icon {
  font-size: 1.35rem;
  margin-bottom: 6px;
}

.bento-primary {
  background: var(--accent-gradient);
  border-color: transparent;
}

.bento-primary .bento-icon,
.bento-primary .bento-stat-num,
.bento-primary .bento-stat-label,
.bento-primary .bento-stat-sub {
  color: #ffffff;
}

.bento-primary .bento-stat-sub {
  opacity: 0.88;
}

.bento-stat-num {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--text-bold);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.bento-stat-label {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text-bold);
}

.bento-stat-sub {
  font-size: 0.74rem;
  color: var(--text-muted);
}

/* Reviews Bar */
.about-review-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  background-color: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-md);
}

.review-stars-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex-shrink: 0;
}

.stars-icons {
  color: #f59e0b;
  font-size: 0.8rem;
  display: flex;
  gap: 2px;
}

.rating-score {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text-bold);
}

.review-summary-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.review-summary-text strong {
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--text-bold);
}

.review-summary-text span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Guarantee Footer */
.about-guarantee-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-subtle);
  padding-top: 4px;
}

.about-guarantee-footer i {
  font-size: 0.95rem;
}

/* ==========================================================================
   FAQ SECTION (STANDALONE)
   ========================================================================== */

.faq-section {
  background-color: #ffffff;
  border-top: 1px solid var(--border-color);
  position: relative;
  width: 100%;
  overflow-x: clip;
}

.faq-container-narrow {
  max-width: 940px;
  margin: 0 auto;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}

.faq-item {
  background-color: #ffffff;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item:hover {
  border-color: rgba(30, 58, 138, 0.28);
  box-shadow: 0 6px 20px rgba(30, 58, 138, 0.06);
  transform: translateY(-1px);
}

.faq-item.active {
  border-color: var(--primary);
  box-shadow: 0 10px 28px -6px rgba(30, 58, 138, 0.12), 0 0 0 1px rgba(30, 58, 138, 0.10);
  background-color: #ffffff;
}

.faq-trigger {
  width: 100%;
  padding: 20px 24px;
  background: transparent;
  border: none;
  font-family: inherit;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.faq-trigger:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: -2px;
}

.faq-question-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1 1 0%;
  min-width: 0;
}

.faq-q-number {
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--primary);
  background-color: var(--primary-subtle);
  padding: 4px 9px;
  border-radius: var(--radius-full);
  flex-shrink: 0;
  letter-spacing: 0.02em;
}

.faq-item.active .faq-q-number {
  background: var(--accent-gradient);
  color: #ffffff;
}

.faq-question {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-bold);
  line-height: 1.35;
  transition: color 0.2s ease;
  margin: 0;
}

.faq-item.active .faq-question {
  color: var(--primary);
}

.faq-icon-wrap {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: var(--bg-body);
  border: 1px solid var(--border-color);
  color: var(--text-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  flex-shrink: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item:hover .faq-icon-wrap {
  border-color: rgba(30, 58, 138, 0.3);
  color: var(--primary);
}

.faq-item.active .faq-icon-wrap {
  background: var(--accent-gradient);
  color: #ffffff;
  border-color: transparent;
  transform: rotate(180deg);
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.25);
}

.faq-collapse {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  opacity: 0;
}

.faq-item.active .faq-collapse {
  opacity: 1;
}

.faq-body {
  padding: 0 24px 22px 24px;
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.7;
  border-top: 1px solid transparent;
}

.faq-item.active .faq-body {
  border-top-color: var(--border-subtle);
  padding-top: 14px;
}

.faq-body p {
  margin: 0 0 10px;
}

.faq-body p:last-child {
  margin-bottom: 0;
}

.faq-body-highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 12px;
  padding: 12px 14px;
  background-color: #f8fafc;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-bold);
}

.faq-hl-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.faq-hl-item i {
  color: var(--primary);
  font-size: 0.85rem;
}

/* FAQ Bottom Help Box */
.faq-bottom-banner {
  margin-top: 48px;
  background: linear-gradient(135deg, #172554 0%, #1e3a8a 100%);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  color: #ffffff;
  box-shadow: 0 20px 45px -10px rgba(10, 15, 30, 0.25);
  position: relative;
  overflow: hidden;
}

.faq-bottom-banner::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.faq-bottom-text {
  display: flex;
  align-items: center;
  gap: 18px;
  position: relative;
  z-index: 1;
}

.faq-bottom-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #ffffff;
  flex-shrink: 0;
  backdrop-filter: blur(4px);
}

.faq-bottom-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 4px;
}

.faq-bottom-desc {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.82);
}

.faq-bottom-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.btn-white {
  background-color: #ffffff;
  color: var(--primary);
  border: 1.5px solid #ffffff;
  font-weight: 800;
}

.btn-white:hover {
  background-color: #f8fafc;
  color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(4px);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}

/* Responsive FAQ */
@media (max-width: 768px) {
  .faq-trigger {
    padding: 18px 18px;
    gap: 12px;
  }

  .faq-question {
    font-size: 0.98rem;
  }

  .faq-body {
    padding: 0 18px 18px 18px;
    font-size: 0.9rem;
  }

  .faq-body-highlights {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .faq-bottom-banner {
    flex-direction: column;
    text-align: center;
    padding: 28px 20px;
    gap: 20px;
  }

  .faq-bottom-text {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .faq-bottom-actions {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .faq-bottom-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */

.contact-section {
  background-color: var(--bg-body);
  border-top: 1px solid var(--border-color);
  position: relative;
  width: 100%;
  overflow-x: clip;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: start;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

/* Left: Contact Info Column */
.contact-info-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.contact-channel-card {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px 18px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  transition: var(--transition-normal);
  text-decoration: none;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  overflow: hidden;
}

.contact-channel-card:hover {
  transform: translateY(-3px);
  border-color: rgba(30, 58, 138, 0.28);
  box-shadow: 0 10px 25px -5px rgba(30, 58, 138, 0.10);
}

.channel-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--accent-gradient);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.25);
  flex-shrink: 0;
  transition: var(--transition-normal);
}

.contact-channel-card:hover .channel-icon-box {
  transform: scale(1.06);
}

.channel-whatsapp {
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.25);
}

.channel-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1 1 0%;
  overflow: hidden;
}

.channel-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-subtle);
  letter-spacing: 0.03em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.channel-val {
  font-size: clamp(0.88rem, 2.8vw, 0.98rem);
  font-weight: 800;
  color: var(--text-bold);
  line-height: 1.3;
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
}

.channel-sub {
  font-size: 0.76rem;
  color: var(--text-muted);
  overflow-wrap: break-word;
  word-break: break-word;
  line-height: 1.4;
}

/* Guarantee Box */
.contact-guarantee-box {
  background-color: #eff6ff;
  border: 1px solid #bfdbfe;
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  overflow: hidden;
}

.contact-guarantee-box > div:last-child {
  min-width: 0;
  flex: 1 1 0%;
}

.guarantee-icon {
  font-size: 1.35rem;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 1px;
}

.guarantee-title {
  font-size: 0.94rem;
  font-weight: 800;
  color: #172554;
  margin-bottom: 2px;
  overflow-wrap: break-word;
  word-break: break-word;
}

.guarantee-desc {
  font-size: 0.82rem;
  color: #1e3a8a;
  line-height: 1.5;
  overflow-wrap: break-word;
  word-break: break-word;
}

/* Mini FAQ Box */
.contact-faq-box {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  overflow: hidden;
}

.faq-box-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text-bold);
  min-width: 0;
  overflow-wrap: break-word;
}

.faq-mini-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  min-width: 0;
}

.faq-mini-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 100%;
  min-width: 0;
  overflow-wrap: break-word;
  word-break: break-word;
}

.faq-mini-item strong {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-bold);
  overflow-wrap: break-word;
  word-break: break-word;
}

.faq-mini-item span {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.45;
  overflow-wrap: break-word;
  word-break: break-word;
}

/* Right: Form Card */
.contact-form-card {
  background-color: #ffffff;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: 0 20px 45px -10px rgba(10, 15, 30, 0.08), 0 0 0 1px rgba(30, 58, 138, 0.05);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  overflow: hidden;
}

.contact-form-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-subtle);
  width: 100%;
  min-width: 0;
}

.contact-form-header > div:last-child {
  min-width: 0;
  flex: 1 1 0%;
}

.contact-form-header-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background-color: var(--primary-subtle);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.form-header-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-bold);
  line-height: 1.2;
  overflow-wrap: break-word;
  word-break: break-word;
}

.form-header-sub {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-top: 2px;
  overflow-wrap: break-word;
  word-break: break-word;
}

.contact-form-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.form-textarea {
  min-height: 100px;
  resize: vertical;
  padding-top: 12px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.input-textarea-wrap .input-icon {
  top: 14px;
  transform: none;
}

.text-danger {
  color: #dc2626;
}

.btn-contact-submit {
  padding: 15px;
  font-size: 1rem;
  margin-top: 4px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  text-align: center;
}

.contact-form-privacy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--text-subtle);
  text-align: center;
  margin-top: 6px;
  width: 100%;
  max-width: 100%;
  flex-wrap: wrap;
  line-height: 1.45;
}

.contact-form-privacy i {
  flex-shrink: 0;
}

.contact-form-privacy span {
  min-width: 0;
  overflow-wrap: break-word;
  word-break: break-word;
}

.contact-form-alert {
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-wrap: break-word;
  word-break: break-word;
}

.contact-form-alert.success {
  background-color: #dcfce7;
  border: 1px solid #86efac;
  color: #15803d;
}

.contact-form-alert.success i {
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (ALL DEVICE SCREEN SIZES)
   ========================================================================== */

/* Laptops & Small Desktops (max-width: 1200px) */
@media (max-width: 1200px) {
  .hero-container {
    gap: 36px;
    grid-template-columns: 1.1fr 0.9fr;
  }

  .hero-title {
    font-size: clamp(2.1rem, 3.8vw, 2.8rem);
  }

  .hero-form-card {
    padding: 28px 24px;
  }
}

/* Tablets Landscape & Medium Screens (max-width: 1024px) */
@media (max-width: 1024px) {
  .hero-section {
    padding: 48px 0 64px;
    min-height: auto;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-content {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    align-items: center;
  }

  .hero-subtitle {
    margin: 0 auto;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-highlights {
    justify-content: center;
    width: 100%;
  }

  .hero-card-wrapper {
    max-width: 580px;
    width: 100%;
    margin: 0 auto;
  }

  .hero-map-bg {
    background-size: 900px auto;
    background-position: center 40px;
    background-repeat: no-repeat;
    opacity: 0.95;
  }

  .hero-overlay {
    background: radial-gradient(
      circle at 50% 180px,
      rgba(255, 255, 255, 0.40) 0%,
      rgba(255, 255, 255, 0.60) 60%,
      rgba(255, 255, 255, 0.85) 100%
    );
  }

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

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .countries-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-visual-wrapper {
    max-width: 620px;
    margin: 0 auto;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .contact-info-col,
  .contact-form-col {
    max-width: 680px;
    margin: 0 auto;
    width: 100%;
  }
}

/* Tablets Portrait & Large Mobile (max-width: 768px) */
@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }

  .site-header {
    height: var(--header-height);
  }

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

  .brand-title {
    font-size: 1.15rem;
  }

  .brand-tag {
    font-size: 0.62rem;
  }

  .section {
    padding: 60px 0;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .about-title {
    font-size: clamp(1.8rem, 4.5vw, 2.2rem);
  }

  .about-pillars {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .about-main-card {
    padding: 24px 20px;
  }

  .contact-cards-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .form-row-2 {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .contact-form-card {
    padding: 28px 20px;
  }

  .hero-map-bg {
    background-size: 780px auto;
    background-position: center 25px;
    opacity: 0.95;
  }

  .hero-overlay {
    background: radial-gradient(
      circle at 50% 140px,
      rgba(255, 255, 255, 0.42) 0%,
      rgba(255, 255, 255, 0.62) 60%,
      rgba(255, 255, 255, 0.88) 100%
    );
  }

  .hero-section {
    padding: 36px 0 52px;
  }

  .hero-title {
    font-size: clamp(1.85rem, 4.8vw, 2.3rem);
    line-height: 1.2;
  }

  .hero-subtitle {
    font-size: 1rem;
    line-height: 1.6;
  }

  .hero-badge {
    padding: 6px 14px;
  }

  .badge-text {
    font-size: 0.8rem;
  }

  .btn-lg {
    padding: 14px 26px;
    font-size: 0.98rem;
  }

  .highlight-number {
    font-size: 1.4rem;
  }

  .highlight-label {
    font-size: 0.78rem;
  }

  .hero-form-card {
    padding: 24px 20px;
    border-radius: var(--radius-md);
  }

  .form-card-title {
    font-size: 1.12rem;
  }

  .form-card-sub {
    font-size: 0.8rem;
  }

  .form-select, .form-input {
    padding: 11px 14px 11px 40px;
    font-size: 0.9rem;
  }

  .steps-cta-box {
    flex-direction: column;
    text-align: center;
    padding: 30px 24px;
    gap: 24px;
  }

  .steps-cta-box .btn {
    width: 100%;
  }

  .countries-bottom-box {
    flex-direction: column;
    text-align: center;
    padding: 24px 20px;
    gap: 20px;
  }

  .countries-bottom-text {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .countries-bottom-box .btn {
    width: 100%;
  }

  /* Modal Responsive adjustments (max-width: 768px) */
  .req-modal-backdrop {
    padding: 16px;
  }

  .req-modal-header {
    padding: 18px 20px;
  }

  .modal-title {
    font-size: 1.15rem;
  }

  .modal-specs-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 12px 14px;
  }

  .req-checklist {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .req-modal-body {
    padding: 20px 20px;
    gap: 16px;
  }

  .req-modal-footer {
    padding: 16px 20px;
    flex-direction: column-reverse;
    gap: 10px;
  }

  .req-modal-footer .btn {
    width: 100%;
  }
}

/* Mobile Devices (max-width: 640px) */
@media (max-width: 640px) {
  .section {
    padding: 50px 0;
  }

  .section-title {
    font-size: 1.85rem;
  }

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

  .about-cta-group {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .about-cta-group .btn {
    width: 100%;
    justify-content: center;
  }

  .about-review-bar {
    flex-direction: column;
    text-align: center;
    gap: 10px;
    align-items: center;
  }

  .review-summary-text {
    align-items: center;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 36px;
  }

  .step-card {
    padding: 24px 20px;
  }

  .countries-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 36px;
  }

  .country-card {
    padding: 24px 18px;
  }

  .contact-cards-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .contact-channel-card {
    padding: 16px 14px;
    gap: 12px;
  }

  .channel-icon-box {
    width: 40px;
    height: 40px;
    font-size: 1.05rem;
  }

  .contact-guarantee-box {
    padding: 14px 16px;
    gap: 12px;
  }

  .contact-faq-box {
    padding: 18px 18px;
    gap: 12px;
  }

  .contact-form-card {
    padding: 24px 16px;
  }

  .contact-form-header {
    gap: 12px;
    margin-bottom: 18px;
    padding-bottom: 14px;
  }

  .contact-form-header-icon {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }

  .btn-contact-submit {
    padding: 13px 16px;
    font-size: 0.95rem;
  }

  .hero-map-bg {
    background-size: 680px auto;
    background-position: center 15px;
    opacity: 0.95;
  }

  .hero-overlay {
    background: radial-gradient(
      circle at 50% 120px,
      rgba(255, 255, 255, 0.35) 0%,
      rgba(255, 255, 255, 0.58) 55%,
      rgba(255, 255, 255, 0.86) 100%
    );
  }

  .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero-content {
    text-align: left;
    align-items: flex-start;
    gap: 18px;
  }

  .hero-title {
    font-size: 1.75rem;
  }

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

  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 12px;
  }

  .hero-cta-group .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    width: 100%;
    padding-top: 20px;
  }

  .highlight-divider {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 14px;
  }

  .footer-bottom-links {
    flex-direction: column;
    gap: 8px;
  }
}

/* Small Phones (max-width: 480px) */
@media (max-width: 480px) {
  :root {
    --header-height: 66px;
  }

  .site-header {
    height: var(--header-height);
  }

  .site-logo-img {
    height: 34px;
    width: 34px;
  }

  .brand-title {
    font-size: 1.05rem;
  }

  .brand-tag {
    font-size: 0.6rem;
  }

  .hero-map-bg {
    background-size: 560px auto;
    background-position: center 10px;
    opacity: 0.95;
  }

  .hero-overlay {
    background: radial-gradient(
      circle at 50% 90px,
      rgba(255, 255, 255, 0.28) 0%,
      rgba(255, 255, 255, 0.52) 55%,
      rgba(255, 255, 255, 0.88) 100%
    );
  }

  .container {
    padding-left: 14px;
    padding-right: 14px;
  }

  .hero-section {
    padding: 24px 0 40px;
  }

  .hero-title {
    font-size: 1.55rem;
    letter-spacing: -0.02em;
  }

  .hero-subtitle {
    font-size: 0.9rem;
    line-height: 1.55;
  }

  .badge-text {
    font-size: 0.74rem;
  }

  .hero-highlights {
    gap: 12px;
  }

  .highlight-number {
    font-size: 1.25rem;
  }

  .highlight-label {
    font-size: 0.72rem;
  }

  .hero-form-card {
    padding: 20px 16px;
  }

  .form-card-header {
    gap: 12px;
    margin-bottom: 18px;
    padding-bottom: 14px;
  }

  .form-card-icon {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
    border-radius: var(--radius-sm);
  }

  .form-card-title {
    font-size: 1.05rem;
  }

  .form-label {
    font-size: 0.82rem;
  }

  .form-select, .form-input {
    padding: 10px 12px 10px 36px;
    font-size: 0.86rem;
  }

  .input-icon {
    left: 12px;
    font-size: 0.85rem;
  }

  .btn-card {
    padding: 13px;
    font-size: 0.92rem;
  }

  /* Card footer dual button on mobile */
  .country-card-footer {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .country-card-footer .btn {
    width: 100%;
    padding: 11px 14px;
  }

  /* About bento stats on small mobile */
  .about-stats-bento {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .bento-stat-item {
    padding: 16px 14px;
  }

  .about-main-card {
    padding: 20px 16px;
  }

  /* Contact section small mobile refinements */
  .contact-channel-card {
    padding: 14px 12px;
    gap: 10px;
  }

  .channel-icon-box {
    width: 36px;
    height: 36px;
    font-size: 0.95rem;
  }

  .channel-label {
    font-size: 0.68rem;
  }

  .channel-val {
    font-size: 0.88rem;
  }

  .channel-sub {
    font-size: 0.72rem;
  }

  .contact-guarantee-box {
    padding: 12px 14px;
    gap: 10px;
  }

  .guarantee-icon {
    font-size: 1.15rem;
  }

  .guarantee-title {
    font-size: 0.88rem;
  }

  .guarantee-desc {
    font-size: 0.78rem;
  }

  .contact-faq-box {
    padding: 16px 14px;
    gap: 10px;
  }

  .faq-box-header {
    font-size: 0.86rem;
  }

  .faq-mini-item strong {
    font-size: 0.8rem;
  }

  .faq-mini-item span {
    font-size: 0.74rem;
  }

  .contact-form-card {
    padding: 20px 14px;
  }

  .contact-form-header-icon {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }

  .form-header-title {
    font-size: 1.05rem;
  }

  .form-header-sub {
    font-size: 0.76rem;
  }

  .form-textarea {
    padding: 10px 12px 10px 36px;
    font-size: 0.86rem;
  }

  .btn-contact-submit {
    padding: 12px 14px;
    font-size: 0.9rem;
  }

  .contact-form-privacy {
    font-size: 0.72rem;
  }

  /* Modal on small mobile */
  .req-modal-backdrop {
    padding: 10px;
  }

  .req-modal-header {
    padding: 14px 16px;
  }

  .modal-header-left {
    gap: 12px;
  }

  .modal-icon-badge {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
    border-radius: var(--radius-sm);
  }

  .modal-title {
    font-size: 1.05rem;
  }

  .modal-subtitle {
    font-size: 0.78rem;
  }

  .req-modal-close {
    width: 34px;
    height: 34px;
    font-size: 0.95rem;
  }

  .req-modal-body {
    padding: 16px 14px;
    gap: 14px;
  }

  .modal-specs-grid {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 10px 12px;
  }

  .req-check-card {
    padding: 11px 12px;
    gap: 10px;
  }

  .modal-advisory-box {
    padding: 12px 14px;
    font-size: 0.8rem;
  }

  .modal-guarantee-strip {
    padding: 9px 12px;
    font-size: 0.76rem;
  }

  .req-modal-footer {
    padding: 14px 16px;
  }
}

/* Compact Mobile (max-width: 360px) */
@media (max-width: 360px) {
  .hero-title {
    font-size: 1.4rem;
  }

  .highlight-number {
    font-size: 1.15rem;
  }

  .highlight-label {
    font-size: 0.68rem;
  }

  .contact-form-card {
    padding: 16px 10px;
  }

  .form-input, .form-select, .form-textarea {
    padding-left: 32px;
    padding-right: 8px;
    font-size: 0.82rem;
  }

  .input-icon {
    left: 10px;
    font-size: 0.78rem;
  }
}

/* ==========================================================================
   SCROLL REVEAL & APPEARING ANIMATIONS (LUXURY & SMOOTH)
   ========================================================================== */

/* Hero immediate entrance animations */
@keyframes heroFadeSlideUp {
  0% {
    opacity: 0;
    transform: translate3d(0, 26px, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes heroFadeSlideRight {
  0% {
    opacity: 0;
    transform: translate3d(30px, 0, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.animate-hero-badge {
  animation: heroFadeSlideUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.05s backwards;
}

.animate-hero-title {
  animation: heroFadeSlideUp 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.15s backwards;
}

.animate-hero-sub {
  animation: heroFadeSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.25s backwards;
}

.animate-hero-cta {
  animation: heroFadeSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.35s backwards;
}

.animate-hero-stats {
  animation: heroFadeSlideUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.45s backwards;
}

.animate-hero-card {
  animation: heroFadeSlideRight 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.25s backwards;
}

/* Scroll reveal initial states */
.reveal-init {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-init.reveal-left {
  transform: translate3d(-32px, 0, 0);
}

.reveal-init.reveal-right {
  transform: translate3d(32px, 0, 0);
}

.reveal-init.reveal-scale {
  transform: scale(0.95) translate3d(0, 16px, 0);
}

.reveal-init.reveal-fade {
  transform: none;
}

/* Active revealed state */
.reveal-init.revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

/* Stagger delay classes */
.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }
.delay-4 { transition-delay: 0.32s; }
.delay-5 { transition-delay: 0.40s; }
.delay-6 { transition-delay: 0.48s; }

/* Micro-animations & Interactive Glow */
.btn-primary {
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 35%;
  height: 200%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.30) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(25deg);
  pointer-events: none;
  transition: all 0.75s ease;
  opacity: 0;
}

.btn-primary:hover::after {
  left: 130%;
  opacity: 1;
  transition: all 0.75s ease;
}

/* Floating subtle bounce on icon boxes */
@keyframes iconFloatSubtle {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

.channel-icon-box,
.step-icon-box,
.country-icon-box {
  animation: iconFloatSubtle 4s ease-in-out infinite;
}

.step-card:nth-child(2) .step-icon-box {
  animation-delay: 1s;
}

.step-card:nth-child(3) .step-icon-box {
  animation-delay: 2s;
}

.step-card:nth-child(4) .step-icon-box {
  animation-delay: 3s;
}

/* Pulse animation on check badges */
@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 4px 14px rgba(30, 58, 138, 0.25);
  }
  50% {
    box-shadow: 0 4px 22px rgba(30, 58, 138, 0.42);
  }
}

.form-card-icon,
.modal-icon-badge {
  animation: pulseGlow 3s infinite ease-in-out;
}

/* Accessible reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal-init,
  .animate-hero-badge,
  .animate-hero-title,
  .animate-hero-sub,
  .animate-hero-cta,
  .animate-hero-stats,
  .animate-hero-card {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ==========================================================================
   VISA APPLICATION WIZARD & MDAC INPUT SPECIFICATIONS
   ========================================================================== */

.apply-section {
  background-color: var(--bg-body);
  min-height: calc(100vh - var(--header-height));
  padding: 40px 0 90px;
}

/* Header Banner with Emblem */
.apply-portal-header {
  margin-bottom: 32px;
  text-align: center;
}

.apply-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border: 1.5px solid var(--border-color);
  padding: 6px 18px 6px 8px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  margin-bottom: 14px;
}

.badge-flag-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.badge-text {
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.apply-main-heading {
  font-size: 2.25rem;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 8px;
}

.apply-main-subheading {
  font-size: 1.05rem;
  color: var(--text-subtle);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.5;
}

/* Error Banner */
.apply-error-banner {
  max-width: 920px;
  margin: 0 auto 24px;
  padding: 18px 24px;
  background: #fef2f2;
  border: 1.5px solid #f87171;
  border-radius: 14px;
  color: #991b1b;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.08);
}

.error-banner-head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.error-banner-list {
  margin: 0;
  padding-left: 24px;
  font-size: 0.88rem;
  line-height: 1.6;
}

/* Layout Grid / Centered Container */
.apply-layout-grid {
  display: block;
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
}

/* Main Wizard Card */
.apply-wizard-card {
  background: #ffffff;
  border: 1.5px solid var(--border-color);
  border-radius: 20px;
  box-shadow: 0 20px 45px -12px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(226, 232, 240, 0.6);
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

/* Stepper Progress Header */
.wizard-stepper-header {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-bottom: 1.5px solid #f1f5f9;
  padding: 26px 40px 20px;
  position: relative;
}

.stepper-progress-track {
  position: absolute;
  top: 44px;
  left: 90px;
  right: 90px;
  height: 3px;
  background: #e2e8f0;
  border-radius: 9999px;
  z-index: 1;
}

.stepper-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #1e3a8a 0%, #2563eb 100%);
  width: 0%;
  border-radius: 9999px;
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.wizard-steps-list {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 0;
  list-style: none;
}

.wizard-step-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 0;
  font-family: inherit;
  transition: var(--transition-fast);
  width: 110px;
  text-align: center;
}

.step-pill-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #cbd5e1;
  color: var(--text-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.92rem;
  font-weight: 800;
  transition: all 0.25s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.wizard-step-pill.active .step-pill-circle {
  border-color: #0f172a;
  background: #0f172a;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.35);
  transform: scale(1.08);
}

.wizard-step-pill.completed .step-pill-circle {
  border-color: #16a34a;
  background: #16a34a;
  color: #ffffff;
}

.step-pill-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-subtle);
  transition: color 0.2s ease;
  line-height: 1.2;
}

.wizard-step-pill.active .step-pill-label {
  color: #0f172a;
  font-weight: 800;
}

.wizard-step-pill.completed .step-pill-label {
  color: #0f172a;
}

/* Wizard Form Body */
.wizard-form-body {
  padding: 36px 40px;
}

.form-step-panel {
  display: none;
  flex-direction: column;
  gap: 28px;
  animation: stepFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.form-step-panel.active {
  display: flex;
}

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

/* Core Form Grid & Form Elements */
.form-row-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  width: 100%;
}

.form-row-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  width: 100%;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
  width: 100%;
  position: relative;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.3;
}

.text-danger {
  color: #ef4444;
  font-weight: 800;
  margin-left: 2px;
}

.text-muted {
  color: #64748b;
}

.field-hint {
  font-size: 0.76rem;
  color: #64748b;
  font-weight: 500;
  margin-top: 2px;
}

/* Input With Embedded Icons */
.input-with-icon {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}

.input-with-icon .input-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 0.95rem;
  pointer-events: none;
  z-index: 2;
  transition: color 0.2s ease;
}

.input-with-icon .form-input,
.input-with-icon .form-select {
  padding-left: 44px !important;
}

.input-with-icon:focus-within .input-icon {
  color: #2563eb;
}

/* Universal Form Controls */
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  height: 50px;
  padding: 0 16px;
  font-size: 0.94rem;
  font-family: inherit;
  color: #0f172a;
  background-color: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  outline: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.form-textarea {
  height: auto;
  min-height: 88px;
  padding: 12px 16px;
  resize: vertical;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: #2563eb !important;
  background-color: #ffffff !important;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12) !important;
}

.form-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%2364748b' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 14px center;
  background-repeat: no-repeat;
  background-size: 16px 16px;
  padding-right: 40px;
  cursor: pointer;
}

/* Section Cards within Form */
.form-section-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-bottom: 28px;
  border-bottom: 1.5px solid #f1f5f9;
}

.form-section-card:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.form-section-header {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.form-section-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-section-sub {
  font-size: 0.86rem;
  color: #64748b;
  font-weight: 500;
}

.badge-optional {
  font-size: 0.74rem;
  font-weight: 800;
  color: #16a34a;
  background: #dcfce7;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

/* Uppercase Text Transformation */
.uppercase-input {
  text-transform: uppercase !important;
  letter-spacing: 0.03em;
  font-weight: 600;
}

.uppercase-input::placeholder {
  text-transform: none;
  letter-spacing: normal;
  font-weight: normal;
}

/* Interactive Gender Toggle Group */
.gender-toggle-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.gender-btn {
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 800;
  border-radius: 14px;
  background: #ffffff;
  border: 2px solid #cbd5e1;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.gender-btn:hover {
  border-color: #94a3b8;
  background: #f8fafc;
}

.gender-btn:active {
  transform: scale(0.98);
}

.gender-btn.active[data-gender="Male"] {
  background: #eff6ff;
  border-color: #2563eb;
  color: #1d4ed8;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.16);
}

.gender-btn.active[data-gender="Female"] {
  background: #fff1f2;
  border-color: #f43f5e;
  color: #be123c;
  box-shadow: 0 4px 14px rgba(244, 63, 94, 0.16);
}

.gender-icon {
  font-size: 1.15rem;
}

.male-icon {
  color: #2563eb;
}

.female-icon {
  color: #f43f5e;
}

/* Phone Group (Code + Number) */
.phone-input-group {
  display: flex;
  align-items: stretch;
  gap: 12px;
}

.phone-code-select {
  width: 200px;
  flex-shrink: 0;
  height: 50px;
  padding: 0 14px;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  background-color: #ffffff;
  color: #0f172a;
  cursor: pointer;
  outline: none;
}

.phone-code-select:focus {
  border-color: #2563eb !important;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12) !important;
}

.phone-number-input {
  flex: 1;
}

/* Email Match Badge */
.email-match-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.email-match-badge.match-success {
  color: #15803d;
  background: #dcfce7;
}

.email-match-badge.match-error {
  color: #b91c1c;
  background: #fee2e2;
}

/* Dashed Add Other Traveler Button */
.btn-add-traveler-dashed {
  width: 100%;
  padding: 16px 20px;
  background: #f8fafc;
  border: 2px dashed #cbd5e1;
  border-radius: 14px;
  color: #334155;
  font-size: 0.95rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 8px;
}

.btn-add-traveler-dashed:hover {
  border-color: #2563eb;
  color: #1d4ed8;
  background: #eff6ff;
}

/* Additional Traveler Card */
.travelers-list-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@keyframes travCardSlideIn {
  from {
    opacity: 0;
    transform: translateY(-12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.traveler-entry-card {
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: 16px;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.05);
  animation: travCardSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 1;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.traveler-entry-card:hover {
  border-color: #93c5fd;
  box-shadow: 0 8px 24px -6px rgba(37, 99, 235, 0.12);
}

.traveler-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1.5px solid #e2e8f0;
}

.traveler-card-title {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.traveler-num-pill {
  font-size: 0.8rem;
  font-weight: 800;
  color: #ffffff;
  background: #0f172a;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.traveler-status-tag {
  font-size: 0.76rem;
  font-weight: 700;
  color: #2563eb;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.btn-remove-traveler {
  background: #ffffff;
  border: 1px solid #fecaca;
  color: #dc2626;
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 0.78rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-remove-traveler:hover {
  background: #fee2e2;
  border-color: #f87171;
  color: #b91c1c;
}

.traveler-card-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.traveler-entry-card .form-input,
.traveler-entry-card .form-select {
  background-color: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  color: #0f172a !important;
}

.traveler-entry-card .form-input:focus,
.traveler-entry-card .form-select:focus {
  border-color: #2563eb !important;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12) !important;
}

.traveler-entry-card .form-label {
  color: #1e293b !important;
  font-weight: 700;
}

.empty-travelers-box {
  background: #f8fafc;
  border: 1.5px dashed #cbd5e1;
  border-radius: 14px;
  padding: 26px;
  text-align: center;
}

.empty-travelers-icon {
  font-size: 2rem;
  color: var(--text-subtle);
  margin-bottom: 8px;
}

.empty-travelers-text strong {
  display: block;
  font-size: 0.94rem;
  font-weight: 800;
  color: var(--text-bold);
  margin-bottom: 2px;
}

.empty-travelers-text span {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Processing Tier Radio Cards */
.processing-tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.processing-card-option {
  display: block;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: 20px 18px;
  cursor: pointer;
  position: relative;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.processing-card-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.processing-card-option:hover {
  border-color: #93c5fd;
  transform: translateY(-2px);
}

.processing-card-option.active {
  border-color: #2563eb;
  background: #eff6ff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.12), 0 0 0 1px #2563eb;
}

.proc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.proc-title {
  font-size: 0.9rem;
  font-weight: 800;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 6px;
}

.proc-fee {
  font-size: 0.95rem;
  font-weight: 900;
  color: #2563eb;
}

.proc-desc {
  font-size: 0.78rem;
  color: #64748b;
  line-height: 1.4;
  margin: 0;
}

.proc-badge-popular {
  font-size: 0.68rem;
  font-weight: 800;
  background: #dbeafe;
  color: #1d4ed8;
  padding: 2px 6px;
  border-radius: 9999px;
}

.proc-badge-urgent {
  font-size: 0.68rem;
  font-weight: 800;
  background: #fee2e2;
  color: #dc2626;
  padding: 2px 6px;
  border-radius: 9999px;
}

/* Document Upload Dropzones */
.doc-upload-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.doc-upload-box {
  border: 2px dashed #cbd5e1;
  border-radius: 14px;
  padding: 24px 20px;
  text-align: center;
  background: #fafafa;
  position: relative;
  cursor: pointer;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.doc-upload-box:hover {
  border-color: #2563eb;
  background: #eff6ff;
}

.doc-upload-box input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 3;
}

.doc-upload-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffffff;
  color: #2563eb;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: var(--transition-normal);
}

.doc-upload-box:hover .doc-upload-icon {
  background: #2563eb;
  color: #ffffff;
  transform: scale(1.08);
}

.doc-upload-title {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--text-bold);
}

.doc-upload-hint {
  font-size: 0.76rem;
  color: var(--text-subtle);
  line-height: 1.35;
}

.doc-file-status {
  font-size: 0.78rem;
  font-weight: 700;
  color: #2563eb;
  word-break: break-all;
}

.doc-file-status.file-selected {
  color: #15803d;
}

.doc-preview-img {
  max-width: 100%;
  max-height: 120px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  margin-top: 4px;
  object-fit: contain;
  box-shadow: var(--shadow-sm);
}

/* Step 3: Review Section Boxes */
.step-panel-title-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.step-panel-icon-box {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background: var(--primary-subtle);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.step-panel-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-bold);
  line-height: 1.2;
}

.step-panel-sub {
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.review-sections-wrap {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.review-section-box {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.review-box-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e2e8f0;
}

.review-box-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-bold);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-review-edit {
  background: transparent;
  border: none;
  color: #2563eb;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.btn-review-edit:hover {
  text-decoration: underline;
}

.review-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.review-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.rev-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-subtle);
  letter-spacing: 0.03em;
}

.rev-val {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-bold);
  overflow-wrap: break-word;
}

.review-travelers-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.review-traveler-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
}

.rev-trav-badge {
  font-size: 0.74rem;
  font-weight: 800;
  color: #2563eb;
  background: #eff6ff;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.rev-trav-info {
  font-size: 0.84rem;
  color: var(--text-bold);
}

.terms-agreement-box {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.terms-checkbox {
  width: 20px;
  height: 20px;
  accent-color: #2563eb;
  margin-top: 2px;
  flex-shrink: 0;
  cursor: pointer;
}

.terms-text {
  font-size: 0.84rem;
  color: #1e3a8a;
  line-height: 1.5;
}

.terms-text a {
  color: #2563eb;
  font-weight: 700;
  text-decoration: underline;
}

/* Wizard Navigation Buttons Footer */
.wizard-footer-nav {
  padding: 24px 40px;
  border-top: 1.5px solid #f1f5f9;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.wizard-footer-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.btn-wizard {
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 12px;
}

.btn-submit-final {
  background: #16a34a !important;
  border-color: #15803d !important;
  box-shadow: 0 4px 14px rgba(22, 163, 74, 0.35) !important;
}

.btn-submit-final:hover {
  background: #15803d !important;
}

/* Input validation error styles */
.input-error {
  border-color: #dc2626 !important;
  background-color: #fef2f2 !important;
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.12) !important;
}

.field-error-msg {
  font-size: 0.76rem;
  font-weight: 700;
  color: #dc2626;
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Success Confirmation Card */
.confirmation-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.confirmation-card {
  background: #ffffff;
  border: 1.5px solid #86efac;
  border-radius: var(--radius-lg);
  padding: 42px 36px;
  box-shadow: 0 25px 50px -12px rgba(22, 163, 74, 0.15);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.success-check-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #dcfce7;
  color: #16a34a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  box-shadow: 0 0 0 8px rgba(22, 163, 74, 0.12);
  animation: pulseGreen 2s infinite ease-in-out;
}

@keyframes pulseGreen {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.4);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(22, 163, 74, 0);
  }
}

.confirm-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-bold);
  line-height: 1.2;
}

.confirm-sub {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 580px;
}

.tracking-badge-box {
  background: #f8fafc;
  border: 1.5px dashed #2563eb;
  border-radius: var(--radius-md);
  padding: 16px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.tracking-label {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-subtle);
  letter-spacing: 0.04em;
}

.tracking-code {
  font-size: 1.6rem;
  font-weight: 900;
  color: #2563eb;
  letter-spacing: 0.08em;
  font-family: monospace;
}

.confirm-details-table {
  width: 100%;
  background: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  text-align: left;
}

.confirm-details-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 18px;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.88rem;
}

.confirm-details-row:last-child {
  border-bottom: none;
}

.confirm-dt-label {
  color: var(--text-subtle);
  font-weight: 600;
}

.confirm-dt-val {
  font-weight: 800;
  color: var(--text-bold);
}

.confirm-actions-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  width: 100%;
  margin-top: 6px;
}

/* ==========================================================================
   APPLICATION WIZARD RESPONSIVE ADJUSTMENTS
   ========================================================================== */

@media (max-width: 1024px) {
  .apply-layout-grid {
    max-width: 100%;
  }

  .processing-tier-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .apply-section {
    padding: 24px 0 60px;
  }

  .apply-main-heading {
    font-size: 1.7rem;
  }

  .apply-wizard-card {
    border-radius: 16px;
  }

  .wizard-stepper-header {
    padding: 18px 16px 14px;
  }

  .stepper-progress-track {
    left: 45px;
    right: 45px;
    top: 34px;
  }

  .step-pill-circle {
    width: 32px;
    height: 32px;
    font-size: 0.8rem;
  }

  .wizard-step-pill {
    width: 75px;
  }

  .step-pill-label {
    font-size: 0.68rem;
  }

  .wizard-form-body {
    padding: 24px 18px;
  }

  .form-row-2 {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }

  .form-row-3 {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }

  .phone-input-group {
    flex-direction: column;
    gap: 10px;
  }

  .phone-code-select {
    width: 100% !important;
    max-width: 100%;
  }

  .gender-toggle-group {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .doc-upload-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .review-grid-2 {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .wizard-footer-nav {
    padding: 18px 20px;
    flex-direction: column-reverse;
    gap: 12px;
  }

  .wizard-footer-actions {
    width: 100%;
    margin-left: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .wizard-footer-nav .btn,
  .wizard-footer-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .confirmation-card {
    padding: 30px 20px;
  }

  .confirm-title {
    font-size: 1.45rem;
  }

  .tracking-code {
    font-size: 1.35rem;
  }

  .confirm-actions-row {
    flex-direction: column;
    align-items: stretch;
  }

  .confirm-actions-row .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .wizard-stepper-header {
    padding: 14px 10px 10px;
  }

  .stepper-progress-track {
    left: 32px;
    right: 32px;
    top: 30px;
  }

  .step-pill-circle {
    width: 28px;
    height: 28px;
    font-size: 0.74rem;
  }

  .wizard-step-pill {
    width: 65px;
  }

  .step-pill-label {
    font-size: 0.62rem;
  }

  .wizard-form-body {
    padding: 18px 14px;
  }

  .traveler-entry-card {
    padding: 18px 14px;
  }
}

/* ==========================================================================
   AGENTIC AI TRAVEL & VISA COPILOT WIDGET
   ========================================================================== */

.agent-copilot-container {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 99999;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Floating Launcher Trigger Button */
.agent-trigger-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  padding: 8px 20px 8px 8px;
  cursor: pointer;
  box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.4), 0 0 0 1px rgba(37, 99, 235, 0.3);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  outline: none;
}

.agent-trigger-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 15px 35px -5px rgba(30, 58, 138, 0.5), 0 0 20px rgba(37, 99, 235, 0.4);
}

.agent-trigger-btn:active {
  transform: scale(0.97);
}

.agent-trigger-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb 0%, #38bdf8 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 2px 10px rgba(37, 99, 235, 0.4);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.agent-trigger-btn:hover .agent-trigger-avatar {
  transform: rotate(15deg);
}

.agent-trigger-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.agent-tag-badge {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #38bdf8;
  text-transform: uppercase;
}

.agent-tag-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.agent-online-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #22c55e;
  border: 2px solid #0f172a;
  position: absolute;
  top: 6px;
  left: 38px;
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
  }
  50% {
    transform: scale(1.15);
    box-shadow: 0 0 0 6px rgba(34, 197, 94, 0);
  }
}

/* Agent Chat Window Panel */
.agent-panel-window {
  position: absolute;
  bottom: 74px;
  right: 0;
  width: 420px;
  max-width: calc(100vw - 32px);
  height: 600px;
  max-height: calc(100vh - 120px);
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 24px;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25), 0 0 0 1px rgba(30, 58, 138, 0.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: panelSlideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  z-index: 100000;
}

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

/* Panel Header */
.agent-panel-header {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
  padding: 16px 20px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.agent-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.agent-header-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb 0%, #38bdf8 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  position: relative;
  flex-shrink: 0;
}

.agent-header-info {
  display: flex;
  flex-direction: column;
}

.agent-panel-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  letter-spacing: -0.01em;
}

.agent-panel-status {
  font-size: 0.72rem;
  color: #93c5fd;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.status-indicator-green {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
}

.agent-header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.agent-btn-icon {
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: #ffffff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.85rem;
  transition: all 0.2s ease;
}

.agent-btn-icon:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.08);
}

/* Quick Action Suggestion Chips Bar */
.agent-quick-chips-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  overflow-x: auto;
  white-space: nowrap;
  flex-shrink: 0;
  scrollbar-width: none;
}

.agent-quick-chips-bar::-webkit-scrollbar {
  display: none;
}

.agent-chip {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #1e293b;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.agent-chip:hover {
  border-color: #2563eb;
  color: #1d4ed8;
  background: #eff6ff;
  transform: translateY(-1px);
}

/* Chat Message Feed */
.agent-chat-feed {
  flex: 1;
  overflow-y: auto;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #ffffff;
  scroll-behavior: smooth;
}

.agent-msg-row {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  width: 100%;
}

.agent-user-row {
  justify-content: flex-end;
}

.agent-bot-row {
  justify-content: flex-start;
}

.agent-avatar-mini {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb 0%, #38bdf8 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-bottom: 2px;
}

.agent-bubble {
  max-width: 86%;
  padding: 12px 16px;
  border-radius: 18px;
  font-size: 0.88rem;
  line-height: 1.5;
  position: relative;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.agent-bubble-user {
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
  color: #ffffff;
  border-bottom-right-radius: 4px;
}

.agent-bubble-bot {
  background: #f1f5f9;
  color: #0f172a;
  border-bottom-left-radius: 4px;
  border: 1px solid #e2e8f0;
}

.agent-bubble-header {
  font-size: 0.88rem;
  font-weight: 800;
  color: #1e3a8a;
  margin-bottom: 6px;
  padding-bottom: 4px;
  border-bottom: 1px solid #e2e8f0;
}

.agent-bubble-text {
  word-break: break-word;
}

.agent-msg-time {
  display: block;
  font-size: 0.65rem;
  color: #94a3b8;
  margin-top: 4px;
  text-align: right;
}

.agent-bubble-user .agent-msg-time {
  color: rgba(255, 255, 255, 0.7);
}

/* Structured Card Inside Bot Bubble */
.agent-structured-card {
  margin-top: 10px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 0.82rem;
}

.agent-card-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 6px;
}

.stat-col {
  display: flex;
  flex-direction: column;
}

.stat-col .lbl {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #64748b;
}

.stat-col .val {
  font-size: 0.84rem;
  font-weight: 800;
  color: #0f172a;
}

.stat-col .status-val {
  color: #2563eb;
}

.stat-col .fee-val {
  color: #16a34a;
}

.agent-card-reqs {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid #f1f5f9;
  font-size: 0.78rem;
  color: #334155;
}

.agent-msg-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.agent-suggestion-pill {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1d4ed8;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
}

.agent-suggestion-pill:hover {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
}

.agent-msg-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.agent-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  font-size: 0.8rem;
  font-weight: 800;
  border-radius: var(--radius-full);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.agent-action-btn.primary {
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.agent-action-btn.primary:hover {
  background: #1e3a8a;
  color: #ffffff;
  transform: translateY(-1px);
}

.agent-action-btn.secondary {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #334155;
}

.agent-action-btn.secondary:hover {
  background: #f8fafc;
  border-color: #94a3b8;
  color: #0f172a;
}

/* Typing Indicator Animation */
.agent-typing-bubble {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px 14px;
}

.typing-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #94a3b8;
  animation: typingBounce 1.4s infinite ease-in-out both;
}

.typing-dot:nth-child(1) { animation-delay: -0.32s; }
.typing-dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes typingBounce {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.5; }
  40% { transform: scale(1); opacity: 1; }
}

/* Interactive Input Footer */
.agent-input-footer {
  padding: 12px 16px 14px;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  flex-shrink: 0;
}

.agent-input-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: 24px;
  padding: 4px 6px 4px 14px;
  transition: all 0.2s ease;
}

.agent-input-wrapper:focus-within {
  border-color: #2563eb;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.agent-input-field {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 0.88rem;
  color: #0f172a;
  outline: none;
  font-family: inherit;
}

.agent-input-field::placeholder {
  color: #94a3b8;
  font-size: 0.82rem;
}

.agent-send-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #2563eb;
  color: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.88rem;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.agent-send-btn:hover {
  background: #1e40af;
  transform: scale(1.05);
}

.agent-send-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.agent-footer-sub {
  font-size: 0.64rem;
  color: #94a3b8;
  text-align: center;
  margin-top: 6px;
}

/* Responsive Rules for Mobile Copilot */
@media (max-width: 768px) {
  .agent-copilot-container {
    bottom: 20px;
    right: 20px;
  }

  .agent-trigger-text {
    display: none;
  }

  .agent-trigger-btn {
    padding: 6px;
    border-radius: 50%;
  }

  .agent-online-dot {
    top: 2px;
    left: 32px;
  }

  .agent-panel-window {
    bottom: 70px;
    right: -10px;
    width: calc(100vw - 20px);
    height: 520px;
    max-height: 80vh;
    border-radius: 20px;
  }
}