/* ==========================================================================
   Libya Soft Company - Main Stylesheet
   شركة ليبيا سوفت للاتصالات والتقنية
   ========================================================================== */

/* ---------- 1. Variables / Theme ---------- */
:root {
  --navy: #17479E;
  --navy-dark: #0f326f;
  --navy-light: #1e5cb8;
  --orange: #E89A34;
  --orange-dark: #c97f1f;
  --orange-light: #f0ad4e;
  --white: #ffffff;
  --light: #f4f7fb;
  --gray: #64748b;
  --gray-light: #e8edf4;
  --text: #1a2b42;
  --text-muted: #5c6b7f;

  --bg: #ffffff;
  --bg-alt: #f4f7fb;
  --surface: #ffffff;
  --border: #e2e8f0;
  --heading: #17479E;
  --body-text: #334155;

  --gradient-primary: linear-gradient(135deg, #17479E 0%, #1e5cb8 100%);
  --gradient-accent: linear-gradient(135deg, #E89A34 0%, #f0ad4e 100%);
  --gradient-hero: linear-gradient(115deg, rgba(15,50,111,0.94) 0%, rgba(23,71,158,0.88) 55%, rgba(30,92,184,0.75) 100%);

  --shadow-sm: 0 1px 3px rgba(23, 71, 158, 0.06);
  --shadow: 0 4px 24px rgba(23, 71, 158, 0.08);
  --shadow-lg: 0 12px 40px rgba(23, 71, 158, 0.12);
  --shadow-orange: 0 8px 24px rgba(232, 154, 52, 0.28);

  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;

  --header-height: 168px;

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font: "Alexandria", "Segoe UI", Tahoma, sans-serif;
}

/* ---------- 2. Base ---------- */
* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  width: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font);
  background-color: var(--bg);
  color: var(--body-text);
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  line-height: 1.75;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--heading);
  font-weight: 800;
  line-height: 1.35;
}

a { text-decoration: none; color: var(--navy); transition: color var(--transition); }
a:hover { color: var(--orange); }

img, svg, video, iframe { max-width: 100%; height: auto; }

.section { padding: 80px 0; position: relative; }
.section-alt {
  background-color: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.text-orange { color: var(--orange) !important; }
.text-navy { color: var(--navy) !important; }
.bg-navy { background: var(--gradient-primary) !important; }

/* ---------- 3. Section headings ---------- */
.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section-head .eyebrow {
  display: inline-block;
  color: var(--orange);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
  padding: 5px 16px;
  border-radius: 6px;
  background: rgba(232, 154, 52, 0.1);
  border: 1px solid rgba(232, 154, 52, 0.2);
}
.section-head h2 {
  font-size: clamp(1.65rem, 3.5vw, 2.25rem);
  margin-bottom: 14px;
  font-weight: 800;
  color: var(--heading);
  letter-spacing: -0.02em;
}
.section-head h2::after {
  content: "";
  display: block;
  width: 50px;
  height: 4px;
  background: var(--gradient-accent);
  border-radius: 2px;
  margin: 14px auto 0;
}
.section-head p { color: var(--text-muted); font-size: 1.02rem; line-height: 1.7; }

.title-underline {
  width: 70px; height: 4px;
  background: var(--gradient-accent);
  border-radius: 4px;
  margin: 0 auto;
}

/* ---------- 4. Buttons ---------- */
.btn {
  font-weight: 700;
  border-radius: 8px;
  padding: 12px 28px;
  transition: all var(--transition);
  border: none;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}
.btn-primary-c {
  background: var(--gradient-accent);
  color: #fff;
  box-shadow: var(--shadow-orange);
}
.btn-primary-c:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(232,154,52,0.4); color:#fff; }
.btn-outline-c {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.75);
}
.btn-outline-c:hover { background: #fff; color: var(--navy); transform: translateY(-2px); }
.btn-navy-c {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-navy-c:hover { transform: translateY(-2px); box-shadow: var(--shadow); color:#fff; }

/* ---------- 5. Preloader ---------- */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--navy-dark);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#preloader.hidden { opacity: 0; visibility: hidden; }
.loader-logo {
  width: 220px;
  height: auto;
  max-height: 220px;
  background: transparent;
  border-radius: 0;
  padding: 0;
  margin-bottom: 14px;
  box-shadow: none;
  object-fit: contain;
  object-position: center;
  animation: loaderPop 0.6s ease both;
  overflow: visible;
}
@keyframes loaderPop { 0%{ transform: scale(0.6); opacity: 0;} 100%{ transform: scale(1); opacity: 1;} }
.loader-signal {
  display: flex;
  gap: 6px;
  align-items: flex-end;
  height: 50px;
  margin-bottom: 20px;
}
.loader-signal span {
  width: 8px;
  background: var(--orange);
  border-radius: 4px;
  animation: signal 1.1s ease-in-out infinite;
}
.loader-signal span:nth-child(1){ height: 16px; animation-delay: 0s;}
.loader-signal span:nth-child(2){ height: 28px; animation-delay: .15s;}
.loader-signal span:nth-child(3){ height: 40px; animation-delay: .3s;}
.loader-signal span:nth-child(4){ height: 28px; animation-delay: .45s;}
.loader-signal span:nth-child(5){ height: 16px; animation-delay: .6s;}
@keyframes signal { 0%,100%{ transform: scaleY(0.4); opacity:.5;} 50%{ transform: scaleY(1); opacity:1;} }
.loader-text {
  color: #fff;
  font-weight: 800;
  letter-spacing: 0;
  font-size: 1.35rem;
  margin-bottom: 18px;
  text-align: center;
  line-height: 1.35;
}
.loader-text small {
  display: inline-block;
  margin-top: 4px;
  color: var(--orange-light);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* ---------- 6. Site Header & Navbar ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1050;
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow); }
.site-header.menu-open .navbar {
  background: #fff !important;
  border-bottom-color: var(--border);
}
.site-header.menu-open .navbar-brand .brand-text b { color: var(--heading) !important; }
.site-header.menu-open .navbar-toggler { color: var(--heading) !important; }

.top-bar {
  background: var(--navy-dark);
  color: #c8d6e8;
  font-size: 0.82rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.top-bar a { color: #c8d6e8; display: inline-flex; align-items: center; gap: 6px; }
.top-bar a:hover { color: var(--orange-light); }
.top-bar-info { display: flex; gap: 20px; flex-wrap: wrap; }
.top-bar-social { display: flex; gap: 10px; }
.top-bar-social a {
  width: 28px; height: 28px;
  border-radius: 6px;
  background: rgba(255,255,255,0.08);
  display: grid; place-items: center;
  font-size: 0.8rem;
}
.top-bar-social a:hover { background: var(--orange); color: #fff; }

.navbar {
  transition: all var(--transition);
  padding: 14px 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.site-header.hero-mode .navbar {
  background: transparent;
  border-bottom-color: transparent;
}
.site-header.scrolled .navbar,
.site-header.hero-mode.scrolled .navbar {
  background: #fff;
  border-bottom-color: var(--border);
  padding: 10px 0;
}
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  max-width: min(420px, 55vw);
  text-decoration: none;
}
.navbar-brand .brand-logo {
  height: 72px;
  width: auto;
  max-width: 72px;
  object-fit: contain;
  object-position: center;
  display: block;
  border-radius: 0;
  flex-shrink: 0;
  background: transparent;
  filter: none;
}
.navbar-brand .brand-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
  line-height: 1.2;
  min-width: 0;
}
.navbar-brand .brand-text b {
  display: block;
  font-size: 1.2rem;
  color: var(--heading);
  font-weight: 800;
  white-space: nowrap;
  position: static;
  margin: 0;
  padding: 0;
}
.navbar-brand .brand-text small {
  display: block;
  color: var(--orange);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  position: static;
  margin: 0;
  padding: 0;
  line-height: 1.2;
}
.site-header.hero-mode:not(.scrolled) .navbar-brand .brand-text b { color: #fff; }
.site-header.hero-mode:not(.scrolled) .navbar-brand .brand-text small { color: var(--orange-light); }

.navbar .nav-link {
  color: var(--heading) !important;
  font-weight: 600;
  font-size: 0.92rem;
  margin: 0 2px;
  position: relative;
  padding: 8px 14px !important;
  border-radius: 6px;
  transition: all var(--transition);
}
.site-header.hero-mode:not(.scrolled) .navbar .nav-link { color: #fff !important; }
.site-header.hero-mode:not(.scrolled) .navbar .nav-link:hover { background: rgba(255,255,255,0.1); color: #fff !important; }
.site-header.hero-mode:not(.scrolled) .navbar .nav-link.active { color: var(--orange-light) !important; background: rgba(255,255,255,0.12); }
.navbar .nav-link:hover { color: var(--orange) !important; background: rgba(232,154,52,0.08); }
.navbar .nav-link.active {
  color: var(--orange) !important;
  background: rgba(232,154,52,0.1);
}

.navbar-toggler { border: none; color: var(--heading); font-size: 1.4rem; padding: 4px 8px; }
.navbar-toggler:focus { box-shadow: none; }
.site-header.hero-mode:not(.scrolled) .navbar-toggler { color: #fff; }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-actions .btn-primary-c { padding: 10px 22px; font-size: 0.9rem; }

@media (max-width: 991px) {
  .top-bar { display: none; }
  :root { --header-height: 88px; }
  .navbar { padding: 8px 0; }
  .navbar-brand { gap: 8px; max-width: 70vw; }
  .navbar-brand .brand-logo { height: 56px; max-width: 56px; }
  .navbar-brand .brand-text b { font-size: 1rem; }
  .navbar-brand .brand-text small { font-size: 0.7rem; }
  .navbar-collapse {
    background: var(--surface);
    margin-top: 10px;
    padding: 12px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    max-height: calc(100vh - 90px);
    overflow-y: auto;
  }
  .navbar .nav-link {
    padding: 12px 14px !important;
    margin: 2px 0;
  }
  .navbar .nav-link,
  .site-header.hero-mode:not(.scrolled) .navbar .nav-link { color: var(--heading) !important; }
  .site-header.hero-mode:not(.scrolled) .navbar .nav-link:hover,
  .site-header.hero-mode:not(.scrolled) .navbar .nav-link.active {
    color: var(--orange) !important;
    background: rgba(232,154,52,0.1);
  }
  .nav-actions { width: 100%; margin-top: 8px; }
  .nav-actions .btn { width: 100%; justify-content: center; }
}

/* ---------- 7. Hero Slider ---------- */
.hero {
  position: relative;
  margin-top: 0;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  background: var(--navy-dark);
}
.hero-track {
  position: relative;
  width: 100%;
  min-height: 100svh;
  min-height: 100vh;
}
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
  z-index: 0;
  pointer-events: none;
  /* Clear the fixed header — do NOT use negative margin on .hero */
  padding-top: calc(var(--header-height) + 24px);
  padding-bottom: 110px;
  box-sizing: border-box;
}
.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
  pointer-events: auto;
}
.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  pointer-events: none;
}
.hero-slide > .container {
  position: relative;
  z-index: 2;
  width: 100%;
}
.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  width: 100%;
  max-width: 720px;
  padding-top: 0;
  padding-bottom: 0;
  box-sizing: border-box;
}
.hero-content .eyebrow {
  display: inline-block;
  max-width: 100%;
  background: rgba(232,154,52,0.15);
  border: 1px solid rgba(232,154,52,0.35);
  color: #fde4c4;
  padding: 7px 18px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 20px;
}
.hero-content h1,
.hero-content .hero-title {
  color: #fff;
  font-size: clamp(1.75rem, 5vw, 4rem);
  margin-bottom: 20px;
  line-height: 1.3;
  max-width: 100%;
  font-weight: 800;
}
.hero-content h1 span,
.hero-content .hero-title span { color: var(--orange-light); }
.hero-content p {
  font-size: clamp(0.95rem, 2vw, 1.3rem);
  color: #dbe6f3;
  margin-bottom: 34px;
  max-width: min(560px, 100%);
}
.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  max-width: 100%;
}

.hero-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 56px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  pointer-events: none;
}
.hero-nav {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.12);
  color: #fff;
  display: grid;
  place-items: center;
  pointer-events: auto;
  transition: all var(--transition);
}
.hero-nav:hover { background: var(--orange); border-color: var(--orange); }
.hero-dots {
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: auto;
}
.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(255,255,255,0.45);
  transition: all var(--transition);
}
.hero-dot.is-active {
  width: 28px;
  border-radius: 6px;
  background: var(--orange);
}

.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  z-index: 4;
  line-height: 0;
  pointer-events: none;
}
.hero-wave svg { width: 100%; height: 90px; display: block; }
.hero-wave path { fill: var(--bg); }

/* ---------- 8. Page banner (inner pages) ---------- */
.page-banner {
  position: relative;
  padding: calc(var(--header-height) + 60px) 0 70px;
  background: var(--gradient-primary);
  overflow: hidden;
  text-align: center;
}
.page-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 30%, rgba(255,122,24,0.25), transparent 40%),
                    radial-gradient(circle at 80% 70%, rgba(18,58,94,0.6), transparent 45%);
}
.page-banner h1 { color: #fff; font-size: clamp(2rem, 5vw, 3rem); position: relative; z-index: 2; }
.page-banner .breadcrumb-c { position: relative; z-index: 2; margin-top: 14px; color: #cdd9e8; }
.page-banner .breadcrumb-c a { color: var(--orange-light); }
.page-banner .breadcrumb-c span { margin: 0 8px; }

/* ---------- 9. Cards / features ---------- */
.card-c {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 30px 26px;
  height: 100%;
  transition: all var(--transition);
  position: relative;
}
.card-c:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(23,71,158,0.15);
}
.card-icon {
  width: 58px; height: 58px;
  border-radius: 12px;
  display: grid; place-items: center;
  font-size: 1.45rem;
  color: var(--navy);
  background: rgba(23,71,158,0.08);
  margin-bottom: 18px;
  transition: all var(--transition);
}
.card-c:hover .card-icon { background: var(--gradient-primary); color: #fff; }
.card-c h4 { font-size: 1.15rem; margin-bottom: 10px; font-weight: 800; }
.card-c p { color: var(--text-muted); margin: 0; font-size: 0.94rem; line-height: 1.65; }

/* feature small */
.feature-mini {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 20px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: all var(--transition);
  height: 100%;
}
.feature-mini:hover { border-color: rgba(23,71,158,0.2); box-shadow: var(--shadow-sm); }
.feature-mini .fm-icon {
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: 10px;
  display: grid; place-items: center;
  background: rgba(23,71,158,0.08);
  color: var(--navy);
  font-size: 1.15rem;
}
.feature-mini h5 { margin: 0 0 4px; font-size: 1rem; font-weight: 800; }
.feature-mini p { margin: 0; color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; }

/* ---------- 10. Stats / Counters ---------- */
.stats-section {
  background: var(--gradient-primary);
  position: relative;
  overflow: hidden;
}
.stats-section::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 15% 50%, rgba(255,122,24,0.2), transparent 35%),
                    radial-gradient(circle at 85% 30%, rgba(255,122,24,0.12), transparent 40%);
}
.stat-box { text-align: center; color: #fff; position: relative; z-index: 2; padding: 20px; }
.stat-box .stat-icon { font-size: 2.2rem; color: var(--orange-light); margin-bottom: 12px; }
.stat-box .stat-num {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1;
  color: #fff;
  display: flex; justify-content: center; align-items: baseline; gap: 4px;
}
.stat-box .stat-num .plus { color: var(--orange-light); }
.stat-box .stat-label { color: #cdd9e8; margin-top: 10px; font-weight: 600; }

/* ---------- 11. About / image blocks ---------- */
.about-img-wrap { position: relative; }
.about-img-wrap img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.about-badge {
  position: absolute;
  bottom: -24px; left: -24px;
  background: var(--gradient-accent);
  color: #fff;
  padding: 22px 26px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-orange);
}
.about-badge b { font-size: 2rem; display: block; line-height: 1; }
.about-badge span { font-size: 0.9rem; }
[dir="rtl"] .about-badge { left: auto; right: -24px; }

.check-list { list-style: none; padding: 0; margin: 24px 0; }
.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
  font-weight: 600;
  color: var(--heading);
  line-height: 1.5;
}
.check-list li i {
  color: var(--orange);
  background: rgba(255,122,24,0.12);
  width: 30px; height: 30px;
  border-radius: 50%;
  display: grid; place-items: center;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Vision / Mission cards */
.vm-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 36px;
  height: 100%;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
}
.vm-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.vm-card .vm-icon {
  width: 70px; height: 70px; border-radius: 20px;
  background: var(--gradient-accent); color: #fff;
  display: grid; place-items: center; font-size: 1.8rem;
  margin-bottom: 22px; box-shadow: var(--shadow-orange);
}
.vm-card .vm-watermark {
  position: absolute; bottom: -20px; left: -10px;
  font-size: 8rem; opacity: 0.05; color: var(--navy);
}
[dir="rtl"] .vm-card .vm-watermark { left: auto; right: -10px; }

/* ---------- 12. Packages ---------- */
.pkg-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-bottom: 50px; }
.pkg-tab {
  padding: 10px 22px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--heading);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition);
  display: flex; align-items: center; gap: 8px;
}
.pkg-tab:hover { border-color: var(--navy); color: var(--navy); }
.pkg-tab.active { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: var(--shadow-sm); }

.pkg-group-title { text-align: center; margin-bottom: 10px; }
.pkg-group-sub { text-align: center; color: var(--text-muted); margin-bottom: 40px; }

.pkg-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 34px 28px;
  height: 100%;
  transition: all var(--transition);
  position: relative;
  text-align: center;
  overflow: hidden;
}
.pkg-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); border-color: var(--orange); }
.pkg-card.popular {
  border: 2px solid var(--orange);
  background: linear-gradient(180deg, rgba(255,122,24,0.06), var(--surface) 40%);
  box-shadow: var(--shadow);
}
.pkg-badge {
  position: absolute;
  top: 18px; left: 50%; transform: translateX(-50%);
  background: var(--gradient-accent);
  color: #fff; font-size: 0.78rem; font-weight: 700;
  padding: 6px 18px; border-radius: 50px;
  box-shadow: var(--shadow-orange);
  display: flex; align-items: center; gap: 6px;
}
.pkg-card .pkg-icon {
  width: 64px; height: 64px; border-radius: 18px;
  display: grid; place-items: center; margin: 20px auto 16px;
  background: rgba(10,37,64,0.06); color: var(--navy); font-size: 1.6rem;
}
.pkg-card.popular .pkg-icon { background: var(--gradient-accent); color:#fff; }
.pkg-card h4 { font-size: 1.3rem; margin-bottom: 4px; }
.pkg-card .pkg-name-ar { color: var(--text-muted); font-size: 0.9rem; }
.pkg-price {
  margin: 20px 0;
  display: flex; align-items: baseline; justify-content: center; gap: 6px;
}
.pkg-price .amount { font-size: 3rem; font-weight: 800; color: var(--orange); line-height: 1; }
.pkg-price .currency { font-size: 1.1rem; color: var(--text-muted); font-weight: 700; }
.pkg-price .period { font-size: 0.95rem; color: var(--text-muted); }
.pkg-specs { list-style: none; padding: 0; margin: 0 0 24px; text-align: right; }
.pkg-specs li { padding: 9px 0; border-bottom: 1px dashed var(--border); display: flex; align-items: center; gap: 10px; color: var(--body-text); font-weight: 600; }
.pkg-specs li i { color: var(--orange); }
.pkg-specs li:last-child { border-bottom: none; }
.pkg-card .btn { width: 100%; }

/* comparison table */
.compare-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.compare-table {
  width: 100%;
  min-width: 640px;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
}
.compare-table th, .compare-table td { padding: 16px 18px; text-align: center; border-bottom: 1px solid var(--border); white-space: nowrap; }
.compare-table thead th { background: var(--gradient-primary); color: #fff; font-weight: 700; }
.compare-table tbody tr:hover { background: rgba(255,122,24,0.05); }
.compare-table td:first-child { font-weight: 700; color: var(--heading); text-align: right; white-space: normal; min-width: 120px; }
.compare-table .price-cell { color: var(--orange); font-weight: 800; }

/* ---------- 13. Why us ---------- */
.why-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

/* ---------- 14. Testimonials ---------- */
.testi-swiper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}
.testi-swiper .swiper-slide {
  box-sizing: border-box;
  height: auto;
}
.testi-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
  height: 100%;
  transition: all var(--transition);
}
.testi-card:hover { box-shadow: var(--shadow); border-color: rgba(23,71,158,0.12); }
.testi-card .quote-mark { font-size: 2rem; color: var(--orange); opacity: 0.25; line-height: 0.5; }
.testi-card p { color: var(--body-text); font-style: italic; margin: 18px 0; }
.testi-stars { color: #ffb400; margin-bottom: 10px; }
.testi-person { display: flex; align-items: center; gap: 14px; margin-top: 20px; }
.testi-person img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; }
.testi-person .tp-name { font-weight: 800; color: var(--heading); }
.testi-person .tp-role { font-size: 0.85rem; color: var(--text-muted); }

/* ---------- 16. News ---------- */
.news-card {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  height: 100%;
  transition: all var(--transition);
}
.news-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.news-thumb { position: relative; overflow: hidden; height: 210px; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.news-card:hover .news-thumb img { transform: scale(1.08); }
.news-date {
  position: absolute; top: 14px; right: 14px;
  background: var(--gradient-accent); color: #fff;
  border-radius: 12px; padding: 8px 14px; text-align: center; line-height: 1;
  box-shadow: var(--shadow-orange);
}
.news-date b { font-size: 1.3rem; display: block; }
.news-date span { font-size: 0.72rem; }
.news-body { padding: 24px; }
.news-body .news-cat { color: var(--orange); font-weight: 700; font-size: 0.85rem; }
.news-body h5 { margin: 8px 0 12px; font-size: 1.15rem; }
.news-body p { color: var(--text-muted); font-size: 0.95rem; }

/* ---------- 17. Team ---------- */
.team-card {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  text-align: center;
  transition: all var(--transition);
  height: 100%;
}
.team-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.team-photo { position: relative; overflow: hidden; height: 280px; background: var(--gradient-primary); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-social {
  position: absolute; bottom: -60px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 10px;
  transition: bottom var(--transition);
}
.team-card:hover .team-social { bottom: 16px; }
.team-social a {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.9); color: var(--navy);
  display: grid; place-items: center;
  backdrop-filter: blur(6px);
}
.team-social a:hover { background: var(--orange); color: #fff; }
.team-body { padding: 22px; }
.team-body h5 { margin: 0 0 4px; }
.team-body .role { color: var(--orange); font-weight: 600; font-size: 0.9rem; }

/* ---------- 18. Coverage ---------- */
.coverage-map-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.coverage-map-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 18px 22px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}
.coverage-map-toolbar h3 {
  margin: 0;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.coverage-map-toolbar h3 i { color: var(--orange); }
.coverage-google-map { min-height: 520px; border: none; border-radius: 0; box-shadow: none; }
.coverage-google-map iframe { min-height: 520px; }
.coverage-map-note {
  padding: 14px 22px;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}
.coverage-map-note a { font-weight: 700; }

.city-pill {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-weight: 600; color: var(--heading);
  transition: all var(--transition);
}
.city-pill:hover { border-color: var(--orange); transform: translateX(-6px); box-shadow: var(--shadow-sm); }
.city-pill i { color: var(--orange); }

.coverage-regions-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}
.coverage-region-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 0;
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}
.coverage-region-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
  border-color: rgba(23, 71, 158, 0.18);
}
.coverage-region-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 16px;
  background: linear-gradient(135deg, rgba(23, 71, 158, 0.06) 0%, rgba(232, 154, 52, 0.08) 100%);
  border-bottom: 1px solid var(--border);
}
.coverage-region-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: var(--navy);
  color: #fff;
  font-size: 1rem;
}
.coverage-region-card h4 {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  color: var(--heading);
  line-height: 1.35;
}
.coverage-region-meta {
  display: block;
  margin-top: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
}
.coverage-region-card ul {
  list-style: none;
  padding: 6px 16px 14px;
  margin: 0;
  flex: 1;
}
.coverage-region-card li {
  padding: 8px 0;
  border-bottom: 1px dashed var(--border);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-weight: 600;
  color: var(--body-text);
  font-size: 0.88rem;
  line-height: 1.45;
}
.coverage-region-card li:last-child { border-bottom: none; }
.coverage-region-card li i { color: #2ecc71; font-size: 0.85rem; flex-shrink: 0; }

@media (max-width: 1199px) {
  .coverage-regions-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
}
@media (max-width: 767px) {
  .coverage-regions-grid { grid-template-columns: 1fr; gap: 16px; }
  .coverage-region-head { padding: 18px 18px; }
  .coverage-region-card ul { padding: 6px 18px 14px; }
  .coverage-region-card h4 { font-size: 1.05rem; }
  .coverage-region-card li { font-size: 0.9rem; padding: 8px 0; }
}

/* ---------- 19. FAQ ---------- */
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius) !important;
  margin-bottom: 16px;
  overflow: hidden;
  transition: all var(--transition);
}
.faq-item .accordion-button {
  background: var(--surface);
  color: var(--heading);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 22px 24px;
  box-shadow: none;
}
.faq-item .accordion-button:not(.collapsed) { color: var(--orange); background: rgba(255,122,24,0.05); }
.faq-item .accordion-button::after {
  background-image: none;
  content: "\f067";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--orange);
  transform: none;
  transition: transform var(--transition);
}
.faq-item .accordion-button:not(.collapsed)::after { content: "\f068"; transform: rotate(180deg); }
.faq-item .accordion-body { color: var(--text-muted); padding: 0 24px 22px; }
.accordion-button:focus { box-shadow: none; }

/* ---------- 20. Contact ---------- */
.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  text-align: center;
  height: 100%;
  transition: all var(--transition);
}
.contact-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--orange); }
.contact-card .cc-icon {
  width: 66px; height: 66px; border-radius: 50%;
  background: var(--gradient-accent); color: #fff;
  display: grid; place-items: center; font-size: 1.5rem;
  margin: 0 auto 18px; box-shadow: var(--shadow-orange);
}
.contact-card h5 { margin-bottom: 8px; }
.contact-card a, .contact-card p { color: var(--text-muted); word-break: break-word; }
.contact-card a:hover { color: var(--orange); }

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
}
.form-control, .form-select {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 18px;
  color: var(--heading);
  transition: all var(--transition);
}
.form-control:focus, .form-select:focus {
  background: var(--bg-alt);
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255,122,24,0.15);
  color: var(--heading);
}
.form-control::placeholder { color: var(--text-muted); }
.form-label { font-weight: 600; color: var(--heading); margin-bottom: 8px; }
.map-embed { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--border); min-height: 380px; background: var(--bg-alt); }
.map-embed iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display:block; }

/* form status message */
.form-status { display: none; padding: 14px 18px; border-radius: var(--radius-sm); margin-top: 16px; font-weight: 600; }
.form-status.success { display: block; background: rgba(46,204,113,0.15); color: #2ecc71; }

/* ---------- 21. CTA subscribe ---------- */
.cta-band {
  background: var(--gradient-primary);
  border-radius: var(--radius-lg);
  padding: 52px 40px;
  position: relative;
  overflow: hidden;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.08);
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 20% 20%, rgba(255,122,24,0.3), transparent 40%),
                    radial-gradient(circle at 80% 80%, rgba(255,122,24,0.2), transparent 40%);
}
.cta-band > * { position: relative; z-index: 2; }
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 4vw, 2.4rem); }
.cta-band p { color: #cdd9e8; max-width: 560px; margin: 14px auto 28px; }

/* ---------- 22. Footer ---------- */
.footer {
  background: var(--navy-dark);
  color: #b8c6da;
  padding-top: 60px;
}
.footer h5 { color: #fff; margin-bottom: 22px; font-size: 1.15rem; position: relative; padding-bottom: 12px; }
.footer h5::after { content: ""; position: absolute; bottom: 0; right: 0; width: 40px; height: 3px; background: var(--orange); border-radius: 3px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-brand .brand-logo {
  height: 64px;
  width: auto;
  max-width: 64px;
  object-fit: contain;
  display: block;
  border-radius: 0;
  background: transparent;
  filter: none;
}
.footer-brand .logo-mark { width: 52px; height: 52px; background: #fff; border-radius: 12px; display: grid; place-items: center; padding: 5px; }
.footer-brand .logo-mark img { width: 100%; height: 100%; object-fit: contain; display: block; }
.footer-brand b { color: #fff; font-size: 1.2rem; }
.footer p { color: #92a4bd; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: #b8c6da; transition: all var(--transition); display: inline-flex; align-items: center; gap: 8px; }
.footer-links a:hover { color: var(--orange); padding-right: 6px; }
.footer-links a i { color: var(--orange); font-size: 0.75rem; }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 16px; color: #b8c6da; }
.footer-contact li i { color: var(--orange); margin-top: 5px; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
  width: 42px; height: 42px; border-radius: 12px;
  background: rgba(255,255,255,0.08); color: #fff;
  display: grid; place-items: center; transition: all var(--transition);
}
.footer-social a:hover { background: var(--gradient-accent); transform: translateY(-4px); }
.footer-apps-title {
  margin-top: 22px !important;
  margin-bottom: 12px !important;
  font-size: 1.05rem !important;
  padding-bottom: 10px !important;
}
.app-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.app-badges-lg { gap: 12px; }
.app-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 148px;
  padding: 10px 14px;
  border-radius: 12px;
  background: #111;
  color: #fff !important;
  text-decoration: none !important;
  border: 1px solid rgba(255,255,255,0.12);
  transition: all var(--transition);
  line-height: 1.15;
}
.app-badge i { font-size: 1.55rem; }
.app-badge span { display: flex; flex-direction: column; align-items: flex-start; }
.app-badge small { font-size: 0.68rem; opacity: 0.85; font-weight: 500; }
.app-badge b { font-size: 0.98rem; font-weight: 800; }
.app-badge:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: #fff !important; }
.app-badge-apple:hover { background: #000; }
.app-badge-google:hover { background: #1a1a1a; }
.app-download-band {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
}
.app-download-band h2 { color: var(--heading); font-size: clamp(1.35rem, 3vw, 1.9rem); }
.app-badges-lg .app-badge { min-width: 168px; padding: 12px 16px; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 50px; padding: 24px 0; text-align: center; color: #7f92ab; font-size: 0.9rem; }
.footer-bottom a { color: var(--orange); }

.footer-newsletter .input-group { margin-top: 8px; }
.footer-newsletter input {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
  color: #fff; border-radius: 50px 0 0 50px; padding: 12px 18px;
}
[dir="rtl"] .footer-newsletter input { border-radius: 0 50px 50px 0; }
.footer-newsletter input::placeholder { color: #8ea0b8; }
.footer-newsletter button { border-radius: 0 50px 50px 0; background: var(--gradient-accent); border: none; color: #fff; padding: 0 20px; }
[dir="rtl"] .footer-newsletter button { border-radius: 50px 0 0 50px; }

/* ---------- 23. Floating buttons ---------- */
.float-stack {
  position: fixed;
  bottom: max(20px, env(safe-area-inset-bottom, 0px));
  inset-inline-start: max(16px, env(safe-area-inset-left, 0px));
  z-index: 10050;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}
.float-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff !important;
  font-size: 1.5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: all var(--transition);
  position: relative;
  pointer-events: auto;
  -webkit-tap-highlight-color: transparent;
}
.float-btn:hover,
.float-btn:focus {
  transform: scale(1.08) translateY(-2px);
  color: #fff !important;
}
.float-whatsapp { background: #25d366; }
.float-call { background: var(--navy); }
.float-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid currentColor;
  opacity: 0.55;
  animation: pulse-ring 2s infinite;
  pointer-events: none;
}
@keyframes pulse-ring {
  0% { transform: scale(1); opacity: .55; }
  100% { transform: scale(1.55); opacity: 0; }
}

.back-to-top {
  position: fixed;
  bottom: max(20px, env(safe-area-inset-bottom, 0px));
  inset-inline-end: max(16px, env(safe-area-inset-right, 0px));
  z-index: 10050;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--gradient-accent);
  color: #fff;
  border: none;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow-orange);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition);
  -webkit-tap-highlight-color: transparent;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-4px); }

/* ---------- 24. Utilities ---------- */
.divider-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); display:inline-block; }
.overlay-icon-bg { position: absolute; font-size: 12rem; opacity: 0.04; bottom: 0; left: 0; }

/* scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-alt); }
::-webkit-scrollbar-thumb { background: var(--navy-light); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--orange); }

/* selection */
::selection { background: var(--orange); color: #fff; }

/* AOS fallback */
[data-aos] { pointer-events: auto; }

/* ---------- Responsive: tablet ---------- */
@media (max-width: 991px) {
  .hero,
  .hero-track,
  .hero-slide {
    width: 100%;
    max-width: 100%;
  }
  .hero-track {
    min-height: 100svh;
    min-height: 100vh;
  }
  .hero-slide {
    padding-top: calc(var(--header-height) + 28px);
    padding-bottom: 100px;
  }
  .hero-nav { display: none; }
  .hero-controls { bottom: 40px; }
  .hero-wave svg { height: 56px; }
  .pkg-tabs { gap: 8px; }
  .pkg-tab { padding: 10px 14px; font-size: 0.85rem; }
}

/* ---------- Responsive: phone ---------- */
@media (max-width: 767px) {
  body { font-size: 0.95rem; padding-bottom: 88px; }

  .section { padding: 48px 0; }
  .section-head { margin-bottom: 32px; padding: 0 4px; }
  .section-head h2 { font-size: 1.45rem; }
  .section-head p { font-size: 0.95rem; }

  .hero-track {
    min-height: 100svh;
    min-height: 100vh;
  }
  .hero-content {
    width: 100%;
    max-width: 100%;
    padding-top: 0;
    padding-bottom: 0;
  }
  .hero-content h1,
  .hero-content .hero-title {
    font-size: 1.55rem;
    margin-bottom: 12px;
    line-height: 1.35;
  }
  .hero-content p {
    font-size: 0.92rem;
    margin-bottom: 20px;
    line-height: 1.7;
    max-width: 100%;
  }
  .hero-content .eyebrow {
    font-size: 0.78rem;
    padding: 6px 12px;
    margin-bottom: 12px;
  }
  .hero-btns {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }
  .hero-btns .btn {
    width: 100%;
    max-width: 100%;
    justify-content: center;
    padding: 12px 18px;
    font-size: 0.95rem;
  }
  .hero-controls { bottom: 28px; }
  .hero-wave svg { height: 36px; }

  .navbar-toggler {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    z-index: 2;
  }
  .site-header.hero-mode:not(.scrolled) .navbar {
    background: rgba(15, 50, 111, 0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
  .site-header.hero-mode:not(.scrolled) .navbar-toggler {
    color: #fff !important;
  }

  .page-banner { padding: calc(var(--header-height) + 36px) 0 40px; }
  .page-banner h1 { font-size: 1.6rem; }

  .card-c { padding: 22px 18px; }
  .feature-mini { padding: 16px; gap: 12px; }
  .feature-mini .fm-icon { width: 42px; height: 42px; font-size: 1rem; }

  .stat-box { padding: 12px 6px; }
  .stat-box .stat-icon { font-size: 1.5rem; margin-bottom: 8px; }
  .stat-box .stat-num { font-size: 1.7rem; }
  .stat-box .stat-label { font-size: 0.8rem; margin-top: 6px; }

  .about-badge {
    position: static;
    display: inline-block;
    margin-top: 16px;
    padding: 14px 18px;
  }
  .about-badge b { font-size: 1.5rem; }
  [dir="rtl"] .about-badge { right: auto; }

  .pkg-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 32px;
  }
  .pkg-tab {
    width: 100%;
    justify-content: center;
    padding: 12px 10px;
    font-size: 0.82rem;
    border-radius: 10px;
  }
  .pkg-card { padding: 28px 20px; }
  .pkg-price .amount { font-size: 2.4rem; }
  .pkg-badge { font-size: 0.72rem; padding: 5px 12px; }

  .testi-card { padding: 22px 18px; }
  .testi-card p { font-size: 0.92rem; }

  .cta-band { padding: 32px 18px; border-radius: var(--radius); }
  .cta-band h2 { font-size: 1.35rem; }
  .cta-band p { font-size: 0.92rem; margin-bottom: 20px; }
  .cta-band .d-flex { flex-direction: column; width: 100%; }
  .cta-band .btn { width: 100%; }
  .app-download-band { padding: 24px 18px; }
  .app-badges-lg { justify-content: stretch !important; }
  .app-badges-lg .app-badge { width: 100%; justify-content: center; }

  .contact-form { padding: 22px 16px; }
  .contact-card { padding: 22px 16px; }
  .vm-card { padding: 24px 18px; }

  .coverage-google-map,
  .coverage-google-map iframe { min-height: 320px; }
  .coverage-map-toolbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 16px;
  }
  .coverage-map-note { padding: 12px 16px; font-size: 0.85rem; }
  .city-pill {
    border-radius: 14px;
    padding: 12px 14px;
    width: 100%;
  }

  .faq-item .accordion-button {
    font-size: 0.95rem;
    padding: 16px 16px;
    line-height: 1.5;
  }
  .faq-item .accordion-body { padding: 0 16px 16px; font-size: 0.92rem; }

  .team-photo { height: 240px; }
  .team-body { padding: 18px; }

  .news-thumb { height: 180px; }
  .news-body { padding: 18px; }

  .float-stack {
    bottom: max(18px, env(safe-area-inset-bottom, 0px));
    inset-inline-start: max(14px, env(safe-area-inset-left, 0px));
    gap: 10px;
  }
  .float-btn {
    width: 54px;
    height: 54px;
    font-size: 1.35rem;
  }
  .back-to-top {
    bottom: max(18px, env(safe-area-inset-bottom, 0px));
    inset-inline-end: max(14px, env(safe-area-inset-right, 0px));
    width: 46px;
    height: 46px;
    border-radius: 12px;
    font-size: 1rem;
  }

  .footer { padding-top: 40px; }
  .footer-bottom {
    margin-top: 32px;
    padding: 18px 12px;
    font-size: 0.8rem;
    line-height: 1.7;
  }
  .footer-newsletter .input-group { flex-wrap: nowrap; }
  .footer-newsletter input {
    min-width: 0;
    font-size: 0.9rem;
  }

  .btn-lg { padding: 12px 20px; font-size: 0.95rem; }
}

/* ---------- Responsive: small phones ---------- */
@media (max-width: 400px) {
  .navbar-brand .brand-logo { height: 48px; max-width: 48px; }
  .navbar-brand .brand-text b { font-size: 0.92rem; }
  .navbar-brand .brand-text small { font-size: 0.65rem; }
  :root { --header-height: 76px; }
  .hero-content h1,
  .hero-content .hero-title { font-size: 1.35rem; }
  .pkg-tabs { grid-template-columns: 1fr; }
  .stat-box .stat-num { font-size: 1.45rem; }
  .stat-box .stat-label { font-size: 0.75rem; }
}

/* ---------- Mobile layout lock (prevents horizontal shift) ---------- */
@media (max-width: 991px) {
  html, body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  .site-header,
  .hero,
  .hero-track,
  .hero-slide,
  .section,
  .footer,
  .container,
  .row {
    max-width: 100% !important;
  }

  .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* Kill AOS horizontal transforms that expand document width */
  [data-aos],
  [data-aos].aos-animate {
    transform: none !important;
    opacity: 1 !important;
  }

  .hero-slide > .container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .swiper,
  .testi-swiper {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }
}

