/* ============================================================
   JRCK — CONTACT PAGE STYLES
   contact.css — imported only on contact.html
   ============================================================ */

/* ── Base animation setup ── */
.ct-anim {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.22,1,0.36,1),
              transform 0.65s cubic-bezier(0.22,1,0.36,1);
}
.ct-anim.ct-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ================================================================
   REACH-US SECTION
================================================================ */
.ct-reach {
  background: var(--black);
  position: relative;
  overflow: hidden;
}
.ct-reach::before {
  content: '';
  position: absolute;
  top: -120px; left: -120px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(246,126,42,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.ct-reach-header {
  max-width: 640px;
  margin-bottom: 56px;
}
.ct-intro {
  font-size: 1rem;
  color: var(--gray);
  line-height: 1.8;
  margin-top: 16px;
}

/* ── 3 big action cards ── */
.ct-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.ct-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 36px 28px;
  background: var(--dark2);
  border: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
  text-decoration: none;
  color: var(--white);
  transition: transform 0.35s cubic-bezier(0.22,1,0.36,1),
              border-color 0.3s ease,
              box-shadow 0.35s ease;
  cursor: pointer;
}
.ct-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--ct-accent, var(--orange));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1);
}
.ct-card:hover {
  transform: translateY(-6px);
  border-color: rgba(246,126,42,0.3);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(246,126,42,0.15);
}
.ct-card:hover::after {
  transform: scaleX(1);
}

/* Per-card accent colours */
.ct-card--whatsapp { --ct-accent: #25D366; }
.ct-card--email    { --ct-accent: #F67E2A; }
.ct-card--insta    { --ct-accent: #E1306C; }

.ct-card-icon-wrap {
  position: relative;
  width: 60px; height: 60px;
  display: flex; align-items: center; justify-content: center;
}
.ct-card-icon {
  font-size: 1.8rem;
  color: var(--ct-accent, var(--orange));
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}
.ct-card:hover .ct-card-icon {
  transform: scale(1.15);
}
.ct-card-glow {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: var(--ct-accent, var(--orange));
  opacity: 0;
  filter: blur(14px);
  transition: opacity 0.4s ease;
}
.ct-card:hover .ct-card-glow {
  opacity: 0.25;
}

.ct-card-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ct-card-label {
  font-family: var(--font-heading);
  font-size: 0.62rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--ct-accent, var(--orange));
  margin: 0;
}
.ct-card-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--white);
  letter-spacing: 1px;
  margin: 2px 0;
  line-height: 1;
}
.ct-card-value {
  font-size: 0.88rem;
  color: var(--gray);
  margin: 0 0 12px;
  line-height: 1.5;
}
.ct-card-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ct-accent, var(--orange));
  transition: gap 0.25s ease;
}
.ct-card:hover .ct-card-action {
  gap: 12px;
}

/* Mouse-trail shine overlay */
.ct-card-shine {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  transition: background 0.15s ease;
}

/* ── Info strip ── */
.ct-info-strip {
  display: flex;
  gap: 0;
  background: var(--dark2);
  border: 1px solid rgba(246,126,42,0.12);
  overflow: hidden;
}
.ct-info-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 28px;
  flex: 1;
  transition: background 0.3s ease;
}
.ct-info-item:hover {
  background: rgba(246,126,42,0.04);
}
.ct-info-item .fas,
.ct-info-item .fab {
  font-size: 1.2rem;
  color: var(--orange);
  flex-shrink: 0;
}
.ct-info-label {
  font-family: var(--font-heading);
  font-size: 0.6rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0 0 2px;
}
.ct-info-val {
  font-size: 0.82rem;
  color: var(--gray);
  margin: 0;
  line-height: 1.5;
}
.ct-strip-divider {
  width: 1px;
  background: rgba(246,126,42,0.12);
  align-self: stretch;
  flex-shrink: 0;
}

/* ================================================================
   MAP SECTION
================================================================ */
.ct-map-section {
  padding: 60px 0 0;
  background: var(--black);
}
.ct-map-section .container {
  margin-bottom: 32px;
}
.ct-map-wrapper {
  position: relative;
  overflow: hidden;
  border-top: 2px solid rgba(246,126,42,0.3);
}
.ct-map-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(246,126,42,0.1);
  pointer-events: none;
  z-index: 1;
}
.ct-map-wrapper iframe {
  display: block;
  filter: brightness(0.85) contrast(1.05) saturate(0.7) invert(0.92) hue-rotate(180deg);
  /* Dark-themed map */
}

/* ================================================================
   JOIN / MEMBERSHIP SECTION
================================================================ */
.ct-join {
  position: relative;
  background: var(--black);
  overflow: hidden;
}
.ct-join::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(246,126,42,0.5), transparent);
}

/* Animated background lines */
.ct-join-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.ct-join-lines span {
  position: absolute;
  display: block;
  width: 1px;
  top: 0; bottom: 0;
  background: linear-gradient(to bottom,
    transparent 0%,
    rgba(246,126,42,0.06) 30%,
    rgba(246,126,42,0.12) 50%,
    rgba(246,126,42,0.06) 70%,
    transparent 100%
  );
  animation: ctLineFall 6s ease-in-out infinite;
}
.ct-join-lines span:nth-child(1) { left: 10%;  animation-delay: 0s;    animation-duration: 7s; }
.ct-join-lines span:nth-child(2) { left: 27%;  animation-delay: 1.5s;  animation-duration: 6s; }
.ct-join-lines span:nth-child(3) { left: 50%;  animation-delay: 0.8s;  animation-duration: 8s; }
.ct-join-lines span:nth-child(4) { left: 72%;  animation-delay: 2.2s;  animation-duration: 6.5s; }
.ct-join-lines span:nth-child(5) { left: 88%;  animation-delay: 3s;    animation-duration: 7.5s; }
@keyframes ctLineFall {
  0%, 100% { opacity: 0; transform: scaleY(0.3) translateY(-20%); }
  40%, 60% { opacity: 1; transform: scaleY(1) translateY(0); }
}

/* Header */
.ct-join-header {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}
.ct-join-header .divider-orange {
  margin: 16px auto;
}
.ct-join-sub {
  font-size: 1rem;
  color: var(--gray);
  line-height: 1.8;
  margin-top: 20px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* Requirement pills */
.ct-reqs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 52px;
  position: relative;
  z-index: 1;
}
.ct-req-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(246,126,42,0.08);
  border: 1px solid rgba(246,126,42,0.25);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white);
  transition: background 0.3s ease, border-color 0.3s ease;
}
.ct-req-pill:hover {
  background: rgba(246,126,42,0.15);
  border-color: rgba(246,126,42,0.5);
}
.ct-req-pill .fas {
  color: var(--orange);
  font-size: 0.75rem;
}

/* Google Form wrapper */
.ct-gform-wrap {
  position: relative;
  z-index: 1;
  background: var(--dark2);
  border: 1px solid rgba(246,126,42,0.2);
  overflow: hidden;
  max-width: 860px;
  margin: 0 auto;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5);
}

.ct-gform-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 28px;
  background: rgba(246,126,42,0.06);
  border-bottom: 1px solid rgba(246,126,42,0.15);
}
.ct-gform-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(246,126,42,0.4));
}
.ct-gform-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--white);
  margin: 0;
}
.ct-gform-note {
  font-size: 0.75rem;
  color: var(--gray);
  margin: 2px 0 0;
  letter-spacing: 1px;
}

.ct-gform-body {
  padding: 0;
  background: #fff; /* Google Forms has white bg */
}
.ct-gform-body iframe {
  display: block;
  min-height: 900px;
}

/* Fallback */
.ct-gform-fallback {
  text-align: center;
  margin-top: 24px;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.ct-gform-fallback p {
  font-size: 0.85rem;
  color: var(--gray);
  margin: 0;
}
.ct-gform-fallback .btn {
  font-size: 0.8rem;
  padding: 12px 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ================================================================
   RESPONSIVE
================================================================ */
@media (max-width: 1100px) {
  .ct-cards { grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
  .ct-card  { padding: 28px 20px; }
}

@media (max-width: 900px) {
  .ct-cards { grid-template-columns: 1fr; gap: 14px; }
  .ct-card  {
    flex-direction: row;
    align-items: center;
    gap: 20px;
    padding: 24px 20px;
  }
  .ct-card-icon-wrap { width: 48px; height: 48px; flex-shrink: 0; }
  .ct-card-icon { font-size: 1.4rem; }
  .ct-card-title { font-size: 1.4rem; }

  .ct-info-strip {
    flex-direction: column;
    gap: 0;
  }
  .ct-strip-divider {
    width: auto; height: 1px;
  }
  .ct-info-item { padding: 16px 20px; }
}

@media (max-width: 600px) {
  .ct-gform-wrap  { margin: 0 -8px; }
  .ct-gform-header { padding: 14px 16px; gap: 12px; }
  .ct-gform-logo  { width: 36px; height: 36px; }
  .ct-gform-title { font-size: 0.8rem; letter-spacing: 2px; }

  .ct-reqs { gap: 8px; }
  .ct-req-pill { font-size: 0.65rem; padding: 8px 14px; }

  .ct-card-title  { font-size: 1.2rem; }
  .ct-card-value  { font-size: 0.82rem; }
}

@media (max-width: 400px) {
  .ct-card { flex-direction: column; gap: 16px; }
  .ct-join-sub { font-size: 0.9rem; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .ct-anim { transition: none; }
  .ct-join-lines span { animation: none; }
  .ct-card { transition: border-color 0.2s; }
  .ct-card:hover { transform: none; }
}
