/* Modal Styling */
.quote_modal { visibility: hidden; opacity: 0; position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

.quote_modal.active {
  visibility: visible;
  opacity: 1;
}
.quote_modal.active .modal_content {
  transform: translateY(0);
}

.quote_modal h3 {
  color:#fff;
}

/* Modal overlay for closing */
.quote_modal .modal_overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  backdrop-filter: blur(5px);
}

/* Modal content box */
.quote_modal .modal_content {
  background: radial-gradient(122.1% 122.1% at 50% 100%,#4fad9f 0,#051c2c 70.5%,#051c2c 85%);
  padding: 40px;
  max-width: 600px;
  width: 90%;
  text-align: center;
  position: relative;
  border-radius: 10px;
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);
}

/* Close button */
.quote_modal .close_modal {
  position: absolute;
  top: 0px;
  right: 10px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #fff;
  padding:10px;
  outline:none;
  border:none;
}

/* Buttons inside modal */
.quote_modal .button_row {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

{# end modal #}


.landing_page_header .header .main-header .megamenu .menu {
  display:none;
}
.landing_page_header .header .trustpilot-top {
  display:none;
}
.header {
  position:absolute;
  z-index:99;
  width:100%;
  top:0;
  left:0;
}

.header .trustpilot-top {
  background: linear-gradient(95deg, #051C2C 7.91%, #155273 96.42%);
  padding:12px 20px;
  margin:0 auto;
  display:flex;
  justify-content:center;
}
.header .trustpilot-top small {
  color:#fff;
  text-align:center;
  padding:0;
  margin:0;
}

.header .main-header {
  background: linear-gradient(180deg, rgba(5, 28, 44, 0.40) 0%, rgba(5, 28, 44, 0.10) 100%);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(243, 243, 243, 0.54);
  width:100%;
} 

.header.white_bg .main-header {
  background:#ffffffd6;
  border-bottom:none;
}

.header .main-header .megamenu {
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:30px 0;
}


.header .main-header .logo.light {
  display:none;
} 

.header .main-header .logo.dark {
  display:block
}

.header.white_bg .main-header .logo.light {
  display:block;
} 

.header.white_bg .main-header .logo.dark {
  display:none;
} 

.header .main-header .logo img {
  width:165px;
  height:auto;
}
.header .main-header .menu {
  display:flex;
  gap:32px;
}

.header.white_bg .main-header .menu .menu-item {
  color:#000;
}

.header .main-header .menu .menu-item {
  color: #FFF;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  text-decoration:none;
  display:flex;
  align-items:center;
  gap:4px;
  padding-bottom:45px;
  margin-bottom:-45px;
  padding-top:40px;
  margin-top:-40px;
  position:relative;
}

.header .main-header .menu .menu-item:hover,
.header .main-header .menu .menu-item.active {
  color:#B4FFEB;
}

.header.white_bg .main-header .menu .menu-item:hover,
.header.white_bg .main-header .menu .menu-item.active {
  color:#4FAD9F;
}

.header .main-header .cta .button {
  margin:0;
}

.header .main-header.sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(180deg, rgb(5 28 44 / 70%) 0%, rgba(5, 28, 44, 0.40) 100%);
}

.header.white_bg .main-header.sticky {
  background:#fff;
}

.header .menu .submenu {
  opacity: 0; /* Start hidden */
  visibility: hidden; /* Ensure it doesn't interfere with layout */
  position: absolute;
  top: 100%;
  width: 100%;
  left: 0;
  background: #051C2C;
  padding: 50px 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 999;
}
.header .menu .submenu.active {
  opacity: 1; /* Make it visible */
  visibility: visible; /* Allow interaction */
}


.header .menu .submenu .content-wrapper {
  display:flex;
  gap:50px;
}

.header .menu .submenu .left_col {
  flex:1;
}

.header .menu .submenu .right_col {
  width:335px;
 }

.header .menu .submenu .submenu_row {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 50px; 
}

.header .menu .submenu .submenu_row .col {
  border-top: 1px solid #A5D2F2;
  margin-top:30px;
  padding-top:30px
}

.header .menu .submenu .submenu_row  .col.col_span {
  grid-column: span 2;
  display:grid;
  grid-template-columns: repeat(2, 1fr); 
  gap:5px 25px;
}

.header .menu .submenu .submenu_row .col_span  .col_title {
  grid-column: span 2;
}

.header .menu .submenu .submenu_row .col_title {
  color: #A5D2F2;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 150%; /* 21px */
  min-height:21px;
}

.header .menu .submenu.vehicle .submenu_row .col_title {
  color:#A5D2F2;
}
.header .menu .submenu.business .submenu_row .col_title {
  color:#B4FFEB;
}


.header .top_description {
  max-width:700px;
  padding-bottom:10px;
}

.header .top_description .title {
  color: #FFF;
  font-size: 32px;
  font-weight: 600;
  line-height: 130%;
  margin-bottom:0;
}
.header .top_description .description {
  color: #FFF;
  font-size: 16px;
  font-weight: 400;
  line-height: 150%;
  margin-bottom:20px;
  margin-top:5px;
}

.header .menu .submenu .submenu_row .col_links {
  display:flex;
  justify-content:space-between;
  padding:8px 0px 8px 20px;
  border-radius: 10px;
  background: #011523;
  color: #FFF;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  align-items:center;
  text-decoration:none;
  margin-bottom:6px;
  transition:all .3s ease;
}

.header .menu .submenu.business .submenu_row .col_links.divider {
  color:#B4FFEB;
  padding:8px 0;
  border:none;
  background:unset;
  cursor:default;
  font-size:14px;
  font-weight: 600;
}
.header .menu .submenu.vehicle .submenu_row .col_links.divider {
  color:#A5D2F2;
  padding:8px 0;
  border:none;
  background:unset;
  cursor:default;
}

.header .menu .submenu .submenu_row .col_links.simple_link {
  background:none;
  padding:10px 0;
  border:none;
  justify-content:flex-start;
}


.header .menu .submenu.vehicle .submenu_row .col_links:not(.simple) {
  border-radius: 10px;
/*   border: 1px solid #FFF; */
  background: radial-gradient(198.1% 145.88% at 28.62% 33.54%, #FFF 0%, #A5D2F2 100%);
  color:#000;
}

.header .menu .submenu.business .submenu_row .col_links:not(.simple) {
  border-radius: 10px;
  border: 1px solid #FFF;
  background: radial-gradient(198.1% 145.88% at 28.62% 33.54%, #FFF 0%, #B4FFEB 100%);
  color:#000
}

.header .menu .submenu .submenu_row .col_links:hover:not(.divider) {
  transform:translateY(-2px);
}

.header .menu .submenu .submenu_row .col_links.car img {
  height:59px;
  width:auto;
}
.header .menu .submenu .submenu_row .col_links.brand img {
  height:28px;
  width:auto;
  max-width:100px;
  margin-right:20px;
}

.header .featured_post {
border-radius: 10px;
background: radial-gradient(198.1% 145.88% at 28.62% 33.54%, #FFF 0%, #B4FFEB 100%);
}
.header .featured_post .featured_image {
  border-radius: 10px 10px 0px 0px;
  overflow:hidden;
  height:221px;
  width:100%;
}

.header .featured_post .featured_image img {
  width:100%;
  height:100%;
  object-fit:cover;
}

.header .featured_post .blog_content {
  padding:24px;
  }

.header .featured_post .blog_tags {
  display:flex;
  gap:10px;
  align-items:center;
}

.header .featured_post .blog_tags .tag {
  display:block;
  padding: 4px 8px;
  border-radius: 3px;
  background: #051C2C;
  color:#fff;
  font-size: 14px;
  font-weight: 600;
}

.header .featured_post .blog_tags .estimate {
  color: #005333;
  font-size: 14px;
  font-weight: 600;
}

.header .featured_post .blog_title {
  margin:16px 0px 8px 0px;
  color: #005333;
  font-size: 20px;
  font-weight: 700;
}

.header .featured_post .blog_description {
  color: #005333;
  font-size: 14px;
  font-weight: 400;
}

.header .featured_post .read_more {
  display:flex;
  gap:5px;
  align-items:center;
  line-height:1;
  color: #005333;
  font-size: 16px;
  font-weight: 400;
  text-decoration:none;
  margin-top:24px;
  transition:all .3s linear;
}

.header .featured_post .read_more:hover {
  gap:10px;
}
.header .mobile_menu {
  display:none;
}
@media (max-width:1200px) {
   .header {
    position:fixed;
    width:100%;
  }
  .header .main-header .menu {
    display:none;
  }
  .header .featured_post {
    display:none;
  }

 .landing_page_header .header .trustpilot-top {
  display:block;
} 
  .header .mobile_menu {
    display:block;
  }
  .header .menu .submenu .submenu_row .col_title {
    min-height:0px;
  }
  .header .menu .submenu .submenu_row  .col.col_span {
  display:block;
  }
  
  /* Hamburger Icon */
.header .mobile_menu {
  width: 30px;
  height: 24px;
  position: relative;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Lines */
.header .mobile_menu .line {
  width: 100%;
  height: 3px;
  background-color: #ffffff;
  position: absolute;
  left: 0;
  transition: all 0.3s ease-in-out;
}
  .header.white_bg .mobile_menu .line {
    background-color: #4FAD9F;
  }
  .header.white_bg .main-header .menu .menu-item {
    color:#fff;
  }

/* Positioning Each Line */
.header .mobile_menu .top {
  top: 0;
}

.header .mobile_menu .middle {
  top: 50%;
  transform: translateY(-50%);
}

.header .mobile_menu .bottom {
  bottom: 0;
}

/* Active State - Transforms into X */
.header .mobile_menu.active .top {
  transform: translateY(5px) rotate(45deg);
}

.header .mobile_menu.active .middle {
  opacity: 0; /* Hide middle line */
}

.header .mobile_menu.active .bottom {
  transform: translateY(-16px) rotate(-45deg);
}
  .header .main-header .menu.active {
    display: flex;
  }

.header .main-header .menu {
    flex-direction: column;
    gap: 32px;
    position: absolute;
    top: 100px;
    background: #051C2C;
    width: 100%;
    left: 0;
    padding: 20px 20px 40px;
    
    /* Ensure scrolling inside the menu */
    max-height: calc(100vh - 70px); /* Adjust based on top position */
    overflow-y: auto;
    overscroll-behavior: contain; /* Prevent scrolling beyond the menu */
  }
  
    body.menu-open {
    overflow: hidden;
/*     height: 100vh; */
  }
  
  .header .main-header .menu .menu-item {
    padding-bottom: 10px;
    margin-bottom: 0px;
    padding-top: 10px;
    margin-top: 0px;
  }
  .header .menu .submenu {
    position:relative;
    padding:10px 0;
    display:none;
  }
  .header .menu .submenu.active {
    display:block;
  }
  .header .menu .submenu .content-wrapper {
    flex-direction: column;
    gap: 10px;
    padding:0;
  }
  .header .menu .submenu .submenu_row {
    grid-template-columns:1fr;
    gap:10px;
  }
  .header .main-header .menu .menu-item {
    font-size:20px;
    justify-content: space-between;
  }
  .header .top_description .title {
    font-size:20px;
    
  }
  .header .main-header .menu .menu-item.active svg {
    transform:rotate(180deg);
  }
}

@media (max-width:600px) {
  .header .main-header .cta {
    display:none;
  }
    .header .main-header .menu {
      top: 70px;
  }
  .header .main-header .cta.mobile_cta {
    display:block;
  }
   .landing_page_header .header .main-header .cta {
    display:block;
  }
  
  .header .main-header .megamenu {
    padding:20px 0;
  }
  .header .main-header .logo img {
    width: 126px;
  }
  .header .main-header {
    border-bottom:none;
  }
  .quote_modal .button_row {
    flex-direction:column-reverse;
    align-items:center;
  }
}