
/* ------------------------------- hero ------------------ */
.hero-slider {
  position: relative;
  max-width: 100vw;
  overflow: hidden;
  direction: rtl;
}

.slides {
  display: flex;
  width: 300vw;
  height: 100%;
  transition: transform 0.5s ease-in-out;
}

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

.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 4.8rem;
  height: 4.8rem;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 2.4rem;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: all 0.3s ease;
}
.nav-btn:hover {
  background: rgba(255, 255, 255, 0.35);
}

.prev {
  right: 4.8rem;
}

.next {
  left: 4.8rem;
}

.dots {
  position: absolute;
  width: 10%;

  bottom: 3rem;
  left: 50%;

  display: flex;
  align-items: center;
  gap: 8%;

  transform: translateX(-50%);
  z-index: 3;
}

.dot {
  width: 2rem;
  height: 2rem;

  background-color: #fff;
  border-radius: 50%;

  cursor: pointer;
  transition: 0.3s;
}

.active {
  width: 6.4rem;
  height: 0.8rem;
  border-radius: 1rem;
  transform: scale(1.2);
}

/* -------------- main ------------- */
main{
  max-width: 130rem;
  margin: 0 auto;
  padding: 6.4rem 3.2rem;
  background-image: linear-gradient(to top, rgba(255, 255, 255, 0.95),rgba(255, 255, 255, 0.89)),
  url("../img/logo-text-color.png");
  background-size: contain;
  background-repeat: no-repeat;
  
  
}
.page-contents {
  width: 100%;
  margin: 0 auto;
}

.service,
.product {
  display: grid;
  margin: 6.4rem 0 16rem 0;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 51.2rem;
  column-gap: 9.6rem;
}

.service .image {
  width: 100%;
  background-image: url("../img/services1.png");
  background-size: cover;
  border-radius: 9px;
  box-shadow: 0 9px 9px 0 rgba(0, 0, 0, 0.5);
}

.service .text {
  height: 100%;
  
  padding: 0 3.2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 4.8rem;
}

.service .text p {
  direction: rtl;
  font-family: "sahel", sans-serif;
  font-size: 1.8rem;
  text-align: justify;
  line-height: 1.9;
}

.inter-page-link:link,
.inter-page-link:visited {
  text-align: center;
  width: 60%;
  display: inline-block;
  font-family: "sahel-semi-bold", sans-serif;
  font-size: 2.4rem;
  font-weight: 500;
  text-decoration: none;
  padding: .8rem 3.2rem;
  background-color: oklch(52% 0.105 223.128);
  color: #fff;
  border-radius: 100px;
  box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.3);
}

.inter-page-link:hover,
.inter-page-link:active {
  background-color: oklch(60.9% 0.126 221.723);
}

/* --------------- products ---------------- */
.product .text {
  margin: 6.4rem 0;
  
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6.4rem;
  direction: rtl;
}

.btn-container {
  width: 100%;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  gap: 2.4rem;
}

.product-btn {
  font-family: "sahel", sans-serif;
  font-size: 1.8rem;
  font-weight: 600;

  text-align: center;
  width: 30%;

  padding: 1.6rem 2.4rem;
  cursor: pointer;
  border: 1px solid #343a40;
  border-radius: 9px;
  background-color: #fff;
  box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.1);
}

.product-btn.selected-btn {
  background-color: oklch(52% 0.105 223.128);
  color: #fff;
  border: none;
  box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.3);
}
.product-btn:hover {
  background-color: oklch(60.9% 0.126 221.723);
}

.product-text {
  opacity: 0;
  color: oklch(50% 0.134 242.749);
  font-family: "sahel-semi-bold", sans-serif;
  font-size: 2.4rem;
  font-weight: 400;
  transition: opacity 0.4s ease-in-out;
  position: absolute;
  width: 100%;
  padding: 1.6rem;
  pointer-events: none;
}

.product-text.selected-text {
  opacity: 1;
  pointer-events: auto;
  position: relative;
}

.text-container {
  width: 100%;
  height: 50%;
  position: relative;
  border: none;
}
.product-image-dot-container {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.3);
  border-radius: 9px;
}

.image-container {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.4s ease-in-out;
}

.product-image-dot-container img {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 11px;
}

.dot-container {
  position: absolute;
  left: 50%;
  bottom: 2.4rem;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.6rem;
  direction: rtl;
}

.dot-container .dot {
  width: 1rem;
  height: 1rem;
  background-color: #FFF;
  
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s;
}

.dot.selected-product-dot {
  background-color: oklch(30.2% 0.056 229.695);
}

.contact-info {
  
  width: 100%;
  direction: rtl;
  display: grid;
  grid-template-columns: 2fr 1fr;
  column-gap: 6.4rem;
  background:
    linear-gradient(rgba(5, 51, 69, 0.8), rgba(5, 51, 69, 0.8)),
    url("../img/contact.jpg");
  background-size: cover;
  background-position: bottom center;
  background-repeat: no-repeat;
  color: #fff;
}
.contact-info-text {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

h5 {
  font-family: "sahel-semi-bold", sans-serif;
  font-size: 3.6rem;
  font-weight: 600;
  color: #00d3f2;
}

address h6 {
  font-family: "sahel";
  font-size: 1.8rem;
  font-weight: 600;
  color: oklch(60.9% 0.126 221.723);
  text-indent: 2.4rem;
}

address p {
  margin: 1.6rem 0;
  text-indent: 2.4rem;
  font-family: "sahel", sans-serif;
  font-size: 1.6rem;
}

address a:visited,
address a:link {
  display: inline-block;
  text-indent: 2.4rem;
  margin: 1.6rem 0;
  text-decoration: none;
  text-decoration-color: transparent;
  color: #fff;
  font-family: "sahel", sans-serif;
  font-size: 1.8rem;
  font-weight: 500;
  letter-spacing: 2px;
  transition: text-decoration-color 0.6s ease;
}

address a:hover,
address a:active {
  text-decoration: underline;
  text-decoration-color: oklch(78.9% 0.154 211.53);
  text-underline-offset: 6px;
}

.phone-social {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 2.4rem;
}

.tooltip {
  position: relative;
  display: inline-block;
  text-decoration: none;
  color: #fff;
}

.tooltip-text {
  background-color: #fff;
  color: oklch(39.8% 0.07 227.392);
  width: 90%;
  position: absolute;
  bottom: 130%;
  right: 50%;
  transform: translateX(50%);
  font-family: "sahel-semi-bold", sans-serif;
  text-decoration: none;
  font-size: 1.2rem;
  padding: 1.2rem 0px;
  border-radius: 9px;
  text-align: right;
  opacity: 0;
  visibility: hidden;
  transition: 0.2s ease;

  z-index: 10;
}

.tooltip:hover .tooltip-text {
  opacity: 1;
  visibility: visible;
}

.logo-container {
  display: flex;
  align-items: flex-end;

  margin: 9.6rem auto;
}

