/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
    margin-top: 0;
    padding: 0;
    background-color: white;
    display: flex;
    align-items: center;
}

.hero-container {
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 0 auto;
    padding: 0;
}

.hero-image {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 1;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(1.05); /* Slightly brighten the image */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        rgba(44, 62, 80, 0.2), 
        rgba(44, 62, 80, 0.4)
    ); /* Coordinated with primary color */
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 4;
    max-width: 800px;
    text-align: center;
    padding: 40px;
    margin-top: -50px;
    animation: fadeInDown 1s ease forwards;
    background-color: rgba(255, 255, 255, 0.75); /* More consistent opacity */
    backdrop-filter: blur(5px); /* Enhanced blur effect */
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    border-bottom: 3px solid var(--accent-color); /* Consistent accent */
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.7);
    font-weight: 700;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: var(--primary-color);
    text-shadow: 0 2px 5px rgba(255, 255, 255, 0.7);
    animation: fadeInUp 1s ease 0.3s forwards;
    opacity: 0;
    animation-fill-mode: forwards;
    font-weight: 500;
}

.cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--primary-color);
    padding: 15px 30px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--btn-transition);
    animation: fadeInUp 1s ease 0.6s forwards;
    opacity: 0;
    animation-fill-mode: forwards;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.3);
    transition: var(--btn-transition);
    z-index: -1;
}

.cta-button:hover {
    background-color: var(--accent-color);
    color: var(--dark-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.cta-button:hover::before {
    left: 100%;
}

@media (max-width: 768px) {
    .hero-content {
        padding: 30px;
        margin-top: 0;
        max-width: 90%;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
}