.menu .menu-desktop {
  margin-left: auto;
  margin-right: auto;
}

.blog-box::after {
  background-color: var(--color-primary);
  width: 100%;
  content: " ";
  position: relative;
  z-index: 2;
  display: inline-block;
  height: 100%;
  transition: all 0.3s ease-in-out;
  opacity: 0.7;
}

.blog-box:hover::after {
  width: 0%;
}

/* .slide .buttons.head {
  position: absolute;
  max-width: 500px;
  width: 100%;
  right: 50%;
  bottom: 32%;
  z-index: 3;
  margin-left: auto;
  margin-right: 0;
  transform: translateX(50%);
} */
.slide .buttons.head {
  position: absolute;
  max-width: 500px;
  width: 100%;

  bottom: 200px;
  z-index: 9999;
  margin-left: auto;
  margin-right: 0;
}

.slide .buttons.head a:first-of-type::after {
  background-image: url(../images/bubble.png);
  width: 100%;
  max-width: 129px;
  content: " ";
  position: absolute;
  top: 0px;
  height: 129px;
  max-height: 129px;
  z-index: 2;
  transform: translate(210px, -40%);
  left: 32%;
}

.buttons.head a:first-of-type .text-slider-btn::after {
  background-image: url(../images/small-bubble.png);
  width: 100%;
  max-width: 16px;
  content: " ";
  position: absolute;
  bottom: -21%;
  height: 100%;
  max-height: 18px;
  z-index: 2;
  transform: translateX(-8px);
}

.buttons.head a:first-of-type .text-slider-btn::before {
  background-image: url(../images/medium-bubble.png);
  width: 100%;
  max-width: 37px;
  content: " ";
  position: absolute;
  bottom: -21%;
  height: 100%;
  max-height: 37px;
  z-index: 2;
  transform: translateX(-8px);
  left: -25%;
  background-repeat: no-repeat;
}

.slide .buttons.head a:last-of-type::after {
  background-image: url(../images/bubble.png);
  width: 100%;
  max-width: 129px;
  content: " ";
  position: absolute;
  bottom: -17%;
  height: 129px;
  max-height: 129px;
  z-index: 2;
  left: 10px;
}

.slide .buttons.head a:first-of-type {
  margin-bottom: 20px;
}

.buttons.head a:last-of-type .text-slider-btn::before {
  background-image: url(../images/small-bubble.png);
  width: 100%;
  max-width: 16px;
  content: " ";
  position: absolute;
  bottom: 95%;
  height: 100%;
  max-height: 18px;
  z-index: 2;
  transform: translateX(-40px);
}

.buttons.head a:last-of-type .text-slider-btn::after {
  background-image: url(../images/medium-bubble.png);
  width: 100%;
  max-width: 37px;
  content: " ";
  position: absolute;
  bottom: 75%;
  height: 100%;
  max-height: 37px;
  z-index: 2;
  transform: translateX(-8px);
  left: 110%;
  background-repeat: no-repeat;
}

.slick-slide .slide.subpage {
  max-height: 475px;
  display: flex;
  justify-content: flex-start;
}

.slide .text-on-slider.other {
  left: 0px;
  bottom: -261px;
  max-width: 700px;
  position: relative;
  z-index: 9999;
}

.text-on-slider .slider-title {
  color: #fff;
}

.col-sm-12 .contact-left:first-child {
  background-color: #0f4279;
  color: white;
}

.col-sm-12 .contact-left>div:hover {
  background-color: #0f4279;
  color: white;
}

.col-sm-12 .contact-left .box-content {
  border: 4px solid #0f4279;
}

/* .slider-head .slick-list .slick-track .slick-slide .slide::after {
  background-color: var(--color-primary);
  width: 100%;
  content: " ";
  position: absolute;
  z-index: 2;
  display: inline-block;
  height: 100%;
  opacity: 0.7;
} */
.smaller .slick-list .slick-track .slick-slide .slide::after {
  background-color: var(--color-primary);
  width: 100%;
  content: " ";
  position: absolute;
  z-index: -1;
  display: inline-block;
  height: 100%;
  opacity: 0;
}

.slide .text-on-slider.other {
  top: 263px;
}

@media (min-width: 1400px) {
  .slide .buttons.head {
    right: 0;
    transform: none;
  }
}

@media (min-width: 992px) and (max-width: 1400px) {
  .slide .buttons.head {
    position: absolute;
    max-width: 450px;
    width: 100%;
    right: 0;
    transform: none;
    bottom: 125px;
    z-index: 9999;
    margin-left: auto;
    margin-right: 0;
  }

  .slide .text-on-slider.other {
    top: 150px;
  }

  .slide .text-on-slider .slider-title {
    text-align: left;
    padding-left: 20px;
  }
}

@media (min-width: 769px) and (max-width: 991px) {
  .slide .text-on-slider.other {
    top: 20px;
  }

  .slide .buttons.head {
    position: absolute;
    max-width: 500px;
    width: 100%;
    right: 50%;
    bottom: 15%;
    z-index: 3;
    margin-left: auto;
    margin-right: 0;
    transform: translateX(50%);
  }

  .slick-slide .slide.subpage {
    justify-content: center;
  }
}

/* @media (min-width: 768px) {
  .slide .text-on-slider.other {
    left: 0px;
    bottom: -90px;
  }
  .slide .buttons.head {
    bottom: 22%;
  }
} */
@media (max-width: 768px) {
  .slide .text-on-slider {
    max-width: 100%;
    word-wrap: anywhere;
  }

  .slide .text-on-slider.other {
    margin-right: 0px;
    top: 70px;
  }

  .slide .text-on-slider {
    margin-right: 0px;
  }

  .slide .text-on-slider .slider-title {
    margin-right: 0px;
    padding: 0px 15px 0px 15px;
  }

  .slide .text-on-slider.other {
    bottom: -80px;
  }

  .slide .buttons.head {
    bottom: 60px;
  }

  .slick-slide .slide.subpage {
    justify-content: center;
  }
}

.title-and-desc .container p a {
  @media (max-width: 475px) {
    font-size: 11px;
  }
}

.slider .container .slider-box {
  padding: 0 30px;
}

.slide .text-on-slider.other {
  left: 50px !important;
}

.slide.subpage.mobile {
  display: none;
}

.buttons a {
  -webkit-box-shadow: 0px 1px 13px -6px rgba(255, 255, 255, 1);
  -moz-box-shadow: 0px 1px 13px -6px rgba(255, 255, 255, 1);
  box-shadow: 0px 1px 13px -6px rgba(255, 255, 255, 1);
}

.header-home-scroll {
  bottom: 15px !important;
}

@media (min-width: 1400px) and (max-width: 1500px) {
  .slide.subpage {
    width: 100%;
    height: auto;
    min-width: 1400px;
    min-height: 600px !important;
    aspect-ratio: 1400/700;
  }
}

@media (max-width: 1100px) {
  .slide .text-on-slider.other {
    left: 20px !important;
  }

  .slide .text-on-slider.other {
    max-width: 550px !important;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .text-on-slider.other {
    height: fit-content;
  }

  .slider-title {
    font-size: 37px !important;
  }
}

@media (max-width: 991px) {
  .slide.subpage {
    width: 100%;
    height: auto;
    min-width: 768px;
    min-height: 320px !important;
    aspect-ratio: 769/320;
  }

  .slide .text-on-slider.other {
    margin-right: 0px;
    top: 10px !important;
    width: 100% !important;
    display: flex;
    max-width: 991px !important;
    justify-content: center;
  }

  .slide .text-on-slider.other {
    left: 0 !important;
  }

  .slide .buttons.head {
    bottom: 90px !important;
  }

  .header-home-scroll {
    bottom: 50px !important;
  }
}

@media (max-width: 768px) {
  .slide.subpage.mobile {
    display: block;
    width: 100%;
    height: auto;
    min-width: 360px;
    min-height: 250px !important;
    aspect-ratio: 360/253;
  }

  .slide .text-on-slider.other {
    margin-right: 0px;
    top: 70px !important;
  }

  .slide .text-on-slider.other {
    left: 0 !important;
  }

  .slide .buttons.head {
    bottom: 90px !important;
  }

  .slide.subpage.desktop {
    display: none;
  }

  .header-home-scroll {
    bottom: 50px !important;
  }
}

@media (max-width: 550px) {
  .slide .text-on-slider.other {
    margin-right: 0px;
    top: 50px !important;
  }
}

@media (max-width: 480px) {
  .header-home-scroll {
    bottom: 30px !important;
  }

  .slide .text-on-slider.other {
    margin-right: 0px;
    top: 10px !important;
  }

  .slide .buttons.head {
    bottom: 60px !important;
  }

  .contact-left .box-content {
    padding: 1rem !important;
  }

  .row>* {
    padding-right: 0 !important;
  }

  .flex.flex-column a {
    max-width: 95% !important;
    /* overflow-wrap: break-word; */
    font-size: 10px;
  }

  .main-title,
  .subtitle,
  .person-work a {
    width: 95% !important;
    overflow-wrap: break-word;
  }
}

@media (max-width: 360px) {
  .contact-left .box-content {
    padding: 0.5rem !important;
  }

  .flex.flex-column a {
    max-width: 95% !important;
    /* overflow-wrap: break-word; */
    font-size: 10px;
  }
}

#special-yellow {
  background-color: #0f4279 !important;
}

.newsletter .wpcf7-form .wpcf7-form-control-wrap .wpcf7-form-control {
  border: none;
  font-size: 20px;
  opacity: 0.8;
  padding: 0.375rem 0.5rem;
}

.newsletter .wpcf7-form .wpcf7-submit {
  background-color: var(--color-primary);
  color: #fff;
  max-height: 64px;
  border-radius: 0px;
  height: 100%;
  font-size: 31px;
  margin: 0;
  transition: all 0.3s ease-in-out;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  border: 1px solid transparent;
  padding: 0.5rem 0.75rem;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  font-weight: 400;
}

.newsletter .wpcf7-form .wpcf7-submit:hover {
  opacity: 0.9;
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}

.wpcf7-submit:not([disabled]):focus-visible {
  background-color: var(--color-primary) !important;
  border-color: var(--color-primary) !important;
}

.wpcf7-submit:not([disabled]):focus-within {
  background-color: var(--color-primary) !important;
  border-color: var(--color-primary) !important;
}

.newsletter .wpcf7-form p {
  display: flex;
  flex-direction: row;
  gap: 20px;
  margin: 0 0px;
  max-width: 100%;
  position: relative;
  color: #fff;
  justify-content: end;
}

.input-group .letter-ico {
  border-right: 1px solid #ced4da !important;
}

.form-row {
  display: flex;
  flex-direction: row;
  gap: 50px;
}

.form-row>p:first-of-type {
  display: none !important;
}

.form-row>p:nth-of-type(2) {
  display: none !important;
}

.wpcf7-spinner {
  left: 50% !important;
  top: 50% !important;
  transform: translateX(-50%) translateY(-50%) !important;
}

.input-group p {
  width: 100% !important;
}

.newsletter-btn {
  width: 70%;
}

.newsletter-btn p {
  width: 100%;
}

.newsletter-btn .wpcf7-submit {
  max-width: 250px;
}

@media (max-width: 1500px) {
  .newsletter .wpcf7-form .wpcf7-submit {
    font-size: 22px;
    padding: 1rem 0.75rem;
  }
}

@media (max-width: 1440px) {
  .form-row {
    gap: 30px;
  }

  .newsletter .row {
    flex-direction: column;
  }

  .newsletter-col {
    width: 100% !important;
  }

  .newsletter-btn {
    width: 50%;
  }

  .newsletter .wpcf7-form p {
    justify-content: center;
  }
}

@media (max-width: 1024px) {
  .form-row {
    flex-direction: column;
    justify-content: center;
    gap: 20px;
  }

  .input-group {
    justify-content: center;
  }

  .newsletter-btn {
    width: 100%;
  }
}

.home-banner-top {
  display: none;
}

.home-banner-bottom {
  display: none;
}

.home-banner-mid {
  display: none;
}



@media (max-width: 768px) {
  .home-banner-top {
    display: block;
  }

  .home-banner-bottom {
    display: flex;
    justify-content: center;
  }

  .home-banner-mid {
    display: block;
    margin-top: 25px;
  }

  .home-banner-mid .header-video {
    position: unset;
  }

  .slick-initialized .slick-slide {
    display: flex;
    flex-direction: column;
  }

  .home-banner-bottom .buttons.head {
    position: unset;
    margin-left: 0;
    transform: unset;
    margin-top: 25px;
    max-width: 350px;
  }

  .header-home-scroll {
    bottom: 135px !important;
    display: none;
  }

  .header-video {
    height: unset !important;
  }

  .slide .text-on-slider.other {
    top: 0px !important;
  }

  .slide.subpage.mobile.home-banner-top {
    min-height: unset !important;
    margin-bottom: 45px;
    aspect-ratio: unset;
  }

  .slide.subpage.mobile.home-banner-bottom {
    min-height: 170px !important;
    aspect-ratio: 360/110;
  }

  .slide.subpage.mobile {
    max-height: 250px !important;
  }

  .home-banner-mid .header-video.video-mobile {
    position: unset !important;
  }

  .home-banner-top .text-on-slider.other {
    position: unset !important;
    margin: 0 !important;
    width: 100%;
    max-width: 100% !important;
  }


  .home-banner-top .text-on-slider.other,
  .text-on-slider .slider-title {
    margin: 0 !important;
  }
}

@media (max-width: 480px) {
  .header-video.video-mobile {
    height: unset !important;
  }

  .slide.subpage.mobile {
    max-height: unset !important;
  }

  .header-home-scroll {
    bottom: 135px !important;
  }

  .slide.subpage.mobile.home-banner-top {
    min-height: unset !important;
    margin-bottom: 45px;
    aspect-ratio: unset;
  }

  .slide.subpage.mobile.home-banner-bottom {
    min-height: 170px !important;
    aspect-ratio: 360/170;
  }
}

@media (max-width: 400px) {
  .header-video {
    transform: unset !important;
  }

}