/* Contact page — uses ../styles.css + Inter from parent */

.contact-page main {
  padding-bottom: 4rem;
}

.contact-hero {
  width: min(1100px, 92vw);
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 6.5rem) 0 2rem;
}

.contact-hero h1 {
  max-width: 18ch;
}

.contact-lead {
  margin-top: 1rem;
  max-width: 62ch;
  color: #b4bcd9;
  line-height: 1.75;
  font-weight: 500;
}

.contact-strip {
  width: min(1100px, 92vw);
  margin: 0 auto 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.25rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(164, 175, 233, 0.22);
  background: rgba(10, 12, 28, 0.75);
}

.contact-strip a {
  color: #e8ecff;
  font-weight: 600;
}

.contact-strip span {
  color: #98a3c9;
  font-size: 0.9rem;
}

/* --- Section A: editorial split (RJ Punjab collaboration) --- */
.team-block-a {
  width: min(1100px, 92vw);
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  border-top: 1px solid rgba(158, 170, 236, 0.16);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: center;
}

.team-block-a figure {
  margin: 0;
  position: relative;
}

.team-block-a img {
  width: 100%;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: block;
  min-height: 280px;
  object-fit: cover;
  background: #111428;
}

.team-block-a figcaption {
  margin-top: 0.65rem;
  font-size: 0.82rem;
  color: #8f99c7;
  line-height: 1.45;
}

.team-kicker {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9aa4cc;
  font-weight: 700;
}

.team-block-a h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  line-height: 1.12;
}

.team-block-a p {
  margin: 0;
  color: #b7bfdc;
  line-height: 1.7;
}

/* --- Section B: overlapping / depth (Meghalaya) --- */
.team-block-b {
  width: min(1100px, 92vw);
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  border-top: 1px solid rgba(158, 170, 236, 0.16);
}

.team-block-b .b-head {
  max-width: 52ch;
  margin-bottom: 1.5rem;
}

.team-block-b .b-head h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.45rem, 2.8vw, 2rem);
}

.team-block-b .b-head p {
  margin: 0;
  color: #b7bfdc;
  line-height: 1.7;
}

.b-visual {
  position: relative;
  min-height: 320px;
  cursor: pointer;
}

.b-visual .b-back {
  position: absolute;
  right: 0;
  top: 0;
  width: 72%;
  max-width: 640px;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  object-fit: cover;
  min-height: 260px;
  background: #111428;
  opacity: 0.55;
  filter: saturate(0.85) brightness(0.9);
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              filter 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 0.5s ease,
              box-shadow 0.5s ease,
              transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

/* Hover: back image comes alive */
.b-visual:hover .b-back {
  opacity: 1;
  filter: saturate(1.15) brightness(1.1);
  border-color: rgba(130, 145, 255, 0.45);
  box-shadow: 0 0 40px rgba(90, 100, 255, 0.18), 0 12px 48px rgba(0, 0, 0, 0.4);
  transform: scale(1.015);
  z-index: 3;
}

.b-visual .b-front {
  position: relative;
  left: 0;
  top: 2.5rem;
  width: 68%;
  max-width: 560px;
  border-radius: 1rem;
  border: 1px solid rgba(186, 194, 255, 0.35);
  object-fit: cover;
  min-height: 280px;
  background: #111428;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              filter 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 0.5s ease;
  z-index: 2;
}

/* Hover: front image recedes */
.b-visual:hover .b-front {
  opacity: 0.55;
  filter: saturate(0.7) brightness(0.8);
  transform: scale(0.97);
  border-color: rgba(186, 194, 255, 0.15);
}

.b-caption {
  margin-top: 3rem;
  max-width: 48ch;
  font-size: 0.86rem;
  color: #8f99c7;
  line-height: 1.5;
}

/* --- Section C: horizontal strip + inset card --- */
.team-block-c {
  width: min(1100px, 92vw);
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  border-top: 1px solid rgba(158, 170, 236, 0.16);
}

.team-block-c .c-shell {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 1.25rem;
  align-items: end;
}

.c-strip {
  margin: 0;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.c-strip img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
  background: #111428;
}

.c-inset {
  border-radius: 1rem;
  border: 1px solid rgba(164, 175, 233, 0.28);
  padding: 1.25rem 1.35rem;
  background: linear-gradient(165deg, rgba(12, 14, 32, 0.95), rgba(8, 10, 24, 0.92));
  margin-bottom: 0.5rem;
}

.c-inset h2 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
}

.c-inset p {
  margin: 0;
  color: #b7bfdc;
  line-height: 1.65;
  font-size: 0.95rem;
}

/* --- Forms --- */
.join-section {
  width: min(1100px, 92vw);
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 4.5rem) 0 2rem;
  border-top: 1px solid rgba(158, 170, 236, 0.2);
}

.join-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.join-card {
  border-radius: 1rem;
  border: 1px solid rgba(164, 175, 233, 0.24);
  padding: clamp(1.25rem, 3vw, 1.75rem);
  background: rgba(9, 11, 27, 0.88);
}

.join-card h2 {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
}

.join-card .sub {
  margin: 0 0 1.25rem;
  color: #9aa4cc;
  font-size: 0.9rem;
  line-height: 1.55;
}

.form-field {
  margin-bottom: 1rem;
}

.form-field label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9aa4cc;
  font-weight: 700;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  border-radius: 0.65rem;
  border: 1px solid rgba(164, 175, 233, 0.25);
  background: rgba(5, 7, 18, 0.85);
  color: #eef1ff;
  padding: 0.65rem 0.8rem;
  font-family: inherit;
  font-size: 0.95rem;
}

.form-field textarea {
  min-height: 110px;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: rgba(190, 200, 255, 0.55);
  box-shadow: 0 0 0 2px rgba(95, 98, 255, 0.15);
}

.form-status {
  min-height: 1.25rem;
  font-size: 0.88rem;
  margin-top: 0.75rem;
  color: #9de0b4;
}

.form-status.is-error {
  color: #ffb4b4;
}

.btn-submit {
  margin-top: 0.25rem;
  width: 100%;
  border: 0;
  border-radius: 999px;
  padding: 0.75rem 1rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  background: linear-gradient(120deg, #6f3ffc, #3d62f5);
  color: #fff;
}

.btn-submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.form-note {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: #7f89b0;
  line-height: 1.5;
}

/* --- Radio Punjab inline team photo --- */
.radio-team-photo {
  margin: 1.25rem 0 0;
  border-radius: 0.9rem;
  overflow: hidden;
  border: 1px solid rgba(186, 194, 255, 0.22);
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
}

.radio-team-photo:hover {
  border-color: rgba(186, 194, 255, 0.5);
  box-shadow: 0 8px 32px rgba(90, 100, 255, 0.12);
}

.radio-team-photo img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  background: #111428;
  transition: transform 0.5s ease;
}

.radio-team-photo:hover img {
  transform: scale(1.02);
}

.radio-team-photo figcaption {
  padding: 0.6rem 0.85rem;
  font-size: 0.82rem;
  color: #8f99c7;
  line-height: 1.45;
  background: rgba(8, 10, 24, 0.7);
}

/* --- Location section --- */
.location-section {
  width: min(1100px, 92vw);
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 4.5rem) 0 2rem;
  border-top: 1px solid rgba(158, 170, 236, 0.16);
}

.location-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 1.5rem;
  border-radius: 1.2rem;
  border: 1px solid rgba(164, 175, 233, 0.22);
  background:
    radial-gradient(circle at 15% 25%, rgba(92, 100, 255, 0.08), transparent 50%),
    linear-gradient(165deg, rgba(10, 12, 30, 0.95), rgba(8, 10, 24, 0.92));
  overflow: hidden;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.35);
}

.location-info {
  padding: clamp(1.5rem, 3vw, 2.2rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.location-info h2 {
  font-size: clamp(1.3rem, 2.4vw, 1.75rem);
  margin: 0 0 1.25rem;
  line-height: 1.15;
}

.location-address {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  margin-bottom: 1.25rem;
  padding: 1rem 1.15rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(164, 175, 233, 0.18);
  background: rgba(255, 255, 255, 0.02);
}

.location-icon {
  flex-shrink: 0;
  color: #7b85ff;
  margin-top: 0.15rem;
  animation: pinBounce 2.5s ease-in-out infinite;
}

@keyframes pinBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.address-line {
  margin: 0;
  color: #cfd7fa;
  font-size: 0.95rem;
  line-height: 1.55;
}

.address-line strong {
  color: #eef1ff;
  font-weight: 700;
}

.location-meta {
  margin-bottom: 1.25rem;
}

.location-meta p {
  margin: 0 0 0.35rem;
  font-size: 0.9rem;
  color: #9aa4cc;
}

.location-meta strong {
  color: #e8ecff;
}

.location-meta a {
  color: #b4bfff;
  font-weight: 600;
  transition: color 0.2s;
}

.location-meta a:hover {
  color: #fff;
}

.location-btn {
  align-self: flex-start;
  font-size: 0.88rem;
}

.location-map {
  min-height: 380px;
  position: relative;
  overflow: hidden;
}

.location-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  filter: brightness(0.85) contrast(1.1) saturate(0.8);
  transition: filter 0.4s ease;
}

.location-map:hover iframe {
  filter: brightness(1) contrast(1.05) saturate(1);
}

@media (max-width: 900px) {
  .team-block-a,
  .team-block-c .c-shell {
    grid-template-columns: 1fr;
  }

  .b-visual {
    min-height: 380px;
  }

  .b-visual .b-back {
    width: 88%;
    right: 0;
    left: auto;
  }

  .b-visual .b-front {
    width: 88%;
    top: 4rem;
  }

  .join-grid {
    grid-template-columns: 1fr;
  }

  .location-inner {
    grid-template-columns: 1fr;
  }

  .location-map {
    min-height: 300px;
  }
}
