/* ===================================
   LOADING SCREEN STYLES
   =================================== */

.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.fade-out {
  opacity: 0;
  visibility: hidden;
}

.loading-content {
  text-align: center;
  animation: fadeInUp 0.8s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.loading-logo {
  margin-bottom: 2rem;
  animation: zoomIn 0.8s ease;
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.5);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.loading-logo img {
  width: 180px;
  height: auto;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
  animation: pulse-logo 2s ease-in-out infinite;
}

@keyframes pulse-logo {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* Loading Spinner */
.loading-spinner {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 0 auto 2rem;
}

.spinner-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 4px solid transparent;
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 1.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
}

.spinner-ring:nth-child(2) {
  width: 80%;
  height: 80%;
  top: 10%;
  left: 10%;
  border-top-color: rgba(255, 255, 255, 0.7);
  animation-delay: 0.2s;
  animation-duration: 1.8s;
}

.spinner-ring:nth-child(3) {
  width: 60%;
  height: 60%;
  top: 20%;
  left: 20%;
  border-top-color: rgba(255, 255, 255, 0.5);
  animation-delay: 0.4s;
  animation-duration: 2.1s;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.loading-text {
  font-size: 2rem;
  font-weight: 800;
  color: white;
  margin-bottom: 0.5rem;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  animation: fadeIn 1s ease 0.3s backwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.loading-subtext {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  font-weight: 500;
  animation: fadeIn 1s ease 0.5s backwards;
}

/* Progress Bar */
.loading-progress {
  width: 300px;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  overflow: hidden;
  margin: 0 auto;
  animation: fadeIn 1s ease 0.7s backwards;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #fff, #ffd700);
  border-radius: 10px;
  width: 0;
  animation: progress 2s ease-out forwards;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

@keyframes progress {
  0% {
    width: 0;
  }
  100% {
    width: 100%;
  }
}

/* Responsive Loading */
@media (max-width: 768px) {
  .loading-logo img {
    width: 140px;
  }

  .loading-text {
    font-size: 1.5rem;
  }

  .loading-subtext {
    font-size: 1rem;
  }

  .loading-spinner {
    width: 80px;
    height: 80px;
  }

  .loading-progress {
    width: 250px;
  }
}

/* ===================================
   FAQ ACCORDION STYLES
   =================================== */

.faq-section {
  padding: 5rem 2rem;
  background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.faq-container {
  max-width: 1000px;
  margin: 0 auto;
}

.faq-header {
  text-align: center;
  margin-bottom: 3rem;
}

.faq-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.faq-badge i {
  font-size: 1.2rem;
}

.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: white;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 600;
  color: #2d3748;
}

.faq-question:hover {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05));
}

.faq-question span {
  flex: 1;
  padding-right: 1rem;
}

.faq-question i {
  font-size: 1.2rem;
  color: #667eea;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
  color: #667eea;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  background: #f8f9fa;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 1.5rem 2rem;
  border-top: 2px solid rgba(102, 126, 234, 0.1);
}

.faq-answer p {
  color: #4a5568;
  line-height: 1.8;
  font-size: 1rem;
  margin: 0;
}

.faq-answer strong {
  color: #667eea;
  font-weight: 700;
}

/* FAQ CTA */
.faq-cta {
  text-align: center;
  margin-top: 3rem;
  padding: 2.5rem;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.faq-cta h3 {
  font-size: 1.8rem;
  color: white;
  margin-bottom: 0.5rem;
  font-weight: 800;
}

.faq-cta p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.5rem;
}

/* Responsive FAQ */
@media (max-width: 768px) {
  .faq-section {
    padding: 3rem 1.5rem;
  }

  .faq-question {
    padding: 1.25rem 1.5rem;
    font-size: 1rem;
  }

  .faq-answer {
    font-size: 0.95rem;
  }

  .faq-item.active .faq-answer {
    padding: 1.25rem 1.5rem;
  }

  .faq-cta {
    padding: 2rem 1.5rem;
  }

  .faq-cta h3 {
    font-size: 1.4rem;
  }

  .faq-cta p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .faq-question {
    padding: 1rem 1.25rem;
    font-size: 0.95rem;
  }

  .faq-question i {
    font-size: 1rem;
  }

  .faq-answer {
    font-size: 0.9rem;
  }

  .faq-item.active .faq-answer {
    padding: 1rem 1.25rem;
  }
}

