:root {
	--primary-color: #ff004d;
	--secondary-color: #002b5c;
	--light-bg: #f7f9fc;
}

body {
	font-family: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI",
		sans-serif;
	color: #344054;
	background-color: #ffffff;
}

.top-bar {
	background: linear-gradient(
		90deg,
		rgba(0, 27, 86, 0.95),
		rgba(255, 0, 77, 0.9)
	);
	color: #ffffff;
}

.navbar {
	background-color: #ffffff;
}

.navbar-brand .navbar-logo img {
	width: 48px;
	height: 48px;
	object-fit: contain;
}

.navbar-nav .nav-link {
	font-weight: 500;
	color: #1f2937;
	padding: 0.75rem 1rem;
}

.navbar-light .navbar-nav .nav-link {
	color: #0f172a;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link:focus,
.navbar-light .navbar-nav .nav-link.active {
	color: var(--primary-color);
}

.navbar-light .navbar-toggler {
	color: #0f172a;
	border-color: rgba(15, 23, 42, 0.15);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus,
.navbar-nav .nav-link.active {
	color: var(--primary-color);
}

.hero-section {
	position: relative;
	background: var(--secondary-color);
	color: #ffffff;
	overflow: hidden;
}

.hero-section .hero-content {
	position: relative;
	z-index: 2;
	padding: 6rem 0 4rem;
}

.hero-section::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(
		135deg,
		rgba(16, 23, 42, 0.75),
		rgba(255, 0, 77, 0.55)
	);
	z-index: 1;
}

.hero-section .hero-slide-bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	z-index: 0;
	transform: scale(1.05);
	transition: transform 8s ease-in-out;
}

.hero-section .carousel-item.active .hero-slide-bg {
	transform: scale(1);
}

.hero-carousel .carousel-indicators button {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	border: none;
	background-color: rgba(255, 255, 255, 0.5);
}

.hero-carousel .carousel-indicators .active {
	background-color: #ffffff;
}

.hero-carousel .carousel-control-prev-icon,
.hero-carousel .carousel-control-next-icon {
	filter: invert(1);
}

.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
	width: 6%;
}

.stats-card {
	background: #ffffff;
	border-radius: 1.25rem;
	box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
	padding: 2.5rem 1rem;
	text-align: center;
}

.stats-card h3 {
	font-size: 2.75rem;
	font-weight: 700;
	color: var(--primary-color);
}

.feature-card {
	border-radius: 1.25rem;
	padding: 2rem;
	background: #ffffff;
	box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
	height: 100%;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 25px 45px rgba(15, 23, 42, 0.1);
}

.feature-card .feature-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: rgba(255, 0, 77, 0.08);
	color: var(--primary-color);
	font-size: 1.5rem;
	margin-bottom: 1rem;
}

.section-heading {
	font-weight: 700;
	color: #16213e;
	margin-bottom: 0.75rem;
}

.section-subtitle {
	color: #6b7280;
	max-width: 720px;
}

.program-card {
	border-radius: 1.25rem;
	padding: 2.25rem 2rem;
	background: #ffffff;
	box-shadow: 0 16px 35px rgba(15, 23, 42, 0.08);
	height: 100%;
	position: relative;
	overflow: hidden;
}

.program-card::after {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(
		circle at top right,
		rgba(255, 0, 77, 0.18),
		transparent 55%
	);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.program-card:hover::after {
	opacity: 1;
}

.program-card h5 {
	font-weight: 700;
	color: #0f172a;
}

.program-card p {
	color: #64748b;
}

.news-card {
	border-radius: 1.25rem;
	overflow: hidden;
	background: #ffffff;
	box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
	height: 100%;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 30px 50px rgba(15, 23, 42, 0.12);
}

.news-card img {
	width: 100%;
	height: 220px;
	object-fit: cover;
}

.news-card .news-body {
	padding: 1.5rem;
}

.news-card .news-meta {
	font-size: 0.85rem;
	color: #94a3b8;
}

.announcement-item {
	border-left: 4px solid var(--primary-color);
	border-radius: 1rem;
	background: #ffffff;
	padding: 1.5rem;
	margin-bottom: 1.5rem;
	box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.gallery-item {
	border-radius: 1rem;
	overflow: hidden;
	box-shadow: 0 20px 35px rgba(15, 23, 42, 0.08);
	position: relative;
}

.gallery-item img {
	width: 100%;
	height: 230px;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.gallery-item:hover img {
	transform: scale(1.05);
}

.gallery-item .gallery-caption {
	position: absolute;
	inset: auto 0 0 0;
	background: linear-gradient(0deg, rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0));
	color: #ffffff;
	padding: 1.25rem;
}

.download-card {
	border-radius: 1rem;
	border: 1px solid rgba(15, 23, 42, 0.08);
	padding: 1.5rem;
	background: #ffffff;
	transition: border-color 0.3s ease, transform 0.3s ease;
}

.download-card:hover {
	border-color: var(--primary-color);
	transform: translateY(-5px);
}

.site-footer {
	background: #0f172a;
	color: #ffffff;
}

.site-footer .footer-links li {
	margin-bottom: 0.5rem;
}

.site-footer .footer-links a {
	text-decoration: none;
	color: #cbd5f5;
}

.site-footer .footer-links a:hover {
	color: #ffffff;
}

.cta-box {
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.15);
}

.badge-soft-primary {
	background: rgba(255, 0, 77, 0.12);
	color: var(--primary-color);
}

.text-gradient {
	background: linear-gradient(135deg, var(--primary-color), #f97316);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}
.text-white-75 {
	color: rgba(255, 255, 255, 0.75) !important;
}

.btn-primary {
	background-color: var(--primary-color);
	border-color: var(--primary-color);
}

.btn-primary:hover,
.btn-primary:focus {
	background-color: #d10041;
	border-color: #d10041;
}

.bottom-nav {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	background: #ffffff;
	box-shadow: 0 -6px 20px rgba(15, 23, 42, 0.12);
	display: flex;
	justify-content: space-around;
	padding: 0.35rem 0.75rem env(safe-area-inset-bottom);
	z-index: 1030;
}

.bottom-nav-link {
	text-decoration: none;
	color: #0f172a;
	font-size: 0.75rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.15rem;
	padding: 0.35rem 0.4rem;
	border-radius: 0.75rem;
	flex: 1 1 auto;
	text-align: center;
}

.bottom-nav-link i {
	font-size: 1.3rem;
}

.bottom-nav-link:focus,
.bottom-nav-link:hover {
	color: var(--primary-color);
	background: rgba(255, 0, 77, 0.08);
}

.article-content img {
	max-width: 100%;
	height: auto;
	border-radius: 0.75rem;
	margin: 1.25rem 0;
	box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
}

.article-content p {
	margin-bottom: 1.25rem;
}

.article-content ul,
.article-content ol {
	padding-left: 1.5rem;
	margin-bottom: 1.25rem;
}

.article-content blockquote {
	border-left: 4px solid var(--primary-color);
	padding-left: 1rem;
	margin: 1.5rem 0;
	color: #1f2937;
	font-style: italic;
	background: rgba(255, 0, 77, 0.05);
}

@media (max-width: 991.98px) {
	.navbar-nav .nav-link {
		padding-left: 0;
	}

	.navbar-nav .btn {
		margin: 1rem 0 0;
		width: fit-content;
	}

	body {
		padding-bottom: 70px;
	}

	.stats-card {
		margin-bottom: 1.5rem;
	}

	.hero-section .hero-content {
		padding: 4.5rem 0 3.5rem;
	}
}

@media (max-width: 575.98px) {
	.hero-section .hero-content {
		padding: 10px;
	}
}

@media (min-width: 992px) {
	.bottom-nav {
		display: none;
	}

	body {
		padding-bottom: 0;
	}
}
