
/* colors */

:root{
    --primary-color: #387fd8;
    --secondary-color: #32414f;
    --light-color: #e1eeff;
}

/* main rules */

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
}

body{
    overflow: hidden;
}

a{
    text-decoration: none;
}

ul{
    list-style: none;
}

/* preloader */

.loader-container{
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    background-color: #FFF;
}

.loader{
    display: table;
    margin: 45vh auto 0;
}

.loader-dot{
    background-color: var(--primary-color);
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: inline-block;
    margin: 0.5rem;
    animation-name: dot,fade;
    animation-duration: 1.5s;
    animation-iteration-count: infinite;
    transform: scale(0);
}

.loader-dot:first-of-type{
    animation-delay: 0.1s;
}

.loader-dot:nth-of-type(2){
    animation-delay: 0.3s;
}

.loader-dot:last-of-type{
    animation-delay: 0.5s;
}

@keyframes dot{
    0%, 80%, 100% {transform: scale(0);}
    40% {transform: scale(1);}
    /* 100% {transform: scale(0);} */
}

@keyframes fade{
    0% {opacity: 0.7;}
    50% {opacity: 0.85;}
    100% {opacity: 1;}
}

/* end preloader */



/* menu */
header{
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
}

header nav{
    position: relative;
}

header nav .progress-bar{
    height: 1px;
    width: 100%;
    position: absolute;
    top: 50%;
    z-index: -1;
}

nav .progress-bar>div{
    width: 100%;
    height: 1px;
}

nav .progress-bar .back{
    background-color: #32414f;
    opacity: 0.5;
    position: absolute;
}

nav .progress-bar .bar{
    background-color: #387fd8;
    opacity: 0.8;
    height: 2px;
    width: 0%;
    position: absolute;
}

header nav ul.menu{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 0;
    /* transition: all 0.7s ease-in-out; */
}

header nav ul.menu li{
    margin: 0 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #FFF;
    border-radius: 2rem;
}

header nav ul.menu li.logo a img{
    height: 5.5rem;
    padding-top: 0.4rem;
    /* transition: all 0.7s ease-in-out; */
}

header nav ul.menu li.logo a{
    display: flex;
    align-items: center;
}

header nav ul.menu li.logo a .logo-name{
    display: none;
    margin-left: 0.5rem;
    font-size: 2rem;
    font-family: 'Poppins';
}

header nav ul.menu li a{
    color: #32414f;
    font-family: 'Cairo';
    font-size: 1.4rem;
    margin: 0 0.5rem;
    transition: color 0.2s ease-in-out;
}

header nav ul.menu li a:hover{
    color: #387fd8;
}

header nav ul.menu li:before,
header nav ul.menu li:after{
    content: '\f111';
    font-family: 'Font Awesome 5 Free';
    font-size: 0.6rem;
    color: #32414f;
    padding-top: 0.2rem;
    opacity: 0.5;
}

header.scrolled{
    box-shadow: 8px 8px 10px rgb(0, 0, 0, 0.06);
    animation-name: fadebottom;
    animation-duration: 0.5s;
    transform: translateY(0);
}

header.scrolled{
    background-color: #fff;
}

header.scrolled nav ul.menu li{
    background-color: #fff;
}

header nav ul.menu li{
    background-color: #00111b;
}

header.scrolled nav ul.menu li a{
    color: #32414f;
}

header nav ul.menu li a{
    color: #FFF;
}

header.scrolled nav ul.menu li:before,
header.scrolled nav ul.menu li:after{
    color: #32414f;
}

header nav ul.menu li:before,
header nav ul.menu li:after{
    color: #FFF;
}

nav .progress-bar .back{
    background-color: #FFF;
    opacity: 0.25;
}

header.scrolled nav .progress-bar .back{
    background-color: #32414f;
    opacity: 0.25;
}



@keyframes fadebottom {
    from {transform: translateY(-4rem);}
    to   {transform: translateY(0rem);}
}

header.scrolled nav ul.menu li.logo a img{
    height: 3rem;
    /* transition: all 0.7s ease-in-out; */
}

header.scrolled nav ul.menu{
    padding: 0.5rem 0;
    /* transition: all 0.7s ease-in-out; */
}

/* main */

/* intro */
section.intro{
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-image: url("../images/back2.jpg");
    background-position: top;
    background-size: cover;
    background-repeat: no-repeat;
}

section.intro .title{
    position: relative;
}

section.intro h1.slogan{
    font-size: 4.5rem;
    font-family: 'Tajawal';
    font-weight: bold;
    color: #FFF;
    margin-bottom: 1.5rem;
    text-align: center;
}

section.intro h1.slogan span{
    color: #387fd8;
}

section.intro p.desc{
    font-size: 1.7rem;
    line-height: 2.5rem;
    font-family: 'Cairo';
    color: #FFF;
    text-align: center;
}


/* fixed side */
.fixed-side{
    position: fixed;
    bottom: 0;
    left: 0;
}

.fixed-side .social-links{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 1.5rem;
}

.fixed-side .social-links:after{
    content: '';
    height: 15vh;
    width: 1px;
    margin-top: 0.5rem;
    border-radius: 1rem;
    background-color: #fff;
    opacity: 0.3;
}

.fixed-side .social-links a{
    font-size: 1.5rem;
    margin: 0.5rem 0;
    color: #FFF;
    transition: color 0.2s ease-in-out;
}

.fixed-side.scrolled .social-links a{
    color: #32414f;
}

.fixed-side.scrolled .social-links:after{
    background-color: #32414f;
}

.fixed-side .social-links a.facebook:hover{
    color: #1d77e4;
}

.fixed-side .social-links a.instagram:hover{
    color: #eb2779;
}

.fixed-side .social-links a.twitter:hover{
    color: #77b4ff;
}

.fixed-side .social-links a.youtube:hover{
    color: #ff4040;
}

.fixed-side .social-links a.linkedin:hover{
    color: #295891;
}

.fixed-side .social-links a.whatsapp:hover{
    color: #42c749;
}

.intro-actions{
    margin-top: 3rem;
}

.intro-actions a{
    font-size: 1.2rem;
    font-family: 'Cairo';
    background-color: #318f8f;
    color: #FFF;
    padding: 0.25rem 2rem;
    border-radius: 1rem;
}
.arrow{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #FFF;
    position: absolute;
    bottom: 3vh;
    font-size: 1.1rem;
}

.arrow span{
    padding-bottom: 4rem;
    font-family: 'Tajawal';
    font-weight: bold;
}

.arrow i{
    position: absolute;
    font-size: 2rem;
    animation-name: arrow;
    animation-duration: 1s;
    animation-iteration-count: infinite;
}

@keyframes arrow{
    0%   {padding-top: 0;}
    50%  {padding-top: 0.5rem;}
    100% {padding-top: 0;}
}

/* our-vision */
section.our-vision{
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: #FFF;
    padding: 6rem 15% 2rem;
}

.our-vision .showcase{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5rem;
}

.our-vision .showcase:nth-of-type(even){
    flex-direction: row-reverse;
}

.our-vision .showcase>div.image{
    width: 48%;

}

.our-vision .showcase>div.content{
    width: 48%;

}

.our-vision .showcase .image img{
    width: 100%;
    border-radius: 1rem;
    object-fit: cover;
    object-position: left;
    height: 22vw;
    min-height: 15rem;
}

.our-vision .showcase .content h2.title{
    font-size: 2.7rem;
    font-family: 'Tajawal';
    font-weight: bold;
    color: #32414f;
    margin-bottom: 1.5rem;
    padding-right: 10px;
    border-right: 7px solid #387fd8;
}

.our-vision .showcase .content p.desc{
    font-size: 1.4rem;
    line-height: 2.4rem;
    font-family: 'Cairo';
    color: #32414f;
    margin-bottom: 1.5rem;
}

.our-vision .showcase .content p.hint{
    font-size: 1.15rem;
    line-height: 1.6rem;
    font-family: 'Tajawal';
    /* font-style: italic; */
    color: #4f5a66;
    margin-bottom: 1.5rem;
}

.our-vision .process-steps{
    margin-top: 5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.our-vision .process-steps h2.title{
    font-size: 2.7rem;
    font-family: 'Tajawal';
    font-weight: bold;
    color: #32414f;
    margin-bottom: 1.5rem;
}

.our-vision .process-steps h2.title span{
    color: #1d77e4;
}

.our-vision .process-steps p.desc{
    font-size: 1.2rem;
    line-height: 2rem;
    font-family: 'Cairo';
    color: #32414f;
    margin-bottom: 1.5rem;
    text-align: center;
}

.process-steps .steps{
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.process-steps .steps .step{
    width: 15.5%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    border-radius: 1rem;
    background-color: #eff6fe;
    margin-bottom: 1rem;
    padding: 2rem 1rem;
}

.process-steps .steps .step .icon i{
    color: #1d77e4;
    font-size: 2.5rem;
    margin-bottom: 1.4rem;
}

.process-steps .steps .step .name{
    color: #32414f;
    font-size: 1.4rem; 
    font-family: 'Tajawal';
}


/* services */

section.services{
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 6rem 15% 2rem;
}

.services h2.title{
    font-size: 2.7rem;
    font-family: 'Tajawal';
    font-weight: bold;
    color: #32414f;
    margin-bottom: 1.5rem;
}

.services h2.title span{
    color: #1d77e4;
}

.services p.desc{
    font-size: 1.2rem;
    line-height: 2rem;
    font-family: 'Cairo';
    color: #32414f;
    margin-bottom: 1.5rem;
    text-align: center;
}

.services .content{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    margin-top: 2rem;
}

.services .content .service{
    width: 32%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: #eef6ff;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 1rem;
}

.services .content .service .name{
    color: #32414f;
    font-size: 1.3rem; 
    line-height: 1.8rem;
    font-family: 'Tajawal';
    text-align: center;
    margin-bottom: 1rem;
}

.services .content .service .icon{
    width: 50%;
    margin-bottom: 1.5rem;
}

.services .content .service .icon img{
    width: 100%;
}

/* portfolio */

section.portfolio{
    min-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 6rem 15% 2rem;
}

.portfolio h2.title{
    font-size: 2.7rem;
    font-family: 'Tajawal';
    font-weight: bold;
    color: #32414f;
    margin-bottom: 1rem;
}

.portfolio h2.title span{
    color: #1d77e4;
}

.portfolio p.desc{
    font-size: 1.2rem;
    line-height: 2rem;
    font-family: 'Cairo';
    color: #32414f;
    margin-bottom: 1.5rem;
    text-align: center;
}

.portfolio .content{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    margin-top: 2rem;
}

.portfolio .content .portfolio-item{
    width: 32%;
    height: 16vw;
    min-height: 15rem;
    border-radius: 1rem;
    position: relative;
    cursor: pointer;
	margin-bottom: 2rem;
}

.portfolio .content .portfolio-item:hover > a{
    opacity: 1;
}

.portfolio .content .portfolio-item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1rem;
}

.portfolio .content .portfolio-item a{
    width: 100%;
    height: 100%;
    position: absolute;
    background-color: rgba(58, 81, 109, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: #FFF;
    padding: 1rem;
    opacity: 0;
    border-radius: 1rem;
    transition: all 0.3s ease-in-out;
}

.portfolio .content .portfolio-item a i{
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.portfolio .content .portfolio-item a .name{
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-family: 'Tajawal';
    text-align: center;
}

.portfolio .content .portfolio-item a .description{
    font-size: 1.1rem;
    font-family: 'Cairo';
    text-align: center;
    line-height: 1.8rem;
}

section.contact{
    min-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 6rem 15% 2rem;
}


.contact h2.title{
    font-size: 2.7rem;
    font-family: 'Tajawal';
    font-weight: bold;
    color: #32414f;
    margin-bottom: 1rem;
}

.contact h2.title span{
    color: #1d77e4;
}

.contact p.desc{
    font-size: 1.2rem;
    line-height: 2rem;
    font-family: 'Cairo';
    color: #32414f;
    margin-bottom: 3.5rem;
    text-align: center;
}

.contact .content{
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: row-reverse;
    width: 100%;
    margin-bottom: 3rem;
}

.contact .info{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    margin-top: 1rem;
    width: 49%;
}

.contact .info img{
    width: 18rem;
}

.contact .info p{
    font-size: 1.6rem;
    font-family: 'Tajawal';
    font-weight: bold;
    color: #32414f;
    margin-top: 1.3rem;
    margin-bottom: 2rem;
}

.contact .actions{
    width: 49%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.contact .contact-card{
    width: auto;
    background-color: #1d77e4;
    color: #FFF;
    padding: 0.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    position: relative;
    border-radius: 2rem;
}

.contact .contact-card .icon{
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1d77e4;
    background-color: #FFF;
    font-size: 1.3rem;
    font-weight: bold;
    border-radius: 10rem;
}

.contact .contact-card .text{
    flex-grow: 1;
    text-align: center;
    color: #FFF;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 10rem;
    padding: 0 1rem;
    line-height: 2rem;
    font-family: 'Poppins', 'Tajawal';
}

.contact .contact-card.whatsapp{
    background-color: #21c271;
    color: #FFF;
}

.contact .contact-card.whatsapp .icon{
    color: #21c271;
    background-color: #FFF;
}



/* footer */

footer{
    width: 100%;
    background-color: #32414f;
    padding: 2rem;
}

footer p{
    font-size: 1.2rem;
    line-height: 2rem;
    font-family: 'Tajawal';
    color: #FFF;
    text-align: center;
}

/* responsive */

@media only screen and (max-width: 1200px){
    section.our-vision,
    section.services,
    section.portfolio,
    section.contact{
        padding: 6rem 7% 2rem;
    }

    .service{
        width: 49% !important;
    }
}

@media only screen and (max-width: 1000px){
    .showcase{
        flex-direction: column !important;
        width: 100%;
    }
    .showcase>div{
        width: 100% !important;
        margin-bottom: 2rem;
    }
}

@media only screen and (max-width: 850px){

    .portfolio .content{
        flex-direction: column !important;
        width: 100%;
    }

    .portfolio-item{
        width: 60% !important;
        margin-bottom: 2rem;
    }

    .fixed-side{
        position: relative;
    }

    .fixed-side .social-links{
        flex-direction: row !important;
        margin-top: 1rem;
    }
    
    .fixed-side .social-links:after{
        display: none;
    }

    .fixed-side .social-links a{
        margin: 0.5rem;
        font-size: 1.8rem;
    }

    .contact .content{
        flex-direction: column !important;
    }

    section.intro h1.slogan{
        font-size: 3.5rem !important;
    }

    section.intro p.desc{
        font-size: 1.4rem !important;
    }
    
}

@media only screen and (max-width: 750px){
    .menu-item {
        display: none !important;
    }
    .menu-item.logo{
        display: flex !important;
    }
    
    .process-steps .steps .step{
        width: 49%;
    }
    
    .services .content{
        justify-content: center;
    }
    
    .services .content .service{
        width: 90% !important;
    }
    
    .portfolio-item{
        width: 100% !important;
    }
    
    section{
        min-height: auto !important;
        padding: 2rem 5% 2rem !important;
    }
    
    .intro{
        min-height: 100vh !important;
    }
    
    .our-vision .process-steps{
        margin-top: 2rem;
    }
    
    .contact .info {
        width: 100%;
    }
    
    .contact .actions {
        width: 100%;
    }
    
    section.intro h1.slogan {
        font-size: 2.2rem !important;
    }
    
    section.intro p.desc {
        font-size: 1.1rem !important;
        line-height: 2rem;
    }
    
    .our-vision .showcase .content p.desc{
        text-align: center;
    }
    
    header.scrolled nav ul.menu li.logo a .logo-name{
        display: inline;
    }

    footer p{
        font-size: 1rem;
    }

    .our-vision .showcase {
        margin-bottom: 1rem !important;
    }

    .our-vision .showcase .content p.desc {
        margin-bottom: 1rem;
        text-align: justify;
    }

    .our-vision .showcase .content p.hint {
        text-align: justify;
    }

    .our-vision .process-steps p.desc {
        text-align: justify;
    }

    .process-steps .steps .step {
        margin-bottom: 0.5rem;
    }
}

@media only screen and (max-width: 450px){
    .arrow span{
        display: none !important;
    }
    .arrow {
        bottom: 6vh;
    }
}