main{
  margin-top: 0px;
}

#contact-separator{
  padding: 0;
}

#get-in-touch {
  margin-bottom: 0;
  margin-top: 100px;
}

.contact-us-section {
  margin-top: 0px;
    display: flex;
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto 3rem auto;
    padding: 0 1rem;
    box-sizing: border-box;
    color: var(--primary-color);
    font-family: 'Montserrat', sans-serif;
    align-items: center;
}

.contact-info {
    flex: 1 1 45%;
    text-align: left;
}

.contact-info h5,
.contact-info p,
.contact-info a {
    text-align: left;
    margin-left: 0;
    padding-left: 0;
    box-sizing: border-box;
    /* Remove any browser default spacing */
}

.contact-info h5 {
    margin-bottom: 0;
    margin-top: 1.5rem; /* Optional: space above each section */
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-color);
}

.contact-info p,
.contact-info a {
    font-size: 1.1rem;
    line-height: 1.5;
    margin-top: 0.2rem;
    margin-bottom: 0.8rem; /* Less space below for tight grouping */
    color: var(--primary-color);
    text-decoration: none;
    display: block;
}

.contact-info a:hover {
    text-decoration: underline;
}


.map-embed iframe {
  margin-top: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(125, 28, 48, 0.15);
    width: 100%;
    height: 250px;
    border: none;
}

.contact-form {
    flex: 1 1 50%;
    display: flex;
    flex-direction: column;
}

.contact-form h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    text-align: center;
}

.contact-form label {
    font-weight: 600;
    margin-bottom: 0.4rem;
    font-size: 1rem;
}

.contact-form input,
.contact-form select {
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: 2px solid #ccc;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus {
    border-color: var(--primary-color);
    outline: none;
}



/* Responsive: stack columns on smaller screens */
@media (max-width: 900px) {
    .contact-us-section {
        flex-direction: column;
    }
    .contact-info,
    .contact-form {
        flex: 1 1 100%;
    }
    .contact-info {
        margin-bottom: 2rem;
    }
}

.write-to-us-section {
  max-width: 100%;
  margin: 0 auto 5rem auto;
  padding: 0 1rem;
  text-align: center;
}

.write-to-us-grid {
  display: grid;
  grid-template-columns: repeat(3, 30%);
  gap: 5%;
  padding: 2.5rem 5%;
}

.write-cell {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  background: none;
  color: var(--primary-color);
  word-break: break-word;
  text-align: left;
  box-shadow: 0 4px 10px grey;
  padding: 1.5rem;
  border-radius: 5px;
}

.write-cell h2 {
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
  color: var(--primary-color);
  letter-spacing: 0.03em;
}

.write-cell strong {
  font-size: 1.18rem;
  color: var(--primary-color);
  margin-bottom: 0.2rem;
}

.write-cell span {
  font-weight: 600;
  color: var(--primary-color);
}

.write-cell a {
  color: var(--primary-color);
  text-decoration: underline;
  word-break: break-all;
  font-weight: 600;
}
.write-cell a:hover {
  color: var(--accent-color);
}
/* Responsive: 2 columns on tablet, 1 on mobile */
@media (max-width: 900px) {
  .write-to-us-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 2rem 0.7rem;
  }
}
@media (max-width: 600px) {
  main{
    margin-top: 50px;
  }
  h2{
    font-size: 24px;
  }
  .write-to-us-grid {
    grid-template-columns: 1fr;
    gap: 1.1rem;
    padding: 1.2rem 0.4rem;
  }
  .write-cell h2 {
    font-size: 1.3rem;
  }

.contact-info h5 {
    margin-bottom: 0;
    margin-top: 0rem; /* Optional: space above each section */
    font-weight: 700;
    font-size: 1rem;
    color: var(--primary-color);
}

.contact-info p,
.contact-info a {
    font-size: 1.1rem;
    line-height: 1.25;
    margin-top: 0;
    margin-bottom: 0.8rem; /* Less space below for tight grouping */
    color: var(--primary-color);
    text-decoration: none;
    display: block;
}
}
