	:root {
		--primary-color: #7E1726;
		--secondary-color: #902A04;
		--accent-color: #007bff;
		--text-dark: #333;
		--text-light: #f8f9fa;
		--bg-light: #ffffff;
		--bg-off-white: #ebebeb;
		--border-color: #e0e0e0;
		--shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
		--border-radius: 12px;
	}


	.section-padding {
		padding: 40px 0;
	}

	.section-title {
		text-align: center;
		margin-bottom: 30px;
		font-size: 2rem;
		font-weight: 600;
		position: relative;
		padding-bottom: 10px;
	}

	.section-title::after {
		content: '';
		position: absolute;
		bottom: 0;
		left: 50%;
		transform: translateX(-50%);
		width: 80px;
		height: 4px;
		background-color: var(--primary-color);
		border-radius: 2px;
	}


	/* --- HEADER SLIDER --- */
	.item {
		display: flex;
		align-items: center;
		justify-content: center;
		height: 60vh;
		background-color: #f0f0f0;
		overflow: hidden;
	}

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

	@media (max-width: 767.98px) {
		.item {
			height: 40vh;
		}
	}

	/* --- EVENT TICKER --- */
	.event-ticker {
		background-color: var(--primary-color);
		color: var(--text-light);
		padding: 12px 20px;
		border-radius: var(--border-radius);
		display: flex;
		align-items: center;
		overflow: hidden;
		margin-top: 20px;
		box-shadow: var(--shadow);
	}

	.event-ticker .label {
		font-weight: 700;
		padding-right: 15px;
		white-space: nowrap;
		animation: flash 1.5s ease-in-out infinite;
	}

	.marquee {
		flex-grow: 1;
		white-space: nowrap;
		overflow: hidden;
	}

	.marquee-content {
		display: inline-block;
		padding-left: 100%;
		animation: scroll-left 25s linear infinite;
	}

	.marquee:hover .marquee-content {
		animation-play-state: paused;
	}

	@keyframes scroll-left {
		0% {
			transform: translateX(0%);
		}

		100% {
			transform: translateX(-100%);
		}
	}

	@keyframes flash {

		0%,
		100% {
			opacity: 1;
		}

		50% {
			opacity: 0.7;
		}
	}

	.intro-section {
		display: flex;
		gap: 30px;
		flex-wrap: wrap;
	}

	.intro-content {
		flex: 2;
		min-width: 300px;
		text-align: justify;
	}

	.intro-sidebar {
		flex: 1;
		min-width: 300px;
	}

	.intro-content h4,
	.intro-sidebar h4 {
		font-size: 1.5rem;
		margin-bottom: 15px;
		color: var(--secondary-color);
	}

	.intro-text {
		line-height: 1.7;
	}

	.tab-container {
		background: var(--bg-light);
		border-radius: var(--border-radius);
		box-shadow: var(--shadow);
		overflow: hidden;
	}

	.tab-buttons {
		display: flex;
		background: #f1f1f1;
	}

	.tab-btn {
		flex: 1;
		padding: 15px;
		border: none;
		background: transparent;
		cursor: pointer;
		font-size: 1.5rem;
		font-weight: 500;
		transition: all 0.3s ease;
		border-bottom: 3px solid transparent;
	}

	.tab-btn.active {
		background: #b9b9b9;
		color: var(--primary-color);
		border-bottom-color: var(--primary-color);
	}

	.tab-content {
		display: none;
		padding: 15px;
		height: 400px;
		overflow-y: auto;
		animation: fadeIn 0.5s;
	}

	.tab-content.active {
		display: block;
	}

	@keyframes fadeIn {
		from {
			opacity: 0;
		}

		to {
			opacity: 1;
		}
	}

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

	.scroll-item a {
		display: block;
		padding: 12px 15px;
		background: var(--bg-off-white);
		margin-bottom: 10px;
		border-radius: 8px;
		color: var(--text-dark);
		text-decoration: none;
		border-left: 5px solid var(--accent-color);
		transition: all 0.3s ease;
	}

	.scroll-item a:hover {
		background-color: #eaf4ff;
		transform: translateX(5px);
		box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	}

	.scroll-item img {
		vertical-align: middle;
		margin-right: 5px;
	}

	.calendar-section {
		display: flex;
		gap: 30px;
		flex-wrap: wrap;
	}

	.calendar-main {
		flex: 3;
		min-width: 300px;
	}

	.important-links {
		flex: 1;
		min-width: 280px;
	}


	.custom-badge {
		display: inline-block;
		padding: 5px 12px;
		font-size: 12px;
		border-radius: 15px;
		color: white;
		margin: 5px 5px 5px 0;
	}

	.custom-badge.danger {
		background-color: #dc3545;
	}

	.custom-badge.primary {
		background-color: #0d6efd;
	}

	.custom-badge.success {
		background-color: #198754;
	}

	.custom-modal {
		display: none;
		position: fixed;
		z-index: 1050;
		left: 0;
		top: 0;
		width: 100%;
		height: 100%;
		overflow: auto;
		background-color: rgba(0, 0, 0, 0.6);
	}

	.custom-modal-content {
		background-color: #fff;
		margin: 15% auto;
		padding: 25px;
		border-radius: var(--border-radius);
		width: 90%;
		max-width: 500px;
		box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
		position: relative;
	}

	.custom-modal-close {
		position: absolute;
		top: 10px;
		right: 20px;
		color: #aaa;
		font-size: 28px;
		font-weight: bold;
		cursor: pointer;
	}

	#courtList .btn {
		margin-bottom: 10px;
		width: 100%;
	}

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

	.links-list li a {
		display: flex;
		align-items: center;
		padding: 15px;
		margin-bottom: 12px;
		background: var(--bg-light);
		color: var(--text-dark);
		text-decoration: none;
		border-radius: var(--border-radius);
		box-shadow: var(--shadow);
		transition: all 0.3s ease;
		font-weight: 500;
	}

	.links-list li a:hover {
		transform: translateY(-3px);
		background-color: var(--primary-color);
		color: var(--text-light);
	}

	.links-list li a i {
		margin-right: 15px;
		font-size: 1.2rem;
		color: var(--primary-color);
		transition: color 0.3s ease;
	}

	.links-list li a:hover i {
		color: var(--text-light);
	}


	.custom-slider-wrapper {
		position: relative;
		width: 100%;
		padding: 0 40px;
	}

	.custom-slider {
		display: flex;
		overflow-x: auto;
		scroll-behavior: smooth;
		padding-bottom: 20px;
		gap: 95px;
		scrollbar-width: none;
	}

	.custom-slider::-webkit-scrollbar {
		display: none;
	}

	.card-member {
		flex: 0 0 220px;
		background: var(--bg-light);
		border-radius: var(--border-radius);
		padding: 20px;
		text-align: center;
		cursor: pointer;
		box-shadow: var(--shadow);
		transition: transform 0.3s ease, box-shadow 0.3s ease;
		border: 1px dotted #FF9800;
	}

	.card-member:hover {
		transform: translateY(-8px);
		box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
	}

	.card-member img {
		width: 180px;
		padding: 5px;
		height: auto;
		border-radius: 14%;
		margin-bottom: 14px;
		border: 1px solid var(--border-color);
	}

	.card-member h3 {
		font-size: 1.7rem;
		font-weight: 600;
		margin: 0 0 5px 0;
	}

	.card-member p {
		font-size: 1.2rem;
		color: #666;
		margin: 0;
	}

	.slider-btn {
		position: absolute;
		top: 50%;
		transform: translateY(-50%);
		background: rgba(0, 0, 0, 0.5);
		color: white;
		border: none;
		width: 40px;
		height: 40px;
		border-radius: 50%;
		cursor: pointer;
		font-size: 20px;
		z-index: 10;
		display: flex;
		align-items: center;
		justify-content: center;
	}

	.slider-btn.left {
		left: -10px;
	}

	.slider-btn.right {
		right: -10px;
	}

	#top-nav-box {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		gap: 25px;
		background-color: #ebebeb;
	}

	.case-box {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		width: 160px;
		height: 140px;
		text-align: center;
		text-decoration: none;
		background-color: #fff;
		border-radius: var(--border-radius);
		box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
		transition: all 0.3s ease;
		color: var(--text-dark);
		border: 1px solid var(--border-color);
	}

	.case-box:hover {
		transform: translateY(-5px);
		box-shadow: var(--shadow);
		background-color: var(--primary-color);
		color: var(--text-light);
	}

	.case-box i {
		font-size: 32px;
		color: var(--primary-color);
		margin-bottom: 15px;
		transition: color 0.3s ease;
	}

	.case-box:hover i {
		color: var(--text-light);
	}

	.case-box h5 {
		font-size: 1.5rem;
		font-weight: 500;
		margin: 0;
		transition: color 0.3s ease;
	}

	.case-box:hover h5 {
		color: var(--text-light);
	}


	.members-layout-wrapper {
		display: flex;
		align-items: center;
		gap: 30px;
	}


	.members-layout-wrapper .main-justice-card {
		flex: 0 0 250px;
		border: 2px solid #c0a16b;
		box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
	}

	.members-layout-wrapper .custom-slider-wrapper {
		flex: 1;
		min-width: 0;
	}

	@media (max-width: 991.98px) {
		.members-layout-wrapper {
			flex-direction: column;
			align-items: center;
		}

		.members-layout-wrapper .main-justice-card {
			margin-bottom: 30px;
			width: 100%;
			max-width: 300px;
		}

		.members-layout-wrapper .custom-slider-wrapper {
			width: 100%;
		}
	}

	.fc .fc-toolbar.fc-header-toolbar {
		background-color: #333a40;
		color: white;
		padding: 0px;
		border-radius: 5px 5px 0 0;
		margin-bottom: 0px !important;
	}

	.fc .fc-toolbar-title {
		font-size: 1.5em;
	}

	.fc .fc-button,
	.fc .fc-button:hover {
		background-color: #8b4513 !important;
		border: none !important;
		box-shadow: none !important;
	}

	.fc .fc-col-header-cell {
		background-color: #b0a17f;
		color: white;
		font-weight: bold;
		text-transform: uppercase;
	}

	.fc .holiday-weekend {
		background-color: #d9534f;
	}

	.fc .holiday-gazetted {
		background-color: #0275d8;
	}

	.fc .holiday-court {
		background-color: #5cb85c;
	}

	.fc .fc-daygrid-day-number {
		color: white;
		padding: 5px;
		position: relative;
		z-index: 2;
	}

	.fc-day-today .fc-daygrid-day-number {
		background-color: rgba(0, 0, 0, 0.2);
		border-radius: 50%;
	}

	.cause-list-dot {
		position: absolute;
		bottom: 5px;
		right: 5px;
		width: 10px;
		height: 10px;
		background-color: white;
		border-radius: 50%;
		border: 1px solid #333;
		z-index: 3;
	}


	.calendar-legend {
		display: flex;
		justify-content: center;
		flex-wrap: wrap;
		gap: 20px;
		margin-top: 20px;
		padding: 10px;
		font-family: sans-serif;
		background-color: #ebc98f;
	}

	.legend-item {
		display: flex;
		align-items: center;
		font-size: 14px;
	}

	.legend-item .color-box {
		width: 15px;
		height: 15px;
		display: inline-block;
		margin-right: 8px;
		border-radius: 3px;
	}

	.legend-item .cause-list-dot {
		position: static;
		display: inline-block;
		margin-right: 8px;
	}

	.fc .fc-daygrid-day-number {
		color: white;
		padding: 5px;
		position: relative;
		z-index: 2;
		background: #ad1a1aad;
		border-radius: 2px;
		box-shadow: 1px 1px 4px #400404;
	}

	/*.fc-daygrid-day{
    cursor: pointer;
}*/
	.fc-scrollgrid-sync-inner {
		padding: 8px;
	}


	/* Custom Calendar Header Styling */
	.fc .fc-toolbar.fc-header-toolbar {
		background-color: #333a40;
		color: white;
		padding: 0px;
		border-radius: 5px 5px 0 0;
	}

	.fc .fc-toolbar-title {
		font-size: 1.5em;
	}

	.fc .fc-button,
	.fc .fc-button:hover {
		background-color: #8b4513 !important;
		border: none !important;
		box-shadow: none !important;
	}

	.fc .fc-col-header-cell {
		background-color: #b0a17f;
		color: white;
		font-weight: bold;
		text-transform: uppercase;
	}

	/* Day Cell Background Colors */
	.fc .holiday-weekend {
		background-color: #d9534f;
	}

	.fc .holiday-gazetted {
		background-color: #0275d8;
	}

	.fc .holiday-court {
		background-color: #5cb85c;
	}

	.fc .fc-daygrid-day-number {
		color: white;
		padding: 5px;
		position: relative;
		z-index: 2;
	}

	.fc-day-today .fc-daygrid-day-number {
		background-color: rgba(0, 0, 0, 0.2);
		border-radius: 50%;
	}

	/* NEW: Style for the clickable cause list text */
	.cause-list-link {
		font-size: 11px !important;
		font-weight: bold;
		box-shadow: 1px 1px 5px pink;
		color: #bf0c0c;
		cursor: pointer;
		padding: 4px;
		text-align: center;
		position: absolute;
		bottom: 0;
		left: 0;
		width: 100%;
		background-color: #ffedbb;
		box-sizing: border-box;
		z-index: 3;
		white-space: normal;
	}

	.cause-list-link:hover {
		background-color: #ffe8a8;
	}

	/* Legend Styling */
	.calendar-legend {
		display: flex;
		justify-content: center;
		flex-wrap: wrap;
		gap: 20px;
		margin-top: 20px;
		padding: 10px;
		font-family: sans-serif;
	}

	.legend-item {
		display: flex;
		align-items: center;
		font-size: 14px;
	}

	.legend-item .color-box {
		width: 15px;
		height: 15px;
		display: inline-block;
		margin-right: 8px;
		border-radius: 3px;
	}

	.fc-direction-ltr .fc-daygrid-event.fc-event-start,
	.fc-direction-rtl .fc-daygrid-event.fc-event-end {
		margin-top: 27px;
	}

	.fc-day-today .fc-daygrid-day-number {
		background-color: #e0ab1b;
		border-radius: 50%;
	}


	.fc-theme-standard td,
	.fc-theme-standard th {
		border: 1px solid #999;
	}

	.fc-view-harness .fc-view-harness-active {
		border: 1px solid #999 !important;

	}




	.holiday-court .fc-daygrid-day-number {
		color: #000 !important;
		text-align: center;
		font-family: 'Roboto';
		font-size: 24px;
		font-weight: 800;
		width: 5rem;
		background: #ffffff;
	}

	.fc .fc-daygrid-day-top {
		display: flex;
		flex-direction: row-reverse;
		justify-content: space-around;
		align-items: flex-start;
		flex-wrap: nowrap;
		align-content: space-between;
	}



	.holiday-weekend .fc-daygrid-day-number {
		color: #000 !important;
		text-align: center;
		font-family: 'Roboto';
		font-size: 24px;
		font-weight: 800;
		width: 5rem;
		background: #ffffff;
	}


	.working-court .fc-daygrid-day-number {
		color: #000 !important;
		text-align: center;
		font-family: 'Roboto';
		font-size: 24px;
		font-weight: 800;
		width: 5rem;
		background: #ffffff;
	}

	.holiday-gazetted .fc-daygrid-day-number {
		color: #fff !important;
		text-align: center;
		font-family: 'Roboto';
		font-size: 24px;
		font-weight: 800;
		width: 5rem;
		background: #9B3737;
	}

	.fc .holiday-weekend {
		background-color: #588510 !important;
	}


	.fc .working-court {
		background-color: #fff !important;
	}


	.fc .holiday-court {
		background-color: #dc3545 !important;
	}


	.fc .holiday-gazetted {
		background-color: #000 !important;
	}

	/* Hide only 6th row (extra empty week) */
	.fc-daygrid-body tr:nth-child(6):not(:has(.fc-daygrid-day-events .fc-event)) {
		display: none;
	}

	.fc-h-event {
		border: 0 !important
	}

	.fc-daygrid-day-number {
		border: 1px dotted black;
	}


	.fc-day-today>.fc-daygrid-day-frame>.fc-daygrid-day-top>.fc-daygrid-day-number {
		border: 3px solid red;
	}

	.fc .fc-daygrid-day.fc-day-today {
		background-color: skyblue !important;
	}



	/*slider css*/


	.custom-slider-container {
		position: relative;
		width: 100%;
		height: 75vh;
		max-height: 700px;
		min-height: 450px;
		background-color: #222;
		overflow: hidden;
	}

	.slider-track {
		width: 100%;
		height: 100%;
	}

	.slider-item {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		opacity: 0;
		z-index: 1;
		transition: opacity 1.5s ease-in-out;
	}

	.slider-item.active {
		opacity: 1;
		z-index: 2;
	}

	.slider-item img {
		width: 100%;
		height: 100%;
		object-fit: cover;
		object-position: center center;
	}

	@keyframes panRightEffect {
		from {
			object-position: 0% 50%;
		}

		to {
			object-position: 100% 50%;
		}
	}

	.slider-item.anim-pan-right.active img {
		animation: panRightEffect 20s linear infinite alternate;
	}

	@keyframes panLeftEffect {
		from {
			object-position: 100% 50%;
		}

		to {
			object-position: 0% 50%;
		}
	}

	.slider-item.anim-pan-left.active img {
		animation: panLeftEffect 20s linear infinite alternate;
	}

	@keyframes panDownEffect {
		from {
			object-position: 50% 0%;
		}

		to {
			object-position: 50% 100%;
		}
	}

	.slider-item.anim-pan-down.active img {
		animation: panDownEffect 20s linear infinite alternate;
	}

	@keyframes panUpEffect {
		from {
			object-position: 50% 100%;
		}

		to {
			object-position: 50% 0%;
		}
	}

	.slider-item.anim-pan-up.active img {
		animation: panUpEffect 20s linear infinite alternate;
	}

	@keyframes gentleZoomPan {
		from {
			transform: scale(1);
			object-position: 20% 50%;
		}

		to {
			transform: scale(1.1);
			object-position: 80% 50%;
		}
	}

	.slider-item.anim-gentle-zoom.active img {
		animation: gentleZoomPan 25s linear infinite alternate;
	}


	.slider-nav {
		position: absolute;
		top: 50%;
		z-index: 10;
		transform: translateY(-50%);

		background-color: rgba(255, 22, 0, 0.29);
		border: none;
		color: #e1e1e1;
		font-size: 24px;
		width: 45px;
		height: 45px;
		border-radius: 50%;
		box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
		cursor: pointer;
		display: flex;
		align-items: center;
		justify-content: center;
		transition: all 0.3s ease;
	}

	.slider-nav:hover {
		background-color: rgba(255, 255, 255, 0.93);
		color: #000;
		transform: translateY(-50%) scale(1.1);
	}

	#slider-prev {
		left: 20px;
	}

	#slider-next {
		right: 20px;
	}


	@media only screen and (min-width:100px) and (max-width:768px) {
		.armyimg {
			width: 57px;
			border-radius: 69px;
			padding: 3px;
			background: #fffcfc;
		}

		.d-flex.dx {
			margin: auto;
			text-align: center;
			display: flex;
			margin: auto;
		}

	}

	/* Minimal calendar styling to encourage 6-week display */
	.fc-daygrid-body {
		min-height: 300px;
	}

	.fc-daygrid-day-frame {
		min-height: 45px;
	}

	/* Make calendar rows visible */
	.fc-daygrid-week {
		height: 50px !important;
		min-height: 50px !important;
	}

	.fc-daygrid-day {
		height: 50px !important;
		min-height: 50px !important;
	}

	/* Ensure calendar table has proper height */
	.fc-daygrid-body table {
		height: 300px !important;
		table-layout: fixed !important;
	}

	.fc-daygrid-body tbody {
		height: 300px !important;
	}

	.fc-daygrid-body tbody tr {
		height: 50px !important;
	}

	/* Force 6th row to always be visible - override any hiding rules */
	.fc-daygrid-body tr:nth-child(6) {
		display: table-row !important;
	}

	/* Ensure all rows are visible regardless of content */
	.fc-daygrid-body tbody tr {
		display: table-row !important;
	}

	/* Override any FullCalendar rules that hide empty weeks */
	.fc-daygrid-week {
		display: table-row !important;
	}

	/* Specifically target and show the 6th week regardless of events */
	.fc-daygrid-body tr:nth-child(6):not(:has(.fc-daygrid-day-events .fc-event)) {
		display: table-row !important;
		visibility: visible !important;
		opacity: 1 !important;
	}

	/* Force all 6 weeks to be visible */
	.fc-daygrid-body tbody tr:nth-child(1),
	.fc-daygrid-body tbody tr:nth-child(2),
	.fc-daygrid-body tbody tr:nth-child(3),
	.fc-daygrid-body tbody tr:nth-child(4),
	.fc-daygrid-body tbody tr:nth-child(5),
	.fc-daygrid-body tbody tr:nth-child(6) {
		display: table-row !important;
		height: 50px !important;
		min-height: 50px !important;
	}