:root {
	--primary-color: #ffc107;
	--secondary-color: #2d2468;
	--warning-color: #870002;
}

/* Raaj font family (multiple weights) */
@font-face {
	font-family: 'Raaj';
	src: url('../fonts/raaj___1.ttf') format('truetype');
	font-weight: 100;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Raaj';
	src: url('../fonts/raaj___3.ttf') format('truetype');
	font-weight: 300;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Raaj';
	src: url('../fonts/raaj___5.ttf') format('truetype');
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Raaj';
	src: url('../fonts/raaj___7.ttf') format('truetype');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Raaj';
	src: url('../fonts/raaj___9.ttf') format('truetype');
	font-weight: 900;
	font-style: normal;
	font-display: swap;
}

input[type='checkbox'] {
	-webkit-appearance: none;
	-moz-appearance: none;
	height: 20px;
	width: 20px;
	border: solid var(--primary-color);
	border-radius: 5px;
}

input[type='checkbox']:checked {
	border-color: var(--secondary-color);
	border-width: 7px;
}

.btn-primary{
	background-color: var(--secondary-color) !important;
	border-color: var(--secondary-color);
}
.btn-primary:hover{
	background-color: var(--primary-color) !important;
	border-color: var(--primary-color);
}

.primary-button {
	background-color: var(--primary-color);
	border: none;
	padding: 5px;
	border-radius: 5px;
	min-width: 60px;
	color: var(--secondary-color);
	letter-spacing: 1px
}

.secondary-button {
	background-color: var(--secondary-color);
	border: none;
	padding: 5px;
	border-radius: 5px;
	min-width: 60px;
	color: #fff;
}

.primary-button:hover {
	opacity: 0.9;
	box-shadow: 0 0 2px 3px var(--primary-color);
}

.secondary-button:hover {
	opacity: 0.9;
	box-shadow: 0 0 2px 3px var(--secondary-color);
}

.secondary-button:disabled,
.primary-button:disabled {
	background-color: #d7d7d7;
	;
	color: black;
	box-shadow: 0 0 2px 3px #d7d7d7;
}

input[type='radio'] {
	-webkit-appearance: none;
	-moz-appearance: none;
	width: 25px;
	height: 25px;
	border-radius: 50%;
	border: 5px solid var(--primary-color);
	cursor: pointer;
}

input[type='radio']:checked {
	border-color: var(--secondary-color);
	border-width: 8px;
}

li {
	list-style: none;
}


/* Remove spinners from number input fields */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

input[type="number"] {
	-moz-appearance: textfield;
	/* Firefox */
}

body {
	margin: 0;
	overflow-x: hidden;
}

p {
	text-align: justify;
}

a {
	text-decoration: none;
	color: inherit;
}

a:hover {
	color: var(--primary-color);
}

navigation {
	z-index: 10000 !important;
}

.nav-name {
	display: flex;
	justify-content: center;
	align-items: center;
}

/* home page css*/





/**/

.bottom-fixed {
	position: fixed;
	bottom: 0;
}

.bottom-nav-icon {
	height: 70px;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 18px;
	cursor: pointer;
	letter-spacing: 1px;
}

.bottom-nav-icon i {
	font-size: 30px;

}


.e-transfer {
	text-align: center;
	margin: auto;
	font-weight: 500;

}

.e-transfer img {
	max-height: 40px;
	width: auto;
}

.e-transfer i {
	font-size: 30px;
	/*color: #415191;*/
}

.bottom-nav-icon:hover {
	color: var(--primary-color);
}

.pad img {
	height: 60px !important;
}

.active-nav {
	background-color: var(--secondary-color);
	color: #ffffff !important;
}

.cause {
	text-align: justify;
}

.copy-btn {
	height: 20px;
	font-size: 13px;
	display: inline-flex;
	align-items: center;
	background-color: black;
	color: white;
	outline: none;
	border: none;
	border-radius: 5px;
}

.copy-btn:active {
	color: black;
	background-color: white;
}

#thankYouMessage {
	display: none;
}

#e-transfer {

	text-align: justify;
}

.donation-btn {
	background-color: var(--primary-color);
	padding: 10px;
	border-radius: 7px;
	font-weight: 500
}

.donation-btn:hover {
	color: #ffffff;
}

.one-time-btn {
	font-weight: bold;
}

.one-time-donation {
	display: none !important;
}

#credit-card {}

/* pad form */
#donor-form {}

.donor-header {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 30px !important;
	font-size: 18px;
	font-weight: 600;
	background-color: var(--secondary-color) !important;
	color: white;
}

.required-field {
	position: absolute;
	top: 0;
	right: 10px;
	font-size: 15px;
	color: red;
}

.donation-particulars {
	display: flex;
	align-items: center;
}

.form-submit-btn {
	border: none;
	color: black;
	font-weight: 600;
	border-radius: 7px;
	width: 50%;
	height: 40px;
}

.form-submit-btn:hover {
	opacity: .6;
	border: solid 1px #CFAE04;
}

.form-submit-btn:active {
	background-color: white !important;
}

#transit-error,
#account-error,
#amount-error,
#type-error,
#frequency-error,
#terms-error {
	font-size: 10px;
	color: darkred;
	margin-top: 6px;
}

#clear {
	margin-top: 15px;
	margin-bottom: 15px;
	z-index: 1000 !important;
	position: absolute;
	top: 0;
	right: 25px;
	border: 1px solid grey;
	padding: 5px;
	border-radius: 5px;
	cursor: pointer;
}

#clear:hover {
	box-shadow: 0 0 15px #e7e7e7;
	font-weight: 600;
}

.terms {
	color: darkblue;
	cursor: pointer;
}

#terms {
	cursor: pointer;
}

.terms-conditions-container {

	display: none;
}

.terms-conditions {
	background-color: white;
	width: 100%;
	padding: 10px;
	border-radius: 7px;
}

.terms-conditions {
	text-align: justify;
}

/*pad form ends here */
.spacer {
	margin-bottom: 250px;
}

.spacer-top {
	margin-top: 200px;
}

.contact-text {
	font-size: 13px !important;
}

.invalid-field {
	border-color: red;
	border-width: 1px;
}

.invalid-field:focus {
	border-color: red;
	box-shadow: 0 0 3px 1px red;
}

.valid-field {
	border-color: #07A900;
	border-width: 1px;
}

/*  email css*/
#email-pdf {
	width: 93%;
	height: auto;
	display: flex;
	justify-content: center;
}

.inside-pdf {
	width: 100%;
}

.email-logo {
	justify-content: flex-end;
}

.email-logo img {
	width: auto;
	height: 100px;
}

#signature-img {
	width: auto;
	height: 50px;
}

/* progress spinner*/
.spinner-container {

	height: 100vh;
	width: 100vw;
	justify-content: center;
	align-items: center;
	position: absolute;
	top: 0;
	background-color: white;
	z-index: 10000;
	opacity: .9;
	display: none;


}

.spinner {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	border: 5px solid #0E0356;
	border-top-color: var(--primary-color);
	border-bottom-color: var(--primary-color);
	animation: spin 1.5s linear infinite;
}

.t-border {
	background-color: #EDC100;
	height: 7px;
	width: 100%;

}

.contact-us-header {
	font-size: 20px !important;
	display: flex;
	justify-content: center;
	align-items: center;
	height: 50px;
}

.contact-us-header .h1 {
	font-size: 20px !important;
}

.contact-card {
	background-color: var(--secondary-color);
	padding: 40px;
	display: flex;
	align-items: center;
	justify-content: center;

}

.contact-circle {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background-color: white;
}

.contact-circle:hover {
	background-color: var(--primary-color);
	cursor: pointer;
}

.contact-circle i {
	font-size: 30px;
}

.contact-row {
	display: flex;
	align-items: center;
}

.contact-details {
	color: #ffffff !important;
	font-weight: 600;
}

.message-row {
	height: 50px;
	display: flex;
	align-items: center;
	border-bottom: solid 1px;
}

.navigator {
	height: auto;
	box-shadow: 0 0 15px #e7e7e7;
	position: fixed;
	top: 0;
	box-sizing: border-box;
	z-index: 1000;
	background-color: #ffffff;
}

.first-row {
	position: relative;
	height: 50%;
	text-align: center;
}

.logo-image img {

	height: 80px;
	left: 50%;

}

.second-row {
	width: 100%;
	height: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	padding-bottom: 10px;
	padding-top: 10px;
	padding-left: 0;
	padding-right: 0;
	background-color: var(--primary-color)
}

.nav-menu {
	padding: 20px;
	width: 150px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-transform: uppercase;
	font-weight: 600;
	font-size: 13px;
	letter-spacing: 2px;
	box-sizing: border-box;

}

.nav-menu:nth-child(3) {
	background-color: var(--secondary-color);
	color: white;

}

.nav-menu:hover {
	/*border-bottom: solid 4px var(--secondary-color);*/
	color: inherit;
	font-weight: 600;
	transform: scale(1.05);
}

.nav-menu:nth-child(3):hover {
	color: white;
}

.nav-list {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	position: relative;
}

.nav-list i {
	font-size: 30px;
	cursor: pointer;
	display: none;
}

.donate-now-button {
	height: 40px;
	width: auto;
	justify-content: center;
	align-items: center;
	background-color: var(--primary-color);
	padding: 10px;
	color: var(--secondary-color);
	text-transform: uppercase;
	font-weight: 600;
	letter-spacing: 1px;
	border-radius: 7px;
	display: none;
	justify-content: center;
	align-items: center;


}

.donate-now-button:hover,
.donate-now-button a:hover {
	color: #ffffff;
	background-color: var(--secondary-color);
}

@media only screen and (max-width: 705px) {
	.nav-menu {
		font-size: 10px;
	}
}

@media only screen and (max-width: 621px) {
	.donate-now-button {
		display: flex;
		font-size: 8px;
		height: 25px;

	}
}

.main-body {
	margin-top: 200px;
	height: 300px;
	margin-bottom: 30px;
	overflow-x: hidden;
}

/*
.hero-image{
	max-height: auto;
	width: 100%;
	overflow: auto;
	white-space: nowrap;
}
.hero-image img{
	width: 100%;
	display: inline-block;
	margin-right: 10px;
	
	
	
}*/

.hero-container {
	width: 100%;
	height: 600px;
	overflow: hidden;
	margin-bottom: 50px;
}

.hero-images {
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
}

.hero-images img {
	height: 100%;
	width: 100%;
	object-fit: cover;
}

.hero-spacer {
	margin-top: 300px;
}

.main-footer {
	background-color: var(--secondary-color);
	color: white;
	width: 100%;
	overflow: hidden;
}

@media only screen and (max-width: 991px) {
	.main-footer {
		position: static;
		margin-top: 100px;
	}
}

.address-markers {
	font-size: 13px;
	display: flex;
	justify-content: flex-start;
	align-items: center;
	padding-left: 10px;
}

.address-markers-r {
	font-size: 13px;
	display: flex;
	justify-content: flex-end;
	align-items: center;
	padding-right: 10px;
}

.address-markers span,
.address-markers-r span {

	padding: 15px;
}

.address-markers i,
.address-markers-r i {
	font-size: 25px;

}

.event-container {
	width: 300px;
	border: none;
	cursor: pointer;
}

.event-header {
	font-size: 16px;
	font-weight: 600;
	background-color: var(--secondary-color);
	color: #ffffff;
}

.event-img-container {
	width: 100%;

}

.event-img-container img {
	width: 100%
}

.event-timing {
	display: flex;
	align-items: center;
	gap: 20px;
}

.event-timing i {
	font-size: 25px;
	color: var(--secondary-color);
}

.event-timing span {
	font-weight: 500;
	color: var(--secondary-color)
}

.event-description {
	box-shadow: 0px 0px 15px 5px #e7e7e7;
	padding: 15px;
	border-radius: 5px;
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}

/*email css ends here*/

@media screen and (max-width: 991px) {
	.contact-card {
		justify-content: flex-start;
	}

}

@media screen and (max-width: 767px) {
	.form-submit-btn {
		width: 100%;
	}

	.e-transfer {
		font-size: 14px;
	}

	.contact-card {
		padding: inherit;
	}

	.event-container {
		width: 100%;
	}

}

@media screen and (max-width: 620px) {
	.navigator {
		padding: 0px;
	}

	.logo-image img {
		height: 50px;
	}

	.nav-list i {
		display: block;
	}

	.second-row {
		display: none;
		height: 100%;
		width: 100%;
		background-color: var(--secondary-color);
		padding: 0 !important;
	}

	.nav-menu,
	.nav-menu:nth-child(3) {
		color: white;
		justify-content: flex-start;
		padding: 30px;
		width: 100%;
		border: 0px;
	}

	.nav-menu:hover,
	.nav-menu:nth-child(3):hover {
		border: none;
		background-color: var(--primary-color);
		border-radius: 0px;
		color: var(--secondary-color);
	}

	.spacer-top {
		margin-top: 125px;
	}

}

@media screen and (max-width: 576px) {

	.email-text,
	.copy-btn {
		font-size: 12px !important;
	}

	.form-submit-btn {
		width: 100%;
	}

	.e-transfer {
		font-size: 11px;
	}

	.logo img {
		height: 50px;
	}

	.nav-name h6 {
		font-size: 13px !important;
	}

	.e-transfer i {
		font-size: 25px;
	}

	.bottom-nav-icon {
		text-transform: none;
	}

	.nav-text {
		font-size: 9px;
	}

	.bottom-nav-icon:hover .nav-text {
		display: block;
	}

	.contact-card {
		padding: 0;
	}

	.contact-details {
		font-size: 12px;
	}

	.main-body {
		margin-top: 60px;
	}

	.img-1 {
		display: none;
	}

	.img-2 {
		display: block;
	}
}

/* Reduce spacer above content for small screens */
@media (max-width: 767px) {
    .spacer { margin-bottom: 24px; }
}

@media (max-width: 576px) {
    .spacer { margin-bottom: 16px; }
    .main-body { margin-top: 50px; }
}

/* FullCalendar custom event rendering tweaks */
.fc-custom-event { display:block; }
.fc-custom-event .fc-event-time { font-size: 0.85rem; color: #6c757d; margin-bottom:2px; }
.fc-custom-event .fc-event-title { font-weight:500; font-size:0.8rem; line-height:1.2; word-break:break-word; }

/* Prevent event titles from overflowing into adjacent day cells */
.fc .fc-daygrid-event, .fc .fc-daygrid-event-harness { overflow: hidden; }
.fc .fc-daygrid-event .fc-event-main-frame,
.fc .fc-daygrid-event .fc-event-title,
.fc .fc-daygrid-event .fc-event-title-container {
	white-space: normal !important;
	word-break: break-word !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
}
/* limit event title to maximum of 2 lines (webkit browsers) to avoid overlapping cells */
.fc .fc-daygrid-event .fc-event-title {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	line-height: 1.15em;
	max-height: 2.4em; /* approx 2 lines */
	font-weight:500;
	font-size:0.8rem;
}

/* also apply to list view titles */
.fc .fc-list-event-title { font-weight:500; font-size:0.8rem; }
/* ensure z-index doesn't cause events to float over neighboring cells */
.fc .fc-daygrid-event { position: relative; z-index: 1; }

/* Public event modal image sizing */
.public-event-image { max-width: 100%; height: auto; max-height: 220px; display: block; margin-left: auto; margin-right: auto; border-radius: 6px; }

@media (max-width: 576px) {
    .fc-custom-event .fc-event-title { font-size: 0.95rem; }
    .public-event-image { max-height: 160px; }
}

/* share buttons in modal */
.share-btns { display:flex; gap:6px; align-items:center; }
.share-btn { width:36px; height:36px; padding:0; font-size:0.95rem; display:flex; align-items:center; justify-content:center; border-radius:6px; }
.share-btn i { font-size:1.05rem; line-height:1; }
.share-btn.share-fb { background:#1877f2; color:#fff; border-color:#1877f2; }
.share-btn.share-tw { background:#1da1f2; color:#fff; border-color:#1da1f2; }
.share-btn.share-wa { background:#25D366; color:#fff; border-color:#25D366; }
.share-btn.share-native { background:#6c757d; color:#fff; border-color:#6c757d; }
.share-btn.share-copy { background:#f8f9fa; color:#000; border-color:#ced4da; }

/*new donation page*/

.donation-type-container {
	padding: 10px;
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100px;
	width: 100%;
	border-radius: 7px;
	box-shadow: 0 0 10px 1.8px #dadada;
}

.donation-type-container:hover,
.donation-type-container a:hover {
	background-color: var(--secondary-color);
	color: #ffffff;
}

.donation-type-container a {
	height: 100%;
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
}

.donation-type-container a i {
	font-size: 30px;
}

/* Admin Hukamnama sidebar styles */
.add-hukamnama-mobile-nav{
	display: none;
	position: fixed;
	top: 10px;
	left: 0; /* flush to the viewport edge for mobile toggler */
	z-index: 11000;
	/* reduce left padding so the hamburger is closer to the viewport edge */
	padding-left: 6px; /* was 12px */
}

.hukamnama-nav-container{
	position: fixed;
	left: 0;
	top: 0;
	bottom: 0;
	width: 80px;
	background: #ffffff;
	box-shadow: 2px 0 8px rgba(0,0,0,0.08);
	z-index: 1050;
	display: block;
	padding-top: 20px;
	/* allow vertical scrolling but permit horizontal overflow for popup menus */
	overflow-y: auto;
	overflow-x: visible;
}

.hukamnama-logo{
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 10px 0;
}
.hukamnama-logo img{
	max-width: 60px;
	height: auto;
	display: block;
}

.hukamnama-navs{
	display: flex;
	justify-content: center;
	align-items: center;
	height: 70px;
	cursor: pointer;
	position: relative;
	overflow: visible; /* ensure popup isn't clipped */
}

.hukamnama-navs i{
	font-size: 24px;
	color: var(--secondary-color);
}

.side-bar-popup-menu{
	position: absolute;
	left: calc(100% + 6px); /* next to sidebar item */
	top: 0;
	min-width: 240px;
	background: #fff;
	border-radius: 6px;
	box-shadow: 0 6px 18px rgba(0,0,0,0.12);
	display: none;
	z-index: 2000;
	pointer-events: auto;
}

.hukamnama-navs:hover .side-bar-popup-menu,
.hukamnama-navs:focus .side-bar-popup-menu{
	display: block;
}

.popup-menu{
	padding: 10px 14px;
	border-bottom: 1px solid #f2f2f2;
}
.popup-menu a{
	color: #222;
	display: block;
}

.hukamnama-navs.bottom-nav{
	margin-top: auto;
	padding-bottom: 20px;
}

/* Responsive behavior */
@media (max-width: 1150px){
	.hukamnama-nav-container{ display: none; }
	.add-hukamnama-mobile-nav{ display: flex; }
	/* offset main card when sidebar hidden */
	.hukamnama-card{ margin-top: 80px; }
}

@media (min-width: 1151px){
	.add-hukamnama-mobile-nav{ display: none; }
	.hukamnama-card{ margin-top: 0; }
}

/* Compact FullCalendar on very small screens */
@media (max-width: 767px) {
	/* reduce toolbar title size and button paddings */
	.fc .fc-toolbar-title { font-size: 1.05rem; }
	.fc .fc-toolbar .fc-button { padding: .25rem .45rem; font-size: .85rem; }
	/* tighter day cells and event rows */
	.fc .fc-daygrid-day-frame { padding: .25rem .35rem; }
	.fc .fc-event { margin: 2px 0; }
	.fc .fc-daygrid-event .fc-event-main-frame { padding: 3px 6px; }
	.fc .fc-list-event { padding: 6px 8px; }
	.fc .fc-list-event-title { font-size: .95rem; }
	.fc .fc-timegrid-slot { padding: 0; }
	/* make the calendar container more compact */
	#public-events-calendar { padding: 6px; }
}

/* Slightly compact calendar for small tablets */
@media (min-width: 768px) and (max-width: 991px) {
	.fc .fc-toolbar-title { font-size: 1.15rem; }
	.fc .fc-toolbar .fc-button { padding: .35rem .6rem; font-size: .9rem; }
	.fc .fc-daygrid-event .fc-event-main-frame { padding: 5px 8px; }
}

/* Further reduce month/year title on very small screens and prevent wrapping */
@media (max-width: 576px) {
	.fc .fc-toolbar { gap: 6px; position: relative; }
	/* absolutely center the title so it's visually centered between arrows and buttons and doesn't get squeezed */
	.fc .fc-toolbar-title { position: absolute; left: 50%; transform: translateX(-50%); font-size: 0.8rem !important; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 60%; display: inline-block; vertical-align: middle; text-align: center; }
	.fc .fc-toolbar .fc-button { padding: .18rem .36rem; font-size: .78rem; margin: 0 2px; }
	/* reduce right toolbar chunk spacing so buttons sit closer to title */
	.fc .fc-toolbar-chunk:last-child { margin-left: 6px; }
}

/* Square button helper for compact toolbar buttons */
.square-btn{
	width:40px;
	height:40px;
	padding:0.25rem 0;
	display:inline-flex;
	align-items:center;
	justify-content:center;
	border-radius:6px;
}

/* Pagination theming: use site theme colors for pagination controls */
.pagination .page-link {
	color: var(--secondary-color);
	border-color: rgba(0,0,0,0.08);
}
.pagination .page-link:hover {
	background-color: var(--primary-color);
	color: #fff;
	border-color: var(--primary-color);
}
.pagination .page-item.active .page-link,
.pagination .page-item.active .page-link:focus,
.pagination .page-item.active .page-link:hover {
	background-color: var(--secondary-color);
	border-color: var(--secondary-color);
	color: #fff;
}
.pagination.pagination-sm .page-link { padding: .25rem .5rem; }

/* Toasts: ensure they appear above all UI layers (navigation, sidebars, modals) */
#toastContainer {
	position: fixed !important;
	right: 12px !important;
	bottom: 12px !important;
	z-index: 12000 !important; /* above .navigation (10000) and sidebar (1050) */
	pointer-events: none; /* allow clicks to pass through except for the toast itself */
	max-width: 360px;
}

#toastContainer .toast {
	pointer-events: auto; /* allow interacting with individual toast (close button) */
}

