/* ===== APPLY ONLINE PAGE STYLES ===== */

/* --- Page Banner --- */
.apply-banner {
	position: relative;
	background: linear-gradient(135deg, var(--color-primary-bg) 0%, #5c1a18 100%);
	padding: 120px 0 60px;
	color: #fff;
	overflow: hidden;
}

.apply-banner::before {
	content: "";
	position: absolute;
	top: -50%;
	right: -10%;
	width: 500px;
	height: 500px;
	background: radial-gradient(
		circle,
		rgba(244, 197, 66, 0.12) 0%,
		transparent 70%
	);
	border-radius: 50%;
	pointer-events: none;
}

.apply-banner::after {
	content: "";
	position: absolute;
	bottom: -30%;
	left: -5%;
	width: 350px;
	height: 350px;
	background: radial-gradient(
		circle,
		rgba(255, 255, 255, 0.06) 0%,
		transparent 70%
	);
	border-radius: 50%;
	pointer-events: none;
}

.banner-content {
	position: relative;
	z-index: 2;
}

.banner-content h1 {
	font-size: clamp(32px, 5vw, 52px);
	font-weight: 800;
	margin: 12px 0 16px;
	line-height: 1.15;
}

.banner-tagline {
	font-size: clamp(16px, 2.2vw, 22px);
	font-weight: 300;
	opacity: 0.9;
	max-width: 650px;
	line-height: 1.5;
}

/* --- Breadcrumb --- */
.breadcrumb-list {
	gap: 8px;
	flex-wrap: wrap;
	font-size: 14px;
}

.breadcrumb-list li {
	display: flex;
	align-items: center;
	gap: 8px;
}

.breadcrumb-list li + li::before {
	content: "/";
	opacity: 0.5;
}

.breadcrumb-list li a {
	color: rgba(255, 255, 255, 0.75);
	transition: color 0.2s;
}

.breadcrumb-list li a:hover {
	color: var(--color-cta-bg);
}

.breadcrumb-list li.active span {
	color: #fff;
	font-weight: 500;
}

/* ===== WHY BRD SECTION ===== */
.apply-why-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 28px;
}

.apply-why-card {
	background: #fff;
	border-radius: 16px;
	padding: 32px 24px;
	text-align: center;
	border: 1px solid #eee;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.apply-why-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 28px rgba(139, 46, 43, 0.1);
}

.apply-why-icon {
	width: 72px;
	height: 72px;
	background: rgba(139, 46, 43, 0.08);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 18px;
	color: var(--color-primary-bg);
}

.apply-why-card h3 {
	font-size: 18px;
	font-weight: 700;
	color: #1a1a1a;
	margin-bottom: 10px;
}

.apply-why-card p {
	font-size: 15px;
	color: #555;
	line-height: 1.6;
}

/* ===== PROGRAMMES GRID ===== */
.apply-prog-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.apply-prog-card {
	background: #fff;
	border-radius: 14px;
	padding: 28px 24px;
	display: flex;
	align-items: center;
	gap: 18px;
	border: 1px solid #eee;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
	text-decoration: none;
	color: inherit;
}

.apply-prog-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 24px rgba(139, 46, 43, 0.12);
	border-color: var(--color-primary-bg);
}

.apply-prog-icon {
	flex-shrink: 0;
	width: 60px;
	height: 60px;
	background: rgba(139, 46, 43, 0.08);
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--color-primary-bg);
	transition: background 0.25s ease;
}

.apply-prog-card:hover .apply-prog-icon {
	background: var(--color-primary-bg);
	color: #fff;
}

.apply-prog-card:hover .apply-prog-icon svg {
	fill: #fff;
}

.apply-prog-card h4 {
	font-size: 17px;
	font-weight: 700;
	color: #1a1a1a;
	margin-bottom: 4px;
}

.apply-prog-courses {
	font-size: 14px;
	color: #777;
	font-weight: 500;
}

/* ===== ADMISSION HIGHLIGHTS ===== */
.apply-highlights {
	background: #fff;
}

.apply-highlights-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}

.apply-hl-card {
	text-align: center;
	padding: 28px 20px;
	border-radius: 14px;
	border: 1px solid #eee;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.apply-hl-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 24px rgba(139, 46, 43, 0.1);
}

.apply-hl-icon {
	width: 64px;
	height: 64px;
	background: rgba(139, 46, 43, 0.08);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 14px;
	color: var(--color-primary-bg);
}

.apply-hl-card h4 {
	font-size: 17px;
	font-weight: 700;
	color: #1a1a1a;
	margin-bottom: 6px;
}

.apply-hl-card p {
	font-size: 15px;
	color: #555;
	line-height: 1.5;
}

/* ===== APPLICATION FORM SECTION ===== */
.apply-form-section {
	background: url("/assets/img/hero_fallback.webp") center/cover no-repeat fixed;
	position: relative;
}

.apply-form-section::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(139, 46, 43, 0.85);
	z-index: 0;
}

.apply-form-section > .container {
	position: relative;
	z-index: 1;
}

.apply-form-wrapper {
	display: grid;
	grid-template-columns: 1fr 1.15fr;
	gap: 48px;
	align-items: start;
}

.apply-form-info h2 {
	font-size: clamp(28px, 4vw, 42px);
	font-weight: 800;
	color: #fff;
	line-height: 1.2;
	margin-bottom: 16px;
}

.apply-form-info > p {
	font-size: 16px;
	color: rgba(255, 255, 255, 0.88);
	line-height: 1.7;
	margin-bottom: 32px;
}

/* --- Admission Steps --- */
.apply-steps {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.apply-step {
	display: flex;
	gap: 18px;
	align-items: flex-start;
}

.apply-step-number {
	flex-shrink: 0;
	width: 44px;
	height: 44px;
	background: linear-gradient(135deg, var(--color-cta-bg) 0%, #e0a825 100%);
	color: #1a1a1a;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	font-weight: 700;
}

.apply-step h4 {
	font-size: 16px;
	font-weight: 700;
	color: #fff;
	margin-bottom: 4px;
}

.apply-step p {
	font-size: 14px;
	color: rgba(255, 255, 255, 0.8);
	line-height: 1.5;
}

/* --- Form Card --- */
.apply-form-card {
	background: #fff;
	border-radius: 18px;
	padding: 28px 30px;
	border: 1px solid #eee;
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.6);
}

.apply-form-card h3 {
	font-size: 21px;
	font-weight: 700;
	color: var(--color-primary-bg);
	margin-bottom: 18px;
	padding-bottom: 12px;
	border-bottom: 2px solid rgba(139, 46, 43, 0.12);
}

.apply-form .form-group {
	margin-bottom: 14px;
}

.apply-form label {
	display: block;
	font-size: 14px;
	font-weight: 600;
	color: #333;
	margin-bottom: 6px;
}

.apply-form .req {
	color: #e74c3c;
}

.apply-form input,
.apply-form select,
.apply-form textarea {
	width: 100%;
	padding: 10px 14px;
	font-size: 14.5px;
	border: 1px solid #ddd;
	border-radius: 10px;
	background: #fafafa;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	font-family: inherit;
	color: #333;
	box-sizing: border-box;
}

.apply-form input:focus,
.apply-form select:focus,
.apply-form textarea:focus {
	outline: none;
	border-color: var(--color-primary-bg);
	box-shadow: 0 0 0 3px rgba(139, 46, 43, 0.1);
	background: #fff;
}

.apply-form .form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.apply-form textarea {
	resize: vertical;
	min-height: 68px;
}

.submit-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 12px 36px;
	font-size: 15px;
	border-radius: 10px;
	cursor: pointer;
	width: 100%;
	justify-content: center;
	border: none;
}

.submit-btn:hover {
	transform: translateY(-2px);
}

.submit-btn:active {
	transform: translateY(0);
}

.form-disclaimer {
	font-size: 12.5px;
	color: #888;
	margin-top: 10px;
	text-align: center;
	line-height: 1.5;
}

.form-disclaimer a {
	color: var(--color-primary-bg);
	font-weight: 500;
	text-decoration: underline;
}

/* ===== HELPLINE SECTION ===== */
.helpline-section {
	background: linear-gradient(135deg, var(--color-primary-bg) 0%, #5c1a18 100%);
	padding: 60px 0;
	color: #fff;
}

.helpline-inner {
	text-align: center;
}

.helpline-text h2 {
	font-size: clamp(26px, 3.5vw, 38px);
	font-weight: 800;
	margin-bottom: 10px;
}

.helpline-text p {
	font-size: 17px;
	opacity: 0.85;
	max-width: 550px;
	margin: 0 auto 40px;
	line-height: 1.6;
}

.helpline-cards {
	gap: 24px;
	justify-content: center;
}

.helpline-card {
	background: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: 16px;
	padding: 32px 28px;
	text-align: center;
	min-width: 240px;
	flex: 1;
	max-width: 320px;
	transition: transform 0.25s ease, background 0.25s ease;
}

.helpline-card:hover {
	transform: translateY(-4px);
	background: rgba(255, 255, 255, 0.16);
}

.helpline-card-icon {
	width: 64px;
	height: 64px;
	background: rgba(244, 197, 66, 0.2);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 16px;
}

.helpline-card h3 {
	font-size: 18px;
	font-weight: 700;
	margin-bottom: 12px;
}

.helpline-card a {
	display: block;
	font-size: 15px;
	color: var(--color-cta-bg);
	font-weight: 500;
	margin-top: 6px;
	transition: color 0.2s;
}

.helpline-card a:hover {
	color: #fff;
	text-decoration: underline;
}

/* ===== CTA SECTION ===== */
.overview-cta {
	background: linear-gradient(135deg, var(--color-primary-bg) 0%, #5c1a18 100%);
	padding: 60px 0;
}

.cta-content {
	gap: 30px;
}

.cta-text h2 {
	font-size: clamp(26px, 3.5vw, 36px);
	font-weight: 800;
	color: #fff;
	margin-bottom: 10px;
}

.cta-text p {
	font-size: 17px;
	color: rgba(255, 255, 255, 0.85);
}

.cta-actions {
	gap: 16px;
	flex-shrink: 0;
}

.overview-cta .cta-btn.apply {
	padding: 14px 36px;
	font-size: 16px;
	border-radius: 10px;
	display: inline-block;
}

.cta-btn-outline {
	display: inline-block;
	padding: 14px 36px;
	font-size: 16px;
	font-weight: 600;
	border-radius: 10px;
	border: 2px solid rgba(255, 255, 255, 0.6);
	color: #fff;
	transition: all 0.3s ease;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.cta-btn-outline:hover {
	background: rgba(255, 255, 255, 0.15);
	border-color: #fff;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
	.apply-why-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.apply-prog-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.apply-form-wrapper {
		grid-template-columns: 1fr;
		gap: 36px;
	}
}

@media (max-width: 768px) {
	.apply-banner {
		padding: 100px 0 48px;
	}
	.apply-highlights-grid {
		grid-template-columns: 1fr 1fr;
		gap: 16px;
	}
	.apply-why-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.apply-prog-grid {
		grid-template-columns: 1fr;
	}

	.apply-form .form-row {
		grid-template-columns: 1fr;
	}

	.apply-form-card {
		padding: 24px 20px;
	}

	.helpline-cards {
		flex-direction: column;
		align-items: center;
	}

	.helpline-card {
		max-width: 100%;
		min-width: unset;
	}

	.helpline-section {
		padding: 40px 0;
	}

	.overview-cta .cta-content {
		flex-direction: column;
		text-align: center;
	}

	.overview-cta .cta-actions {
		justify-content: center;
	}
}

@media (max-width: 480px) {
	.apply-why-card {
		padding: 24px 18px;
	}

	.submit-btn {
		width: 100%;
	}

	.apply-step {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}
}