@import url('https://fonts.googleapis.com/css2?family=Almarai:wght@300;400;700;800&family=Cairo+Play:wght@200..1000&family=Tajawal:wght@200;300;400;500;700;800;900&display=swap');

@font-face {
    font-family: 'YaModernProBold';
    src: url('../fonts/Ya-ModernPro-Bold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

body {
    direction: rtl;
    font-family: 'YaModernProBold', sans-serif !important;

}

:root {
    --main-color: rgb(76, 26, 111);

}

/* start login-box section  */
.mini-login {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    background: #fff;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 20px;
    transition: opacity 0.5s ease-in-out;
    z-index: 1000;
    opacity: 0;
    display: block;
}

.mini-login.show {
    display: block;
    opacity: 1;
}

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

.login-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--main-color);
    color: #fff;
    border: none;
    padding: 12px 18px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 22px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 1;
}


.login-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.mini-login .btn {
    background-color: var(--main-color);
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    border: none;
    width: 100%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.mini-login .btn:hover {
    background-color: rgb(219, 181, 240);
}


.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    transition: opacity 0.3s ease-in-out;
}

.overlay.show {
    display: block;
}

/* end login-box section  */


.navbar {
    border-bottom: 3px solid rgb(219, 181, 240);
    
}

.navbar .container-fluid .navbar-brand img {
    width: 70px;
}

.navbar-nav a {
    color: var(--main-color);
    font-size: 16px;
    font-weight: 700;
    transition: 0.3s;
}

.navbar-nav a:hover {
    color: black;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);

    scale: 1.1;
}

.social {
    display: flex;
    flex-direction: row;
    gap: 8px;
}

.social a {
    border-radius: 50%;
    font-size: 17px;
    font-weight: 700;
    color: var(--main-color);
    transition: 0.3s;
    width: 30px;
    height: 30px;
    background-color: var(--main-color);
    display: flex;
    /* يبقي الأيقونة بالنص */
    justify-content: center;
    align-items: center;
    color: whitesmoke;
    cursor: pointer;
}

.social a:hover {
    color: var(--main-color);
    background-color: rgb(219, 181, 240);
    scale: 1.1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.btn_login .btn {
    background-color: var(--main-color);
    color: white;
}

.btn_login .btn:hover {
    background-color: rgb(200, 125, 240);
    color: white;
}

/* end header style  */
/* start hero style  */
.hero .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.container .hero-title {
    color: var(--main-color);
    font-size: 40px;
    font-weight: 800;

}

.container .hero-info h2 {
    font-size: 30px;
    font-weight: 550;
    line-height: 1.5;
    font-family: 'almarai';
    margin-bottom: 20px;
    /* color: rgb(200, 125, 240); */


}

.container .hero-info p {
    font-size: 18px;
    line-height: 2.5;
    margin-bottom: 20px;
    width: 80%;
    font-family: 'almarai';

}

.call button {
    color: white;
    background-color: var(--main-color);
    border: none;
}

.call button:hover {
    background-color: rgb(219, 181, 240);
}

/* End hero style  */
/* START SERVICES SECTION   */
.services .container {
    border-top: 3px solid rgb(219, 181, 240);
}

.cards {
    display: flex;
    gap: 30px;
    justify-content: space-between;
}

.services .container .card {
    border: solid rgb(219, 181, 240);
    box-shadow: 0 0 10px rgb(219, 181, 240);
    transition: 0.3s;
    /* cursor: pointer; */

}


.services .container .card:hover {
    scale: 1.01;

}

.card-body h4 {
    color: var(--main-color);
    padding-bottom: 10px;
    border-bottom: solid 2px rgba(0, 0, 0, 0.047);
}

.services .container p {
    font-family: 'almarai';
    font-size: 20px;
}

.container .cards .card-body p {
    font-family: 'almarai';
    font-size: 14px;


}

.services .container h2 {
    color: var(--main-color);
}

.services .container p {
    font-family: 'almarai';
    font-size: 20px;
}

.container .cards .card-body a {
    background-color: var(--main-color);
    border: solid white;
    transition: 0.3s;
    cursor: pointer;
    font-family: 'almarai';

}

.container .cards .card-body a:hover {
    background-color: rgb(200, 125, 240);
}

.about-us .container {
    border-top: 3px solid rgb(219, 181, 240);
    border-bottom: 3px solid rgb(219, 181, 240);
}

.about-us .about-info h2 {
    color: var(--main-color);
}

.about-us .about-info p {
    font-family: 'almarai';
    font-size: 18px;


}
.btn-asmaa {
      color: white;
    background-color: var(--main-color);
    border-color: white;  
}

.btn-asmaa:hover{
        background-color: rgb(200, 125, 240);
    color: white;
    border: none;
}
.about-us .about-info .bold {
    font-weight: bold;
    color: var(--main-color);
}

.services .btn-asmaa {
    color: white;
    background-color: var(--main-color);
    border-color: white;
}

.services .btn-asmaa:hover {
    background-color: rgb(200, 125, 240);
    color: white;
    border: none;
}

/* end SERVICES SECTION   */
/* start Statistics section  */
.Statistics .container h2 {
    color: var(--main-color);
}

.Statistics .container .card {
    box-shadow: 0 0 10px rgb(219, 181, 240) !important;
}

.Statistics .container .card p {
    font-family: 'almarai';
}

.Statistics .container .card::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 3px;
    height: 0;
    background-color: var(--main-color);
    transition: 0.5s;
}

.Statistics .container .card::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 3px;
    height: 100%;
    background-color: rgb(200, 125, 240);
    transition: 0.5s;
}

.Statistics .container .card:hover::before {
    height: 100%;
}

.Statistics .container .card:hover::after {
    height: 0;
}


/* end Statistics section  */

/* start footer section   */
.footer {
    background: url(/imags/footer-background.webp);
    background-repeat: no-repeat;
    background-size: cover;
    /* border-top: 3px solid rgb(219, 181, 240); */
    padding-top: 90px;
    color: white;
    font-family: 'almarai';
    /* list-style: none; */
}

.footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer a {
    text-decoration: none;
    color: white;
}

/* start our-team section  */

.our-team .container {
    border-top: 3px solid rgb(219, 181, 240);
}

.our-team h2 {
    color: var(--main-color);
}

.our-team p {
    font-size: 18px;
    word-spacing: 8px;
}

@media (max-width: 768px) {
    .our-team .row {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1rem;
     
    }

    .our-team .card {
        width: 100% !important;
        margin-bottom: 1.5rem;
        overflow: hidden;
        position: relative;
    }

    .our-team .card img {
        width: 80% !important;
        margin-bottom: 1rem;
    }

}

.our-team .card {
    max-width: 18rem;
    margin: 0 auto;
    transition: transform 0.3s ease-in-out;
    position: relative;
    margin: 0 auto;
    transition: transform 0.3s ease-in-out;
}

.our-team .card .card-body {
    position: relative;
    z-index: 2;

}


.our-team p {
    font-family: 'almarai';
}

.our-team .card-up {
    transform: translateY(-20px);
}

.our-team .card-down {
    transform: translateY(20px);
}

.our-team .card h4 {
    color: black;
    font-size: 1.1rem;
    text-align: right;
}

.our-team .card h5 {
    color: rgba(143, 125, 192, 0.95);
    font-size: 0.95rem;
    text-align: right;
    margin-bottom: 20px;
}
.our-team .card:hover h5 ,
.our-team .card:hover h4{
/* display: none; */
visibility: hidden;
}

.our-team .card img {
    width: 70%;
}

/* إضافة طبقة Overlay */
.our-team .card .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(143, 125, 192, 0.95);
    color: white;
    display: none;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    z-index: 1;
}

.our-team .card:hover .overlay {
    opacity: 1;
    display: flex;

}




.our-team .card .overlay p {
    font-size: 13px;
    text-align: center;
    word-spacing: 2px;

}

.our-team .overlay ul{
    text-align: right;
    word-spacing:3px;
    
    
}
.our-team .overlay ul li{
    margin-bottom: 3px; 

}

.our-team .overlay ul a{
    color: #fff;

    text-decoration: none;
}

/* end our-team section  */

/* start testimonials section   */
.testimonials .container{
 border-top: 3px solid rgb(219, 181, 240);

}
.testimonials .container .card {
    border-radius: 30px;
    background-image:linear-gradient(to bottom, #F1EEF7, #D5CCE9) ;
}
.testimonials .container h2 {
    color: var(--main-color);
}
.testimonials .container p {
    font-family: 'Almarai';
}
.testimonials .container .card-body h5 {
    /* margin-right: 10px; */
    display: block;
    width: 100%;    
    text-align: right;
}
.testimonials .container .card-body h6 {
    text-align: right; 
}
.testimonials .container .card-body .text-muted {
    
color:red !important;
 /* margin-right: 120px; */
  } 
  .testimonials .container .card-body p {
    margin-top: -8%;
    margin-bottom: 30px;
    padding: 10px;
    
    border: 1px solid rgba(21, 1, 1, 0.382);
    border-radius: 3px;
    text-align: center;
  }
  .stars i {
    float: inline-start;
    color: #ffcc00;  
    margin-left: 0px;
  }
  .testimonials .container .card-up {
    transform: translateY(-15px);
  }
  .testimonials .container .card-down {
    transform: translateY(15px);
  }
  .testimonials .container .card-up, .card-down {
    transition: transform 0.3s ease;
  }
 
@media (max-width: 768px) {
    .testimonials .container .card-up,
    .testimonials .container .card-down {
      transform: none !important;
    }
  }
  .rotate {
    transition: transform 0.3s;
  }
  .rotate.down {
    transform: rotate(180deg);
  }
  .star-rating i {
    cursor: pointer;
    color: #ccc;
  }

  .star-rating i.fas {
    color: gold;
  }
  .testimonials button {
    color: #fff;
    background-color: var(--main-color);
    border: var(--main-color);
  }
  .testimonials button:hover {
    color: var(--main-color);
    background-color: #fff;

  }
  /* end testimonials section   */

  /* start our-skills section  */
  .our-skills .container{
    border-top: 3px solid rgb(219, 181, 240);
   
   }
  .our-skills .container h2 {
    color: var(--main-color);
  }
  .our-skills .container p {
    font-family: 'Almarai';
  }
  .our-skills .container .progress {
    height: 20px;
    margin-bottom: 15px;   }
    .our-skills .container .progress-bar {
    background-color: #6f42c1; 
  }
  /* end our-skills section  */