/*************************
  1. BANNER SECTION
  2. ABOUT SECTION
  3. SERVICES SECTION
  4.SCROLL TO TOP
  5.MEDIA QUARIES
*************************/

*,
*::before,
*::after{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html{
    font-size: 9px;
  scroll-behavior: smooth;
  font-family: 'open-sans';
}
a{
	text-decoration: none;
}
ul{
    list-style: none;
}

h1{
   font-size: 3.5rem;
   text-transform: uppercase;
}
p{
    font-size: 1.8rem;
}


/*************************
 1. BANNER SECTION
*************************/

.banner{
    width: 100%;
    height: 100vh;
    background: center no-repeat fixed;
    background-image: linear-gradient(rgba(192,108,212,0.7),rgba(60,124,212,0.7),rgba(69,58,150,0.7)),
    url("../images/bg1.jpeg") ;
    background-size: cover;
}
.banner-content{
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.banner-logo img{
    margin-left: 5rem;
    margin-bottom: 1rem;
    height: 19rem;
    filter: drop-shadow(-3px -3px 2px rgba(0, 0, 0, 0.1))
    drop-shadow(5px 5px 5px rgba(0, 0, 0, 0.2))
    drop-shadow(15px 15px 15px rgba(0, 0, 0, 0.2));
}
.main-heading h1{
    font-size: 5rem;
    text-transform: uppercase;
    color: #fff;
}
.baner-text p{
    max-width: 60rem;
    font-size: 2rem;
    color: #fff;
}


/*************************
 2. ABOUT SECTION
*************************/
.about{
   padding: 6rem 0;
}
.about-section{
    margin: auto;
}
.about-text{
    position: relative;
    margin: auto;
}
.about-text h1{
    margin-bottom: 2rem;
    background-color: #fff;
}
.shadow-text{
    position: absolute;
    top: -6rem;
    left: -5rem;
    font-size: 10rem;
    text-transform: uppercase;
    line-height: 12rem;
    opacity: 0.1;
    font-weight: 500;
}
.heading-section h3{
    font-size: 1.5rem;
    text-transform: uppercase;
    margin-bottom: -0.5rem;
}
.about-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.about-image img{
    max-width: 40rem;
    max-height: 40rem;
}


/*************************
 3. SERVICES SECTION
*************************/

.services{
    padding: 6rem 0;
}
.service-text{
    margin-bottom: 4rem;
}
.service-container{
    display: flex;
    flex-wrap: wrap;
    padding: 1rem 0 ;
    justify-content: center;
}
.service-item{
    position: relative;
    background-color: #fff;
    height: 20rem;
    width: 30rem;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    margin: 1rem;
    box-shadow: 
    -3px -3px 10px rgba(0, 0, 0, 0.1),
    5px 5px 5px rgba(0, 0, 0, 0.1),
    15px 15px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    color: #1c124b;
    cursor: pointer;
    transition: all 650ms;
}

.service-item h3{
    text-transform: uppercase;
    font-size: 2rem;
}
.service-item i{
    color: #1c124b;
    font-size: 5rem;
    margin-bottom: 1rem;
}
.service-item:hover{
    color: #fff;
    background-color: #a65dc6;
} 


/*************************
 4. FOOTER SECTION
*************************/

.footer{
    padding: 6rem 0;
    background-color: #352b7c;
}
.footer-item{
    padding: 1rem;
    margin-left: 1rem;
    background-color: #322979;
}
.footer-item h2{
    color: #fff;
    margin-bottom: 1rem;
    text-transform: uppercase;
}
.footer-item p{
    color: rgb(204, 204, 204);
    font-size: 1.5rem;
}
.footer-item a{
    color: rgb(204, 204, 204);
    font-size: 2rem;
    transition: color 650ms;
    margin-top: 5rem;
}
.footer-item a:hover{
    color: #fff;
}
.contact-items {
    margin-bottom: 2.5rem;
}
.contact-items h2{
    font-size: 1.4rem;
    color: rgb(204, 204, 204);
    margin-bottom: 0;
}
.contact-items a,.contact-items p{
    font-size: 1.8rem;
    color: #fff;
    line-height: 2rem;
}

/*************************
  4.SCROLL TO TOP
*************************/

.scroll-to-top  {
    position: fixed;
    bottom: 1rem;
    right: 3rem;
    z-index: 99;
    background-color: #352b7c;
    height: 3.5rem;
    width: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #fff;
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
    transition: all .4s;
}
.scroll-to-top i {
    font-size: 1.5rem;
    color: #fff;
}
.scroll-to-top.active{
    bottom: 3rem;
    pointer-events: auto;
    opacity: 1;
}

/*************************
  Animation
*************************/

.blink{
    animation: blink 2s infinite;
}

@keyframes blink{
    0%{
        opacity: 1;
    }
    50%{
        opacity: 0;
    }
    100%{
        opacity: 1;
    }
}


/*************************
  5.MEDIA QUARIES
*************************/

/*  large and under */
@media screen and (max-width: 1199.98px) {

}

 /* medium and under */
@media screen and (max-width: 991.98px) {
  
  .main-heading h1{
    font-size: 4rem;
  }
   .banner-logo img{
    height: 15rem;
   }
  .about-text .description{
    text-align: justify;
    margin-bottom: 4rem;
    }
    
}

 /* Small devices (landscape phones, less than 768px) */
@media screen and (max-width: 767.98px) {
    .main-heading h1{
        font-size: 3.5rem;
        text-align: center;
    }
    h1{
        font-size: 3rem;
    }
    .banner-content{
        align-items: center;
    }
    .banner-logo img{
        margin-left: 0;
        height: 12rem;
    }
    .baner-text p{
        text-align: center;
        margin-top: -.5rem;
    }
    .service-item{
        height: 18rem;
        width: 25rem;
    }
    .service-item h3{
        font-size: 1.8rem;
    }
    .service-item i{
        font-size: 4.5rem;
    }
    .footer{
        align-items: center;
    }
    .scroll-to-top  {
        bottom: 0.5rem;
        right: 2rem;
    }
    .scroll-to-top.active{
        bottom: 2rem;
    }
}

/* EXTRA Small devices (landscape phones, less than 768px) */
@media screen and (max-width: 575.98px)
{
  .main-heading h1{
    font-size: 3.2rem;
}
  .about,.footer,.services{
    padding: 5rem 2rem;
 }
 .about-image img{
    max-width: 30rem;
    max-height: 40rem;
    }
  
}

@media screen and (max-width: 300.98px)
{
 .about-image img{
    max-width: 25rem;
    max-height: 30rem;
    }
  
}