/* FAQ PAGE */

.faq-page {
  background: #f8f9fc;
}

/* Hero Section */
.faq-hero {
  background: linear-gradient(135deg, #0b2f59 0%, #0a3c72 100%);
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}

.faq-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.faq-hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-icon {
  margin-bottom: 20px;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.9;
  }
}

.hero-content h1 {
  font-size: 48px;
  font-weight: 900;
  color: white;
  margin-bottom: 15px;
}

.hero-content > p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 35px;
}

.hero-search {
  max-width: 600px;
  margin: 0 auto;
  background: white;
  border-radius: 50px;
  padding: 8px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.hero-search svg {
  color: #6c757d;
  flex-shrink: 0;
}

.hero-search input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 15px;
  color: #0b2f59;
  background: transparent;
  padding: 12px 0;
}

.hero-search input::placeholder {
  color: #9ca3af;
}

/* Quick Links */
.quick-links {
  padding: 50px 0;
  background: white;
}

.quick-links-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.quick-link-card {
  background: #f8f9fc;
  border: 2px solid #e5e9f2;
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.quick-link-card:hover {
  border-color: #0a3c72;
  background: white;
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.quick-link-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 15px;
  background: linear-gradient(135deg, #e8f4ff, #d1ecf1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0a3c72;
  transition: all 0.3s ease;
}

.quick-link-card:hover .quick-link-icon {
  background: linear-gradient(135deg, #0a3c72, #0b2f59);
  color: white;
  transform: scale(1.1);
}

.quick-link-card h3 {
  font-size: 16px;
  font-weight: 900;
  color: #0b2f59;
  margin-bottom: 5px;
}

.quick-link-card p {
  font-size: 13px;
  color: #6c757d;
  margin: 0;
}

/* FAQ Content */
.faq-content {
  padding: 60px 0;
}

.faq-section {
  margin-bottom: 50px;
  scroll-margin-top: 100px;
}

.faq-section h2 {
  font-size: 28px;
  font-weight: 900;
  color: #0b2f59;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 3px solid #e6a01b;
  display: inline-block;
}

/* FAQ Item */
.faq-item {
  background: white;
  border-radius: 12px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.faq-question {
  width: 100%;
  background: white;
  border: none;
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  cursor: pointer;
  text-align: left;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: #f8f9fc;
}

.faq-question span {
  font-size: 16px;
  font-weight: 900;
  color: #0b2f59;
  flex: 1;
}

.faq-icon {
  flex-shrink: 0;
  color: #0a3c72;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-item.active .faq-question {
  background: #f8f9fc;
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  transition: grid-template-rows 0.4s ease;
}

.faq-answer > p {
  min-height: 0;
  padding: 0 25px;
}

.faq-item.active .faq-answer {
  grid-template-rows: 1fr;
  padding-bottom: 25px;
}

.faq-answer p {
  font-size: 15px;
  color: #6c757d;
  line-height: 1.7;
  margin: 0;
  padding-top: 5px;
}

/* Sidebar */
.faq-sidebar {
  position: sticky;
  top: 100px;
}

.sidebar-card {
  background: white;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  margin-bottom: 25px;
  text-align: center;
}

.card-icon {
  color: #0a3c72;
  margin-bottom: 20px;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.sidebar-card h3 {
  font-size: 20px;
  font-weight: 900;
  color: #0b2f59;
  margin-bottom: 12px;
}

.sidebar-card p {
  font-size: 14px;
  color: #6c757d;
  line-height: 1.6;
  margin-bottom: 20px;
}

.btn-contact {
  display: inline-block;
  background: white;
  border: 2px solid #0a3c72;
  color: #0a3c72;
  border-radius: 8px;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-contact:hover {
  background: #0a3c72;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(10, 60, 114, 0.3);
}

/* Resource List */
.resource-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.resource-list li {
  margin-bottom: 12px;
}

.resource-list li:last-child {
  margin-bottom: 0;
}

.resource-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 15px;
  background: #f8f9fc;
  border: 2px solid #e5e9f2;
  border-radius: 8px;
  color: #0b2f59;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
}

.resource-list a:hover {
  border-color: #0a3c72;
  background: white;
  transform: translateX(5px);
}

.resource-list svg {
  color: #0a3c72;
  flex-shrink: 0;
}

/* CTA Card */
.cta-card {
  background: linear-gradient(135deg, #0b2f59 0%, #0a3c72 100%);
  color: white;
}

.cta-card h3 {
  color: white;
}

.cta-card p {
  color: rgba(255, 255, 255, 0.9);
}

.btn-cta-sidebar {
  display: inline-block;
  background: linear-gradient(135deg, #e2a02b, #cf8507);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 13px 28px;
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-cta-sidebar:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(230, 160, 27, 0.4);
  color: white;
}

/* Search Highlight */
.highlight {
  background: #fff3cd;
  padding: 2px 4px;
  border-radius: 3px;
}

/* RESPONSIVE */
@media (max-width: 1200px) {
  .faq-sidebar {
    position: static;
  }
}

@media (max-width: 992px) {
  .faq-hero {
    padding: 60px 0 50px;
  }

  .hero-content h1 {
    font-size: 40px;
  }

  .quick-links-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .faq-content {
    padding: 50px 0;
  }

  .faq-section {
    margin-bottom: 40px;
  }

  .sidebar-card {
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  .faq-hero {
    padding: 50px 0 40px;
  }

  .hero-content h1 {
    font-size: 32px;
  }

  .hero-content > p {
    font-size: 16px;
    margin-bottom: 25px;
  }

  .hero-search {
    padding: 6px 15px;
  }

  .hero-search input {
    font-size: 14px;
    padding: 10px 0;
  }

  .quick-links {
    padding: 40px 0;
  }

  .quick-links-grid {
    gap: 15px;
  }

  .quick-link-card {
    padding: 25px 15px;
  }

  .quick-link-icon {
    width: 50px;
    height: 50px;
  }

  .quick-link-icon svg {
    width: 28px;
    height: 28px;
  }

  .quick-link-card h3 {
    font-size: 15px;
  }

  .quick-link-card p {
    font-size: 12px;
  }

  .faq-content {
    padding: 40px 0;
  }

  .faq-section h2 {
    font-size: 24px;
  }

  .faq-question {
    padding: 18px 20px;
  }

  .faq-question span {
    font-size: 15px;
  }

  .faq-icon {
    width: 20px;
    height: 20px;
  }

  .faq-item.active .faq-answer {
    padding: 0 20px 20px 20px;
  }

  .faq-answer > p {
    padding: 0 20px;
  }

  .faq-answer p {
    font-size: 14px;
  }

  .sidebar-card {
    padding: 25px;
  }

  .sidebar-card h3 {
    font-size: 18px;
  }
}

@media (max-width: 576px) {
  .faq-hero {
    padding: 40px 0 30px;
  }

  .hero-icon svg {
    width: 60px;
    height: 60px;
  }

  .hero-content h1 {
    font-size: 28px;
  }

  .hero-content > p {
    font-size: 15px;
  }

  .quick-links-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .quick-link-card {
    padding: 20px 15px;
  }

  .faq-section {
    margin-bottom: 35px;
  }

  .faq-section h2 {
    font-size: 22px;
    margin-bottom: 20px;
  }

  .faq-item {
    margin-bottom: 12px;
  }

  .faq-question {
    padding: 16px 18px;
  }

  .faq-question span {
    font-size: 14px;
  }

  .faq-item.active .faq-answer {
    padding: 0 18px 18px 18px;
  }

  .faq-answer > p {
    padding: 0 18px;
  }

  .faq-answer p {
    font-size: 13px;
  }

  .sidebar-card {
    padding: 20px;
  }

  .card-icon svg {
    width: 40px;
    height: 40px;
  }

  .sidebar-card h3 {
    font-size: 17px;
  }

  .sidebar-card p {
    font-size: 13px;
  }

  .btn-contact,
  .btn-cta-sidebar {
    padding: 11px 24px;
    font-size: 14px;
  }

  .resource-list a {
    padding: 11px 14px;
    font-size: 13px;
  }
}
