/* ================= HERO ================= */
.contact-hero {
  position: relative;
  height: 420px;
  top: 62px;
}

.contact-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.contact-hero-content h1 {
  font-size: 56px;
  font-weight: 800;
  background: linear-gradient(135deg, #eaffc7, #8cff00, #22c55e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.contact-hero-content p {
  font-size: 16px;
  max-width: 520px;
  margin: 12px auto 0;
  color: rgba(255, 255, 255, 0.85);
  font-family: "Nekst Bold", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif,
    "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}


/* ================= INFO CARDS ================= */
.contact-info {
  padding: 120px 20px;
  background: #eef1f4;
}

.contact-info-grid {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 36px;
}

/* CARD */
.info-card {
  position: relative;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
  padding: 44px 36px;
  border-radius: 28px;
  text-align: center;

  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);

  transition: transform 0.45s ease, box-shadow 0.45s ease;
}

/* HOVER */
.info-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

/* ICON CONTAINER */
.info-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 22px;
  border-radius: 14px;

  background: linear-gradient(
    135deg,
    rgba(140, 255, 0, 0.2),
    rgba(34, 197, 94, 0.2)
  );

  display: flex;
  align-items: center;
  justify-content: center;

  transition: transform 0.45s ease, background 0.45s ease;
}

/* ICON IMAGE */
.info-icon img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  transition: transform 0.45s ease;
}

/* ICON HOVER */
.info-card:hover .info-icon {
  transform: translateY(-3px);
  background: linear-gradient(
    135deg,
    rgba(140, 255, 0, 0.38),
    rgba(34, 197, 94, 0.38)
  );
}

.info-card:hover .info-icon img {
  transform: scale(1.12);
}

/* TEXT */
.info-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.info-card p {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 10px;
}

.info-card a {
  font-size: 14px;
  font-weight: 600;
  color: #22c55e;
  text-decoration: none;
  transition: color 0.25s ease;
}

.info-card a:hover {
  color: #15803d;
}

/* ================= OFFICE LOCATIONS ================= */
.office-locations {
  padding: 50px 20px;
  background: #f7f8fa;
}

.office-wrapper {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* LEFT CARDS WRAPPER */
.office-cards {
  display: grid;
  gap: 24px;
}

/* CARD – SQUARE & PREMIUM */
.office-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);

  padding: 28px;
  border-radius: 22px;

  min-height: 180px; /* square-like feel */
  display: flex;
  flex-direction: column;
  justify-content: center;

  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);

  transition: transform 0.45s ease, box-shadow 0.45s ease;
}

/* COOL BUT CLEAN ANIMATION */
.office-card:hover {
  transform: translateY(-8px) translateX(6px) rotateZ(0.4deg);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.office-card h4 {
  font-size: 18px;
  margin-bottom: 10px;
}

.office-card p {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}

/* MAP */
.office-map {
  display: flex;
  justify-content: center;
  align-items: center;
}

.office-map img {
  width: 80%;
  max-width: 420px;
  height: auto;
  transition: transform 0.4s ease;
}

/* subtle map hover */
.office-map img:hover {
  transform: scale(1.03);
}

/* ================= MAP FORM ================= */
.map-form {
  padding: 120px 20px;
  background: linear-gradient(180deg, #f7f8fa, #ffffff);
}

.map-form-grid {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.map-form-box h2 span {
  background: linear-gradient(135deg, #8cff00, #22c55e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* MAP CARD */
.map-form iframe {
  width: 100%;
  height: 560px;
  border-radius: 26px;
  border: 0;

  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);

  transition: transform 0.45s ease, box-shadow 0.45s ease;
}

/* subtle hover on map */
.map-form iframe:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.14);
}

/* FORM BOX */
.map-form-box {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
  padding: 54px 50px;
  border-radius: 30px;

  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);

  transition: transform 0.45s ease;
}

.map-form-box:hover {
  transform: translateY(-4px);
}

/* TITLE */
.map-form-box h2 {
  font-size: 32px;
  margin-bottom: 24px;
}

/* INPUTS */
.map-form-box input,
.map-form-box textarea {
  width: 100%;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid #ddd;
  margin-bottom: 18px;

  font-size: 14px;
  background: rgba(255, 255, 255, 0.95);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

/* INPUT FOCUS */
.map-form-box input:focus,
.map-form-box textarea:focus {
  outline: none;
  border-color: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15);
}

/* TEXTAREA */
.map-form-box textarea {
  min-height: 120px;
  resize: none;
}

/* BUTTON */
.map-form-box button {
  margin-top: 6px;
  padding: 14px 46px;
  border-radius: 50px;
  border: none;

  background: linear-gradient(135deg, #053f2a, #065f33, #027a3f);
  color: white;
  font-weight: 700;
  cursor: pointer;

  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
}

/* BUTTON HOVER */
.map-form-box button:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(34, 197, 94, 0.35);
}

/* BUTTON PRESS */
.map-form-box button:active {
  transform: translateY(0);
  box-shadow: 0 10px 24px rgba(34, 197, 94, 0.25);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
  .contact-hero {
    height: 340px;
  }
  .contact-hero-content h1 {
    font-size: 38px;
  }

  .contact-info-grid,
  .office-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .map-form-grid {
    grid-template-columns: 1fr;
    padding: 0 80px;
  }
}

/* ================= RESPONSIVE ================= */
@media (max-width: 500px) {
  .contact-info-grid,
  .office-wrapper {
    grid-template-columns: 1fr;
  }

  .office-map {
    order: 1;
  }

  .office-cards {
    order: 2;
  }
}
