/* ==========================================
GKRI Website - Shared Styles - E-Pro WebDev
========================================== */

:root {
	/* Font Families */
	--font-heading: "Ubuntu", sans-serif;
	--font-body: "Nunito Sans", sans-serif;

	/* Warna */
	--primary: #b70404;
	--primary-dark: #8a0303;
	--secondary: #27556c;
	--secondary-dark: #1a3a4a;
	--accent-1: #aa3939;
	--accent-2: #aa7539;
	--bg: #ffffff;
	--bg-alt: #f8f9fa;
	--fg: #1a1a1a;
	--fg-muted: #6c757d;
	--card-bg: #ffffff;
	--border: #dee2e6;
	--shadow: rgba(0, 0, 0, 0.1);
	--shadow-lg: rgba(0, 0, 0, 0.15);
	--radius: 12px;
	--radius-lg: 16px;
	--transition: 0.3s ease;
}

@media (prefers-color-scheme: dark) {
	:root {
		--bg: #0f1419;
		--bg-alt: #1a2027;
		--fg: #f0f2f5;
		--fg-muted: #9ca3af;
		--card-bg: #1a2027;
		--border: #2d3748;
		--shadow: rgba(0, 0, 0, 0.3);
		--shadow-lg: rgba(0, 0, 0, 0.4);
	}
}

[data-theme="light"] {
	--bg: #ffffff;
	--bg-alt: #f8f9fa;
	--fg: #1a1a1a;
	--fg-muted: #6c757d;
	--card-bg: #ffffff;
	--border: #dee2e6;
	--shadow: rgba(0, 0, 0, 0.1);
	--shadow-lg: rgba(0, 0, 0, 0.15);
}

[data-theme="dark"] {
	--bg: #0f1419;
	--bg-alt: #1a2027;
	--fg: #f0f2f5;
	--fg-muted: #9ca3af;
	--card-bg: #1a2027;
	--border: #2d3748;
	--shadow: rgba(0, 0, 0, 0.3);
	--shadow-lg: rgba(0, 0, 0, 0.4);
}

.calendar-page-shell {
	padding: 7rem 0 4rem;
}

.calendar-page-hero {
	max-width: 760px;
	margin-bottom: 2rem;
}

.calendar-page-kicker {
	display: inline-block;
	margin-bottom: 0.8rem;
	padding: 0.35rem 0.8rem;
	border-radius: 999px;
	background: color-mix(in srgb, var(--primary) 12%, transparent);
	color: var(--primary);
	font-family: var(--font-heading);
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.calendar-page-hero h1 {
	margin-bottom: 0.75rem;
	font-size: clamp(2rem, 3vw, 3.2rem);
}

.calendar-page-hero p {
	margin: 0;
	max-width: 62ch;
	color: var(--fg-muted);
	font-size: 1.02rem;
}

.calendar-page-section {
	margin-bottom: 2rem;
	padding: 1.6rem;
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	background:
		linear-gradient(180deg, color-mix(in srgb, var(--card-bg) 92%, transparent), var(--card-bg)),
		radial-gradient(circle at top right, color-mix(in srgb, var(--primary) 10%, transparent), transparent 40%);
	box-shadow: 0 20px 60px var(--shadow);
}

.calendar-section-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.4rem;
}

.calendar-section-header h2 {
	margin-bottom: 0.35rem;
	font-size: 1.5rem;
}

.calendar-section-header p {
	margin: 0;
	color: var(--fg-muted);
}

.calendar-month-toolbar {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	flex-wrap: wrap;
}

.calendar-month-label {
	min-width: 12rem;
	padding: 0.75rem 1rem;
	border: 1px solid var(--border);
	border-radius: 999px;
	background: var(--bg);
	font-family: var(--font-heading);
	font-weight: 700;
	text-align: center;
}

.calendar-nav-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.8rem;
	height: 2.8rem;
	border: 1px solid var(--border);
	border-radius: 50%;
	background: var(--bg);
	color: var(--fg);
	box-shadow: 0 10px 25px var(--shadow);
}

.calendar-nav-button:hover {
	border-color: var(--primary);
	background: var(--primary);
	color: #fff;
	transform: translateY(-1px);
}

.calendar-month-board {
	border: 1px solid var(--border);
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--bg);
}

.calendar-weekdays,
.calendar-grid {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
}

.calendar-weekday {
	padding: 0.9rem 0.5rem;
	border-bottom: 1px solid var(--border);
	background: var(--bg-alt);
	font-family: var(--font-heading);
	font-size: 0.9rem;
	font-weight: 700;
	text-align: center;
	color: var(--fg-muted);
}

.calendar-day-card {
	min-height: 10rem;
	padding: 0.9rem;
	border-right: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
	background: var(--card-bg);
}

.calendar-grid > .calendar-day-card:nth-child(7n) {
	border-right: none;
}

.calendar-day-card.is-outside-month {
	background: color-mix(in srgb, var(--bg-alt) 72%, transparent);
}

.calendar-day-card.is-today {
	background:
		linear-gradient(180deg, color-mix(in srgb, var(--primary) 10%, transparent), transparent 70%),
		var(--card-bg);
}

.calendar-day-number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2rem;
	height: 2rem;
	margin-bottom: 0.65rem;
	border-radius: 999px;
	font-family: var(--font-heading);
	font-weight: 700;
}

.calendar-day-card.is-today .calendar-day-number {
	background: var(--primary);
	color: #fff;
}

.calendar-day-events {
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
}

.calendar-event-chip {
	display: block;
	padding: 0.55rem 0.65rem;
	border: 1px solid color-mix(in srgb, var(--primary) 20%, var(--border));
	border-radius: 0.85rem;
	background: color-mix(in srgb, var(--primary) 6%, var(--bg));
}

.calendar-event-chip:hover {
	border-color: var(--primary);
	box-shadow: 0 10px 20px var(--shadow);
}

.calendar-event-chip-title {
	display: block;
	font-family: var(--font-heading);
	font-size: 0.88rem;
	font-weight: 700;
	line-height: 1.35;
}

.calendar-event-chip-time {
	display: block;
	margin-top: 0.25rem;
	font-size: 0.78rem;
	color: var(--fg-muted);
}

.calendar-upcoming-list {
	display: grid;
	gap: 1rem;
}

.calendar-upcoming-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1rem 1.1rem;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: var(--bg);
	box-shadow: 0 12px 30px var(--shadow);
}

.calendar-upcoming-copy h3 {
	margin: 0.2rem 0 0;
	font-size: 1.15rem;
}

.calendar-upcoming-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 0.75rem;
	color: var(--fg-muted);
	font-size: 0.92rem;
}

.calendar-upcoming-meta span {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
}

.calendar-upcoming-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.75rem 1rem;
	border-radius: 999px;
	background: var(--primary);
	color: #fff;
	font-family: var(--font-heading);
	font-weight: 700;
	white-space: nowrap;
}

.calendar-upcoming-link:hover {
	background: var(--primary-dark);
	color: #fff;
}

.calendar-empty-state {
	padding: 1.5rem;
	border: 1px dashed var(--border);
	border-radius: var(--radius);
	background: var(--bg);
	text-align: center;
}

.calendar-empty-state h3 {
	margin-bottom: 0.5rem;
}

.calendar-empty-state p {
	margin: 0;
	color: var(--fg-muted);
}

@media (max-width: 991.98px) {
	.calendar-section-header,
	.calendar-upcoming-item {
		flex-direction: column;
		align-items: flex-start;
	}

	.calendar-month-toolbar {
		width: 100%;
		justify-content: space-between;
	}

	.calendar-month-label {
		flex: 1 1 auto;
		min-width: 0;
	}
}

@media (max-width: 767.98px) {
	.calendar-page-shell {
		padding-top: 6rem;
	}

	.navbar-main.fixed-top + * {
		margin-top: 1rem;
	}

	.navbar-main.fixed-top + .hero-carousel {
		margin-top: 80px;
	}

	.calendar-page-section {
		padding: 1rem;
	}

	.calendar-weekday {
		padding: 0.65rem 0.25rem;
		font-size: 0.76rem;
	}

	.calendar-day-card {
		min-height: 7.5rem;
		padding: 0.6rem;
	}

	.calendar-event-chip {
		padding: 0.45rem 0.5rem;
	}

	.calendar-event-chip-title {
		font-size: 0.76rem;
	}

	.calendar-event-chip-time {
		font-size: 0.7rem;
	}
}

/* Reset & Base */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: var(--font-body);
	background-color: var(--bg);
	color: var(--fg);
	transition:
		background-color var(--transition),
		color var(--transition);
	overflow-x: hidden;
	line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--font-heading);
	font-weight: 700;
	line-height: 1.3;
}

a {
	text-decoration: none;
	color: inherit;
	transition: var(--transition);
}

img {
	max-width: 100%;
	height: auto;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
	width: 10px;
}

::-webkit-scrollbar-track {
	background: var(--bg-alt);
}

::-webkit-scrollbar-thumb {
	background: var(--secondary);
	border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
	background: var(--primary);
}

/* LOGO */
.logo-primary path,
.logo-primary polygon {
	fill: var(--primary);
	transition: fill 0.3s ease;
}

/* Hover effect opsional */
.logo-primary:hover path,
.logo-primary:hover polygon {
	fill: var(--primary-dark);
}

/* ==========================================
Navbar Styles
========================================== */
.navbar-main {
	background: var(--bg);
	box-shadow: 0 2px 20px var(--shadow);
	padding: 0.8rem 0;
	transition: all var(--transition);
}

.navbar-main.scrolled {
	padding: 0.5rem 0;
	box-shadow: 0 4px 30px var(--shadow-lg);
}

.navbar-main.fixed-top + * {
	margin-top: 1.5rem;
}

.navbar-main.fixed-top + .hero-carousel {
	margin-top: 80px;
}

.navbar-brand {
	display: flex;
	align-items: center;
	gap: 12px;
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 1.5rem;
	color: var(--primary) !important;
}

.navbar-brand svg {
	height: 45px;
	transition: transform var(--transition);
}

.navbar-brand:hover svg {
	transform: rotate(-5deg) scale(1.05);
}

.nav-link {
	color: var(--fg) !important;
	font-family: var(--font-heading);
	font-weight: 500;
	padding: 0.5rem 1rem !important;
	position: relative;
	transition: color var(--transition);
}

.nav-link::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 50%;
	width: 0;
	height: 2px;
	background: var(--primary);
	transition: all var(--transition);
	transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
	width: 80%;
}

.nav-link:hover {
	color: var(--primary) !important;
}

.dropdown-menu {
	background: var(--card-bg);
	border: 1px solid var(--border);
	box-shadow: 0 10px 40px var(--shadow-lg);
	border-radius: var(--radius);
	padding: 0.5rem;
	animation: dropdownFade 0.3s ease;
}

@keyframes dropdownFade {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}

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

.account-congregation-map-editor {
	display: grid;
	gap: 12px;
	margin-top: 18px;
}

.account-congregation-map-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.account-congregation-map-hint {
	color: var(--fg-muted);
	font-size: 0.95rem;
}

.account-congregation-map {
	min-height: 360px;
	border-radius: 20px;
	border: 1px solid var(--border);
	overflow: hidden;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
	background: var(--bg-alt);
}

.account-congregation-geocoder {
	max-width: min(100%, 360px);
	border-radius: 16px;
	border: 1px solid var(--border);
	background: color-mix(in srgb, var(--bg) 92%, white 8%);
	box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
	overflow: hidden;
}

.account-congregation-geocoder .leaflet-control-geocoder-form {
	display: flex;
	align-items: stretch;
	background: transparent;
}

.account-congregation-geocoder .leaflet-control-geocoder-icon {
	width: 46px;
	height: 46px;
	border: 0;
	background-color: transparent;
	opacity: 0.72;
}

.account-congregation-geocoder .leaflet-control-geocoder-form input {
	width: 100%;
	height: 46px;
	padding: 0 14px;
	border: 0;
	background: transparent;
	color: var(--fg);
	font-size: 0.95rem;
}

.account-congregation-geocoder .leaflet-control-geocoder-form input::placeholder {
	color: var(--fg-muted);
	opacity: 1;
}

.account-congregation-geocoder .leaflet-control-geocoder-form input:focus {
	outline: none;
	box-shadow: none;
}

.account-congregation-geocoder .leaflet-control-geocoder-alternatives {
	margin: 8px;
	padding: 6px 0;
	border: 1px solid var(--border);
	border-radius: 14px;
	background: var(--bg);
	color: var(--fg);
}

.account-congregation-geocoder .leaflet-control-geocoder-alternatives li a {
	color: inherit;
	padding: 8px 12px;
}

.account-congregation-geocoder .leaflet-control-geocoder-alternatives li a:hover,
.account-congregation-geocoder .leaflet-control-geocoder-alternatives li a:focus {
	background: color-mix(in srgb, var(--primary) 12%, transparent);
}

.account-congregation-map .leaflet-control-attribution,
.account-congregation-map .leaflet-control-zoom a {
	color: #1f2937;
}

[data-theme="dark"] .account-congregation-map .leaflet-control-attribution,
[data-theme="dark"] .account-congregation-map .leaflet-control-zoom a {
	color: #1f2937;
}

@media (max-width: 767.98px) {
	.account-congregation-map {
		min-height: 300px;
	}

	.account-congregation-geocoder {
		max-width: calc(100% - 8px);
	}
}

.dropdown-item {
	font-family: var(--font-heading);
	color: var(--fg);
	padding: 0.6rem 1rem;
	border-radius: 8px;
	transition: all 0.2s ease;
}

.dropdown-item:hover {
	background: var(--primary);
	color: white;
}

.btn-login {
	background: linear-gradient(135deg, var(--primary) 0%, var(--accent-1) 100%);
	color: white !important;
	border: none;
	padding: 0.6rem 1.5rem !important;
	border-radius: 50px;
	font-family: var(--font-heading);
	font-weight: 600;
	transition: all var(--transition);
}

.btn-login:hover {
	transform: translateY(-2px);
	box-shadow: 0 5px 20px rgba(183, 4, 4, 0.4);
}

.theme-toggle {
	background: var(--bg-alt);
	border: 1px solid var(--border);
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all var(--transition);
	color: var(--fg);
}

.theme-toggle:hover {
	background: var(--secondary);
	color: white;
	border-color: var(--secondary);
}

/* ==========================================
Section Styles
========================================== */
.section-padding {
	padding: 5rem 0;
}

.bg-alt {
	background: var(--bg-alt);
}

.section-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 2rem;
	padding-bottom: 1rem;
	border-bottom: 2px solid var(--border);
	position: relative;
}

.section-header::after {
	content: "";
	position: absolute;
	bottom: -2px;
	left: 0;
	width: 80px;
	height: 2px;
	background: var(--primary);
}

.section-title {
	font-size: 2rem;
	color: var(--fg);
	margin: 0;
}

.section-nav {
	display: flex;
	gap: 0.5rem;
}

.section-nav-btn {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--card-bg);
	border: 1px solid var(--border);
	color: var(--fg);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all var(--transition);
}

.section-nav-btn:hover {
	background: var(--primary);
	color: white;
	border-color: var(--primary);
}

/* ==========================================
Button Styles
========================================== */
button {
	font-family: var(--font-heading);
}

.btn {
	font-family: var(--font-heading);
}

.btn-primary-custom {
	background: linear-gradient(135deg, var(--primary) 0%, var(--accent-1) 100%);
	border: none;
	padding: 0.8rem 2rem;
	border-radius: 50px;
	font-weight: 600;
	color: white;
	transition: all var(--transition);
}

.btn-primary-custom:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 30px rgba(183, 4, 4, 0.4);
	color: white;
}

.btn-outline-custom {
	border: 2px solid white;
	color: white;
	padding: 0.75rem 1.75rem;
	border-radius: 50px;
	font-weight: 600;
	background: transparent;
	transition: all var(--transition);
}

.btn-outline-custom:hover {
	background: var(--secondary);
	color: white;
}

/* ==========================================
Card Styles
========================================== */
.card-base {
	background: var(--card-bg);
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: 0 5px 20px var(--shadow);
	transition: all var(--transition);
	border: 1px solid var(--border);
}

.card-base:hover {
	transform: translateY(-5px);
	box-shadow: 0 15px 40px var(--shadow-lg);
}

/* Event Card */
.event-card {
	background: var(--card-bg);
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: 0 5px 20px var(--shadow);
	transition: all var(--transition);
	border: 1px solid var(--border);
}

.event-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 15px 40px var(--shadow-lg);
}

.event-date {
	background: linear-gradient(135deg, var(--primary) 0%, var(--accent-1) 100%);
	color: white;
	padding: 1.5rem;
	text-align: center;
	min-width: 100px;
}

.event-date .day {
	font-size: 2.5rem;
	font-weight: 700;
	line-height: 1;
}

.event-date .month {
	font-size: 0.9rem;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.event-date .year {
	font-size: 0.85rem;
	opacity: 0.8;
}

.event-info {
	padding: 1.5rem;
	flex: 1;
}

.event-info h4 {
	font-size: 1.25rem;
	margin-bottom: 0.5rem;
	color: var(--fg);
}

.event-info .meta {
	color: var(--fg-muted);
	font-size: 0.9rem;
}

.event-info .meta i {
	color: var(--primary);
	margin-right: 0.3rem;
}
.meta-link {
	color: var(--fg-muted);
	text-decoration: none;
	transition: color var(--transition);
	display: inline-flex;
	align-items: center;
}

.meta-link:hover {
	color: var(--primary);
}

.meta-link i {
	color: var(--primary);
	margin-right: 0.3rem;
}

/* ==========================================
Birthday Card Styles
========================================== */

/* Style untuk Foto Ulang Tahun */
.birthday-photo {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid var(--border);
	flex-shrink: 0;
}

/* Penyesuaian Card */
.birthday-card {
	background-color: var(--card-bg);
	transition:
		transform 0.2s ease,
		background-color 0.2s ease;
	border: 1px solid transparent;
}

/* Hover State untuk Semua Mode */
.birthday-card:hover {
	transform: translateY(-2px);
	background-color: var(--bg-alt);
	border-color: var(--border);
}

/* ==========================================
WARNA TEKS (LIGHT & DARK MODE)
========================================== */

.birthday-card .text-muted {
	color: var(--fg-muted) !important;
}

[data-theme="dark"] .birthday-card:hover {
	background-color: #2d3748;
	border-color: #3d4758;
}

[data-theme="dark"] .birthday-card:hover h6,
[data-theme="dark"] .birthday-card:hover small {
	color: #f0f2f5 !important;
}

[data-theme="light"] .birthday-card:hover h6,
[data-theme="light"] .birthday-card:hover small {
	color: #1a1a1a !important;
}

/* News Card */
.news-card {
	background: var(--card-bg);
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: 0 5px 20px var(--shadow);
	transition: all var(--transition);
	border: 1px solid var(--border);
	height: 100%;
}

.news-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 15px 40px var(--shadow-lg);
}

.news-card .thumbnail {
	height: 180px;
	background-size: cover;
	background-position: center;
	transition: transform 0.5s ease;
}

.news-card:hover .thumbnail {
	transform: scale(1.05);
}

.news-card .thumbnail-wrapper {
	overflow: hidden;
}

.news-card .content {
	padding: 1.25rem;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	height: calc(100% - 180px);
}

.news-card .date {
	color: var(--primary);
	font-size: 0.85rem;
	font-weight: 600;
	margin-bottom: 0.5rem;
}

.news-card h5 {
	color: var(--fg);
	font-size: 1.1rem;
	margin-bottom: 0;
	line-height: 1.4;
}

.news-card .excerpt {
	color: var(--fg-muted);
	font-size: 0.9rem;
	line-height: 1.6;
	margin-bottom: 0;
}

.news-card .news-card-link {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	margin-top: auto;
	color: var(--primary);
	font-family: var(--font-heading);
	font-size: 0.92rem;
	font-weight: 700;
}

.news-card .news-card-link::after {
	content: "\2192";
	font-size: 0.95em;
	transition: transform var(--transition);
}

.news-card:hover .news-card-link::after {
	transform: translateX(3px);
}

/* Article Card */
.article-card {
	background: var(--card-bg);
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: 0 5px 20px var(--shadow);
	transition: all var(--transition);
	border: 1px solid var(--border);
	height: 100%;
}

.article-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 15px 40px var(--shadow-lg);
}

.article-card .author-info {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-bottom: 1rem;
}

.article-card .author-photo {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background-size: cover;
	background-position: center;
	border: 3px solid var(--primary);
}

.article-card .author-name {
	color: var(--fg);
	font-weight: 600;
	font-size: 0.95rem;
}

.article-card .post-date {
	color: var(--fg-muted);
	font-size: 0.8rem;
}

.article-card h5 {
	color: var(--fg);
	font-size: 1.1rem;
	margin-bottom: 0.75rem;
	line-height: 1.4;
}

.article-card .excerpt {
	color: var(--fg-muted);
	font-size: 0.9rem;
	line-height: 1.6;
}

/* Renungan Card */
.renungan-card {
	background: var(--card-bg);
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: 0 5px 20px var(--shadow);
	transition: all var(--transition);
	border: 1px solid var(--border);
	height: 100%;
}

.renungan-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 20px 50px var(--shadow-lg);
}

.renungan-card .thumbnail {
	height: 200px;
	background-size: cover;
	background-position: center;
	position: relative;
}

.renungan-card .thumbnail::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 50%;
	background: linear-gradient(to top, var(--card-bg), transparent);
}

.renungan-card .content {
	padding: 1.5rem;
}

.renungan-card h5 {
	color: var(--fg);
	font-size: 1.1rem;
	margin-bottom: 0.5rem;
}

.renungan-card .author {
	color: var(--primary);
	font-weight: 600;
	font-size: 0.9rem;
	margin-bottom: 0.5rem;
}

.renungan-card .excerpt {
	color: var(--fg-muted);
	font-size: 0.9rem;
	line-height: 1.6;
}

/* Partner Logo */
.partner-logo {
	background: var(--card-bg);
	border-radius: var(--radius);
	padding: 1.5rem;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100px;
	border: 1px solid var(--border);
	transition: all var(--transition);
}

.partner-logo:hover {
	box-shadow: 0 10px 30px var(--shadow);
	border-color: var(--primary);
}

.partner-logo img {
	max-height: 60px;
	max-width: 100%;
	filter: grayscale(100%);
	opacity: 0.7;
	transition: all var(--transition);
}

.partner-logo:hover img {
	filter: grayscale(0%);
	opacity: 1;
}

/* ==========================================
Sidebar Styles (Dipindahkan ke sini)
========================================== */
.sidebar {
	position: sticky;
	top: 100px;
}

.sidebar-widget {
	background: var(--card-bg);
	border-radius: var(--radius-lg);
	padding: 1.5rem;
	margin-bottom: 1.5rem;
	border: 1px solid var(--border);
	box-shadow: 0 5px 20px var(--shadow);
}

.widget-title {
	font-size: 1.1rem;
	color: var(--fg);
	margin-bottom: 1.25rem;
	padding-bottom: 0.75rem;
	border-bottom: 2px solid var(--border);
	position: relative;
}

.widget-title::after {
	content: "";
	position: absolute;
	bottom: -2px;
	left: 0;
	width: 50px;
	height: 2px;
	background: var(--primary);
}

/* Search Widget */
.search-form .input-group {
	position: relative;
}

.search-form .form-control {
	padding: 0.75rem 1rem;
	border-radius: 50px;
	border: 1px solid var(--border);
	background: var(--bg);
	color: var(--fg);
	padding-right: 50px;
}

.search-form .form-control:focus {
	border-color: var(--primary);
	box-shadow: 0 0 0 3px rgba(183, 4, 4, 0.1);
}

.btn-search {
	position: absolute;
	right: 0;
	top: 0;
	height: 100%;
	width: 50px;
	border-radius: 0 50px 50px 0;
	background: var(--primary);
	color: white;
	border: none;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all var(--transition);
}

.btn-search:hover {
	background: var(--primary-dark);
}

/* Sidebar Events */
.sidebar-events {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.sidebar-event {
	display: flex;
	gap: 1rem;
	padding: 0.75rem;
	background: var(--bg);
	border-radius: var(--radius);
	transition: all var(--transition);
}

.sidebar-event:hover {
	background: var(--bg-alt);
}

.sidebar-event .date-box {
	background: linear-gradient(135deg, var(--primary) 0%, var(--accent-1) 100%);
	color: white;
	padding: 0.5rem;
	border-radius: 8px;
	text-align: center;
	min-width: 55px;
}

.sidebar-event .date-box .day {
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1;
}

.sidebar-event .date-box .month {
	font-size: 0.7rem;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.sidebar-event .event-details h6 {
	font-size: 0.9rem;
	color: var(--fg);
	margin-bottom: 0.25rem;
	line-height: 1.3;
}

.sidebar-event .event-details span {
	font-size: 0.8rem;
	color: var(--fg-muted);
}

.widget-link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin-top: 1rem;
	color: var(--primary);
	font-weight: 600;
	font-size: 0.9rem;
	transition: all var(--transition);
}

.widget-link:hover {
	gap: 0.75rem;
	color: var(--primary-dark);
}

/* Latest Articles Widget */
.latest-articles {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.latest-article-item {
	display: flex;
	gap: 0.75rem;
	padding: 0.5rem;
	border-radius: var(--radius);
	transition: all var(--transition);
}

.latest-article-item:hover {
	background: var(--bg);
}

.latest-article-item img {
	width: 80px;
	height: 60px;
	object-fit: cover;
	border-radius: 8px;
	flex-shrink: 0;
}

.latest-article-item .info h6 {
	font-size: 0.9rem;
	color: var(--fg);
	margin-bottom: 0.25rem;
	line-height: 1.3;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.latest-article-item .info span {
	font-size: 0.75rem;
	color: var(--fg-muted);
}

/* Advertisement Widget */
.advertisement {
	position: relative;
	border-radius: var(--radius);
	overflow: hidden;
}

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

.advertisement:hover img {
	transform: scale(1.05);
}

.sidebar-advertisement-widget.is-hidden {
	display: none;
}

.advertisement .advertisement-media {
	width: 100%;
	height: 250px;
	object-fit: cover;
	display: block;
}

.advertisement-full-image img,
.advertisement-full-image .advertisement-media {
	height: auto;
	max-height: none;
	object-fit: contain;
}

.advertisement-full-image:hover img {
	transform: none;
}

.advertisement-text-card {
	min-height: 250px;
	background:
		linear-gradient(160deg, rgba(183, 4, 4, 0.95), rgba(72, 8, 8, 0.92)),
		radial-gradient(circle at top right, rgba(255, 255, 255, 0.12), transparent 48%);
	color: #fff;
	display: flex;
	align-items: stretch;
}

.advertisement-text-content {
	padding: 1.5rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 0.85rem;
	width: 100%;
}

.advertisement-text-content h4,
.ad-overlay h4 {
	font-size: 1.05rem;
	margin-bottom: 0.2rem;
}

.advertisement-text-content p,
.ad-overlay p {
	margin-bottom: 0;
	font-size: 0.9rem;
	line-height: 1.55;
}

.ad-cta,
.ad-cta-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: fit-content;
	margin-top: 0.85rem;
	padding: 0.45rem 0.85rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.92);
	color: #7e0c0c;
	font-size: 0.82rem;
	font-weight: 700;
	text-decoration: none;
}

.ad-cta-link:hover {
	color: #560000;
	background: #fff;
}

.advertisement-carousel .carousel-control-prev,
.advertisement-carousel .carousel-control-next {
	width: 12%;
}

.advertisement-carousel .carousel-control-prev-icon,
.advertisement-carousel .carousel-control-next-icon {
	background-color: rgba(0, 0, 0, 0.55);
	border-radius: 50%;
	padding: 1rem;
	background-size: 50% 50%;
}

.advertisement-text-fallback {
	min-height: 250px;
	padding: 1.5rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
	background: linear-gradient(180deg, rgba(183, 4, 4, 0.88), rgba(38, 20, 20, 0.95));
	color: #fff;
}

.ad-overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 1.5rem;
	background: linear-gradient(to top, rgba(183, 4, 4, 0.95), transparent);
	color: white;
}

.ad-overlay h4 {
	font-size: 1.1rem;
	margin-bottom: 0.25rem;
}

.ad-overlay p {
	font-size: 0.85rem;
	opacity: 0.9;
	margin-bottom: 0.5rem;
}

/* Newsletter Widget */
.newsletter-widget {
	background: linear-gradient(
		135deg,
		var(--primary) 0%,
		var(--secondary) 100%
	);
	color: white;
}

.newsletter-widget .widget-title {
	color: white;
	border-bottom-color: rgba(255, 255, 255, 0.2);
}

.newsletter-widget .widget-title::after {
	background: white;
}

.newsletter-widget p {
	opacity: 0.9;
	font-size: 0.9rem;
	margin-bottom: 1rem;
}

.newsletter-form-vertical .form-control {
	padding: 0.75rem 1rem;
	border-radius: 50px;
	border: none;
	margin-bottom: 0.75rem;
	background: rgba(255, 255, 255, 0.9);
}

.newsletter-form-vertical .form-control:focus {
	background: white;
	box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.newsletter-form-vertical .btn {
	border-radius: 50px;
	padding: 0.75rem 1.5rem;
}

/* Random Articles Widget */
.random-articles {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.random-article-item {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.5rem;
	border-radius: var(--radius);
	transition: all var(--transition);
}

.random-article-item:hover {
	background: var(--bg);
}

.random-article-item .number {
	width: 28px;
	height: 28px;
	background: var(--bg-alt);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 0.85rem;
	color: var(--primary);
	flex-shrink: 0;
}

.random-article-item h6 {
	font-size: 0.85rem;
	color: var(--fg);
	margin: 0;
	line-height: 1.3;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* ==========================================
Carousel Styles
========================================== */
.hero-carousel {
	margin-top: 80px;
}

.carousel-item {
	height: 600px;
	position: relative;
}

@media (max-width: 768px) {
	.carousel-item {
		height: 500px;
	}
}

.carousel-bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	filter: brightness(0.5);
}

.carousel-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		135deg,
		rgba(183, 4, 4, 0.7) 0%,
		rgba(39, 85, 108, 0.5) 100%
	);
}

.carousel-caption-custom {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
	color: white;
	max-width: 800px;
	padding: 0 20px;
}

.carousel-caption-custom h1 {
	font-size: 3.5rem;
	font-weight: 800;
	margin-bottom: 1rem;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
	animation: fadeInUp 0.8s ease;
}

.carousel-caption-custom p {
	font-size: 1.25rem;
	margin-bottom: 2rem;
	opacity: 0.95;
	animation: fadeInUp 0.8s ease 0.2s both;
}

.carousel-caption-custom .btn {
	animation: fadeInUp 0.8s ease 0.4s both;
}

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

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

.carousel-control-prev,
.carousel-control-next {
	width: 60px;
	height: 60px;
	background: rgba(255, 255, 255, 0.2);
	border-radius: 50%;
	top: 50%;
	transform: translateY(-50%);
	opacity: 1;
	transition: all var(--transition);
}

.carousel-control-prev {
	left: 30px;
}

.carousel-control-next {
	right: 30px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
	background: var(--primary);
}

/* ==========================================
Donation Section
========================================== */
.donation-section {
	position: relative;
	padding: 8rem 0;
	background-attachment: fixed;
	background-position: center;
	background-size: cover;
}

.donation-section::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(
		135deg,
		rgba(183, 4, 4, 0.9) 0%,
		rgba(39, 85, 108, 0.85) 100%
	);
}

.donation-content {
	position: relative;
	z-index: 1;
	color: white;
	text-align: center;
}

.donation-content h2 {
	font-size: 3rem;
	margin-bottom: 1.5rem;
}

.donation-content p {
	font-size: 1.2rem;
	opacity: 0.95;
	max-width: 600px;
	margin: 0 auto 2rem;
}

.donation-stats {
	display: flex;
	justify-content: center;
	gap: 3rem;
	margin-top: 3rem;
}

.donation-stat {
	text-align: center;
}

.donation-stat .number {
	font-size: 2.5rem;
	font-weight: 700;
	font-family: var(--font-heading);
}

.donation-stat .label {
	font-size: 0.9rem;
	opacity: 0.9;
	text-transform: uppercase;
	letter-spacing: 1px;
}

/* ==========================================
Map Section Styles (Pastikan ini ada)
========================================== */
.map-container {
	height: 450px;
	width: 100%;
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: 0 10px 40px var(--shadow-lg);
	background: var(--bg-alt);
	position: relative;
	z-index: 1;
}

.map-container #mapCanvas {
	width: 100%;
	height: 100%;
	z-index: 1;
}

/* ==========================================
Branch List
========================================== */

.branch-list {
	background: var(--card-bg);
	border-radius: var(--radius-lg);
	padding: 1.5rem;
	height: 450px;
	border: 1px solid var(--border);
	display: flex;
	flex-direction: column;
	gap: 1rem;
	overflow: hidden;
}

/* Style untuk Search di Sidebar */
.sidebar-search .form-control {
	border-radius: var(--radius);
	border: 1px solid var(--border);
	background-color: var(--bg);
	color: var(--fg);
	padding: 0.6rem 1rem;
	transition: all var(--transition);
}

.sidebar-search .form-control::placeholder {
	color: var(--fg-muted);
	opacity: 0.8;
}

.sidebar-search .form-control:focus {
	border-color: var(--primary);
	box-shadow: 0 0 0 2px rgba(183, 4, 4, 0.1);
	background-color: var(--bg);
}

/* Override khusus Dark Mode agar lebih tajam */
[data-theme="dark"] .sidebar-search .form-control {
	background-color: #0f1419;
	color: #f0f2f5;
	border-color: #3d4758;
}

[data-theme="dark"] .sidebar-search .form-control::placeholder {
	color: #9ca3af;
}

/* Wrapper untuk daftar item (Hanya ini yang boleh scroll) */
.branch-items-wrapper {
	flex: 1;
	overflow-y: auto;
	padding-right: 5px;
	min-height: 0;
}

/* Custom Scrollbar for branch list */
.branch-items-wrapper::-webkit-scrollbar {
	width: 6px;
}
.branch-items-wrapper::-webkit-scrollbar-track {
	background: transparent;
}
.branch-items-wrapper::-webkit-scrollbar-thumb {
	background: var(--secondary);
	border-radius: 10px;
}
.branch-items-wrapper::-webkit-scrollbar-thumb:hover {
	background: var(--primary);
}

/* ==========================================
Custom Spacing for Branch List
========================================== */

/* Style untuk setiap item cabang */
.branch-item {
	padding: 0.75rem 1rem;
	margin-bottom: 0.75rem;
	background: var(--bg);
	border-radius: var(--radius);
	cursor: pointer;
	transition: all var(--transition);
	border: 1px solid transparent;
}

/* Hilangkan margin bawah untuk item terakhir */
.branch-item:last-child {
	margin-bottom: 0;
}

/* Efek saat hover */
.branch-item:hover {
	background: var(--bg-alt);
	border-color: var(--primary);
}

/* Atur jarak judul dan lokasi */
.branch-item h6 {
	margin-bottom: 0.15rem;
	font-size: 0.95rem;
	color: var(--fg);
	font-family: var(--font-heading);
}

.branch-item span {
	display: block;
	font-size: 0.8rem;
	color: var(--fg-muted);
}

/* ==========================================
Leaflet Specific Fixes (Opsional)
========================================== */

/* Mencegah gambar di dalam peta terkena efek global 'max-width: 100%' */
.leaflet-container img {
	max-width: none !important;
}

/* Agar popup info pada marker tidak terpotong */
.leaflet-popup-content {
	margin: 10px 15px;
}

/* ==========================================
Footer Styles
========================================== */
.footer-main {
	background: var(--bg-alt);
	padding: 4rem 0 2rem;
	border-top: 1px solid var(--border);
}

.footer-brand {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 1rem;
}

.footer-brand img,
.footer-brand svg {
	height: 50px;
}

.footer-brand span {
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 1.5rem;
	color: var(--primary);
}

.footer-address {
	color: var(--fg-muted);
	line-height: 1.8;
}

.footer-address i {
	color: var(--primary);
	margin-right: 0.5rem;
}

.footer-title {
	color: var(--fg);
	font-size: 1.1rem;
	font-weight: 600;
	margin-bottom: 1.5rem;
	position: relative;
	padding-bottom: 0.5rem;
}

.footer-title::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 40px;
	height: 2px;
	background: var(--primary);
}

.footer-links {
	list-style: none;
	padding: 0;
	margin: 0;
}

.footer-links li {
	margin-bottom: 0.75rem;
}

.footer-links a {
	color: var(--fg-muted);
	text-decoration: none;
	transition: all var(--transition);
}

.footer-links a:hover {
	color: var(--primary);
	padding-left: 5px;
}

.newsletter-form {
	display: flex;
	gap: 0.5rem;
}

.footer-main .newsletter-form.newsletter-form-vertical {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0.85rem;
}

.footer-main .newsletter-form-row {
	width: 100%;
}

.footer-main .newsletter-form-row-fields {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 0.65rem;
}

.footer-main .newsletter-form-row-actions {
	display: flex;
	justify-content: flex-start;
}

.newsletter-form-label {
	font-size: 0.86rem;
	font-weight: 600;
	color: var(--fg);
}

.newsletter-form input {
	flex: 1;
	padding: 0.75rem 1rem;
	border: 1px solid var(--border);
	border-radius: 8px;
	background: var(--card-bg);
	color: var(--fg);
}

.newsletter-form select {
	padding: 0.75rem 1rem;
	border: 1px solid var(--border);
	border-radius: 8px;
	background: var(--card-bg);
	color: var(--fg);
}

.newsletter-form button {
	background: var(--primary);
	color: white;
	border: none;
	padding: 0.75rem 1.25rem;
	border-radius: 8px;
	font-weight: 600;
	transition: all var(--transition);
}

.newsletter-form button:hover {
	background: var(--primary-dark);
}

.newsletter-form-feedback {
	padding: 0.8rem 0.95rem;
	border-radius: 12px;
	font-size: 0.92rem;
	line-height: 1.6;
}

.footer-main .newsletter-form.newsletter-form-vertical .form-control {
	width: 100%;
	min-height: 3.25rem;
	margin-bottom: 0;
	padding: 0.82rem 0.9rem;
	border-radius: 16px;
	border: 1px solid rgba(31, 41, 55, 0.16);
	background: #ffffff;
	color: var(--fg);
	font-size: 0.95rem;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.footer-main .newsletter-form.newsletter-form-vertical .form-control::placeholder {
	color: rgba(55, 65, 81, 0.65);
	opacity: 1;
}

.footer-main .newsletter-form.newsletter-form-vertical .form-control:focus {
	background: #ffffff;
	border-color: rgba(212, 73, 37, 0.65);
	box-shadow: 0 0 0 3px rgba(212, 73, 37, 0.18);
	color: var(--fg);
}

.footer-main .newsletter-form.newsletter-form-vertical button {
	align-self: flex-start;
	min-width: 8.5rem;
	padding: 0.76rem 1.05rem;
	border-radius: 14px;
	font-size: 0.95rem;
	line-height: 1.1;
}

[data-theme="dark"] .footer-main .newsletter-form.newsletter-form-vertical .form-control {
	border-color: rgba(255, 255, 255, 0.12);
	background: rgba(255, 255, 255, 0.08);
	color: #f5f7fb;
	box-shadow: none;
}

[data-theme="dark"] .footer-main .newsletter-form.newsletter-form-vertical .form-control::placeholder {
	color: rgba(245, 247, 251, 0.74);
}

[data-theme="dark"] .footer-main .newsletter-form.newsletter-form-vertical .form-control:focus {
	background: rgba(255, 255, 255, 0.12);
	color: #f5f7fb;
}

.newsletter-form-feedback.is-success {
	background: rgba(30, 135, 84, 0.12);
	color: #0f6b42;
}

.newsletter-form-feedback.is-error {
	background: rgba(163, 39, 39, 0.12);
	color: #8f2424;
}

[data-theme="dark"] .newsletter-form-feedback.is-success {
	background: rgba(67, 181, 129, 0.12);
	color: #9fe6c5;
}

[data-theme="dark"] .newsletter-form-feedback.is-error {
	background: rgba(219, 88, 88, 0.14);
	color: #ffb7b7;
}

.social-links {
	display: flex;
	gap: 0.75rem;
	margin-top: 1.5rem;
}

.social-link {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--card-bg);
	border: 1px solid var(--border);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--fg);
	transition: all var(--transition);
}

.social-link:hover {
	background: var(--primary);
	color: white;
	border-color: var(--primary);
}

.footer-bottom {
	background: var(--secondary);
	padding: 1.25rem 0;
	color: white;
}

.footer-bottom a {
	color: rgba(255, 255, 255, 0.8);
	text-decoration: none;
}

.footer-bottom a:hover {
	color: white;
}

/* ==========================================
Scroll Container
========================================== */
.scroll-container {
	overflow-x: auto;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}

.scroll-container::-webkit-scrollbar {
	display: none;
}

.scroll-wrapper {
	display: flex;
	gap: 1.5rem;
}

/* ==========================================
Animations
========================================== */
.animate-on-scroll {
	opacity: 0 !important;
	transform: translateY(20px);
	transition:
		opacity 0.8s ease-out,
		transform 0.8s ease-out;
	visibility: visible;
}

.animate-on-scroll.visible {
	opacity: 1 !important;
	transform: translateY(0);
}

/* ==========================================
Focus Styles
========================================== */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
	outline: 2px solid var(--primary);
	outline-offset: 2px;
}

/* ==========================================
Utility Classes
========================================== */
.text-primary-custom {
	color: var(--primary) !important;
}

.text-secondary-custom {
	color: var(--secondary) !important;
}

.bg-primary-custom {
	background-color: var(--primary) !important;
}

.bg-secondary-custom {
	background-color: var(--secondary) !important;
}

/* ==========================================
Dark Mode Global Fixes (Tambahkan di bawah style.css)
========================================== */

/* 1. Perbaikan Warna Placeholder Form */
[data-theme="dark"] .form-control::placeholder {
   color: rgba(255, 255, 255, 0.5) !important;
   opacity: 1; /* Fix opacity di Firefox */
}

/* 2. Perbaikan Warna Text Muted (Jam, Lokasi, dll) */
[data-theme="dark"] .text-muted {
   color: rgba(255, 255, 255, 0.6) !important;
}

/* 3. Perbaikan Warna Border Input */
[data-theme="dark"] .form-control {
   border-color: rgba(255, 255, 255, 0.2);
   background-color: rgba(255, 255, 255, 0.05); /* Sedikit transparan */
   color: var(--fg);
}

[data-theme="dark"] .form-control:focus {
   background-color: rgba(255, 255, 255, 0.1);
   border-color: var(--primary);
   color: var(--fg);
   box-shadow: 0 0 0 0.25rem rgba(183, 4, 4, 0.25);
}

/* ==========================================
Responsive Adjustments
========================================== */
@media (max-width: 991.98px) {
	.sidebar {
		position: static;
		margin-top: 2rem;
	}

	.carousel-caption-custom h1 {
		font-size: 2.5rem;
	}

	.donation-content h2 {
		font-size: 2rem;
	}

	.donation-stats {
		gap: 1.5rem;
	}

	.donation-stat .number {
		font-size: 2rem;
	}
}

@media (max-width: 768px) {
	.section-title {
		font-size: 1.5rem;
	}

	.section-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 1rem;
	}

	.carousel-control-prev,
	.carousel-control-next {
		display: none;
	}

	.carousel-caption-custom h1 {
		font-size: 2rem;
	}

	.carousel-caption-custom p {
		font-size: 1rem;
	}

	.donation-section {
		background-attachment: scroll;
		padding: 5rem 0;
	}

	.donation-stats {
		flex-wrap: wrap;
	}
}

/* ==========================================
Reduced Motion
========================================== */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}

	.donation-section {
		background-attachment: scroll;
	}
}
