
  @import url('https://fonts.googleapis.com/css2?family=Alkatra:wght@400;500;600;700&display=swap');

  /* @import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500&display=swap'); */
*{
    margin: 0;
    padding: 0;
    outline: none;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
}


html{
    font-size: 62.5%;
    font-family: 'Alkatra', cursive;
    scroll-behavior: smooth;
}

.nav-bar{
    position: absolute;
    top: 0;
    right: 0;
    opacity: 0;
    margin: .5rem 3rem 0 0;
    animation: moveNavbar 1s .5s forwards;
}

nav .fa-solid{
    display: none;
}

nav ul li{
    display: inline-block;
    list-style: none;
    margin: 1rem 2rem;
}

nav ul li a{
    color: #fff;
    text-decoration: none;
    /* font-family: 'Roboto', sans-serif; */
    font-size: 2rem;
    font-weight: 300;
    position: relative;
}

nav ul li a::after{
    content: '';
    width: 0;
    height: 3px;
    background: #ff004f;
    position: absolute;
    left: 0;
    bottom: -6px;
    transition: .3s;
}
nav ul li a:hover::after{
    width: 100%;
}

/* Header */
.header{
   position: relative; 
   box-shadow: 0.1rem 0.2rem rgba(0,0,0,0.2);
   perspective: 100rem;
   overflow: hidden;
}

.img-wrapper{
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    overflow: hidden;
}

.img-wrapper img{
    width: 100%;
    height: 100vh;
    object-fit: cover;
    opacity: .5;
    animation: scale 25s;
}

.banner{
    position: absolute;
    top: 30%;
    left: 15%;
}

.banner h1{
    font-size: 7rem;
    font-weight: 300;
    color: #fff;
    line-height: 7rem;
    letter-spacing: .2rem;
    text-shadow: 0 .3rem .5rem rgba(0,0,0,0.4);
    opacity: 0;
    animation: moveBanner 1s .5s forwards;
}

.banner p{
    font-size: 2.5rem;
    width: 60%;
    color: #fff;
    letter-spacing: 0.1rem;
    margin-bottom: 3rem;
    text-shadow: 0 .3rem .5rem rgba(0,0,0,0.4);
    opacity: 0;
    animation: moveBanner 1s .7s forwards;
}

.banner button{
    width: 15rem;
    height: 5rem;
    font-family: 'Alkatra', cursive;
    padding: .5rem;
    border: 1px solid #ff004f;
    background-color: #000;
    border: none;
    border-radius: .5rem;
    font-size: 1.5rem;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 0 0.2rem .4rem rgba(0,0,0,0.2) ;
    box-shadow: 0 0.3rem .5rem rgba(0,0,0,0.2) ;
    cursor: pointer;
    opacity: 0;
    animation: moveBanner 1s .9s forwards;
    transition: .4s;
}

.banner button:hover{
    background-color: #ff004f;
}

/* About Us */
.about-us{
    background-color: #f5f5f5;
    padding-bottom: 15rem;
}

.section-header{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 5rem 0 10rem 0;
}

.section-heading{
    font-size: 5rem;
    font-weight: 500;
    color: #4b4b4b;
}

.underline{
    width: 12rem;
    height: .3rem;
    background-color: #c29525;
}

.all-services{
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(16,1fr);
    grid-template-rows: repeat(6,6rem);
    grid-row-gap: 4rem;
}

.service{
    width: 100%;
    margin-bottom: 2rem;
}

.service:nth-child(1){
    grid-column: 4/7;
    grid-row: 1/3;
}

.service:nth-child(2){
    grid-column: 3/6;
    grid-row: 3/5;
}

.service:nth-child(3){
    grid-column: 4/7;
    grid-row: 5/-1;
}

.service:nth-child(4){
    grid-column: 11/14;
    grid-row: 1/3;
}

.service:nth-child(5){
    grid-column: 12/15;
    grid-row: 3/5;
}

.service:nth-child(6){
    grid-column: 11/14;
    grid-row: 5/-1;
}

.service-header{
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.service-header i{
    font-size: 4rem;
    color: #4b4b4b;
    margin-right: 2rem;
}

.service-header h3{
    font-size: 2.5rem;
    line-height: 2.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
}

.service-text {
    font-size: 1.2rem;
    text-align: justify;
}

.about-us-img-wrapper{
    grid-column: 7/11;
    grid-row: 2/6;
}

.about-us-img-wrapper img{
    width: 100%;
    object-fit: cover;
    opacity: 0.8;
}

/* Teams */

.team{
    display: flex;
    background: #eee;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 5rem 10rem 5rem;
}

.cards-wrapper{
    display: flex;
    justify-content: space-evenly;
    width: 100%;
}

.card{
    width: 27rem;
    height: 35rem;
    box-shadow: rgba(0,0,0,0.4);
    border-radius: .5rem;
    position: relative;
}

.card-img-wrapper{
    width: 100%;
    height: 100%;
    background-color: #262626;
    border-radius: .5rem;
}

.card-img-wrapper img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .8;
    border-radius: .5rem;
    transition: .3s;
}

.card:hover .card-img-wrapper img{
    opacity: .5;
}

.card-info{
    position: absolute;
    bottom: 0;
    padding: 2rem;
    text-shadow: 0 .2rem .5rem rgba(0,0,0,0,0.4);
    opacity: 0;
    visibility: hidden;
    transition: all .5s;
}

.card:hover .card-info{
    bottom: 2rem;
    opacity: 1;
    visibility: visible;
}



.card-info h2{
    font-size: 2rem;
    line-height: 2rem;
    font-weight: 300;
    color: #eee;
}

.card-info h3{
    font-size: 1.5rem;
    font-weight: 500;
    color: #ff004f;
    margin-bottom: 1rem;
}

.card-info p{
    font-size: 1rem;
    line-height: 1.4rem;
    font-weight: 300;
    color: #eee;
    width: 90%;
    margin-bottom: 2rem;
}

.card-info button{
    width: 10rem;
    height: 3rem;
    background-color: #ff004f;
    border: none;
    font-size: 1.4rem;
    line-height: 1.4rem;
    color: #eee;
    border-radius: .3rem;
    box-shadow: 0 .1rem .8rem rgba(0,0,0,0,0.4);
    cursor: pointer;
}

/* contact */
.contact{
    position: relative;
    min-height: 100vh;
    padding: 0 10rem 10rem 10rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background: url(./Images/Contact.jpg);
    background-size: cover;
    background-attachment: fixed;
    overflow: hidden;
    background-color: rgba(0,0,0,0,0.4);
}

.contact .content h2{
    color: #f5f5f5;
}
.contact .content p{
    margin-top: 4rem;
    font-size: 2rem;
    font-weight: 300;
    opacity: .8;
    color: #fff;
    text-align: center;
}

.container-contact{
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    /* margin-top: 3rem */
}

.container-contact .contactInfo{
    width: 50%;
    display: flex;
    flex-direction: column;
}

.container-contact .box{
    position: relative;
    padding: 2rem 0;
    opacity: .8;
    display: flex;
}

.container-contact .box .icon{
   min-width: 6rem;
   height: 6rem;
   font-size: 2.2rem;
   background: #fff;
   display: flex;
   justify-content: center;
   align-items: center;
   border-radius: 50%;
}

.container-contact .box .text{
    display: flex;
    margin-left: 2rem;
    font-size: 1.6rem;
    color: #fff;
    flex-direction: column;
    font-weight: 300;
}

.container-contact .box .text h3{
    font-weight: 500;
    color: #ff004f;
}

.contactForm{
    width: 40%;
    padding: 4rem;
    background: #fff;
    border-radius: .5rem;
    opacity: .8;
}

.contactForm h2{
    font-size: 3rem;
    color: #333;
    font-weight: 500;
}

.contactForm .inputBox{
    position: relative;
    width: 100%;
    margin-top: 2.5rem
}

.contactForm .inputBox input,
.contactForm .inputBox textarea{
    width: 100%;
    padding: 1rem 0;
    font-size: 1.6rem;
    border: none;
    border-bottom: 2px solid #333;
}


.contactForm .inputBox span{
    position: absolute;
    left: 0;
    padding: .5rem 0;
    font-size: 1.6rem;
    pointer-events: none;
    transition: .5s;
    color: #666;
}

.contactForm .inputBox input:focus ~ span,.contactForm .inputBox input:valid ~ span,
.contactForm .inputBox textarea:focus ~ span,.contactForm .inputBox textarea:valid ~ span{
    color: #ff004f;
    font-size: 1.2rem;
    transform: translateY(-2rem);
}

.contactForm .inputBox input[type="submit"]{
    width: 10rem;
    background: #000;
    color: #fff;
    border: none;
    cursor: pointer;
    padding: 1rem;
    font-size: 1.5rem;
    border-radius: .5rem;
    transition: .3s;
}

.contactForm .inputBox input[type="submit"]:hover{
    background: #ff004f;
}

/* Footer */

.footer{
    padding-top: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* background: #000; */
}

.footer .sm{
    display: flex;
    text-align: center;
    padding: 2.5rem;
    color: #4b4c4d;
}

.footer .sm a{
    font-size: 2.4rem;
    margin-right: 2rem;
    border-radius: 50%;
    border: 1px solid #ccc;
    width: 4rem;
    text-align: center;
    height: 4rem;
    opacity: .75;
    line-height: 3.8rem;

}

.footer .sm a:hover{
    color: #ff004f;
    opacity: 1;
}

.copyright{
    font-size: 1.8rem;
    color: #666;
}

/* GoTop */

.goTop{
    position: fixed;
    bottom: 3.5rem;
    right: 3.5rem;
    width: 6rem;
    height: 6rem;
    border: none;
    cursor: pointer;
    height: 4rem;
    width: 4rem;
    visibility: visible;
    opacity: 1;
    transition: .4s;
    z-index: 9999;
}


.goTop:hover{
    background-color: #ff004f;
    color: #fff;
}

/* Keyframes */

@keyframes scale{
    0%{
        transform: scale(1.3);
    }
    100%{
        transform: scale(1);
    }
}

@keyframes moveBanner {
    0%{
        transform: translateY(40rem)rotateY(-20deg);
    }
    100%{
        transform: translateY(0)rotateY(0);
        opacity: 1;
    }
    
}

@keyframes moveNavbar{
    0%{
        transform: translateX(40rem)rotateX(-20deg);
    }
    100%{
        transform: translateX(0)rotateX(0);
        opacity: 1;
    }
    
} 


/* Media query */

@media (max-width:1500px) {
    .about-us-img-wrapper{
        grid-row: 3/1;
    }
    .card{
        width: 35rem;
        height: 45rem;
    }
}

@media (max-width:1400px) {
    .banner h1{
        font-size: 6rem;
        line-height: 7rem;
    }
    .banner p{
        font-size: 3rem;
    }
    .banner button{
        width: 20rem;
        height: 5rem;
        font-size: 1.6rem;
    }
    .service:nth-child(1){
        grid-column: 3/7;
    }
    
    .service:nth-child(2){
        grid-column: 2/6;
    }
    
    .service:nth-child(3){
        grid-column: 3/7;
    }
    
    .service:nth-child(4){
        grid-column: 11/15;
    }
    
    .service:nth-child(5){
        grid-column: 12/16;
    }
    
    .service:nth-child(6){
        grid-column: 11/15;
    }
}

@media (max-width:1300px){
    .team{
        padding-bottom: 5rem;
    }

    .cards-wrapper{
        flex-direction: column;
        align-items: center;
        margin-top: 4rem;
    }

    .card{
        margin-bottom: 8rem;
    }
} 

@media (max-width:1000px){
    .banner h1{
        font-size: 5rem;
        line-height: 6rem;
    }

    .banner p{
        font-size: 2.5rem;
    }

    .banner button{
        width: 18rem;
        height: 4rem;
        font-size: 1.5rem;
    }

    .all-services{
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .service{
        width: 40rem;
        margin-bottom: 6rem;
    }

    .about-us-img-wrapper{
        width: 40rem;
    }

    .about-us-img-wrapper img {
        width: 100%;
    }

    .contact{
        background-position: center;
    }

    .container-contact{
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 4rem;
    }
    .contactInfo{
        width: 80%;
    }
    .box p{
        font-size: 2rem;
    }
    .contactForm{
        width: 80%;
        margin-top: 8rem;
    }
}

@media (max-width:700px){
    .banner h1{
        font-size: 4rem;
        line-height: 5rem;
    }

    .banner p{
        font-size: 2rem;
    }

    .container-contact{
        max-width: 55rem;
    }
}

@media (max-width:550px) {
    html{
        font-size: 45%;
    }
    .contactForm{
        max-width: 55rem;
    }
}

@media (max-width:400px){

    .banner h1, .banner p{
        width: 90%;
    }
    .contactForm{
        min-width: 34rem;
    }
}

