/* =============================================
   HELPMEWAKA DESIGN SYSTEM
   Primary: #0EB5E2  Secondary: #ED1659  Tertiary: #1B4F8A  Teal: #55C2C3
   ============================================= */

:root {
  /* Brand Colors */
  --clr-primary: #0EB5E2;
  --clr-primary-dark: #0a82a3;
  --clr-primary-light: #5cd5f2;

  --clr-secondary: #ED1659;
  --clr-secondary-dark: #b50f43;

  --clr-tertiary: #1B4F8A;
  --clr-tertiary-light: #2d6ab8;

  --clr-teal: #55C2C3;
  --clr-teal-dark: #3a9e9f;

  /* Gradients — never mix primary+secondary */
  --grad-primary-teal: linear-gradient(130deg, #0EB5E2 0%, #55C2C3 51%, #0EB5E2 100%);
  --grad-tertiary: linear-gradient(135deg, #1B4F8A 0%, #0EB5E2 100%);
  --grad-dark: linear-gradient(135deg, #161519 0%, #1B4F8A 100%);

  /* Neutrals */
  --clr-bg: #F7FAFB;
  --clr-surface: #FFFFFF;
  --clr-glass: rgba(255, 255, 255, 0.82);
  --clr-text: #161519;
  --clr-text-muted: #4A5568;
  --clr-text-light: #94A3B8;
  --clr-border: #E8F0F6;
  --clr-white: #FFFFFF;

  /* Typography */
  --font-head: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Sizes */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;

  /* Radii */
  --r-sm: 0.375rem;
  --r-md: 0.75rem;
  --r-lg: 1.25rem;
  --r-xl: 2rem;
  --r-full: 9999px;

  /* Shadows */
  --sh-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --sh-md: 0 4px 16px rgba(14, 181, 226, 0.12);
  --sh-lg: 0 12px 32px rgba(14, 181, 226, 0.18);
  --sh-xl: 0 24px 48px rgba(0, 0, 0, 0.12);
  --sh-glow: 0 0 24px rgba(14, 181, 226, 0.35);

  /* Transitions */
  --t-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --t-normal: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --t-bounce: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--clr-text);
  background: var(--clr-bg);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-head);
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

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

button,
input {
  font-family: inherit;
}

/* ===================== LAYOUT ===================== */
.container {
  width: 90%;
  max-width: 1240px;
  margin: 0 auto;
}

.py-12 {
  padding: 3rem 0;
}

.py-16 {
  padding: 4rem 0;
}

.py-20 {
  padding: 5rem 0;
}

.py-24 {
  padding: 5.5rem 0;
}

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

.hide {
  display: none !important;
}

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.6rem;
  border-radius: var(--r-full);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: var(--text-sm);
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--t-normal);
  white-space: nowrap;
}

.btn-primary {
  background: var(--clr-primary);
  color: #fff;
  border-color: var(--clr-primary);
}

.btn-primary:hover {
  background: var(--clr-primary-dark);
  border-color: var(--clr-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--sh-glow);
}

.btn-secondary {
  background: var(--clr-secondary);
  color: #fff;
  border-color: var(--clr-secondary);
}

.btn-secondary:hover {
  background: var(--clr-secondary-dark);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--clr-primary);
  border-color: var(--clr-primary);
}

.btn-outline:hover {
  background: var(--clr-primary);
  color: #fff;
  transform: translateY(-2px);
}

.btn-white {
  background: #fff;
  color: var(--clr-primary);
  border-color: #fff;
}

.btn-white:hover {
  background: #e8f8fd;
  transform: translateY(-2px);
}

.btn-lg {
  padding: 0.9rem 2rem;
  font-size: var(--text-base);
}

/* ===================== SECTION HEADINGS ===================== */
.sec-tag {
  display: inline-block;
  background: rgba(14, 181, 226, 0.1);
  color: var(--clr-primary);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: var(--r-full);
  margin-bottom: 1rem;
}

.sec-title {
  font-size: var(--text-4xl);
  font-weight: 800;
  margin-bottom: 1rem;
}

.sec-sub {
  color: var(--clr-text-muted);
  max-width: 580px;
  margin: 0 auto 2.5rem;
  font-size: var(--text-lg);
}

.title-underline {
  position: relative;
  display: inline-block;
}

.title-underline::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--clr-primary);
  border-radius: var(--r-full);
}

/* ===================== TOPBAR ===================== */
.topbar {
  background: var(--clr-tertiary);
  color: #fff;
  font-size: var(--text-xs);
  padding: 0.4rem 0;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar a {
  color: rgba(255, 255, 255, 0.85);
  transition: var(--t-fast);
}

.topbar a:hover {
  color: var(--clr-teal);
}

.topbar-right {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

@media (max-width: 768px) {
  .topbar-right {
    display: none !important;
  }
}

/* ===================== HEADER / NAVBAR ===================== */
.header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--clr-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--clr-border);
  transition: box-shadow var(--t-normal);
}

.header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.nav-wrap {
  display: flex;
  align-items: center;
  height: 76px;
  gap: 1.5rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-logo img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.nav-logo-text {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--clr-primary);
}

.nav-links-list {
  display: flex;
  list-style: none;
  gap: 1rem;
  flex: 1;
  align-items: center;
  justify-content: center;
}

.nav-links-list li a {
  /* font-size: 0.94rem; */
  font-size: 1rem;
  font-weight: 500;
  color: var(--clr-text);
  padding: 0.45rem 0.65rem;
  border-radius: var(--r-sm);
  transition: var(--t-fast);
  display: block;
  white-space: nowrap;
}

.nav-links-list li a:hover,
.nav-links-list li a.active {
  color: var(--clr-primary);
  background: rgba(14, 181, 226, 0.08);
}

.nav-links-list li a.order-now {
  color: var(--clr-secondary);
  font-weight: 700;
}

.nav-links-list li a.order-now:hover {
  background: rgba(237, 22, 89, 0.1);
  color: var(--clr-secondary);
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--clr-text);
  padding: 0.5rem 0.75rem;
  border-radius: var(--r-sm);
  cursor: pointer;
  border: none;
  background: none;
  transition: var(--t-fast);
}

.nav-dropdown-toggle:hover {
  color: var(--clr-primary);
  background: rgba(14, 181, 226, 0.08);
}

.nav-dropdown-toggle i.chevron {
  font-size: 10px;
  transition: transform var(--t-fast);
}

.dropdown-panel {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--clr-surface);
  border-radius: var(--r-md);
  box-shadow: var(--sh-xl);
  border: 1px solid var(--clr-border);
  min-width: 200px;
  padding: 0.5rem;
  z-index: 200;
  animation: ddFadeIn 0.18s ease;
}

/* Login dropdown is wider */
.nav-actions .nav-dropdown:last-child .dropdown-panel {
  min-width: 260px;
}

.dropdown-panel.dd-right {
  left: auto;
  right: 0;
  transform: none;
}

/* Click-open dropdowns (more stable than hover) */
.nav-dropdown.open .nav-dropdown-toggle {
  color: var(--clr-primary);
  background: rgba(14, 181, 226, 0.08);
}

.nav-dropdown.open .chevron {
  transform: rotate(180deg);
}

.nav-dropdown.open .dropdown-panel {
  display: block;
}

.nav-dropdown .dropdown-panel {
  transform-origin: top right;
}

/* Nav icon buttons */
.nav-icon-btn {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--clr-border);
  background: rgba(255, 255, 255, 0.7);
  color: var(--clr-text);
  cursor: pointer;
  transition: var(--t-fast);
}

.nav-icon-btn:hover {
  border-color: rgba(14, 181, 226, 0.35);
  box-shadow: 0 10px 30px rgba(14, 181, 226, 0.12);
  color: var(--clr-primary);
}

/* Search overlay */
.search-overlay {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: min(380px, 92vw);
  transform: translateX(100%);
  transition: transform 220ms ease;
  z-index: 2000;
  background: var(--clr-surface);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
  border-left: 1px solid var(--clr-border);
  display: flex;
  flex-direction: column;
}

.search-overlay.open {
  transform: translateX(0);
}

.search-overlay-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1rem;
  border-bottom: 1px solid var(--clr-border);
}

.search-overlay-title {
  font-family: var(--font-head);
  font-weight: 800;
  color: var(--clr-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.search-overlay-body {
  padding: 1rem;
  border-bottom: 1px solid var(--clr-border);
}

.search-results {
  padding: 0.75rem;
  overflow: auto;
  flex: 1;
}

.search-item {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  padding: 0.65rem 0.6rem;
  border-radius: 0.75rem;
  transition: var(--t-fast);
}

.search-item:hover {
  background: rgba(14, 181, 226, 0.06);
}

.search-item img {
  width: 44px;
  height: 44px;
  border-radius: 0.6rem;
  object-fit: cover;
  flex: 0 0 auto;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.search-item .title {
  font-weight: 700;
  font-size: 0.92rem;
}

.search-item .meta {
  color: var(--clr-text-muted);
  font-size: 0.78rem;
}

@keyframes ddFadeIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.dropdown-panel.dd-right {
  animation-name: ddFadeRight;
}

@keyframes ddFadeRight {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dropdown-panel a {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.75rem 1.1rem;
  border-radius: var(--r-sm);
  font-size: var(--text-sm);
  color: var(--clr-text);
  transition: var(--t-fast);
}

.dropdown-panel a:hover {
  background: rgba(14, 181, 226, 0.07);
  color: var(--clr-primary);
}

.dropdown-panel a img {
  width: 22px;
  height: 16px;
  border-radius: 2px;
  object-fit: cover;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
  margin-left: auto;
}

/* Modern Stylish Hamburger */
.hamburger {
  display: none;
  width: 48px;
  height: 48px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: 50%;
  /* Make it perfectly circular */
  margin-left: auto;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  z-index: 1002;
  position: relative;
  overflow: hidden;
}

.hamburger::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-primary-teal);
  opacity: 0;
  transition: opacity 0.3s;
  z-index: -1;
}

.hamburger:hover {
  transform: scale(1.05);
  border-color: var(--clr-primary);
  box-shadow: 0 8px 20px rgba(14, 181, 226, 0.25);
}

.hamburger:hover::before {
  opacity: 0.05;
}

.hamburger span {
  width: 20px;
  height: 2px;
  background: var(--clr-tertiary);
  border-radius: 99px;
  transition: all 0.4s cubic-bezier(0.68, -0.6, 0.32, 1.6);
  position: relative;
}

.hamburger span:nth-child(2) {
  width: 14px;
  /* margin-left: auto; Modern unbalanced look */
}

.hamburger:hover span:nth-child(2) {
  width: 20px;
}

.hamburger.is-active {
  background: var(--clr-secondary);
  border-color: var(--clr-secondary);
  box-shadow: 0 8px 20px rgba(237, 22, 89, 0.3);
}

.hamburger.is-active span {
  background: #fff;
}

.hamburger.is-active span:nth-child(2) {
  opacity: 0;
}

.hamburger.is-active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.hamburger.is-active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  background: var(--clr-surface);
  border-top: 1px solid var(--clr-border);
  padding: 1rem 0;
}

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

.mobile-menu a {
  display: block;
  padding: 0.75rem 1.5rem;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--clr-text);
  border-bottom: 1px solid var(--clr-border);
}

.mobile-menu a:hover {
  color: var(--clr-primary);
  background: rgba(14, 181, 226, 0.04);
}

.mobile-menu a.order-now {
  color: var(--clr-secondary);
  font-weight: 700;
}

.mobile-menu-divider {
  padding: 0.6rem 1.5rem;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-text-light);
  background: var(--clr-bg);
}

/* ===================== HERO SLIDER ===================== */
.hero-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #0a1628;
}

.hero-slide {
  display: none;
  position: relative;
  min-height: 79vh;
  max-height: 700px;
  align-items: center;
}

.hero-slide.active {
  display: flex;
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

/* Images inside hero-slide-bg wrapper */
.hero-slide-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  will-change: transform;
  filter: none;
}

.hero-slide-bg video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 15, 35, 0.78) 0%, rgba(10, 15, 35, 0.35) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  color: #fff;
  padding: 2rem 0;
}

.hero-tag {
  display: inline-block;
  background: rgba(14, 181, 226, 0.25);
  border: 1px solid rgba(14, 181, 226, 0.5);
  color: var(--clr-primary);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: var(--r-full);
  margin-bottom: 1.25rem;
}

.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  color: #fff;
}

.hero-content h1 .accent {
  color: var(--clr-teal);
}

.hero-content p {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 2rem;
  max-width: 520px;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Slider Controls */
.slider-arrows {
  position: absolute;
  bottom: 3rem;
  right: 2rem;
  z-index: 10;
  display: flex;
  gap: 0.75rem;
}

.slider-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--t-normal);
  backdrop-filter: blur(8px);
}

.slider-arrow:hover {
  background: var(--clr-primary);
  border-color: var(--clr-primary);
}

.slider-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 0.5rem;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: var(--t-normal);
}

.slider-dot.active {
  background: var(--clr-primary);
  width: 24px;
  border-radius: 4px;
}

/* ===================== COUNTRY / STATS BAR ===================== */
.countries-bar {
  background: linear-gradient(90deg, #07111f 0%, #0d2040 50%, #07111f 100%);
  border-bottom: 1px solid rgba(14, 181, 226, 0.12);
  color: #fff;
  padding: 0.65rem 0;
  display: block;
}

.countries-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.country-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
}

.country-badge img {
  width: 22px;
  height: 16px;
  border-radius: 3px;
  object-fit: cover;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

@media (max-width: 600px) {
  .countries-bar {
    display: none !important;
  }
}

/* ===================== HOW IT WORKS ===================== */
.hiw-section {
  background: linear-gradient(135deg, #0d1b2e 0%, #0f2647 50%, #07111f 100%);
  position: relative;
  overflow: hidden;
}

.hiw-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(14, 181, 226, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(85, 194, 195, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.hiw-heading {
  text-align: center;
  margin-bottom: 4rem;
}

.hiw-heading .sec-tag {
  background: rgba(14, 181, 226, 0.15);
  border: 1px solid rgba(14, 181, 226, 0.3);
  color: var(--clr-teal);
}

.hiw-heading h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.75rem;
}

.hiw-heading p {
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--text-lg);
  max-width: 520px;
  margin: 0 auto;
}

.hiw-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

/* connecting line */
.hiw-steps::before {
  content: '';
  position: absolute;
  top: 44px;
  left: calc(12.5%);
  width: calc(75%);
  height: 2px;
  background: linear-gradient(90deg, var(--clr-primary), var(--clr-teal));
  z-index: 0;
}

.hiw-step {
  color: #fff;
  text-align: center;
  position: relative;
  padding: 0 1.25rem;
  z-index: 1;
}

.hiw-step-num {
  width: 88px;
  height: 88px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--clr-primary) 0%, var(--clr-teal) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  box-shadow: 0 0 0 6px rgba(14, 181, 226, 0.15), 0 8px 24px rgba(14, 181, 226, 0.35);
  position: relative;
  z-index: 2;
  transition: var(--t-bounce);
}

.hiw-step:nth-child(2) .hiw-step-num {
  background: linear-gradient(135deg, #1B4F8A 0%, #0EB5E2 100%);
}

.hiw-step:nth-child(3) .hiw-step-num {
  background: linear-gradient(135deg, #0EB5E2 0%, #55C2C3 100%);
}

.hiw-step:nth-child(4) .hiw-step-num {
  background: linear-gradient(135deg, #55C2C3 0%, #0a82a3 100%);
}

.hiw-step:hover .hiw-step-num {
  transform: scale(1.1);
  box-shadow: 0 0 0 8px rgba(14, 181, 226, 0.2), 0 16px 40px rgba(14, 181, 226, 0.5);
}

.hiw-step-icon-wrap {
  width: 52px;
  height: 52px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
}

.hiw-step h4 {
  font-size: var(--text-lg);
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.6rem;
}

.hiw-step p {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
}

.hiw-cta-row {
  display: flex;
  justify-content: center;
  margin-top: 3.5rem;
}

@media (max-width: 900px) {
  .hiw-steps {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .hiw-steps::before {
    display: none;
  }
}

@media (max-width: 600px) {
  .hiw-steps {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ===================== SERVICES ===================== */
.services-section {
  background: var(--clr-surface);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.service-card {
  background: var(--clr-bg);
  border-radius: var(--r-lg);
  padding: 2rem 1.5rem;
  border: 1px solid var(--clr-border);
  transition: var(--t-bounce);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--grad-primary-teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--t-normal);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--sh-lg);
  background: var(--clr-surface);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card-icon {
  width: 58px;
  height: 58px;
  background: rgba(14, 181, 226, 0.1);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--clr-primary);
  margin-bottom: 1.25rem;
  transition: var(--t-normal);
}

.service-card:hover .service-card-icon {
  background: var(--clr-primary);
  color: #fff;
}

.service-card h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.service-card p {
  color: var(--clr-text-muted);
  font-size: var(--text-sm);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.service-link {
  color: var(--clr-primary);
  font-weight: 600;
  font-size: var(--text-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.service-link i {
  transition: transform var(--t-fast);
}

.service-card:hover .service-link i {
  transform: translateX(4px);
}

/* ===================== CTA - APP DOWNLOAD ===================== */
.app-cta {
  background: var(--grad-primary-teal);
  border-radius: var(--r-xl);
  overflow: hidden;
  margin: 0 1rem;
}

.app-cta-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2rem;
  padding: 3.5rem 3rem;
}

.app-cta h2 {
  color: #fff;
  font-size: var(--text-4xl);
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.app-cta p {
  color: rgba(255, 255, 255, 0.88);
  font-size: var(--text-lg);
  margin-bottom: 1.75rem;
}

.app-badges {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.app-badge {
  height: 48px;
  width: auto;
}

/* ===================== WHY PARTNER ===================== */
.why-section {
  background: linear-gradient(160deg, #080f1e 0%, #0d1f3c 50%, #071018 100%);
  position: relative;
  overflow: hidden;
}

.why-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 30%, rgba(27, 79, 138, 0.25) 0%, transparent 60%);
  pointer-events: none;
}

.why-section .sec-tag {
  background: rgba(85, 194, 195, 0.12);
  border: 1px solid rgba(85, 194, 195, 0.3);
  color: var(--clr-teal);
}

.why-section .sec-title {
  color: #fff;
}

.why-section .sec-sub {
  color: rgba(255, 255, 255, 0.55);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.why-card {
  padding: 2.25rem 1.75rem;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
  border-radius: var(--r-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--t-bounce);
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--grad-primary-teal);
  border-radius: 4px 0 0 4px;
}

.why-card:hover {
  transform: translateY(-6px);
  background: rgba(14, 181, 226, 0.08);
  border-color: rgba(14, 181, 226, 0.25);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.close-mobile-menu {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--clr-border);
  color: var(--clr-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.close-mobile-menu:hover {
  background: var(--clr-secondary);
  color: #fff;
  border-color: var(--clr-secondary);
  transform: rotate(90deg) scale(1.1);
  box-shadow: 0 8px 20px rgba(237, 22, 89, 0.25);
}

.why-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 1.25rem;
  background: rgba(14, 181, 226, 0.12);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--clr-primary);
  transition: var(--t-normal);
}

.why-card:hover .why-icon {
  background: var(--clr-primary);
  color: #fff;
}

.why-icon img {
  width: 36px;
  filter: brightness(0) invert(1);
}

.why-card h4 {
  font-size: var(--text-xl);
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.6rem;
}

.why-card p {
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--text-sm);
  line-height: 1.65;
}

@media (max-width: 1024px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}

/* ===================== CTA STRIP ===================== */
.cta-strip {
  background: linear-gradient(135deg, var(--clr-secondary) 0%, #b50f43 100%);
  padding: 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-strip::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.04'%3E%3Ccircle cx='30' cy='30' r='30'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
  pointer-events: none;
}

.cta-strip h2 {
  color: #fff;
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
  position: relative;
}

.cta-strip p {
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--text-lg);
  margin-bottom: 2rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.cta-strip .btn-white {
  font-size: var(--text-base);
  padding: 0.9rem 2.5rem;
  position: relative;
}

/* ===================== FOOTER ===================== */
.footer {
  background: #070707;
  color: #fff;
  border-top: 3px solid var(--clr-primary);
  border-radius: 12px 12px 0 0;
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

.footer-logo {
  height: 48px;
  margin-bottom: 1rem;
}

.footer-about p {
  color: var(--clr-text-light);
  font-size: var(--text-sm);
  line-height: 1.7;
}

.footer h5 {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: var(--text-xs);
  color: var(--clr-teal);
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.65);
  font-size: var(--text-sm);
  transition: var(--t-fast);
}

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

.footer-contact p {
  color: rgba(255, 255, 255, 0.65);
  font-size: var(--text-sm);
  margin-bottom: 0.6rem;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.65);
  transition: var(--t-fast);
}

.footer-contact a:hover {
  color: var(--clr-primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  font-size: var(--text-sm);
  letter-spacing: 0.05em;
}

.social-icons {
  display: flex;
  gap: 0.75rem;
}

.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-sm);
  transition: var(--t-normal);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon:hover {
  background: var(--clr-primary);
  color: #fff;
  border-color: var(--clr-primary);
  transform: translateY(-3px);
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1200px) {
  .nav-links-list li a {
    font-size: 0.78rem;
    padding: 0.45rem 0.45rem;
  }
}

@media (max-width: 1024px) {
  .nav-links-list li a {
    font-size: 0.75rem;
    padding: 0.4rem 0.35rem;
  }
}

@media (max-width: 900px) {

  .nav-links-list,
  .nav-actions {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hiw-header {
    grid-template-columns: 1fr;
  }

  .hiw-steps {
    grid-template-columns: 1fr 1fr;
  }

  .hiw-step:not(:last-child)::after {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .app-cta-inner {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .hero-slide {
    min-height: 80vh;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hiw-steps {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

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

  .countries-inner {
    gap: 1.25rem;
  }

  .topbar .container {
    flex-direction: column;
  }

  .topbar-right {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* ===================== STATS BAR ===================== */
.stats-bar {
  background: #ffffff;
  border-top: 1px solid #e8f4fb;
  border-bottom: 3px solid rgba(14, 181, 226, 0.12);
  padding: 2rem 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(14, 181, 226, 0.06);
}

.stats-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(14, 181, 226, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.stats-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  padding: 0.75rem 3rem;
  position: relative;
}

.stat-number {
  font-family: var(--font-head);
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--clr-primary);
  line-height: 1;
  text-shadow: 0 0 24px rgba(14, 181, 226, 0.5);
  letter-spacing: -0.02em;
}

.stat-icon {
  font-size: 1.5rem;
  color: var(--clr-teal);
  margin-bottom: 0.25rem;
  display: block;
}

.stat-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--clr-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.stats-divider {
  width: 1px;
  height: 50px;
  background: rgba(14, 181, 226, 0.15);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .stats-inner {
    gap: 0;
  }

  .stat-item {
    padding: 0.75rem 1.5rem;
  }

  .stat-number {
    font-size: 2rem;
  }
}

@media (max-width: 500px) {
  .stats-inner {
    flex-wrap: wrap;
  }

  .stat-item {
    width: 50%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .stats-divider {
    display: none;
  }
}

/* ===================== TESTIMONIALS ===================== */
.testimonials-section {
  background: var(--clr-bg);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.testimonial-card {
  background: var(--clr-surface);
  border-radius: var(--r-lg);
  padding: 2rem 1.75rem;
  border: 1px solid var(--clr-border);
  position: relative;
  transition: var(--t-bounce);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh-lg);
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  font-size: 5rem;
  line-height: 1;
  color: var(--clr-primary);
  opacity: 0.12;
  font-family: Georgia, serif;
}

.testimonial-stars {
  color: #FBBF24;
  font-size: 0.8rem;
  margin-bottom: 0.75rem;
  letter-spacing: 2px;
}

.testimonial-text {
  color: var(--clr-text-muted);
  font-size: var(--text-sm);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--grad-primary-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: var(--text-base);
  flex-shrink: 0;
}

.testimonial-name {
  font-weight: 700;
  font-size: var(--text-sm);
}

.testimonial-location {
  font-size: var(--text-xs);
  color: var(--clr-text-light);
}

@media (max-width: 600px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

/* ===================== FAQ ACCORDION ===================== */
.faq-section {
  background: linear-gradient(160deg, #f0f7ff 0%, #e8f4fc 50%, #f7fafb 100%);
  position: relative;
}

.faq-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
  margin-top: 0;
}

.faq-sidebar {
  position: sticky;
  top: 100px;
}

.faq-sidebar h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--clr-text);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.faq-sidebar h2 span {
  color: var(--clr-primary);
}

.faq-sidebar p {
  color: var(--clr-text-muted);
  font-size: var(--text-base);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.faq-container {
  margin-top: 0;
}

.faq-item {
  border: 1px solid rgba(14, 181, 226, 0.15);
  border-radius: var(--r-md);
  margin-bottom: 0.65rem;
  overflow: hidden;
  transition: var(--t-normal);
  background: #fff;
}

.faq-item.open {
  border-color: var(--clr-primary);
  box-shadow: 0 4px 20px rgba(14, 181, 226, 0.12);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.1rem 1.4rem;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--clr-text);
  transition: var(--t-fast);
}

.faq-question:hover {
  color: var(--clr-primary);
}

.faq-item.open .faq-question {
  color: var(--clr-primary);
  background: rgba(14, 181, 226, 0.03);
}

.faq-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(14, 181, 226, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--clr-primary);
  font-size: 11px;
  transition: transform var(--t-normal), background var(--t-normal);
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
  background: var(--clr-primary);
  color: #fff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.4rem;
  color: var(--clr-text-muted);
  font-size: var(--text-sm);
  line-height: 1.75;
}

.faq-item.open .faq-answer {
  max-height: 400px;
  padding: 0 1.4rem 1.25rem;
}

@media (max-width: 768px) {
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .faq-sidebar {
    position: static;
  }
}

/* ===================== E-COMMERCE / GROCERIES ===================== */
.product-card {
  background: #fff;
  border-radius: var(--r-lg);
  border: 1px solid var(--clr-border);
  padding: 1.25rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(14, 181, 226, 0.12);
  border-color: var(--clr-primary);
}

.product-thumb {
  width: 100%;
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  background: #f8fafc;
  border-radius: var(--r-md);
  overflow: hidden;
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-thumb img {
  transform: scale(1.1);
}

.product-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--clr-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.4rem;
}

.product-badge {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--clr-primary);
  background: rgba(14, 181, 226, 0.08);
  padding: 0.2rem 0.6rem;
  border-radius: 99px;
  display: inline-block;
  margin-bottom: 1rem;
}

.product-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.product-price {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--clr-tertiary);
}

.product-actions-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.btn-add-cart {
  width: 100%;
  padding: 0.75rem;
  background: var(--clr-primary);
  color: #fff;
  border: none;
  border-radius: 99px;
  font-weight: 800;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 12px rgba(14, 181, 226, 0.2);
}

.btn-add-cart:hover {
  background: var(--clr-tertiary);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(27, 79, 138, 0.25);
}

.qty-stepper {
  display: none;
  /* Shown when added via JS */
  align-items: center;
  justify-content: space-between;
  background: #f1f5f9;
  border-radius: 99px;
  padding: 0.25rem;
  border: 1px solid var(--clr-border);
}

.step-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--clr-border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--clr-tertiary);
  transition: all 0.2s;
}

.step-btn:hover {
  background: var(--clr-primary);
  color: #fff;
  border-color: var(--clr-primary);
}

.step-qty {
  font-weight: 800;
  font-size: 1rem;
  color: var(--clr-tertiary);
}

/* Sidebar & Search */
.search-box {
  background: #fff !important;
  border: 1px solid var(--clr-border) !important;
  border-radius: 99px !important;
  padding: 0.5rem 1.5rem !important;
  transition: all 0.3s;
}

.search-box:focus-within {
  box-shadow: 0 10px 30px rgba(14, 181, 226, 0.15) !important;
  border-color: var(--clr-primary) !important;
}

/* Cart Specifics */
.cart-block {
  background: #fff;
  border-radius: var(--r-xl);
  border: 1px solid var(--clr-border);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.02);
}

.cart-item {
  padding: 1.5rem;
  background: #fff;
  border-bottom: 1px solid #f1f5f9;
  transition: background 0.2s;
}

.cart-item:hover {
  background: #fdfdfd;
}

.cart-img-wrap img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  border-radius: var(--r-md);
}

/* Floating Cart */
.groc-floating-cart {
  position: fixed;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 3rem;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(14, 181, 226, 0.2);
  padding: 1.25rem 3rem;
  border-radius: 99px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.groc-floating-cart:hover {
  transform: translateX(-50%) translateY(-5px);
  box-shadow: 0 30px 70px rgba(14, 181, 226, 0.2);
}

/* Header Cart Button (Groceries Page) */
.header-cart-btn {
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--clr-border);
  border-radius: var(--r-md);
  color: var(--clr-tertiary);
  font-size: 1.25rem;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: var(--sh-sm);
}

.header-cart-btn:hover {
  border-color: var(--clr-primary);
  color: var(--clr-primary);
  transform: translateY(-2px);
  box-shadow: var(--sh-md);
}

.cart-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--clr-secondary);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  min-width: 20px;
  height: 20px;
  padding: 0 4px;
  border-radius: 99px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(237, 22, 89, 0.3);
}


/* Search Box Wrapper */
.search-box-wrapper {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  position: relative;
  justify-content: center;
  z-index: 1000 !important;
}

@media (max-width: 768px) {
  .search-box-wrapper {
    gap: 0.75rem;
    margin-bottom: 2rem;
    display: flex !important;
    flex-direction: row;
  }

  .search-box {
    width: 100% !important;
    margin: 0 !important;
    padding: 0.35rem 1rem !important;
  }

  .search-box button {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }

  .search-box input {
    font-size: 0.9rem;
    width: 100%;
  }

  .header-cart-btn {
    border-radius: 99px;
    flex-shrink: 0;
  }

  .groc-floating-cart {
    width: calc(100% - 2rem);
    bottom: 1rem;
    padding: 0.85rem 1rem;
    gap: 0.5rem;
    justify-content: space-between;
    border-radius: 99px;
  }

  .groc-floating-cart>div:first-child {
    display: none;
  }

  .groc-floating-cart>div:nth-child(2) span {
    font-size: 0.75rem;
  }

  .groc-floating-cart>div:nth-child(2) strong {
    font-size: 1.1rem !important;
  }

  .groc-floating-cart .btn-cart-nav {
    padding: 0.65rem 1rem;
    font-size: 0.85rem;
    white-space: nowrap;
  }
}

/* Missing Groceries Layout Styles */
.req-hero {
  background: linear-gradient(135deg, var(--clr-tertiary) 0%, #153a63 100%);
  padding: 6rem 0 5rem;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.req-hero::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: radial-gradient(circle at top right, rgba(14, 181, 226, 0.15), transparent 60%);
  pointer-events: none;
}

.req-hero-title {
  font-weight: 900;
  font-size: 3.5rem;
  margin-bottom: 0.75rem;
  letter-spacing: -1px;
  background: linear-gradient(to right, #fff, rgba(255, 255, 255, 0.7));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.req-hero-sub {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 650px;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .req-hero {
    padding: 4rem 0 3rem;
  }

  .req-hero-title {
    font-size: 2.2rem;
  }

  .req-hero-sub {
    font-size: 1rem;
  }
}

.groc-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  align-items: start;
  margin-top: -4rem;
  position: relative;
  z-index: 10;
}

@media (max-width: 980px) {
  .groc-layout {
    grid-template-columns: 1fr;
    margin-top: 2rem;
  }

  .groc-sidebar {
    display: none !important;
  }

  .mobile-cat-wrapper {
    display: block !important;
    margin-bottom: 2rem;
  }
}

.mobile-cat-wrapper {
  display: none;
}

.groc-sidebar {
  background: #fff;
  padding: 2.25rem 1.75rem;
  border-radius: var(--r-xl);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--clr-border);
  position: sticky;
  top: 100px;
}

.cat-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1rem 1.25rem;
  margin-bottom: 0.6rem;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--r-md);
  text-align: left;
  font-weight: 700;
  color: var(--clr-text-muted);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cat-btn:hover {
  background: rgba(14, 181, 226, 0.05);
  color: var(--clr-primary);
  transform: translateX(8px);
}

.cat-btn.active {
  background: linear-gradient(135deg, var(--clr-primary), #0eb5e2cc);
  color: #fff;
  border-color: var(--clr-primary);
  box-shadow: 0 8px 20px rgba(14, 181, 226, 0.25);
}

.cat-btn.active i {
  opacity: 1;
  transform: translateX(3px);
}

/* Category Group Title (from AJAX) */
.category-title {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--clr-tertiary);
  margin-top: 2rem;
  margin-bottom: 2rem;
  padding-left: 1.25rem;
  border-left: 5px solid var(--clr-primary);
  line-height: 1;
}

/* Cart button in floating bar */
.btn-cart-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 2.25rem;
  border-radius: 99px;
  background: var(--grad-primary-teal);
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px rgba(14, 181, 226, 0.2);
}

.btn-cart-nav:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 30px rgba(14, 181, 226, 0.3);
  color: #fff;
}


/* ===================== CUSTOM GRID SYSTEM (Modern Flex) ===================== */
.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}

.row>* {
  flex-shrink: 0;
  width: 100%;
  max-width: 100%;
  padding-right: 15px;
  padding-left: 15px;
}

.g-4 {
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 1.5rem;
  margin-top: calc(-1 * var(--bs-gutter-y));
  margin-right: calc(-0.5 * var(--bs-gutter-x));
  margin-left: calc(-0.5 * var(--bs-gutter-x));
}

.g-4>* {
  margin-top: var(--bs-gutter-y);
  padding-right: calc(0.5 * var(--bs-gutter-x));
  padding-left: calc(0.5 * var(--bs-gutter-x));
}

/* Responsive Columns */
.col-12 {
  flex: 0 0 auto;
  width: 100%;
}

.col-lg-3 {
  flex: 0 0 auto;
  width: 25%;
}

.col-lg-4 {
  flex: 0 0 auto;
  width: 33.33333333%;
}

.col-lg-6 {
  flex: 0 0 auto;
  width: 50%;
}

.col-lg-8 {
  flex: 0 0 auto;
  width: 66.66666667%;
}

.col-lg-9 {
  flex: 0 0 auto;
  width: 75%;
}

.col-md-4 {
  flex: 0 0 auto;
  width: 33.33333333%;
}

.col-md-6 {
  flex: 0 0 auto;
  width: 50%;
}

.col-sm-6 {
  flex: 0 0 auto;
  width: 50%;
}

@media (max-width: 991px) {

  .col-lg-3,
  .col-lg-4,
  .col-lg-6,
  .col-lg-8,
  .col-lg-9 {
    width: 100%;
  }
}

@media (max-width: 767px) {

  .col-md-4,
  .col-md-6,
  .col-sm-6 {
    width: 100%;
  }
}

/* Utils */
.m-0 {
  margin: 0 !important;
}

.mt-0 {
  margin-top: 0 !important;
}

.mt-1 {
  margin-top: 0.25rem !important;
}

.mt-2 {
  margin-top: 0.5rem !important;
}

.mt-3 {
  margin-top: 1rem !important;
}

.mt-4 {
  margin-top: 1.5rem !important;
}

.mt-5 {
  margin-top: 3rem !important;
}

.mb-0 {
  margin-bottom: 0 !important;
}

.mb-1 {
  margin-bottom: 0.25rem !important;
}

.mb-2 {
  margin-bottom: 0.5rem !important;
}

.mb-3 {
  margin-bottom: 1rem !important;
}

.mb-4 {
  margin-bottom: 1.5rem !important;
}

.mb-5 {
  margin-bottom: 3rem !important;
}

.me-1 {
  margin-right: 0.25rem !important;
}

.me-2 {
  margin-right: 0.5rem !important;
}

.me-3 {
  margin-right: 1rem !important;
}

.me-4 {
  margin-right: 1.5rem !important;
}

.me-5 {
  margin-right: 3rem !important;
}

.ms-1 {
  margin-left: 0.25rem !important;
}

.ms-2 {
  margin-left: 0.5rem !important;
}

.ms-3 {
  margin-left: 1rem !important;
}

.ms-4 {
  margin-left: 1.5rem !important;
}

.ms-5 {
  margin-left: 3rem !important;
}

.p-0 {
  padding: 0 !important;
}

.pt-0 {
  padding-top: 0 !important;
}

.pt-1 {
  padding-top: 0.25rem !important;
}

.pt-2 {
  padding-top: 0.5rem !important;
}

.pt-3 {
  padding-top: 1rem !important;
}

.pt-4 {
  padding-top: 1.5rem !important;
}

.pt-5 {
  padding-top: 3rem !important;
}

.pb-0 {
  padding-bottom: 0 !important;
}

.pb-1 {
  padding-bottom: 0.25rem !important;
}

.pb-2 {
  padding-bottom: 0.5rem !important;
}

.pb-3 {
  padding-bottom: 1rem !important;
}

.pb-4 {
  padding-bottom: 1.5rem !important;
}

.pb-5 {
  padding-bottom: 3rem !important;
}

.pe-1 {
  padding-right: 0.25rem !important;
}

.pe-2 {
  padding-right: 0.5rem !important;
}

.pe-3 {
  padding-right: 1rem !important;
}

.pe-4 {
  padding-right: 1.5rem !important;
}

.pe-5 {
  padding-right: 3rem !important;
}

.ps-1 {
  padding-left: 0.25rem !important;
}

.ps-2 {
  padding-left: 0.5rem !important;
}

.ps-3 {
  padding-left: 1rem !important;
}

.ps-4 {
  padding-left: 1.5rem !important;
}

.ps-5 {
  padding-left: 3rem !important;
}

.d-none {
  display: none !important;
}

.d-block {
  display: block !important;
}

.d-inline-block {
  display: inline-block !important;
}

.d-grid {
  display: grid !important;
}

.d-flex {
  display: flex !important;
}

.d-inline-flex {
  display: inline-flex !important;
}

.justify-content-start {
  justify-content: flex-start !important;
}

.justify-content-end {
  justify-content: flex-end !important;
}

.justify-content-center {
  justify-content: center !important;
}

.justify-content-between {
  justify-content: space-between !important;
}

.justify-content-around {
  justify-content: space-around !important;
}

.align-items-start {
  align-items: flex-start !important;
}

.align-items-end {
  align-items: flex-end !important;
}

.align-items-center {
  align-items: center !important;
}

.align-items-baseline {
  align-items: baseline !important;
}

.align-items-stretch {
  align-items: stretch !important;
}

.flex-column {
  flex-direction: column !important;
}

.flex-row {
  flex-direction: row !important;
}

.flex-wrap {
  flex-wrap: wrap !important;
}

.flex-nowrap {
  flex-wrap: nowrap !important;
}

.gap-1 {
  gap: 0.25rem !important;
}

.gap-2 {
  gap: 0.5rem !important;
}

.gap-3 {
  gap: 1rem !important;
}

.gap-4 {
  gap: 1.5rem !important;
}

.gap-5 {
  gap: 3rem !important;
}

.text-start {
  text-align: left !important;
}

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

.text-end {
  text-align: right !important;
}

/* Enhanced Layout Details */
.active-in-cart {
  border-color: var(--clr-primary) !important;
  background: rgba(14, 181, 226, 0.03) !important;
  box-shadow: 0 10px 30px rgba(14, 181, 226, 0.08) !important;
}

.product-category-group {
  background: #fff;
  padding: 2.5rem;
  border-radius: var(--r-xl);
  border: 1px solid var(--clr-border);
  margin-bottom: 4rem;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.02);
}


/* Groceries Refinements v6 */
.search-box {
  display: flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
  max-width: 800px;
  /* margin: 0 auto 3rem !important; */
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05) !important;
}

.search-box input {
  flex: 1;
  border: none !important;
  outline: none !important;
  padding: 0.65rem 0;
  font-size: 1rem;
  color: var(--clr-text);
}

.search-box button {
  background: var(--clr-primary);
  color: #fff;
  border: none;
  padding: 0.6rem 1.8rem;
  border-radius: 99px;
  font-weight: 800;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s;
}

.search-box button:hover {
  background: var(--clr-tertiary);
  transform: scale(1.05);
}

/* Bundle Specifics */
.btn-view-bundle {
  background: transparent;
  border: 1px solid var(--clr-border);
  color: var(--clr-text-muted);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.4rem 0.8rem;
  border-radius: var(--r-sm);
  cursor: pointer;
  margin-top: 0.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s;
}

.btn-view-bundle:hover {
  border-color: var(--clr-primary);
  color: var(--clr-primary);
}

.bundle-items-preview {
  display: none;
  background: #f8fafc;
  border: 1px dashed var(--clr-border);
  border-radius: var(--r-md);
  padding: 0.75rem;
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: var(--clr-text-muted);
}

.bundle-items-preview.show {
  display: block;
  animation: fadeInDown 0.3s ease;
}

.bundle-item-line {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.bundle-item-line i {
  font-size: 0.65rem;
  color: var(--clr-primary);
  margin-top: 0.2rem;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Adjustments for 4-column Grid */
@media (min-width: 1200px) {
  .product-category-group {
    padding: 3rem 2rem !important;
  }

  .col-lg-3 {
    width: 25% !important;
    /* Forces 4 columns */
  }
}


/* Groceries Refinements v8 */
.search-box-wrapper {
  position: relative;
  z-index: 50 !important;
  /* Extremely high to stay above product list */
}

.groc-layout {
  margin-top: 2rem !important;
  /* Replaced negative margin which caused overlap */
}

@media (min-width: 1200px) {

  /* Ensure col-lg-6 works for bundles as requested */
  .col-lg-6 {
    width: 50% !important;
  }
}


/* Groceries Refinements v9 */
.search-box-wrapper {
  position: relative;
  z-index: 100 !important;
  margin-top: 1rem !important;
}

.groc-layout {
  margin-top: 3rem !important;
}

/* Force Bundle Column Width */
.col-lg-6.bundle-col {
  width: 50% !important;
  flex: 0 0 auto !important;
}

@media (max-width: 991px) {
  .col-lg-6.bundle-col {
    width: 100% !important;
  }
}


/* Groceries Functional Alignment v10 */
.search-box-wrapper {
  position: relative;
  z-index: 1000 !important;
  /* Above everything */
  padding-top: 1rem;
}

.groc-layout {
  margin-top: 4rem !important;
  /* No negative margin */
  z-index: 10;
}

/* Ensure hidden input does not affect layout */
#products {
  display: none;
}

/* ==========================================================================
   LOGIN / REGISTER DROPDOWN MENU DESIGN SYSTEM (NEW UI)
   ========================================================================== */

.login-dropdown-card {
  min-width: 350px !important;
  padding: 1.5rem !important;
  border-radius: 20px !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12), 0 1px 3px rgba(0, 0, 0, 0.05) !important;
  border: 1px solid rgba(226, 232, 240, 0.8) !important;
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  overflow: hidden !important;
}

.login-dropdown-section {
  margin-bottom: 1.25rem;
}

.login-dropdown-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1rem;
  color: var(--clr-tertiary);
}

.login-dropdown-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.login-dropdown-section:hover .login-dropdown-icon {
  transform: scale(1.1) rotate(3deg);
}

.login-dropdown-icon-customer {
  background: rgba(14, 181, 226, 0.1);
  color: var(--clr-primary);
  border: 1px solid rgba(14, 181, 226, 0.15);
}

.login-dropdown-icon-contractor {
  background: rgba(237, 22, 89, 0.1);
  color: var(--clr-secondary);
  border: 1px solid rgba(237, 22, 89, 0.15);
}

.login-dropdown-title-wrap {
  display: flex;
  flex-direction: column;
}

.login-dropdown-title {
  font-weight: 800;
  font-size: 1rem;
  font-family: var(--font-head);
  line-height: 1.2;
}

.login-dropdown-subtitle {
  font-size: 0.72rem;
  color: var(--clr-text-muted);
}

.login-dropdown-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

/* Base button for auth dropdown */
.login-dropdown-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1rem !important;
  font-size: 0.85rem !important;
  font-family: var(--font-head) !important;
  font-weight: 700 !important;
  border-radius: 12px !important;
  text-align: center;
  transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
  border: 1px solid transparent !important;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
  text-decoration: none !important;
}

/* Primary buttons */
.login-dropdown-btn-primary-customer {
  background: linear-gradient(135deg, var(--clr-primary) 0%, #088db3 100%) !important;
  color: #fff !important;
  box-shadow: 0 4px 12px rgba(14, 181, 226, 0.25) !important;
}

.login-dropdown-btn-primary-customer:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 18px rgba(14, 181, 226, 0.4) !important;
  background: linear-gradient(135deg, #0fbfed 0%, var(--clr-primary-dark) 100%) !important;
}

.login-dropdown-btn-primary-contractor {
  background: linear-gradient(135deg, var(--clr-secondary) 0%, #c7124a 100%) !important;
  color: #fff !important;
  box-shadow: 0 4px 12px rgba(237, 22, 89, 0.25) !important;
}

.login-dropdown-btn-primary-contractor:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 18px rgba(237, 22, 89, 0.4) !important;
  background: linear-gradient(135deg, #f0356f 0%, var(--clr-secondary-dark) 100%) !important;
}

/* Secondary (Register/Apply) buttons - modern tint instead of plain white */
.login-dropdown-btn-secondary-customer {
  background: rgba(14, 181, 226, 0.06) !important;
  color: var(--clr-primary-dark) !important;
  border-color: rgba(14, 181, 226, 0.2) !important;
}

.login-dropdown-btn-secondary-customer:hover {
  background: rgba(14, 181, 226, 0.12) !important;
  border-color: rgba(14, 181, 226, 0.3) !important;
  color: var(--clr-primary-dark) !important;
  transform: translateY(-2px) !important;
}

.login-dropdown-btn-secondary-contractor {
  background: rgba(237, 22, 89, 0.06) !important;
  color: var(--clr-secondary) !important;
  border-color: rgba(237, 22, 89, 0.2) !important;
}

.login-dropdown-btn-secondary-contractor:hover {
  background: rgba(237, 22, 89, 0.12) !important;
  border-color: rgba(237, 22, 89, 0.3) !important;
  color: var(--clr-secondary-dark) !important;
  transform: translateY(-2px) !important;
}

/* Country/Region section in dropdown */
.login-dropdown-country-section {
  padding-top: 1rem !important;
  border-top: 1px solid var(--clr-border) !important;
  background: #f8fafc !important;
  margin: 0 -1.5rem -1.5rem !important;
  padding: 1.25rem !important;
  border-bottom-left-radius: 20px !important;
  border-bottom-right-radius: 20px !important;
}

.login-dropdown-country-title {
  font-size: 0.68rem !important;
  font-weight: 800 !important;
  color: var(--clr-text-light) !important;
  text-transform: uppercase !important;
  margin-bottom: 0.85rem !important;
  letter-spacing: 0.8px !important;
  text-align: center !important;
}

.login-dropdown-country-links {
  display: flex !important;
  justify-content: center !important;
  gap: 1.5rem !important;
}

.login-dropdown-country-link {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 0.4rem !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  color: var(--clr-text-muted) !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}

.login-dropdown-country-link:hover {
  color: var(--clr-text) !important;
  transform: translateY(-2px) scale(1.05) !important;
}

.login-dropdown-country-flag {
  width: 32px !important;
  height: auto !important;
  object-fit: cover !important;
  border-radius: 4px !important;
  box-shadow: var(--sh-sm) !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  transition: all 0.2s ease !important;
}

.login-dropdown-country-link:hover .login-dropdown-country-flag {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15) !important;
}

/* ==========================================================================
   CAREGIVER PAGES DESIGN SYSTEM
   ========================================================================== */

/* Modern Form Section Cards */
.form-section-card {
  background: var(--clr-white) !important;
  padding: 2.25rem 2rem !important;
  border-radius: 20px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03), 0 1px 3px rgba(0, 0, 0, 0.01) !important;
  margin-bottom: 2.25rem !important;
  border: 1px solid rgba(226, 232, 240, 0.8) !important;
}

/* Premium Alert/Notice Box */
.alert-notice-card {
  background: #fffbeb !important;
  border-left: 4px solid #f59e0b !important;
  padding: 1.5rem !important;
  border-radius: 12px !important;
  margin-bottom: 1.5rem !important;
  display: flex !important;
  gap: 1.25rem !important;
  align-items: flex-start !important;
  border-top: 1px solid rgba(245, 158, 11, 0.15) !important;
  border-right: 1px solid rgba(245, 158, 11, 0.15) !important;
  border-bottom: 1px solid rgba(245, 158, 11, 0.15) !important;
  text-align: left !important;
}

.alert-notice-icon {
  color: #d97706 !important;
  font-size: 1.45rem !important;
  margin-top: 0.1rem;
}

.alert-notice-content h5 {
  color: #78350f !important;
  font-weight: 800 !important;
  margin-bottom: 0.6rem !important;
  font-size: 1rem !important;
  font-family: var(--font-head), 'Outfit', sans-serif !important;
}

.alert-notice-content p {
  color: #92400e !important;
  font-size: 0.88rem !important;
  line-height: 1.65 !important;
  margin-bottom: 0.5rem !important;
}

.alert-notice-content p:last-child {
  margin-bottom: 0 !important;
}

/* Modern Pricing/Plan Cards */
.modern-plan-card {
  background: #ffffff !important;
  border: 2px solid #e2e8f0 !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04) !important;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
  display: flex !important;
  flex-direction: column !important;
  position: relative !important;
  height: 100%;
}

.modern-plan-card:hover {
  transform: translateY(-6px) !important;
  border-color: var(--cg-primary, #1F9293) !important;
  box-shadow: 0 20px 40px rgba(31, 146, 147, 0.12) !important;
}

.modern-plan-card.selected {
  border-color: var(--cg-primary, #1F9293) !important;
  box-shadow: 0 20px 40px rgba(31, 146, 147, 0.18) !important;
}

.modern-plan-header-1 {
  background: linear-gradient(135deg, #1277C0, #0a5f9c) !important;
  color: #fff !important;
  padding: 1.75rem 1rem !important;
  text-align: center !important;
}

.modern-plan-header-2 {
  background: linear-gradient(135deg, #1F9293, #156d6e) !important;
  color: #fff !important;
  padding: 1.75rem 1rem !important;
  text-align: center !important;
}

.modern-plan-body {
  padding: 2rem !important;
  flex-grow: 1 !important;
}

.modern-plan-price {
  font-size: 2.25rem !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  text-align: center !important;
  margin-bottom: 1.5rem !important;
  font-family: var(--font-head), 'Outfit', sans-serif !important;
}

.modern-plan-price span {
  font-size: 1rem !important;
  font-weight: 500 !important;
  color: #64748b !important;
}

.modern-plan-features {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.modern-plan-features li {
  font-size: 0.92rem !important;
  color: #475569 !important;
  margin-bottom: 0.75rem !important;
  position: relative !important;
  padding-left: 1.5rem !important;
  line-height: 1.5 !important;
  text-align: left !important;
}

.modern-plan-features li::before {
  content: "✓" !important;
  position: absolute !important;
  left: 0 !important;
  color: var(--cg-primary, #1F9293) !important;
  font-weight: 900 !important;
}

.modern-plan-footer {
  padding: 1.5rem 2rem 2rem !important;
  text-align: center !important;
  margin-top: auto;
}

.modern-plan-btn {
  display: block !important;
  width: 100% !important;
  padding: 0.75rem 1.5rem !important;
  border-radius: 12px !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  text-align: center !important;
  text-decoration: none !important;
  border: 2px solid var(--cg-primary, #1F9293) !important;
  background: transparent !important;
  color: var(--cg-primary, #1F9293) !important;
  transition: all 0.25s ease !important;
}

.modern-plan-btn:hover {
  background: var(--cg-primary, #1F9293) !important;
  color: #fff !important;
}

.modern-plan-card.selected .modern-plan-btn {
  background: var(--cg-primary, #1F9293) !important;
  color: #fff !important;
  border-color: var(--cg-primary, #1F9293) !important;
}

/* =====================================================================
   THEME-ORIENTED MODERN MODAL & COLLAPSE STYLES
   ===================================================================== */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1050;
  display: none;
  overflow-x: hidden;
  overflow-y: auto;
  outline: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.15s linear;
}

.modal.fade .modal-dialog {
  transition: transform 0.3s ease-out;
  transform: translate(0, -50px);
}

.modal.show {
  display: flex !important;
  align-items: center;
  justify-content: center;
  opacity: 1;
}

.modal.show .modal-dialog {
  transform: none;
}

.modal-dialog {
  position: relative;
  width: auto;
  margin: 1.75rem auto;
  pointer-events: none;
  max-width: 800px;
  width: 90%;
}

.modal-dialog-scrollable {
  height: calc(100% - 3.5rem);
}

.modal-dialog-scrollable .modal-content {
  max-height: 100%;
}

.modal-dialog-centered {
  display: flex;
  align-items: center;
  min-height: calc(100% - 3.5rem);
}

.modal-content {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  pointer-events: auto;
  background-color: #ffffff;
  background-clip: padding-box;
  border: none;
  border-radius: 24px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  max-height: 85vh;
}

.modal-header {
  background: linear-gradient(135deg, var(--cg-primary, var(--clr-primary, #0EB5E2)) 0%, var(--cg-blue, var(--clr-tertiary, #1B4F8A)) 100%) !important;
  color: #fff !important;
  padding: 1.5rem 2rem !important;
  border-bottom: none !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title {
  font-family: var(--font-head), 'Outfit', sans-serif;
  font-weight: 800 !important;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  margin: 0;
}

.modal-header .btn-close {
  filter: invert(1) grayscale(100%) brightness(200%) !important;
  opacity: 0.8;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.modal-header .btn-close:hover {
  transform: rotate(90deg);
  opacity: 1;
}

.modal-body {
  position: relative;
  flex: 1 1 auto;
  padding: 2.25rem !important;
  overflow-y: auto;
  color: #475569;
  font-family: var(--font-body), 'Inter', sans-serif;
  font-size: 0.95rem;
  line-height: 1.7;
}

.modal-body h5 {
  font-family: var(--font-head), 'Outfit', sans-serif;
  color: var(--cg-blue, var(--clr-tertiary, #1B4F8A));
  font-weight: 700;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 1.05rem;
}

.modal-body h5:first-of-type {
  margin-top: 0;
}

.modal-body p {
  margin-bottom: 1rem;
}

.modal-body ul {
  padding-left: 1.25rem;
  margin-bottom: 1.25rem;
}

.modal-body li {
  margin-bottom: 0.5rem;
}

.modal-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--clr-border, #E8F0F6);
  background: #fafafa;
}

/* Close Button styling */
.btn-close {
  box-sizing: content-box;
  width: 1em;
  height: 1em;
  padding: .25em .25em;
  color: #000;
  background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.702a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
  border: 0;
  border-radius: .375rem;
  opacity: .5;
  cursor: pointer;
}

.btn-close:hover {
  opacity: .75;
}

.btn-close:focus {
  outline: 0;
  box-shadow: 0 0 0 .25rem rgba(14, 181, 226, 0.25);
  opacity: 1;
}

/* Custom Thin Scrollbar for scrollable modal */
.modal-dialog-scrollable .modal-body {
  scrollbar-width: thin;
  scrollbar-color: var(--cg-primary, var(--clr-primary, #0EB5E2)) #f1f5f9;
}

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

.modal-dialog-scrollable .modal-body::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 10px;
}

.modal-dialog-scrollable .modal-body::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 10px;
  transition: background 0.2s ease;
}

.modal-dialog-scrollable .modal-body::-webkit-scrollbar-thumb:hover {
  background: var(--cg-primary, var(--clr-primary, #0EB5E2));
}

/* Collapse / Accordion Support */
.collapse:not(.show) {
  display: none !important;
}

.collapsing {
  height: 0;
  overflow: hidden;
  transition: height 0.35s ease;
}

/* Modal Size Variations */
@media (min-width: 576px) {
  .modal-dialog {
    max-width: 500px;
    margin: 1.75rem auto;
  }

  .modal-dialog.modal-sm {
    max-width: 300px;
  }
}

@media (min-width: 992px) {
  .modal-dialog.modal-lg {
    max-width: 800px;
  }

  .modal-dialog.modal-xl {
    max-width: 960px;
  }
}

/* Modal Table Styling */
.modal-body table {
  width: 100%;
  margin-bottom: 0;
  color: #333333;
  border-collapse: collapse;
  font-family: var(--font-body), 'Inter', sans-serif;
  border-radius: 8px;
  overflow: hidden;
}

.modal-body table th,
.modal-body table td {
  padding: 0.85rem 1.1rem;
  vertical-align: middle;
  border: 1px solid var(--clr-border, #eef2f5);
}

.modal-body table tr:nth-of-type(odd) {
  background-color: #fcfdfe;
}

.modal-body table tr:hover {
  background-color: #f5f8fa;
}

.modal-body table .table-active {
  background-color: rgba(14, 181, 226, 0.08) !important;
  color: var(--clr-primary, #0EB5E2) !important;
  font-weight: 700;
  letter-spacing: 0.03em;
  font-size: 0.95rem;
  text-transform: uppercase;
}

.modal-body table .table-info {
  background-color: #e3f2fd !important;
  color: #0d47a1 !important;
  font-weight: 700;
}

/* ==================== COUNTRY SELECTOR CUSTOM STYLING ==================== */
/* Logged in & Logged out Dropdown Country Sections */
.logged-in-country-section,
.login-dropdown-country-section {
  padding: 1rem;
  border-top: 1px solid #f1f5f9;
  background: #f8fafc;
}

.logged-in-country-title,
.login-dropdown-country-title {
  font-size: 0.65rem;
  font-weight: 800;
  color: #94a3b8;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  text-align: center;
  letter-spacing: 0.05em;
}

.logged-in-country-links,
.login-dropdown-country-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.logged-in-country-link {
  display: flex !important;
  flex-direction: column;
  gap: 0.25rem !important;
  font-size: 0.7rem !important;
  color: #475569 !important;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s;
  transform: scale(1);
  position: relative;
  /* for absolute badge mapping */
}

.logged-in-country-link:hover {
  color: var(--clr-primary);
  background: rgba(14, 181, 226, 0.04);
  transform: translateY(-2px);
}

.logged-in-country-link.active {
  background: rgba(14, 181, 226, 0.08);
  color: var(--clr-primary-dark) !important;
  border: 1px solid var(--clr-primary);
}

.logged-in-country-link img {
  width: 22px !important;
  height: auto !important;
  /* set height to auto as requested */
  object-fit: cover;
  border-radius: 3px !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}

.logged-in-country-link:hover img {
  transform: scale(1.05);
}

/* Mobile Country Selector */
.mobile-menu .mobile-country-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--clr-bg);
  border-bottom: 1px solid var(--clr-border);
}

.mobile-menu .mobile-country-grid a.mobile-country-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 0.5rem;
  border-radius: 12px;
  border: 2px solid #e2e8f0;
  background: #ffffff;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  color: #475569;
  transition: all 0.2s ease;
  border-bottom: 2px solid #e2e8f0;
  /* explicitly overrides .mobile-menu a border-bottom */
  position: relative;
  /* for absolute badge mapping */
}

.mobile-menu .mobile-country-grid a.mobile-country-chip:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: var(--clr-text);
}

.mobile-menu .mobile-country-grid a.mobile-country-chip.active {
  border-color: var(--clr-primary);
  background: rgba(14, 181, 226, 0.05);
  color: var(--clr-primary);
  border-bottom-color: var(--clr-primary);
}

.mobile-menu .mobile-country-grid a.mobile-country-chip img {
  width: 28px;
  height: auto;
  /* set height to auto as requested */
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

/* Pinned absolute checkmark badge for active countries */
.logged-in-country-link .active-check {
  position: absolute;
  top: -6px;
  right: -6px;
  font-size: 1.1rem;
  color: #4CAF50;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

.mobile-menu .mobile-country-grid a.mobile-country-chip .active-check {
  position: absolute;
  top: -6px;
  right: -6px;
  font-size: 1.4rem;
  color: #4CAF50;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

/* ==================== DEDICATED HEADER COUNTRY SELECTOR ==================== */
.header-country-toggle {
  display: inline-flex !important;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.75rem !important;
  border: 1px solid var(--clr-border);
  border-radius: var(--r-full);
  background: var(--clr-white);
  color: var(--clr-text);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.8rem !important;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: var(--sh-sm);
  outline: none;
}

.header-country-toggle:hover {
  border-color: var(--clr-primary);
  background: rgba(14, 181, 226, 0.04);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(14, 181, 226, 0.12);
}

.header-country-toggle img {
  width: 20px;
  height: 14px;
  border-radius: 2px;
  object-fit: cover;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.header-country-toggle .chevron {
  font-size: 0.65rem;
  color: var(--clr-text-light);
  transition: transform 0.25s ease;
}

.nav-dropdown[data-dropdown="country"]:hover .header-country-toggle .chevron {
  transform: rotate(180deg);
}

/* ==================== INTERACTIVE HOMEPAGE COUNTRIES BAR ==================== */
.countries-inner a.country-badge-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  padding: 0.35rem 0.85rem;
  border-radius: var(--r-full);
  border: 1px solid transparent;
  transition: all 0.25s ease;
  cursor: pointer;
}

.countries-inner a.country-badge-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
}

.countries-inner a.country-badge-btn.active {
  color: var(--clr-primary-light, #5cd5f2);
  background: rgba(14, 181, 226, 0.12);
  border-color: rgba(14, 181, 226, 0.35);
  box-shadow: 0 0 12px rgba(14, 181, 226, 0.15);
}

/* ==================== REGION SELECTION WELCOME MODAL ==================== */
.region-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(8, 14, 25, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

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

.region-modal-card {
  background: var(--clr-surface, #ffffff);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 24px 64px rgba(8, 14, 25, 0.25);
  border-radius: 24px;
  width: min(680px, 92vw);
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.92);
  transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
  padding: 2.5rem;
}

.region-modal-backdrop.active .region-modal-card {
  transform: scale(1);
}

.region-modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: transparent;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #64748b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.region-modal-close:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.region-modal-header {
  text-align: center;
  margin-bottom: 2rem;
}

.region-modal-header h2 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  color: #0f172a;
}

.region-modal-header p {
  color: #64748b;
  font-size: 0.95rem;
  margin: 0;
}

.region-modal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.region-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #f8fafc;
  border: 2px solid transparent;
  border-radius: 16px;
  padding: 1.5rem 1rem;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
}

.region-card:hover {
  background: #ffffff;
  border-color: var(--clr-primary);
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(14, 181, 226, 0.1);
}

.region-card.active {
  background: rgba(14, 181, 226, 0.04);
  border-color: var(--clr-primary);
}

.region-card-flag {
  width: 60px;
  height: 60px;
  border-radius: 6px;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.06);
  margin-bottom: 1rem;
  transition: transform 0.3s;
}

.region-card:hover .region-card-flag {
  transform: scale(1.08);
}

.region-card-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: #0f172a;
  margin-bottom: 0.25rem;
}

.region-card-code {
  font-size: 0.72rem;
  font-weight: 700;
  color: #64748b;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: #e2e8f0;
  padding: 0.15rem 0.5rem;
  border-radius: 99px;
  margin-bottom: 0.75rem;
}

.region-card.active .region-card-code {
  background: var(--clr-primary);
  color: #fff;
}

.region-card-features {
  font-size: 0.78rem;
  color: #64748b;
  margin-top: auto;
  line-height: 1.4;
  border-top: 1px dashed #e2e8f0;
  padding-top: 0.75rem;
  width: 100%;
}

@media (max-width: 640px) {
  .region-modal-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.2rem;
  }

  .region-card {
    margin-bottom: 4px;
  }

  .region-modal-card {
    padding: 1.5rem;
  }
}

/* ==================== SMART REDIRECT WARNING BANNER ==================== */
.region-warning-banner {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-left: 5px solid #f59e0b;
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  box-shadow: var(--sh-sm);
  animation: ddFadeRight 0.4s ease-out;
}

.region-warning-content {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: #78350f;
}

.region-warning-content i {
  font-size: 1.25rem;
  color: #d97706;
  margin-top: 0.15rem;
}

.region-warning-title {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.region-warning-desc {
  font-size: 0.85rem;
  line-height: 1.4;
  opacity: 0.9;
}

.region-warning-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.btn-warning-action {
  background: #d97706;
  color: #ffffff !important;
  border: none;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.btn-warning-action:hover {
  background: #b45309;
  transform: translateY(-1px);
}

.btn-warning-dismiss {
  background: transparent;
  color: #92400e;
  border: 1px solid #fcd34d;
  font-weight: 600;
  font-size: 0.8rem;
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-warning-dismiss:hover {
  background: rgba(217, 119, 6, 0.05);
}

@media (max-width: 768px) {
  .region-warning-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .region-warning-actions {
    width: 100%;
    justify-content: flex-end;
  }
}

/* Mobile Country Indicator Pill in Header */
.mobile-country-indicator {
  display: none;
}

@media (max-width: 1023px) {
  .mobile-country-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.65rem;
    border: 1px solid var(--clr-border);
    border-radius: var(--r-full);
    background: var(--clr-white);
    color: var(--clr-text);
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.72rem;
    cursor: pointer;
    margin-left: auto;
    margin-right: 0.5rem;
    box-shadow: var(--sh-sm);
    outline: none;
    transition: all 0.2s;
  }

  .mobile-country-indicator:active {
    transform: scale(0.95);
  }

  .mobile-country-indicator img {
    width: 18px;
    height: 12px;
    border-radius: 1px;
    object-fit: cover;
    border: 1px solid rgba(0, 0, 0, 0.05);
  }
}