  :root {
	--teal: #115577;
	--teal-dark: #084360;
	--white: #ffffff;
	--gray-light: #f8f9fa;
	--gray: #6c757d;
	--dark: #212529;
	--transition: all 0.3s ease;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Poppins', sans-serif;
}

body {
	background-color: var(--gray-light);
	color: var(--dark);
}

/* --- SECTION 1: HEADER --- */
header {
	background-color: var(--teal);
	padding: 15px 5%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	position: sticky;
	top: 0;
	z-index: 100;
	box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.logo-area {
	display: flex;
	align-items: center;
	color: var(--white);
	gap: 15px;
}

.logo-text h1 {
	font-size: 1.2rem;
	font-weight: 700;
	line-height: 1.2;
}

.logo-text span {
	font-size: 0.7rem;
	font-weight: 300;
}

nav ul {
	list-style: none;
	display: flex;
	gap: 25px;
	align-items: center;
}

nav a {
	color: var(--white);
	text-decoration: none;
	font-size: 0.9rem;
	font-weight: 400;
	transition: var(--transition);
}

nav a:hover { opacity: 0.8; }

.btn-login {
	background-color: var(--white);
	color: var(--teal);
	padding: 8px 25px;
	border-radius: 20px;
	font-weight: 600;
	text-decoration: none;
	transition: var(--transition);
}

.btn-login:hover {
	background-color: #f1f1f1;
	box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.btn-logo {
	background-color: var(--white);
	color: var(--teal);
	padding: 5px 10px;
	border-radius: 15px;
	transition: var(--transition);
}		
/* --- SECTION 2: HERO BANNER (REFINED) --- */
.hero {
	position: relative;
	height: 60vh;
	/* Updated to use bg.jpg */
	background: url('images/bg2.jpg') center/cover no-repeat;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: var(--white);
	overflow: hidden;
}

/* Modern Blur/Fade Overlay */
.hero::before {
	content: '';
	position: absolute;
	top: 0; left: 0; right: 0; bottom: 0;
	/* Gradient fade */
	background: linear-gradient(135deg, rgba(128, 0, 0, 0.85) 0%, rgba(33, 37, 41, 0.4) 100%);
	/* CSS Glassmorphism Blur Effect */
	backdrop-filter: blur(2px);
	-webkit-backdrop-filter: blur(2px);
	z-index: 1;
}

.hero-content {
	position: relative;
	z-index: 2;
	max-width: 800px;
	padding: 0 20px;
}

.hero-icon {
	width: 60px;
	height: 60px;
	background: rgba(255,255,255,0.15);
	border: 1px solid rgba(255,255,255,0.3);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 20px;
	font-size: 1.5rem;
	backdrop-filter: blur(4px);
}

.hero h2 {
	font-size: 3.5rem;
	font-weight: 700;
	margin-bottom: 15px;
	letter-spacing: 2px;
	text-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.hero p {
	font-size: 1.1rem;
	font-weight: 300;
	line-height: 1.6;
	text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

/* --- SECTION 3: NEWS & EVENTS (REFINED) --- */
.news-section {
	padding: 80px 5%;
	max-width: 1400px;
	margin: 0 auto;
}

.section-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	margin-bottom: 40px;
	gap: 20px;
	border-bottom: 2px solid #eaeaea;
	padding-bottom: 15px;
}

.section-header h3 {
	font-size: 1.8rem;
	color: var(--teal);
	font-weight: 700;
	text-align: left; /* Left align as requested */
	margin: 0;
}

/* New Modern Filter Controls */
.filter-controls {
	display: flex;
	gap: 15px;
	align-items: center;
	flex-wrap: wrap;
}

.modern-input {
	padding: 10px 15px;
	border: 1px solid #ddd;
	border-radius: 8px;
	font-size: 0.9rem;
	color: var(--dark);
	background-color: var(--white);
	outline: none;
	transition: var(--transition);
	box-shadow: 0 2px 5px rgba(0,0,0,0.02);
	cursor: pointer;
}

.modern-input:focus, .modern-input:hover {
	border-color: var(--teal);
	box-shadow: 0 0 0 3px rgba(128, 0, 0, 0.1);
}

.btn-filter {
	padding: 10px 25px;
	background-color: var(--teal);
	color: var(--white);
	border: none;
	border-radius: 8px;
	font-weight: 600;
	font-size: 0.9rem;
	cursor: pointer;
	transition: var(--transition);
	box-shadow: 0 4px 10px rgba(128, 0, 0, 0.2);
}

.btn-filter:hover {
	background-color: var(--teal-dark);
	transform: translateY(-2px);
}

.news-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
	gap: 30px;
	margin-bottom: 20px;
}

.news-card {
	background: var(--white);
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 5px 15px rgba(0,0,0,0.05);
	transition: var(--transition);
	cursor: pointer;
	border: 1px solid #eee;
	position: relative;
}

.news-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 15px 30px rgba(128, 0, 0, 0.15);
}

.card-img-wrapper {
	position: relative;
	height: 220px;
	overflow: hidden;
}

.card-img-wrapper img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.news-card:hover .card-img-wrapper img { transform: scale(1.1); }

.badge-date {
	position: absolute;
	top: 15px;
	left: 15px;
	background: rgba(0,0,0,0.7);
	color: white;
	padding: 5px 10px;
	border-radius: 20px;
	font-size: 0.8rem;
	backdrop-filter: blur(4px);
}

.badge-rating {
	position: absolute;
	top: 15px;
	right: 15px;
	background: var(--white);
	color: #f39c12;
	padding: 5px 10px;
	border-radius: 20px;
	font-size: 0.8rem;
	font-weight: bold;
	box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.card-body { padding: 25px; }

.card-title {
	font-size: 1.1rem;
	font-weight: 600;
	margin-bottom: 10px;
	color: var(--dark);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.card-text {
	font-size: 0.9rem;
	color: var(--gray);
	line-height: 1.6;
	margin-bottom: 20px;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.card-link {
	color: var(--teal);
	font-size: 0.9rem;
	font-weight: 600;
	text-decoration: none;
	display: flex;
	align-items: center;
	gap: 5px;
}

.news-card:hover .card-link i { transform: translateX(5px); transition: transform 0.3s; }

/* --- SECTION 4: LOGIN FORM --- */
.login-section {
	background-color: var(--white);
	padding: 80px 5%;
	display: flex;
	justify-content: center;
	align-items: center;
}

.login-container {
	background: var(--gray-light);
	padding: 40px;
	border-radius: 15px;
	box-shadow: 0 10px 25px rgba(0,0,0,0.05);
	width: 100%;
	max-width: 800px;
	border-top: 5px solid var(--teal);
}

.login-container h3 {
	text-align: center;
	color: var(--teal);
	margin-bottom: 30px;
	font-size: 1.8rem;
}

.form-group { margin-bottom: 20px; }

.form-group label {
	display: block;
	margin-bottom: 8px;
	font-weight: 600;
	font-size: 0.9rem;
	color: var(--dark);
}

.form-group input {
	width: 100%;
	padding: 12px 15px;
	border: 1px solid #ddd;
	border-radius: 8px;
	font-size: 1rem;
	transition: var(--transition);
}

.form-group input:focus {
	outline: none;
	border-color: var(--teal);
	box-shadow: 0 0 0 3px rgba(128,0,0,0.1);
}

.form-actions {
	display: flex;
	gap: 15px;
	margin-top: 30px;
}

.btn-auth {
	flex: 1;
	padding: 12px;
	border: none;
	border-radius: 8px;
	font-weight: 600;
	cursor: pointer;
	transition: var(--transition);
	font-size: 1rem;
}

.btn-submit-auth { background-color: var(--teal); color: var(--white); }
.btn-submit-auth:hover { background-color: var(--teal-dark); }
.btn-reset { background-color: transparent; border: 1px solid var(--gray); color: var(--gray); }
.btn-reset:hover { background-color: #eee; }

/* --- SECTION 5: FOOTER --- */
footer {
	background-color: var(--white);
	padding: 60px 5% 30px;
	border-top: 1px solid #eee;
}

.footer-grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1.5fr;
	gap: 40px;
	max-width: 1400px;
	margin: 0 auto;
	margin-bottom: 40px;
}

.footer-logo { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
.footer-logo-text h4 { color: var(--dark); font-size: 1.2rem; }
.footer-col p { color: var(--gray); font-size: 0.9rem; line-height: 1.6; }
.footer-col h5 { font-size: 1.1rem; color: var(--dark); margin-bottom: 20px; font-weight: 600; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: var(--gray); text-decoration: none; font-size: 0.9rem; transition: var(--transition); }
.footer-links a:hover { color: var(--teal); }
.contact-info { list-style: none; }
.contact-info li { display: flex; gap: 15px; margin-bottom: 15px; color: var(--gray); font-size: 0.9rem; }
.contact-info i { color: var(--teal); margin-top: 3px; }
.copyright { text-align: center; padding-top: 30px; border-top: 1px solid #eee; color: var(--gray); font-size: 0.85rem; }

/* --- MODAL POPUP (REFINED) --- */
.modal-overlay {
	position: fixed;
	top: 0; left: 0; right: 0; bottom: 0;
	background: rgba(0,0,0,0.85);
	backdrop-filter: blur(5px);
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	transition: var(--transition);
}

.modal-overlay.active { opacity: 1; visibility: visible; }

.modal-content {
	background: var(--white);
	width: 90%;
	max-width: 800px;
	border-radius: 15px;
	overflow: hidden;
	position: relative;
	transform: translateY(50px) scale(0.95);
	transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
	max-height: 90vh;
	overflow-y: auto;
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.modal-overlay.active .modal-content { transform: translateY(0) scale(1); }

.close-btn {
	position: absolute;
	top: 15px;
	right: 15px;
	background: rgba(255,255,255,0.9);
	color: var(--dark);
	border: none;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	cursor: pointer;
	z-index: 10;
	font-size: 1.2rem;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: var(--transition);
	box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.close-btn:hover { background: var(--teal); color: var(--white); transform: rotate(90deg); }

.modal-img { width: 100%; height: 350px; object-fit: cover; }

.modal-body { padding: 35px; }

.modal-date {
	display: inline-block;
	background: var(--gray-light);
	color: var(--teal);
	padding: 5px 12px;
	border-radius: 20px;
	font-size: 0.85rem;
	font-weight: 600;
	margin-bottom: 15px;
}

.modal-title { font-size: 1.8rem; margin-bottom: 20px; color: var(--dark); line-height: 1.3; }

.modal-desc {
	color: var(--gray);
	line-height: 1.8;
	font-size: 1rem;
	margin-bottom: 30px;
	text-align: left;
}

.modal-desc p { margin-bottom: 15px; }

/* New Modern Action Buttons for Modal */
.modal-actions {
	display: flex;
	gap: 15px;
	border-top: 1px solid #eee;
	padding-top: 25px;
	flex-wrap: wrap;
}

.btn-action {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px 20px;
	border: none;
	border-radius: 8px;
	font-weight: 500;
	font-size: 0.95rem;
	cursor: pointer;
	transition: var(--transition);
}

.btn-social { background: #e8f4fd; color: #0d6efd; }
.btn-social:hover { background: #d0e8fc; transform: translateY(-2px); }

.btn-gallery { background: #fdf2e8; color: #fd7e14; }
.btn-gallery:hover { background: #fce5d0; transform: translateY(-2px); }

.btn-report { background: #f9e8e8; color: #dc3545; }
.btn-report:hover { background: #f5d0d0; transform: translateY(-2px); }

/* Responsive */
@media (max-width: 992px) {
	.footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
	header { flex-direction: column; gap: 15px; }
	nav ul { flex-wrap: wrap; justify-content: center; gap: 15px; }
	.hero h2 { font-size: 2.5rem; }
	.section-header { flex-direction: column; align-items: flex-start; }
	.filter-controls { width: 100%; }
	.modern-input, .btn-filter { flex: 1; }
	.footer-grid { grid-template-columns: 1fr; }
	.modal-actions { flex-direction: column; }
	.btn-action { width: 100%; justify-content: center; }
}

.gallery-section { padding: 50px 20px; max-width: 1200px; margin: auto; }
.gallery-section h2 { text-align: center; margin-bottom: 40px; color: #115577; }
.gallery-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 15px; }
.gallery-item { cursor: pointer; text-align: center; }
.gallery-item img { width: 100%; height: 150px; object-fit: cover; border-radius: 8px; transition: 0.3s; }
.gallery-item img:hover { transform: scale(1.05); }
.gallery-item p { font-size: 0.85rem; margin-top: 8px; color: #555; }

/* Modal Styles */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); display: none; justify-content: center; align-items: center; z-index: 1000; }
.modal-overlay.active { display: flex; }
.modal-content { background: white; padding: 20px; border-radius: 10px; max-width: 80%; text-align: center; }
.modal-content img { max-width: 100%; max-height: 70vh; border-radius: 5px; }
.close-btn { position: absolute; top: 20px; right: 30px; color: white; font-size: 30px; cursor: pointer; }

/* Modern PDF Viewer Styles */
.pdf-viewer-section {
	padding: 40px 20px;
	background: #f9f9f9;
	min-height: 80vh;
	display: flex;
	flex-direction: column;
	align-items: center;
}
.pdf-container {
	width: 100%;
	max-width: 1500px;
	background: #fff;
	padding: 20px;
	border-radius: 12px;
	box-shadow: 0 10px 30px rgba(0,0,0,0.1);
	text-align: center;
}
.pdf-header {
	margin-bottom: 20px;
	padding-bottom: 15px;
	border-bottom: 2px solid #115577;
}
.pdf-embed {
	width: 100%;
	height: 600px;
	border: none;
	border-radius: 8px;
}
.download-btn {
	display: inline-block;
	margin-top: 20px;
	padding: 12px 30px;
	background: #115577;
	color: #fff;
	text-decoration: none;
	border-radius: 5px;
	font-weight: 500;
	transition: 0.3s;
}
.download-btn:hover {
	background: #a00000;
}	
.table-container { overflow-x: auto; margin-top: 20px; }
.data-table { width: 100%; border-collapse: collapse; background: white; border-radius: 10px; overflow: hidden; box-shadow: 0 4px 6px rgba(0,0,0,0.1); }
.data-table th, .data-table td { padding: 12px 15px; text-align: center; border-bottom: 1px solid #eee; font-size: 0.8rem;}
.data-table th { background-color: #af6f49; color: white; font-size: 0.9rem; }
.data-table tr:hover { background-color: #f1f1f1; }
.icon-check { color: #28a745; font-weight: bold; }
.icon-x { color: #dc3545; font-weight: bold; }
.star-score { color: #d88227; font-weight: bold; }		