/* ============================================================
   Custom CSS - Central Assistance
   ============================================================ */

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

/* FAQ Accordion */
.faq-item .faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.faq-item.active .faq-content {
    max-height: 500px;
    display: block;
}
.faq-item.active .faq-chevron {
    transform: rotate(180deg);
}

/* Header scroll */
#main-header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* CTA pulse */
@keyframes cta-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 107, 0, 0.4); }
    50% { box-shadow: 0 0 0 10px rgba(255, 107, 0, 0); }
}
.cta-pulse {
    animation: cta-pulse 2s infinite;
}

/* Safe area iPhone */
.safe-area-bottom {
    padding-bottom: env(safe-area-inset-bottom, 0);
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: #0047AB; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #003D92; }

/* Selection */
::selection {
    background: #0047AB;
    color: white;
}

/* Prose styles for blog/legal */
.prose h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin-top: 2rem;
    margin-bottom: 1rem;
}
.prose p {
    margin-bottom: 1rem;
    line-height: 1.75;
    color: #4B5563;
}
.prose ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}
.prose li {
    margin-bottom: 0.5rem;
    color: #4B5563;
}
.prose a {
    color: #0047AB;
    text-decoration: underline;
}
