

.accordion-container {
  width: 80%;
  background: white;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  margin: 0 auto; /* centers horizontally */
  margin-top: 100px;
  margin-bottom: 100px;
}

.accordion-item {
  border-bottom: 1px solid #ddd;
}

.accordion-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px;
  cursor: pointer;
  background: linear-gradient(90deg, #8c11cb, #5204a9);
  color: white;
  font-size: 1.2rem;
  transition: background 0.3s ease;
}

.accordion-header:hover {
  background: linear-gradient(90deg, #9513d7, #6703d6);
}

.accordion-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  background: #fdfdfd;
  padding: 0 20px;
}

.accordion-content ul li {
  padding-left: 0; /* reset padding */
  margin-left: 20px; /* create space before bullet */
  text-align: justify;
}

.accordion-content.open {
  padding: 20px;
}

.accordion-content p {
  margin: 0 0 10px 0;
}

.button-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.apply-btn,
.readmore-btn {
  font-size: 0.9rem;
  padding: 12px 24px;
  border: none;
  border-radius: 30px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: normal;
}

.apply-btn {
  background: #6a11cb;
  color: white;
  box-shadow: 0 6px 15px rgba(106, 17, 203, 0.5);
  font-weight: 700;
}

.apply-btn:hover {
  background: #4a0da0;
  transform: scale(1.05);
  letter-spacing: 1.1px;
  box-shadow: 0 8px 25px rgba(106, 17, 203, 0.7);
}

.readmore-btn {
  background: #eeeeee;
  color: #333;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  font-weight: 600;
}

.readmore-btn:hover {
  background: #ddd;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.arrow {
  font-size: 1.2rem;
  transition: transform 0.4s ease;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.6));
  animation: floatArrow 2s ease-in-out infinite;
}

.arrow.rotate {
  transform: rotate(180deg);
  animation: none;
}

@keyframes floatArrow {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

@media (max-width: 600px) {
  .accordion-header {
    font-size: 1rem;
    flex-direction: column;
    align-items: flex-start;
  }
}