/********** common setting **********/
@font-face {
  font-family:"heading" ;
  src: url(../fonts/BalooBhaijaan2-SemiBold.ttf);
}
@font-face {
  font-family: "p";
  src: url(../fonts/BalooBhaijaan2-Medium.ttf);
}
h1{
  font-family: 'p' ,cursive;

}

html, body {
   margin: 0;
    padding: 0;
    overflow-x: hidden;
    max-width: 100vw;
    margin: 0;
    padding-top: 20px;
}


h2 {
    font-size: 2.8rem !important;
    font-weight: 700;
    font-family: 'heading', cursive;

}
p{
  font-family: 'p', cursive;

}

img {
    display: block;
    max-width: 100%;
}

a,
button {
    cursor: pointer;
    font-family: 'p', cursive;
}

.jumbotron {
  margin-bottom: 0 !important;
}
.lafibackground {
  background-image: url('../img/WidePic2.jpg');
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 80vh;
  display: flex;
  justify-content: center;   /* توسيط أفقي */
  align-items: center;       /* توسيط رأسي */
  border-radius: 30px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  margin: 20px;
  overflow: hidden;
}

/* للأجهزة اللوحية */
@media (max-width: 1024px) and (min-width: 768px) {
  .lafibackground {
    background-image: url('../img/WidePic.jpg');
  }
}

/* للهواتف */
@media (max-width: 767px) {
  .lafibackground {
    background-image: url('../img/Landing-Pic.jpg');
  }
}



/* التضليمة */
.lafibackground::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.1);
  z-index: 1;
}
/* النص داخل الصورة */

.download-btn-topright {
  position: absolute;
  top: 20px;
  right: 30px;
  z-index: 10;
  font-family: 'p', cursive;
}


.atlas-cta {
    border-radius: 22px !important;
    padding: 12px 30px !important;
    font-weight: 700;
    transition: .3s ease-in-out !important;
}

.atlas-cta:hover {
    text-decoration: none;
    transform: translateY(-5px);
}

.atlas-cta-wide {
    width: 100%;
}

.cta-green {
    background: #1db954;
    color: #192440;
}

.cta-green:hover {
    color: #ffffff;
    background: #00e69c;
}

.cta-blue {
    background: #001e60;
    color: #ffffff;
}

.cta-blue:hover {
    color: #ffffff;
    background: #121a2e;
}


#banner {
    background-size: cover;
}

/********** banner **********/
#banner header {
    overflow: hidden;
}

#banner header img {
    max-width: 80px;
}

/********** feature (skew background) **********/
.feature img {
    width: 100%;
    max-width: 480px;
}

#feature-first {
    background: white;
}

#feature-last {
    background: #1db954;
    color: white;
}
#feature-last img{
  border-radius: 30px;
}


/********** contact **********/
#contact {
    background-size: cover;
}

#contact ul li {
    padding: 3px 0;
}

#contact form {
    color: #00FFAD;
}

#contact form input,
#contact form textarea {
    background: transparent;
    border: 1px solid #00FFAD;
    color: #ffffff;
}

/********** copyright **********/
#copyright {
  background: #192440;
  padding: 2rem 3rem;
}

#copyright #social-media a img.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 99%;
  background: #ffffff;
  padding: 8px;
  transition: 0.4s ease;
}

#copyright #social-media a:hover img.social-icon {
  background: #00FFAD;
  
}


/********** RWD **********/
@media (max-width: 575px) {
    #banner h1 {
        font-size: 3.6rem;
    }
}




/* 
---------------------------------------------
Services Style
--------------------------------------------- 
*/

.services {
    padding-top: 130px;
    position: relative;
    
  }
  
  .services .row {
    display: flex;
    justify-content: center; 
    gap: 30px; 
  }

  .services  .section-heading p {
    margin-top: 10px;
    margin-left: 18%;
    margin-right: 18%;
  }
  
  .services .container-fluid {
    padding-left: 65px;
    padding-right: 65px;
  }
  
  .services:after {
    content: '';
    background-image: url(../img/Patterns.png);
    background-repeat: no-repeat;
    position: absolute;
    left: 0;
    bottom: -300px;
    width: 261px;
    height: 368px;
    z-index: 0;
  }
  
  .services:before {
    content: '';
    background-image: url(../images/services-right-dec.png);
    background-repeat: no-repeat;
    position: absolute;
    right: 0;
    top: 0;
    width: 1136px;
    height: 244px;
    z-index: 0;
  }
  
  .services {
    text-align: center;
    margin-bottom: 80px;
  }

  .services .section-heading h4{
    font-family: 'heading', cursive;
    font-size: 30px;
    
    }
  
  .services .section-heading .line-dec {
    margin: 0 auto;
  }

  .services .naccs .menu div {
    font-size: 15px;
    font-weight: 500;
  }

  .services .naccs .menu div .thumb {
    padding: 5px;
  }
  .services .icon img {
    margin: 0px;
  }

  .services ul.nacc li.active {
    padding: 45px;
  }
  .services .naccs .menu div  {
    font-size: 0px;
  }
  .the-clients .nacc .thumb .down-content {
    text-align: center;
  }
  .services ul.nacc li .right-image img {
    float: none;
  }
  .our-portfolio .section-heading,
  .about-us .section-heading,
  .about-us .about-item,
  .about-us p,
  .about-us .main-green-button {
    text-align: center;
  }
  .our-portfolio .section-heading .line-dec {
    margin: 0 auto;
  }
  .our-services .section-heading {
    margin-left: 15px;
    margin-right: 15px;
  }


  .service-item {
    position: relative;
    z-index: 1;
    padding: 30px;
    box-shadow: 0px 0px 15px rgba(0,0,0,0.1);
    background-color: #fff;
    border-radius: 10px;
    border-top-right-radius: 50px;
    transition: all .3s;
  }
  
  .service-item .icon {
    margin-left: 0px;
    margin-bottom: 30px;
    background-repeat: no-repeat;
    width: 50px;
    height: 50px;
    transition: all .3s;
  }
  
  .service-item h4 {
    transition: all .3s;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    font-family: "heading",cursive ;
  }
  
  .service-item p {
    transition: all .3s;
    font-size: 15px;
    margin-bottom: 20px;
  }
  
  .service-item:hover h4,
  .service-item:hover p,
  .service-item:hover .text-button a {
    color: #fff;
  }
  
  .first-service .icon {
    background-image: url(../img/service-icon-01.png);
  }
  
  .first-service:hover .icon {
    background-image: url(../img/service-icon-hover-01.png);
  }
  
  .second-service .icon {
    background-image: url(../img/service-icon-02.png);
  }
  
  .second-service:hover .icon {
    background-image: url(../img/service-icon-hover-02.png);
  }
  
  
  .third-service .icon {
    background-image: url(../img/service-icon-03.png);
  }
  
  .third-service:hover .icon {
    background-image: url(../img/service-icon-hover-03.png);
  }
  
  .fourth-service .icon {
    background-image: url(../img/service-icon-04.png);
  }
  
  .fourth-service:hover .icon {
    background-image: url(../img/service-icon-hover-04.png);
  }
  
.service-item:hover {
  background-image: url(../img/GreenWaves.jpg);
  background-position: right top;
  background-repeat: no-repeat;
  background-size: cover;
}
  
/* 
---------------------------------------------
Services Style end
--------------------------------------------- 
*/

/* 
---------------------------------------------
download Style start
--------------------------------------------- 
*/


.row.g-4 {
  display: flex;
  justify-content: center; 
  gap: 1.5rem; 
  margin-bottom: 2rem;
}


.d-flex {
  display: flex;
  align-items: center;
  text-decoration: none; 
  transition: all 0.3s ease;
  width: auto; 
  border-radius: 25px !important; 
}


.d-flex:hover {
  transform: translateY(-5px); 
  text-decoration: none; 
}


.bg-primary-gradient.d-flex {
  background:#001e60 ;
  padding: 1rem 1.5rem;
}

.bg-primary-gradient .fab.fa-apple {
  color: #fff; 
}

.bg-primary-gradient .ms-3 {
  margin-left: 1rem;
  color:#1db954;
  text-align: center;
}

.bg-primary-gradient h5 {
  font-size: 1.1rem;
  font-weight: 800;
}

.bg-primary-gradient p {
  font-size: 0.9rem;
  font-weight: 500;
}


.bg-secondary-gradient.d-flex {
  background:#001e60 ;
  padding: 1rem 1.5rem;
}

.bg-secondary-gradient .fab.fa-android {
  color: #fff;
}

.bg-secondary-gradient .ms-3 {
  margin-left: 1rem;
  text-align: center;
  color:#1db954;
}

.bg-secondary-gradient h5 {
  font-size: 1.1rem;
  font-weight: 800;
}

.bg-secondary-gradient p {
  font-size: 0.9rem;
  font-weight: 500;
}


@media (max-width: 768px) {
  .row.g-4 {
      flex-direction: column; 
      align-items: center;
  }

  .d-flex {
      width: 100%; 
  }
}




.img-fluid{
  width:300px;
    height:auto; padding-left: 70px;padding-right:0 ;
  }

/* 
---------------------------------------------
download Style end
--------------------------------------------- 
*/

nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  z-index: 1000;
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}




nav ul {
    direction: rtl;
    list-style: none;
    display: flex;
    gap: 80px;
}

nav ul li {
  font-family: 'p' ,cursive;
    display: inline-block;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

nav ul li a:hover {
    color: #009970;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 160px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
    border-radius: 5px;
    z-index: 1;
}

.dropdown-content a {
    padding: 12px;
    display: block;
    color: black;
}

.dropdown:hover .dropdown-content {
    display: block;
}

@media (max-width: 768px) {
  nav ul {
    gap: 20px; 
    flex-wrap: wrap; 
    justify-content: center; 
  }
  
  nav ul li a {
    font-size: 14px; 
  }

  nav {
    height: auto; 
    padding: 10px 5%;
  }
}


.carousel-container {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  height: 350px; /* أو نفس ارتفاع الصورة */
}

.carousel-slide {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
  transform: translateX(20px); /* تبدأ متحركة قليلاً يمين */
  width: 100%;
}

.carousel-slide.active {
  opacity: 1;
  transform: translateX(0); /* تتحرك لمكانها الطبيعي */
  z-index: 2;
}

.carousel-slide img {
  width: 100%;
  display: block;
  border-radius: 20px;
}

.carousel-caption {
  position: absolute;
  bottom: 30px;
  left: 30px;
  background-color: rgba(0,0,0,0.5);
  color: white;
  padding: 20px;
  border-radius: 15px;
  max-width: 400px;
}



.carousel-prev, .carousel-next {
  position: absolute;
  top: 50%;
  font-size: 30px;
  color: white;
  background: rgba(0,0,0,0.3);
  border: none;
  cursor: pointer;
  padding: 10px;
  border-radius: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

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

.carousel-dots {
  text-align: center;
  margin-top: 10px;
}

.carousel-dots .dot {
  display: inline-block;
  height: 10px;
  width: 10px;
  background-color: #bbb;
  margin: 0 5px;
  border-radius: 50%;
  cursor: pointer;
}

.carousel-dots .dot.active {
  background-color: #333;
}

footer p:hover {
  color: #00917a;
  cursor: pointer;
  transition: color 0.3s ease;
}
footer p{
  color: #001e60;

}
footer h3{
  color:#1db954;
  font-family: 'heading', cursive;
}
.app-link {
  display: inline-block;
  transition: transform 0.3s ease;
}
.app-link:hover {
  transform: translateY(-5px);
}
/*   about box   */
#feature-first {
  background-color: #ffffff;
  padding: 80px 0;
}

.about-box{
  background-color: #f9fffc;
  border-right: 5px solid #1db954;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  color: #2c2c2c;
  line-height: 1.8;
  font-size: 1.05rem;
}
.about-box h4{
  font-family: 'heading', cursive;
}
.about-box ul {
  padding-right: 20px;
  font-family: 'heading', cursive;
}
.about-box li{
  font-family: 'p', cursive;
}

.about-box ul li {
  margin-bottom: 8px;
  list-style: none;
  position: relative;
  padding-right: 22px;
  
}

.about-box ul li::before {
  content: "<";
  position: absolute;
  right: 0;
  color: #00C99C;
}




/*   moeen taxi   */

#moeen-taxi {
  background-color: white;
  padding: 60px 0;
}

#moeen-taxi .about-box {
  background-color: #ffffff;
  border-right: 5px solid #1db954;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
  color: #2a2a2a;
  font-size: 1.05rem;
  line-height: 1.8;
}

#moeen-taxi .about-box ul {
  padding-right: 20px;
}

#moeen-taxi .about-box ul li {
  margin-bottom: 8px;
  list-style: none;
  position: relative;
  padding-right: 22px;
}

#moeen-taxi .about-box ul li::before {
  content: "<";
  position: absolute;
  right: 0;
  color: #1db954;
  
}

/* moeen-heavy.css */
#moeen-heavy {
  background-color: white;
  padding: 60px 0;
}

#moeen-heavy .about-box {
  background-color: #ffffff;
  border-right: 5px solid #1db954;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
  color: #2a2a2a;
  font-size: 1.05rem;
  line-height: 1.8;
}

#moeen-heavy .about-box ul {
  padding-right: 20px;
}

#moeen-heavy .about-box ul li {
  margin-bottom: 8px;
  list-style: none;
  position: relative;
  padding-right: 22px;
}

#moeen-heavy .about-box ul li::before {
  content: "<";
  position: absolute;
  right: 0;
  color: #1db954;
}





/*   partners   */

.partner-section {
  font-family: 'p', cursive;

}
textarea.form-control {
  font-family: 'p', cursive;
}

.partner-form-wrapper {
  background-color: #e6fff3;
  border-right: 5px solid #1db954;
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  direction: rtl;
}
.partner-form-wrapper input{
  font-family: 'p', cursive;
}


.partner-form-wrapper input::placeholder {
     text-align: right;
     font-family: 'p', cursive;
      }

.partner-section h2 {
  color: #1db954;
}

.partner-form-wrapper .form-control {
  border-radius: 10px;
}


/*navbar mobile*/

/* Base Navbar Styles */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5%;
    height: 50px;
    background-color: white;
}

.logo-img {
    width: 100px;
}
nav li{
  font-family: 'p' ,cursive;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: clamp(10px, 5vw, 40px);
    margin: 0;
}


/* Dropdown styles (for both desktop and mobile) */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.arrow-down::after {
    content: " ▼";
    font-size: smaller;
}

/* Mobile menu button - hidden by default */
.mobile-menu-button {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

/* Mobile styles */
@media (max-width: 768px) {
    .mobile-menu-button {
        display: block;
    }
    
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100vw;  /* ✅ أضف هذا */
        background-color: white;
        padding: 20px 5%;
        gap: 20px;
        z-index: 1000;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .dropdown-content {
        position: static;
        box-shadow: none;
        display: none;
    }
    
    .dropdown.active .dropdown-content {
        display: block;
        padding-left: 20px;
        margin-top: 10px;
    }
}

/* الأجهزة اللوحية (عرضي أو landscape mode) */
@media (min-width: 768px) and (max-width: 1024px) {
    .nav-links {
        gap: 30px;
        font-size: 14px;
        justify-content: center;
        flex-wrap: wrap; /* ✅ يساعد في عدم التكدس */
    }

    nav {
        padding: 10px 3%;
    }

    .logo-img {
        width: 80px;
    }
}

    
    


