/*@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    font-family: 'Poppins', sans-serif;
}

:root{
    --bg-color: #191f36;
    --snd-bg-color: #262840;
    --text-color: #fff;
    --main-color: #59b2f4;
}

html{
    font-size: 62.5%;
    overflow-x: hidden;
}

body{
    background: var(--bg-color);
    color: var(--text-color);
}

section{
    min-height: 100vh;
    padding: 10rem 9% 2rem;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 9%;
    background: var(--bg-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000; /* or any other high value */
}


.logo{
    font-size: 2.5rem;
    color: var(--text-color);
    font-weight: 700;
    cursor: default;
}

.navbar a{
    font-size: 1.5rem;
    color: var(--text-color);
    margin-left: 4rem;
    font-weight: 700;
}

.navbar a:hover,
.navbar a.active{
    color: var(--main-color);
}

#menu-icon{
    font-size: 3.6rem;
    color: var(--text-color);
    display: none;
}

/*-- home section start--*/

.home{
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(-45deg, #191f36, #2e3237 70%);
}

.home-content h3{
    font-size: 3.2rem;
    font-weight: 700;
}

.home-content h3:nth-last-of-type(2){
    margin-bottom: 2rem;
}

span{
    color: var(--main-color);
}

.home-content h1 {
    font-size: 5.6rem;
    color: var(--main-color);
    font-weight: 700;
    line-height: 1.3;
}


.home-img img {
    width: 25vw;
    animation: floatImage 4s ease-in-out infinite;
}

@keyframes floatImage {
    0% {
    transform: translateY(0);
    }
    50% {
    transform: translateY(-2.4rem);
    }
    100% {
    transform: translateY(0);
    }
}

.home-content p{
    font-size: 1.6rem;
    padding: 0 2rem 0 0;
}

/*----- for all socaial media start ------*/

.social-media a{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 4rem;
    height: 4rem;
    background: transparent;
    border: 2px solid #0ef;
    border-radius: 20%;
    font-size: 1.7rem;
    color: #0ef;
    margin: 3rem 1.5rem 3rem 0;
    transition: .5s ease;
}

.social-media a:hover{
    background: #0ef;
    color: #081b08;
    box-shadow: 0 0 50px #0ef;
}

/*----- for all socaial media end------*/

.btn-containers button {
    border: .1rem solid #5db9ee;
    font-size: 1.6rem;
    font-weight: 500;
    padding: .8rem 1.5rem;
    border-radius: .5rem;
    cursor: pointer;
}
button:nth-child(1) {
    background: #5db9ee;
}
button:nth-child(2) {
    background: transparent;
    color: #5db9ee;
    margin-left: 2rem;
}
button:nth-child(1):hover {
    background: transparent;
    color: #5db9ee;
    transition: .5s ease;
    box-shadow: 0 0 5px cyan,
                0 0 25px cyan, 
                0 0 50px cyan,
                0 0 100px cyan, 
                0 0 150px cyan;
}
button:nth-child(2):hover {
    transition: .5s ease;
    box-shadow: 0 0 5px cyan,
                0 0 25px cyan, 
                0 0 50px cyan,
                0 0 100px cyan, 
                0 0 150px cyan;
}

/*-- home section end--*/



/*-- service section start--*/

.services h2 {
    margin-bottom: 5rem;
    font-size: 4rem;
    }

.services-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.services-container .services-box{
    flex: 1 1 30rem;
    background: var(--snd-bg-color);
    padding: 3rem 2rem 4rem;
    border-radius: 2rem;
    text-align: center;
    border: .2rem solid var(--bg-color);
    transition: .5s ease;
}

.services-container .services-box:hover{
    border-color: var(--main-color);
    transform: scale(1.02);
}

.services-box i{
    font-size: 7rem;
    color: var(--main-color);
}

.services-box h3{
    font-size: 2.6rem;
}

.services-box p{
    font-size: 1.6rem;
    margin: 1rem 0 3rem;
}

/*-- service section end--*/


/* ---------WhatsApp button styles--------- */
a.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: white;
    font-size: 2rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

a.whatsapp-button i {
    display: inline-block;
    vertical-align: middle;
}

a.whatsapp-button:hover {
    background-color: #128C7E;
    color: white;
}




/* ---------Footer styles ---------*/

.footer {
    display: flex;
    justify-content: space-between; align-items: center;
    flex-wrap: wrap;
    padding: 2rem 9%;
    background: var(--snd-bg-color);
}

.footer-text {
    font-size: 1.6rem;
}
    

.footer-iconTop {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: .8rem 1rem;
    background: var (--main-color);
    border-radius: .8rem;
    transition: .5s ease;
    
} I
    

.footer-iconTop a:hover {
    box-shadow: 0 0 1rem var(--main-color);
    
}

.footer-iconTop a i {
    font-size: 2.4rem;
    color: var(--text-color);
    }


/* ---------End Fotter--------- */

/*breakpoint*/

@media (max-width: 1200px) {
    html{
        font-size: 55%;
    }
}

@media (max-width: 911px){
    .header{
        padding: 2rem 3%;
    }

    section {
        padding: 3rem 3%;
    }

    .services{
        padding: 7rem;
    }

    .conatct{
        min-height: auto;
    }

    .footer{
        padding: 2rem 3%;
    }
}

@media (max-width: 768px) {
    #menu-icon {
    display: block;
    }

    .navbar{
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 1rem 3%;
        background: var(--bg-color);
        border-top: .1rem solid rgba(0, 0, 0, -2);
        box-shadow: 0 .5rem 1rem rgbargba(0, 0, 0, -2);
        display: none;
    }

    .navbar.active{
        display: block;
    }

    .navbar a{
        display: block;
        font-size: 2rem;
        margin: 3rem 0;
    }

.home {
    flex-direction: column;
}

.home-content h3 {
    font-size: 2.6rem;
}
    
.home-content h1 {
    font-size: 5rem;
}

.home-content{
    order: 2;
}
    
.home-img img {
    width: 70vw;
    margin-top: 4rem;
}

.services h2{
    margin-bottom: 3rem;
    font-size: 4rem;
}

}


@media (max-width: 617px){
    .home-img img{
        width: 80vw;
        margin-top: 8rem;
    }
}

@media (max-width: 450px){
    html{
        font-size: 50%;
    }
}