/*Elements shared across all sections*/
html,
body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  overflow-x: hidden;
  font-family: "Lato" !important;
}

h1,
h2,
h3 {
  font-family: "Lato", sans-serif !important;
  font-weight: 700 !important;
  color: #0c6631 !important;
}

h1 {
  font-size: 48px !important;
  margin: 20px 0 !important;
}

h2 {
  font-size: 36px !important;
}

p {
  font-family: "Lato", sans-serif !important;
  font-weight: 400 !important;
  color: #2e2e2e !important;
}

.heading {
  margin: 0px 0px 12px;
}

.subheading {
  width: 40%;
  margin: 0px;
}

/* Orange Button to be used across site */
.orange-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 50px 0 30px;
  padding: 13px 20px;
  background: #f3b344;
  color: white;
  font-family: "Lato" !important;
  font-size: 20px !important;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.3s ease;
  text-decoration: none;
}

.orange-outline-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 50px 0 30px;
  padding: 13px 20px;
  color: #f3b344;
  background-color: rgba(243, 179, 68, 0.05);
  font-family: "Lato" !important;
  font-size: 20px !important;
  border-radius: 12px;
  border: 1px solid #f3b344;
  cursor: pointer;
  transition: background 0.3s ease;
  text-decoration: none;
}

.orange-button:hover {
  background: #d98f21;
}

.orange-outline-button:hover {
  color: #f3b344;
  background: rgba(217, 143, 33, 0.4);
}

/* Navigation Bar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 50px;
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-logo-img {
  height: 120px;
  width: auto;
  margin: -35px 0;
}

.nav-buttons {
  display: flex;
  align-items: center;
  gap: 15px;
}

.nav-quote-btn {
  padding: 10px 20px;
  background-color: transparent;
  color: #0c6631;
  font-family: "Lato", sans-serif;
  font-size: 16px;
  font-weight: 600;
  border: 2px solid #0c6631;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.nav-quote-btn:hover {
  background-color: #0c6631;
  color: white;
}

.nav-call-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background-color: #f3b344;
  color: white;
  font-family: "Lato", sans-serif;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.nav-call-btn:hover {
  background-color: #d98f21;
}

/* Top Header Global Container */
.hero-section {
  display: flex;
  justify-content: space-around;
  gap: 10px;
  padding: 20px 50px 0 50px;
  max-width: 85%;
  min-height: 80vh;
  background: linear-gradient(to bottom, #e8f5ea 0%, #f8eed6 30%, #fcd9de 100%);
  border-radius: 25px;
  box-sizing: border-box;
  margin: 40px auto 0px;
  overflow: hidden;
}

/* header Content Section */
.hero-content {
  max-width: 50%;
  text-align: left;
  gap: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.hero-content h1 {
  opacity: 0;
  animation: 750ms ease 1 slideInFromRight-fadeIn forwards;
}

.hero-content .hero-subheading {
  opacity: 0;
  animation: 750ms ease 1 slideInFromRight-fadeIn forwards;
}

.hero-content p {
  font-size: 20px !important;
  margin: 0;
}

.hero-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ffb703;
  font-size: 1.5rem !important;
  margin-bottom: 20px;
  opacity: 0;
  animation: 750ms ease 1 slideInFromRight-fadeIn forwards;
}

.hero-rating img {
  width: 20%;
}

.hero-section .orange-button {
  opacity: 0;
  animation: 750ms ease 1 slideInFromRight-fadeIn forwards;
}

.orange-button img {
  width: 24px;
  height: 24px;
  display: inline-block;
}

/* Features Section */
.features {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 1rem; /* Reduce gap for tighter spacing */
  margin: 20px 0; /* Adjust spacing above features section */
  font-size: 16px !important;
  text-align: center;
  max-width: 500px;
  opacity: 0;
  animation: 750ms ease 1 slideInFromBottom-fadeIn forwards;
}

.features.mobile {
  display: none;
}

.features .one,
.features .two,
.features .three {
  flex: 1 calc(33.333% - 10px);
}

.features .line {
  width: 1px; /* Line thickness */
  height: 50px; /* Adjust line height relative to content */
  background-color: #949494; /* Line color */
}

.features h3 {
  color: #2e2e2e !important;
  font-size: 24px !important;
  margin: 0 !important; /* Remove any default margins */
}

.features p {
  margin: 0 !important; /* Remove default margin for better alignment */
  line-height: 1.5 !important; /* Improve text readability */
}

.hero-image {
  max-width: 100%;
  height: auto;
  max-height: 500px;
  border-radius: 10px;
  align-self: flex-end;
  animation: 750ms ease-in 0s 1 fadeInOpacity;
}

/* Company Review Section */
.review-section {
  display: flex;
  flex-wrap: wrap;
  gap: 64px;
  justify-content: center;
  margin-left: 2.5rem;
  align-items: flex-start;
  padding: 16px 16px 0;
  box-sizing: border-box;
  margin-top: 64px;
}

.review-card {
  position: relative;
  display: flex;
  align-items: center;
  background: #fff8e6;
  border-radius: 16px;
  padding: 16px 24px;
  width: 100% !important;
  max-width: 300px !important;
  gap: 16px;
  overflow: visible;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.review-logo-wrapper {
  position: relative;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: -72px;
  z-index: 1;
  box-shadow: 0 0 0 6px #ffffff;
}

.review-logo-wrapper img {
  width: 80px;
  height: 80px;
  padding: 10px;
  border-radius: 50%;
}

.review-logo1,
.review-logo2,
.review-logo3 {
  width: 80px;
  height: 80px;
}

.review-logo1 img {
  background-color: #effcf1;
}

.review-logo2 img {
  background-color: #daf3ff;
}

.review-logo3 img {
  background-color: #ffe7e5;
}

.review-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
  z-index: 2;
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  font-size: 17px;
  color: #333;
}

.review-rating {
  font-size: 14px;
  color: #4b4b4b;
  font-weight: 600;
  margin-left: 3rem;
}

.review-stars {
  color: #f5a623;
  font-size: 24px;
  margin: 4px 0;
}

.review-text {
  font-size: 12px;
  color: #666;
}

.navigation-dots {
  display: none;
}

/*Partners Sections*/
.partners-section {
  text-align: center;
  padding: 0;
  background-color: #fff;
  margin: 100px 0;
}

.partners-section h3 {
  font-size: 1.5rem !important;
  color: #0c6631; /* Matches the primary theme */
  margin-bottom: 20px;
  font-weight: 600;
}

.partners-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.partners-logos img {
  max-width: 100%;
  height: auto;
  width: 100%; /* Adjust width for responsiveness */
  max-width: 800px; /* Ensure it doesn’t exceed container width */
  object-fit: contain;
}

.scroll-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding-top: 24px;
}

.logo-track {
  display: flex;
  gap: 100px; /* Adjust spacing between logos */
}

.logo-track img {
  height: 48px; /* Adjust logo size */
  width: auto;
  object-fit: contain;
  background-color: transparent;
}

/* Peace of Mind caption / benefit cards */
.trusted-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px 0 0 0;
  padding: 100px;
  box-sizing: border-box;
  max-width: 100%; /* Ensure it doesn't exceed the viewport width */
  margin: 0 auto; /* Center the section */
  background-color: #fff8e6;
}

.text-container {
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 54px;
}

.test-text-container {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 54px;
  padding: 0 20px;
}

.image-wrapper {
  position: relative; /* Ensure the caption stays positioned relative to the wrapper */
  flex: 1 1 40%;
  max-width: 50%;
  margin: 0 auto;
  text-align: center; /* Center the image horizontally without using flex */
}

.image-wrapper img {
  display: inline-block; /* Ensure the image respects the text-align property */
  max-width: 400px;
  min-width: 40%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.image-caption {
  position: absolute;
  top: 10%; /* Center vertically */
  left: 50%; /* Center horizontally */
  transform: translate(-50%, -50%); /* Adjust for the exact center */
  color: #fff;
  font-size: 22px;
  text-align: center;
  border-radius: 8px; /* Optional: Rounded corners for the caption */
  width: 100%;
}

.card-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Default: Two columns */
  gap: 40px;
  flex: 1 1 55%;
  max-width: 70%; /* Prevent overflow */
  box-sizing: border-box; /* Include padding and borders in width */
  margin-top: auto;
  margin-bottom: auto;
  justify-content: flex-start !important;
}

.info-card {
  position: relative; /* Important for pseudo-element positioning */
  border-radius: 24px;
  padding: 36px 40px;
  gap: 0px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: left;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden; /* Ensure the background doesn't overflow the card */
  z-index: 0; /* Ensure content is above the background */
}

.info-card1 {
  background: linear-gradient(to bottom right, #d5ffdc 80%, #ccf8db 20%);
}

.info-card2 {
  background: linear-gradient(to bottom right, #ffe9a8 80%, #fcdca1 20%);
}
.info-card3 {
  background: linear-gradient(to bottom right, #ffd8cf 80%, #ffc6bd 20%);
}

.info-card4 {
  background: linear-gradient(to bottom right, #ffd4ad 80%, #fcc6ac 20%);
}

.info-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.info-card-header h3 {
  font-size: 1.25rem;
  color: #333 !important;
  margin: 0;
  flex: 1;
}

.icon-wrapper {
  width: 48px;
  height: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
}

.icon-wrapper {
  font-size: 44px;
}

.icon-wrapper img {
  width: 48px;
  height: 48px;
}

.info-card p {
  font-size: 1rem;
  color: #495057;
  margin: 0;
}

/*Burial Insurance Section*/
.insurance-section {
  margin-top: 100px;
  display: flex;
  justify-content: space-between;
  padding-left: 5%;
  background-color: #fffae8;
  height: 350px;
  overflow: hidden;
  position: relative;
}

.text-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 50%;
}

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

.button-text.desktop {
  display: flex;
  align-items: center;
  gap: 10px;
}

.button-text.mobile {
  display: none;
}

.insurance-pic {
  width: 375px;
  align-self: flex-end;
  z-index: 2;
  display: flex;
}

.insurance-pic img {
  width: 100%;
  height: auto;
}

.ring {
  border: 1px solid #f9ecc1;
  border-radius: 50%;
  width: 600px;
  height: 600px;
  position: absolute;
  top: -100px;
  right: -150px;
}

.circle {
  background-color: #f9ecc1;
  width: 540px;
  height: 540px;
  border-radius: 50%;
  position: absolute;
  top: -75px;
  right: -150px;
}

.profile-pics {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 40px;
  position: absolute;
  right: 385px;
  width: 110px;
  height: 100%;
}

.profile-pics img {
  height: 80px;
  width: 80px;
}

.profile-pics .left {
  align-self: flex-start;
}

/* Features Table */
.table-section {
  padding: 100px;
}

.insurance-options {
  display: none;
}

.table-container {
  margin: 0px auto;
  text-align: center;
}

.comparison-table {
  width: 100%;
  height: 100%; /*Set to allow divs to fill entire table cell regardless of content size*/
  border-spacing: 0;
  border-collapse: separate;
  background-color: #fff;
  table-layout: fixed;
  font-weight: 600;
  font-size: 14px;
}

.comparison-table .mobile-inactive {
  display: table-cell;
}

.comparison-table .desktop-none {
  display: none;
}

tbody tr {
  height: 60px; /* Set a consistent height for all rows */
}

.table-headings {
  background-color: #f6fff6;
  height: 100px;
  padding: 0;
  font-size: 18px;
  font-weight: 600;
  color: #0c4624;
  border-top: none;
}

.header-text {
  animation: fadeInOpacity 1.5s ease-in;
}

th.col1 {
  vertical-align: bottom;
}

thead th {
  border: 1px solid #ddd;
  padding: 0 2%;
  vertical-align: middle;
}

tbody td {
  border: 1px solid #ddd;
  padding: 0;
  vertical-align: middle;
}

/*Rounding table corners*/
thead th:first-child {
  border-top-left-radius: 20px;
}

thead th:last-child {
  border-top-right-radius: 20px;
}

tbody tr:last-child td:first-child {
  border-bottom-left-radius: 20px;
}

tbody tr:last-child td:last-child {
  border-bottom-right-radius: 20px;
}

/*Change background color for every odd row*/
tbody tr:nth-child(odd) {
  background-color: #f9f9f9;
}

/*Highlight the second column*/
.highlight {
  background-color: rgba(12, 102, 49, 0.1);
  width: 80%;
  height: 100%;
  margin: 0px auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

/*Change which row highlight container ends*/
.highlight.top.top-desktop {
  display: block;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  height: 90%;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 0);
}

.highlight.top.top-mobile {
  display: block;
  height: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
  left: 50%;
  transform: translate(-50%, 0);
}

.highlight.bottom {
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  height: 90%;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, 0);
}

.col2-header {
  margin: 0 auto;
  width: 80%;
}

.comparison-table .col1 {
  text-align: left;
  padding-left: 20px;
}

.comparison-table img {
  font-size: 30px;
  animation: fadeInOpacity 1.5s ease-in;
}

.tbl-key {
  display: flex;
  justify-content: flex-end;
  gap: 15px;
}

.tbl-key img {
  font-size: 20px;
  padding-right: 5px;
}

.tbl-key p {
  display: flex;
  align-items: center;
}

/* Form Section */
.form-section {
  padding: 0px 100px 100px;
}

.form-section .text-container.small {
  display: none;
}

.form-container {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 10px;
  padding: 50px 30px 0px 30px;
  width: 100%;
  background: linear-gradient(
    to bottom,
    #c8f7d385 0%,
    #f7d4879f 50%,
    #f892a194 100%
  );
  border-radius: 25px;
  box-sizing: border-box;
  margin: 0 auto;
}

.form-content-desktop {
  flex: 1 1 300px;
  max-width: 50%;
  display: flex;
  flex-direction: column; /* Stack content vertically */
  justify-content: space-between; /* Push content to the bottom */
  text-align: center;
  padding-top: 50px;
}

.form-content-mobile {
  display: none;
}

.form-section img {
  max-width: 100%;
  height: auto;
  margin-top: 20px;
  align-self: flex-end; /* Ensure the image aligns at the bottom */
}

.form-image {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1 1 300px;
  width: 100%;
}

/* Testimonial Section */
.test-section {
  background-color: #fff8e6;
  padding: 80px 0px 100px;
}

.moving-cards {
  background-color: #fffae8;
  padding-top: 60px;
  padding-bottom: 15px;
}

.families {
  color: var(--New-primary, #0c6631);
  text-align: center;
}

.families h3 {
  color: var(--New-primary, #0c6631);
  text-align: center;
  font-family: Lato; /* Ensure Lato font is imported if used */
  font-size: 36px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.families p {
  color: var(--Neutral-600, #4b4b4b);
  text-align: center;
  font-family: Lato;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.testimonial-section {
  overflow: hidden;
  padding: 20px 0;
  position: relative;
}

#testimonial-section-1 {
  margin-bottom: 52px;
}

.marquee {
  display: flex;
  gap: 80px;
  white-space: nowrap;
  will-change: transform;
  position: relative;
}

.testimonial-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 24px;
  padding: 20px 24px !important;
  width: 408px !important;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: left;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.testimonial-card .logo {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 24px;
  height: 24px;
}

.testimonial-card h3 {
  font-size: 14px !important;
  color: #0c6631;
  margin-bottom: 5px;
  font-weight: 600;
}

.testimonial-card p {
  font-size: 14px !important;
  color: #8e8e8e;
  margin: 5px 0 !important;
  line-height: 1.5;
  text-wrap: pretty;
}

.starinfo {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #e0e0e0;
  height: auto;
  margin-top: 10px;
}

.testimonial-card span {
  font-size: 16px !important;
  color: #ffa500;
  display: block;
}

.testimonial-card .date {
  font-size: 14px !important;
  color: #888 !important;
}

/* Blurred Edge Effects */
.testimonial-section::before,
.testimonial-section::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0; /* Adjust width of the blur effect */
  z-index: 1;
  pointer-events: none;
}

.testimonial-section::before {
  left: 0;
  background: linear-gradient(
    to right,
    rgba(249, 249, 249, 1),
    rgba(249, 249, 249, 0)
  );
}

.testimonial-section::after {
  right: 0;
  background: linear-gradient(
    to left,
    rgba(249, 249, 249, 1),
    rgba(249, 249, 249, 0)
  );
}

/*bento articles*/
.insights-section {
  display: flex;
  flex-direction: column;
}

.wholelink {
  border: none !important;
  text-decoration: none !important;
}

.benefits {
  padding: 100px;
}

.giraffe-grid {
  display: grid;
  width: 100%;
  max-width: 1200px;
  gap: 16px;
  font-family: "M PLUS 2 Variable", sans-serif;
  grid-template-columns: repeat(3, 1fr);
}

.lion-item {
  grid-column: span 2;
  grid-row: span 2;
}

.zebra-item {
  grid-row: span 2;
}

.giraffe-grid a {
  position: relative;
  display: flex;
  align-items: stretch;
  height: 100%;
}
.lion-item,
.panda-item,
.zebra-item,
.koala-item,
.tiger-item {
  transition: opacity 1s ease;
}

.lion-item a,
.panda-item a,
.zebra-item a,
.koala-item a,
.tiger-item a {
  box-shadow: inset 0px -115px 50px -50px black;
  border-radius: 28px;
}

.lion-item img {
  max-height: 400px;
}

.lion-item img,
.panda-item img,
.zebra-item img,
.koala-item img,
.tiger-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 28px;
  z-index: -1;
}

.text-overlay {
  position: absolute;
  bottom: 24px;
  left: 24px;
  color: #fff !important;
  z-index: 2;
  max-width: 80%;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6); /* readability */
}
.text-overlay h3 {
  margin: 0 0 4px;
  font-size: 20px;
  color: #fff !important;
}
.text-overlay p {
  margin: 0;
  font-size: 14px;
  color: white !important;
  display: inline;
}

/*Why Section*/
.why-section {
  padding: 100px 20px;
  margin: 0 auto; /* Center the section */
}

.cards-image {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}

.why-cards {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
}

.why-card-row {
  display: flex;
  justify-content: space-between;
  gap: 32px;
}

.why-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding: 24px;
  border-radius: 24px;
  background-color: #fffae8;
  min-height: 165px;
  max-width: 300px;
  width: 100%;
  font-size: 18px !important;
}

.why-image {
  max-width: 415px;
}

.why-image img {
  width: 100%;
  height: auto;
}

/* Articles Section */
.articles-section {
  padding: 100px 25px;
  background-color: #fffae8;
  margin: 0 auto;
  font-family: lato, sans-serif !important;
}

.articles-container {
  display: flex;
  flex-wrap: wrap;
  gap: 54px;
  justify-content: center;
  align-items: stretch;
  margin: 0px auto 54px;
  max-width: 1280px;
}

.article-card {
  flex: 1 1 calc(33.333% - 10px); /* 3 cards per row on larger screens */
  max-width: 364px;
  background-color: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  cursor: pointer;
}

.article-image {
  position: relative;
}
.article-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.badge-green,
.badge-yellow {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 2px 10px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.badge-green {
  background-color: #156b4b; /* Green */
}

.badge-yellow {
  background-color: #f3b344; /* Yellow */
}

.article-content {
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.article-title {
  font-size: 20px !important;
  font-weight: bold;
  margin: 0 0 10px;
  color: #000 !important;
}

.article-date,
.read-time {
  font-size: 14px;
  color: #666;
  margin: 0;
}

.article-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

/* Read Button */
.article-link {
  position: relative;
  overflow: hidden; /* Hide the pseudo-element outside the button */
  display: inline-flex;
  align-items: center;
  text-decoration: none !important;
  font-weight: bold;
  color: #156b4b;
  font-size: 14px !important;
  border: 1px solid black;
  border-radius: 24px;
  padding: 6px 12px;
  transition: color 0.3s ease, border-color 0.3s ease;
  background-color: transparent;
  z-index: 1; /* Ensures text stays on top */
}

.before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0; /* Start with no width */
  height: 100%;
  background-color: #f3b344; /* Yellow background */
  transition: width 0.3s ease; /* Animation effect */
  z-index: -1; /* Puts the background below the text */
}

.green-outline-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 25px 0 10px;
  padding: 10px 24px;
  color: #0c6631;
  background-color: inherit;
  font-family: "Lato" !important;
  font-weight: 700;
  font-size: 20px;
  border-radius: 24px;
  border: 1px solid #0c6631;
  cursor: pointer;
  transition: background 0.3s ease;
  text-decoration: none;
}

.green-outline-button:hover {
  background: rgba(12, 102, 49, 0.4);
  color: #0c6631;
}

a {
  text-decoration: none;
}

.btn-article {
  display: flex;
  justify-content: center;
}

/*Contact Banner Section*/
.contact-banner {
  width: 100%;
  max-width: 1280px;
  margin: 100px auto;
  border-radius: 24px;
  background-color: #fffae8;
}

.contact-banner h3 {
  font-size: 36px !important;
  font-weight: 700;
  color: #156b4b;
  margin: 0;
  display: flex;
}

.contact-banner-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 48px;
  box-sizing: border-box;
}

.contact-info-div {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}

.contact-info {
  display: flex;
  align-items: center;
  gap: 24px;
}

.contact-banner-left p {
  margin: 0;
  font-size: 20px !important;
  color: #4b4b4b !important;
}

.contact-banner-right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-self: stretch;
  min-width: 457px;
}

.contact-banner-right .row-1 {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 40px;
}

.contact-banner-right .row-2 {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 32px;
}

.contact-banner-right .stats {
  display: flex;
  gap: 32px;
}

.contact-banner-right .photos {
  min-width: 147px;
}

.contact-banner-right img {
  height: 54px;
  width: auto;
  margin-right: -20px;
}

.contact-banner-right p {
  margin: 0;
  font-size: 16px !important;
  color: #4b4b4b !important;
}

.contact-banner-right button {
  margin: 0 !important;
}

/*Responsive styles for 1225 breakpoint*/
@media (max-width: 1225px) {
  .text-container {
    margin-bottom: 24px !important;
  }

  .subheading {
    width: 75% !important;
  }

  .trusted-section {
    flex-direction: column; /* Stack the image and cards vertically */
    align-items: center;
    text-align: center;
  }

  .card-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Two columns */
    gap: 24px;
    padding: 0 20px; /* Add padding to avoid cards sticking to edges */
    justify-content: center;
    min-width: 100%;
  }

  .info-card {
    width: 100%; /* Ensure the cards take up full width of their grid cell */
    min-width: auto; /* Prevent cards from shrinking too much */
    box-sizing: border-box; /* Include padding in width calculation */
  }

  .image-wrapper {
    margin: 0 auto 24px auto; /* Add spacing below the image */
    width: 100%;
    max-width: 400px;
  }

  .image-caption {
    padding: 0;
    text-wrap: none;
    width: 100%;
  }

  .contact-banner {
    border-radius: 0px;
  }
}

/* Responsive Styles for 1024 break*/
@media (max-width: 1024px) {
  .hero-section {
    flex-direction: column;
    max-width: 100%;
    border-radius: 0px;
    margin-top: 0px;
  }

  .hero-content {
    padding: 20px 0px;
    text-align: center;
    max-width: 100%;
    margin-top: 0px;
  }

  .hero-rating {
    display: flex;
    justify-content: center;
    align-items: center !important;
    gap: 10px;
    color: #ffb703;
    font-size: 24px;
    margin-bottom: 20px;
  }

  .features.mobile {
    display: flex;
    justify-content: space-around;
    gap: 1rem; /* Reduce gap for tighter spacing */
    margin: 20px auto 0; /* Adjust spacing above features section */
    padding: 20px 16px 0;
    max-width: 600px;
  }

  .features h3 {
    font-size: 20px !important;
  }

  .features p {
    font-size: 16px !important;
  }

  .features .two {
    max-width: 75px;
  }

  .features .one,
  .features .three {
    max-width: 100px;
  }

  .features.desktop {
    display: none;
  }

  .orange-button {
    padding: 12px 28px;
    font-size: 16px !important;
    margin: 30px auto 0;
  }

  .orange-button img {
    width: 16px;
    height: 16px;
    display: inline-block;
  }

  .orange-outline-button {
    padding: 12px 28px;
    font-size: 16px !important;
    margin: 30px auto 0;
  }

  .green-outline-button {
    font-size: 16px !important;
    margin: 25px 0 15px;
  }

  .hero-image {
    align-self: center;
    max-height: 400px;
  }

  .partners-section {
    margin: 54px 0;
  }

  .logo-track {
    gap: 80px; /* Reduce spacing */
  }

  .logo-track img {
    height: 36px; /* Adjust logo size */
  }

  .trusted-section {
    padding: 54px; /* Adjust padding */
  }

  .form-link {
    margin-top: 16px;
  }

  .insurance-section {
    height: 300px;
    margin-top: 54px;
  }

  .text-left {
    width: 55%;
  }

  .button-text.desktop {
    display: none;
  }

  .button-text.mobile {
    display: block;
  }

  .insurance-pic {
    width: 300px;
    margin-right: -20px;
  }

  .ring {
    top: -150px;
    right: -290px;
  }

  .circle {
    top: -125px;
    right: -280px;
  }

  .profile-pics {
    right: 260px;
    width: 90px;
    gap: 30px;
  }

  .profile-pics img {
    height: 70px;
    width: 70px;
  }

  .table-section {
    padding: 54px;
  }

  .form-section {
    padding: 0px 0px 54px;
  }

  .form-section .text-container.small {
    display: block;
  }

  .form-section .text-container.large {
    display: none;
  }

  .form-container {
    flex-direction: column; /* Stack the image and cards vertically */
    align-items: center;
    text-align: center;
    padding: 54px 54px 0px; /* Adjust padding */
    border-radius: 0px;
  }

  .form-content-desktop {
    display: none;
  }

  .form-content-mobile {
    flex: 1 1 300px;
    width: 100%;
    display: flex;
    flex-direction: column; /* Stack content vertically */
    justify-content: flex-end; /* Push content to the bottom */
    text-align: center;
    align-items: center;
  }

  .form-image {
    height: 650px !important;
  }

  .form-section img {
    max-width: 50%;
    margin-top: 0px;
    align-self: center; /* Ensure the image aligns at the bottom */
  }

  .test-section {
    padding: 54px 0px;
  }

  .benefits {
    padding: 54px;
  }

  .text-overlay h3 {
    font-size: 18px !important;
  }

  .why-section {
    padding: 54px;
  }
  .cards-image {
    flex-direction: column-reverse;
    gap: 24px;
  }

  .articles-section {
    padding: 54px 24px;
  }

  .articles-container {
    gap: 32px !important; /* Adjust spacing between cards */
  }

  .contact-banner {
    margin: 54px auto;
  }

  .contact-banner-content {
    padding: 48px 24px;
  }

  .contact-banner h3 {
    font-size: 28px !important;
  }

  .contact-info {
    gap: 16px;
  }

  .contact-banner-right {
    min-width: 406px;
  }

  .contact-banner-right .row-1 {
    gap: 20px;
  }

  .contact-banner-right .stats {
    gap: 20px;
  }

  .contact-banner-right img {
    height: 45px;
    margin-right: -15px;
  }
}

/*Responsive Styles for 768 break point*/
@media (max-width: 768px) {
  .navbar {
    padding: 5px 15px;
  }

  .nav-logo-img {
    height: 110px;
    margin: -32px 0;
  }

  .nav-buttons {
    gap: 10px;
  }

  .nav-quote-btn,
  .nav-call-btn {
    padding: 8px 12px;
    font-size: 14px;
    min-width: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .nav-call-btn .call-text {
    display: none;
  }

  .hero-content h1 {
    opacity: 100%;
    animation: none;
  }

  .hero-content .hero-subheading {
    opacity: 100%;
    animation: none;
  }

  .hero-rating {
    opacity: 100%;
    animation: none;
  }

  .hero-section .orange-button {
    opacity: 100%;
    animation: none;
  }

  .hero-image {
    animation: none;
  }

  .features {
    opacity: 100%;
    animation: none;
  }

  h1 {
    font-size: 36px !important;
    margin: 0 0;
    color: #0c6631 !important;
  }
  h2 {
    font-size: 24px !important;
  }
  .subheading {
    font-size: 16px !important;
    width: 100% !important;
  }

  .icon-wrapper {
    width: 40px;
    height: 40px;
  }

  .card-container {
    display: flex;
    flex-direction: column; /* Stack cards vertically */
    padding: 0;
  }

  .info-card {
    width: 100%; /* Cards take full width */
    padding: 20px; /* Add padding for readability */
  }

  .info-card-header h3 {
    font-size: 1.5rem;
  }

  .image-caption {
    padding: 0;
    text-wrap: none;
    width: 100%;
  }

  .partners-logos img {
    width: 100%; /* Full width for smaller screens */
  }

  .review-section {
    display: flex;
    flex-direction: column; /* Stack cards vertically */
    align-items: center; /* Center align cards */
    margin-top: 40px;
  }

  .review-card {
    display: none; /* Hide all cards by default */
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out; /* Smooth slide animation */
    opacity: 0;
  }

  .review-card.active {
    display: flex; /* Show only the active card */
    opacity: 1; /* Make the active card visible */
  }

  .navigation-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
  }

  .dot {
    width: 12px !important;
    height: 12px !important;
    background-color: #ccc; /* Default dot color */
    border: none;
    border-radius: 100%;
    cursor: pointer;
    transition: background-color 0.3s ease;
    padding: 0;
  }

  .dot.active {
    background-color: #0c6631; /* Highlight active dot */
  }

  .dot:hover {
    background-color: #096029; /* Slightly darker on hover */
  }

  .insurance-section {
    margin-top: 54px;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 54px 54px 0;
    height: 100%;
    gap: 200px;
  }

  .text-left {
    width: 100%;
    text-align: center;
  }

  .buttons {
    flex-direction: column;
    gap: 0;
  }

  .insurance-pic {
    width: 325px;
    align-self: center;
    margin-right: 0;
  }

  .profile-pics {
    flex-direction: row;
    align-items: center;
    gap: 75px;
    height: 140px;
    top: 45%;
    left: 50%;
    transform: translateX(-50%);
  }

  .ring {
    height: 520px;
    width: 520px;
    top: 50%;
    left: 50%;
    transform: translateX(-50%);
  }

  .circle {
    height: 450px;
    width: 450px;
    top: 55%;
    left: 50%;
    transform: translateX(-50%);
  }

  .form-link {
    font-size: 16px !important;
    padding: 8px 16px;
  }

  .insurance-options {
    background-color: rgba(245, 245, 245, 1);
    border-radius: 18px;
    border: 1px solid rgba(234, 234, 234, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    padding: 4px 8px !important;
    margin-bottom: 16px;
  }

  .insurance-option {
    text-align: center;
    font-size: 14px !important;
    line-height: 1;
    text-wrap: wrap;
    padding: 8px 10px !important;
    width: calc(100% / 3);
    max-width: 100px;
    border-radius: 20px;
    border: none;
  }

  .insurance-option.clicked {
    background: var(--Primary-700, #3b8057);
    box-shadow: 0 4px 10px rgba(10, 19, 9, 0.12);
    color: var(--White, #fff);
  }

  .insurance-option.unclicked {
    color: var(--Neutral-500, #8e8e8e);
    border: none;
    background-color: rgba(245, 245, 245, 1);
  }

  .comparison-table .mobile-inactive {
    display: none;
  }

  .comparison-table .mobile-active {
    display: table-cell;
  }

  .comparison-table .mobile-active.yellow {
    color: #c28927;
  }

  /*Rounding table corners*/
  thead th.mobile-active {
    border-top-right-radius: 20px;
  }

  tbody tr:last-child td.mobile-active {
    border-bottom-right-radius: 20px;
  }

  /*Removing table heading borders*/
  thead th:first-child {
    border-right: none;
  }

  thead th:nth-child(2) {
    border-left: none;
    border-right: none;
  }

  thead th.mobile-active {
    border-left: none;
  }

  th.col1 {
    vertical-align: middle;
  }

  .col2-header {
    width: 100%;
  }

  .highlight.top.top-desktop {
    display: none;
  }

  .highlight.top.top-mobile {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    height: 90%;
    transform: translate(-50%, 0);
  }

  .form-section img {
    max-width: 75%;
  }

  .image img {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1 1 300px;
    margin-top: auto;
  }

  .testimonial-card {
    min-width: 20%;
    max-width: 320px;
  }

  .marquee {
    gap: 20px;
  }

  .testimonial-section::before,
  .testimonial-section::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 1;
    pointer-events: none;
  }

  #testimonial-section-2 {
    display: none;
  }

  .comparison-table .col1 {
    padding-left: 10px;
  }

  .giraffe-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 1fr;
  }
  .lion-item {
    grid-column: span 2;
    grid-row: span 2;
  }
  .zebra-item,
  .panda-item,
  .zebra-item,
  .koala-item,
  .tiger-item {
    grid-column: span 2;
    grid-row: span 1;
  }

  .zebra-item a,
  .panda-item a,
  .zebra-item a,
  .koala-item a,
  .tiger-item a {
    box-shadow: none;
  }
}

/* ============================================
   THANK YOU PAGE STYLES
   ============================================ */

.thank-you-section {
  max-width: 600px;
  margin: 0 auto;
  padding: 40px 20px;
  text-align: center;
}

.thank-you-header h1 {
  font-size: 32px;
  margin-bottom: 5px;
}

.thank-you-header h2 {
  font-size: 28px;
  margin-top: 0;
}

.highlight-name {
  color: #0c6631;
}

/* Benefits Card */
.benefits-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f0f9f0;
  border: 2px solid #0c6631;
  border-radius: 16px;
  padding: 25px 30px;
  margin: 30px 0;
}

.benefits-info {
  text-align: left;
}

.benefits-title {
  font-weight: 700;
  color: #2e2e2e !important;
  margin-bottom: 15px;
}

.benefits-details {
  display: flex;
  gap: 40px;
}

.benefit-item {
  display: flex;
  flex-direction: column;
}

.benefit-amount {
  font-size: 32px;
  font-weight: 700;
  color: #0c6631;
}

.benefit-amount sup {
  font-size: 16px;
}

.benefit-label {
  font-size: 14px;
  color: #666;
}

.application-id {
  font-size: 12px;
  color: #888 !important;
  margin-top: 10px;
}

.qr-section {
  text-align: center;
}

.qr-section p {
  font-size: 12px;
  margin-top: 8px;
}

.qr-placeholder {
  width: 120px;
  height: 120px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qr-code {
  width: 110px;
  height: 110px;
}

/* CTA Button */
.cta-call-button {
  display: block;
  background: #0c6631;
  color: white;
  text-decoration: none;
  border-radius: 12px;
  padding: 15px 30px;
  margin: 20px 0;
  transition: background 0.3s ease;
}

.cta-call-button:hover {
  background: #094d25;
}

.cta-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 600;
}

.cta-number {
  font-size: 24px;
  font-weight: 700;
  margin-top: 5px;
}

/* Timer */
.offer-timer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 25px 0;
}

.offer-timer p {
  margin: 0;
  font-size: 14px;
}

.timer-box {
  background: #f0f9f0;
  border: 1px solid #0c6631;
  border-radius: 6px;
  padding: 5px 15px;
  font-weight: 700;
  color: #0c6631;
}

/* Next Steps */
.next-steps {
  margin: 40px 0;
}

.next-steps h3 {
  font-size: 20px;
  margin-bottom: 25px;
}

.steps-container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.step {
  flex: 1;
  text-align: center;
}

.step-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
}

.step-icon-1,
.step-icon-2 {
  background: #fff8e6;
}

.step-icon-3 {
  background: #e8f5ea;
}

.step p {
  font-size: 13px;
  margin: 0;
}

/* Trustpilot Card */
.trustpilot-card {
  background: #f0f9f0;
  border-radius: 16px;
  padding: 25px;
  margin: 30px 0;
}

.trustpilot-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.trustpilot-star {
  color: #00b67a;
  font-size: 20px;
}

.trustpilot-text {
  font-weight: 700;
  font-size: 18px;
}

.trustpilot-rating {
  background: #00b67a;
  padding: 5px 10px;
  border-radius: 4px;
}

.trustpilot-rating .star {
  color: white;
  font-size: 16px;
}

.benefits-list {
  text-align: left;
}

.benefit-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}

.benefit-check {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.benefit-check span {
  font-size: 14px;
  color: #2e2e2e;
}

/* Thank You Partners */
.thank-you-partners {
  background: #fff;
  padding: 30px 0;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

/* Desktop/Mobile visibility */
.desktop-only {
  display: block;
}

.mobile-timer {
  display: none;
}

.desktop-timer {
  display: flex;
}

.cta-mobile-text {
  display: none;
}

.cta-desktop-text {
  display: inline;
}

/* Secondary CTA Button */
.cta-secondary-button {
  display: block;
  background: #f3b344;
  color: white;
  text-decoration: none;
  border-radius: 12px;
  padding: 15px 30px;
  margin: 15px 0;
  font-weight: 600;
  font-size: 16px;
  transition: background 0.3s ease;
}

.cta-secondary-button:hover {
  background: #d98f21;
}

/* Agents Available */
.agents-available {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 15px;
  font-size: 14px;
  color: #666;
}

.green-dot {
  width: 10px;
  height: 10px;
  background: #0c6631;
  border-radius: 50%;
}

/* Benefits list single column layout */
.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.benefit-check svg {
  flex-shrink: 0;
  margin-top: 2px;
}

/* Thank You Page Mobile Styles */
@media (max-width: 768px) {
  .desktop-only {
    display: none !important;
  }

  .mobile-timer {
    display: flex;
    margin-top: 15px;
  }

  .desktop-timer {
    display: none;
  }

  .cta-mobile-text {
    display: inline;
  }

  .cta-desktop-text {
    display: none;
  }

  .thank-you-header h1 {
    font-size: 26px;
  }

  .thank-you-header h2 {
    font-size: 22px;
  }

  .benefits-card {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }

  .benefits-info {
    text-align: center;
  }

  .benefits-details {
    justify-content: center;
  }

  .steps-container {
    flex-direction: column;
    gap: 15px;
  }

  .step {
    display: flex;
    align-items: center;
    text-align: left;
    gap: 12px;
  }

  .step-icon {
    margin: 0;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
  }

  .step p {
    margin: 0;
  }

  .offer-timer {
    flex-direction: row;
    gap: 10px;
  }

  .lion-item img {
    max-height: 100%;
  }
  .panda-item img,
  .zebra-item img,
  .koala-item img,
  .tiger-item img {
    width: 50%;
    height: 100%;
    border-radius: 20px;
  }

  .text-overlay {
    position: absolute;
    bottom: 16px;
    left: 16px;
  }

  .text-overlay.mobile {
    position: static;
    margin: auto 0;
    padding: 0 10px;
    text-shadow: none;
  }

  .text-overlay.mobile h3 {
    color: var(--Black-2, #2e2e2e) !important;
  }
  .text-overlay.mobile p {
    color: var(--Black-2, #2e2e2e) !important;
  }

  .text-overlay.mobile span {
    color: var(--Black-2, #2e2e2e) !important;
  }

  .why-card-row {
    flex-direction: column;
    gap: 24px;
  }

  .why-card-row.last {
    display: none;
  }

  .why-card {
    font-size: 16px !important;
    width: initial;
    min-height: 145px;
  }

  .articles-container {
    flex-direction: column; /* Stack cards vertically */
    justify-content: center;
    gap: 32px; /* Adjust spacing between cards */
  }

  .article-card {
    flex: 1 1 100%; /* Full width for single column */
    margin: 0 auto;
    width: 90% !important;
  }

  .article-content {
    padding: 1rem; /* Adjust padding for smaller screens */
  }

  .article-title {
    font-size: 18px !important; /* Adjust title size for readability */
  }

  .article-link {
    display: none;
    padding: 2px 6px; /* Adjust button padding */
    font-size: 13px !important;
  }

  .article-date,
  .read-time {
    font-size: 14px !important;
    color: #666 !important;
    margin: 0;
    padding: 0;
  }

  .contact-banner {
    margin: 54px 16px;
    border-radius: 24px;
    width: initial;
  }

  .contact-banner-content {
    padding: 32px;
    flex-direction: column;
    gap: 54px;
  }

  .contact-banner-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .contact-banner-right {
    min-width: 0;
    gap: 32px;
  }

  .contact-banner-right .row-1 {
    flex-direction: column;
  }

  .contact-banner-right .stats {
    flex-direction: row-reverse;
  }

  .contact-banner-right .row-2 {
    flex-direction: column;
    gap: 24px;
  }
}

/*Responsive Styles for 480 breakpoint*/
@media (max-width: 480px) {
  .hero-section {
    padding: 20px 16px 0px;
  }
  h1 {
    font-size: 24px !important;
    margin: 0px 0px 10px;
  }

  .hero-rating {
    gap: 10px;
    font-size: 24px !important;
    margin-bottom: 20px;
  }

  .hero-content p {
    padding: 0px;
    margin: 0;
    font-size: 16px !important;
  }

  .orange-button {
    padding: 10px 24px !important;
    font-size: 16px !important;
  }

  .orange-outline-button {
    padding: 10px 24px !important;
    font-size: 16px !important;
  }

  .features.mobile {
    padding: 10px;
  }

  .features h3 {
    font-size: 16px !important;
  }

  .features p {
    font-size: 14px !important;
  }

  .info-card {
    padding: 15px;
  }

  .review-section {
    display: flex;
    flex-direction: column; /* Stack cards vertically */
    align-items: center; /* Center align cards */
  }

  .review-card {
    display: none; /* Hide all cards by default */
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out; /* Smooth slide animation */
    opacity: 0;
  }

  .review-card.active {
    display: flex; /* Show only the active card */
    opacity: 1; /* Make the active card visible */
  }

  .navigation-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
  }

  .dot {
    width: 12px;
    height: 12px;
    background-color: #ccc; /* Default dot color */
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }

  .dot.active {
    background-color: #0c6631; /* Highlight active dot */
  }

  .dot:hover {
    background-color: #096029; /* Slightly darker on hover */
  }

  .logo-track {
    gap: 40px; /* Tighter spacing for mobile */
  }
  .logo-track img {
    height: 30px; /* Smaller logos for mobile */
  }

  .trusted-section {
    padding: 40px 16px; /* Adjust padding */
  }

  .insurance-section {
    padding: 40px 16px 0;
  }

  .info-card {
    padding: 20px 24px 20px 24px;
    font-size: 1rem; /* Reduce font size for mobile */
  }

  .info-card-header h3 {
    font-size: 20px;
  }

  .icon-wrapper {
    width: 32px;
    height: 32px;
  }

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

  .info-card p {
    font-size: 16px;
    padding: 0;
  }

  .image-wrapper img {
    max-width: 100%;
  }

  .image-caption {
    padding: 6px 0 0 12px;
    font-size: 20px !important;
    text-align: left;
    text-wrap: none;
    width: 80%;
  }

  .table-section {
    padding: 54px 16px;
  }

  .table-headings {
    font-size: 14px !important;
    height: 60px;
  }

  .comparison-table .mobile-inactive {
    display: none;
  }

  .comparison-table .col1 {
    padding-left: 5px;
  }

  .comparison-table img {
    font-size: 20px;
  }

  .tbl-key {
    justify-content: space-around;
    font-size: 14px !important;
  }

  .form-container {
    padding: 54px 16px 0px;
  }

  .form-section img {
    max-width: 100%;
  }

  .benefits {
    padding: 54px 16px;
  }

  .why-section {
    padding: 40px 16px;
  }

  .text-overlay.mobile span {
    display: none;
  }

  .text-overlay.mobile h3 {
    font-size: 16px !important;
  }

  .text-overlay.mobile p {
    font-size: 14px !important;
    display: block;
    color: var(--Black-2, #2e2e2e);
  }

  .contact-banner h3 {
    font-size: 24px !important;
  }

  .contact-banner-left p {
    font-size: 16px !important;
  }
}

@media (max-width: 375px) {
  .profile-pics {
    gap: 50px;
    height: 120px;
  }
}

/*Keyframes*/
@keyframes fadeInOpacity {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes slideInFromRight-fadeIn {
  0% {
    transform: translateX(25px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInFromBottom-fadeIn {
  0% {
    transform: translateY(25px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}
