.hero {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background:
            linear-gradient(120deg, rgba(26, 54, 93, 0.8) 60%, rgba(0, 188, 212, 0.8) 100%),
            url('../media/Sea Wave Image.webp');
    background-size: cover, cover;
    background-position: center, center;
    background-repeat: no-repeat, no-repeat;
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
    animation: fadeIn 1.2s;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 2rem;
    letter-spacing: 1px;
    text-shadow: 0 4px 24px rgba(0,0,0,0.2);
    animation: slideDown 1s;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    animation: fadeIn 2s;
}

.product-hero {
    min-height: 25vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background:
            linear-gradient(120deg, rgba(26, 54, 93, 0.8) 60%, rgba(0, 188, 212, 0.8) 100%),
            url('../media/Sea Wave Image.webp');
    background-size: cover, cover;
    background-position: center, center;
    background-repeat: no-repeat, no-repeat;
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
    animation: fadeIn 1.2s;
    padding: 3rem 0;
}

.product-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    text-shadow: 0 4px 24px rgba(0,0,0,0.2);
    animation: slideDown 1s;
}

.product-hero p {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    animation: fadeIn 2s;
}


.cta-btn {
    background: var(--accent);
    color: var(--white);
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 30px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 24px rgba(0,188,212,0.15);
    transition: background 0.3s, transform 0.2s;
    animation: popIn 1.5s;
    text-decoration: none;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.cta-btn:hover {
    background: #0097a7;
    transform: scale(1.07);
}

@media (max-width: 768px) {
    .hero {
        min-height: 70vh; /* Increase height on mobile for better spacing */
        padding: 2rem 1rem;
    }

    .hero h1 {
        font-size: 2rem; /* Reduce size for mobile */
    }

    .hero p {
        font-size: 1.1rem; /* Reduce size for mobile */
    }

    .cta-btn {
        margin-bottom: 2rem; /* Add bottom margin for better separation */
        font-size: 1rem; /* Slightly smaller on mobile */
        padding: 0.8rem 2rem;
    }
}
