/* Main Container */
main {
    background-color: #F8F8F8;
    padding: 20px;
    color: #42372D;
}

/* Header and Description */
.signup-header {
    font-family: Lora, Times New Roman, serif;
    text-align: center;
    font-size: 64px;
    font-weight: normal;
    margin-bottom: 10px;
    margin-top: 200px;
}

.signup-desc {
    font-family: Roboto, Helvetica, Arial;
    text-align: center;
    font-size: 24px;
    margin-bottom: 20px;
}

/* Signup Form */
.signup-form {
    font-family: Roboto, Helvetica, Arial;
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f9f9f9;
}

.signup-form form {
    display: flex;
    flex-direction: column;
}

/* Input Group */
.input-group {
    margin-bottom: 20px;
}

.description {
    display: none; /* Hide all descriptions by default */
}

/* Flexbox Container for Side-by-Side Inputs */
.input-group.inputs-row {
    display: flex;
    justify-content: space-between;
}

.input-group.inputs-row .input-group-item {
    flex: 1;
    margin-right: 10px;
}

.input-group.inputs-row .input-group-item:last-child {
    margin-right: 0;
}

.input-group label {
    display: block;
    margin-bottom: 5px;
}

/* Common styles for all input types */
.input-group input[type="text"],
.input-group input[type="email"],
.input-group input[type="tel"],
.input-group textarea {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
    background-color: #f9f9f9;
}

/* Radio Buttons Container */
.input-group.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    align-items: center;
}

.input-group.radio-group input[type="radio"] {
    margin-right: 5px;
}

.input-group.radio-group label {
    margin-right: 15px;
}

.input-group.radio-group p {
    flex-basis: 100%;
    margin-top: 0;
}

/* Submit Button */
.signup-btn {
    width: 100%;
    padding: 10px 20px;
    font-size: 22px;
    background-color: #2C4B2B;
    color: #FFFFFF;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    align-self: center;
}

.signup-btn:hover {
    background-color: #45a049;
}

/* Email Subscription Section */
.email-sub {
    background: #F8F8F8; /* Split background color */
    padding: 40px 20px;
    position: relative;
    text-align: center;
    color: #333;
    font-family: Roboto, Helvetica, Arial;
    top: 50px;
    margin-bottom: 20px;
}

/* Inner Box */
.email-sub .row-sub {
    background-color: #2C4B2B; /* Green background for the inner box */
    border: 5px solid #2C4B2B; /* Green border */
    border-radius: 15px;
    padding: 40px;
    max-width: 1160px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #F8F8F8;
    margin: 0px 150px;
}

/* Left Column */
.email-sub .col-sub-l {
    flex: 1;
    text-align: left;
}

.email-sub .sub-title {
    font-size: 32px;
    font-weight: bold;
    color: #F8F8F8;
    margin-bottom: 10px;
}

.email-sub p {
    font-size: 22px;
    color: #F8F8F8;
    margin-bottom: 20px;
    padding-right: 70px;
}

/* Right Column */
.email-sub .col-sub-r {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.email-sub form {
    display: flex;
    align-items: center;
}

.email-sub input[type="email"] {
    padding: 15px;
    font-size: 16px;
    border: none;
    margin-right: -5px;
    width: 100px; /* Increased width for better user experience */
    outline: none;
    border-radius: 5px; /* Added border-radius for consistency */
}

.email-sub button[type="submit"] {
    background: #CA5310;
    box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.4);
    border: none;
    cursor: pointer;
    padding: 10px 20px; /* Adjusted padding for consistency */
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
    border-radius: 5px; /* Added border-radius for consistency */
}

/* Background Image */
.email-sub img {
    position: absolute;
    bottom: 5px;
    left: 85px;
    width: 151px;
    z-index: 1; /* Ensure it is above other elements */
}

/* Responsive Design */
@media (max-width: 768px) {
    .email-sub .row-sub {
        flex-direction: column;
        text-align: center;
    }

    .email-sub .col-sub-l,
    .email-sub .col-sub-r {
        flex: none;
        width: 100%;
        margin-top: 20px;
    }

    .email-sub img {
        bottom: -10px;
        right: 10px;
        width: 80px;
    }
}

