/* *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *
** BANNER SECTION 
** *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** */
.banner-section {
  position: relative;
  width: 100%;
  min-height: 775px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  text-align: center;
  color: var(--ld-white);
  box-sizing: border-box;
  overflow: hidden;
}

.banner-wrapper {
  position: relative;
  z-index: 3;
  flex-direction: column;
  gap: 7px;
  text-align: left;
}

.banner-wrapper p {
  line-height: 25px;
}

.banner-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: #193458;
  opacity: 0.28;
  mix-blend-mode: multiply;
  z-index: 1;
}

.banner-section::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  background: linear-gradient(
    to bottom,
    rgba(25, 52, 88, 0) 0%,
    rgba(25, 52, 88, 1) 100%
  );
  opacity: 0.57;
  mix-blend-mode: multiply;
  z-index: 2;
}

/* Banner Download Wrapper */
.banner-download-wrapper {
  gap: 15px;
  margin-top: 25px;
}

.download-text {
  font-size: 14px;
}

/* *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *
** Feature news SECTION 
** *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** */

.section-title {
  padding: 32px 0px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 145px;
  padding: 74px 0;
}

/* Card Styling */
.news-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 431px;
  border-radius: 32px;
  overflow: hidden;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  text-decoration: none;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.news-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.4) 50%,
    transparent 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 2.5px;
  padding: 20px;
  color: var(--ld-white);
}

.news-date {
  font-size: 7px;
  text-transform: uppercase;
  line-height: 1.2;
}

.news-title {
  font-size: 20px;
}

.news-author {
  font-size: 10px;
}

.news-subheading {
  font-size: 6px;
}

/* *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *
** image-with-accordion-section 
** *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** */
.image-with-accordion-section {
  overflow: hidden;
}

.image-with-accordion-section.towing-rates-condition {
  padding: 62px 0;
  margin: 80px 0;
}

.section-top-content {
  margin-bottom: 50px;
}

.section-top-content .main-heading {
  line-height: 1.2;
  margin-bottom: 24px;
  color: #193458;
}

.image-with-accordion-section.towing-rates-condition
  .section-top-content
  .main-heading {
  margin-bottom: 10px;
}

.image-with-accordion-section.towing-rates-condition .sub-heading {
  font-size: 24px;
  color: #406698;
}

.section-top-content .sub-heading {
  font-size: 15px;
  line-height: 1.2;
  font-weight: 500;
  color: #000;
}

.image-with-accordion-wrapper.has-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  align-items: center;
  margin-right: calc((-100vw + 100%) / 2);
}

.image-with-accordion-wrapper.no-images {
  width: 100%;
}

.image-with-accordion-wrapper.no-images .image-with-accordion__content {
  max-width: 100%;
}

.accordion-list {
  gap: 42px;
}

.image-with-accordion-section.towing-rates-condition .accordion-list {
  gap: 24px;
}

.accordion-item {
  cursor: pointer;
  transition: all 0.3s ease;
}

.accordion-header h4 {
  font-size: 36px;
  letter-spacing: 0.5px;
  transition:
    opacity 0.3s ease,
    color 0.3s ease;
  color: #406698;
}

.image-with-accordion-section.towing-rates-condition .accordion-header h4 {
  font-size: 40px;
  color: #193458;
  opacity: 1;
  font-weight: bold;
  text-transform: capitalize;
}

.accordion-item.active .accordion-header h4 {
  color: #193458;
  opacity: 1;
}

.accordion-body {
  margin-top: 10px;
  width: 90%;
}

.accordion-body p {
  font-size: 15px;
  line-height: 1.6;
  color: #918d8d;
}

.accordion-images-wrapper {
  position: relative;
  width: 100%;
  height: 577px;
  overflow: hidden;
}

.accordion-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.4s ease-in-out,
    visibility 0.4s ease-in-out;
}

.accordion-img.active {
  opacity: 1;
  visibility: visible;
}

/* Responsive Styles */
@media (max-width: 991px) {
  .image-with-accordion-wrapper.has-images {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-right: 0;
  }

  .accordion-images-wrapper {
    height: 380px;
  }
}

/* *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *
** Content with Form section
** *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** */
.content-with-form-wrapper {
  gap: 11px;
}

.content-with-form__left {
  gap: 10px;
}

.content-with-form__left h2 {
  line-height: 55px;
}
.content-with-form-section.has-form-padding {
  padding: 144px 0;
}

.content-with-form-section.has-button-padding {
  padding: 62px 0;
}

/* *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *
** Content with Background
** *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** */

.content-with-bg-section {
  padding: 62px;
}
.content-with-bg-wrapper {
  gap: 10px;
}

.content-with-bg__desc p {
  color: var(--ld-soft-blue);
  font-weight: 500;
}
.content-with-bg__small-text {
  color: var(--ld-white);
  font-weight: 400;
  font-size: 10px;
}
/* *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *
** Logo slider
** *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** */
.logo-slider-section {
  padding: 151px 0;
  overflow: hidden;
}

.logo-swiper {
  width: 100%;
  overflow: visible;
}

.logo-swiper .swiper-slide {
  width: auto;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-item {
  width: 327px;
  height: 327px;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

/* *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *
** Gallery Image section
** *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}

.gallery-card-item {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1 / 1;
}

.gallery-card-image {
  width: 100%;
  height: 100%;
}

.gallery-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-card-image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #193458;
  opacity: 0.7;
  transition: opacity 0.4s ease;
  z-index: 1;
}
/* Hover Content*/
.gallery-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #ffffff;
  padding: 60px;
  box-sizing: border-box;
  transform: translateY(100%);
  opacity: 0;
  transition:
    transform 0.4s cubic-bezier(0.25, 1, 0.5, 1),
    opacity 0.3s ease;
  z-index: 2;
}

.gallery-card-item:hover .gallery-card-image::after {
  opacity: 0;
}

.gallery-card-item:hover .gallery-card-overlay {
  transform: translateY(0);
  opacity: 1;
}

.gallery-card-item:hover .gallery-card-image img {
  transform: scale(1.05);
}

.gallery-card__title {
  line-height: 1.2;
  margin-bottom: 10px;
}

.gallery-card__subtitle {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 10px;
}

.gallery-card__desc,
.gallery-card__desc p {
  font-size: 14px;
  line-height: 1.3;
  margin: 0;
}

.gallery-card__desc {
  white-space: pre-line;
}

/* *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *
** Feature Build Card
** *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** */

.featured-builds-section h2 {
  padding: 24px 0;
}

.featured-builds-section {
  padding-bottom: 62px;
}

.featured-builds-grid {
  gap: 30px;
}

.featured-card-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.8) grayscale(90%) sepia(100%) hue-rotate(190deg)
    saturate(150%);
  opacity: 0.9;
  transition:
    filter 0.4s ease,
    transform 0.4s ease,
    opacity 0.4s ease;
}

.card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  backdrop-filter: blur(3px);
  padding: 25px 30px;
  box-sizing: border-box;
  transform: translateY(100%);
  opacity: 0;
  transition:
    transform 0.4s ease,
    opacity 0.4s ease;
  z-index: 2;
}

.featured-card-item:hover .card-overlay,
.card-inner:hover .card-overlay {
  transform: translateY(0);
  opacity: 1;
}

.card-overlay .card-name {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 4px !important;
}

.card-overlay .card-title {
  font-size: 14px;
  line-height: 1.3;
}

.featured-card-item:hover .card-image {
  filter: none;
  opacity: 1;
  transform: scale(1.03);
}

.featured-card-item:hover .card-overlay {
  transform: translateY(0);
  opacity: 1;
}

/* *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *
** Emergency-service-section 
** *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** */

.emergency-service-section {
  padding: 100px 0;
  overflow-x: hidden;
}

.emergency-service-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
  padding: 62px 0;
}

.emergency-heading-col {
  flex: 1;
  max-width: 658px;
}

.emergency-heading-col h2 {
  font-size: 64px;
}

.emergency-call-box {
  flex: 1;
  margin-right: calc(-50vw + 50%);
}

.call-box-header {
  padding: 16px 24px;
  width: 100%;
}

.call-box-body {
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 19px;
}

.contact-item {
  gap: 10px;
  flex-wrap: wrap;
  padding: 0 16px;
}

.contact-main {
  gap: 8px;
}

.contact-label {
  font-size: 32px;
}

.contact-number {
  font-size: 20px;
  text-decoration: none;
  transition: opacity 0.3s ease;
  color: #0e7afe;
}

.contact-number:hover {
  opacity: 0.8;
}

.contact-subtext {
  font-size: 14px;
  text-transform: capitalize;
}

/* *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *
** Contact Page
** *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** */

.contact-form-outer {
  width: 100%;
  align-items: center;
}

/* Left Side*/
.contact-form__left-container {
  width: 50%;
  padding-left: max(20px, calc((100vw - 1320px) / 2));
  padding-right: 40px;
  box-sizing: border-box;
}

.contact-form__right-image {
  width: 50%;
  height: 100%;
  min-height: 728px;
  position: relative;
}

.contact-form__right-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *
** Standard Card
** *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** */

.delay-1,
.delay-2,
.delay-3,
.delay-4,
.delay-5,
.delay-6 {
  opacity: 0;
  animation: fadeInUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 {
  animation-delay: 0.1s;
}

.delay-2 {
  animation-delay: 0.4s;
}

.delay-3 {
  animation-delay: 1.1s;
}

.delay-4 {
  animation-delay: 0.7s;
}

.delay-5 {
  animation-delay: 0.9s;
}

.delay-6 {
  animation-delay: 1s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.standard-card-section {
  padding: 50px 0;
}

.card-top-content {
  padding: 50px 0;
}

.card-top-content .main-heading {
  font-size: 50px;
  line-height: 1.2;
  margin-bottom: 26px !important;
}

.card-top-content .main-description p {
  font-size: 15px;
  line-height: 1.6;
}

.standard-card-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 70px;
  align-items: center;
  padding: 50px 0;
}

.standard-card-grid.no-image {
  grid-template-columns: 1fr;
}

.card-image-wrap img {
  width: 100%;
  max-width: 380px;
  height: auto;
  display: block;
}

.card-right-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.content-description {
  white-space: pre-line;
}

.content-description p {
  color: #000;
  font-size: 15px;
  line-height: 1.6;
}

.content-description p:last-child {
  margin-bottom: 0 !important;
}

/* *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *
** RESPONSIVE
** *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** */

@media screen and (max-width: 1200px) {
}

@media screen and (max-width: 1024px) {
}

@media (max-width: 991px) {
  .standard-card-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .card-top-content .main-heading {
    font-size: 36px;
  }

  .content-heading {
    font-size: 28px;
  }
}
@media screen and (max-width: 767px) {
  /* Banner section */
  .banner-section {
    min-height: 60vh;
  }

  .banner-section h1 {
    font-size: 2.2rem;
  }

  .banner-section p {
    font-size: 0.8rem;
    letter-spacing: 1px;
  }

  /* Need emergency-service*/
  .emergency-service-wrapper {
    flex-direction: column;
  }

  .emergency-heading-col,
  .emergency-call-box {
    max-width: 100%;
    width: 100%;
    margin-right: 0;
  }

  .emergency-heading-col h2 {
    font-size: 42px;
  }
}
