@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Outfit:wght@600;700;800&display=swap');
/* ==========================================================================
   BharathRise.com - Production CSS Design System & Stylesheet
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Google Fonts & CSS Custom Properties
   -------------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Brand Palette */
  --primary-color: #0D0259;
  --primary-dark: #070138;
  --primary-light: #1D1B59;
  --secondary-color: #9C99F2;
  --secondary-light: #ECECFF;
  --cta-color: #63F2CA;
  --cta-hover: #45DDB5;
  --white: #FFFFFF;
  
  /* Neutral Palette */
  --bg-body: #FAF9FF;
  --bg-surface: #FFFFFF;
  --bg-subtle: #F1F3F9;
  --border-color: #E2E8F0;
  --border-focus: #9C99F2;

  /* Typography Colors */
  --text-dark: #0F172A;
  --text-body: #334155;
  --text-muted: #64748B;
  --text-light: #F8FAFC;
  --text-on-navy: #E2E8F0;

  /* Typography Sizing & Weights */
  --font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Elevation & Shadows */
  --shadow-sm: 0 2px 8px rgba(13, 2, 89, 0.04);
  --shadow-md: 0 8px 24px rgba(13, 2, 89, 0.08);
  --shadow-lg: 0 16px 40px rgba(13, 2, 89, 0.12);
  --shadow-hover: 0 20px 48px rgba(13, 2, 89, 0.16);

  /* Borders & Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-pill: 9999px;

  /* Layout Containers */
  --container-max: 1240px;
  --header-height: 80px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --------------------------------------------------------------------------
   2. Global Resets & Base Styles
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-family);
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg-body);
  color: var(--text-body);
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

:focus-visible {
  outline: 3px solid var(--cta-color) !important;
  outline-offset: 3px !important;
}

button, input, textarea, select {
  font: inherit;
}

ul, ol {
  list-style: none;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: 1rem;
}
p:last-child {
  margin-bottom: 0;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section-padding {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.section-padding-sm {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

/* Section Header Component */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem;
}

.section-header.text-left {
  text-align: left;
  margin-left: 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}

.badge-secondary {
  background-color: var(--secondary-light);
  color: var(--primary-color);
}

.badge-cta {
  background-color: rgba(99, 242, 202, 0.15);
  color: #058A67;
  border: 1px solid rgba(99, 242, 202, 0.4);
}

.section-title {
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   3. Navigation & Sticky Header (Strict Z-Index Hierarchy)
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: var(--primary-dark);
  color: var(--white);
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(7, 1, 56, 0.4);
  display: flex;
  align-items: center;
  transition: background-color var(--transition-normal), box-shadow var(--transition-normal);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.site-header .brand-logo {
  background: #FFFFFF;
  padding: 5px 14px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  display: inline-flex;
  align-items: center;
  transition: transform var(--transition-fast);
}

.site-header .brand-logo:hover {
  transform: scale(1.02);
}

.site-header .brand-logo img {
  height: 38px;
  width: auto;
  max-width: 220px;
  display: block;
}

.brand-logo .logo-accent {
  color: var(--cta-color);
}

.brand-logo .logo-tag {
  font-size: 0.65rem;
  background: var(--secondary-color);
  color: var(--primary-dark);
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 8px;
  font-weight: 700;
  vertical-align: middle;
}

/* Desktop Navigation Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-on-navy);
  padding: 0.75rem 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--cta-color);
}

.nav-link .chevron-icon {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  transition: transform var(--transition-fast);
}

/* Hover-based Desktop Dropdown */
.desktop-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background-color: var(--white);
  color: var(--text-dark);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.75rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-fast);
  border: 1px solid var(--border-color);
  z-index: 1002;
}

.nav-item:hover .desktop-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-item:hover .nav-link .chevron-icon {
  transform: rotate(180deg);
}

.dropdown-item {
  display: block;
  padding: 0.6rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-body);
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.dropdown-item:hover {
  background-color: var(--secondary-light);
  color: var(--primary-color);
}

/* Header Actions / CTA Buttons */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Hamburger Toggle Button */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1005;
}

.mobile-menu-toggle svg {
  width: 28px;
  height: 28px;
}

/* Mobile Nav Drawer Container (CRITICAL Z-INDEX & DECOUPLED TOGGLES) */
.mobile-nav-drawer {
  display: none; /* Mobile media query overrides this */
}

/* --------------------------------------------------------------------------
   4. Buttons & Interactive Controls
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition-fast);
  text-align: center;
  white-space: normal;
  text-decoration: none;
}

.btn-primary {
  background-color: #63F2CA;
  background: linear-gradient(135deg, #63F2CA 0%, #34D399 100%);
  color: #070138 !important;
  border: 2px solid #63F2CA;
  box-shadow: 0 4px 14px rgba(99, 242, 202, 0.4);
}

.btn-primary:hover {
  background-color: #4EE0B5;
  background: linear-gradient(135deg, #4EE0B5 0%, #10B981 100%);
  color: #070138 !important;
  border-color: #4EE0B5;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 242, 202, 0.6);
}

.btn-cta {
  background-color: #63F2CA !important;
  background: linear-gradient(135deg, #63F2CA 0%, #34D399 100%) !important;
  color: #070138 !important;
  font-weight: 800 !important;
  border: 2px solid #63F2CA !important;
  border-radius: 50px !important;
  box-shadow: 0 4px 18px rgba(99, 242, 202, 0.45) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
}

.btn-cta:hover {
  background-color: #4EE0B5 !important;
  background: linear-gradient(135deg, #4EE0B5 0%, #10B981 100%) !important;
  color: #070138 !important;
  border-color: #4EE0B5 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(99, 242, 202, 0.65) !important;
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: var(--primary-dark);
}

.btn-secondary:hover {
  background-color: #8A87E6;
  transform: translateY(-2px);
}

.btn-outline-light {
  background-color: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline-light:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

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

.btn-outline-dark:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

.btn-whatsapp {
  background-color: #25D366;
  color: var(--white);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background-color: #20BA5A;
  color: var(--white);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.5rem 1.15rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1.05rem;
}

/* --------------------------------------------------------------------------
   5. Hero Section (Asymmetric & High-Impact)
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 60%, #170A74 100%);
  color: var(--white);
  padding: 5rem 0 6rem;
  overflow: hidden;
}

/* Hero Radial Glow Effect */
.hero-section::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(156, 153, 242, 0.15) 0%, rgba(13, 2, 89, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  color: var(--white);
  margin-bottom: 1.5rem;
  line-height: 1.15;
}

.hero-title .highlight-mint {
  color: var(--cta-color);
  position: relative;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-on-navy);
  margin-bottom: 2.25rem;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-metrics-bar {
  display: flex;
  gap: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.metric-item .metric-val {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--cta-color);
  line-height: 1;
}

.metric-item .metric-label {
  font-size: 0.85rem;
  color: var(--text-on-navy);
  margin-top: 0.25rem;
}

/* Asymmetric Hero Card Visual */
.hero-visual-card {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-lg);
}

.hero-visual-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-visual-title {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 600;
}

.hero-badge-pill {
  background: var(--cta-color);
  color: var(--primary-dark);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
}

.visual-checklist {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.check-icon-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: rgba(99, 242, 202, 0.2);
  color: var(--cta-color);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.check-text h5 {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 600;
}

.check-text p {
  color: var(--text-on-navy);
  font-size: 0.85rem;
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   6. Audience Segments Section
   -------------------------------------------------------------------------- */
.audience-section {
  background-color: var(--bg-body);
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.75rem;
}

.audience-card {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  padding: 2rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.audience-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--primary-color);
  transition: background var(--transition-fast);
}

.audience-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--secondary-color);
}

.audience-card:hover::before {
  background: var(--cta-color);
}

.audience-flag-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary-color);
  background-color: var(--secondary-light);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.25rem;
  width: fit-content;
}

.audience-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.audience-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.audience-list {
  margin-bottom: 1.5rem;
}

.audience-list li {
  font-size: 0.88rem;
  color: var(--text-body);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.audience-list li::before {
  content: '✓';
  color: #058A67;
  font-weight: bold;
}

/* --------------------------------------------------------------------------
   7. Services Overview Cards Section
   -------------------------------------------------------------------------- */
.services-section {
  background-color: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}

.service-card {
  background-color: var(--bg-body);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--secondary-color);
}

.service-icon-box {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: var(--primary-color);
  color: var(--cta-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 6px 16px rgba(13, 2, 89, 0.2);
}

.service-icon-box svg {
  width: 30px;
  height: 30px;
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.85rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-color);
}

.service-link:hover {
  color: #058A67;
  gap: 0.6rem;
}

/* --------------------------------------------------------------------------
   8. Why BharathRise.com Section (Asymmetric & Custom SVGs)
   -------------------------------------------------------------------------- */
.why-section {
  background: linear-gradient(180deg, var(--bg-body) 0%, var(--secondary-light) 100%);
}

.why-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 4rem;
  align-items: center;
}

.why-quote-box {
  background: var(--primary-color);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.why-quote-box::after {
  content: '”';
  position: absolute;
  bottom: -20px;
  right: 20px;
  font-size: 10rem;
  color: rgba(255, 255, 255, 0.05);
  font-family: Georgia, serif;
  line-height: 1;
  pointer-events: none;
}

.why-quote-box blockquote {
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 1.75rem;
  color: var(--white);
}

.why-quote-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.why-quote-author h5 {
  color: var(--cta-color);
  font-size: 1.05rem;
  font-weight: 700;
}

.why-quote-author p {
  color: var(--text-on-navy);
  font-size: 0.85rem;
  margin: 0;
}

.why-features-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

.why-feature-item {
  display: flex;
  gap: 1.25rem;
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.why-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--secondary-light);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.why-feature-icon svg {
  width: 24px;
  height: 24px;
}

.why-feature-content h4 {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

.why-feature-content p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}

/* --------------------------------------------------------------------------
   9. Testimonials (Initials Avatar Badge Standard - No Stock Photos)
   -------------------------------------------------------------------------- */
.testimonials-section {
  background-color: var(--white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background-color: var(--bg-body);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-normal);
}

/* --------------------------------------------------------------------------
   16. Clean Horizontal Rolling Card Pads for Google Reviews
   -------------------------------------------------------------------------- */

@keyframes trackScrollHorizontal {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee-container {
  overflow: hidden;
  width: 100%;
  position: relative;
  padding: 3rem 0;
}

.marquee-container::before,
.marquee-container::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.marquee-container::before {
  left: 0;
  background: linear-gradient(to right, #F8FAFC, transparent);
}

.marquee-container::after {
  right: 0;
  background: linear-gradient(to left, #F8FAFC, transparent);
}

.marquee-track {
  display: flex;
  gap: 2rem;
  width: max-content;
  animation: trackScrollHorizontal 45s linear infinite;
  will-change: transform;
}

.marquee-container:hover .marquee-track {
  animation-play-state: paused;
}

.testimonial-card-pad {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  padding: 2rem 2.25rem;
  width: 420px;
  min-height: 280px;
  flex-shrink: 0;
  box-shadow: 0 10px 30px rgba(13, 2, 89, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s ease;
}

.testimonial-card-pad:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(13, 2, 89, 0.1);
  border-color: var(--secondary-color);
}

.google-review-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #1E293B;
}

/* End of Stylesheet */
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--secondary-color);
}

.testimonial-text {
  font-size: 1rem;
  color: var(--text-body);
  font-style: italic;
  margin-bottom: 1.75rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Circular Initials Badge */
.avatar-initials {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  color: var(--cta-color);
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--secondary-color);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.author-info h5 {
  font-size: 1rem;
  font-weight: 700;
}

.author-info p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0;
}

.author-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary-color);
  background-color: var(--secondary-light);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  margin-top: 4px;
}

/* --------------------------------------------------------------------------
   10. Detailed Services Page Component Styles
   -------------------------------------------------------------------------- */
.services-detail-section {
  padding: 4rem 0;
  border-bottom: 1px solid var(--border-color);
}

.services-detail-section:last-of-type {
  border-bottom: none;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.service-detail-grid.reverse {
  direction: rtl;
}

.service-detail-grid.reverse > * {
  direction: ltr;
}

.service-detail-content h2 {
  font-size: 2.2rem;
  margin-bottom: 1.25rem;
}

.service-detail-content p {
  font-size: 1.05rem;
  color: var(--text-body);
  margin-bottom: 1.25rem;
  line-height: 1.7;
}

.service-feature-checklist {
  margin: 1.5rem 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.service-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  font-weight: 500;
}

.service-feature-item svg {
  width: 20px;
  height: 20px;
  color: #058A67;
  flex-shrink: 0;
  margin-top: 2px;
}

.service-detail-visual {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
}

/* --------------------------------------------------------------------------
   11. Contact Page & Embeds
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
}

.contact-info-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
}

.info-item {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.info-item:last-child {
  margin-bottom: 0;
}

.info-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--secondary-light);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-icon svg {
  width: 24px;
  height: 24px;
}

.info-content h4 {
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

.info-content p, .info-content a {
  font-size: 0.95rem;
  color: var(--text-body);
  margin: 0;
}

.map-container {
  margin-top: 2rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.map-container iframe {
  width: 100%;
  height: 260px;
  border: 0;
}

/* Contact Form Styling */
.form-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.75rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
}

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

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background-color: var(--bg-body);
  color: var(--text-dark);
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(13, 2, 89, 0.1);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* --------------------------------------------------------------------------
   12. Unified Footer (Exact Disclaimer & Single Template Standard)
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--white);
  color: var(--text-body);
  border-top: 1px solid var(--border-color);
  padding-top: 4.5rem;
  padding-bottom: 2rem;
}

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

.footer-brand .brand-logo {
  color: var(--primary-color);
  margin-bottom: 1.25rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 1.5rem;
  max-width: 320px;
}

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

.social-link-item {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: var(--secondary-light);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.social-link-item:hover {
  background-color: var(--primary-color);
  color: var(--cta-color);
  transform: translateY(-2px);
}

.social-link-item svg {
  width: 18px;
  height: 18px;
}

.footer-col h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1.25rem;
}

.footer-links-list li {
  margin-bottom: 0.65rem;
}

.footer-links-list a {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-links-list a:hover {
  color: var(--primary-color);
}

/* Zero Processing Fee Mandatory Box */
.zero-fee-disclaimer-box {
  background-color: var(--bg-body);
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--primary-color);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2.5rem;
}

.zero-fee-disclaimer-box p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   13. Responsive Breakpoints & Mobile Navigation System
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
  .nav-menu {
    display: none; /* Hidden on mobile; rendered inside drawer */
  }

  .header-actions .btn-consultation {
    display: none; /* Keep header clean on mobile */
  }

  .mobile-menu-toggle {
    display: block;
  }

  .hero-grid, .why-grid, .contact-grid, .service-detail-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .service-detail-grid.reverse {
    direction: ltr;
  }

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

@media (max-width: 576px) {
  .section-padding {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .hero-metrics-bar {
    flex-direction: column;
    gap: 1.25rem;
  }

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

  .services-grid, .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

/* Dedicated Mobile Drawer & Decoupled Submenus */
.mobile-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(7, 1, 56, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1004;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
}

.mobile-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer-content {
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  max-width: 85vw;
  height: 100vh;
  background-color: var(--primary-dark);
  color: var(--white);
  z-index: 1005;
  padding: 1.5rem 1.5rem 2rem;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform var(--transition-normal);
  box-shadow: var(--shadow-lg);
}

.mobile-drawer-content .brand-logo {
  background: #FFFFFF !important;
  padding: 4px 12px !important;
  border-radius: 8px !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2) !important;
  display: inline-flex !important;
  align-items: center !important;
}

.mobile-drawer-content .brand-logo img {
  height: 34px !important;
  width: auto !important;
  display: block !important;
  filter: none !important;
}

.mobile-drawer-content.active {
  transform: translateX(0);
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-nav-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.mobile-nav-link {
  display: block;
  padding: 0.85rem 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
}

.mobile-nav-link:hover {
  color: var(--cta-color);
}

/* Decoupled Submenu Chevron Toggle Button */
.submenu-toggle-btn {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--white);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.submenu-toggle-btn.active {
  background: var(--cta-color);
  color: var(--primary-dark);
}

.submenu-toggle-btn.active svg {
  transform: rotate(180deg);
}

.mobile-submenu {
  display: none;
  padding-left: 1rem;
  padding-bottom: 0.75rem;
}

.mobile-submenu.active {
  display: block;
}

.mobile-submenu a {
  display: block;
  padding: 0.4rem 0;
  font-size: 0.95rem;
  color: var(--text-on-navy);
}

.mobile-submenu a:hover {
  color: var(--cta-color);
}



/* --------------------------------------------------------------------------
   12. Advanced Homepage Motion & Keyframe Animations
   -------------------------------------------------------------------------- */
@keyframes floatOrb1 {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.3; }
  50% { transform: translate(35px, -25px) scale(1.2); opacity: 0.55; }
}

@keyframes floatOrb2 {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.25; }
  50% { transform: translate(-30px, 30px) scale(1.25); opacity: 0.45; }
}

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

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

.hero-glow-orb-1 {
  position: absolute;
  top: -10%;
  left: -5%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(99, 242, 202, 0.3) 0%, rgba(7, 1, 56, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: floatOrb1 8s ease-in-out infinite;
  z-index: 1;
}

.hero-glow-orb-2 {
  position: absolute;
  bottom: -15%;
  right: -5%;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(157, 154, 242, 0.25) 0%, rgba(7, 1, 56, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: floatOrb2 10s ease-in-out infinite;
  z-index: 1;
}

.animated-float-badge {
  animation: floatBadge 3.5s ease-in-out infinite;
}

.animated-gradient-text {
  background: linear-gradient(90deg, #63F2CA, #9D9AF2, #FFFFFF, #63F2CA);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textShimmer 5s linear infinite;
}

.hero-typing-word {
  display: inline-block;
  color: #63F2CA;
  border-bottom: 3px solid #63F2CA;
  transition: opacity 0.3s ease, transform 0.3s ease;
  min-width: 140px;
}


/* ==========================================================================
   13. Dedicated Mobile UI/UX Overhaul (< 768px & Mobile Screens)
   ========================================================================== */
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.hero-btn-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.float-badge,
  .hero-float-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: 0 12px 30px rgba(7, 1, 56, 0.25);
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  text-align: center;
}

@media (max-width: 768px) {
  html, body {
    overflow-x: hidden !important;
    width: 100vw;
  }

  .container {
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Hero Grid Mobile Stack */
  .hero-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
    text-align: center !important;
  }

  .hero-grid h1 {
    font-size: 2.1rem !important;
    line-height: 1.25 !important;
    margin-top: 0.5rem !important;
  }

  .hero-grid p {
    font-size: 1.05rem !important;
    line-height: 1.6 !important;
    margin-bottom: 1.5rem !important;
  }

  .hero-btn-group {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.85rem !important;
    width: 100% !important;
  }

  .hero-btn-group .btn {
    width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
    padding: 0.9rem 1.5rem !important;
    font-size: 1.05rem !important;
  }

  /* Hero Floating Badge Mobile Safety */
  .float-badge,
  .hero-float-badge {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    inset: auto !important;
    margin: 1.25rem auto 0 !important;
    max-width: 300px !important;
    justify-content: center !important;
    text-align: left !important;
  }

  /* Stat Counter Grid Mobile Stack */
  .stat-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem !important;
  }

  .stat-counter {
    font-size: 2.2rem !important;
  }

  /* Marquee Review Cards Mobile Sizing */
  .testimonial-card-pad {
    width: 82vw !important;
    max-width: 320px !important;
    padding: 1.5rem !important;
    min-height: 260px !important;
  }

  /* General Section Padding Mobile Scale */
  .section-padding {
    padding: 3rem 0 !important;
  }
}

@media (max-width: 480px) {
  .hero-grid h1 {
    font-size: 1.85rem !important;
  }
  .stat-grid {
    grid-template-columns: 1fr !important;
  }
}


/* ==========================================================================
   14. Mobile Button & Component Touch Target Optimization
   ========================================================================== */
.btn-google-reviews {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  font-weight: 700;
  font-size: 0.95rem;
  text-align: center;
  line-height: 1.4;
  white-space: normal;
  border-radius: 50px;
  max-width: 100%;
}

.cta-btn-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  /* Google Reviews Button Mobile Fix */
  .btn-google-reviews {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0.85rem 1rem !important;
    font-size: 0.88rem !important;
    box-sizing: border-box !important;
  }

  /* Closing CTA Button Stack */
  .cta-btn-group {
    flex-direction: column !important;
    gap: 0.85rem !important;
    width: 100% !important;
  }

  .cta-btn-group .btn {
    width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
    padding: 0.9rem 1.5rem !important;
    font-size: 1.05rem !important;
  }

  /* Lead Enquiry Form Button Mobile Stack */
  .lead-enquiry-card form .btn,
  .lead-enquiry-card form button {
    width: 100% !important;
    padding: 0.9rem 1.5rem !important;
    font-size: 1.05rem !important;
  }

  /* Mobile Tables & Wide Containers Touch Scroll */
  table {
    display: block !important;
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
}


/* ==========================================================================
   15. Global Mobile Button Bleed & Overflow Prevention Rules
   ========================================================================== */
.btn, button, a.btn {
  max-width: 100%;
  box-sizing: border-box;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.btn-google-reviews {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.5rem;
  font-weight: 700;
  font-size: 0.95rem;
  text-align: center;
  line-height: 1.3;
  white-space: normal !important;
  border-radius: 50px;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

@media (max-width: 768px) {
  .btn, button, a.btn {
    white-space: normal !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
  }

  .btn-google-reviews {
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0.8rem 0.75rem !important;
    font-size: 0.85rem !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    box-sizing: border-box !important;
  }
}


/* ==========================================================================
   16. Universal Responsive Grid Architecture (< 768px Mobile Stack)
   ========================================================================== */
.financial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.why-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
}

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

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

@media (max-width: 768px) {
  .financial-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  .why-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

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

  .responsive-card-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
}


/* ==========================================================================
   17. Service Pages & Content Media Layout Mobile Overhaul (< 768px)
   ========================================================================== */
.service-content-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

.responsive-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: flex-start;
}

@media (max-width: 768px) {
  .service-content-grid,
  .responsive-two-col {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  .service-content-grid img,
  .responsive-two-col img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: 380px !important;
    object-fit: cover !important;
    border-radius: var(--radius-md) !important;
  }

  /* Guarantee card mobile container bounds */
  .service-content-grid .reveal,
  .responsive-two-col .reveal {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}


/* ==========================================================================
   18. Responsive Image Card Height & Void Space Elimination (< 768px)
   ========================================================================== */
.hero-img-card {
  width: 100%;
  height: 420px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  background: transparent;
}

.hero-img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .hero-img-card {
    height: auto !important;
    max-height: 260px !important;
    min-height: 180px !important;
    border-radius: var(--radius-md) !important;
    margin-bottom: 1.5rem !important;
  }

  .hero-img-card img {
    height: auto !important;
    max-height: 260px !important;
    object-fit: cover !important;
  }
}


/* ==========================================================================
   19. Mobile Button Height & Padding Optimization (< 768px)
   ========================================================================== */
@media (max-width: 768px) {
  .btn,
  .btn-lg,
  .btn-cta,
  .btn-primary,
  .btn-secondary,
  .btn-whatsapp,
  .btn-outline-dark,
  button.btn,
  a.btn {
    padding: 0.7rem 1.25rem !important;
    font-size: 0.95rem !important;
    line-height: 1.25 !important;
    min-height: 46px !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-break: normal !important;
    text-align: center !important;
  }
}


/* ==========================================================================
   20. Part 6: Responsive Card Grid Architecture & Content-Sized Buttons
   (Fixes Full-Width Button Stretching & Grid Breakdowns Across All Viewports)
   ========================================================================== */

/* Universal Explicit Card Grid Definitions */
.destination-grid,
.card-grid,
.services-grid,
.responsive-card-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 2rem !important;
  align-items: stretch !important;
  width: 100% !important;
}

.stat-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 1.75rem !important;
  text-align: center !important;
  width: 100% !important;
}

/* Stat Counter Cards Padding (Min 24px) */
.stat-grid > div {
  padding: 1.75rem 1.5rem !important;
  box-sizing: border-box !important;
}

/* Card Buttons: Content-Sized by Default (Desktop / Tablet) */
.destination-card .btn,
.card .btn,
.hover-lift .btn,
.testimonial-card-pad .btn {
  display: inline-flex !important;
  width: auto !important;
  max-width: max-content !important;
  padding: 0.75rem 1.5rem !important;
  align-self: flex-start !important;
  white-space: nowrap !important;
  box-sizing: border-box !important;
}

/* Breakpoint 1: Wide Desktop (> 1200px) */
@media (min-width: 1200px) {
  .destination-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
  .stat-grid {
    grid-template-columns: repeat(4, 1fr) !important;
  }
}

/* Breakpoint 2: Tablet & Medium Displays (768px - 1199px) */
@media (min-width: 768px) and (max-width: 1199px) {
  .destination-grid,
  .card-grid,
  .services-grid,
  .responsive-card-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.5rem !important;
  }

  .stat-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.25rem !important;
  }

  .destination-card .btn,
  .card .btn,
  .hover-lift .btn {
    display: inline-flex !important;
    width: auto !important;
    padding: 0.75rem 1.25rem !important;
  }
}

/* Breakpoint 3: Mobile Viewports (< 767px) */
@media (max-width: 767px) {
  .destination-grid,
  .card-grid,
  .services-grid,
  .responsive-card-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  .stat-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem !important;
  }

  /* Intentional full-width mobile pattern for mobile buttons */
  .destination-card .btn,
  .card .btn,
  .hover-lift .btn {
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
    padding: 0.85rem 1.25rem !important;
    white-space: normal !important;
  }
}

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


/* Card Action Button Content Sizing (Desktop/Tablet vs Mobile) */
.btn-card-action {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  max-width: max-content !important;
  padding: 0.65rem 1.35rem !important;
  font-weight: 700 !important;
  border-radius: var(--radius-sm) !important;
  align-self: flex-start !important;
  text-decoration: none !important;
}

@media (max-width: 767px) {
  .btn-card-action {
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
    padding: 0.85rem 1.25rem !important;
  }
}

/* Ensure both .nav-menu and .main-nav lay out horizontally on desktop */
.nav-menu,
.main-nav {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 1.75rem !important;
  margin: 0 !important;
  padding: 0 !important;
}

@media (max-width: 991px) {
  .nav-menu,
  .main-nav {
    display: none !important;
  }
}

/* ==========================================================================
   PHOTO ALIGNMENT & FLUSH HERO CARD FIX (ZERO VOID SPACE)
   ========================================================================== */
.hero-img-card,
.article-hero-img-container,
.card-img-wrapper {
  width: 100% !important;
  height: auto !important;
  max-height: 440px !important;
  overflow: hidden !important;
  border-radius: var(--radius-lg) !important;
  background: transparent !important;
  margin-bottom: 2rem !important;
  display: block !important;
}

.hero-img-card img,
.article-hero-img-container img,
.card-img-wrapper img {
  width: 100% !important;
  height: 100% !important;
  max-height: 440px !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
  border-radius: inherit !important;
}

/* ==========================================================================
   MOBILE KNOWLEDGE HUB & ARTICLE CONTENT VISIBILITY FIX
   ========================================================================== */
@media (max-width: 768px) {
  .reveal,
  .article-layout,
  .article-main-content,
  .article-body,
  .knowledge-hub-article section,
  section {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
  }

  .hero-img-card,
  .article-hero-img-container {
    height: auto !important;
    max-height: 250px !important;
    margin-bottom: 1.5rem !important;
  }

  .hero-img-card img,
  .article-hero-img-container img {
    height: auto !important;
    max-height: 250px !important;
    object-fit: cover !important;
  }

  .emi-calc-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
}


/* ==========================================================================
   INTERACTIVE HOVER & TOUCH MICRO-ANIMATIONS
   ========================================================================== */
.btn,
.card,
.destination-card,
.hover-lift,
.nav-link,
.dropdown-item,
.responsive-card-grid > div,
.stat-grid > div,
.guide-card,
.tool-card {
  transition: transform 0.28s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.28s cubic-bezier(0.25, 0.8, 0.25, 1), background-color 0.28s ease, color 0.28s ease !important;
  will-change: transform;
}

.hover-lift:hover,
.destination-card:hover,
.guide-card:hover,
.responsive-card-grid > div:hover,
.stat-grid > div:hover {
  transform: translateY(-6px) scale(1.012) !important;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.12) !important;
}

.btn:hover {
  transform: translateY(-2px) scale(1.025) !important;
  box-shadow: 0 8px 24px rgba(7, 1, 56, 0.2) !important;
}

.nav-link:hover,
.dropdown-item:hover {
  transform: translateX(3px) !important;
}

/* Touch Feedback for Mobile Devices */
@media (hover: none) and (pointer: coarse) {
  .btn:active,
  .card:active,
  .destination-card:active,
  .hover-lift:active,
  a:active {
    transform: scale(0.97) !important;
    opacity: 0.9 !important;
    transition: transform 0.1s ease !important;
  }
}


/* ==========================================================================
   HOMEPAGE-STANDARD CARD MOUSE HOVER ANIMATION (APPLIED SITE-WIDE)
   ========================================================================== */

.hover-lift,
.card,
.service-card,
.destination-card,
.testimonial-card,
.stat-card,
.feature-card,
.process-card,
.guide-card,
.kh-card,
.audience-card,
[class*="-card"] {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s ease,
              background-color 0.3s ease !important;
  will-change: transform, box-shadow;
  -webkit-tap-highlight-color: transparent;
}

/* Homepage Mouse Hover Lift & Glow Effect */
.hover-lift:hover,
.card:hover,
.service-card:hover,
.destination-card:hover,
.testimonial-card:hover,
.stat-card:hover,
.feature-card:hover,
.process-card:hover,
.guide-card:hover,
.kh-card:hover,
.audience-card:hover,
[class*="-card"]:hover {
  transform: translateY(-8px) scale(1.015) !important;
  box-shadow: 0 16px 36px rgba(7, 1, 56, 0.14), 0 0 24px rgba(99, 242, 202, 0.2) !important;
  border-color: rgba(99, 242, 202, 0.6) !important;
  z-index: 10;
}

/* Image Zoom on Card Hover */
.hover-lift:hover img,
.card:hover img,
.service-card:hover img,
.destination-card:hover img,
.kh-card:hover img,
[class*="-card"]:hover img {
  transform: scale(1.05) !important;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* Mobile Active Touch Tap State */
.hover-lift:active,
.card:active,
.service-card:active,
.destination-card:active,
.testimonial-card:active,
.stat-card:active,
.feature-card:active,
.process-card:active,
.guide-card:active,
.kh-card:active,
.audience-card:active,
[class*="-card"]:active {
  transform: translateY(-4px) scale(0.995) !important;
  box-shadow: 0 10px 25px rgba(7, 1, 56, 0.18) !important;
}


/* ==========================================================================
   PERMANENT CONTENT VISIBILITY & HOVER/TOUCH ANIMATION SYSTEM
   ========================================================================== */

/* 1. Baseline Guaranteed Content Visibility (Zero JS Dependency) */
.reveal,
article,
section,
.article-layout,
.article-main-content,
.article-body {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}

/* 2. Master Card Mouse Hover & Touch Tap Animation System (Homepage Standard) */
.hover-lift,
.card,
.service-card,
.destination-card,
.testimonial-card,
.stat-card,
.feature-card,
.process-card,
.guide-card {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  will-change: transform, box-shadow;
}

.hover-lift:hover,
.hover-lift:active,
.hover-lift.touched,
.card:hover,
.card:active,
.card.touched,
.service-card:hover,
.service-card:active,
.service-card.touched,
.destination-card:hover,
.destination-card:active,
.destination-card.touched,
.testimonial-card:hover,
.testimonial-card:active,
.testimonial-card.touched,
.guide-card:hover,
.guide-card:active,
.guide-card.touched {
  transform: translateY(-8px) scale(1.015) !important;
  box-shadow: 0 16px 36px rgba(7, 1, 56, 0.14), 0 0 24px rgba(99, 242, 202, 0.2) !important;
  border-color: rgba(99, 242, 202, 0.6) !important;
}

/* Smooth Image Zoom on Hover/Touch */
.hover-lift:hover img,
.hover-lift:active img,
.hover-lift.touched img,
.card:hover img,
.service-card:hover img,
.destination-card:hover img,
.guide-card:hover img {
  transform: scale(1.05) !important;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* ==========================================================================
   MASTER KNOWLEDGE HUB MOBILE ARTICLE CONTENT VISIBILITY GUARANTEE
   ========================================================================== */
body.knowledge-hub-article main,
body.knowledge-hub-article section,
body.knowledge-hub-article article,
body.knowledge-hub-article article section,
body.knowledge-hub-article article p,
body.knowledge-hub-article article h2,
body.knowledge-hub-article article h3,
body.knowledge-hub-article article h4,
body.knowledge-hub-article article div,
body.knowledge-hub-article article ul,
body.knowledge-hub-article article ol,
body.knowledge-hub-article article li,
body.knowledge-hub-article article blockquote,
article,
article section,
article p,
article h2,
article h3,
article h4,
article div,
article ul,
article ol,
article li {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  filter: none !important;
  clip-path: none !important;
  mask: none !important;
  max-height: none !important;
}

article {
  display: block !important;
  width: 100% !important;
  clear: both !important;
  color: var(--text-body) !important;
}

article p {
  display: block !important;
  color: #334155 !important;
  font-size: 1.05rem !important;
  line-height: 1.8 !important;
  margin-bottom: 1.25rem !important;
}

article h2,
article h3,
article h4 {
  display: block !important;
  color: #0D0259 !important;
  font-weight: 700 !important;
  margin-top: 2rem !important;
  margin-bottom: 1rem !important;
}

article section {
  display: block !important;
  margin-bottom: 2.5rem !important;
  opacity: 1 !important;
  visibility: visible !important;
}

article .hero-img-card {
  display: block !important;
  width: 100% !important;
  max-height: 380px !important;
  margin-bottom: 2rem !important;
  border-radius: var(--radius-lg) !important;
  overflow: hidden !important;
}

article .hero-img-card img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-height: 380px !important;
  object-fit: cover !important;
}

@media (max-width: 768px) {
  article p {
    font-size: 1rem !important;
    line-height: 1.7 !important;
  }
  article h2 {
    font-size: 1.4rem !important;
    line-height: 1.3 !important;
  }
  article .hero-img-card,
  article .hero-img-card img {
    max-height: 240px !important;
  }
}


/* ==========================================================================
   PART 1: WEBKIT / IOS SAFARI RENDERING & LAYOUT COLLAPSE FIXES
   ========================================================================== */
article,
section,
main,
.why-grid,
.financial-grid,
.responsive-card-grid,
.hero-grid,
.service-content-grid,
.reveal {
  min-height: 1px !important;
  -webkit-box-flex: 1 !important;
  -webkit-flex: 1 1 auto !important;
  flex: 1 1 auto !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  filter: none !important;
  clip-path: none !important;
  mask: none !important;
}

/* Ensure WebKit implicit grid/flex sizing on mobile viewports */
@media (max-width: 991px) {
  article,
  section,
  .why-grid,
  .financial-grid,
  .responsive-card-grid,
  .service-content-grid {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}


/* ==========================================================================
   PART 4: EMI CALCULATOR MOBILE OPTIMIZATION (320px - 428px)
   ========================================================================== */
.emi-calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: flex-start;
}

input[type="range"] {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  accent-color: var(--primary-color);
  cursor: pointer;
  touch-action: manipulation;
  margin: 0.75rem 0;
}

@media (max-width: 768px) {
  .emi-calc-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  
  .emi-calc-card {
    padding: 1.5rem !important;
  }
  
  #monthlyEmiVal {
    font-size: 2.2rem !important;
  }
  
  input[type="range"] {
    height: 12px !important;
    padding: 12px 0 !important;
  }
}


/* ==========================================================================
   PART 6: STICKY HEADER - PURE WHITE BACKGROUND & LOGO WRAPPER REMOVAL
   ========================================================================== */
.site-header {
  position: sticky !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: var(--header-height) !important;
  background-color: #FFFFFF !important;
  color: var(--primary-color) !important;
  z-index: 1000 !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06) !important;
  display: flex !important;
  align-items: center !important;
  transition: background-color 0.3s ease, box-shadow 0.3s ease !important;
}

/* Remove separate white rounded background box behind logo */
.site-header .brand-logo {
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  display: inline-flex !important;
  align-items: center !important;
  transition: transform 0.2s ease !important;
}

.site-header .brand-logo:hover {
  transform: scale(1.02) !important;
}

.site-header .brand-logo img {
  height: 44px !important;
  width: auto !important;
  max-width: 220px !important;
  display: block !important;
}

/* Crisp Dark Navy Navigation Links on White Header */
.nav-link {
  display: flex !important;
  align-items: center !important;
  gap: 0.35rem !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  color: #0D0259 !important;
  padding: 0.75rem 0 !important;
}

.nav-link:hover,
.nav-link.active {
  color: #058A67 !important;
}

.nav-link .chevron-icon {
  stroke: #0D0259 !important;
}

.nav-link:hover .chevron-icon,
.nav-link.active .chevron-icon {
  stroke: #058A67 !important;
}

/* Hamburger Toggle Button Color on White Header */
.mobile-menu-toggle {
  color: #0D0259 !important;
}

.mobile-menu-toggle svg {
  stroke: #0D0259 !important;
}

/* Mobile Drawer Remains Premium Dark Navy with Crisp White Navigation Text */
.mobile-drawer-content {
  background-color: #070138 !important;
  color: #FFFFFF !important;
}

.mobile-nav-link {
  color: #FFFFFF !important;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: #63F2CA !important;
}

.submenu-toggle-btn {
  color: #FFFFFF !important;
}


/* ==========================================================================
   STRICT UNIFORM HEADER & LOGO STYLING SITE-WIDE
   ========================================================================== */
header.site-header,
.site-header {
  position: sticky !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 70px !important;
  min-height: 70px !important;
  background-color: #FFFFFF !important;
  background: #FFFFFF !important;
  color: #0D0259 !important;
  z-index: 1000 !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06) !important;
  display: flex !important;
  align-items: center !important;
}

.site-header .brand-logo,
a.brand-logo {
  background: transparent !important;
  background-color: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  border: none !important;
  display: inline-flex !important;
  align-items: center !important;
}

.site-header .brand-logo img,
a.brand-logo img {
  height: 44px !important;
  width: auto !important;
  max-width: 220px !important;
  display: block !important;
  object-fit: contain !important;
}

.nav-link {
  color: #0D0259 !important;
  font-weight: 600 !important;
}

.mobile-menu-toggle {
  color: #0D0259 !important;
}
