/* ============================================
   WorldwideWings – Main Stylesheet
   ============================================ */

/* Variables */
:root {
  --primary: #1A3668;
  --primary-light: #2A5298;
  --primary-dark: #112250;
  --accent: #C9A347;
  --accent-dark: #A8872E;
  --accent-light: #DDB95A;
  --dark: #1A1A2E;
  --gray-dark: #2D3748;
  --gray-mid: #718096;
  --gray-light: #A0AEC0;
  --border: #E2E8F0;
  --light: #F7FAFC;
  --light2: #EDF2F7;
  --white: #FFFFFF;
  --success: #38A169;
  --error: #E53E3E;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow: 0 4px 20px rgba(0,0,0,0.09);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.13);
  --shadow-hover: 0 8px 30px rgba(27,58,107,0.18);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --transition: 0.3s ease;
  --max-width: 1200px;
  --header-height: 80px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  color: var(--gray-dark);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* Typography */
h1, h2, h3, h4, h5 {
  font-family: 'Poppins', 'Segoe UI', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.3;
  color: var(--dark);
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.15rem; }
p { color: var(--gray-mid); }

/* Container */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Section */
.section { padding: 80px 0; }
.section-sm { padding: 60px 0; }
.section-alt { background: var(--light); }

.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header .tag {
  display: inline-block;
  background: rgba(245,166,35,0.12);
  color: var(--accent-dark);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
}
.section-header h2 { margin-bottom: 16px; color: var(--dark); }
.section-header p { max-width: 560px; margin: 0 auto; font-size: 1.05rem; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: var(--dark);
  box-shadow: 0 4px 14px rgba(245,166,35,0.35);
}
.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245,166,35,0.45);
}
.btn-secondary {
  background: var(--white);
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-secondary:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.7);
}
.btn-outline-white:hover {
  background: var(--white);
  color: var(--primary);
}
.btn-sm { padding: 10px 20px; font-size: 0.875rem; }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-block { width: 100%; justify-content: center; }

/* ============ HEADER ============ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
}
.header.scrolled {
  background: var(--white);
  box-shadow: var(--shadow);
}
.header-top {
  background: var(--primary-dark);
  padding: 8px 0;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.85);
}
.header-top .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.header-top-contact {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.header-top-contact a {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.85);
}
.header-top-contact a:hover { color: var(--accent); }
.header-top-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.btn-whatsapp-sm {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #25D366;
  color: var(--white);
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
}
.btn-whatsapp-sm:hover { background: #1ebe5a; }

.header-main {
  padding: 0 0;
  background: var(--primary);
  transition: background var(--transition);
}
.header.scrolled .header-main { background: var(--white); }
.header-main .container {
  display: flex;
  align-items: center;
  height: var(--header-height);
  gap: 16px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.logo-img {
  height: 58px;
  width: auto;
  object-fit: contain;
  display: block;
  border-radius: 8px;
  background: var(--white);
  padding: 4px 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transition: box-shadow var(--transition);
}
.logo-img:hover { box-shadow: 0 4px 14px rgba(0,0,0,0.22); }
.logo-img-sm {
  height: 44px;
  padding: 3px 8px;
}
.header.scrolled .logo-img {
  box-shadow: 0 2px 8px rgba(27,58,107,0.12);
}

/* Nav */
.nav { display: flex; align-items: center; gap: 2px; flex: 1; justify-content: center; }
.nav-item { position: relative; }
.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 11px;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}
.header.scrolled .nav-link { color: var(--gray-dark); }
.nav-link:hover, .nav-link.active { color: var(--accent); background: rgba(245,166,35,0.1); }
.nav-link i { font-size: 0.65rem; }

/* Dropdown */
.dropdown { position: relative; }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: var(--transition);
  z-index: 100;
}
.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  color: var(--gray-dark);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.dropdown-menu a i { width: 18px; color: var(--primary); font-size: 0.85rem; }
.dropdown-menu a:hover { background: var(--light); color: var(--primary); }

.header-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.header-cta .btn { padding: 10px 20px; font-size: 0.875rem; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.header.scrolled .hamburger span { background: var(--primary); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0; right: -100%;
  width: 85%;
  max-width: 360px;
  height: 100vh;
  background: var(--white);
  z-index: 999;
  overflow-y: auto;
  transition: right 0.4s ease;
  box-shadow: -5px 0 30px rgba(0,0,0,0.15);
  flex-direction: column;
}
.mobile-nav.open { right: 0; }
.mobile-nav-header {
  padding: 20px 24px;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mobile-nav-close {
  color: var(--white);
  font-size: 1.4rem;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  cursor: pointer;
}
.mobile-nav-body { padding: 16px 0; }
.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--gray-dark);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.mobile-nav-link:hover { background: var(--light); color: var(--primary); }
.mobile-sub { background: var(--light); display: none; }
.mobile-sub.open { display: block; }
.mobile-sub a {
  display: block;
  padding: 12px 24px 12px 40px;
  font-size: 0.875rem;
  color: var(--gray-mid);
  border-bottom: 1px solid var(--border);
}
.mobile-sub a:hover { color: var(--primary); }
.mobile-nav-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--border);
}
.mobile-nav-footer .btn { width: 100%; margin-bottom: 10px; justify-content: center; }
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 998;
  display: none;
  opacity: 0;
  transition: opacity var(--transition);
}
.overlay.open { display: block; opacity: 1; }

/* ============ HERO ============ */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--header-height) + 80px);
  padding-bottom: 60px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-blob {
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: rgba(245,166,35,0.07);
  right: -200px; top: -100px;
  pointer-events: none;
}
.hero-blob2 {
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  left: -100px; bottom: -100px;
  pointer-events: none;
}
.hero .container {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245,166,35,0.15);
  border: 1px solid rgba(245,166,35,0.3);
  color: var(--accent-light);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
}
.hero-badge i { font-size: 0.7rem; }
.hero-title { color: var(--white); margin-bottom: 20px; }
.hero-title span { color: var(--accent); }
.hero-subtitle {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  margin-bottom: 36px;
  max-width: 500px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.hero-stat { text-align: center; }
.hero-stat .number {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent);
  font-family: 'Poppins', sans-serif;
  line-height: 1;
}
.hero-stat .label { font-size: 0.78rem; color: rgba(255,255,255,0.65); text-transform: uppercase; letter-spacing: 0.5px; margin-top: 4px; }

/* Hero Form Card */
.hero-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}
.hero-form-card h3 { font-size: 1.25rem; margin-bottom: 6px; color: var(--primary); }
.hero-form-card p { font-size: 0.85rem; margin-bottom: 24px; color: var(--gray-mid); }

/* Forms */
.form-group { margin-bottom: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-dark);
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--gray-dark);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(27,58,107,0.1);
}
.form-group select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M6 8L0 0h12z' fill='%23718096'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.form-group textarea { resize: vertical; min-height: 80px; }
.form-note { font-size: 0.75rem; color: var(--gray-light); margin-top: 12px; text-align: center; }

/* ============ TRUST BAR ============ */
.trust-bar {
  background: var(--primary-dark);
  padding: 20px 0;
}
.trust-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 24px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.85);
  font-size: 0.875rem;
}
.trust-item i { color: var(--accent); font-size: 1.2rem; }
.trust-item span { font-weight: 600; color: var(--white); }

/* ============ SERVICES ============ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}
.service-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
  color: var(--white);
}
.service-card h3 { font-size: 1.1rem; margin-bottom: 10px; color: var(--dark); }
.service-card p { font-size: 0.875rem; margin-bottom: 20px; line-height: 1.6; }
.service-card .know-more {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.service-card .know-more:hover { color: var(--accent-dark); gap: 10px; }

/* ============ WHY CHOOSE US ============ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.why-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 28px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--border);
  transition: var(--transition);
}
.why-card:hover { box-shadow: var(--shadow); border-color: var(--accent); }
.why-icon {
  flex-shrink: 0;
  width: 52px; height: 52px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(27,58,107,0.1), rgba(245,166,35,0.1));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  color: var(--primary);
}
.why-card h4 { margin-bottom: 6px; color: var(--dark); }
.why-card p { font-size: 0.875rem; }

/* ============ PROCESS ============ */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 40px; left: 60px; right: 60px;
  height: 2px;
  background: linear-gradient(to right, var(--accent), var(--primary));
  z-index: 0;
}
.step {
  text-align: center;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}
.step-num {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  font-size: 1.6rem;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  border: 4px solid var(--white);
  box-shadow: var(--shadow);
  font-family: 'Poppins', sans-serif;
}
.step:nth-child(odd) .step-num { background: linear-gradient(135deg, var(--accent), var(--accent-dark)); color: var(--dark); }
.step h4 { margin-bottom: 8px; font-size: 1rem; }
.step p { font-size: 0.85rem; }

/* ============ COUNTRIES ============ */
.countries-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.country-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 12px 20px;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
}
.country-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}
.country-flag {
  width: 64px;
  height: 43px;
  margin: 0 auto 14px;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.country-flag img { width: 100%; height: 100%; object-fit: cover; display: block; }
.country-card h4 { font-size: 0.95rem; color: var(--dark); margin-bottom: 5px; }
.country-card span { font-size: 0.75rem; color: var(--gray-mid); }

/* ============ TESTIMONIALS ============ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  border: 1.5px solid var(--border);
  transition: var(--transition);
  position: relative;
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 16px; right: 24px;
  font-size: 5rem;
  font-family: Georgia, serif;
  color: rgba(245,166,35,0.15);
  line-height: 1;
}
.testimonial-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.stars { color: var(--accent); font-size: 0.9rem; margin-bottom: 14px; }
.testimonial-text { font-size: 0.9rem; font-style: italic; color: var(--gray-dark); margin-bottom: 20px; line-height: 1.7; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}
.author-name { font-weight: 700; font-size: 0.9rem; color: var(--dark); }
.author-detail { font-size: 0.78rem; color: var(--gray-light); }
.author-service { font-size: 0.75rem; color: var(--primary); font-weight: 600; margin-top: 2px; }

/* Photo avatar */
.author-photo {
  width: 52px; height: 52px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--accent);
}

/* Video testimonial card */
.testimonial-card.video-card {
  padding: 0;
  overflow: hidden;
  grid-column: span 1;
}
.testimonial-card.video-card .video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  background: var(--dark);
}
.testimonial-card.video-card video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.testimonial-card.video-card .video-label {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--accent);
  color: var(--dark);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 20px;
  display: flex; align-items: center; gap: 5px;
}
.testimonial-card.video-card .video-body { padding: 24px 28px; }
.testimonial-card.video-card::before { display: none; }

@media (max-width: 768px) {
  .testimonial-card.video-card { grid-column: span 1; }
}

/* Vertical (portrait) testimonial gallery */
.vgallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: 980px;
  margin: 0 auto;
}
.vgallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1.5px solid var(--border);
  background: var(--dark);
  aspect-ratio: 9 / 16;
  transition: var(--transition);
}
.vgallery-item:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.vgallery-item video,
.vgallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.vgallery-item .vgallery-label {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--accent);
  color: var(--dark);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 20px;
  display: flex; align-items: center; gap: 5px;
  z-index: 2;
}
/* Custom play button overlay */
.vgallery-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 64px; height: 64px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  color: var(--primary);
  font-size: 1.4rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  padding-left: 4px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.35);
  transition: var(--transition);
  z-index: 2;
}
.vgallery-play:hover { transform: translate(-50%, -50%) scale(1.08); background: #fff; }
.vgallery-item.playing .vgallery-play,
.vgallery-item.playing .vgallery-label { opacity: 0; pointer-events: none; }
@media (max-width: 768px) {
  .vgallery { grid-template-columns: 1fr; max-width: 360px; }
}

/* ============ BLOG ============ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.blog-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.blog-img {
  height: 200px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
  position: relative;
}
.blog-img .category-badge {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--accent);
  color: var(--dark);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.blog-body { padding: 24px; }
.blog-meta { font-size: 0.78rem; color: var(--gray-light); margin-bottom: 10px; }
.blog-body h3 { font-size: 1rem; margin-bottom: 10px; color: var(--dark); line-height: 1.4; }
.blog-body p { font-size: 0.85rem; margin-bottom: 16px; }
.read-more {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.read-more:hover { color: var(--accent-dark); gap: 10px; }

/* ============ FAQ ============ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition);
}
.faq-item.open { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  cursor: pointer;
  background: var(--white);
  transition: var(--transition);
}
.faq-question:hover { background: var(--light); }
.faq-item.open .faq-question { background: var(--primary); }
.faq-question h4 {
  font-size: 0.95rem;
  color: var(--dark);
  font-weight: 600;
  line-height: 1.4;
}
.faq-item.open .faq-question h4 { color: var(--white); }
.faq-question i {
  color: var(--gray-mid);
  transition: transform var(--transition);
  flex-shrink: 0;
  margin-left: 16px;
}
.faq-item.open .faq-question i { transform: rotate(45deg); color: var(--accent); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}
.faq-answer-inner { padding: 0 22px 18px; font-size: 0.9rem; line-height: 1.7; }
.faq-item.open .faq-answer { max-height: 400px; }

/* ============ CTA BANNER ============ */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.cta-banner .container { position: relative; }
.cta-banner h2 { color: var(--white); margin-bottom: 16px; }
.cta-banner p { color: rgba(255,255,255,0.8); max-width: 560px; margin: 0 auto 36px; font-size: 1.05rem; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: var(--white);
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(37,211,102,0.35);
}
.btn-whatsapp:hover { background: #1ebe5a; transform: translateY(-2px); }

/* ============ FOOTER ============ */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.75);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-col h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}
.footer-col p { font-size: 0.875rem; line-height: 1.7; margin-bottom: 20px; }
.footer-logo { display: flex; align-items: center; margin-bottom: 20px; }
.footer-logo-img {
  height: 70px;
  width: auto;
  object-fit: contain;
  display: block;
  border-radius: 10px;
  background: var(--white);
  padding: 6px 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}
.footer-links a:hover { color: var(--accent); padding-left: 4px; }
.footer-links a i { font-size: 0.7rem; color: var(--accent); }
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.875rem;
}
.footer-contact i { color: var(--accent); margin-top: 3px; flex-shrink: 0; }
.footer-contact a { color: rgba(255,255,255,0.75); }
.footer-contact a:hover { color: var(--accent); }
.social-links { display: flex; gap: 10px; margin-top: 16px; }
.social-link {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  transition: var(--transition);
}
.social-link:hover { background: var(--accent); color: var(--dark); transform: translateY(-3px); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
}
.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.5); }
.footer-legal { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-legal a { font-size: 0.78rem; color: rgba(255,255,255,0.5); }
.footer-legal a:hover { color: var(--accent); }

/* ============ PAGE HERO (inner pages) ============ */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 160px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero .container { position: relative; }
.page-hero .breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
}
.page-hero .breadcrumb a { color: rgba(255,255,255,0.65); }
.page-hero .breadcrumb a:hover { color: var(--accent); }
.page-hero .breadcrumb i { font-size: 0.6rem; }
.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero p { color: rgba(255,255,255,0.8); max-width: 600px; margin: 0 auto; font-size: 1.05rem; }

/* ============ ABOUT PAGE ============ */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-visual {
  position: relative;
}
.about-img-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  height: 400px;
  display: flex; align-items: center; justify-content: center;
  font-size: 6rem;
}
.about-badge-float {
  position: absolute;
  bottom: -20px; right: -20px;
  background: var(--white);
  padding: 20px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  text-align: center;
  border: 2px solid var(--accent);
}
.about-badge-float .num { font-size: 2.2rem; font-weight: 800; color: var(--primary); font-family: 'Poppins', sans-serif; line-height: 1; }
.about-badge-float .lbl { font-size: 0.78rem; color: var(--gray-mid); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.about-content .tag { display: inline-block; background: rgba(245,166,35,0.12); color: var(--accent-dark); font-weight: 600; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1.5px; padding: 6px 16px; border-radius: 50px; margin-bottom: 16px; }
.about-content h2 { margin-bottom: 16px; }
.about-content p { margin-bottom: 16px; }
.about-points { margin: 24px 0; }
.about-points li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border);
  font-weight: 500;
  color: var(--gray-dark);
}
.about-points li:last-child { border-bottom: none; }
.about-points li i { color: var(--success); flex-shrink: 0; }
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}
.team-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--border);
  text-align: center;
  transition: var(--transition);
}
.team-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.team-avatar {
  height: 160px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem;
}
.team-card-body { padding: 20px; }
.team-card-body h4 { font-size: 1rem; color: var(--dark); margin-bottom: 4px; }
.team-card-body .role { font-size: 0.8rem; color: var(--accent-dark); font-weight: 600; margin-bottom: 8px; display: block; }
.team-card-body p { font-size: 0.82rem; }

/* ============ SERVICE DETAIL PAGE ============ */
.service-detail-intro {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: start;
}
.service-detail-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 20px);
}
.sidebar-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 20px;
}
.sidebar-card-header {
  background: var(--primary);
  padding: 18px 24px;
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
}
.sidebar-card-body { padding: 20px 24px; }
.sidebar-services li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
}
.sidebar-services li:last-child { border-bottom: none; }
.sidebar-services a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gray-dark);
  transition: var(--transition);
}
.sidebar-services a:hover { color: var(--primary); }
.sidebar-services a.active { color: var(--primary); font-weight: 600; }
.sidebar-services a i { color: var(--accent); font-size: 0.8rem; width: 16px; }
.feature-list { margin: 20px 0; }
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.feature-item:last-child { border-bottom: none; }
.feature-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(27,58,107,0.08);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}
.feature-item h4 { font-size: 0.95rem; margin-bottom: 4px; }
.feature-item p { font-size: 0.85rem; }
.eligibility-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 16px;
}
.eligibility-item {
  background: var(--light);
  border-radius: var(--radius-sm);
  padding: 16px;
  border-left: 3px solid var(--accent);
}
.eligibility-item h4 { font-size: 0.85rem; color: var(--gray-dark); font-weight: 600; margin-bottom: 4px; }
.eligibility-item p { font-size: 0.82rem; }

/* ============ COUNTRY PAGE ============ */
.country-hero-info {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: start;
}
.country-stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  margin-bottom: 32px;
  border: 1.5px solid var(--border);
}
.cs-stat { text-align: center; }
.cs-stat .num { font-size: 1.6rem; font-weight: 800; color: var(--primary); font-family: 'Poppins', sans-serif; display: block; }
.cs-stat .lbl { font-size: 0.78rem; color: var(--gray-mid); }
.visa-types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 16px;
}
.visa-type-card {
  background: var(--light);
  border-radius: var(--radius-sm);
  padding: 20px;
  text-align: center;
  border: 1.5px solid var(--border);
  transition: var(--transition);
}
.visa-type-card:hover { border-color: var(--primary); background: var(--white); }
.visa-type-card i { font-size: 1.8rem; color: var(--primary); margin-bottom: 10px; }
.visa-type-card h4 { font-size: 0.875rem; color: var(--dark); margin-bottom: 6px; }
.visa-type-card p { font-size: 0.78rem; }

/* ============ CONTACT PAGE ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
  align-items: start;
}
.contact-info-card {
  background: var(--primary);
  border-radius: var(--radius);
  padding: 36px;
  color: var(--white);
  position: sticky;
  top: calc(var(--header-height) + 20px);
}
.contact-info-card h3 { color: var(--white); margin-bottom: 8px; }
.contact-info-card > p { color: rgba(255,255,255,0.8); margin-bottom: 32px; font-size: 0.9rem; }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}
.cd-icon {
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}
.cd-label { font-size: 0.75rem; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
.cd-value { font-weight: 600; color: var(--white); font-size: 0.9rem; }
.cd-value a { color: var(--white); }
.cd-value a:hover { color: var(--accent); }
.contact-form-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
  border: 1.5px solid var(--border);
}
.contact-form-card h3 { margin-bottom: 6px; }
.contact-form-card > p { margin-bottom: 28px; font-size: 0.9rem; }
.map-embed {
  background: var(--light2);
  border-radius: var(--radius);
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 32px;
  border: 1.5px solid var(--border);
  overflow: hidden;
  color: var(--gray-mid);
  font-size: 0.875rem;
  gap: 8px;
}

/* ============ SUCCESS STORIES ============ */
.stories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.story-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--border);
  transition: var(--transition);
}
.story-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.story-header { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.story-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.story-meta .name { font-weight: 700; color: var(--dark); font-size: 0.95rem; }
.story-meta .service-tag {
  display: inline-block;
  background: rgba(27,58,107,0.1);
  color: var(--primary);
  font-size: 0.72rem;
  padding: 2px 10px;
  border-radius: 50px;
  font-weight: 600;
  margin-top: 4px;
}
.story-card .result {
  background: rgba(56,161,105,0.08);
  border-left: 3px solid var(--success);
  padding: 10px 14px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.85rem;
  color: var(--success);
  font-weight: 600;
  margin-bottom: 14px;
}
.story-card p { font-size: 0.875rem; font-style: italic; color: var(--gray-mid); }

/* ============ BLOG PAGE ============ */
.blog-page-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}
.blog-post-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  gap: 24px;
  margin-bottom: 24px;
  transition: var(--transition);
}
.blog-post-card:hover { box-shadow: var(--shadow-hover); }
.blog-post-img {
  flex-shrink: 0;
  width: 200px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem;
}
.blog-post-body { padding: 24px 24px 24px 0; }
.blog-post-body .category { font-size: 0.75rem; font-weight: 700; color: var(--accent-dark); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px; }
.blog-post-body h3 { font-size: 1.05rem; margin-bottom: 10px; line-height: 1.4; }
.blog-post-body p { font-size: 0.875rem; margin-bottom: 14px; }
.blog-sidebar-widget {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 24px;
}
.widget-header { background: var(--primary); padding: 14px 20px; color: var(--white); font-weight: 700; font-size: 0.9rem; }
.widget-body { padding: 20px; }
.recent-post-item {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
}
.recent-post-item:last-child { border-bottom: none; }
.recent-post-icon { font-size: 1.6rem; flex-shrink: 0; }
.recent-post-title { font-weight: 600; color: var(--dark); font-size: 0.82rem; line-height: 1.4; margin-bottom: 4px; }
.recent-post-date { font-size: 0.75rem; color: var(--gray-light); }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud .tag {
  display: inline-block;
  background: var(--light);
  border: 1.5px solid var(--border);
  color: var(--gray-dark);
  font-size: 0.78rem;
  padding: 5px 12px;
  border-radius: 50px;
  transition: var(--transition);
  cursor: pointer;
}
.tag-cloud .tag:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }

/* ============ LEGAL PAGES ============ */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 0;
}
.legal-content h2 { font-size: 1.4rem; margin: 32px 0 12px; color: var(--dark); }
.legal-content h3 { font-size: 1.1rem; margin: 24px 0 10px; color: var(--dark); }
.legal-content p { margin-bottom: 14px; font-size: 0.95rem; line-height: 1.8; }
.legal-content ul { padding-left: 20px; margin-bottom: 14px; }
.legal-content ul li { margin-bottom: 8px; font-size: 0.95rem; line-height: 1.7; color: var(--gray-mid); list-style: disc; }
.legal-content .last-updated {
  display: inline-block;
  background: var(--light);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--gray-mid);
  margin-bottom: 32px;
  border-left: 3px solid var(--accent);
}

/* ============ TOAST / ALERTS ============ */
.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--success);
  color: var(--white);
  padding: 16px 24px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.4s ease;
}
.toast.show { transform: translateY(0); opacity: 1; }

/* ============ FLOAT WHATSAPP ============ */
.float-whatsapp {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 56px; height: 56px;
  background: #25D366;
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  z-index: 500;
  transition: var(--transition);
}
.float-whatsapp:hover { transform: scale(1.1); background: #1ebe5a; }

/* ============ SCROLL TOP ============ */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px; height: 44px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  box-shadow: var(--shadow);
  z-index: 500;
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
  cursor: pointer;
}
.scroll-top.visible { opacity: 1; visibility: visible; }
.scroll-top:hover { background: var(--accent); transform: translateY(-3px); }

/* ============ UTILITIES ============ */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent-dark); }
.text-white { color: var(--white); }
.bg-primary { background: var(--primary); }
.bg-accent { background: var(--accent); }
.bg-light { background: var(--light); }
.mb-0 { margin-bottom: 0; }
.mt-20 { margin-top: 20px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }
.divider { height: 1px; background: var(--border); margin: 40px 0; }
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
}
.badge-primary { background: rgba(27,58,107,0.1); color: var(--primary); }
.badge-accent { background: rgba(245,166,35,0.15); color: var(--accent-dark); }
.badge-success { background: rgba(56,161,105,0.1); color: var(--success); }

/* ============ ANIMATIONS ============ */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }
.animate-up { animation: fadeInUp 0.6s ease forwards; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero .container { gap: 40px; }
  .countries-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  :root { --header-height: 68px; }
  .nav, .header-cta { display: none; }
  .hamburger { display: flex; }
  .mobile-nav { display: flex; }
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-stats { justify-content: center; }
  .hero-actions { justify-content: center; }
  .hero-subtitle { margin: 0 auto 36px; }
  .hero-badge { display: block; }
  .about-intro { grid-template-columns: 1fr; }
  .about-visual { order: -1; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info-card { position: static; }
  .country-hero-info { grid-template-columns: 1fr; }
  .service-detail-intro { grid-template-columns: 1fr; }
  .service-detail-sidebar { position: static; }
  .blog-page-grid { grid-template-columns: 1fr; }
  .blog-post-card { flex-direction: column; }
  .blog-post-img { width: 100%; height: 160px; }
  .blog-post-body { padding: 20px; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .process-steps::before { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .eligibility-grid { grid-template-columns: 1fr; }
  .country-stats-bar { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .section { padding: 60px 0; }
  .container { padding: 0 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .header-top { display: none; }
  .hero { padding-top: calc(var(--header-height) + 20px); }
  .page-hero { padding: calc(var(--header-height) + 30px) 0 40px; }
  .hero-stats { gap: 20px; }
  .services-grid { grid-template-columns: 1fr; }
  .countries-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .stories-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .section-header { margin-bottom: 36px; }
  .hero-form-card { padding: 24px 20px; }
  .contact-form-card { padding: 24px 20px; }
  .contact-info-card { padding: 24px 20px; }
  .footer-bottom .container { flex-direction: column; align-items: center; text-align: center; }
}

/* ============ RESPONSIVE ENHANCEMENTS ============ */

/* Guard against horizontal overflow on any device.
   `clip` (not `hidden`) so it does not break the sticky sidebars. */
html, body { overflow-x: clip; max-width: 100%; }
img, video, iframe { max-width: 100%; }

/* Long emails / addresses / URLs must wrap instead of pushing layout wide */
.footer-contact div,
.cd-value,
.breadcrumb,
.header-top-contact a { overflow-wrap: anywhere; word-break: break-word; }

/* Map embed keeps a tidy aspect on every width */
.map-embed iframe { width: 100%; display: block; }

/* ---- Tablets (≤ 900px): collapse the about-page 4-up stats row to 2-up ---- */
@media (max-width: 900px) {
  .stats-row { grid-template-columns: repeat(2, 1fr) !important; }
  .header-top-contact { gap: 14px; flex-wrap: wrap; }
}

/* ---- Large phones / small tablets (≤ 600px) ----
   Collapse remaining fixed multi-column inline grids (visa-type cards,
   stat rows, etc.) to a single column so nothing is cramped. */
@media (max-width: 600px) {
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns: 1fr 1fr"],
  [style*="grid-template-columns:1fr 1fr 1fr"],
  [style*="grid-template-columns:repeat(3"],
  [style*="grid-template-columns: repeat(3"],
  [style*="grid-template-columns:repeat(4"] {
    grid-template-columns: 1fr !important;
  }
  .stats-row { grid-template-columns: 1fr 1fr !important; gap: 18px !important; }
  .team-grid { grid-template-columns: 1fr 1fr; }
}

/* ---- Phones (≤ 480px) ---- */
@media (max-width: 480px) {
  :root { --header-height: 60px; }
  html { font-size: 15px; }
  .container { padding: 0 14px; }
  .section, .section-sm { padding: 46px 0; }

  .logo-img { height: 46px; padding: 3px 8px; }

  .btn { padding: 12px 18px; font-size: 0.9rem; }
  .btn-lg { padding: 13px 20px; font-size: 0.95rem; }
  .btn-block { width: 100%; justify-content: center; }

  .section-header { margin-bottom: 32px; }
  .section-header p { font-size: 0.98rem; }

  .hero-stat .number { font-size: 1.5rem; }
  .hero-form-card, .contact-form-card, .contact-info-card { padding: 22px 16px; }

  .countries-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .country-stats-bar { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: 1fr; }

  /* Stacked action buttons take full width for easy tapping */
  .hero-actions .btn,
  .contact-form-card a.btn,
  .contact-form-card a.btn-whatsapp { width: 100%; justify-content: center; }
  .hero-actions { flex-direction: column; align-items: stretch; }

  /* Floating action buttons slightly tighter to the edge */
  .float-whatsapp { bottom: 20px; left: 16px; width: 50px; height: 50px; font-size: 1.3rem; }
  .scroll-top { bottom: 20px; right: 16px; }
}

/* ---- Tiny phones (≤ 360px) ---- */
@media (max-width: 360px) {
  .hero-stats { gap: 14px; }
  .hero-stat .number { font-size: 1.35rem; }
  .stats-row { grid-template-columns: 1fr !important; }
  .breadcrumb { font-size: 0.78rem; }
}
