@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
*{
    font-family: "Poppins", serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}
:root{
    --white_color:#ffffff;
    --icon_color:#007bff;
    --body_color: #a1e6e7;
    --black_color:#222222;
    --back_about_color:#59ccdf;
    --text_color:#007bff;
}
.dark{
    --white_color:#ffffff;
    --icon_color:rgb(29, 29, 217);
    --body_color: rgb(5, 3, 26);
    --black_color:#222222;
    --back_about_color:rgb(7, 7, 7);
    --text_color:rgb(10, 10, 107);
}

p{
    color: #8a8a8a !important;
}

body{
    background:var(--body_color);
    transition: .3s;
}

.container{
    width: 90%;
    margin: 0 auto;
    max-width: 1350px;
}

.top_section{
    text-align: center;
    margin-top: 100px;
    margin-bottom:60px ;
}
.top_section h2{
    font-size: 30px;
}

/* start header */

header.active{
    background:var(--body_color);
    border-bottom: 1px solid var(--icon_color);
}

.translate{
    position: absolute;
    top: 6.5px;
    left: 18px;
    color:var(--icon_color) !important ;
    font-size: 28px;
    transition: .3s;
}
.translate:hover{
    scale: 1.05;
}
header{
    /* background-color:#a1e6e7; */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    transition: .3s;
    z-index: 999;

}
header nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 40px;
    height: 100%;

}
.logo{
    text-decoration: none;
    color: var(--white_color); 
    text-transform: uppercase;
    font-weight: bold;
    font-size: 30px;
}
header nav .links{
    display: flex;
    gap: 38px;
    color: var(--white_color);}
header nav .links a{
    text-decoration: none;
    color: var(--white_color);    
    transition: .3s;
}
header nav .links a:hover{color: rgb(10, 10, 107);}
.btn{
    padding: 12px;
    background-color:var(--icon_color) ;
    text-decoration: none;
    color: rgb(5, 3, 26);
    border-radius: 10px;
    transition: .3s;
    border: 1px solid var(--icon_color);
}
.btn:hover{
color: var(--white_color);    background: transparent;
}
header .social {
    display: flex;
    gap: 30px;
    
}
header .social a{
    color:var(--icon_color) ;
    font-size: 28px;
    transition: .3s;
}
header .social a:hover{
    scale: 1.1;
}
.sswitch{
    position: absolute;
    top: 16px;
    right: 11px;
}


.switch {
    /* border: 2px solid rebeccapurple; */
    font-size: 17px;
    position: relative;
    display: inline-block;
    width: 3.5em;
    height: 2em;
}
.switch input {
    /* all: unset; */
    opacity: 0;
    width: 0;
    height: 0;
}
.slider {
    background-color: #2185d6;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    cursor: pointer;
    transition: 0.4s;
    border-radius: 30px;
    box-shadow: 0 0 0 rgba(33, 133, 214, 0);
    transition: all 0.4s ease;
}
.slider:hover {
    box-shadow: 0 0 15px rgba(33, 133, 214, 0.5);
}

.slider::before {
    position: absolute;
    content: "";
    height: 1.4em;
    width: 1.4em;
    border-radius: 50%;
    left: 10%;
    bottom: 15%;
    box-shadow: inset 15px -4px 0px 15px #fdf906;
    background-color: #28096b;
    transition: all 0.4s ease;
    transform-origin: center;
  }
  .slider:hover::before {
    transform: rotate(45deg);
  }
  .clouds_stars {
    position: absolute;
    content: "";
    border-radius: 50%;
    height: 10px;
    width: 10px;
    left: 70%;
    bottom: 50%;
    background-color: #fff;
  
    transition: all 0.3s;
    box-shadow:
      -12px 0 0 0 white,
      -6px 0 0 1.6px white,
      0.3px 16px 0 white,
      -6.5px 16px 0 white;
    filter: blur(0.55px);
  }
  .switch input:checked ~ .clouds_stars {
    transform: translateX(-20px);
    height: 2px;
    width: 2px;
    border-radius: 50%;
    left: 80%;
    top: 15%;
    background-color: #fff;
    backdrop-filter: blur(10px);
    transition: all 0.3s;
    box-shadow:
      -7px 10px 0 #fff,
      8px 15px 0 #fff,
      -17px 1px 0 #fff,
      -20px 10px 0 #fff,
      -7px 23px 0 #fff,
      -15px 25px 0 #fff;
    filter: none;
    animation: twinkle 2s infinite;
  }
  .switch input:checked + .slider {
    background-color: #28096b !important;
  }
  .switch input:checked + .slider::before {
    transform: translateX(100%);
    box-shadow: inset 8px -4px 0 0 #fff;
  }
  .switch input:checked + .slider:hover::before {
    transform: translateX(100%) rotate(-45deg);
  }
  @keyframes twinkle {
    0%,
    100% {
      opacity: 1;
    }
    50% {
      opacity: 0.5;
    }
  }
  

/* section-Home */

.Home{
    padding-top: 100px;
    height:100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    
}
.Home .container{
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.Home .info{
    width: 54%;
}

.info h1{
    font-size: 70px;
    color: var(--white_color);    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 15px;
}
.info h1 img{
    width: 50px;
}
.info p{
    font-size: 17px;
    color: var(--white_color);   
    margin-bottom: 38px;
}
.info .containerLinks{
    display: flex;
    justify-content: space-between;
    width: 90%;
}
.info .containerLinks a{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 30px;
    color: var(--white_color);    
    font-size: 20px;
    font-weight: 500;
    text-align: center;
    width: 31%;
    border: 1.5px dashed rgb(255, 255,255);
    border-radius: 10px;
    text-transform: uppercase;
    text-decoration: none;
    transition: 1.1s;
}
.info .containerLinks a:hover{
    scale: 1.1;
    border: 1.2px solid var(--icon_color);
}
.info .containerLinks a span{margin-bottom: 16px;}
.info .containerLinks .icons {
    display: flex;
    justify-content: space-between;
    padding: 10px 20px;
    border: 1.2px solid rgb(255, 255,255,.2);
    border-radius: 37px;
}
.info .containerLinks .icons img{
    width: 42px;
}
.info .icon_about{
    margin: 0 auto;
    width: 82%;
}
.Home .container .img_person{
    width: 35%;
    position: relative;
}
.Home .container .img_person::before{
    content: '';
    position: absolute;
    bottom: 0;
    left: 45%;
    transform: translate(-50%);
    height: 72%;
    width:  95%;
    z-index: -1;
    border-radius: 10px;
    background: rgb(10, 10, 107);
    opacity: .1;
}
.Home .container .img_person img{
    display: block;
    width: 91%;
}

/* section_about */
.About{
    padding: 80px ;
}
.About .container{
    background: var(--back_about_color);
    opacity: .9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 5px;
    padding: 50px;
}
.About .about_texts{
    width: 50%;
}
.About .about_texts h5{
color: var(--white_color);    font-size: 18px;
    text-transform: capitalize;
    
}
.About .about_texts h2{
    font-size: 45px;
    margin-bottom: 20px;
    color: var(--text_color);
}
.About .about_texts h4{
    font-size: 30px;
    margin-bottom: 20px;
color: var(--white_color);
}
.About .about_texts p{
    line-height: 1.8;
    color: #8a8a8a;
}
.About .about_texts ul{
    display: flex;
color: var(--white_color);    margin: 30px 0 20px;
    flex-wrap: wrap;
}
.About .about_texts ul li{
    width: 45%;
    font-weight: bold;
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}
.About .about_texts ul li i{
    color:var(--icon_color) ;
}
.About .container img{
    width: 35%;
}


/* section services */

.services h2{
color: var(--white_color);}
.services span{color:var(--text_color);}
.services .boxs{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.services .boxs .box{
    width: 30%;
    text-align: center;
    padding: 50px 20px;
    border: 2px solid rgb(255, 255, 255, .1);
    border-radius: 10px;
    transition: .3s ease-in-out;
}
.services .boxs .box i{
    color: var(--icon_color);
    font-size: 72px;
    margin-bottom: 30px;
    transition: .3s ;
}
.services .boxs .box h3{
    font-size: 25px;
    margin-bottom: 20px;
color: var(--white_color);}
.services .boxs .box p{
    margin-bottom: 40px;
    font-size: 15px;
    line-height: 1.6;
    color: #8a8a8a;
}
.services .boxs .box:hover i{
    scale: 1.2;
    
}
.services .boxs .box:hover{
    border: 1.6px solid rgb(10, 10, 107);
    
}


/* section projects */
.projects h2{
color: var(--white_color);}
.projects span{color:var(--text_color) ;}

.projects .project_box{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 50px;

}
.projects .project_box img{
    width: 45%;
}
.projects .project_box .text{
    margin-left: 100px;
    width: calc(50%-100px);
}
.projects .project_box .text h4{
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: normal;
    color: var(--text_color);
}
.projects .project_box .text h3 a{
    font-size: 40px;
color: var(--white_color);    transition: .3s;
    text-decoration: none;
}
.projects .project_box .text h3 a:hover{
    color:  var(--icon_color);
}
.projects .project_box .text p{
    margin: 30px 0 50px;
    line-height: 1.8;
    color: #8a8a8a;
}
.projects .project_box.p2{
    flex-direction: row-reverse;
}

/* section-contact */

.contact h2{
color: var(--white_color);}
.contact span{color:var(--text_color) ;}
.contact .top_section{
    margin-bottom: 100px;
}
.contact .soial{
    width: 30%;
}
.contact .soial h2{
color: var(--white_color);    margin-bottom: 42px;
}
.contact .soial .links_soial{
    display: flex;
    flex-direction: column;
}
.contact .soial .links_soial a {
color: var(--white_color);    font-size: 20px;
    margin-bottom: 25px;
    position: relative;
    left: 0;
    transition: .3s;
    text-decoration: none;
}
.contact .soial .links_soial a i{
    color: #ffffff;
    margin-right: 6px;
    width: 45px;
    height: 45px;
    background:var(--icon_color) ;
    text-align: center;
    line-height: 45px;
    border-radius: 5px;
}
.contact .soial .links_soial a:hover{
    left: 15px;
}
.contact .container{
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}
.contact form{
    width:60% ;
    text-align: center;
}
.contact form .inputs_form{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.contact form .inputs_form input,
.contact form .inputs_form textarea{
    border-radius: 5px;
    padding: 20px;
    outline: none;
    background-color:rgb(255, 255,255,.1) ;
color: var(--white_color);    margin-bottom: 30px;
    border: 1px solid #8a8a8a ;
    transition: .3s;
}
.contact form .inputs_form input{width: 40%;}
.contact form .inputs_form textarea{width: 100%;}
.contact form .inputs_form input:focus,
.contact form .inputs_form textarea:focus{
    border-color: var(--icon_color);
}
.contact .btn{
    outline: none;
    padding: 15px 35px;
    font-size: 20px;
    cursor: pointer;
    transition: .3s;
}
.contact .btn:hover{
    scale: 1.1;
}


/* Responsive */

.close_menu,.icon_menu{
    display: none;
}
@media (max-width: 1250px){
    .container{
        width: 90%;
    }
}
@media (max-width:1000px) {
    header nav .links  {
        position: fixed;
        top: 0;
        flex-direction: column;
        width: 400px;
        background:var(--body_color) ;
        left: -400px;
        padding: 50px 0;
        height: 100%;
        border-right:  1px solid #2d2c41;
        text-align: center;
        transition: .3s;
    }
    .sswitch{
        position: absolute;
        top: 50%;
        left:10px ;
    }
    header nav .links.active{
        left: 0;
    }
    .close_menu{
        display: block;
        font-size: 28px;
        position: absolute;
        top: 30px;
        right: 30px;
        color:var(--icon_color) ;
    }
    .icon_menu{
        display: block;
        font-size: 28px;
        color:var(--icon_color) ;
    }


    /* Home */

    .info h1{
        font-size: 65px;
        text-align: center;
    }
    .info p{
        font-size: 14px;
        text-align: center;
        margin: 38px auto;
    }
    .info .containerLinks .icons img{
        width: 44px;
        align-items: center;
    }
    .info .containerLinks .icons{
        padding: 0;
        margin: 0 auto;
    }
    .info .containerLinks a{
        font-size: 18px;
        
    }
    .info .containerLinks{
        margin-left: 25px;
    }

    .Home .container{
        flex-direction: column;
        justify-content: space-evenly;
    }
    .Home .info {
        width: 91%;
    }
    .Home .container .img_person img {
        display: block;
        width: 91%;
        margin: 20px 0;
    }

        /* About */

    .About .container{
        flex-direction: column;
        margin-top: 500px;

    }
    .About .about_texts{
        width: 100%;
        margin-bottom: 49px;
    }
    .About .container img{
        width: 45%;
    }

    /* .services */
    .services .boxs .box{
        width: 45%;
        margin-bottom: 27px;
    }

        /* projects */

    .projects .project_box .text h3 a{
        font-size: 25px;
    }
    .projects .project_box .text h4{
        font-size: 15px;
    }
    .projects .project_box .text p{
        font-size: 12px;
    }
    .projects .project_box .text {
        width: calc(50% - 50px);
        margin-left: 40px;
    }
    
    /* contact  */

    .contact .container{
        flex-direction: column;

    }
    .contact .soial{
        width: 100%;
        margin-bottom: 40px;
    }
    .contact .soial .links_soial{
        flex-direction: row;
        flex-wrap: wrap;
    }
    .contact .soial .links_soial a{
        width:  50%;
        font-size: 19px;
    }
    .contact .soial .links_soial a i{
        width: 35px;
        height: 35px;
        line-height: 35px;
    }

    .contact form{
        width: 80%;
        margin: 0 auto;
    }
    .contact .btn{
        font-size: 16px;
        padding: 13px 27px;
    }
}


@media (max-width:500px){
    .btn{
        padding: 12px 25px;
        font-size: 13px;
    }


    header .social a{
        font-size: 20px;
    }
    header .social{
        gap: 18px;
        align-items: center;
    }
    header .logo{
        font-size: 20px;
    }
    header nav .links{
        width: 100%;
        left: -100%;
    }

    /* Home */

    .info{
        width: 100%;
    }
    .info h1{
        font-size: 29px;
        text-align: center;
    }
    .info p{
        font-size: 10px;
        text-align: center;
        margin: 38px auto;
        width: 100%;
    }
    .info .containerLinks .icons img{
        width: 40px;
        align-items: center;
    }
    .info .containerLinks .icons{
        padding: 0;
        margin: 0 auto;
    }
    .info .containerLinks a{
        font-size: 13px;
        width: 127%;
        margin: 7px 70%;

    }
    .info .containerLinks{
        width: 33%;
        flex-wrap: wrap;
        flex-direction: column;
    }

    .Home .container{
        flex-direction: column;
        justify-content: space-evenly;
    }
    .Home .info {
        width: 100%;
    }
    .Home .container .img_person {
        width: 45%;
        margin: 10px 0;
    }

    /* about */
    .About {
        padding: 30px;
        margin-top: 120px;
    }
    .About .container{
        margin-top: 270px;
    }
    .About .about_texts h2 {
        font-size: 30px;
    }
    .About .about_texts h4 {
        font-size: 20px;
    }
    .About .about_texts p{
        font-size: 13px;
    }
    .About .about_texts ul li {
        width: 100%;
        font-size: 14px;
    }
    .About .container img {
        width: 85%;
    }

    .top_section h2 {
        font-size: 22px;
    }
    .services .boxs .box {
        width: 100%;
    }
    .services .boxs .box i {
        font-size: 63px;
    }



    .projects .project_box,.projects .project_box.p2{
        flex-direction: column;
    }
    .projects .project_box img {
        width: 100%;
        margin-bottom: 28px;
    }
    .projects .project_box .text{
        width: 100%;
        margin-left: 0px;
    }
    .projects .project_box .text p {
        margin: 20px 0 30px;
    }




    .contact .soial .links_soial {
        flex-direction: column;
    }
    .contact .soial .links_soial a {
        width: 100%;
    }
    .contact form .inputs_form input {
        width: 100%;
        padding: 14px 20px;
        margin-bottom: 20px;
    }
    .contact form{
        width: 100%;
    }
}