/* ===================================================
   Dr. Shruti Mehta — Navigation & Footer Styles
   nav-footer.css  v2
   =================================================== */

/* =========================================
   SITE NAVIGATION
   ========================================= */

#site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  width: 100%;
  transition: box-shadow 0.3s ease;
}

#site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.13);
}

.site-navbar {
  background: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding: 0;
  min-height: 70px;
}

.site-navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

/* Logo */
.site-navbar .nav-logo img {
  height: 50px;
  width: auto;
  object-fit: contain;
}

/* ── Desktop Nav Links ──────────────────── */
.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  height: 70px;
  gap: 0;
}

.nav-menu>li {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.nav-menu>li>a {
  display: flex;
  align-items: center;
  height: 70px;
  padding: 0 13px;
  color: #212529;
  font-size: 0.92rem;
  font-weight: 600;
  font-family: 'Jost', sans-serif;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
  position: relative;
  gap: 4px;
}

/* active underline */
.nav-menu>li>a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 13px;
  right: 13px;
  height: 3px;
  background: #6610f2;
  transform: scaleX(0);
  transition: transform 0.22s ease;
  border-radius: 3px 3px 0 0;
}

.nav-menu>li:hover>a,
.nav-menu>li>a.active {
  color: #6610f2;
}

.nav-menu>li:hover>a::after,
.nav-menu>li>a.active::after {
  transform: scaleX(1);
}

.nav-arrow {
  font-size: 0.6rem;
  margin-top: 1px;
  transition: transform 0.22s ease;
}

.nav-menu>li:hover>a .nav-arrow {
  transform: rotate(180deg);
}

/* CTA Button */
.nav-cta-btn {
  background: #25d366 !important;
  color: #fff !important;
  padding: 9px 18px !important;
  border-radius: 50px !important;
  height: auto !important;
  font-size: 0.875rem !important;
  margin-left: 6px;
  transition: background 0.2s ease, transform 0.2s ease !important;
  white-space: nowrap;
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
}

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

.nav-cta-btn:hover {
  background: #1da851 !important;
  color: #fff !important;
  transform: translateY(-1px);
}

/* ── Dropdown Base ─────────────────────── */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 0px);
  left: 0;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.13);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 1040;
  border-top: 3px solid #6610f2;
  list-style: none;
  margin: 0;
  min-width: 230px;
}

.nav-menu>li:hover>.nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown li a {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 18px;
  color: #343a40;
  font-size: 0.875rem;
  font-weight: 500;
  font-family: 'Jost', sans-serif;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, padding-left 0.15s;
}

.nav-dropdown li a i.dd-icon {
  font-size: 0.7rem;
  width: 14px;
  color: #6610f2;
  opacity: 0.7;
}

.nav-dropdown li a:hover {
  background: #f3edff;
  color: #6610f2;
  padding-left: 24px;
}

.nav-dropdown li a:hover i.dd-icon {
  opacity: 1;
}

/* ── Mega Dropdown ─────────────────────── */
.mega-dropdown {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  min-width: 700px;
  padding: 16px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  column-gap: 8px;
}

.nav-menu>li:hover>.mega-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.mega-col h6 {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #6c757d;
  font-weight: 700;
  padding: 4px 10px 10px;
  border-bottom: 1px solid #f0f0f0;
  margin-bottom: 4px;
}

.mega-col a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  color: #343a40;
  font-size: 0.85rem;
  font-weight: 500;
  font-family: 'Jost', sans-serif;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
}

.mega-col a i {
  font-size: 0.65rem;
  color: #6610f2;
  opacity: 0.7;
}

.mega-col a:hover {
  background: #f3edff;
  color: #6610f2;
}

.mega-col a:hover i {
  opacity: 1;
}

/* ── Hamburger ─────────────────────────── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: 1px solid #dee2e6;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  transition: background 0.2s, border-color 0.2s;
}

.nav-hamburger:hover {
  background: #f3edff;
  border-color: #6610f2;
}

.nav-hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: #212529;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Mobile Nav Panel ──────────────────── */
.mobile-nav {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  z-index: 1029;
  overflow-y: auto;
  padding: 12px 16px 120px;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  border-top: 1px solid #f0f0f0;
}

.mobile-nav.open {
  transform: translateX(0);
}

.mobile-nav-section {
  border-bottom: 1px solid #f0f0f0;
}

.mobile-nav-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 4px;
  font-size: 0.97rem;
  font-weight: 600;
  font-family: 'Jost', sans-serif;
  color: #212529;
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: none;
  text-align: left;
}

.mobile-nav-toggle .toggle-icon {
  font-size: 0.65rem;
  color: #6c757d;
  transition: transform 0.2s ease;
}

.mobile-nav-toggle.active .toggle-icon {
  transform: rotate(180deg);
}

.mobile-nav-toggle.active {
  color: #6610f2;
}

.mobile-nav-submenu {
  display: none;
  padding: 0 0 12px 12px;
}

.mobile-nav-submenu.open {
  display: block;
}

.mobile-nav-submenu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 4px;
  color: #495057;
  font-size: 0.875rem;
  font-weight: 500;
  font-family: 'Jost', sans-serif;
  text-decoration: none;
  border-bottom: 1px solid #f8f9fa;
  transition: color 0.15s;
}

.mobile-nav-submenu a i {
  font-size: 0.65rem;
  color: #6610f2;
  width: 12px;
}

.mobile-nav-submenu a:hover {
  color: #6610f2;
}

.mobile-nav-direct a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 4px;
  color: #212529;
  font-size: 0.97rem;
  font-weight: 600;
  font-family: 'Jost', sans-serif;
  text-decoration: none;
  transition: color 0.15s;
}

.mobile-nav-direct a:hover {
  color: #6610f2;
}

.mobile-cta-section {
  padding: 20px 4px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mobile-cta-section .btn-primary-mobile {
  display: block;
  background: #6610f2;
  color: #fff;
  text-align: center;
  padding: 14px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.97rem;
  font-family: 'Jost', sans-serif;
  text-decoration: none;
  transition: background 0.2s;
}

.mobile-cta-section .btn-primary-mobile:hover {
  background: #510bc4;
}

.mobile-cta-section .btn-wa-mobile {
  display: block;
  background: #25d366;
  color: #fff;
  text-align: center;
  padding: 14px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.97rem;
  font-family: 'Jost', sans-serif;
  text-decoration: none;
  transition: background 0.2s;
}

.mobile-cta-section .btn-wa-mobile:hover {
  background: #1da851;
}

/* =========================================
   SITE FOOTER
   ========================================= */

.site-footer {
  background: #0f1419;
  color: #b8c0cc;
  padding-top: 60px;
}

.site-footer .footer-brand img {
  height: 48px;
  width: auto;
  margin-bottom: 14px;
}

.site-footer .footer-brand p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: #8a929e;
  margin-bottom: 18px;
  font-family: 'Jost', sans-serif;
}

.site-footer .footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 0.875rem;
}

.site-footer .footer-contact-info a,
.site-footer .footer-contact-info span {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #8a929e;
  text-decoration: none;
  font-family: 'Jost', sans-serif;
  transition: color 0.2s;
}

.site-footer .footer-contact-info a:hover {
  color: #c084fc;
}

.site-footer .footer-contact-info i {
  color: #6610f2;
  margin-top: 3px;
  min-width: 14px;
}

.site-footer .footer-heading {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid #6610f2;
  display: inline-block;
  font-family: 'Jost', sans-serif;
}

.site-footer .footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.site-footer .footer-links li a {
  color: #8a929e;
  font-size: 0.875rem;
  font-family: 'Jost', sans-serif;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s, gap 0.2s;
}

.site-footer .footer-links li a i {
  font-size: 0.55rem;
  color: #6610f2;
}

.site-footer .footer-links li a:hover {
  color: #c084fc;
  gap: 12px;
}

/* ── Social Icons ──────────────────────── */
.site-footer .footer-social {
  display: flex;
  gap: 8px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.site-footer .footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #b8c0cc;
  font-size: 1rem;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer .footer-social a:hover {
  transform: translateY(-3px);
}

.site-footer .footer-social a.soc-wa:hover {
  background: #25d366;
  color: #fff;
  border-color: #25d366;
}

.site-footer .footer-social a.soc-fb:hover {
  background: #1877f2;
  color: #fff;
  border-color: #1877f2;
}

.site-footer .footer-social a.soc-li:hover {
  background: #0a66c2;
  color: #fff;
  border-color: #0a66c2;
}

.site-footer .footer-social a.soc-yt:hover {
  background: #ff0000;
  color: #fff;
  border-color: #ff0000;
}

.site-footer .footer-social a.soc-ig:hover {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: #fff;
  border-color: #cc2366;
}

/* ── Rating Badge ──────────────────────── */
.site-footer .footer-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  margin-top: 14px;
  padding: 10px 14px;
  background: rgba(102, 16, 242, 0.12);
  border-radius: 8px;
  border-left: 3px solid #6610f2;
  font-family: 'Jost', sans-serif;
}

.site-footer .footer-rating .stars i {
  color: #ffc107;
  font-size: 0.7rem;
}

/* ── Footer Bottom Bar ─────────────────── */
.site-footer .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  margin-top: 48px;
  padding: 18px 0;
}

.site-footer .footer-bottom p {
  font-size: 0.82rem;
  color: #5d6672;
  margin: 0;
  font-family: 'Jost', sans-serif;
}

.site-footer .footer-bottom a {
  color: #5d6672;
  text-decoration: none;
  font-family: 'Jost', sans-serif;
  transition: color 0.2s;
}

.site-footer .footer-bottom a:hover {
  color: #c084fc;
}

/* Consultation box */
.footer-consult-box {
  background: rgba(102, 16, 242, 0.14);
  border: 1px solid rgba(102, 16, 242, 0.3);
  border-radius: 12px;
  padding: 16px;
  margin-top: 20px;
}

.footer-consult-box p {
  font-size: 0.85rem;
  color: #c084fc;
  margin-bottom: 10px;
  font-weight: 600;
  font-family: 'Jost', sans-serif;
}

.footer-consult-box a {
  display: block;
  background: #6610f2;
  color: #fff !important;
  text-align: center;
  padding: 10px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: 'Jost', sans-serif;
  text-decoration: none;
  transition: background 0.2s;
}

.footer-consult-box a:hover {
  background: #510bc4;
}

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

@media (max-width: 991.98px) {
  .nav-menu {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .mobile-nav {
    display: block;
  }
}

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

@media (max-width: 575.98px) {
  .site-navbar .container {
    padding: 0 14px;
  }

  .site-navbar .nav-logo img {
    height: 40px;
  }

  .site-footer .footer-bottom .d-flex {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }

  .mega-dropdown {
    min-width: 100vw;
    grid-template-columns: 1fr;
  }
}