@import url('faq.css');
@import url('section-cta.css');

@media (min-width: 1200px) {
  section {
    padding: 64px 0;
  }

  .wrapper {
    max-width: 1340px !important;
  }

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

.navbar-brand {
  .logo_name {
    justify-content: center;
  }
}

section.banner {
  background: linear-gradient(to right bottom, rgb(31, 59, 97), rgb(22, 43, 70));
  overflow: hidden;
  position: relative;

  .container-fluid {
    position: relative;
    z-index: 1;
  }

  .position-absolute.c-bg {
    opacity: .05;
    background-image: url('../../assets/images/global/bg.svg');
    z-index: 0;
    width: 100%;
    height: 140%;
    top: 0%;
    left: 0;
  }

  svg.position-absolute {
    left: 0;
    bottom: -1px;
  }

  .banner_content {
    gap: 48px;
    justify-content: space-between;

    &>div {
      width: 100%;
    }

    .field {
      flex: 1 1 0;
      width: 100%;
      min-width: 0;
    }

    .subheading {
      color: hsl(var(--gold));
    }

    .banner-highlights {

      p {
        color: hsl(var(--primary-foreground) / .8);
      }

      svg {
        color: hsl(var(--gold));
        min-width: 20px;
        height: 20px;
      }

      .highlight-item {
        gap: 4px;

        &:first-of-type svg {
          fill: hsl(var(--gold));
        }
      }
    }

    @media (min-width: 1200px) {

      .content {
        max-width: 726px;
      }

      .landing-form-wrap {
        max-width: 505px;
      }

    }
  }

  @media (min-width: 1200px) {

    h1 {
      font-size: 60px;
    }

    .banner-highlights {
      gap: 16px;
      justify-content: space-between;
    }
  }

  @media (max-width: 1199px) {
    text-align: center;

    .banner_content {
      flex-direction: column;

      .banner-highlights {
        justify-content: center;
        gap: 20px;
        flex-wrap: wrap;
      }
    }
  }

  @media (min-width: 768px) {
    .highlight-item {
      width: 100%;
      max-width: max-content;
    }
  }

  @media (max-width: 767px) {
    .banner-highlights {
      flex-wrap: wrap;
      gap: 32px 0;

      .highlight-item {
        width: 50%;
      }
    }
  }

  @media (max-width: 575px) {}
}

section.banner {
  h3 {
    color: rgb(30, 58, 95);
    font-size: 24px;
  }

  .form-container {
    background-color: hsl(var(--card));
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);
    border: 1px solid rgba(30, 58, 95, 0.2);
    border-radius: 12px;
    padding: 32px;

    .text-cta {
      font-weight: 600;
    }

    .gray-text,
    .gray-text svg {
      color: rgb(107 114 128);
    }

    .two-cols {
      display: flex;
      gap: 12px;

    }

    label {
      font-size: 14px;
      margin-bottom: 8px;
      font-weight: 500;
      color: rgb(30 58 95 / var(--tw-text-opacity, 1));
    }

    span.wpcf7-not-valid-tip {
      font-size: 14px;
      margin-top: 8px;
    }

    span.wpcf7-list-item-label {
      font-weight: 400;
      margin: 0 16px 0 0;


    }

    span.wpcf7-list-item {
      margin: 0 !important;

      label {
        gap: 8px;
        display: flex;
        margin: 0 !important;
      }
    }

    span.wpcf7-spinner {
      position: absolute;
    }
  }

  select,
  input.bg-cta {
    width: 100%;
  }

  select,
  .icon-field p {
    font-size: 14px;
    padding: 8px 12px;
    background-color: rgb(249, 250, 251);
    border: 1px solid rgba(30, 58, 95, 0.3);
    border-radius: 8px;
    min-height: 48px;
    box-shadow: 0 0 0 2px rgb(245, 247, 249);
    color: rgb(31, 59, 97);
    margin-bottom: 12px
  }

  .icon-field p input {
    border: none;
    outline: none;
    background: transparent;
  }

  .icon-field p {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow: hidden;

    svg {
      min-width: 20px;
      height: 20px;
      color: rgb(156 163 175 / var(--tw-text-opacity, 1));
    }

  }

  input.bg-cta {
    border: none;
    height: 48px;
  }

  @media (min-width: 1200px) {}

  @media (max-width: 1199px) {
    select {
      margin-bottom: 0 !important;
    }
  }

  @media (max-width: 767px) {
    .form-container {
      padding: 20px;
    }

    .two-cols {
      gap: 0px !important;
      flex-direction: column;
    }
  }
}

/* REVIEWS row */
section.landing-reviews {
  padding: 40px 0;
  background-color: rgb(249 250 251 / var(--tw-bg-opacity, 1));
  border-bottom: 1px solid rgb(229 231 235 / var(--tw-border-opacity, 1));

  svg {
    fill: currentColor;
    width: 16px;
    height: 16px;
  }

  .review-grid {
    gap: 32px;
  }

  .review-card {
    padding: 16px;

    &:nth-of-type(2) {
      border-left: 1px solid rgb(229, 231, 235);
      border-right: 1px solid rgb(229, 231, 235);
    }
  }

  @media (min-width: 992px) {
    .review-grid {
      grid-template-columns: 1fr 1fr 1fr;
    }
  }

  @media (min-width: 992px) {
    .review-card &:nth-of-type(2) {
      border-top: 1px solid rgb(229, 231, 235);
      border-bottom: 1px solid rgb(229, 231, 235);
    }
  }
}

section.why-choose-us {


  .wcu-item {
    padding: 24px;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    border: 1px solid rgb(243, 244, 246);
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);
    transition: .3s;

    &:hover {
      box-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);
    }

    h3 {
      color: rgb(17, 24, 39);
    }

    p {
      color: rgb(75, 85, 99);
    }

    .wcu-icon {
      width: 48px;
      height: 48px;
      border-radius: 999px;
      background-color: hsl(var(--primary) / .1);
      display: flex;
      align-items: center;
      justify-content: center;
      color: hsl(var(--primary));

      svg {
        color: hsl(var(--primary));
      }
    }

  }

  @media (min-width: 992px) {
    .why-grid {
      grid-template-columns: 1fr 1fr 1fr;
      gap: 32px;
    }
  }

  @media (min-width: 768px) and (max-width: 991px) {
    .why-grid {
      grid-template-columns: 1fr 1fr;
      gap: 24px;
    }
  }

  @media (max-width: 767px) {
    .why-grid {
      grid-template-columns: 1fr;
      gap: 24px;
    }
  }
}

/* SERVICES LIST (two columns like screenshot) */
section.landing-services {
  background-color: rgb(249 250 251 / var(--tw-bg-opacity, 1));

  .landing-services-list {
    gap: 16px 48px;
    max-width: 1152px;
    margin: auto;
  }

  .landing-service-item {
    display: flex;
    gap: 12px;
    padding: 16px;
    border-radius: 4px;
    background: hsl(var(--card));
    box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.05) 0px 1px 2px 0px;
  }

  .offer-icon {
    width: 24px;
    height: 24px;
    color: hsl(var(--cta));
  }

  @media (min-width: 768px) {
    .landing-services-list {
      grid-template-columns: 1fr 1fr;
    }
  }
}

/* STEPS (3 simple cards + numbered circles) */
section.landing-steps {
  .steps-grid {
    gap: 24px;
  }

  .step-card {
    padding: 16px;
  }

  .step-num {
    width: 64px;
    height: 64px;
    border-radius: 999px;
    margin: 0 auto 24px;
    border: 4px solid #fff;
    display: grid;
    place-items: center;
    background: hsl(var(--cta));
    color: hsl(var(--primary-foreground));
    font-weight: 700;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);
    font-size: 24px;
  }

  h3 {
    color: rgb(17 24 39);
  }

  p {
    color: rgb(75, 85, 99);
  }

  @media (min-width: 992px) {
    .steps-grid {
      grid-template-columns: 1fr 1fr 1fr;
    }
  }
}

section.gallery {
  overflow: hidden;
  position: relative;

  &::before {
    content: '';
    background-color: hsl(var(--secondary));
    width: 100%;
    height: 200%;
    position: absolute;
    z-index: -1;
    top: 0;
  }

  .d-grid {
    gap: 24px;
  }

  .gallery-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    aspect-ratio: 4 / 3;
    transition: .3s;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
    background-size: 100% 30%;
    background-position: bottom;
    background-repeat: no-repeat;

    .overlay {
      padding: 16px;
      transition: .4s;

      .fs-14 {
        color: #ffffffb3;
      }
    }

    img {
      position: absolute;
      z-index: -1;
      width: 100%;
      height: 100%;
      object-fit: cover;
      left: 0;
      bottom: 0;
      top: 0;
      right: 0;
      transition: .4s;
    }

    &:hover {
      img {
        transform: scale(1.05);
      }
    }
  }

  a.h-56 {
    padding-left: 32px;
    padding-right: 32px;
    margin: auto;
    width: fit-content;
  }

  @media (min-width: 1200px) {
    .d-grid {
      grid-template-columns: 1fr 1fr 1fr;
    }
  }

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

  @media (max-width:575px) {
    .d-grid {
      grid-template-columns: 1fr !important;
    }
  }
}

/* FAQ width */
section.landing-faq .accordion {
  max-width: 768px;
  margin: 0 auto;
}

section.cta_group {
  background-color: hsl(var(--primary));

  .wrapper>.d-flex {
    flex-direction: column;
  }

  .content {
    max-width: 768px;
    margin: auto;
    text-align: center;
  }

  @media (min-width: 1200px) {
    padding: 80px 0;
  }

  .note,
  .note a {
    color: rgb(156 163 175);
    text-transform: uppercase;
  }
}

footer {
  background-color: hsl(var(--navy-dark));
  padding-top: 2rem !important;
  padding-bottom: 2rem !important;
  text-align: center;
}