/* Custom properties for a clean and elegant color palette */
:root {
    --primary-color: #2F4F2F; /* A fresh green */
    --secondary-color: #CEB77E; /* A soft pink */
    --text-color: black;
    --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 Heading */
.faq-heading {
    text-align: center;
    font-size: 2.5rem;        /* Large heading for desktop */
    font-weight: 700;
    margin-bottom: 50px;
    color: var(--primary-color);
}

/* ------------------------------
   Global font styles
---------------------------------*/
p, .accordion-button, .accordion-body {
    font-family: 'Raleway', sans-serif; /* clean sans-serif for UI */
    font-weight: 400;
    color: var(--dark-grey);
    background-color: var(--off-white);
    line-height: 1.6;
}

/* Headings */
h1, h2, h3, h4, h5, h6, .faq-heading {
    font-family: 'Playfair Display', serif; /* Elegant serif */
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 0.5px;
}

/* Styles for each accordion item */
.accordion-item {
    border: none;
    border-radius: 10px;
   border: 1px solid rgba(0, 0, 0, 0.2) !important; /* light gray border default */
    margin-bottom: 20px;
    transition: all 0.3s ease;
    border: 5px;
}

.accordion-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

/* Default state (always visible subtle border) */
.accordion-button {
    font-weight: 600;
    font-size: 1.15rem;
    color: var(--text-color);

    border-radius: 10px !important;
    padding: 20px 25px;
    transition: background-color 0.3s ease, color 0.3s ease, border 0.3s ease;
   
}

/* When hovered */
.accordion-button:hover,
.accordion-button:focus {
    color: var(--primary-color) !important;
    box-shadow: none;
   
}



/* Explicitly remove the blue outline on focus */
.accordion-button:focus {
      color: var(--primary-color) !important;
    outline: none;
    user-select: none;
    box-shadow: none;
}


/* 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 !important; /* 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 !important;
}


/* 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;
    }
}