* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-weight: 500;
  font-family: "Avenir";
}

section {
  width: 100%;
  padding: 0 7%;
  display: table;
  margin: 0;
  max-width: none;
  background-color: #000000;
  height: 100vh;
}
.img-iframe{
  width:100%; height: 102vh; border:none;
}
.content {
  display: table-cell;
  vertical-align: middle;
}

h1 {
  font-size: 3em;
  display: block;
  color: white;
  font-weight: 500;
}

.nav-item {
  position: relative;
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  line-height: 25px;
  letter-spacing: -0.13px;
  text-decoration: none;
  margin-left: 2.5rem;
  transition: all 0.5s ease;
}

.nav-item:hover {
  color: rgba(168, 239, 255, 0.9);
}

.nav-item::after {
  content: "";
  position: absolute;
  bottom: -0.3rem;
  left: 50%;
  width: 0;
  height: 0.15rem;
  transform: translateX(-50%);
  background-color: rgba(168, 239, 255, 0.9);
  transition: all 0.5s ease;
}

.nav-item:hover:after {
  width: 100%;
}

#check {
  display: none;
}

.vw-2 {
  width: 16.66%;
}

.vw-5 {
  width: 41.66%;
}

.vw-4 {
  width: 33.33%;
  margin: 2% auto;
}

.vw-6 {
  width: 50%;
  margin: 2% auto;
}

.vw-8 {
  width: 66.66%;
  margin: 2% auto;
}

.vectors {
  margin-top: 8%;
  margin-left: 10%;
  margin-right: 10%;
  font-size: clamp(20px, 2.5vw, 40px);
  /* Responsive font size */
  text-align: center;
  overflow: visible;
}

.avenir-next {
  font-family: "Avenir Medium";
  font-size: clamp(25px, 3vw, 45px);
  /* Responsive font size */
}

.vector-text {
  text-align: center;
  font-size: 15px;
  /* Responsive font size */
}

.vectors table td {
  text-align: center;
  width: 90vw;
}

.vector-img {
  font-size: clamp(25px, 2vw, 45px);
}

.demographic-vector-content {
  width: 100%;
  padding: 0 7%;
  display: table;
  margin: 0;
  max-width: none;
  background-color: #373b44;
  height: 100vh;
  background-image: url("../assets/Images/bg.png");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  color: white;
  background-color: black;
}

.center-align {
  height: 150vh;
  text-align: center;
}

.demographic-vector-text {
  margin: 3em auto;
  font-size: clamp(1em, 2vw, 2em);
  display: flex;
}

/* =============================== */
/* == Accordion starts here ======== */
/* =============================== */

.accordion {
  width: 100%;
  margin: 20px auto;
  overflow: hidden;
  font-family: Avenir;
}

.accordion-item {
  border-bottom: 1px solid #ccc;
}

.accordion-header {
  color: #fff;
  padding: 2% 7%;
  display: flex;
  font-weight: bold;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 2.2em;
  position: relative;
}

.accordion-content {
  height: auto !important;
  display: none;
  padding: 1% 7%;
  color: #fff;
  font-size: 1.2em;
  transition: height 0.5s ease, opacity 0.5s ease, transform 0.5s ease,
    padding 0.5s ease;
}

.accordion-content.open {
  display: block;
}

.accordion-header .arrow {
  display: inline-block;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid #fff;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.accordion-header .arrow::before {
  content: "";
  border: solid white;
  border-width: 0 2px 2px 0;
  display: inline-block;
  padding: 5px;
  transform: rotate(-45deg);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.accordion-header.active .arrow::before {
  transform: rotate(-135deg);
}

.accordion-item:nth-child(1) {
  background-color: #d7104a;
  color: white;
}

.accordion-item:nth-child(2) {
  background-color: #9b0031;
  color: white;
}

.accordion-item:nth-child(3) {
  background-color: #5d1220;
  color: white;
}

.accordion-item:nth-child(1) .active .arrow {
  background-color: white;
}

.accordion-item:nth-child(2) .active .arrow {
  background-color: white;
}

.accordion-item:nth-child(3) .active .arrow {
  background-color: white;
}

.accordion-item:nth-child(1) .active .arrow::before {
  border-color: #d7104a;
  background-color: white;
}

.accordion-item:nth-child(2) .active .arrow::before {
  border-color: #9b0031;
  background-color: white;
}

.accordion-item:nth-child(3) .active .arrow::before {
  border-color: #5d1220;
  background-color: white;
}

.team-table {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 5%;
}

.row {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.team-table .card {
  display: flex;
  width: 33.33%;
  margin: 0px 10px;
}

.team-table .card img {
  width: 8vw;
  height: 15vh;
  margin-right: 5%;
  border-radius: 10%;
}

.team-table .card .content {
  flex: 1;
  /* Allows the content to fill the remaining space */
}

.team-table .card h3 {
  font-size: 18px;
  margin: 0px;
  color: #ffffff;
}

.team-table .card h4 {
  font-size: 16px;
  margin: 5px 0px 0px 0px;
  font-weight: bold;
}

.team-table .card p {
  font-size: 14px;
  line-height: 1.5;
}

.accordion-section {
  background-color: white !important;
  padding: 0 !important;
  width: 100vw !important;
  display: table-cell !important;
  vertical-align: middle !important;
  height: 50vh !important;
}

/* #d7104a */
/* #9b0031 */
/* #5d1220 */

/* =============================== */
/* == Accordion ends here ======== */
/* =============================== */

/* Keyframes */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-250px * 7));
  }
}

/* Styling */
.slider {
  background: white;
  height: 100px;
  margin: auto;
  overflow: hidden;
  position: absolute;
  width: 73vw;
  margin-top: 5vh;
}

.slider::before,
.slider::after {
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  content: "";
  position: fixed;
  width: 100vw;
  z-index: 2;
}

.slider::after {
  right: 0;
  top: 0;
  transform: rotateZ(180deg);
}

.slider::before {
  left: 0;
  top: 0;
}

.slide-track {
  animation: scroll 40s linear infinite;
  display: flex;
  width: calc(250px * 14);
}

.slide {
  height: 100px;
  width: 250px;
  margin-left: 2em;
}

.sliding-text-heading {
  font-weight: bold;
  text-align: center;
  margin-top: 20vh;
}

.slide img {
  -webkit-filter: grayscale(100%);
  /* Safari 6.0 - 9.0 */
  filter: grayscale(100%);
}

.explore-btn {
  background: none;
  color: white;
  border: 1px solid white;
  font-size: 1em;
  padding: 15px 25px 15px 25px;
  border-radius: 2em;
  transition: 0.5s;
}

.explore-btn:hover {
  background-color: white;
  color: #9b0031;
}

.fadein {
  opacity: 0;
  transition: all 2s;
  transform: translate(0, 100px);
}

.fadein.visible {
  opacity: 1;
  transform: translate(0, 0);
}

.highcharts-title {
  font-family: Avenir;
}

div.companies-first-row {
  margin: 0 auto;
}

.companies-first-row img {
  padding-left: 2vw;
}

.accordion-header {
  transition: opacity 0.3s ease;
}

.accordion-header.fade-out {
  opacity: 0;
}

.accordion-header.fade-in {
  opacity: 1;
}

.site-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1%;
}

.site-images img {
  width: 100%;
  height: 90%;
  border-radius: 5%;
}

.schedule-consultation {
  text-align: center;
  font-size: 1.4rem;
}

.schedule-consultation h1 {
  color: black;
  font-weight: bold;
  font-size: 2.5em;
  margin-bottom: 20px;
  font-family: Avenir;
}

.schedule-consultation button {
  font-size: 1.2rem;
  padding: 15px 35px;
  border-radius: 50px;
  background-color: white;
  font-family: Avenir;
  font-weight: bold;
}

.schedule-consultation button:hover {
  background-color: black;
  color: white;
  transition: 0.5s ease;
}

/* afnan */

@font-face {
  font-family: myFirstFont;
  src: url("/assets/fonts/AvenirNext.ttc");
}

.desert {
  width: 96%;
  padding: 16px;
  margin-left: 2%;
  /* margin-right: 5%; */
  border-radius: 20px;
  background-image: url(../assets/Images/home-page/images/desert.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 70vh;
  position: relative;
  transform: translateY(-15%);
  margin-top: -10%;
  /* العنصر يبدأ بالتحرك للأسفل */
  /* transition: opacity 3s ease, transform 3s ease; */
}

/* عند تفاعل العنصر مع الشاشة */
.desert.in-view {
  /* transform: translateY(600px); */
  /* العنصر يتحرك للأعلى */
}

#title {
  /* font-weight: 900; */
  margin-left: 0%;
  margin-top: 5%;
  font-family: "Avenir";
  font-size: clamp(1em, 2vw, 2em);
  color: black;
  text-align: center;
  position: relative;
  /* transform: translateY(400px); */
  /* يبدأ من 300px أسفل */
  /* transition: transform 1s ease-in-out; */
  /* تأثير الأنيميشن */
}

body,
html {
  overflow-x: hidden;
}

@media screen and (min-width: 1024px) {
  .vectors-mobile{
    display: none;
  }
  .demographic-vector-content {
    position: relative;
    /* bottom: 10vw; */
  }
}

/* Media Query for Tablet (1024) */
@media screen and (min-width: 1024px) and (max-width: 1440px) {
  .team-table-mobile {
    display: none;
  }
  .mobile-demographic-vector-text {
    display: none;
  }
  .other-demographic-vector-text {
    display: block;
  }
}

@media screen and (min-width: 1218px) {
  .mobile-demographic-vector-text {
    display: none;
  }
  .other-demographic-vector-text {
    display: block;
  }
  .vector-text {
    font-size: 18px;
  }
  .team-table-mobile {
    display: none;
  }
}

@media screen and (max-width: 1440px) {
  .mobile-demographic-vector-text {
    display: none;
  }
  .other-demographic-vector-text {
    display: block;
  }
  .sliding-text-heading {
    margin-top: 15vh;
  }
  .team-table-mobile {
    display: none;
  }
}

/* Media Query for Tablet (768px) */
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .mobile-demographic-vector-text {
    display: none;
  }
  .other-demographic-vector-text {
    display: block;
  }
  .sliding-text-heading {
    margin-top: 0;
  }
  .team-table-mobile {
    display: none;
  }
  .vectors-mobile{
    display: none;
  }
  .demographic-vector-content {
    position: relative;
    bottom: 13vw;
  }

  .center-align {
    height: 63vh;
    margin-bottom: 10%;
  }
  .desert{
    bottom: 0vh;
  }
}

.company-logos {
  background-color: white !important;
  display: block !important;
}

@media screen and (min-width: 768px) and (max-width: 1200px) {
  .mobile-demographic-vector-text {
    display: none;
  }
  .other-demographic-vector-text {
    display: block;
  }
  .company-logos {
    height: 70vh !important;
  }
  .team-table-mobile {
    display: none;
  }
}

@media screen and (min-width: 1201px) and (max-width: 1440px) {
  .mobile-demographic-vector-text {
    display: none;
  }
  .other-demographic-vector-text {
    display: block;
  }
  .company-logos {
    height: 90vh !important;
  }
  .team-table-mobile {
    display: none;
  }
  .demographic-vector-content{
    position: relative;
    bottom:7vw;
  }
}

/*@media screen and (min-width:426px) and (max-width: 768px) {*/
/*  .vectors-mobile{*/
/*    display: none !important;*/
/*  }*/
/*}*/

@media screen and (max-width: 440px) {
  .accordion-section {
    background-color: white !important;
    padding: 0 !important;
    width: 100vw !important;
    display: table-cell !important;
    vertical-align: middle !important;
    height: 27vh !important;
  }
  .img-iframe{
    width:100%; height: 65vh; border:none;
  }
  .center-align {
    height: 78vh;
    text-align: center;
  }

  .height-auto{
    height: auto;
  }
  .center-align{
    height: 110vh;
  }
  .mobile-demographic-vector-text {
    display: block;
  }
  .other-demographic-vector-text {
    display: none;
  }
  .site-images {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 3%;
    padding: 5%;
  }
  .accordion-header {
    padding: 5% 7%;
  }
  .site-images-section {
    height: 110vh !important;
  }
  .company-logos {
    height: 30vh;
    font-size: 8px;
  }

  .schedule-consultation {
    font-size: 12px !important;
  }
  .schedule-consultation button {
    font-size: 12px;
  }
  .accordion-header {
    font-size: 18px;
  }
  .accordion-header .arrow {
    height: 30px;
    width: 30px;
  }
  .accordion-item {
  }
  .accordion-content {
    font-size: 12px;
    text-align: center;
    padding: 25% 10%;
    height: 100vh;
  }
  .team-table-mobile {
    display: block;
  }
  .team-table {
    display: none;
  }
  .accordion-header .arrow::before {
    padding: 3px;
  }
  #title {
    padding: 5% 10%;
  }
  .demographic-vector-desc {
    padding: 5% 15%;
    font-size: 10px;
    font-family: "Avenir";
  }
  .vectors {
    display: none;
  }
  .vector-text-mobile {
    font-size: 10px;
    line-height: 0.2;
  }

  .avenir-next{
    font-size: clamp(20px, 3vw, 45px);
  }
  /* demographic*/
  .vectors-mobile table {
    width: 100%;
    height: 5vh;
    border-collapse: collapse;
    /* margin: 4%; */
  }

  .vectors-mobile table tr td {
    text-align: center;
    vertical-align: middle;
    padding: 10px;
    font-size: 10px;
  }

  .top-left {
    text-align: center;
    /* padding-left: 20px; */
  }

  .bottom-right {
    text-align: center;
    padding-right: 20px;
  }

  p {
    font-size: 1rem;
    margin: 5px 0 0;
    color: #fff;
  }

  .vectors-mobile img {
    width: 110px;
    height: 110px;
  }
  /*demographic*/
  .demographic-vector-content {
   position: relative;
   bottom: 32vw;
  }
  .desert{
    bottom: 4vh;
  }
}

/* Hiding the scroller from the broswer */
*::-webkit-scrollbar {
  width: 0;
}

*::-webkit-scrollbar-track {
  background: transparent;
}

*::-webkit-scrollbar-thumb {
  background: transparent;
  border: none;
}

* {
  -ms-overflow-style: none;
}

@media screen and (min-width: 430px) and (max-width: 440px) {
  .min-height-footer{
    min-height: 16vh !important;
  }

  .center-align{
    height: 95vh;
  }
  
  }
@media screen and (min-width: 2560px) {
  .demographic-vector-content {
    position: relative;
    bottom: 4vw;
    }
  }

