/*-----------------------------------*\
  #SERVICES HERO
\*-----------------------------------*/

.courts-hero {
  width: 100%;
  height: 560px;
  background-image: url("../Images/03.Banner Images/Desktop/services-desktop.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.courts-title {
  font-size: 40px;
  line-height: 44px;
  font-weight: var(--bold);
  letter-spacing: 0.5px;
  color: var(--white);
  text-align: center;
}

.courts-hero-separator {
  width: 120px;
  height: 4px;
  background-color: var(--white);
  margin-top: 24px;
  margin-bottom: 24px;
}

.courts-hero-text {
  max-width: 540px;
  text-align: center;
  font-size: 16px;
  line-height: 20px;
  font-weight: var(--medium);
  color: var(--neutral-02);
}

/*-----------------------------------*\
  #ALL SERVICES 
\*-----------------------------------*/

.all-services {
  height: 80px;
}

.all-services-container {
  width: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.service-button {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  height: 92px;
  padding-left: 24px;
  padding-right: 24px;
  border-radius: 12px;
  border: solid 1px var(--neutral-03);
  background-color: var(--neutral-01);
  margin-top: -46px;
  box-shadow: 0px 0px 4px 0px hsla(0, 0%, 0%, 0.25);
  text-align: center;
  text-decoration: none;
}

.service-button-text {
  font-size: 18px;
  line-height: 22px;
  font-weight: var(--semiBold);
  color: var(--text-primary);
}

.service-button:is(:hover, :focus-visible) {
  background-color: var(--neutral-02);
}
/*-----------------------------------*\
  #SERVICES 
\*-----------------------------------*/

.service {
  width: 100%;
  height: 448px;
}

.service-container {
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-left: 160px;
  padding-right: 160px;
  gap: 176px;
}

.service-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}

.service-line {
  height: 80px;
  width: 6px;
  background-color: var(--orange-03);
  rotate: 30deg;
}

.content-text-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.service-text-container {
  margin-left: 72px;
  margin-top: 72px;
  max-width: 400px;
}

.service-title {
  color: var(--text-secondary);
  font-size: 18px;
  line-height: 20px;
  font-weight: var(--bold);
}

.service-text {
  margin-top: 24px;
  color: var(--text-primary);
  font-size: 14px;
  line-height: 18px;
  font-weight: var(--regular);
}

.service-text.cp {
  padding-bottom: 48px;
}

.service-arrow-icon {
  margin-top: auto;
  margin-bottom: 48px;
  margin-left: 72px;

  width: 48px;
  height: 48px;

  filter: var(--filter-neutral-03);
}

.service-img {
  width: 480px;
  height: 384px;
  border-radius: 16px;
}

/*-----------------------------------*\
  #SERVICES BLUE
\*-----------------------------------*/

.service.blue {
  background-color: var(--primary-blue);
}

.service.blue .service-container {
  flex-direction: row-reverse;
}

.service.blue .service-line {
  background-color: var(--blue-01);
}

.service.blue .service-title {
  color: var(--text-inverse);
}

.service.blue .service-text {
  color: var(--neutral-03);
}

.service.blue .service-arrow-icon {
  margin-left: auto;
  filter: var(--filter-blue-01);
}

.service.CP-service {
  width: 100%;
  height: 552px;
}

.service.CP-service .content-text-container {
  align-items: flex-start;
  justify-self: flex-start;
}

.service.CP-service .service-text-container {
  margin-top: 32px;
}

.service.CP-service .content-text-container {
  margin-top: 32px;
}

.important {
  margin-top: 24px;
  color: var(--text-primary);
  font-size: 14px;
  line-height: 18px;
  font-weight: var(--bold);
}

@media (width < 1400px) {
  .service.CP-service {
    width: 100%;
    height: 100%;
  }
}

@media (width < 1300px) {
  /*-----------------------------------*\
  #ALL SERVICES 
\*-----------------------------------*/

  /*-----------------------------------*\
  #ALL SERVICES 
\*-----------------------------------*/

  .all-services-container {
    gap: 8px;
  }

  .service-button {
    padding-left: 16px;
    padding-right: 16px;
    border-radius: 12px;
  }

  .service-button-text {
    font-size: 16px;
    line-height: 18px;
  }

  /*-----------------------------------*\
  #SERVICES 
\*-----------------------------------*/

  .service-container {
    padding-left: 96px;
    padding-right: 96px;
  }

  .service-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
  }

  .content-text-container {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .service-text-container {
    margin-left: 24px;
    margin-top: 96px;
  }

  .service-arrow-icon {
    display: none;
  }

  .service-img {
    width: 342px;
    height: 274px;
    margin-top: 24px;
    margin-bottom: 48px;
  }

  /*-----------------------------------*\
  #SERVICES BLUE
\*-----------------------------------*/

  .service.blue {
    background-color: var(--primary-blue);
  }
}

@media (width < 1000px) {
  /*-----------------------------------*\
      #ALL SERVICES 
    \*-----------------------------------*/

  .all-services-container {
    gap: 8px;
  }

  .service-button {
    padding-left: 8px;
    padding-right: 8px;
    border-radius: 12px;
  }

  .service-button-text {
    font-size: 14px;
    line-height: 16px;
  }

  /*-----------------------------------*\
      #SERVICES 
    \*-----------------------------------*/

  .service-container {
    padding-left: 24px;
    padding-right: 24px;
  }

  .service-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
  }

  .content-text-container {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .service-text-container {
    margin-left: 24px;
    margin-top: 96px;
  }

  .service-arrow-icon {
    display: none;
  }

  .service-img {
    width: 342px;
    height: 274px;
    margin-top: 24px;
    margin-bottom: 48px;
  }

  /*-----------------------------------*\
      #SERVICES BLUE
    \*-----------------------------------*/

  .service.blue {
    background-color: var(--primary-blue);
  }

  .service.CP-service {
    width: 100%;
    height: 100%;
  }
}

@media (width < 850px) {
  /*-----------------------------------*\
      #COURT HERO
    \*-----------------------------------*/

  .courts-hero {
    height: 600px;
    background-image: url("../Images/03.Banner Images/Mobile/services-mobile.png");
  }

  .courts-title {
    font-size: 32px;
    line-height: 40px;
    max-width: 335px;
  }

  .courts-hero-text {
    max-width: 335px;
  }

  /*-----------------------------------*\
  #ALL SERVICES 
\*-----------------------------------*/

  .all-services {
    display: none;
  }

  /*-----------------------------------*\
  #SERVICES 
\*-----------------------------------*/

  .service {
    width: 100%;
    height: auto;
  }

  .service-container {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-left: 24px;
    padding-right: 24px;
    gap: 36px;
  }

  .service-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
  }

  .service-line {
    height: 80px;
    width: 8px !important;
  }

  .content-text-container {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .service-text-container {
    margin-left: 24px;
    margin-top: 96px;
  }

  .service-arrow-icon {
    display: none;
  }

  .service-img {
    width: 342px;
    height: 274px;
    margin-top: 24px;
    margin-bottom: 48px;
    object-fit: cover;
    object-position: center;
  }

  /*-----------------------------------*\
  #SERVICES BLUE
\*-----------------------------------*/

  .service.blue {
    background-color: var(--primary-blue);
  }

  .service.blue .service-container {
    flex-direction: column;
  }

  .service.CP-service {
    width: 100%;
    height: 100%;
  }
}

@media (width < 500px) {
  .service-line {
    display: none;
  }
}
