/* --- CSS RESET & VARIABLES --- */
:root {
  --primary-blue: #004383;
  --accent-blue: #013160;
  --light-bg: #f4f7fa;
  --white: #ffffff;
  --text-dark: #333333;
  --text-grey: #3c3c3c;
  --border-color: #dddddd;
  --shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background-color: var(--white);
  color: var(--text-dark);
  line-height: 1.6;
}

.link-color {
  color: #004383;
}

a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}

.container {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-block;
  padding: 10px 25px;
  background-color: var(--primary-blue);
  color: var(--white);
  border-radius: 5px;
  border: none;
  cursor: pointer;
  font-weight: 500;
  transition: 0.3s;
}

.btn:hover {
  background-color: var(--accent-blue);
}
a.btn:hover {
  color: White !important;
}

.section-title {
  text-align: center;
  color: var(--primary-blue);
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.cover-title {
  text-align: left;
  color: var(--primary-blue);
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.cover-content {
  text-align: left;
  color: #3c3c3c;
  font-size: 15px;
  margin-bottom: 15px;
  width: 62%;
}

.section-subtitle {
  text-align: center;
  color: var(--text-grey);
  font-size: 0.9rem;
  margin-bottom: 40px;
  color: var(--text-grey);
  font-size: 0.9rem;
  margin-bottom: 40px;
  width: 55%;
  margin-left: 321px;
}

/* --- HEADER & TOP BAR --- */
.top-bar {
  /* background-color: var(--white); */
  background-color: #004b8a20;
  border-bottom: 1px solid #eee;
  padding: 5px 0;
  font-size: 0.85rem;
  color: #ffffff;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar {
  padding: 15px 0;
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-links {
  display: flex;
  gap: 30px;
  padding-left: 240px;
  padding-top: 18px;
}

.nav-links a {
  font-weight: 500;
  color: var(--primary-blue);
}

/* --- HERO SECTION --- */
.hero {
  /* background-color: #EBF4FF; */
  background-image: url("../images/header-background.png");
  padding: 60px 0;
  position: relative;

  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  /* background-attachment: fixed; */
}

.hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.hero-text {
  flex: 1;
  padding-right: 40px;
  min-width: 300px;
}

.hero-text h1 {
  color: var(--primary-blue);
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 15px;
}

.hero-text p {
  color: var(--text-grey);
  margin-bottom: 30px;
  font-size: 1.1rem;
}

.hero-img {
  max-width: 645px;
  width: 100%;
  height: auto;
  margin-top: 20px;
}

/* .quote-form {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    width: 690px;
    min-width: 300px;
} */

.quote-form {
  background: rgba(255, 255, 255, 0.05); /* Dropped from 0.15 to 0.05 */
  backdrop-filter: blur(4px); /* Dropped from 16px to 8px */
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2); /* Softer border */
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);

  /* Layout */
  padding: 30px;
  border-radius: 16px;
  width: 690px;
  min-width: 300px;
}

/* .quote-form h3 {
    color: var(--primary-blue);
    margin-bottom: 20px;
    font-size: 1.4rem;
} */
.quote-form h3 {
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); /* Helps text stand out over the video */
  font-weight: 600;
  margin-bottom: 25px;
}

.quote-form .form-group label {
  color: #ffffff !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  font-weight: 500;
}

.quote-form .form-control,
.quote-form select.form-control {
  background-color: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #333;
  height: 48px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.quote-form .form-control:focus,
.quote-form select.form-control:focus {
  background-color: rgba(255, 255, 255, 0.95);
  border-color: #ffffff;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
  outline: none;
}

.quote-form .usage-toggle {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.quote-form .usage-toggle label {
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.quote-form .usage-toggle input[type="radio"]:checked + label {
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary-blue);
  text-shadow: none;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-dark);
  margin-bottom: 5px;
}
.form-group label {
  display: flex !important;
  font-size: 13px !important;
  color: #555 !important;
  margin-bottom: 8px !important;
  align-items: flex-start !important;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 10px;
  border: 1px solid #00438354;
  border-radius: 5px;
  background-color: #ffffff;
  color: #3c3c3c;
}

.quote-form .btn {
  width: 100%;
  text-align: center;
  margin-top: 10px;
}

/* --- TRUST BAR --- */
.trust-bar {
  padding: 40px 0;
  background: var(--light-bg);
}

.trust-grid {
  display: flex;
  justify-content: space-around;
  text-align: left;
  gap: 20px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 15px;
  background: var(--white);
  padding: 15px 25px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
  flex: 1;
  min-width: 325px;
}

.trust-item-last {
  display: flex;
  align-items: center;
  gap: 15px;
  background: transparent;
  padding: 15px 25px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
  flex: 1;
  min-width: 325px;
}

.trust-item i {
  font-size: 2rem;
  color: #004383;
}

.trust-item h4 {
  font-size: 1rem;
  color: #004383;
}
.trust-item p {
  font-size: 0.8rem;
  color: var(--text-grey);
}

h2.about-section-heading {
  font-size: 32px;
  font-weight: 600;
}

/* --- WHAT IS SAFEDRIVE --- */
.about-section {
  padding: 30px 0;
}

.about-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
}

.about-img {
  width: 50%;
}

.about-img img {
  /* max-width: 400px; */
  width: 100%;
}

.about-text {
  max-width: 620px;
}

.about-text h2 {
  color: var(--primary-blue);
  margin-bottom: 20px;
}

.about-text p {
  color: #3c3c3c;
  font-size: 15px;
  margin-bottom: 15px;
  line-height: 2;
}

/* --- CERTIFIED PROTECTION --- */
.certified-section {
  background-color: var(--light-bg);
  padding: 40px 0;
  text-align: center;
}

.icons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.icon-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.icon-card i {
  font-size: 3rem;
  color: var(--primary-blue);
  margin-bottom: 15px;
}

.icon-card p {
  font-size: 0.9rem;
  color: var(--text-dark);
  max-width: 200px;
}

/* --- COVERS & EXCLUDES (Tabs) --- */
.coverage-section {
  padding: 35px 0;
  background: var(--light-bg);
}

.tabs-header {
  display: flex;
  /* border-bottom: 2px solid #eee; */
  margin-bottom: 30px;
}

.tab-btn {
  padding: 10px 30px;
  background: none;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-grey);
  cursor: pointer;
  position: relative;
  /* font-size: 10px; */
  border: 1px solid var(--primary-blue);
  margin: 0px 4px;
  border-radius: 10px;
}

.tab-btn.active {
  color: white;
  background: var(--primary-blue);
  border-radius: 10px;
  /* font-size: 20px; */
}

/* .tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-blue);
} */

.coverage-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.coverage-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-dark);
}

.coverage-item i {
  color: var(--accent-blue);
}

/* --- CTA BANNER --- */
.cta-banner {
  /* background-color: var(--primary-blue); */
  object-fit: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  /* background-attachment: fixed; */
  background-image: url("../images/safedrivecover.png");
  padding: 40px 20px;
  text-align: center;
  color: var(--white);
  margin: 25px 0;
  border-radius: 10px;
  max-width: 1380px;
  margin-left: auto;
  margin-right: auto;
  width: 1340px;
  height: 348px;
}

.cta-banner h2 {
  margin-bottom: 15px;
  margin-top: 35px;
}
.cta-banner p {
  margin-bottom: 30px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
}
.cta-banner .btn {
  background-color: var(--white);
  color: var(--primary-blue);
}

/* --- TESTIMONIALS --- */
.testimonials {
  padding: 20px 0;
  background: var(--light-bg);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.review-card {
  background: var(--light-bg);
  padding: 25px;
  border-radius: 10px;
  border: 1px solid var(--primary-blue);
  /* color: var(--primary-blue); */
}

.reviewer-info {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.avatar {
  width: 50px;
  height: 50px;
  background-color: var(--primary-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.reviewer-details h5 {
  font-size: 1rem;
  color: var(--primary-blue);
}
.reviewer-details span {
  font-size: 0.8rem;
  color: var(--text-grey);
}
.review-text {
  font-size: 0.9rem;
  color: var(--text-grey);
  font-style: italic;
}

/* --- FAQ --- */
.faq-section {
  background-color: var(--light-bg);
  padding: 40px 0;
}

.faq-container {
  max-width: 1080px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  margin-bottom: 10px;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
  overflow: hidden;
}

.faq-question {
  padding: 15px 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 500;
  color: var(--text-dark);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 20px;
  color: var(--text-grey);
  font-size: 0.9rem;
}

.faq-answer.open {
  max-height: 200px; /* Arbitrary height for animation */
  padding-top: 20px;
  padding-bottom: 20px;
}

.faq-question i {
  transition: 0.3s;
}
.faq-question.active i {
  transform: rotate(180deg);
}

/* --- FOOTER --- */
footer {
  background-color: #013160;
  color: #ccc;
  padding: 60px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: var(--white);
  margin-bottom: 20px;
}
.footer-col ul li {
  margin-bottom: 10px;
  font-size: 0.9rem;
}
.footer-col ul li a:hover {
  color: var(--white);
}

.social-icons a {
  margin-right: 8px;
  font-size: 1.2rem;
  background: white;
  color: #013160;
  padding: 2px;
  border-radius: 100%;
  position: relative;
  padding: 7px 15px;
}

.copyright {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  font-size: 0.8rem;
}
 .policy-detail-left .policy-icon-lg {
    width: auto !important;
  }
.header-social-media-icons {
  display: flex;
  align-items: center;
}
/* Responsive tweaks */
@media (max-width: 768px) {
  .custom-checkbox{
    max-width: 22px !important;
    height: 22px;
    width: 100% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 2px;
}
  .policy-content ul{
        padding-left: 25px !important;
  }
  footer ul{
    list-style: none !important;
  }
  ul.footer-contact-info {
    list-style: none !important;
}
  ul.mobile-nav-links {
    list-style: none !important;
}
  .navbar .container .logo a img{
    width: 200px !important;
  }
    .policy-tab {
    padding: 5px 8px !important;
}
    .thank-you-wrapper .details-card .info-row {
    padding: 12px 0px !important;
}
    .details-card {
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 30px 10px !important;
    background: white;
    max-width: 900px;
    margin: 0 auto 40px auto;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}
   .custom-form-card .form-grid-row .form-group {
    margin-bottom: 0 !important;
    width: 100%;
}
  .safe-drive-policy-form-image-gallery {
    grid-template-columns: repeat(1, 1fr) !important;
  }
  .safe-drive-policy-form-image-gallery img {
    width: 100% !important;
    height: auto !important;
  }
  .policy-detail-left .policy-icon-lg {
    width: 30% !important;
    height: 100% !important;
    background: #fff;
    color: #004383;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    padding: 20px !important;
  }
  .policy-detail-left {
    display: flex !important;
    gap: 10px !important;
    align-items: start !important;
    flex-direction: column;
  }
  .download-btn {
    margin-top: 0 !important;
    margin-left: 0 !important;
            width: 100% !important;
        text-align: center;
  }

  #info-row-driver-name {
    flex-direction: column;
  }
  #info-row-driver-name .driver-edit-box input {
    width: 100%;
  }
  .contact-box {
    background: none !important;
    color: var(--primary-blue) !important;
  }
  .hero {
    height: 100% !important;
  }
  .footer-social-icon i {
    color: #004383;
    border-radius: 100%;
    position: relative;
    padding: 10px 5px;
    /* border-radius: 10px !important; */
  }
  .footer-social-icon i {
    color: #004383;
    border-radius: 100%;
    position: relative;
    padding: 5px 2px;
    /* border-radius: 10px !important; */
  }
  ol,
  ul {
    padding-left: 0 !important;
  }
  .border-end {
    border-right: 0 !important;
  }
  .claims-header {
    background: #004383;
    padding: 40px;
    border-radius: 16px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
  }
  .claims-header div {
    text-align: center;
  }
  .cover-title {
    text-align: center;
  }
  .cover-content {
    text-align: center;
  }
  .tabs-header {
    display: flex;
    /* border-bottom: 2px solid #eee; */
    margin-bottom: 30px;
    align-items: center;
    justify-content: center;
  }
  .about-img {
    width: 100%;
  }

  .cover-content {
    width: 100%;
  }
  .hero-text h1 {
    font-size: 2rem;
  }
  .quote-form {
    width: 100%;
    margin-top: 30px;
  }
  .coverage-grid {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none;
  } /* Simplified mobile nav for demo */
}

.footer-logo {
  width: 125px;
}

.footer-social-icon i {
  color: #004383;
  border-radius: 100%;
  position: relative;
}

.social-icons li i {
  margin-right: 8px;
  font-size: 1.2rem;
  background: white;
  color: #013160;
  width: 40px;
  padding: 11px;
  border-radius: 5px;
  position: relative;
  height: 40px;
}

.footer-contact-info {
  margin: 0px;
  padding: 0px;
}

.listing-contact-info {
  margin-bottom: 10px;
}

div.copyright-text-left {
  text-align: left;
  justify-content: left;
  display: flex;
  font-size: 16px;
}

div.copyright-text-right {
  text-align: right;
  justify-content: right;
  display: flex;
  font-size: 16px;
}

.footer-content-heading {
  margin-left: 28px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-question.active {
  background-image: linear-gradient(#004383, #0e2d4b);
  color: white;
}

.quick-links-footer {
  margin-bottom: 10px;
}

.section-title-heading {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #004383;
  font-size: 31px;
  text-align: center;
  font-weight: 600;
}

.section-title-content {
  color: #3c3c3c;
  text-align: center;
  font-size: 15px;
  margin-bottom: 30px;
  font-weight: 500;
}

/* 

.quote-form {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
} */

.quote-form h3 {
  font-weight: 600;
  margin-bottom: 25px;
}

.quote-form .form-group {
  margin-bottom: 18px;
}

.quote-form .form-control {
  height: 48px;
  border-radius: 8px;
}

.quote-form .form-check {
  margin: 10px 0 20px;
}

/* .quote-form .form-check-label a {
    color: #004383;
    text-decoration: underline;
} */

.quote-form .form-check-label {
  color: #ffffff !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.quote-form .form-check-label a {
  color: #9cd1ff; /* Lighter blue so links show up against dark glass */
  text-decoration: underline;
}

/* .quote-form .quote-btn {
    background: linear-gradient(90deg, #0b3c74, #0a2f5c);
    color: #fff;
    padding: 14px;
    font-size: 16px;
    border-radius: 10px;
    border: none;
} */

.quote-form .quote-btn {
  background: linear-gradient(90deg, #0b3c74, #0a2f5c);
  color: #fff;
  padding: 14px;
  font-size: 16px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.quote-form .quote-btn:hover:not(:disabled) {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  transform: translateY(-2px);
}

/* Dropdown arrow styling */
.quote-form .custom-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  background-color: #dfe7ef;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%23333' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 14px 8px;

  padding-right: 45px;
}

.form-check-input:checked {
  background-color: #004383;
  border-color: #004383;
}

.header-social-media-icons i {
  margin-right: 8px;
  font-size: 1.2rem;
  background: #004383;
  color: #ffffff;
  width: 35px;
  padding: 8px 5px;
  border-radius: 50%;
  position: relative;
  height: 35px;
  text-align: center;
}

.header-contact-icons i {
  margin-right: 8px;
  font-size: 1.2rem;
  background: #004383;
  color: #ffffff;
  width: 30px;
  padding: 5px 4px;
  border-radius: 5px;
  position: relative;
  height: 30px;
}

.header-top-contact-content {
  color: #3c3c3c;
  padding-right: 35px;
}

.active-page a {
  font-weight: 500;
  font-size: 15px;
  color: var(--primary-blue);
  border-bottom: 2px var(--primary-blue);
}

.inactive-page a {
  font-weight: 500;
  color: #3c3c3c;
  font-size: 15px;
}

/* LOGIN AND REGISTER PAGE CSS START HERE */
/* Scoped Variables */
.login-page-wrapper {
  --primary-blue: #0a2540;
  --btn-blue: #083e75;
  --text-dark: #333333;
  --text-gray: #666666;
  --border-color: #e0e0e0;
  --bg-light: #f8f9fb;
  --input-bg: #ffffff; /* Inputs look white here */
  font-family: "Poppins", sans-serif;
  background-color: #ffffff;
  padding: 30px 0 100px;
}

/* Layout Grid */
.login-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: stretch; /* Make both cards same height */
}

@media (max-width: 991px) {
  .login-grid {
    grid-template-columns: 1fr;
  }
}

/* Right Side - Form */
.login-form-card {
  padding: 50px 60px;
}

@media (max-width: 576px) {
  .login-form-card {
    padding: 30px 20px;
  }
}

.login-title {
  text-align: center;
  color: var(--btn-blue);
  font-size: 40px;
  font-weight: 500;
  margin-bottom: 10px;
}

.login-subtitle {
  text-align: center;
  color: #3c3c3c;
  font-size: 18px;
  margin-bottom: 40px;
  /* font-weight: 400; */
}

/* Password Eye Icon */
.password-wrapper {
  position: relative;
}

/* Button */
.btn-signin {
  width: 100%;
  background-color: var(--btn-blue);
  color: white;
  border: none;
  padding: 12px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.3s;
  margin-top: 10px;
}

.btn-signin:hover {
  background-color: #062b52;
}

/* Register Link */
.register-link {
  text-align: center;
  margin-top: 25px;
  font-size: 13px;
  color: #555;
}

.register-link a {
  color: var(--btn-blue);
  text-decoration: underline;
  font-weight: 500;
}

/* Scoped Variables */
.register-page-wrapper {
  --primary-blue: #0a2540;
  --btn-blue: #083e75;
  --text-dark: #333333;
  --text-gray: #666666;
  --border-color: #e0e0e0;
  --bg-light: #f8f9fb;
  font-family: "Poppins", sans-serif;
  background-color: #ffffff;
  padding: 60px 0 100px;
}

/* Layout Grid */
.register-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: stretch;
}

@media (max-width: 991px) {
  .register-grid {
    grid-template-columns: 1fr;
  }
}

/* Common Card Styling */
.auth-card {
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 40px;
  /* background-image: linear-gradient(#F5F8FA, #f5f8fa98); */
  background: #f5f9fc;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Left Side - Illustration */
.illustration-card {
  background-image: url("../images/login.jpg") !important;
  align-items: center;
  padding: 0px !important;

  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: cover !important;
}

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

/* Right Side - Form */
.register-form-card {
  padding: 40px 50px;
}

@media (max-width: 576px) {
  .register-form-card {
    padding: 30px 20px;
  }
}

.register-title {
  text-align: center;
  color: var(--btn-blue);
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 10px;
}

.register-subtitle {
  text-align: center;
  color: #888;
  font-size: 13px;
  margin-bottom: 30px;
  font-weight: 400;
}

/* Internal Form Grid for Side-by-Side inputs */
.form-row-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .form-row-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}

.form-group {
  margin-bottom: 25px;
  width: 100%;
}

.form-label {
  display: block;
  font-size: 13px;
  color: var(--btn-blue);
  font-weight: 500;
  margin-bottom: 8px;
}

.form-control-auth {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 13px;
  color: #333;
  outline: none;
  transition: border-color 0.3s;
}

.form-control-auth:focus {
  border-color: var(--btn-blue);
}

.form-control-auth::placeholder {
  color: #bbb;
}

.toggle-password {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--btn-blue);
  cursor: pointer;
  font-size: 14px;
}

/* Button */
.btn-signup {
  width: 100%;
  background-color: var(--btn-blue);
  color: white;
  border: none;
  padding: 12px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.3s;
  margin-top: 10px;
}

.btn-signup:hover {
  background-color: #062b52;
}

/* LOGIN AND REGISTER PAGE CSS END HERE */

/* =========================
   CUSTOM QUOTE MODAL
========================= */

.custom-quote-modal .modal-content {
  border-radius: 16px;
  border: none;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  background: #ffffff;
}

/* Header */
.custom-quote-modal .modal-header {
  background: linear-gradient(135deg, #013060db, #013160);
  color: #fff;
  padding: 18px 24px;
  border-bottom: none;
}

.custom-quote-modal .modal-title {
  font-size: 20px;
  font-weight: 600;
}

.custom-quote-modal .btn-close {
  filter: invert(1);
  opacity: 0.9;
}

/* Body */
.custom-quote-modal .modal-body {
  padding: 24px;
}

/* Inputs */
.custom-quote-modal .form-control,
.custom-quote-modal select {
  border-radius: 10px;
  height: 46px;
  font-size: 14px;
  border: 1px solid #ddd;
}

.custom-quote-modal .form-control:focus {
  border-color: #013160;
  box-shadow: 0 0 0 0.15rem rgba(13, 110, 253, 0.25);
}

/* Checkbox */
.custom-quote-modal .form-check-label {
  font-size: 14px;
  color: #004383 !important;
}

/* Submit Button */
.custom-quote-modal .quote-btn {
  height: 48px;
  border-radius: 6px;
  font-weight: 600;
  background: #013160;
  color: white;
  border: none;
  transition: all 0.3s ease;
}

.custom-quote-modal .quote-btn:hover {
  background: #013160;
  transform: translateY(-1px);
}

.custom-quote-modal.fade .modal-dialog {
  transform: translateY(30px) scale(0.95);
  transition: all 0.35s ease-in-out;
}

.custom-quote-modal.show .modal-dialog {
  transform: translateY(0) scale(1);
}

.modal-backdrop.show {
  background-color: rgba(0, 0, 0, 0.7);
}

.custom-quote-modal .form-group label {
  font-weight: 500;
  font-size: 13px;
  margin-bottom: 6px;
  color: #333;
}

/* dropdown styling */

.custom-quote-modal select.form-control {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  background-color: #fff;
  /* border: 1px solid #013160; */
  border-radius: 10px;
  height: 46px;
  padding: 10px 40px 10px 14px;

  font-size: 14px;
  /* color: #013160; */
  font-weight: 500;

  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23013160' viewBox='0 0 16 16'%3E%3Cpath d='M4.646 6.646a.5.5 0 0 1 .708 0L8 9.293l2.646-2.647a.5.5 0 0 1 .708.708l-3 3a.5.5 0 0 1-.708 0l-3-3a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 14px;
}

/* Hover */
.custom-quote-modal select.form-control:hover {
  border-color: #01284d;
}

/* Focus */
.custom-quote-modal select.form-control:focus {
  border-color: #013160;
  box-shadow: 0 0 0 0.15rem rgba(1, 49, 96, 0.25);
  outline: none;
}

/* Disabled */
.custom-quote-modal select.form-control:disabled {
  background-color: #f4f6f8;
  color: #9aa7b3;
  border-color: #cfd8e1;
  cursor: not-allowed;
}

/* dropdown styling ends here */

@media (max-width: 576px) {
  .custom-quote-modal .modal-dialog {
    margin: 10px;
  }

  .custom-quote-modal .modal-content {
    border-radius: 12px;
  }
}

/* =========================
   CUSTOM QUOTE MODAL ENDS HERE
========================= */

/* Selected Plan Styling */
.plan-card.selected {
  background-color: #013160 !important;
  border-color: #013160 !important;
  color: #ffffff !important;
}

/* Make all text inside selected card white */
.plan-card.selected h4,
.plan-card.selected p,
.plan-card.selected .price-amount,
.plan-card.selected .tax-label {
  color: #ffffff !important;
}

/* Check icon color when selected */
.plan-card.selected .check-icon {
  color: #ffffff !important;
}
.plan-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(1, 49, 96, 0.15) !important;
}

/* ================================
   CUSTOM TERMS CHECKBOX (QUOTE PAGE) - START HERE
================================ */
.terms-wrapper input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid #013160;
  border-radius: 4px;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}

/* Checked state */
.terms-wrapper input[type="checkbox"]:checked {
  background-color: #013160;
  border-color: #013160;
}

/* Checkmark */
.terms-wrapper input[type="checkbox"]:checked::after {
  content: "✔";
  color: #ffffff;
  font-size: 12px;
  font-weight: bold;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
}

/* ================================
   CUSTOM TERMS CHECKBOX (QUOTE PAGE) - ENDS HERE
================================ */

/* ================================
   GLOBAL CUSTOM CHECKBOX (QUOTE PAGE - "No Change Of Vehicle Ownership") - Start Here
================================ */
.terms-wrapper input[type="checkbox"],
.checkbox-wrapper input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  min-width: 18px;
  border: 2px solid #013160;
  border-radius: 4px;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
  margin-top: 2px;
}

/* Checked state */
.terms-wrapper input[type="checkbox"]:checked,
.checkbox-wrapper input[type="checkbox"]:checked {
  background-color: #013160;
  border-color: #013160;
}

/* Checkmark */
.terms-wrapper input[type="checkbox"]:checked::after,
.checkbox-wrapper input[type="checkbox"]:checked::after {
  content: "✔";
  color: #ffffff;
  font-size: 12px;
  font-weight: bold;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
}

/* Hover effect */
.terms-wrapper input[type="checkbox"]:hover,
.checkbox-wrapper input[type="checkbox"]:hover {
  box-shadow: 0 0 0 3px rgba(1, 49, 96, 0.15);
}

/* ================================
   GLOBAL CUSTOM CHECKBOX (QUOTE PAGE - "No Change Of Vehicle Ownership") - Ends here
================================ */

.dashboard-wrapper {
  display: flex;
  gap: 30px;
  padding: 40px 114px;
  background: #eef6fb;
}

.dashboard-sidebar {
  width: 260px;
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.sidebar-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-menu li {
  padding: 14px 16px;
  border-radius: 12px;
  color: #4a4a4a;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.sidebar-menu li.active {
  background: #f1f7ff;
  color: #004383;
}

.dashboard-main {
  flex: 1;
}

.dashboard-header h2 {
  font-size: 28px;
  font-weight: 700;
  color: #004383;
}

.dashboard-header p {
  color: #7a8ca5;
  margin-bottom: 30px;
}

.dashboard-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.dashboard-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.dashboard-card.dashed {
  border: 2px dashed #bcd3f2;
  background: #f4f9ff;
}

.card-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.card-left i {
  font-size: 28px;
  color: #004383;
}

.card-left i.policy-inactive {
  color: rgb(252 1 1 / 74%);
}

.card-left span {
  font-size: 18px;
  font-weight: 600;
}

.card-left small {
  display: block;
  color: #7a8ca5;
}

.card-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.card-right strong {
  font-size: 36px;
  color: #004383;
}

.card-right strong.policy-inactive-count {
  font-size: 36px;
  color: rgb(252 1 1 / 74%);
}

.user-dashboard-wrapper {
  display: flex;
  gap: 30px;
  padding: 40px 30px;
  background: #eef6fb;
}

.user-sidebar {
  width: 300px;
  background: #fff;
  border-radius: 0 16px 16px 0px;
  padding: 20px;
  position: sticky;
  top: 100px;
  height: fit-content;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.user-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.user-menu li a {
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  color: #4a4a4a;
  font-weight: 500;
  text-decoration: none;
}

.user-menu li.active a {
  /* From https://css.glass */
  background: rgba(0, 63, 125, 0.1);
  border-radius: 16px;
  backdrop-filter: blur(2.1px);
  -webkit-backdrop-filter: blur(2.1px);
  border: 1px solid rgba(0, 63, 125, 0.38);
}

.user-dashboard-content {
  flex: 1;
}

/* dashboard policy page css */
.policy-header {
  background: #004383;
  padding: 35px;
  border-radius: 16px;
  color: #fff;
}

.policy-tabs {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}

.policy-tab {
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  color: #fff;
  padding: 12px 28px;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  gap: 10px;
  align-items: center;
}

.policy-tab span {
  background: #004383;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 14px;
}

.policy-tab.active {
  background: #fff;
  color: #004383;
}

.policy-tab.active span {
  background: #004383;
  color: #fff;
}

.policy-content {
  margin-top: 30px;
}

.policy-list {
  display: none;
}

.policy-list.active {
  display: block;
}

.policy-card {
  background: #fff;
  border-radius: 14px;
  padding: 20px;
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.policy-icon {
  width: 60px;
  height: 60px;
  border: 1px solid #cfdfff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: #004383;
}

.policy-arrow {
  margin-left: auto;
  width: 40px;
  height: 40px;
  border: 1px solid #cfdfff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #004383;
}

.policy-search {
  margin-top: 20px;
  display: flex;
  gap: 10px;
  justify-content: right;
}

button.policy-search-btn {
  background: #004383;
  border: none;
  padding: 6px;
  color: white;
  border-radius: 5px;
}

input.policy-search-input {
  border: none;
  padding: 6px;
}

.empty-text {
  text-align: center;
  color: #999;
  padding: 40px 0;
}

/* dashboard policy page css ends here */

/* dashboard policy detailing page css start here */
.policy-back {
  display: inline-block;
  margin-bottom: 15px;
  color: #fff;
  background: #004383;
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
}

.policy-detail-card {
  background: #004383;
  color: #fff;
  padding: 30px;
  border-radius: 16px;
}

.policy-detail-left {
  display: flex;
  gap: 20px;
  align-items: center;
}

/* .policy-icon-lg {
    width: 60px;
    height: 60px;
    background: #fff;
    color: #004383;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
} */

.policy-type-dot {
  font-size: 14px;
  opacity: 0.9;
}

.policy-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.policy-detail-grid label {
  font-size: 13px;
  opacity: 0.8;
}

.download-btn {
  margin-top: 16px;
  width: 21%;
  background: #fff;
  color: #004383;
  padding: 14px;
  border-radius: 12px;
  border: none;
  font-weight: 600;
  margin-left: 370px;
  cursor: pointer;
}

.policy-info-card {
  background: #fff;
  border-radius: 16px;
  padding: 25px;
  margin-top: 30px;
}

.policy-info-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  margin-bottom: 20px;
}

.policy-info-table {
  /* background: #f2f8ff; */
  border-radius: 12px;
  overflow: hidden;
}

.info-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid #dde7f2;
}

.info-row:last-child {
  border-bottom: none;
}

/* dashboard policy detialing page css ends here */

/* dashboard policy claim page css start here */
.claims-header {
  background: #004383;
  padding: 40px;
  border-radius: 16px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.claims-header a {
  background: #fff;
  color: #004383;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
}
.claims-header a:hover {
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none !important;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  color: #fff;
  align-items: center;
}
.claims-header h2 {
  font-size: 32px;
  margin-bottom: 8px;
}

.claims-header p {
  opacity: 0.85;
}

/* EMPTY STATE CARD */
.claims-empty-card {
  margin-top: 30px;
  background: #fff;
  border-radius: 16px;
  padding: 30px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.claims-icon {
  width: 70px;
  height: 70px;
  border-radius: 14px;
  border: 1px solid #cfdfff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: #004383;
}

.claims-text h4 {
  font-size: 20px;
  margin-bottom: 5px;
  color: #004383;
}

.claims-text p {
  color: #777;
  margin: 0;
}
/* dashboard policy claim page css ends here */

/* dashboard policy profile page css start here */
/* HEADER */
.profile-header {
  background: #004383;
  padding: 35px;
  border-radius: 16px;
  color: #fff;
}

.profile-header h2 {
  font-size: 32px;
  margin-bottom: 6px;
}

/* TABS */
.profile-tabs {
  margin-top: 20px;
  display: flex;
  gap: 10px;
}

.profile-tab {
  padding: 6px 14px;
  border-radius: 8px;
  border: 1px solid #cfdfff;
  background: #fff;
  cursor: pointer;
  color: #004383;
}

.profile-tab.active {
  background: #004383;
  color: #fff;
}

/* CARD */
.profile-card {
  background: #fff;
  margin-top: 20px;
  padding: 30px;
  border-radius: 16px;
  display: none;
}

.profile-card.active {
  display: block;
}

.profile-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.profile-card-header i {
  color: #004383;
}

/* GENDER */
.gender-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.gender-box {
  border: 1px solid #cfdfff;
  padding: 10px;
  border-radius: 10px;
  text-align: center;
  cursor: pointer;
}

.gender-box input {
  display: none;
}

.gender-box.active {
  border-color: #004383;
  color: #004383;
}

/* FORM */
.profile-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.profile-form label {
  font-size: 13px;
  color: #555;
}

.profile-form input {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
}

/* SAVE */
.save-btn {
  margin-top: 25px;
  width: 100%;
  padding: 14px;
  border-radius: 10px;
  border: none;
  background: #004383;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.add-asset-btn {
  margin-top: 25px;
  width: 100%;
  padding: 8px;
  border-radius: 10px;
  border: none;
  background: #004383;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
}

.empty-text {
  text-align: center;
  color: #777;
}
/* dashboard policy profile page css ends here */

/* dashboard policy asset page css start here */

/* ASSETS */
.asset-icon {
  width: 42px;
  height: 42px;
  background: #eef4ff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #004383;
}

.asset-section {
  margin-top: 20px;
}

.asset-section h5 {
  margin-bottom: 15px;
  color: #111;
}

.asset-item {
  display: flex;
  align-items: center;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  margin-bottom: 14px;
  cursor: pointer;
  background: #fff;
}

.asset-img {
  width: 70px;
  height: 70px;
  background: #cddcff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.asset-img img {
  width: 60px;
  height: auto;
}

.asset-info {
  margin-left: 16px;
}

.asset-info h6 {
  font-size: 16px;
  margin-bottom: 4px;
}

.asset-info p {
  font-size: 14px;
  color: #555;
  margin-bottom: 2px;
}

.asset-info span {
  font-size: 13px;
  color: #777;
}

.asset-arrow {
  margin-left: auto;
  color: #004383;
  font-size: 18px;
}
/* dashboard policy asset page css ends here */

/* dashboard policy asset detail page css start here */

.asset-detail-header {
  background: #004383;
  padding: 20px;
  border-radius: 16px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 15px;
}

.back-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
}

.asset-detail-card {
  background: #fff;
  margin-top: 20px;
  border-radius: 16px;
  padding: 25px;
}

.asset-image {
  display: flex;
  justify-content: center;
}

.asset-image img {
  max-width: 240px;
}

.asset-title {
  text-align: center;
  margin-top: 15px;
}

.asset-title small {
  color: #777;
}

.asset-info-row {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid #e5e7eb;
}

.asset-info-row:last-child {
  border-bottom: none;
}

.insurance-btn {
  margin-top: 20px;
  width: 100%;
  background: #004383;
  color: #fff;
  padding: 14px;
  border-radius: 10px;
  border: none;
  font-weight: 600;
  cursor: pointer;
}

.asset-actions {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}

.remove-btn {
  flex: 1;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid #ff3b30;
  color: #ff3b30;
  background: #fff;
  font-weight: 600;
}

.modify-btn {
  flex: 1;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid #004383;
  color: #004383;
  background: #fff;
  font-weight: 600;
}

.driver-edit-box {
  display: flex;
  gap: 10px;
  align-items: center;
}

.driver-edit-box input {
  padding: 8px 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
  width: 220px;
}

.save-driver-btn {
  background: #004383;
  color: #fff;
  padding: 8px 14px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.save-driver-btn:hover {
  background: #033d75;
}

.claimback-btn {
  background: #004383;
  color: #fff;
  padding: 8px 14px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.claimback-btn:hover {
  background: #033d75;
}

.alert-success {
  color: green;
  margin-bottom: 8px;
}

/* dashboard policy asset detail page css ends here */

.history-change {
  font-weight: 500;
}

.history-change .old {
  color: #c0392b;
}

.history-change .new {
  color: #27ae60;
}

.history-meta {
  font-size: 13px;
  color: #777;
  text-align: right;
}

.no-history {
  padding: 20px 0;
  color: #888;
}

.history-table {
  width: 100%;
}

.history-row {
  display: grid;
  grid-template-columns: 120px 1fr 1fr 200px 150px;
  padding: 14px 10px;
  border-bottom: 1px solid #eee;
  align-items: center;
  font-size: 14px;
}

.history-head {
  font-weight: 600;
  background: #033d75;
  color: white;
  border-radius: 6px;
  margin-bottom: 6px;
}

.history-row .old {
  color: #c0392b;
}

.history-row .new {
  color: #27ae60;
  font-weight: 500;
}

.history-row .ip {
  font-size: 12px;
  color: #777;
}

/* .no-history{
    padding:18px;
    color:#888;
} */

i.fa-solid.fa-chart-line {
  margin-top: 5px;
}

i.fa-regular.fa-circle-question {
  margin-top: 5px;
}

i.fa-regular.fa-life-ring {
  margin-top: 5px;
}

i.fa-regular.fa-user {
  margin-top: 5px;
}

/* ...............RESPONSIVE ................ */
/* Responsive tweaks */
@media (max-width: 768px) {
  .cta-banner {
    /* background-color: var(--primary-blue); */
    object-fit: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    /* background-attachment: fixed; */
    background-image: url(../images/safedrivecover.png);
    padding: 40px 20px;
    text-align: center;
    color: var(--white);
    margin: 25px 0;
    border-radius: 10px;
    max-width: 1380px;
    margin-left: auto;
    margin-right: auto;
    width: 100% !important;
    height: auto !important;
  }
  .section-subtitle {
    text-align: center;
    color: var(--text-grey);
    font-size: 0.9rem;
    margin-bottom: 40px;
    color: var(--text-grey);
    font-size: 0.9rem;
    margin-bottom: 40px;
    width: 100%;
    margin-left: 0px !important;
  }
  .footer-content-heading {
    margin-left: 0 !important;
  }
  .header-contact-icons {
    display: flex;
    flex-direction: column !important;
    gap: 10px;
    align-items: start;
    justify-content: space-between;
    width: 100%;
  }
  .header-social-media-icons {
    display: none;
  }

  .header-contact-icons i {
    /* display: none !important; */
    margin-right: 8px;
    font-size: 0.8rem;
    background: none;
    color: #004383;
    /* width: 30px; */
    padding: 5px 4px;
    padding-top: 9px;
    border-radius: 5px;
    /* position: relative; */
    /* height: 30px; */
  }
  .header-top-contact-content {
    color: #3c3c3c;
    padding-right: 0px;
    display: flex;
    font-size: 12px;
    align-items: center;
  }
  div.copyright-text-right {
    justify-content: left !important;
  }
  .sticky-actions {
    display: flex !important;
    align-items: center !important;
    gap: 30px;
    margin-left: 0 !important;
  }
  .sticky-inner {
    display: flex;
    justify-content: center !important;
    align-items: center;
  }
  .radio-group {
    display: flex;
    gap: 10px;
    margin-top: 5px;
    flex-direction: column;
  }
  .form-group label {
    font-size: 13px;
    color: #555;
    margin-bottom: 3px;
    display: flex !important;
  }
}

.safe-drive-login-dropdown-wrapper {
  position: relative;
  display: inline-block;
  margin-left: 20px;
}

.safe-drive-login-dropdown-btn {
  /* padding: 10px 16px;
    background-color: #004383;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    border-radius: 4px; */
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: #004383;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  cursor: pointer;
}
/* Text */
.safe-drive-login-dropdown-text {
  display: inline-block;
}

/* Hamburger icon */
.safe-drive-login-dropdown-hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
}

.safe-drive-login-dropdown-hamburger span {
  width: 22px;
  height: 2px;
  background: #fff;
  display: block;
}
.safe-drive-login-dropdown-menu {
  position: absolute;
  top: 110%;
  right: 0;
  min-width: 180px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  display: none;
  z-index: 999;
}

.safe-drive-login-dropdown-menu.active {
  display: block;
}

.safe-drive-login-dropdown-item {
  display: block;
  padding: 12px 16px;
  color: #333;
  text-decoration: none;
  font-size: 14px;
}

.safe-drive-login-dropdown-item:hover {
  background-color: #004383;
  color: white;
}

body.no-scroll {
  overflow: hidden;
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  align-items: center;
  justify-content: center;
}

.mobile-menu-toggle span {
  width: 24px;
  height: 3px;
  background: var(--primary-blue);
  border-radius: 2px;
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}

.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 998;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-nav-overlay.active {
  display: block;
  opacity: 1;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 280px;
  max-width: 90vw;
  height: 100vh;
  background: #ffffff;
  z-index: 999;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.12);
  overflow-y: auto;
  padding: 20px 18px 24px;
}

.mobile-nav-drawer.open {
  transform: translateX(0);
}

.mobile-nav-drawer-header {
  display: flex;
  justify-content: flex-end;
}

.mobile-nav-close {
  background: none;
  border: none;
  font-size: 32px;
  line-height: 1;
  color: var(--text-dark);
  cursor: pointer;
}

.mobile-nav-links {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mobile-nav-links li {
  border-bottom: 1px solid #f0f0f0;
}

.mobile-nav-links a {
  display: block;
  padding: 12px 0;
  color: var(--text-dark);
  font-weight: 500;
}

.mobile-nav-links a.active-page {
  color: var(--primary-blue);
}

/* 🔥 Mobile view */
@media (max-width: 768px) {
  .navbar .container {
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
  }

  .nav-links {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
    margin-left: auto;
  }

  .safe-drive-login-dropdown-wrapper {
    display: none;
  }

  .safe-drive-login-dropdown-text {
    display: none;
  }

  .safe-drive-login-dropdown-hamburger {
    display: none;
  }

  .safe-drive-login-dropdown-btn {
    padding: 10px;
  }

  .mobile-nav-account {
    margin-top: 24px;
    border-top: 1px solid #f0f0f0;
    padding-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .mobile-nav-link {
    display: block;
    width: 100%;
    text-align: left;
    padding: 12px 0;
    color: var(--text-dark);
    font-weight: 500;
    background: transparent;
    border: none;
    cursor: pointer;
  }

  .mobile-nav-link:hover,
  .mobile-nav-link:focus {
    color: var(--primary-blue);
  }

  .mobile-nav-logout {
    text-align: left;
    border: none;
    background: none;
  }
}

i#user {
  padding-right: 23px;
}
i#dropdown {
  padding-left: 8px;
}

.dashboard-card {
  text-decoration: none;
  color: inherit;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.clickable-card {
  cursor: pointer;
  transition: 0.2s ease;
}

.clickable-card:hover {
  transform: translateY(-2px);
}

/* .............DASHBOARD SIDEBAR............ */
/* Hamburger Button */
.dashboard-sidebar-mobile-toggle {
  display: none;
  position: static;
  top: 150px;
  right: 15px;
  z-index: 1002;
  background: none;
  border: none;
  cursor: pointer;
}

.dashboard-sidebar-mobile-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: #000;
  margin: 5px 0;
  transition: 0.3s;
}

/* Sidebar Mobile Base */
.dashboard-sidebar-mobile {
  transition: transform 0.3s ease-in-out;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .policy-tabs {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    flex-direction: row;
  }

  .dashboard-wrapper {
    display: flex !important;
    gap: 30px !important;
    padding: 40px 114px;
    background: #eef6fb !important;
    flex-direction: column !important;
  }
  .dashboard-sidebar-mobile-toggle {
    display: block;
  }

  .dashboard-sidebar-mobile {
    position: fixed;
    top: 0;
    left: 0;
    width: 260px;
    height: 100vh;
    background: #fff;
    z-index: 1000;
    transform: translateX(-100%);
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
  }

  .dashboard-sidebar-mobile.dashboard-sidebar-mobile-open {
    transform: translateX(0);
  }
  .dashboard-wrapper {
    display: flex;
    gap: 30px;
    padding: 40px 20px;
    background: #eef6fb;
  }
  .dashboard-main {
    flex: 1;
    margin-top: 50px;
  }
}

/* Hamburger */
.dashboard-sidebar-mobile-toggle {
  display: none;
  position: static !important;
  top: 150px;
  right: 15px;
  z-index: 1 !important;
  background: none;
  border: none;
  cursor: pointer;
}

.dashboard-sidebar-mobile-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: #000;
  margin: 5px 0;
}

/* Close button */
.dashboard-sidebar-mobile-close {
  display: none;
  justify-content: flex-end;
  padding: 15px;
}

.dashboard-sidebar-mobile-close button {
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
}

/* Overlay */
.dashboard-sidebar-mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1000;
}

/* Mobile View */
@media (max-width: 768px) {
  .gender-options {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 10px;
    margin-bottom: 20px;
  }
  .profile-form {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
  }

  .dashboard-sidebar-mobile-toggle {
    display: block;
  }

  .dashboard-sidebar-mobile {
    position: fixed;
    top: 0;
    left: 0;
    width: 260px;
    height: 100vh;
    background: #fff;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 1001;
  }

  .dashboard-sidebar-mobile.dashboard-sidebar-mobile-open {
    transform: translateX(0);
  }

  .dashboard-sidebar-mobile-close {
    display: flex;
  }

  .dashboard-sidebar-mobile-overlay.dashboard-sidebar-mobile-overlay-show {
    display: block;
  }
}

/* claim css starts here */

/* Container */
.safe-drive-policy-form-container {
  width: 100%;
  /* max-width: 800px; */
  margin: 0 auto;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

/* Section title inside form */
.safe-drive-policy-form-section-title {
  font-size: 20px;
  color: #333;
  margin-top: 24px;
  text-align: left;
  border-bottom: 1px solid #ccc;
  padding-bottom: 10px;
}

/* Two-column grid override */
.safe-drive-policy-form-two-columns {
  grid-template-columns: 1fr 1fr;
}

/* Three-column grid override */
.safe-drive-policy-form-three-cols {
  grid-template-columns: repeat(3, 1fr);
}

/* One-column grid override */
.safe-drive-policy-form-one-column {
  grid-template-columns: 1fr;
}

/* Form */
.safe-drive-policy-form {
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* Title */
.safe-drive-policy-form-title {
  font-size: 28px;
  color: #333;
  text-align: center;
  margin-bottom: 10px;
}

/* Subtitle */
.safe-drive-policy-form-subtitle {
  font-size: 16px;
  color: #666;
  text-align: center;
  line-height: 1.5;
}

/* Input Section */
.safe-drive-policy-form-inputs-section {
  display: grid;
  /* four items (name, email, phone, mobile) plus checkbox group */
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  padding: 25px;
  /* background-color: #f5f5f5; */
  border-radius: 8px;
  border: 0.5px solid #efefef;
}

/* Checkbox/Radio group inside inputs section */
.safe-drive-policy-form-checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.safe-drive-policy-form-checkbox-label {
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.safe-drive-policy-form-option {
  accent-color: #667eea;
  cursor: pointer;
}

/* Help text for form fields */
.safe-drive-policy-form-help-text {
  font-size: 12px;
  color: #888;
  display: block;
  margin-top: 4px;
}

/* Image Gallery Container */
.safe-drive-policy-form-image-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 12px;
  margin-top: 15px;
  padding: 12px;
  background-color: white;
  border-radius: 6px;
}

/* Image Preview Item */
.safe-drive-policy-form-image-item {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.safe-drive-policy-form-image-item img {
  width: 100%;
  height: auto;
  max-height: 220px;
  object-fit: cover;
  display: block;
}

/* Responsive form and media layout */
.safe-drive-policy-form-inputs-section {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  align-items: start;
}

.safe-drive-policy-form-input-group {
  min-width: 0;
  width: 100%;
}

.safe-drive-policy-form-input {
  width: 100%;
  min-width: 0;
}

.safe-drive-policy-form-inputs-section .safe-drive-policy-form-input-label {
  white-space: normal;
  word-break: break-word;
}

#vehicle-image-gallery {
  width: 100%;
  max-width: 100%;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}

#vehicle-video-player,
.vehicle-media-video {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

/* Remove Button */
.safe-drive-policy-form-remove-btn {
  position: absolute;
  top: 4px;
  right: 4px;
  background-color: #ff4444;
  color: white;
  border: none;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.safe-drive-policy-form-remove-btn:hover {
  background-color: #cc0000;
  transform: scale(1.1);
}

/* Image Gallery Row (2 images) */
.safe-drive-policy-form-image-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 25px;
  background-color: #f5f5f5;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  align-items: center;
  justify-items: center;
}

/* Image Container */
.safe-drive-policy-form-image-container {
  width: 100%;
  max-width: 100%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.safe-drive-policy-form-image-container:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

/* Display Image */
.safe-drive-policy-form-display-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Input Group */
.safe-drive-policy-form-input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Input Label */
.safe-drive-policy-form-input-label {
  font-size: 14px;
  /* font-weight: 600; */
  color: #333;
}

/* Input Field */
.safe-drive-policy-form-input {
  padding: 12px 15px;
  font-size: 14px;
  border: 2px solid #e0e0e0;
  border-radius: 6px;
  font-family: inherit;
  transition: all 0.3s ease;
  background-color: white;
}

.safe-drive-policy-form-input:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
  background-color: #fafbff;
}

.safe-drive-policy-form-input::placeholder {
  color: #999;
}

/* Textarea styling */
.safe-drive-policy-form-textarea {
  padding: 12px 15px;
  font-size: 14px;
  border: 2px solid #e0e0e0;
  border-radius: 6px;
  font-family: inherit;
  transition: all 0.3s ease;
  background-color: white;
  resize: vertical;
  min-height: 120px;
}

.safe-drive-policy-form-textarea:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
  background-color: #fafbff;
}

.safe-drive-policy-form-textarea::placeholder {
  color: #999;
}

/* Divider */
.safe-drive-policy-form-divider {
  display: none;
}

/* Category */
.safe-drive-policy-form-category {
  display: none;
}

.safe-drive-policy-form-category:hover {
  display: none;
}

/* Category Title */
.safe-drive-policy-form-category-title {
  display: none;
}

/* Checkbox */
.safe-drive-policy-form-checkbox {
  display: none;
}

.safe-drive-policy-form-checkbox:checked {
  display: none;
}

/* Label */
.safe-drive-policy-form-label {
  display: none;
}

/* Description */
.safe-drive-policy-form-description {
  display: none;
}

/* Form Actions */
.safe-drive-policy-form-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.safe-drive-claim-form-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  justify-content: left;
  flex-wrap: wrap;
}

/* Buttons */
.safe-drive-policy-form-button {
  padding: 12px 30px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 160px;
}

.safe-drive-policy-form-button-primary {
  background-color: #013160;
  color: white;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.safe-drive-policy-form-button-primary:hover {
  background-color: #fff;
  color: #013160;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.safe-drive-policy-form-button-primary:active {
  transform: translateY(0);
}

.safe-drive-policy-form-button-secondary {
  background-color: #f0f0f0;
  color: #333;
  border: 1px solid #ddd;
}

.safe-drive-policy-form-button-secondary:hover {
  background-color: #e8e8e8;
  border-color: #bbb;
}

.safe-drive-policy-form-button-secondary:active {
  background-color: #e0e0e0;
}
  div#vehicle-header-profile-page-mobile {
    display: flex;
    flex-direction: row !important;
    justify-content: space-between;
    align-items: center;
}

/* ============================================
   Responsive Design
   ============================================ */

/* Tablet (768px and below) */
@media (max-width: 768px) {
    .faq-answer.open {
    margin-bottom: 50px !important;
}
  div#vehicle-header-profile-page-mobile {
    display: flex;
    flex-direction: row !important;
    justify-content: space-between;
    align-items: center;
}
  .safe-drive-policy-form {
    padding: 25px;
    gap: 20px;
  }
  .safe-drive-policy-form-input-group canvas {
    width: 100% !important;
  }

  .safe-drive-policy-form-inputs-section {
    grid-template-columns: 1fr !important;
    gap: 15px;
    padding: 20px;
  }

  /* ensure custom layouts collapse nicely */
  .safe-drive-policy-form-three-cols {
    grid-template-columns: 1fr 1fr;
  }
  .safe-drive-policy-form-two-columns {
    grid-template-columns: 1fr;
  }
  .safe-drive-policy-form-one-column {
    grid-template-columns: 1fr;
  }

  .safe-drive-policy-form-title {
    font-size: 24px;
  }

  .safe-drive-policy-form-subtitle {
    font-size: 14px;
  }

  .safe-drive-policy-form-category {
    padding: 15px;
  }

  .safe-drive-policy-form-category-title {
    font-size: 15px;
  }

  .safe-drive-policy-form-description {
    font-size: 13px;
  }

  .safe-drive-policy-form-button {
    padding: 10px 20px;
    font-size: 14px;
    min-width: 140px;
  }

  .safe-drive-policy-form-image-row {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}

/* Mobile (480px and below) */
@media (max-width: 480px) {
  body {
    /* padding: 10px; */
  }

  .safe-drive-policy-form-container {
    border-radius: 8px;
  }

  .safe-drive-policy-form {
    padding: 20px;
    gap: 15px;
  }

  .safe-drive-policy-form-inputs-section {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 15px;
  }

  /* custom layouts collapse to single column */
  .safe-drive-policy-form-three-cols,
  .safe-drive-policy-form-two-columns,
  .safe-drive-policy-form-one-column {
    grid-template-columns: 1fr;
  }

  .safe-drive-policy-form-input {
    padding: 10px 12px;
    font-size: 13px;
  }

  .safe-drive-policy-form-title {
    font-size: 20px;
  }

  .safe-drive-policy-form-subtitle {
    font-size: 13px;
  }

  .safe-drive-policy-form-category {
    padding: 12px;
  }

  .safe-drive-policy-form-category-title {
    font-size: 14px;
    gap: 10px;
  }

  .safe-drive-policy-form-checkbox {
    width: 18px;
    height: 18px;
  }

  .safe-drive-policy-form-description {
    font-size: 12px;
    margin-left: 28px;
  }

  .safe-drive-policy-form-actions {
    flex-direction: column;
    gap: 10px;
  }

  .safe-drive-policy-form-button {
    width: 100%;
    padding: 12px;
    min-width: unset;
  }

  .safe-drive-policy-form-image-gallery {
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  }

  .safe-drive-policy-form-image-item img {
    height: 80px;
  }

  .safe-drive-policy-form-image-row {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 15px;
  }
}

/* Large screens (1200px and above) */
@media (min-width: 1200px) {
  .safe-drive-policy-form {
    padding: 50px;
  }

  .safe-drive-policy-form-title {
    font-size: 32px;
  }
}

.safe-drive-company-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}
.safe-drive-company-logo img {
  width: 350px;
  height: auto;
  object-fit: contain;
}
/* claim css ends here */

.policy-header-content-btn-class {
  background: #004383;
  color: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.policy-header-content-btn-class a {
  color: #004383;
  text-decoration: none;
  background-color: #fff;
}
.policy-header-content-btn-class a:hover {
  /* color: #004383 !important; */
  text-decoration: none !important;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  color: #fff;
  align-items: center;
}
.policy-add-btn-secondary {
  margin-top: 30px;
}

/* AutoPay CSS Start Here */

.switch {
  display: inline-block;
  position: relative;
  width: 50px;
  height: 25px;
  border-radius: 20px;
  background: red;
  transition: background 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  vertical-align: middle;
  cursor: pointer;
}
.switch::before {
  content: "";
  position: absolute;
  top: 1px;
  left: 2px;
  width: 22px;
  height: 22px;
  background: #fafafa;
  border-radius: 50%;
  transition:
    left 0.28s cubic-bezier(0.4, 0, 0.2, 1),
    background 0.28s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}
.switch:active::before {
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.28),
    0 0 0 20px rgba(128, 128, 128, 0.1);
}
input:checked + .switch {
  background: #72da67;
}
input:checked + .switch::before {
  left: 27px;
  background: #fff;
}
input:checked + .switch:active::before {
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.28),
    0 0 0 20px rgba(0, 150, 136, 0.2);
}

/* AutoPay CSS Ends Here */

button.clear_signature {
  border: none;
  border-radius: 5px;
  background: #013160;
  color: #fff;
  padding: 8px 14px;
}

button.clear_signature:hover {
  border: 1px #013160 solid;
  border-radius: 5px;
  color: #013160;
  background: #fff;
  padding: 8px 14px;
}

.video-hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

/* Background video */
.hero-bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 1;
}

/* Dark overlay */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* adjust darkness */
  z-index: 2;
}

/* Content above video */
.video-hero .container {
  position: relative;
  z-index: 3;
}

/* Optional: make text white */
.hero-text h1,
.hero-text p {
  color: #fff;
}

.office-location-section {
  /* background: var(--light-bg); */
  /* background: linear-gradient(135deg, #0d3b66, #1d4e89); */
  padding: 20px 0;
}

.office-title {
  color: var(--primary-blue);
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 40px;
}

.office-card {
  background: var(--accent-blue);
  border-radius: 12px;
  padding: 8px 30px;
}

.office-box {
  padding: 20px 40px;
}

.office-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 2px;
}
.policy-header-content-btn-class {
  background: #004383;
  color: #fff;
  padding: 10px 0px !important;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  display: flex;
  align-items: start !important;
  justify-content: space-between;
  flex-direction: row !important;
}
.policy-icon-lg {
  width: 100% !important;
  height: 100% !important;
  background: #fff;
  color: #004383;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  padding: 20px !important;
}

.office-header h4 {
  color: #ffffff;
}

.location-icon {
  font-size: 20px;
}

.office-address {
  color: #ffffff;
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.map-box iframe {
  width: 100%;
  height: 300px;
  border-radius: 10px;
  border: none;
}

/* Divider line */
.border-end {
  border-right: 1px solid #ddd;
}

/* Responsive */
@media (max-width: 768px) {
  .policy-header-content-btn-class {
  background: #004383;
  color: #fff;
  padding: 10px 0px !important;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  display: flex;
  align-items: start !important;
  justify-content: space-between;
  flex-direction: column !important;
}
  .border-end {
    border-right: none;
    border-bottom: 1px solid #ddd;
    margin-bottom: 20px;
  }

  .office-box {
    padding: 20px;
  }

  .office-title {
    font-size: 28px;
  }
}

.header-contact-icons {
  display: flex;
  gap: 10px;
}

.contact-box {
  display: flex;
  align-items: center; /* keeps icon + text aligned */
  background: var(--primary-blue);
  padding: 6px 12px;
  border-radius: 6px;
}

.contact-box i {
  background: #0d3b66;
  color: #fff;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center; /* vertical center */
  justify-content: center; /* horizontal center */
  border-radius: 4px;
  margin-right: 8px;
}

/* =========================================
   TAXI / RIDESHARE TOGGLE SWITCH (QUOTE FORM)
========================================= */

.quote-form-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.quote-form-header h3 {
  margin-bottom: 0 !important; /* Override previous margin */
}

.usage-toggle {
  display: inline-flex;
  /* width: 220px; */
  background: #ffffff;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid var(--primary-blue);
}

.usage-toggle input[type="radio"] {
  display: none;
}

.usage-toggle label {
  padding: 6px 16px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-blue);
  transition:
    background-color 0.3s,
    color 0.3s;
  margin: 0 !important;
  text-align: center;
  align-items: center;
  justify-content: center;
  display: flex;
}

.usage-toggle input[type="radio"]:checked + label {
  background: var(--primary-blue);
  color: #ffffff;
}

/* Mobile Responsiveness for Form Header */
@media (max-width: 576px) {
  .quote-form-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
}



.same-email-note-thank-you p{
    text-align: center;
    color: red;
}