html{scroll-behavior:smooth}

/* 2 about cards */
.about-section {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/contactus.jpg') no-repeat center center/cover;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 20px;
  text-align: center;
  height: 60vh;
}

.about-section h1 {
  color: white;
  font-size: 3.5rem; /* good large heading size */
  margin-bottom: 20px;
  font-weight: bold;
}

.about-section p {
  color: white;
  font-family: cursive;
  font-size: 1.5rem;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

.about-section strong {
  font-weight: bold;
}

/* 📱 Mobile adjustments */
@media (max-width: 768px) {
  .about-section {
    flex-direction: column;
    gap: 20px;
    padding: 50px 10px;
  }
  .about-section h1 {
    font-size: 2.2rem;
    margin-bottom: 15px;
  }

  .about-section p {
    font-size: 1.1rem;
    line-height: 1.5;
  }
}

.contact-section {
  padding: 60px 0;
  background: url('images/background2.jpg') no-repeat center/cover;
}

.contact-container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  max-width: 1200px; /* matches footer and about section */
  margin: auto;
  padding: 0 15px; /* same side padding as .container */
  box-sizing: border-box;
}

.contact-info {
  flex: 1;
  min-width: 350px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-subtitle {
  font-family: cursive;
  font-size: 18px;
  font-weight: bold;
  color: #000;
}

.contact-title {
  font-family: 'Playfair Display', serif;
  font-size: 42px;
  font-weight: bold;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-details p {
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.contact-details i {
  color: #1b78c7;
  font-size: 18px;
}

.contact-form {
  background: rgba(255, 255, 255, 0.12); /* glass look */
  padding: 20px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.3);
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  backdrop-filter: blur(6px);
}

.contact-form h3 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  text-align: center;
  margin-bottom: 15px;
  font-weight: bold;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
}

.contact-form textarea {
  resize: none;
  height: 100px;
}

.contact-form button {
  background: #1b78c7;
  color: white;
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background: #000;
}

/* Map Frame Styling */
.contact-map {
  flex: 1;
  min-width: 350px;
  height: 100%;
  padding: 8px;
  background: rgba(255, 255, 255, 0.12); /* matches glass look */
  border: 5px solid #000; /* black border */
  border-radius: 10px;
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: none;
  border-radius: 8px;
}

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

  .contact-info,
  .contact-map {
    width: 100%;
    max-width: 100%;
  }
}


@media (max-width: 768px) {
    .contact-section {
    padding: 40px 10px;
  }
  /* Center align the whole contact section */
  .contact-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  /* Center the contact info text & icons */
  .contact-details {
    align-items: center;
  }

  .contact-details p {
    justify-content: center;
  }

  /* Make map centered and adjust height */
  .contact-map {
    width: 100%;
    height: 350px;
    display: flex;
    justify-content: center;
  }

  .contact-map iframe {
    height: 100%;
  }

  /* Reduce title size for better mobile fit */
  .contact-title {
    font-size: 32px;
  }
}

@media (max-width: 480px) {
  .contact-info,
  .contact-map {
    min-width: 100%;
  }
}
