/* =====================================================
   BABSIFY TECHNOLOGY LTD — MAIN STYLESHEET
   Premium AI Tech Company Website
   ===================================================== */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
  --primary:       #0a2540;
  --primary-light: #1e3a5f;
  --primary-dark:  #061829;
  --accent:        #6c63ff;
  --accent-light:  #8b84ff;
  --accent-dark:   #4f46e5;
  --cyan:          #00d4ff;
  --orange:        #ff6b35;
  --green:         #00c896;
  --red:           #ff4757;

  --text:          #1a1a2e;
  --text-light:    #4a5568;
  --text-muted:    #718096;
  --text-white:    #ffffff;

  --bg:            #ffffff;
  --bg-light:      #f0f4ff;
  --bg-dark:       #0a0f1e;
  --bg-card:       #ffffff;
  --border:        #e2e8f0;
  --border-light:  #f1f5f9;

  --shadow-sm:     0 2px 8px rgba(10,37,64,0.06);
  --shadow:        0 8px 30px rgba(10,37,64,0.10);
  --shadow-lg:     0 20px 60px rgba(10,37,64,0.15);
  --shadow-accent: 0 10px 40px rgba(108,99,255,0.25);

  --radius-sm:  8px;
  --radius:     14px;
  --radius-lg:  20px;
  --radius-xl:  30px;
  --radius-full:9999px;

  --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  --transition-slow: all 0.6s cubic-bezier(0.4,0,0.2,1);

  --font-head: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  --nav-h: 80px;
  --section-py: 100px;
}

/* Light mode only — no dark mode */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: hidden; /* Prevent horizontal scroll on iOS Safari */
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
  transition: background 0.3s, color 0.3s;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); -webkit-tap-highlight-color: transparent; }
ul { list-style: none; }
button { border: none; cursor: pointer; font-family: inherit; touch-action: manipulation; }
input, textarea, select { font-family: inherit; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; }
h3 { font-size: clamp(1.3rem, 3vw, 1.8rem); }
h4 { font-size: clamp(1.0rem, 2.5vw, 1.25rem); }
h5 { font-size: clamp(0.88rem, 2vw, 1.1rem); }

p { color: var(--text-light); line-height: 1.8; }

.gradient-text {
  background: linear-gradient(135deg, var(--accent) 0%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

/* ---------- Utility Classes ---------- */
.section-py { padding: var(--section-py) 0; }
.section-py-sm { padding: 60px 0; }
.bg-light-blue { background: var(--bg-light); }
.bg-primary { background: var(--primary) !important; }
.bg-dark-card { background: var(--bg-card); }
.text-muted-custom { color: var(--text-muted); }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.fw-800 { font-weight: 800; }

/* Section Header */
.section-header { margin-bottom: 60px; }
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(108,99,255,0.12), rgba(0,212,255,0.12));
  color: var(--accent);
  border: 1px solid rgba(108,99,255,0.2);
  border-radius: var(--radius-full);
  padding: 6px 18px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-title { margin-bottom: 16px; }
.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 580px;
}
.section-subtitle.centered { margin: 0 auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  box-shadow: 0 6px 25px rgba(108,99,255,0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 35px rgba(108,99,255,0.45);
  color: #fff;
}

.btn-orange {
  background: linear-gradient(135deg, var(--orange), #ff9f43);
  color: #fff;
  box-shadow: 0 6px 25px rgba(255,107,53,0.35);
}
.btn-orange:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 35px rgba(255,107,53,0.45);
  color: #fff;
}

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

.btn-outline-white {
  background: transparent;
  border-color: rgba(255,255,255,0.5);
  color: #fff;
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
}

.btn-white {
  background: #fff;
  color: var(--accent);
  box-shadow: var(--shadow);
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--accent-dark);
}

.btn-lg { padding: 16px 38px; font-size: 1rem; }
.btn-sm { padding: 10px 22px; font-size: 0.85rem; }

/* ---------- HEADER ---------- */
.bx-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(10,37,64,0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
  transition: background 0.35s ease, box-shadow 0.35s ease, height 0.35s ease;
}

/* Scrolled — fully solid */
.bx-header.scrolled {
  background: rgba(10,37,64,0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 24px rgba(0,0,0,0.35);
  height: 68px;
}

/* Inner wrapper */
.bx-header__wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 28px;
  gap: 20px;
}

/* ── Logo ── */
.bx-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  min-width: 0;
}
.bx-logo__img {
  height: 36px;
  width: auto;
  display: block;
  transition: height 0.3s;
  max-width: 160px;
  object-fit: contain;
}
.bx-header.scrolled .bx-logo__img { height: 32px; }

/* ── Desktop Menu ── */
.bx-menu {
  display: flex;
  flex-direction: row;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2px;
  flex: 1;
  justify-content: center;
}
.bx-menu__item {
  position: relative;
}
.bx-menu__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  background: none;
  line-height: 1;
}
/* nav links stay white — header bg stays dark on scroll */
.bx-menu__link:hover { color: var(--accent); background: rgba(108,99,255,0.09); }
.bx-menu__link--active { color: var(--accent) !important; background: rgba(108,99,255,0.1); font-weight: 600; }

.bx-chevron {
  font-size: 0.62rem;
  opacity: 0.6;
  transition: transform 0.25s ease;
}
.bx-menu__item--drop.is-open .bx-chevron { transform: rotate(180deg); }

/* ── Mega-drop (Services) ── */
.bx-megadrop {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 460px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(10,37,64,0.13);
  border: 1px solid var(--border);
  padding: 12px;
  padding-top: 22px;   /* bridges the gap so mouse can travel into it */
  margin-top: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 200;
}
.bx-menu__item--drop.is-open .bx-megadrop {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.bx-megadrop__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}
.bx-megadrop__card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 11px 12px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: var(--transition);
}
.bx-megadrop__card:hover { background: var(--bg-light); }
.bx-megadrop__ico {
  width: 36px; height: 36px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.bx-megadrop__info { display: flex; flex-direction: column; gap: 2px; }
.bx-megadrop__info strong { font-size: 0.86rem; font-weight: 600; color: var(--text); }
.bx-megadrop__info small  { font-size: 0.76rem; color: var(--text-muted); line-height: 1.4; }
.bx-megadrop__card:hover .bx-megadrop__info strong { color: var(--accent); }
.bx-megadrop__footer {
  border-top: 1px solid var(--border);
  margin-top: 8px;
  padding-top: 8px;
}
.bx-megadrop__footer a {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; padding: 9px;
  border-radius: var(--radius-sm);
  font-size: 0.84rem; font-weight: 600;
  color: var(--accent); text-decoration: none;
  background: rgba(108,99,255,0.06);
  transition: var(--transition);
}
.bx-megadrop__footer a:hover { background: rgba(108,99,255,0.13); }

/* ── Regular drop (Company) ── */
.bx-drop {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 240px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(10,37,64,0.13);
  border: 1px solid var(--border);
  padding: 8px;
  padding-top: 18px;   /* bridges the gap so mouse can travel into it */
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 200;
}
.bx-menu__item--drop.is-open .bx-drop {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.bx-drop__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: var(--transition);
}
.bx-drop__item:hover { background: var(--bg-light); }
.bx-drop__ico { font-size: 1rem; flex-shrink: 0; margin-top: 1px; }
.bx-drop__info { display: flex; flex-direction: column; gap: 2px; }
.bx-drop__info strong { font-size: 0.86rem; font-weight: 600; color: var(--text); }
.bx-drop__info small  { font-size: 0.76rem; color: var(--text-muted); line-height: 1.4; }
.bx-drop__item:hover .bx-drop__info strong { color: var(--accent); }

/* ── Header Actions ── */
.bx-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* WhatsApp icon button */
.bx-wa-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
  text-decoration: none;
  transition: var(--transition);
  flex-shrink: 0;
}
/* WhatsApp button stays consistent on dark header */
.bx-wa-btn:hover { background: #25d366; color: #fff; border-color: #25d366; transform: scale(1.08); }

/* Book Free Call button */
.bx-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: #fff;
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(108,99,255,0.35);
}
.bx-cta-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(108,99,255,0.45); color: #fff; }

/* Hamburger — mobile only */
.bx-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px; height: 38px;
  padding: 6px;
  background: transparent;
  border: none;
  cursor: pointer;
}
.bx-burger span {
  display: block;
  width: 22px; height: 2px;
  background: #fff;
  border-radius: 2px;
  margin: 0 auto;
  transition: var(--transition);
}
/* hamburger bars stay white on dark header */
.bx-burger.is-open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.bx-burger.is-open span:nth-child(2) { opacity: 0; width: 0; }
.bx-burger.is-open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ══════════════════════════════
   MOBILE DRAWER
══════════════════════════════ */
.bx-drawer {
  position: fixed;
  top: 0; right: 0;
  width: min(340px, 90vw);
  height: 100vh;
  background: #fff;
  box-shadow: -8px 0 40px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  transform: translateX(110%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  z-index: 1010;
  overflow: hidden;
}
.bx-drawer.is-open { transform: translateX(0); }

.bx-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  background: var(--primary);
  flex-shrink: 0;
}
.bx-drawer__logo { height: 38px; }
.bx-drawer__close {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.8);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 0.9rem;
  transition: var(--transition);
}
.bx-drawer__close:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

.bx-drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 12px 16px;
}

/* Mobile links */
.bx-mlink {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: var(--transition);
}
.bx-mlink i { color: var(--accent); width: 18px; font-size: 0.9rem; flex-shrink: 0; }
.bx-mlink:hover  { background: var(--bg-light); color: var(--accent); }
.bx-mlink--active { background: rgba(108,99,255,0.09); color: var(--accent); font-weight: 600; }

.bx-mchevron {
  font-size: 0.7rem;
  color: var(--text-muted);
  transition: transform 0.25s;
  flex-shrink: 0;
}
.bx-mtoggle[aria-expanded="true"] .bx-mchevron { transform: rotate(180deg); }

.bx-mgroup { margin-bottom: 2px; }

.bx-msub {
  display: none;
  padding: 4px 0 4px 34px;
}
.bx-msub.is-open { display: block; }

.bx-msub__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.87rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}
.bx-msub__link i { width: 16px; font-size: 0.8rem; color: var(--accent); opacity: 0.7; flex-shrink: 0; }
.bx-msub__link:hover { background: var(--bg-light); color: var(--accent); }

.bx-drawer__foot {
  padding: 16px;
  border-top: 1px solid var(--border);
  background: var(--bg-light);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.bx-drawer__wa {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; padding: 12px;
  border-radius: var(--radius-full);
  background: #25d366; color: #fff;
  font-size: 0.9rem; font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}
.bx-drawer__wa:hover { background: #1da851; color: #fff; }
.bx-drawer__cta {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; padding: 12px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff; font-size: 0.9rem; font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}
.bx-drawer__cta:hover { opacity: 0.9; color: #fff; }

/* Backdrop */
.bx-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(3px);
  z-index: 1005;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.bx-backdrop.is-visible { opacity: 1; pointer-events: all; }

/* ---------- HERO SECTION ---------- */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--primary-dark);
  padding-top: var(--nav-h);
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    #061829 0%,
    #0a2540 35%,
    #1a1a4e 65%,
    #0d1b3e 100%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
}
.hero-glow-1 {
  width: 600px; height: 600px;
  background: var(--accent);
  top: -200px; right: -100px;
}
.hero-glow-2 {
  width: 400px; height: 400px;
  background: var(--cyan);
  bottom: -100px; left: 10%;
  opacity: 0.15;
}
.hero-glow-3 {
  width: 300px; height: 300px;
  background: var(--orange);
  top: 30%; left: 40%;
  opacity: 0.12;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(108,99,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108,99,255,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(108,99,255,0.2);
  animation: float 6s ease-in-out infinite;
}
.hero-shape-1 { width: 100px; height: 100px; top: 20%; left: 5%; animation-delay: 0s; }
.hero-shape-2 { width: 60px; height: 60px; top: 60%; left: 15%; animation-delay: 2s; }
.hero-shape-3 { width: 80px; height: 80px; top: 30%; right: 8%; animation-delay: 4s; }
.hero-shape-4 { width: 40px; height: 40px; bottom: 20%; right: 20%; animation-delay: 1s; }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

.hero-content { position: relative; z-index: 2; padding: 80px 0; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(108,99,255,0.15);
  border: 1px solid rgba(108,99,255,0.3);
  color: var(--accent-light);
  border-radius: var(--radius-full);
  padding: 8px 20px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
}

.hero-title {
  color: #fff;
  margin-bottom: 24px;
  line-height: 1.15;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 40px;
  max-width: 560px;
  line-height: 1.8;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 50px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  font-weight: 500;
}
.trust-item i { color: var(--green); font-size: 0.85rem; }

/* Hero Visual */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-dashboard {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 24px;
  animation: float 5s ease-in-out infinite;
  box-shadow: 0 30px 80px rgba(0,0,0,0.3);
  max-width: 480px;
  width: 100%;
}

.dashboard-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.dashboard-dots {
  display: flex;
  gap: 6px;
}
.dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.dot-red { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green { background: #28c840; }

.dashboard-title-bar {
  flex: 1;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-full);
  height: 28px;
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}
.dash-stat {
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-sm);
  padding: 12px;
  text-align: center;
}
.dash-stat-value {
  color: #fff;
  font-size: 1.3rem;
  font-weight: 700;
  font-family: var(--font-head);
}
.dash-stat-label {
  color: rgba(255,255,255,0.5);
  font-size: 0.7rem;
  margin-top: 2px;
}

.dashboard-chart {
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 16px;
  height: 100px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
}
.chart-bar {
  flex: 1;
  background: linear-gradient(to top, var(--accent), var(--cyan));
  border-radius: 4px 4px 0 0;
  opacity: 0.8;
}

.dashboard-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.dash-list-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
}
.dash-list-icon {
  width: 28px; height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
}
.icon-purple { background: rgba(108,99,255,0.2); color: var(--accent); }
.icon-cyan   { background: rgba(0,212,255,0.2); color: var(--cyan); }
.icon-green  { background: rgba(0,200,150,0.2); color: var(--green); }
.icon-orange { background: rgba(255,107,53,0.2); color: var(--orange); }

.dash-list-text {
  flex: 1;
  background: rgba(255,255,255,0.07);
  border-radius: var(--radius-full);
  height: 10px;
}
.dash-list-badge {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: var(--radius-full);
}
.badge-green { background: rgba(0,200,150,0.2); color: var(--green); }
.badge-blue  { background: rgba(0,212,255,0.2); color: var(--cyan); }

/* Floating cards on hero */
.hero-float-card {
  position: absolute;
  background: rgba(255,255,255,0.95);
  border-radius: var(--radius);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-lg);
  animation: float 4s ease-in-out infinite;
}
.hero-float-card-1 { bottom: 10%; left: -10%; animation-delay: 1s; }
.hero-float-card-2 { top: 10%; right: -5%; animation-delay: 3s; }
.hero-float-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
.hero-float-label { font-size: 0.75rem; color: var(--text-muted); }
.hero-float-value { font-size: 0.95rem; font-weight: 700; color: var(--text); font-family: var(--font-head); }

/* ---------- STATS SECTION ---------- */
.stats-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}
.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.stat-item { text-align: center; position: relative; z-index: 1; }
.stat-number {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-suffix { color: var(--accent-light); }
.stat-label {
  color: rgba(255,255,255,0.65);
  font-size: 0.95rem;
  font-weight: 500;
}
.stat-divider {
  width: 1px;
  background: rgba(255,255,255,0.1);
  height: 60px;
  align-self: center;
}

/* ---------- SERVICE CARDS ---------- */
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  height: 100%;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--cyan));
  transform: scaleX(0);
  transition: var(--transition);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(108,99,255,0.2);
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 64px; height: 64px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
  position: relative;
}
.service-icon.purple  { background: linear-gradient(135deg, rgba(108,99,255,0.15), rgba(108,99,255,0.05)); color: var(--accent); }
.service-icon.cyan    { background: linear-gradient(135deg, rgba(0,212,255,0.15), rgba(0,212,255,0.05)); color: var(--cyan); }
.service-icon.orange  { background: linear-gradient(135deg, rgba(255,107,53,0.15), rgba(255,107,53,0.05)); color: var(--orange); }
.service-icon.green   { background: linear-gradient(135deg, rgba(0,200,150,0.15), rgba(0,200,150,0.05)); color: var(--green); }
.service-icon.blue    { background: linear-gradient(135deg, rgba(56,128,255,0.15), rgba(56,128,255,0.05)); color: #3880ff; }
.service-icon.pink    { background: linear-gradient(135deg, rgba(255,56,128,0.15), rgba(255,56,128,0.05)); color: #ff3880; }

.service-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.service-card p  { font-size: 0.9rem; margin-bottom: 20px; }
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.88rem;
  transition: var(--transition);
}
.service-link:hover { gap: 10px; }

/* ---------- WHY CHOOSE US ---------- */
.why-card {
  display: flex;
  gap: 18px;
  padding: 24px;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.why-card:hover {
  border-color: rgba(108,99,255,0.2);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.why-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.why-content h4 { margin-bottom: 6px; font-size: 1.05rem; }
.why-content p  { font-size: 0.88rem; margin: 0; }

/* ---------- PROCESS STEPS ---------- */
.process-step {
  text-align: center;
  position: relative;
  padding: 0 20px;
}
.process-step::after {
  content: '';
  position: absolute;
  top: 28px;
  right: -30px;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--cyan));
  opacity: 0.4;
}
.process-step:last-child::after { display: none; }
.step-number {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--cyan));
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 6px 20px rgba(108,99,255,0.35);
}
.process-step h4 { font-size: 1rem; margin-bottom: 8px; }
.process-step p  { font-size: 0.85rem; }

/* ---------- TESTIMONIALS ---------- */
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  height: 100%;
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 20px; right: 28px;
  font-size: 5rem;
  font-family: Georgia, serif;
  color: var(--accent);
  opacity: 0.15;
  line-height: 1;
}
.stars { color: #fbbf24; margin-bottom: 14px; font-size: 0.9rem; }
.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 20px;
  font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.author-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  object-fit: cover;
  background: linear-gradient(135deg, var(--accent), var(--cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
  overflow: hidden;
}
.author-name  { font-weight: 600; font-size: 0.95rem; margin-bottom: 2px; }
.author-role  { font-size: 0.8rem; color: var(--text-muted); }
.author-country {
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 500;
}

/* Swiper overrides */
.swiper-pagination-bullet { background: var(--border); opacity: 1; }
.swiper-pagination-bullet-active { background: var(--accent); }
.swiper-button-next, .swiper-button-prev {
  width: 44px; height: 44px;
  background: var(--bg-card);
  border-radius: 50%;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  color: var(--accent) !important;
}
.swiper-button-next::after, .swiper-button-prev::after { font-size: 0.9rem !important; }

/* ---------- PORTFOLIO / PROJECTS ---------- */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}
.filter-btn {
  padding: 8px 22px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 500;
  background: var(--bg-light);
  color: var(--text-muted);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: var(--transition);
}
.filter-btn.active,
.filter-btn:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.project-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.project-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.project-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  position: relative;
  overflow: hidden;
}
.project-image-placeholder {
  width: 100%;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: rgba(255,255,255,0.4);
}
.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,37,64,0.9), transparent);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: var(--transition);
}
.project-card:hover .project-overlay { opacity: 1; }
.project-overlay-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  color: var(--primary);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
}
.project-overlay-btn:hover { background: var(--accent); color: #fff; }
.project-info { padding: 20px; }
.project-category {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}
.project-info h4 { font-size: 1.05rem; margin-bottom: 8px; }
.project-info p  { font-size: 0.85rem; margin: 0; }

/* ---------- PRICING TABLES ---------- */
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  position: relative;
  transition: var(--transition);
  height: 100%;
}
.pricing-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pricing-card.popular {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-color: var(--accent);
  box-shadow: var(--shadow-accent);
  transform: scale(1.03);
}
.popular-badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent), var(--cyan));
  color: #fff;
  padding: 6px 22px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.pricing-name {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.pricing-card.popular .pricing-name { color: rgba(255,255,255,0.7); }
.pricing-price {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
  margin-bottom: 4px;
}
.pricing-card.popular .pricing-price { color: #fff; }
.pricing-period { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 24px; }
.pricing-card.popular .pricing-period { color: rgba(255,255,255,0.6); }
.pricing-divider {
  height: 1px;
  background: var(--border);
  margin: 24px 0;
}
.pricing-card.popular .pricing-divider { background: rgba(255,255,255,0.15); }
.pricing-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--text-light);
  text-align: left;
}
.pricing-card.popular .pricing-feature { color: rgba(255,255,255,0.8); }
.pricing-feature i {
  color: var(--green);
  width: 18px;
  flex-shrink: 0;
}
.pricing-feature.unavailable {
  opacity: 0.4;
  text-decoration: line-through;
}
.pricing-feature.unavailable i { color: var(--text-muted); }

/* ---------- FAQ ACCORDION ---------- */
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition);
}
.faq-item.open { border-color: var(--accent); box-shadow: 0 4px 20px rgba(108,99,255,0.1); }
.faq-question {
  padding: 20px 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  user-select: none;
}
.faq-question:hover { color: var(--accent); }
.faq-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
  transition: var(--transition);
  color: var(--accent);
}
.faq-item.open .faq-icon {
  background: var(--accent);
  color: #fff;
  transform: rotate(45deg);
}
.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}
.faq-item.open .faq-answer {
  max-height: 300px;
  padding-bottom: 20px;
}
.faq-answer p { font-size: 0.92rem; color: var(--text-muted); margin: 0; }

/* ---------- FORMS ---------- */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}
.form-control {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: 0.95rem;
  font-family: var(--font-body);
  transition: var(--transition);
  outline: none;
}
.form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(108,99,255,0.12);
}
.form-control::placeholder { color: var(--text-muted); }
textarea.form-control { resize: vertical; min-height: 130px; }
select.form-control { cursor: pointer; }

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

/* ---------- COURSE CARDS ---------- */
.course-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
}
.course-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.course-thumb {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  position: relative;
  overflow: hidden;
}
.course-badge-overlay {
  position: absolute;
  top: 12px; right: 12px;
  background: var(--accent);
  color: #fff;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
}
.course-body { padding: 22px; }
.course-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.course-meta span {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}
.course-title { font-size: 1.05rem; margin-bottom: 10px; }
.course-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
}
.price-tag {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
}
.price-old {
  font-size: 0.9rem;
  text-decoration: line-through;
  color: var(--text-muted);
  margin-left: 6px;
}

/* ---------- EBOOK CARDS ---------- */
.ebook-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.ebook-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.ebook-cover {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.ebook-cover-inner {
  width: 120px; height: 160px;
  border-radius: 6px;
  box-shadow: -8px 8px 30px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: rgba(255,255,255,0.8);
  background: linear-gradient(135deg, var(--primary), var(--accent));
  position: relative;
  transform: perspective(400px) rotateY(-10deg);
}
.ebook-cover-inner::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 12px;
  background: rgba(0,0,0,0.2);
  border-radius: 6px 0 0 6px;
}
.ebook-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.ebook-category {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--accent);
  margin-bottom: 8px;
}
.ebook-title { font-size: 1rem; margin-bottom: 8px; }
.ebook-desc { font-size: 0.85rem; flex: 1; margin-bottom: 16px; }
.ebook-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

/* ---------- TEAM CARDS ---------- */
.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  transition: var(--transition);
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.team-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  margin: 0 auto 16px;
  overflow: hidden;
  border: 3px solid var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
}
.team-name  { font-size: 1.1rem; margin-bottom: 4px; }
.team-role  { font-size: 0.85rem; color: var(--accent); font-weight: 500; margin-bottom: 12px; }
.team-bio   { font-size: 0.85rem; margin-bottom: 16px; }
.team-social {
  display: flex;
  justify-content: center;
  gap: 10px;
}
.social-link {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: var(--transition);
}
.social-link:hover { background: var(--accent); color: #fff; }

/* ---------- BLOG CARDS ---------- */
.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.blog-thumb {
  height: 200px;
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: rgba(255,255,255,0.4);
  overflow: hidden;
}
.blog-body { padding: 22px; }
.blog-cat {
  display: inline-block;
  background: var(--bg-light);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.blog-title { font-size: 1.05rem; margin-bottom: 10px; line-height: 1.4; }
.blog-title a:hover { color: var(--accent); }
.blog-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.blog-meta span { display: flex; align-items: center; gap: 4px; }

/* ---------- CTA BANNER ---------- */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, #1a1a4e 100%);
  padding: 90px 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.05;
  top: -200px; right: -100px;
}
.cta-section::after {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  background: var(--cyan);
  border-radius: 50%;
  opacity: 0.05;
  bottom: -100px; left: 10%;
}
.cta-title   { color: #fff; margin-bottom: 16px; }
.cta-subtitle { color: rgba(255,255,255,0.7); margin-bottom: 36px; font-size: 1.1rem; }

/* ---------- PAGE HERO (inner pages) ---------- */
.page-hero {
  padding: 160px 0 80px;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--primary-light) 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero .hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.2;
}
.page-hero-glow-1 {
  width: 400px; height: 400px;
  background: var(--accent);
  top: -100px; right: 10%;
}
.page-hero-glow-2 {
  width: 300px; height: 300px;
  background: var(--cyan);
  bottom: -50px; left: 10%;
  opacity: 0.12;
}
.page-hero-content { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; margin-bottom: 16px; }
.page-hero p   { color: rgba(255,255,255,0.7); font-size: 1.1rem; max-width: 600px; margin: 0 auto 24px; }
.breadcrumb-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
}
.breadcrumb-nav a { color: rgba(255,255,255,0.7); }
.breadcrumb-nav a:hover { color: var(--accent-light); }
.breadcrumb-nav .sep { opacity: 0.4; }
.breadcrumb-nav .current { color: var(--accent-light); }

/* ---------- FEATURE HIGHLIGHT ---------- */
.feature-highlight {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  background: var(--bg-light);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin-bottom: 16px;
  transition: var(--transition);
}
.feature-highlight:hover { border-color: var(--accent); background: rgba(108,99,255,0.04); }
.feature-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 6px;
}
.feature-highlight h5 { font-size: 0.95rem; margin-bottom: 4px; }
.feature-highlight p  { font-size: 0.85rem; margin: 0; }

/* ---------- GLASSMORPHISM CARD ---------- */
.glass-card {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
}

/* ---------- LOCATION CARD ---------- */
.location-card {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}
.location-card:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.location-icon {
  width: 50px; height: 50px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 0;
}
.footer-brand { margin-bottom: 20px; }
.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 14px;
}
.footer-logo span { color: var(--accent-light); }
.footer-desc { font-size: 0.9rem; line-height: 1.7; max-width: 300px; }
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.footer-social-link {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.1);
}
.footer-social-link:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

.footer-heading {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  margin-bottom: 20px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-link {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-link:hover { color: var(--accent-light); padding-left: 4px; }
.footer-link i { font-size: 0.75rem; opacity: 0.6; }

.footer-contact-item {
  display: flex;
  gap: 10px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 12px;
}
.footer-contact-item i { color: var(--accent-light); flex-shrink: 0; margin-top: 3px; }

/* Featured blog post card — 2-col on desktop, single-col on mobile */
.feat-post {
  border-radius: var(--radius-lg);
  padding: 50px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 60px;
}
@media (max-width: 767px) {
  .feat-post {
    grid-template-columns: 1fr;
    padding: 30px 24px;
    gap: 24px;
  }
}
@media (max-width: 575px) {
  .feat-post { padding: 24px 18px; }
}

/* Shared newsletter form — used on blog page and footer */
.newsletter-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.newsletter-form input[type="email"] {
  flex: 1;
  min-width: 0;
}
.newsletter-form button {
  flex-shrink: 0;
}

.footer-newsletter-form {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}
.footer-newsletter-input {
  flex: 1;
  padding: 11px 16px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.06);
  color: #fff;
  font-size: 0.88rem;
  outline: none;
}
.footer-newsletter-input::placeholder { color: rgba(255,255,255,0.35); }
.footer-newsletter-input:focus { border-color: var(--accent); }
.footer-newsletter-btn {
  padding: 11px 20px;
  border-radius: var(--radius-full);
  background: var(--accent);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}
.footer-newsletter-btn:hover { background: var(--accent-dark); }

.footer-divider {
  height: 1px;
  background: rgba(255,255,255,0.08);
  margin: 50px 0 0;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom a { color: rgba(255,255,255,0.4); }
.footer-bottom a:hover { color: var(--accent-light); }

/* ---------- FLOATING ELEMENTS ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 56px; height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #fff;
  box-shadow: 0 6px 25px rgba(37,211,102,0.4);
  z-index: 999;
  transition: var(--transition);
  animation: pulse-green 2s ease-in-out infinite;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 10px 35px rgba(37,211,102,0.5); color: #fff; }

@keyframes pulse-green {
  0%, 100% { box-shadow: 0 6px 25px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 6px 25px rgba(37,211,102,0.7), 0 0 0 8px rgba(37,211,102,0.1); }
}

.sticky-cta {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 999;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  pointer-events: none;
}
.sticky-cta.visible { opacity: 1; transform: translateY(0); pointer-events: all; }


/* ---------- BACK TO TOP ---------- */
.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 90px;
  width: 44px; height: 44px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  box-shadow: var(--shadow);
  z-index: 998;
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition);
  text-decoration: none;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ---------- SPINNER / LOADER ---------- */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--primary-dark);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s, visibility 0.5s;
}
.page-loader.hidden { opacity: 0; visibility: hidden; }
.loader-logo {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 24px;
}
.loader-logo span { color: var(--accent); }
#pageLoader img { animation: fadeIn 0.4s ease; }
@keyframes fadeIn { from { opacity:0; transform:scale(0.9); } to { opacity:1; transform:scale(1); } }
.loader-bar {
  width: 200px; height: 3px;
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
  overflow: hidden;
}
.loader-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--cyan));
  animation: loading 1.2s ease forwards;
  border-radius: 3px;
}
@keyframes loading {
  from { width: 0; }
  to   { width: 100%; }
}

/* ---------- NOTIFICATION / TOAST ---------- */
.toast-notification {
  position: fixed;
  top: calc(var(--nav-h) + 16px);
  right: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 20px;
  box-shadow: var(--shadow-lg);
  z-index: 9999;
  transform: translateX(120%);
  transition: var(--transition);
  max-width: 320px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.toast-notification.show { transform: translateX(0); }
.toast-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 2px; }
.toast-icon.success { color: var(--green); }
.toast-icon.error   { color: var(--red); }
.toast-body p { margin: 0; font-size: 0.88rem; }
.toast-title { font-weight: 600; margin-bottom: 2px; font-size: 0.92rem; }

/* ---------- GRID HELPERS ---------- */
.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }

/* =====================================================
   RESPONSIVE BREAKPOINTS
===================================================== */

/* ── Laptop / large tablet ── */
@media (max-width: 1199px) {
  :root { --section-py: 80px; }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .bx-header__wrap { padding: 0 20px; }
  .bx-menu__link   { padding: 8px 10px; font-size: 0.84rem; }
}

/* ── Tablet / mobile — hide desktop nav, show hamburger ── */
@media (max-width: 991px) {
  :root { --section-py: 70px; --nav-h: 64px; }

  /* Header */
  .bx-menu    { display: none !important; }
  .bx-wa-btn  { display: none !important; }
  .bx-cta-btn { display: none !important; }
  .bx-burger  { display: flex !important; }
  .bx-header__wrap { padding: 0 15px; gap: 8px; }
  .bx-logo__img { height: 32px; }

  /* Layout */
  .grid-3 { grid-template-columns: repeat(2,1fr); }
  .grid-2 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  /* Page-specific */
  .hero-visual { display: none; }
  .process-step::after { display: none; }
  .stat-divider { display: none; }
}

/* ── Mobile (portrait tablet & phones) ── */
@media (max-width: 767px) {
  :root { --section-py: 60px; }

  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }

  /* Hero */
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { width: 100%; justify-content: center; }
  .hero-trust { flex-wrap: wrap; justify-content: center; gap: 10px; }

  /* Footer */
  .footer-bottom { flex-direction: column; text-align: center; gap: 10px; }

  /* Floating buttons — vertical stack above chatbot widget */
  .whatsapp-float { bottom: 92px; right: 20px; width: 52px; height: 52px; font-size: 1.3rem; }
  .back-to-top    { bottom: 20px; right: 90px; }

  /* Pricing */
  .pricing-card.popular { transform: scale(1); }

  /* Page hero */
  .page-hero { padding: 140px 0 60px; }

  /* Mobile drawer — full height scroll comfort */
  .bx-drawer { width: 85vw; }
}

/* ── Small phones (≤575px) — covers 360px → 428px → 575px ── */
@media (max-width: 575px) {
  .container { padding: 0 15px; }

  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.55rem; }
  h3 { font-size: 1.25rem; }

  .btn { padding: 12px 22px; font-size: 0.9rem; }
  .section-header { margin-bottom: 30px; }

  /* Header */
  .bx-header__wrap { padding: 0 15px; }
  .bx-logo__img { height: 30px; }
  .bx-header.scrolled .bx-logo__img { height: 28px; }

  /* Drawer */
  .bx-drawer { width: 92vw; }

  /* Hero adjustments */
  .hero-badge { font-size: 0.75rem; padding: 6px 14px; }
  .hero-subtitle { font-size: 1rem; }
  .hero-content { padding: 50px 0; }

  /* Newsletter forms — stack vertically so input isn't cramped */
  .newsletter-form,
  .footer-newsletter-form { flex-direction: column; gap: 10px; }
  .newsletter-form input[type="email"],
  .newsletter-form button,
  .footer-newsletter-btn { width: 100%; padding: 12px; }

  /* Wrap social icons so they don't overflow */
  .footer-social { flex-wrap: wrap; gap: 8px; }

  /* Bigger touch targets for social links */
  .footer-social-link { width: 42px; height: 42px; }

  /* Floating buttons — vertical stack, smaller on small screens */
  .whatsapp-float { bottom: 88px; right: 20px; width: 48px; height: 48px; font-size: 1.2rem; }
  .back-to-top    { bottom: 20px; right: 84px; width: 40px; height: 40px; }

  /* Page hero */
  .page-hero { padding: 120px 0 50px; }
  .page-hero p { font-size: 0.95rem; }
}

/* ── Very small phones (≤360px — smallest Android) ── */
@media (max-width: 360px) {
  .container { padding: 0 12px; }

  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.35rem; }
  h3 { font-size: 1.1rem; }

  .btn { padding: 10px 16px; font-size: 0.85rem; }
  .section-header { margin-bottom: 24px; }

  /* Header */
  .bx-header__wrap { padding: 0 12px; }
  .bx-logo__img { height: 26px; }
  .bx-header.scrolled .bx-logo__img { height: 24px; }

  /* Drawer — nearly full width */
  .bx-drawer { width: 98vw; }

  /* Hero — reduce padding so content breathes on tiny screens */
  .hero-content { padding: 40px 0; }
  .hero-badge { font-size: 0.7rem; padding: 5px 12px; }
  .hero-subtitle { font-size: 0.92rem; }

  /* Floating buttons — very small phones */
  .whatsapp-float { bottom: 84px; right: 16px; width: 44px; height: 44px; font-size: 1.1rem; }
  .back-to-top    { bottom: 16px; right: 76px; width: 38px; height: 38px; }
}

/* ── Tablet portrait (768px – 991px) ── */
@media (min-width: 768px) and (max-width: 991px) {
  /* Restore 2-column for paired layouts on tablets */
  .grid-2 { grid-template-columns: repeat(2, 1fr); }

  /* Bump section padding up slightly from phone mode */
  :root { --section-py: 75px; }
}

/* =====================================================
   COMPREHENSIVE MOBILE RESPONSIVENESS PATCH
   Breakpoints: 320 / 375 / 425 / 575 / 768 / 991
===================================================== */

/* ── Utility: responsive 2-col stats grid (about page) ── */
.about-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ── FAQ sidebar: sticky on desktop, static on mobile ── */
.faq-sidebar-col {
  align-self: start;
}
@media (max-width: 991px) {
  .faq-sidebar-col {
    position: static !important;
    margin-bottom: 28px;
  }
}

/* ── Ebook store search bar ── */
.ebook-search-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}
.ebook-search-input {
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  background: var(--bg-card);
  color: var(--text);
  font-size: 0.9rem;
  outline: none;
  width: 220px;
  max-width: 100%;
  transition: border-color 0.2s;
}
.ebook-search-input:focus { border-color: var(--accent); }

/* ── Filter tabs: horizontal scroll on small screens ── */
@media (max-width: 575px) {
  .filter-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 6px;
    margin-bottom: 24px;
  }
  .filter-tabs::-webkit-scrollbar { display: none; }
  .filter-btn { white-space: nowrap; flex-shrink: 0; padding: 7px 14px; font-size: 0.82rem; }

  /* Card padding reductions */
  .service-card  { padding: 22px 18px; }
  .pricing-card  { padding: 28px 20px; }
  .testimonial-card { padding: 22px 18px; }
  .team-card     { padding: 20px 16px; }
  .why-card      { padding: 18px; gap: 12px; }

  /* Pricing price — too large on phones */
  .pricing-price { font-size: 2.4rem; }

  /* Ebook cover — shorter on phones */
  .ebook-cover { height: 180px; }

  /* Ebook search — full width */
  .ebook-search-input { width: 100%; }
  .ebook-search-wrap  { width: 100%; }

  /* Reduce hero glow sizes to avoid overflow */
  .hero-glow-1 { width: 260px !important; height: 260px !important; }
  .hero-glow-2 { width: 180px !important; height: 180px !important; }
  .hero-glow-3 { width: 140px !important; height: 140px !important; }
  .page-hero-glow-1 { width: 220px !important; height: 220px !important; }
  .page-hero-glow-2 { width: 160px !important; height: 160px !important; }

  /* Section subtitle */
  .section-subtitle { font-size: 0.9rem; }

  /* Benefit card flex: tighten on small screens */
  .benefit-flex-card { flex-direction: column; gap: 10px; }
}

/* ── 425px — large phones (iPhone Pro Max, Pixel) ── */
@media (max-width: 425px) {
  :root { --section-py: 56px; }

  .container { padding: 0 14px; }

  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.15rem; }

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

  /* Ebook filter bar: stack vertically */
  .ebook-filter-bar {
    flex-direction: column;
    align-items: stretch;
  }
  .ebook-search-wrap { width: 100%; }
  .ebook-search-input { width: 100%; }

  /* CTA section */
  .cta-title  { font-size: 1.6rem; }
  .cta-subtitle { font-size: 0.9rem; }

  /* Process steps */
  .step-number { width: 52px; height: 52px; font-size: 1.2rem; }

  /* Hero trust items: tighten gap */
  .hero-trust { gap: 10px; font-size: 0.82rem; }

  /* Page hero: reduce padding */
  .page-hero { padding: 120px 0 50px; }

  /* Pricing price font */
  .pricing-price { font-size: 2.2rem; }

  /* About stats grid: keep 2 cols, reduce padding */
  .about-stats-grid > div { padding: 12px 14px !important; }
}

/* ── 375px — standard iPhones (12, 13, 14) ── */
@media (max-width: 375px) {
  .container { padding: 0 12px; }

  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.3rem; }

  .bx-header__wrap { padding: 0 12px; }
  .bx-logo__img { height: 28px; }

  .btn { padding: 11px 18px; font-size: 0.86rem; }
  .btn-lg { padding: 12px 22px; font-size: 0.9rem; }

  /* Tighter hero */
  .hero-badge { font-size: 0.72rem; padding: 5px 12px; }
  .hero-subtitle { font-size: 0.9rem; }
  .hero-trust { gap: 8px; font-size: 0.8rem; }

  /* Cards */
  .service-card  { padding: 18px 14px; }
  .pricing-card  { padding: 22px 16px; }
  .testimonial-card { padding: 18px 14px; }

  /* Section badge */
  .section-badge { font-size: 0.78rem; padding: 6px 14px; }

  /* FAQ sidebar */
  .faq-sidebar-col { margin-bottom: 20px; }
}

/* ── 320px — smallest phones (iPhone SE, Galaxy A) ── */
@media (max-width: 320px) {
  :root { --section-py: 48px; --nav-h: 58px; }

  .container { padding: 0 10px; }

  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.2rem; }
  h3 { font-size: 1.05rem; }

  .bx-header__wrap { padding: 0 10px; gap: 6px; }
  .bx-logo__img { height: 25px; }
  .bx-burger { width: 34px; height: 34px; }

  .btn { padding: 10px 14px; font-size: 0.82rem; }
  .btn-lg { padding: 11px 18px; font-size: 0.86rem; }

  /* Cards: minimal padding */
  .service-card  { padding: 16px 12px; }
  .pricing-card  { padding: 20px 14px; }
  .testimonial-card { padding: 16px 12px; }
  .why-card { padding: 14px; gap: 10px; }
  .team-card { padding: 16px 12px; }

  /* Pricing price */
  .pricing-price { font-size: 2rem; }

  /* Ebook cover */
  .ebook-cover { height: 160px; }

  /* Page hero */
  .page-hero { padding: 100px 0 40px; }
  .page-hero p { font-size: 0.88rem; }

  /* Hero content */
  .hero-content { padding: 30px 0; }
  .hero-badge { font-size: 0.68rem; padding: 4px 10px; }
  .hero-subtitle { font-size: 0.86rem; }
  .hero-trust { gap: 6px; font-size: 0.78rem; }

  /* CTA */
  .cta-title { font-size: 1.4rem; }

  /* Section */
  .section-header { margin-bottom: 24px; }
  .section-badge  { font-size: 0.75rem; padding: 5px 12px; }

  /* Footer */
  .footer-brand-desc { font-size: 0.82rem; }

  /* About stats grid: single column on 320px */
  .about-stats-grid { grid-template-columns: 1fr 1fr; }

  /* Process step number */
  .step-number { width: 46px; height: 46px; font-size: 1.1rem; }

  /* Floating buttons */
  .whatsapp-float { width: 40px; height: 40px; font-size: 1rem; right: 14px; bottom: 80px; }
  .back-to-top    { width: 36px; height: 36px; right: 68px; bottom: 14px; }
}

/* ── 768px — iPad / tablets (portrait) ── */
@media (max-width: 768px) {
  /* Hero glow: reduce to prevent overflow */
  .hero-glow-1 { width: 350px; height: 350px; }
  .hero-glow-2 { width: 250px; height: 250px; }
  .hero-glow-3 { width: 180px; height: 180px; }

  /* ai-chatbot setup steps: 2-col grid on tablet */
  .process-step-wrap { flex-wrap: wrap; }

  /* Portfolio case study grid — 1 col on small tablets */
  .case-study-card { width: 100%; }

  /* FAQ sidebar — scrollable context on tablet */
  .faq-sidebar-col { position: static !important; margin-bottom: 24px; }

  /* Ebook search: stacks below filter tabs */
  .ebook-filter-bar { flex-direction: column; align-items: stretch; gap: 12px; }
  .ebook-search-wrap { width: 100%; }
  .ebook-search-input { width: 100% !important; }
}

/* ── 1024px — small laptops and iPad landscape ── */
@media (max-width: 1024px) {
  .bx-cta-btn { padding: 9px 16px; font-size: 0.82rem; }
  .bx-menu__link { padding: 7px 9px; font-size: 0.82rem; }
}

/* ── 1440px — large desktops ── */
@media (min-width: 1440px) {
  :root {
    --section-py: 120px;
  }
  .container { max-width: 1400px; }
  .bx-header__wrap { max-width: 1400px; }
  h1 { font-size: clamp(3.4rem, 4vw, 4.2rem); }
}

/* =====================================================
   COMPREHENSIVE RESPONSIVE PATCH v2
   Mobile-first improvements across all breakpoints
   320px / 375px / 425px / 575px / 768px / 991px / 1024px / 1440px
===================================================== */

/* ── Global: text overflow safety for long strings ── */
p, li, td, th, label, small,
.footer-link, .footer-contact-item,
.section-subtitle, .hero-subtitle,
.breadcrumb-nav, .testimonial-text,
.pricing-feature, .why-content p {
  overflow-wrap: break-word;
  word-break: break-word;
}

/* ── Responsive card body padding utility class ──
   Add class="card-body-padded" to replace inline padding:40px
   so padding scales down gracefully on small screens.        */
.card-body-padded {
  padding: 40px;
}

/* ── World / info banner utility class ──
   Add class="world-banner" to full-width dark banner divs.  */
.world-banner {
  padding: 40px;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

/* ── Footer bottom links with responsive gap ── */
.footer-bottom-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ── Breadcrumb: allow wrapping on small screens ── */
.breadcrumb-nav { flex-wrap: wrap; gap: 6px 8px; }

/* ── All media elements: never overflow container ── */
img, video, picture, iframe, embed, object, canvas, svg {
  max-width: 100%;
  height: auto;
}

/* ── Improved tap targets across mobile ── */
.bx-mlink, .bx-msub__link, .footer-link,
.filter-btn, .bx-drop__item, .bx-megadrop__card {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

/* ── Prevent hero background bleed on narrow viewports ── */
.hero-bg, .hero-section,
.page-hero, .stats-section,
.cta-section { overflow: hidden; }

/* ── Section padding: responsive via clamp() on small screens ── */
.section-py   { padding: clamp(40px, var(--section-py), var(--section-py)) 0; }
.section-py-sm{ padding: clamp(30px, 60px, 60px) 0; }

/* ─────────────────────────────────────────────────
   Breakpoint: ≤ 991px
───────────────────────────────────────────────── */
@media (max-width: 991px) {
  /* Hero content: reduce large padding so content fills space */
  .hero-content { padding: 60px 0 40px; }

  /* CTA section: stack buttons on tablet portrait */
  .cta-section .d-flex.flex-wrap { justify-content: center; }
}

/* ─────────────────────────────────────────────────
   Breakpoint: ≤ 768px (tablet portrait / phablet)
───────────────────────────────────────────────── */
@media (max-width: 768px) {
  /* Footer newsletter: stack when inside col-md-6 (50% wide) */
  .footer-newsletter-form {
    flex-direction: column;
    gap: 10px;
  }
  .footer-newsletter-input { width: 100%; }
  .footer-newsletter-btn   { width: 100%; padding: 12px; text-align: center; }

  /* Utility: reduce card body padding at tablet */
  .card-body-padded { padding: 28px 24px; }

  /* Utility: reduce world banner padding at tablet */
  .world-banner { padding: 28px 20px; }

  /* Process step: remove inline padding that crowds on 2-col layouts */
  .process-step { padding: 0 10px; }
}

/* ─────────────────────────────────────────────────
   Breakpoint: ≤ 767px (mobile landscape / large phones)
───────────────────────────────────────────────── */
@media (max-width: 767px) {
  /* Hero buttons: stretch to full width */
  .hero-btns { align-items: stretch; }

  /* Course price row: allow wrapping so price + button both show */
  .course-price { flex-wrap: wrap; gap: 8px; }

  /* Blog meta: wrap so date and read-time stack nicely */
  .blog-meta { flex-wrap: wrap; gap: 8px; }

  /* Ebook footer row: wrap price + buy button on narrow cards */
  .ebook-footer { flex-wrap: wrap; gap: 10px; }

  /* CTA section buttons: stack vertically */
  .cta-section .d-flex.flex-wrap.gap-3 {
    flex-direction: column;
    align-items: center;
    gap: 12px !important;
  }
  .cta-section .d-flex.flex-wrap.gap-3 .btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }
}

/* ─────────────────────────────────────────────────
   Breakpoint: ≤ 575px (small phones)
───────────────────────────────────────────────── */
@media (max-width: 575px) {
  /* Utility: reduce card body padding on small phones */
  .card-body-padded { padding: 22px 18px; }

  /* Utility: reduce world banner padding */
  .world-banner { padding: 22px 16px; }

  /* Sticky CTA: adjust position & size to avoid overlap */
  .sticky-cta { left: 14px; bottom: 16px; }
  .sticky-cta .btn { font-size: 0.8rem; padding: 8px 14px; }

  /* Swiper nav arrows: smaller on small phones */
  .swiper-button-next,
  .swiper-button-prev { width: 36px; height: 36px; }
  .swiper-button-next::after,
  .swiper-button-prev::after { font-size: 0.7rem !important; }

  /* FAQ question: tighter padding for small screens */
  .faq-question { padding: 16px 18px; font-size: 0.93rem; }

  /* Footer bottom links: tighter gap */
  .footer-bottom-links { gap: 14px; }

  /* Location card: prevent tight side-by-side on small screens */
  .location-card { gap: 12px; }

  /* Team social links: bigger touch target */
  .social-link { width: 40px; height: 40px; }
}

/* ─────────────────────────────────────────────────
   Breakpoint: ≤ 425px (large phones: iPhone Plus, Pixel)
───────────────────────────────────────────────── */
@media (max-width: 425px) {
  /* Utility: reduce card body padding */
  .card-body-padded { padding: 20px 16px; }

  /* Utility: reduce world banner */
  .world-banner { padding: 20px 14px; }

  /* Footer bottom links: tighter */
  .footer-bottom-links { gap: 10px; }

  /* Course card: tighten body padding */
  .course-body { padding: 18px; }

  /* Ebook card body: tighten */
  .ebook-body { padding: 16px; }

  /* Hero subtitle: slightly tighter line-height */
  .hero-subtitle { line-height: 1.7; }

  /* Service card: tighten gap between icon and heading */
  .service-icon { margin-bottom: 16px; }
}

/* ─────────────────────────────────────────────────
   Breakpoint: ≤ 375px (standard iPhones 12-15)
───────────────────────────────────────────────── */
@media (max-width: 375px) {
  /* Utility: reduce card body padding */
  .card-body-padded { padding: 18px 14px; }

  /* Utility: reduce world banner */
  .world-banner { padding: 18px 12px; }

  /* Sticky CTA: shift left a touch */
  .sticky-cta { left: 10px; }
  .sticky-cta .btn { font-size: 0.76rem; padding: 7px 12px; }

  /* Swiper arrows: even smaller */
  .swiper-button-next,
  .swiper-button-prev { width: 32px; height: 32px; }

  /* FAQ question: tighter */
  .faq-question { padding: 14px 16px; }

  /* Footer bottom links */
  .footer-bottom-links { gap: 8px; font-size: 0.82rem; }

  /* Testimonial card: tighter padding already handled, ensure quote doesn't overflow */
  .testimonial-card::before { font-size: 4rem; top: 14px; right: 18px; }

  /* Section badge: ensure it wraps rather than overflows */
  .section-badge { white-space: normal; text-align: center; }
}

/* ─────────────────────────────────────────────────
   Breakpoint: ≤ 320px (iPhone SE, smallest Android)
───────────────────────────────────────────────── */
@media (max-width: 320px) {
  /* Utility: minimum card body padding */
  .card-body-padded { padding: 16px 12px; }

  /* Utility: minimum world banner padding */
  .world-banner { padding: 16px 10px; }

  /* About stats grid: switch to single column at smallest size */
  .about-stats-grid { grid-template-columns: 1fr; }

  /* Footer bottom links: minimal gap */
  .footer-bottom-links { gap: 6px; font-size: 0.76rem; }

  /* Sticky CTA: minimal at smallest size */
  .sticky-cta { left: 8px; bottom: 12px; }
  .sticky-cta .btn { font-size: 0.72rem; padding: 6px 10px; }

  /* Swiper: hide arrows at 320px — fingers scroll the slides */
  .swiper-button-next,
  .swiper-button-prev { display: none !important; }

  /* Popular pricing badge: smaller text */
  .popular-badge { font-size: 0.72rem; padding: 5px 14px; }

  /* Location card: stack icon + text vertically */
  .location-card { flex-direction: column; gap: 12px; }
  .location-icon { width: 40px; height: 40px; font-size: 1.2rem; }

  /* Course price: stack price + buy button */
  .course-price { flex-direction: column; align-items: flex-start; gap: 10px; }

  /* FAQ question: minimal */
  .faq-question { padding: 14px 14px; font-size: 0.88rem; }

  /* Blog card image: reduce height */
  .blog-thumb { height: 160px; }

  /* Project card image: reduce height */
  .project-image, .project-image-placeholder { height: 180px; }
}

/* =====================================================
   GLOBAL MOBILE UNIFICATION — LAYOUT FIX v5
   Header / Body / Footer: same horizontal alignment
   No overflow. Every page fits on every phone.
   ===================================================== */

/* ── Hard overflow prevention on all sections ── */
html, body { max-width: 100%; overflow-x: hidden; }

section, footer, header { max-width: 100%; }

.hero-section, .page-hero, .stats-section,
.cta-section, .footer { overflow-x: hidden; }

/* ── All media elements stay inside their column ── */
img, video, iframe, canvas, svg, picture { max-width: 100%; height: auto; }

/* ─────────────────────────────────────────────────────
   HERO SECTION — center text & trust row on phones
───────────────────────────────────────────────────── */
@media (max-width: 767px) {
  .hero-content {
    text-align: center;
    padding: 56px 0 44px;
  }
  .hero-badge     { margin: 0 auto 20px; }
  .hero-title     { text-align: center; }
  .hero-subtitle  { margin-left: auto; margin-right: auto; text-align: center; }
  .hero-btns      { justify-content: center; }
  .hero-trust     { justify-content: center; gap: 10px; }
  .trust-item     { font-size: 0.85rem; }
}

@media (max-width: 575px) {
  .hero-content { padding: 48px 0 38px; }
  .hero-section { min-height: unset; }
}

@media (max-width: 425px) {
  .hero-content { padding: 44px 0 34px; }
  .hero-trust   { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .trust-item   { font-size: 0.8rem; }
}

@media (max-width: 320px) {
  .hero-content { padding: 36px 0 28px; }
  .hero-trust   { grid-template-columns: 1fr; }
}

/* ─────────────────────────────────────────────────────
   PAGE HERO (inner pages) — tighter padding on phones
───────────────────────────────────────────────────── */
@media (max-width: 991px) {
  .page-hero { padding: 128px 0 64px; }
}
@media (max-width: 767px) {
  .page-hero { padding: 118px 0 54px; }
  .page-hero h1 { font-size: clamp(1.6rem, 5vw, 2.2rem); }
}
@media (max-width: 575px) {
  .page-hero { padding: 106px 0 46px; }
  .page-hero h1 { font-size: clamp(1.45rem, 5vw, 1.85rem); }
  .page-hero p  { font-size: 0.9rem; max-width: 100%; }
}
@media (max-width: 425px) {
  .page-hero { padding: 98px 0 40px; }
}
@media (max-width: 375px) {
  .page-hero { padding: 94px 0 36px; }
}
@media (max-width: 320px) {
  .page-hero { padding: 86px 0 32px; }
  .page-hero h1 { font-size: 1.4rem; }
}

/* Breadcrumb: always wrap, never overflow */
.breadcrumb-nav {
  flex-wrap: wrap;
  row-gap: 4px;
}

/* ─────────────────────────────────────────────────────
   FOOTER — stack Services & Company cols on small phones
───────────────────────────────────────────────────── */
@media (max-width: 575px) {
  .footer { padding-top: 52px; }

  /* Services (col-6) and Company (col-6) stack to full width */
  .footer .col-6 {
    width: 100%;
    flex: 0 0 auto;
    max-width: 100%;
  }
}

@media (max-width: 375px) {
  .footer { padding-top: 40px; }
}

/* Footer bottom row */
@media (max-width: 767px) {
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    padding: 18px 0;
  }
}

/* ─────────────────────────────────────────────────────
   FLOATING ELEMENTS — prevent clustering on small screens
───────────────────────────────────────────────────── */

/* WhatsApp float: keep above chatbot widget */
@media (max-width: 575px) {
  .whatsapp-float {
    bottom: 80px;
    right: 16px;
    width: 48px; height: 48px;
    font-size: 1.2rem;
  }
}
@media (max-width: 375px) {
  .whatsapp-float {
    bottom: 76px;
    right: 12px;
    width: 44px; height: 44px;
  }
}
@media (max-width: 320px) {
  .whatsapp-float {
    bottom: 72px;
    right: 10px;
    width: 40px; height: 40px;
    font-size: 1rem;
  }
}

/* Back-to-top: shift left so it never overlaps WhatsApp */
@media (max-width: 575px) {
  .back-to-top {
    bottom: 18px;
    right: 72px;
    width: 40px; height: 40px;
  }
}
@media (max-width: 375px) {
  .back-to-top { right: 64px; width: 38px; height: 38px; }
}
@media (max-width: 320px) {
  .back-to-top { right: 58px; width: 36px; height: 36px; }
}

/* Sticky CTA: center bottom on phones, no overlap with WA */
@media (max-width: 575px) {
  .sticky-cta { left: 14px; bottom: 16px; }
  .sticky-cta .btn { font-size: 0.8rem; padding: 9px 16px; }
}
@media (max-width: 375px) {
  .sticky-cta { left: 10px; bottom: 14px; }
  .sticky-cta .btn { font-size: 0.76rem; padding: 8px 14px; }
}
@media (max-width: 320px) {
  .sticky-cta { left: 8px; bottom: 12px; }
  .sticky-cta .btn { font-size: 0.72rem; padding: 7px 12px; }
}

/* ─────────────────────────────────────────────────────
   STATS & CTA SECTIONS — reduce padding on phones
───────────────────────────────────────────────────── */
@media (max-width: 575px) {
  .stats-section { padding: 50px 0; }
  .stat-number { font-size: clamp(2rem, 8vw, 2.8rem); }
  .cta-section { padding: 56px 0; }
}
@media (max-width: 375px) {
  .stats-section { padding: 44px 0; }
  .cta-section  { padding: 48px 0; }
}

/* ─────────────────────────────────────────────────────
   MOBILE DRAWER — full-width comfort on tiny phones
───────────────────────────────────────────────────── */
@media (max-width: 375px) {
  .bx-drawer { width: 95vw; }
  .bx-drawer__body { padding: 10px 14px; }
}
@media (max-width: 320px) {
  .bx-drawer { width: 100vw; border-radius: 0; }
}

/* ─────────────────────────────────────────────────────
   FORM ROW — single column on all mobile sizes
───────────────────────────────────────────────────── */
@media (max-width: 767px) {
  .form-row { grid-template-columns: 1fr; gap: 0; }
}

/* ─────────────────────────────────────────────────────
   SECTION HEADER — tighter spacing on small phones
───────────────────────────────────────────────────── */
@media (max-width: 425px) {
  .section-header { margin-bottom: 28px; }
  .section-badge  { font-size: 0.78rem; padding: 5px 14px; }
}

/* ─────────────────────────────────────────────────────
   SWIPER / TESTIMONIALS — hide nav on tiny phones
───────────────────────────────────────────────────── */
@media (max-width: 375px) {
  .swiper-button-next,
  .swiper-button-prev { display: none !important; }
}

/* ─────────────────────────────────────────────────────
   PROCESS STEPS — single column + center on mobile
───────────────────────────────────────────────────── */
@media (max-width: 575px) {
  .process-step { padding: 0 8px; text-align: center; }
  .process-step::after { display: none; }
}

/* ─────────────────────────────────────────────────────
   CARDS — ensure no content overflows card bounds
───────────────────────────────────────────────────── */
.service-card, .pricing-card, .testimonial-card,
.blog-card, .course-card, .ebook-card, .team-card,
.project-card, .faq-item, .why-card {
  overflow: hidden;
  word-break: break-word;
}

/* ─────────────────────────────────────────────────────
   PRICING — popular card: no 3D scale on phones
───────────────────────────────────────────────────── */
@media (max-width: 767px) {
  .pricing-card.popular { transform: scale(1); margin-top: 16px; }
}


/* ─────────────────────────────────────────────────────
   HEADER SCROLLED — match mobile nav-h exactly
───────────────────────────────────────────────────── */
@media (max-width: 991px) {
  .bx-header.scrolled { height: 58px; }
}
