/*1. CSS VARIABLES & DESIGN TOKENS */

:root {
  /* Color Palette */
  --color-primary: #003c30;
  --color-primary-hover: #5fa00a;
  --color-primary-dark: #002b23;
  --color-secondary: #0d6efd;

  /* Shadows - Standardized for consistency */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 15px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 20px 50px rgba(0, 60, 48, 0.15);

  /* Transitions - Smooth and consistent */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Spacing - Consistent vertical rhythm */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 50px;
}

/* 2. BOOTSTRAP ICONS FONT FACE */

/* BOOTSTRAP ICONS FONT FACE */
@font-face {
  font-family: "bootstrap-icons";
  font-style: normal;
  font-weight: 400;
  font-display: swap; /* Prevents invisible text during font load */
  src: url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/fonts/bootstrap-icons.woff2")
      format("woff2"),
    url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/fonts/bootstrap-icons.woff")
      format("woff");
}

/*  LAYOUT SHIFT PREVENTION (Cumulative Layout Shift - CLS)  */

/* Reserve space for hero section to prevent content jump during load */
.hero-section {
  min-height: 500px;
}

body.home #header-placeholder {
  min-height: 128px;
}
body.home #footer-placeholder {
  min-height: 220px;
}
/* Neutralize on non-home pages to eliminate gap */
body:not(.home) #header-placeholder {
  min-height: 0;
}
body:not(.home) #footer-placeholder {
  min-height: 0;
}

/* HERO SECTION (Redesigned) */

.hero-section {
  background: #ffffff;
  padding: 60px 0 60px;
  position: relative;
  overflow: hidden;
  min-height: 500px;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(0, 60, 48, 0.05) 0%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}

.hero-section::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(95, 160, 10, 0.04) 0%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  padding: 20px 50px;
  position: relative;
  z-index: 1;
}

.hero-text-wrapper {
  max-width: 620px;
}

/* Hero Badge */
.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  background: linear-gradient(
    135deg,
    var(--color-primary),
    var(--color-primary-hover)
  );
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 30px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0, 60, 48, 0.2);
}

/* Hero Title */
.hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--color-primary);
  margin-bottom: 24px;
  font-family: Georgia, "Times New Roman", Times, serif;
}

.hero-highlight {
  background: linear-gradient(
    135deg,
    var(--color-primary),
    var(--color-primary-hover)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  display: inline-block;
}

.hero-highlight::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 12px;
  background: rgba(95, 160, 10, 0.15);
  z-index: -1;
  border-radius: 4px;
}

/* Hero Description */
.hero-description {
  font-size: 1.15rem;
  line-height: 1.75;
  color: #555;
  margin-bottom: 32px;
}

/* Hero Actions */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

.btn-hero-primary {
  padding: 14px 32px;
  font-size: 1.05rem;
  font-weight: 600;
  border-radius: 50px;
  background: var(--color-primary);
  color: #fff;
  border: 2px solid var(--color-primary);
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(0, 60, 48, 0.2);
}

.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 60, 48, 0.3);
}

.btn-hero-secondary {
  padding: 14px 32px;
  font-size: 1.05rem;
  font-weight: 600;
  border-radius: 50px;
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
  background: var(--color-secondary-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 60, 48, 0.15);
}

/* Hero Trust Badges */
.hero-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 60, 48, 0.1);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  color: #666;
}

.trust-item i {
  font-size: 1.3rem;
  color: var(--color-primary);
}

/* Hero Image Wrapper */
.hero-image-wrapper {
  position: relative;
  z-index: 1;
}

.hero-image-container {
  position: relative;
  padding: 20px;
}

.hero-image-decoration {
  position: absolute;
  top: 0;
  right: 0;
  width: 85%;
  height: 85%;
  background: linear-gradient(
    135deg,
    rgba(0, 60, 48, 0.08),
    rgba(95, 160, 10, 0.08)
  );
  border-radius: 20px 0 0 100px;
  z-index: 0;
}

.hero-img {
  width: 100%;
  height: auto;
  border-radius: 20px 0 0 100px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  position: relative;
  z-index: 1;
  display: block;
}

/* Hero Floating Card */
.hero-floating-card {
  position: absolute;
  bottom: 40px;
  left: 40px;
  background: #fff;
  padding: 20px 24px;
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 2;
  max-width: 320px;
}

.floating-card-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(
    135deg,
    var(--color-primary),
    var(--color-primary-hover)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.floating-card-icon i {
  font-size: 1.6rem;
  color: #fff;
}

.floating-card-content h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0 0 4px 0;
}

.floating-card-content p {
  font-size: 0.85rem;
  color: #666;
  margin: 0;
}

/* Tablet Responsive */
@media (max-width: 991px) {
  .hero-section {
    padding: 50px 0 40px;
    min-height: 450px;
  }

  .hero-content {
    padding: 10px 30px 40px;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-description {
    font-size: 1.05rem;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-text-wrapper {
    text-align: center;
    margin: 0 auto;
  }

  .hero-trust-badges {
    justify-content: center;
  }

  .hero-image-wrapper {
    margin-top: 40px;
  }

  .hero-floating-card {
    bottom: 30px;
    left: 30px;
    max-width: 280px;
    padding: 16px 20px;
  }
}

/* Mobile Responsive */
@media (max-width: 767px) {
  .hero-section {
    padding: 40px 0 30px;
    min-height: 400px;
  }

  .hero-content {
    padding: 5px 20px 30px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
    justify-content: center;
    padding: 12px 24px;
  }

  .hero-trust-badges {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }

  .hero-image-container {
    padding: 10px;
  }

  .hero-img {
    border-radius: 16px 0 0 60px;
  }

  .hero-image-decoration {
    border-radius: 16px 0 0 60px;
  }

  .hero-floating-card {
    position: static;
    margin-top: 20px;
    max-width: 100%;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 1.75rem;
  }

  .hero-description {
    font-size: 0.95rem;
    margin-bottom: 24px;
  }

  .hero-actions {
    margin-bottom: 30px;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    font-size: 0.95rem;
    padding: 11px 20px;
  }

  .floating-card-icon {
    width: 48px;
    height: 48px;
  }

  .floating-card-icon i {
    font-size: 1.4rem;
  }

  .floating-card-content h4 {
    font-size: 0.9rem;
  }

  .floating-card-content p {
    font-size: 0.8rem;
  }
}

/* Prevent layout shift for "Why Health Insurance Matters" section */
main .container-fluid[style*="background-color: #f0fdf4"] {
  min-height: 350px;
}

/* Ensure hero image maintains aspect ratio to prevent shift */
.hero-img {
  aspect-ratio: 679 / 359;
  max-width: 100%;
  height: auto;
}

/* Prevent layout shift during AOS (Animate On Scroll) animations */
[data-aos] {
  pointer-events: auto;
}

/* Contain layout for main content to prevent shift when content loads */
#page-content main .container-fluid,
#page-content main .container {
  contain: layout;
}

/* FAQ CARD STYLES */

/* Base FAQ card container */
.faq-card {
  border-radius: 10px;
  border: 1px solid #dcdcdc;
  cursor: pointer;
  background: #fff;
  transition: box-shadow 0.3s ease;
}

/* Card hover effect for better UX feedback */
.faq-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* FAQ question title styling */
.faq-title {
  font-weight: 600;
  font-size: 1.1rem;
  line-height: 1.4;
}

/* FAQ subtitle (if used) */
.faq-sub {
  color: #6b7280;
  font-size: 0.9rem;
}

/* FAQ BUTTON STYLES */

/* Keyboard focus indicator for accessibility (WCAG compliance) */
.faq-btn:focus-visible {
  outline: 2px solid rgba(var(--color-primary-rgb), 0.5);
  outline-offset: 2px;
  border-radius: 6px;
}

/*    ACCESSIBILITY - TOUCH TARGET SIZES (WCAG 2.1 Level AAA)*/
.touch-target,
.navbar-toggler,
.btn-close {
  min-width: 44px;
  min-height: 44px;
  padding: 0.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
}

/* Spacing between adjacent touch targets to prevent mis-taps */
.touch-target + .touch-target {
  margin-left: 0.25rem;
}

/* MODAL BACKDROP BLUR EFFECT */

/* Smooth transition for blur effect */
#page-content {
  transition: filter 0.25s ease-in-out;
}

/* Apply blur when modal is open */
body.modal-open #page-content {
  -webkit-backdrop-filter: blur(25px); /* Safari/iOS support */
  backdrop-filter: blur(15px); /* Modern browsers */
  filter: blur(5px); /* Fallback for older browsers */
  pointer-events: none; /* Prevent clicks on blurred content */
}

/*LIVE CHAT - HIDE FLOATING BUTTON ON HOMEPAGE */
.floating-chat-container {
  display: none !important;
}

/* BACK-TO-TOP BUTTON */
.back-to-top {
  position: fixed !important;
  bottom: 20px;
  right: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  will-change: transform; /* Optimize for animation */
  transform: translateZ(0); /* Enable hardware acceleration */
}

/* Show button when .show class is added via JavaScript */
.back-to-top.show {
  opacity: 1 !important;
  visibility: visible !important;
}

/* FONT RENDERING OPTIMIZATION */
body {
  font-synthesis: none; /* Prevent browser from creating fake bold/italic */
  text-rendering: optimizeLegibility; /* Better text rendering */
  -webkit-font-smoothing: antialiased; /* Smooth fonts on Mac/iOS */
}

/* Prevent text reflow when custom fonts load */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-synthesis: none;
}

/* SCROLLING LOGO CAROUSEL SECTION */

/* Outer container with gradient background */
.logo-scroll-section {
  overflow: hidden;
  padding: 4rem 0;
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 50%, #f0fdf4 100%);
  position: relative;
  border-top: 3px solid var(--color-primary);
  border-bottom: 3px solid var(--color-primary);
}

/* Decorative pattern overlay for visual depth */
.logo-scroll-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(
      circle at 20% 80%,
      rgba(88, 198, 20, 0.05) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(88, 198, 20, 0.05) 0%,
      transparent 50%
    );
  pointer-events: none; /* Don't interfere with clicks */
  z-index: 0;
}

/* Ensure content is above the decorative overlay */
.logo-scroll-section .container {
  position: relative;
  z-index: 1;
}

/* Inner wrapper with white background and shadow */
.logo-scroll-wrapper {
  position: relative;
  padding: 2rem 0;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

/* Animated container - moves horizontally in infinite loop */
.logo-scroll-container {
  display: flex;
  width: max-content; /* Expand to fit all logos */
  animation: scroll 30s linear infinite;
}

/* Pause animation on hover for user interaction */
.logo-scroll-container:hover {
  animation-play-state: paused;
}

/* Individual logo wrapper */
.logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 2rem;
  min-width: 200px;
}

/* Logo image styling */
.logo-item img {
  max-height: 80px;
  width: auto;
  object-fit: contain; /* Maintain aspect ratio */
  opacity: 0.9;
  transition: all 0.3s ease;
}

/* Enhance logo on hover */
.logo-item img:hover {
  opacity: 1;
  transform: scale(1.05);
}

/* Infinite horizontal scroll animation */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%); /* Move left by half the width */
  }
}

/* RESPONSIVE DESIGN - MOBILE OPTIMIZATIONS */

/* Tablets and smaller (max-width: 767px) */
@media (max-width: 767px) {
  /* Adjust placeholder heights for mobile header/footer */
  #header-placeholder {
    min-height: 160px;
  }

  #footer-placeholder {
    min-height: 300px;
  }

  /* Prevent hero image from being too large on mobile */
  .hero-img {
    max-height: 280px !important;
    object-fit: cover;
    width: 100%;
  }

  /* Ensure icons display at proper size on mobile */
  .icon-circle img {
    max-width: 50px !important;
    max-height: 50px !important;
    object-fit: contain;
  }

  /* Optimize logo sizing for mobile (consistent with header) */
  .navbar-brand img {
    max-width: 125px !important;
    height: auto !important;
  }

  /* Footer logo optimization */
  .site-footer .logo img {
    max-width: 100px !important;
    height: auto;
  }

  /* Reduce logo carousel padding */
  .logo-scroll-section {
    padding: 3rem 0;
  }

  .logo-scroll-wrapper {
    padding: 1.5rem 0;
    border-radius: 15px;
  }

  .logo-item {
    padding: 0 1rem;
    min-width: 150px;
  }

  .logo-item img {
    max-height: 60px;
  }
}

/* Extra small devices (max-width: 576px) */
@media (max-width: 576px) {
  /* Further reduce hero image height on very small screens */
  .hero-img {
    max-height: 220px !important;
  }

  /* Smaller icons for extra small screens */
  .icon-circle img {
    max-width: 40px !important;
    max-height: 40px !important;
  }

  /* Maintain logo size on extra small screens */
  .navbar-brand img {
    max-width: 125px !important;
  }
}
/* BLOG CARD IMAGES - RESPONSIVE */

/* Desktop: Fixed height for consistent card layout */
.blog-card-img {
  height: 240px;
  object-fit: cover;
  width: 100%;
  display: block;
}

/* Tablets and medium screens */
@media (max-width: 992px) {
  .blog-card-img {
    height: 240px;
  }
}

/* Mobile devices */
@media (max-width: 768px) {
  .blog-card-img {
    height: 200px;
  }
}

/* Extra small devices */
@media (max-width: 576px) {
  .blog-card-img {
    height: 180px;
  }
}

/* BLOG SECTION REDESIGN - MODERN CARD LAYOUT */

/* Blog Section Wrapper */
.blog-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.blog-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--color-primary),
    var(--color-secondary)
  );
}

/* Blog Section Icon */
.blog-section-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto;
  background: linear-gradient(
    135deg,
    var(--color-primary),
    var(--color-secondary)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(51, 107, 63, 0.3);
  animation: pulse-icon 2s ease-in-out infinite;
}

.blog-section-icon i {
  font-size: 2.5rem;
  color: white;
}

@keyframes pulse-icon {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 10px 30px rgba(51, 107, 63, 0.3);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(51, 107, 63, 0.4);
  }
}

/* Blog Card Styles */
.blog-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.blog-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 12px 40px rgba(51, 107, 63, 0.15);
}

/* Blog Card Image Wrapper */
.blog-card-image-wrapper {
  position: relative;
  overflow: hidden;
}

.blog-card-image-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.4) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.blog-card:hover .blog-card-image-wrapper::after {
  opacity: 1;
}

.blog-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-card:hover .blog-card-img {
  transform: scale(1.1);
}

/* Blog Card Body */
.blog-card-body {
  padding: 12px 24px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/* Blog Card Meta */
.blog-card-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.875rem;
  color: #6c757d;
  margin-bottom: 12px;
}

.blog-date,
.blog-read-time {
  display: flex;
  align-items: center;
}

.blog-date i,
.blog-read-time i {
  color: var(--color-primary);
}

/* Blog Card Title */
.blog-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 12px;
  line-height: 1.4;
  font-family: Georgia, "Times New Roman", Times, serif;
  transition: color 0.3s ease;
}

.blog-card:hover .blog-card-title {
  color: var(--color-primary);
}

/* Blog Card Excerpt */
.blog-card-excerpt {
  font-size: 1rem;
  color: #6c757d;
  line-height: 1.6;
  margin-bottom: 12px;
  flex-grow: 1;
}

/* Blog Card Link */
.blog-card-link {
  display: inline-flex;
  align-items: center;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  padding-bottom: 4px;
}

.blog-card-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width 0.3s ease;
}

.blog-card-link:hover::after {
  width: 100%;
}

.blog-card-link i {
  transition: transform 0.3s ease;
}

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

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

/* All Blogs Button */
.all-blogs-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-primary);
  color: white !important;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 3px 12px rgba(0, 60, 48, 0.3);
  transition: all 0.3s ease;
  border: 2px solid var(--color-primary);
  position: relative;
  overflow: hidden;
}

.all-blogs-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-primary-hover);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
  z-index: -1;
}

.all-blogs-btn:hover::before {
  transform: scaleX(1);
}

.all-blogs-btn:hover {
  background: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(95, 160, 10, 0.4);
  color: white !important;
  border-color: var(--color-primary-hover);
}

.all-blogs-btn i {
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.all-blogs-btn:hover i {
  transform: translateX(5px);
}

/* Reuse the same animated hover effect for all primary CTAs on homepage */
.btn-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-primary);
  color: #fff !important;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 3px 12px rgba(0, 60, 48, 0.3);
  transition: all 0.3s ease;
  border: 2px solid var(--color-primary);
  position: relative;
  overflow: hidden;
}

.btn-brand::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-primary-hover);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
  z-index: -1;
}

.btn-brand:hover::before {
  transform: scaleX(1);
}

.btn-brand:hover {
  background: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(95, 160, 10, 0.4);
  color: #fff !important;
  border-color: var(--color-primary-hover);
}

.btn-brand i {
  transition: transform 0.3s ease;
}

.btn-brand:hover i {
  transform: translateX(5px);
}

/* Responsive Design */
@media (max-width: 992px) {
  .blog-section-icon {
    width: 70px;
    height: 70px;
  }

  .blog-section-icon i {
    font-size: 2rem;
  }

  .blog-card-title {
    font-size: 1.125rem;
  }

  .blog-card-excerpt {
    font-size: 0.9375rem;
  }
}

/*  HOW IT WORKS (Redesigned) */
.how-it-works {
  background: #ffffff;
  position: relative;
  overflow: hidden;
}

.how-it-works::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(0, 60, 48, 0.06) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.hiw-steps {
  position: relative;
}

/* Connector line across steps (desktop only) */
@media (min-width: 992px) {
  .hiw-steps::before {
    content: "";
    position: absolute;
    top: 36px;
    left: 8%;
    right: 8%;
    height: 3px;
    background: linear-gradient(
      90deg,
      rgba(0, 60, 48, 0.15),
      rgba(95, 160, 10, 0.15)
    );
    z-index: 0;
  }
}

.hiw-step {
  background: #fff;
  border-radius: 16px;
  padding: 56px 22px 22px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  position: relative;
  text-align: center;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 1;
}

.hiw-step:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(0, 60, 48, 0.16);
}

/* Decorative step number and accent bar */
.hiw-step::before {
  content: attr(data-step);
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  font-weight: 900;
  font-size: 5.5rem;
  color: var(--color-primary);
  opacity: 0.06;
  pointer-events: none;
  line-height: 1;
}
.hiw-step::after {
  content: "";
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 4px;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(
    90deg,
    var(--color-primary),
    var(--color-primary)
  );
}

.hiw-icon {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff; /* solid white center for contrast */
  box-shadow: 0 0 0 3px var(--color-primary),
    /* brand ring */ 0 8px 20px rgba(0, 60, 48, 0.2); /* drop shadow */
  position: absolute;
  top: -38px;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid #fff; /* halo to lift off the card */
  z-index: 2;
}

.hiw-icon i {
  font-size: 2rem;
  color: var(--color-primary);
  line-height: 1;
  display: inline-block;
}

.hiw-step:hover .hiw-icon {
  box-shadow: 0 0 0 6px rgba(0, 60, 48, 0.08), 0 10px 24px rgba(0, 60, 48, 0.18);
}

.hiw-kicker {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--color-secondary);
  font-size: 0.8rem;
}

.hiw-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-primary);
  margin: 6px 0 8px;
  font-family: Georgia, "Times New Roman", Times, serif;
}

.hiw-text {
  color: #6c757d;
  font-size: 0.98rem;
  line-height: 1.6;
}

/* Mobile tweaks */
@media (max-width: 576px) {
  .hiw-step {
    padding: 52px 16px 18px;
  }
  .hiw-icon {
    width: 68px;
    height: 68px;
    top: -34px;
  }
  .hiw-title {
    font-size: 1.1rem;
  }
  .hiw-text {
    font-size: 0.95rem;
  }
  .hiw-step::before {
    display: none;
  }
  .hiw-step::after {
    left: 28%;
    right: 28%;
  }
}

@media (max-width: 768px) {
  .blog-section-icon {
    width: 60px;
    height: 60px;
  }

  .blog-section-icon i {
    font-size: 1.75rem;
  }

  .blog-card-body {
    padding: 10px 20px 20px;
  }

  .all-blogs-btn {
    padding: 10px 24px;
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .blog-card-meta {
    gap: 12px;
    font-size: 0.8125rem;
  }

  .blog-card-title {
    font-size: 1rem;
  }

  .blog-card-body {
    padding: 8px 18px 18px;
  }

  .all-blogs-btn {
    padding: 12px 24px;
    font-size: 1rem;
  }
}

/* WHY HEALTH INSURANCE MATTERS (Redesigned) */

.why-health-insurance {
  background: linear-gradient(135deg, #f0fdf4 0%, #e7f5ef 100%);
  position: relative;
  overflow: hidden;
}

.why-health-insurance::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(0, 60, 48, 0.04) 0%,
    transparent 70%
  );
  pointer-events: none;
}

/* Icon Wrapper */
.whi-icon-wrapper {
  width: 85px;
  height: 85px;
  margin: 0 auto;
  background: linear-gradient(
    135deg,
    var(--color-primary),
    var(--color-primary-hover)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(0, 60, 48, 0.15),
    0 0 0 6px rgba(255, 255, 255, 0.5);
  position: relative;
}

.whi-icon-wrapper i {
  font-size: 2.5rem;
  color: #fff;
}

/* Intro Text */
.whi-intro {
  max-width: 850px;
  color: #555;
  line-height: 1.8;
}

/* Benefit Cards */
.whi-benefit {
  background: #fff;
  padding: 32px 20px 28px;
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  border-top: 3px solid transparent;
}

.whi-benefit:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  border-top-color: var(--color-primary);
}

.whi-benefit-icon {
  width: 62px;
  height: 62px;
  margin: 0 auto 18px;
  background: linear-gradient(
    135deg,
    var(--color-primary),
    var(--color-primary-hover)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 60, 48, 0.2);
}

.whi-benefit-icon i {
  font-size: 1.75rem;
  color: #fff;
}

.whi-benefit-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 10px;
  font-family: Georgia, "Times New Roman", serif;
}

.whi-benefit-text {
  font-size: 0.95rem;
  color: #6c757d;
  line-height: 1.6;
  margin: 0;
}

/* CTA Simple (No Card Background) */
.whi-cta-simple {
  max-width: 900px;
  margin: 0 auto;
}

.whi-cta-simple p {
  color: #666;
  margin-bottom: 20px;
  font-weight: 400;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .whi-icon-wrapper {
    width: 75px;
    height: 75px;
  }

  .whi-icon-wrapper i {
    font-size: 2.2rem;
  }

  .whi-benefit {
    padding: 28px 18px 24px;
  }

  .whi-benefit-icon {
    width: 56px;
    height: 56px;
  }

  .whi-benefit-icon i {
    font-size: 1.5rem;
  }

  .whi-benefit-title {
    font-size: 1.05rem;
  }
}

@media (max-width: 576px) {
  .whi-icon-wrapper {
    width: 68px;
    height: 68px;
  }

  .whi-icon-wrapper i {
    font-size: 2rem;
  }

  .whi-benefit {
    padding: 24px 16px 20px;
  }

  .whi-benefit-icon {
    width: 52px;
    height: 52px;
  }

  .whi-benefit-icon i {
    font-size: 1.4rem;
  }
}

/* WHY CHOOSE SECURE FUTURE COVERAGE (Redesigned) */

.why-choose-section {
  background: linear-gradient(135deg, #f8fcf9 0%, #e9f6f0 100%);
  position: relative;
  overflow: hidden;
}

.why-choose-section::before {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 450px;
  height: 450px;
  background: radial-gradient(
    circle,
    rgba(95, 160, 10, 0.06) 0%,
    transparent 70%
  );
  pointer-events: none;
}

/* Intro Text */
.wc-intro {
  max-width: 900px;
  color: #555;
  line-height: 1.8;
}

/* Feature Cards */
.wc-feature {
  background: #fff;
  padding: 32px 20px 28px;
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  border-bottom: 3px solid transparent;
  position: relative;
  overflow: hidden;
}

.wc-feature::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--color-primary),
    var(--color-primary-hover)
  );
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.wc-feature:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  border-bottom-color: var(--color-primary-hover);
}

.wc-feature:hover::before {
  transform: scaleX(1);
}

.wc-feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  background: linear-gradient(
    135deg,
    var(--color-primary),
    var(--color-primary-hover)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 60, 48, 0.2);
  transition: all 0.3s ease;
}

.wc-feature:hover .wc-feature-icon {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(0, 60, 48, 0.3);
}

.wc-feature-icon i {
  font-size: 1.8rem;
  color: #fff;
}

.wc-feature-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 10px;
  font-family: Georgia, "Times New Roman", serif;
}

.wc-feature-text {
  font-size: 0.95rem;
  color: #6c757d;
  line-height: 1.6;
  margin: 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .wc-feature {
    padding: 28px 18px 24px;
  }

  .wc-feature-icon {
    width: 58px;
    height: 58px;
  }

  .wc-feature-icon i {
    font-size: 1.6rem;
  }

  .wc-feature-title {
    font-size: 1.05rem;
  }
}

@media (max-width: 576px) {
  .wc-feature {
    padding: 24px 16px 20px;
  }

  .wc-feature-icon {
    width: 52px;
    height: 52px;
  }

  .wc-feature-icon i {
    font-size: 1.45rem;
  }

  .wc-feature-text {
    font-size: 0.9rem;
  }
}

/* Call to Action Section (Redesigned) */
.cta-section {
  background: linear-gradient(135deg, #f0fdf4 0%, #e7f5ef 100%);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(95, 160, 10, 0.08) 0%,
    transparent 70%
  );
  top: -200px;
  right: -200px;
  pointer-events: none;
}

.cta-wrapper {
  background: #ffffff;
  border-radius: 20px;
  padding: 50px 40px;
  box-shadow: 0 8px 30px rgba(0, 60, 48, 0.08);
  position: relative;
  overflow: hidden;
}

.cta-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary) 0%, #5fa00a 100%);
}

.cta-icon-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary) 0%, #5fa00a 100%);
  box-shadow: 0 4px 15px rgba(95, 160, 10, 0.3),
    0 0 0 8px rgba(95, 160, 10, 0.1);
}

.cta-icon-wrapper i {
  font-size: 2rem;
  color: #ffffff;
}

.cta-title {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.3;
  margin-bottom: 1rem;
}

.cta-text {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-cta-primary,
.btn-cta-secondary {
  border-radius: 50px;
  font-weight: 600;
  padding: 12px 28px;
  font-size: 1rem;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.btn-cta-primary {
  background: var(--color-primary);
  color: #ffffff;
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(0, 60, 48, 0.3);
}

.btn-cta-primary:hover {
  background: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 60, 48, 0.4);
  color: #ffffff;
}

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

.btn-cta-secondary:hover {
  background: var(--color-secondary);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 60, 48, 0.2);
}

.cta-features {
  border-top: 1px solid rgba(0, 60, 48, 0.1);
}

.cta-feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 12px;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.cta-feature-item:hover {
  background: rgba(95, 160, 10, 0.05);
  transform: translateY(-3px);
}

.cta-feature-item i {
  font-size: 1.75rem;
  color: var(--color-primary);
}

.cta-feature-item span {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-primary);
}

/* Responsive Design */
@media (max-width: 991px) {
  .cta-wrapper {
    padding: 40px 30px;
  }

  .cta-title {
    font-size: 1.9rem;
  }

  .cta-text {
    font-size: 1.05rem;
  }

  .cta-buttons {
    margin-top: 20px;
  }
}

@media (max-width: 768px) {
  .cta-wrapper {
    padding: 35px 25px;
  }

  .cta-icon-wrapper {
    width: 60px;
    height: 60px;
  }

  .cta-icon-wrapper i {
    font-size: 1.75rem;
  }

  .cta-title {
    font-size: 1.7rem;
  }

  .cta-text {
    font-size: 1rem;
  }

  .btn-cta-primary,
  .btn-cta-secondary {
    width: 100%;
    padding: 12px 28px;
  }

  .cta-feature-item i {
    font-size: 1.5rem;
  }

  .cta-feature-item span {
    font-size: 0.85rem;
  }
}

@media (max-width: 576px) {
  .cta-wrapper {
    padding: 30px 20px;
  }

  .cta-icon-wrapper {
    width: 55px;
    height: 55px;
  }

  .cta-icon-wrapper i {
    font-size: 1.6rem;
  }

  .cta-title {
    font-size: 1.5rem;
  }

  .cta-text {
    font-size: 0.95rem;
  }

  .btn-cta-primary,
  .btn-cta-secondary {
    padding: 11px 24px;
    font-size: 0.95rem;
  }

  .cta-features {
    margin-top: 20px !important;
    padding-top: 20px !important;
  }

  .cta-feature-item {
    padding: 10px 5px;
  }

  .cta-feature-item i {
    font-size: 1.35rem;
  }

  .cta-feature-item span {
    font-size: 0.8rem;
  }
}

/* ABOUT US STYLE CTA SECTION */

.about-cta-section {
  background: linear-gradient(135deg, var(--color-primary) 0%, #1a5c3d 100%);
  padding: 80px 0;
  width: 100%;
  margin: 0;
  position: relative;
  overflow: hidden;
}

/* Decorative background pattern */
.about-cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(
      circle at 15% 25%,
      rgba(95, 160, 10, 0.15) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 85% 75%,
      rgba(255, 255, 255, 0.08) 0%,
      transparent 40%
    );
  z-index: 0;
}

.cta-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 3rem 2.5rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 1;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.cta-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(
    180deg,
    var(--color-primary),
    var(--color-primary-hover)
  );
}

.cta-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.35);
}

.cta-content {
  padding-right: 2rem;
}

.cta-card .cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1rem;
  font-family: Georgia, "Times New Roman", Times, serif;
  line-height: 1.2;
}

.cta-description {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.cta-card .cta-features {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 1.5rem;
  border-top: none;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  color: #333;
  font-weight: 500;
}

.feature-item i {
  color: var(--color-primary-hover);
  font-size: 1.25rem;
}

.cta-card .cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: stretch;
}

.cta-card .btn-cta-primary,
.cta-card .btn-cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  white-space: nowrap;
}

.cta-card .btn-cta-primary {
  background: var(--color-primary);
  color: #fff;
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(0, 60, 48, 0.3);
}

.cta-card .btn-cta-primary:hover {
  background: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 60, 48, 0.4);
  color: #fff;
}

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

.cta-card .btn-cta-secondary:hover {
  background: var(--color-secondary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 60, 48, 0.2);
}

.cta-card .btn-cta-primary i,
.cta-card .btn-cta-secondary i {
  transition: transform 0.3s ease;
}

.cta-card .btn-cta-primary:hover i,
.cta-card .btn-cta-secondary:hover i {
  transform: scale(1.1);
}

/* Responsive Design for About Us Style CTA */
@media (max-width: 1199px) {
  .about-cta-section {
    padding: 70px 0;
  }

  .cta-card {
    padding: 2.5rem 2rem;
  }

  .cta-card .cta-title {
    font-size: 2.2rem;
  }

  .cta-description {
    font-size: 1.05rem;
  }
}

@media (max-width: 991px) {
  .about-cta-section {
    padding: 60px 0;
  }

  .cta-card {
    padding: 2.5rem 2rem;
  }

  .cta-card .cta-title {
    font-size: 2rem;
    margin-bottom: 1rem;
  }

  .cta-description {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .cta-card .cta-features {
    gap: 1rem;
    margin-bottom: 1.5rem;
  }

  .cta-card .cta-buttons {
    gap: 0.875rem;
  }
}

@media (max-width: 767px) {
  .about-cta-section {
    padding: 50px 0;
  }

  .cta-card {
    padding: 2rem 1.5rem;
  }

  .cta-card .cta-title {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    text-align: center;
  }

  .cta-description {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    text-align: center;
  }

  .cta-card .cta-features {
    flex-direction: column;
    gap: 0.875rem;
    margin-bottom: 1.75rem;
  }

  .feature-item {
    justify-content: center;
  }

  .cta-card .cta-buttons {
    gap: 0.75rem;
  }

  .cta-card .btn-cta-primary,
  .cta-card .btn-cta-secondary {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    padding: 14px 32px;
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .about-cta-section {
    padding: 40px 0;
  }

  .cta-card {
    padding: 1.75rem 1.25rem;
  }

  .cta-card .cta-title {
    font-size: 1.5rem;
    margin-bottom: 0.875rem;
  }

  .cta-description {
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
  }

  .cta-card .cta-features {
    gap: 0.75rem;
    margin-bottom: 1.5rem;
  }

  .feature-item {
    font-size: 0.9rem;
  }

  .feature-item i {
    font-size: 1rem;
  }

  .cta-card .cta-buttons {
    gap: 0.625rem;
  }

  .cta-card .btn-cta-primary,
  .cta-card .btn-cta-secondary {
    padding: 12px 28px;
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .about-cta-section {
    padding: 35px 0;
  }

  .cta-card {
    padding: 1.5rem 1rem;
  }

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

  .cta-description {
    font-size: 0.85rem;
    margin-bottom: 1rem;
  }

  .cta-card .cta-features {
    gap: 0.625rem;
    margin-bottom: 1.25rem;
  }

  .feature-item {
    font-size: 0.85rem;
  }

  .feature-item i {
    font-size: 0.95rem;
  }

  .cta-card .cta-buttons {
    gap: 0.5rem;
  }

  .cta-card .btn-cta-primary,
  .cta-card .btn-cta-secondary {
    padding: 11px 24px;
    font-size: 0.9rem;
  }
}

/* HEALTH INSURANCE SOLUTIONS SECTION - MODERN REDESIGN */

.health-solutions-section {
  background: linear-gradient(180deg, #ffffff 0%, #f8faf9 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.health-solutions-section::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(
    circle,
    rgba(0, 60, 48, 0.03) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.solutions-header {
  max-width: 800px;
  margin: 0 auto 3rem;
  text-align: center;
}

.solutions-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-primary);
  font-family: Georgia, "Times New Roman", Times, serif;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.solutions-header .subtitle {
  font-size: 1.125rem;
  color: #6c757d;
  line-height: 1.6;
}

/* Solution Cards */
.solution-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 2.5rem 2rem;
  height: 100%;
  border: 2px solid transparent;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.6s ease-out both;
}

.solution-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(
    90deg,
    var(--color-primary),
    var(--color-primary-hover, #5fa00a)
  );
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.solution-card:hover {
  transform: translateY(-12px);
  border-color: var(--color-primary);
  box-shadow: 0 20px 50px rgba(0, 60, 48, 0.15);
}

.solution-card:hover::before {
  transform: scaleX(1);
}

/* Icon styling */
.solution-icon {
  width: 85px;
  height: 85px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    rgba(0, 60, 48, 0.08) 0%,
    rgba(0, 60, 48, 0.03) 100%
  );
  border-radius: 20px;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.solution-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: linear-gradient(
    135deg,
    var(--color-primary) 0%,
    var(--color-primary-hover, #5fa00a) 100%
  );
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 0;
}

.solution-icon::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at center,
    rgba(255, 255, 255, 0.3) 0%,
    transparent 70%
  );
  opacity: 0;
  transform: scale(0);
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 1;
}

.solution-card:hover .solution-icon {
  transform: translateY(-8px) scale(1.15) rotate(-5deg);
  box-shadow: 0 15px 35px rgba(0, 60, 48, 0.25);
}

.solution-card:hover .solution-icon::before {
  opacity: 1;
}

.solution-card:hover .solution-icon::after {
  opacity: 1;
  transform: scale(1);
}

.solution-icon img {
  max-width: 55px;
  max-height: 55px;
  object-fit: contain;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  z-index: 2;
}

.solution-card:hover .solution-icon img {
  filter: brightness(0) invert(1)
    drop-shadow(0 6px 15px rgba(255, 255, 255, 0.4));
  transform: scale(1.1);
}

/* Card content */
.solution-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-primary-dark, #002b23);
  margin-bottom: 1rem;
  line-height: 1.3;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.solution-card .card-description {
  font-size: 1.05rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 1.75rem;
  text-align: center;
}

/* Button Group */
.solution-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-solution {
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 10px;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.btn-solution-primary {
  background: var(--color-primary);
  color: #ffffff;
  border: 2px solid var(--color-primary);
}

.btn-solution-primary:hover {
  background: var(--color-primary-hover, #5fa00a);
  border-color: var(--color-primary-hover, #5fa00a);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 60, 48, 0.25);
}

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

.btn-solution-secondary:hover {
  background: var(--color-secondary);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 60, 48, 0.2);
}

/* See All Plans Button */
.all-plans-wrapper {
  text-align: center;
  margin-top: 3.5rem;
  animation: fadeIn 0.8s ease-out 0.6s both;
}

.btn-all-plans {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 12px 32px;
  font-size: 1rem;
  font-weight: 600;
  background: var(--color-primary);
  color: #ffffff;
  border: 2px solid var(--color-primary);
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 20px rgba(0, 60, 48, 0.15);
}

.btn-all-plans:hover {
  background: var(--color-primary-hover, #5fa00a);
  border-color: var(--color-primary-hover, #5fa00a);
  color: #ffffff;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 30px rgba(0, 60, 48, 0.25);
}

.btn-all-plans svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.btn-all-plans:hover svg {
  transform: translateX(5px);
}

/* Staggered animation delays for cards */
.solution-card:nth-child(1) {
  animation-delay: 0.1s;
}

.solution-card:nth-child(2) {
  animation-delay: 0.2s;
}

.solution-card:nth-child(3) {
  animation-delay: 0.3s;
}

/* Keyframes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/*  RESPONSIVE - HEALTH INSURANCE SOLUTIONS */

/* Tablets (768px - 991px) */
@media (max-width: 991px) {
  .health-solutions-section {
    padding: 60px 0;
  }

  .solutions-header {
    margin-bottom: 2.5rem;
  }

  .solution-card {
    padding: 2rem 1.5rem;
  }

  .solution-icon {
    width: 75px;
    height: 75px;
  }

  .solution-icon img {
    max-width: 50px;
    max-height: 50px;
  }

  .solution-card h3 {
    font-size: 1.25rem;
    min-height: auto;
  }

  .solution-card .card-description {
    font-size: 1rem;
  }

  .all-plans-wrapper {
    margin-top: 3rem;
  }

  .btn-all-plans {
    padding: 11px 30px;
    font-size: 0.95rem;
  }
}

/* Mobile devices (max-width: 767px) */
@media (max-width: 767px) {
  .health-solutions-section {
    padding: 50px 0;
  }

  .solutions-header {
    margin-bottom: 2rem;
  }

  .solutions-header h2 {
    font-size: 1.85rem;
  }

  .solutions-header .subtitle {
    font-size: 1.05rem;
  }

  .solution-card {
    padding: 1.75rem 1.25rem;
    margin-bottom: 1.5rem;
  }

  .solution-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 1.25rem;
  }

  .solution-icon img {
    max-width: 45px;
    max-height: 45px;
  }

  .solution-card h3 {
    font-size: 1.2rem;
  }

  .solution-card .card-description {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }

  .solution-actions {
    flex-direction: column;
  }

  .btn-solution {
    width: 100%;
    justify-content: center;
    padding: 13px 20px;
  }

  .all-plans-wrapper {
    margin-top: 2.5rem;
  }

  .btn-all-plans {
    padding: 11px 28px;
    font-size: 0.95rem;
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
}

/* Extra small devices (max-width: 576px) */
@media (max-width: 576px) {
  .health-solutions-section {
    padding: 40px 0;
  }

  .solution-card {
    padding: 1.5rem 1rem;
    border-radius: 16px;
  }

  .solution-icon {
    width: 65px;
    height: 65px;
    border-radius: 16px;
  }

  .solution-icon img {
    max-width: 40px;
    max-height: 40px;
  }

  .solution-card h3 {
    font-size: 1.1rem;
  }

  .solution-card .card-description {
    font-size: 0.9rem;
  }

  .btn-solution {
    font-size: 0.9rem;
    padding: 12px 18px;
  }

  .btn-all-plans {
    padding: 10px 24px;
    font-size: 0.9rem;
  }
}
