
.sub-hero {
  position: relative;
  width: 100%;
  height: 400px; /* adjust height as needed */
  background-image: url('/assests/images/contact\ us\ banner.jpg'); /* your image path */
  background-size: cover;      /* cover the entire section */
  margin-top: 95px;
  background-position: top; /* center the image */
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sub-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5); /* semi-transparent overlay */
  display: flex;
  align-items: center;
  justify-content: center;
}

.sub-hero-content {
  position: relative;
  color: var(--color-text-white);
  text-align: center;
  max-width: 800px;
  padding: 0 20px;
}

.sub-hero-content {
  text-align: center;
  padding: 0 20px;
  max-width: 800px;
}

.sub-hero-content h1 {
  font-size: 48px;
  color: var(--color-thirdary);   
  margin-bottom: 20px;
  font-weight: 700;
}

.sub-hero-content p {
  color: var(--color-text-white);
  line-height: 1.6;
}


@media (max-width: 768px) {

  .sub-hero {
    height: 300px;
  }

  .sub-hero-content h1 {
    font-size: 32px;
  }

  .sub-hero-content p {
    font-size: 15px;
  }

}



















.contact-section {
  padding: 60px 20px;
  background: var(--color-text-white);
}

.contact-container {
  max-width: 1300px;
  margin: auto;
  display: flex;
  gap: 50px;
  align-items: flex-start;
}

/* MAP */
.contact-map {
  flex: 1;
  border-radius: 20px;
  overflow: hidden;
  height: 520px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* FORM */
.contact-form {
  flex: 1;
}

.contact-form h2 {
  font-size: 28px;
  margin-bottom: 0px;
}

.contact-form form {
  display: flex;
  flex-direction: column;
}

.contact-form label {
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 6px;
  margin-top: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px 14px;
  border-radius: 6px;
  border: 1px solid #bbb;
  font-size: 15px;
}

.contact-form textarea {
  resize: none;
  height: 120px;
}

.contact-form button {
  margin-top: 25px;
  background: var(--color-thirdary);
  color: var(--color-text-black);
  border: none;
  padding: 14px;
  border-radius: 25px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  width: 160px;
}

.contact-form button {
  position: relative;
  overflow: hidden;

  margin-top: 25px;
  padding: 14px;
  width: 160px;
  border-radius: 25px;


  font-size: 16px;
  font-weight: 600;

  border: none;
  cursor: pointer;

  z-index: 1;
}

.contact-form button::before {
  content: "";
  position: absolute;
  inset: 0;

  background-color: var(--color-primary);

  /* Start from bottom-right */
  transform: translate(100%, 100%);
  transition: transform 0.45s ease;

  z-index: -1;
}

.contact-form button:hover::before {
  transform: translate(0, 0);
}

.contact-form button:hover {
  color: var(--color-text-white);
}



@media (max-width: 768px) {


  .contact-section {
    padding: 60px 15px; /* reduce side padding */
  }

  .contact-container {
    flex-direction: column;
    gap: 40px;
  }

  .contact-map {
    width: 100%;
    height: 500px;
    border-radius: 0px;
  }

  .contact-form {
    width: 100%;
  }

  .contact-form form {
    width: 100%;
  }

  .contact-form input,
  .contact-form textarea {
    width: 100%;
  }

  /* CENTER THE BUTTON ON MOBILE */
  .contact-form button {
    width: 100%;
    max-width: 220px;
    margin: 25px auto 0;
    display: block;
  }
}





















.contact-info-section {
  padding: 60px 20px;
  background: var(--color-text-white);
}

.contact-info-container {
  max-width: 1300px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* CARD */
.contact-info-card {
  background: var(--contact-info-card);
  border-radius: 16px;
  padding: 30px;
  text-align: left;
}


.contact-info-card {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* SLIDING BACKGROUND */
.contact-info-card::before {
  content: "";
  position: absolute;
  inset: 0;

  background-color: var(--color-primary);

  /* same animation direction as button */
  transform: translate(100%, 100%);
  transition: transform 0.45s ease;

  z-index: -1;
}

/* HOVER EFFECT */
.contact-info-card:hover::before {
  transform: translate(0, 0);
}

/* OPTIONAL: text color on hover */
.contact-info-card:hover h3,
.contact-info-card:hover p {
  color: var(--color-text-white);
}



/* ICON */
.icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-thirdary);
  color: var(--color-text-black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 20px;
}

/* TEXT */
.contact-info-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.contact-info-card p {
  margin-bottom: 6px;
  line-height: 1.6;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .contact-info-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {

  .contact-info-section {
    padding: 10px 15px;
  }


  .contact-info-container {
    grid-template-columns: 1fr;
  }

  .contact-info-card {
    text-align: center;
  }

  .icon-circle {
    margin-left: auto;
    margin-right: auto;
  }
}
