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

:root {
  /* Exact Logo Colors */
  --primary: #20314A; /* Dark Navy Blue */
  --primary-hover: #152236;
  --primary-light: rgba(32, 49, 74, 0.05);
  
  --secondary: #258880; /* Teal Green */
  --secondary-hover: #1A6660;
  --secondary-light: rgba(37, 136, 128, 0.1);

  /* Strictly derived from the 3 colors */
  --text-dark: #20314A;
  --text-gray: rgba(32, 49, 74, 0.7);
  --bg-color: #ffffff;
  --white: #ffffff;
  --border: rgba(32, 49, 74, 0.15);
  
  --shadow-sm: 0 1px 2px 0 rgba(32,49,74,0.1), 0 1px 3px 1px rgba(32,49,74,0.05);
  --shadow-md: 0 4px 6px -1px rgba(32,49,74,0.1), 0 2px 4px -1px rgba(32,49,74,0.06);
  --shadow-lg: 0 10px 15px -3px rgba(32,49,74,0.1), 0 4px 6px -2px rgba(32,49,74,0.05);
  
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-pill: 50px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body {
  background-color: var(--bg-color);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

ul {
  list-style: none;
}

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

/* Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.bg-white { background-color: var(--white); }
.bg-light { background-color: var(--primary-light); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  gap: 8px;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: -100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: 0.5s;
}

.btn:hover::after {
  left: 100%;
}

.btn i { font-size: 18px; }

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 10px rgba(15, 44, 89, 0.2);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  box-shadow: 0 6px 14px rgba(15, 44, 89, 0.3);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--white);
  box-shadow: 0 4px 10px rgba(42, 157, 143, 0.2);
}

.btn-secondary:hover {
  background-color: var(--secondary-hover);
  box-shadow: 0 6px 14px rgba(42, 157, 143, 0.3);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
}

.btn-white {
  background-color: var(--white);
  color: var(--primary);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn-white:hover {
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.section-title {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text-dark);
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-gray);
  margin-bottom: 28px;
  max-width: 600px;
  margin-inline: auto;
}

.section-padding { padding: 52px 0; }

/* Header */
header {
  background-color: var(--white);
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.top-bar {
  background-color: var(--primary);
  color: var(--white);
  padding: 10px 0;
  font-size: 14px;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-left, .top-bar-right {
  display: flex;
  gap: 24px;
  align-items: center;
  font-weight: 500;
}

.top-bar i {
  margin-right: 8px;
  opacity: 0.9;
  color: var(--secondary);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 24px;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.header-logo {
  height: 59px;
  width: auto;
  max-width: 385px;
  object-fit: contain;
  display: block;
  transition: transform 0.3s ease;
}

.header-logo:hover {
  transform: scale(1.03);
}

.footer-logo {
  height: 55px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
  display: block;
  margin-bottom: 20px;
  background-color: var(--white);
  padding: 10px 16px;
  border-radius: var(--radius-md);
}

.logo-icon {
  font-size: 32px;
  color: var(--secondary);
}

.logo-text-wrapper {
  display: flex;
  flex-direction: column;
}

.logo-text {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
  line-height: 1.1;
}

.logo-sub {
  font-size: 12px;
  color: var(--secondary);
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 20px;
  align-items: center;
}

.nav-links a {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  transition: color 0.2s ease;
  padding: 8px 0;
  position: relative;
  white-space: nowrap;
}

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

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--secondary);
  border-radius: 2px;
}

.mobile-menu-btn {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  color: var(--text-dark);
  cursor: pointer;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--white) 0%, var(--primary-light) 40%, var(--primary-light) 70%, var(--secondary-light) 100%);
  background-size: 300% 300%;
  animation: heroGradient 8s ease-in-out infinite;
  padding: 65px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

@keyframes heroGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero .container {
  position: relative;
  z-index: 1;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background-color: var(--white);
  color: var(--secondary);
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 56px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 24px;
  line-height: 1.1;
  letter-spacing: -1px;
}

.hero-btns {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

/* Cards & Grids */
.knowledge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px 30px;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--secondary-light);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--secondary);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover::before { opacity: 1; }

@keyframes iconPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

.card-icon {
  width: 70px;
  height: 70px;
  background: var(--secondary-light);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  font-size: 32px;
  margin-bottom: 24px;
  transition: all 0.3s ease;
  animation: iconPulse 3s ease-in-out infinite;
}

.card:hover .card-icon {
  background: var(--secondary);
  color: var(--white);
}

.card h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--primary);
}

.card p {
  color: var(--text-gray);
  margin-bottom: 24px;
  flex-grow: 1;
  font-size: 16px;
}

.card-link {
  font-weight: 600;
  color: var(--secondary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
}

.card-link:hover { color: var(--secondary-hover); }

/* Trust Section */
.trust-section {
  background-color: var(--primary);
  color: var(--white);
  padding: 40px 0 55px;
  position: relative;
}

.trust-section .wave-bottom {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.trust-section .wave-bottom svg {
  display: block;
  width: 100%;
  height: 60px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  text-align: center;
}

.trust-item {
  transition: transform 0.3s ease;
}

.trust-item:hover {
  transform: scale(1.08);
}

.trust-item h4 {
  font-size: 42px;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 10px;
  line-height: 1.1;
}

.trust-item p {
  font-size: 15px;
  font-weight: 600;
  opacity: 0.9;
}

/* Footer */
footer {
  background-color: var(--primary);
  color: #fff;
  padding: 50px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 32px;
  margin-bottom: 36px;
}

.footer-about .logo-text {
  color: var(--white);
  margin-bottom: 16px;
  display: block;
}

.footer-about p {
  color: var(--white);
  font-size: 15px;
  margin-bottom: 24px;
  max-width: 300px;
}

.footer-col h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--secondary);
}

.footer-col ul li { margin-bottom: 10px; }

.footer-col ul li a, .footer-col ul li span {
  color: var(--white);
  font-size: 15px;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  gap: 12px;
}

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

.footer-col i {
  color: var(--secondary);
  font-size: 18px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  text-align: center;
  color: var(--white);
  font-size: 14px;
}

/* Sticky WhatsApp */
.whatsapp-float {
  position: fixed;
  width: 64px;
  height: 64px;
  bottom: 40px;
  right: 40px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 32px;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.5);
}

/* Form Styles */
.report-form-container {
  max-width: 500px;
  margin: 0 auto;
  background: var(--white);
  padding: 48px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.form-group { margin-bottom: 24px; }

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text-dark);
  font-size: 15px;
}

.form-control {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 16px;
  transition: all 0.3s ease;
  background-color: var(--white);
}

.form-control:focus {
  outline: none;
  border-color: var(--secondary);
  background-color: var(--white);
  box-shadow: 0 0 0 4px var(--secondary-light);
}

/* Tests & Pricing System */
.search-container {
  max-width: 600px;
  margin: 0 auto 40px;
  position: relative;
}

.search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-gray);
  font-size: 18px;
}

.search-input {
  width: 100%;
  padding: 16px 16px 16px 48px;
  border: 2px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 16px;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.search-input:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 4px var(--secondary-light);
}

.category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 8px 16px;
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: var(--radius-pill);
  font-weight: 500;
  font-size: 14px;
  color: var(--text-dark);
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover {
  border-color: var(--secondary);
  color: var(--secondary);
}

.filter-btn.active {
  background: var(--secondary);
  color: var(--white);
  border-color: var(--secondary);
}

.pricing-table-container {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  border: 1px solid var(--border);
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
}

.pricing-table th {
  background: linear-gradient(90deg, var(--primary-light) 25%, var(--primary-light) 50%, var(--primary-light) 75%);
  background-size: 200% 100%;
  animation: shimmer 3s ease-in-out infinite;
  color: var(--primary);
  font-weight: 700;
  text-align: left;
  padding: 16px 24px;
  font-size: 16px;
}

.pricing-table td {
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  color: var(--text-dark);
  font-weight: 500;
}

.pricing-table tr:last-child td { border-bottom: none; }
.pricing-table tr:hover td { background-color: var(--secondary-light); }

.price-tag {
  font-weight: 700;
  color: var(--secondary);
  font-size: 18px;
}

.category-row {
  background-color: var(--primary-light);
  font-weight: 700;
  color: var(--text-dark);
}
.sub-category-row {
  background-color: #f0f7f7;
  font-weight: 600;
  color: var(--secondary);
}
.sub-category-row td {
  padding: 8px 24px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-align: center;
}
.category-row td {
  padding: 12px 24px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ====================== */
/*  3D JOURNEY TIMELINE   */
/* ====================== */

@keyframes timelineDotPulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(42,157,143,0.2), 0 0 12px rgba(42,157,143,0.3); }
  50%       { box-shadow: 0 0 0 8px rgba(42,157,143,0.1), 0 0 24px rgba(42,157,143,0.5); }
}

@keyframes lineGlow {
  0%, 100% { opacity: 0.7; }
  50%       { opacity: 1; }
}

@keyframes card3DIn-left {
  0%   { opacity: 0; transform: translateX(-60px) rotateY(25deg) scale(0.92); }
  100% { opacity: 1; transform: translateX(0) rotateY(0deg) scale(1); }
}

@keyframes card3DIn-right {
  0%   { opacity: 0; transform: translateX(60px) rotateY(-25deg) scale(0.92); }
  100% { opacity: 1; transform: translateX(0) rotateY(0deg) scale(1); }
}

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

.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 0 40px;
  perspective: 1400px;
}

/* Animated glowing line */
.timeline::after {
  content: '';
  position: absolute;
  width: 3px;
  background: linear-gradient(to bottom,
    transparent 0%,
    var(--primary) 15%,
    var(--secondary) 50%,
    var(--primary) 85%,
    transparent 100%);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -1.5px;
  border-radius: 3px;
  animation: lineGlow 3s ease-in-out infinite;
}

.timeline-item {
  padding: 10px 60px 10px 0;
  position: relative;
  width: 50%;
  opacity: 0;
  transform: translateX(-60px) rotateY(25deg) scale(0.92);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.23, 1, 0.32, 1);
  box-sizing: border-box;
  transform-style: preserve-3d;
  margin-bottom: 8px;
}

.timeline-right {
  padding: 10px 0 10px 60px;
  transform: translateX(60px) rotateY(-25deg) scale(0.92);
}

/* Visible state - 3D fly in */
.timeline-item.visible {
  opacity: 1;
  transform: translateX(0) rotateY(0deg) scale(1);
}

/* Glowing solid dot */
.timeline-item::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  right: -9px;
  background: radial-gradient(circle, var(--secondary-light), var(--secondary));
  border: 3px solid var(--white);
  top: 24px;
  border-radius: 50%;
  z-index: 2;
  animation: timelineDotPulse 2.5s ease-in-out infinite;
}

.timeline-left  { left: 0; }
.timeline-right { left: 50%; }
.timeline-right::after { left: -9px; right: auto; }

/* 3D Glass Card */
.timeline-content {
  padding: 22px 26px;
  background: linear-gradient(145deg, #ffffff 0%, #f8fdfc 100%);
  position: relative;
  border-radius: 16px;
  box-shadow:
    0 4px 6px rgba(0,0,0,0.04),
    0 10px 30px rgba(0,0,0,0.08),
    0 1px 0 rgba(255,255,255,0.9) inset;
  border: 1px solid rgba(42,157,143,0.12);
  transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
  transform-style: preserve-3d;
  overflow: hidden;
}

/* Shimmer line on left edge */
.timeline-content::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, var(--primary), var(--secondary));
  border-radius: 4px 0 0 4px;
}

/* Deep 3D hover */
.timeline-content:hover {
  box-shadow:
    0 20px 60px rgba(42,157,143,0.18),
    0 8px 24px rgba(0,0,0,0.1),
    -8px 8px 0 rgba(42,157,143,0.06);
  transform: translateY(-6px) rotateX(3deg) rotateY(-2deg);
}

.timeline-left .timeline-content:hover {
  transform: translateY(-6px) rotateX(3deg) rotateY(2deg);
}

/* Year heading with badge style */
.timeline-content h2 {
  color: var(--primary);
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.timeline-content h2::before {
  content: attr(data-year);
  display: none;
}

.timeline-content p {
  color: var(--text-gray);
  font-size: 15px;
  line-height: 1.7;
}

.timeline-list {
  list-style: none;
  margin-left: 0;
  margin-top: 12px;
  color: var(--text-gray);
  font-size: 14px;
  line-height: 1.9;
}

.timeline-list li {
  padding-left: 18px;
  position: relative;
}

.timeline-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--secondary);
  font-size: 12px;
}

/* AI Support Banner */
.ai-support-banner {
  background: linear-gradient(135deg, var(--secondary-light) 0%, var(--secondary-light) 100%);
  border-radius: var(--radius-xl);
  padding: 32px;
  text-align: center;
  border: 1px solid var(--secondary-light);
  margin-top: 60px;
}

.ai-support-banner h3 {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 16px;
}

.ai-support-banner p {
  font-size: 18px;
  color: var(--text-gray);
  margin-bottom: 32px;
  max-width: 600px;
  margin-inline: auto;
}

.ai-icon {
  font-size: 48px;
  color: var(--secondary);
  margin-bottom: 24px;
}

/* Page Header */
.page-header {
  background: var(--primary-light);
  padding: 36px 0;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.page-header h1 {
  font-size: 40px;
  font-weight: 800;
  color: var(--primary);
}

/* Contact Specifics */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
}

.contact-info-card {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.contact-info-item {
  display: flex;
  gap: 20px;
  margin-bottom: 32px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: var(--secondary-light);
  color: var(--secondary);
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.contact-text h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--primary);
}

.contact-text p {
  color: var(--text-gray);
  font-size: 16px;
}

.map-container {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 100%;
  min-height: 400px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Blog Cards */
.blog-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  transition: transform 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--secondary-light);
}

.blog-img {
  height: 200px;
  background-color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 48px;
}

.blog-content { padding: 30px; }

.blog-content h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--primary);
}

.blog-content p {
  color: var(--text-gray);
  margin-bottom: 20px;
  font-size: 15px;
}

/* ===================== */
/* 3D & ANIMATION SYSTEM */
/* ===================== */

/* 3D Card Tilt Container */
.tilt-card {
  perspective: 1000px;
}

.tilt-card .card,
.tilt-card .blog-card,
.tilt-card .organ-card {
  transform-style: preserve-3d;
  transition: transform 0.4s cubic-bezier(0.03, 0.98, 0.52, 0.99), box-shadow 0.4s ease;
}

/* Parallax Hero */
.hero-parallax {
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

/* Floating Animation */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

.float-anim {
  animation: float 3s ease-in-out infinite;
}

/* Glow Pulse on WhatsApp */
@keyframes glowPulse {
  0%, 100% { box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7), 0 0 60px rgba(37, 211, 102, 0.3); }
}

.whatsapp-float {
  animation: glowPulse 2s ease-in-out infinite;
}

/* Scroll Reveal */
.scroll-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered Reveal for children */
.scroll-reveal-children > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.scroll-reveal-children.revealed > *:nth-child(1) { transition-delay: 0.05s; }
.scroll-reveal-children.revealed > *:nth-child(2) { transition-delay: 0.15s; }
.scroll-reveal-children.revealed > *:nth-child(3) { transition-delay: 0.25s; }
.scroll-reveal-children.revealed > *:nth-child(4) { transition-delay: 0.35s; }
.scroll-reveal-children.revealed > *:nth-child(5) { transition-delay: 0.45s; }
.scroll-reveal-children.revealed > *:nth-child(6) { transition-delay: 0.55s; }
.scroll-reveal-children.revealed > *:nth-child(7) { transition-delay: 0.60s; }
.scroll-reveal-children.revealed > *:nth-child(8) { transition-delay: 0.65s; }
.scroll-reveal-children.revealed > *:nth-child(9) { transition-delay: 0.70s; }
.scroll-reveal-children.revealed > *:nth-child(10) { transition-delay: 0.75s; }
.scroll-reveal-children.revealed > *:nth-child(11) { transition-delay: 0.80s; }
.scroll-reveal-children.revealed > *:nth-child(12) { transition-delay: 0.85s; }

.scroll-reveal-children.revealed > * {
  opacity: 1;
  transform: translateY(0);
}

/* Counter Animation */
.counter-value {
  display: inline-block;
}

/* Shimmer Effect */
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.shimmer {
  background: linear-gradient(90deg, var(--primary-light) 25%, var(--primary-light) 50%, var(--primary-light) 75%);
  background-size: 200% 100%;
  animation: shimmer 3s ease-in-out infinite;
}

/* Particle bg for Hero */
.hero-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  overflow: hidden;
  z-index: 0;
}

.particle {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--secondary);
  border-radius: 50%;
  opacity: 0.15;
  animation: particleFloat 8s ease-in-out infinite;
}

.particle:nth-child(1) { top: 10%; left: 15%; animation-delay: 0s; animation-duration: 7s; }
.particle:nth-child(2) { top: 30%; left: 70%; animation-delay: 1s; animation-duration: 9s; width: 12px; height: 12px; }
.particle:nth-child(3) { top: 60%; left: 40%; animation-delay: 2s; animation-duration: 6s; }
.particle:nth-child(4) { top: 80%; left: 80%; animation-delay: 0.5s; animation-duration: 10s; width: 6px; height: 6px; }
.particle:nth-child(5) { top: 20%; left: 90%; animation-delay: 3s; animation-duration: 8s; width: 10px; height: 10px; }
.particle:nth-child(6) { top: 70%; left: 10%; animation-delay: 1.5s; animation-duration: 11s; }

@keyframes particleFloat {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.1; }
  25% { transform: translate(30px, -40px) scale(1.2); opacity: 0.2; }
  50% { transform: translate(-20px, -80px) scale(0.8); opacity: 0.15; }
  75% { transform: translate(40px, -30px) scale(1.1); opacity: 0.25; }
}

/* ======================== */
/* ORGAN CARD GRID SYSTEM   */
/* ======================== */

.organ-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 56px;
  perspective: 1200px;
}

/* Animated gradient colors per card */
@keyframes gradShift1 { 0%,100%{background-position:0% 50%} 50%{background-position:100% 50%} }
@keyframes floatCard {
  0%, 100% { transform: translateY(0px) rotateX(0deg); }
  50%       { transform: translateY(-8px) rotateX(2deg); }
}
@keyframes glowPulse3D {
  0%, 100% { box-shadow: 0 8px 32px rgba(42,157,143,0.25), 0 0 0 0 rgba(42,157,143,0.1); }
  50%       { box-shadow: 0 16px 48px rgba(42,157,143,0.45), 0 0 24px 4px rgba(42,157,143,0.2); }
}
@keyframes emojiPop {
  0%   { transform: scale(1) rotate(0deg); }
  30%  { transform: scale(1.4) rotate(-8deg); }
  60%  { transform: scale(1.2) rotate(6deg); }
  100% { transform: scale(1) rotate(0deg); }
}
@keyframes shimmerSweep {
  0%   { left: -100%; }
  100% { left: 200%; }
}
@keyframes borderRotate {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Gradient palettes for each card */
.organ-card:nth-child(1)  { --gc: var(--primary), var(--secondary); }
.organ-card:nth-child(2)  { --gc: var(--secondary), #e74c3c; }
.organ-card:nth-child(3)  { --gc: var(--primary), var(--secondary); }
.organ-card:nth-child(4)  { --gc: #7f6000, #d4ac0d; }
.organ-card:nth-child(5)  { --gc: var(--primary), #e74c3c; }
.organ-card:nth-child(6)  { --gc: var(--primary), #2471a3; }
.organ-card:nth-child(7)  { --gc: #1d6a1d, #27ae60; }
.organ-card:nth-child(8)  { --gc: #5b2c6f, #8e44ad; }
.organ-card:nth-child(9)  { --gc: var(--primary), #7fb3d3; }
.organ-card:nth-child(10) { --gc: var(--secondary), #f1948a; }
.organ-card:nth-child(11) { --gc: var(--primary), var(--secondary); }
.organ-card:nth-child(12) { --gc: #7e5109, #f39c12; }

.organ-card {
  position: relative;
  border-radius: 20px;
  padding: 3px; /* border trick */
  cursor: pointer;
  transition: transform 0.2s ease;
  transform-style: preserve-3d;
  animation: floatCard 4s ease-in-out infinite;
  background: linear-gradient(135deg, var(--gc));
  background-size: 200% 200%;
  animation: floatCard 4s ease-in-out infinite, borderRotate 4s ease infinite;
}

/* Stagger float animation */
.organ-card:nth-child(1)  { animation-delay: 0s; }
.organ-card:nth-child(2)  { animation-delay: 0.2s; }
.organ-card:nth-child(3)  { animation-delay: 0.4s; }
.organ-card:nth-child(4)  { animation-delay: 0.6s; }
.organ-card:nth-child(5)  { animation-delay: 0.8s; }
.organ-card:nth-child(6)  { animation-delay: 1.0s; }
.organ-card:nth-child(7)  { animation-delay: 1.2s; }
.organ-card:nth-child(8)  { animation-delay: 1.4s; }
.organ-card:nth-child(9)  { animation-delay: 0.3s; }
.organ-card:nth-child(10) { animation-delay: 0.7s; }
.organ-card:nth-child(11) { animation-delay: 1.1s; }
.organ-card:nth-child(12) { animation-delay: 1.5s; }

/* Inner glass layer */
.organ-card-inner {
  background: rgba(255, 255, 255, 0.97);
  border-radius: 18px;
  padding: 28px 16px 22px;
  text-align: center;
  position: relative;
  overflow: hidden;
  height: 100%;
  transition: background 0.3s ease;
}

/* Shimmer sweep on hover */
.organ-card-inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.7), transparent);
  transform: skewX(-20deg);
  transition: none;
}

.organ-card:hover .organ-card-inner::before {
  animation: shimmerSweep 0.6s ease forwards;
}

/* Background tint on hover */
.organ-card:hover .organ-card-inner {
  background: rgba(255,255,255,0.90);
}

/* Glow on hover */
.organ-card:hover {
  transform: translateY(-12px) scale(1.04) rotateX(4deg);
  animation: glowPulse3D 1.5s ease-in-out infinite;
  z-index: 2;
}

/* Active state */
.organ-card.active {
  background: linear-gradient(135deg, var(--gc));
  background-size: 200% 200%;
}

.organ-card.active .organ-card-inner {
  background: rgba(230,245,243,0.97);
}

/* Emoji icon */
.organ-card-icon {
  font-size: 42px;
  margin-bottom: 10px;
  display: block;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.15));
  line-height: 1;
}

.organ-card:hover .organ-card-icon {
  animation: emojiPop 0.5s ease forwards;
}

/* Label */
.organ-card-label {
  font-size: 13px;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.3;
}

.organ-card:hover .organ-card-label {
  background: linear-gradient(135deg, var(--gc));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Expanded Article */
.organ-article {
  display: none;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  margin-bottom: 40px;
  animation: slideDown 0.4s ease-out;
}

.organ-article.active {
  display: block;
}

@keyframes slideDown {
  0% { opacity: 0; transform: translateY(-20px); }
  100% { opacity: 1; transform: translateY(0); }
}

.organ-article-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 2px solid var(--primary-light);
}

.organ-article-icon {
  width: 64px;
  height: 64px;
  background: var(--secondary-light);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  flex-shrink: 0;
}

.organ-article h3 {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
}

.organ-article-body {
  color: var(--text-gray);
  font-size: 16px;
  line-height: 1.8;
}

.organ-article-body h4 {
  color: var(--primary);
  font-size: 18px;
  margin: 20px 0 10px;
}

.organ-article-body ul {
  list-style-type: disc;
  margin-left: 24px;
  margin-bottom: 16px;
}

.organ-article-body ul li {
  margin-bottom: 8px;
}

.organ-article-tip {
  background: var(--secondary-light);
  border-left: 4px solid var(--secondary);
  padding: 16px 20px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-top: 24px;
  color: var(--secondary-hover);
  font-weight: 500;
}

/* ============================================ */
/*  RESPONSIVE â€” TABLET (â‰¤992px)               */
/* ============================================ */
@media (max-width: 992px) {
  /* Header */
  .header-logo      { height: 56px; max-width: 257px; }
  .nav-container    { padding: 8px 20px; }
  .nav-links        { gap: 20px; }
  .nav-links a      { font-size: 15px; }

  /* Hero */
  .hero h1          { font-size: 44px; }
  .hero p           { font-size: 17px; }

  /* Grids */
  .services-grid    { grid-template-columns: repeat(2, 1fr); }
  .trust-grid       { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .footer-grid      { grid-template-columns: 1fr 1fr; gap: 32px; }
  .contact-wrapper  { grid-template-columns: 1fr; }
  .organ-grid       { grid-template-columns: repeat(4, 1fr); }

  /* Timeline */
  .timeline         { max-width: 100%; }
}

/* ============================================ */
/*  RESPONSIVE â€” MOBILE (â‰¤768px)               */
/* ============================================ */
@media (max-width: 768px) {

  /* === HEADER === */
  .header-logo      { height: 45px; max-width: 193px; }
  .nav-container    { padding: 6px 16px; min-height: 54px; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 16px 20px;
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
    gap: 0;
    border-top: 2px solid var(--secondary);
    z-index: 999;
  }

  .nav-links.active  { display: flex; }

  .nav-links a {
    width: 100%;
    text-align: left;
    padding: 13px 0;
    border-bottom: 1px solid var(--border);
    font-size: 15px;
    font-weight: 600;
    color: var(--primary);
  }

  .nav-links a:last-child  { border-bottom: none; }
  .nav-links a.active      { color: var(--secondary); }
  .mobile-menu-btn         { display: block; }

  /* === TOP BAR === */
  .top-bar-left            { display: none; }
  .top-bar                 { padding: 6px 0; font-size: 12px; }
  .top-bar .container      { justify-content: center; padding: 0 12px; }
  .top-bar-right {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 12px;
    width: 100%;
  }
  .top-bar-right span      { display: none; }
  .top-bar-right a         { font-weight: 700; white-space: nowrap; font-size: 12px; }
  .top-bar i               { margin-right: 3px; }

  /* === PAGE HEADER BANNER === */
  .page-header             { padding: 26px 0; }
  .page-header h1          { font-size: 28px; }

  /* === HERO === */
  .hero                    { padding: 36px 0 52px; }
  .hero h1                 { font-size: 30px; line-height: 1.25; }
  .hero p                  { font-size: 15px; margin-bottom: 20px; }
  .hero-btns               { flex-direction: column; gap: 12px; }
  .hero-btns .btn          { width: 100%; text-align: center; padding: 14px 20px; }
  .hero-badge              { font-size: 12px; }

  /* === SECTION SPACING === */
  .section-padding         { padding: 32px 0; }
  .section-title           { font-size: 26px; }
  .section-subtitle        { font-size: 15px; margin-bottom: 20px; }
  .container               { padding: 0 16px; }

  /* === SERVICES GRID === */
  .services-grid           { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .service-card            { padding: 22px 16px; }
  .service-card i          { font-size: 28px; margin-bottom: 12px; }
  .service-card h3         { font-size: 15px; }
  .service-card p          { font-size: 13px; }

  /* === TRUST GRID === */
  .trust-grid              { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .trust-item              { padding: 20px 16px; }
  .trust-icon              { font-size: 36px; }
  .trust-item h3           { font-size: 26px; }
  .trust-item p            { font-size: 13px; }

  /* === STATS === */
  .stats-grid              { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .stat-number             { font-size: 32px; }
  .stat-label              { font-size: 13px; }

  /* === TIMELINE (About Page) === */
  .timeline                { padding: 10px 0 20px; }
  .timeline::after         { left: 20px; }
  .timeline-item           { width: 100%; padding-left: 52px; padding-right: 0; margin-bottom: 6px; transform: none; opacity: 1; }
  .timeline-right          { left: 0%; padding-left: 52px; padding-right: 0; transform: none; }
  .timeline-item::after    { left: 11px; right: auto; top: 20px; width: 14px; height: 14px; }
  .timeline-item.visible   { transform: none; }
  .timeline-content        { padding: 16px 18px; }
  .timeline-content h2     { font-size: 16px; }
  .timeline-content p      { font-size: 14px; }
  .timeline-list           { font-size: 13px; }

  /* === PRICING TABLE === */
  .pricing-table th,
  .pricing-table td        { padding: 10px 8px; font-size: 13px; }
  .pricing-table th:last-child,
  .pricing-table td:last-child { display: none; } /* hide 3rd col on mobile */
  .category-filters        { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 10px; gap: 8px; }
  .filter-btn              { white-space: nowrap; padding: 8px 16px; font-size: 13px; }
  #testSearch              { font-size: 14px; padding: 12px 16px; }

  /* === ORGAN CARDS (Knowledge Page) === */
  .organ-grid              { grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 32px; }
  .organ-card              { padding: 2px; border-radius: 14px; }
  .organ-card-inner        { padding: 18px 8px 14px; border-radius: 12px; }
  .organ-card-icon         { font-size: 28px; margin-bottom: 6px; }
  .organ-card-label        { font-size: 10px; letter-spacing: 0.3px; }
  .organ-article           { padding: 20px 16px; }
  .organ-article h3        { font-size: 20px; }
  .organ-article-header    { gap: 14px; margin-bottom: 16px; }
  .organ-article-icon      { width: 48px; height: 48px; font-size: 24px; }

  /* === CONTACT PAGE === */
  .contact-wrapper         { grid-template-columns: 1fr; gap: 24px; }
  .contact-info-item       { gap: 12px; }
  .contact-map iframe      { height: 220px; }

  /* === REPORT DOWNLOAD PAGE === */
  .report-card             { padding: 28px 20px; }

  /* === FOOTER === */
  .footer-grid             { grid-template-columns: 1fr; gap: 20px; }
  .footer-logo             { height: 40px; max-width: 180px; }
  .footer-about p          { font-size: 13px; }
  .footer-col h4           { font-size: 15px; margin-bottom: 10px; }
  .footer-col li           { font-size: 13px; margin-bottom: 5px; }
  .footer-bottom           { font-size: 12px; padding: 12px 0; text-align: center; }

  /* === WHATSAPP FLOAT === */
  .whatsapp-float          { width: 52px; height: 52px; font-size: 26px; bottom: 16px; right: 16px; }

  /* === AI SUPPORT BANNER === */
  .ai-support-banner       { padding: 28px 20px; }
  .ai-support-banner h3    { font-size: 20px; }
  .ai-support-banner p     { font-size: 14px; }

  /* === Disable heavy 3D tilt on mobile (performance) === */
  .cursor-glow             { display: none; }
  .service-card:hover,
  .trust-item:hover,
  .timeline-content:hover  { transform: none !important; box-shadow: var(--shadow-md) !important; }
}

/* ============================================ */
/*  RESPONSIVE â€” SMALL PHONES (â‰¤480px)         */
/* ============================================ */
@media (max-width: 480px) {
  .hero h1                 { font-size: 26px; }
  .hero p                  { font-size: 14px; }
  .services-grid           { grid-template-columns: 1fr 1fr; gap: 10px; }
  .trust-grid              { grid-template-columns: 1fr 1fr; gap: 10px; }
  .organ-grid              { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .organ-card-icon         { font-size: 24px; }
  .organ-card-label        { font-size: 9px; }
  .section-title           { font-size: 22px; }
  .section-subtitle        { font-size: 13px; }
  .page-header h1          { font-size: 24px; }
  .footer-grid             { gap: 20px; }
  .stats-grid              { grid-template-columns: 1fr 1fr; }
  .stat-number             { font-size: 28px; }
  .timeline-content        { padding: 14px 14px; }
  .timeline-content h2     { font-size: 15px; }
  .ai-icon                 { font-size: 32px; }
}


/* ================================================ */
/*  UNIVERSAL 3D LIVE ANIMATIONS â€” ALL PAGES        */
/*  Theme: Primary var(--primary) | Teal var(--secondary)           */
/* ================================================ */

/* --- Ambient hero gradient pulse --- */
@keyframes heroBgShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* --- Page header banner parallax tint --- */
.page-header {
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(15,44,89,0.92) 0%,
    rgba(42,157,143,0.85) 50%,
    rgba(15,44,89,0.92) 100%);
  background-size: 300% 300%;
  animation: heroBgShift 8s ease infinite;
  z-index: 0;
}

.page-header .container {
  position: relative;
  z-index: 1;
}

/* --- Service / Trust / Stat Cards â€” 3D base --- */
.service-card,
.trust-item,
.stat-item,
.contact-info-item,
.package-card {
  transition: transform 0.35s cubic-bezier(0.23,1,0.32,1),
              box-shadow 0.35s ease;
  transform-style: preserve-3d;
  will-change: transform;
}

/* --- Floating animation for trust/stat icons --- */
@keyframes iconFloat {
  0%, 100% { transform: translateY(0px) scale(1); }
  50%       { transform: translateY(-6px) scale(1.05); }
}

.trust-item .trust-icon,
.stat-item .stat-icon,
.service-card i {
  animation: iconFloat 3.5s ease-in-out infinite;
  display: inline-block;
}

.trust-item:nth-child(2) .trust-icon,
.stat-item:nth-child(2) { animation-delay: 0.4s; }
.trust-item:nth-child(3) .trust-icon,
.stat-item:nth-child(3) { animation-delay: 0.8s; }
.trust-item:nth-child(4) .trust-icon,
.stat-item:nth-child(4) { animation-delay: 1.2s; }

/* --- Button glow pulse (teal) --- */
@keyframes btnGlow {
  0%, 100% { box-shadow: 0 4px 15px rgba(42,157,143,0.3); }
  50%       { box-shadow: 0 8px 30px rgba(42,157,143,0.6), 0 0 20px rgba(42,157,143,0.2); }
}

.btn-primary {
  animation: btnGlow 2.5s ease-in-out infinite;
}

/* Ripple base for JS injection */
.btn {
  position: relative;
  overflow: hidden;
}

.ripple-wave {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  animation: rippleAnim 0.55s linear;
  background: rgba(255, 255, 255, 0.35);
  pointer-events: none;
}

@keyframes rippleAnim {
  to { transform: scale(4); opacity: 0; }
}

/* --- Cursor spotlight (injected via JS) --- */
.cursor-glow {
  position: fixed;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(42,157,143,0.06) 0%,
    transparent 70%);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: left 0.08s ease, top 0.08s ease;
}

/* --- Scroll-reveal 3D entrance for all pages --- */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.23,1,0.32,1);
}

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

.scroll-reveal-children > * {
  opacity: 0;
  transform: translateY(20px) scale(0.97);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.23,1,0.32,1);
}

.scroll-reveal-children.visible > * {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* stagger children */
.scroll-reveal-children.visible > *:nth-child(1)  { transition-delay: 0.05s; }
.scroll-reveal-children.visible > *:nth-child(2)  { transition-delay: 0.10s; }
.scroll-reveal-children.visible > *:nth-child(3)  { transition-delay: 0.15s; }
.scroll-reveal-children.visible > *:nth-child(4)  { transition-delay: 0.20s; }
.scroll-reveal-children.visible > *:nth-child(5)  { transition-delay: 0.25s; }
.scroll-reveal-children.visible > *:nth-child(6)  { transition-delay: 0.30s; }
.scroll-reveal-children.visible > *:nth-child(7)  { transition-delay: 0.35s; }
.scroll-reveal-children.visible > *:nth-child(8)  { transition-delay: 0.40s; }
.scroll-reveal-children.visible > *:nth-child(9)  { transition-delay: 0.45s; }
.scroll-reveal-children.visible > *:nth-child(10) { transition-delay: 0.50s; }
.scroll-reveal-children.visible > *:nth-child(11) { transition-delay: 0.55s; }
.scroll-reveal-children.visible > *:nth-child(12) { transition-delay: 0.60s; }

/* --- Section heading animated underline --- */
.section-title {
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 3px;
  transition: transform 0.6s cubic-bezier(0.23,1,0.32,1);
}

.section-title.visible::after,
.text-center .section-title::after {
  transform: translateX(-50%) scaleX(1);
}

/* --- WhatsApp float pulse --- */
@keyframes waPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
  50%       { box-shadow: 0 8px 36px rgba(37,211,102,0.7), 0 0 0 8px rgba(37,211,102,0.1); }
}

.whatsapp-float {
  animation: waPulse 2s ease-in-out infinite;
}

/* â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”
   VIEW 1 â€” HOMEPAGE PACKAGE STRIP
   â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â” */

:root {
    --navy: var(--primary); 
    --blue: var(--primary); 
    --sky: var(--secondary);
    --teal: var(--secondary); 
    --gold: #e8b84b;
    --light: var(--primary-light); 
    --white: #ffffff;
    --text: var(--text-dark); 
    --muted: var(--text-gray);
    --border: var(--border);
    --red: var(--secondary); 
    --green: #22a06b;
}

#home-strip {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.strip-heading {
    font-family: 'Playfair Display', serif;
    color: var(--navy);
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.strip-heading::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gold);
    border-radius: 3px;
}

.strip-subtext {
    color: var(--muted);
    font-size: 1.1rem;
    margin-bottom: 50px;
}

.package-strip-container {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 10px 10px 30px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: var(--sky) var(--border);
}

.package-strip-container::-webkit-scrollbar { height: 6px; }
.package-strip-container::-webkit-scrollbar-thumb { background: var(--sky); border-radius: 3px; }
.package-strip-container::-webkit-scrollbar-track { background: var(--border); border-radius: 3px; }

.short-card {
    flex: 0 0 220px;
    background: var(--white);
    border-radius: 16px;
    padding: 24px 20px;
    text-align: left;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    position: relative;
}

.short-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(10, 22, 40, 0.08);
    border-color: var(--gold);
}

.sc-icon {
    width: 42px;
    height: 42px;
    margin-bottom: 16px;
    color: var(--teal);
}

.sc-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    color: var(--navy);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 10px;
    height: 2.6em; /* max 2 lines */
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.sc-badge {
    display: inline-block;
    background: var(--light);
    color: var(--blue);
    font-size: 0.75rem;
    padding: 5px 12px;
    border-radius: 20px;
    margin-bottom: 18px;
    font-weight: 600;
    border: 1px solid var(--border);
}

.sc-price-area {
    margin-bottom: 20px;
    flex-grow: 1;
}

.sc-mrp {
    color: var(--blue);
    text-decoration: line-through;
    font-size: 0.85rem;
    display: block;
    margin-bottom: 4px;
}

.sc-offer {
    color: var(--green);
    font-size: 1.6rem;
    font-weight: 700;
    display: block;
    margin-bottom: 8px;
    font-family: 'Playfair Display', serif;
}

.sc-save {
    display: inline-block;
    background: rgba(34, 160, 107, 0.1);
    color: var(--green);
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: 700;
}

.sc-btn {
    display: block;
    width: 100%;
    text-align: center;
    background: var(--blue);
    color: var(--white);
    padding: 12px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

.sc-btn:hover {
    background: var(--navy);
    transform: scale(1.02);
}

.view-all-btn {
    display: inline-block;
    margin-top: 20px;
    background: var(--gold);
    color: var(--navy);
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-size: 1.05rem;
    animation: floatBtn 3s ease-in-out infinite;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 15px rgba(232, 184, 75, 0.3);
}

.view-all-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(232, 184, 75, 0.4);
    animation-play-state: paused;
}

@keyframes floatBtn {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

@media (min-width: 1160px) {
    .package-strip-container {
        justify-content: center;
    }
}

/* Company Profile Section */
.company-profile-section {
    background-color: var(--primary-light);
    position: relative;
}

.profile-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 60px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.profile-header {
    margin-bottom: 40px;
}

.profile-content {
    color: var(--text-dark);
    font-size: 16px;
    line-height: 1.8;
}

.profile-content p {
    margin-bottom: 24px;
    text-align: justify;
}

.services-highlight {
    background-color: var(--white);
    border: 1px solid var(--secondary-light);
    border-radius: var(--radius-md);
    padding: 30px;
    margin: 40px 0;
}

.services-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.service-tag {
    background-color: var(--white);
    color: var(--secondary);
    font-weight: 700;
    font-size: 14px;
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(37, 136, 128, 0.2);
    box-shadow: var(--shadow-sm);
}

.profile-signatures {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px dashed var(--border);
}

.sincerely {
    font-size: 18px;
    margin-bottom: 20px;
    font-style: italic;
}

.directors {
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 40px;
}

.director {
    text-align: center;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    width: 280px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.director:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.director-img {
    width: 100%;
    height: 300px;
    overflow: hidden;
    background-color: var(--primary-light);
}

.director-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.director-info {
    padding: 24px 20px;
    background-color: var(--white);
    flex-grow: 1;
}

.director-info strong {
    font-size: 20px;
    color: var(--primary);
    display: block;
    margin-bottom: 6px;
}

.director-info span {
    font-size: 15px;
    color: var(--text-gray);
    font-weight: 600;
}

@media (max-width: 768px) {
    .profile-card {
        padding: 30px 20px;
    }
    .directors {
        flex-direction: column;
        align-items: flex-start;
    }
    .director {
        width: 100%;
        text-align: left;
    }
}
@ m e d i a   ( m a x - w i d t h :   7 6 8 p x )   {   . s h o r t - c a r d   {   f l e x :   0   0   2 0 0 p x ;   p a d d i n g :   1 8 p x   1 5 p x ;   }   . s c - t i t l e   {   f o n t - s i z e :   1 r e m ;   }   . s c - o f f e r   {   f o n t - s i z e :   1 . 3 r e m ;   }   . s c - i c o n   {   w i d t h :   3 4 p x ;   h e i g h t :   3 4 p x ;   m a r g i n - b o t t o m :   1 2 p x ;   }   . s c - b a d g e   {   f o n t - s i z e :   0 . 7 r e m ;   p a d d i n g :   4 p x   1 0 p x ;   m a r g i n - b o t t o m :   1 2 p x ;   }   } 
 
 
/* =========================================
   NEW SERVICE CARDS STYLING 
   ========================================= */

.service-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 30px;
}

@media (max-width: 1024px) {
  .service-cards {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 768px) {
  .service-cards {
    grid-template-columns: 1fr !important;
  }
}

.service-category-label {
  grid-column: 1 / -1;
  color: var(--text-gray);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 14px;
  font-weight: 700;
  margin-top: 8px;
  margin-bottom: -6px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 6px;
}

.tilt-card {
  opacity: 0;
  animation: cardRise 0.5s ease both;
  height: auto;
}

@keyframes cardRise {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px 30px;
  box-shadow: 0 0 0 0 rgba(14,165,160,0.0) !important;
  transition: all 0.35s ease;
  border: 2px solid transparent !important;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  height: 100%;
  animation: borderPulse 3s ease-in-out infinite;
}

.card::before {
  display: none !important;
}

@keyframes borderPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(14,165,160,0.0); }
  50% { box-shadow: 0 0 0 6px rgba(14,165,160,0.12); }
}

@media (hover: hover) {
  .card:hover {
    background: linear-gradient(135deg, #0a1628, #0ea5a0) !important;
    border-color: #0ea5a0 !important;
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(10,22,40,0.20) !important;
    animation-play-state: paused !important;
  }
}

@media (hover: none) {
  .card:active {
    background: linear-gradient(135deg, #0a1628, #0ea5a0) !important;
    border-color: #0ea5a0 !important;
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(10,22,40,0.20) !important;
    animation-play-state: paused !important;
  }
  .card:active .card-icon { background: rgba(255,255,255,0.15) !important; color: var(--white) !important; }
  .card:active h3 { color: var(--white) !important; }
  .card:active p { color: var(--white) !important; }
  .card:active .card-link { color: #e8b84b !important; }
}

.card-icon {
  width: 70px;
  height: 70px;
  background: #e6f4f2 !important;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0ea5a0 !important;
  font-size: 32px;
  margin-bottom: 24px;
  transition: all 0.35s ease;
  animation: none !important;
}

@media (hover: hover) {
  .card:hover .card-icon {
    background: rgba(255,255,255,0.15) !important;
    color: var(--white) !important;
  }
}

.card h3 {
  font-size: 22px !important;
  font-weight: 700;
  margin-bottom: 16px;
  color: #0a1628 !important;
  transition: all 0.35s ease;
}

@media (hover: hover) {
  .card:hover h3 {
    color: var(--white) !important;
  }
}

.card p {
  color: #6b7f9e !important;
  margin-bottom: 24px;
  flex-grow: 1;
  font-size: 15px !important;
  transition: all 0.35s ease;
}

@media (hover: hover) {
  .card:hover p {
    color: var(--white) !important;
  }
}

.card-link {
  font-weight: 600;
  color: #0ea5a0 !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  transition: all 0.35s ease;
  text-decoration: none;
}

@media (hover: hover) {
  .card:hover .card-link {
    color: #e8b84b !important;
  }
}

/* SPECIAL STYLING for Card 17 */
.pathology-card {
  grid-column: 1 / -1;
}

.card-special {
  border: 2px solid #e8b84b !important;
}

@media (hover: hover) {
  .card-special:hover {
    background: linear-gradient(135deg, #0a1628, #e8b84b) !important;
    border-color: #e8b84b !important;
  }
}
@media (hover: none) {
  .card-special:active {
    background: linear-gradient(135deg, #0a1628, #e8b84b) !important;
    border-color: #e8b84b !important;
  }
}

.card-special-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #e8b84b;
  color: #0a1628;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Fix animation to trigger only on scroll reveal */
.tilt-card {
  opacity: 0;
  animation: none;
  transform: translateY(30px);
}

.scroll-reveal-children.revealed .tilt-card {
  animation: cardRise 0.5s ease both;
}

/* =========================================
   SQUARE CARDS & 4 COLUMNS UPDATE
   ========================================= */

.service-cards {
  grid-template-columns: repeat(4, 1fr) !important;
}

@media (max-width: 1200px) {
  .service-cards {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

@media (max-width: 900px) {
  .service-cards {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 600px) {
  .service-cards {
    grid-template-columns: 1fr !important;
  }
  .card {
    aspect-ratio: auto !important; /* Allow natural height on mobile so text doesn't overflow */
    min-height: 250px;
  }
}

.card {
  aspect-ratio: unset;
  padding: 25px 20px !important;
}

.card-icon {
  width: 50px !important;
  height: 50px !important;
  font-size: 24px !important;
  margin-bottom: 15px !important;
}

.card h3 {
  font-size: 18px !important;
  margin-bottom: 10px !important;
  line-height: 1.3 !important;
}

.card p {
  font-size: 13px !important;
  margin-bottom: 15px !important;
  line-height: 1.5 !important;
  /* Prevent text overflow in squares */
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
}

.card-link {
  font-size: 14px !important;
  margin-top: auto !important;
}

/* === FINAL CARD VISIBILITY FIX ===
/* Cards must always be visible; animate only as enhancement */
.tilt-card {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}

.scroll-reveal-children.revealed .tilt-card {
  opacity: 1 !important;
  transform: none !important;
  animation: cardRise 0.5s ease both !important;
}


/* === 5 CARDS PER ROW — COMPACT HORIZONTAL LAYOUT === */
.service-cards {
  grid-template-columns: repeat(5, 1fr) !important;
  gap: 16px !important;
}

@media (max-width: 1400px) {
  .service-cards {
    grid-template-columns: repeat(4, 1fr) !important;
  }
}

@media (max-width: 1024px) {
  .service-cards {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

@media (max-width: 700px) {
  .service-cards {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 480px) {
  .service-cards {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

.service-cards .tilt-card {
  aspect-ratio: unset !important;
  min-width: 0 !important;
  height: auto !important;
}

.service-cards .card {
  aspect-ratio: unset !important;
  padding: 12px 12px 10px !important;
  height: auto !important;
}

.service-cards .card-icon {
  width: 40px !important;
  height: 40px !important;
  font-size: 18px !important;
  margin-bottom: 10px !important;
  border-radius: 10px !important;
}

.service-cards .card h3 {
  font-size: 13px !important;
  font-weight: 700 !important;
  margin-bottom: 6px !important;
  line-height: 1.3 !important;
}

.service-cards .card p {
  font-size: 11px !important;
  margin-bottom: 8px !important;
  line-height: 1.4 !important;
  -webkit-line-clamp: 3 !important;
}

.service-cards .card-link {
  font-size: 11px !important;
}

.service-category-label {
  font-size: 12px !important;
  margin-top: 20px !important;
}

/* Pathology card stays full width */
.pathology-card {
  /* no longer full width — 5 cards in a row */
}



/* ============================================ */
/* WHATSAPP TOOLTIP — hide by default, hover show */
/* ============================================ */
.whatsapp-numbers {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  transform: translateX(10px);
}
.whatsapp-float:hover .whatsapp-numbers {
  opacity: 1;
  transform: translateX(0);
}
@media (max-width: 768px) {
  .whatsapp-numbers { display: none !important; }
  .whatsapp-float { right: 12px !important; }
  .wa-2 { bottom: 16px !important; }
}

/* ============================================ */
/* NAV CONTAINER — position relative for dropdown */
/* ============================================ */
.nav-container { position: relative; }

/* ============================================ */
/* FOOTER SOCIAL ICONS */
/* ============================================ */
.footer-social {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 18px;
  flex-wrap: wrap;
}
.footer-social a {
  font-size: 22px;
  transition: transform 0.2s ease, opacity 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.06);
}
.footer-social a:hover { transform: translateY(-4px) scale(1.1); opacity: 0.9; }
/* Brand colors */
.footer-social a[aria-label=Facebook]  { color: #1877F2; border-color: #1877F2; }
.footer-social a[aria-label=Instagram] { color: #E1306C; border-color: #E1306C; }
.footer-social a[aria-label=YouTube]   { color: #FF0000; border-color: #FF0000; }
.footer-social a[aria-label=WhatsApp]  { color: #25D366; border-color: #25D366; }

/* ============================================ */
/* HERO H1 — CSS fade-in (no JS opacity hack)  */
/* ============================================ */
.hero h1 {
  animation: heroFadeIn 0.8s ease 0.1s both;
}
@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================ */
/* TOP BAR MOBILE — email hide on small screens */
/* ============================================ */
@media (max-width: 480px) {
  .top-bar-right span { display: none !important; }
}

/* ============================================ */
/* PACKAGE CARDS MOBILE FIX                     */
/* ============================================ */
@media (max-width: 768px) {
  .package-strip-container {
    flex-direction: column !important;
    align-items: center !important;
  }
  .short-card {
    width: 100% !important;
    max-width: 380px !important;
  }
}

/* Hero subtitle */
.hero-subtitle {
  font-size: 18px;
  color: var(--text-gray);
  max-width: 600px;
  margin: 16px auto 32px;
  line-height: 1.65;
}
@media (max-width: 768px) {
  .hero-subtitle { font-size: 15px; margin: 12px auto 24px; }
}
  

/* ============================================================
   FINAL OVERRIDE — SERVICE CARDS (appended last, wins all)
   ============================================================ */
.service-cards {
  display: grid !important;
  grid-template-columns: repeat(5, 1fr) !important;
  gap: 12px !important;
  row-gap: 12px !important;
  align-items: start !important;
  align-content: start !important;
}
.service-cards > * {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
  transition: opacity 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease !important;
  height: auto !important;
  min-height: 0 !important;
}
.service-cards .tilt-card {
  height: auto !important;
  min-height: 0 !important;
  perspective: 1000px;
}
.service-cards .card {
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: unset !important;
  padding: 12px 12px 10px !important;
}
.service-category-label {
  grid-column: 1 / -1 !important;
  margin-top: 8px !important;
  margin-bottom: 4px !important;
  padding-bottom: 4px !important;
  font-size: 11px !important;
  letter-spacing: 2px !important;
  opacity: 1 !important;
  transform: none !important;
}
@media (max-width: 1100px) { .service-cards { grid-template-columns: repeat(4, 1fr) !important; } }
@media (max-width: 800px)  { .service-cards { grid-template-columns: repeat(3, 1fr) !important; } }
@media (max-width: 550px)  { .service-cards { grid-template-columns: repeat(2, 1fr) !important; } }

/* ============================================================
   NAV DROPDOWN — Tests & Pricing submenu
   ============================================================ */
.has-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}
.has-dropdown > a {
  display: flex !important;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}
.nav-dd-icon {
  font-size: 10px;
  margin-left: 2px;
  transition: transform 0.25s ease;
  display: inline-block;
}
.has-dropdown:hover .nav-dd-icon,
.has-dropdown.open .nav-dd-icon {
  transform: rotate(180deg);
}
.nav-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(10,22,40,0.16), 0 2px 8px rgba(0,0,0,0.06);
  min-width: 220px;
  padding: 8px;
  z-index: 9999;
  border: 1px solid #e2e8f0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -7px;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 14px;
  background: #fff;
  border-left: 1px solid #e2e8f0;
  border-top: 1px solid #e2e8f0;
  rotate: 45deg;
}
.has-dropdown:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.nav-dropdown a {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 9px 12px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #1e293b !important;
  border-radius: 8px !important;
  transition: background 0.15s, color 0.15s !important;
  border-bottom: none !important;
  width: 100% !important;
  text-align: left !important;
  box-sizing: border-box;
  white-space: nowrap;
}
.nav-dropdown a:hover,
.nav-dropdown a.active {
  background: #eff6ff !important;
  color: #1e3a8a !important;
}
.nav-dropdown a::after { display: none !important; }
.nav-dropdown a i {
  width: 17px;
  text-align: center;
  color: #2563eb;
  font-size: 13px;
  flex-shrink: 0;
}
.nav-dd-divider {
  height: 1px;
  background: #e2e8f0;
  margin: 5px 6px;
}
.nav-dd-featured {
  background: linear-gradient(135deg,#eff6ff,#f0fdf4) !important;
  color: #1e3a8a !important;
  font-weight: 700 !important;
  margin-top: 2px;
}
.nav-dd-featured:hover { background: #dbeafe !important; }
.nav-dd-featured i { color: #2563eb; }

/* Mobile dropdown (≤768px) */
@media (max-width: 768px) {
  .has-dropdown {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }
  .has-dropdown > a {
    width: 100% !important;
    justify-content: space-between !important;
    padding: 13px 0 !important;
    border-bottom: 1px solid var(--border) !important;
  }
  .has-dropdown.open > a {
    color: var(--secondary) !important;
    border-bottom-color: var(--secondary) !important;
  }
  .nav-dropdown {
    position: static !important;
    transform: none !important;
    box-shadow: none !important;
    border: none !important;
    border-radius: 0 !important;
    background: #f0f4f8 !important;
    border-left: 3px solid #2563eb !important;
    padding: 4px 0 4px 0 !important;
    width: 100% !important;
    opacity: 1 !important;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, visibility 0.1s ease !important;
    pointer-events: none;
  }
  .nav-dropdown::before { display: none !important; }
  .has-dropdown.open .nav-dropdown {
    visibility: visible !important;
    max-height: 600px !important;
    pointer-events: auto !important;
  }
  .nav-dropdown a {
    padding: 11px 16px !important;
    font-size: 13px !important;
    border-bottom: 1px solid #e2e8f0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #1e293b !important;
  }
  .nav-dropdown a:last-child { border-bottom: none !important; }
  .nav-dropdown a:hover { background: #e0eeff !important; }
  .nav-dd-divider { margin: 2px 0; }
  .nav-dd-featured { background: #eff6ff !important; }
}
