/* Basic styling */
body {
    font-family: "Poppins", sans-serif;
    /* background: linear-gradient(120deg, #f0f4fd, #d9e4f1); */
    margin: 0;
    padding: 0;
}
.banner-section {
    height: 30vh;
    background-image: none;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ffcc00;
}
/* Flex container for contact-section */
.contact-section .conatctcontainer {
    display: flex;
    justify-content: center;
    align-items: stretch;
    padding: 30px;
    height: 100%; /* Allow flex children to stretch to 100% height */
}

/* Image container */
.contact-section .contact-image {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    overflow: hidden;
}

.contact-img {
    width: 600px;
    height: 615px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* Hover effect on image */
.contact-image:hover .contact-img {
    transform: scale(1.05);
}

/* Semi-transparent overlay on image */
.contact-image::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background-color: rgba(0, 0, 0, 0.4); */
}

/* Contact form container */
.contact-form-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-form {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 1s forwards;
}

/* Animation for form */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Form labels with icons */
.contact-form label {
    display: block;
    margin: 10px 0 5px;
    font-family: "Poppins", sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #333;
}

.contact-form input, 
.contact-form select, 
.contact-form textarea {
    font-family: "Poppins", sans-serif;
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #b0bec5;
    border-radius: 5px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Input focus effects */
.contact-form input:focus, 
.contact-form textarea:focus, 
.contact-form select:focus {
    border-color: #666666;
    box-shadow: 0 0 5px #666666;
    outline: none;
}

/* Button styling and hover effect */
.contact-form button {
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: background-color 0.3s ease;
}

.contact-form button::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300%;
    height: 300%;
    background-color: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%) rotate(45deg);
    transition: width 0.3s ease, height 0.3s ease;
    z-index: -1;
}

.contact-form button:hover::before {
    width: 0;
    height: 0;
}

.contact-form button:hover {
    background-color: #0056b3;
}

/* Form group styling with dividers */
.form-group {
    position: relative;
    margin-bottom: 25px;
}

.form-group::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 100%;
    height: 1px;
    background: #ddd;
}

/* Mobile view: Stack the image above the form */
@media (max-width: 768px) {
    .banner-section{
        display: none !important;
    }
    .mobile-section {
        height: 150px;
        background-image: none;
        background-size: cover;
        background-position: center;
        background-color: #ffcc00;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
      }
    .mobile-section h2 {
        color: #000;
        font-family: "Poppins", sans-serif;
        font-size: 50px;
        font-weight: 700;
        text-align: center;
        
    }
    .contact-section .conatctcontainer {
        flex-direction: column;
    }

    .contact-img {
        margin-bottom: 20px;
        height: auto; /* Allow image height to adjust in mobile */
        width: 100%;
    }

    .contact-form {
        padding: 15px;
    }
}