/* Global Styles */
body, h1, h2, p, button, input {
    font-family: 'Source Sans Pro', sans-serif;
}

/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    background: url('../img/hero2.webp') no-repeat center center / cover;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

/* Dark Overlay */
.hero-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6); /* Darker overlay for better readability */
    transition: background-color 0.5s ease; /* Smooth transition for the overlay */
    z-index: 1;
}

/* Content Container */
.hero-content {
    position: relative;
    z-index: 2; /* Ensures content is above the overlay */
    padding: 20px; /* Added padding for better structure */
    border-radius: 10px; /* Soft rounded corners for the content box */
    background-color: rgba(0, 0, 0, 0.3); /* Slight background for content to enhance readability */
}

/* Hover Effect */
.hero-section:hover:before {
    background-color: rgba(0, 0, 0, 0.7); /* Further darken on hover for a dynamic effect */
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 30px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

.hero-content h2 {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

/* Form styling */
.form-inline {
    justify-content: center;
}

.form-control {
    border-radius: 20px;
    margin-right: 10px;
    border: 1px solid #fff;
    background-color: #fff;
    color: #fff;
    padding: 20px 30px; /* Increase padding for a larger appearance */
    font-size: 18px; /* Increase font size for better visibility */
    width: 100%;
}

.form-control::placeholder {
    color: #070707;
}

.btn-danger {
    border-radius: 20px;
    padding: 10px 30px;
    font-weight: 600;
    background-color: #E50914; /* Button background color */
    border: none;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section {
        height: auto;
    }
    .hero-content h1 {
        font-size: 2rem;
    }
    .hero-content p, .hero-content h2 {
        font-size: 1rem;
    }
    .form-control, .btn-danger {
        margin: 10px 0; /* Consistent margin for better spacing */
        width: 90%; /* Optimal width for mobile devices */
    }
}


