@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600&family=Poppins:wght@300;400;600&display=swap');


/* ====== Page Basics ====== */
body {
  font-family: 'Cairo', 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  background: #FA7268;
  background: linear-gradient(180deg, rgba(250, 114, 104, 1) 20%, rgba(0, 32, 61, 1) 100%);
}

html {
  scroll-behavior: smooth;
}

/* ====== Header ====== */






.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  padding-inline-start: 20px;
  padding-inline-end: 0;
  direction: rtl;
}



.logo {
  order: 3;
  margin-left: 0;
  margin-right: 0;
}




.start-button-container {
  order: 1;
  margin-right: 0;
  margin-left: auto;
}

.main-header {
  background-color: transparent;
  width: 100%;
  position: fixed;
  top: 0;
  z-index: 1000;
}


.navbar {
  order: 2;
  flex-grow: 1;
  display: flex;
  justify-content: center;
}




.navbar {
  justify-self: center;
}




.logo img {
  max-width: 80px;
  height: auto;
}



.navbar {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  position: static;
  width: auto;
  text-align: center;
  padding: 0;
  gap: 20px;
}

.navbar ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: row;
  gap: 20px;
}

.navbar ul li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  padding: 8px 12px;
  transition: color 0.3s ease;
}

.navbar ul li a:hover {
  color: rgba(212, 110, 103, 1);
}

.start-link {
  background-color: transparent;
  color: white;
  border: 2px solid transparent;
  padding: 8px 16px;
  font-size: 14px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
}

.start-link:hover {
  color: rgba(212, 110, 103, 1);
}



.hero-video {
  position: relative;
  width: 100%;
  height: 100vh;
  /* Full viewport height */
  overflow: hidden;
}

#background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  width: 100vw;
  height: 100vh;
  z-index: -1;
}










.hero-content h1 {
  font-size: clamp(22px, 4vw, 50px);
}




.hero-content p {
  font-size: clamp(16px, 2.5vw, 25px);
}


.cta-buttons p {
  font-size: 20px;
  color: white;
  margin: 5px 0 0 0;
}

.hero-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100vh;
  width: 100%;
  z-index: 2;
  position: relative;
  flex-direction: row-reverse;
  /* 👈 ADD THIS LINE */
}


.hero-content {
  flex: 1;
  text-align: left;
  direction: ltr;
  color: white;
  position: static !important;
  transform: none !important;
  animation: none !important;
  opacity: 1 !important;
  padding-left: 40px;
  padding-right: 10px;
}


.hero-animation {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.bottom-aligned {
  align-items: flex-end !important;
  padding-bottom: 40px;
}

.hero-static-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  margin: 160px 0 0 0;
  /* top margin only */
  align-self: flex-start;
  /* ensure left alignment inside flex */
}









.cta-buttons .btn {
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 10px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  /* center the buttons horizontally */
  align-items: center;
  flex-wrap: wrap;
  /* responsive */
  gap: 20px;
  margin-top: 20px;
}


.cta-buttons .btn img {
  max-width: 100px;
  height: auto;
}




/* ======About Jeerah====== */
.about {
  display: flex;
  justify-content: center;
  align-items: center;
  height: auto;
  color: #fff;
  background: none;
  text-align: center;
}

/* ====== Why Jeerah? ====== */
.features {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.feature {
  max-width: 250px;
  text-align: center;
}

.rectangle {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.rectangle h3 {
  font-size: 22px;
  color: #2c7a59;
  margin-bottom: 15px;
}

.rectangle p {
  font-size: 16px;
  color: #333;
}

.logo-placeholder {
  max-width: 100px;
  height: auto;
}

/* ====== logos ====== */
.logos {
  text-align: center;
  color: #fff;
  background-color: none;
  margin: 60px;
}

.logo-slider {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 10px 0;
}

.logo-track {
  display: flex;
  width: max-content;
  animation: scroll 30s linear infinite;
}

.logo-track img {
  height: 100px;
  margin: 0 35px;
  object-fit: contain;
  transition: filter 0.3s ease;
}



@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ====== Footer ====== */
footer {
  text-align: center;
  padding: 10px;
  background-color: none;
  color: white;
}


.enhanced-about {
  padding: 60px 30px;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: auto;
  direction: ltr;
  /* optional: switch to LTR for English layout */
  text-align: left;
  /* optional: ensure left alignment */
}

.about-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1200px;
  align-items: center;
  flex-direction: row;
  /* change from row-reverse */
}

.about-text {
  flex: 1;
  min-width: 280px;
}

.about-text h2 {
  font-size: 60px;
  margin-bottom: 1px;
  border-left: 5px solid white;
  padding-left: 10px;
  border-right: none; /* remove old border */
  padding-right: 0;    /* reset right padding */
}


.about-text p {
  font-size: 22px;
}

.about-highlights {
  list-style: none;
  padding: 0;
  margin: 0;
}

.about-highlights li {
  font-size: 16px;
  position: relative;
  padding-right: 24px;
}

.about-highlights li::before {
  content: "✓";
  position: absolute;
  right: 0;
  color: #ffffff;
  font-weight: bold;
}

.about-image {
  flex: 1;
  min-width: 280px;
  text-align: center;
}

.about-image img {
  max-width: 100%;
  border-radius: 12px;
}
@media (max-width: 768px) {
  .about-image {
    display: none;
  }
}
@media (max-width: 768px) {
  .about-text {
    flex: 1 1 100%;
    text-align: center;
  }
}



#faq {
  padding: 80px 20px 120px 20px;

  padding: 80px 20px;
  background-color: none;
  color: #ffffff;
  direction: rtl;
  font-family: 'Cairo', sans-serif;
}

.faq-container {
  width: 100%;
  max-width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
}

.faq-section {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}


.faq-section h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #ffffff;
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding: 7px;
  cursor: pointer;
  position: relative;
  font-size: 14px;
}

.faq-item .question {
  font-weight: bold;
  padding-inline-end: 25px;
  text-align: left;

}

.faq-item .arrow {
  position: absolute;
  right: 10px;
  font-size: 16px;
  transition: transform 0.2s;
}

.faq-item .answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease;
  opacity: 0;
  color: #ffffff;
  white-space: pre-line;
  margin-top: 5px;
  line-height: 1.7;
  text-align: left;
  margin-left: 25px;
}

.faq-item.active .answer {
  max-height: 300px;
  opacity: 1;
}

.faq-item.active .arrow {
  transform: rotate(180deg);
}

.why-choose {
  padding: 60px 20px;
  text-align: center;
  direction: rtl;
}

.why-title {
  font-size: 50px;
  font-weight: 600;
  color: white;
  margin-bottom: 20px;
  text-align: center;
}

.why-choose .rectangle-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.why-choose .rectangle {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  padding: 25px;
  width: 170px;
  height: 220px;
  text-align: center;
  transition: all 0.3s ease;
}

.why-choose .rectangle:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 12px 28px rgba(255, 82, 116, 0.3);
  border-color: #FF5274;
}

.why-choose .rectangle h3 {
  font-size: 20px;
  color: #ffffff;
  margin: 5px;
}

.why-choose .rectangle p {
  font-size: 14px;
  color: #dddddd;
  margin-top: 2px;
}






/* ====== Logo Section ====== */
.big-logo-section {
  padding: 30px 20px;
  color: white;
  text-align: center;
  margin: 30px;
}

.big-logo-section h2 {
  font-size: 60px;
  font-weight: 600;
}

.big-logo-container .logo-title-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.big-logo-container .logo-title {
  text-align: right;
}

.big-logo-container .logo-title p {
  font-size: 18px;
  color: #ffffff;
}

.big-logo-container .big-logo {
  max-width: 500px;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.logo-title h2 {
  opacity: 0;
  transform: scale(0.95);
  transition: all 0.8s ease;
}

.logo-title h2.animate-title {
  opacity: 1;
  transform: scale(1);
}

.small-logo {
  max-width: 250px;
}




.dual-box-section {
  padding: 60px 20px;
  margin: 40px 0;
  background-color: transparent;
}

.dual-box-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  gap: 30px;
  background-color: rgba(255, 255, 255, 0.05);
  /* شفاف */
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  padding: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.dual-box {
  flex: 1 1 300px;
  text-align: center;
  color: white;
  padding: 20px;
}

.dual-box-section h2 {
  font-size: 60px;
  padding-right: 10px;
  color: #ffffff;
  text-align: center;
}

.dual-box-section h2 {
  opacity: 0;
  transform: scale(0.95);
  transition: all 0.8s ease;
}

.dual-box-section h2.animate-title {
  opacity: 1;
  transform: scale(1);
}


.dual-box h3 {
  font-size: 30px;
  margin-top: 20px;
  margin-bottom: 15px;
  color: #ffffff;
}

.dual-box p {
  font-size: 18px;
  color: #dddddd;
}

.dual-icon {
  width: 150px;
  height: 150px;
  object-fit: contain;
}

.dual-icon {
  transition: transform 0.3s ease;
}

.dual-icon:hover {
  transform: scale(1.15);
}





.dual-box {
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.7s ease;
}

.dual-box.visible {
  opacity: 1;
  transform: scale(1);
}

.why-title {
  opacity: 0;
  transform: scale(0.95);
  transition: all 0.8s ease;
}

.why-title.animate-title {
  opacity: 1;
  transform: scale(1);
}

.rectangle {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.rectangle.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ====== Animation from right ====== */
.about-text,
.about-image {
  opacity: 0;
  transform: translateX(100px);
  transition: all 0.8s ease;
}

.about-text.visible,
.about-image.visible {
  opacity: 1;
  transform: translateX(0);
}

.logo-title,
.big-logo {
  opacity: 0;
  transform: translateX(100px);
  transition: all 0.8s ease;
}

.logo-title.animate-right,
.big-logo.animate-right {
  opacity: 1;
  transform: translateX(0);
}

/* ====== Logo 2 Section ====== */
.logo-title-2 h2 {
  font-size: 50px;
  font-weight: 600;
  color: white;
  text-align: right;
  opacity: 0;
  transform: scale(0.95);
  transition: all 0.8s ease;
}

.logo-title-2 h2.animate-title {
  opacity: 1;
  transform: scale(1);
}

.big-logo-2 {
  max-width: 400px;
  width: 100%;
  height: auto;
  object-fit: contain;
  opacity: 0;
  transform: translateX(100px);
  transition: all 0.8s ease;
}

.big-logo-2.animate-right {
  opacity: 1;
  transform: translateX(0);
}

.faq-title-with-icons {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding: 0 20px;
  direction: ltr;
}


.faq-title-with-icons h2 {
  color: #ffffff;
  font-size: 36px;
  margin: 0;
  text-align: left;
}


.faq-icons a {
  margin-left: 10px;
  display: inline-block;
}

.faq-icons img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  transition: transform 0.2s;
}

.faq-icons img:hover {
  transform: scale(1.1);
}

.cta-buttons .btn img {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-buttons .btn:hover img {
  transform: scale(1.05);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate(-50%, 30px);
    /* Maintain center and move down */
  }

  to {
    opacity: 1;
    transform: translate(-50%, 0);
    /* Maintain center */
  }
}



.about-typewriter-text {
  display: inline-block;
  font-size: 60px;
  font-weight: bold;
  white-space: nowrap;
  overflow: hidden;
}

.blinking-caret {
  display: inline-block;
  animation: blink-caret 0.8s steps(1) infinite;
  margin-right: 5px;
}

@keyframes blink-caret {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

/* ====== Responsive Design ====== */

/* Small screens (phones) */
@media (max-width: 768px) {
  .hero-layout {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
  }

  .hero-content h1 {
    font-size: 40px;
  }

  .hero-content p {
    font-size: 18px;
  }

  .hero-static-image {
    margin: 20px 0 0 0;
    max-width: 100%;
    margin-right: 0;
  }

  .about-text h2 {
    font-size: 36px;
  }

  .about-text p {
    font-size: 18px;
  }

  .why-title {
    font-size: 36px;
  }

  .rectangle {
    width: 100%;
    height: auto;
  }

  .dual-box-section h2 {
    font-size: 36px;
  }

  .dual-box h3 {
    font-size: 24px;
  }

  .dual-box p {
    font-size: 16px;
  }

  .dual-icon {
    width: 100px;
    height: 100px;
  }

  .logo-title h2,
  .logo-title-2 h2 {
    font-size: 36px;
  }

  .big-logo-container .logo-title-container {
    flex-direction: column;
    text-align: center;
  }

  .faq-title-with-icons {
    flex-direction: column;
    align-items: flex-start;
  }

  .faq-title-with-icons h2 {
    font-size: 28px;
  }

  .navbar ul {
    flex-direction: column;
    gap: 10px;
  }

  .navbar ul li a {
    font-size: 14px;
  }

  @media (max-width: 768px) {
    .hero-layout {
      height: auto;
      padding-top: 120px;
    }
  }

  @media (max-width: 768px) {
    .hero-layout {
      padding-top: 80px;
    }
  }

  .hero-animation {
    justify-content: center;
    align-items: center;
    margin-top: 20px;
  }

  .hero-static-image {
    max-width: 90%;
    height: auto;
    margin: 0 auto;
  }

  @media (max-width: 480px) {
    .hero-content h1 {
      font-size: 28px;
    }

    .hero-content p {
      font-size: 16px;
    }

    .cta-buttons .btn img {
      max-width: 80px;
    }
  }

  @media (max-width: 768px) {
    .hero-static-image {
      max-width: 80%;
      margin: 30px auto 0 auto;
      display: block;
    }
  }

  @media (max-width: 480px) {
    .hero-static-image {
      max-width: 70%;
      margin: 20px auto 0 auto;
    }
  }

  .burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 20px;
    cursor: pointer;
    z-index: 1001;
  }

  .burger-menu span {
    display: block;
    height: 3px;
    background: white;
    border-radius: 2px;
  }

  @media (max-width: 768px) {
    .burger-menu {
      display: flex;
    }

    .navbar {
      display: none;
      flex-direction: column;
      position: absolute;
      top: 70px;
      right: 20px;
      background: rgba(0, 0, 0, 0.8);
      border-radius: 10px;
      padding: 10px 20px;
    }

    .navbar.active {
      display: flex;
    }

    .navbar ul {
      flex-direction: column;
      align-items: flex-start;
    }

    .navbar ul li {
      margin-bottom: 10px;
    }
  }

  .language-switch {
    margin-left: 15px;
  }

  .lang-btn {
    font-family: 'Cairo', sans-serif;
    padding: 8px 16px;
    color: white !important;
    /* Ensure the color stays white */
    background-color: transparent !important;
    border: 2px solid transparent !important;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    /* Prevent underlining */
    transition: color 0.3s ease;
  }

  .lang-btn:hover {
    color: rgba(212, 110, 103, 1) !important;
    /* On hover */
  }




  @media (max-width: 768px) {
    .language-switch {
      margin-top: 10px;
    }

    .lang-btn {
      font-size: 13px;
      padding: 6px 12px;
    }
  }





}