/* =========================================================
   GLOBAL COLORS & BASE LAYOUT
   ========================================================= */
:root {
	--rsa-green: #73bf44;
	--rsa-green-dark: #5ea838;
	--rsa-yellow: #ffc107;
	--rsa-gray-bg: #f8f9fa;
	--rsa-dark: #212529;
}

body {
	font-family: 'Helvetica Neue', Arial, sans-serif;
	background-color: var(--rsa-gray-bg);
	color: var(--rsa-dark);
}

/* =========================================================
   NAVIGATION BAR (WHITE THEME)
   ========================================================= */
.navbar-brand {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	/* space between logo and text */
}

.navbar-brand .brand-text {
	display: flex;
	flex-direction: column;
	line-height: 1.1;
	font-weight: 700;
	color: var(--rsa-dark);
	font-size: 1.15rem;
	/* slightly larger to match 80px logo */
	margin-top: 2px;
	/* nudge upward for perfect alignment */
	
}

/* Subtext “By RSA Group” */
.navbar-brand .brand-sub {
	font-weight: 500;
	font-size: 0.78rem;
	color: #6c757d;
	margin-top: -1px;
}

.navbar-nav .nav-link {
	color: var(--rsa-dark) !important;
	font-weight: 500;
	border-radius: 0.4rem;
	padding: 0.5rem 1rem;
	transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
	background-color: rgba(115, 191, 68, 0.1);
	color: var(--rsa-green) !important;
}

.nav-btn-active {
	background-color: var(--rsa-yellow) !important;
	color: var(--rsa-dark) !important;
	font-weight: 600;
}

.nav-btn-std {
	color: var(--rsa-dark) !important;
}

/* Dropdown (Azure user) */
.user-dropdown-toggle {
	background-color: var(--rsa-green) !important;
	color: #fff !important;
	font-weight: 600;
	border-radius: 6px;
	padding: 0.5rem 1rem;
	transition: background-color 0.3s ease;
}

.user-dropdown-toggle:hover,
.user-dropdown-toggle:focus,
.user-dropdown-toggle.show {
	background-color: var(--rsa-green-dark) !important;
	color: #fff !important;
}

/* Dropdown menu */
.user-dropdown-menu {
	background-color: #fff !important;
	border: 1px solid #e5e5e5;
	border-radius: 0.75rem;
	padding: 0.5rem 0;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.user-dropdown-menu .dropdown-item {
	color: #333 !important;
	font-weight: 500;
	transition: all 0.3s ease;
}

.user-dropdown-menu .dropdown-item:hover {
	background-color: rgba(115, 191, 68, 0.15);
	color: var(--rsa-green) !important;
}

.user-dropdown-menu .nav-btn-active {
	background-color: var(--rsa-yellow) !important;
	color: var(--rsa-dark) !important;
	font-weight: 600;
}

.user-dropdown-menu .dropdown-divider {
	margin: 0.5rem 0;
	border-color: #ddd;
}

/* Navbar toggler */
.navbar-toggler {
	border: none;
}

.navbar-toggler:focus {
	box-shadow: none;
}

.navbar-toggler-icon {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23212529' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(33,37,41,0.8)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* Mobile menu */
@media (max-width: 991.98px) {
	.navbar-collapse {
		background-color: #ffffff;
		border-radius: 0.5rem;
		padding: 1rem;
		box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
	}

	.navbar-collapse .nav-link {
		color: var(--rsa-dark) !important;
	}

	.navbar-collapse .nav-link:hover {
		background-color: rgba(115, 191, 68, 0.1);
		color: var(--rsa-green) !important;
	}

	.navbar-collapse .nav-link.nav-btn-active {
		background-color: var(--rsa-green) !important;
		color: #fff !important;
	}
}

/* Override Bootstrap logo size */
.navbar-brand img.logo-img {
	height: 80px !important;
	width: auto !important;
}

/* =========================================================
   HERO SECTION – Stable Image Layout
========================================================= */

.hero {
	position: relative;
	background: url("../img/GreenRewardsWebBanner2000x900px.jpg") center top / cover no-repeat;
	/* You can adjust "center top" to "center center" depending on the focal area */
	padding: 80px 0;
	color: white;
	min-height: 400px;
	/* Ensures good vertical space even on mobile */
	display: flex;
	align-items: center;
	/* Vertically center content */
}

/* Dark overlay (optional — can adjust opacity) */
.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background-color: rgba(0, 0, 0, 0.25);
	/* Soft dark overlay for readability */
	z-index: 1;
}

/* Ensures the text/content is above overlay */
.hero>.container {
	position: relative;
	z-index: 2;
}

/* Mobile adjustments */
@media (max-width: 768px) {
	.hero {
		padding: 60px 0;
		background-position: center top;
		/* Shows top portion (best for tall mobile screens) */
	}

	.hero::before {
		background-color: rgba(0, 0, 0, 0.45);
		/* Slightly darker overlay for mobile readability */
	}
}

@media (max-width: 480px) {
	.hero {
		padding: 50px 0;
		min-height: 350px;
		background-position: center top;
	}
}

/* =========================================================
   REWARD CARD
   ========================================================= */
.reward-card {
	position: relative;
	overflow: hidden;
	border: none;
	border-radius: 1rem;
	transition: all 0.3s ease-in-out;
}

.reward-card img {
	width: 100%;
	height: 250px;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.reward-card:hover {
	transform: translateY(-8px) scale(1.02);
	box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.reward-card:hover img {
	transform: scale(1.05);
}

.reward-card::before {
	content: "";
	position: absolute;
	inset: 0;
	background-color: rgba(0, 0, 0, 0.5);
	z-index: 1;
}

.reward-card.shine-effect::after {
	content: "";
	position: absolute;
	top: 0;
	left: -75%;
	width: 50%;
	height: 100%;
	background: linear-gradient(120deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0) 100%);
	transform: skewX(-25deg);
	animation: shine 3s infinite;
	z-index: 2;
}

.reward-card .card-body {
	position: relative;
	z-index: 3;
	color: white;
}

.reward-card:hover .card-title {
	color: var(--rsa-green);
}

@keyframes shine {
	to {
		left: 125%;
	}
}

/* =========================================================
   FAQ / TERMS / JOIN SECTIONS
   ========================================================= */

.terms-section,
.join-section {
	background: linear-gradient(135deg, var(--rsa-green) 0%, var(--rsa-green-dark) 100%);
	color: white;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 100vh;
	padding: 3rem 1rem;
}

/* Join card */
.join-card {
	background: #fff;
	border-radius: 1rem;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
	padding: 3rem 2.5rem;
	max-width: 750px;
	width: 90%;
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	animation: fadeInUp 0.6s ease;
}

.join-card .btn-outline-success {
	border-color: var(--rsa-green);
	color: var(--rsa-green);
	font-weight: 600;
	transition: all 0.3s ease;
}

.join-card .btn-outline-success:hover {
	background-color: var(--rsa-green);
	color: #fff;
	box-shadow: 0 0 10px rgba(115, 191, 68, 0.4);
	transform: translateY(-2px);
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(40px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* =========================================================
   TERMS & CONDITIONS PAGE — RSA Refined Styling
   ========================================================= */
.terms-section {
	background: linear-gradient(135deg, #73bf44 0%, #5ea838 100%);
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 4rem 1rem;
	position: relative;
	overflow-y: auto;
	color: #212529;
}

/* Subtle overlay */
.terms-section::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(255, 255, 255, 0.05);
	backdrop-filter: blur(2px);
	z-index: 0;
}

/* Terms card */
.terms-card {
	position: relative;
	z-index: 1;
	background: #ffffff;
	border-radius: 1.25rem;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
	padding: 3rem 2.5rem;
	max-width: 900px;
	width: 100%;
	text-align: left;
	animation: fadeInUp 0.8s ease both;
}

/* Header text */
.terms-card h2 {
	text-align: center;
	color: #73bf44;
	font-weight: 800;
	font-size: 2rem;
	margin-bottom: 0.5rem;
}

.terms-card h4 {
	text-align: center;
	color: #444;
	font-weight: 600;
	margin-bottom: 1.25rem;
}

/* Effective date */
.effective-date {
	text-align: center;
	font-size: 0.95rem;
	color: #666;
	margin-top: 0.25rem;
	margin-bottom: 1.25rem;
}

/* Scrollable terms content */
.scrollable-terms-div {
	max-height: 450px;
	overflow-y: auto;
	padding-right: 0.75rem;
	margin-top: 1.5rem;
	color: #333;
	line-height: 1.75;
	font-size: 0.95rem;
}

.scrollable-terms-div::-webkit-scrollbar {
	width: 8px;
}

.scrollable-terms-div::-webkit-scrollbar-thumb {
	background-color: #73bf44;
	border-radius: 4px;
}

/* Divider line */
.terms-card hr {
	border: none;
	height: 2px;
	background: linear-gradient(to right, transparent, #73bf44 50%, transparent);
	margin: 1.75rem 0;
}

/* Footer */
.terms-footer {
	border-top: 1px solid #e5e5e5;
	margin-top: 2rem;
	padding-top: 1rem;
	text-align: center;
	color: #777;
	font-size: 0.9rem;
}

/* Animation */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(40px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Responsive */
@media (max-width: 768px) {
	.terms-card {
		padding: 2rem 1.5rem;
	}

	.terms-card h2 {
		font-size: 1.6rem;
	}
}

/* =========================================================
   JOIN LOYALTY PROGRAM PAGE — Fixed & Unified RSA Styling
   ========================================================= */
.join-section {
	background: linear-gradient(135deg, #73bf44 0%, #5ea838 100%);
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	overflow: hidden;
	padding: 4rem 1rem;
}

/* Soft overlay for subtle contrast */
.join-section::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(2px);
	z-index: 0;
}

/* Join card */
.join-card {
	position: relative;
	z-index: 1;
	background: #ffffff;
	border-radius: 1.2rem;
	box-shadow: 0 10px 35px rgba(0, 0, 0, 0.25);
	padding: 3rem 2.5rem;
	max-width: 750px;
	width: 90%;
	text-align: center;
	animation: fadeInUp 0.8s ease both;
}

/* Icon and title */
.join-card i {
	color: #73bf44;
}

.join-card h2 {
	color: #333;
	font-size: 2rem;
	font-weight: 700;
	margin-bottom: 0.75rem;
}

/* Text */
.join-card p {
	color: #555;
	line-height: 1.7;
}

.join-card .lead {
	color: #666;
	font-size: 1.1rem;
}

/* Button */
.join-card .btn-outline-success {
	border: 2px solid #73bf44;
	color: #73bf44;
	font-weight: 600;
	border-radius: 0.5rem;
	padding: 0.6rem 1.5rem;
	transition: all 0.3s ease;
}

.join-card .btn-outline-success:hover {
	background-color: #73bf44;
	color: #fff;
	box-shadow: 0 0 12px rgba(115, 191, 68, 0.4);
	transform: translateY(-2px);
}

/* Animation */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(40px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Responsive */
@media (max-width: 768px) {
	.join-card {
		padding: 2rem 1.5rem;
	}

	.join-card h2 {
		font-size: 1.6rem;
	}
}

/* =========================================================
   FAQ SECTION — Enhanced Design (RSA Brand)
   ========================================================= */
/* .faq-section {
	background: linear-gradient(135deg, #73bf44 0%, #5ea838 100%);
	color: white;
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 4rem 1rem;
}

.faq-card {
	background-color: #ffffff;
	border-radius: 1.2rem;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
	padding: 3rem 2.5rem;
	max-width: 900px;
	width: 100%;
	animation: fadeInUp 0.8s ease both;
}


.faq-title {
	font-weight: 700;
	color: #73bf44;
	text-align: center;
	margin-bottom: 1rem;
	font-size: 2rem;
}

.faq-card .lead {
	color: #555;
}


.whatsapp-banner {
	background: rgba(248, 249, 250, 0.9);
	border-left: 5px solid #73bf44;
	padding: 0.8rem 1.2rem;
	border-radius: 0.75rem;
	transition: all 0.3s ease;
}

.whatsapp-banner:hover {
	transform: translateY(-3px);
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}


.accordion-item {
	border: none;
	margin-bottom: 0.8rem;
	border-radius: 0.6rem;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	overflow: hidden;
}

.accordion-button {
	background-color: #ffffff;
	color: #333;
	font-weight: 600;
	padding: 1.1rem 1.25rem;
	transition: all 0.3s ease;
	border: none;
}

.accordion-button:hover {
	background-color: rgba(115, 191, 68, 0.05);
}

.accordion-button:not(.collapsed) {
	color: #73bf44;
	background-color: rgba(115, 191, 68, 0.1);
	box-shadow: inset 0 -3px 0 #73bf44;
	transform: translateY(-1px);
}

.accordion-button::after {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%2373bf44' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
	transition: transform 0.3s ease;
}

.accordion-button:not(.collapsed)::after {
	transform: rotate(-180deg);
}

.accordion-body {
	background-color: #ffffff;
	color: #444;
	line-height: 1.7;
	font-size: 1rem;
	padding: 1.25rem 1.5rem 1.5rem;
}


.faq-footer {
	color: #666;
	text-align: center;
	margin-top: 3rem;
}

.faq-footer hr {
	border-color: rgba(0, 0, 0, 0.1);
	margin-bottom: 1rem;
} */

/* Animations */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(40px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

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

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

/* =========================================================
   BUTTONS
   ========================================================= */
.btn-warning {
	background-color: var(--rsa-yellow);
	border: none;
	color: var(--rsa-dark);
	font-weight: 600;
	transition: all 0.3s ease-in-out;
}

.btn-warning:hover {
	background-color: #ffb300;
	box-shadow: 0 0 15px rgba(255, 179, 0, 0.5);
	transform: translateY(-2px);
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer-section {
	background-color: #2b2b2b;
	color: #fff;
}

.footer-section a {
	transition: color 0.3s ease;
}

.footer-section a:hover {
	color: var(--rsa-green);
}

.footer-section p {
	margin-bottom: 0.25rem;
}

.footer-section .social-icons {
	margin-right: 0.5rem;
}

/* =========================================================
   ANIMATIONS
   ========================================================= */
@keyframes floatIn {
	from {
		opacity: 0;
		transform: translateY(40px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

section {
	animation: floatIn 0.8s ease both;
}

.rsa-green {
	background-color: #5ea838;
	color: white;
	padding: 10px;
	/* optional: adds spacing */
	border-radius: 4px;
	/* optional: rounded corners */
}

/* Social Icons in Panel */
.panel-socials {
	display: flex;
	justify-content: center;
	gap: 18px;
	margin-top: 20px;
}

.social-icon {
	color: #2a5c2a;
	font-size: 1.7rem;
	transition: 0.2s ease;
}

.social-icon:hover {
	color: #73bf44;
	transform: scale(1.15);
}