* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

html,
body {
    overflow-x: hidden;
    width: 100%;
    font-family: "Montserrat", sans-serif;
}

.main {
    background-color: white;
    min-height: 100vh;
    width: 100%;
}

/* Header Styles */
.head {
    width: 100%;
    height: auto;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 5px solid #02b28b;
    padding: 1rem;
}

.htext {
    height: auto;
    width: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 15px;
}

.htext h1 {
    font-size: clamp(2rem, 3.8vw, 4rem);
    color: #1d4586;
    font-weight: 800;
    text-align: center;
}

.htext h2 {
    font-size: clamp(0.7rem, 0.8vw, 1rem);
    color: #575657;
    font-weight: 300;
    text-align: center;
}

.himg {
    height: auto;
    width: auto;
    max-width: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.himg img {
    height: auto;
    width: 100%;
    max-width: 80px;
}

/* Banner Styles */
.banner {
    width: 100%;
    height: auto;
    aspect-ratio: 2/1;
    max-height: 50vw;
    border-bottom: 8px solid #0163ab;
    overflow: hidden;
}

.img {
    height: 100%;
    width: 100%;
    background-image: url(./assets/images/banner.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Footer Styles */
.foot {
    width: 100%;
    padding: 3rem 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 2rem;
}

.ftext {
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 15px;
}

.ftext p {
    width: 100%;
    font-size: clamp(1rem, 1.5vw, 1.5rem);
    line-height: 1.6;
    font-weight: 400;
}

/* Card Styles */
.cards {
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10rem;
    padding: 0 15px;
}

.card {
    width: 280px;
    height: auto;
    border-radius: 50% / 30%;

    /* aspect-ratio: 14/24; */
    /* border-radius: 30px 30px 30px 30px; */
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 2px solid #02b28b;
    transition: transform 0.3s ease;
}

/* .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
} */

.card h2 {
    background-color: #dcf4ee;
    text-align: center;
    padding: 1.5rem 1rem;
    color: #23457a;
    font-weight: 700;
    font-size: clamp(1rem, 1.2vw, 1.5rem);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card img {
    width: 100%;
    height: auto;
    aspect-ratio: 1/1;
    object-fit: cover;
}

.text {
    background-color: #dcf4ee;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.text .ctext {
    width: 100%;
    font-size: clamp(0.9rem, 1.1vw, 1.3rem);
    font-weight: 700;
    color: #23457a;
    text-align: center;
}

/* Footer Text */
.foot-text {
    width: 100%;
    text-align: center;
    margin-top: 2rem;
}

.foot-text h3 {
    font-weight: 700;
    font-size: clamp(1rem, 1.5vw, 1.5rem);
    color: black;
}

/* Media Queries */
@media (max-width: 768px) {
    .head {
        flex-direction: column;
        padding: 0.5rem;
        /* background-color: #02b28b; */
        display: flex;
        flex-direction: row;

    }

    .card {
        width: 100%;
        max-width: 300px;
        height: 55vh;
        width: 100vh;
    }
    .card h2{
        /* background-color: chocolate; */
        font-size: 1.5rem;
    }

    .banner {
        aspect-ratio: 2/1;
        max-height: none;
    }

    .img {
        background-position: center;
    }
}

@media (max-width: 480px) {
    .htext h1 {
        font-size: 2rem;
    }

    .htext h2 {
        font-size: 0.7rem;
    }

    .ftext p {
        font-size: 1rem;
    }

    .card {
        height: 50vh;
        width: 60vh;
    }

    .cards {
        gap: 1.5rem;
    }

    .card h2 {
        padding: 1rem 0.5rem;
    }
}