@charset "UTF-8";



.program-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 30px;
}

/* Card */
.program-card {
	background: #ffffff;
	padding: 20px 18px;
	border-radius: 16px;
	text-align: center;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
	transition: 0.4s;
}

.program-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Circle / Icon */
.program-icon {
	width: 90px;
	height: 90px;
	margin: 0 auto 20px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #2563eb; /* single brand color */
	color: #fff;
	font-weight: 700;
	font-size: 18px;
}

/* Text */
.program-card h2 {
	font-size: 22px;
	color: #020617;
}

.program-subtitle {
	font-size: 14px;
	color: #475569;
	margin: 6px 0;
}

.program-duration {
	margin: 15px 0;
	font-weight: 600;
	color: #0f172a;
}

/* Button */
.program-btn {
	display: inline-block;
	margin-top: 10px;
	padding: 10px 20px;
	background: #2563eb;
	color: #fff;
	text-decoration: none;
	border-radius: 8px;
	font-weight: 600;
}

.program-btn:hover {
	background: #1d4ed8;
}
/* Section Header */
.program-header {
	max-width: 800px;
	margin: 0 auto 60px;
	text-align: center;
}

.program-header h2 {
	font-size: 38px;
	font-weight: 700;
	margin-bottom: 14px;
	color: #ffffff; /* Add this line */
}

.program-header p {
	font-size: 16px;
	color: #ffffff; /* Changed from #475569 to white */
	line-height: 1.7;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Inter', sans-serif;
}

body {
	background: #f9fafb;
	color: #111827;
}

/* ==================== SECTION WRAPPER ==================== */
.course-section {
	max-width: 1000px;
	margin: 50px auto 100px;
	padding: 0 20px;
}

/* ==================== BACK BUTTON ==================== */
.back-button {
	display: inline-block;
	margin-bottom: 30px;
	text-decoration: none;
	font-weight: 600;
	color: #3b82f6;
	font-size: 14px;
}

/* ==================== COURSE HEADER ==================== */
.course-header {
	background: #ffffff;
	padding: 30px 35px; /* reduced vertical padding */
	border-radius: 16px;
	text-align: center;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
	border: 1px solid #e5e7eb;
	position: relative;
}

/* Badge */
.course-badge {
	width: 70px;
	height: 70px;
	border-radius: 50%;
	margin: 0 auto 15px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 20px;
	border: 3px solid currentColor;
}

/* Title & Subtitle */
.course-title {
	font-size: 30px;
	font-weight: 700;
	margin-bottom: 6px;
}

.course-subtitle {
	font-size: 14px;
	color: #6b7280;
	margin-bottom: 10px;
}

.course-duration {
	display: inline-block;
	background: #fee2e2;
	color: #ef4444;
	padding: 6px 16px;
	border-radius: 9999px;
	font-size: 13px;
	font-weight: 600;
}

/* ==================== HIGHLIGHTS (MODERN CARDS) ==================== */
.course-highlights {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin-top: 25px;
}

.highlight-card {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	padding: 12px 16px;
	min-width: 120px;
	flex: 1 1 120px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: 70px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	transition: 0.3s ease;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
	cursor: default;
}

.highlight-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.highlight-card span {
	font-size: 12px;
	font-weight: 500;
	color: #6b7280;
	margin-bottom: 4px;
}

.highlight-card strong {
	font-size: 14px;
	color: #111827;
}

/* Tooltip on hover for overflow text */
.highlight-card[title]:hover::after {
	content: attr(title);
	position: absolute;
	background: #111827;
	color: #fff;
	padding: 6px 10px;
	border-radius: 6px;
	top: -35px;
	white-space: normal;
	font-size: 12px;
	z-index: 10;
}

/* ==================== APPLY BUTTON ==================== */
.apply-wrapper {
	margin-top: 25px;
}

.apply-btn {
	display: inline-block;
	padding: 12px 38px;
	border-radius: 10px;
	background: linear-gradient(135deg, #ef4444, #f87171);
	color: #fff;
	font-weight: 700;
	font-size: 16px;
	text-decoration: none;
	box-shadow: 0 12px 25px rgba(239, 68, 68, 0.3);
	transition: 0.3s ease;
}

.apply-btn:hover {
	transform: translateY(-3px);
	box-shadow: 0 15px 30px rgba(239, 68, 68, 0.35);
}

/* ==================== CURRICULUM ==================== */
.curriculum-section {
	margin-top: 50px;
}

.curriculum-title {
	font-size: 26px;
	font-weight: 600;
	margin-bottom: 25px;
	color: #111827;
}

.accordion-box {
	background: #fff;
	border-radius: 12px;
	margin-bottom: 18px;
	box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05);
	overflow: hidden;
}

.accordion-title {
	padding: 16px 22px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	cursor: pointer;
	font-weight: 600;
	font-size: 15px;
	background: #f9fafb;
	color: #111827;
}

.accordion-icon {
	transition: 0.3s ease;
}

.accordion-box.active .accordion-icon {
	transform: rotate(180deg);
}

.accordion-body {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.5s ease, padding 0.3s ease;
}

.accordion-box.active .accordion-body {
	max-height: 700px;
	padding: 15px 22px;
}

.accordion-content ul {
	list-style: none;
}

.accordion-content li {
	padding: 8px 0 8px 25px;
	position: relative;
	color: #374151;
	font-size: 14px;
}

.accordion-content li::before {
	content: "✔";
	position: absolute;
	left: 0;
	color: #ef4444;
	font-size: 14px;
}

/* ==================== RESPONSIVE ==================== */
@media ( max-width :768px) {
	.course-title {
		font-size: 26px;
	}
}

@media ( max-width :500px) {
	.highlight-card {
		flex: 1 1 100%;
		height: auto;
		white-space: normal;
	}
}
