/* General styles */
body {
    font-family: Poppins, sans-serif;
    margin: 0;
    background-color: #e9ecef;

}

.contact-header {
    position: relative;
    text-align: center;
    color: white;
}

.contact-header img {
    width: 100%;
    height: auto;
    max-height: 50vh; /* Cut the image height to half */
    object-fit: cover; /* Ensure the image covers the area */
    object-position: bottom; /* Show the bottom part of the image */
}


.contact-header h1 {
    position: absolute;
    top: 60%;
    left: 30%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: #fff; /* Use a simple white color */
    font-family: 'Poppins', sans-serif; /* Revert to Poppins for normal text */
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Contact Us Content */
.contact-us-content {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    background-color: #f8f9fa;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    text-align: center;
}

.contact-us-content h2 {
    font-size: 2.5rem;
    color: black; /* Revert to a simple, clean color */
    margin-bottom: 20px;
}

.contact-us-content p {
    font-size: 1.2em;
    
    line-height: 1.6;
    margin-bottom: 40px;
    text-align: justify;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.form-group label {
    font-size: 1.1em;
    margin-bottom: 5px;
}

.form-group input, .form-group textarea {
    padding: 10px;
    font-size: 1rem;
    border-radius: 5px;
    background-color: #e9ecef;
    color: black;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
}

.btn-submit {
    padding: 15px 20px;
    font-size: 1.2em;
    color: #000;
    background-color: #AA431C;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-submit:hover {
    background-color: #e9ecef;
}
.button {
    max-width: 200px;
    margin: 0px auto 20px auto;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #bd4a1e;
    border: 10px;
    border-radius: 5px;
}

.button a{
    color: black;
    text-decoration: none;
    font-size: 2rem;
}

@media screen and (max-width: 768px) {
    .contact-header h1 {
        font-size: 2.5rem;
    }

    .contact-us-content {
        padding: 15px;
    }

    .contact-us-content h2 {
        font-size: 2rem;
    }

    .btn-submit {
        padding: 12px 15px;
        font-size: 1em;
    }
}

/* about Us Content */
.about-us-content {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    background-color: #f8f9fa;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    text-align: center;
}

.about-us-content h2 {
    font-size: 2.5rem;
    color: black; /* Revert to a simple, clean color */
    margin-bottom: 20px;
}

.about-us-content p {
    font-size: 1.2em;
    line-height: 1.6;
    margin-bottom: 40px;
    text-align: justify;
}

/* Toast styling */
.toast {
    visibility: hidden;
    min-width: 250px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 2px;
    padding: 16px;
    position: fixed;
    z-index: 1;
    left: 50%;
    bottom: 30px;
    font-size: 17px;
    transform: translateX(-50%);
}

.toast.show {
    visibility: visible;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

@keyframes fadein {
    from {bottom: 0; opacity: 0;}
    to {bottom: 30px; opacity: 1;}
}

@keyframes fadeout {
    from {bottom: 30px; opacity: 1;}
    to {bottom: 0; opacity: 0;}
}