*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

*:focus {
  background-color: transparent;
  outline: none;
}



:root{
    font-size: 62.5%;
    --clr1:#af8af4;
    --clr2:#6f2deb;
    --clr3:rgb(30, 3, 73);
    --clr4:#1c1c1c;
    --input:#333;
}

html{
    scroll-behavior: smooth;
}


body{
    min-height: 100vh;
    width: 100%;
    color: white;
    font-family:montserrat,sans-serif;
}

a{
    text-decoration: none;
    color: white;
}

h2{
    font-size: 4.8rem;
    font-weight: normal;
}


section{
    width: 100%;
   line-height: 1.5;
}

.innerWrap{
    max-width: 100rem;
    margin: 0 auto;
    min-height: 100vh;
    height: 100%;
    display: flex;
    flex-direction: column;
}

#main .innerWrap{
    min-height: 0;
}

#main{
    background-image: linear-gradient(rgba(0,0,0,0.8),rgba(0,0,0,0.5)), url('images/mainImg.jpg');
    background-position: top;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 100vh;
    max-height: 100vh;
    margin-top: 9rem;
}

#main nav{
       display: flex;
        align-items: center;
        padding: 1rem 2rem;
       max-width: 100rem;
       margin: 0 auto;
}

.navWrap{
     position: fixed;
        width: 100%;
        z-index: 100;
        top: 0;
        left: 0;
        background-color: var(--clr3);
}

#main nav .links{
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.links a{
    font-size: 1.5rem;
    position: relative;
    font-weight: bold;
}

.links a::after{
    content: '';
    background-color: white;
    width: 100%;
    height: 0.1rem;
    position: absolute;
    bottom: -0.2rem;
    left: 0;
    transform: scale(0);
    transform-origin: left;
    transition: all 0.2s ease-in-out;
}


.links a:hover::after{
    transform: scale(1);
}

nav img{
    width: 8rem;
    object-fit: cover;
    margin-right: 2rem;
}

nav h3{
    font-size: 2rem;
}

.hero{
    /* padding: calc(20% + 9rem) 5%; */
    flex: 1;
    gap: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero p {
    font-size: 2.5rem;
    letter-spacing: 0.1rem;
}

.hero h1 {
    font-size: clamp(3.5rem,10vw,5rem);
    letter-spacing: 0.2rem;
    margin-left: 2rem;
}

.action{
    margin-left: auto;
    display: flex;
    gap: 2rem;
    margin-top: 10%;
}

.action a{
    --btnColor: var(--clr1);
    background-color: var(--btnColor);
    font-size: 1.5rem;
    padding: 1.5rem 2.5rem;
    border-radius: 0.2rem;
    font-weight: 700;
    transition: all 0.2s ease-in-out;
}

.action a:hover{
    background-color: white;
    color: var(--btnColor);
}

.action a:last-of-type{
    --btnColor:var(--clr2)
}


#aboutUs{
    background-color: var(--clr3);
}

#aboutUs .innerWrap{
 justify-content: center;
 gap: 3rem;
}



#aboutUs p,.whatWeDo-content p{
    font-size: 2.5rem;
}

#whatWeDo{
    background-color: var(--clr2);
}

#whatWeDo .innerWrap{
    padding: 5% 0;
    gap: 5rem;
}

#whatWeDo h5{
    color: var(--clr1);
    font-size: 1.8rem;
    font-weight: 300;
}

.whatWeDo-content{
    display: flex;
    gap: 5rem;
    font-size: 1.8rem;
}

.whatWeDo-image{
    width: 50%;
}

.whatWeDo-content:nth-child(3){
    margin-top: 2rem;
}

.whatWeDo-content:nth-child(3) .whatWeDo-image{
    order: 2;
}


.whatWeDo-content p{
    width: 100%;
}

.whatWeDo-content img{
    width: 100%;
    border-radius: 0.2rem;
    object-fit: cover;
}







#contactUs{
    background-color: var(--clr3);
    padding: 5rem 0;
    
}

#contactUs .innerWrap{
    justify-content: center;
    align-items: center;
    min-height: max-content;
}

#contactUs h2{
    font-size: 3.6rem;
}

form{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-direction: column;
    margin-top: 5rem;
    width: clamp(25rem,40%,40rem);
}

form input,form textarea{
    font-family:montserrat,sans-serif;
    width: 100%;
    padding: 1rem;
     font-size: 1.8rem;
     color: #bbb;
     border: none;
     outline: none;
     background-color: var(--input);
}

form input::placeholder,form textarea::placeholder{
    color: #bbb;
}

form input:focus,form textarea:focus{
    background-color: var(--input);
}

form textarea{
    resize: none;
    min-height: 10rem;
}

form button{
    padding: 1rem 2rem ;
    color: white;
    background-color: var(--clr2);
    border: none;
    outline: none;
    border-radius: 0.2rem;
    font-size: 2rem;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
}

form button:hover{
    background-color: white;
    color: var(--clr2);
}

footer{
    background-color: var(--clr4);
}

.innerFooter{
    display: flex;
    max-width: 100rem;
    margin: 0 auto;
    padding: 5% 0;
    padding-bottom: 6%;
    justify-content: space-between;
}

.leftFoot{
    display: flex;
    gap: 5rem;
}

.leftFoot img{
    object-fit: cover;
    width: 10rem;
    height: 8rem;
}

.footer-content{
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 1.8rem;
    line-height: 3rem;
}

.footer-content h6{
     font-size: 1.8rem;
}

.rightFoot{
    padding-top: 1rem;
    display: flex;
    gap: 1rem;
}

.social{
    background-color: var(--clr2);
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
    width: 3rem;
    height: 3rem;
    display: grid;
    place-items: center;
     transition: all 0.2s ease-in-out;
    cursor: pointer;
}

.social:hover{
     background-color: white;
    color: var(--clr2);
}


.animate-section.animate-section-visible {
  opacity: 1;
  animation: fadeIn 0.5s ease-out forwards;
}





@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}


.what2small{
        display: none;
 }







@media only screen and (max-width: 1050px) {


    #main{
        min-height: 0;
        max-height: unset;
    }

   section,footer{
           padding: 0 10vw;
   }

   nav h3{
    font-size: 1.5rem;
   }

   #aboutUs{
    padding: 5% 10vw;
   }

   h2{
    font-size: 3.5rem;
   }

   .footer-content{
    line-height: normal;
    }
   
}

@media only screen and (max-width: 900px) {
   .whatWeDo-content{
     flex-direction: column;
     gap: 1rem;
   }

   .whatWeDo-image,.whatWeDo-placeholder,.whatWeDo-content p{
     width: 100%;
   }

   .links a{
        font-size: 1.2rem;
    }

   /* #main,.hero,#main .innerWrap{
        min-height: 75vh;
    } */

    /* .hero{
        padding: 5%;
        padding-top: 15%;
    } */

    .whatWeDo-content{
        gap: 2rem;
    }



    #whatWeDo .innerWrap{
        gap: 3rem;
    }
   
    h2{
    font-size: 3rem;
   }
}

@media only screen and (max-width: 800px) {
  nav h3{
            display: none;
   }

   .footer-content h6,.footer-content{
        font-size: 1.4rem;
    }

    /* #main,.hero,#main .innerWrap{
        min-height: 65vh;
    } */

    
}

@media only screen and (max-width: 750px) {
    /* #main,.hero,#main .innerWrap{
        min-height: 60vh;
    } */

    h2{
    font-size: 2.5rem;
   }
}

@media only screen and (max-width: 630px) {

     /* #main,.hero,#main .innerWrap{
        min-height: 40rem;
        background-size: 100% calc(100% - 8.4rem);
    } */

    /* .hero{
        padding-top: 13rem;
        padding-bottom: 5rem;
    } */

    #main{
        margin-top: 8.4rem;
    }

   .hero h1{
    font-size: 3.3rem;
   }

   h2{
    font-size: 4.2rem;
   }

   .innerWrap{
    min-height: max-content;
   }

   .hero p{
    font-size: 2rem;
   }

   .action a{
    padding: 1rem 1.5rem;
    font-size: 1.8rem;
   }

   .leftFoot{
    gap: 2rem;
   }

   .leftFoot img,nav img{
    width: 7rem;
    height: 6rem;
    }

    .footer-content h6,.footer-content{
        font-size: 1rem;
    }

    .links a{
        font-size: 1rem;
    }

    #aboutUs p,.whatWeDo-content p {
        font-size: 1.8rem;
    }
}

@media only screen and (max-width: 475px) {
    .hero h2{
        font-size: 3.5rem;
        line-height: 1.7;
    }
}

@media only screen and (max-width: 450px) {

    /* #main,.hero,#main .innerWrap{
        min-height: 30rem;
    } */

    /* #main{
        background-size: 100% calc(100% - 6.4rem);
    } */

    /* .hero{
        padding-top: 8rem;
        padding-bottom: 3rem;
        gap: 0;
    } */

   .hero h1{
    font-size: 3.3rem;
   }

    .hero h2{
        font-size: 2.5rem;
        line-height: 1.7;
    }

    nav img{
        width: 5rem;
        height: 4rem;
    }

    .action a{
        font-size: 1.2rem;
    }

    .hero h2{
        padding-right: 6rem;
    }

    #main{
        margin-top: 6.4rem;
    }
}

@media only screen and (max-width: 395px) {

     nav img{
        width: 4rem;
        height: 3rem;
    }

    #main{
        margin-top: 5.4rem;
    }

    /* #main,.hero,#main .innerWrap{
        min-height: 25rem;
    } */

    
/* 
    #main{
        background-size: 100% calc(100% - 5.4rem);
    } */
/* 
    .hero{
        padding-top: 6.5rem;
        padding-bottom: 2.5rem;
    } */
    


    #main nav .links{
        gap: 1rem;
    }

    #main nav .links a{
        font-size: 0.9rem;
    }

    

    h2{
        font-size: 3.5rem;
    }

    .leftFoot{
        gap: 1rem;
    }
    .footer-content h6,.footer-content{
        font-size: 0.9rem;
    }

     .hero h2{
    font-size: 2rem;
     padding-right: 8rem;
   }

   .action a{
    font-size: 1rem;
   }
    

    
}


@media only screen and (max-width: 365px) {
    .hero h2{
     padding-right: 3rem;
     font-size: 2.5rem;
   }
   
   
}
