/* MDIEE Insurance & Consulting - Premium Stylesheet */

/* Note: Google Sans must be installed locally or provided via webfont URL. */
/* Using standard system fallback for sans-serif if not found. */

:root {
  /* Color Palette */
  --bg-deep: #050a12;
  --bg-darker: #080f1e;
  --bg-dark: #0d1627;
  --bg-dark-card: rgba(13, 22, 39, 0.7);
  --bg-light: #ffffff;
  --bg-light-sec: #f4f7fc;
  
  --primary: #1e50a2; /* Royal corporate blue */
  --primary-light: #3b82f6;
  --primary-dark: #0f3675;
  --accent: #00d2ff;
  --accent-blue: #0ea5e9;
  --accent-glow: rgba(0, 210, 255, 0.15);
  
  --text-light: #f8fafc;
  --text-muted-light: #94a3b8;
  --text-dark: #0f172a;
  --text-muted-dark: #4b5563;
  
  --border-light: rgba(255, 255, 255, 0.08);
  --border-dark: rgba(15, 23, 42, 0.08);
  --glass-gradient: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
  --glass-border: rgba(255, 255, 255, 0.15);
  
  /* Fonts */
  --font-heading: 'Google Sans', sans-serif;
  --font-body: 'Google Sans', sans-serif;
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Shadows */
  --shadow-sm: 0 2px 8px -1px rgba(5, 10, 18, 0.1);
  --shadow-md: 0 12px 24px -4px rgba(5, 10, 18, 0.2);
  --shadow-lg: 0 20px 40px -8px rgba(5, 10, 18, 0.35);
  --shadow-glow: 0 0 30px 2px rgba(0, 210, 255, 0.2);
}

/* Reset and Global Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-light);
}

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

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  outline: none;
}

ul {
  list-style: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-deep);
}
::-webkit-scrollbar-thumb {
  background: #92C5FC;
  border: 2px solid var(--bg-deep);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-light);
}

/* Decorative Background Details */
.glow-wrapper {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.glow-circle {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30, 80, 162, 0.15) 0%, rgba(0, 210, 255, 0.03) 70%, transparent 100%);
  filter: blur(80px);
  animation: float-slow 15s infinite alternate ease-in-out;
}

.glow-circle-1 {
  top: -10%;
  right: -10%;
  background: radial-gradient(circle, rgba(0, 210, 255, 0.18) 0%, rgba(30, 80, 162, 0.05) 60%, transparent 100%);
}

.glow-circle-2 {
  top: 50%;
  left: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.12) 0%, rgba(0, 210, 255, 0.02) 70%, transparent 100%);
  animation-duration: 20s;
  animation-delay: -5s;
}

.glow-circle-3 {
  bottom: -10%;
  right: -10%;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.15) 0%, rgba(30, 80, 162, 0.04) 60%, transparent 100%);
  animation-duration: 18s;
  animation-delay: -2s;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

.section {
  padding: 8rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 1rem;
  padding: 0.35rem 1rem;
  background: rgba(0, 210, 255, 0.08);
  border: 1px solid rgba(0, 210, 255, 0.2);
  border-radius: 50px;
}

.section-title {
  font-size: 2.75rem;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.section-title span {
  background: linear-gradient(135deg, #ffffff 30%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-desc {
  font-size: 1.125rem;
  color: var(--text-muted-light);
}

/* Button Component */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 2rem;
  box-sizing: border-box;
  font-weight: 600;
  border-radius: 100px; /* Pill shape like Covar */
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  font-family: var(--font-heading);
  gap: 0.5rem;
  position: relative;
  border: none;
  outline: none;
}

.btn > * {
  position: relative;
  z-index: 2;
}

/* Covar-style icon circle attached to button */
.btn .btn-icon-circle {
  position: absolute;
  top: 50%;
  right: -48px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #00D2FF;
  transition: transform 0.3s ease, background-color 0.3s ease;
  transform: translateY(-50%);
  z-index: 1;
}

.btn .btn-icon-circle svg {
  width: 20px;
  height: 20px;
  fill: #ffffff; /* White arrow in base state */
  transition: transform 0.3s ease, fill 0.3s ease;
}

/* Button with icon needs extra right margin */
.btn-has-icon {
  margin-right: 52px;
}

/* Standard Buttons (Light Background Areas) */
.btn-primary, .btn-secondary, .btn-accent {
  background: #00D2FF;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(27, 140, 194, 0.2);
}

.btn-primary:hover, .btn-secondary:hover, .btn-accent:hover {
  background: #2c5ba8; /* Hover color: 44, 91, 168 */
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(44, 91, 168, 0.35);
}

/* The circle remains base color on hover, only the arrow inside slides & rotates */
.btn-primary:hover .btn-icon-circle, 
.btn-secondary:hover .btn-icon-circle, 
.btn-accent:hover .btn-icon-circle {
  background: #00D2FF;
}

.btn-primary:hover .btn-icon-circle svg, 
.btn-secondary:hover .btn-icon-circle svg, 
.btn-accent:hover .btn-icon-circle svg {
  transform: translateX(4px) rotate(45deg); /* Arrow rotates & slides */
  fill: #ffffff;
}

/* Buttons on Dark Backgrounds: Base white #FFF, Hover 27, 140, 194 (#1b8cc2) */
.header .btn,
.hero-redesign .btn,
.calc-result-box .btn,
.cta-special-card .btn {
  background: #ffffff;
  color: #050a12; /* Dark text */
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.header .btn .btn-icon-circle,
.hero-redesign .btn .btn-icon-circle,
.calc-result-box .btn .btn-icon-circle,
.cta-special-card .btn .btn-icon-circle {
  background: #ffffff; /* Circle matches white pill */
}

.header .btn .btn-icon-circle svg,
.hero-redesign .btn .btn-icon-circle svg,
.calc-result-box .btn .btn-icon-circle svg,
.cta-special-card .btn .btn-icon-circle svg {
  fill: #050a12; /* Dark arrow */
}

/* Hover state for dark background buttons */
.header .btn:hover,
.hero-redesign .btn:hover,
.calc-result-box .btn:hover,
.cta-special-card .btn:hover {
  background: #1b8cc2; /* Hover color: 27, 140, 194 */
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(27, 140, 194, 0.35);
}

.header .btn:hover .btn-icon-circle,
.hero-redesign .btn:hover .btn-icon-circle,
.calc-result-box .btn:hover .btn-icon-circle,
.cta-special-card .btn:hover .btn-icon-circle {
  background: #ffffff; /* Circle retains white base background */
}

.header .btn:hover .btn-icon-circle svg,
.hero-redesign .btn:hover .btn-icon-circle svg,
.calc-result-box .btn:hover .btn-icon-circle svg,
.cta-special-card .btn:hover .btn-icon-circle svg {
  transform: translateX(4px) rotate(45deg);
  fill: #050a12;
}

/* Glassmorphism Cards */
.glass-card {
  background: var(--bg-dark-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
}

.glass-card:hover {
  border-color: rgba(0, 210, 255, 0.25);
  box-shadow: var(--shadow-lg), 0 0 25px -5px rgba(0, 210, 255, 0.1);
  transform: translateY(-5px);
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 120; /* Keep it above the fullscreen overlay (z-index: 100) */
  transition: var(--transition-normal);
  padding: 1.5rem 0;
}

.header.scrolled {
  padding: 0.75rem 0;
  background: #92c5fc4b;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* SVG Logo Styling */
.logo-svg {
  height: 48px;
  width: auto;
}

/* Image Logo Styling */
.logo-img {
  height: 42px;
  width: auto;
  object-fit: contain;
  transition: var(--transition-normal);
  display: block;
}

.logo-img-footer {
  height: 48px;
  width: auto;
  object-fit: contain;
  display: block;
  margin-bottom: 1.5rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-item {
  position: relative;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-muted-light);
}

.nav-item:hover, .nav-item.active {
  color: var(--text-light);
}

.nav-item::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: var(--transition-normal);
}

.nav-item:hover::after, .nav-item.active::after {
  width: 100%;
}

.hamburger {
  display: flex !important; /* Always show hamburger menu */
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 130; /* Keep it above the fullscreen overlay */
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
  background-color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.hamburger:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.hamburger span {
  width: 22px;
  height: 2px;
  background-color: #050a12 !important;
  transition: var(--transition-normal);
}

/* Show the Quote button in the header nav wrapper on desktop, hide navigation items */
.nav-links {
  display: flex !important;
  align-items: center;
  margin-left: auto;
  margin-right: 1.5rem;
}

.nav-links .nav-item {
  display: none !important; /* Hide navigation links */
}

.nav-links .btn {
  display: inline-flex !important; /* Keep Get a Quote button visible on desktop */
}

@media (max-width: 768px) {
  .nav-links {
    display: none !important; /* Hide the header button entirely on mobile */
  }
}

/* Hero Section - Video Background */
.hero {
  position: relative;
  padding: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-video-bg {
  padding: 0;
}

/* Fullscreen Background Video */
.hero-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Dark Gradient Overlay for Legibility - Covar Style */
.hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    /* Top edge: subtle vignette for header readability */
    linear-gradient(
      to bottom,
      rgba(5, 10, 18, 0.5) 0%,
      rgba(5, 10, 18, 0.1) 15%,
      transparent 30%
    ),
    /* Bottom: strong clean sweep where the text content lives */
    linear-gradient(
      to top,
      rgba(5, 10, 18, 0.95) 0%,
      rgba(5, 10, 18, 0.85) 15%,
      rgba(5, 10, 18, 0.5) 35%,
      transparent 55%
    );
  z-index: 1;
}

/* Hero Content Container */
.hero-video-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end; /* Push content to the bottom like Covar */
  min-height: 100vh;
  padding-bottom: 4rem;
}

/* Hero Grid Layout (Two Columns) */
.hero-video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
}

.hero-video-left {
  max-width: 650px;
}

.hero-video-right {
  max-width: 550px;
  margin-left: auto;
}

.hero-video-right .hero-desc {
  margin-bottom: 0; /* Remove margin for perfect vertical centering */
}

@media (max-width: 992px) {
  .hero-video-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hero-video-right {
    margin-left: 0;
  }
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
      background: rgb(255 255 255 / 8%);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(50px);
    -webkit-backdrop-filter: blur(50px);
}

.hero-tag span {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

.hero-title {
  font-size: 4.25rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero-title span {
  background: linear-gradient(135deg, #ffffff 40%, var(--accent-blue) 80%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.2rem;
  color: var(--text-muted-light);
  margin-bottom: 2.5rem;
  max-width: 550px;
}

.hero-ctas {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 4rem;
}

.hero-stats {
  display: flex;
  gap: 3.5rem;
  border-top: 1px solid var(--border-light);
  padding-top: 2rem;
}

.stat-item h3 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-light);
  margin-bottom: 0.25rem;
  background: linear-gradient(135deg, #ffffff 70%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-item p {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted-light);
  font-weight: 500;
}

.hero-visual {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
}

.hero-card-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 460px;
}

.hero-img-card {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transform: rotate(2deg);
  transition: var(--transition-normal);
}

.hero-img-card:hover {
  transform: rotate(0deg) scale(1.02);
}

.hero-img-card img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  filter: saturate(1.1) brightness(0.95);
}

.hero-badge-floating {
  position: absolute;
  bottom: 30px;
  left: -40px;
  background: rgba(8, 15, 30, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--shadow-md);
  z-index: 5;
  transform: rotate(-1deg);
}

.hero-badge-floating i {
  font-size: 1.75rem;
  color: var(--accent);
  background: rgba(0, 210, 255, 0.1);
  padding: 0.75rem;
  border-radius: 12px;
}

.badge-info h4 {
  font-size: 1.1rem;
  margin-bottom: 0.15rem;
}

.badge-info p {
  font-size: 0.8rem;
  color: var(--text-muted-light);
}

/* Services Marquee (Covar Style) */
.services-marquee {
  overflow: hidden;
  white-space: nowrap;
  background: #92c5fc;
  padding: 1.75rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  z-index: 3;
}
.marquee-track {
  display: inline-flex;
  animation: scroll-marquee 30s linear infinite;
}
.marquee-content {
  display: flex;
  align-items: center;
  gap: 4rem;
  padding-right: 4rem;
}
.marquee-content span {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  gap: 2rem;
  transition: all 0.3s ease;
  cursor: default;
}
.marquee-content span:hover {
  color: #ffffff;
  -webkit-text-stroke: 1.5px #ffffff;
}
.marquee-content span i {
  color: #fff;
  -webkit-text-stroke: 0;
  font-size: 1.5rem;
}

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

/* Partner Logo Bar */
.partners-bar {
  background: #ffffff;
  padding: 2rem 0;
  position: relative;
  z-index: 2;
}

.partners-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 1.25rem 1.75rem;
  border: 1.5px solid rgba(15, 23, 42, 0.08);
  border-radius: 12px;
  background: #ffffff;
  flex-wrap: nowrap;
  gap: 1.25rem;
}

.partner-logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-muted-dark);
  letter-spacing: 0.05em;
  opacity: 0.85;
  transition: var(--transition-normal);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.15rem;
  border: 1.5px solid transparent;
  border-radius: 8px;
  cursor: pointer;
}

.partner-logo:hover {
  opacity: 1;
  color: var(--primary);
  border-color: var(--accent-blue);
  background: rgba(0, 210, 255, 0.03);
  box-shadow: 0 0 15px rgba(0, 210, 255, 0.2);
  transform: translateY(-2px);
}

/* Insurance Core Services Grid */
.insurance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.insurance-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
}

.card-img-wrapper {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}

.card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

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

.card-tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(5, 10, 18, 0.75);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
}

.card-content {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(30, 80, 162, 0.15);
  border: 1px solid rgba(30, 80, 162, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.card-title {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

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

.card-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  align-self: flex-start;
  margin-top: auto;
}

.card-link i {
  transition: var(--transition-fast);
}

.card-link:hover i {
  transform: translateX(4px);
}

/* Testimonials Section (Covar Split Style) */
.testimonial-split-section {
  position: relative;
  padding: 8rem 0;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.testimonial-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.testimonial-split-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 2;
  gap: 5rem;
}

.testimonial-split-left {
  max-width: 480px;
  width: 100%;
  color: #ffffff;
}

.testimonial-rating-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.testimonial-covar-box {
  background: #ffffff;
  width: 100%;
  max-width: 600px;
  border-radius: 12px;
  padding: 4rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  position: relative;
}

.testimonial-covar-header {
  margin-bottom: 2rem;
}

.testimonial-covar-header .section-title {
  font-size: 2.2rem;
  margin-top: 1rem;
  color: var(--text-dark);
  line-height: 1.2;
}

.testimonial-covar-slide {
  display: flex;
  flex-direction: column;
}

.testimonial-rating {
  color: #fbbf24;
  font-size: 1.1rem;
  display: flex;
  gap: 0.25rem;
}

.testimonial-text {
  font-size: 1.1rem;
  color: var(--text-dark);
  font-weight: 500;
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  padding-top: 2rem;
  position: relative;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.05);
  color: var(--text-muted-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.author-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.author-info h4 {
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 0.15rem;
}

.author-info span {
  font-size: 0.85rem;
  color: var(--text-muted-dark);
  font-weight: 400;
}

/* Nav Box at Bottom Right of the White Card */
.testimonial-nav-box {
  position: absolute;
  bottom: 4rem;
  right: 4rem;
  display: flex;
  gap: 0.75rem;
  z-index: 10;
}

.testimonial-prev,
.testimonial-next {
  position: static !important;
  width: 45px !important;
  height: 45px !important;
  margin-top: 0 !important;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.testimonial-prev::after,
.testimonial-next::after {
  font-size: 1.1rem !important;
  font-weight: bold;
  color: var(--text-dark);
}

.testimonial-prev:hover,
.testimonial-next:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.testimonial-prev:hover::after,
.testimonial-next:hover::after {
  color: #ffffff;
}

@media (max-width: 991px) {
  .testimonial-split-section {
    padding: 4rem 0;
  }
  .testimonial-split-container {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3.5rem;
  }
  .testimonial-split-left {
    text-align: center;
  }
  .testimonial-rating-wrap {
    justify-content: center;
  }
  .testimonial-covar-box {
    padding: 2.5rem;
  }
  .testimonial-nav-box {
    bottom: 2.5rem;
    right: 2.5rem;
  }
}

/* Feature/Benefit Section (Smarter Ways) */
.benefits-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 5rem;
  align-items: center;
}

.benefits-visual {
  position: relative;
}

.benefits-img-bg {
  position: absolute;
  top: -20px;
  left: -20px;
  width: calc(100% + 40px);
  height: calc(100% + 40px);
  background: linear-gradient(135deg, rgba(30, 80, 162, 0.15) 0%, rgba(0, 210, 255, 0.05) 100%);
  border-radius: 28px;
  z-index: 0;
}

.benefits-img-card {
  position: relative;
  z-index: 1;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transform: rotate(-2deg);
  transition: var(--transition-normal);
}

.benefits-img-card:hover {
  transform: rotate(0deg) scale(1.02);
}

.benefits-img-card img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.benefits-content {
  position: relative;
  z-index: 1;
}

.benefit-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 3rem;
}

.benefit-item {
  display: flex;
  gap: 1.25rem;
}

.benefit-number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(0, 210, 255, 0.08);
  border: 1px solid rgba(0, 210, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--accent);
  font-size: 1.1rem;
}

.benefit-info h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.benefit-info p {
  color: var(--text-muted-light);
  font-size: 0.95rem;
}

/* How It Works Section */
.work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.step-card {
  padding: 2rem;
  display: flex;
  gap: 1.5rem;
  background: rgba(13, 22, 39, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.step-card.active {
  background: var(--bg-dark-card);
  border-color: rgba(0, 210, 255, 0.2);
  box-shadow: var(--shadow-md);
}

.step-card-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--text-muted-light);
  transition: var(--transition-normal);
}

.step-card.active .step-card-icon {
  background: rgba(30, 80, 162, 0.25);
  border: 1px solid rgba(30, 80, 162, 0.5);
  color: var(--accent);
}

.step-card-text h3 {
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
  transition: var(--transition-normal);
}

.step-card.active .step-card-text h3 {
  color: var(--accent);
}

.step-card-text p {
  font-size: 0.95rem;
  color: var(--text-muted-light);
}

.work-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.work-visual-column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.work-visual-column:nth-child(2) {
  margin-top: 2rem;
}

.work-img-card {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
}

.work-visual-column:nth-child(1) .work-img-card {
  transform: rotate(-2deg);
}

.work-visual-column:nth-child(2) .work-img-card {
  transform: rotate(2deg);
}

.work-img-card:hover {
  transform: rotate(0deg) scale(1.02) !important;
}

.work-img-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

/* Testimonials / What People Say */
.testimonials-slider-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  padding: 0 3rem;
}

.testimonials-track {
  overflow: hidden;
  position: relative;
  height: 320px;
}

.testimonial-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: translateX(50px);
  transition: opacity var(--transition-normal), transform var(--transition-normal);
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.testimonial-slide.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.testimonial-quote {
  font-size: 1.6rem;
  font-style: italic;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 2rem;
  color: var(--text-light);
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-align: left;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  background: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--accent);
  font-size: 1.25rem;
}

.user-info h4 {
  font-size: 1.1rem;
  margin-bottom: 0.15rem;
}

.user-info p {
  font-size: 0.85rem;
  color: var(--text-muted-light);
}

.testimonial-stars {
  color: #fbbf24;
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

.slider-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  left: 0;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
}

.slider-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-dark-card);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  cursor: pointer;
  pointer-events: auto;
  transition: var(--transition-normal);
}

.slider-btn:hover {
  background: var(--primary);
  border-color: var(--accent);
  color: var(--text-light);
}

/* Call to Action Banner */
.cta-banner {
  background: linear-gradient(135deg, rgba(30, 80, 162, 0.45) 0%, rgba(8, 15, 30, 0.95) 100%);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.cta-banner-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 210, 255, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.cta-banner h2 {
  font-size: 3rem;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.cta-banner p {
  font-size: 1.15rem;
  color: var(--text-muted-light);
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer styling */
.footer {
  background: #92c5fc9f;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 6rem 0 3rem 0;
  position: relative;
  z-index: 2;
  overflow: hidden; /* Capture footer blobs */
}

/* Grid overlay for footer matching the hero background */
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 1;
  pointer-events: none;
}

.footer > .container {
  position: relative;
  z-index: 2;
}

/* Drifting glowing blobs for the footer matching the hero */
.footer-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.38;
  mix-blend-mode: screen;
  z-index: 0;
  pointer-events: none;
}

.footer-blob-1 {
  top: -20%;
  left: 10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--primary) 0%, rgba(30, 80, 162, 0) 70%);
  animation: drift-blob-1 25s ease-in-out infinite alternate;
}

.footer-blob-2 {
  bottom: -25%;
  right: 10%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, var(--accent) 0%, rgba(0, 210, 255, 0) 70%);
  animation: drift-blob-2 20s ease-in-out infinite alternate;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand p {
  color: var(--text-muted-light);
  font-size: 0.95rem;
  margin-top: 1.25rem;
  margin-bottom: 2rem;
  max-width: 320px;
}

.footer-newsletter {
  margin-bottom: 2.5rem;
}

.footer-newsletter h4 {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.newsletter-form {
  display: flex;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgb(255, 255, 255);
  border-radius: 8px;
  overflow: hidden;
  max-width: 320px;
}

.newsletter-form input {
  flex-grow: 1;
  padding: 0.85rem 1.25rem;
  background: transparent;
  color: #fff;
  border: none;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.newsletter-form button {
  background: var(--primary);
  color: #fff;
  padding: 0 1.25rem;
  cursor: pointer;
  border: none;
  transition: background 0.3s;
}

.newsletter-form button:hover {
  background: var(--accent);
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted-light);
  transition: var(--transition-normal);
}

.social-link:hover {
  background: var(--primary);
  color: var(--text-light);
  border-color: var(--accent);
  transform: translateY(-3px);
}

.footer-col h4 {
  font-size: 1.1rem;
  margin-bottom: 1.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-light);
  font-weight: 500;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-link {
  font-size: 0.95rem;
  color: var(--text-muted-light);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.footer-link::before {
  content: '\f105'; /* FontAwesome angle-right */
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  color: var(--primary);
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.footer-link:hover {
  color: var(--accent);
  transform: translateX(4px);
}

.footer-link:hover::before {
  color: var(--accent);
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-icon-box {
  width: 40px;
  height: 40px;
  background: rgb(255, 255, 255);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-text-box p {
  font-size: 0.95rem;
  color: var(--text-muted-light);
  line-height: 1.6;
}

.contact-text-box a {
  transition: color 0.3s;
}

.contact-text-box a:hover {
  color: #000;
}

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--text-muted-light);
}

.footer-bottom-links {
  display: flex;
  gap: 2rem;
}

.footer-bottom-link {
  font-size: 0.85rem;
  color: var(--text-muted-light);
}

.footer-bottom-link:hover {
  color: var(--accent);
}

/* Insurance Subpage - Interactive Tabs */
.tabs-container {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
}

.tab-btn {
  background: var(--bg-dark-card);
  border: 1px solid var(--glass-border);
  padding: 0.85rem 2rem;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--text-muted-light);
  cursor: pointer;
  transition: var(--transition-normal);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.tab-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-light);
}

.tab-btn.active {
  background: var(--primary);
  color: var(--text-light);
  border-color: var(--accent);
  box-shadow: 0 4px 14px rgba(30, 80, 162, 0.4);
}

.tabs-content-wrapper {
  position: relative;
  min-height: 500px;
}

.tab-panel {
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--transition-normal), transform var(--transition-normal);
}

.tab-panel.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

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

.insurance-detail-img {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.mobile-tab-nav {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  color: var(--primary);
  font-size: 1.25rem;
  z-index: 10;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  backdrop-filter: blur(4px);
  transition: var(--transition-fast);
}

.mobile-tab-nav:active {
  background: var(--primary);
  color: #fff;
}

.mobile-tab-nav.prev-tab {
  left: 1rem;
}

.mobile-tab-nav.next-tab {
  right: 1rem;
}

.insurance-detail-img img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.insurance-detail-info h2 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #ffffff 40%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.insurance-detail-info p {
  color: var(--text-muted-light);
  margin-bottom: 1.75rem;
}

.detail-features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

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

.detail-feature-item i {
  color: var(--accent);
  font-size: 1.1rem;
}

/* Quote Calculator Widget */
.quote-calculator-section {
  background: rgba(13, 22, 39, 0.5);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.calculator-wrapper {
  max-width: 900px;
  margin: 0 auto;
  padding: 3.5rem;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
  align-items: center;
}

.calc-form {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.form-group label {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-light);
}

.form-control {
  background: rgba(5, 10, 18, 0.6);
  border: 1px solid var(--border-light);
  color: var(--text-light);
  padding: 0.9rem 1.25rem;
  border-radius: 8px;
  font-size: 0.95rem;
  transition: var(--transition-normal);
  width: 100%;
}

.form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 10px rgba(0, 210, 255, 0.15);
}

select.form-control {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.25rem center;
  background-size: 1.1rem;
}

.range-slider-container {
  position: relative;
  margin-top: 0.5rem;
}

.range-slider {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  outline: none;
  -webkit-appearance: none;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  box-shadow: 0 0 8px rgba(0, 210, 255, 0.5);
  transition: var(--transition-fast);
}

.range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.slider-val {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted-light);
  margin-top: 0.5rem;
  font-weight: 500;
}

.calc-result-box {
  text-align: center;
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.calc-result-title {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted-light);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.calc-price {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 0.5rem;
  font-family: var(--font-heading);
  text-shadow: 0 0 20px rgba(0, 210, 255, 0.25);
}

.calc-price span {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text-muted-light);
}

.calc-note {
  font-size: 0.8rem;
  color: var(--text-muted-light);
  margin-top: 1.5rem;
  line-height: 1.4;
}

/* About Page Styles */
.about-hero {
  padding: 10rem 0 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.about-approach-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 4rem;
}

.about-philosophy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 4rem;
}

/* Covar Image Reference Card Style */
.covar-image-card {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.03);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.covar-image-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.06);
}
.covar-card-content {
  padding: 2.5rem 2.5rem 1.5rem 2.5rem;
  flex-grow: 1;
}
.covar-icon-circle {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: rgba(30, 80, 162, 0.08);
  border: 1px solid rgba(30, 80, 162, 0.15);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
}
.covar-card-title {
  font-size: 1.5rem;
  color: #111;
  margin-bottom: 1rem;
  font-weight: 700;
}
.covar-card-desc {
  color: #555;
  line-height: 1.6;
  font-size: 0.95rem;
  margin: 0;
}
.covar-card-image {
  padding: 0 2.5rem 2.5rem 2.5rem;
}
.covar-card-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
}

/* Services Page Tier Panels */
.services-grid {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 2rem;
}

.services-grid > *:nth-child(4n + 1),
.services-grid > *:nth-child(4n + 4) {
  grid-column: span 7;
}

.services-grid > *:nth-child(4n + 2),
.services-grid > *:nth-child(4n + 3) {
  grid-column: span 3;
}

.service-card-deep {
  padding: 3rem 2.25rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-icon-large {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 2rem;
  display: inline-block;
}

.service-card-deep h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

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

.service-features {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2.5rem;
}

.service-feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
}

.service-feature-item i {
  color: var(--accent);
}

/* Contact Page Form & Map Layout */
.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 5rem;
  align-items: start;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-detail-card {
  padding: 2rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.contact-detail-icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: rgba(30, 80, 162, 0.15);
  border: 1px solid rgba(30, 80, 162, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--accent);
  flex-shrink: 0;
}

.contact-detail-text h4 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

.contact-detail-text p, .contact-detail-text a {
  color: var(--text-muted-light);
  font-size: 0.95rem;
}

.contact-detail-text a:hover {
  color: var(--accent);
}

.contact-map-mockup {
  border-radius: 16px;
  overflow: hidden;
  height: 300px;
  border: 1px solid var(--glass-border);
  position: relative;
}

#map {
  width: 100%;
  height: 100%;
  background: var(--bg-dark);
}

.leaflet-container {
  font-family: inherit;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.contact-form-card {
  padding: 3.5rem;
}

.contact-form-card h3 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.contact-form-card > p {
  color: var(--text-muted-light);
  margin-bottom: 2.5rem;
  font-size: 0.95rem;
}

.submit-btn-wrapper {
  margin-top: 1rem;
}

.form-success-message {
  display: none;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: #34d399;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  font-weight: 500;
  margin-bottom: 1.5rem;
  text-align: center;
  font-size: 0.95rem;
}

/* Animations and Intersection Observer */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }

/* CSS Keyframes */
@keyframes float-slow {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(30px, -50px) scale(1.05);
  }
  100% {
    transform: translate(-20px, 20px) scale(0.95);
  }
}

/* Hero Quick Quote Bar */
.quick-quote-bar {
  display: flex;
      background: rgb(255 255 255 / 8%);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  padding: 0.65rem 0.65rem 0.65rem 1.25rem;
  border-radius: 12px;
  max-width: 580px;
  gap: 1rem;
  align-items: center;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 10;
}

.quick-quote-group {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.quick-quote-group:not(:last-child) {
  border-right: 1px solid var(--border-light);
  padding-right: 1rem;
}

.quick-quote-label {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  margin-bottom: 0.15rem;
}

.quick-quote-select {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-light);
  background: transparent;
  border: none;
  cursor: pointer;
  outline: none;
  width: 100%;
}

.quick-quote-select option {
  background: var(--bg-dark);
  color: var(--text-light);
}

/* Services Header & Slider Styles (Covar Style) */
.services-header-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
  align-items: center;
}

.services-header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.service-covar-card {
  position: relative;
  height: 400px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.service-covar-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  z-index: 1;
}

.service-covar-card:hover .service-covar-bg {
  transform: scale(1.08);
}

.service-covar-box {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 1.5rem;
  border-radius: 8px;
  z-index: 2;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

.service-covar-box h3 {
  font-size: 1.25rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  font-family: var(--font-heading);
}

.service-covar-box p {
  font-size: 0.9rem;
  color: var(--text-muted-dark);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.service-covar-link-wrap {
  margin-top: auto;
}

.service-covar-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--primary);
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.3s;
}

.service-covar-link:hover {
  color: var(--accent-blue);
}

.service-covar-link svg {
  transition: transform 0.3s;
}

.service-covar-link:hover svg {
  transform: translateX(4px);
}

/* Swiper Pagination */
.swiper-pagination-bullet-active {
  background: var(--primary) !important;
}
.services-slider {
  padding-bottom: 3rem !important; /* space for pagination */
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 5rem;
    text-align: center;
  }
  
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-ctas {
    justify-content: center;
  }
  
  .hero-stats {
    justify-content: center;
  }
  
  .hero-card-container {
    max-width: 400px;
    margin: 0 auto;
  }

  .quick-quote-bar {
    margin-left: auto;
    margin-right: auto;
  }
  
  .services-header-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }
  .services-header-right {
    align-items: center;
  }
  .services-header-right p {
    text-align: center;
  }

  .bento-item-wide .card-content {
    width: 100% !important;
  }
  
  .insurance-grid, .services-grid, .about-philosophy-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .services-grid > * {
    grid-column: span 1 !important;
  }
  
  .insurance-detail-layout,
  .about-approach-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .benefits-layout, .work-grid, .calc-grid, .contact-layout {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  
  .benefits-img-card img {
    height: 380px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 5rem 0;
  }
  
  .section-title {
    font-size: 2.25rem;
  }
  
  .hero-title {
    font-size: 2.25rem;
    margin-bottom: 1rem;
  }
  
  .hero-desc {
    font-size: 0.95rem !important;
    line-height: 1.5;
    margin-bottom: 1.5rem !important;
  }
  
  .hero-video-content {
    align-items: flex-end;
    padding-top: 8rem;
    padding-bottom: 3rem;
  }
  
  .quick-quote-bar {
    padding: 1.25rem;
  }
  
  .hamburger {
    display: flex;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg-darker);
    flex-direction: column;
    padding: 8rem 2.5rem;
    gap: 2rem;
    align-items: flex-start;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-lg);
    border-left: 1px solid var(--border-light);
    z-index: 105;
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .nav-item {
    font-size: 1.15rem;
  }
  
  .hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .quick-quote-bar {
    flex-direction: column;
    padding: 1.25rem;
    gap: 1.25rem;
  }

  .quick-quote-group {
    width: 100%;
    padding: 0;
  }

  .quick-quote-group:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid var(--border-light);
    padding-right: 0;
    padding-bottom: 0.75rem;
  }
  
  .services-header-grid {
    gap: 1rem;
  }
  
  .insurance-grid, .services-grid, .about-philosophy-grid {
    grid-template-columns: 1fr;
  }
  
  .services-grid > * {
    grid-column: span 1 !important;
  }
  
  .detail-features-list {
    grid-template-columns: 1fr;
  }
  
  .calc-grid {
    padding: 0;
  }
  
  .calculator-wrapper {
    padding: 2rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .contact-form-card {
    padding: 2rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .footer-brand, .footer-col {
    text-align: center;
  }
  
  .footer-brand p, .logo-img-footer {
    margin-left: auto;
    margin-right: auto;
  }
  
  .newsletter-form {
    margin-left: auto;
    margin-right: auto;
  }
  
  .footer-links {
    align-items: center;
  }
  
  .footer-socials {
    justify-content: center;
  }
  
  .footer-contact-item {
    justify-content: center;
    text-align: center;
    flex-direction: column;
    align-items: center;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-bottom-links {
    justify-content: center;
  }
}

/* Ambient Background Wrapper (Premium Aurora & Grid) */
.ambient-bg-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  background-color: var(--bg-deep);
  overflow: hidden;
}

/* Subtle tech grid overlay for dark sections */
.ambient-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 1;
}

/* Glowing Aurora Blobs */
.ambient-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.35;
  mix-blend-mode: screen;
  z-index: 0;
  pointer-events: none;
}

.ambient-blob-1 {
  top: -10%;
  left: 20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--primary) 0%, rgba(30, 80, 162, 0) 70%);
  animation: drift-blob-1 25s ease-in-out infinite alternate;
}

.ambient-blob-2 {
  bottom: 10%;
  right: 10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #0c4a6e 0%, rgba(12, 74, 110, 0) 70%);
  animation: drift-blob-2 30s ease-in-out infinite alternate;
}

.ambient-blob-3 {
  top: 30%;
  left: -10%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, var(--accent) 0%, rgba(0, 210, 255, 0) 70%);
  animation: drift-blob-3 20s ease-in-out infinite alternate;
}

/* Floating animation keyframes for blobs */
@keyframes drift-blob-1 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(120px, 80px) scale(1.25); }
}

@keyframes drift-blob-2 {
  0% { transform: translate(0, 0) scale(1.1); }
  100% { transform: translate(-100px, -120px) scale(0.85); }
}

@keyframes drift-blob-3 {
  0% { transform: translate(0, 0) scale(0.9); }
  100% { transform: translate(80px, -60px) scale(1.2); }
}

@keyframes mesh-gradient-anim {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Light Theme Sections (Aesthetic from the second image) */
.section-light {
  background: linear-gradient(120deg, #fdfbfb 0%, #ebedee 30%, #f0f4f8 60%, #e6f0fa 100%);
  background-size: 300% 300%;
  animation: mesh-gradient-anim 20s ease infinite;
  color: var(--text-dark);
  position: relative;
  overflow: hidden; /* Capture the massive floating blobs */
}

/* Faint elegant dotted grid for light section */
.section-light::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(30, 80, 162, 0.12) 2px, transparent 2px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 1;
}

.section-light > section, .section-light > div:not(.light-blob) {
  position: relative;
  z-index: 2;
}

/* Ambient Lights for Light Section */
.light-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(130px);
  opacity: 0.85;
  pointer-events: none;
  z-index: 0;
}

.light-blob-1 {
  top: 5%;
  left: 5%;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(0, 210, 255, 0.22) 0%, rgba(0, 210, 255, 0) 70%);
  animation: drift-blob-1 30s ease-in-out infinite alternate;
}

.light-blob-2 {
  top: 38%;
  right: -5%;
  width: 750px;
  height: 750px;
  background: radial-gradient(circle, rgba(30, 80, 162, 0.16) 0%, rgba(30, 80, 162, 0) 70%);
  animation: drift-blob-2 35s ease-in-out infinite alternate;
}

.light-blob-3 {
  bottom: 12%;
  left: 10%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.18) 0%, rgba(59, 130, 246, 0) 70%);
  animation: drift-blob-3 25s ease-in-out infinite alternate;
}


.section-light h1, .section-light h2, .section-light h3, .section-light h4 {
  color: var(--text-dark);
}

.section-light .section-title span {
  background: linear-gradient(186deg, #92C5FC 20%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-light .section-desc {
  color: var(--text-muted-dark);
}

.section-light .section-tag {
  background: rgba(30, 80, 162, 0.06);
  border: 1px solid rgba(30, 80, 162, 0.15);
  color: var(--primary);
}

/* Glass Cards for Light Section */
.section-light .glass-card {
  background: #ffffff;
  border: 1.5px solid rgba(30, 80, 162, 0.16); /* Thick, defined corporate slate blue border */
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.06);
}

.section-light .glass-card:hover {
  border-color: var(--accent-blue);
  box-shadow: 0 20px 40px -15px rgba(30, 80, 162, 0.15), 0 0 25px rgba(0, 210, 255, 0.08);
  transform: translateY(-5px);
}

.section-light .card-title {
  color: var(--text-dark);
}

.section-light .card-desc {
  color: var(--text-muted-dark);
}

/* Benefit Items for Light Section */
.section-light .benefit-number {
  background: rgba(30, 80, 162, 0.05);
  border-color: rgba(30, 80, 162, 0.15);
  color: var(--primary);
}

.section-light .benefit-info h3 {
  color: var(--text-dark);
}

.section-light .benefit-info p {
  color: var(--text-muted-dark);
}

/* Step Cards for Light Section */
.section-light .step-card {
      background: rgb(255 255 255);
  border-color: rgba(15, 23, 42, 0.04);
}

.section-light .step-card.active {
  background: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 10px 30px -5px rgba(30, 80, 162, 0.1);
}

.section-light .step-card-icon {
  background: rgba(15, 23, 42, 0.03);
  color: var(--text-muted-dark);
}

.section-light .step-card.active .step-card-icon {
  background: rgba(30, 80, 162, 0.08);
  color: var(--primary);
}

.section-light .step-card.active .step-card-text h3 {
  color: var(--primary);
  
}

/* Testimonial Elements for Light Section */
.section-light .testimonial-quote {
  color: var(--text-dark);
}

.section-light .user-info h4 {
  color: var(--text-dark);
}

.section-light .user-info p {
  color: var(--text-muted-dark);
}

.section-light .testimonial-avatar {
  background: rgba(30, 80, 162, 0.06);
  color: var(--primary);
  border-color: var(--primary);
}

.section-light .slider-btn {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.08);
  color: var(--text-dark);
}

.section-light .slider-btn:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

/* CTA Banner Redesign */
.cta-banner-redesign {
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
  text-align: left;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 4rem;
  align-items: center;
  position: relative;
}

.cta-info-side {
  position: relative;
  z-index: 2;
}

.cta-banner-redesign h2 {
  font-size: 2.75rem;
  text-align: left;
  margin-bottom: 1rem;
  line-height: 1.2;
  color: var(--text-dark);
}

.cta-banner-redesign p {
  text-align: left;
  margin: 0 0 2rem 0;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-muted-dark);
}

.cta-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.cta-checkmarks {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.5rem;
  list-style: none;
  padding: 0;
}

.cta-checkmarks li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
}

.cta-checkmarks li i {
  color: var(--primary);
  background: rgba(30, 80, 162, 0.08);
  padding: 0.35rem;
  border-radius: 50%;
  font-size: 0.75rem;
}

.cta-action-box {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  position: relative;
  z-index: 2;
}

.cta-form {
  display: flex;
  background: #ffffff;
  border: 1.5px solid rgba(30, 80, 162, 0.2);
  padding: 0.4rem;
  border-radius: 10px;
  width: 100%;
  box-shadow: 0 4px 20px -5px rgba(30, 80, 162, 0.08);
  transition: var(--transition-normal);
}

.cta-form:focus-within {
  border-color: var(--primary);
  box-shadow: 0 10px 30px -10px rgba(30, 80, 162, 0.15);
}

.cta-form-input {
  flex: 1;
  padding: 0.75rem 1rem;
  color: var(--text-dark);
  font-size: 0.95rem;
  background: transparent;
  border: none;
  outline: none;
  min-width: 0;
}

.cta-form-input::placeholder {
  color: rgba(15, 23, 42, 0.4);
}

.cta-form-btn {
  background: #1b8cc2;
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition-normal);
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.cta-form-btn:hover {
  background: #2c5ba8;
  box-shadow: 0 0 15px rgba(44, 91, 168, 0.35);
  transform: translateY(-1px);
}

.cta-alt-text {
  font-size: 0.85rem;
  color: var(--text-muted-dark);
  text-align: center;
  margin-top: 0.5rem;
}

.cta-alt-text a {
  color: var(--primary);
  font-weight: 600;
  transition: var(--transition-fast);
}

.cta-alt-text a:hover {
  color: var(--primary-light);
}

/* Responsive CTA */
@media (max-width: 1024px) {
  .cta-banner-redesign {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 4rem 3rem;
    text-align: center;
  }
  .cta-banner-redesign h2, .cta-banner-redesign p {
    text-align: center;
  }
  .cta-checkmarks {
    justify-content: center;
  }
  .cta-form {
    max-width: 450px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .cta-banner-redesign {
    padding: 3rem 2rem;
  }
  .cta-banner-redesign h2 {
    font-size: 2.15rem;
  }
  .cta-checkmarks {
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
  }
  .cta-form {
    flex-direction: column;
    background: transparent;
    border: none;
    padding: 0;
    gap: 0.75rem;
  }
  .cta-form-input {
    background: rgba(8, 15, 30, 0.6);
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    width: 100%;
  }
  .cta-form-btn {
    width: 100%;
    justify-content: center;
  }
}

/* Waves and Dividers styling */
.svg-wave-divider {
  position: absolute;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.svg-wave-top {
  top: 0;
  transform: rotate(180deg);
}

.svg-wave-bottom {
  bottom: 0;
}

.svg-wave-divider svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 50px;
}

.svg-wave-divider .shape-fill-white {
  fill: #ffffff;
}

.svg-wave-divider .shape-fill-dark {
  fill: var(--bg-deep);
}

/* Full-Screen Overlay Menu */
.fullscreen-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(146, 197, 252, 0.88); /* Dark glass base */
  backdrop-filter: blur(24px) saturate(1.8);
  -webkit-backdrop-filter: blur(24px) saturate(1.8);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.fullscreen-menu.active {
  opacity: 1;
  visibility: visible;
}

/* Glowing background elements for fullscreen menu */
.menu-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(160px);
  opacity: 0.25;
  pointer-events: none;
  z-index: 0;
}

.menu-glow-1 {
  top: 10%;
  left: 15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--primary) 0%, rgba(30, 80, 162, 0) 70%);
  animation: float-slow 15s infinite alternate ease-in-out;
}

.menu-glow-2 {
  bottom: 10%;
  right: 15%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, var(--accent) 0%, rgba(0, 210, 255, 0) 70%);
  animation: float-slow 20s infinite alternate ease-in-out;
}

.fullscreen-menu-content {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3.5rem;
  max-width: 600px;
  width: 100%;
  padding: 2rem;
}

.fullscreen-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  width: 100%;
}

.fullscreen-nav-item {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  letter-spacing: -0.02em;
  padding: 0.25rem 1.5rem;
}

/* Glass hover effect with glow behind the text */
.fullscreen-nav-item::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 140%;
  height: 140%;
  transform: translate(-50%, -50%) scale(0.8);
  background: radial-gradient(circle, rgba(0, 210, 255, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(16px);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.fullscreen-nav-item:hover {
  color: #ffffff;
  transform: scale(1.08);
}

.fullscreen-nav-item:hover::before {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.1);
}

.fullscreen-nav-item.active {
  color: #FFF;
}

.fullscreen-quote-btn {
  margin-top: 1.5rem;
  font-size: 1.2rem;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  box-shadow: 0 10px 30px rgba(0, 210, 255, 0.25);
  transition: var(--transition-normal);
}

.fullscreen-quote-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 15px 35px rgba(0, 210, 255, 0.4);
}

.fullscreen-menu-footer {
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  width: 100%;
}

.fullscreen-menu-footer p:first-child {
  font-family: var(--font-heading);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.25rem;
  font-size: 1.05rem;
}

.fullscreen-menu-footer p:nth-child(2) {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #FFF;
  margin-bottom: 1rem;
}

.fullscreen-menu-footer p:last-child {
  font-size: 0.9rem;
  color: #000;
}

/* Hamburger animations when active (transforming to X) */
.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
  background-color: var(--text-light);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
  background-color: var(--text-light);
}

body.no-scroll {
  overflow: hidden !important;
}

/* Swiper Services Navigation Custom Styling */
.services-prev, .services-next {
  width: 40px !important;
  height: 40px !important;
  background: #ffffff !important;
  color: var(--primary) !important;
  border-radius: 50% !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05) !important;
  border: 1px solid rgba(0, 0, 0, 0.05) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.3s ease !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 10 !important;
}

.services-prev:after, .services-next:after {
  font-size: 14px !important; /* Smaller arrow size */
  font-weight: 900 !important;
}

.services-prev:hover, .services-next:hover {
  background: var(--primary) !important;
  color: #ffffff !important;
  box-shadow: 0 8px 25px rgba(30, 80, 162, 0.25) !important;
  border-color: var(--primary) !important;
}

.services-prev {
  left: -50px !important;
}

.services-next {
  right: -50px !important;
}

@media (max-width: 1280px) {
  .services-prev {
    left: -20px !important;
  }
  .services-next {
    right: -20px !important;
  }
}

@media (max-width: 991px) {
  .services-prev, .services-next {
    display: none !important; /* Hide navigation arrows on tablet/mobile where swipe is default */
  }
}

/* Contact Top Bar (Floating block style from Covar) */
.contact-top-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
  padding: 2.5rem 1rem;
  align-items: center;
}
.contact-top-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 0 2rem;
  position: relative;
}
.contact-top-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: rgba(0, 0, 0, 0.08);
}
.contact-top-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(30, 80, 162, 0.08);
  border: 1px solid rgba(30, 80, 162, 0.15);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.contact-top-info {
  display: flex;
  flex-direction: column;
}
.contact-top-label {
  font-size: 0.85rem;
  color: var(--text-muted-dark);
  font-weight: 500;
}
.contact-top-value {
  font-size: 1.1rem;
  color: var(--text-dark);
  font-weight: 700;
  margin-top: 2px;
}
.contact-top-value a {
  color: inherit;
}
.contact-top-value a:hover {
  color: var(--primary);
}

@media (max-width: 991px) {
  .contact-top-bar {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 1.5rem;
  }
  .contact-top-item {
    padding: 0;
  }
  .contact-top-item:not(:last-child)::after {
    display: none;
  }
}

/* Insurance Page Light Theme Overrides */
.insurance-page .section:not(.about-hero) {
  color: var(--text-dark);
}

.insurance-page .section-header .section-title {
  color: #050a12;
}

.insurance-page .section-header .section-title span {
  color: var(--primary);
}

.insurance-page .section-header .section-tag {
  background: rgba(30, 80, 162, 0.05);
  color: var(--primary);
  border: 1px solid rgba(30, 80, 162, 0.15);
}

/* Tabs Navigation */
.insurance-page .tab-btn {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: var(--text-muted-dark);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.insurance-page .tab-btn:hover {
  background: rgba(30, 80, 162, 0.03);
  color: var(--primary);
  border-color: rgba(30, 80, 162, 0.15);
}

.insurance-page .tab-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 6px 15px rgba(30, 80, 162, 0.2);
}

/* Tab Panels */
.insurance-page .insurance-detail-img {
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.insurance-page .insurance-detail-info h2 {
  background: linear-gradient(135deg, var(--primary) 30%, #1b8cc2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.insurance-page .insurance-detail-info p {
  color: var(--text-muted-dark);
}

.insurance-page .detail-feature-item {
  color: var(--text-dark);
}

.insurance-page .detail-feature-item i {
  color: #1b8cc2;
}

/* FAQ Accordion Styling (Covar Brand Style adapted to MDIEE) */
.faq-accordion .faq-card {
  background: var(--bg-light-sec); /* Light blue/gray base */
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.02);
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  overflow: hidden;
}

.faq-accordion .faq-card-header {
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
  gap: 1.5rem;
}

.faq-accordion .faq-card-header h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: #050a12;
  margin: 0;
  transition: color 0.3s ease;
  font-family: var(--font-heading);
}

.faq-accordion .faq-card:hover .faq-card-header h3 {
  color: var(--primary);
}

.faq-accordion .faq-toggle-icon {
  font-size: 1.35rem;
  font-weight: 700;
  color: #050a12;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Active State: Dark Navy background, white text */
.faq-accordion .faq-card.active {
  background: #081225; /* Dark navy background */
  border-color: rgba(255, 255, 255, 0.05);
  box-shadow: 0 10px 30px rgba(8, 18, 37, 0.15);
}

.faq-accordion .faq-card.active .faq-card-header h3 {
  color: #ffffff;
}

.faq-accordion .faq-card.active .faq-toggle-icon {
  color: #ffffff;
}

.faq-accordion .faq-card-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.25, 1, 0.5, 1), padding 0.4s ease;
  padding: 0 2rem;
}

.faq-accordion .faq-card.active .faq-card-body {
  max-height: 250px; /* High enough to contain the paragraph */
  padding-bottom: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
}

.faq-accordion .faq-card-body p {
  color: rgba(255, 255, 255, 0.8); /* Lighter text for dark background */
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* FAQ Section Split Grid Layout */
.faq-split-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.8fr;
  gap: 4rem;
  align-items: start;
}

@media (max-width: 991px) {
  .faq-split-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .nav-wrapper {
    justify-content: center;
    position: relative;
  }
  
  .hamburger {
    position: absolute;
    right: 1.5rem;
  }
  
  .fullscreen-nav-item {
    font-size: 2.0rem;
    font-weight: 600;
    padding: 0.25rem 1rem;
  }
  
  .fullscreen-menu-content {
    gap: 2rem;
    margin-top: 5rem;
  }
  
  .tabs-container {
    display: none !important;
  }
  
  .mobile-tab-nav {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .testimonial-nav-box {
    position: relative;
    bottom: auto;
    right: auto;
    justify-content: flex-end;
    margin-top: 1.5rem;
    padding-bottom: 0.5rem;
  }
}



/* =========================================
   PRELOADER STYLES
   ========================================= */
.mdiee-preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  pointer-events: auto;
}

.preloader-curtain {
  position: absolute;
  width: 100%;
  height: 50vh;
  background-color: #ffffff;
  z-index: 1;
  transition: transform 0.9s cubic-bezier(0.77, 0, 0.175, 1);
}

.preloader-curtain-top {
  top: 0;
  transform-origin: top;
}

.preloader-curtain-bottom {
  bottom: 0;
  transform-origin: bottom;
}

.mdiee-preloader.loaded .preloader-curtain-top {
  transform: translateY(-100%);
}

.mdiee-preloader.loaded .preloader-curtain-bottom {
  transform: translateY(100%);
}

.mdiee-preloader.loaded {
  pointer-events: none;
}

.preloader-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: opacity 0.5s ease, transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

.mdiee-preloader.loaded .preloader-content {
  opacity: 0;
  transform: scale(1.1);
}

.mdiee-preloader-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(146, 197, 252, 0.40) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 0;
  filter: blur(35px);
  top: 50%;
  left: 50%;
}

.preloader-logo-wrapper {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border-radius: 4px;
}

.mdiee-preloader-logo {
  display: block;
  max-width: 220px;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.05));
}

.preloader-sweep {
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.5), transparent);
  transform: skewX(-20deg);
  animation: sweep 2s infinite;
  z-index: 3;
}

@keyframes sweep {
  0% { left: -100%; }
  50% { left: 200%; }
  100% { left: 200%; }
}

.preloader-progress {
  font-family: var(--font-heading), sans-serif;
  font-size: 1.15rem;
  color: #1E50A2;
  font-weight: 700;
  letter-spacing: 4px;
  margin-top: 2.5rem;
  z-index: 2;
  text-shadow: none;
}

/* Contact Form Text Visibility Fix */
.contact-form-card .form-control {
  color: var(--text-dark) !important;
}
.contact-form-card .form-control::placeholder {
  color: rgba(15, 23, 42, 0.5) !important;
}

/* Stats Counter Section */
.stats-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 2.5rem 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.stats-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  padding: 0 1rem;
}

.stats-number {
  font-family: var(--font-heading), sans-serif;
  font-size: 2.75rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary-dark) 20%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.stats-label {
  font-family: var(--font-body), sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted-dark);
  text-transform: capitalize;
  letter-spacing: -0.01em;
}

.stats-divider {
  width: 1px;
  height: 50px;
  background: rgba(15, 23, 42, 0.1);
}

@media (max-width: 991px) {
  .stats-divider {
    height: 40px;
  }
  .stats-number {
    font-size: 2.25rem;
  }
  .stats-label {
    font-size: 0.8rem;
  }
}

@media (max-width: 768px) {
  .stats-box {
    flex-direction: column;
    gap: 2rem;
    padding: 2rem 0;
  }
  .stats-divider {
    display: none;
  }
}

/* Hero CTA Buttons */
.hero-buttons {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.hero-buttons .btn-accent {
  background: #00D2FF !important;
  border-color: #00D2FF !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(0, 210, 255, 0.3) !important;
}

.hero-buttons .btn-accent:hover {
  background: #0056b3 !important; /* Clear hover blue */
  border-color: #0056b3 !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 86, 179, 0.4) !important;
}

.hero-buttons .btn-outline-dark {
  background: transparent !important;
  border: 2px solid #ffffff !important;
  color: #ffffff !important;
  transition: all 0.3s ease !important;
}

.hero-buttons .btn-outline-dark:hover {
  background: #ffffff !important;
  color: #050a12 !important; /* White background hover */
  border-color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2) !important;
}

/* Bottom CTA Buttons */
.bottom-cta-buttons {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.bottom-cta-buttons .btn {
  width: 280px !important;
  max-width: 90vw !important;
  justify-content: center !important;
  text-align: center !important;
  box-sizing: border-box !important;
}

.bottom-cta-buttons .btn-accent {
  background: #ffffff !important;
  border-color: #ffffff !important;
  color: #050a12 !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08) !important;
}

.bottom-cta-buttons .btn-accent:hover {
  background: #0056b3 !important;
  border-color: #0056b3 !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 86, 179, 0.4) !important;
}

.bottom-cta-buttons .btn-outline-dark {
  background: transparent !important;
  border: 2px solid #0F172A !important;
  color: #0F172A !important;
  transition: all 0.3s ease !important;
}

.bottom-cta-buttons .btn-outline-dark:hover {
  background: #ffffff !important;
  color: #0F172A !important;
  border-color: #0F172A !important;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.1) !important;
  transform: translateY(-2px);
}

/* Hero buttons: left-aligned on mobile */
@media (max-width: 767px) {
  .hero-buttons {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.75rem !important;
  }
}

/* Bottom CTA buttons: centered and equal size on mobile */
@media (max-width: 767px) {
  .bottom-cta-buttons {
    flex-direction: column !important;
    align-items: center !important;
    gap: 0.75rem !important;
  }
}

.btn-phone {
  background: var(--primary) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(30, 80, 162, 0.3) !important;
}

.btn-phone:hover {
  background: var(--primary-light) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4) !important;
}

.btn-outline-white {
  background: transparent !important;
  border: 2px solid #0F172A!important;
  color: #0F172A !important;
}

.btn-outline-white:hover {
  background: #0F172A!important;
  color: #fff!important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.25) !important;
}

/* Benefit Icon Styling */
.benefit-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #92C5FC;
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.benefit-item:hover .benefit-icon {
  transform: translateY(-5px) scale(1.1);
  background: var(--accent);
  color: #0f172a;
  box-shadow: 0 12px 24px rgba(30, 80, 162, 0.25);
}

/* Why MDIEE 3-Column Responsive Grid */
.why-mdiee-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3rem 4rem;
  margin-top: 3rem;
  align-items: center;
}

@media (max-width: 1024px) {
  .why-mdiee-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
  .why-mdiee-grid .benefits-visual {
    grid-column: span 2;
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .why-mdiee-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .why-mdiee-grid .benefits-visual {
    grid-column: span 1;
  }
}

/* Newsletter & New CTA Banner Styling */
.footer-newsletter button:hover {
  background: #ffffff !important;
  color: var(--primary) !important;
  box-shadow: 0 4px 12px rgba(255,255,255,0.15);
}

@media (max-width: 991px) {
  .cta-banner-new {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }
  .cta-banner-new div {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
  }
}

/* Force footer titles to be white */
.footer h4, 
.footer-col h4 {
  color: #ffffff !important;
}

/* ================================
   SERVICE DETAIL SECTIONS
   Two-column alternating layout
   ================================ */

.service-detail-section {
  padding: 5rem 0;
  position: relative;
}

.service-detail-section:nth-child(odd) {
  background: var(--bg-deep);
}

.service-detail-section:nth-child(even) {
  background: rgba(8, 15, 30, 0.6);
}

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

/* Reverse layout on even sections */
.service-detail-section:nth-child(even) .service-detail-row {
  direction: rtl;
}

.service-detail-section:nth-child(even) .service-detail-row > * {
  direction: ltr;
}

/* Image side */
.service-detail-img-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.service-detail-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.service-detail-img-wrap img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.service-detail-img-wrap:hover img {
  transform: scale(1.03);
}

/* Content side */
.service-detail-content {
  padding: 1rem 0;
}

.service-detail-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(0, 210, 255, 0.08);
  border: 1px solid rgba(0, 210, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.service-detail-content h2 {
  font-size: 2.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.service-detail-content h2 span {
  background: linear-gradient(186deg, #92C5FC 20%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.service-detail-content > p {
  color: var(--text-muted-light);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 520px;
}

/* Feature checklist */
.service-feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  display: grid;
  gap: 0.85rem;
}

.service-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
}

.service-feature-list li .feature-check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.service-feature-list li .feature-check i {
  font-size: 0.6rem;
  color: #10b981;
}

.service-feature-list li strong {
  color: #0F172A;
  font-weight: 600;
}

.service-feature-list li .feature-desc {
  color: var(--text-muted-light);
  font-size: 0.88rem;
}

/* Section divider line */
.service-detail-section + .service-detail-section {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

/* Responsive */
@media (max-width: 768px) {
  .service-detail-row {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .service-detail-section:nth-child(even) .service-detail-row {
    direction: ltr;
  }

  .service-detail-img-wrap img {
    height: 260px;
  }

  .service-detail-content h2 {
    font-size: 1.75rem;
  }

  .service-detail-section {
    padding: 3rem 0;
  }

  .light-theme-services .service-detail-content .btn {
    display: flex !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: max-content !important;
    position: relative !important;
    left: -24px !important;
  }
}




/* LIGHT THEME FOR SERVICES PAGE (#92C5FC and White/Transparent) */
body.light-theme-services {
  background: #ffffff !important;
  color: var(--text-dark);
}


}
.light-theme-services .about-hero > div:first-child {
  background: linear-gradient(0deg, rgba(146, 197, 252, 1) 0%, rgba(146, 197, 252, 0) 100%) !important;
}
.light-theme-services .about-hero .section-title {
  color: #ffffff !important;
}
.light-theme-services .about-hero .section-desc {
  color: #ffffff !important;
}
.light-theme-services .about-hero .section-tag {
  background: rgba(30, 80, 162, 0.15) !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.light-theme-services .about-hero .section-tag i {
  color: #ffffff !important;
}

.light-theme-services #services-details {
  background: #ffffff;
  position: relative;
}

.light-theme-services .service-detail-section {
  background: transparent !important;
  position: relative;
  z-index: 2;
  border-top: none !important;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.light-theme-services .service-detail-section:nth-child(even) {
  background: rgba(146, 197, 252, 0.05) !important;
}

.light-theme-services .service-detail-content h2 {
  color: var(--text-dark) !important;
}
.light-theme-services .service-detail-content > p {
  color: var(--text-muted-dark) !important;
}

.light-theme-services .service-detail-icon {
  background: rgba(146, 197, 252, 0.15) !important;
  color: #92C5FC !important;
}

.light-theme-services .service-features li i {
  color: #92C5FC !important;
  background: rgba(146, 197, 252, 0.15) !important;
}

.light-theme-services .service-features li strong {
  color: var(--text-dark) !important;
}
.light-theme-services .service-features li .feature-desc {
  color: var(--text-muted-dark) !important;
}

.light-theme-services .service-cta-box {
  background: #ffffff !important;
  border: 1px solid rgba(146, 197, 252, 0.3) !important;
  box-shadow: 0 10px 30px rgba(146, 197, 252, 0.1) !important;
}
.light-theme-services .service-cta-box h3 {
  color: var(--text-dark) !important;
}
.light-theme-services .service-cta-box p {
  color: var(--text-muted-dark) !important;
}
.light-theme-services .service-cta-box .btn-accent {
  background: #01D2FF !important;
  color: #ffffff !important;
}
.light-theme-services .service-cta-box .btn-accent .btn-icon-circle {
  background: #01D2FF !important;
  color: #ffffff !important;
}

/* DOT GRID BACKGROUND FOR THE ENTIRE SERVICES WRAPPER */
.light-theme-services-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image: radial-gradient(rgba(146, 197, 252, 0.25) 2px, transparent 2px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 1;
}


/* HEADER BUTTON EXCEPTION FOR SERVICES PAGE */
.light-theme-services .header .btn-accent {
  background: #ffffff !important;
  color: var(--text-dark) !important;
  border-color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(0,0,0,0.05) !important;
}

.light-theme-services .header .btn-accent:hover {
  background: #1b8cc2 !important;
  color: #ffffff !important;
  border-color: #1b8cc2 !important;
}

.light-theme-services .header .btn-accent .btn-icon-circle {
  background: rgb(255, 255, 255) !important;
}

.light-theme-services .header .btn-accent:hover .btn-icon-circle {
  background: rgb(255, 255, 255) !important;
}

.light-theme-services .header .btn-accent .btn-icon-circle svg {
  fill: var(--text-dark) !important;
}

.light-theme-services .header .btn-accent:hover .btn-icon-circle svg {
  fill: var(--text-dark) !important;
}

/* FOOTER FIX FOR LIGHT THEME */
.footer {
  color: var(--text-light) !important;
}
.footer h3,
.footer h4 {
  color: #ffffff !important;
}
.footer p {
  color: rgba(255, 255, 255, 0.7) !important;
}
.footer-link {
  color: rgba(255, 255, 255, 0.7) !important;
}
.footer-link:hover {
  color: #000 !important;
}
.footer-contact-item {
  color: rgba(255, 255, 255, 0.7) !important;
}
.footer-contact-item i {
  color: #92C5FC !important;
}
.social-link {
  background: rgba(255, 255, 255, 0.05) !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}
.social-link:hover {
  background: #92C5FC !important;
  color: #ffffff !important;
  border-color: #92C5FC !important;
}
.footer-bottom {
  border-top-color: rgba(255, 255, 255, 0.1) !important;
  color: rgba(255, 255, 255, 0.5) !important;
}
.footer-bottom a {
  color: rgba(255, 255, 255, 0.5) !important;
}
.footer-bottom a:hover {
  color: #92C5FC !important;
}

/* Newsletter inside Light Theme Footer */
.footer .newsletter-form input {
  background: rgba(0, 0, 0, 0.3) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
}
.footer .newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.4) !important;
}
.footer .newsletter-form button {
  background: #92C5FC !important;
  color: #ffffff !important;
}
.footer .newsletter-form button:hover {
  background: #7ca8d8 !important;
}

/* FINAL FOOTER REDESIGN FOR LIGHT THEME (Light Blue Gradient & Deep Text) */
.footer {
  background: linear-gradient(135deg, #cbe5ff 0%, #a3d4ff 100%) !important;
  color: var(--text-dark) !important;
  border-top: 1px solid rgba(0,0,0,0.05) !important;
}
.footer-blob {
  display: none !important; /* Hide glowing blobs in light footer */
}
.footer h3,
.footer h4 {
  color: var(--bg-deep) !important;
  font-weight: 700 !important;
}
.footer p,
.footer .feature-desc {
  color: rgba(5, 10, 18, 0.75) !important;
}
.footer-link {
  color: rgba(5, 10, 18, 0.75) !important;
}
.footer-link:hover {
  color: #1b8cc2 !important;
}
.footer-contact-item {
  color: rgba(5, 10, 18, 0.75) !important;
}
.footer-contact-item i {
  color: var(--bg-deep) !important;
  background: rgba(255,255,255,0.4) !important;
}
.social-link {
  background: rgba(255, 255, 255, 0.5) !important;
  color: var(--bg-deep) !important;
  border-color: rgba(5, 10, 18, 0.1) !important;
}
.social-link:hover {
  background: var(--bg-deep) !important;
  color: #ffffff !important;
  border-color: var(--bg-deep) !important;
}
.footer-bottom {
  border-top-color: rgba(5, 10, 18, 0.1) !important;
  color: rgba(5, 10, 18, 0.6) !important;
}
.footer-bottom a {
  color: rgba(5, 10, 18, 0.6) !important;
}
.footer-bottom a:hover {
  color: var(--bg-deep) !important;
}

/* Newsletter inside Light Theme Footer */
.footer .newsletter-form input {
  background: rgba(255, 255, 255, 0.6) !important;
  border: 1px solid rgba(5, 10, 18, 0.15) !important;
  color: var(--text-dark) !important;
}
.footer .newsletter-form input::placeholder {
  color: rgba(5, 10, 18, 0.4) !important;
}
.footer .newsletter-form button {
  background: var(--bg-deep) !important;
  color: #ffffff !important;
}
.footer .newsletter-form button:hover {
  background: #1b8cc2 !important;
}

/* FIX: SOLID WHITE BACKGROUND FOR ICONS IN LIGHT FOOTER */
.footer-contact-item i {
  background: #ffffff !important;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05) !important;
}
.social-link {
  background: #ffffff !important;
  border-color: #ffffff !important;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05) !important;
}

/* CENTER COPYRIGHT */
.footer-bottom {
  justify-content: center !important;
  text-align: center !important;
}





/* INCREASE MOBILE LOGO SIZE */
@media (max-width: 768px) {
  .logo-img {
    height: 54px !important;
  }
}

/* DARK HAMBURGER ON SCROLLED (STICKY) HEADER */
.header.scrolled .hamburger:not(.active) span {
  background-color: #000 !important;
}

/* RESPONSIVE TEAM PAGE STYLES */
.team-intro-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}
.team-responsibilities-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 4rem;
}
.team-responsibility-title {
  margin-bottom: 0;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
}

@media (max-width: 991px) {
  .team-intro-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .team-responsibilities-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .team-responsibility-title {
    font-size: 1.05rem;
  }
}

/* Scroll to Top Button Styling */
.scroll-to-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.scroll-to-top-btn.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.scroll-to-top-btn:not(.visible) {
  transform: translateY(20px);
}

.scroll-to-top-btn:hover {
  background: var(--accent);
  color: #0f172a;
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(30, 80, 162, 0.3);
}

@media (max-width: 768px) {
  .scroll-to-top-btn {
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    font-size: 1rem;
  }
}


/* LIGHT THEME OVERRIDES FOR BOTTOM CTA BUTTONS */
.light-theme-services .bottom-cta-buttons .btn-accent {
  background: #ffffff !important;
  border-color: #ffffff !important;
  color: #050a12 !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08) !important;
}

.light-theme-services .bottom-cta-buttons .btn-accent .btn-icon-circle {
  background: #ffffff !important;
}

.light-theme-services .bottom-cta-buttons .btn-accent .btn-icon-circle svg {
  fill: #050a12 !important;
}

.light-theme-services .bottom-cta-buttons .btn-accent:hover {
  background: #0056b3 !important;
  border-color: #0056b3 !important;
  color: #ffffff !important;
  box-shadow: 0 6px 20px rgba(0, 86, 179, 0.4) !important;
}

.light-theme-services .bottom-cta-buttons .btn-accent:hover .btn-icon-circle {
  background: #0056b3 !important;
}

.light-theme-services .bottom-cta-buttons .btn-accent:hover .btn-icon-circle svg {
  fill: #ffffff !important;
}

.light-theme-services .bottom-cta-buttons .btn-outline-dark {
  background: transparent !important;
  border: 2px solid #0F172A !important;
  color: #0F172A !important;
  transition: all 0.3s ease !important;
}

.light-theme-services .bottom-cta-buttons .btn-outline-dark:hover {
  background: #ffffff !important;
  color: #0F172A !important;
  border-color: #0F172A !important;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.1) !important;
}
