
section {
  padding: 0 5%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin: 100px 0;
}

#faq-q-txt {
  color: var(--color-primary);
}

.href {
    color: var(--color-accent);
    text-decoration: underline;
}

.href:hover {
    opacity: 0.8;
}

.fan-box-container {
    width: 90%;
    max-width: 800px;
    margin: 0.5rem auto;
    display: flex;
    flex-direction: column;
}

.question-box {
    background: #111;
    padding: 1.5rem;
    border: 1px solid var(--color-bbg);
     margin: 0;
    text-align: left;
}
   
.reveal-box {
    background: #111;
    border: 1px solid var(--color-bbg);
    overflow: hidden; 
    transition: all 0.3s ease;
}

.toggle-header {
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: #111;
}

.icon-wrapper {
    width: 50px; 
    height: 50px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-plus {
    position: relative;
    width: 30px;    
    height: 5px;    
    background-color: var(--color-primary);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); /
}

.custom-plus::after {
    content: '';
    position: absolute;
    width: 5px;      
    height: 30px;  
    background-color: rgb(206, 249, 151);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(0deg); 
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.toggle-header:hover .custom-plus,
.toggle-header:hover .custom-plus::after {
    background-color: var(--color-accent); /* Turns green on hover */
}

/* --- ACTIVE STATE (The Transition) --- */

.reveal-box.active .custom-plus,
.reveal-box.active .custom-plus::after {
    background-color: var(--color-accent);
}

/* 2. The Morph: Rotate the vertical arm 90 degrees */
/* It will now lay perfectly flat on top of the horizontal bar, creating a Minus */
.reveal-box.active .custom-plus::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.answer-content {
    max-height: 0; /* Collapsed state */
    padding: 0 1.5rem;
    opacity: 0;
    transition: max-height 0.4s ease, padding 0.4s ease, opacity 0.3s ease;
}

/* Active State (When Clicked) */
.reveal-box.active {
    border-color: var(--color-accent);
    color: var(--color-accent);
}
.reveal-box.active .answer-content {
    max-height: 500px; 
    padding: 1.5rem;
    opacity: 1;
}

