/* ==========================================
  HOME-ABOUT
  ========================================== */
.home-about {
  padding-top: 263px;
  display: flex;
  justify-content: center;
  gap: 60px;
}

.min-img-about {
  z-index: 1;
  position: absolute;
  top: 0;
  right: -18px;
  width: 44%;
  max-width: 235px;
  transform: translate(0, -34%);
} 

.max-img-about {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.home-about-img {
  width: 34%;
  max-width: 520px;
  margin-right: 72px;
  position: relative;
}

.min-img-about,
.max-img-about {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1s ease-out;
}

.home-about-content {
  width: 50%;
}

.home-about-title {
  max-width: 652px;
  line-height: 1.4;
  font-size: 32px;
}

.home-about-text {
  margin-top: 42px;
  font-size: 18px;
  line-height: 1.5;
}

.arrow-left {
  width: 14px;
}

.home-link {
  /* margin-top: 74px; */
  display: flex;
  align-items: center;
}

@media(max-width:768px) {
  .home-about {
    padding: 0px;
    flex-direction: column-reverse;
    gap: 40px;
  }
.max-img-about {
  width: 100vw;
}
  .min-img-about {
    right: 20px;
    bottom: -30px;
    top: inherit;
    transform: inherit;
  }

  .home-about-img {
    width: auto;
    margin: 0;
  }

  .home-about-content {
    width: 100%;
    padding: 20px;
  }

  .home-about-title {
    max-width: 100%;
    font-size: 20px;
  }

  .home-about-text {
    margin-top: 42px;
    font-size: 16px;
  }

  .home-link {
    margin-top: 0px;
  }
}

/* ==========================================
  HOME-SERVICES
  ========================================== */
.home-services {
  margin-top: 133px;
  background: #061824;
  display: flex;
  justify-content: center;
  padding: 166px;
  /* background-image: url('../images/home-services-bg.svg'); */
  background-repeat: no-repeat;
  background-size: cover;
  gap: 100px;
}

.home-services-content {
  /* width: 50%; */
}

.home-services-title {
  color: #ffffff;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.2em;
}

.home-services-sub-title {
  color: #ffffff;
  margin: 22px 0;
}

.home-services-body p {
  color: #ffffff;
  line-height: 1.5;
  font-size: 18px;
  max-width: 560px;
}

.services-boxs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  width: 50%;
  min-width: 0;
  align-items: start;
}

.service-box {
  width: 100%;
  min-width: 0;
  border-top: 1px solid #ffffff;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  min-height: 163px;
  height: auto;
}
.service-box-content {
  flex: 1;
}
.service-box-title {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
  color: #ffffff
}

.service-box-text {
  font-size: 16px;
  line-height: 1.5;
  color: #ffffff;
  margin-top: 16px;
}

.service-box-icon {
  width: 40px;
  height: 40px;
}

a.service-box-link {
  flex: 0 1 30px;
  min-width: 30px;
}

.service-box-arrow {
  width: 30px;
  height: 30px;
}

html[lang^="en"] .service-box-arrow {
  transform: rotate(180deg);
}

html[lang^="en"] .service-box-arrow:hover {
  transform: rotate(180deg) scale(1.1);
}

.service-box-arrow:hover {
  background-color: #0081E8;
  border-radius: 50%;
  transform: scale(1.1);
}

@media(max-width:768px) {
  .home-services {
    padding: 20px;
    margin-top: 0;
    flex-direction: column;
    gap: 40px;
  }

  .home-services-content {
    width: 100%;
  }

  .home-services-title {
    letter-spacing: 0.1em;
  }

  .home-services-sub-title {
    margin: 22px 0;
  }

  .services-boxs {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    width: 100%;
    justify-items: stretch;
  }

  .service-box {
    width: 100%;
    min-height: 113px;
    height: auto;
  }

  .service-box-title {
    font-size: 18px;
    width: 240px;
  }

  .service-box-text {
    font-size: 12px;
    margin-top: 16px;
  }

  .service-box-icon {
    width: 30px;
    height: 35px;
  }

}

/* ==========================================
  HOME-PARTNERS
  ========================================== */
.home-partners {
  padding-top: 166px;
  background: linear-gradient(to bottom, white 0%, white 33.33%, #F2F6F9 33.34%, #F2F6F9 100%);
}

.home-partner-video {
  position: relative;
  max-width: 1066px;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  isolation: isolate;
  background-color: #001925;
  margin: 20px auto;
}

.home-partner-video video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
 transform-origin: center center;
 transform: scale(1.12);
  z-index: 0;
  pointer-events: none;
}

.home-partner-video-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #0081E8;
  width: 119px;
  height: 119px;
  border-radius: 50%;
  border: none;
  padding: 10px;
  cursor: pointer;
  z-index: 2;
  pointer-events: auto;
  opacity: 50%;
  transition: opacity 0.2s;
}

.home-partner-video-btn:hover {
  opacity: 100%;
}

/* When video is playing: hide icon by default.
   JS adds/removes .show-controls on the container based on mouse/touch activity. */
.home-partner-video.playing .home-partner-video-btn {
  opacity: 0;
}
.home-partner-video.playing.show-controls .home-partner-video-btn {
  opacity: 1;
}
.home-partner-video.playing,
.home-partner-video.playing video {
  cursor: none;
}

.home-partner-video-btn-icon {
  width: 48px;
  height: 48px;
}

.home-partners-title {
  margin: 136px auto 36px;
  text-align: center;
}

.home-partners-sub-title {
  max-width: 895px;
  margin: 0 auto;
  text-align: center;
}

.swiper-partners {
  border-top: 1px solid #001925;
  padding-top: 62px;
  align-items: center;
  margin-top: 128px;
  padding-bottom: 62px;
  width: 100%;
  overflow: hidden;
}

.swiper-slide-partner {
  width: 150px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}


@media(max-width:768px) {
  .home-partners {
    padding-top: 16px;
    background: linear-gradient(to bottom, white 0%, white 10.33%, #F2F6F9 10.34%, #F2F6F9 100%);
  }
  
  .home-partner-video {
    max-width: 90%;
    aspect-ratio: 16 / 9;
  }
  
  .home-partner-video-btn {
    width: 52px;
    height: 52px;
  }
  
  .home-partner-video-btn-icon {
    width: 21px;
    height: 21px;
  }
  
  .home-partners-title {
    margin: 36px auto 36px;
  }
  
  .home-partners-sub-title {
    max-width:90%;
    margin: 0 auto;
  }
  
  .swiper-partners {
    padding-top: 62px;
    margin-top: 128px;
    padding-bottom: 62px;
  }
  

}

  /* ==========================================
  HOME-SOLUTIONS
  ========================================== */
  .home-solutions {
    padding: 255px 200px;
    background-repeat: no-repeat;
    background-size: cover;
    height: 922px;
  }
  
  .home-solutions-box {
    max-width: 639px;
    height: 412px;
    border-radius: 6px;
    padding: 35px 44px 35px 26px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    direction: rtl;
    margin-right: 0;
    margin-left: auto;
    background-color: #ffffff;
    background-image: url('../images/home-solutions-box-bg.svg');
    background-repeat: no-repeat;
  }

  .solutions_section .home-solutions-title,
  .solutions_section .home-solutions-sub-title,
  .solutions_section .home-solutions-body {
    width: 100%;
    text-align: inherit;
  }

  .solutions_section .home-solutions-body p {
    text-align: inherit;
    margin: 0;
  }

  .solutions_section .home-solutions-button {
    width: 100%;
    display: flex;
    justify-content: flex-end;
  }

  .solutions_section .home-solutions-button a {
    display: inline-flex;
    align-items: center;
  }

  html[lang^="en"] .solutions_section .home-solutions-box {
    padding: 35px 26px 35px 44px;
    align-items: flex-start;
    text-align: left;
    direction: ltr;
    margin-left: 0;
    margin-right: auto;
  }

  html[lang^="en"] .solutions_section .home-solutions-button {
    justify-content: flex-start;
  }

  /* EN: mirror the box background image horizontally (content stays as-is) */
  html[lang^="en"] .solutions_section .home-solutions-box {
    position: relative;
    isolation: isolate;
    background-image: none;
  }

  html[lang^="en"] .solutions_section .home-solutions-box::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background-image: url('../images/home-solutions-box-bg.svg');
    background-repeat: no-repeat;
    transform: scaleX(-1);
    pointer-events: none;
  }
  
  .home-solutions-title {
    font-size: 24px;
    letter-spacing: 0.2em;
  }
  
  .home-solutions-sub-title {
    max-width: 380px;
    margin-top: 20px;
    margin-bottom: 25px;
    line-height: 1;
  }
  
  .home-solutions-body {
    max-width: 529px;
    margin-bottom: 8px;
  }
  
  .home-solutions-button {
    border: none;
    background-color: transparent;
  }
  
  a {
    color: #0081E8;
    text-decoration: none;
  }
  
  .home-solutions-button img {
    width: 14px;
    height: 14px;
  }
  @media(max-width:768px) {
    .home-solutions {
      padding: 302px 20px 20px;
      height: 696px;
    }
    
    .home-solutions-box {
      max-width:100%;
      height: 369px;
      padding: 20px 24px 20px 16px;
      background-image: url('../images/home-solutions-box-bg-mobile.svg');
      background-position:top right;
      margin-right: 0;
      margin-left: auto;
    }

    html[lang^="en"] .solutions_section .home-solutions-box {
      padding: 20px 16px 20px 24px;
      margin-left: 0;
      margin-right: auto;
    }

    html[lang^="en"] .solutions_section .home-solutions-box::before {
      background-image: url('../images/home-solutions-box-bg-mobile.svg');
      background-position: top right;
    }
    
    .home-solutions-title {
      font-size: 14.4px;
      letter-spacing: 0.1em;
    }
    
    .home-solutions-sub-title {

    }
    
    .home-solutions-body {
      max-width: 529px;
      margin-bottom: 8px;
    }
  }  
  /* ==========================================
    HOME-TEAM
    ========================================== */
  .home-team {
    padding-top: 284px;
  }
  
  .home-team-content {
    display: flex;
    justify-content: space-between;
  }
  
  .home-team-box {
    width: 50%;
  }

  .home-team-box-img {
    width: 100%;
    max-width: 516px;
  }
  
  /* .home-team-box-img {
      width: 50%;
    } */
  
  .home-team-box-img-up {
    width: 64.7%;
    max-width: none;
    max-height: none;
    height: auto;
    z-index: 1;
    position: absolute;
    transform: translate(50%, -50%);
    border-radius: 6px;
    object-fit: cover;
  
    img {
      max-width: 334px;
      max-height: 334px;
    }
  }
  
  .home-team-box-img-active {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    position: relative;
    border-radius: 6px;
  
    img {
      max-width: 516px;
      max-height: 516px;
    }
  }
  
  .home-team-box-img-down {
    width: 35.1%;
    max-width: none;
    max-height: none;
    height: auto;
    position: relative;
    z-index: 1;
    right: 50%;
    transform: translate(-50%, -50%);
    border-radius: 6px;
  
    img {
      max-width: 181px;
      max-height: 181px;
    }
  }
  
  .home-team-box-img-down,
  .home-team-box-img-up,
  .home-team-box-img-active {
    clip-path: inset(0 100% 0 0);
    transition: clip-path 1s ease-out;
  
  }
  
  .team-title {
    font-size: 20px;
    letter-spacing: 0.2em;
  }
  
  .team-sub-title {
    margin: 19px 0 36px;
  }
  
  .team-body {
    max-width: 494px;
  }
  
  .home-team-btn {
    background-color: transparent;
    border: none;
    margin-top: 0px;
    margin-bottom: 10px;
  }
  
  .home-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #0081E8;
    text-align: right;
  }
  
  .home-link img {
    width: 14px;
    height: 14px;
  }
  @media(max-width:768px) {
    .home-team {
      padding-top: 120px;
    }
    
    .home-team-content {
      display: flex;
      flex-direction: column;
    }
    
    .home-team-box {
      width: 100%;
    }
    
    .home-team-box-img {
      align-items: center;
      margin: auto;
      max-width: 240px;
      border-radius: 6px;
    }
    
    .home-team-box-img-up {
      width: 100%;
      max-width: 155px;
      max-height: 155px;
    }
    
    .home-team-box-img-active {
      max-width: 240px;
      max-height: 268px;
    }
    
    .home-team-box-img-down {
      max-width:84px;
      max-height: 84px;
      transform: translate(-80%,  -50%);
    }
    
    .team-title {
      font-size: 12px;
      letter-spacing: 0.1em;
    }
    
    .team-sub-title {
    }
    
    .team-body {
      max-width: 494px;
    }
    
  }

/* ==========================================
  HOME-CONTACT
  ========================================== */
.contact {
  background: linear-gradient(to bottom, white 0%, white 50%, #F2F6F9 50%, #F2F6F9 100%);
}

.home-contact {
  padding: 100px;
  background-color: #0081E8;
  display: flex;
  justify-content: space-between;
  background-image: url('../images/home-contact-bg.svg');
  background-repeat: no-repeat;
  background-position: center bottom;
  border-radius: 6px;
}

.contact-content {
  width: 50%;
}

.title-contact {
  margin-bottom: 50px;
  color: #ffffff;
}

.subtitle-contact p{
  color: #ffffff;
  max-width: 440px;
}
.subtitle-contact{
  color: #ffffff;
  max-width: 440px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 50%;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

form {
  max-width: 463px;
}

label {
  font-size: 12px;
  line-height: 1.5;
  color: #ffffff !important;
}

input {
  width: 100%;
  height: 46px;
  border-radius: 27px;
  border: 2px solid #ffffff;
  padding: 10px;
  color: white;
  background-color: transparent;
}

input::placeholder {
  color: #ffffff;
  font-size: 12px;
  line-height: 1.5;
}

input:focus {
  border: 5px solid white;
  outline: none;
}

textarea {
  width: 100%;
  height: 95px;
  border-radius: 27px;
  border: 2px solid #ffffff;
  padding: 10px;
  background-color: transparent;
}

textarea::placeholder {
  color: #ffffff;
}

textarea:focus {
  border: 5px solid white;
  outline: none;
}

.contact-form-remark {
  text-align: right;
  margin-top: 6px;
  font-size: 12px;
  color: white;
  line-height: 1.5;
}

.send-button {
  display: flex;
  justify-content: flex-end;
}

.button-contact {
  background-color: #ffffff;
  border: none;
  border-radius: 27px;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #0081E8;
  font-size: 18px;
}

.send-button img {
  width: 14px;
  height: 14px;
}
@media(max-width:768px) {
  .contact {
    background: linear-gradient(to bottom, white 0%, white 20%, #F2F6F9 20%, #F2F6F9 100%);
  }
  
  .home-contact {
    margin: 20px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    width: 90%;
  }
  
  .contact-content {
    width: 100%;
  }
  
  .contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
  }
  

  
  form {
    width: 90%;
    margin: auto;
  }
  
  .send-button {
    display: flex;
    justify-content: flex-start;
  }
  
  .button-contact {
    font-size: 16px;
  }

}

/* ==========================================
  HOME-OUR-PART
  ========================================== */
.our-part {
  background: #F2F6F9;
  padding: 121px 0;
}

.our-part-flex {
  display: flex;
  justify-content: space-between;
  gap: 100px;
  margin-top: 121px;
}

.our-part-img {
  width: 50%;
}

.our-part-right {
  width: 50%;
}

.our-part-title {
  font-size: 50px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 16px;
}

.our-part-sub-title {
  font-size: 50px;
  font-weight: 600;
  line-height: 1.3;
}

.our-part-body {
  font-size: 18px;
  line-height: 1.5;
  color: #2B3941 !important;

}
@media(max-width:768px) {
  .our-part {
    background: #F2F6F9;
    padding: 20px 0;
  }
  
  .our-part-flex {
    flex-direction: column;
    gap: 40px;
    margin-top: 31px;
  }
  
  .our-part-img {
    width: 100%;
    order: 2;
  }
  
  .our-part-right {
    width: 100%;
    order: 1;
  }
  
  .our-part-title {
    font-size:30px;
    font-weight: 500;
    line-height: 1;
    margin-bottom: 10px;
  }
  
  .our-part-sub-title {
    font-size: 30px;
    font-weight: 500;
    line-height: 1;
  }
  
  .our-part-body {
    font-size: 16px;
  }
}
.home-services-content .home-link {
  color: #ffffff;
  margin-top: 24px;
  gap: 8px;
  width: fit-content;
}

/* Home solutions (success story) button: same text–arrow spacing as other home links */
.solutions_section .home-solutions-button a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
