/* Custom properties for a clean and elegant color palette */
:root {
    --primary-color: #02a789; /* A fresh green */
    --secondary-color: #00715D; /* A soft pink */
    --text-color: #333;
    --bg-color: #f8f8f8; /* A light background color */
}

/* --- FAQ Section Styling --- */
.faq-section {
    padding: 80px 15px;
    background-color: var(--bg-color);
}

.faq-section .accordion {
    max-width: 900px;
    margin: 0 auto;
}

.faq-section .accordion-body {
    color: white !important;
}

/* FAQ Heading */
.faq-heading {
    text-align: center;
    font-size: 2.5rem;        /* Large heading for desktop */
    font-weight: 700;
    margin-bottom: 50px;
    color: black;
}

/* Styles for each accordion item */
.accordion-item {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.accordion-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

/* Styles for the accordion button (the question part) */
.accordion-button {
    font-weight: 600;
    font-size: 1.15rem;
    color: var(--text-color);
    background-color: #fff;
    border-radius: 10px !important;
    padding: 20px 25px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Hover and focus states for the button */
.accordion-button:hover,
.accordion-button:focus {
    color: var(--primary-color);
    box-shadow: none;
}

/* Explicitly remove the blue outline on focus */
.accordion-button:focus {
    outline: none;
    user-select: none;
    box-shadow: none;
}

/* Style for the button when it's not collapsed (open) */
.accordion-button:not(.collapsed) {
    color: #fff;
    background-color: var(--primary-color);
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

/* Styles for the accordion icon (the plus/minus) */
.accordion-button:not(.collapsed)::after {
    filter: invert(1);
    background-image: var(--bs-accordion-btn-active-icon);
}

/* Styles for the body of the accordion (the answer part) */
.accordion-body {
    background-color: var(--secondary-color); /* The new darker pink */
    padding: 25px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    line-height: 1.6;
    color: white; /* Updated to white for better contrast */
}

/* Remove blue highlight/focus from accordion buttons */
.accordion-button:focus,
.accordion-button:active {
    outline: none !important;
    box-shadow: none !important;
    background-color: inherit !important;
}

/* Prevent text selection highlight (desktop & mobile) */
.accordion-button,
.accordion-body {
    user-select: none;              /* Disable selecting text */
    -webkit-user-select: none;      /* Safari */
    -moz-user-select: none;         /* Firefox */
    -ms-user-select: none;          /* IE/Edge */
}

/* Also remove tap highlight on mobile (blue overlay on click) */
.accordion-button {
    -webkit-tap-highlight-color: transparent;
}


/* Responsive for mobile */
@media (max-width: 768px) {
    .faq-heading {
        font-size: 1.8rem;    /* Smaller heading on mobile */
        margin-bottom: 30px;
        padding: 0 10px;
    }
}

@media (max-width: 480px) {
    .faq-heading {
        font-size: 1.5rem;    /* Even smaller on very small screens */
        margin-bottom: 20px;
        padding: 0 10px;
    }
}