/* Contact Page Specific Styles */

/* Contact Hero Section */
.contact-main {
  background-color: #ffffff;
  min-height: calc(100vh - 80px);
}

.contact-hero {
  background-color: #ffffff;
  padding: 60px 0 40px 0;
  text-align: center;
}

.contact-hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.contact-title {
  font-family: var(--font-roobert);
  font-size: 48px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 16px;
  line-height: 1.2;
}

.contact-subtitle {
  font-size: 18px;
  color: #6b7280;
  font-weight: 400;
  margin: 0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* Contact Methods Section */
.contact-methods {
  background-color: #ffffff;
  padding: 40px 0 60px 0;
}

.contact-methods-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 20px;
}

.contact-card {
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(61, 21, 206, 0.05), transparent);
  transition: left 0.6s ease;
}

.contact-card:hover::before {
  left: 100%;
}

.contact-card:hover {
  border-color: #3d15ce;
  transform: translateY(-4px);
  box-shadow: 0 12px 25px rgba(61, 21, 206, 0.15);
}

.contact-icon {
  width: 56px;
  height: 56px;
  background-color: #f3f4f6;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  color: #3d15ce;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.contact-card:hover .contact-icon {
  background-color: #3d15ce;
  color: #ffffff;
  transform: scale(1.1);
}

.contact-method-title {
  font-family: var(--font-roobert);
  font-size: 20px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

.contact-method-description {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 16px;
  line-height: 1.5;
  position: relative;
  z-index: 1;
}

.contact-method-link {
  font-size: 16px;
  font-weight: 500;
  color: #3d15ce;
  text-decoration: none;
  border: 2px solid #3d15ce;
  border-radius: 8px;
  padding: 10px 20px;
  display: inline-block;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.contact-method-link:hover {
  background-color: #3d15ce;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(61, 21, 206, 0.3);
}

/* FAQ Section */
.faq-section {
  background-color: #f9fafb;
  padding: 80px 0;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

.faq-header {
  text-align: center;
  margin-bottom: 48px;
}

.faq-title {
  font-family: var(--font-roobert);
  font-size: 36px;
  font-weight: 600;
  color: #111827;
  margin: 0;
  line-height: 1.2;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: #d1d5db;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 24px;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  font-weight: 500;
  color: #111827;
  transition: all 0.3s ease;
  font-family: var(--font-roobert);
}

.faq-question:hover {
  background-color: #f9fafb;
}

.faq-question[aria-expanded="true"] {
  background-color: #f8fafc;
  border-bottom: 1px solid #e5e7eb;
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(180deg);
  color: #3d15ce;
}

.faq-icon {
  color: #6b7280;
  transition: all 0.3s ease;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  background-color: #ffffff;
}

.faq-answer.expanded {
  max-height: 200px;
  padding: 16px 24px 24px 24px;
}

.faq-answer p {
  margin: 0;
  font-size: 14px;
  color: #6b7280;
  line-height: 1.6;
}

.faq-footer {
  text-align: center;
  margin-top: 40px;
}

.faq-link {
  font-size: 16px;
  color: #3d15ce;
  text-decoration: underline;
  font-weight: 500;
  transition: color 0.3s ease;
}

.faq-link:hover {
  color: #2b0f9a;
}

/* Footer Updates for Contact Page */
.footer-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-section-title {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 8px;
}

.footer-nav {
  display: flex;
  gap: 48px;
  align-items: flex-start;
}

.contact-info-title,
.payment-methods-title {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 12px;
}

.payment-icons {
  display: flex;
  gap: 8px;
  align-items: center;
}

.payment-icon {
  width: 40px;
  height: 28px;
  background-color: #e5e7eb;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}

.payment-icon:hover {
  background-color: #d1d5db;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .contact-hero {
    padding: 40px 0 30px 0;
  }

  .contact-hero-container {
    padding: 0 16px;
  }

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

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

  .contact-methods {
    padding: 30px 0 50px 0;
  }

  .contact-methods-container {
    padding: 0 16px;
  }

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

  .contact-card {
    padding: 24px 20px;
  }

  .faq-section {
    padding: 60px 0;
  }

  .faq-container {
    padding: 0 16px;
  }

  .faq-title {
    font-size: 28px;
  }

  .faq-question {
    padding: 20px;
    font-size: 15px;
  }

  .faq-answer.expanded {
    padding: 16px 20px 20px 20px;
  }

  .footer-nav {
    flex-direction: column;
    gap: 24px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .contact-title {
    font-size: 28px;
  }

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

  .contact-card {
    padding: 20px 16px;
  }

  .contact-icon {
    width: 48px;
    height: 48px;
  }

  .contact-method-title {
    font-size: 18px;
  }

  .contact-method-description {
    font-size: 13px;
  }

  .contact-method-link {
    font-size: 14px;
    padding: 8px 16px;
  }

  .faq-title {
    font-size: 24px;
  }

  .faq-question {
    padding: 16px;
    font-size: 14px;
  }

  .faq-answer.expanded {
    padding: 16px 16px 16px 16px;
  }

  .faq-answer p {
    font-size: 13px;
  }
}

/* Animation for FAQ items */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.faq-item {
  animation: fadeInUp 0.6s ease-out;
}

.faq-item:nth-child(1) { animation-delay: 0.1s; }
.faq-item:nth-child(2) { animation-delay: 0.2s; }
.faq-item:nth-child(3) { animation-delay: 0.3s; }

/* Focus states for accessibility */
.contact-method-link:focus {
  outline: 2px solid #3d15ce;
  outline-offset: 2px;
}

.faq-question:focus {
  outline: 2px solid #3d15ce;
  outline-offset: 2px;
}

.faq-link:focus {
  outline: 2px solid #3d15ce;
  outline-offset: 2px;
}

/* Loading animation for contact cards */
.contact-card {
  animation: fadeInUp 0.8s ease-out;
}

.contact-card:nth-child(1) { animation-delay: 0.1s; }
.contact-card:nth-child(2) { animation-delay: 0.2s; }
.contact-card:nth-child(3) { animation-delay: 0.3s; }
.contact-card:nth-child(4) { animation-delay: 0.4s; }

/* Smooth hover transitions */
* {
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Active states */
.contact-method-link:active {
  transform: translateY(0);
}

.faq-question:active {
  transform: scale(0.98);
}
