/* HERO SECTION CSS */
body {
  margin: 0;
  background: #0d2c1b;
  color: #fff;
  padding-top: 80px;
}
html,
body {
  overflow-x: hidden;
}


@font-face {
  font-family: "Degular";
  src: url("./fonts/Degular-Light.otf") format("opentype");
  font-weight: 300;
}
@font-face {
  font-family: "Degular";
  src: url("./fonts/Degular-Regular.otf") format("opentype");
  font-weight: 400;
}
@font-face {
  font-family: "Degular";
  src: url("./fonts/Degular-Medium.otf") format("opentype");
  font-weight: 500;
}
@font-face {
  font-family: "Degular";
  src: url("./fonts/Degular-Bold.otf") format("opentype");
  font-weight: 700;
}

@font-face {
  font-family: "EurostileLTStd";
  src: url("./fonts/EurostileLTStd-Demi.otf") format("opentype");
  font-weight: 600;
}

  .animated-line span {
  display: inline-block;
  opacity: 0;
  font-family: "EurostileLTStd";
  font-weight: 600;
  font-size: 72px;
  text-transform: uppercase;
}

.animated-line span.visible {
  animation: fadeIn 0.5s ease-in-out forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}


h1,
h2,
.hero-heading,
.impact-label {
  font-family: "EurostileLTStd";
  font-weight: 600;
  letter-spacing: 0.5px;
}

h3,
a {
  font-family: "Degular";
  font-weight: 500;
}

p,
span {
  font-family: "Degular";
  font-weight: 300;
}

button {
  font-family: "Degular";
  font-weight: 400;
}

.nav-container {
    display: flex
;
    justify-content: space-around;
    align-items: center;
    padding: 16px 0%;
    background: #0d2c1b;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    gap: 10%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.nav-container .logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 70px;
  min-width: 180px;
  max-width: 260px;
  padding-left: 8px;
  width: 20%;
}

.nav-container .logo img {
    height: 80px;
    width: auto;
    object-fit: contain;
}

.nav-container nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3%;
  width: 70%;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-size: 28px;
    padding: 8px 10px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

nav a:hover {
  color: #000;
  background-color: #e5ae18;
}
/* Keep hero slider layout consistent in Arabic */
body[dir="rtl"] .slider .slides {
  direction: ltr;
}

.lang-switcher {
  display: flex;
  gap: 8px;
  /* margin-left: 20px; */
  width: 10%;
  justify-content: center;
}
.lang-btn {
  background-color: #173825;
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.3s ease;
}
.lang-btn:hover {
  background-color: #145c32;
}
body[dir="rtl"] nav a,
body[dir="rtl"] .hero-content,
body[dir="rtl"] .slide-content {
  text-align: right;
}
body.arabic-mode .search-bar {
  background: linear-gradient(90deg, #1a3c24 0%, #f5f7fa 100%);
}

/* New-slider */

section.hero {
    margin-top: 20px;
}

.fnc-slider {
  overflow: hidden;
  box-sizing: border-box;
  position: relative;
  height: 80vh;
}
.fnc-slide__heading-line span {
  font-family: "EurostileLTStd";
}
.fnc-slider *,
.fnc-slider *:before,
.fnc-slider *:after {
  box-sizing: border-box;
}
.fnc-slider__slides {
  position: relative;
  height: 100%;
  transition: transform 1s 0.6666666667s;
}
.fnc-slide {
  overflow: hidden;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  transform: translate3d(0, 0, 0);
}
.fnc-slide.m--before-sliding {
  z-index: 2 !important;
  transform: translate3d(100%, 0, 0);
}
.fnc-slide.m--active-slide {
  z-index: 1;
  transition: transform 1s 0.6666666667s ease-in-out;
  transform: translate3d(0, 0, 0);
}
.fnc-slide__inner {
  position: relative;
  height: 100%;
  background-size: cover;
  background-position: center top;
  transform: translate3d(0, 0, 0);
}
.m--global-blending-active .fnc-slide__inner,
.m--blend-bg-active .fnc-slide__inner {
  background-blend-mode: luminosity;
}
.m--before-sliding .fnc-slide__inner {
  transform: translate3d(-100%, 0, 0);
}
.m--active-slide .fnc-slide__inner {
  transition: transform 1s 0.6666666667s ease-in-out;
  transform: translate3d(0, 0, 0);
}

.fnc-slide__content {
  z-index: 2;
  position: absolute;
  left: 5%;
  top: 25%;
}
/*.fnc-slide__heading {*/
/*  margin-bottom: 10px;*/
/*  text-transform: uppercase;*/
/*}*/
/*.fnc-slide__heading-line {*/
/*  overflow: hidden;*/
/*  position: relative;*/
/*  padding-right: 20px;*/
/*  font-size: 72px;*/
/*  color: #fff;*/
/*  word-spacing: 10px;*/
/*}*/
/*.m--before-sliding .fnc-slide__heading-line {*/
/*  transform: translateY(100%);*/
/*}*/
/*.m--active-slide .fnc-slide__heading-line {*/
/*  transition: transform 1.5s 1s;*/
/*  transform: translateY(0);*/
/*}*/
/*.m--previous-slide .fnc-slide__heading-line {*/
/*  transition: transform 1.5s;*/
/*  transform: translateY(-100%);*/
/*}*/
/*.fnc-slide__heading-line span {*/
/*  display: block;*/
/*}*/
/*.m--before-sliding .fnc-slide__heading-line span {*/
/*  transform: translateY(-100%);*/
/*}*/
/*.m--active-slide .fnc-slide__heading-line span {*/
/*  transition: transform 1.5s 1s;*/
/*  transform: translateY(0);*/
/*}*/
/*.m--previous-slide .fnc-slide__heading-line span {*/
/*  transition: transform 1.5s;*/
/*  transform: translateY(100%);*/
/*}*/

.fnc-nav {
	 z-index: 5;
	 position: absolute;
	 right: 0;
	 bottom: 0;
   display: none;
}
 .fnc-nav__bgs {
	 z-index: -1;
	 overflow: hidden;
	 position: absolute;
	 left: 0;
	 top: 0;
	 width: 100%;
	 height: 100%;
}
 .fnc-nav__bg {
	 position: absolute;
	 left: 0;
	 top: 0;
	 width: 100%;
	 height: 100%;
}
 .fnc-nav__bg.m--nav-bg-before {
	 z-index: 2 !important;
	 transform: translateX(100%);
}
 .fnc-nav__bg.m--active-nav-bg {
	 z-index: 1;
	 transition: transform 1s 0.6666666667s;
	 transform: translateX(0);
}
 .fnc-nav__controls {
	 font-size: 0;
}
 .fnc-nav__control {
	 overflow: hidden;
	 position: relative;
	 display: inline-block;
	 vertical-align: top;
	 width: 100px;
	 height: 50px;
	 font-size: 14px;
	 color: #fff;
	 text-transform: uppercase;
	 background: transparent;
	 border: none;
	 outline: none;
	 cursor: pointer;
	 transition: background-color 0.5s;
}
 .fnc-nav__control.m--active-control {
	 background: #1f2833;
}
 .fnc-nav__control-progress {
	 position: absolute;
	 left: 0;
	 bottom: 0;
	 width: 100%;
	 height: 2px;
	 background: #fff;
	 transform-origin: 0 50%;
	 transform: scaleX(0);
	 transition-timing-function: linear !important;
}
 .m--with-autosliding .m--active-control .fnc-nav__control-progress {
	 transform: scaleX(1);
}
 .m--prev-control .fnc-nav__control-progress {
	 transform: translateX(100%);
	 transition: transform 0.5s !important;
}
 .m--reset-progress .fnc-nav__control-progress {
	 transform: scaleX(0);
	 transition: transform 0s 0s !important;
}
 .m--autosliding-blocked .fnc-nav__control-progress {
	 transition: all 0s 0s !important;
	 transform: scaleX(0) !important;
}

/* NOT PART OF COMMON SLIDER STYLES */
body {
  margin: 0;
}
.demo-cont {
  overflow: hidden;
  position: relative;
  height: 80vh;
  perspective: 1500px;
  background: #000;
}

.example-slider {
  z-index: 2;
  transform: translate3d(0, 0, 0);
  transition: transform 0.7s;
}

.example-slider .fnc-slide-1 .fnc-slide__inner{
  background-image: url("./images/Banner.webp");
}
.example-slider .fnc-slide-2 .fnc-slide__inner {
  background-image: url("./images/Banner.webp");
}
.example-slider .fnc-slide-2 .fnc-slide__inner:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
}
.example-slider .fnc-slide-3 .fnc-slide__inner {
  background-image: url("./images/Banner.webp");
}
.example-slider .fnc-slide-3 .fnc-slide__inner:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
}
.example-slider .fnc-slide-4 .fnc-slide__inner {
  background-image: url("./images/Banner.webp");
}
.example-slider .fnc-slide-4 .fnc-slide__inner:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
}

/* Buutons */
.buttons {
  display: flex;
  gap: 1rem;
}

.explore {
    background: #e5ae18;
    color: #fff;
    border: 2px solid #e5ae18;
    font-size: 36px;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.explore:hover {
  background: transparent;
  color: #fff;
  border: 2px solid #e5ae18;
}

.leadership {
  background: transparent;
  color: #fff;
  border: 2px solid #e5ae18;
  font-size: 32px;
  font-weight: 500;
  padding: 10px 24px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.leadership:hover {
  background: #e5ae18;
  color: #fff;
  border: none;
}

.icon-top-right {
  position: absolute;
  top: 40px;
  right: 50px;
  z-index: 2;
}

.icon-top-right img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}
@media (max-width: 900px) {
  .icon-top-right img {
    width: 25px;
    height: 25px;
  }
  .icon-top-right {
    top: 20px;
    right: 12px;
  }
}

@media (max-width: 600px) {
  .icon-top-right img {
    width: 25px;
    height: 25px;
  }
  .icon-top-right {
    top: 20px;
    right: 12px;
  }
}

/* Search */
.search-categories {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 32px;
  padding-bottom: 40px;
}
.search-bar {
    width: 100%;
    display: flex
;
    align-items: center;
    background: linear-gradient(90deg, #f5f7fa 0%, #1a3c24 100%);
    border-radius: 6px;
    padding: 10px 16px 10px 12px;
    box-sizing: border-box;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
section.search-section {
  padding: 20px 4%;
}
.search-bar input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    color: #1a3c24;
    font-size: 36px;
    padding: 4px 0;
    font-family: "Degular";
    font-weight: 500;
}
.search-bar input::placeholder {
  color: #1a3c24;
  opacity: 0.8;
}
.search-btn {
    background: none;
    border: none;
    cursor: pointer;
    margin-left: 8px;
    font-size: 36px;
    color: #e5ae18;
    display: flex
;
    align-items: center;
    padding: 0;
    transition: color 0.2s;
}
.categories {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 0;
  gap: 10%;
}

.categories a {
  flex: 1;
  text-decoration: none;
  color: inherit;
}

.categories span {
  flex: 1;
  text-align: center;
  font-size: 32px;
  font-weight: 600;
  color: #fff;
  padding: 12px 0 0 0;
  border-top: 2px solid #e5ae18;
  margin: 0 8px;
  line-height: 1.2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  border-radius: 5px;
  height: 100px;
}

.categories span::before {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #e5ae18;
  transition: top 0.3s ease;
  z-index: -1;
}

.categories span:hover {
  color: #fff;
}

.categories span:hover::before {
  top: 0;
}

.slide::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 75%;
  background: linear-gradient(90deg, #0d2c1b 70%, rgba(13, 44, 27, 0) 100%);
  z-index: 0;
  pointer-events: none;
  z-index: 1;
}

/* Impact-section */
.impact-section {
  display: flex;
  background: #002806;
  color: #fff;
  overflow: hidden;
  margin: 20px 0;
  padding: 0px 4%;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
}

.impact-left {
  width: 40%;
  min-width: 0; /* Prevents overflow in flex layouts */
  flex: 1 1 50%;
}
.impact-right {
  width: 60%;
  min-width: 0; /* Prevents overflow in flex layouts */
  flex: 1 1 50%;
}

.impact-left {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 32px 24px 32px 32px;
  /* border-right: 2px solid #1a3c24; */
}

.impact-left h2 {
  font-size: 66px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0;
}

.impact-left img {
  width: 100%;
  max-width: 700px;
  height: 400px;
  object-fit: cover;
  border-radius: 12px;
  margin-top: 8px;
  filter: grayscale(1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.impact-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6%;
  padding: 32px 32px 32px 24px;
}

.impact-stat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.2em;
  margin-bottom: 0;
  min-height: 48px;
}

.impact-left-group {
  display: flex;
  align-items: center;
}

.impact-icon {
  vertical-align: middle;
}
.impact-icon img {
  height: 50px;
  width: 50px;
}

.impact-number {
  font-size: 48px;
  font-weight: 500;
  min-width: 110px;
  text-align: left;
  margin: 0 20px;
}

.impact-label {
  font-size: 48px;
  font-weight: 600;
  color: #fff;
  margin-left: 12px;
  text-align: right;
  letter-spacing: 0.5px;
}
.impact-divider {
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, #e5ae18 40%, transparent 100%);
    width: 100%;
    border: none;
}

/* testimonial-section */

.wrapper {
    justify-items: center;
}
.wrapper-heading {
    display: flex
;
    align-items: center;
    margin-bottom: 25px;
}
.wrapper-heading .impact-label {
    margin: 0px 25px;
}
.wrapper-heading .impact-icon img {
    height: 60px;
    width: 70px;
}

.owl-carousel {
  position: relative;
  overflow: hidden;
  /* padding: 0 80px;  Default peek */
}

.owl-carousel {
  margin-left: -10px;
  margin-right: -10px;
}

.owl-carousel .item {
    margin: 0 10px;
    background: #fff;
    padding: 10px;
    border-radius: 4px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

.owl-carousel .item img {
  width: 100%;
  border-radius: 4px;
  display: block;
}
.item h1 {
    color: #002806;
    font-size: 30px;
    padding-left: 10px;
}
.item p {
    color: #000;
    font-size: 16px;
    padding: 0 10px;
    text-align: justify;
    margin-top:0;
}

.owl-nav button {
  background: none;
  border: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
}

.owl-prev { left: 10px; }
.owl-next { right: 10px; }

.nav-icon {
  width: 50px;
  height: 50px;
}

/* Responsive Peek Adjustments */
@media (max-width: 1440px) {
  .carousel-wrapper { padding: 0 60px; }
}
@media (max-width: 1200px) {
  .carousel-wrapper { padding: 0 50px; }
}
@media (max-width: 992px) {
  .carousel-wrapper { padding: 0 40px; }
}
@media (max-width: 768px) {
    .owl-nav button {
   
    top: 40%;
   
}
  .carousel-wrapper { padding: 0 30px; }
}
@media (max-width: 480px) {
  .carousel-wrapper { padding: 0 15px; }
}

/* Hamburger styles */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
  margin-left: 16px;
}
.hamburger span {
  display: block;
  height: 4px;
  width: 100%;
  background: #fff;
  margin: 5px 0;
  border-radius: 2px;
  transition: 0.3s;
}
/* Hamburger animation when active */
.hamburger.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

@media (max-width: 900px) {
  .lang-switcher {
    display: none;
  }
  .nav-container {
    justify-content: space-around;
    gap: 50%;
  }
  .nav-container .logo {
    justify-content: flex-start;
  }
   .demo-cont {
    height: 320px;
}
    .fnc-slide__inner {
    height: 320px;
}
.fnc-slide__content {
    top: 0%;
}
.fnc-slide__heading-line {
    font-size: 48px;
}
  .explore,
  .leadership {
    font-size: 20px;
    padding: 5px 5px;
  }
  .icon-top-right img {
    width: 25px;
    height: 25px;
  }
  .icon-top-right {
    top: 20px;
    right: 12px;
  }
  section.search-section {
    padding: 0px 4%;
  }
  .search-categories {
    margin-top: 16px;
    padding-bottom: 20px;
    gap: 16px;
  }
  .search-bar {
    align-items: stretch;
    padding: 8px;
    gap: 6px;
    max-width: 100%;
    margin-bottom: 12px;
  }
  .search-bar input {
    font-size: 24px;
  }
  .search-btn {
    font-size: 24px;
    margin-right: 0;
  }

  .categories {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* flex-direction: column; */
    gap: 8px;
    width: 100%;
  }
  .categories span {
    max-width: 100%;
    font-size: 18px;
    padding: 8px 0 0 0;
  }
  .impact-left,
  .impact-right {
    padding: 20px 0;
  }
  .impact-left h2 {
    font-size: 56px;
  }
  .impact-section {
    display: block;
  }
  .impact-left,
  .impact-right {
    width: 100%;
  }
  .impact-left img {
    height: 300px;
    object-position: 20% 20%;
  }
  .impact-icon img {
    height: 50px;
    width: 35px;
  }
  .impact-label {
    font-size: 36px;
  }
  .impact-number {
    font-size: 36px;
  }
     .wrapper-heading .impact-label {
        margin: 0px 5px;
        font-size: 16px;
    }
    .wrapper-heading .impact-icon img {
    height: 35px;
    width: 40px;
}
  span.impact-icon.w-icon {
    display: none;
  }


  /* Show hamburger and hide nav on mobile/tablet */
  .hamburger {
    display: flex;
  }
  .navbar nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #0d2c1b;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    z-index: 1000;
    width: 100%;
  }
  .navbar nav.active {
    display: flex;
  }
}

/* Responsive For mobile view */

@media (max-width: 600px) {
  .nav-container .logo {
    justify-content: normal;
  }
  .nav-container {
    gap: 35%;
  }
  .hero {
    min-height: 300px;
  }
  .demo-cont {
    height: 260px;
}
  .fnc-slide__inner {
    height: 260px;
    background-position: 90%;
}
.fnc-slide__content {
    top: 25%;
}
.fnc-slide__heading-line {
    font-size: 24px;
}
  .explore,
  .leadership {
    font-size: 18px;
    padding: 5px 5px;
  }
  .icon-top-right img {
    width: 25px;
    height: 25px;
  }
  .icon-top-right {
    top: 20px;
    right: 12px;
  }
  section.search-section {
    padding: 0px 4%;
  }
  .search-categories {
    margin-top: 16px;
    padding-bottom: 20px;
    gap: 16px;
  }
  .search-bar {
    align-items: stretch;
    padding: 8px;
    gap: 6px;
    max-width: 100%;
    margin-bottom: 12px;
  }
  .search-bar input {
    font-size: 18px;
  }
  .search-btn {
    font-size: 18px;
    margin-right: 0;
  }

  .categories {
    grid-template-columns: repeat(1, 1fr);
    gap: 8px;
    width: 100%;
  }
  .categories span {
    max-width: 100%;
    font-size: 18px;
    padding: 8px 0 0 0;
  }
  .impact-left,
  .impact-right {
    padding: 20px 0;
  }
  .impact-left h2 {
    font-size: 32px;
  }
  .impact-section {
    display: block;
  }
  .impact-left,
  .impact-right {
    width: 100%;
  }
  .impact-left img {
    height: 300px;
    object-position: 20% 20%;
  }
  .impact-icon img {
    height: 50px;
    width: 35px;
  }
  .impact-label {
    font-size: 18px;
  }
  .impact-number {
    font-size: 36px;
  }
  span.impact-icon.w-icon {
    display: none;
  }
  
}
