* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #003840;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    color: white;
    overflow-x: hidden;
}

#main {
    width: 100%;
}

.header {
    display: flex;
    justify-content: space-between;
    padding: 1rem 5%;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.bloom h1 {
    font-size: 2rem;
    text-transform: capitalize;
}

.nav-list ul {
    display: flex;
    gap: 2rem;
    list-style: none;
    text-transform: capitalize;
}

.nav-list ul li {
    cursor: pointer;
    transition: opacity 0.3s;
}

.nav-list ul li:hover {
    opacity: 0.7;
}

.bg-img {
    height: 65vh;
    width: 100%;
    background-image: url(jeremy-bishop-G9i_plbfDgk-unsplash.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

.container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 5%;
    margin-top: 20vh;
    gap: 2rem;
}

.container .para {
    flex: 1;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 2rem;
    border-radius: 12px;
}

.container .para h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1.5rem;
    text-transform: capitalize;
}

.container .para p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.container .para-img {
    flex: 1;
    max-width: 500px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

button {
    padding: 0.8rem 1.5rem;
    background-color: #003840;
    color: aqua;
    border: 1px solid aqua;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s;
    text-transform: uppercase;
    font-size: 0.9rem;
}

button:hover {
    background-color: aqua;
    color: #003840;
}

.card-main {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 4rem 5%;
    flex-wrap: wrap;
}

.card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    width: calc(33.333% - 1.4rem);
    min-width: 280px;
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-10px);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.card h2 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.card p {
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    opacity: 0.9;
}

hr {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 0 5%;
}

footer {
    padding: 4rem 5%;
}

footer h2 {
    margin-bottom: 2rem;
    text-transform: capitalize;
}

.footer-main {
    display: flex;
    gap: 4rem;
    justify-content: space-between;
}

.footer-main .left,
.footer-main .center,
.footer-main .right {
    flex: 1;
}

.child {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    list-style: none;
}

.child img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
}

.footer-text h4 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.footer-text p {
    font-size: 0.85rem;
    opacity: 0.7;
}

.footer-main .center p {
    line-height: 1.6;
    opacity: 0.8;
}

.right ul {
    list-style: none;
}

.right ul li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-size: 0.9rem;
    cursor: pointer;
}

.right ul li img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
}

/* Media Queries */
@media screen and (max-width: 1024px) {
    .container {
        flex-direction: column;
        text-align: center;
        margin-top: 10vh;
    }

    .container .para-img {
        width: 100%;
        max-width: 600px;
    }

    .footer-main {
        flex-direction: column;
        gap: 3rem;
    }

    .footer-main .center {
        margin-right: 0;
    }
}

@media screen and (max-width: 768px) {
    .header {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
    }

    .nav-list ul {
        gap: 1rem;
        font-size: 0.9rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .card {
        width: 100%;
    }
}

@media screen and (max-width: 480px) {
    .nav-list ul {
        gap: 0.8rem;
    }

    .container .para {
        padding: 1.5rem;
    }

    .container .para h1 {
        font-size: 1.8rem;
    }
}