
@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100;0,600;1,100;1,400&display=swap');


*{
    margin: 0; 
    padding: 0; 
    box-sizing: border-box;
} 

body{
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    line-height: 1.5; 
    background-color: #fff;
    color: #000;
} 

ul{
    list-style-type: none;
} 

h1,h2{
    margin-bottom: 15px;
    color: #57b894;
} 
p{
    color: black;
}

.container{
    max-width: 1100px; 
    margin: 0 auto; 
    padding: 0 30px;
} 

.nav-shadow{
    box-shadow: 0px 2px 5px rgb(100 100 100 / 50%);
    z-index: 10;
    background-color: whitesmoke;
}
.navbar{
    color: #000;
    height: 100px;
    position:sticky;
    top:0;
    left:0;
    z-index:10;
}

.navbar .container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.navbar ul{
    display: flex;
}
.navbar a {
    color: #000;
    text-decoration: none; 
    font-size: 18px;
    font-weight: bold;
}

.navbar a:hover{
    color: #007bff;
}
.logo img{
   min-width: 90px;
   height: 50px;
}

.navbar ul li {
    margin-left: 20px;
} 

.navbar .menu-icon{
    display: none;
}

.header{
    display: flex;
    align-items: center;
    min-height: 100vh;
}
.header p{
    font-size:20px;
    font-weight:600;
}

.header h1{
    font-size: 3.5rem;
    font-weight: bold; 
    line-height: 1.2;
}

.header img{
    max-width: 70%;
    margin-right: -15rem;
}  

.header button{
    background-color: #007bff;
    color: white;
    border: none; 
    padding: 15px 30px;
    margin: 15px 0;
    width: 33.33%;
    min-width: 150px;
    font-size: 1.25rem;
    font-weight: bolder;
}

.header .container{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header .container div{
    transform:translateY(-150px);
    
}

.cards .container{
    display: flex;
    justify-content: space-between;
    flex-wrap:wrap;
}

.card {
    position: relative;
    flex:1;
    background-color: #e2e4e7;
    color: #FAEEE7;
    border-radius: 5px;
    margin: 30px 20px;
    padding: 15px 20px;
    min-width:300px;
    width: 33.33%;
    transition:transform 0.5s ease-in-out;
}
.card .icon{
    position: absolute;
    top: -5%;
    left: 50%;
    right: 50%;
    transform:translate(-50%,-50%);
    width: 80px;
    height: 80px;
    background: #007bff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.card h2{
    font-size: 1.5rem;
    color: black;
    font-weight: bold;
    padding-top: 30px;
    text-align: center;
}
.cards .card p{
    color:black;
    text-align: center;
    font-weight: bold;
}

.cards .card:hover{
    background-color: #007bff; 
    transform: scale(1.1);
    transition: transform 0.5s ease-in-out;
} 

.cards .card:hover > h2{
    color: white;
}
.cards .card:hover > p{
    color: white ;
}


.cards .card:hover > .icon{
    background-color: #fff ;
    color: black;
}


.cards-title{
    margin-bottom: 40px;
}
.cards-title .container{
    text-align: center;
}

.cards-title .container h1{
    font-size: 2.5rem; 
    font-weight: bold;
    margin-bottom:10px;
} 

.cards-title .container p{
    font-size: 20px;
    font-weight: bold;
    max-width: 50%;
    text-align: center;
    margin: 0 auto;
}

.footer {
    height: 180px;
    background-color: #e2e4e7;
}

.footer .socials{
    display: flex; 
    justify-content: center;
    padding: 50px;
}

.footer .socials i{
    margin-left: 2.5rem;
    color: #007bff;
} 

.footer .socials i:hover{
    transform: scale(1.5);
    transition: transform 0.5s;
}

.footer .copyright{
    text-align: center; 
} 

.footer .copyright p{
    color:black;
    font-weight: bold;
}

@media(max-width: 560px){
    .header button{
        width:50%;
    }
}

@media(max-width: 1250px){
    .navbar .container .menu-icon{
        display: block;
    }
    .navbar .container .nav{
        display: none;
    }
    .header .container{
        flex-direction: column;
        padding-top: 20px;
        padding-right: 20px; 
    } 

    .header .container img{
        margin: 0;
        max-width: 80%;
    }
    .header .container p{
        max-width: 80%;
    }
    .header .container div{
        transform: translateY(0px);
    }

    .cards .container{
        text-align: center;
    }
}


