.hero-section {
    position: relative;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin-bottom: 0;
    overflow: hidden;
    background: linear-gradient(
        45deg,
        var(--primary-color),
        var(--light-grey),
        var(--pastel-mint),
        var(--secondary-color)
    );
    background-size: 400% 400%;
    animation: gradientFlow 15s ease infinite;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle at center,
        transparent 0%,
        rgba(255, 255, 255, 0.1) 45%,
        rgba(255, 255, 255, 0.2) 100%
    );
    animation: pulseOverlay 4s ease-in-out infinite;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content h1 {
    color: var(--secondary-color);
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.3);
    font-weight: 400;
}

.hero-content .lead {
    color: var(--dark-grey);
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.3);
}

.hero-floater {
    position: absolute;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    display: block;
    visibility: visible;
}

.floater-1 {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 10%;
    animation: float 20s infinite linear;
    will-change: transform;
}

.floater-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 15%;
    animation: float 25s infinite linear reverse;
    will-change: transform;
}

.floater-3 {
    width: 80px;
    height: 80px;
    top: 30%;
    right: 30%;
    animation: float 15s infinite linear;
    will-change: transform;
}

@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(30px, -30px) rotate(120deg);
    }
    66% {
        transform: translate(-30px, 30px) rotate(240deg);
    }
    100% {
        transform: translate(0, 0) rotate(360deg);
    }
}

@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes pulseOverlay {
    0% {
        opacity: 0.7;
    }
    50% {
        opacity: 0.9;
    }
    100% {
        opacity: 0.7;
    }
}

@media (max-width: 768px) {
    .hero-section {
        height: 60vh;
    }
    
    .hero-floater {
        display: block !important;
        visibility: visible !important;
        background: rgba(255, 255, 255, 0.3);
    }

    .floater-1 {
        width: 70px;
        height: 70px;
        top: 20%;
        left: 10%;
        transform-origin: center center;
        animation: float 20s infinite linear;
    }

    .floater-2 {
        width: 100px;
        height: 100px;
        top: 50%;
        right: 15%;
        transform-origin: center center;
        animation: float 25s infinite linear reverse;
    }

    .floater-3 {
        width: 60px;
        height: 60px;
        top: 30%;
        right: 30%;
        transform-origin: center center;
        animation: float 15s infinite linear;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content .lead {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .hero-section {
        height: 50vh;
    }

    .hero-floater {
        display: block !important;
        visibility: visible !important;
        opacity: 0.8;
    }

    .floater-1 {
        width: 50px;
        height: 50px;
    }

    .floater-2 {
        width: 70px;
        height: 70px;
    }

    .floater-3 {
        width: 40px;
        height: 40px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content .lead {
        font-size: 1rem;
    }
}

/* Add focus state styling */
.btn-cta:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(var(--primary-color-rgb), 0.5);
}