/* FAQ Page Specific Styling */
body {
  background: url('../assets/faq-back.png') center center no-repeat;
  background-size: cover;
  background-attachment: fixed;
  background-position-y: calc(100% + 40px);
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  min-height: 100vh;
}


/* FAQ unified card layout */
.faq-unified-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 98%;
    max-width: 1400px;
    margin: -2rem auto 0 auto;
    transition: all 0.3s ease;
}

.faq-unified-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
}

.faq-unified-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.section-title {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 2.5rem;
    background: linear-gradient(135deg, #546cb6, #546cb6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* FAQ Items Styling */
.faq-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.faq-question {
    width: 100%;
    padding: 1.5rem 2rem;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    text-align: left;
    transition: all 0.3s ease;
    outline: none !important;
    box-shadow: none !important;
}

.faq-question:focus {
    outline: none !important;
    box-shadow: none !important;
}

.faq-question:hover {
    background: rgba(84, 108, 182, 0.05);
    color: #546cb6;
}

.faq-question span {
    flex: 1;
    margin-right: 1rem;
}

.faq-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(84, 108, 182, 0.1);
    transition: all 0.3s ease;
}

.faq-icon i {
    font-size: 1.2rem;
    color: #546cb6;
    transition: all 0.3s ease;
}

.faq-icon i.rotated {
    transform: rotate(45deg);
}

.faq-question:hover .faq-icon {
    background: rgba(84, 108, 182, 0.2);
    transform: scale(1.1);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    background: rgba(84, 108, 182, 0.02);
    border-top: 1px solid rgba(84, 108, 182, 0.1);
}

.faq-answer.open {
    max-height: 300px;
    padding: 1.5rem 2rem;
}

.faq-answer p {
    margin: 0;
    color: #5a6c7d;
    line-height: 1.6;
    font-size: 1rem;
    font-weight: 400;
}

/* Responsive design */
@media (max-width: 768px) {
    .faq-unified-card {
        width: 98%;
        padding: 1.5rem;
    }
    
    .faq-question {
        padding: 1.25rem 1.5rem;
        font-size: 1rem;
    }
    
    .faq-answer.open {
        padding: 1.25rem 1.5rem;
    }
    
    .faq-icon {
        width: 25px;
        height: 25px;
    }
    
    .faq-icon i {
        font-size: 1rem;
    }
}
