@font-face {
  font-family: SomarSans-Regular;
  src: url(assets/fonts/Web/Standard/SomarSans-Regular.woff2);
}

@font-face {
  font-family: SomarSans-SemiBold;
  src: url(assets/fonts/Web/Standard/SomarSans-SemiBold.woff2);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  width: 100%;
  padding: 0;
  margin: 0;
}

body {
  width: 100%;
  margin: 0;
  padding: 0;
  font-family: SomarSans-Regular;
}

.mainContainer {
  width: 100%;
}

/* -------------products-------------- */
#products {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 0;
  background: linear-gradient(to bottom, #f7f6f6, #ffffff);
}

.productsTitle {
  max-width: 700px;
  font-size: 1.25rem;
  text-align: center;
  color: #666;
  margin: 20px auto 50px;
  line-height: 1.6;
}

.productsDiv {
  width: 100%;
  max-width: 1200px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: 0 30px;
  margin: 30px 0;
}

.singleProduct {
  height: 300px;
  width: 100%;
  max-width: 340px;
  background: #ffffff;
  text-align: center;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  transform: translateY(50px);
  opacity: 0;
  animation: appear 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.singleProduct img {
  width: 100%;
  height: 70%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.singleProduct:hover img {
  transform: scale(1.1);
}

.singleProduct h4 {
  font-family: SomarSans-SemiBold;
  color: #008080;
  font-size: 1.25rem;
  margin: 20px 0 10px;
  transition: color 0.3s ease;
}

.singleProduct::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: #008080;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.singleProduct:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,128,128,0.2);
}

.singleProduct:hover::before {
  transform: scaleX(1);
}

.singleProduct:nth-child(1) { animation-delay: 0.2s; }
.singleProduct:nth-child(2) { animation-delay: 0.4s; }
.singleProduct:nth-child(3) { animation-delay: 0.6s; }
.singleProduct:nth-child(4) { animation-delay: 0.8s; }
.singleProduct:nth-child(5) { animation-delay: 1s; }
.singleProduct:nth-child(6) { animation-delay: 1.2s; }

@keyframes appear {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/*----------- Responsive adjustments for products section --------------*/
@media screen and (max-width: 1118px) {
  .productsDiv {
    justify-items: center;
  }

  .singleProduct{
    width: 90%;
  }
 
}

@media screen and (max-width: 968px) {
  .productsDiv {
    grid-template-columns: 1fr;
  }
  
  .singleProduct {
    max-width: 100%;
  }
  
  .productsTitle {
    max-width: 90%;
    font-size: 1.1rem;
  }
}

/*---------------footer---------------- */
footer {
  width: 100%;
  background-color: #1f2937;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  row-gap: 40px;
  margin: 0;
  padding: 30px 0;
}

.footerDiv {
  width: 100%;
  box-sizing: border-box;
  padding: 0 40px;
  display: grid;
  grid-template-columns: auto auto auto auto;
  grid-template-rows: auto;
  gap: 10px;
  margin-bottom: 30px;
}

.footerLogo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: #ffffff;
}

.footerLogoEn,
.footerLogoAr{
  width: 100px;
}

.footerElements {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  row-gap: 7px;
  color: #ffffff;
  font-size: 14px;
}

.footerElements a {
  text-decoration: none;
  color: #ffffff;
  font-size: 14px;
}

.footerElements p{
  font-size: 14px;
}

p {
  margin: 0;
}

.copyRight {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 14px;
  padding-top: 10px;
}

hr.line {
  border: none;
  border-top: 0.1px solid rgb(214, 214, 214); 
  width: 80%;
  margin: 10px auto;
}

/* --------------------footer other screens -------------------*/
@media screen and (max-width:1140px){
  .footerDiv {
  grid-template-columns: auto auto ;
  grid-template-rows: auto auto;
  gap: 20px;
}

.footerLogoEn{
  margin-left: -30px;
}

.footerLogoAr{
  margin-right: -30px;
}
}

@media screen and (max-width:600px){
  .footerDiv {
  grid-template-columns: auto  ;
  grid-template-rows: auto auto auto auto;
  gap: 30px;
}
}

/*-------------- header & contacts sections ---------------------*/

a {
  text-decoration: none;
}
.icons-contact {
  position: fixed;
  bottom: 30px;
  right: 20px;
  z-index: 20;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.icons-contact a {
  padding: 5px 10px;
  border-radius: 50%;
  background-color: white;
  color: #008080;
  box-shadow: 0 2px 8px rgba(58, 116, 179, 0.2);
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  transition: all 0.2s ease;
  -webkit-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  -ms-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
}
.icons-contact a.change{
    color: white;
    background-color: #008080;
}
.icons-contact i {
  font-size: 25px;
}
.icons-contact a:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(58, 116, 179, 0.3);
  -webkit-transform: scale(1.05);
  -moz-transform: scale(1.05);
  -ms-transform: scale(1.05);
  -o-transform: scale(1.05);
}
.navbar {
  display: flex;
  justify-content: space-between;
  padding: 0 40px;
  align-items: center;
  align-content: center;
  width: 100%;
  position: fixed;
  top: 0;
  width: 100%;
  height: 65px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
  z-index: 100;
  background-color: #ffffff;
}
.logo{
  display: flex;
  align-items: center;
  justify-content: center;
}
.navLogoTitle{
  color: #4EBCBA;
  font-family: SomarSans-SemiBold;
  font-size: 26px;
}
.navbar img {
  width: 60px;
  
}
.navbar .imgEN{
  width: 60px;
}
@media screen and (max-width: 370px) {
  .navbar #myCanvasLogo{
    margin-left: -28px;
  }
}
nav a {
  color: black;
  margin-left: 20px;
  padding: 10px 15px;
  position: relative;
  transition: color 0.3s ease-in;
  -webkit-transition: color 0.3s ease-in;
  -moz-transition: color 0.3s ease-in;
  -ms-transition: color 0.3s ease-in;
  -o-transition: color 0.3s ease-in;
}
nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 0;
  height: 1px;
  background-color: #008080;
  transition: width 0.3s ease-in;
  -webkit-transition: width 0.3s ease-in;
  -moz-transition: width 0.3s ease-in;
  -ms-transition: width 0.3s ease-in;
  -o-transition: width 0.3s ease-in;
}
nav a:hover {
  color: #008080;
}
nav a:hover::after {
  width: 100%;
}
.icons{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
.icons a {
  color: black;
}

.toggle-btn{
  display:none;
  margin-left: 10px;
}
.toggle-btn i{
  color: black;
  font-size: 24px;
}

/*----------------navbar in mobile--------------*/
.media-navbar{
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  width: 70%;
  max-width: 300px;
  z-index: 1000;
  background-color: rgba(220, 220, 220, 0.95);
  box-shadow: 2px 0 10px rgba(0,0,0,0.2);
  transform: translateX(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
  -webkit-transition: transform 0.3s ease, opacity 0.3s ease;
  -moz-transition: transform 0.3s ease, opacity 0.3s ease;
  -ms-transition: transform 0.3s ease, opacity 0.3s ease;
  -o-transition: transform 0.3s ease, opacity 0.3s ease;
  -webkit-transform: translateX(-100%);
  -moz-transform: translateX(-100%);
  -ms-transform: translateX(-100%);
  -o-transform: translateX(-100%);
}
.media-navbar.show {
   transform: translateX(0);
   opacity: 1;
   pointer-events: auto;
   -webkit-transform: translateX(0);
   -moz-transform: translateX(0);
   -ms-transform: translateX(0);
   -o-transform: translateX(0);
}
.media-navbarEn{
  height: 100%;
  position: fixed;
  top: 0;
  right: 0;
  width: 70%;
  max-width: 300px;
  z-index: 1000;
  background-color: rgba(220, 220, 220, 0.95);
  box-shadow: 2px 0 10px rgba(0,0,0,0.2);
  transform: translateX(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
  -webkit-transition: transform 0.3s ease, opacity 0.3s ease;
  -moz-transition: transform 0.3s ease, opacity 0.3s ease;
  -ms-transition: transform 0.3s ease, opacity 0.3s ease;
  -o-transition: transform 0.3s ease, opacity 0.3s ease;
  -webkit-transform: translateX(100%);
  -moz-transform: translateX(100%);
  -ms-transform: translateX(100%);
  -o-transform: translateX(100%);
}
.media-navbarEn.show {
   transform: translateX(0);
   opacity: 1;
   pointer-events: auto;
   -webkit-transform: translateX(0);
   -moz-transform: translateX(0);
   -ms-transform: translateX(0);
   -o-transform: translateX(0);
}
.media-navbar nav,.media-navbarEn nav{
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 0 30px;
}
.close-btn i{
  color: black;
  font-size: 24px;
  margin-right: 10px;
  margin-left: 10px;
}

@media screen and (min-width:859px) {
  .media-navbar,.media-navbarEn{
    display: none;
  }
}
@media screen and (max-width:860px) {
  .navbar nav{
    display: none;
  }
  .toggle-btn{
    display: block;
  }
}
@media screen and (max-width:390px) {
  .navbar{
    padding: 0 10px;
  }
  .media-navbar,.media-navbarEn{
    width: 100%;
  }
  
}
/*----------------hero-----------------*/
.hero {
  position: relative;
  height: 100vh;
  background-image: url("assets/images/infra.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  z-index: 1;
}
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.1);
  z-index: -1;
}
.hero-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.hero-content .author {
  font-weight: bold;
  letter-spacing: 10px;
  font-size: clamp(18px, 2vw, 24px);
}
.hero-content .authorAr{
  font-weight: bold;
  margin-bottom: 3px;
  font-size: clamp(32px, 2vw, 24px);
}
.hero-content .title {
  font-weight: bold;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  line-height: 1.3em;
}
.hero-content .topic {
  max-width: 600px;
  font-weight: 500;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  line-height: 1.5em;
}
.hero-content .author,
.hero-content .authorAr,
.hero-content .title,
.hero-content .topic,
.icons-contact {
  transform: translateY(50px);
  filter: blur(20px);
  opacity: 0;
  animation: showContent 0.5s 1s linear 1 forwards;
  -webkit-transform: translateY(50px);
  -moz-transform: translateY(50px);
  -ms-transform: translateY(50px);
  -o-transform: translateY(50px);
  -webkit-filter: blur(20px);
  -webkit-animation: showContent 0.5s 1s linear 1 forwards;
}
@keyframes showContent {
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
    -webkit-filter: blur(0);
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
  }
}
.hero-content .title {
  animation-delay: 1.2s;
}
.hero-content .topic {
  animation-delay: 1.4s;
}
.hero-content .des {
  animation-delay: 1.6s;
}
.icons-contact {
  animation-delay: 1.8s;
}
@media screen and (max-width:650px) {
  .hero{
    padding-left: 20px;
    padding-right: 20px;
  }
}

/*------------contact Us---------------*/
.title-heading {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 36px;
  font-family: SomarSans-SemiBold;
  margin-top: 40px;
  margin-bottom: 40px;
  color: #008080;
  position: relative; 
}

.title-heading::after {
  content: "";
  position: absolute;
  bottom: -10px; 
  left: 50%;
  transform: translateX(-50%);
  width: 80px; 
  height: 1px; 
  background-color: #008080; 
  border-radius: 2px;
}

.title-heading2 {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 30px;
  font-family: SomarSans-SemiBold;
  margin-top: 40px;
  margin-bottom: 40px;
  color: #008080;
}
.ContactUs{
    margin: 40px 0;
}
.ContactUs h3 {
  font-size: 24px;
  color: #008080;
}
.ContactUs .desc {
  max-width: 350px;
  margin: 30px 0;
  color: #666;
}
.contact-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 10px 5px;
  border: 0.1px solid gainsboro;
  border-radius: 10px;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
  -webkit-transition: transform 0.3s ease;
  -moz-transition: transform 0.3s ease;
  -ms-transition: transform 0.3s ease;
  -o-transition: transform 0.3s ease;
}

.contact-item:hover {
  transform: translateY(-5px);
  -webkit-transform: translateY(-5px);
  -moz-transform: translateY(-5px);
  -ms-transform: translateY(-5px);
  -o-transform: translateY(-5px);
}
.contact-icon {
  padding: 5px 10px;
  background-color: #e9f0f0;
  color: #008080;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  font-size: 1.8rem;
  transition: background-color 0.3s ease;
  -webkit-transition: background-color 0.3s ease;
  -moz-transition: background-color 0.3s ease;
  -ms-transition: background-color 0.3s ease;
  -o-transition: background-color 0.3s ease;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
}

.contact-item:hover .contact-icon {
  background-color: #dfdfdf;
}

.contact-item h4 {
  font-size: 20px;
  font-weight: 500;
}

.contact-item p {
  color: #a3a3a3;
  font-size: 1rem;
  margin-bottom: 0;
}

.contact-item a {
  color: #008080;
  text-decoration: none;
  transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
}

.contact-item a:hover {
  border-bottom: .1px solid #008080;
  padding-bottom: 3px;
  color: rgb(53, 52, 52);
}
.map-container {
  max-width: 100%;
  overflow: hidden;
  border-radius: 10px;
  margin-top: 50px;
  border: .1px solid gainsboro;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
}

.mapEn{
  margin-top: 95px;
}

@media screen and (max-width:991px) {
  .map-container{
    margin-top: 10px;
  }

  .mapEn{
  margin-top: 10px;
}
}


/*---------------- about and why---------------- */
.about{
 background-color: #f7f6f6;;
}
.about,
.why {
  padding: 40px 0;
}
.about p {
  margin: 30px 0;
  text-align: center;
}
.aboutDes{
  color: #666;
  font-size: 18px;
}
.whyContainer,
.aboutContainer {
  width: 80%;
  margin: auto;
}

.whyContainer{
  margin-bottom: 40px;
}

.aboutContainer{
width: 50%;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}

/*----------------- other screens -----------------*/
@media screen and (max-width:895px) {
  .why-grid {
  grid-template-columns: repeat(2, 1fr);

}
}

@media screen and (max-width:615px) {
  .why-grid {
  grid-template-columns: repeat(1, 1fr);

}

.aboutContainer{
width: 80%;
}

}

.why-card {
  background-color: #ffffff;
  color: #666;
  padding: 20px;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  font-weight: bold;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.why-card:hover {
  transform: scale(1.05) translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  background: linear-gradient(145deg, #e6f7f1, #ffffff);
}

/* -----------why us section animation ---------------------*/
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}


/*-------------------- sectors slider------------------*/

.sectors-section {
  padding: 80px 0;
  background: linear-gradient(to bottom, #f8f9fa, #ffffff);
}

.section-title {
  font-family: SomarSans-SemiBold;
  color: #008080;
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: #008080;
  border-radius: 2px;
}

.carousel {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.carousel-image-container {
  position: relative;
  height: 600px;
}

.carousel-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.carousel-item:hover img {
  transform: scale(1.05);
}

.carousel-caption-wrapper {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  padding: 40px 20px;
}

.carousel-caption {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
  background-color: hsl(180, 100%, 25%, .4);
  border-radius: 20px;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  -ms-border-radius: 20px;
  -o-border-radius: 20px;
}

.carousel-item.active .carousel-caption {
  opacity: 1;
  transform: translateY(0);
}

.slide-title {
  font-family: SomarSans-SemiBold;
  font-size: 3.5rem;
  margin-bottom: 1rem;
  color: #ffffff;
}

.slide-description {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #ffffff;
  margin-bottom: 1.5rem;
  
}

.cta-button {
  display: inline-flex;
  align-items: center;
  padding: 12px 30px;
  background: #008080;
  color: white;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background: #006666;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,128,128,0.3);
}

.carousel-control {
  width: 50px;
  height: 50px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  transition: all 0.3s ease;
}

.carousel:hover .carousel-control {
  opacity: 1;
}

.carousel-control i {
  color: #008080;
  font-size: 1.5rem;
}

/*--------------- Responsive adjustments for slider-------------*/
@media (max-width: 768px) {
  .carousel-image-container {
    height: 400px;
  }

  .slide-title {
    font-size: 1.8rem;
  }

  .slide-description {
    font-size: 1rem;
  }

  .carousel-caption-wrapper {
    padding: 20px;
  }
}