html {
  box-sizing: border-box;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

body {
  /* max-width: 960px; */
  /* min-height: 100vh; */
  margin: 0 auto;
  padding: 0;
  color: #231f20;
  /* font-family: 'Helvetica Neue', 'Segoe UI', Arial, sans-serif; */
  font-family: 'Cairo', sans-serif;
  line-height: 1.25;
  --bs-gutter-x: 0;
}

[lang="ar"] body,
[lang="ar"] .main-text,
[lang="ar"] .footer {
  direction: rtl;
  text-align: right;
}

a {
  background-color: transparent;
  color: #308282;
  text-decoration: underline;
}

a:hover {
  color: #ea1b10;
}

h1,
h2,
h3,
h4,
h5,
p,
ul {
  padding: 0;
  margin: 0;
  font-weight: 400;
}

svg:not(:root) {
  overflow: hidden;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e6e6e6;
}

.logo {
  width: 150px;
  margin-inline-end: 20px;
}

.logo a {
  display: block;
}

.figure-logo {
  max-width: 150px;
  max-height: 55.1px;
}

.release-notes {
  font-size: 14px;
}

.main {
  padding: 40px 0;
  margin: 0 auto;
  text-align: center;
}

.figure-space {
  max-width: 265px;
}

@keyframes pos {

  0%,
  100% {
    transform: rotate(-6deg);
  }

  50% {
    transform: rotate(6deg);
  }
}

.egg {
  fill: #43b1b0;
  animation: pos 3s ease infinite;
  transform: translateY(50px);
  transform-origin: 50% 80%;
}

.main-text {
  max-width: 400px;
  margin: 5px auto;
}

.main-text h1 {
  font-size: 22px;
}

.main-text p {
  margin: 15px auto 0;
}

.slider-separator-left {
  position: relative;
}

.slider-separator-left::after {
  content: '';
  position: absolute;
  top: 0px;
  left: -50px;
  height: 280px;
  width: 3px;
  background-color: #C8FF08;
  opacity: 0.65;
}

/* Container for the overlay */

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Slight dark overlay for contrast (optional) */
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  /* Vertically center text */
  justify-content: flex-start;
  /* Left side */
  padding-left: 3rem;
  /* Spacing from the left edge */
  padding-right: 3rem;
  /* Optional spacing from the right edge */
}



/* The text block inside the overlay */
.hero-text {
  /* top: 20px;
  left: 12%;
  color: #fff;
  max-width: 600px;
  text-align: left; */

  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* align top initially */
  height: 100%; /* or set a max-height like 80% if needed */
  max-width: 600px;
  color: #fff;
  text-align: left;
  position: relative;
  top: 240px;
  left: 12%;
}

[lang="ar"] .hero-text {
  text-align: right;
}

.hero-text h1 {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  line-height: 2;
}

[lang="ar"] .hero-text p {
  padding-left: 30px;
  text-align: justify;
  direction: rtl;
}

.hero-text p {

  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
  text-align: justify;

  flex-shrink: 0;
  margin-bottom: 1rem;
}

/* Style the button if desired */
.hero-text .btn {
  left: 0;
  position: absolute;
  /* margin-top: 95px; */
  font-size: 1rem;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  background-color: #C8FF08;
  color: #005E60;

  margin-top: auto;
  align-self: flex-start;
  position: relative;
  margin-bottom: 400px;
}

.hero-text .btn:hover {
  background-color: #005E60;
  color: #fff;
}

.hero-text i {
  padding-left: 10px;
}


/* 1. Make the dots round and centered */
.carousel-indicators [data-bs-target] {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  /* Circles instead of bars */
  background-color: #C8FF08;
  /* Dot color */
  margin: 0 4px;
  /* Spacing between dots */
}

/* 2. Position the dots near the bottom (Bootstrap default is fine, or tweak as needed) */
.carousel-indicators {
  bottom: 4px;
  /* Move up or down */
  margin-right: 13%;
}

/* 3. Reposition and shrink the arrows so they're near the dots, not at the edges */
.carousel-control-prev,
.carousel-control-next {
  /* top: auto; */
  /* Remove default top positioning */
  /* bottom: 20px; */
  /* Align with indicators */
  /* width: 30px; */
  /* Smaller clickable area */
  /* height: 30px; */
  /* left: 50%; */
  /* Start both at horizontal center */
  /* right: auto; */
  /* Remove default right positioning */
  /* transform: translateX(-60px); */
  /* Move prev arrow left from center */

}

.carousel-control-next {
  transform: translateX(60px);
  /* Move next arrow right from center */
}

/* 4. Make the arrow icons smaller circles */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-size: 32px 32px;
  /* Shrink arrow icon size */
  width: 32px;
  height: 32px;
  /* filter: brightness(0) saturate(100%) invert(78%) sepia(98%) saturate(754%) hue-rotate(32deg) brightness(103%) contrast(104%); */


  /* background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23d4ff4f' viewBox='0 0 8 8'%3E%3Cpath d='M4.854 1.146a.5.5 0 00-.708 0L1 4.293l3.146 3.147a.5.5 0 00.708-.708L2.707 4.5H7.5a.5.5 0 000-1H2.707l2.147-2.146a.5.5 0 000-.708z'/%3E%3C/svg%3E"); */

}


/* Optional: Add a subtle background circle behind the arrow icons */
.carousel-control-prev-icon::after,
.carousel-control-next-icon::after {
  content: "";
  position: absolute;

  border-radius: 50%;
  width: 7px;
  height: 60px;
  top: -7px;
  /* Center the background behind the arrow */
  left: -7px;
  z-index: -1;
}

/* swiper */

.swiper {
  width: 100%;
  max-width: 1200px;
  margin: auto;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}

.video-slide {
  position: relative;
  width: 100%;
  height: 640px;
}

.video-slide iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.overlay-content {
  position: absolute;
  width: 100%;
  height: 100%;
  /* right: 30px; */
  bottom: 0px;
  color: white;
  /* text-align: right; */
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 1));
  padding: 20px;
}

.swiper-content {
  position: absolute;
  bottom: 60px;
  position: absolute;
  bottom: 60px;
  padding-left: 20px;
  border-left: 3px solid #aee802;
  right: 30%;
  line-height: 5;
}

.swiper-slide{
  width: 100%;
}

.overlay-content h3 {
  color: #aee802;
  margin-bottom: 10px;
  bottom: 60px
}

.watch-btn {
  background: black;
  color: white;
  padding: 8px 16px;
  border-radius: 100px;
  text-decoration: none;
  display: inline-block;
  margin-top: 10px;
  line-height: normal;
  border: #fff 2px solid;

}

.watch-btn:hover {
  background: #aee802;
  color: black;
  border: #aee802 2px solid;
}

.modal-90 {
  max-width: 90%;
  width: 90%;
  height: 90%;
}

.modal-90 .modal-content {
  height: 100%;
  border-radius: 12px;
}

.video-frame {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 12px;
}

/* Carousel container adjustments */
.mySwiper {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
}

.swiper-bottom-controls {
  width: 1200px;
  margin: auto;
  margin-top: 30px;
}

.swiper-button-prev.custom-arrow,
.swiper-button-next.custom-arrow {
  color: #b8e640;
    font-weight: bolder;
}

/* Custom arrows */
.swiper-button-prev.custom-arrow,
.swiper-button-next.custom-arrow {
  position: static;
  /* override default absolute positioning */
  width: 10px;
  height: 10px;
  background-color: transparent;
  /* border: 1px solid #0aa; */
  /* border-radius: 50%; */
  display: flex;
  align-items: center;
  justify-content: center;
  color: #065f63;
  ;
  font-size: 10px;
}

.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 15px !important;
}

/* Pagination dots */
.swiper-custom-pagination {
  text-align: center;
}

.swiper-custom-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: #ccc;
  opacity: 1;
  margin: 0 5px;
  border-radius: 50%;
}

.swiper-custom-pagination .swiper-pagination-bullet-active {
  background-color: #065f63;
}

/* Scrollbar */
.custom-scrollbar .swiper-scrollbar-drag {
  background: #065f63;

}

.custom-scrollbar {
  height: 3px;
  background: #e0e0e0;
  border-radius: 2px;
  position: relative !important;
  max-width: 1075px !important;
}




.cta-section {
  background-color: #eef5eb;
  /* Light greenish background */
  color: #40523c;
  /* Dark green text */
}

.cta-section p {
  font-size: 20px;
  /* Slightly bigger text */
  line-height: 1.6;
}

.btn.cta-btn-outline {
  border: 2px solid #40523c;
  color: #40523c;
  border-radius: 25px;
  font-weight: 500;
  padding: 8px 20px;
  transition: all 0.3s ease-in-out;
}

.btn.cta-btn-outline:hover {
  background-color: #40523c;
  color: #fff;
}

.projects-green-box {
  /* background-color: #DEFF03; */
  /* Light green */
  /* border-radius: 16px; */
  /* max-width: 400px;          Optional: limit width */
  /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15); */
  /* Subtle shadow */
  height: max-content;
  width: 90%;
  margin: 0 auto;
}

.map-container {
  position: relative;
  /* So we can absolutely position .map-switcher inside it */
  /* width: 100%; */
  /* or whatever width you need */
  margin: 0 auto;
}

/* The arrow buttons container at bottom center */
.map-title {
  position: absolute;
  bottom: 70px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  /* Make sure it’s above the map */
  display: flex;
  gap: 10px;
  /* Space between the two buttons */
  border: 2px solid #DEFF03;
  border-radius: 50px;
  padding: 10px 10px 10px 10px;
  color: #fff;
  background-color: #000000ab;
  gap: 4px;
  justify-content: center;
  align-items: center;

}

.projects-map-section h2 {
  font-size: 55px;
  font-weight: bold;
}

.map-button {
  background-color: white;
  border: #000 1px solid;
  padding: 10px 20px;
  border-radius: 25px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s ease-in-out;
  color: #000000;
}

/* The arrow buttons container at bottom center */
.map-switcher {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  /* Make sure it’s above the map */
  display: flex;
  gap: 10px;
  /* Space between the two buttons */
}

.leaflet-control-attribution {
  display: none !important;
}

.center-popup {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1200;
  background: white;
  padding: 16px;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  max-width: 90%;
  width: 350px;
}

.d-none {
  display: none;
}

.close-btn {
  position: absolute;
  top: 5px;
  right: 10px;
  background: transparent;
  border: none;
  font-size: 24px;
  color: #888;
  cursor: pointer;
}

/* Optional styling for the arrow buttons */
.arrow-btn {
  background-color: #DEFF03;
  border: none;
  padding: 10px 20px;
  border-radius: 25px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s ease-in-out;
}

.arrow-btn:hover {
  background-color: #DEFF03;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  border-top: 1px solid #e6e6e6;
  padding: 10px;
}

.option {
  display: block;
  padding: 10px 10px 10px 34px;
  position: relative;
  text-decoration: none;
}

.option svg {
  width: 24px;
  height: 24px;
  fill: gray;
  border: 1px solid #d9d9d9;
  padding: 5px;
  border-radius: 100%;
  top: 10px;
  inset-inline-start: 0;
  position: absolute;
}

.option h2 {
  font-size: 19px;
  text-decoration: underline;
}

.option p {
  padding-top: 3px;
  color: #231f20;
  font-size: 15px;
  font-weight: 300;
}

.slider-img,
.slider-item,
.slider-inner {
  height: 820px;
  width: 100%;
  object-fit: cover;
}



.carousel-caption {
  background-color: rgba(0, 0, 0, 0.5);
  padding: 1rem;
}


/* About Us Section styling */
.about-us-section {
  background-color: #fff;
  font-family: 'Cairo', sans-serif;
  /* optional for Arabic feel */
  max-width: 1440px;
  margin: auto;
}

.about-title {
  font-size: 2rem;
  font-weight: 600;
  color: #222;
}

.about-body {
  font-size: 18px;
  color: #737373;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.5;
}

.about-btn-wrapper {
  text-align: left;
}

.about-btn {
  background-color: #d4ff4f;
  /* light green like your image */
  color: #000;
  padding: 10px 25px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: background 0.3s ease-in-out;
  border: none;
}

.about-btn:hover {
  background-color: #b8e640;
  color: #000;
}

/* testimonials styling */

.testimonials-section {
  background-color: #f9f9f9;
}

.testimonial-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.testimonial-quote img {
  object-fit: cover;
  width: 64px;
}


.testimonial-avatar {
  text-align: left;

}


.testimonial-avatar img {
  height: 29px;
  /* constrain height */
  width: auto;
  /* keep aspect ratio */
  object-fit: contain;
  /* optional: prevent clipping */
}

.testimonial-content {
  font-size: 19px;
  line-height: 1.6;
  color: #333;
}

.testimonial-author {
  font-weight: bold;
  font-size: 23px;
}


@media (min-width: 768px) {
  .carousel-inner.d-block.d-sm-none {
    display: none !important;
  }
}

@media (max-width: 767.98px) {
  .carousel-inner.d-none.d-sm-block {
    display: none !important;
  }
}

.testimonial-rating .fa-star {
  color: #FFD700;
  /* gold color for stars */
}

.checked {
  color: #FFD700;
}

/* 1. Make the dots round and centered */
.testimonial-carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  /* Circles instead of bars */
  background-color: #C8FF08;
  /* Dot color */
  margin: 0 4px;
  /* Spacing between dots */
}

/* 2. Position the dots near the bottom (Bootstrap default is fine, or tweak as needed) */
.testimonial-carousel-indicators {
  bottom: 4px;
  /* Move up or down */
  margin-right: 13%;
}

/* 3. Reposition and shrink the arrows so they're near the dots, not at the edges */
.testimonial-carousel-control-prev,
.testimonial-carousel-control-next {
  top: auto;
  /* Remove default top positioning */
  /* bottom: -25px; */
  /* Align with indicators */
  /* width: 30px; */
  /* Smaller clickable area */
  /* height: 0px; */
  /* left: 50%; */
  /* Start both at horizontal center */
  /* right: auto; */
  /* Remove default right positioning */
  /* transform: translateX(-60px); */
  /* Move prev arrow left from center */
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.carousel-control-next {
  transform: translateX(60px);
  /* Move next arrow right from center */
}

/* 4. Make the arrow icons smaller circles */
.testimonial-carousel-control-prev-icon,
.testimonial-carousel-control-next-icon {
  background-size: 30px 30px;
  /* Shrink arrow icon size */
  width: 30px;
  height: 50px;


  /* background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23d4ff4f' viewBox='0 0 8 8'%3E%3Cpath d='M4.854 1.146a.5.5 0 00-.708 0L1 4.293l3.146 3.147a.5.5 0 00.708-.708L2.707 4.5H7.5a.5.5 0 000-1H2.707l2.147-2.146a.5.5 0 000-.708z'/%3E%3C/svg%3E"); */

}

/* Customize Carousel Controls if needed */
.testimonial-carousel-control-prev-icon,
.testimonial-carousel-control-next-icon {
  background-color: #C8FF08;
  ;
  border-radius: 50%;
  padding: 10px;
  bottom: 0;
  height: 0;
}



.testimonial-carousel-arrow-btn {
  background-color: #DEFF03;
  border: none;
  padding: 10px 18px;
  border-radius: 25px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s ease-in-out;
  color: #000000;
  bottom: -12px;
  top: auto;
}

/* goGreen PRoject Section styling */

.gogreen-section {
  /* Full-width background image */
  background: url("../images/home/GoGreen.png") center center no-repeat;
  background-size: cover;
  /* Make image cover the container */
  position: relative;
  /* So overlay can be absolutely positioned */
  height: 80vh;
  /* Adjust height as needed */
  display: flex;
  align-items: center;
  /* Vertically center content */
  justify-content: center;
  /* Center horizontally, if needed */
  margin: 0;
  /* Remove default margins */
  padding: 0;
  /* Remove default padding */
  margin-bottom: -1px;
}

/* Optional overlay to darken the image for better contrast */
.gogreen-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0A261080;
  /* Adjust opacity as desired */
  display: flex;
  align-items: center;
  justify-content: center;
}

.gogreen-content {
  position: relative;
  z-index: 1;
  /* Ensure text is above the overlay */
  text-align: right;
  /* Since we have RTL text, you can choose right or center alignment */
  color: #fff;
  /* White text for contrast */

}

.gogreen-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  font-weight: bold;
  color: #DEFF03;
}

.gogreen-content h2 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.gogreen-content p {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  line-height: 2;
  text-align: justify;
}

.gogreen-content .btn {
  font-size: 1rem;
  border-radius: 25px;
  background-color: #C8FF08;
  border: 2px solid #C8FF08;
  color: #005E60;
  align-self: center;
}

.gogreen-content .link {
  font-size: 1rem;
  border-radius: 25px;
  /* height: 20px;
    width: 50px; */
  padding: 2px 10px;
  margin-left: 12px;
  background-color: #fff;
  border: 2px solid #fff;
  color: #005E60;
}


.separator-right {
  position: relative;
}

.separator-right::after {
  content: '';
  position: absolute;
  top: -30px;
  right: 0;
  height: 325px;
  width: 3px;
  background-color: white;
  opacity: 0.65;
}

[lang="ar"] .separator-right::after {
  left: 0;
  right: auto;

}




@media (max-width: 996px) {
  .slider-img,
  .slider-item,
.slider-inner {
    height: 600px;
  }
  body {
    max-width: 780px;
  }

  .hero-text {
   top: 120px;
  left: 12%;
  }

  .hero-text .btn {
  margin-bottom: 240px;
  }
}

@media (max-width: 767px) {

  .slider-img,
  .slider-inner,
  .slider-item {
    height: 500px;
  }

  .hero-text {
   top: 120px;
   left: unset;
  }

  .hero-text .btn {
  margin-bottom: 240px;
  }

  .hero-text h1 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0;
  }


  .hero-text p {
    font-size: 1rem
  }

  .carousel-indicators {
    margin-bottom: 0;
  }

  .slider-separator-left::after {
    left: -20px;
    height: 130px;

  }

  .cta-section a {
    margin-bottom: 20px;
  }

  .option {
    flex: 0 0 50%;
  }

  .swiper-bottom-controls {
    max-width: 100%;
  }

  .custom-scrollbar {
    position: relative !important;
    max-width: 380px !important;
    right: 0
  }

  .separator-right::after {
    width: 0;
  }

  .footer .container {
    width: 80%;
    padding: 20px;
  }
}





@media (max-width: 576px) {
  .slider-img,
  .slider-inner,
  .slider-item {
    height: 320px;
  }

  .hero-text{
    top: 50px;
    left: unset;
  }

  .hero-text h1 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 0;
  }


  .hero-text p {
    font-size: 12px;
  }

  .carousel-indicators {
    margin-bottom: 0;
  }

  .carousel-indicators [data-bs-target] {
  width: 8px;
  height: 8px;
  }

  .hero-text .btn {
    margin-bottom: 76px;
    font-size: 14px;
  }


  .slider-separator-left::after {
    left: -20px;
    height: 90px;
    display: none;
  }

  .cta-section a {
    margin-bottom: 20px;
  }

  .option {
    flex: 0 0 50%;
  }

  .projects-map-section h2 {
    font-size: 35px;
  }

  #carouselMobile a {
    text-decoration: none;
  }

  #carouselMobile .carousel-inner {
      min-height: 450px;
    }

  .gogreen-section {
    height: 100vh;
  }

  .swiper-bottom-controls {
    max-width: 100%;
  }

  .custom-scrollbar {
    position: relative !important;
    max-width: 380px !important;
    right: 0
  }

  .separator-right::after {
    width: 0;
  }

  .footer .container {
    width: 80%;
    padding: 20px;
  }

 
}
