.contact-main {
  display: flex;
  align-items: center;
  max-width: 1440px;
  margin: 0 auto;
  gap: 2rem;
  min-height: 100vh;
  padding: 1rem;
}

.contact-title {
  color: var(--clr-primary);
  font-size: clamp(30px, 3vw, 40px);
  display: block;
  font-family: var(--ff-secondary);
  letter-spacing: 3px;
  text-transform: uppercase;
  text-align: right;
  position: relative;
  width: fit-content;
}


.contact-title::after {
  content: '';
  position: absolute;
  bottom: -3px;
  right: -5px;
  width: 100%;
  height: 2px;
  background-color: var(--clr-accent);
}

.address-section {
  display: flex;
  flex-direction: column;
  align-items: end;
  gap: 2rem;
  width: 40%;
  text-align: right;
}

article address {
  display: block;
  font-weight: 400;
  font-size: clamp(22px, 2.5vw, 23px);
  font-family: var(--ff-primary);
  color: var(--clr-font-color);
  letter-spacing: 1px;
  line-height: 1;
}

article strong {
font-weight: 700;
margin-bottom: 1rem;
color: var(--clr-accent);
}

article p {
  display: block;
  font-weight: 500;
  font-size: clamp(22px, 2.5vw, 27px);
  font-family: var(--ff-secondary);
  text-transform: uppercase;
  color: var(--clr-font-color);
  letter-spacing: 2px;
  line-height: 1;
  margin-bottom: 0.50rem;
}

article div span {
  font-weight: 500;
  font-size: clamp(18px, 3vw, 20px);
  font-family: var(--ff-secondary);
  color: var(--clr-font-color);
  letter-spacing: 2px;
  line-height: 1;
  margin-bottom: 0.50rem;
}

iframe {
  width: 80%;
  /* Makes the iframe responsive */
  height: 400px !important;
  /* Adjust height as needed */
  border: 0;
}

/* Set the second section to take 70% of the contact-main */
.contact-main>section:nth-child(2) {
  width: 60%;
}

/* Responsive layout for smaller screens */
@media (max-width: 768px) {

  iframe {
      width: 100%;
      height: 400px !important;
      border: 0;
    }
  .contact-main {
    flex-direction: column;
    margin-top: 10rem;
    padding-top: 1rem;


  }

  .address-section {
    text-align: left;
    align-items: normal;
  }

  .contact-title {
    text-align: left;
  }

  .address-section,
  .contact-main>section:nth-child(2) {
    width: 100%;
    /* Each section takes 100% width on smaller screens */
  }
}
