/* Main container */
main {
    width: 80%;
    margin: 0 auto;
    color: #F8F8F8;
    margin-bottom: 60px;
}

/* Header */
.contact-header {
    font-family: 'Lora', Times New Roman, serif;
    font-size: 64px;
    font-weight: normal;
    text-align: center;
    margin-top: 300px;
    
}

/* Description */
.contact-desc {
    font-family: Roboto, Helvetica, Arial;
    font-size: 24px;
    text-align: center;
    margin-bottom: 60px;
}

/* Form styling */
.contact-us-form form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

/* Input group */
.input-group {
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* Label */
.input-group label {
    font-family: Inter;
    font-size: 16px;
    margin-bottom: 8px;
}

/* Input */
.input-group input, .input-group textarea {
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

/* Specific input styles */
.input-group input[type="text"], 
.input-group textarea {
    height: 40px; /* Normal input height */
}

/* Message input */
.input-group textarea {
    height: 100px; /* Increased height for the message input */
    resize: none; /* Prevent resizing */
}

/* Placeholder styling */
.input-group textarea::placeholder {
    position: absolute;
    top: 5px; /* Adjust as necessary */
    left: 10px; /* Adjust as necessary */
    color: #aaa;
    font-size: 14px;
    font-family: Inter;
}

/* Button */
.contact-us-btn {
    padding: 10px 100px;
    font-size: 16px;
    background: #2C4B2B;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    align-self: flex-start;
    align-self: center;
}

/* Button hover effect */
button[type="submit"]:hover {
    background-color: #718473;
}

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

/* 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="text"] {
    padding: 10px;
    font-size: 16px;
    border: none;
    margin-right: -5px;
    width: 100px;
    outline: none;
}

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

/* Background Image */
.email-sub img {
    position: absolute;
    bottom: 40px;
    right: 130px;
    width: 151px;
    height: 151;
    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;
    }
}



