/* ========================================
   CONTACT PAGE STYLES
   ======================================== */

/* Active nav link */
.nav-link.active {
  color: var(--purple-primary);
  font-weight: 600;
}

.nav-link.active::after {
  width: 100%;
}

/* ========================================
   CONTACT HERO
   ======================================== */
.contact-hero {
  text-align: center;
  padding: 130px 32px 48px;
  background: var(--bg-white);
}

.contact-title {
  font-size: 60px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-dark);
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease 0.1s both;
}

.contact-subtitle {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-body);
  max-width: 520px;
  margin: 0 auto;
  animation: fadeInUp 0.8s ease 0.2s both;
}

/* ========================================
   CONTACT GRID
   ======================================== */
.contact-content {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 32px 48px;
  animation: fadeInUp 0.8s ease 0.3s both;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

/* ========================================
   FORM CARD
   ======================================== */
.contact-form-card {
  background: var(--bg-white);
  border: 1.5px solid var(--border-light);
  border-radius: 16px;
  padding: 36px 32px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
  transition: box-shadow var(--transition);
}

.contact-form-card:hover {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: 0.01em;
}

.form-input-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1.5px solid var(--border-input);
  border-radius: var(--radius-sm);
  padding: 0 14px;
  background: var(--bg-white);
  transition: all var(--transition);
}

.form-input-wrapper:focus-within {
  border-color: var(--purple-primary);
  box-shadow: 0 0 0 3px var(--purple-glow);
}

.form-input-icon {
  flex-shrink: 0;
  opacity: 0.55;
}

.form-input-wrapper input {
  flex: 1;
  font-size: 14px;
  color: var(--text-dark);
  background: transparent;
  padding: 13px 0;
  min-width: 0;
}

.form-input-wrapper input::placeholder {
  color: #9ca3af;
  font-weight: 400;
}

/* Textarea */
.form-textarea-wrapper {
  display: flex;
  gap: 10px;
  border: 1.5px solid var(--border-input);
  border-radius: var(--radius-sm);
  padding: 14px;
  background: var(--bg-white);
  transition: all var(--transition);
  align-items: flex-start;
}

.form-textarea-wrapper:focus-within {
  border-color: var(--purple-primary);
  box-shadow: 0 0 0 3px var(--purple-glow);
}

.form-textarea-icon {
  flex-shrink: 0;
  opacity: 0.55;
  margin-top: 2px;
}

.form-textarea-wrapper textarea {
  flex: 1;
  font-size: 14px;
  color: var(--text-dark);
  background: transparent;
  border: none;
  outline: none;
  resize: vertical;
  font-family: var(--font);
  line-height: 1.6;
  min-height: 100px;
}

.form-textarea-wrapper textarea::placeholder {
  color: #9ca3af;
  font-weight: 400;
}

/* Send Button */
.btn-send {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  font-size: 15px;
  font-weight: 600;
  color: white;
  background: var(--purple-primary);
  border: none;
  border-radius: var(--radius-sm);
  padding: 15px 24px;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  font-family: var(--font);
}

.btn-send:hover {
  background: var(--purple-hover);
  box-shadow: var(--shadow-btn);
  transform: translateY(-1px);
}

.btn-send:active {
  transform: translateY(0);
}

.btn-send.loading .btn-send-text,
.btn-send.loading .btn-send-icon {
  opacity: 0;
}

.btn-send.loading .btn-send-loader {
  display: block;
}

.btn-send-loader {
  display: none;
  width: 20px;
  height: 20px;
  border: 2.5px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  position: absolute;
}

/* ========================================
   INFO CARD
   ======================================== */
.contact-info-card {
  background: var(--bg-white);
  border: 1.5px solid var(--border-light);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: box-shadow var(--transition);
}

.contact-info-card:hover {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
}

/* Illustration */
.contact-illustration {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 0 28px;
}

/* Info list */
.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 4px 0;
}

.info-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--purple-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.info-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
}

.info-value {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ========================================
   FOOTER BANNER
   ======================================== */
.contact-footer-banner {
  background: var(--purple-light);
  border-top: 1px solid rgba(124, 92, 252, 0.1);
  padding: 28px 32px;
  margin-top: 16px;
  /* border:1px solid black; */
  display:flex;
  justify-content:center;
  align-items:center;
}

.footer-banner-inner {
  /* border:1px solid black; */
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
}

.footer-banner-icon {
  flex-shrink: 0;
}

.footer-banner-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-banner-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--purple-primary);
  text-align: center;
}

.footer-banner-sub {
  font-size: 14px;
  color: var(--text-body);
  text-align: center;
}

/* ========================================
   RESPONSIVE - CONTACT PAGE
   ======================================== */
@media (max-width: 768px) {
  .contact-hero {
    padding: 110px 24px 36px;
  }

  .contact-title {
    font-size: 42px;
  }

  .contact-subtitle {
    font-size: 15px;
  }

  .contact-content {
    padding: 0 24px 36px;
    width:90%;
  }

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

  .contact-form-card {
    padding: 28px 24px;
  }

  .contact-info-card {
    padding: 28px 24px;
  }

  .footer-banner-inner {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .contact-hero {
    padding: 96px 16px 28px;
  }

  .contact-title {
    font-size: 34px;
}

.contact-subtitle {
    font-size: 14px;
    width: 85%;
  }

  .contact-content {
    padding: 0 16px 28px;
    width:95%;
  }

  .contact-form-card {
    padding: 24px 18px;
  }

  .contact-info-card {
    padding: 24px 18px;
  }

  .contact-footer-banner {
    padding: 24px 16px;
  }

  .footer-banner-title {
    font-size: 15px;
  }

  .footer-banner-sub {
    font-size: 13px;
  }
}

@media (min-width: 1200px) {
  .contact-title {
    font-size: 68px;
  }
}
