/* ============================================================
   Green Rewards - FAQ Page Styles
   File: faq.css
   Version: 1.0
============================================================ */

/* ============================================================
   Force FAQ page background to white
============================================================ */
.faq-section {
	background-color: #ffffff !important;
}

/* -------------------------------
   Section Layout
------------------------------- */
.faq-section {
	background-color: #f5f7f4;
	/* Soft grey/green background */
	min-height: 100vh;
	padding: 4rem 1rem;
	display: flex;
	align-items: flex-start;
	justify-content: center;
}

/* -------------------------------
   Main White Card
------------------------------- */
.faq-card {
	background: #fafafa;
	/* Slight grey for contrast */
	border-radius: 1.3rem;
	padding: 3rem;
	max-width: 950px;
	width: 100%;
	border: 1px solid rgba(0, 0, 0, 0.05);
	/* subtle border */
	box-shadow:
		0 10px 25px rgba(0, 0, 0, 0.08),
		0 2px 6px rgba(0, 0, 0, 0.04);
	/* layered depth */
}

/* Optional: Green Accent Border (thin & elegant) */
.faq-card {
	border-left: 4px solid #73bf44;
}

/* -------------------------------
   Title Section
------------------------------- */
.faq-title {
	font-weight: 800;
	font-size: 2.2rem;
	color: #333;
}

/* -------------------------------
   WhatsApp Button Banner
------------------------------- */
.whatsapp-banner {
	background: #e9ffe9;
	border: 1px solid #73bf44;
	transition: transform 0.2s ease, box-shadow 0.25s ease;
}

.whatsapp-banner:hover {
	transform: translateY(-3px);
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

/* -------------------------------
   Accordion Styling
------------------------------- */
.accordion-item {
	border: none !important;
	border-radius: 0.8rem;
	overflow: hidden;
	margin-bottom: 1rem;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
}

/* Accordion Header Button */
.accordion-button {
	font-weight: 600;
	font-size: 1.05rem;
	padding: 1.2rem 1.4rem;
	background-color: #f9fcf6;
	border: none;
	color: #333;
	box-shadow: none !important;
	transition: background-color 0.25s, color 0.25s;
}

/* Hover + Open states */
.accordion-button:hover {
	background-color: #f0f8ec;
}

.accordion-button:not(.collapsed) {
	background-color: #73bf44;
	color: white;
}

/* Icon color when open */
.accordion-button:not(.collapsed)::after {
	filter: brightness(100%);
}

/* Set arrow icon color */
.accordion-button::after {
	filter: brightness(0%);
}

/* Accordion Body */
.accordion-body {
	background: white;
	padding: 1.4rem 1.6rem;
	font-size: 0.97rem;
	line-height: 1.6;
	color: #555;
}

/* Paragraph spacing inside answers */
.accordion-body p {
	margin-bottom: 1rem;
}

/* -------------------------------
   Footer
------------------------------- */
.faq-footer hr {
	margin: 2.5rem 0 1.5rem;
}

.faq-footer p {
	color: #888;
}

/* -------------------------------
   Mobile Tweaks
------------------------------- */
@media (max-width: 768px) {
	.faq-card {
		padding: 2rem;
	}

	.faq-title {
		font-size: 1.8rem;
	}

	.accordion-button {
		font-size: 1rem;
		padding: 1rem 1.2rem;
	}
}