/* ============================================
   Vikas Jyoti – Fully Responsive Styles
   Logo + hamburger same row | Desktop red hover nav
   ============================================ */

*, *::before, *::after {
	box-sizing: border-box;
}

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

html {
	overflow-x: hidden;
	-webkit-text-size-adjust: 100%;
}

body {
	overflow-x: hidden !important;
	overflow-y: auto !important;
	min-width: 0;
}

.wrapper,
.wrapper2 {
	width: 100% !important;
	max-width: 990px;
	padding-left: 15px;
	padding-right: 15px;
	margin-left: auto;
	margin-right: auto;
	box-sizing: border-box;
}

.content {
	width: 100%;
	overflow: hidden;
}

/* ========== TOP BAR ========== */
#topbar {
	background: #e6f2d6;
	padding: 10px 0;
	position: relative;
	z-index: 100;
}

.topbar-inner {
	display: flex !important;
	align-items: center;
	justify-content: space-between;
	flex-wrap: nowrap;
	gap: 10px;
	float: none !important;
	width: 100% !important;
	max-width: 990px;
}

.topbar-left {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
	float: none !important;
	width: auto !important;
	margin: 0 !important;
}

.logo-link {
	display: block;
	line-height: 0;
}

.site-logo {
	max-height: 72px;
	width: auto;
	display: block;
}

.topbar-center {
	flex: 1 1 auto;
	text-align: center;
	min-width: 0;
}

.site-title-link {
	text-decoration: none;
	display: inline-block;
	line-height: 1.1;
}

.site-title {
	display: block;
	font-family: "Times New Roman", Georgia, serif;
	font-size: 42px;
	font-weight: 700;
	color: #c41e1e;
	letter-spacing: 1px;
	text-transform: uppercase;
	line-height: 1;
}

.site-regd {
	display: block;
	font-size: 12px;
	color: #c41e1e;
	text-align: right;
	font-style: italic;
	margin-top: 2px;
	padding-right: 4px;
}

.topbar-right {
	flex-shrink: 0;
	float: none !important;
	width: auto !important;
	height: auto !important;
}

.social {
	display: flex;
	align-items: center;
	gap: 6px;
}

.social a {
	display: inline-block;
	margin: 0;
	line-height: 0;
}

.social a img {
	width: 38px;
	height: 38px;
	object-fit: contain;
	vertical-align: middle;
	border-radius: 50%;
}

.social a img.ig-icon {
	width: 40px;
	height: 40px;
}

/* ========== HAMBURGER ========== */
.nav-toggle {
	display: none; /* shown only on mobile */
	background: #516FAC;
	border: none;
	border-radius: 8px;
	width: 44px;
	height: 44px;
	cursor: pointer;
	padding: 0;
	align-items: center;
	justify-content: center;
	z-index: 1200;
	position: relative;
	flex-shrink: 0;
	transition: background 0.25s ease;
}

.nav-toggle:hover,
.nav-toggle:focus {
	background: #3d5585;
	outline: none;
}

.hamburger-box {
	width: 22px;
	height: 16px;
	display: inline-block;
	position: relative;
}

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
	display: block;
	width: 22px;
	height: 2.5px;
	background: #fff;
	border-radius: 2px;
	position: absolute;
	transition: transform 0.3s ease, opacity 0.3s ease, top 0.3s ease;
}

.hamburger-inner {
	top: 50%;
	margin-top: -1.25px;
}

.hamburger-inner::before {
	content: "";
	top: -7px;
}

.hamburger-inner::after {
	content: "";
	top: 7px;
}

body.nav-open .hamburger-inner {
	background: transparent;
}

body.nav-open .hamburger-inner::before {
	top: 0;
	transform: rotate(45deg);
}

body.nav-open .hamburger-inner::after {
	top: 0;
	transform: rotate(-45deg);
}

/* ========== DESKTOP NAV – original style, RED hover/selected ========== */
#navbar.desktop-nav {
	background-color: #516FAC;
	height: auto;
	min-height: 48px;
	padding: 0;
	display: block;
}

#navbar .wrapper {
	padding-top: 0;
	padding-bottom: 0;
}

.main-nav {
	list-style: none;
	margin: 0;
	padding: 6px 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 2px;
}

.main-nav li {
	display: inline-block;
	position: relative;
	text-transform: uppercase;
	font-size: 13px;
	font-weight: 600;
	padding: 0;
	margin: 0;
}

.main-nav li a {
	color: #FFF !important;
	display: inline-block;
	padding: 10px 14px;
	border-radius: 8px;
	text-decoration: none !important;
	transition: background 0.2s ease, color 0.2s ease;
	background: transparent;
}

/* RED background on hover + selected – same as live site */
.main-nav li:hover a,
.main-nav li.selected a {
	background: #c41e1e !important;
	color: #fff !important;
}

/* ========== MOBILE FLOATING NAV ========== */
.nav-overlay {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(0,0,0,0.45);
	z-index: 1090;
	opacity: 0;
	transition: opacity 0.3s ease;
}

body.nav-open .nav-overlay {
	display: block;
	opacity: 1;
}

.mobile-nav-panel {
	position: fixed;
	top: 0;
	left: 0;
	width: 300px;
	max-width: 85vw;
	height: 100%;
	background: #fff;
	z-index: 1100;
	transform: translateX(-105%);
	transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
	box-shadow: 4px 0 24px rgba(0,0,0,0.18);
	display: flex;
	flex-direction: column;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}

body.nav-open .mobile-nav-panel {
	transform: translateX(0);
}

.mobile-nav-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 18px;
	background: #516FAC;
	color: #fff;
	flex-shrink: 0;
}

.mobile-nav-title {
	font-size: 18px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.nav-close {
	background: transparent;
	border: none;
	color: #fff;
	font-size: 32px;
	line-height: 1;
	cursor: pointer;
	padding: 0 4px;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 6px;
}

.nav-close:hover {
	background: rgba(255,255,255,0.15);
}

.mobile-nav-list {
	list-style: none;
	margin: 0;
	padding: 12px 0;
	flex: 1;
}

.mobile-nav-list li {
	border-bottom: 1px solid #eee;
}

.mobile-nav-list li a {
	display: block;
	padding: 14px 22px;
	color: #333;
	font-size: 15px;
	font-weight: 600;
	text-transform: uppercase;
	text-decoration: none;
	transition: background 0.2s, color 0.2s;
}

.mobile-nav-list li a:hover,
.mobile-nav-list li.selected a {
	background: #c41e1e;
	color: #fff;
}

.mobile-nav-social {
	padding: 18px;
	display: flex;
	justify-content: center;
	gap: 14px;
	border-top: 1px solid #eee;
	flex-shrink: 0;
}

.mobile-nav-social img {
	width: 40px;
	height: 40px;
	object-fit: contain;
	border-radius: 50%;
}

.mobile-nav-social img.ig-icon {
	width: 44px;
	height: 44px;
}

/* ========== SLIDER ========== */
#slider-wrap {
	background: #fff;
	padding: 0 0 10px;
}

#slider-wrap .lslider,
#galleria {
	width: 100% !important;
	max-width: 990px;
	margin: 0 auto;
}

#galleria .images {
	position: relative;
	height: auto !important;
	aspect-ratio: 990 / 380;
	max-height: 380px;
	border: 5px groove #FFFFFF;
	overflow: hidden;
}

#galleria .images img,
#galleria .images a img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
	max-width: 100%;
}

#galleria .controls {
	text-align: center;
	height: 35px;
}

/* ========== CONTENT LAYOUT ========== */
.page-layout {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	width: 100%;
}

.page-main {
	flex: 1 1 0;
	min-width: 0;
	width: auto !important;
	max-width: 100%;
}

.page-sidebar {
	flex: 0 0 275px;
	width: auto !important;
	max-width: 100%;
	padding: 0 !important;
	margin-top: 0 !important;
}

.page-full {
	width: 100% !important;
	max-width: 100%;
	float: none !important;
}

#cols.fadedGreen .wrapper {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 16px;
}

#cols .col {
	float: none !important;
	width: calc(25% - 16px) !important;
	margin: 0 !important;
	min-width: 200px;
	flex: 1 1 200px;
}

#cols .col img {
	width: 100%;
	height: auto;
	object-fit: cover;
}

.qr-box {
	text-align: center;
	margin: 24px 0;
	padding: 20px;
	background: #f7faf2;
	border: 2px solid #84bd30;
	border-radius: 12px;
}

.qr-box h3 {
	color: #339963;
	margin-bottom: 12px;
	font-size: 16px;
	text-transform: uppercase;
}

.qr-box img {
	max-width: 220px;
	width: 100%;
	height: auto;
	display: block;
	margin: 0 auto 10px;
	border-radius: 8px;
}

.qr-box p {
	font-size: 13px;
	color: #555;
	margin: 0;
	padding: 0;
}

#DIV_1 {
	width: 100% !important;
	max-width: 100%;
	box-sizing: border-box;
	height: auto !important;
	min-height: 0;
	padding: 10px !important;
}

#DIV_1 input,
#DIV_1 textarea,
#DIV_1 button,
#DIV_1 select {
	width: 100% !important;
	max-width: 100%;
	box-sizing: border-box;
	height: auto !important;
	min-height: 36px;
}

#DIV_1 button,
#DIV_1 input[type="submit"] {
	width: 100% !important;
	max-width: 100%;
	float: none !important;
	margin: 8px 0 0 !important;
	cursor: pointer;
}

.donate-banners {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	width: 100% !important;
	max-width: 100%;
}

.donate-banners a {
	flex: 1 1 140px;
}

.donate-banners img {
	width: 100%;
	max-width: 215px;
	height: auto;
}

#footer {
	padding: 15px 0;
}

#footer .left,
#footer .right {
	float: none !important;
	width: auto !important;
	text-align: center;
	display: block;
	margin: 4px 0;
}

body.nav-open {
	overflow: hidden !important;
}

.achivvs table {
	width: 100% !important;
	max-width: 100%;
	border-collapse: collapse;
}
.achivvs table tr {
	float: none !important;
	display: flex;
	flex-wrap: wrap;
	width: 100%;
	margin-bottom: 12px;
	border: 1px solid #00FFFF;
}
.achivvs table tr td {
	width: auto !important;
	flex: 1 1 200px;
	padding: 10px !important;
}

.page-sidebar img {
	max-width: 100%;
	height: auto;
	width: 100%;
	display: block;
	margin-bottom: 10px;
}

/* ============================================
   MEDIA QUERIES
   ============================================ */

/* Tablet and below */
@media screen and (max-width: 991px) {
	.site-logo {
		max-height: 52px;
	}

	.site-title {
		font-size: 28px;
	}

	.site-regd {
		font-size: 10px;
	}

	.social a img {
		width: 30px;
		height: 30px;
	}

	.social a img.ig-icon {
		width: 32px;
		height: 32px;
	}

	/* Show hamburger in same row as logo */
	.nav-toggle {
		display: flex;
	}

	/* Hide desktop nav bar on tablet/mobile */
	#navbar.desktop-nav {
		display: none !important;
	}

	.content .left,
	.content .right,
	.page-main,
	.page-sidebar {
		float: none !important;
		width: 100% !important;
		max-width: 100% !important;
		margin: 0 0 20px 0 !important;
		padding: 0 !important;
	}

	.page-layout {
		flex-direction: column;
	}

	.page-sidebar {
		flex: 1 1 auto;
	}

	#cols .col {
		width: calc(50% - 12px) !important;
		flex: 1 1 calc(50% - 12px);
	}

	#galleria .images {
		max-height: 280px;
		border-width: 3px;
	}

	h1 {
		font-size: 18px;
		padding-bottom: 12px;
	}

	h2, p.title {
		font-size: 16px;
	}
}

/* Mobile phones */
@media screen and (max-width: 600px) {
	#topbar {
		padding: 8px 0;
	}

	.topbar-inner {
		gap: 8px;
	}

	.site-logo {
		max-height: 40px;
	}

	.site-title {
		font-size: 22px;
	}

	.site-regd {
		font-size: 9px;
	}

	/* Hide social on very small – available in mobile menu */
	.topbar-right.social-wrap {
		display: none;
	}

	.nav-toggle {
		width: 42px;
		height: 42px;
	}

	.wrapper,
	.wrapper2 {
		padding-left: 12px;
		padding-right: 12px;
	}

	#cols .col {
		width: 100% !important;
		flex: 1 1 100%;
		margin-bottom: 16px !important;
	}

	#galleria .images {
		max-height: 200px;
		aspect-ratio: 16 / 9;
	}

	.mobile-nav-panel {
		width: 280px;
	}

	.qr-box img {
		max-width: 180px;
	}

	.content img[width="220"],
	.content img[width="150"] {
		width: 100% !important;
		max-width: 100%;
		float: none !important;
		display: block;
		margin: 0 0 12px 0 !important;
	}

	.achivvs table tr {
		flex-direction: column;
	}
	.achivvs table tr td {
		width: 100% !important;
	}
	.achivvs table tr td img {
		width: 100px !important;
	}
}

@media screen and (max-width: 380px) {
	.site-logo {
		max-height: 38px;
	}

	.site-title {
		font-size: 18px;
	}

	.mobile-nav-panel {
		width: 100%;
		max-width: 100%;
	}

	h1 {
		font-size: 16px;
	}
}

@media screen and (max-width: 991px) {
	#header,
	.lslider,
	#galleria,
	.content,
	.fadedGreen {
		width: 100% !important;
		max-width: 100% !important;
		height: auto !important;
		overflow: hidden;
	}
}
