* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Plus Jakarta Sans", sans-serif;
}

body {
    background-color: #fff;
    position: absolute;
    width: 100%;
}

.nav-active a{
    color: #07A550;
}

.section-one{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 100px 0px 36px;
}

.contact-container {
    display: flex;
    max-width: 1000px;
    width: 90%;
    overflow: hidden;
    gap: 30px;
}
.form-conainer{
    width: 50%;
} 
.contact-form {
    flex: 1;
    padding: 30px 0px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.important-field{
    color: red;
}

.contact-form label {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-weight: 600;
    color: #131313;
}
  
.contact-form input,
.contact-form textarea {
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #ddd;
    background-color: #EBEEF1;
    font-size: 16px;
    font-family: "DM Sans", serif;
}
  
.phone-container {
    display: flex;
    align-items: center;
    gap: 5px;
}
  
.flag img {
    width: 24px;
    height: auto;
}
  
.phone-code {
    font-size: 16px;
    color: #333;
}
  
.send-button {
    padding: 10px;
    background-color: #20a864;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s;
}
  
.send-button:hover {
    background-color: #131313;
}
  
.map-container {
    width: 50%;
    height: auto;
    border-radius: 8px;
}
  
.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
}

/* Ensure all input fields have the same width */
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
  width: 100%;
  box-sizing: border-box;
}

/* specific styling for intl-tel-input to match the width */
.contact-form .iti {
  width: 100%;
}

/* margin between flag dropdown and phone number field */
.contact-form .iti__flag-container {
  margin-right: 8px; 
}

/* Tablet view */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column; 
        align-items: center;
        gap: 20px;
    }
    
    .form-conainer,
    .map-container {
        width: 100%; 
    }

    .contact-form {
        padding: 20px;
    }
}

/* Mobile view */
@media (max-width: 480px) {
    .contact-container {
        padding: 0 10px; 
    }

    .contact-form label {
        font-size: 14px; 
    }
    
    .contact-form input,
    .contact-form textarea,
    .send-button {
        font-size: 14px;
        padding: 8px;
    }

    .send-button {
        font-size: 16px;
        padding: 12px;
    }

    .map-container {
        height: 250px;
    }
}
