/* ============================================================
   Niyutam — Contact Section
   ============================================================ */

:root {
  --contact-bg: #0B0F1A;
  --contact-accent: #A3FF00;
  --contact-text: #ffffff;
  --contact-muted: rgba(255, 255, 255, 0.6);
  --contact-card-bg: rgba(255, 255, 255, 0.03);
  --contact-card-border: rgba(255, 255, 255, 0.08);
}

.contact-section {
  position: relative;
  background: var(--contact-bg);
  padding: 120px 0;
  overflow: hidden;
  color: var(--contact-text);
  font-family: 'Satoshi', sans-serif;
  scroll-margin-top: 80px;
}

/* Background effects */
.contact-section__canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.8;
}

.contact-section__glow {
  position: absolute;
  top: 50%;
  right: 15%;
  transform: translateY(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(163, 255, 0, 0.05), transparent 70%);
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}

.contact-section__inner {
  position: relative;
  z-index: 10;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 2rem);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: center;
}

/* ── Left Side: Trust Panel ────────────────────────────── */
.contact-panel {
  display: flex;
  flex-direction: column;
}

.contact-panel__heading {
  font-family: 'Clash Display', sans-serif;
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.contact-panel__sub {
  font-size: 18px;
  color: var(--contact-muted);
  line-height: 1.6;
  margin-bottom: 48px;
}

.contact-info {
  list-style: none;
  padding: 0;
  margin: 0 0 48px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info__item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-info__icon {
  width: 24px;
  height: 24px;
  filter: brightness(0) saturate(100%) invert(88%) sepia(35%) saturate(838%) hue-rotate(34deg) brightness(108%) contrast(106%); /* Approximation of #A3FF00 using filters on existing orange svgs */
}

.contact-info__link {
  font-size: 18px;
  color: var(--contact-text);
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-info__link:hover {
  color: var(--contact-accent);
}

.contact-trust {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: rgba(163, 255, 0, 0.05);
  border: 1px solid rgba(163, 255, 0, 0.15);
  border-radius: 12px;
  margin-bottom: 48px;
  font-size: 15px;
  font-weight: 500;
  color: var(--contact-accent);
  width: fit-content;
}

.contact-trust__icon {
  width: 20px;
  height: 20px;
  filter: brightness(0) saturate(100%) invert(88%) sepia(35%) saturate(838%) hue-rotate(34deg) brightness(108%) contrast(106%);
}

.contact-social {
  display: flex;
  gap: 16px;
}

.contact-social__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--contact-card-bg);
  border: 1px solid var(--contact-card-border);
  transition: all 0.3s ease;
}

.contact-social__link img {
  width: 20px;
  height: 20px;
  transition: filter 0.3s ease;
}

.contact-social__link:hover {
  background: rgba(163, 255, 0, 0.1);
  border-color: var(--contact-accent);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(163, 255, 0, 0.15);
}

.contact-social__link:hover img {
  filter: brightness(0) saturate(100%) invert(88%) sepia(35%) saturate(838%) hue-rotate(34deg) brightness(108%) contrast(106%);
}


/* ── Right Side: Form Card ─────────────────────────────── */
.contact-form-wrapper {
  background: var(--contact-card-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--contact-card-border);
  border-radius: 20px;
  padding: 48px 40px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.contact-form__group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-form__group--full {
  grid-column: 1 / -1;
}

.contact-form__label {
  font-size: 14px;
  font-weight: 500;
  color: var(--contact-muted);
}

.contact-form__input {
  width: 100%;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--contact-card-border);
  border-radius: 10px;
  padding: 14px 16px;
  font-family: 'Satoshi', sans-serif;
  font-size: 16px;
  color: var(--contact-text);
  transition: all 0.3s ease;
  outline: none;
}

.contact-form__input::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

.contact-form__input:focus {
  border-color: var(--contact-accent);
  background: rgba(0, 0, 0, 0.4);
  box-shadow: 0 0 0 3px rgba(163, 255, 0, 0.1);
}

textarea.contact-form__input {
  resize: vertical;
  min-height: 120px;
}

.contact-form__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 56px;
  padding: 0 32px;
  border-radius: 28px; /* Pill shape */
  font-family: 'Satoshi', sans-serif;
  font-size: 16px;
  font-weight: 600;
  background: var(--contact-accent);
  color: var(--contact-bg);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 8px;
  width: fit-content;
}

.contact-btn-icon {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.contact-form__btn:hover {
  background: #d9ff1a;
  transform: scale(1.02) translateY(-2px);
  box-shadow: 0 10px 25px rgba(163, 255, 0, 0.2);
}

.contact-form__btn:hover .contact-btn-icon {
  transform: translateX(4px);
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .contact-section__inner {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  
  .contact-section__glow {
    right: 50%;
    transform: translate(50%, -50%);
  }
}

@media (max-width: 640px) {
  .contact-section {
    padding: 80px 0;
  }
  
  .contact-form__row {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .contact-form-wrapper {
    padding: 32px 24px;
  }
  
  .contact-form__btn {
    width: 100%;
  }
}
