/*=================================================================
  Aadi Academy — UI Enhancement Stylesheet
  Mobile-friendly, readable, enjoyable design improvements
=================================================================*/

/* ----------------------------------------------------------------
  1. BETTER FONT IMPORTS — Upgrade to Inter + Nunito
---------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Nunito:ital,wght@0,300;0,400;0,600;0,700;0,800;1,400&display=swap');

/* ----------------------------------------------------------------
  2. ROOT OVERRIDES — Refined color palette & smoother base
---------------------------------------------------------------- */
:root {
  --accent-color: #5B2D8E;         /* Richer, deeper purple */
  --accent-light: #8B5CF6;         /* Vibrant violet for gradients */
  --accent-warm: #F59E0B;          /* Golden accent for highlights */
  --heading-color: #1e1b4b;        /* Deep indigo for headings */
  --default-color: #374151;        /* Soft charcoal for body text */
  --surface-card: #ffffff;
  --surface-tinted: #faf5ff;
  --border-subtle: rgba(91,45,142,0.12);
  --shadow-soft: 0 4px 24px rgba(91,45,142,0.10);
  --shadow-hover: 0 8px 40px rgba(91,45,142,0.18);
  --radius-card: 16px;
  --radius-btn: 50px;
  --transition-smooth: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ----------------------------------------------------------------
  3. GLOBAL BASE POLISH
---------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', 'Open Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--default-color);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Nunito', 'Raleway', sans-serif;
  color: var(--heading-color);
  line-height: 1.3;
  font-weight: 700;
}

p {
  margin-bottom: 1.1em;
  color: var(--default-color);
}

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

/* ----------------------------------------------------------------
  4. HEADER — Frosted glass, cleaner mobile
---------------------------------------------------------------- */
.header {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 10px 0;
  box-shadow: 0 2px 20px rgba(91,45,142,0.08);
  transition: var(--transition-smooth);
}

.scrolled .header,
.header.scrolled {
  box-shadow: 0 4px 30px rgba(91,45,142,0.13);
  padding: 8px 0;
}

.header .logo img {
  max-height: 65px;
  transition: var(--transition-smooth);
}

/* Nav links — better spacing on desktop */
@media (min-width: 1200px) {
  .navmenu a,
  .navmenu a:focus {
    font-size: 15px;
    font-weight: 500;
    padding: 14px 13px;
    letter-spacing: 0.01em;
  }
}

/* Enquiry button — gradient pop */
.header .btn-getstarted,
.header .btn-getstarted:focus {
  background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
  border: none;
  font-weight: 600;
  font-size: 15px;
  padding: 8px 24px;
  border-radius: var(--radius-btn);
  letter-spacing: 0.03em;
  box-shadow: 0 4px 16px rgba(91,45,142,0.25);
  transition: var(--transition-smooth);
}

.header .btn-getstarted:hover {
  background: linear-gradient(135deg, #7c3aed, var(--accent-color));
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(91,45,142,0.32);
}

/* Mobile nav — bigger tap targets, better readability */
@media (max-width: 1199px) {

  /* Hamburger button sits to the right of Enquiry */
  .mobile-nav-toggle {
    font-size: 28px;
    color: var(--heading-color);
    cursor: pointer;
    margin-left: 10px;
    z-index: 1000001;
    line-height: 1;
  }

  /* Navmenu element itself: hidden on mobile — nav-modal handles it */
  .navmenu {
    display: none !important;
  }

  /* Founder photos – center on mobile, one per row */
  .trainers-index .row { justify-content: center; }

  /* Center footer columns and map */
  .footer .row { justify-content: center; }
  .gmap_canvas { margin: 0 auto; }

  .header .logo img {
    max-height: 52px;
  }

  .header .btn-getstarted {
    font-size: 13px;
    padding: 7px 16px;
    margin-left: 0;
    margin-right: 0;
    flex-shrink: 0;
  }


  /* Hamburger — no extra margin, sits flush beside Enquiry */
  .mobile-nav-toggle {
    margin-right: 0 !important;
    margin-left: 8px;
    flex-shrink: 0;
  }
}

@media (max-width: 480px) {
  .header .btn-getstarted {
    font-size: 12px;
    padding: 6px 14px;
  }
}


/* ----------------------------------------------------------------
  5. HERO SECTION — More dramatic, readable text
---------------------------------------------------------------- */
.hero {
  min-height: 90vh;
  position: relative;
}

.hero:before {
  background: linear-gradient(
    160deg,
    rgba(30,27,75,0.72) 0%,
    rgba(91,45,142,0.55) 50%,
    rgba(0,0,0,0.35) 100%
  );
}

.hero .container {
  text-align: center;
  padding: 0 20px;
}

.hero h2 {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(28px, 5vw, 58px);
  font-weight: 900;
  line-height: 1.2;
  color: #ffffff;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
  margin-bottom: 16px;
}

.hero p {
  font-size: clamp(16px, 2.5vw, 22px);
  color: rgba(255,255,255,0.9);
  text-shadow: 0 1px 8px rgba(0,0,0,0.3);
  max-width: 600px;
  margin: 0 auto;
}

/* ----------------------------------------------------------------
  6. INTRODUCTION SECTION — Card-style, centered, readable
---------------------------------------------------------------- */
.introduction {
  background: linear-gradient(135deg, var(--surface-tinted), #ede9fe);
  padding: 60px 0;
}

.introduction .fst-italic {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(17px, 2.5vw, 22px) !important;
  line-height: 1.8;
  font-style: italic !important;
  color: #4c1d95;
  text-align: center !important;
  max-width: 820px;
  margin: 0 auto !important;
  padding: 0 24px;
  font-weight: 500;
  position: relative;
}

.introduction .fst-italic::before {
  content: '"';
  font-size: 80px;
  color: rgba(91,45,142,0.15);
  font-family: Georgia, serif;
  position: absolute;
  top: -20px;
  left: 20px;
  line-height: 1;
}

@media (max-width: 768px) {
  .introduction {
    padding: 40px 0;
  }

  .introduction .fst-italic {
    font-size: 16px !important;
    padding: 0 20px;
    margin: 0 auto !important;
  }
}

/* ----------------------------------------------------------------
  7. ABOUT SECTION — Better card style, spacing, mobile stack
---------------------------------------------------------------- */
.about.section {
  padding: 60px 0;
}

.about .content h3 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--heading-color);
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 16px;
}

.about .content h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-color), var(--accent-light));
  border-radius: 2px;
}

.about .content ul li {
  font-size: clamp(14px, 2vw, 17px);
  line-height: 1.8;
  padding-bottom: 18px;
}

.about .content ul li i {
  color: var(--accent-color);
  font-size: 1.1rem;
  margin-right: 8px;
  flex-shrink: 0;
}

.about .content ul li span {
  display: inline;
}

.about img.img-fluid {
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
}

.about img.img-fluid:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

/* Mobile: remove excessive <br> spacing by stacking properly */
@media (max-width: 991px) {
  .about .col-lg-6 {
    text-align: center;
  }

  .about .content h3::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .about .content ul {
    text-align: left;
  }
}


/* ----------------------------------------------------------------
  8. WHY AADI SECTION — Redesigned (eyebrow + pills + cards)
---------------------------------------------------------------- */
.why-us-new {
  background: linear-gradient(160deg, #faf5ff 0%, #f0f4ff 100%);
  padding: 80px 0;
}

/* Eyebrow label */
.why-us-eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-color);
  margin-bottom: 10px;
}

/* Main heading */
.why-us-heading {
  font-size: clamp(28px, 4.5vw, 46px);
  font-weight: 900;
  color: var(--heading-color);
  margin-bottom: 12px;
  line-height: 1.2;
}

.why-us-heading span {
  background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Subtext */
.why-us-subtext {
  font-size: 17px;
  color: #6b7280;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Reason Pills */
.why-us-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 8px;
}

.why-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1.5px solid rgba(91,45,142,0.18);
  color: var(--heading-color);
  font-size: 14px;
  font-weight: 600;
  padding: 7px 18px;
  border-radius: 50px;
  box-shadow: 0 2px 10px rgba(91,45,142,0.08);
  transition: var(--transition-smooth);
  white-space: nowrap;
}

.why-pill:hover {
  background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
  color: #ffffff;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(91,45,142,0.22);
}

/* Feature Cards */
.why-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(91,45,142,0.10);
  border: 1px solid rgba(91,45,142,0.08);
  transition: var(--transition-smooth);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.why-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(91,45,142,0.18);
  border-color: rgba(91,45,142,0.2);
}

/* Card image area */
.why-card-img {
  position: relative;
  overflow: hidden;
  height: 210px;
}

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

.why-card:hover .why-card-img img {
  transform: scale(1.08);
}

/* Overlay icon that appears on hover */
.why-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(91,45,142,0.65), rgba(124,58,237,0.55));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-smooth);
}

.why-card:hover .why-card-overlay {
  opacity: 1;
}

.why-card-overlay i {
  font-size: 48px;
  color: rgba(255,255,255,0.92);
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
}

/* Card text body */
.why-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.why-card-body h4 {
  font-size: 20px;
  font-weight: 800;
  color: var(--heading-color);
  margin-bottom: 10px;
  line-height: 1.3;
}

.why-card-body p {
  font-size: 15px;
  line-height: 1.7;
  color: #6b7280;
  flex: 1;
  margin-bottom: 16px;
}

/* Category badge */
.why-card-badge {
  display: inline-block;
  background: rgba(91,45,142,0.10);
  color: var(--accent-color);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 50px;
  align-self: flex-start;
}

@media (max-width: 768px) {
  .why-us-new {
    padding: 56px 0;
  }

  .why-card-img {
    height: 180px;
  }

  .why-us-pills {
    gap: 8px;
  }

  .why-pill {
    font-size: 13px;
    padding: 6px 14px;
  }
}

/* ----------------------------------------------------------------
  9. FEATURES / LEARNING COURSES SECTION

---------------------------------------------------------------- */
.features {
  padding: 60px 0;
  background: var(--surface-tinted);
}

.features-section-title {
  font-size: clamp(26px, 4.5vw, 44px) !important;
  font-weight: 800 !important;
  text-align: center !important;
  color: var(--heading-color) !important;
  margin-bottom: 12px !important;
  background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.features .features-item {
  background: var(--surface-card);
  border: 1.5px solid var(--border-subtle);
  border-radius: 14px;
  padding: 18px 16px;
  gap: 12px;
  transition: var(--transition-smooth);
  box-shadow: 0 2px 12px rgba(91,45,142,0.06);
}

.features .features-item:hover {
  border-color: var(--accent-color);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.features .features-item img {
  max-height: 48px;
  width: 48px;
  object-fit: contain;
  padding-right: 0;
  flex-shrink: 0;
}

.features .features-item h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--heading-color);
  margin: 0;
  line-height: 1.3;
}

.features .features-item h3 a {
  color: var(--heading-color);
  transition: var(--transition-smooth);
}

.features .features-item:hover h3 a {
  color: var(--accent-color);
}

/* ----------------------------------------------------------------
  10. SECTION HEADINGS — Consistent, styled
---------------------------------------------------------------- */
.section-heading-styled {
  font-size: clamp(26px, 4.5vw, 44px);
  font-weight: 800;
  text-align: center;
  color: var(--heading-color);
  margin-bottom: 8px;
}

.section-heading-styled span {
  background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-divider {
  display: flex;
  justify-content: center;
  margin: 12px 0 40px;
}

.section-divider::after {
  content: '';
  width: 70px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-color), var(--accent-light));
  border-radius: 4px;
}

/* ----------------------------------------------------------------
  11. TEAM / TRAINERS SECTION
---------------------------------------------------------------- */

/* Center the row and ensure last row cards are centered */
.trainers-index .row {
  justify-content: center;
}

/* Each col stretches to fill height */
.trainers-index .col-lg-4,
.trainers-index .col-md-6 {
  display: flex;
}

.trainers-index .member {
  background: var(--surface-card);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
  margin-bottom: 24px !important;
  width: 100%;
  /* remove fixed flex width from main.css */
  flex: unset !important;
  max-width: unset !important;
}

.trainers-index .member:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.trainers-index .member img {
  width: 160px !important;
  height: 160px !important;
  border-radius: 50% !important;
  margin: 28px auto 0 auto !important;
  display: block;
  object-fit: cover;
  border: 4px solid rgba(91,45,142,0.15);
  transition: var(--transition-smooth);
}

.trainers-index .member:hover img {
  border-color: var(--accent-color);
}

.trainers-index .member .member-content {
  padding: 16px 20px 28px;
  text-align: center;
}

.trainers-index .member h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 4px;
}

.trainers-index .member span {
  font-size: 13px;
  font-style: normal !important;
  color: var(--accent-light);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Override main.css conflicting custom flex on mobile */
@media (max-width: 767px) {
  .trainers-index {
    display: block !important; /* let Bootstrap grid handle layout */
  }
}

/* ----------------------------------------------------------------
  12. GALLERY / EVENTS PAGE
---------------------------------------------------------------- */
.menu .nav-tabs {
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  border-bottom: none;
  margin-bottom: 32px;
}

.menu .nav-link {
  border-radius: 50px !important;
  border: 2px solid var(--border-subtle) !important;
  padding: 8px 24px !important;
  font-weight: 600;
  font-size: 15px;
  color: var(--default-color);
  background: var(--surface-card);
  transition: var(--transition-smooth);
  border-bottom: 2px solid var(--border-subtle) !important;
}

.menu .nav-link:hover {
  border-color: var(--accent-color) !important;
  color: var(--accent-color);
  background: rgba(91,45,142,0.05);
}

.menu .nav-link.active {
  background: linear-gradient(135deg, var(--accent-color), var(--accent-light)) !important;
  color: #ffffff !important;
  border-color: transparent !important;
  box-shadow: 0 4px 16px rgba(91,45,142,0.3);
}

.menu .nav-link.active h4 {
  color: #ffffff;
}

.menu .nav-link h4 {
  font-size: 15px;
  font-weight: 600;
  margin: 0;
  transition: color 0.2s;
}

.menu .tab-content .tab-header h3 {
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 800;
}

/* Gallery images — consistent card style */
.menu-img {
  width: 100% !important;
  height: 220px !important;
  object-fit: cover;
  border-radius: 14px;
  transition: var(--transition-smooth);
  box-shadow: 0 2px 12px rgba(0,0,0,0.10);
}

.menu .tab-content .menu-item {
  padding: 0 6px;
  margin-bottom: 20px;
}

.menu .tab-content .menu-item a {
  display: block;
  overflow: hidden;
  border-radius: 14px;
  position: relative;
}

.menu .tab-content .menu-item a::after {
  content: '🔍';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  font-size: 28px;
  opacity: 0;
  transition: var(--transition-smooth);
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4));
}

.menu .tab-content .menu-item a:hover .menu-img {
  transform: scale(1.07);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

.menu .tab-content .menu-item a:hover::after {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

@media (max-width: 768px) {
  .menu-img {
    height: 180px !important;
  }
}

@media (max-width: 480px) {
  .menu-img {
    height: 200px !important;
  }
}

/* ----------------------------------------------------------------
  13. PAGE TITLE (Gallery page banner)
---------------------------------------------------------------- */
.page-title {
  background: linear-gradient(135deg, var(--accent-color), #7c3aed) !important;
}

.page-title .heading h1 {
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 900;
  letter-spacing: -0.02em;
}

/* ----------------------------------------------------------------
  14. FOOTER — Soft light style
---------------------------------------------------------------- */
.footer {
  background: #f5f3ff;         /* very soft lavender-white */
  color: #374151;
  border-top: 2px solid rgba(91,45,142,0.10);
}

.footer .footer-about .logo span.sitename {
  color: var(--accent-color);
  font-size: 22px;
  font-weight: 800;
}

.footer .footer-contact p {
  color: #4b5563;
  font-size: 14px;
  margin-bottom: 4px;
}

.footer .footer-contact p strong {
  color: #1e1b4b;
}

.footer h4 {
  color: #1e1b4b;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(91,45,142,0.18);
}

.footer .footer-links ul a {
  color: #6b7280;
  font-size: 14px;
  transition: var(--transition-smooth);
}

.footer .footer-links ul a:hover {
  color: var(--accent-color);
  padding-left: 4px;
}

.footer .footer-links ul li {
  padding: 5px 0;
}

.footer .social-links a {
  border-color: rgba(91,45,142,0.25);
  color: var(--accent-color);
  transition: var(--transition-smooth);
  width: 40px;
  height: 40px;
  font-size: 17px;
}

.footer .social-links a:hover {
  background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
  border-color: transparent;
  color: #ffffff;
  transform: translateY(-2px);
}

.footer .copyright {
  background: rgba(91,45,142,0.06);
  color: #9ca3af;
  font-size: 13px;
}

.footer .copyright p {
  color: #9ca3af;
}

.footer .credits a {
  color: var(--accent-color);
}

/* Footer map — col-based, fully responsive */
.gmap_canvas {
  width: 100%;
  height: 240px;
  border-radius: 12px;
  border: 1.5px solid rgba(91,45,142,0.2);
  box-shadow: 0 2px 16px rgba(91,45,142,0.10);
  overflow: hidden;
}

.gmap_canvas iframe {
  width: 100%;
  height: 240px;
  border: 0;
  border-radius: 12px;
}

@media (max-width: 768px) {
  .gmap_canvas,
  .gmap_canvas iframe {
    height: 200px;
  }
}

/* Center footer columns and map */
.footer .row {
  justify-content: center;
}
.gmap_canvas {
  margin: 0 auto;
}
/* ----------------------------------------------------------------
  15. SCROLL TOP BUTTON
---------------------------------------------------------------- */
.scroll-top {
  background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
  box-shadow: 0 4px 20px rgba(91,45,142,0.4);
}

.scroll-top:hover {
  background: linear-gradient(135deg, var(--accent-light), var(--accent-color));
  transform: translateY(-2px);
}

/* ----------------------------------------------------------------
  16. MOBILE GLOBAL SPACING FIXES
---------------------------------------------------------------- */
@media (max-width: 768px) {
  section,
  .section {
    padding: 48px 0;
  }

  .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  /* Remove excessive <br> spacing that causes gaps */
  section br {
    display: none;
  }

  .about .col-lg-6 br {
    display: none;
  }

  /* About Us headings on mobile */
  .about .content h3 {
    font-size: 2rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .row {
    --bs-gutter-x: 1rem;
  }
}

/* ----------------------------------------------------------------
  17. PRELOADER — Branded spinner
---------------------------------------------------------------- */
#preloader:before {
  border-color: var(--accent-color) transparent var(--accent-light) transparent;
  border-width: 5px;
}

/* ----------------------------------------------------------------
  18. AOS — Better entrance animations (no flash on mobile)
---------------------------------------------------------------- */
@media screen and (max-width: 768px) {
  [data-aos] {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ----------------------------------------------------------------
  19. SWIPER SLIDER — Better mobile sizing
---------------------------------------------------------------- */
.swiper-slide img {
  object-position: center top;
}

/* ----------------------------------------------------------------
  20. WHATSAPP FLOATING BUTTON (bonus quick-contact)
---------------------------------------------------------------- */
.whatsapp-float {
  position: fixed;
  bottom: 72px;
  right: 15px;
  z-index: 99999;
  background: #25D366;
  color: #ffffff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: var(--transition-smooth);
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-2px);
  color: #ffffff;
  box-shadow: 0 8px 32px rgba(37,211,102,0.5);
}

/* ----------------------------------------------------------------
  21. WHY US — Mobile stacking fix
---------------------------------------------------------------- */
@media (max-width: 991px) {
  .why-us .why-box {
    margin-bottom: 24px;
  }

  .why-us .icon-box {
    margin-bottom: 16px;
  }
}

/* ----------------------------------------------------------------
  22. FEATURES grid — 2-col on mobile
---------------------------------------------------------------- */
@media (max-width: 575px) {
  #features .col-lg-3.col-md-4 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* ----------------------------------------------------------------
  23. SELECTION highlight
---------------------------------------------------------------- */
::selection {
  background: rgba(139,92,246,0.25);
  color: var(--heading-color);
}

/* ----------------------------------------------------------------
  24. FULLSCREEN MOBILE NAV MODAL
      - Body-level element, max z-index, no scroll needed
---------------------------------------------------------------- */

/* Hidden by default on ALL screens */
.nav-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2147483647; /* absolute maximum z-index */
  align-items: center;
  justify-content: center;
}

/* When open */
.nav-modal.is-open {
  display: flex;
}

/* Dark blurred backdrop */
.nav-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 6, 30, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: backdropFadeIn 0.25s ease;
}

@keyframes backdropFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Card — centered, no overflow/scroll */
.nav-modal__card {
  position: relative;
  z-index: 1;
  background: linear-gradient(160deg, #ffffff 0%, #f5f0ff 100%);
  border-radius: 24px;
  padding: 32px 28px 28px;
  width: min(92vw, 400px);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  box-shadow:
    0 32px 80px rgba(30, 0, 80, 0.28),
    0 0 0 1px rgba(139, 92, 246, 0.15);
  animation: cardSlideUp 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
}

@keyframes cardSlideUp {
  from { opacity: 0; transform: translateY(40px) scale(0.95); }
  to   { opacity: 1; transform: translateY(0)   scale(1);    }
}

/* Close button — top-right of card */
.nav-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(91, 45, 142, 0.1);
  color: var(--heading-color);
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  line-height: 1;
}
.nav-modal__close:hover {
  background: var(--accent-color);
  color: #fff;
  transform: rotate(90deg);
}

/* Logo inside card */
.nav-modal__logo {
  margin-bottom: 20px;
}
.nav-modal__logo img {
  height: 54px;
  width: auto;
}

/* Divider */
.nav-modal__card::after {
  content: '';
  display: block;
  width: 60%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(91,45,142,0.25), transparent);
  margin: 0 auto 16px;
  order: 3;
}

/* Nav links grid */
.nav-modal__nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  width: 100%;
  margin-bottom: 20px;
}

.nav-modal__link {
  display: block;
  text-align: center;
  padding: 12px 10px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--heading-color);
  text-decoration: none;
  border-radius: 12px;
  background: rgba(91, 45, 142, 0.07);
  border: 1px solid rgba(91, 45, 142, 0.10);
  transition: var(--transition-smooth);
  letter-spacing: 0.01em;
}

.nav-modal__link:hover,
.nav-modal__link.active {
  background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(91, 45, 142, 0.30);
}

/* Enquiry CTA at bottom of card */
.nav-modal__enquiry {
  display: block;
  width: 100%;
  text-align: center;
  padding: 13px 20px;
  background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 50px;
  text-decoration: none;
  letter-spacing: 0.04em;
  box-shadow: 0 6px 24px rgba(91, 45, 142, 0.35);
  transition: var(--transition-smooth);
}
.nav-modal__enquiry:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(91, 45, 142, 0.45);
  color: #fff;
}

/* Only show hamburger toggle on mobile (< 1200px) */
.mobile-nav-toggle.d-xl-none {
  display: none !important; /* Bootstrap handles xl show/hide */
}
@media (max-width: 1199px) {
  .mobile-nav-toggle.d-xl-none {
    display: inline-block !important;
  }
}

/* Lock body scroll when modal is open */
body.nav-modal-open {
  overflow: hidden;
}
