* ============================================================
   contact.css  –  Contact page styles
   Save as: assets/css/contact.css
   Link in contact.html AFTER main.css and header-footer.css
   ============================================================ */

/* ── Hero ── */

.contact-hero {
  text-align: center;
  padding: 36px 0 20px;
}

.contact-hero__eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #16a34a;
  background: rgba(34, 197, 94, 0.1);
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.contact-hero__title {
  font-size: 30px;
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
  text-align: center;
}

.contact-hero__quote {
  font-size: 14px;
  font-style: italic;
  color: #6b7280;
  max-width: 420px;
  margin: 0 auto 4px;
  line-height: 1.65;
}

.contact-hero__source {
  font-size: 12px;
  color: #9ca3af;
  font-weight: 600;
  text-align: center;
}

/* ── Info Cards ── */

.contact-info-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 28px 0;
}

.contact-info-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  padding: 20px 16px;
  text-align: center;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.contact-info-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.09);
}

.contact-info-card__icon {
  font-size: 26px;
  margin-bottom: 8px;
}

.contact-info-card__label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #9ca3af;
  margin-bottom: 5px;
}

.contact-info-card__value {
  font-size: 13px;
  font-weight: 600;
  color: #111827;
  word-break: break-all;
}

.contact-info-card__value a {
  color: #16a34a;
  text-decoration: none;
  transition: color 0.2s;
}

.contact-info-card__value a:hover {
  color: #15803d;
  text-decoration: underline;
}

/* ── Reply Banner ── */

.reply-banner {
  background: linear-gradient(135deg, #f0fdf4, #ecfdf5);
  border: 1.5px solid #bbf7d0;
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 28px;
  font-size: 13.5px;
  color: #166534;
  line-height: 1.6;
}

.reply-banner__icon {
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── Profile Card ── */

.contact-profile-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  padding: 22px 24px;
  margin-bottom: 20px;
}

.contact-profile-card__top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f3f4f6;
}

.contact-profile-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #22c55e, #15803d);
  color: white;
  font-size: 18px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: 0.02em;
}

.contact-profile-meta__name {
  font-size: 16px;
  font-weight: 800;
  color: #111827;
  margin-bottom: 3px;
}

.contact-profile-meta__role {
  font-size: 12px;
  color: #16a34a;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.contact-profile-card p {
  font-size: 14px;
  color: #4b5563;
  line-height: 1.7;
  margin-bottom: 12px;
}

.contact-profile-card p:last-child {
  margin-bottom: 0;
}

/* ── Contact Form Card ── */

.contact-form-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 18px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
  padding: 26px 26px 22px;
  margin-bottom: 28px;
  position: relative;
}

.contact-form-card__title {
  font-size: 17px;
  font-weight: 800;
  color: #111827;
  margin-bottom: 20px;
}

/* Form layout */

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

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

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

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: #374151;
}

.form-required {
  color: #ef4444;
  margin-left: 2px;
}

.form-optional {
  font-size: 12px;
  font-weight: 400;
  color: #9ca3af;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 10px 14px;
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  font-size: 14px;
  color: #111827;
  background: white;
  outline: none;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  font-family: "Inter", "Segoe UI", sans-serif;
  width: 100%;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.12);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-color: white;
  padding-right: 36px;
  cursor: pointer;
}

.contact-submit-btn {
  width: auto;
  padding: 11px 32px;
  display: block;
  margin: 0 auto;
  background: linear-gradient(135deg, #22c55e, #15803d);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease;
  font-family: "Inter", "Segoe UI", sans-serif;
  letter-spacing: 0.01em;
}

.contact-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(22, 163, 74, 0.3);
}

.contact-submit-btn:active {
  transform: translateY(0);
  box-shadow: none;
}

/* Form success state */

.form-success {
  display: none;
  text-align: center;
  padding: 32px 16px;
}

.form-success__icon {
  font-size: 48px;
  margin-bottom: 12px;
}

.form-success h3 {
  font-size: 20px;
  font-weight: 800;
  color: #111827;
  margin-bottom: 8px;
}

.form-success p {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.65;
}

/* ── FAQ Section ── */

.faq-section {
  margin-bottom: 32px;
}

.faq-section__title {
  font-size: 17px;
  font-weight: 800;
  color: #111827;
  margin-bottom: 14px;
}

.faq-item {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  margin-bottom: 10px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 15px 18px;
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-family: "Inter", "Segoe UI", sans-serif;
  transition: background 0.2s;
  line-height: 1.4;
}

.faq-question:hover {
  background: rgba(34, 197, 94, 0.04);
}

.faq-question.open {
  color: #15803d;
}

.faq-chevron {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
  transition:
    transform 0.25s ease,
    background 0.2s;
  color: #6b7280;
}

.faq-question.open .faq-chevron {
  transform: rotate(180deg);
  background: rgba(34, 197, 94, 0.12);
  color: #16a34a;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.3s ease,
    padding 0.2s;
  font-size: 13.5px;
  color: #4b5563;
  line-height: 1.7;
  padding: 0 18px;
}

.faq-answer.open {
  max-height: 300px;
  padding: 0 18px 16px;
}

/* ── Responsive ── */

@media (max-width: 768px) {
  .contact-info-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .contact-hero__title {
    font-size: 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

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

  .contact-profile-card {
    padding: 18px 16px;
  }
}
/* Honeypot Trap - Makes the field invisible to users but detectable by bots */
.hp-trap {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  height: 0;
  width: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.contact-info-card__icon i {
  font-size: 28px;
  color: #16a34a;
}

.contact-info-card__icon .fa-whatsapp {
  color: #25d366;
}

.contact-info-card__icon .fa-linkedin {
  color: #0a66c2;
}
.contact-profile-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.contact-profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.contact-profile-avatar {
  transition:
    transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.4s ease;
  cursor: pointer;
  position: relative;
}

.contact-profile-avatar::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: conic-gradient(
    #22c55e,
    #3b82f6,
    #a855f7,
    #ec4899,
    #f97316,
    #eab308,
    #22c55e
  );
  opacity: 0;
  animation: none;
  z-index: -1;
}

.contact-profile-avatar:hover::before {
  opacity: 1;
  animation: ring-spin 1s linear forwards;
}

@keyframes ring-spin {
  0% {
    transform: rotate(0deg);
    opacity: 1;
  }
  80% {
    transform: rotate(360deg);
    opacity: 1;
  }
  100% {
    transform: rotate(360deg);
    opacity: 0;
  }
}

.contact-profile-avatar:hover {
  transform: scale(1.25) rotate(3deg);
  box-shadow: 0 12px 32px rgba(22, 163, 74, 0.45);
}
