/* Hero container */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 1rem;
}

/* Background image */
.hero-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.05);
    transition: transform 10s ease-out;
}

.hero-section:hover .hero-image {
    transform: scale(1);
}

.hero-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
            rgba(0, 92, 92, 0.4) 0%,
            rgba(177, 90, 59, 0.3) 100%);
    z-index: 2;
}

/* Overlay wrapper */
.hero-overlay {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
    padding: 1rem;
}

/* Modern card */
.hero-card {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    padding: 3rem;
    text-align: center;
    max-width: 550px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transform: translateY(20px);
    opacity: 0;
    animation: heroCardAppear 1s ease-out forwards;
}

@keyframes heroCardAppear {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Branding text */
.hero-card h1 {
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    color: var(--primary-teal);
    line-height: 1.2;
}

.hero-card .support {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: var(--neutral-dark);
    line-height: 1.6;
}

/* CTA */
.hero-card .btn-primary-custom {
    padding: 1rem 2.25rem;
    font-size: 1.1rem;
    font-weight: 700;
    text-align: center;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(177, 90, 59, 0.3);
}

.hero-card .btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(177, 90, 59, 0.4);
}

.hero-card .btn-primary-custom:active {
    transform: translateY(0);
}

/* Scroll indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    animation: scrollIndicatorAppear 1s ease-out 1.5s forwards;
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-scroll-indicator:hover {
    opacity: 1;
    transform: translateX(-50%) translateY(-5px);
}

@keyframes scrollIndicatorAppear {
    to {
        opacity: 0.8;
    }
}

.hero-scroll-indicator span {
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid white;
    border-bottom: 2px solid white;
    transform: rotate(45deg);
    animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: rotate(45deg) translate(0, 0);
    }

    40% {
        transform: rotate(45deg) translate(-5px, -5px);
    }

    60% {
        transform: rotate(45deg) translate(-3px, -3px);
    }
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .hero-section {
        min-height: 75vh;
    }

    .hero-card {
        padding: 2.5rem;
        max-width: 500px;
    }

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

    .hero-card .support {
        font-size: 1.125rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 70vh;
        padding: 0.75rem;
    }

    .hero-card {
        padding: 2rem;
        max-width: 90%;
    }

    .hero-card h1 {
        font-size: 2.25rem;
    }

    .hero-card .support {
        font-size: 1.05rem;
        margin-bottom: 2rem;
    }

    .hero-card .btn-primary-custom {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        min-height: 65vh;
    }

    .hero-card {
        padding: 1.75rem;
        border-radius: 12px;
    }

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

    .hero-card .support {
        font-size: 1rem;
        margin-bottom: 1.75rem;
    }

    .hero-card .btn-primary-custom {
        padding: 0.75rem 1.75rem;
    }

    .hero-scroll-indicator {
        bottom: 20px;
    }
}