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

:root {
  --primary: #6c63ff;
  --primary-dark: #4b44cc;
  --secondary: #ff6584;
  --accent: #43e97b;
  --dark: #0d0d1a;
  --dark-2: #13132a;
  --dark-3: #1a1a35;
  --card-bg: #1e1e3a;
  --text: #e0e0f0;
  --text-muted: #8888aa;
  --white: #ffffff;
  --gradient: linear-gradient(135deg, #6c63ff 0%, #43e97b 100%);
  --gradient-2: linear-gradient(135deg, #6c63ff 0%, #ff6584 100%);
  --shadow: 0 8px 32px rgba(108, 99, 255, 0.18);
  --radius: 16px;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--dark);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

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

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--dark-2);
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 3px;
}

/* ─── NAVBAR ─── */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(13, 13, 26, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(108, 99, 255, 0.12);
  transition: var(--transition);
}

.navbar.scrolled {
  padding: 0.7rem 2rem;
  box-shadow: var(--shadow);
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.logo span {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-name {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.brand-name span {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient);
  transition: var(--transition);
  border-radius: 2px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  background: var(--gradient);
  color: var(--white) !important;
  padding: 0.5rem 1.4rem;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(108, 99, 255, 0.4);
}

.nav-cta::after {
  display: none !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 26px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(ellipse at 60% 40%, rgba(108, 99, 255, 0.18) 0%, transparent 65%),
    radial-gradient(ellipse at 20% 80%, rgba(67, 233, 123, 0.1) 0%, transparent 55%);
}

.hero-bg .blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  animation: float 8s ease-in-out infinite;
}

.blob-1 {
  width: 400px;
  height: 400px;
  background: var(--primary);
  top: -100px;
  right: -100px;
}

.blob-2 {
  width: 300px;
  height: 300px;
  background: var(--accent);
  bottom: -80px;
  left: -80px;
  animation-delay: -4s;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0) scale(1)
  }

  50% {
    transform: translateY(-30px) scale(1.05)
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 850px;
}

.hero-badge {
  display: inline-block;
  padding: 0.4rem 1.2rem;
  background: rgba(108, 99, 255, 0.15);
  border: 1px solid rgba(108, 99, 255, 0.3);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 1.5rem;
  animation: fadeInDown 0.6s ease;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.2rem;
  animation: fadeInUp 0.7s ease 0.1s both;
}

.hero h1 .gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 2.5rem;
  animation: fadeInUp 0.7s ease 0.2s both;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.7s ease 0.3s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-primary {
  background: var(--gradient);
  color: var(--white);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(108, 99, 255, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(108, 99, 255, 0.5);
}

.btn-outline:hover {
  border-color: var(--primary);
  background: rgba(108, 99, 255, 0.1);
  transform: translateY(-3px);
}

/* ─── STATS ─── */
.stats {
  padding: 3rem 2rem;
  background: var(--dark-2);
  border-top: 1px solid rgba(108, 99, 255, 0.1);
  border-bottom: 1px solid rgba(108, 99, 255, 0.1);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.stat-num {
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

/* ─── SECTION COMMON ─── */
.section {
  padding: 5rem 2rem;
}

.section-alt {
  background: var(--dark-2);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-tag {
  display: inline-block;
  padding: 0.3rem 1rem;
  background: rgba(108, 99, 255, 0.12);
  border: 1px solid rgba(108, 99, 255, 0.25);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.section-sub {
  color: var(--text-muted);
  max-width: 560px;
  font-size: 1.05rem;
  margin-bottom: 3rem;
}

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

.text-center .section-sub {
  margin-left: auto;
  margin-right: auto;
}

/* ─── CARDS ─── */
.card {
  background: var(--card-bg);
  border-radius: var(--radius);
  border: 1px solid rgba(108, 99, 255, 0.12);
  padding: 2rem;
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(108, 99, 255, 0.35);
  box-shadow: var(--shadow);
}

.card-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(108, 99, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.2rem;
}

.card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.card ul {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.card ul li {
  font-size: 0.88rem;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.card ul li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}

/* ─── GRID ─── */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

/* ─── ABOUT SPLIT ─── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-img {
  position: relative;
}

.about-img-inner {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--gradient);
  padding: 3px;
}

.about-img-inner img {
  border-radius: calc(var(--radius) - 3px);
  width: 100%;
}

.about-badge {
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  background: var(--card-bg);
  border: 1px solid rgba(108, 99, 255, 0.2);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  box-shadow: var(--shadow);
}

.about-badge .num {
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about-badge .lbl {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.about-text .lead {
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-size: 0.96rem;
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-top: 1.5rem;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.95rem;
}

.check-list li .ic {
  width: 22px;
  height: 22px;
  background: rgba(67, 233, 123, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 0.75rem;
  flex-shrink: 0;
}

/* ─── CTA BANNER ─── */
.cta-banner {
  background: var(--gradient);
  padding: 4rem 2rem;
  text-align: center;
}

.cta-banner h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.8rem;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.btn-white {
  background: var(--white);
  color: var(--primary);
  font-weight: 700;
}

.btn-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* ─── CONTACT ─── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  align-items: start;
}

.contact-info h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.contact-info p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 0.96rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.contact-ic {
  width: 46px;
  height: 46px;
  background: rgba(108, 99, 255, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-item h4 {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.contact-item a,
.contact-item span {
  font-size: 0.96rem;
  font-weight: 500;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.contact-item a i,
.contact-item span i {
  flex-shrink: 0;
}

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

.form-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  border: 1px solid rgba(108, 99, 255, 0.12);
  padding: 2.5rem;
}

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

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1.1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(108, 99, 255, 0.2);
  border-radius: 10px;
  color: var(--text);
  font-family: 'Poppins', sans-serif;
  font-size: 0.92rem;
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select,
.form-group textarea:focus {
  border-color: var(--primary);
  background: rgba(108, 99, 255, 0.06);
}

.form-group textarea {
  resize: vertical;
  min-height: 110px;
}

.form-group select option {
  background: var(--dark-3);
}

/* ─── FOOTER ─── */
footer {
  background: var(--dark-2);
  padding: 4rem 2rem 1.5rem;
  border-top: 1px solid rgba(108, 99, 255, 0.1);
}

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

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 1rem 0 1.5rem;
  max-width: 280px;
}

.social-links {
  display: flex;
  gap: 0.8rem;
}

.social-links a {
  width: 38px;
  height: 38px;
  background: rgba(108, 99, 255, 0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition);
  border: 1px solid rgba(108, 99, 255, 0.15);
}

.social-links a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-col ul li a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: nowrap;
}

.footer-col ul li a i {
  font-size: 0.95rem;
  flex-shrink: 0;
  line-height: 1;
}

.footer-col ul li a:hover {
  color: var(--primary);
}

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

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

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

/* ─── PAGE HERO ─── */
.page-hero {
  padding: 9rem 2rem 4rem;
  text-align: center;
  background: radial-gradient(ellipse at 50% 0%, rgba(108, 99, 255, 0.2) 0%, transparent 65%);
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.page-hero p {
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}

.breadcrumb a {
  color: var(--primary);
}

.breadcrumb span {
  color: var(--text-muted);
}

/* ─── ANIMATIONS ─── */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px)
  }

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

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

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

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── PRIVACY ─── */
.privacy-content {
  max-width: 860px;
  margin: 0 auto;
}

.privacy-content h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 2.5rem 0 0.8rem;
  color: var(--white);
}

.privacy-content p,
.privacy-content li {
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.9;
}

.privacy-content ul {
  padding-left: 1.5rem;
  list-style: disc;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 0.5rem;
}

/* ══════════════════════════════════════════════
   RESPONSIVE — Mobile-First, 5-Breakpoint System
   ══════════════════════════════════════════════ */

/* ─── Base safety ─── */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  overflow-x: hidden;
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ─── 1200px — Large desktops ─── */
@media (max-width: 1200px) {
  .container {
    padding: 0 1.5rem;
  }

  .footer-grid {
    gap: 2rem;
  }

  .about-grid {
    gap: 2.5rem;
  }
}

/* ─── 992px — Tablets landscape / small desktop ─── */
@media (max-width: 992px) {

  /* Layout */
  .section {
    padding: 4rem 1.5rem;
  }

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

  .about-img {
    display: none;
  }

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

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

  /* Typography */
  .section-title {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
  }

  .hero h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
  }

  /* Stats */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

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

/* ─── 768px — Tablets portrait ─── */
@media (max-width: 768px) {

  /* Navbar — Bootstrap handles collapse; fix visual gaps */
  .navbar {
    padding: 0.9rem 1.2rem;
  }

  .navbar.scrolled {
    padding: 0.65rem 1.2rem;
  }

  .navbar-collapse {
    background: var(--dark-2);
    border-radius: 0 0 16px 16px;
    padding: 1.2rem 1.5rem;
    border-top: 1px solid rgba(108, 99, 255, 0.15);
    margin-top: 0.5rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  }

  .navbar-nav {
    gap: 0.2rem;
  }

  .navbar-nav .nav-link {
    padding: 0.65rem 0.4rem !important;
    font-size: 1rem;
  }

  .navbar-nav .nav-cta {
    margin-top: 0.6rem;
    display: inline-block;
    width: auto;
  }

  /* Hamburger icon color */
  .navbar-toggler-icon {
    filter: brightness(0) invert(1);
  }

  /* Section */
  .section {
    padding: 3.5rem 1.2rem;
  }

  .section-title {
    font-size: clamp(1.5rem, 4.5vw, 2rem);
  }

  .section-sub {
    font-size: 0.96rem;
    margin-bottom: 2rem;
  }

  /* Page hero */
  .page-hero {
    padding: 7rem 1.2rem 3rem;
  }

  .page-hero h1 {
    font-size: clamp(1.7rem, 5vw, 2.6rem);
  }

  /* Hero */
  .hero {
    padding: 7rem 1.2rem 3rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-btns {
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
  }

  .btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
    min-height: 48px;
    font-size: 0.96rem;
  }

  /* About */
  .about-text .lead {
    font-size: 1rem;
  }

  /* Cards */
  .grid-2 {
    grid-template-columns: 1fr;
  }

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

  /* Contact form */
  .form-row {
    grid-template-columns: 1fr;
  }

  .form-card {
    padding: 1.8rem 1.3rem;
  }

  .contact-info {
    order: 2;
  }

  .form-card {
    order: 1;
  }

  /* Stats */
  .stats {
    padding: 2.5rem 1.2rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
  }

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

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

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

  footer {
    padding: 3rem 1.2rem 1.2rem;
  }

  /* CTA */
  .cta-banner {
    padding: 3rem 1.2rem;
  }

  .cta-banner h2 {
    font-size: clamp(1.4rem, 4vw, 2rem);
  }

  /* Logo */
  .logo {
    font-size: 1.25rem;
  }
}

/* ─── 576px — Mobile landscape / small tablets ─── */
@media (max-width: 576px) {

  /* Global spacing */
  .section {
    padding: 3rem 1rem;
  }

  .container {
    padding: 0 0.9rem;
  }

  /* Hero */
  .hero {
    padding: 6rem 1rem 3rem;
    min-height: auto;
  }

  .hero h1 {
    font-size: clamp(1.8rem, 7vw, 2.4rem);
  }

  .hero-badge {
    font-size: 0.78rem;
    padding: 0.35rem 0.9rem;
  }

  /* Page hero */
  .page-hero {
    padding: 6.5rem 1rem 2.5rem;
  }

  .page-hero h1 {
    font-size: clamp(1.6rem, 6vw, 2rem);
  }

  /* Grids → single column */
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

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

  /* Cards */
  .card {
    padding: 1.5rem 1.2rem;
  }

  .card-icon {
    width: 46px;
    height: 46px;
    font-size: 1.4rem;
  }

  /* Form */
  .form-card {
    padding: 1.4rem 1rem;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 0.75rem 0.9rem;
    font-size: 0.9rem;
  }

  .form-group textarea {
    min-height: 100px;
  }

  /* Contact items */
  .contact-ic {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  /* Blobs — hide on mobile for performance */
  .blob-1,
  .blob-2 {
    display: none;
  }

  /* About badge — reposition for single col */
  .about-badge {
    right: 0;
    bottom: 0;
    padding: 0.7rem 1rem;
  }

  .about-badge .num {
    font-size: 1.5rem;
  }

  /* Footer */
  .footer-brand p {
    max-width: 100%;
  }

  .footer-col h4 {
    margin-bottom: 0.8rem;
  }

  /* CTA */
  .cta-banner {
    padding: 2.5rem 1rem;
  }

  .cta-banner .btn {
    width: 100%;
    max-width: 280px;
  }

  /* Section tag */
  .section-tag {
    font-size: 0.72rem;
  }

  /* Breadcrumb */
  .breadcrumb {
    font-size: 0.78rem;
  }

  /* Buttons — touch-friendly */
  .btn {
    min-height: 48px;
    padding: 0.8rem 1.5rem;
    font-size: 0.92rem;
  }

  .nav-cta {
    padding: 0.5rem 1.1rem !important;
  }

  /* Privacy policy cards */
  .contact-cards {
    grid-template-columns: 1fr !important;
  }

  .ps {
    padding: 1.2rem 1rem;
  }

  .policy-meta {
    gap: 0.5rem;
  }

  .policy-meta span {
    font-size: 0.75rem;
  }
}

/* ─── 380px — Small phones (iPhone SE, Galaxy A series) ─── */
@media (max-width: 380px) {
  .hero h1 {
    font-size: 1.65rem;
  }

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

  .stat-num {
    font-size: 1.8rem;
  }

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

  .logo {
    font-size: 1.1rem;
  }

  .btn {
    font-size: 0.88rem;
    padding: 0.75rem 1.2rem;
  }

  .card {
    padding: 1.2rem 1rem;
  }

  .form-card {
    padding: 1.2rem 0.9rem;
  }

  .footer-grid {
    gap: 1.2rem;
  }

  .page-hero {
    padding: 6rem 0.9rem 2rem;
  }

  .navbar {
    padding: 0.8rem 1rem;
  }

  .about-badge {
    display: none;
  }
}


/* ─── BOOTSTRAP 5 OVERRIDES ─── */
/* Navbar brand */
.navbar-brand.logo {
  color: var(--white) !important;
}

.navbar-brand.logo span {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Toggler button */
.navbar-toggler:focus {
  box-shadow: none !important;
  outline: none;
}

.navbar-toggler {
  padding: 0.3rem 0.5rem;
}

/* Bootstrap nav-link reset to our styles */
.navbar-nav .nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted) !important;
  padding: 0.4rem 0.2rem;
  position: relative;
  transition: var(--transition);
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient);
  transition: var(--transition);
  border-radius: 2px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--white) !important;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 100%;
}

/* "Get a Quote" CTA inside Bootstrap nav */
.navbar-nav .nav-cta {
  background: var(--gradient) !important;
  color: var(--white) !important;
  padding: 0.45rem 1.3rem !important;
  border-radius: 50px;
  font-weight: 600;
}

.navbar-nav .nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(108, 99, 255, 0.4);
}

.navbar-nav .nav-cta::after {
  display: none !important;
}

/* Mobile collapse panel */
@media(max-width: 991px) {
  .navbar-collapse {
    background: var(--dark-2);
    border-radius: 0 0 16px 16px;
    padding: 1.2rem 1.5rem;
    border-top: 1px solid rgba(108, 99, 255, 0.15);
    margin-top: 0.5rem;
  }

  .navbar-nav {
    gap: 0.3rem;
  }

  .navbar-nav .nav-link {
    padding: 0.6rem 0.2rem;
  }

  .navbar-nav .nav-cta {
    margin-top: 0.5rem;
    display: inline-block;
  }
}