Modern Typography & Base Styles
:root {
	--font-primary: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	--color-text: #1a1a1a;
	--color-text-muted: #6b7280;
	--color-border: #e5e7eb;
	--spacing-base: 1rem;
	--border-radius: 8px;
	--transition: all 0.2s ease;
	/* --weight-medium: 700; */
}

/* Apply modern font to entire site */
body {
	font-family: var(--font-primary);
	font-weight: 500;
	line-height: 1.6;
	color: var(--color-text);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* Typography improvements */
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-primary);
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: -0.02em;
	color: var(--color-text);
}

h1 { font-size: 2.25rem; font-weight: 700; }
h2 { font-size: 1.875rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
	margin-bottom: 1rem;
	color: var(--color-text);
}

.web-footer {
    padding: 1rem 0;
}

/* Burger Menu Icon */
.burger-menu {
	border: none;
	background: transparent;
	padding: 0.5rem;
	cursor: pointer;
	outline: none;
}

.burger-menu-icon {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	width: 24px;
	height: 18px;
	position: relative;
}

.burger-menu-icon span {
	display: block;
	height: 2px;
	width: 100%;
	background-color: #1a1a1a;
	border-radius: 2px;
	transition: all 0.3s ease;
}

.burger-menu:hover .burger-menu-icon span {
	background-color: #2563eb;
}

.burger-menu[aria-expanded="true"] .burger-menu-icon span:nth-child(1) {
	transform: rotate(45deg) translate(6px, 6px);
}

.burger-menu[aria-expanded="true"] .burger-menu-icon span:nth-child(2) {
	opacity: 0;
}

.burger-menu[aria-expanded="true"] .burger-menu-icon span:nth-child(3) {
	transform: rotate(-45deg) translate(6px, -6px);
}

/* Modern buttons (subtle enhancement) */
.btn {
	font-family: var(--font-primary);
	font-weight: 500;
	border-radius: var(--border-radius);
	transition: var(--transition);
	letter-spacing: 0.01em;
}

.btn-primary {
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* .btn-primary:hover {
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
	transform: translateY(-1px);
}

.btn-outline-secondary:hover {
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
	transform: translateY(-1px);
} */

/* Navbar */
.navbar-brand img {
	display: inline-block;
	max-width: 150px;
	max-height: 30px;
}

/* Links */
a {
	color: #3b82f6;
	text-decoration: none;
	transition: var(--transition);
}

a:hover {
	color: #2563eb;
	text-decoration: underline;
}

/* Breadcrumbs */
.breadcrumb {
	font-size: 0.875rem;
	color: var(--color-text-muted);
	margin-bottom: 1.5rem;
}

.breadcrumb a {
	color: var(--color-text-muted);
}

.breadcrumb a:hover {
	color: var(--color-text);
}

/* Cards */
.card {
	border-radius: var(--border-radius);
	border: 1px solid var(--color-border);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
	transition: var(--transition);
}

.card:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Tables */
.table {
	font-family: var(--font-primary);
}

.table thead th {
	font-weight: 600;
	text-transform: none;
	letter-spacing: 0.01em;
	border-bottom: 2px solid var(--color-border);
}

/* Responsive improvements */
@media (max-width: 767px) {
	h1 { font-size: 1.75rem; }
	h2 { font-size: 1.5rem; }
	h3 { font-size: 1.25rem; }
	
	.wave-sidebar {
		min-height: auto;
	}

	.page_content, 
	.page-content-wrapper .container .page_content,
	[data-doctype="Web Form"] .page-content-wrapper .container .page_content,
	.page-content-wrapper .container {
		padding: 0;
	}

}

.navbar .navbar-nav .nav-item.active {
	border:none;
}

.navbar .navbar-nav .nav-item.active a,
.sidebar-item a.active-link {
    font-weight: 800;
}

.navbar .navbar-nav .nav-link,
.sidebar-item a,
.navbar-brand span {
	font-size: var(--text-lg);
    font-weight: var(--weight-medium);
    letter-spacing: 0.015em;
    color: var(--text-color);
}

.avatar-frame.standard-image {
    background-color: var(--color-border) !important;
    color: var(--color-text) !important;
}

/* Training Programs Section */
.training-programs-section {
	padding: 0;
}

.training-program-card {
	position: relative;
	overflow: hidden;
	transition: var(--transition);
	/* border: 1px solid var(--color-border) !important; */
}

.training-program-card:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
	transform: translateY(-2px);
}

.program-color-indicator {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	width: 100%;
	z-index: 1;
}

.training-program-card .card-title {
	font-size: 1.25rem;
	font-weight: 600;
	color: var(--color-text);
	margin-top: 0;
	letter-spacing: -0.01em;
}

.training-program-card .card-text {
	font-size: 0.9375rem;
	line-height: 1.6;
	color: var(--color-text-muted);
	min-height: 3rem;
}

.letter-spacing-sm {
	letter-spacing: 0.05em;
}

/* Enrolled Program Cards */
.enrolled-program-card {
	position: relative;
	overflow: hidden;
	transition: var(--transition);
}

.enrolled-program-card:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
	transform: translateY(-2px);
}

.enrolled-program-card .card-title {
	font-size: 1.25rem;
	font-weight: 600;
	color: var(--color-text);
	margin-top: 0;
	letter-spacing: -0.01em;
}

/* .enrolled-program-card .badge {
	font-size: 0.75rem;
	font-weight: 500;
	padding: 0.375rem 0.75rem;
} */

/* Service History Cards */
.service-history-card {
	position: relative;
	overflow: hidden;
	transition: var(--transition);
}

.service-history-card:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
	transform: translateY(-2px);
}

.service-history-card .card-title {
	font-size: 1.25rem;
	font-weight: 600;
	color: var(--color-text);
	margin-top: 0;
	letter-spacing: -0.01em;
}

.service-history-card .service-details {
	border-top: 1px solid #e5e7eb;
}

.service-history-card .badge {
	font-size: 0.75rem;
	font-weight: 500;
	padding: 0.375rem 0.75rem;
}

.empty-state-section {
	min-height: 150px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.enrolled-program-card .card-text {
	font-size: 0.9375rem;
	line-height: 1.6;
	color: var(--color-text-muted);
}

/* Empty State */
.empty-state {
	padding: 3rem 1rem;
}

.empty-state h3 {
	color: var(--color-text);
	font-weight: 600;
}

.empty-state p {
	max-width: 500px;
	margin: 0 auto;
}

/* Portal Landing Page Styles */
.portal-landing {
	padding: 0;
}

/* Hero Section */
.hero-section {
	/* background: linear-gradient(to bottom right, #ffffff, #f8f9fa); */
	border-radius: 16px;
}

.avatar-placeholder {
	width: 176px;
	height: 176px;
	background: linear-gradient(to bottom right, #e0f2fe, #ffffff);
	/* border: 1px solid #e5e7eb; */
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #1f2937;
}

@media (max-width: 767px) {
	.avatar-placeholder {
		width: 140px;
		height: 140px;
	}
}

/* Portal Landing Section */
.portal-landing-section {
	margin-bottom: 5.5rem;
}

.portal-landing-section-title {
	color: var(--color-text);
	margin-top: 0;
}

/* Gradient Button */
.btn-gradient {
	background: linear-gradient(to right, #6366f1, #3b82f6);
	border: none;
	color: white;
}

.btn-gradient:hover {
	background: linear-gradient(to right, #4f46e5, #2563eb);
	color: white;
	/* transform: translateY(-1px); */
	box-shadow: 0 4px 8px rgba(59, 130, 246, 0.2);
}

/* Snapshot */
.snapshot-item {
	border-radius: var(--border-radius) !important;
	background: #f8f9fa !important;
	padding: 0.5rem 1rem !important;
}

.snapshot-label {
	font-size: 0.75rem;
	color: #9ca3af;
}

.snapshot-value {
    color: var(--color-text);
    margin-top: -4px;
}

/* Announcements */


/* Event Cards */
.event-card {
	background: linear-gradient(to bottom right, #ffffff, #f8f9fa);
}

/* Verse Card */
.verse-card {
	background: #eff6ff;
	border: 1px solid #bfdbfe !important;
}

.verse-card blockquote {
	font-size: 0.9375rem;
	line-height: 1.6;
	font-style: italic;
}

/* Responsive adjustments for training programs */
@media (max-width: 767px) {
	.training-programs-section {
		padding: 0;
	}
	
	.training-program-card .card-text {
		min-height: auto;
	}
	
	.empty-state {
		padding: 2rem 1rem;
	}

	.hero-section .card-body {
		padding: 1.5rem !important;
	}

	.hero-section h1 {
		font-size: 2rem;
	}
}
