:root {
  --color-primary-gradient: linear-gradient(90deg, #3a9396 0%, #de9266 100%);
  --color-secondary-gradient: linear-gradient(90deg, #368f90 0%, #415b82 100%);
  --text-primary: #000000;
  --text-secondary: #747373;
  --text-light: #ffffff;
  --bg-main: #ebebeb;
  --bg-card: #efefef;
  --bg-accent: #d9d9d9;
  --font-primary:
    "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-georgia: "serifFont", "serifFont Fallback", Times, Georgia, serif;
  --font-secondary: "serifFont", "serifFont Fallback", Times, Georgia, serif;

  /* Base font size for rem calculations */
  --base-font-size: 16px;

  /* Spacing scale */
  --spacing-xs: 0.25rem;
  /* 4px */
  --spacing-sm: 0.5rem;
  /* 8px */
  --spacing-md: 1rem;
  /* 16px */
  --spacing-lg: 1.5rem;
  /* 24px */
  --spacing-xl: 2rem;
  /* 32px */
  --spacing-2xl: 3rem;
  /* 48px */
  --spacing-3xl: 4rem;
  /* 64px */

  /* Border radius scale */
  --radius-sm: 0.25rem;
  /* 4px */
  --radius-md: 0.5rem;
  /* 8px */
  --radius-lg: 0.625rem;
  /* 10px */

  /* Container max width */
  --container-max-width: 52.75rem;
  /* 844px */

  /* Responsive breakpoints */
  --breakpoint-mobile: 30rem;
  /* 480px */
  --breakpoint-tablet: 48rem;
  /* 768px */
  --breakpoint-desktop: 64rem;
  /* 1024px */
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  line-height: 2;
  font-family: var(--font-primary);
  font-size: var(--base-font-size);
  background-color: var(--bg-main);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1rem, 6vw, 4rem);
  padding-right: clamp(1rem, 6vw, 4rem);
  position: relative;
  width: 100%;
  box-sizing: border-box;
}

/* Bootstrap integration improvements */
.btn {
  border-radius: var(--radius-sm);
  font-weight: 500;
  transition: all 0.2s ease;
}

.btn:focus {
  box-shadow: 0 0 0 0.2rem rgba(58, 147, 150, 0.25);
}

.carousel-item {
  transition: transform 0.6s ease-in-out;
}

.carousel-control-prev,
.carousel-control-next {
  width: 5%;
}

.accordion-button:not(.collapsed) {
  background-color: rgba(58, 147, 150, 0.1);
  color: #3a9396;
}

.accordion-button:focus {
  box-shadow: 0 0 0 0.25rem rgba(58, 147, 150, 0.25);
}

section {
  position: relative;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
}

h1,
h2,
h3,
p {
  margin: 0;
  line-height: 1.3;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-header {
  padding-top: var(--spacing-xs);
  padding-bottom: var(--spacing-xs);
  background-color: rgba(255, 255, 255, 0);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* background-color: #368f90; */
  height: 2.75rem;
  min-height: 2.75rem;
  padding-top: 1rem;
  /* padding-bottom: 0.5rem; */
}

.logo {
  position: relative;
  flex-shrink: 0;
}

.logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo-decoration {
  position: absolute;
  left: calc(50% - 1.844rem);
  bottom: -0.625rem;
  width: 3.688rem;
  height: 0.813rem;
}

.main-nav ul {
  display: flex;
  gap: var(--spacing-sm);
  align-items: center;
}

.main-nav li a {
  font-family: var(--font-primary);
  font-size: 1rem;
  color: var(--text-primary);
  padding: var(--spacing-xs);
  transition: color 0.2s ease;
  text-decoration: none;
}

.main-nav li a:hover {
  color: #3a9396;
}

.login-btn {
  display: flex;
  align-items: center;
  /* padding: 0.75rem 1.5rem; */
  font-size: 1rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  text-decoration: none;
  /* display: inline-flex; */
  justify-content: center;
  min-width: 7rem;
  height: 2.5rem;
}

.login-btn.btn-primary {
  background: var(--color-primary-gradient);
  border: none;
  color: white;
}

.login-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(58, 147, 150, 0.3);
}

@media (max-width: var(--breakpoint-tablet)) {
  .main-nav {
    display: none;
    /* Hide nav on mobile, would need JS for a hamburger menu */
  }

  .header-container {
    justify-content: space-between;
    height: 2.5rem;
    min-height: 2.5rem;
  }

  .logo {
    margin-left: 0;
    width: 4rem;
    height: 1rem;
  }
}

@media (max-width: var(--breakpoint-mobile)) {
  .header-container {
    height: 2.25rem;
    min-height: 2.25rem;
  }

  .logo {
    width: 3.5rem;
    height: 0.875rem;
  }
}

.hero-section {
  padding-top: var(--spacing-2xl);
  padding-bottom: 3.563rem;
  min-height: 50vh;
}

.dots-bg {
  position: absolute;
  z-index: -1;
  pointer-events: none;
  opacity: 0.6;
}

.dots-bg-1 {
  width: 33.25rem;
  height: 25.563rem;
  left: -18.125rem;
  top: 21.25rem;
  transform: rotate(158.86deg);
}

.dots-bg-2 {
  width: 33.25rem;
  height: 25.563rem;
  right: -15.625rem;
  top: 2.5rem;
  transform: rotate(-21.14deg);
}

.hero-content {
  position: relative;
}

.hero-title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: var(--spacing-md);
}

.hero-buttons {
  display: flex;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-lg);
}

.hero-btn {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4rem;
  height: 2.5rem;
}

.hero-btn.btn-primary {
  background: var(--color-primary-gradient);
  border: none;
  color: white;
}

.hero-btn.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(58, 147, 150, 0.3);
  color: white;
}

.hero-btn.btn-outline-secondary {
  border: 2px solid #de9266;
  background: transparent;
  color: #de9266;
}

.hero-btn.btn-outline-secondary:hover {
  background-color: rgba(222, 146, 102, 0.1);
  transform: translateY(-2px);
  color: #de9266;
}

.hero-decorative-box {
  position: absolute;
  top: -0.5rem;
  right: 0;
  width: 22.5rem;
  height: 7.5rem;
  /* background: var(--color-secondary-gradient); */
  border-radius: var(--radius-sm);
  opacity: 0.8;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.carousel-inner {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-sm);
}

.carousel-item img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}

.deco-dot-1 {
  position: absolute;
  bottom: -0.5rem;
  left: 8.375rem;
  width: 0.25rem;
  height: 0.25rem;
}

.deco-dot-2 {
  position: absolute;
  bottom: -0.5rem;
  left: 8.875rem;
  width: 0.5rem;
  height: 0.25rem;
  background-color: #3a9396;
  border-radius: var(--radius-sm);
}

.insurance-card {
  width: auto;
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow:
    0.563rem 0.188rem 1.25rem 0px rgba(0, 0, 0, 0.1),
    2.188rem 0.75rem 2.313rem 0px rgba(0, 0, 0, 0.09),
    4.875rem 1.75rem 3.125rem 0px rgba(0, 0, 0, 0.05),
    8.625rem 3.063rem 3.688rem 0px rgba(0, 0, 0, 0.01),
    13.5rem 4.813rem 4rem 0px rgba(0, 0, 0, 0);
  /* padding: 1.563rem 2.188rem; */
  box-sizing: border-box;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(6rem, 1fr));
  gap: 1rem;
  align-items: start;
}

.insurance-item {
  position: relative;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 400;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  transition:
    transform 0.2s ease,
    background-color 0.2s ease;
}

.insurance-item:hover {
  transform: translateY(-2px);
  background-color: #3fccce2d;
  border-radius: var(--radius-lg);
}

.insurance-item img {
  display: block;
  width: 4.5rem;
  height: 4.5rem;
  object-fit: contain;
}

.item-car {
  grid-column: 1;
  grid-row: 1;
}

.item-car .item-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3.938rem;
  background-color: rgba(63, 204, 206, 0.13);
  border-radius: var(--radius-lg);
  z-index: 0;
}

.item-car img {
  position: relative;
  z-index: 1;
  width: 4.5rem;
  height: 4.5rem;
}

.item-car p {
  position: relative;
  z-index: 1;
  color: #212529;
}
.text-decoration-none {
  color: #212529;
  text-decoration: none;
}

.item-bike {
  grid-column: 2;
  grid-row: 1;
}

.item-term {
  grid-column: 3;
  grid-row: 1;
}

.item-family {
  grid-column: 4;
  grid-row: 1;
}

.item-home {
  grid-column: 5;
  grid-row: 1;
}

.item-business {
  grid-column: 1;
  grid-row: 2;
}

.item-health {
  grid-column: 2;
  grid-row: 2;
}

@media (max-width: var(--breakpoint-tablet)) {
  .hero-section {
    padding-top: var(--spacing-xl);
    padding-bottom: var(--spacing-xl);
    min-height: 40vh;
  }

  .hero-decorative-box {
    position: static;
    width: 100%;
    height: 12rem;
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
  }

  .hero-buttons {
    flex-direction: column;
    gap: var(--spacing-md);
    align-items: flex-start;
  }

  .hero-btn {
    width: 100%;
    max-width: 12rem;
  }

  .dots-bg-1,
  .dots-bg-2 {
    display: none;
  }

  .insurance-card {
    width: 100%;
    min-height: auto;
    padding: var(--spacing-md);
    grid-template-columns: repeat(auto-fit, minmax(6rem, 1fr));
    gap: var(--spacing-md);
  }

  .insurance-item {
    position: static;
    font-size: 0.75rem;
  }

  .item-car .item-bg {
    display: none;
  }
}

@media (max-width: var(--breakpoint-mobile)) {
  .hero-section {
    padding-top: var(--spacing-lg);
    padding-bottom: var(--spacing-lg);
    min-height: 35vh;
  }

  .insurance-card {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-sm);
    padding: var(--spacing-sm);
  }

  .insurance-item {
    font-size: 0.7rem;
    min-height: 5rem;
  }

  .insurance-item img {
    width: 4rem;
    height: 4rem;
  }
}

.benefits-section {
  padding-top: 3.563rem;
  padding-bottom: 4.625rem;
}

.benefits-title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 600;
  text-align: center;
  margin-bottom: var(--spacing-sm);
}

.benefits-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 2.438rem;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11.688rem, 1fr));
  gap: 2.25rem;
  margin-bottom: 2.25rem;
  justify-items: center;
}

.benefit-card {
  width: 24rem;
  min-height: 10.125rem;
  /* background-color: var(--bg-card); */
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  text-align: center;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
}

/* .benefit-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    } */

.benefit-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-xs);
  font-size: 2rem;
  margin-bottom: var(--spacing-xs);
}

.benefit-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--spacing-xs);
}

.benefit-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.4;
  margin: 0;
}

.benefits-divider {
  border: none;
  border-top: 1px solid #d7d1d1;
  margin: 0;
  width: 100%;
}

.benefits-modern {
  background:
    radial-gradient(circle at 14% 10%, rgba(58, 147, 150, 0.12) 0%, rgba(58, 147, 150, 0) 42%),
    radial-gradient(circle at 88% 92%, rgba(222, 146, 102, 0.14) 0%, rgba(222, 146, 102, 0) 42%),
    #f7fbfb;
}

.benefits-shell {
  position: relative;
  border-radius: 1.25rem;
  border: 1px solid rgba(58, 147, 150, 0.14);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(2px);
  padding: clamp(1.25rem, 3vw, 2.5rem);
}

.benefits-bg-orb {
  position: absolute;
  z-index: 0;
  width: 12rem;
  height: 12rem;
  border-radius: 999px;
  filter: blur(35px);
  pointer-events: none;
  opacity: 0.45;
}

.benefits-bg-orb-left {
  top: -3rem;
  left: -3rem;
  background: rgba(58, 147, 150, 0.6);
}

.benefits-bg-orb-right {
  right: -4rem;
  bottom: -4rem;
  background: rgba(222, 146, 102, 0.55);
}

.benefits-shell > * {
  position: relative;
  z-index: 1;
}

.benefits-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #1f6f71;
  background: rgba(58, 147, 150, 0.14);
}

.benefits-lead {
  max-width: 38rem;
  color: #53666f;
  line-height: 1.75;
}

.benefits-grid-modern {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.benefit-item {
  position: relative;
  border-radius: 1rem;
  border: 1px solid rgba(58, 147, 150, 0.14);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.98) 0%, rgba(245, 251, 251, 0.95) 100%);
  padding: 1.1rem 1rem;
  box-shadow: 0 10px 26px rgba(31, 111, 113, 0.08);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.benefit-item:hover {
  transform: translateY(-6px) scale(1.01);
  border-color: rgba(58, 147, 150, 0.32);
  box-shadow: 0 16px 30px rgba(31, 111, 113, 0.16);
}

.benefit-icon-wrap {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, rgba(58, 147, 150, 0.18), rgba(222, 146, 102, 0.2));
  transition: transform 0.35s ease;
}

.benefit-item:hover .benefit-icon-wrap {
  transform: rotate(-5deg) scale(1.08);
}

.benefit-item h3 {
  font-size: 1.02rem;
  font-weight: 600;
  margin-bottom: 0.45rem;
  color: #1f3136;
}

.benefit-item p {
  font-size: 0.92rem;
  line-height: 1.58;
  color: #4f616a;
  margin: 0;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.benefits-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13.188rem, 1fr));
  gap: 1.438rem;
  margin-top: 1.75rem;
}

.stat-item {
  min-height: 2.125rem;
  /* background-color: var(--bg-accent); */
  width: 16rem;
  height: 8rem;
  border-radius: var(--radius-sm);
  padding: var(--spacing-md);
  text-align: center;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--spacing-xs);
  overflow: hidden;
}

.stat-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

/* .stat-item:hover {
      transform: translateY(-2px);
      background-color: rgba(217, 217, 217, 0.8);
    }
     */
.stat-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: #3a9396;
  line-height: 1.2;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 500;
}

@media (max-width: var(--breakpoint-tablet)) {
  .benefits-section {
    padding-top: var(--spacing-xl);
    padding-bottom: var(--spacing-xl);
  }

  .benefits-grid {
    grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr));
    gap: var(--spacing-lg);
  }

  .benefits-stats {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }

  .benefit-card {
    width: 100%;
    max-width: 15.625rem;
    height: 8rem;
  }

  .benefits-grid-modern {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stat-item {
    width: 100%;
    max-width: 20rem;
    height: 6rem;
  }
}

@media (max-width: var(--breakpoint-mobile)) {
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }

  .benefit-card {
    height: 6rem;
  }

  .benefits-shell {
    padding: 1rem;
  }

  .benefits-grid-modern {
    grid-template-columns: 1fr;
  }

  .benefits-lead {
    line-height: 1.55;
  }
}

@media (prefers-reduced-motion: reduce) {
  .benefit-item,
  .benefit-icon-wrap,
  .reveal-on-scroll {
    transition: none;
  }

  .reveal-on-scroll {
    opacity: 1;
    transform: none;
  }
}

.why-choose-section {
  position: relative;
  background-color: var(--bg-card);
  padding-top: 3.125rem;
  /* padding-bottom: 3.125rem; */
  min-height: 16.188rem;
}

.why-choose-bg {
  /* position: absolute; */
  bottom: 0;
  left: 0;
  width: 100%;
  height: auto;
  z-index: -1;
  object-fit: cover;
}

.why-choose-container {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  min-height: 16.188rem;
}

.why-choose-text {
  flex: 1;
  min-width: 0;
}

.why-choose-text h2 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 600;
  line-height: 1.3;
  max-width: 20rem;
  margin-bottom: var(--spacing-xl);
}

.why-choose-content {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.why-choose-item {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-md);
}

.why-choose-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  width: 2rem;
  text-align: center;
}

.why-choose-desc h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--spacing-xs);
}

.why-choose-desc p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.4;
  margin: 0;
}

.why-choose-illustration {
  display: none;
}

@media (max-width: var(--breakpoint-tablet)) {
  .why-choose-section {
    padding-top: var(--spacing-xl);
    padding-bottom: var(--spacing-xl);
    min-height: auto;
  }

  .why-choose-container {
    flex-direction: column;
    text-align: center;
    gap: var(--spacing-lg);
    min-height: auto;
  }

  .why-choose-text h2 {
    max-width: none;
    margin-bottom: var(--spacing-lg);
    text-align: center;
  }

  .why-choose-content {
    gap: var(--spacing-md);
  }

  .why-choose-item {
    flex-direction: column;
    text-align: center;
    gap: var(--spacing-sm);
  }

  .why-choose-illustration {
    width: min(20rem, 60vw);
    height: min(17rem, 30vh);
  }
}

@media (max-width: var(--breakpoint-mobile)) {
  .why-choose-illustration {
    width: min(15rem, 80vw);
    height: min(12rem, 25vh);
  }
}

.partners-section {
  padding-top: 5.125rem;
  padding-bottom: 5.125rem;
}

.partners-title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 600;
  text-align: center;
  letter-spacing: 0.03rem;
  margin-bottom: var(--spacing-xs);
}

.partners-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 2.875rem;
  max-width: 30rem;
  margin-left: auto;
  margin-right: auto;
}

.partners-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--spacing-md);
  flex-wrap: wrap;
  max-width: 100%;
  overflow-x: auto;
}

/* Auto-scrolling partners scroller */
.partners-scroller {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 0 var(--spacing-md);
}

.scroller-track {
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
  animation: partners-scroll-x 30s linear infinite;
  will-change: transform;
}

.partners-scroller:hover .scroller-track {
  animation-play-state: paused;
}

.partners-scroller .logo-item {
  height: 3.5rem;
  width: auto;
  flex: 0 0 auto;
  filter: saturate(0.9);
  opacity: 0.95;
}

@keyframes partners-scroll-x {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.logo-item {
  position: relative;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.logo-item:hover {
  transform: scale(1.05);
}

.logo-icici {
  width: 9.375rem;
  height: 2.273rem;
}

.logo-new-india {
  width: 4.375rem;
  height: 3.5rem;
}

.logo-tata {
  width: 7.438rem;
  height: 3.438rem;
}

.logo-hdfc {
  width: 8.188rem;
  height: 2.438rem;
}

.logo-shriram {
  width: 9.375rem;
  height: 3.864rem;
}

.carousel-arrow {
  cursor: pointer;
  transition: transform 0.2s ease;
}

.carousel-arrow:hover {
  transform: scale(1.1);
}

.prev {
  width: 0.4rem;
  height: 0.269rem;
}

.next {
  width: 1.25rem;
  height: 1.269rem;
}

@media (max-width: var(--breakpoint-tablet)) {
  .partners-section {
    padding-top: var(--spacing-xl);
    padding-bottom: var(--spacing-xl);
  }

  .partners-logos {
    gap: var(--spacing-sm);
    justify-content: flex-start;
    padding: 0 var(--spacing-sm);
  }

  .partners-scroller {
    padding: 0 var(--spacing-sm);
  }

  .partners-scroller .logo-item {
    height: 2rem;
  }

  .logo-icici {
    width: 7rem;
    height: 1.7rem;
  }

  .logo-new-india {
    width: 3.5rem;
    height: 2.8rem;
  }

  .logo-tata {
    width: 6rem;
    height: 2.8rem;
  }

  .logo-hdfc {
    width: 6.5rem;
    height: 1.9rem;
  }

  .logo-shriram {
    width: 7rem;
    height: 2.9rem;
  }
}

@media (max-width: var(--breakpoint-mobile)) {
  .partners-logos {
    gap: var(--spacing-xs);
  }

  .partners-scroller .logo-item {
    height: 1.5rem;
  }

  .logo-icici {
    width: 5.5rem;
    height: 1.3rem;
  }

  .logo-new-india {
    width: 2.8rem;
    height: 2.2rem;
  }

  .logo-tata {
    width: 4.8rem;
    height: 2.2rem;
  }

  .logo-hdfc {
    width: 5.2rem;
    height: 1.5rem;
  }

  .logo-shriram {
    width: 5.5rem;
    height: 2.3rem;
  }
}

.faq-section {
  padding-bottom: 13.75rem;
  padding-top: var(--spacing-xl);
}

.faq-container {
  display: flex;
  gap: 1.875rem;
  align-items: flex-start;
}

.faq-accordion {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  max-width: 19.375rem;
}

.faq-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--bg-accent);
  padding: var(--spacing-sm) var(--spacing-md) var(--spacing-sm)
    var(--spacing-sm);
  border-radius: var(--radius-sm);
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
  cursor: pointer;
}

.faq-item:hover {
  background-color: rgba(217, 217, 217, 0.8);
  transform: translateY(-1px);
}

.faq-item:first-child {
  min-height: 5.625rem;
}

.faq-item:not(:first-child) {
  min-height: 2.813rem;
}

/* FAQ accordion visibility */
.faq-answer {
  display: none;
  margin-top: var(--spacing-xs);
  color: var(--text-secondary);
}

.faq-item.open .faq-answer {
  display: block;
}

.faq-content {
  flex-grow: 1;
  font-size: 0.875rem;
}

.faq-icon {
  font-size: 1.5rem;
  font-weight: 600;
  color: #3a9396;
  transition: transform 0.2s ease;
}

.faq-item:hover .faq-icon {
  transform: scale(1.1);
}

.faq-title-wrapper {
  flex: 1;
  padding-top: var(--spacing-xs);
}

.faq-title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 600;
  line-height: 1.3;
}

@media (max-width: var(--breakpoint-tablet)) {
  .faq-section {
    padding-bottom: 8rem;
    padding-top: var(--spacing-lg);
  }

  .faq-container {
    flex-direction: column;
    gap: var(--spacing-lg);
  }

  .faq-accordion {
    order: 2;
    width: 100%;
    max-width: none;
  }

  .faq-title-wrapper {
    order: 1;
    text-align: center;
    width: 100%;
    margin-bottom: var(--spacing-md);
  }

  .faq-item {
    padding: var(--spacing-sm);
  }

  .faq-item:first-child {
    min-height: 4rem;
  }

  .faq-item:not(:first-child) {
    min-height: 2.5rem;
  }
}

@media (max-width: var(--breakpoint-mobile)) {
  .faq-section {
    padding-bottom: 6rem;
  }

  .faq-item {
    padding: var(--spacing-xs) var(--spacing-sm);
  }

  .faq-item:first-child {
    min-height: 3.5rem;
  }

  .faq-item:not(:first-child) {
    min-height: 2rem;
  }
}

.site-footer {
  position: relative;
  padding-top: 6.938rem;
  padding-bottom: 1.938rem;
  color: #d9d9d9;
}

.footer-bg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: auto;
  z-index: -1;
  object-fit: cover;
}

.footer-container {
  position: relative;
  z-index: 1;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 clamp(1rem, 6vw, 4rem);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-md);
}

.footer-column {
  font-size: 1rem;
  line-height: 1.3;
}

.footer-column h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: var(--spacing-xs);
}

.legal-info {
  width: 13.125rem;
  flex-shrink: 0;
}

.contact-info {
  width: 11.5rem;
  font-size: 1rem;
  line-height: 1.3;
  flex-shrink: 0;
}

.contact-info a {
  display: block;
  text-decoration: underline;
  margin-top: var(--spacing-xs);
  transition: color 0.2s ease;
}

.contact-info a:hover {
  color: #3a9396;
}

.social-links {
  display: flex;
  gap: var(--spacing-md);
  align-self: flex-start;
}

.social-links a {
  transition: transform 0.2s ease;
}

.social-links a:hover {
  transform: scale(1.1);
}

.social-links a img {
  width: 1.5rem;
  height: 1.5rem;
}

.footer-divider {
  border: none;
  border-top: 0.5px solid #d7d1d1;
  margin: 0 auto var(--spacing-sm);
  width: calc(100% - 9.375rem);
}

.copyright {
  text-align: center;
  font-size: 1rem;
  color: #efefef;
}

@media (max-width: var(--breakpoint-tablet)) {
  .site-footer {
    padding-top: 5rem;
    padding-bottom: var(--spacing-lg);
  }

  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.875rem;
  }

  .legal-info,
  .contact-info {
    width: 100%;
    max-width: 20rem;
  }

  .social-links {
    order: -1;
    width: 100%;
    justify-content: center;
  }

  .footer-divider {
    width: 80%;
  }
}

@media (max-width: var(--breakpoint-mobile)) {
  .site-footer {
    padding-top: 4rem;
    padding-bottom: var(--spacing-md);
  }

  .footer-content {
    gap: var(--spacing-lg);
  }

  .legal-info,
  .contact-info {
    max-width: 18rem;
  }

  .footer-column {
    font-size: 0.875rem;
  }

  .footer-column h4 {
    font-size: 0.875rem;
  }
}

.insurance-box {
  background: linear-gradient(135deg, #90c9c1, #e3a682);
  border-radius: 12px;
  padding: 30px;
  color: #fff;
}

.insurance-box input {
  border-radius: 6px;
}

.insurance-box .btn-check-price {
  background-color: #f18c5e;
  color: #fff;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  padding: 10px 20px;
  width: 50%;
}

.insurance-box .btn-check-price:hover {
  background-color: #e27847;
}

/* Wizard Modal Styles */
.wizard-step {
  display: none;
}

.wizard-step.active {
  display: block;
}

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

.step-indicator:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 15px;
  right: -50%;
  width: 100%;
  height: 2px;
  background-color: #dee2e6;
  z-index: 1;
}

.step-indicator.active:not(:last-child)::after {
  background-color: #0d6efd;
}

.step-number {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #dee2e6;
  color: #6c757d;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 8px;
  font-weight: 600;
  font-size: 14px;
  position: relative;
  z-index: 2;
}

.step-indicator.active .step-number {
  background-color: #0d6efd;
  color: white;
}

.step-indicator.completed .step-number {
  background-color: #198754;
  color: white;
}

.step-label {
  font-size: 12px;
  color: #6c757d;
  font-weight: 500;
}

.step-indicator.active .step-label {
  color: #0d6efd;
  font-weight: 600;
}

.step-indicator.completed .step-label {
  color: #198754;
  font-weight: 600;
}

/* Modal responsive adjustments */
@media (max-width: 768px) {
  .modal-dialog {
    margin: 1rem;
  }

  .step-indicator:not(:last-child)::after {
    display: none;
  }

  .step-label {
    font-size: 10px;
  }

  .step-number {
    width: 25px;
    height: 25px;
    font-size: 12px;
  }
}

/* Form validation styles */
.was-validated .form-control:valid {
  border-color: #198754;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='m2.3 6.73.94-.94 1.89 1.89 3.78-3.78.94.94-4.72 4.72z'/%3e%3c/svg%3e");
}

.was-validated .form-control:invalid {
  border-color: #dc3545;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath d='m5.8 4.6 1.4 1.4 1.4-1.4'/%3e%3c/svg%3e");
}

/* Review section styling */
.review-section .card {
  border: 1px solid #dee2e6;
  border-radius: 8px;
}

.review-section .card-header {
  background-color: #f8f9fa;
  border-bottom: 1px solid #dee2e6;
  font-weight: 600;
}

.review-section p {
  margin-bottom: 8px;
  font-size: 14px;
}

/* Progress bar animation */
.progress-bar {
  transition: width 0.3s ease;
}

/* Button hover effects */
.btn-check-price:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Modern Navbar Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family:
    "Poppins",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
}

/* Modern Top Bar */
.top-bar {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 0.5rem 0;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.9);
}

.top-bar a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
}

.top-bar a:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

/* Main Navbar */
.site-header {
  background: #ffffff;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
  border-bottom: none;
}

.site-header.scrolled {
  padding: 0.5rem 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.12);
}

/* Logo */
.logo-img {
  height: 40px;
  width: auto;
  transition: transform 0.3s ease;
}

.navbar-brand:hover .logo-img {
  transform: scale(1.05);
}

/* Navigation Links */
.main-nav .nav-link {
  color: #2d3748;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  margin: 0 0.25rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
}

.main-nav .nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.main-nav .nav-link:hover,
.main-nav .nav-link.active {
  color: #667eea;
  background: rgba(102, 126, 234, 0.08);
}

.main-nav .nav-link:hover::after {
  width: 80%;
}

/* CTA Buttons */
.btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  color: white;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
  background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.btn-outline-primary {
  background: transparent;
  border: 2px solid;
  border-image: linear-gradient(135deg, #667eea 0%, #764ba2 100%) 1;
  color: #667eea;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-outline-primary:hover {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
  border-color: transparent;
}

/* Mobile Menu Toggle */
.navbar-toggler {
  border: none;
  padding: 0.5rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(102, 126, 234, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Modal Styles */
.modal-content {
  border: none;
  border-radius: 20px;
  overflow: hidden;
}

/* Modal and Utility Styles */
.d-none {
  display: none !important;
}

.section-toggle.d-none {
  display: none !important;
}

.otp-input:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 0.25rem rgba(102, 126, 234, 0.25);
}

/* Mobile Styles */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 12px;
    margin-top: 1rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  }

  .main-nav .nav-link {
    padding: 0.75rem 1rem !important;
    margin: 0.25rem 0;
  }

  .navbar-nav.ms-auto {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
  }
}

/* Success Button */
.btn-success {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border: none;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
  transition: all 0.3s ease;
}

.btn-success:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

/* User Dropdown */
.user-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  color: white;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.user-dropdown-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
  background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
  color: white;
}

.user-dropdown-toggle::after {
  margin-left: 0.5rem;
}

.dropdown-menu {
  border: none;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  padding: 0.5rem;
  margin-top: 0.5rem;
}

.dropdown-item {
  padding: 0.75rem 1rem;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.dropdown-item:hover {
  background: rgba(102, 126, 234, 0.1);
  color: #667eea;
}

.dropdown-item.logout-item {
  color: #dc3545;
}

.dropdown-item.logout-item:hover {
  background: rgba(220, 53, 69, 0.1);
  color: #dc3545;
}

/* Fix navbar container */
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* Ensure navbar brand doesn't collapse */
.navbar-brand {
  flex-shrink: 0;
}
.card {
  border: none;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.quote-card {
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: row;
}

.quote-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.quote-card:active {
  transform: translateY(0);
}

.quote-card.loading {
  opacity: 0.6;
  pointer-events: none;
  position: relative;
}

.insurer-logo {
  height: 60px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
}

.quote-card-left {
  min-height: 180px;
}

.logo-container {
  width: 140px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.filter-section a {
  text-decoration: none;
  color: #007bff;
  font-size: 0.95rem;
}

.filter-section label {
  font-size: 0.9rem;
}

.banner {
  background: linear-gradient(90deg, #20b2aa, #1e3c72);
  color: #fff;
  border-radius: 10px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.remove-btn {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #fff;
  padding: 0.35rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
}

.price-tag {
  font-weight: 700;
  color: #2c3e50;
  font-size: 2rem;
  margin-bottom: 4px;
}

.quote-card-horizontal {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  padding: 0 !important;
  min-height: 180px;
}

.quote-card-left {
  flex: 0 0 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-right: 2px solid #e9ecef;
  position: relative;
}

.quote-card-middle {
  flex: 1;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.quote-card-right {
  flex: 0 0 280px;
  padding: 24px;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border-left: 2px solid #e9ecef;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.plan-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 12px;
}

.coverage-info {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.price-breakdown {
  font-size: 0.8rem;
  color: #6c757d;
  margin-bottom: 16px;
}

.view-link {
  font-size: 0.9rem;
  color: #fd7e14;
  text-decoration: none;
}

.inspection-ribbon {
  position: absolute;
  bottom: 12px;
  left: -8px;
  background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
  color: white;
  padding: 8px 24px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  box-shadow: 0 3px 10px rgba(255, 107, 107, 0.4);
  z-index: 10;
  transform: rotate(-8deg);
  border-radius: 2px;
  white-space: nowrap;
}

.inspection-ribbon::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 0;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 10px solid #c94a5a;
}

.inspection-ribbon::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: -5px;
  width: 0;
  height: 0;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 5px solid #ee5a6f;
}

.quote-card {
  position: relative;
  overflow: visible;
  border: 2px solid #e9ecef !important;
}

@media (max-width: 992px) {
  .quote-card-horizontal {
    flex-direction: column;
    min-height: auto;
  }

  .quote-card-left {
    flex: 0 0 auto;
    border-right: none;
    border-bottom: 2px solid #e9ecef;
    padding: 20px;
  }

  .quote-card-middle {
    padding: 20px;
  }

  .quote-card-right {
    flex: 0 0 auto;
    border-left: none;
    border-top: 2px solid #e9ecef;
    padding: 20px;
  }

  .insurer-logo {
    height: 50px;
    max-width: 120px;
  }

  .logo-container {
    width: 120px;
    height: 70px;
  }

  .price-tag {
    font-size: 1.5rem;
  }
}

@media (max-width: 576px) {
  .quote-card-left,
  .quote-card-middle,
  .quote-card-right {
    padding: 16px;
  }

  .plan-name {
    font-size: 1rem;
  }

  .price-tag {
    font-size: 1.3rem;
  }
}

/* Disabled NCB Protection styling */
#ncb-protect-container.disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

#ncb-protect:disabled + label {
  cursor: not-allowed;
  color: #6c757d;
}

#ncb-protect:disabled {
  cursor: not-allowed;
}

/* IDV Input styling */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  opacity: 1;
}

.form-control.is-invalid {
  border-color: #dc3545;
}

.form-control:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

.shimmer-card {
  position: relative;
  overflow: hidden;
  background: #fff;
}

.shimmer-line {
  position: relative;
  overflow: hidden;
  height: 12px;
  border-radius: 6px;
  background: #e9ecef;
  margin-bottom: 10px;
}

.shimmer-line.lg {
  height: 18px;
}

.shimmer-line::after {
  content: "";
  position: absolute;
  top: 0;
  left: -160px;
  height: 100%;
  width: 160px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.65),
    transparent
  );
  animation: shimmer 1.2s infinite;
}

.shimmer-w-30 {
  width: 30%;
}
.shimmer-w-40 {
  width: 40%;
}
.shimmer-w-55 {
  width: 55%;
}
.shimmer-w-70 {
  width: 70%;
}
.shimmer-w-85 {
  width: 85%;
}

@keyframes shimmer {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(320px);
  }
}

/* Clickable IDV min/max labels */
.idv-clickable:hover {
  color: #0d6efd !important;
  font-weight: 600;
}

/* Quotes Container Layout */
#quotes-container {
  display: none;
  flex-direction: column;
  gap: 1.5rem;
}

#quotes-container.show {
  display: flex !important;
}

/* State containers */
#loading-quotes,
#error-state,
#no-data-state {
  min-height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#error-state {
  border-radius: 15px;
  padding: 3rem;
  box-shadow: 0 2px 12px rgba(220, 53, 69, 0.15);
}

#error-state .alert-heading {
  font-weight: 700;
  font-size: 1.5rem;
}

#error-state .btn-primary {
  padding: 0.75rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
}

#no-data-state {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 15px;
  padding: 3rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

#no-data-state h5 {
  color: #2c3e50;
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

#no-data-state .text-muted {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

#no-data-state .btn-primary {
  padding: 0.75rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
}

#no-data-state .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
}

.card {
  border: none;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.addon-card {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1rem;
}

.addon-card .price {
  font-weight: 600;
}

.btn-outline-info {
  border-color: #20b2aa;
  color: #20b2aa;
  font-weight: 500;
}

.btn-outline-info:hover {
  background-color: #20b2aa;
  color: #fff;
}

.month-btn {
  border: 1px solid #f0883e;
  border-radius: 8px;
  padding: 0.4rem 1.25rem;
  color: #f0883e;
  background: #fff;
  font-weight: 500;
}

.summary-card hr {
  margin: 0.5rem 0;
}

.total-amount {
  font-size: 1.2rem;
  font-weight: 700;
  color: #f26b3a;
}

.pay-btn {
  background-color: #009688;
  color: #fff;
  font-weight: 600;
  border: none;
  width: 100%;
  border-radius: 8px;
  padding: 0.8rem;
  font-size: 1rem;
}

.pay-btn:hover {
  background-color: #00796b;
}

.form-check-label small {
  font-size: 0.9rem;
}

.car-card img {
  height: 30px;
}

/* Modal form styling */
.modal-content {
  border-radius: 15px;
}

.form-control:focus,
.form-select:focus {
  border-color: #20b2aa;
  box-shadow: 0 0 0 0.2rem rgba(32, 178, 170, 0.25);
}

.btn-primary:disabled {
  background-color: #6c757d;
  border-color: #6c757d;
}

/* Form field styling */
.form-label.fw-semibold::after {
  content: " *";
  color: #dc3545;
}

.form-control:invalid,
.form-select:invalid {
  border-color: #dc3545;
}

.form-control:valid,
.form-select:valid {
  border-color: #198754;
}

/* Wizard Styles */
.wizard-progress {
  position: relative;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  position: relative;
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #e9ecef;
  color: #6c757d;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  margin-bottom: 8px;
  transition: all 0.3s ease;
}

.step.active .step-number {
  background-color: #20b2aa;
  color: white;
}

.step.completed .step-number {
  background-color: #198754;
  color: white;
}

.step.completed .step-number::after {
  content: "✓";
  font-weight: bold;
}

.step-label {
  font-size: 0.8rem;
  color: #6c757d;
  font-weight: 500;
}

.step.active .step-label {
  color: #20b2aa;
  font-weight: 600;
}

.step.completed .step-label {
  color: #198754;
  font-weight: 600;
}

.step-line {
  height: 2px;
  background-color: #e9ecef;
  flex: 1;
  margin: 0 10px;
  margin-top: -20px;
  transition: all 0.3s ease;
}

.step-line.completed {
  background-color: #198754;
}

.wizard-content {
  min-height: 400px;
}

.step-content {
  display: none;
}

.step-content.active {
  display: block;
}

.wizard-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #e9ecef;
}

/* Alpine.js x-cloak */
[x-cloak] {
  display: none !important;
}

/* CSP-compliant utility classes to replace inline styles */
.cursor-pointer {
  cursor: pointer;
}

.text-decoration-underline {
  text-decoration: underline;
}

.transition-all {
  transition: all 0.3s;
}

.bg-recommended {
  background-color: #f0f7ff;
}

.insurer-logo-fixed {
  height: 38px;
  width: auto;
}

.insurer-logo-faded {
  opacity: 0.5;
}

.idv-clickable {
  cursor: pointer;
  text-decoration: underline;
}

.small-text-muted {
  font-size: 0.75rem;
}

.premium-breakdown-link {
  cursor: pointer;
  color: #667eea;
  font-size: 0.85rem;
}

.premium-breakdown-link:hover {
  color: #5568d3;
}

/* Car Insurance Form Styles */
.selectable-card {
  cursor: pointer;
  transition: all 0.2s;
  border: 2px solid transparent;
}

.selectable-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
  border-color: #dee2e6;
}

.selectable-card.selected {
  border-color: #0d6efd;
  background-color: #f8f9fa;
}

.wizard-graphic {
  width: 100%;
  max-width: 720px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.progress-height-10 {
  height: 10px;
}

/* Mobile responsiveness tweaks */
@media (max-width: 768px) {
  .display-4 {
    font-size: 2rem;
  }
  .wizard-graphic {
    display: none;
  }
}
.policy-plan-card {
  border: 2px solid #e0e0e0;
  transition: all 0.3s ease;
  cursor: pointer;
}

.policy-plan-card:hover {
  border-color: #0d6efd;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(13, 110, 253, 0.15);
}

.policy-plan-card.selected {
  border-color: #0d6efd;
  background-color: #f0f7ff;
}

.policy-plan-card.disabled {
  opacity: 0.5;
  cursor: not-allowed !important;
  pointer-events: none;
  border-color: #ddd;
  background-color: #f8f9fa;
  box-shadow: none;
}

.policy-plan-card.disabled:hover {
  transform: none;
  box-shadow: none;
}

/* Searchable select styles */
.searchable-select-wrapper .dropdown-menu {
  padding: 0;
  max-height: 300px;
  overflow-y: auto;
}

.searchable-select-wrapper .dropdown-item {
  white-space: normal;
  word-wrap: break-word;
}

.searchable-select-wrapper .dropdown-item:hover {
  background-color: #f8f9fa;
}

.searchable-select-wrapper #registrationLocationBtn {
  cursor: pointer;
}

.searchable-select-wrapper #registrationLocationBtn.text-muted {
  color: #6c757d !important;
}

.proposer-type-card {
  border: 2px solid #e0e0e0;
  transition: all 0.3s ease;
  cursor: pointer;
}

.proposer-type-card:hover {
  border-color: #0d6efd;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(13, 110, 253, 0.15);
}

.proposer-type-card.selected {
  border-color: #0d6efd;
  background-color: #f0f7ff;
}

.registration-input-group .registration-part {
  flex: 1;
  min-width: 0;
  font-size: 1rem;
}

.registration-input-group .registration-part:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

.registration-input-group span {
  font-size: 1.2rem;
  user-select: none;
}

.brand-logo-circle {
  width: 40px;
  height: 40px;
  font-weight: bold;
}

.variant-scroll-container {
  max-height: 400px;
  overflow-y: auto;
}

.eligibility-warning-spacing {
  margin-bottom: 1rem;
}

/* -------------------------------------------------------------------------- */
/* How LocalBima Works - step flow                                            */
/* -------------------------------------------------------------------------- */

.localbima-steps-shell {
  position: relative;
  border-radius: 1.25rem;
  border: 1px solid rgba(58, 147, 150, 0.14);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(245, 251, 251, 0.98));
  padding: clamp(1.25rem, 3vw, 2.5rem);
  box-shadow: 0 14px 30px rgba(31, 111, 113, 0.08);
  overflow: hidden;
}

.localbima-steps-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.localbima-step-card {
  position: relative;
  flex: 1 1 auto;
  background: #ffffff;
  border-radius: 1.1rem;
  padding: 1.1rem 1.1rem 1.3rem;
  border: 1px solid rgba(58, 147, 150, 0.12);
  box-shadow: 0 10px 22px rgba(31, 111, 113, 0.06);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  height: 100%;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.localbima-step-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(58, 147, 150, 0.32);
  box-shadow: 0 20px 40px rgba(31, 111, 113, 0.18);
}

/* -------------------------------------------------------------------------- */
/* About Us page styling (Making Insurance Seamless)                          */
/* -------------------------------------------------------------------------- */

.about-page-hero-title {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #008080;
}

.about-page-hero-wrapper {
  border-radius: 0;
  box-shadow: none;
  border: none;
}

.about-tabs {
  border-bottom: 1px solid #e5e7eb;
}

.about-tabs .nav-link {
  border-radius: 0;
  margin-right: 0.25rem;
  padding: 0.6rem 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: #6b7280;
  background-color: transparent;
  border: 1px solid transparent;
  border-bottom: 3px solid transparent;
}

.about-tabs .nav-link.active {
  color: #008080;
  background-color: #ffffff;
  border-color: #ffffff #ffffff #008080;
  border-bottom-width: 3px;
}

.about-tabs .nav-link:hover {
  color: #008080;
}

.about-sets-apart-title {
  color: #008080;
  font-weight: 700;
}

.about-sets-apart-list {
  list-style: disc;
}

.about-sets-apart-list li + li {
  margin-top: 0.25rem;
}

.localbima-step-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.localbima-step-index {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: #1f3136;
  background: linear-gradient(135deg, rgba(58, 147, 150, 0.18), rgba(222, 146, 102, 0.22));
}

.localbima-step-emoji {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.9), rgba(222, 146, 102, 0.35));
}

.localbima-step-title {
  font-size: 1rem;
  font-weight: 600;
  color: #1f3136;
  margin: 0;
}

.localbima-step-text {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #4f616a;
  margin: 0;
}

@media (max-width: 992px) {
  .localbima-steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .localbima-steps-shell {
    padding: 1.25rem 1rem;
  }

  .localbima-steps-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .localbima-step-card {
    transition: none;
  }
}

/* -------------------------------------------------------------------------- */
/* Header style refresh (simple + professional)                               */
/* -------------------------------------------------------------------------- */

.lb-topbar {
  background: #0f8a8f;
  color: #ffffff;
  font-size: 0.85rem;
}

.lb-topbar-inner {
  min-height: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.lb-topbar-link {
  color: #ffffff;
  text-decoration: none;
  opacity: 0.95;
}

.lb-topbar-link:hover {
  color: #ffffff;
  opacity: 1;
}

#section-header.site-header {
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid #eceff3;
  box-shadow: 0 4px 18px rgba(16, 24, 40, 0.06);
  padding: 0.8rem 0;
}

#section-header .container {
  display: flex;
  align-items: center;
}

#section-header .logo-img {
  height: 42px;
  width: auto;
  object-fit: contain;
}

#section-header .navbar-collapse {
  flex-grow: 1;
  justify-content: space-between;
  align-items: center;
}

#section-header .main-nav.navbar-nav {
  margin: 0 auto;
  gap: 0.35rem;
}

#section-header .main-nav .nav-link {
  color: #1f2937;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 0.5rem 0.85rem !important;
}

#section-header .main-nav .nav-link:hover,
#section-header .main-nav .nav-link.active {
  color: #0f8a8f;
  background: rgba(15, 138, 143, 0.08);
}

#section-header .btn.btn-primary {
  background: #e67e3f;
  border: 1px solid #e67e3f;
  color: #ffffff;
  box-shadow: none;
}

#section-header .btn.btn-primary:hover {
  background: #d46f33;
  border-color: #d46f33;
  transform: translateY(-1px);
}

@media (max-width: 991.98px) {
  .lb-topbar {
    display: none;
  }

  #section-header.site-header {
    padding: 0.65rem 0;
  }

  #section-header .navbar-collapse {
    margin-top: 0.75rem;
    border: 1px solid #e5e7eb;
  }

  #section-header .main-nav.navbar-nav {
    margin: 0;
    gap: 0;
  }

  #section-header .main-nav .nav-link {
    text-transform: none;
    font-size: 0.95rem;
    letter-spacing: 0;
  }

  #section-header .contact-expert-panel {
    width: 100%;
    max-width: none;
  }

  #section-header .contact-expert-row {
    flex-direction: column;
  }

  #section-header .contact-expert-item {
    border-right: none !important;
    border-bottom: 1px solid #eef2f6;
  }

  #section-header .contact-expert-item:last-child {
    border-bottom: none;
  }
}

/* Contact Us — Talk to Expert style dropdown */
#section-header .contact-us-nav {
  display: flex;
  align-items: center;
}

#section-header .contact-expert-toggle {
  border: 2px solid #0f8a8f;
  background: #ffffff;
  color: #0f8a8f;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 0.45rem 1rem 0.45rem 0.85rem;
  box-shadow: none;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}

#section-header .contact-expert-toggle:hover,
#section-header .contact-expert-toggle:focus,
#section-header .contact-expert-toggle.show {
  background: rgba(15, 138, 143, 0.08);
  color: #0c6f73;
  border-color: #0c6f73;
  box-shadow: 0 4px 14px rgba(15, 138, 143, 0.15);
}

#section-header .contact-expert-toggle::after {
  margin-left: 0.35rem;
  vertical-align: 0.15em;
  border-top-color: currentColor;
}

#section-header .contact-expert-toggle-icon {
  display: inline-flex;
  color: #0f8a8f;
}

#section-header .contact-expert-panel {
  min-width: min(100vw - 2rem, 38rem);
  max-width: calc(100vw - 1.5rem);
  margin-top: 0.65rem !important;
  border-radius: 12px;
  overflow: hidden;
  box-shadow:
    0 12px 40px rgba(15, 23, 42, 0.12),
    0 0 0 1px rgba(15, 138, 143, 0.08) !important;
}

#section-header .contact-expert-panel-inner {
  padding: 1rem 1.1rem 1.15rem;
  background: #ffffff;
}

#section-header .contact-expert-intro {
  font-size: 0.8rem;
  color: #64748b;
  padding-bottom: 0.85rem;
  margin-bottom: 0.85rem !important;
  border-bottom: 1px solid #eef2f6;
  line-height: 1.45;
}

#section-header .contact-expert-row {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 0;
}

#section-header .contact-expert-item {
  flex: 1 1 0;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  text-decoration: none;
  color: inherit;
  border-right: 1px solid #eef2f6;
  border-radius: 0;
  transition: background-color 0.15s ease;
}

#section-header .contact-expert-item:last-child {
  border-right: none;
}

#section-header .contact-expert-item:hover {
  background: #f8fafb;
}

#section-header .contact-expert-item-icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 138, 143, 0.1);
  color: #0f8a8f;
}

#section-header .contact-expert-item-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
  text-align: left;
}

#section-header .contact-expert-label {
  font-size: 0.72rem;
  font-weight: 500;
  color: #94a3b8;
  line-height: 1.35;
}

#section-header .contact-expert-value {
  font-size: 0.9rem;
  font-weight: 700;
  color: #1e293b;
  word-break: break-word;
}

#section-header .contact-expert-item:hover .contact-expert-value {
  color: #0f8a8f;
}
