/* =================================================================
   FAQ Page Stylesheet (faq.css)
   - Aligned with site palette: black + brand green
   ================================================================= */

:root {
    --abcl-black: #0f172a;
    --abcl-green: #4ade80;
    --abcl-green-soft: #d4f0d4;
}

/* --- Hero Section — animated tech background --- */
.faq-hero {
    position: relative;
    height: 40vh;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    background: linear-gradient(135deg, #020617 0%, #0a0f1c 50%, #0f172a 100%);
    background-size: 200% 200%;
    animation: faq-bg-shift 18s ease-in-out infinite;
    padding: 2rem 0;
    overflow: hidden;
}
@keyframes faq-bg-shift {
    0%, 100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(74, 222, 128, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(74, 222, 128, 0.08) 1px, transparent 1px);
    background-size: 44px 44px, 44px 44px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 900;
    margin-bottom: 1rem;
    color: #ffffff;
}

.hero-subtitle {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.85);
}

@media (prefers-reduced-motion: reduce) {
    .faq-hero { animation: none; }
}

/* --- FAQ Section --- */
.faq-section {
    padding: 5rem 0;
    background-color: var(--off-white);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
}

.faq-question {
    width: 100%;
    background-color: transparent;
    border: none;
    padding: 1.5rem 0;
    text-align: left;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--abcl-black);
}

.faq-question i {
    font-size: 1rem;
    color: #888;
    transition: transform 0.3s ease-in-out;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
    color: #555;
    line-height: 1.8;
}

.faq-answer p {
    padding-bottom: 1.5rem;
    margin: 0;
}

.faq-answer a {
    color: var(--abcl-black);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: var(--abcl-green);
    text-underline-offset: 3px;
}
.faq-answer a:hover {
    color: #22c55e;
}

/* --- FAQ Contact CTA --- */
.faq-contact-cta {
    margin-top: 4rem;
    text-align: center;
    background-color: #fff;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.faq-contact-cta h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.faq-contact-cta p {
    color: #6c757d;
    margin-bottom: 1.5rem;
}

.cta-button {
    display: inline-block;
    background-color: var(--abcl-black);
    color: var(--abcl-green);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 2px solid var(--abcl-black);
}

.cta-button:hover {
    background-color: var(--abcl-green);
    color: var(--abcl-black);
    transform: translateY(-3px);
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    .hero-title { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1.1rem; }
}