/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh; /* Full viewport height */
    overflow: hidden; /* Hide overflow to keep the video contained */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    margin-top: -70px;
    overflow: hidden;
    
    background-color: #2f855a; /* Fallback color */
}

.background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover the entire section */
    z-index: -1; /* Place the video behind the content */
    /* Add a transition to improve smoothness */
    transition: opacity 0.5s ease-in-out;
}

.hero-content {
    position: relative;
    z-index: 1; /* Ensure content is above the video */
    padding: 20px;
    background: rgba(0, 0, 0, 0.5); /* Optional: Add a semi-transparent background for better readability */
    border-radius: 10px; /* Optional: Rounded corners for the content */
    max-width: 90%; /* Ensure content doesn't exceed the width of smaller screens */
}

/* Heading and Text Styling */
.hero-content h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2em;
    margin-bottom: 20px;
}

.hero-content .btn {
    background-color: #6DB33F;
    padding: 10px 20px;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.hero-content .btn:hover {
    /* background-color: #558b2f; */
    background-color: transparent;
    color: #558b2f;
    font-weight: bolder;
    cursor: pointer;
    border: 1px solid #558b2f;
    box-shadow: 0 2px 4px #558b2f;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .hero-section{
        margin-top: -94px;
    }

    .hero-content {
        padding: 15px;
    }

    .hero-content h1 {
        font-size: 2em;
        margin-bottom: 15px;
    }

    .hero-content p {
        font-size: 1em;
        margin-bottom: 15px;
    }

    .hero-content .btn {
        padding: 8px 16px;
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    .hero-section{
        margin-top: -94px;
    }
    
    .hero-content {
        padding: 10px;
    }

    .hero-content h1 {
        font-size: 1.8em;
        margin-bottom: 10px;
    }

    .hero-content p {
        font-size: 0.9em;
        margin-bottom: 10px;
    }

    .hero-content .btn {
        padding: 6px 12px;
        font-size: 0.8em;
    }
}
