
/* ---------------- Hero Section ---------------- */
.contact-hero {
  position: relative;
  width: 100%;
  height: 90vh; /* almost full viewport */
  background: url('../images/contact1back.jpg') no-repeat center center/cover;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: flex-end; /* text near top */
}

.contact-hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4); /* overlay for readability */
  z-index: 1;
}

.contact-hero .content-hero {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-top: 60px; /* distance from top */
}

.contact-hero h1 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.contact-hero p {
  font-size: 1.3rem;
}

/* ---------------- Contact Section ---------------- */
.contact-section {
  padding: 60px 20px;
  background: #f4f4f4;
}

.contact-container {
  max-width: 1000px;
  margin: auto;
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.contact-info {
    background: #1f8f82; /* green container */
    padding: 18px; /* smaller padding to reduce size */
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 270px; /* limit the width to make it smaller */
}

.contact-info .contact-top-img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 10px;
    object-fit: cover;
}

.contact-info h2 {
    font-size: 22px; /* increase font size */
    font-weight: bold;
    text-align: center;
	color: #fff;
    margin-top: 10px;
}

.contact-info p {
    font-size: 18px; /* increase font size */
    text-align: center;
    line-height: 1.5;
    color: #fff;
    margin-bottom: 10px;
}

.contact-form {
  flex: 1 1 400px;
  background: #fff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
}

.contact-form input,
.contact-form textarea {
  margin-bottom: 20px;
  padding: 15px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 16px;
  transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #1f8f82;
  box-shadow: 0 0 10px rgba(31,143,130,0.3);
  outline: none;
}

.contact-form button {
  background: #1f8f82;
  color: #fff;
  border: none;
  padding: 15px;
  font-size: 16px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.contact-form button:hover {
  background: #166e63;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
  }
}

  .contact-hero h1 {
    font-size: 2rem;
    padding-top: 30px;
  }
}
