@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: #424141 ;
background: linear-gradient(180deg, rgba(46, 46, 46, 1) 10%, rgba(0, 77, 64, 1) 50%, rgba(46, 46, 46, 1) 90%);
}

html {
    scroll-behavior: smooth;
}

/* ====== Header ====== */
header {
    background-color: rgba(28, 28, 30, 0.7);
    backdrop-filter: blur(10px);
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: grid;
    grid-template-columns: auto 1fr; 
    align-items: center;
    height: 100%;
    width: 100%;
    padding: 0 20px;
    direction: rtl;
}



.logo {
    justify-self: start;  
}

.navbar {
    justify-self: center; 
}




.logo img {
    max-width: 50px;
    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: #2c7a59;
}

.start-link {
    background-color: #2c7a59;
    color: white;
    padding: 6px 12px;
    font-size: 14px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
}


.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; 
  z-index: -1;
}




.hero-content {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  color: #ffffff;
  text-align: center;
  z-index: 1;
  margin-top: 20px;
}


.hero-content h1 {
    font-size: 50px;
    margin-bottom: 10px;
    margin-top: 70px;
}

.hero-content p {
    font-size: 25px;
    margin-bottom: 40px;
}
.hero-content  {
  font-size: 25px;
  margin-top: 90px;
  background-color: rgba(0, 0, 0, 0.4); /* رمادي شفاف */
  padding: 15px 20px;
  border-radius: 15px;
  display: inline-block;
  width: 100%;
}
.cta-buttons  p {
  font-size: 20px;
  color: white;
  margin: 5px 0 0 0;
}




.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: 170px;
    height: auto;
}




/* ======About Fazza3====== */
.about {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    padding: 40px;
    color: #fff;
    background: none;
    text-align: center;
}

/* ====== Why fazza3? ====== */
.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;
    margin-bottom: 20px;
    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;
    margin-bottom: 15px;
}

/* ====== Parteners ====== */
.logos {
    padding: 40px 20px;
    text-align: center;
    color: #fff;
    background-color:none;
    margin-top: 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: 80px;
    margin: 0 40px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.logo-track img:hover {
    filter: grayscale(0%);
}

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

    100% {
        transform: translateX(-50%);
    }
}

/* ====== Footer ====== */
footer {
    text-align: center;
    padding: 10px;
background-color: none;
    color: 495B5A;
}


.enhanced-about {
    padding: 80px 40px;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    text-align: right;
    direction: rtl;
}

.about-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1200px;
    align-items: center;
    flex-direction: row-reverse;
}

.about-text {
    flex: 1;
    min-width: 280px;
}

.about-text h2 {
    font-size: 60px;
    margin-bottom: 20px;
    border-right: 5px solid white;
    padding-right: 10px;
}

.about-text p {
    font-size: 23px;
    margin-bottom: 20px;
}

.about-highlights {
    list-style: none;
    padding: 0;
    margin: 0;
}

.about-highlights li {
    margin-bottom: 10px;
    font-size: 20px;
    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;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}



#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;
}

.faq-item .arrow {
  position: absolute;
  left: 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: 10px;
  line-height: 1.7;
}

.faq-item.active .answer {
  max-height: 300px;
  opacity: 1;
}

.faq-item.active .arrow {
  transform: rotate(180deg);
}

.why-choose {
  padding: 50px 20px;
  text-align: center;
  color: white;
}

.why-choose h2 {
  font-size: 50px;
  font-weight: 600;
  margin-bottom: 20px;
}

.why-choose .rectangle-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  gap: 30px;
}

.why-choose .rectangle {
  background-color: transparent;
  padding: 30px;
  border-radius: 12px;
  width: 260px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  text-align: center;
  color: #ffffff;  /* White text for contrast */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.why-choose .rectangle:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}




.why-choose .rectangle h3 {
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 15px;
}

.why-choose .rectangle p {
  font-size: 16px;
  margin-bottom: 15px;
    color: #fff;

}

.why-choose .logo-placeholder {
  width: 120px; 
  height: 120px; 
  object-fit: contain; 
}



/* ====== Efficiency ====== */
#efficiency .big-rectangle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 20px;
  background-color: transparent;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); 
  padding: 20px;
  border-radius: 12px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}


#efficiency .efficiency-item {
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
#efficiency .efficiency-container h2 {
    text-align: center; 
    color: white; 
    font-size: 50px;
  font-weight: 600;
}


#efficiency .efficiency-item h3 {
  font-size: 22px;
  color: #ffffff;
  margin-bottom: 15px;
}

#efficiency .efficiency-item p {
  font-size: 16px;
  color: #ffffff;
}

#efficiency .logo-placeholder {
  max-width: 100px;
  height: auto;
  margin-bottom: 15px;
}

/* ====== 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 h3 {
  font-size: 30px;
  margin-top: 20px;
  margin-bottom: 15px;
  color: #ffffff;
}

.dual-box p {
  font-size: 18px;
  color: #dddddd;
}

.dual-icon {
  width: 200px;
  height: 200px;
  object-fit: contain;
}


/* Animation */
.efficiency-item {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.efficiency-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.dual-box {
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.7s ease;
}

.dual-box.visible {
  opacity: 1;
  transform: scale(1);
}
.efficiency-title {
  opacity: 0;
  transform: scale(0.95);
  transition: all 0.8s ease;
}

.efficiency-title.animate-title {
  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: rtl;
}

.faq-title-with-icons h2 {
  color: #ffffff;
  font-size: 36px;
  margin: 0;
}

.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);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate(-50%, 30px); /* Maintain center and move down */
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);    /* Maintain center */
  }
}

.hero-content {
  animation: fadeInUp 1s ease-out forwards;
  opacity: 0;
  transform: translate(-50%, 0); /* This keeps it centered after animation */
}
.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; }
}
