/* COMPUTER SCIENCE TEST SERIES PAGE */

/* MAIN PAGE WRAPPER */

.test-series-page {
	width: 100%;
}


/* SECTION INTRODUCTION */

.test-series-section-intro {
	width: 100%;
	max-width: 100%;
	margin-left: auto;
	margin-right: auto;
}

.test-series-section-intro p {
	width: 100%;
	margin-bottom: 15px;
	line-height: 1.8;
	color: #555;
}

.test-series-section-intro p:last-child {
	margin-bottom: 0;
}

/* CUSTOM SECTION TITLE */

.custom-section-title {
	text-align: center;
	width: 100%;
}

.custom-section-title .title {
	position: relative;
	display: inline-block;
	color: #333;
}

.custom-section-title .title:after {
	content: '';
	width: 80px;
	height: 3px;
	background: #f58634;
	display: block;
	margin: 12px auto 0;
	border-radius: 10px;
}

/* TEST SERIES STATISTICS */

.test-series-stat-box {
	width: 100%;
	background: #fff;
	border: 1px solid #ebebeb;
	border-radius: 12px;
	padding: 25px 15px;
	margin-bottom: 15px;
	text-align: center;
	min-height: 155px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 10px rgba(0, 0, 0, .05);
	transition:
		transform .3s ease,
		border-color .3s ease,
		box-shadow .3s ease;
}

.test-series-stat-box:hover {
	transform: translateY(-5px);
	border-color: #f58634;
	box-shadow: 0 8px 20px rgba(0, 0, 0, .12);
}

/* STATISTICS ICON */

.test-series-stat-icon {
	width: 52px;
	height: 52px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 12px;
	border-radius: 50%;
	background: #fff3e9;
	color: #f58634;
	font-size: 22px;
	border: 1px solid rgba(245, 134, 52, .18);
	transition: all .3s ease;
}

.test-series-stat-box:hover .test-series-stat-icon {
	background: #f58634;
	color: #fff;
	transform: scale(1.05);
}

/* STATISTICS TITLE */

.test-series-stat-box h3 {
	margin: 0 0 5px;
	color: #822e2f;
	font-size: 25px;
	font-weight: 700;
	line-height: 1.3;
}

/* STATISTICS DESCRIPTION */

.test-series-stat-box p {
	margin: 0;
	color: #666;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.5;
}

/* AVAILABLE TEST SERIES */

.test-series-card-link {
	display: block;
	width: 100%;
	height: 100%;
	color: inherit;
	text-decoration: none;
}
.test-series-card-link:hover {
	color: inherit;
	text-decoration: none;
}

/* TEST SERIES CARD */

.test-series-card {
	position: relative;
	width: 100%;
	height: 100%;
	min-height: 335px;
	padding: 32px 32px 26px;
	background: #fff;
	border: 1px solid #e7e7e7;
	border-radius: 16px;
	display: flex;
	flex-direction: column;
	text-align: center;
	overflow: hidden;
	box-shadow: 0 4px 16px rgba(0, 0, 0, .06);
	transition:
		transform .35s ease,
		box-shadow .35s ease,
		border-color .35s ease;
}

/* TOP ORANGE BORDER */

.test-series-card:before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 4px;
	background: #f58634;
}

/* CARD DECORATIVE CIRCLE */

.test-series-card:after {
	content: '';
	position: absolute;
	width: 190px;
	height: 190px;
	right: -100px;
	top: -100px;
	background: rgba(245, 134, 52, .055);
	border-radius: 50%;
	pointer-events: none;
}

/* CARD HOVER */

.test-series-card:hover {
	transform: translateY(-7px);
	border-color: #f58634;
	box-shadow: 0 14px 30px rgba(0, 0, 0, .12);
}

/* CARD TOP */

.test-series-card-top {
	position: relative;
	z-index: 2;
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
}

/* TEST SERIES ICON */

.test-series-icon {
	width: 78px;
	height: 78px;
	margin: 4px auto 17px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fff3e9;
	border: 1px solid rgba(245, 134, 52, .18);
	border-radius: 50%;
	color: #f58634;
	font-size: 31px;
	box-shadow: 0 7px 18px rgba(245, 134, 52, .15);
	transition: all .35s ease;
}
.test-series-card:hover .test-series-icon {
	background: #f58634;
	color: #fff;
	transform: translateY(-3px) scale(1.05);
	box-shadow: 0 9px 22px rgba(245, 134, 52, .28);
}

/* TEST SERIES LABEL */

.test-series-label {
	position: relative;
	z-index: 2;
	display: inline-block;
	padding: 5px 13px;
	margin-bottom: 13px;
	background: #822e2f;
	border-radius: 20px;
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 1px;
	text-transform: uppercase;
}

/* CARD CONTENT */

.test-series-content {
	position: relative;
	z-index: 2;
	width: 100%;
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
}

/* CARD TITLE */

.test-series-content h3 {
	width: 100%;
	max-width: 520px;
	margin: 0 0 13px;
	color: #822e2f;
	font-size: 23px;
	font-weight: 700;
	line-height: 1.4;
	transition: color .3s ease;
}

/* CARD DESCRIPTION */

.test-series-content p {
	width: 100%;
	max-width: 500px;
	margin: 0;
	color: #666;
	font-size: 15px;
	line-height: 1.7;
}

/* CARD FOOTER */

.test-series-card-footer {
	position: relative;
	z-index: 2;
	width: 100%;
	margin-top: 25px;
	padding-top: 17px;
	border-top: 1px solid #eeeeee;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	color: #822e2f;
	font-size: 14px;
	font-weight: 700;
	transition: all .3s ease;
}

/* FOOTER ARROW */

.test-series-card-footer i {
	width: 25px;
	height: 25px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: #fff3e9;
	color: #f58634;
	font-size: 12px;
	transition: all .3s ease;
}


/* FOOTER HOVER */

.test-series-card:hover .test-series-card-footer {
	color: #f58634;
}

.test-series-card:hover .test-series-card-footer i {
	background: #f58634;
	color: #fff;
	transform: translateX(4px);
}

/* WHY TEST SERIES - FEATURE CARDS */

.test-series-feature-card {
	width: 100%;
	height: 100%;
	min-height: 260px;
	background: #fff;
	border: 1px solid #ebebeb;
	border-radius: 12px;
	padding: 30px 25px;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	box-shadow: 0 2px 10px rgba(0, 0, 0, .05);
	transition:
		transform .3s ease,
		border-color .3s ease,
		box-shadow .3s ease;
}

.test-series-feature-card:hover {
	transform: translateY(-7px);
	border-color: #f58634;
	box-shadow: 0 10px 25px rgba(0, 0, 0, .12);
}


/* FEATURE ICON */

.test-series-feature-icon {
	width: 70px;
	height: 70px;
	margin: 0 auto 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: #822e2f;
	color: #fff;
	font-size: 28px;
	transition: all .3s ease;
}
.test-series-feature-card:hover .test-series-feature-icon {
	background: #f58634;
	transform: scale(1.05);
}

/* FEATURE TITLE */

.test-series-feature-card h4 {
	color: #822e2f;
	font-size: 21px;
	font-weight: 700;
	line-height: 1.4;
	margin: 0 0 15px;
}

/* FEATURE DESCRIPTION */

.test-series-feature-card p {
	color: #555;
	font-size: 15px;
	line-height: 1.7;
	margin: 0;
}


/* MORE LEARNING RESOURCES */
.test-series-resource-link {
	display: block;
	width: 100%;
	height: 100%;
	color: inherit;
	text-decoration: none;
}
.test-series-resource-link:hover {
	color: inherit;
	text-decoration: none;
}


/* RESOURCE CARD */

.test-series-resource-card {
	width: 100%;
	height: 100%;
	min-height: 270px;
	padding: 27px 22px;
	background: #fff;
	border: 1px solid #ebebeb;
	border-radius: 12px;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	box-shadow: 0 2px 10px rgba(0, 0, 0, .05);
	transition:
		transform .3s ease,
		border-color .3s ease,
		box-shadow .3s ease;
}
.test-series-resource-card:hover {
	transform: translateY(-6px);
	border-color: #f58634;
	box-shadow: 0 9px 22px rgba(0, 0, 0, .12);
}


/* RESOURCE ICON */

.test-series-resource-icon {
	width: 65px;
	height: 65px;
	margin: 0 auto 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: #f58634;
	color: #fff;
	font-size: 27px;
	flex-shrink: 0;
	transition: all .3s ease;
}
.test-series-resource-card:hover .test-series-resource-icon {
	transform: scale(1.05);
	background: #822e2f;
}


/* RESOURCE TITLE */

.test-series-resource-card h4 {
	width: 100%;
	margin: 0 0 12px;
	color: #822e2f;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.4;
}

/* RESOURCE DESCRIPTION */

.test-series-resource-card p {
	width: 100%;
	margin: 0;
	color: #666;
	font-size: 14px;
	line-height: 1.65;
}

/* TABLET */

@media (max-width: 991px) {
	.test-series-card {
		min-height: 330px;
		padding: 30px 25px 24px;
	}

	.test-series-content h3 {
		font-size: 21px;
	}

	.test-series-feature-card {
		padding: 27px 22px;
	}
}


/* MOBILE */

@media (max-width: 767px) {

	.test-series-section-intro p {
		line-height: 1.7;
	}

	/* Statistics */

	.test-series-stat-box {
		min-height: 145px;
		padding: 20px 12px;
	}

	.test-series-stat-icon {
		width: 48px;
		height: 48px;
		font-size: 20px;
		margin-bottom: 10px;
	}

	.test-series-stat-box h3 {
		font-size: 23px;
	}

	.test-series-stat-box p {
		font-size: 14px;
	}

	/* Test Series Cards */

	.test-series-card {
		min-height: 0;
		padding: 28px 20px 23px;
		border-radius: 14px;
	}

	.test-series-card:hover {
		transform: translateY(-4px);
	}

	.test-series-icon {
		width: 68px;
		height: 68px;
		margin-bottom: 15px;
		font-size: 27px;
	}

	.test-series-label {
		font-size: 9px;
		padding: 5px 12px;
		margin-bottom: 12px;
	}

	.test-series-content h3 {
		font-size: 20px;
		line-height: 1.4;
	}

	.test-series-content p {
		font-size: 14px;
		line-height: 1.65;
	}

	.test-series-card-footer {
		margin-top: 22px;
		padding-top: 15px;
		font-size: 13px;
	}

	/* Features */

	.test-series-feature-card {
		min-height: auto;
		padding: 25px 20px;
	}

	.test-series-feature-icon {
		width: 60px;
		height: 60px;
		font-size: 24px;
		margin-bottom: 17px;
	}

	.test-series-feature-card h4 {
		font-size: 20px;
	}

	.test-series-feature-card p {
		font-size: 14px;
	}

	/* Resources */

	.test-series-resource-card {
		min-height: auto;
		padding: 25px 20px;
	}

	.test-series-resource-icon {
		width: 60px;
		height: 60px;
		font-size: 25px;
	}

	.test-series-resource-card h4 {
		font-size: 19px;
	}

	/* Thank You */

	.test-series-page .thank-you-box {
		padding: 28px 20px;
	}

	.test-series-page .thank-you-box h3 {
		font-size: 21px;
	}

}


/* SMALL MOBILE */

@media (max-width: 480px) {

	.test-series-card {
		padding: 26px 17px 21px;
	}
	.test-series-icon {
		width: 62px;
		height: 62px;
		font-size: 25px;
	}
	.test-series-content h3 {
		font-size: 19px;
	}
	.test-series-content p {
		font-size: 13px;
	}
	.test-series-card-footer {
		font-size: 12px;
	}
	.test-series-card-footer i {
		width: 23px;
		height: 23px;
		font-size: 11px;
	}
	.test-series-resource-card {
		padding: 22px 17px;
	}
}

/* RPSC PROGRAMMER TEST SERIES */

.test-series-info-box {
	width: 100%;
	padding: 35px 35px;
	background: #fff;
	border: 1px solid #ebebeb;
	border-radius: 14px;
	box-shadow: 0 3px 14px rgba(0, 0, 0, .05);
	transition: all .3s ease;
}

.test-series-info-box:hover {
	border-color: #f58634;
	box-shadow: 0 8px 22px rgba(0, 0, 0, .09);
}

.test-series-info-box .custom-section-title {
	margin-bottom: 0;
}
.test-series-info-box .text-block {
	width: 100%;
}
.test-series-info-box p {
	color: #555;
	font-size: 15px;
	line-height: 1.8;
	margin-bottom: 15px;
}
.test-series-info-box p:last-child {
	margin-bottom: 0;
}


/* =========================================================
   RPSC PAPER SECTION SPACING
========================================================= */

.rpsc-programmer-paper-section {
	width: 100%;
}
.rpsc-programmer-paper-intro {
	width: 100%;
	max-width: 100%;
}
.rpsc-programmer-paper-intro p {
	color: #555;
	font-size: 16px;
	line-height: 1.8;
	margin-bottom: 0;
}

/* =========================================================
   RPSC PROGRAMMER MOBILE
========================================================= */

@media (max-width: 767px) {
	.test-series-info-box {
		padding: 28px 20px;
		border-radius: 12px;
	}
	.test-series-info-box p {
		font-size: 14px;
		line-height: 1.7;
	}
	.rpsc-programmer-paper-intro p {
		font-size: 14px;
		line-height: 1.7;
	}

}