/**
 * Azarias Books - Support Center Styles
 */

 :root {
    --az-bg-soft: #fcfbf9;
    --az-navy: #0a1d37; 
    --az-bronze: #a67c52;
    /* Soft white for better visual appeal on dark backgrounds */
    --az-off-white: #f8f9fa;
}

/* --- GLOBAL SCROLL BEHAVIOR --- */
html {
    scroll-behavior: smooth;
}

/* --- HERO SECTION --- */
.support-hero {
    /* Solid navy background */
    background-color: #0a1d37 !important; 
    padding: 11.25rem 0 7.5rem 0;
    text-align: center;
    color: var(--az-off-white) !important;
}

.support-hero-title, .support-cta-title {
    font-family: 'Merriweather', serif;
    /* Reduced "harshness" by using off-white and specific weight */
    color: var(--az-off-white) !important;
    font-weight: 700 !important; 
    letter-spacing: -0.02rem;
}

/* Softened description text for a more premium feel */
.support-hero p {
    color: var(--az-off-white) !important;
    font-weight: 400 !important;
    opacity: 0.85 !important; 
    max-width: 600px;
    margin: 0 auto;
}

.support-search-container {
    max-width: 50rem;
    margin: 2.5rem auto 0;
    position: relative;
    z-index: 5;
}

.support-search-input {
    height: 4.375rem;
    border-radius: 50px;
    padding-left: 4.0625rem;
    font-size: 1.2rem;
    border: none;
    background-color: #ffffff !important;
    color: #0a1d37 !important; /* Dark text inside white input */
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.support-search-input::placeholder {
    color: #6c757d;
    opacity: 1;
}

.support-search-icon {
    position: absolute;
    left: 1.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #0a1d37 !important;
    font-size: 1.4rem;
    z-index: 10;
}

/* --- QUICK NAVIGATION GRID --- */
.support-grid {
    margin-top: -3.75rem;
    position: relative;
    z-index: 20;
}

.support-card {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.1); 
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
    height: 100%;
    display: block;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.support-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0,0,0,0.15);
    border-color: var(--az-bronze);
}

.support-card i {
    font-size: 2.2rem;
    color: var(--az-bronze);
    margin-bottom: 1rem;
}

.support-card h4 {
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.0833rem;
    color: #0a1d37;
}

/* --- FAQ SECTION --- */
.faq-section {
    padding: 7.5rem 0;
    background-color: #fcfbf9;
}

.faq-section [id] {
    scroll-margin-top: 10rem;
}

.faq-category-title {
    font-family: 'Merriweather', serif;
    font-weight: 900;
    color: #0a1d37;
    margin: 4rem 0 2rem 0;
    display: flex;
    align-items: center;
}

.faq-category-title i {
    margin-right: 0.9375rem;
    color: var(--az-bronze);
}

.accordion-item {
    border: none;
    margin-bottom: 0.8rem;
    border-radius: 10px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.accordion-button {
    font-weight: 700;
    color: #0a1d37;
    padding: 1.5rem;
    background-color: white;
    font-size: 1.05rem;
    text-align: left;
}

.accordion-button:not(.collapsed) {
    background-color: white;
    color: var(--az-bronze);
    box-shadow: none;
}

.accordion-body {
    padding: 0 2rem 2rem 2rem;
    line-height: 1.8;
    color: #333;
    font-size: 0.95rem;
}

.accordion-body strong { color: #0a1d37; }

/* --- CTA SECTION --- */
.support-cta {
    padding: 6.25rem 0;
    background-color: white;
    text-align: center;
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 991px) {
    .faq-section [id] {
        scroll-margin-top: 15rem; 
    }
}