@import url('common.css');

.contact-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
    padding: 0 1rem; 
}

.contact-form label {
    display: block;
    margin-top: 1rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.5rem;
    margin-top: 0.25rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box; 
}

.contact-banner {
    width: 100%;
    border-radius: 12px;
    margin-top: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.contact img {
    width: 100%;
    border-radius: 12px;
    margin: 0.5rem 0; 
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.contact-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    margin-top: 2rem;
    padding: 0 1rem;
    box-sizing: border-box;
} /* <-- Add this closing bracket */

.contact-image {
    width: 100%;
    max-width: 300px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 0.5rem;
}


@media (min-width: 768px) {
    .contact-wrapper {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        gap: 3rem;
        max-width: 1100px;
        margin: 2rem auto;
        padding: 0 2rem; 
    }

    .contact-image {
        max-width: 250px;
        flex: 0 0 30%;
        margin: 0;
    }

    .contact-form {
        flex: 1;
        max-width: 65%;
    }
}

.contact-details {
  margin-left: auto;
  margin-right: auto;
  max-width: 400px; 
  text-align: center;
}

@media (max-width: 767px) {
  .contact-image {
    max-width: 200px; 
  }
}
}