@import url('https://fonts.googleapis.com/css2?family=Noto+Kufi+Arabic:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
:root {
      --main-color: #3598db;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Kufi Arabic', sans-serif ;
    direction: rtl;
}
ul {
    list-style: none;
}
a {
    text-decoration: none;
}
.container {
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .container {
        width: 100%;
    }
}
@media (min-width: 768px) and (max-width: 991px) {
    .container {
        width: 750px;
    }
}
@media (min-width: 992px) and (max-width: 1199px) {
    .container {
        width: 970px;
    }
}
@media (min-width: 1200px) {
    .container {
        width: 1170px;
    }
}
  /* start header style  */
header {
    height: 60px;
    border: 1px solid #ccc;
    background-color: white;
    position: sticky;
    z-index: 1000;
    top: 0;
}
header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}
header .container img {
    width:150px;
    
    
}
header .container nav {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}
@media (max-width: 768px) {
    header .container nav {
    justify-content: end;
    }
}

header .container nav ul {
    display: flex;
}
@media (max-width: 768px) {
    header .container nav ul {
        display: none;
    }
}
.nav-tog:hover {
    color: var(--main-color);
}

.mobile-nav1 {
        display: flex !important;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #eee;
        transition: 0.3s;
}

@media (min-width: 768px)  {
    .nav-tog {
        display: none;
    }
    }       
header .container nav ul li a {
display: block;
padding: 20px 10px;
font-size: 17px;
font-weight: 550;
color: #000;
transition: 0.3s;
}
@media (max-width: 768px) {
    header .container nav ul li a {
      border-bottom: 1px solid #ccc;
    }
}
header .container nav ul li a:hover,
header .container nav ul li a:hover {
    color: white;
    background-color: var(--main-color);
    border-radius: 5px;}
header .container .social {
    display: flex;
    justify-content: space-between;
}
@media (max-width: 768px) {
    header .container .social {
        display: none;
    }
}    
header .container .social i {
margin: 5px 10px;
font-size: 17px ;
display: flex;
width: 35px;
height: 35px;
justify-content: center;
background-color: var(--main-color);
align-items: center;
color: white;
border-radius: 50%;
transition: 0.3s;
cursor: pointer;
}
.container .social i:hover {
    background-color: #000;
    scale: 1.1;
   
}
 
/* end header style  */ 
/* start hero style */
.hero {
    /* height: calc(70vh - 60px); */
    background: url(../images/background.webp) 
}

.hero .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
@media (max-width: 768px) {
    .hero .container {
        flex-direction: column-reverse;
    }
}
.hero .container .hero-img img {
    width: 550px;
   
}
@media (max-width: 768px) {
    .hero .container .hero-img img {
        width: 350px;
    }
}
.hero .container .hero-title {
    color: var(--main-color);
    font-size: 45px;
    font-weight: 600;
    height: 150px;
    margin-top: 30px;
    padding-top: 100px;
}

.hero .container .hero-info h2 {
    color: #000000;
    margin-bottom:25px;
    font-size: 25px;
}
@media (max-width: 768px) {
    .hero .container .hero-title {
        font-size: 35px;
        text-align: center;
    }
    .hero .container .hero-info h2 {
        font-size: 25px;
        text-align: center;
    }
    .hero .container .hero-info p {
        width: 100%;
        text-align: center;
        line-height: 1.5;
        margin-bottom: 20px;
        font-size: 25px;
    }

}
.hero .container .hero-info p {

    font-size: 20px;
    color: #000;
    margin-bottom: 20px;
    line-height: 1.5;
    margin-bottom: 20px;
    width: 90%;
}
.hero .container .social {
    display: flex;

}
.hero .container .social i {
    margin: 5px 10px;
    font-size: 17px ;
    display: flex;
    width: 35px;
    height: 35px;
    justify-content: center;
    background-color: var(--main-color);
    align-items: center;
    color: white;
    border-radius: 50%;
    transition: 0.3s;
    cursor: pointer;
    margin-top: 25px;
}
@media (max-width: 768px) {
    .hero .container .social {

    justify-content: center;

    }
}
.hero .container .hero-info .call{
display: flex;
   justify-content: start;
   margin-top: 15px;
}
@media (max-width: 768px) {
    .hero .container .hero-info .call {
        justify-content: center;
    }
}
.hero .container .hero-info .call button {
    background-color: var(--main-color);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 20px;
    cursor: pointer;
    transition: 0.3s;
    margin: 5px;
    transition: 0.3s;
}
.hero .container .hero-info .call button:hover {
    background-color: #000;
    scale: 1.1;
}


/* end hero style  */
/* start services style */
.services {
    background-color: #eee;
    padding: 50px 0;
}

.section-title {
    text-align: center;
    font-size: 40px;
    color: var(--main-color);
    margin-bottom: 20px;
}

.section-desc {
    text-align: center;
    font-size: 20px;
    color: #000;
    margin-bottom: 30px;
    font-weight: 500;
}

.all-services {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.all-services .service {
    background-color: white;
    padding: 20px;
    text-align: center;
    box-shadow: 0 0 10px #ccc;
    border-radius: 5px;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}
.all-services .service::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 0%;
    background-color: var(--main-color);
}
.all-services .service::after { 
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 2px;
    height: 0%;
    background-color: var(--main-color);
}
.all-services .service:hover::before{
    height: 100%;
    transition: 0.3s;
}
.all-services .service:hover::after{
    height: 100%;
    transition: 0.3s;
}


.all-services .service:hover {
   scale: 1.05;
    box-shadow: 0 0 20px #ccc;
}
.all-services .service img {
    width: 70px;
   margin-bottom: 15px;  
}
.all-services .service h3 {
margin-bottom: 15px;
color: var(--main-color);
}
.all-services .service .taslih {
    margin-top:10px;
}

.all-services .service p {

    line-height: 1.5;
}
/* end services style */

/* start about  us style */
.about-us {
    padding: 70px 0;
}
.about-us .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.about-info,
.about-img {
    width: 48%;
}

.about-us h2 {
color: var(--main-color);
margin-bottom: 20px;
font-size: 30px;
}
.about-us p {
    line-height: 1.9;
    font-size: 18px;
    margin-bottom: 20px;
    
    
}

.about-us .about-call {
background-color: var(--main-color);
    color: white;
    border: none;
 padding: 10px 30px;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
    z-index: 1;
}
@media (max-width: 768px) {
    .about-us .container {
        flex-direction: column;
        text-align: center;
    }
    .about-info,
    .about-img {
        width: 100%;
    }
    .about-us p {
        width: 100%;
    }
    .about-us .about-call {
        margin-bottom: 20px;
    }
}

.about-us .about-call::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: black;
    transition: 0.5s;
    z-index: -1;
}

.about-us .about-call:hover::before {
width: 50%;
}
.about-us .about-call::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0%;
    height: 100%;
    background-color: black;
    transition: 0.5s;
    z-index: -1;
}
.about-us .about-call:hover::after {
width: 50%;
}

.about-us .about-img {
  
    background-color: var(--main-color);

}
.about-us .about-img img {
transform: translate(-10px , -10px);
width: 100%;
}
/* end about style */ 

/* start statics style */
.statics {
    padding: 70px 0;
    background-color: #eee;
    background-image:url(../images/st-bg.jpg) ;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
}
.statics .overlay {
position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);

}   
.statics .container {
 display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;

}
.statics .container .stat {
    background-color: rgba(255, 255, 255, 0.857);
    padding: 20px 0;
    text-align: center;
    box-shadow: 0 0 10px #ccc;
    border-radius: 5px;
    transition: 0.3s;
    border: #000 1px solid;
    height: 150px;
    cursor: pointer;
    align-items: center;
    display: flex;
    justify-content: center;
    flex-direction: column;
    overflow: hidden;
    z-index: 1;
}
.statics .container .stat:hover {
    scale: 1.05;
    background-color: white;
    box-shadow: 0 0 20px #ccc;
}
.statics .container .stat h3 {
    color: var(--main-color);
    font-size: 20px;
    margin-bottom: 10px;
}
.statics .container .stat p {
    font-size: 15px;
    color: #000;
    font-weight: 500;
    line-height: 1.5;
}

/* end statics style */
/* start courses style  */
.courses {
    padding: 70px 0;
    background-color: #eee;
    
}
.courses .all-courses {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}
.courses .all-courses .course {
    background-color: white;
    padding-bottom: 20px;
    text-align: center;
    box-shadow: 0 0 10px #ccc;
    border-radius: 5px;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}
.courses .all-courses .course:hover {
    scale: 1.05;
    box-shadow: 0 0 20px #ccc;
    left: 0;
}

.courses .all-courses .course img {
    width: 100%;
    
}
.courses .all-courses .course .course-title {
    color: var(--main-color);
    font-size: 20px;
    margin-bottom: 10px;
}
.courses .all-courses .course p {
    font-size: 15px;
    color: #000000a6;
    font-weight: 500;
    padding-left: 15px;
    padding-right: 15px;
    line-height: 1.5;
    margin-bottom: 15px;
}
.course-price{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-left: 15px;
    padding-right: 15px;
}
.course-price div :last-child {
    color: var(--main-color);
    font-weight: 700;
    text-decoration: line-through;

}
.course-price :last-child {
    color: var(--main-color);
    font-weight: 700;
    font-size: 20px;
}
hr {
    width:80%;
    transform: translate(-10%);
    border: 1px solid black;
    margin: 15px;
}
.course-details {
    background-color: var(--main-color);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
    margin: 5px;
}
.course-details:hover {
    background-color: #000;
    scale: 1.1;
    
}
.category {
    position: absolute;
    left: 5px;
    top: 7px;
    background-color: var(--main-color);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;

}
.course-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-right: 15px;
}
.course-info i {
    margin-left: 15px;
}

/* :end courses style */

/* <!-- start portfoilo section */
.portfolio {
    padding: 70px 0;
    background-color: #eee;
}

.portfolio .port-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
   
}
.box {
    background-color: white;
    position: relative;
    border: #0000002f 1px solid;
    text-align: center;
    overflow: hidden;
    transition: 0.3s;
    cursor: pointer;
}
.box img {
    width: 100%;
    height: 100%;
}  
.port-container .box .info {
  background-color: rgba(0, 0, 0, 0.562);
  padding: 15px 0;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 100%;
    display: flex;
    justify-content: center;
    display: flex;
    transition: 0.5s;
    flex-direction: column;
}
.port-container .box:hover .info {
    left: 0;
}
.port-container .box .info h3 {
    color: white;
    font-size: 20px;
    margin-bottom: 10px;
}
.port-container .box .info p {
    color: white;
    font-size: 15px;
    margin-bottom: 15px;
    
}
.project-link {
    background-color: var(--main-color);
    color: white;
    font-size: 13px;
    cursor: pointer;
    transition: 0.3s;
    width: 70%;
    padding: 10px 20px;
    border-radius: 5px;
    border: none;
    margin: 0 auto;
}
/* <!-- end portfoilo section  */

/* <!-- start team section  --> */

.our-team {
    padding: 70px 0;
    background-color: #eee;
}
.our-team .team-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}
.team-box {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    transition: 0,4s;
    cursor: pointer;
    box-shadow: 0 0 10px #ccc;
}
.team-box:hover {
transform: translateY(-10px);
    box-shadow: 0 0 20px #ccc;
    transition: 0.3s;

}


.img-social {
    display: flex;
    justify-content: space-between;
}
.img-social .social {
    display: flex;
    justify-content: center;
    flex-direction: column;
    margin-right: 5px;

}
.img-social .social i {
    margin: 8px;
    font-size: 17px ;
    display: flex;
    width: 35px;
    height: 35px;
    justify-content: center;
    background-color: var(--main-color);
    align-items: center;
    color: white;
    border-radius: 50%;
    transition: 0.3s;
    cursor: pointer;
}
.img-social img {
    width: 80%;   
   
}
.team-info  {

    display: flex;
    flex-direction: column;
    padding: 15px ;
    text-align: center;
}
.team-info h3 {
    color: var(--main-color);
    font-size: 20px;
    margin-bottom: 10px;
}
.team-info p {
    font-size: 15px;
    color: #000;
    font-weight: 500;
    line-height: 1.5;
}

        
/* <!-- end team section  --> */

/* start skills section  */
.our-skills {
    padding: 70px 0;
    background: url(../images/background.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    

}
.our-skills .container {
    display: flex;
    justify-content: space-between;
}
.skills-info, 
.skills-img {
    width: 45%;
}
@media (max-width: 768px) {
    .our-skills .container {
        flex-direction: column-reverse;
        
    }
    .skills-info, 
    .skills-img {
        width: 100%;
    }
}
.skills-img img {
    width: 100%;
    border-radius: 10px;
}

.count {
    display: flex;
    margin-bottom: 5px;
    justify-content: space-between;
}
.count :last-child {
    font-weight: 700;
    font-size: 16px;
    border: 1px solid rgba(0, 0, 0, 0.361);
    padding: 2px 3px;
    border-radius: 2px;

}
.progress .prog {
    width: 100%;
    height: 30px;
    background-color: rgba(0, 0, 0, 0.498);
    border-radius: 5px;
    position: relative;
    overflow: hidden;
    margin-bottom: 15px;
}
.progress .prog span {
    position: absolute;
    transition: 0.5s;
    height: 100%;
    background-color: var(--main-color);
    cursor: pointer;    
}
.progress .prog span:hover {
    width: 100% !important; 
    

}
/* end skills section  */


/* start price style */

.pricing-section {
    padding: 70px 0;
    background-color: #eee;
}

.pricing-section .container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.plan {
    background-color: white;
    text-align: center;
    transition: 0.3s;
    cursor: pointer;
    padding: 25px 15px 25px 15px;
    overflow: hidden;
    position: relative;
    z-index: 1;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.plan:hover {
    scale: 1.04;
}


.plan:nth-child(1)::before,
.plan:nth-child(2)::before {
    content: 'عرض خاص';
    color: white;
    justify-content: center;
    align-items: center;
    display: flex;
    position: absolute;
    width: 200px;
    height: 40px;
    background-color: #00bcd4; 
    top: 10px;
    left: -70px;
    transform: rotate(-45deg);
    z-index: -1;
}

.plan .plan-title {
    color: var(--main-color);
    font-size: 20px;
    margin-top: 5px; 
    margin-bottom: 15px;
}

.plan .price p:first-child {
    font-size: 35px;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--main-color);
}

.plan .price p:last-child {
    font-size: 18px;
    font-weight: bold;
}

.plan ul {
    padding: 15px;
    text-align: right;
}

.plan ul li {
    font-size: 18px;
    padding: 15px;
    padding-right: 25px;
    border-bottom: 1px solid #ccc;
    position: relative;
}

.plan ul li::before {
    content: '✓';
    color: var(--main-color);
    font-size: 20px;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    position: absolute;
}

.plan ul li:hover {
    background-color: #eee;
    transition: 0.3s;
}

.plan-btn {
    background-color: var(--main-color);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 15px;
}

.plan-btn:hover {
    background-color: #000;
    scale: 1.1;
}

/* end price style */



/* start testimonials style  */
.testimonials {
    padding: 70px 0;
    background-color: white;
}
.testimonials .container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
}
.testimonials .container .testimonial {
    background-color: #eee;
    position: relative;
    cursor: pointer;
    padding: 20px;
    border-radius: 5px;
    transition: all 0.3s;
    position: relative;
    margin-top: 30px;
}
.testimonials .container .testimonial::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 3px;
    height: 0;
    background-color: var(--main-color);
}
.testimonials .container .testimonial:hover::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 0;
    background-color: var(--main-color);
}
.testimonials .container .testimonial:hover::before {
    height: 100%;   
    transition: 0.3s;
    
}
.testimonials .container .testimonial:hover::after{
    height: 100%;
    transition: 0.3s;
    
}
 
.testimonials .container .testimonial:hover {
    scale: 1.05;

}
.testimonials .container .testimonial img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: -25px;
    border: 5px solid white;
    box-shadow: 0 0 10px #ccc;
}
.testimonials .container .testimonial h3 {
    color: var(--main-color);
    font-size: 20px;
text-align: center;
    margin-bottom: 10px;
}
.testimonials .container .testimonial .title-testimonial {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 10px;
    margin-top: 20px;
    text-align: center;
}

.testimonials .container .testimonial .stars .fill {
    color: yellow;
    font-size: 20px;
}
.testimonials .review  {
    margin-bottom: 15px;
     margin-top: 20px;
    font-size: 15px;
}


/* :end testimonials style   */

/* start footer style  */

footer {
    padding-top: 70px ;
    padding-bottom: 40px;
    background-color: rgb(56, 53, 53);
    background-image: url(../images/footerbg.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-top: 5px solid var(--main-color);
}
footer .container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;

}

footer .container .section h2 {
    color: white;

}
@media (max-width: 768px) {  
   footer .container section {
    padding-right: 20px;
    margin-bottom: 20px;
   }
  }
footer .container .section p {
    color: white;
    margin-top: 15px;
    line-height: 1.8;
    width: 90%;
}
footer .container .section a {
    color: white;
    display: block;
    margin-top: 15px;
    transition: 0.3s;
    position: relative;
}
footer .container .section a::after {
    content: "\f0d9";
    position: absolute;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--main-color);
    top: 50%;
    font-size: 20px;
    right: -15px;
    transform: translateY(-50%);

}


footer .container .section a:hover {
    color: var(--main-color);
    padding-right: 5px;
    font-weight: bold;
}
.letter form {
    display: flex;
    flex-direction: column;
    margin: 15px;
}
.letter form input[type="text"],
.letter form input[type="email"] {
    height: 40px;
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 5px;
    caret-color: var(--main-color);
}
.letter form input[type="text"]:focus,
.letter form input[type="email"]:focus {
    outline: none;
    border: 1px solid var(--main-color);
}
.letter form input[type="submit"] {
        background-color: var(--main-color);
        color: white;
        padding: 10px 20px;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        transition: 0.3s;
}
.letter form input[type="submit"]:hover {
    background-color: black;
    border: 1px solid var(--main-color);
    scale: 1.04s;
}
.hr-footer {
    width: 70%;
    margin-top: 35px;
    color: white;

}
.copyright {
    text-align: center;
    color: white;
}
.btn-whatsapp {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s;
    box-shadow: 0 0 3px;
    z-index: 1;
    }

.btn-whatsapp:hover{
    scale: 1.1;
}
.btn-whatsapp i {
    font-size: 35px;
}


/* end footer style  */