/* start global varibles */
:root {
  --main-color: #8b3b77;
  --second-color: #f6af70;
  --section-background: #f0f0f5;
}

/* end global varibles */

/* start of global rules */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  /* direction: rtl; */
}

@font-face {
  font-family: myfirstfont;
  /* src: url(../assets/font/alfont_com_AlFont_com_DiodrumArabic-Semibold-1.ttf); */
  src: url(../font/DiodrumArabic-Regular.ttf);
}

p,
h1,
h2,
h3 {
  direction: rtl;
}

h3 {
  font-size: 32px;
  font-size: 28px;
}

a {
  text-decoration: none;
  color: black;
}

html {
  scroll-behavior: smooth;
}

body {
  /* font-family: myfirstfont, Arial, Helvetica, sans-serif; */
  font-family: "Cairo", system-ui;
  /* background-image: url(../assets/tile_background2.png);
    background-size: cover;
    background-repeat: repeat;
    background-attachment: fixed; */
  min-height: calc(100vh - 72px);
  position: relative;
  direction: rtl;
}

ul {
  list-style: none;
}

.container {
  margin-left: auto;
  margin-right: auto;
  padding-left: 10px;
  padding-right: 10px;
}

/* small screen */
@media (min-width: 768px) {
  .container {
    width: 748px;
    /* width: calc(100vw - 160px); */
  }
}

/* medium screen */
@media (min-width: 992px) {
  .container {
    width: 972px;
    /* width: calc(100vw - 160px); */
  }
}

/* big screen */
@media (min-width: 1200px) {
  .container {
    width: 1180px;
    /* width: calc(100vw - 160px); */
  }
}

/* start component */

.intro-text {
  display: flex;
  align-items: center;
  flex-direction: row;
}

@media (min-width: 1200px) {
  .intro-text {
    width: 1200px;
    margin-right: auto;
    margin-left: auto;
  }
}

.special-text {
  font-size: 85px;
  white-space: nowrap;
  text-align: center;
  color: #8b3b770a;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
}

.special-text > div {
  position: absolute;
  /* transform: translate(); */
  text-align: center;
  font-size: 30px;
  color: black;
  margin-top: 40px;
  font-weight: 700;
}

@media (max-width: 992px) {
  .special-text {
    font-size: 50px;
  }

  .special-text > div {
    font-size: 20px;
    margin-top: 24px;
  }
}

@media (max-width: 768px) {
  .special-text {
    font-size: 36px;
  }

  .special-text > div {
    font-size: 12px;
    margin-top: 20px;
  }
}

.more {
  font-weight: 400;
  font-size: 24px;
  text-align: center;
  color: #282e3a;
  opacity: 0.52;
  text-decoration: none;
   z-index: 100;
}

/* end component */

/* start header */
header {
  background-color: var(--section-background);
}

header .container {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  align-items: center;
}

header .container nav .menu-icon {
  color: var(--main-color);
  font-size: 25px;
  padding: 0px 10px;
}

@media (min-width: 992px) {
  header .container .menu-icon {
    display: none;
  }
}

header .container nav .logo img {
  height: 72px;
  padding: 10px 0px;
}

@media (max-width: 786px) {
  header .container nav .logo img {
    height: 45px;
    padding: 4px 0px;
  }
}

header .container nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  /* margin-right: 60px; */
  justify-content: space-between;
  flex: 1;
}

header .container nav .links {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
  padding-right: 70px;
  align-items: center;
}

@media (max-width: 992px) {
  header .container nav .links {
    display: none;
  }
}

header .container .links ul li {
  /* padding: 30px; */
  /* ## */
  background-color: var(--section-background);
  height: 38px;
  border-radius: 20px;
  /* margin: 0px 10px; */
  color: var(--main-color);
}

header .container nav .links .menu-line .x-icon {
  font-size: 30px;
}

header .container nav .links .menu-line img {
  width: 80px;
}

header .container nav .links .line {
  width: 100%;
  height: 1px;
  background-color: var(--main-color);
  margin: 15px 0px;
}

header .container nav .links .social {
  display: flex;
  align-items: center;
  height: 100%;
  background-color: var(--main-color);
  justify-content: center;
}

header .container nav .links .social i {
  padding: 20px;
  font-size: 30px;
  color: white;
  align-items: center;
}

header .container ul {
  display: flex;
  flex-direction: row;
  align-items: center;
  font-size: 24px;
  justify-content: space-between;
  flex: 0.9;
}

header .container ul a {
  /* padding: 0px 17px; */
  text-decoration: none;
  color: black;
  /* margin: 0px 18px; */
  transition: 0.3s;
  word-break: keep-all;
  padding-bottom: 8px;
  font-weight: 700;
  font-size: 18px;
}

header .container ul li.active a {
  color: var(--main-color);
  /* margin: 0px 18px; */
}

header .container .links ul li.active {
  color: var(--main-color);
}

header .container .links ul a:hover {
  color: var(--main-color);
}

header .container .links ul li.active a:hover {
  color: var(--main-color);
}

header .container nav .lang {
  display: flex;
  font-weight: bold;
  height: 30px;
  gap: 10px;
}

@media (max-width: 992px) {
  header .container nav .lang {
    display: none;
  }

  header .container .menu-icon:hover + .links {
    width: 40%;
  }
}

@media (min-width: 992px) {
  header .container nav .line,
  header .container nav .social,
  header .container nav .menu-line {
    display: none !important;
  }
}

header .container nav .lang .ar {
  border-radius: 5px;
  background-color: var(--section-background);
  padding: 3px 5px;
  color: #f0f0f5;
  /* transition: 0.5s; */
  text-decoration: none;
  font-weight: 700;
}

header .container nav .lang .en {
  border-radius: 5px;
  background-color: var(--section-background);
  padding: 3px 5px;
  color: var(--main-color);
  text-decoration: none;
  font-weight: 700;

  /* transition: 0.5s; */
}

header .container nav .lang .active {
  background-color: var(--main-color);
  color: white;
}

header .container nav .menuu {
  display: none;
}

header .container nav .menuu.show {
  display: flex;
  flex-direction: column;
  /* justify-content: space-between; */
  position: fixed;
  background-color: var(--section-background);
  width: 35%;
  top: 0px;
  right: 0px;
  z-index: 5;
  height: 100vh;
}

@media (max-width: 550px) {
  header .container nav .menuu.show {
    width: 70%;
  }
}

header .container nav .menuu .first-line {
  display: flex;
  padding: 10px 15px;
  justify-content: space-between;
  align-items: center;
}

header .container nav .menuu .first-line i {
  font-size: 26px;
  color: var(--main-color);
}

header .container nav .menuu .first-line img {
  width: 56px;
}

header .container nav .menuu ul {
  flex-direction: column;
  flex-grow: 4;
  justify-content: space-evenly;
  align-items: flex-start;
  padding: 0px 20px;
}

/* header .container nav .menuu li {
    margin: 30px 0px;
} */

header .container nav .menuu li div {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  /* background-color: var(--main-color); */
  border-radius: 30px;
  padding: 7px;
  padding-right: 10px;
  /* width: 150px; */
  gap: 11px;
}

header .container nav .menuu li div.active {
  background-color: var(--main-color);
  /* color: white; */
}

header .container nav .menuu li div.active a {
  color: white;
}

header .container nav .menuu li div.active img {
  filter: brightness(0) saturate(100%) invert(100%) sepia(3%) saturate(7487%)
    hue-rotate(258deg) brightness(106%) contrast(117%);
}

header .container nav .menuu .line {
  width: 100%;
  height: 1px;
  background-color: var(--main-color);
  margin: 15px 0px;
}

header .container nav .menuu .social-line {
  display: flex;
  flex-grow: 1;
  justify-content: space-evenly;
  align-items: center;
  padding: 15px;
  /* height: 120px; */
  background-color: var(--main-color);
  color: white;
}

/* header .container nav .menuu .social-line i {
    font-size: 28px;
} */

header .container nav .menuu .social-line img {
  width: 28px;
}

header .container nav .black {
  display: none;
}

header .container nav .black.show {
  display: flex;
  flex-direction: column;
  position: fixed;
  background-color: rgb(0 0 0 / 65%);
  width: 100%;
  top: 0px;
  left: 0px;
  z-index: 3;
  height: 100vh;
}

/* end header */

/* start main */

.main {
  background-image: url(../images/main_bg.svg);
  background-size: cover;
  background-repeat: repeat;
  background-attachment: fixed;
  height: 600px;
  position: relative;
  /* height:  500px; */
  overflow: hidden;
}

.main::before {
  content: "";
  background-color: var(--main-color);
  opacity: 0.75;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.main > .pattern {
  object-fit: cover;
  position: absolute;
  bottom: 0;
  left: 18%;
  height: 90%;
}

@media (max-width: 768px) {
  .main > .pattern {
    width: 100%;
    height: 50%;
    left: 50%;
    transform: translateX(-50%);
  }
}

.main .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  column-gap: 100px;
  position: relative;
  padding: 95px 20px;
  margin-bottom: 30px;
  color: white;
}

.main .container h1 {
  font-weight: bold;
  font-size: 64px;
}

.main .container h2 {
  font-weight: 700;
  font-size: 60px;
  color: #F6AF70;
}
.main .container .links {
    padding: 50px 0px 0px 0px ;

}
.main .container .links a {
    font-weight: 700;
    font-size: 18px;
    margin-left: 10px;
    color: #F6AF70;
    border: #F6AF70  solid 2px;
    border-radius: 7px;
    padding: 5px 25px;
}
.main .container .links a:first-child {
    background-color: #F6AF70;
    color: white;
}

@media (max-width: 992px) {
  .main .container h1 {
    font-size: 50px;
  }

  .main .container h2 {
    font-size: 46px;
  }
}

@media (max-width: 768px) {
  .main .container h1 {
    font-size: 40px;
  }

  .main .container h2 {
    font-size: 36px;
  }
}
/* end main */

/* start activities */
.activities-section {
  padding-bottom: 70px;
}

.activities-section .container {
  position: relative;
  padding-left: 30px;
  padding-right: 30px;
}
.activities-section .container .about {
  /* position: absolute; */
  position: relative;
  top: -56px;
  background-color: white;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  border-radius: 6px;
  box-shadow: 0px 4px 40px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.activities-section .container .about h3 {
  font-size: 31px;
  color: var(--main-color);
  font-weight: 700;
}

.activities-section .container .about p {
  font-size: 18px;
  padding: 20px 50px;
  line-height: 2;
}

@media (max-width: 786px) {
  .activities-section .container .about p {
    font-size: 16px;
    padding: 10px 0px;
    line-height: 2;
  }
}

.activities-section .container .about p span {
  color: var(--second-color);
  font-weight: bold;
}

/* .activities-section .container .special-text {
    padding-top: 100px;
} */

.activities-section .container .boxes {
  margin-top: 120px;
  display: flex;
  justify-content: space-around;
  gap: 64px;
}

@media (max-width: 968px) {
  .activities-section .container .boxes {
    flex-direction: column;
  }
}

.activities-section .container .boxes .box  a{

    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--main-color);
    border-radius: 10px;
    width: 100%;
    /* width: 250px; */
    height: 150px;
    padding: 20px;
    font-weight: bold;
    border: none;
}
.activities-section .container .boxes .box {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--main-color);
    border-radius: 10px;
    box-shadow: 0px 4px 40px 0px #0000000d;
    width: 100%;
    /* width: 250px; */
    height: 150px;
    padding: 20px;
    font-weight: bold;
    border: none;
}

.activities-section .container .boxes .box:hover {
  border: 3px solid var(--main-color);
  transition: 0.2s;
}

.activities-section .container .boxes .icon {
  position: absolute;
  top: -34px;
  background-color: var(--main-color);
  padding: 10px;
  border-radius: 8px;
}

.activities-section .container .boxes .box:hover .icon {
  background-color: white;
  box-shadow: rgba(0, 0, 0, 0.2) 0px 4px 40px;
  transition: 0.2s;
}

.activities-section .container .boxes .box:hover img {
  filter: brightness(0) saturate(100%) invert(32%) sepia(7%) saturate(5634%)
    hue-rotate(265deg) brightness(87%) contrast(86%);
}

/* end activities */

/* start our-services */
.our-services-section {
  background-color: white;
  box-shadow: 0px 4px 40px 0px #00000033;
  position: relative;
  overflow: hidden;
  padding: 35px 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.our-services-section .swiper {
  padding-top: 80px;
  padding-bottom: 40px;
  width: 100%;
  height: 100%;
  max-width: 1380px;
  direction: rtl;
}

.our-services-section .swiper-slide {
  /* height: 344px; */
  /* width: 286px; */
  border-radius: 10px;
  overflow: hidden;
  background-color: white;
  box-shadow: 0px 4px 40px 0px #0000000d;
}

.our-services-section .swiper-slide .image-box {
  position: relative;
}

.our-services-section .swiper-slide .image {
  width: 100%;
  height: 300px;
  /* background-image: url(../assets/_1bc7f286-3ea0-47e8-b1f4-c407c42ae474\ 1.png); */
  object-fit: cover;
  object-position: center;
  /* background-position: center; */
  /* background-size: cover; */
  border-radius: 10px;
}

@media (max-width: 992px) {
.our-services-section .swiper-slide .image {
  width: 100%;
  height: 200px;

}
}

.our-services-section .swiper-slide .cover {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: #8b3b774d;
  border-radius: 10px;
}

.our-services-section .swiper-slide p {
  padding: 15px 10px;
  font-weight: 700;
}

/* .our-services-section .boxes {
    display: flex;
    gap:  60px;
    padding-top: 80px;
    padding-bottom: 40px;
}

.our-services-section .boxes .box {
    height: 344px;
    width: 286px;
    border-radius: 10px;
    overflow: hidden;
    background-color: white;
    box-shadow: 0px 4px 40px 0px #0000000D;

}

.our-services-section .boxes .box .image {
    width: 100%;
    height: 80%;
    object-fit: cover;
    object-position: center;
    border-radius: 10px;
}

.our-services-section .boxes .box p {
    padding: 10px;
} */

.left-pattern {
  position: absolute;
  left: 0;
  top: -160px;
  opacity: 0.5;
}

.right-pattern {
  position: absolute;
  right: 0;
  top: -160px;
  opacity: 0.5;
}

@media (max-width: 768px) {
  .left-pattern,
  .right-pattern {
    display: none;
  }
}

.middle-pattern {
  display: none;
}

@media (max-width: 768px) {
  .middle-pattern {
    display: block;
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
    top: -636px;
    opacity: 0.5;
  }
}

/* end our-services */

/* start projects-section */

.projects-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* .projects-section .slider {
  height: 300px;
} */

.projects-section .swiper {
  width: 100%;
  padding-top: 30px;
  padding-bottom: 30px;
  max-width: 1400px;
}

.projects-section .swiper .swiper-wrapper {
  /* height: 300px; */
}
.projects-section .swiper .swiper-slide {
  background-position: center;
  background-size: cover;
  /* width: 450px; */
  /* height: 240px; */
}

@media (max-width: 786px) {
  .projects-section .swiper .swiper-slide-prev {
    transform: translateX(-50px) !important;
  }
}
@media (max-width: 786px) {
  .projects-section .swiper .swiper-slide-next {
    transform: translateX(50px) !important;
  }
}

.projects-section .swiper.swiper-3d {
  perspective: 6000px;
}
.projects-section .swiper .swiper-slide-active {
  transform: translateY(20px) !important;
}
/* .projects-section .swiper .swiper-slide img {
  display: block;
  width: 400px;
  height: 200px;
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
  position: relative;
}

.projects-section .swiper .swiper-slide img::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(139, 59, 119, 0) 0%, #000000 100%);
} */

.projects-section .swiper .swiper-slide .image {

    display: flex;
    /* width: 400px; */
    height: 231px;
    background-size: cover;
    background-position: center;
    position: relative;
  border-radius: 10px;
  overflow: hidden;
  justify-content: end;
  align-items: start;
  color: white;
  flex-direction: column;
  gap: 10px;
  padding:0px;
}
.projects-section .swiper .swiper-slide .image  img {
    width: 100%;
    height: 100%;
    z-index: -1;
    position: absolute;
        object-fit: cover;

}

@media (max-width: 992px) {
  .projects-section .swiper .swiper-slide .image {
    width: 320px;
    height: 155px;
  }
}
@media (max-width: 786px) {
  .projects-section .swiper .swiper-slide .image {
    width: 172px;
    height: 105px;
    width: calc(100vw / 3);
    height: calc(100vw * 0.2);
    gap: 6px;
    padding: 8px 6px;
  }
}

.projects-section .swiper .swiper-slide .image::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(139, 59, 119, 0) 0%, #000000 100%);
}

@media (max-width: 786px) {
  .projects-section .swiper .swiper-slide-active .image {
    width: calc(100vw / 2);
    height: calc(100vw * 0.27);
    transform: translateX(16%);
  }
}

.projects-section .swiper .swiper-slide .image p {
  position: relative;
}

.projects-section .swiper .swiper-slide .image p.date {
  font-size: 14px;
}

@media (max-width: 786px) {
  .projects-section .swiper .swiper-slide .image p {
    font-size: 12px;
  }
  .projects-section .swiper .swiper-slide .image p.date {
    font-size: 8px;
  }

  .projects-section .swiper .swiper-slide-prev p,
  .projects-section .swiper .swiper-slide-next p {
    font-size: 9px !important;
  }
  .projects-section .swiper .swiper-slide-prev p.date,
  .projects-section .swiper .swiper-slide-next p.date {
    font-size: 8px !important;
  }
}

.projects-section .buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  padding: 20px 0px;
}
.projects-section .buttons .swiper-my-button {
  border-radius: 100%;
  background-color: var(--main-color);
  padding: 5px;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

@media (max-width: 786px) {
  .projects-section .buttons .swiper-my-button {
    background-color: white;
    border: 2px solid var(--main-color);
    width: 30px;
    height: 30px;
  }
}
.projects-section .buttons .swiper-my-button i {
  color: white;
  font-size: 46px;
}

.projects-section .buttons .swiper-my-button .fa-arrow-right,
.projects-section .buttons .swiper-my-button .fa-arrow-left {
  display: none;
}

@media (max-width: 786px) {
  .projects-section .buttons .swiper-my-button .fa-arrow-right,
  .projects-section .buttons .swiper-my-button .fa-arrow-left {
    display: block;
    color: var(--main-color);
    font-size: 18px;
  }
  .projects-section .buttons .swiper-my-button i.fa-angle-right,
  .projects-section .buttons .swiper-my-button i.fa-angle-left {
    display: none;
  }
}

.projects-section .swiper .swiper-slide-shadow-left,
.projects-section .swiper .swiper-slide-shadow-right {
  background-image: unset;
}
/* end projects-section */

/* start news */
.news-section {
  position: relative;
  /* height: 300px; */
  background-color: white;
  box-shadow: 0px 4px 40px 0px #00000033;
  /* overflow: hidden; */
  padding: 35px 80px;
  display: flex;
  flex-direction: column;
  margin-top: 40px;
  overflow: hidden;
  align-items: center;
}

@media (max-width: 768px) {
  .news-section {
    padding: 35px 20px;
  }
}

@media (max-width: 768px) {
  .news-section .container {
    margin: unset;
    padding: unset;
  }
}

.news-section .grid-container {
  display: grid;
  justify-content: center;
  grid-template-columns: 1fr 2fr;
  grid-template-rows: 250px 250px;
  gap: 20px;
  padding: 50px 100px;
  position: relative;
  z-index: 1;
  /* max-width: 1380px; */
}

@media (max-width: 978px) {
  .news-section .grid-container {
    grid-template-columns: 200px 2fr;
    grid-template-rows: 250px 250px;
    padding: 50px 50px;
  }
}
@media (max-width: 768px) {
  .news-section .grid-container {
    grid-template-columns: 120px 2fr;
    grid-template-rows: 150px 150px;
    padding: 50px 0px;
    gap: 5px;
  }
}
.news-section .image1 {
  grid-area: 1 / 1 / span 2; /* Spans both rows of the first column */
  /* object-fit: cover;
    object-position: center; */
  height: 100%;
  width: 100%;
}

.news-section .image2 {
  grid-area: 1 / 2; /* Second column, first row */
  /* height: 250px; */
  height: 100%;
  /* object-fit: cover;
    object-position: center; */
  width: 100%;
}

.news-section .image3 {
  grid-area: 2 / 2; /* Second column, second row */
  /* height: 250px; */
  height: 100%;
  /* object-fit: cover;
    object-position: center; */
  width: 100%;
}

.news-section .news-image {
    border-radius: 10px;

    background-position: center;
    background-size: cover;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: start;
    color: white;
    text-align: start;
}
.news-section .news-image  img {
    width: 100%;
    height: 100%;
    z-index: -1;
    position: absolute;
 object-fit: cover;

}

.news-section .news-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(139, 59, 119, 0) 0%, #000000 100%);
}

.news-section .news-image p.title {
  padding: 10px;
  font-weight: 700;
  /* text-align: center; */
  color: white;
  z-index: 1;
  padding-bottom: 2px;
  font-size: clamp(1rem, 0.7vw, 5rem);
}

@media (max-width: 992px) {
    .news-section .news-image p.title {
        padding: 10px;
        font-weight: 700;
        /* text-align: center; */
        color: white;
        z-index: 1;
        padding-bottom: 2px;
        font-size: 14px;
      }
  }
.news-section .news-image p.date {
  padding: 10px;
  font-weight: 700;
  /* text-align: start; */
  color: white;
  z-index: 1;
  padding-bottom: 25px;
  font-size: clamp(0.83rem, 0.5vw, 5rem);
}
@media (max-width: 992px) {
    .news-section .news-image p.date {
        padding: 10px;
        font-weight: 700;
        /* text-align: start; */
        color: white;
        z-index: 1;
        padding-bottom: 25px;
        font-size:10px;
      }
  }

/* end news */

/* start partner */

.partners {
  margin: 20px 0px;
}

.partners .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.partners .container .swiper {
  padding-top: 80px;
  padding-bottom: 40px;
  width: 100%;
  height: 100%;
}

.partners .container .swiper-slide {
  border-radius: 10px;
  overflow: hidden;
  background-color: white;
  box-shadow: 0px 4px 40px 0px #0000000d;
}

.partners .container .swiper-slide .image {
  width: 100%;
  height: 130px;
  /* background-image: url(../assets/_1bc7f286-3ea0-47e8-b1f4-c407c42ae474\ 1.png); */
  object-fit: cover;
  object-position: center;
  /* background-position: center; */
  /* background-size: cover; */
  border-radius: 10px;
}




.partners .container .swiper-slide p {
  padding: 10px;
}
/* end partner */

/* start about page */

.page-header {
  background-image: url(../images/about_bg.svg);
  background-size: cover;
  background-repeat: repeat;
  background-attachment: fixed;
  height: 350px;
  position: relative;
  overflow: hidden;
  /* height:  50vh; */
}

.page-header::before {
  content: "";
  background-color: var(--main-color);
  opacity: 0.75;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.page-header > .pattern {
  object-fit: cover;
  position: absolute;
  bottom: 0;
  left: -20px;
  height: 85%;
}

@media (max-width: 768px) {
  .page-header > .pattern {
    width: 100%;
    height: unset;
    left: 50%;
    transform: translateX(-50%);
  }
}

.page-header .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  column-gap: 100px;
  position: relative;
  padding: 50px 15px;
  margin-bottom: 30px;
  color: white;
  height: 70%;
}

.page-header .container h3 {
  font-weight: 700;
  font-size: 50px;
  text-align: center;
}

@media (max-width: 768px) {
  .page-header .container h3 {
    font-size: 36px;
  }
}

.about {
  padding-bottom: 70px;
}

.about .container {
  position: relative;
  padding-left: 30px;
  padding-right: 30px;
}
.about .about-section {
  /* position: absolute; */
  position: relative;
  top: -61px;
  background-color: white;
  padding: 11px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  border-radius: 6px;
  box-shadow: 0px 4px 40px rgba(0, 0, 0, 0.2);
  text-align: center;
  padding: 30px;
}

.about .about-section h3 {
  font-size: 24px;
  color: var(--main-color);
}

.about .about-section p {
  font-size: 16px;
  padding: 20px 50px;
  line-height: 2;
}
@media (max-width: 768px) {
  .about .about-section p {
    padding: 10px 0px;
  }
}

.about .about-section p span {
  color: var(--second-color);
  font-weight: bold;
}

.about .up-section {
  display: flex;
  gap: 40px;
}

@media (max-width: 768px) {
  .about .up-section {
    flex-direction: column;
  }
}

.about .up-section .our-vision {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
}

.about .title {
  display: flex;
  align-items: center;
  gap: 20px;
}
@media (max-width: 768px) {
  .about .title {
    gap: 5px;
  }
}
.about .title img {
  width: 100px;
}

.about .title h4 {
  font-size: 36px;
  color: var(--second-color);
  font-weight: 700;
}
@media (max-width: 768px) {
  .about .title img {
    width: 80px;
  }
  .about .title h4 {
    font-size: 32px;
  }
}
.about ul {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* .about .up-section .our-vision ul li {
    list-style-image: url(/assets/Ellipse\ 6.png);
    list-style-position: inside;
} */

.about ul li {
  list-style: none;
  font-size: 20px;
  display: flex;
  gap: 10px;
  align-items: start;
}
.about ul li img {
  height: 28px; /* Set your desired height */
  padding-top: 5px;
}

@media (max-width: 768px) {
  .about ul li p {
    font-size: 16px;
  }
  .about ul li img {
    padding-top: 2px;
  }
}
.about .up-section .our-way {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
}

.about .our-goals {
  padding-top: 30px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
}

/* end about */

/* start activities page  */

.activities {
  padding-bottom: 70px;
}

.activities .container {
    /* padding-left: 30px;
    padding-right: 30px; */
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 30px 30px;
}
.activities .container .content {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(500px,1fr));
    gap: 40px;
}

@media(max-width:992px){
    .activities .container .content {

        display: grid;
        grid-template-columns: repeat(auto-fill,minmax(200px,1fr));
        gap: 40px;
    }
  }
.activities .container .content .box:nth-child(3)  {
    grid-column: 1 / span 2;
  }


  @media(max-width:992px){
    .activities .container .content .box:nth-child(3)   {
      grid-column: 1 / span 1;
    }
  }


.activities .up-section {
  display: flex;
  gap: 40px;
}

@media (max-width: 992px) {
  .activities .up-section {
    flex-direction: column;
  }
}

.activities .up-section .logistic {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
  background-image: url("../assets/bottom_patterns.png");
  background-position: center bottom;
  background-repeat: no-repeat;
  background-size: contain;
}

.activities .title {
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
  border-radius: 5px;
  background-color: var(--second-color);
  z-index: 0;
  padding: 10px 5px;
}

.activities .title::before {
  content: "";
  width: 100%;
  height: 100%;
  background-color: white;
  top: -2px;
  left: 0;
  position: absolute;
  z-index: -1;
  border-radius: 5px;
}
.activities .title img {
  width: 50px;
}

.activities .title h4 {
  font-size: 28px;
  color: var(--second-color);
  font-weight: 700;
}

@media (max-width: 768px) {
  .activities .title img {
    width: 30px;
  }

  .activities .title h4 {
    font-size: 22px;
  }
}
.activities ul {
  /* display: flex;
    flex-direction: column;
    gap: 15px; */
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: 1 1 1 1;
  gap: 15px;
}

@media (max-width: 768px) {
  .activities ul {
    display: flex;
    flex-direction: column;
  }
}

.activities ul li {
  list-style: none;
  font-size: 16px;
  display: flex;
  gap: 10px;
  align-items: start;
  text-align: start;
}
.activities ul li img {
  height: 26px;
  padding-top: 2px;
}
.activities ul li p {
  font-size: 14px;
}

.activities .up-section .engineer {
  /* display: flex; */
  /* flex-direction: column; */
  flex: 1;
  /* gap: 10px; */
  background-image: url("../assets/bottom_patterns.png");
  background-position: center bottom;
  background-repeat: no-repeat;
  background-size: contain;
}

.activities .studies {
  padding-top: 30px;
  /* display: flex; */
  /* flex-direction: column; */
  flex: 1;
  /* gap: 10px; */

  background-image: url("../assets/bottom_patterns.png");
  background-position: left 120px;
  background-size: 50%;
  background-repeat: repeat-x;
}

@media (max-width: 768px) {
  .activities .studies {
    background-position: left bottom;
    background-size: contain;
    background-repeat: no-repeat;
  }
}

.activities .container .box {
  background-color: white;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 34px;
  border-radius: 6px;
  box-shadow: rgba(0, 0, 0, 0.2) 0px 4px 40px;
  text-align: center;
}

@media (max-width: 768px) {
  .activities .container .box {
    position: relative;
    top: -80px;
  }
}

/* end activities page  */

/* start our-service page */

.our-services {
  padding: 60px 0px;
}

.our-services .container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 40px 30px;
}

@media (max-width: 768px) {
  .our-services .container {
    position: relative;
    top: -90px;
  }
}

.our-services .box {
  /* height: 344px; */
  /* width: 286px; */
  border-radius: 10px;
  overflow: hidden;
  background-color: white;
  box-shadow: rgba(0, 0, 0, 0.2) 0px 4px 40px;
}

.our-services .box .image-box {
  position: relative;
}

.our-services .box .image {
  width: 100%;
  height: 250px;
  /* background-image: url(../assets/_1bc7f286-3ea0-47e8-b1f4-c407c42ae474\ 1.png); */
  object-fit: cover;
  object-position: center;
  /* background-position: center; */
  /* background-size: cover; */
  border-radius: 10px;
}

.our-services .box .cover {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: #8b3b774d;
  border-radius: 10px;
}

.our-services .box p {
  padding: 10px;
  font-weight: 700;
  text-align: center;
}
/* end our-service page */

/* start projects page */

.projects {
  padding: 60px 0px;
}

.projects .container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.projects .container > .title {
    background-color:white;
    border-radius: 20px;
    border:  #4d4444 solid 1px;

}
.projects .container .title ul {
    display: flex;
    flex-direction: row;
    gap: 20px;
    padding: 15px;
}
@media (max-width: 768px) {
    .projects  .container .title ul  {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
      gap: 20px;
      text-align: center;
    }
}
.projects .container .title ul li {
    min-width: 50%;

    padding: 7px;
}
.projects .container .title .active {
    color: white;
    background-color: #8b3b77;
    border-radius: 10px;
}

.projects .container .boxes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 30px;
}

@media (max-width: 768px) {
  .projects .container .boxes {
    grid-template-columns: 1fr;
  }
}

.projects .box {
  height: 300px;
  /* width: 286px; */
  border-radius: 10px;
  background-position: center;
  background-size: cover;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  box-shadow: rgba(0, 0, 0, 0.2) 0px 4px 40px;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: end;
}
.projects .box  img {
    width: 100%;
    height: 100%;
    z-index: -1;
    position: absolute;
}
@media (max-width: 768px) {
  .projects .box {
    height: calc(100vw * 0.5);
    width: 100%;
  }
}

.projects .box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(139, 59, 119, 0) 0%, #000000 100%);
}

.projects .box p.title {
  padding: 10px;
  font-weight: 700;
  text-align: center;
  color: white;
  z-index: 1;
  padding-bottom: 2px;
  font-size: clamp(1rem, 1vw, 5rem);
}
.projects .box p.date {
  padding: 10px;
  font-weight: 700;
  text-align: start;
  color: white;
  z-index: 1;
  padding-bottom: 25px;
  font-size: clamp(0.83rem, 1vw, 5rem);
}

.projects .pagination {
  display: flex;
  gap: 11px;
  justify-content: center;
  align-items: center;
}

.projects .pagination i {
  font-size: 30px;
  color: var(--main-color);
}

@media (max-width: 768px) {
  .projects .pagination i {
    font-size: 20px;
  }
}

.projects .pagination .numbers {
  display: flex;
  gap: 20px;
  padding-bottom: 7px;
}

.projects .pagination .numbers a {
  color: black;
  font-weight: 700;
  font-size: 20px;
}

@media (max-width: 768px) {
  .projects .pagination .numbers a {
    font-size: 16px;
  }
}

.projects .pagination .numbers .active {
  color: var(--main-color);
}
.projects .pagination .flip {
  transform: rotateZ(180deg);
}
/* end projects page */

/* start news page */

.news {
  padding: 60px 0px;
}

.news .container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.news .container .boxes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 30px;
}

@media (max-width: 768px) {
  .news .container .boxes {
    grid-template-columns: 1fr;
  }
}

.news .box {
  height: 300px;
  /* width: 286px; */
  border-radius: 10px;
  background-position: center;
  background-size: cover;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  box-shadow: rgba(0, 0, 0, 0.2) 0px 4px 40px;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: end;
}
.news .box  img {

    width: 100%;
    height: 100%;
    z-index: -1;
    position: absolute;
}
@media (max-width: 768px) {
  .news .box {
    height: calc(100vw * 0.5);
    width: 100%;
  }
}

.news .box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(139, 59, 119, 0) 0%, #000000 100%);
}

.news .box p.title {
  padding: 10px;
  font-weight: 700;
  text-align: center;
  color: white;
  z-index: 1;
  padding-bottom: 2px;
  font-size: clamp(1rem, 0.7vw, 5rem);
}
.news .box p.date {
  padding: 10px;
  font-weight: 700;
  text-align: start;
  color: white;
  z-index: 1;
  padding-bottom: 25px;
  font-size: clamp(0.83rem, 0.5vw, 5rem);
}

.news .pagination {
  display: flex;
  gap: 11px;
  justify-content: center;
  align-items: center;
}

.news .pagination i {
  font-size: 30px;
  color: var(--main-color);
}

@media (max-width: 768px) {
  .news .pagination i {
    font-size: 20px;
  }
}

.news .pagination .numbers {
  display: flex;
  gap: 20px;
  padding-bottom: 7px;
}

.news .pagination .numbers a {
  color: black;
  font-weight: 700;
  font-size: 20px;
}

@media (max-width: 768px) {
  .news .pagination .numbers a {
    font-size: 16px;
  }
}

.news .pagination .numbers .active {
  color: var(--main-color);
}
.news .pagination .flip {
  transform: rotateZ(180deg);
}
/* end news page */

/* start contact page */

.contact {
  padding: 50px 0px;
}
.contact .container {
  display: flex;
  flex-direction: column;
  /* gap: 40px; */
}

.contact .container .social-media {
  display: flex;
  justify-content: center;
  gap: 21px;
  position: relative;
  top: -84px;
}

@media (max-width: 768px) {
  .contact .container .social-media {
    gap: 10px;
    top: -70px;
  }
}

.contact .container .social-media a {
  border-radius: 7px;
  background-color: white;
  box-shadow: rgba(0, 0, 0, 0.2) 0px 4px 40px;
}
.contact .container .social-media img {
  width: 70px;
}

@media (max-width: 768px) {
  .contact .container .social-media img {
    width: 45px;
  }
}

.contact .form-section {
  position: relative;
  top: -60px;
}

.contact .form-section .container {
  display: flex;
  /* padding: 40px 50px; */
  flex-direction: row;
  align-items: center;
  justify-content: center;
  column-gap: 50px;
}

.contact .form-section .map {
  text-align: center;
  flex: 1;
}

.contact .form-section h2 {
  padding: 15px;
  text-align: center;
}

.contact .form-section .map iframe {
  width: 100%;
  height: 422px;
  border-radius: 20px;
  box-shadow: 0px 4px 40px 0px #00000033;
}

.contact .form-section .form {
  flex: 1;
}

.contact .form-section .form form {
  display: flex;
  flex-direction: column;
  background-color: #ffffff33;
  border-radius: 20px;
  border: 1px solid var(--main-color);
  padding: 30px;
  text-align: start;
  min-width: 100px;
  height: 85%;
  justify-content: center;
  box-shadow: 0px 4px 40px 0px #00000033;
}

.contact .form-section form label {
  margin-bottom: 10px;
  color: var(--main-color);
  font-size: 18px;
}

.contact .form-section form input {
  margin-bottom: 10px;
  border-style: none;
  direction: rtl;
  border-radius: 5px;
  height: 25px;
  background-color: #8b3b7705;
  border: 1px solid #8b3b7766;
}

.contact .form-section form textarea {
  border-style: none;
  resize: none;
  border-radius: 5px;
  background-color: #8b3b7705;
  border: 1px solid #8b3b7766;
}

.contact .form-section form textarea:focus-visible {
  border-style: none;
}

.contact .form-section form div {
  text-align: center;
  margin-top: 20px;
  background-color: var(--main-color);
  border-radius: 10px;
  height: 38px;
  font-size: 22px;
  color: white;
}

@media (max-width: 992px) {
  .contact .form-section .container {
    flex-direction: column;
    align-items: initial;
  }
}

@media (min-width: 1200px) {
  .contact .form-section .map {
    flex: initial;
    width: 500px;
  }

  .contact .form-section .form {
    flex: initial;
    width: 500px;
  }
}

.contact .container .contact-details {
  display: flex;
  gap: 10px;
  justify-content: space-evenly;
}

@media (max-width: 992px) {
  .contact .container .contact-details {
    flex-direction: column;
    gap: 32px;
  }
}

.contact .container .contact-details .box {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--main-color);
  font-weight: 700;
  line-height: 26px;
  font-size: 16px;
  min-width: 33.33%;
}

.contact .container .contact-details .box img {
  width: 60px;
  box-shadow: rgba(0, 0, 0, 0.2) 0px 4px 40px;
  border-radius: 8px;
}

@media (max-width: 768px) {
  .contact .container .contact-details .box img {
    width: 50px;
  }
}

.contact .container .contact-details .box p {
  padding-bottom: 8px;
}
/* end contact page */

/* start project-details page */
.project-details {
  padding: 50px 0px;
}

@media (max-width: 768px) {
  .project-details {
    padding: 50px 0px;
  }
}

.project-details .container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0px 100px;
  gap: 20px;
}

@media (max-width: 768px) {
  .project-details .container {
    padding: 0px 20px;
  }
}

.project-details .container img {
  width: 100%;
  /* max-width: 700px; */
   height: auto;
  object-fit: contain;
  border-radius: 20px;
}

@media (max-width: 992px) {
  .project-details .container img {
    max-width: 700px;
    height: unset;
  }
}
.project-details .container > p {
  line-height: 30px;
}

.project-details .container .view-projects {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
  padding-top: 20px;
}
@media (max-width: 768px) {
  .project-details .container .view-projects {
    justify-content: center;
    position: relative;
  }
  .project-details .container .view-projects::before {
    content: "";
    position: absolute;
    top: -9px;
    left: -20px;
    width: calc(100% + 40px);
    height: 1px;
    background-color: black;
  }
}

.project-details .container .view-projects .next,
.project-details .container .view-projects .previous {
  display: flex;
  align-items: center;
  gap: 10px;
  color: black;
}

@media (max-width: 768px) {
  .project-details .container .view-projects .previous {
    display: none;
  }
}

.project-details .container .view-projects .title {
  width: 130px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

@media (max-width: 768px) {
  .project-details .container .view-projects .title {
    width: 190px;
  }
}

.project-details .container .view-projects i {
  font-size: 50px;
}

.project-details .container .view-projects h4 {
  font-size: 16px;
}

@media (max-width: 768px) {
  .project-details .container .view-projects i {
    font-size: 60px;
  }

  .project-details .container .view-projects h4 {
    font-size: 20px;
  }
}
.project-details .container .view-projects p {
  font-size: 14px;
  line-height: 20px;
}
@media (max-width: 768px) {
  .project-details .container .view-projects p {
    font-size: 16px;
  }
}
/* end project-details page */

/* start footer */

footer {
  background-color: var(--main-color);
}

footer .container {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 25px 0px;
  overflow: hidden;
}

@media (max-width: 992px) {
  footer .container {
    flex-direction: column;
    padding: 25px 20px;
    gap: 40px;
  }
}

footer .container .logo-section {
  flex: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}

footer .container .logo-section::before {
  content: "";
  position: absolute;
  left: 11px;
  bottom: -64px;
  width: 100%;
  height: 200px;
  background-image: url(../assets/headed_pattern.png);
  background-size: cover;
}
@media (max-width: 992px) {
  footer .container .logo-section::before {
    display: none;
  }
}

footer .container .logo-section img {
  width: 130px;
}

footer .container .logo-section p {
  color: white;
  font-size: 12px;
  /* padding: 20px 50px; */
  line-height: 2;
}

footer .container .logo-section p span {
  color: var(--second-color);
  font-weight: bold;
}

footer .container .important-links {
  flex: 1.5;
}

footer .container .important-links h4 {
  color: white;
  font-size: 22px;
}

footer .container .important-links ul {
  display: flex;
  flex-direction: column;
  gap: 17px;
  padding-top: 20px;
}

footer .container .important-links ul li {
  color: white;
  list-style-type: "";
  list-style-position: inside;
}
footer .container .important-links ul li a {
  color: white;
}

footer .container .contact-secion {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 2;
}

footer .container .contact-secion .box {
  display: flex;
  align-items: center;
  gap: 10px;
}

footer .container .contact-secion .box img {
  width: 60px;
}

@media (max-width: 768px) {
  footer .container .contact-secion .box img {
    width: 50px;
  }
}

footer .container .contact-secion .box p {
  line-height: 26px;
  font-size: 16px;
  color: white;
  padding-bottom: 8px;
}

footer .container .contact-secion .social-media {
  display: flex;
  gap: 10px;
}
footer .container .contact-secion .social-media img {
  width: 43px;
}

@media (max-width: 768px) {
  footer .container .contact-secion .social-media img {
    width: 36px;
  }
}
/* end footer */
