/* ========================================================================
   DUKHULAL NIBARAN CHANDRA COLLEGE - MAIN STYLESHEET
   ======================================================================== */

/* ========================================================================
   CSS VARIABLES & ROOT CONFIGURATION
   ======================================================================== */
:root {
	--royal-blue: #002366;
	--light-blue: #1e3a8a;
	--accent-blue: #3b82f6;
	--sky-blue: #0ea5e9;
	--cyan: #06b6d4;
	--turquoise: #14b8a6;
	--yellow: #eab308;
	--amber: #f59e0b;
	--gradient-start: #002366;
	--gradient-end: #0ea5e9;
}

/* ========================================================================
   GLOBAL STYLES & RESET
   ======================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Apply Noto Serif to all headers */
h1, h2, h3, h4, h5, h6,
.college-info h1,
.section-title,
.notice-card h5,
.principal-desk h4,
.event-card h5,
.gallery-card h6,
.footer h5 {
	font-family: 'Noto Serif', serif;
}

/* Top Header */
.top-header {
	background: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 100%);
	color: white;
	padding: 10px 0;
	font-size: 14px;
}

.top-header a {
	color: white;
	text-decoration: none;
	margin: 0 10px;
	transition: all 0.3s;
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.top-header a:hover {
	color: var(--yellow);
	transform: translateY(-2px);
}

/* Main Header */
.main-header {
	background: white;
	color: var(--royal-blue);
	padding: 20px 0;
	box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.college-logo {
	width: 100px;
	height: auto;
	align-items: center;
	justify-content: center;
	font-size: 24px;
	font-weight: bold;
	animation: pulse 2s ease-in-out infinite;
}

.college-logo img {
	width: 100%;
	float: left;
	height: auto;
}

@keyframes pulse {
	0%, 100% { transform: scale(1); }
	50% { transform: scale(1.05); }
}

.college-info h1 {
	font-size: 24px;
	margin: 0;
	font-weight: 700;
	color: var(--royal-blue);
}

.college-info p {
	margin: 5px 0 0 0;
	font-size: 16px;
	color: #666;
}

.header-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 5px;
	align-items: center;
}

.header-links a {
	background: linear-gradient(135deg, var(--turquoise) 0%, var(--cyan) 100%);
	color: white;
	padding: 10px 15px;
	border-radius: 25px;
	text-decoration: none;
	font-weight: 600;
	transition: all 0.3s;
	white-space: nowrap;
	font-size: 14px;
	box-shadow: 0 3px 10px rgba(20, 184, 166, 0.3);
}

.header-links a:hover {
	background: linear-gradient(135deg, var(--cyan) 0%, var(--sky-blue) 100%);
	color: white;
	transform: translateY(-3px);
	box-shadow: 0 6px 20px rgba(6, 182, 212, 0.4);
}

.search-box {
	display: flex;
	align-items: center;
	margin-top: 10px;
	width: 100%;
}

.search-box input {
	flex: 1;
	padding: 8px 12px;
	border: 2px solid var(--royal-blue);
	border-radius: 5px 0 0 5px;
	outline: none;
	font-size: 14px;
}

.search-box button {
	padding: 8px 15px;
	background: var(--royal-blue);
	color: white;
	border: 2px solid var(--royal-blue);
	border-left: none;
	border-radius: 0 5px 5px 0;
	cursor: pointer;
	transition: all 0.3s;
}

.search-box button:hover {
	background: var(--accent-blue);
	border-color: var(--accent-blue);
}

/* Navigation Menu */
.navigation-menu {
	background: linear-gradient(135deg, var(--royal-blue) 0%, #0c4a6e 100%);
	box-shadow: 0 4px 15px rgba(0,0,0,0.15);
	position: sticky;
	top: 0;
	z-index: 1000;
}

.navbar {
	padding: 0;
}

.navbar-nav .nav-link {
	color: white;
	padding: 15px 20px;
	font-weight: 500;
	transition: all 0.3s;
	border-bottom: 3px solid transparent;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
	background: rgba(234, 179, 8, 0.15);
	border-bottom: 3px solid var(--yellow);
	color: var(--yellow);
}

.navbar-toggler {
	border-color: white;
	padding: 5px 10px;
}

.navbar-toggler-icon {
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.dropdown-menu {
	background: var(--light-blue);
	border: none;
	margin: 0;
	border-radius: 0;
}

.dropdown-item {
	color: white;
	padding: 10px 20px;
	transition: all 0.3s;
}

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

/* News Ticker */
.news-ticker {
	background: linear-gradient(90deg, #cffafe 0%, #e0f2fe 50%, #cffafe 100%);
	padding: 15px 0;
	border-bottom: 3px solid var(--turquoise);
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.ticker-wrap {
	width: 100%;
	overflow: hidden;
}

.ticker-content {
	display: inline-block;
	white-space: nowrap;
	animation: ticker 30s linear infinite;
}

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

.ticker-item {
	display: inline-block;
	padding: 0 50px;
	color: #0c4a6e;
	font-weight: 700;
	text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

@keyframes ticker {
	0% { transform: translateX(100%); }
	100% { transform: translateX(-100%); }
}

/* Carousel */
.hero-carousel {
	margin-top: 0;
}

.carousel-item {
	height: 500px;
}

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

/* Section Titles */
.section-title {
	color: var(--royal-blue);
	font-weight: 700;
	margin-bottom: 30px;
	padding-bottom: 10px;
	border-bottom: 4px solid transparent;
	border-image: linear-gradient(90deg, var(--sky-blue), var(--cyan), var(--turquoise)) 1;
	display: inline-block;
	position: relative;
}

.section-title i {
	color: var(--sky-blue);
	margin-right: 8px;
}

/* Notices Section */
.notice-card {
	border: 2px solid #e5e7eb;
	background: white;
	border-radius: 15px;
	padding: 20px;
	margin-bottom: 20px;
	box-shadow: 0 4px 15px rgba(0,0,0,0.1);
	transition: all 0.3s;
	position: relative;
	overflow: hidden;
}

.notice-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 4px;
	background: linear-gradient(90deg, var(--sky-blue), var(--cyan), var(--turquoise));
}

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

.notice-card h5 {
	color: var(--royal-blue);
	font-weight: 600;
}

.notice-card h5 i {
	color: var(--sky-blue);
	margin-right: 8px;
}

.notice-content-general {
	max-height: 700px;
	overflow-y: auto;
	padding-right: 10px;
}

.notice-content-general::-webkit-scrollbar {
	width: 6px;
}

.notice-content-general::-webkit-scrollbar-track {
	background: #f1f1f1;
	border-radius: 10px;
}

.notice-content-general::-webkit-scrollbar-thumb {
	background: var(--sky-blue);
	border-radius: 10px;
}

.notice-content-general::-webkit-scrollbar-thumb:hover {
	background: var(--cyan);
}

.notice-content-others {
	max-height: 300px;
	overflow-y: auto;
	display: block;
	clear: both;
	padding-right: 10px;
}

.notice-content-others::-webkit-scrollbar {
	width: 6px;
}

.notice-content-others::-webkit-scrollbar-track {
	background: #f1f1f1;
	border-radius: 10px;
}

.notice-content-others::-webkit-scrollbar-thumb {
	background: var(--sky-blue);
	border-radius: 10px;
}

.notice-content-others::-webkit-scrollbar-thumb:hover {
	background: var(--cyan);
}

.notice-item {
	padding: 10px 0;
	border-bottom: 1px solid #e5e7eb;
}

.notice-item:last-child {
	border-bottom: none;
}

.notice-date {
	color: var(--sky-blue);
	font-size: 12px;
	font-weight: 700;
	background: linear-gradient(135deg, #e0f2fe 0%, #dbeafe 100%);
	padding: 2px 8px;
	border-radius: 10px;
	display: inline-block;
}
.notice-item a {
	width:100%;
	float:left;
	display:block;
	clear:both;
	padding:5px 0px;
	color:#0b3a81;
}

/* Quick Links */
.quick-links {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-top: 20px;
}

.quick-link-btn {
	background: linear-gradient(135deg, var(--sky-blue) 0%, var(--cyan) 100%);
	color: white;
	padding: 10px 15px;
	text-align: left;
	border-radius: 12px;
	text-decoration: none;
	font-weight: 600;
	transition: all 0.3s;
	box-shadow: 0 2px 6px rgba(14, 165, 233, 0.25);
	display: flex;
	align-items: center;
	gap: 12px;
}

.quick-link-btn i {
	background: white;
	color: #0c4a6e;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	font-size: 18px;
	transition: all 0.3s;
}

.quick-link-btn:hover {
	background: linear-gradient(135deg, var(--cyan) 0%, var(--accent-blue) 100%);
	color: white;
	transform: translateX(5px);
	box-shadow: 0 6px 20px rgba(6, 182, 212, 0.35);
}

.quick-link-btn:hover i {
	transform: rotate(360deg);
	color: var(--cyan);
}

/* Welcome Section - WITH BACKGROUND IMAGE */
.welcome-section {
	background: 
		linear-gradient(135deg, rgba(240, 249, 255, 0.92) 0%, rgba(236, 254, 255, 0.92) 100%),
		url('assets/images/welcome-area-bg.jpg') center/cover no-repeat fixed;
	padding: 60px 0;
	position: relative;
	overflow: hidden;
}

.welcome-section::after {
	content: '';
	position: absolute;
	bottom: -50%;
	left: -10%;
	width: 500px;
	height: 500px;
	background: radial-gradient(circle, rgba(6, 182, 212, 0.1) 0%, transparent 70%);
	border-radius: 50%;
	z-index: 1;
}

.welcome-section .container {
	position: relative;
	z-index: 2;
}

.welcome-section h4 {
	color: var(--royal-blue);
	font-family: 'Noto Serif', serif;
	font-weight: 700;
}

.welcome-message {
	background: transparent;
	padding: 30px;
	position: relative;
	z-index: 1;
	height: 100%;
	display: flex;
	flex-direction: column;
}

.welcome-message h4 {
	color: var(--royal-blue);
	font-weight: 700;
	margin-bottom: 20px;
}

.principal-desk {
	background: rgba(255, 255, 255, 0.95);
	padding: 30px;
	border-radius: 15px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
	position: relative;
	z-index: 1;
	height: 100%;
	display: flex;
	flex-direction: column;
}

.principal-desk h4 {
	color: var(--royal-blue);
	font-weight: 700;
	margin-bottom: 20px;
}

/* Animated Read More Buttons */
.btn-read-more {
	background: linear-gradient(135deg, var(--turquoise) 0%, var(--cyan) 100%);
	color: white;
	border: none;
	border-radius: 25px;
	padding: 12px 30px;
	font-weight: 600;
	box-shadow: 0 4px 15px rgba(20, 184, 166, 0.3);
	text-decoration: none;
	display: inline-block;
	position: relative;
	overflow: hidden;
	transition: all 0.4s ease;
}

.btn-read-more::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, var(--cyan) 0%, var(--sky-blue) 100%);
	transition: all 0.4s ease;
	z-index: -1;
}

.btn-read-more:hover {
	color: white;
	transform: translateY(-3px);
	box-shadow: 0 8px 25px rgba(6, 182, 212, 0.5);
}

.btn-read-more:hover::before {
	left: 0;
}

.btn-read-more i {
	margin-left: 8px;
	transition: transform 0.3s ease;
}

.btn-read-more:hover i {
	transform: translateX(5px);
}

.btn-read-more:active {
	transform: translateY(-1px);
	box-shadow: 0 5px 15px rgba(6, 182, 212, 0.4);
}

.principal-img {
	width: 100%;
	max-width: 100%;
	height: auto;
	border-radius: 15px;
	object-fit: cover;
	border: 5px solid transparent;
	background: linear-gradient(white, white) padding-box,
				linear-gradient(135deg, var(--royal-blue), var(--sky-blue)) border-box;
	box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* Events & Gallery */
.event-card, .gallery-card {
	border-radius: 15px;
	overflow: hidden;
	box-shadow: 0 5px 20px rgba(0,0,0,0.1);
	transition: all 0.4s;
	margin-bottom: 20px;
	height: 100%;
	display: flex;
	flex-direction: column;
	background: white;
	border: none;
}

.event-card:hover, .gallery-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 20px 40px rgba(14, 165, 233, 0.25);
}

.event-card img, .gallery-card img {
	width: 100%;
	height: 200px;
	object-fit: cover;
	transition: transform 0.4s;
}

.event-card:hover img, .gallery-card:hover img {
	transform: scale(1.05);
}

.event-card .card-body, .gallery-card .card-body {
	padding: 25px 20px;
	flex: 1;
	display: flex;
	flex-direction: column;
	background: white;
	text-align: center;
}

.event-card .card-body h5 {
	min-height: auto;
	font-weight: 700;
	color: #4a5568;
	margin-bottom: 12px;
	font-size: 20px;
	line-height: 1.3;
}

.event-card .card-body p:last-child {
	flex: 1;
	color: #64748b;
	line-height: 1.6;
	font-size: 15px;
	margin-bottom: 20px;
}

.event-card .card-body .text-muted {
	color: var(--yellow);
	font-weight: 700;
	font-size: 16px;
	margin-bottom: 15px;
	display: block;
}

.event-card .card-body .text-muted i {
	display: none;
}

.event-card .btn-details {
	background: var(--sky-blue);
	color: white;
	padding: 10px 30px;
	border-radius: 5px;
	text-decoration: none;
	font-weight: 700;
	transition: all 0.3s;
	display: inline-block;
	margin: 0 auto;
	border: none;
	font-size: 16px;
}

.event-card .btn-details:hover {
	background: var(--cyan);
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(14, 165, 233, 0.3);
}

.gallery-card .card-body h6 {
	font-weight: 600;
}

/* Counter Section */
.counter-section {
	background: linear-gradient(135deg, var(--royal-blue) 0%, #0c4a6e 100%);
	padding: 30px 0;
	color: white;
	margin: 50px 0;
	position: relative;
	overflow: hidden;
}

.counter-section::before {
	content: '';
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: radial-gradient(circle, rgba(14, 165, 233, 0.1) 0%, transparent 70%);
	animation: rotate 20s linear infinite;
}

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

.counter-box {
	text-align: center;
	padding: 15px 20px;
	position: relative;
	z-index: 1;
}

.counter-icon {
	font-size: 48px;
	margin-bottom: 20px;
	color: var(--yellow);
	animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-10px); }
}

.counter-number {
	display: block;
	font-size: 48px;
	font-weight: 700;
	margin-bottom: 10px;
	font-family: 'Noto Serif', serif;
}

.counter-label {
	font-size: 18px;
	font-weight: 500;
}

/* Footer */
.footer {
	background-image: 
		linear-gradient(135deg, rgba(0, 35, 102, 0.85) 0%, rgba(12, 74, 110, 0.85) 100%),
		url('assets/images/footer-bg.png');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	background-attachment: fixed;
	color: white;
	padding: 50px 0 20px 0;
	margin-top: 50px;
	position: relative;
}

.footer::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 4px;
	background: linear-gradient(90deg, var(--sky-blue), var(--cyan), var(--turquoise));
	z-index: 1;
}

.footer .container {
	position: relative;
	z-index: 2;
}

.footer h5 {
	color: var(--yellow);
	margin-bottom: 20px;
	font-weight: 600;
}

.footer h5 i {
	color: var(--sky-blue);
	margin-right: 8px;
}

.footer a {
	color: white;
	text-decoration: none;
	display: block;
	margin: 8px 0;
	transition: all 0.3s;
}

.footer a:hover {
	color: var(--yellow);
	transform: translateX(5px);
}

.footer-bottom {
	border-top: 1px solid rgba(255,255,255,0.1);
	margin-top: 30px;
	padding-top: 20px;
	text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
	.college-info h1 {
		font-size: 22px;
	}
	
	.carousel-item {
		height: 300px;
	}
	
	.header-links {
		justify-content: center;
		margin-top: 15px;
	}
	
	.header-links a {
		font-size: 12px;
		padding: 8px 10px;
	}

	.search-box {
		margin-top: 10px;
	}

	.search-box input {
		font-size: 13px;
	}
	
	.college-logo {
		width: 60px;
		height: 60px;
		font-size: 18px;
	}

	.counter-number {
		font-size: 36px;
	}

	.counter-label {
		font-size: 14px;
	}
	
	.notice-content-general {
		max-height: 400px;
	}
	
	.notice-content-others {
		max-height: 250px;
	}
}

/* Content Layout */
.content-wrapper {
	margin: 20px 0px 50px 0px;
}

/* Sidebar */
.left-menu-area {
	background: white;
	border-radius: 15px;
	padding: 15px;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
	position: sticky;
	top: 20px;
}

.left-menu-area h2 {
	color: var(--royal-blue);
	font-size: 24px;
	font-weight: 700;
	margin-bottom: 25px;
	padding-bottom: 15px;
	border-bottom: 3px solid transparent;
	border-image: linear-gradient(90deg, var(--sky-blue), var(--cyan)) 1;
}

.left-menu-area ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.left-menu-area li {
	margin-bottom: 8px;
}

.left-menu-area a {
	display: block;
	padding: 10px 12px;
	color: #4a5568;
	text-decoration: none;
	border-radius: 10px;
	transition: all 0.3s;
	font-weight: 500;
	border-left: 3px solid transparent;
}

.left-menu-area a:hover {
	background: linear-gradient(135deg, #e0f2fe 0%, #dbeafe 100%);
	color: var(--royal-blue);
	border-left-color: var(--sky-blue);
	transform: translateX(5px);
}

.left-menu-area .active-menu a {
	background: linear-gradient(135deg, var(--sky-blue) 0%, var(--cyan) 100%);
	color: white;
	font-weight: 600;
	border-left-color: var(--yellow);
}

/* Main Content Area */
.right-content-area {
	background: white;
	border-radius: 15px;
	padding: 40px;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
	position: relative;
	overflow: hidden;
}

.right-content-area::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 4px;
	background: linear-gradient(90deg, var(--sky-blue), var(--cyan), var(--turquoise));
}

.right-content-area h2 {
	color: var(--royal-blue);
	font-size: 32px;
	font-weight: 700;
	margin-bottom: 30px;
	position: relative;
	padding-bottom: 15px;
}

.right-content-area h2::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 80px;
	height: 4px;
	background: linear-gradient(90deg, var(--sky-blue), var(--cyan));
	border-radius: 2px;
}

.right-content-area h3 {
	color: var(--light-blue);
	font-size: 24px;
	font-weight: 600;
	margin: 30px 0 20px 0;
}

.right-content-area p {
	color: #4a5568;
	line-height: 1.8;
	margin-bottom: 20px;
	font-size: 16px;
	text-align: justify;
}

.right-content-area strong {
	color: var(--royal-blue);
	font-weight: 600;
}

/* Tables */
.right-content-area table {
	width: 100%;
	margin: 30px 0;
	border-collapse: separate;
	border-spacing: 0;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
}

.right-content-area thead {
	background: linear-gradient(135deg, var(--royal-blue) 0%, var(--light-blue) 100%);
	color: white;
}

.right-content-area thead th {
	padding: 15px 12px;
	font-weight: 600;
	text-align: left;
	font-size: 15px;
}

.right-content-area tbody tr {
	transition: all 0.3s;
}

.right-content-area tbody tr:nth-child(even) {
	background: #f8fafc;
}

.right-content-area tbody tr:hover {
	background: linear-gradient(135deg, #e0f2fe 0%, #dbeafe 100%);
	transform: scale(1.01);
}

.right-content-area tbody td {
	padding: 12px;
	color: #4a5568;
	border-bottom: 1px solid #e5e7eb;
	font-size: 14px;
}

.right-content-area tbody tr:last-child td {
	border-bottom: none;
}

/* Category Badges */
.category-badge {
	display: inline-block;
	background: linear-gradient(135deg, var(--turquoise) 0%, var(--cyan) 100%);
	color: white;
	padding: 4px 12px;
	border-radius: 15px;
	font-size: 12px;
	font-weight: 600;
	margin-left: 8px;
}

/* Enhanced Lists Styling */
.right-content-area ul,
.right-content-area ol {
	margin: 20px 0;
	padding-left: 0;
	list-style: none;
}

.right-content-area ul li,
.right-content-area ol li {
	position: relative;
	padding: 12px 15px 12px 45px;
	margin-bottom: 10px;
	background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
	border-left: 4px solid var(--sky-blue);
	border-radius: 8px;
	color: #334155;
	line-height: 1.7;
	transition: all 0.3s ease;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.right-content-area ul li:hover,
.right-content-area ol li:hover {
	background: linear-gradient(135deg, #e0f2fe 0%, #dbeafe 100%);
	border-left-color: var(--cyan);
	transform: translateX(5px);
	box-shadow: 0 4px 12px rgba(14, 165, 233, 0.15);
}

/* Unordered List Icons */
.right-content-area ul li::before {
	content: '\f00c';
	font-family: 'Font Awesome 6 Free';
	font-weight: 900;
	position: absolute;
	left: 15px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--sky-blue);
	font-size: 16px;
	background: white;
	width: 26px;
	height: 26px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	box-shadow: 0 2px 6px rgba(14, 165, 233, 0.2);
}

/* Ordered List Numbers */
.right-content-area ol {
	counter-reset: custom-counter;
}

.right-content-area ol li {
	counter-increment: custom-counter;
}

.right-content-area ol li::before {
	content: counter(custom-counter);
	font-family: 'Noto Serif', serif;
	font-weight: 700;
	position: absolute;
	left: 15px;
	top: 50%;
	transform: translateY(-50%);
	color: white;
	font-size: 14px;
	background: linear-gradient(135deg, var(--sky-blue) 0%, var(--cyan) 100%);
	width: 26px;
	height: 26px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	box-shadow: 0 2px 6px rgba(14, 165, 233, 0.3);
}

/* List Links */
.right-content-area ul li a,
.right-content-area ol li a {
	color: var(--royal-blue);
	text-decoration: none;
	font-weight: 600;
	transition: all 0.3s ease;
	border-bottom: 2px solid transparent;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.right-content-area ul li a::after,
.right-content-area ol li a::after {
	content: '\f35d';
	font-family: 'Font Awesome 6 Free';
	font-weight: 900;
	font-size: 12px;
	color: var(--sky-blue);
	transition: all 0.3s ease;
}

.right-content-area ul li a:hover,
.right-content-area ol li a:hover {
	color: var(--cyan);
	border-bottom-color: var(--cyan);
}

.right-content-area ul li a:hover::after,
.right-content-area ol li a:hover::after {
	transform: translateX(3px);
	color: var(--cyan);
}

/* Strong (Bold) Text */
.right-content-area strong {
	color: var(--royal-blue);
	font-weight: 700;
	position: relative;
	padding: 2px 6px;
	background: linear-gradient(135deg, rgba(14, 165, 233, 0.08) 0%, rgba(6, 182, 212, 0.08) 100%);
	border-radius: 4px;
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.right-content-area strong::before {
	content: '\f005';
	font-family: 'Font Awesome 6 Free';
	font-weight: 900;
	font-size: 10px;
	color: var(--yellow);
}

/* Strong with Emphasis (Bold + Italic) */
.right-content-area strong em,
.right-content-area em strong {
	color: var(--cyan);
	font-style: italic;
	font-weight: 700;
	background: linear-gradient(135deg, rgba(6, 182, 212, 0.12) 0%, rgba(20, 184, 166, 0.12) 100%);
	padding: 3px 8px;
	border-radius: 5px;
	border-left: 3px solid var(--turquoise);
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.right-content-area strong em::before,
.right-content-area em strong::before {
	content: '\f06a';
	font-family: 'Font Awesome 6 Free';
	font-weight: 900;
	font-size: 14px;
	color: var(--turquoise);
	font-style: normal;
}

/* Table Links */
.right-content-area table tr td a {
	color: var(--sky-blue);
	text-decoration: none;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
	border-radius: 20px;
	transition: all 0.3s ease;
	border: 2px solid transparent;
}

.right-content-area table tr td a::before {
	content: '\f0c1';
	font-family: 'Font Awesome 6 Free';
	font-weight: 900;
	font-size: 12px;
	color: var(--sky-blue);
}

.right-content-area table tr td a:hover {
	background: linear-gradient(135deg, var(--sky-blue) 0%, var(--cyan) 100%);
	color: white;
	border-color: var(--cyan);
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

.right-content-area table tr td a:hover::before {
	color: white;
	animation: swing 0.5s ease;
}

@keyframes swing {
	0%, 100% { transform: rotate(0deg); }
	25% { transform: rotate(10deg); }
	75% { transform: rotate(-10deg); }
}

/* Special Link Types in Tables */
.right-content-area table tr td a[href$=".pdf"]::before {
	content: '\f1c1';
}

.right-content-area table tr td a[href$=".doc"]::before,
.right-content-area table tr td a[href$=".docx"]::before {
	content: '\f1c2';
}

.right-content-area table tr td a[href$=".xls"]::before,
.right-content-area table tr td a[href$=".xlsx"]::before {
	content: '\f1c3';
}

.right-content-area table tr td a[href^="mailto:"]::before {
	content: '\f0e0';
}

.right-content-area table tr td a[href^="tel:"]::before {
	content: '\f095';
}

.right-content-area table tr td a[href^="http"]::before {
	content: '\f35d';
}

/* Images Styling */
.right-content-area img {
	max-width: 100%;
	height: auto;
	border-radius: 12px;
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
	transition: all 0.4s ease;
	border: 5px solid white;
	outline: 2px solid #e5e7eb;
	margin: 20px 0;
	display: block;
}

.right-content-area img:hover {
	transform: scale(1.02) translateY(-5px);
	box-shadow: 0 15px 40px rgba(14, 165, 233, 0.25);
	outline-color: var(--sky-blue);
}

/* Image with Caption */
.right-content-area figure {
	margin: 30px 0;
	text-align: center;
}

.right-content-area figure img {
	margin: 0 auto 15px auto;
}

.right-content-area figcaption {
	color: #64748b;
	font-style: italic;
	font-size: 14px;
	padding: 10px 20px;
	background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
	border-radius: 8px;
	display: inline-block;
}

/* Linked Images */
.right-content-area a img {
	position: relative;
	cursor: pointer;
	transition: all 0.4s ease;
}

.right-content-area a {
	position: relative;
	display: inline-block;
	text-decoration: none;
}

.right-content-area a:has(img) {
	position: relative;
	display: inline-block;
}

.right-content-area a:has(img)::before {
	content: '\f002';
	font-family: 'Font Awesome 6 Free';
	font-weight: 900;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) scale(0);
	font-size: 48px;
	color: white;
	background: linear-gradient(135deg, var(--sky-blue) 0%, var(--cyan) 100%);
	width: 80px;
	height: 80px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: all 0.4s ease;
	z-index: 10;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.right-content-area a:has(img):hover::before {
	transform: translate(-50%, -50%) scale(1);
	opacity: 1;
}

.right-content-area a:hover img {
	filter: brightness(0.7);
	transform: scale(1.05);
	box-shadow: 0 20px 50px rgba(14, 165, 233, 0.4);
}

/* Image Alignment Classes */
.right-content-area img.align-left {
	float: left;
	margin: 10px 25px 20px 0;
	max-width: 45%;
}

.right-content-area img.align-right {
	float: right;
	margin: 10px 0 20px 25px;
	max-width: 45%;
}

.right-content-area img.align-center {
	display: block;
	margin: 25px auto;
	max-width: 85%;
}

.right-content-area img.full-width {
	width: 100%;
	max-width: 100%;
	margin: 25px 0;
}

/* Small Thumbnail Images */
.right-content-area img.thumbnail {
	max-width: 150px;
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	border: 3px solid white;
}

.right-content-area img.thumbnail:hover {
	transform: scale(1.15) rotate(2deg);
	box-shadow: 0 8px 20px rgba(14, 165, 233, 0.3);
}

/* Image Gallery Grid */
.right-content-area .image-gallery {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 20px;
	margin: 30px 0;
}

.right-content-area .image-gallery img {
	width: 100%;
	height: 250px;
	object-fit: cover;
	margin: 0;
}

.right-content-area .image-gallery a {
	position: relative;
	overflow: hidden;
	border-radius: 12px;
}

/* Profile/Staff Images */
.right-content-area img.profile-image {
	max-width: 200px;
	border-radius: 50%;
	border: 6px solid white;
	outline: 3px solid var(--sky-blue);
	box-shadow: 0 8px 25px rgba(14, 165, 233, 0.2);
}

.right-content-area img.profile-image:hover {
	outline-color: var(--cyan);
	transform: scale(1.1);
	box-shadow: 0 12px 35px rgba(6, 182, 212, 0.3);
}

/* Image with Icon Badge */
.right-content-area .image-container {
	position: relative;
	display: inline-block;
}

.right-content-area .image-container::after {
	content: '\f03e';
	font-family: 'Font Awesome 6 Free';
	font-weight: 900;
	position: absolute;
	bottom: 15px;
	right: 15px;
	background: linear-gradient(135deg, var(--sky-blue) 0%, var(--cyan) 100%);
	color: white;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
	border: 3px solid white;
}

/* Nested Lists */
.right-content-area ul ul,
.right-content-area ol ol,
.right-content-area ul ol,
.right-content-area ol ul {
	margin: 10px 0 10px 20px;
}

.right-content-area ul ul li,
.right-content-area ol ol li {
	background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
	border-left-color: var(--cyan);
	font-size: 15px;
}

.right-content-area ul ul li::before {
	content: '\f054';
	font-size: 12px;
	background: linear-gradient(135deg, var(--cyan) 0%, var(--turquoise) 100%);
	color: white;
}

/* Responsive */
@media (max-width: 768px) {
	.page-header h1 {
		font-size: 28px;
	}

	.right-content-area {
		padding: 25px 20px;
	}

	.right-content-area h2 {
		font-size: 24px;
	}

	.left-menu-area {
		margin-bottom: 30px;
		position: relative;
		top: 0;
	}

	.right-content-area table {
		font-size: 13px;
	}

	.right-content-area thead th,
	.right-content-area tbody td {
		padding: 10px 8px;
		font-size: 13px;
	}

	.right-content-area ul li,
	.right-content-area ol li {
		padding: 10px 12px 10px 40px;
		font-size: 14px;
	}

	.right-content-area ul li::before,
	.right-content-area ol li::before {
		width: 22px;
		height: 22px;
		font-size: 12px;
		left: 10px;
	}

	.right-content-area img.align-left,
	.right-content-area img.align-right {
		float: none;
		max-width: 100%;
		margin: 20px 0;
	}

	.right-content-area img.align-center {
		max-width: 100%;
	}

	.right-content-area a:has(img)::before {
		font-size: 36px;
		width: 60px;
		height: 60px;
	}

	.right-content-area .image-gallery {
		grid-template-columns: 1fr;
	}

	.right-content-area img.profile-image {
		max-width: 150px;
	}
}

/* Page Tabs for Switching */
.page-tabs {
	display: flex;
	gap: 10px;
	margin-bottom: 30px;
	flex-wrap: wrap;
}

.page-tab {
	background: white;
	border: 2px solid var(--sky-blue);
	color: var(--royal-blue);
	padding: 12px 25px;
	border-radius: 25px;
	cursor: pointer;
	font-weight: 600;
	transition: all 0.3s;
}

.page-tab:hover {
	background: linear-gradient(135deg, #e0f2fe 0%, #dbeafe 100%);
}

.page-tab.active {
	background: linear-gradient(135deg, var(--sky-blue) 0%, var(--cyan) 100%);
	color: white;
	border-color: transparent;
}

.page-content {
	display: none;
}

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