.final-expense-hero {
  position: relative;
  width: 100%;
  height: 400px; /* adjust as needed */
  background: url("../images/final-expense.jpg") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.8;
}

.final-expense-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
}

.final-expense-hero-content {
  color: #fff;
  max-width: 800px;
}

.final-expense-hero .final-expense-breadcrumbs {
  font-size: 16px;
  margin-bottom: 15px;
  color: #d1d5db;
}

.final-expense-hero .final-expense-breadcrumbs a {
  color: #fff;
  font-size: 20px;
}

.final-expense-hero .final-expense-breadcrumbs a:hover {
  text-decoration: underline;
}

.final-expense-hero h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 20px;
  font-family: "Roboto", Arial, sans-serif;
}

.final-expense-hero .final-expense-description {
  font-size: 18px;
  line-height: 1.7;
  font-weight: 400;
}

/* final expense page section styling */
.final-expense-page {
  padding: 80px 20px;
  background: #f9fafc;
}

.grid-layout {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.card {
  background: #ffffff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  transition: 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.card-header img {
  width: 70px;
  height: 70px;
  border-radius: 12px;
}

.card h2 {
  font-size: 20px;
  margin: 0;
  color: #1e293b;
}

.card p {
  color: #555;
  line-height: 1.6;
}

.card ul {
  padding-left: 0;
  list-style: none;
}

.card ul li {
  margin-bottom: 10px;
  color: #444;
}

.card-buttons {
  margin-top: 20px;
}

.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
  margin-right: 10px;
}

.btn-primary {
  background: linear-gradient(135deg, #4f46e5, #06b6d4);
  color: white;
}

.btn-primary:hover {
  opacity: 0.9;
}

.btn-secondary {
  background: #e2e8f0;
  color: #333;
}

.btn-secondary:hover {
  background: #cbd5e1;
}

/* Responsive */
/* ===============================
   Tablet View (2 Columns)
================================= */
@media (max-width: 992px) {
  .grid-layout {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* ===============================
   Mobile View (1 Column)
================================= */
@media (max-width: 600px) {
  .grid-layout {
    grid-template-columns: 1fr;
  }

  .card {
    width: 100%;
    max-width: 100%;
  }

  .final-expense-page .container {
    padding-left: 0;
    padding-right: 0;
  }
  .btn-primary,
  .btn-secondary {
    width: 100%;
    cursor: pointer;
  }
  .btn-secondary {
    margin-top: 20px;
  }
}

/* left side image with link style */
.sticky-left-link {
  position: fixed;
  left: 0;
  top: 90%;
  transform: translateY(-50%);
  z-index: 9999;

  display: flex;
  align-items: center;

  background: #ffffff; /* Light background */
  padding: 10px 16px 10px 10px;
  border-radius: 0 30px 30px 0;

  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  border-left: 4px solid #007bff; /* Blue accent line */
  transition: all 0.3s ease;
}

/* Image */
.sticky-left-link img {
  width: 100px;
  height: auto;
  margin-right: 10px;
}

/* Text */
.sticky-text {
  color: #007bff; /* Same blue as image */
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
}

/* Hover effect */
.sticky-left-link:hover {
  transform: translateY(-50%) translateX(5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Download our plans styling */
.sticky-download {
  position: fixed;
  left: 0;
  top: 65%;
  transform: translateY(-50%);
  background: #ffffff;
  display: flex;
  align-items: center;
  padding: 10px 15px;
  border-radius: 0 30px 30px 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  z-index: 9999;
  transition: 0.3s ease;
}

.sticky-download img {
  width: 35px;
  height: 35px;
  margin-right: 10px;
}

.sticky-download span {
  font-size: 14px;
  font-weight: 600;
  color: #007bff;
  white-space: nowrap;
}

.sticky-download:hover {
  background: #007bff;
}

.sticky-download:hover span {
  color: #fff;
}

/* Two containers of the contents and the images  */
.two-column-section {
  padding: 80px 20px;
  background: #f8fafc;
}

.container-fluid {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 50px;
}

/* LEFT SIDE */
.left-content {
  flex: 1;
}

.left-content h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #1e293b;
}

.left-content p {
  color: #555;
  line-height: 1.7;
}

.more-text {
  display: none;
  margin-top: 10px;
}

.toggle-btn {
  margin-top: 15px;
  padding: 10px 20px;
  background: linear-gradient(135deg, #4f46e5, #06b6d4);
  border: none;
  color: white;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: 0.3s;
}

.toggle-btn:hover {
  opacity: 0.9;
}

/* RIGHT SIDE */
.right-image {
  flex: 1;
}

.image-wrapper {
  position: relative;
  display: inline-block;
}

.main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 30px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
  transition: transform 0.4s ease;
}

.main-img:hover {
  transform: scale(1.04);
}
.circle-img {
  position: absolute;
  bottom: -40px;
  left: 30px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 5px solid white;
  object-fit: cover;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
  .container-fluid {
    flex-direction: column;
    text-align: center;
  }

  .circle-img {
    left: 50%;
    transform: translateX(-50%);
  }
}

/* Two containers images on the lefft side and the contents on the right side styling */
/* ===== SECTION BASE ===== */
#fe-protection-section {
  padding: 90px 20px;
  background: linear-gradient(135deg, #f8fafc, #eef2f7);
}

.fe-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 60px;
}

/* ===== IMAGE COLUMN ===== */
.fe-image-column {
  flex: 1;
}

.fe-image-wrapper {
  position: relative;
  width: 100%;
  height: 480px;
}

.fe-main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 30px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
  transition: transform 0.4s ease;
}

.fe-main-image:hover {
  transform: scale(1.04);
}

/* Circle Image */
.fe-circle-badge {
  position: absolute;
  bottom: -45px;
  right: 40px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 6px solid #ffffff;
  object-fit: cover;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* ===== CONTENT COLUMN ===== */
.fe-content-column {
  flex: 1;
}

.fe-heading {
  font-size: 36px;
  margin-bottom: 20px;
  color: #0f172a;
}

.fe-intro-text {
  font-size: 17px;
  line-height: 1.7;
  color: #475569;
}

/* Hidden expandable content */
.fe-hidden-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-height 0.6s ease,
    opacity 0.4s ease;
}

.fe-hidden-content.active {
  max-height: 250px;
  opacity: 1;
  margin-top: 15px;
}

/* Button */
.fe-toggle-button {
  margin-top: 25px;
  padding: 14px 32px;
  border: none;
  border-radius: 40px;
  background: linear-gradient(135deg, #2563eb, #0ea5e9);
  color: #ffffff;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.fe-toggle-button:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .fe-container {
    flex-direction: column;
    text-align: center;
  }

  .fe-image-wrapper {
    height: 380px;
  }

  .fe-circle-badge {
    right: 50%;
    transform: translateX(50%);
  }

  .fe-heading {
    font-size: 28px;
  }
}

/* Section 3 styling of two containers */
.two-column-modern {
  padding: 80px 20px;
  background: #f1f5f9;
}

.container-modern {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 50px;
}

.modern-content h2 {
  font-size: 30px;
  margin-bottom: 20px;
}

.extra-text-modern {
  display: none;
  margin-top: 10px;
}

.modern-btn {
  margin-top: 15px;
  padding: 10px 25px;
  border-radius: 30px;
  border: none;
  background: linear-gradient(135deg, #06b6d4, #4f46e5);
  color: white;
  cursor: pointer;
}

.modern-wrapper {
  position: relative;
}

.modern-main {
  width: 500px;
  height: 400px;
  object-fit: cover;
  border-radius: 30px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
  transition: transform 0.4s ease;
}

.modern-main:hover {
  transform: scale(1.04);
}

.modern-circle {
  position: absolute;
  bottom: -35px;
  right: 30px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 5px solid white;
}

/* Responsive */
@media (max-width: 768px) {
  .container-modern {
    flex-direction: column;
    text-align: center;
  }

  .modern-circle {
    right: 50%;
    transform: translateX(50%);
  }
  .modern-main {
    width: 90vw;
  }
}

/* Testemonial about final expense section styling */
/* ============================================================
   TESTIMONIAL SECTION — Slider CSS (Mobile 1 | Tablet 2 | Desktop 4)
   ============================================================ */

@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=DM+Sans:wght@300;400;500&display=swap");

:root {
  --ts-navy: #0d1b2a;
  --ts-navy-mid: #162032;
  --ts-navy-card: #1a2840;
  --ts-gold: #c9a84c;
  --ts-gold-light: #e8c96a;
  --ts-gold-dim: rgba(201, 168, 76, 0.15);
  --ts-white: #ffffff;
  --ts-muted: #8a99ad;
  --ts-border: rgba(201, 168, 76, 0.18);
  --ts-radius: 20px;
  --ts-transition: 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ── Section ──────────────────────────────────────────── */

.testimonial-section {
  background: var(--ts-navy);
  padding: 90px 0 100px;
  font-family: "DM Sans", sans-serif;
  overflow: hidden;
  position: relative;
}

.testimonial-section::before {
  content: "";
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(
    ellipse,
    rgba(201, 168, 76, 0.07) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.testimonial-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Section Title ────────────────────────────────────── */

.testimonial-section .section-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 700;
  color: var(--ts-white);
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
  line-height: 1.25;
  position: relative;
}

.testimonial-section .section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--ts-gold), var(--ts-gold-light));
  border-radius: 2px;
  margin: 18px auto 0;
}

/* ── Slider Wrapper ───────────────────────────────────── */

.slider-outer {
  position: relative;
}

.slider-viewport {
  overflow: hidden;
  border-radius: var(--ts-radius);
}

.testimonial-slider {
  display: flex;
  gap: 22px;
  transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}

/* ── Testimonial Card ─────────────────────────────────── */

.testimonial-card {
  background: var(--ts-navy-card);
  border: 1px solid var(--ts-border);
  border-radius: var(--ts-radius);
  padding: 36px 28px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  transition:
    transform var(--ts-transition),
    box-shadow var(--ts-transition),
    border-color var(--ts-transition);

  /* width set via JS based on slides-per-view */
}

.testimonial-card::before {
  content: "\201C";
  font-family: "Playfair Display", serif;
  font-size: 130px;
  line-height: 1;
  color: var(--ts-gold-dim);
  position: absolute;
  top: -10px;
  left: 18px;
  pointer-events: none;
  transition: color var(--ts-transition);
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  border-color: rgba(201, 168, 76, 0.45);
}

.testimonial-card:hover::before {
  color: rgba(201, 168, 76, 0.25);
}

.testimonial-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--ts-gold), transparent);
  border-radius: var(--ts-radius) var(--ts-radius) 0 0;
  opacity: 0;
  transition: opacity var(--ts-transition);
}

.testimonial-card:hover::after {
  opacity: 1;
}

/* ── Stars ────────────────────────────────────────────── */

.testimonial-stars {
  color: var(--ts-gold);
  font-size: 15px;
  letter-spacing: 2px;
  margin-bottom: -6px;
}

/* ── Quote Text ───────────────────────────────────────── */

.testimonial-text {
  font-size: 15px;
  font-weight: 300;
  color: #c8d6e5;
  line-height: 1.75;
  position: relative;
  z-index: 1;
  flex: 1;
  padding-top: 20px;
}

/* ── Author Block ─────────────────────────────────────── */

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.testimonial-author img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--ts-gold);
  box-shadow: 0 0 0 4px rgba(201, 168, 76, 0.12);
  flex-shrink: 0;
  transition:
    box-shadow var(--ts-transition),
    transform var(--ts-transition);
}

.testimonial-card:hover .testimonial-author img {
  box-shadow: 0 0 0 6px rgba(201, 168, 76, 0.22);
  transform: scale(1.05);
}

.testimonial-author h4 {
  font-size: 15px;
  font-weight: 500;
  color: var(--ts-white);
  margin-bottom: 3px;
  letter-spacing: 0.2px;
}

.testimonial-author span {
  font-size: 12.5px;
  font-weight: 400;
  color: var(--ts-gold);
  letter-spacing: 0.4px;
}

/* ── Navigation Arrows ────────────────────────────────── */

.slider-arrows {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 36px;
}

.slider-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--ts-border);
  background: var(--ts-navy-card);
  color: var(--ts-gold);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    background var(--ts-transition),
    border-color var(--ts-transition),
    transform var(--ts-transition),
    color var(--ts-transition);
  user-select: none;
  outline: none;
}

.slider-arrow:hover:not(:disabled) {
  background: var(--ts-gold);
  border-color: var(--ts-gold);
  color: var(--ts-navy);
  transform: scale(1.08);
}

.slider-arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  transform: none;
}

/* ── Dots ─────────────────────────────────────────────── */

.slider-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.25);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
  outline: none;
}

.slider-dot.active {
  background: var(--ts-gold);
  width: 24px;
  border-radius: 4px;
}

/* ── Responsive ───────────────────────────────────────── */

@media (max-width: 640px) {
  .testimonial-section {
    padding: 56px 0 64px;
  }

  .testimonial-section .section-title {
    margin-bottom: 40px;
  }

  .testimonial-card {
    padding: 30px 22px 24px;
  }

  .testimonial-card:hover {
    transform: translateY(-4px);
  }
}

@media (max-width: 380px) {
  .testimonial-section .container {
    padding: 0 16px;
  }

  .testimonial-text {
    font-size: 14px;
  }

  .testimonial-author img {
    width: 44px;
    height: 44px;
  }
}
