.contact-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 2rem;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
  }
  
  .form-section {
    border: 1px solid #ccc;
    padding: 2rem;
    border-radius: 0;
    flex: 1 1 400px;
    box-sizing: border-box;
  }
  
  .name-fields {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
  }
  
  .name-fields .input-group {
    flex: 1 1 48%;
    min-width: 140px;
  }
  
  .input-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
  }
  
  input,
  textarea {
    padding: 0.75rem;
    border: 1px solid #999;
    border-radius: 0;
    font-family: inherit;
    font-size: 1rem;
    width: 100%;
    box-sizing: border-box;
  }
  
  button {
    padding: 0.75rem 1.5rem;
    background-color: #202123;
    color: white;
    border: none;
    border-radius: 5px;
    font-family: 'Josefin Sans', sans-serif;
    cursor: pointer;
  }
  
  button:hover {
    background-color: #4b4b4b;
  }
  
  .photo-container {
    flex: 1 1 300px;
    text-align: center;
  }
  
  .photo-container img {
    width: 100%;
    max-width: 400px;
    height: auto;
  }
  
  /* Bottom image section */
  .bottom-photo-section {
    position: relative;
    width: 100%;
    height: 250px;
    background-image: url('../images/main-photo.jpg');
    background-size: cover;
    background-position: center;
    margin-top: auto;
  }
  
  .bottom-photo-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.4);
  }
  
  .overlay-text {
    position: relative;
    z-index: 1;
    color: white;
    text-align: center;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    padding: 1rem;
    font-family: 'Josefin Sans', sans-serif;
  }
  
  /* -------- Responsive adjustments -------- */
  @media (max-width: 768px) {
    .contact-container {
      flex-direction: column;
      align-items: stretch;
      padding: 1rem;
    }
  
    .form-section {
      width: 100%;
      padding: 1.5rem;
    }
  
    .name-fields {
      flex-direction: column;
    }
  
    .photo-container {
      margin-top: 1.5rem;
    }
  
    .photo-container img {
      width: 90%;
    }
  
    .bottom-photo-section {
      height: 180px;
    }
  
    .overlay-text {
      font-size: 1.2rem;
    }
  }



  .intro-section {
    flex: 2 1 400px; /* Grow 2x more than the others */
    padding: 1rem;
    font-family: 'Josefin Sans', sans-serif;
  }
  
  .intro-section h2 {
    margin-top: 0;
  }
  
  .intro-section p {
    margin-bottom: 1rem;
  }

  @media (max-width: 768px) {
    .intro-section {
      width: 100%;
      padding: 1rem 0;
    }
  }