/* FAQ Page Styles - Ethics Fleet Serve */
/* Clean, modular, no theme conflicts */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: #0A1A2F;
  color: #F1F5F9;
  line-height: 1.5;
  overflow-x: hidden;
}

/* Container */
.faq-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
}

@media (max-width: 768px) {
  .faq-container { padding: 0 20px; }
}

/* Typography */
h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.2;
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.highlight {
  color: #D4AF37;
}

/* ===== HERO SECTION (Matching Ship Supplies Page) ===== */
.hero {
  position: relative;
  height: 70vh;
  min-height: 680px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 750px;
  object-fit: cover;
  filter: blur(8px) brightness(0.65);
  transform: scale(1.02);
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,14,23,0.75) 0%, rgba(0,18,41,0.85) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  padding: 20px 20px;
}

.hero h1 {
  color: white;
}

.hero p {
  font-size: 1.1rem;
  color: white;
  opacity: 0.95;
  max-width: 1100px;
  margin: 0 auto 1.5rem;
}

.hero-stats {
  display: flex;
  gap: 60px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-stat-number {
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 900;
  color: #ffffff;
  text-shadow: 0 0 30px rgba(59,130,246,0.7);
  display: block;
  margin-bottom: 8px;
}

.hero-stat-label {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.92);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, #D4AF37, #B38F2A);
  color: #050f1a;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(212,175,55,0.4);
}

.btn-outline {
  background: transparent;
  border: 2px solid #D4AF37;
  color: #D4AF37;
}

.btn-outline:hover {
  background: #D4AF37;
  color: #050f1a;
  transform: translateY(-3px);
}

.btn-whatsapp {
  background: #25D366;
  color: white;
}

.btn-whatsapp:hover {
  background: #128C7E;
  transform: translateY(-3px);
}

/* ===== BREADCRUMB (Matching Ship Supplies Page) ===== */
.breadcrumb {
  background: rgba(255,255,255,0.95);
  padding: 18px 30px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  position: relative;
  z-index: 10;
}

.breadcrumb-container {
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 2rem;
}

.breadcrumb-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.breadcrumb-list li:not(:last-child)::after {
  content: "→";
  margin-left: 12px;
  color: #6b7280;
  font-weight: 600;
}

.breadcrumb-list a {
  color: #0f3057;
  font-weight: 700;
  text-decoration: none;
  transition: 0.3s;
}

.breadcrumb-list a:hover {
  color: #D4AF37;
}

.breadcrumb-list li:last-child {
  color: #0e7490;
  font-weight: 700;
}

/* ===== FAQ SECTION ===== */
.faq-section {
  background: #0F2A3F;
  padding: 70px 0;
}

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

.faq-section-subtitle {
  color: #D4AF37;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.75rem;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 12px;
}

.faq-section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: #ffffff;
}

.faq-title-underline {
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #D4AF37, #B38F2A);
  margin: 16px auto 0;
  border-radius: 3px;
}

/* FAQ Grid */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 24px;
  margin-top: 20px;
}

.faq-card {
  background: linear-gradient(135deg, #0f2f3f 0%, #071a24 100%);
  border-radius: 24px;
  padding: 24px 28px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid rgba(212, 175, 55, 0.12);
  position: relative;
  overflow: hidden;
}

.faq-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: linear-gradient(180deg, #D4AF37, #B38F2A);
  transition: height 0.35s ease;
}

.faq-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 55, 0.3);
  box-shadow: 0 20px 35px -12px rgba(0,0,0,0.4);
}

.faq-card:hover::before,
.faq-card.active::before {
  height: 100%;
}

.faq-card.active {
  border-color: rgba(212, 175, 55, 0.5);
  background: linear-gradient(135deg, #123544 0%, #09202e 100%);
}

.faq-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  color: #ffffff;
  margin: 0;
}

.faq-toggle-icon {
  width: 30px;
  height: 30px;
  background: rgba(212, 175, 55, 0.12);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  color: #D4AF37;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.faq-card.active .faq-toggle-icon {
  background: #D4AF37;
  color: #0A1A2F;
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  margin-top: 0;
  color: #cbd5e1;
  line-height: 1.65;
  font-size: 0.9rem;
}

.faq-answer a {
  color: #D4AF37;
  text-decoration: none;
  font-weight: 500;
}

.faq-answer a:hover {
  text-decoration: underline;
}

.faq-card.active .faq-answer {
  max-height: 400px;
  margin-top: 18px;
}

/* ===== CTA SECTION (Gold Theme - No Blue) ===== */
.faq-cta-section {
  background: linear-gradient(135deg, #0A1A2F, #051120);
  padding: 60px 20px;
}

.faq-cta-container {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.08), rgba(8, 18, 28, 0.95));
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 32px;
  padding: 48px 40px;
  max-width: 950px;
  margin: 0 auto;
  text-align: center;
}

.faq-cta-title {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: #ffffff;
}

.faq-cta-title span {
  color: #D4AF37;
}

.faq-cta-description {
  font-size: 1rem;
  max-width: 650px;
  margin: 0 auto 28px;
  color: rgba(255, 255, 255, 0.75);
}

/* CTA Buttons - Gold Theme */
.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.cta-btn-primary {
  background: linear-gradient(135deg, #D4AF37, #B38F2A);
  color: #0A1A2F;
}

.cta-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(212,175,55,0.4);
}

.cta-btn-outline {
  background: transparent;
  border: 2px solid #D4AF37;
  color: #D4AF37;
}

.cta-btn-outline:hover {
  background: #D4AF37;
  color: #0A1A2F;
  transform: translateY(-3px);
}

/* ===== LOADING OVERLAY ===== */
.faq-loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0A1A2F;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease;
}

.faq-loading-spinner {
  width: 45px;
  height: 45px;
  border: 3px solid rgba(212, 175, 55, 0.2);
  border-top-color: #D4AF37;
  border-radius: 50%;
  animation: faqSpin 0.8s linear infinite;
}

@keyframes faqSpin {
  to { transform: rotate(360deg); }
}

.faq-loading-overlay.fade-out {
  opacity: 0;
  visibility: hidden;
}

.faq-main-wrapper {
  opacity: 0;
  transition: opacity 0.5s ease;
}

.faq-main-wrapper.visible {
  opacity: 1;
}

/* Header & Footer Placeholders */
#global-header-placeholder,
#global-footer-placeholder {
  width: 100%;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .faq-grid {
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  }
  .hero {
    height: auto;
    min-height: 580px;
    padding: 60px 0;
  }
}

@media (max-width: 768px) {
  .faq-section {
    padding: 50px 0;
  }
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .faq-card {
    padding: 18px 22px;
  }
  .faq-card h3 {
    font-size: 1rem;
  }
  .breadcrumb-container {
    padding-left: 1rem;
  }
  .breadcrumb {
    padding: 12px 20px;
  }
  .hero-stats {
    gap: 30px;
    margin: 20px 0 30px;
  }
  .hero-stat-number {
    font-size: 1.8rem;
  }
  .hero-stat-label {
    font-size: 0.7rem;
  }
  .btn, .cta-btn {
    padding: 10px 20px;
    font-size: 0.85rem;
  }
  .faq-cta-container {
    padding: 30px 20px;
  }
  .faq-cta-title {
    font-size: 1.4rem;
  }
}

@media (max-width: 480px) {
  .hero-stats {
    gap: 20px;
  }
  .hero-stat-number {
    font-size: 1.5rem;
  }
  .hero-buttons, .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  .btn, .cta-btn {
    width: 100%;
    justify-content: center;
  }
}