/* FAQ Section */
.faq-section {
    padding: 2rem 1rem;
    text-align: center;
    background: #000; /* Black background for FAQ section */
}

.faq-section h3 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: #fff; /* White text to contrast with black background */
}

.faq-cards-container {
    display: grid;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.faq-card {
    background: #000; /* Black background for FAQ cards */
    border: 1px solid #333; /* Darker border for contrast */
    border-radius: 8px;
    padding: 1rem; /* Reduced padding for tighter fit */
    text-align: left;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); /* Darker shadow for depth */
    display: inline-block; /* Ensures card fits content */
    width: 100%; /* Ensures proper grid behavior */
    box-sizing: border-box; /* Prevents padding from adding to width */
}

.faq-question {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #fff; /* White text for contrast on black background */
}

.faq-answer {
    font-size: 1rem;
    color: #ccc; /* Light gray text for contrast on black background */
    line-height: 1.5;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: #fff;
    padding: 2rem 1rem;
}

.footer .container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center; /* Center the entire footer content */
}

.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
    display: grid;
    gap: 0.5rem;
    grid-template-columns: repeat(2, 1fr); /* 2x2 grid on mobile */
    justify-items: center; /* Center each grid item */
}

.footer-nav li {
    margin: 0;
}

.footer-nav a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-nav a:hover {
    color: #fff;
}

.footer p {
    margin: 0;
    font-size: 0.85rem;
    color: #999;
    text-align: center; /* Ensure site name is centered */
}

/* Responsive Design */
@media (min-width: 768px) {
    .faq-cards-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-nav ul {
        grid-template-columns: repeat(8, 1fr); /* Single row for larger screens */
    }
}

@media (min-width: 1200px) {
    .faq-cards-container {
        grid-template-columns: repeat(3, 1fr);
    }
}