.Contact {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    width: 100%;
    height: auto ;
    align-items: center; 
    flex-wrap: wrap;
    overflow: hidden;
}

.Contact .sectionHeader {
    margin-bottom: 0;
}

.contactMain {
    display: flex;
    flex-wrap: wrap;  /* Allow items to wrap */
    justify-content: center;
    align-items: center;
    width: 100%; /* Full width */
    height: auto;  /* Let it grow naturally with the content */
    margin: 10px;
}

/* 
.contactForm {
    display: flex;
    flex-direction: column;
    flex: 30%; 
    height: 100%;
    justify-content: center;
    align-items: center;
} */


.contactForm {
    display: flex;
    flex-direction: column;
    flex: 0 0 30%;  /* 30% width on larger screens */
    height: auto;
    justify-content: center;
    align-items: center;
    /* background-color: lightblue;  */
}


.contactImg {
    display: flex;
    flex-wrap: wrap;
    flex: 0 0 70%;  /* 70% width on larger screens */
    justify-content: center;
    height: 100%;

}


.contactImg img {
    width: 100%; /* Makes the image responsive within the container */
    height: 100% ; 
    padding: 0;
    margin:0;
    object-fit: fill;

}
.contactImg .fa {
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    font-size: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    text-align: center;
    text-decoration: none;
    white-space: nowrap; 

}

.socialMedia {
    padding: 0;
    margin:0;
    background-color: var(--main-bg-color);
    justify-content: center; 
    align-items: center;
}
.socialMedia span {
    display: flex;
    gap: 10px;
    justify-content: center; 
    align-items: center;
    margin: 10px;
}
.socialMedia p{
    padding: 0;
    margin:0;
    color: white;
    font-size: 20px;
}
.socialMedia i {
    display: inline-flex;
    gap: 10px;
    justify-content: center; 
    align-items: center;

    font-size: 24px; /* Adjust icon size */
    cursor: pointer;
    transition: color 0.3s ease;
    color: white;

    height: 40px;
    width: 40px;
    border-radius: 50%;
    border: 1px solid;


}
.socialMedia i:hover {
    background-color: var(--darker-bg-color);
}

#email-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    box-sizing: border-box; /* Ensures padding does not exceed parent width */

    width: 100%; 
    height: fit-content;

    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 14px;
    border: 1px solid #ccc; /* Add clarity with a softer border */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Softer shadow for subtle styling */
    background-color: rgba(245, 245, 245, 0.9);
}

label {
    margin-left: 5px;
}
#inputSection {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2px;
    margin: 0;
    width: 90%;
    
}
/* #btnDiv {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
} */
#sendBtn {
    height: 30px;
    width: 140px;
    margin: 10px;
    background-color: var(--main-bg-color);
    color: white;
    border: none;
    cursor: pointer;
    text-align: center;
}
input {
    width: 100%;
    height: 30px;
    margin: 2px 0;
    display: inline-block;
    border: 1px solid #ccc;
    box-sizing: border-box;
    padding: 0 10px;  /* Reapply the padding that was removed from the form */
    font-family: Arial, Helvetica, sans-serif;
}

textarea {
    margin-top: 5px;
    min-height: 30px;
    max-height: 180px;
    display: inline-block;

    width: 100%;  
    min-width: auto;
    box-sizing: border-box; 
    height: 120px;
    resize: none; 
}


#sendBtn:hover {
    background-color:var(--second-bg-color);
}
#titleBar {
    display: flex;
    justify-content: center; 
    align-items: center;
    width: 100%;
    height: 30px;
    background-color: var(--main-bg-color);
    color: white;
    margin: 0;
    padding: 0;

}

.map-container {
    position: relative;
    width: 100%;  /* Take up the full width of the parent container */
    padding-bottom: 56.25%;  /* 16:9 aspect ratio (height/width = 9/16) */
    height: 0;
    overflow: hidden;
  }

  .map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;  
    height: 100%; 
  }



/* Responsive Styles */
@media (max-width: 768px) {
    .contactMain {
        flex-direction: column; 
        gap: 10px; 
        height: auto;  
    }

    .contactForm {
        width: 100%; 
        flex: 0 0 auto; 
    }

    .contactImg {
        width: 100%;  
        height: auto; 
        object-fit: contain;

    }
}


/* Contact Me Section
.Contact {
    margin: 0;
    padding: 0;    
    width: 100%;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-self: center;
    width: 100%;
    background-color: lightgray; 
}
.contactImg {
    width: 100%;
}
.Contact img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.contactImg .fa {
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    font-size: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    text-align: center;
    text-decoration: none;
    white-space: nowrap; 

}

.socialMedia {
    text-align: right;
    width: 100%;
    align-items: center;
    margin-bottom: 10px;

}
.socialMedia span{
    margin-right: 10px;

}

.contactImg .fa:hover {
    opacity: 0.7;
}

.fa-facebook {
    background: #3B5998;
    color: white;
    cursor: pointer;
}
.fa-twitter {
    background: #55ACEE;
    color: white;
} */



