/* ============================================
   CONTACT PAGE - REDESIGN
   ============================================ */

/* Hero Section */
.contact-hero {
  background: linear-gradient(135deg, #0a2e5c 0%, #1a5c3a 50%, #0a2e5c 100%);
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

.contact-hero::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at 30% 50%, rgba(76, 175, 80, 0.08) 0%, transparent 50%),
              radial-gradient(ellipse at 70% 50%, rgba(8, 82, 166, 0.08) 0%, transparent 50%);
  animation: heroGlow 8s ease-in-out infinite alternate;
}

@keyframes heroGlow {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-2%, -2%); }
}

.min-vh-50 {
  min-height: 50vh;
}

.contact-hero__badge {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  color: #a5d6a7;
  font-size: 0.875rem;
  font-weight: 500;
  backdrop-filter: blur(4px);
}

.contact-hero__title {
  color: #ffffff;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.2;
}

.contact-hero__subtitle {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.1rem;
  max-width: 560px;
  line-height: 1.7;
}

.contact-hero .btn-outline-light {
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.contact-hero .btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

/* Main Content Section */
.contact-main-section {
  background: #f8fafb;
  padding-top: 80px;
  padding-bottom: 80px;
}

/* Contact Form Card */
.contact-form-card {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.contact-form-card__header {
  padding: 32px 32px 0;
}

.contact-form-card__body {
  padding: 24px 32px 32px;
}

/* Contact Form */
.contact-form .form-label {
  font-size: 0.875rem;
  color: #374151;
  margin-bottom: 6px;
}

.contact-form .form-control {
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.contact-form .form-control:focus {
  border-color: #0852a6;
  box-shadow: 0 0 0 3px rgba(8, 82, 166, 0.1);
}

.contact-form .input-group-text {
  background: #f3f4f6;
  border: 1.5px solid #e5e7eb;
  border-right: none;
  border-radius: 10px 0 0 10px;
  color: #6b7280;
  padding: 12px 14px;
}

.contact-form .input-group .form-control {
  border-left: none;
  border-radius: 0 10px 10px 0;
}

.contact-form textarea.form-control {
  border-radius: 10px;
  resize: vertical;
}

.contact-form__submit {
  border-radius: 12px;
  padding: 14px 24px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.contact-form__submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(8, 82, 166, 0.3);
}

.contact-form__submit:disabled {
  transform: none;
  box-shadow: none;
  opacity: 0.7;
}

/* Notice */
.contact-notice {
  display: flex;
  align-items: center;
  padding: 14px 18px;
  border-radius: 12px;
  margin-bottom: 20px;
  font-size: 0.9rem;
  position: relative;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.contact-notice--success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}

.contact-notice--error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.contact-notice__close {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 1.3rem;
  cursor: pointer;
  color: inherit;
  opacity: 0.6;
  line-height: 1;
}

.contact-notice__close:hover {
  opacity: 1;
}

/* Contact Info Stack */
.contact-info-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.contact-info-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.contact-info-item__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-info-item__icon--primary {
  background: rgba(8, 82, 166, 0.1);
  color: #0852a6;
}

.contact-info-item__icon--success {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
}

.contact-info-item__icon--info {
  background: rgba(59, 130, 246, 0.1);
  color: #2563eb;
}

.contact-info-item__icon--warning {
  background: rgba(245, 158, 11, 0.1);
  color: #d97706;
}

.contact-info-item__content h5 {
  font-size: 0.95rem;
  color: #1f2937;
}

.contact-info-item__content p {
  font-size: 0.9rem;
  color: #374151;
  margin-bottom: 0;
}

.contact-info-item__content a {
  color: #0852a6;
}

.contact-info-item__content a:hover {
  color: #063d7a;
}

.contact-info-item__note {
  font-size: 0.8rem;
  color: #6b7280;
}

/* Support Types */
.contact-support-types {
  background: #ffffff;
  border-radius: 16px;
  padding: 24px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.contact-support-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: #f8fafb;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  font-size: 0.85rem;
  font-weight: 500;
  color: #374151;
  transition: all 0.2s ease;
}

.contact-support-chip:hover {
  background: #f0f7ff;
  border-color: #bfdbfe;
}

.contact-support-chip i {
  font-size: 1rem;
}

/* FAQ Section */
.contact-faq-section {
  background: #ffffff;
  padding-top: 80px;
  padding-bottom: 80px;
}

.contact-faq-section__badge {
  background: rgba(8, 82, 166, 0.06);
  border: 1px solid rgba(8, 82, 166, 0.15);
  border-radius: 50px;
  color: #0852a6;
  font-size: 0.875rem;
  font-weight: 500;
}

.contact-faq-accordion .accordion-item {
  border: 1px solid #e5e7eb;
  border-radius: 14px !important;
  margin-bottom: 12px;
  overflow: hidden;
}

.contact-faq-accordion .accordion-item:last-child {
  margin-bottom: 0;
}

.contact-faq-accordion .accordion-button {
  font-weight: 600;
  font-size: 0.95rem;
  color: #1f2937;
  padding: 18px 24px;
  background: #ffffff;
  box-shadow: none;
}

.contact-faq-accordion .accordion-button:not(.collapsed) {
  background: #f8fafb;
  color: #0852a6;
}

.contact-faq-accordion .accordion-button::after {
  width: 1rem;
  height: 1rem;
}

.contact-faq-accordion .accordion-body {
  padding: 0 24px 18px;
  color: #4b5563;
  line-height: 1.7;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 991.98px) {
  .contact-hero {
    padding: 100px 0 60px;
  }

  .contact-main-section {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .contact-form-card__header {
    padding: 24px 20px 0;
  }

  .contact-form-card__body {
    padding: 20px 20px 24px;
  }

  .contact-faq-section {
    padding-top: 48px;
    padding-bottom: 48px;
  }
}

@media (max-width: 767.98px) {
  .contact-hero__title {
    font-size: 1.75rem;
  }

  .contact-hero__subtitle {
    font-size: 0.95rem;
  }

  .contact-info-item {
    padding: 16px;
  }
}
