.head-center{
    padding-top: 50px;
    font-size: 1.5em;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    color: white;
}
.head-center h4{
    margin: 0;
}

.contact-cards{
    font-family: 'Poppins', sans-serif;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    margin: 13px;
}

.card{
    color: white;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card i{
    font-size: 2em;
}

.green-bg{
    padding-bottom: 150px;
}
.white-bg{
    padding-bottom: 100px;
}
.form-map{
    font-family: 'Poppins', sans-serif;
    padding-top: 100px;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
}
#form-title,#map-title{
    text-align: center;
    color: var(--green);
    font-size: 2em;
}
form{
    background: var(--green);
    padding: 20px;
    border-radius: 20px;
    color: white;
}

.section{
    display: flex;
    justify-content: space-between;
}

input {
    font-size: 1.5em;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    border: none;
    color: white;
    padding: 5px;
    padding-left: 20px;
    padding-right: 20px;
    outline:none;
}
input::placeholder{
    color: var(--green);
    opacity: 30%;
}
#first_name{
    margin-right: 20px;
}

textarea{
    background: rgba(255, 255, 255, 0.1);
    border: none;
    outline: none;
    border-radius: 20px;
    width: 94%;
    height: 100px;
    padding: 5px;
    padding-left: 20px;
    padding-right: 20px;
    color: white;
    resize: none;
}

#submit-btn{
    font-size: 1.2em;
    font-family: 'Poppins', sans-serif;
    background: transparent;
    border: 1px solid white;
    padding: 10px;
    border-radius: 25px;
    color: white;
    transition: all 0.2s ease-in-out;
}
#submit-btn:hover{
    border: 1px solid transparent;
    background: white;
    color: var(--green);
}

form{
    display: flex;
    flex-direction: column;
}
#map-container{
    color: var(--green);
}
#map{
    border: 3px solid var(--green);
    border-radius: 20px;
    overflow: hidden;
    height: 440px;
}
iframe{
    height: 500px;
}

#contact-img{
    position: absolute;
    width: auto;
    height: 290px;
    top: -140px;
    left: 100px;
    filter: drop-shadow(0 0 20px #a7c957);
}


@media (max-width: 600px) {
    .head-center{
        margin-top: 80px;
    }
    .contact-cards {
        flex-direction: column;
        align-items: center;
    }

    .card {
        width: 80%;
        margin-bottom: 20px;
    }

    .green-bg, .white-bg{
        height: fit-content;
        padding-bottom: 20px;
    }

    .green-bg{
        margin-top: 2em;
    }

    .form-map {
        padding-top: 0;
        flex-direction: column;
        align-items: center;
    }

    .form-container{
        width: 80%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    form{
        width: 100%;
    }
    #form-title, #map-title {
        font-size: 1.5em;
    }
    input, textarea {
        font-size: 0.7em;
        padding: 8px;
        margin-bottom: 10px;
    }

    #contact-img {
        display: none; /* Hide the contact image on smaller screens */
    }

    #map {
        height: 300px;
        width: 300px; /* Adjust map height for smaller screens */
    }

    /* Add these styles for address, phone, and email blocks */
    .card p {
        margin: 5px 0;
    }
    
    .card i {
        margin-bottom: 10px;
    }
}
