/* Policies & FAQ Page Styles */

.policies-header {
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-bottom: 2px solid var(--primary);
    position: relative;
}

.policies-header h1 {
    font-family: var(--font1);
    font-size: clamp(28px, 4vw, 48px);
    color: var(--primary);
    margin: 0;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0.02em;
}

/* Slideshow Section */
.slideshow-section {
    padding: 30px 20px;
    background-color: #fff;
}

.slideshow-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.carousel-container {
    position: relative;
    width: 100%;
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    border: 1px solid #ddd;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.carousel {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.carousel-slide {
    display: none;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.carousel-slide.active {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: white;
}

/* Carousel Controls */
.carousel-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 16px;
    z-index: 10;
    pointer-events: none;
}

.carousel-btn {
    appearance: none;
    background: rgba(85, 0, 0, 0.15);
    border: 2px solid var(--primary);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 220ms ease;
    pointer-events: auto;
    color: var(--primary);
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.carousel-btn:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* Carousel Dots */
.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(85, 0, 0, 0.3);
    cursor: pointer;
    transition: all 220ms ease;
    border: 2px solid transparent;
}

.dot:hover {
    background-color: rgba(85, 0, 0, 0.5);
}

.dot.active {
    background-color: var(--primary);
    border-color: var(--secondary);
}

/* Responsive Design */
@media (max-width: 860px) {
    .policies-header {
        padding: 50px 20px;
    }

    .slideshow-section {
        padding: 24px 20px;
    }

    .carousel-container {
        aspect-ratio: 16 / 10;
    }
}

@media (max-width: 520px) {
    .policies-header {
        padding: 40px 16px;
    }

    .policies-header h1 {
        font-size: clamp(24px, 3.5vw, 36px);
    }

    .slideshow-section {
        padding: 16px 12px;
    }

    .carousel-container {
        aspect-ratio: 16 / 10;
        border-radius: 4px;
    }

    .carousel-controls {
        padding: 0 8px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .carousel-dots {
        gap: 8px;
        bottom: 12px;
    }

    .dot {
        width: 10px;
        height: 10px;
    }
}
/* ==========================================================================
   FAQ Accordion Section
   ========================================================================== */
.faq-section {
    padding: 64px 24px 96px;
    background-color: #f8f9fa; /* Matches your site background */
    display: flex;
    justify-content: center;
}

.faq-container {
    width: 100%;
    max-width: 800px;
}

.faq-title {
    font-family: var(--font1, serif);
    font-size: clamp(28px, 4vw, 36px);
    color: #550000;
    text-align: center;
    margin-bottom: 40px;
}

.faq-item {
    border-bottom: 1px solid rgba(124, 172, 156, 0.3);
    margin-bottom: 8px;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    font-family: var(--font1, serif);
    font-size: 18px;
    font-weight: 600;
    color: #333333;
    cursor: pointer;
    text-align: left;
    transition: color 250ms ease;
}

.faq-question:hover,
.faq-question.active {
    color: #7cac9c;
}

.faq-icon {
    font-size: 24px;
    font-weight: 400;
    color: #7cac9c;
    transition: transform 300ms ease;
}

/* Rotate the plus to an X when open */
.faq-question.active .faq-icon {
    transform: rotate(45deg); 
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 350ms ease-in-out;
}

.faq-answer p {
    font-family: var(--font2, sans-serif);
    font-size: 15px;
    line-height: 1.6;
    color: #555555;
    padding: 0 0 24px 0;
    margin: 0;
}