﻿/* Theme Name: Astro Syed Sahab Author: Syed Sahab Version: 1.0 */
html {
  scroll-behavior: smooth;
  overflow-x: hidden !important;
  margin: 0;
  padding: 0;
  height: 100%;
} /* Universal Premium Scrollbar - Synced from Zakat Calculator */
html::-webkit-scrollbar {
  width: 6px;
}
html::-webkit-scrollbar-track {
  background: #0f0f11;
}
html::-webkit-scrollbar-thumb {
  background: #555;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
html::-webkit-scrollbar-thumb:hover {
  background: #777;
}
body {
  font-family: "Poppins", Arial, sans-serif;
  background-color: #f5f5f5;
  color: #1a1f3c;
  line-height: 1.6;
  margin: 0;
  overflow: visible !important;
  position: relative;
  width: 100%;
} /* Global Scroll Reveal - Premium App-Like Effect */
.scroll-reveal {
  opacity: 0;
  transform: translateY(40px) scale(0.96);
  transition:
    opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}
.scroll-reveal.active {
  opacity: 1 !important;
  transform: translateY(0) scale(1) !important;
}

/* Fallback for safety so nothing gets stuck if JS fails or is slow */
@media (prefers-reduced-motion: reduce) {
  .scroll-reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}
button,
input[type="button"],
input[type="submit"] {
  font-family: "Poppins", Arial, sans-serif;
  font-weight: 500;
}
.font-serif {
  font-family: "Playfair Display", Georgia, serif;
} /* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 5000;
  transition: transform 0.3s ease-in-out;
  transform: translateY(0); /* Wrapper stays transparent */
  background-color: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
  border-bottom: none !important;
  pointer-events: none; /* Allow clicks through transparent areas */
} /* Inner Container - The Pill */
.header-container {
  pointer-events: auto; /* Re-enable clicks on the content */
  max-width: 1280px;
  margin: 15px auto 0;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  position: relative;
  background-color: #000000;
  border-bottom: none;
  border-radius: 100px;
  box-shadow: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); /* Smooth sleek transition */
} /* Scrolled State - Floating Solid Pill */
.header.scrolled .header-container {
  background-color: #000000;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  border-radius: 100px; /* Full Pill Shape */
  margin-top: 15px; /* Float effect */
  max-width: 1280px; /* Match Hero/Main width */
  padding: 0 24px; /* Match Section Padding */
}
.header.nav-floating .header-container {
  background-color: #000000;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  border-radius: 100px;
  margin-top: 15px;
  max-width: 1280px;
  padding: 0 24px;
} /* Force Floating Pill on Blog, Archive, Single, 404, and Legal pages */
body.blog .header .header-container,
body.archive .header .header-container,
body.single .header .header-container,
body.single-post .header .header-container,
body.error404 .header .header-container,
body.page-template-page-testimonials-php .header .header-container,
body.page-template-page-testimonials .header .header-container,
body.page-template-page-success-story-detail-php .header .header-container {
  background-color: #000000;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  border-radius: 100px;
  margin-top: 12px;
  max-width: 1280px;
  padding: 0 24px;
} /* Force Normal Solid Rectangle Header on Mobile (No Pill Shape) */
@media (max-width: 767px) {
  .header .header-container {
    border-radius: 0 !important;
    margin-top: 0 !important;
    width: 100% !important;
    padding: 0 20px !important;
  }
} /* Add Top Padding to Main Content on Blog, Single, and Legal Pages to prevent Header Overlap */
body.blog main,
body.archive main,
body.single main,
body.single-post main,
body.page-template-page-success-story-detail-php main {
  padding-top: 150px !important;
} /* Hide header when scrolling down (smart sticky) */
.header.nav-hidden {
  transform: translateY(-120%);
} /* Premium Logo Animation */
.logo {
  text-decoration: none;
  color: white;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 20;
}
.logo-image-container {
  position: relative;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
} /* Original Logo Circle */
.logo-circle {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 9999px;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}
.logo-circle span {
  color: black;
  font-weight: 700;
  font-size: 1.15rem;
} /* Logo Circle Spring Entrance Animation */
.logo-circle {
  animation: logoSpringEntrance 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55)
    forwards;
  transform: scale(0);
}
.logo-image-container::before,
.logo-image-container::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 4px solid #ffffff; /* Thicker and pure white */
  opacity: 0;
  pointer-events: none;
  z-index: 1;
}
.logo-image-container::before {
  animation: rippleEffect 1.5s ease-out 0.5s 3 forwards; /* 3 times then stop */
}
.logo-image-container::after {
  animation: rippleEffect 1.5s ease-out 1.2s 3 forwards;
} /* Logo Text Animation: Slides in, stays for 1.5s, then slides out */
.logo-text {
  animation: logoTextShowHide 3.5s cubic-bezier(0.4, 0, 0.2, 1) 1s forwards;
  opacity: 0;
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  display: inline-block;
  vertical-align: middle;
}
@keyframes logoTextShowHide {
  0% {
    opacity: 0;
    transform: translateY(15px);
    max-width: 0;
  }
  15% {
    opacity: 1;
    transform: translateY(0);
    max-width: 200px;
  }
  85% {
    opacity: 1;
    transform: translateY(0);
    max-width: 200px;
  }
  100% {
    opacity: 0;
    transform: translateY(15px);
    max-width: 0;
  }
}
@keyframes textSlideUpReveal {
  0% {
    transform: translateY(20px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
} /* Keyframes - Sped up to 2.5s total */
@keyframes logoTextSequence {
  0% {
    opacity: 0;
    max-width: 0;
    transform: translateX(10px);
  }
  10% {
    opacity: 1;
    max-width: 200px;
    transform: translateX(0);
  } /* Reveal */
  85% {
    opacity: 1;
    max-width: 200px;
    transform: translateX(0);
  } /* Stay */
  100% {
    opacity: 0;
    max-width: 0;
    transform: translateX(-20px);
  } /* Slide back/in */
} /* Keyframes */
@keyframes logoSpringEntrance {
  0% {
    transform: scale(0);
  }
  60% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes rippleEffect {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.6;
  }
  100% {
    transform: translate(-50%, -50%) scale(2);
    opacity: 0;
  }
} /* Removed mobile hero background animation */ /* Center Pill Menu */
.nav {
  display: flex;
  align-items: center;
  gap: 2px; /* Gap between menu items */
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background-color: transparent;
  padding: 0;
  border: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  z-index: 20;
}
@media (max-width: 768px) {
  .nav {
    display: none !important;
  }
}
.nav a {
  font-size: 1rem; /* Increased font size */
  font-weight: 500;
  color: #ffffff !important; /* PURE WHITE always by default */
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 8px 14px; /* Balanced padding */
  border-radius: 50px; /* Pill shape for buttons only */
  display: inline-block;
  text-align: center; /* Center text within pill */
}
.nav a:hover,
.nav a.active,
.current-menu-item > a,
.current_page_item > a {
  color: rgb(127, 251, 174) !important;
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
  text-shadow: none !important;
  backdrop-filter: none !important;
}
.header.scrolled .nav a,
.header.nav-floating .nav a {
  color: #ffffff !important; /* Ensure White in scrolled state too */
  padding: 8px 12px; /* Compact padding for floating pill state */
}
.header.scrolled .nav a:hover,
.header.scrolled .nav a.active,
.header.scrolled .current-menu-item > a,
.header.scrolled .current_page_item > a {
  background-color: rgba(255, 255, 255, 0.1) !important;
  color: rgb(127, 251, 174) !important;
  transform: translateY(-1px);
  text-shadow: none !important;
} /* Desktop Dropdown for Tools */
.nav-item-dropdown {
  position: relative;
  display: inline-block;
}
.nav-item-dropdown .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(15px) scale(0.97); /* Premium Glassmorphism & Floating Gap */
  background: rgba(10, 10, 12, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(127, 251, 174, 0.15);
  border-radius: 20px;
  min-width: 220px;
  padding: 15px 0;
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0s;
  z-index: 1000;
  margin-top: 20px;
  transform-origin: top center;
} /* Invisible bridge for all dropdowns to prevent hover loss */
.nav-item-dropdown .dropdown-menu::before {
  content: "";
  position: absolute;
  top: -40px;
  left: -50%;
  width: 200%;
  height: 40px;
  background: transparent;
}
.nav-item-dropdown:hover .dropdown-menu,
.nav-item-dropdown.is-hovered .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0s;
}
.dropdown-menu-services {
  min-width: 800px !important;
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px 20px; /* Increased vertical gap since card padding is removed */
  padding: 24px 30px !important;
}
.service-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.service-main {
  font-weight: 600;
  color: rgb(127, 251, 174);
  font-size: 0.95rem;
  margin-bottom: 4px;
  display: block;
}
.service-sub {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.dropdown-menu a {
  display: block !important;
  color: rgba(255, 255, 255, 0.8) !important;
  padding: 10px 20px !important;
  font-size: 0.95rem !important;
  border-radius: 0 !important;
  background: transparent !important;
  text-align: left !important;
  white-space: nowrap;
  opacity: 1 !important;
  transform: none !important;
  transition: all 0.2s ease !important;
}
.dropdown-menu-services a {
  display: inline-block !important; /* Ensure line only covers text width */
  padding: 3px 0 !important; /* Reduced padding slightly for better spacing */
  font-size: 0.9rem !important;
  font-weight: 400 !important; /* Lighter font weight as requested */
  white-space: normal !important;
  position: relative;
}
.dropdown-menu a:hover {
  background: rgba(127, 251, 174, 0.08) !important;
  color: rgb(127, 251, 174) !important;
  padding-left: 25px !important;
}
.dropdown-menu-services a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 1px;
  bottom: 1px; /* Positions the line right under the text */
  left: 0;
  background-color: rgb(127, 251, 174);
  transition: width 0.3s ease;
}
.dropdown-menu-services a:hover {
  background: transparent !important;
  padding-left: 0 !important; /* Disable side slide */
  color: #ffffff !important; /* Keep text white instead of green */
}
.dropdown-menu-services a:hover::after {
  width: 100%;
}
.nav-item-dropdown .dropdown-trigger {
  cursor: pointer;
} /* Dropdown arrow indicator removed as per user request */
.nav-item-dropdown .dropdown-trigger::after {
  display: none;
}
.right-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  z-index: 20;
} /* Nav Menu Dropdown (Mobile Only) */
.nav-menu-dropdown {
  opacity: 0;
  display: none; /* Hide on desktop */
}
@media (max-width: 768px) {
  .nav-menu-dropdown {
    display: block;
    opacity: 1;
  } /* Bounce hint now only on the arrow icon itself to keep click area stable */
  .nav-menu-dropdown .nav-menu-btn svg {
    animation: navArrowBounceHint 11.6s ease-in-out 4s 1 forwards;
  }
}
@keyframes navMenuEntrance {
  from {
    opacity: 0;
    transform: translate3d(10px, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}
@keyframes navArrowBounceHint {
  0%,
  3.44%,
  6.9%,
  93.1%,
  96.5%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  1.72%,
  5.17%,
  94.8%,
  98.2% {
    transform: translate3d(0, -8px, 0);
  }
}
.nav-menu-btn {
  width: auto;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  padding: 0;
}
.nav-menu-btn:hover {
  color: #fdba74;
}
.nav-menu-btn svg {
  transition: transform 0.3s ease;
}
.nav-menu-btn {
  position: relative;
  z-index: 3001;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}
.hamburger-icon {
  width: 20px;
  height: 14px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hamburger-icon span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #ffffff;
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
} /* Animate to X */
.nav-menu-dropdown.is-open .hamburger-icon span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
  width: 110%; /* Slightly longer for perfect cross */
}
.nav-menu-dropdown.is-open .hamburger-icon span:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}
.nav-menu-dropdown.is-open .hamburger-icon span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
  width: 110%;
}
.menu-dropdown-content {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(10, 10, 12, 0.98);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  padding: 100px 30px 40px 30px;
  display: none; /* Default to none for button visibility */
  flex-direction: column;
  gap: 0;
  z-index: 3000;
  overflow-y: auto;
  border-left: 1px solid rgba(255, 255, 255, 0.05);
  pointer-events: none;
} /* Premium Neon Glow Top Line */
.menu-dropdown-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent,
    #22c55e,
    #10b981,
    #22c55e,
    transparent
  );
  z-index: 1001;
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.6);
}
.nav-menu-dropdown.is-open .menu-dropdown-content {
  display: flex;
  pointer-events: auto;
  animation: menuEntrance 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}
.nav-menu-dropdown.is-closing .menu-dropdown-content {
  display: flex;
  animation: menuExit 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}
@keyframes menuExit {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(100%);
  }
}
@keyframes menuEntrance {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
} /* Slide Entrance for Links */
@keyframes linkEntrance {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.nav-menu-dropdown.is-open .menu-dropdown-content a,
.nav-menu-dropdown.is-open .mobile-dropdown-group {
  animation: linkEntrance 0.6s cubic-bezier(0.23, 1, 0.32, 1) both;
}
.nav-menu-dropdown.is-open .menu-dropdown-content a:nth-child(1) {
  animation-delay: 0.1s;
}
.nav-menu-dropdown.is-open .menu-dropdown-content a:nth-child(2) {
  animation-delay: 0.15s;
}
.nav-menu-dropdown.is-open .menu-dropdown-content a:nth-child(3) {
  animation-delay: 0.2s;
}
.nav-menu-dropdown.is-open .menu-dropdown-content a:nth-child(4) {
  animation-delay: 0.25s;
}
.nav-menu-dropdown.is-open .menu-dropdown-content a:nth-child(5) {
  animation-delay: 0.3s;
}
.menu-dropdown-content a {
  display: block;
  padding: 16px 0;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateX(20px);
}
.mobile-dropdown-group {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 8px;
  padding-bottom: 8px;
}
.mobile-group-title {
  display: block;
  padding: 16px 0 8px 0;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: rgba(127, 251, 174, 0.6);
  letter-spacing: 0.1em;
  background: transparent;
}
.mobile-dropdown-group a {
  border-bottom: none !important;
  padding-left: 12px !important;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
} /* Social Menu in Dropdown */
.social-menu-group {
  display: flex !important;
  justify-content: flex-start;
  gap: 20px;
  padding: 24px 0 10px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 10px;
  opacity: 0;
  transform: translateX(20px);
  transition: all 0.3s ease;
  transition-delay: 0.3s;
}
.nav-menu-dropdown.is-open .social-menu-group {
  opacity: 1;
  transform: translateX(0);
}
.social-menu-item {
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: grid !important;
  place-items: center !important;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  padding: 0 !important;
  margin: 0 !important;
  text-decoration: none !important;
}
.social-menu-item svg {
  width: 20px !important;
  height: 20px !important;
  display: block !important;
  margin: 0 !important;
}
.social-menu-item:hover {
  color: #111111;
  background: rgb(127, 251, 174);
  transform: translateY(-2px);
} /* Staggered Entrance for Links */
.nav-menu-dropdown.is-open .menu-dropdown-content a:nth-child(n) {
  opacity: 1;
  transform: translateX(0);
  transition-delay: calc(0.04s * var(--i, 1));
}
.menu-dropdown-content a:last-child {
  border-bottom: none;
}
.menu-dropdown-content a:hover {
  background-color: transparent;
  color: rgb(127, 251, 174);
  padding-left: 10px;
} /* Email Button (WhatsApp Style) */
.btn-email {
  display: flex !important;
  align-items: center;
  gap: 8px;
  background-color: rgb(50, 50, 50); /* Matched with Hero WhatsApp Button */
  color: #ffffff !important;
  padding: 8px 20px;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.btn-email:hover {
  background-color: #ffffff;
  color: #000000 !important;
  transform: translateY(-2px);
}
.btn-email-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgb(127, 251, 174); /* Theme green from Hero Section */
  transition: color 0.3s ease;
}
.btn-email:hover .btn-email-icon {
  color: #000000;
} /* Social Buttons */
.social-header-group {
  display: flex !important;
  align-items: center;
  gap: 10px;
}
.btn-social {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background-color: rgb(50, 50, 50);
  color: rgb(127, 251, 174) !important;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.btn-social:hover {
  background-color: #ffffff;
  color: #000000 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}
@media (max-width: 768px) {
  .btn-email,
  .social-header-group {
    display: none !important;
  }
} /* Page Title */
.page-title-section {
  background-color: white;
  padding: 48px 0;
  border-bottom: 1px solid #e5e7eb;
}
.page-title-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.page-title {
  font-size: 2.25rem;
  font-weight: 600;
  color: #1a1f3c;
}
.breadcrumb {
  font-size: 0.875rem;
  color: #6b7280;
}
.breadcrumb a {
  color: #6b7280;
  text-decoration: none;
  transition: color 0.3s;
}
.breadcrumb a:hover {
  color: #1a1f3c;
} /* Main Content */
.main-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 24px;
  display: flex;
  gap: 32px;
} /* Sidebar */
.sidebar {
  width: 288px;
  flex-shrink: 0;
}
.sidebar-section {
  background-color: white;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 32px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.sidebar-section.pill-style {
  background-color: transparent;
  box-shadow: none;
  padding: 0;
}
.sidebar-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1a1f3c;
  margin-bottom: 16px;
}
.sidebar-pill {
  display: inline-block;
  background-color: #1a2332;
  color: white;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 9999px;
  margin-bottom: 12px;
}
.category-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.category-list li {
  margin-bottom: 10px;
}
.category-list a {
  color: #1a1f3c;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
  display: block;
}
.category-list a:hover {
  color: #ea580c;
}
.top-posts-section {
  margin-top: 12px;
}
.top-post-item {
  display: flex;
  gap: 12px;
  margin-bottom: 10px;
  align-items: flex-start;
}
.top-post-item:last-child {
  margin-bottom: 0;
}
.top-post-bullet {
  color: #1a1f3c;
  font-size: 0.875rem;
  line-height: 1.4;
  flex-shrink: 0;
}
.top-post-content {
  flex: 1;
}
.top-post-content a {
  font-size: 0.875rem;
  color: #1a1f3c;
  text-decoration: none;
  font-weight: 500;
  line-height: 1.4;
  display: -webkit-box;
  display: box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s;
}
.top-post-content a:hover {
  color: #ea580c;
}
.top-post-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  font-size: 0.75rem;
  color: #6b7280;
}
.category-tag {
  color: #3b82f6;
  text-transform: uppercase;
} /* Removed logo animations */ /* Article */
.article-content {
  flex: 1;
}
.article {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.article-image {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.article-body {
  padding: 32px;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  margin-bottom: 16px;
}
.article-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: #1a1f3c;
  margin-bottom: 24px;
  line-height: 1.3;
}
.author-info {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid #e5e7eb;
}
.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 9999px;
  object-fit: cover;
}
.author-name {
  font-weight: 500;
  color: #1a1f3c;
}
.author-role {
  font-size: 0.875rem;
  color: #6b7280;
} /* Article Prose */
.prose {
  color: #374151;
  font-size: 1.125rem;
  line-height: 1.8;
}
.prose p {
  margin-bottom: 1.5em;
}
.prose h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1a1f3c;
  margin-top: 2em;
  margin-bottom: 1em;
}
.prose blockquote {
  border-left: 4px solid #1a1f3c;
  padding-left: 24px;
  margin: 2em 0;
  font-style: italic;
  color: #6b7280;
}
.prose ul,
.prose ol {
  margin-bottom: 1.5em;
  padding-left: 1.5em;
}
.prose li {
  margin-bottom: 0.5em;
}
.prose img {
  max-width: 100%;
  height: auto;
  margin: 2em 0;
  border-radius: 8px;
} /* Share */
.share-section {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid #e5e7eb;
}
.share-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1a1f3c;
  margin-bottom: 16px;
}
.share-buttons {
  display: flex;
  gap: 12px;
  align-items: center;
}
.share-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  color: white;
  transition: opacity 0.3s;
  text-decoration: none;
  border: none;
  cursor: pointer;
}
.share-btn:hover {
  opacity: 0.8;
}
.share-whatsapp {
  background-color: #22c55e;
}
.share-link {
  background-color: #1a2332;
}
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #1a2332;
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 0.875rem;
  z-index: 100;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.toast.visible {
  opacity: 1;
} /* Related Posts */
.related-section {
  margin-top: 40px;
}
.related-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1a1f3c;
  margin-bottom: 24px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.blog-card {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s;
}
.blog-card:hover {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.blog-card-image {
  display: block;
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.blog-card:hover .blog-card-image img {
  transform: scale(1.05);
} /* Post Language Switcher */
.post-language-switcher {
  display: flex;
  justify-content: flex-start;
  gap: 15px;
  margin: 30px 0; /* 30px gap as requested */
  width: 100%;
}
.post-lang-btn {
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid #000; /* Solid Black border */
  background: transparent;
  color: #000; /* Black text */
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border-radius: 4px;
  text-align: center;
  cursor: pointer;
}
.post-lang-btn:hover {
  background: #000; /* Black background on hover */
  color: #fff; /* White text on hover */
} /* Toggle Content Styles */
#hindi-content {
  display: none;
}
.lang-content-section {
  transition: opacity 0.5s ease;
}
.lang-content-section.fade-in {
  animation: fadeIn 0.5s ease forwards;
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.back-to-eng-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 6px 12px;
  border: 1px solid #000;
  background: transparent;
  color: #000;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.back-to-eng-btn:hover {
  background: #000;
  color: #fff;
}
@media (max-width: 640px) {
  .post-language-switcher {
    gap: 10px;
    margin: 20px 0;
  }
  .post-lang-btn {
    padding: 6px 10px;
    font-size: 0.8rem;
  }
}
.blog-card-content {
  padding: 20px;
}
.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  margin-bottom: 12px;
}
.blog-card-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1a1f3c;
  margin-bottom: 8px;
  line-height: 1.4;
}
.blog-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s;
}
.blog-card-title a:hover {
  color: rgba(26, 31, 60, 0.7);
}
.blog-card-excerpt {
  font-size: 0.875rem;
  color: #6b7280;
  line-height: 1.6;
} /* Removed hero and icon animations */ /* Removed dropdown and help tooltip animations */ /* Removed scroll reveal */ /* Removed navbar slide animation */ /* Hero Staggered Reveal (no layout shift) */
.reveal-text {
  visibility: hidden; /* Prevent flash before JS splits */
  white-space: pre-wrap;
}
.reveal-char {
  display: inline-block;
  transform: translateY(1.1em);
  opacity: 0;
  will-change: transform, opacity;
}
.icon {
  width: 20px;
  height: 20px;
}
.icon-sm {
  width: 16px;
  height: 16px;
}
.icon-lg {
  width: 24px;
  height: 24px;
} /* Responsive */
@media (max-width: 1024px) {
  .main-content {
    flex-direction: column;
  }
  .sidebar {
    width: 100%;
    order: 2;
  }
  .article-content {
    order: 1;
  }
}
@media (max-width: 768px) {
  .nav,
  .contact-buttons {
    display: none;
  }
  .btn-email {
    display: none;
  } /* Hide floating icons on mobile to avoid duplication */
  .related-grid {
    grid-template-columns: 1fr;
  }
  .page-title-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .article-body {
    padding: 24px;
  }
  .article-title {
    font-size: 1.5rem;
  } /* Hero Section Buttons Mobile Spacing */
  .hero-buttons {
    padding-left: 16px;
    padding-right: 16px;
  } /* Mobile navbar - disable sticky behavior */
  .header {
    position: absolute !important;
    transform: none !important;
    transition: none !important;
  }
  .header.nav-hidden {
    transform: none !important;
  }
  .header-container {
    border-bottom: none !important;
    box-shadow: none !important;
  }
  @media (max-width: 767px) {
    .header .header-container {
      border-radius: 0 !important;
      margin-top: 0 !important;
      width: 100% !important;
      padding: 0 20px !important;
    }
  }
  .menu-dropdown-content a {
    font-weight: 400 !important;
  }
} /* Desktop (>1024px) - Blog-style navbar behavior */
@media (min-width: 1025px) {
  .header.scrolled .header-container,
  .header.nav-floating .header-container {
    background-color: #000000;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
    border-radius: 100px;
    margin-top: 12px;
    max-width: 1240px;
    padding: 0 30px;
  } /* Ensure smooth transitions */
  .header {
    transition: transform 0.3s ease-in-out;
  }
  .header-container {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }
}
.bounce-arrow {
  animation: bounceArrow 2s ease-in-out infinite;
  will-change: transform;
  display: inline-block;
}
@keyframes bounceArrow {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -10px, 0);
  }
}
@media (min-width: 768px) {
  #expertise .expertise-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
  }
} /* Dynamic Word Swap Animation */
.dynamic-word-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px; /* Slightly wider for smoother swap on desktop */
} /* Let the surrounding text slide closer on mobile when a shorter word swaps in */
@media (max-width: 767px) {
  .dynamic-word-wrap {
    min-width: auto !important;
  }
}
.dynamic-word-wrap::after {
  content: "";
  position: absolute;
  left: 0;
  top: 55%;
  width: 0;
  height: 3px;
  background-color: white;
  border-radius: 2px;
  transition: width 1s cubic-bezier(0.65, 0, 0.35, 1);
  z-index: 2;
  opacity: 1;
}
.testimonial-heading.is-animated .dynamic-word-wrap::after {
  width: 100%;
} /* Simultaneous fade for word and line */
.testimonial-heading.is-fading .dynamic-word-wrap .word-text,
.testimonial-heading.is-fading .dynamic-word-wrap::after {
  opacity: 0;
  transform: translateY(-8px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease,
    width 1s cubic-bezier(0.65, 0, 0.35, 1);
} /* Ensure line stays hidden after swap */
.testimonial-heading.is-swapped .dynamic-word-wrap::after {
  opacity: 0;
  width: 100%;
}
.dynamic-word-wrap .word-text {
  position: relative;
  display: inline-block;
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
} /* Global Floating Button Animations */
.pulse-whatsapp {
  animation: whatsapp-pulse 10s infinite;
}
@keyframes whatsapp-pulse {
  0%,
  20%,
  40% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
    transform: scale(1);
  }
  10%,
  30%,
  50% {
    box-shadow: 0 0 0 15px rgba(34, 197, 94, 0);
    transform: scale(1.05);
  }
  60%,
  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    transform: scale(1);
  }
}
.pulse-call {
  animation: call-pulse 10s infinite;
  animation-delay: 1s;
}
@keyframes call-pulse {
  0%,
  20%,
  40% {
    box-shadow: 0 0 0 0 rgba(26, 35, 50, 0.6);
    transform: scale(1);
  }
  10%,
  30%,
  50% {
    box-shadow: 0 0 0 15px rgba(26, 35, 50, 0);
    transform: scale(1.05);
  }
  60%,
  100% {
    box-shadow: 0 0 0 0 rgba(26, 35, 50, 0);
    transform: scale(1);
  }
} /* Premium Footer Styles */
.main-footer {
  background-color: #000000; /* Darker, premium night background */
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: #9ca3af;
}
.footer-link-premium {
  color: #9ca3af;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 13px;
  font-weight: 400;
  position: relative;
}
.footer-link-premium:hover {
  color: #ffffff;
}
.footer-link-premium::after {
  content: "";
  position: absolute;
  width: 0;
  height: 1px;
  bottom: -2px;
  left: 0;
  background-color: rgb(127, 251, 174);
  transition: width 0.3s ease;
}
.footer-link-premium:hover::after {
  width: 100%;
}
.footer-social-link {
  color: #9ca3af;
  transition: all 0.3s ease;
  padding: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-social-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: rgb(127, 251, 174);
  transform: translateY(-3px);
}
@media (max-width: 768px) {
  .main-footer {
    padding-bottom: 10px !important;
  }
} /* Ensure Floating Buttons on Service Pages are always accessible */
.floating-buttons-container {
  z-index: 2000 !important; /* Higher than menu to ensure visibility */
  pointer-events: auto !important;
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
}
@media (max-width: 768px) {
  .floating-buttons-container {
    bottom: 20px !important;
    right: 20px !important;
  }
} /* Hide excerpts from all blog cards globally as per user request */
article.group .line-clamp-2,
article.group .line-clamp-3,
article.group .line-clamp-4 {
  display: none !important;
} /* ==========================================================================    SPIRITUAL GLOSSARY PAGE STYLES (Moved from Template)    ========================================================================== */
:root {
  --theme-green: rgb(
    127,
    251,
    174
  ); /* The exact neon mint green from your nav hover */
  --theme-dark: #121212;
  --theme-light: #ffffff;
  --theme-bg: #f5f5f5; /* Matching body bg from style.css */
  --text-grey: #555555;
}
* {
  box-sizing: border-box;
}
.glossary-page-wrapper {
  font-family: "Poppins", Arial, sans-serif; /* Matched from style.css */
  background-color: var(--theme-bg);
  margin: 0;
  padding: 0;
  color: var(--theme-dark);
} /* --- HERO SECTION --- */
.hero {
  background: #000000 !important;
  color: var(--theme-light);
  padding: 100px 5% 140px;
  text-align: center;
  position: relative;
}
.hero h1 {
  font-family: "Poppins", Arial, sans-serif; /* Universal Font */
  font-size: 3.5rem;
  color: var(--theme-light); /* Changed to pure White as requested */
  margin: 0 0 20px 0;
  font-weight: 700;
  letter-spacing: -1px;
}
.hero p {
  max-width: 750px;
  margin: 0 auto;
  color: #cccccc;
  font-size: 1.1rem;
  line-height: 1.6;
} /* --- LIVE SEARCH BAR --- */
.search-container {
  max-width: 800px;
  margin: -35px auto 0;
  padding: 0 5%;
  position: relative;
  z-index: 10;
}
.search-box {
  width: 100%;
  padding: 22px 30px;
  font-size: 1.1rem;
  font-family: "Poppins", sans-serif;
  color: var(--theme-dark);
  border: none;
  border-radius: 50px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
  outline: none;
  border: 2px solid transparent;
  transition: 0.3s ease;
}
.search-box:focus {
  border-color: #999; /* Neutral focus instead of green */
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
} /* --- MAIN CONTENT AREA --- */
.glossary-container {
  max-width: 900px;
  margin: 60px auto 100px;
  padding: 0 5%;
} /* --- A-Z CATEGORY TABS (THESE ARE GREEN) --- */
.az-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 50px;
}
.az-tab {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--theme-light);
  color: var(--theme-dark);
  font-weight: 600;
  cursor: pointer;
  border: 1px solid #e0e0e0;
  transition: all 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
} /* Only these circles get the theme Green */
.az-tab:hover,
.az-tab.active {
  background: var(--theme-green);
  color: #000000; /* Black text on neon green for readability */
  border-color: var(--theme-green);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(127, 251, 174, 0.3);
} /* --- ACCORDION CARDS --- */
.faq-item {
  background: var(--theme-light);
  border-radius: 12px;
  margin-bottom: 18px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.04);
  border: 1px solid #eee;
  overflow: hidden;
  transition: border-color 0.3s ease;
}
.glossary-container .faq-item {
  opacity: 0;
  will-change: transform, opacity, filter;
}
.glossary-container .faq-item.is-visible {
  animation: motionDevReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.faq-item:hover {
  border-color: #ccc;
}
.faq-question {
  padding: 25px 30px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--theme-dark);
  transition: color 0.3s ease;
}
.faq-icon {
  color: var(--theme-dark); /* Neutral icon */
  font-size: 1.5rem;
  font-weight: 400;
  transition: transform 0.3s ease;
}
.faq-item.active .faq-icon {
  transform: rotate(45deg);
}
.faq-answer {
  padding: 0 30px;
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.4s ease,
    padding 0.4s ease;
  color: var(--text-grey);
  line-height: 1.7;
  font-size: 1rem;
}
.faq-item.active .faq-answer {
  padding: 0 30px 30px;
  max-height: 600px;
}
.no-results {
  text-align: center;
  color: var(--text-grey);
  font-size: 1.1rem;
  display: none;
  padding: 40px;
}
@media (max-width: 768px) {
  /* Headings */
  .hero h1 {
    font-size: 1.875rem;
  }
  .hero h1 span {
    font-size: 20px !important;
    margin-bottom: 15px !important;
  }
  .hero h2 {
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
  }
  .faq-question {
    font-size: 1rem;
    padding: 16px;
    font-weight: 500;
  } /* Search Bar */
  .search-box {
    padding: 12px 20px !important;
    font-size: 1rem !important;
  } /* Language Toggle */
  .lang-toggle button {
    padding: 8px 18px;
    font-size: 0.9rem;
  } /* FAQ Layout */
  .faq-answer {
    font-size: 0.95rem;
    padding: 0 16px;
  }
  .faq-item.active .faq-answer {
    padding: 0 16px 16px;
  }
} /* --- LANGUAGE TOGGLE & VISIBILITY --- */
.lang-toggle-container {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}
.lang-toggle {
  display: flex;
  background: #e0e0e0;
  border-radius: 30px;
  padding: 5px;
  gap: 5px;
}
.lang-toggle button {
  border: none;
  background: transparent;
  padding: 10px 25px;
  border-radius: 25px;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-grey);
  transition: all 0.3s ease;
}
.lang-toggle button.active {
  background: var(--theme-dark);
  color: var(--theme-light);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
} /* Language display logic */
.lang-hi {
  display: none;
}
body.show-hinglish .lang-en {
  display: none;
}
body.show-hinglish .lang-hi {
  display: inline-block;
}
.faq-answer .lang-hi {
  display: none;
}
body.show-hinglish .faq-answer .lang-hi {
  display: block;
} /* --- MOTION.DEV INSPIRED ANIMATIONS --- */
@keyframes motionDevReveal {
  0% {
    opacity: 0;
    transform: translateY(40px) scale(0.94);
    filter: blur(12px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0px);
  }
}
.glossary-animate-load {
  opacity: 0;
  animation: motionDevReveal 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  will-change: transform, opacity, filter;
}
.glossary-animate-load-delay-1 {
  animation-delay: 0.15s;
}
.glossary-animate-load-delay-2 {
  animation-delay: 0.3s;
}
.glossary-animate-load-delay-3 {
  animation-delay: 0.45s;
}
.faq-question h3 {
  margin: 0;
  padding: 0;
  font-size: inherit;
  font-weight: inherit;
} /* --- SEARCH SUGGESTIONS DROPDOWN --- */
.suggestions-list {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  list-style: none;
  margin: 0;
  padding: 6px 0;
  z-index: 9999;
  max-height: 280px;
  overflow-y: auto;
}
.suggestions-list li {
  padding: 12px 20px;
  font-family: "Poppins", sans-serif;
  font-size: 0.95rem;
  color: #222222;
  cursor: pointer;
  border-bottom: 1px solid #f5f5f5;
  transition: background 0.15s ease;
}
.suggestions-list li:last-child {
  border-bottom: none;
}
.suggestions-list li:hover {
  background: rgb(127, 251, 174);
  color: #000000;
  font-weight: 600;
}
.faq-answer a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--theme-green);
  text-underline-offset: 3px;
}
.faq-answer a {
  transition: all 0.3s ease;
}
.faq-answer a:hover {
  color: var(--theme-green);
  text-underline-offset: 6px;
  text-decoration-thickness: 2px;
}

/* ==========================================================================
   PREMIUM NAVBAR ANIMATIONS
   ========================================================================== */

/* --- 1. NAV ITEMS: STAGGERED DROP-IN ON PAGE LOAD --- */
@keyframes navItemDropIn {
  0% {
    opacity: 0;
    transform: translateY(-18px) scale(0.92);
    filter: blur(6px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0px);
  }
}

/* Apply to direct nav links and dropdowns */
.nav > a,
.nav > .nav-item-dropdown {
  opacity: 0;
  animation: navItemDropIn 0.55s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  will-change: transform, opacity, filter;
}

/* Stagger each nav item */
.nav > *:nth-child(1) {
  animation-delay: 0.1s;
}
.nav > *:nth-child(2) {
  animation-delay: 0.18s;
}
.nav > *:nth-child(3) {
  animation-delay: 0.26s;
}
.nav > *:nth-child(4) {
  animation-delay: 0.34s;
}
.nav > *:nth-child(5) {
  animation-delay: 0.42s;
}
.nav > *:nth-child(6) {
  animation-delay: 0.5s;
}
.nav > *:nth-child(7) {
  animation-delay: 0.58s;
}

/* --- 2. NAV LINK: SUBTLE LIFT + GLOW ON HOVER (override existing) --- */
.nav > a:hover {
  transform: translateY(-2px) !important;
  text-shadow: 0 0 18px rgba(127, 251, 174, 0.45) !important;
}

/* --- 4. RIGHT ACTIONS: FADE + SLIDE IN FROM RIGHT --- */
@keyframes rightActionEntrance {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.right-actions {
  opacity: 0;
  animation: rightActionEntrance 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.5s
    forwards;
  will-change: opacity;
}

/* --- 5. HEADER CONTAINER: SMOOTH SLIDE DOWN ON PAGE LOAD --- */
@keyframes headerSlideDown {
  0% {
    opacity: 0;
    transform: translateY(-100%);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.header-container {
  animation: headerSlideDown 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* --- 6. DROPDOWN MENU: SCALE + FADE IN ELEGANTLY --- */
/* Removed dropdownReveal to fix blinking issue and use silky smooth transitions */

/* --- 7. DROPDOWN ITEMS: SMOOTH FADE IN --- */
@keyframes dropItemIn {
  0% {
    opacity: 0;
    transform: translateY(6px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Tools dropdown items - simple stagger, do NOT touch opacity base state */
.nav-item-dropdown:hover
  .dropdown-menu:not(.dropdown-menu-services)
  a:nth-child(1) {
  animation: dropItemIn 0.28s ease 0.04s both;
}
.nav-item-dropdown:hover
  .dropdown-menu:not(.dropdown-menu-services)
  a:nth-child(2) {
  animation: dropItemIn 0.28s ease 0.08s both;
}
.nav-item-dropdown:hover
  .dropdown-menu:not(.dropdown-menu-services)
  a:nth-child(3) {
  animation: dropItemIn 0.28s ease 0.12s both;
}
.nav-item-dropdown:hover
  .dropdown-menu:not(.dropdown-menu-services)
  a:nth-child(4) {
  animation: dropItemIn 0.28s ease 0.16s both;
}
.nav-item-dropdown:hover
  .dropdown-menu:not(.dropdown-menu-services)
  a:nth-child(5) {
  animation: dropItemIn 0.28s ease 0.2s both;
}
.nav-item-dropdown:hover
  .dropdown-menu:not(.dropdown-menu-services)
  a:nth-child(6) {
  animation: dropItemIn 0.28s ease 0.24s both;
}
.nav-item-dropdown:hover
  .dropdown-menu:not(.dropdown-menu-services)
  a:nth-child(7) {
  animation: dropItemIn 0.28s ease 0.28s both;
}
.nav-item-dropdown:hover
  .dropdown-menu:not(.dropdown-menu-services)
  a:nth-child(8) {
  animation: dropItemIn 0.28s ease 0.32s both;
}

/* Services dropdown items - smooth staggered wave */
.nav-item-dropdown:hover .services-mega-header { animation: dropItemIn 0.28s ease 0.02s both; }
.nav-item-dropdown:hover .service-item:nth-child(1) { animation: dropItemIn 0.28s ease 0.04s both; }
.nav-item-dropdown:hover .service-item:nth-child(2) { animation: dropItemIn 0.28s ease 0.06s both; }
.nav-item-dropdown:hover .service-item:nth-child(3) { animation: dropItemIn 0.28s ease 0.08s both; }
.nav-item-dropdown:hover .service-item:nth-child(4) { animation: dropItemIn 0.28s ease 0.10s both; }
.nav-item-dropdown:hover .service-item:nth-child(5) { animation: dropItemIn 0.28s ease 0.12s both; }
.nav-item-dropdown:hover .service-item:nth-child(6) { animation: dropItemIn 0.28s ease 0.14s both; }
.nav-item-dropdown:hover .service-item:nth-child(7) { animation: dropItemIn 0.28s ease 0.16s both; }
.nav-item-dropdown:hover .service-item:nth-child(8) { animation: dropItemIn 0.28s ease 0.18s both; }
.nav-item-dropdown:hover .service-item:nth-child(9) { animation: dropItemIn 0.28s ease 0.20s both; }
.nav-item-dropdown:hover .service-item:nth-child(10) { animation: dropItemIn 0.28s ease 0.22s both; }
.nav-item-dropdown:hover .service-item:nth-child(11) { animation: dropItemIn 0.28s ease 0.24s both; }
.nav-item-dropdown:hover .service-item:nth-child(12) { animation: dropItemIn 0.28s ease 0.26s both; }
.nav-item-dropdown:hover .services-mega-footer { animation: dropItemIn 0.28s ease 0.28s both; }

/* --- 8. SOCIAL BUTTONS: SPRING ENTRANCE --- */
@keyframes socialSpring {
  0% {
    transform: scale(0) rotate(-15deg);
    opacity: 0;
  }
  60% {
    transform: scale(1.12) rotate(3deg);
    opacity: 1;
  }
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
}

.social-header-group .btn-social {
  opacity: 0;
  animation: socialSpring 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}
.social-header-group .btn-social:nth-child(1) {
  animation-delay: 0.6s;
}
.social-header-group .btn-social:nth-child(2) {
  animation-delay: 0.72s;
}

/* --- 9. EMAIL BUTTON: SLIDE + BOUNCE IN --- */
@keyframes emailBounceIn {
  0% {
    transform: scale(0.5) translateY(-10px);
    opacity: 0;
  }
  60% {
    transform: scale(1.06) translateY(2px);
    opacity: 1;
  }
  100% {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

.btn-email {
  opacity: 0;
  animation: emailBounceIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.65s forwards;
}

/* Disable load animations on mobile to keep perf clean */
@media (max-width: 768px) {
  .right-actions,
  .btn-email,
  .social-header-group .btn-social {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ==========================================================================
   PREMIUM SERVICES MEGA-MENU REDESIGN
   ========================================================================== */

/* --- Outer container overrides --- */
.dropdown-menu-services {
  min-width: 840px !important;
  background: #0a0a0c !important;
  border: 1px solid transparent !important;
  background-clip: padding-box !important;
  border-radius: 20px !important;
  padding: 0 !important;
  overflow: hidden !important;
  box-shadow:
    0 0 0 1px rgba(127, 251, 174, 0.18),
    0 30px 80px rgba(0, 0, 0, 0.6),
    0 0 60px rgba(127, 251, 174, 0.06) !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  margin-top: 16px !important;
}

/* --- Top header bar --- */
.services-mega-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px 12px;
  border-bottom: 1px solid rgba(127, 251, 174, 0.1);
  background: linear-gradient(
    135deg,
    rgba(127, 251, 174, 0.06) 0%,
    transparent 60%
  );
}

.services-mega-header-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(127, 251, 174, 0.7);
  display: flex;
  align-items: center;
  gap: 8px;
}

.services-mega-header-title::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 2px;
  background: rgb(127, 251, 174);
  border-radius: 2px;
}

.services-mega-header-badge {
  font-size: 0.6rem;
  font-weight: 600;
  color: #000;
  background: rgb(127, 251, 174);
  padding: 2px 8px;
  border-radius: 20px;
  letter-spacing: 0.05em;
}

/* --- Grid body --- */
.services-mega-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 0 !important;
  padding: 6px 10px 8px !important;
}

/* --- Individual service card --- */
.service-item {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  padding: 12px 16px !important;
  border-radius: 12px !important;
  border: 1px solid transparent !important;
  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s ease !important;
  cursor: default;
  opacity: 1 !important;
  background: transparent !important;
}

.service-item:hover {
  background: rgba(255, 255, 255, 0.03) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  transform: translateY(-2px) !important;
}

/* --- Category heading with Icon --- */
.service-main {
  font-weight: 600 !important;
  color: #ffffff !important;
  font-size: 0.95rem !important;
  margin-bottom: 8px !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding-bottom: 0 !important;
  border-bottom: none !important;
  letter-spacing: 0.02em !important;
}

/* --- Icon Wrapper --- */
.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  flex-shrink: 0;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.service-item:hover .service-icon {
  transform: scale(1.1);
}

/* Icon Colors (Pastel/Muted Dark Mode Accents) */
.icon-indigo {
  background: rgba(99, 102, 241, 0.15);
  color: #818cf8;
}
.icon-rose {
  background: rgba(244, 63, 94, 0.15);
  color: #fb7185;
}
.icon-amber {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
}
.icon-emerald {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
}
.icon-sky {
  background: rgba(14, 165, 233, 0.15);
  color: #38bdf8;
}
.icon-purple {
  background: rgba(168, 85, 247, 0.15);
  color: #c084fc;
}
.icon-slate {
  background: rgba(100, 116, 139, 0.15);
  color: #94a3b8;
}
.icon-orange {
  background: rgba(249, 115, 22, 0.15);
  color: #fb923c;
}
.icon-teal {
  background: rgba(20, 184, 166, 0.15);
  color: #2dd4bf;
}
.icon-cyan {
  background: rgba(6, 182, 212, 0.15);
  color: #22d3ee;
}

.service-icon svg {
  width: 16px;
  height: 16px;
  stroke-width: 2.2;
}

/* Remove old green border */
.service-main::before {
  display: none !important;
}

/* --- Sub-links container --- */
.service-sub {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
  align-items: flex-start !important;
  padding-left: 36px !important; /* Aligned with text, offset by icon width + gap */
}

/* --- Sub-links --- */
.dropdown-menu-services a {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 3px 0 !important;
  font-size: 0.88rem !important;
  font-weight: 400 !important;
  color: rgba(255, 255, 255, 0.5) !important;
  white-space: nowrap !important;
  position: relative !important;
  transition:
    color 0.2s ease,
    transform 0.2s ease !important;
  text-decoration: none !important;
  background: transparent !important;
  border-bottom: none !important;
  border-radius: 0 !important;
}

.dropdown-menu-services a::before {
  content: "→";
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.2);
  line-height: 1;
  transition:
    color 0.2s ease,
    transform 0.2s ease,
    opacity 0.2s ease;
  flex-shrink: 0;
  opacity: 0;
  transform: translateX(-5px);
  position: absolute;
  left: -15px;
}

.dropdown-menu-services a::after {
  display: none !important;
}

.dropdown-menu-services a:hover {
  color: #ffffff !important;
  background: transparent !important;
  padding-left: 0 !important;
  gap: 6px !important;
  transform: translateX(15px) !important;
}

.dropdown-menu-services a:hover::before {
  color: inherit;
  opacity: 1;
  transform: translateX(0);
}

/* --- Footer CTA strip --- */
.services-mega-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.02);
}

.services-mega-footer-text {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 400;
}

.services-mega-footer-cta {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 8px 18px !important;
  background: rgb(127, 251, 174) !important;
  color: #000000 !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  border-radius: 50px !important;
  text-decoration: none !important;
  letter-spacing: 0.04em !important;
  transition: all 0.25s ease !important;
  white-space: nowrap !important;
  border-bottom: none !important;
}

.services-mega-footer-cta:hover {
  background: #ffffff !important;
  color: #000000 !important;
  transform: translateY(-1px) !important;
  gap: 12px !important;
  padding-left: 20px !important;
}

.services-mega-footer-cta::before {
  display: none !important;
}

.services-mega-footer-cta::after {
  content: "→" !important;
  display: inline-block !important;
  font-size: 0.9rem !important;
  transition: transform 0.2s ease !important;
  width: auto !important;
  height: auto !important;
  background: none !important;
  position: static !important;
  opacity: 1 !important;
}

.services-mega-footer-cta:hover::after {
  transform: translateX(3px) !important;
}
