@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
* {
    margin: 0;
    padding: 0;
    transition: 0.3s;
}
body {
    width: 100vw;
    height: 100vh;
    background: #f1f1f1;
    overflow-x: hidden;
}
h5 {
    margin-top: 5%;
    margin-left: 100px;
    letter-spacing: 1.5px;
}
h1 {
    font-size: 3rem;
    color:#0b1839;
    margin-left: 100px;
    margin-top: 20px;
}
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 50px;
    flex-wrap: wrap;
}
.box {
    width: 30%;
    /* height: 40%; */
    min-height: 27rem;
    padding: 50px;
    margin: 10px;
    overflow: hidden;
    border-radius: 14px;
    background: linear-gradient(145deg, #e6e6e6, #ffffff);
    box-shadow: 8px 8px 16px #d1d1d1, -8px -8px 16px #ffffff;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: 0.3s;
}
.box:hover {
    /* background: linear-gradient(145deg,  #0b1839, #149279); */
    /* background: hsl(40, 100%, 50%); */
    background: #0b1839;
    box-shadow: 8px 8px 16px #d1d1d1, -8px -8px 16px #ffffff;
}
.icons {
    font-size: 50px;
    color: #0b1839;
    margin-top: 10px;
}
.box:hover .icons {
    color: #fff;
}
.box h2 {
    font-weight: 500;
    margin-top: 25px;
    font-size: 1.5rem;
}
.box:hover h2 {
    color: #fff;
}
.box p {
    color: grey;
    font-weight: 400;
    margin-top: 25px;
    font-size: 1rem;
}
.box:hover p {
    color: #fff;
}
.arrow {
    font-size: 30px;
    color: #ff3366;
    margin-top: 40px;
    /* display: none; */
}
.box:hover .arrow {
    color: #fff;
    margin-top: 30px;
    /* display: block; */
}

/* Responsive Styles */
@media (width > 2000px){
    h5{
        font-size: 1.5rem;
    }
    .container{
        max-width: 100%;
        justify-content: center;
        gap: 1rem;
    }
    .box{
        min-height: 30rem;
        padding: 3rem;
        justify-content: space-between;
    }
    .box h2{
        font-size: 2rem;
    }
    .box p{
        font-size: 1.5rem;
        text-align: justify;
    }
    .icons{
        transform: scale(2);
    }
}
@media (max-width: 1030px){
    .container {
        width: 100%;
        justify-content: center;
    }
    .box {
        width: 30%;
        min-height: 28rem;
        padding: 40px;
    }
}

@media (max-width: 992px) {
    .container {
        justify-content: center;
    }
    h1, h5 {
        margin-left: 20px;
        text-align: center;
    }
    h1 {
        font-size: 2.5rem;
    }
    .box {
        width: 45%;
        min-height: 25rem;
        padding: 40px;
    }
    .icons {
        font-size: 40px;
    }
    .box h2 {
        font-size: 1.3rem;
    }
    .box p {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
        margin-top: 30px;
    }
    .container {
        flex-direction: column;
    }
    .box {
        width: 100%;
        max-width: 300px;
        margin: 20px auto;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 1.8rem;
    }
    .box {
        width: 90%;
        min-height: 23rem;
        padding: 30px;
    }
    .icons {
        font-size: 35px;
    }
    .box h2 {
        font-size: 1.2rem;
    }
    .box p {
        font-size: 0.8rem;
    }
}
