@import url('https://fonts.googleapis.com/css2?family=Amaranth&display=swap');

.contact1-section {
  background-image: url("img/Light green abstract background.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 60px 20px;
  font-family: 'Amaranth', sans-serif;
  position: relative;
}

.contact1-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Left Column */
.contact1-info {
  flex: 1 1 33%;
  color: #f0f2f0;
}

.contact1-info h2 {
  font-size: 3em;
  margin-bottom: 25px;
}

.contact1-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 12px;
  line-height: 1.5;
  font-size: 20px;
}

.contact1-item i {
  font-size: 21px;
  color: rgb(214, 240, 120);
  margin-right: 8px;
  margin-top: 4px;
}

.contact1-item a {
  color: #f0f2f0;
  text-decoration: none;
}

.contact1-item a:hover {
  color: #dcf3dc;
  text-decoration: underline;
}

/* Middle Column - QR Scanner (Square, Centered) */
.contact1-scanner {
  flex: 0 1 250px;
  aspect-ratio: 1 / 1; /* makes it square */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 15px rgba(136, 190, 180, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  align-self: flex-start;
  padding-right: 20px;
}

.contact1-scanner:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 25px rgba(136, 190, 180, 0.6);
}

.contact1-scanner h3 {
  color: rgb(214, 240, 120);
  font-size: 18px;
  margin-bottom: 10px;
  font-weight: 600;
}

.contact1-scanner img {
  width: 120px;
  height: 120px;
  border: 2px solid rgb(214, 240, 120);
  border-radius: 10px;
  margin-bottom: 10px;
}

.contact1-scanner p {
  font-size: 13px;
  color: #dcdcdc;
  margin: 0;
  font-style: italic;
  text-align: center;
}

/* Right Column - Map */
.contact1-map {
  flex: 1 1 33%;
  height: 320px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.contact1-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 10px;
}

/* Responsive Layout */
@media (max-width: 992px) {
  .contact1-container {
    flex-direction: column;
    align-items: center;
  }

  .contact1-info,
  .contact1-scanner,
  .contact1-map {
    flex: 1 1 100%;
    text-align: center;
  }

  .contact1-scanner {
    max-width: 300px;
    aspect-ratio: auto;
    margin: 20px 0;
  }

  .contact1-map {
    width: 100%;
    height: 260px;
  }
}
 