/* 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/h5.webp') no-repeat center center / cover;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Align content to the left */
    padding-left: 10%; /* Add padding to bring content in from the edge */
    overflow: hidden; /* Ensure pseudo-element stays within bounds */
}

/* Dark Overlay */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay with 60% opacity */
    z-index: 1; /* Place overlay behind the content */
}

/* Content Container */
.hero-content {
    position: relative;
    z-index: 2;
    padding: 20px;
    max-width: 500px; /* Limit width for a cleaner look */
    border-radius: 10px;
    text-align: left; /* Align text to the left */
}

/* Hover Effect */
.hero-section:hover::before {
    background-color: rgba(0, 0, 0, 0.7);
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 30px;
}

.hero-content h2 {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

.offer-label {
    background-color: #ffd60a; /* Gold color */
    color: #1a1a1a;
    padding: 5px 10px;
    font-weight: bold;
    margin-bottom: 10px;
    display: inline-block;
    font-size: 1rem;
}

.btn-warning {
    color: #1a1a1a;
    background-color: #e9eaec;
    border: none;
    padding: 10px 40px;
    font-weight: bold;
    font-size: large;
    margin-bottom: 10px;
}

/* 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 */
    }
}
