/**
 * Education Department Styles
 *
 * @package Novira_Academy
 */

/* Department Hero */
.department-hero {
	position: relative;
	min-height: 60vh;
	display: flex;
	align-items: center;
	padding: 120px 0 80px;
	overflow: hidden;
}

.hero-background {
	position: absolute;
	top: 0;
	inset-inline-end: 0;
	width: 100%;
	height: 100%;
	z-index: -1;
}

.hero-bg-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero-overlay {
	position: absolute;
	top: 0;
	inset-inline-end: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, rgba(91, 20, 230, 0.9) 0%, rgba(33, 150, 243, 0.8) 100%);
}

.breadcrumbs {
	margin-bottom: 2rem;
}

.breadcrumbs-list {
	display: flex;
	list-style: none;
	padding: 0;
	margin: 0;
	gap: 0.5rem;
	font-size: 0.875rem;
}

.breadcrumbs-list a {
	color: rgba(255, 255, 255, 0.8);
	text-decoration: none;
	transition: color 0.2s ease;
}

.breadcrumbs-list a:hover {
	color: white;
}

.breadcrumbs-list li:not(:last-child)::after {
	content: '/';
	margin-inline-end: 0.5rem;
	color: rgba(255, 255, 255, 0.6);
}

.breadcrumbs-list li:last-child {
	color: white;
}

.department-badge {
	display: inline-block;
	padding: 0.5rem 1rem;
	background: rgba(255, 255, 255, 0.15);
	border-radius: 100px;
	font-size: 0.875rem;
	font-weight: 500;
	color: white;
	margin-bottom: 1.5rem;
	backdrop-filter: blur(10px);
}

.department-title {
	font-family: var(--font-display);
	font-size: clamp(2rem, 5vw, 3.5rem);
	font-weight: 700;
	color: white;
	margin-bottom: 1rem;
	line-height: 1.2;
}

.department-description {
	font-size: 1.125rem;
	color: rgba(255, 255, 255, 0.9);
	margin-bottom: 2rem;
	max-width: 600px;
	line-height: 1.6;
}

.department-actions {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
}

/* Programs Section */
.programs-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2rem;
	margin-bottom: 4rem;
}

.program-card {
	background: white;
	border-radius: var(--radius-lg);
	padding: 2rem;
	box-shadow: var(--shadow-sm);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	border: 1px solid var(--gray-100);
}

.program-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-lg);
}

.program-header {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	margin-bottom: 1.5rem;
}

.program-icon {
width: 60px;
height: 60px;
	background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
border-radius: var(--radius-lg);
display: flex;
align-items: center;
justify-content: center;
color: white;
flex-shrink: 0;
}

.program-title {
font-family: var(--font-display);
font-size: 1.25rem;
font-weight: 700;
color: var(--gray-900);
margin: 0;
line-height: 1.3;
}

.program-content {
margin-bottom: 1.5rem;
}

.program-description {
color: var(--gray-600);
line-height: 1.6;
margin-bottom: 1rem;
}

.program-duration {
display: flex;
align-items: center;
gap: 0.5rem;
color: var(--primary);
font-weight: 500;
margin-bottom: 1rem;
}

.program-requirements h4 {
font-size: 0.875rem;
font-weight: 600;
color: var(--gray-700);
margin-bottom: 0.5rem;
}

.program-requirements ul {
list-style: none;
padding: 0;
margin: 0;
}

.program-requirements li {
position: relative;
padding-inline-end: 1.25rem;
margin-bottom: 0.5rem;
color: var(--gray-600);
font-size: 0.875rem;
}

.program-requirements li::before {
content: '';
position: absolute;
inset-inline-end: 0;
top: 0.5rem;
width: 6px;
height: 6px;
background: var(--primary);
border-radius: 50%;
}

.program-footer {
padding-top: 1.5rem;
border-top: 1px solid var(--gray-100);
}

/* Courses Section */
.courses-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 1.5rem;
}

.course-card {
background: white;
border-radius: var(--radius-lg);
padding: 1.5rem;
box-shadow: var(--shadow-sm);
transition: transform 0.3s ease, box-shadow 0.3s ease;
border: 1px solid var(--gray-100);
}

.course-card:hover {
transform: translateY(-2px);
box-shadow: var(--shadow-md);
}

.course-header {
display: flex;
align-items: flex-start;
gap: 1rem;
margin-bottom: 1rem;
}

.course-icon {
width: 48px;
height: 48px;
background: var(--gray-100);
border-radius: var(--radius-md);
display: flex;
align-items: center;
justify-content: center;
color: var(--primary);
flex-shrink: 0;
}

.course-title {
font-family: var(--font-display);
font-size: 1.125rem;
font-weight: 600;
color: var(--gray-900);
margin: 0;
line-height: 1.3;
}

.course-content {
margin-bottom: 1.5rem;
}

.course-description {
color: var(--gray-600);
line-height: 1.6;
margin-bottom: 1rem;
font-size: 0.9375rem;
}

.course-schedule {
display: flex;
align-items: center;
gap: 0.5rem;
color: var(--gray-500);
font-size: 0.875rem;
}

.course-schedule svg {
color: var(--secondary);
}

.course-footer {
padding-top: 1rem;
border-top: 1px solid var(--gray-100);
}

/* Admission Details */
.admission-content {
display: grid;
grid-template-columns: 2fr 1fr;
gap: 3rem;
align-items: start;
}

.admission-steps {
background: white;
border-radius: var(--radius-lg);
padding: 2rem;
box-shadow: var(--shadow-sm);
}

.steps-title {
font-family: var(--font-display);
font-size: 1.25rem;
font-weight: 700;
color: var(--gray-900);
margin-bottom: 1.5rem;
}

.steps-list {
list-style: none;
padding: 0;
margin: 0;
counter-reset: step;
}

.step-item {
display: flex;
gap: 1.5rem;
margin-bottom: 2rem;
position: relative;
}

.step-item:not(:last-child)::after {
content: '';
position: absolute;
left: 19px;
top: 40px;
bottom: -20px;
width: 2px;
background: var(--gray-200);
}

.step-number {
width: 40px;
height: 40px;
background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
color: white;
font-weight: 600;
flex-shrink: 0;
}

.step-content {
flex: 1;
}

.step-title {
font-weight: 600;
color: var(--gray-900);
margin-bottom: 0.5rem;
}

.step-description {
color: var(--gray-600);
font-size: 0.9375rem;
line-height: 1.6;
}

.admission-info {
background: white;
border-radius: var(--radius-lg);
padding: 2rem;
box-shadow: var(--shadow-sm);
}

.info-title {
font-family: var(--font-display);
font-size: 1.25rem;
font-weight: 700;
color: var(--gray-900);
margin-bottom: 1.5rem;
}

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

.info-list li {
display: flex;
align-items: flex-start;
gap: 0.75rem;
margin-bottom: 1rem;
color: var(--gray-700);
font-size: 0.9375rem;
}

.info-list svg {
color: var(--success);
flex-shrink: 0;
margin-top: 0.125rem;
}

/* Department WhatsApp CTA */
.department-whatsapp .cta-content {
text-align: center;
background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
border-radius: var(--radius-xl);
padding: 4rem 2rem;
color: white;
}

.department-whatsapp .cta-icon {
margin-bottom: 1.5rem;
opacity: 0.9;
}

.department-whatsapp .cta-title {
font-family: var(--font-display);
font-size: clamp(1.5rem, 3vw, 2rem);
font-weight: 700;
margin-bottom: 1rem;
}

.department-whatsapp .cta-text {
font-size: 1.125rem;
opacity: 0.9;
margin-bottom: 2rem;
max-width: 500px;
margin-inline-end: auto;
margin-inline-start: auto;
}

/* Responsive */
@media (max-width: 768px) {
	.department-hero {
		min-height: 50vh;
		padding: 100px 0 60px;
	}

	.department-actions {
		flex-direction: column;
	}

	.department-actions .btn {
		width: 100%;
		justify-content: center;
	}

	.programs-grid,
	.courses-grid {
		grid-template-columns: 1fr;
	}

	.admission-content {
		grid-template-columns: 1fr;
		gap: 2rem;
	}
}
