.learning-wrap {
  background: url("../images/game_bg.png") center / cover no-repeat;
  padding: 10px 16px 110px;
}
/* ================= PAGE ================= */
.coloring-page {
  background: #fff;
}

/* ================= HERO ================= */
.contact-hero {
  min-height: 55vh; /* reduced height */
  display: flex;
  align-items: center;
  background: url("../images/banner/contact.jpg")
    no-repeat right center / cover;
}

.hero-inner {
  max-width: 560px;
  margin-left: 80px;
}

.hero-pill {
  background: #fff;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.8rem;
  display: inline-block;
  margin-bottom: 14px;
}

.hero-title {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.2;
}

.hero-title span {
  background: linear-gradient(90deg,#ff4fae,#ffb000,#4fd2ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-text {
  margin-top: 14px;
  color: #555;
  max-width: 460px;
}

/* ================= SECTION ================= */
.section {
  padding: 14px 0;
  position: relative;
  overflow: hidden;
}

.bg-blobs {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 25%, rgba(255,79,174,.2), transparent 45%),
    radial-gradient(circle at 85% 30%, rgba(79,210,255,.2), transparent 45%),
    radial-gradient(circle at 50% 85%, rgba(255,176,0,.18), transparent 50%);
  filter: blur(90px);
}

.wrapper {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: auto;
  padding: 0 20px;
}

/* ================= GRID ================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: flex-start;
}

/* ================= FORM ================= */
.contact-form-card {
  position: relative;
  padding: 42px;
  border-radius: 34px;
  background:
    linear-gradient(
      135deg,
      rgba(255,255,255,0.98),
      rgba(255,255,255,0.9)
    );
  backdrop-filter: blur(16px);
  box-shadow:
    0 45px 90px rgba(0,0,0,0.12),
    inset 0 1px 0 rgba(255,255,255,0.75);
}

.contact-form-card::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  margin: 18px 0 26px;
  border-radius: 999px;
  background: linear-gradient(90deg,#ff4fae,#ffb000);
}

.card-pill {
  display: inline-block;
  background: linear-gradient(135deg,#fff0f7,#f0fbff);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.contact-form-card h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,0.08);
  background: rgba(255,255,255,0.9);
  font-size: .95rem;
  outline: none;
  box-shadow: inset 0 2px 6px rgba(0,0,0,0.04);
}

.form-group textarea {
  min-height: 120px;
  resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #ff4fae;
  box-shadow: 0 0 0 3px rgba(255,79,174,.15);
}


/* ================= INFO ================= */
.contact-info {
  display: grid;
  gap: 22px;
  padding-top: 24px;
}

.info-card {
  background: #fff;
  padding: 28px;
  border-radius: 28px;
  box-shadow: 0 28px 60px rgba(0,0,0,.1);
}

.info-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.info-card p {
  font-size: .95rem;
  color: #555;
  line-height: 1.6;
}

.info-card.pink   { border-left: 4px solid #ff4fae; }
.info-card.blue   { border-left: 4px solid #4fd2ff; }
.info-card.yellow { border-left: 4px solid #ffb000; }

/* Social */
.social-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.social-links span {
  background: linear-gradient(135deg,#fff0f7,#f0fbff);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 600;
  box-shadow: 0 10px 22px rgba(0,0,0,.08);
}

/* ================= MOBILE ================= */
@media (max-width: 900px) {
  .contact-hero {
    grid-template-columns: 1fr;
    padding: 60px 24px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}
/* ================= MOBILE ================= */
@media (max-width: 768px) {
  .hero-inner {
    margin: 0 24px;
  }

  .hero-title {
    font-size: 2.1rem;
  }

  .colouring-hero {
    min-height: 48vh;
  }
}