/* Education Page Styles */

.education-hero {
  padding: 150px 0 80px;
  text-align: center;
  background: linear-gradient(135deg, #1c1c1e 0%, #2c2c2e 100%);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #c9a961 0%, #f4e4c1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: #e5e5e7;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* Articles Section */
.articles-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #1c1c1e 0%, #2c2c2e 100%);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #c9a961;
  text-align: center;
  margin-bottom: 50px;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.article-card {
  background: linear-gradient(135deg, rgba(44, 44, 46, 0.6) 0%, rgba(28, 28, 30, 0.6) 100%);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(201, 169, 97, 0.2);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.6s ease-out forwards;
}

.article-card:nth-child(1) {
  animation-delay: 0.1s;
}
.article-card:nth-child(2) {
  animation-delay: 0.2s;
}
.article-card:nth-child(3) {
  animation-delay: 0.3s;
}
.article-card:nth-child(4) {
  animation-delay: 0.4s;
}
.article-card:nth-child(5) {
  animation-delay: 0.5s;
}
.article-card:nth-child(6) {
  animation-delay: 0.6s;
}

.article-card:hover {
  transform: translateY(-10px);
  border-color: rgba(201, 169, 97, 0.6);
  box-shadow: 0 20px 60px rgba(201, 169, 97, 0.3);
}

.article-image {
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
}

.article-content {
  padding: 30px;
}

.article-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #c9a961;
  margin-bottom: 15px;
  line-height: 1.4;
}

.article-content p {
  font-size: 1rem;
  color: #a1a1a6;
  line-height: 1.6;
  margin-bottom: 20px;
}

.read-more {
  color: #c9a961;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.3s ease;
}

.read-more:hover {
  gap: 10px;
  color: #f4e4c1;
}

.read-more::before {
  content: "◄";
  font-size: 0.8rem;
}

/* FAQ Section */
.faq-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #2c2c2e 0%, #1c1c1e 100%);
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: linear-gradient(135deg, rgba(44, 44, 46, 0.6) 0%, rgba(28, 28, 30, 0.6) 100%);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(201, 169, 97, 0.2);
  border-radius: 15px;
  margin-bottom: 20px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.5s ease-out forwards;
}

.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;
}
.faq-item:nth-child(4) {
  animation-delay: 0.4s;
}
.faq-item:nth-child(5) {
  animation-delay: 0.5s;
}
.faq-item:nth-child(6) {
  animation-delay: 0.6s;
}
.faq-item:nth-child(7) {
  animation-delay: 0.7s;
}
.faq-item:nth-child(8) {
  animation-delay: 0.8s;
}

.faq-question {
  width: 100%;
  padding: 25px 30px;
  background: none;
  border: none;
  color: #e5e5e7;
  font-size: 1.2rem;
  font-weight: 600;
  text-align: right;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  transition: all 0.3s ease;
}

.faq-question:hover {
  color: #c9a961;
}

.faq-icon {
  width: 24px;
  height: 24px;
  color: #c9a961;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 30px 25px;
}

.faq-answer p {
  color: #a1a1a6;
  font-size: 1rem;
  line-height: 1.8;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .articles-grid {
    grid-template-columns: 1fr;
  }

  .faq-question {
    font-size: 1rem;
    padding: 20px;
  }

  .faq-item.active .faq-answer {
    padding: 0 20px 20px;
  }
}
