.bubble-in,
.hero-btn,
.nav-links ul li,
.nav-links ul li a {
	display: inline-block
}

.hero-btn,
.hero-btn:hover,
.nav-links ul li a {
	color: #fff;
	text-decoration: none
}

.course-col,
.testimonials-col {
	box-sizing: border-box;
	cursor: pointer
}

* {
	margin: 0;
	padding: 0
}

.courses-header {
	background-image: linear-gradient(rgba(0, 0, 0, .5), rgba(50, 50, 50, .5)), url("cources.avif")
}

.header {
	min-height: 100vh;
	width: 100%;
	background-image: linear-gradient(rgba(88, 94, 204, .336), rgba(0, 0, 0, .336)), url("B-header.avif");
	background-position: center;
	background-size: cover;
	position: relative
}

nav {
	display: flex;
	padding: 2% 6%;
	justify-content: space-between;
	align-items: center
}

nav img {
	width: 150px;
	transition: .3s
}

nav img:hover {
	opacity: .7;
	filter: brightness(.8);
	cursor: pointer
}

.nav-links {
	flex: 1;
	text-align: right
}

.Campus,
.course,
.facilities,
.text-box,
h3 {
	text-align: center
}

.nav-links ul li {
	list-style: none;
	padding: 8px 12px;
	position: relative;
	transition: transform .3s, color .3s
}

.nav-links ul li a {
	transition: color .3s;
	font-weight: 500;
	font-size: 15px;
	font-family: sans-serif
}

.nav-links ul li:hover {
	transform: rotateX(30deg) scale(1.15)
}

.nav-links ul li a:hover {
	color: #c6df3a
}

.text-box {
	width: 80%;
	color: #fff;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%)
}

.text-box h1 {
	font-size: 50px;
	opacity: 0;
	transform: translateY(50px);
	animation: 1s ease-out .5s forwards slideIn
}

@keyframes slideIn {
	to {
		opacity: 1;
		transform: translateY(0)
	}
}

.text-box p {
	font-size: 16.5px;
	color: #fff
}

.bubble-in {
	padding-top: 0;
	opacity: 0;
	transform: scale(.8);
	animation: .5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards bubblePop;
	animation-delay: calc(var(--i) * .08s)
}

@keyframes bubblePop {
	to {
		opacity: 1;
		transform: scale(1)
	}
}

.hero-btn {
	transition: .5s ease-out;
	transform: scale(1);
	border: 1px solid #fff;
	border-radius: 60px;
	padding: 12px 34px;
	font-size: 13px;
	background: 0 0;
	position: relative;
	cursor: pointer
}

.hero-btn:hover {
	background: #8d122b;
	border: 1px solid #fff;
	transform: scale(1.055)
}

.fa-heart-o,
.icons .fa,
.testimonials-col .fa {
	color: #f44366
}

.course {
	width: 80%;
	margin: auto;
	padding-top: 100px
}

h1 {
	font-size: 36px;
	font-weight: 600
}

p {
	color: #777;
	font-size: 14px;
	font-weight: 300;
	line-height: 22px;
	padding: 10px
}

.row {
	margin-top: 5%;
	display: flex;
	justify-content: space-between
}

.course-col {
	width: 21.7%;
	background: #fff;
	border-radius: 10px;
	margin-bottom: 5%;
	padding: 20px 12px;
	transition: transform .4s, box-shadow .4s
}

.course-col:hover {
	transform: scale(1.05) rotatez(-5deg);
	box-shadow: 0 0 60px rgba(255, 0, 0, .342)
}

h3 {
	font-weight: 600;
	margin: 10px 0
}

.Campus {
	width: 80%;
	margin: auto;
	padding: 50px
}

.Campus-col {
	border: 2px solid #222;
	flex-basis: 32%;
	border-radius: 10px;
	margin-bottom: 30px;
	position: relative;
	overflow: hidden
}

.layer,
.layer h3 {
	position: absolute;
	transition: .5s;
	width: 100%
}

.Campus-col img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block
}

.Campus-col h3 {
	color: #f0f0f0;
	font-size: 1rem
}

.layer {
	background: 0 0;
	height: 100%;
	top: 0;
	left: 0
}

.carousel-controls,
.layer h3 {
	left: 50%;
	transform: translateX(-50%)
}

.layer:hover {
	background: rgba(211, 211, 211, .61)
}

.layer h3 {
	font-weight: 500;
	color: #fff;
	font-size: 26px;
	bottom: 0;
	opacity: 0;
	font-family: Arial, Helvetica, sans-serif
}

.layer:hover h3 {
	bottom: 49%;
	opacity: 1
}

.facilities {
	width: 80%;
	margin: auto;
	padding: 100px 20px
}

.facilities-col {
	flex-basis: 31%;
	border-radius: 10px;
	margin-bottom: 5%;
	text-align: left
}

.cta,
.footer,
.testimonials {
	text-align: center
}

.facilities-col img {
	width: 100%;
	height: 250px;
	border-radius: 10px;
	object-fit: cover;
	display: block
}

.facilities-col p {
	padding: 0;
	color: #555;
	font-size: .95rem;
	line-height: 1.5;
	margin-bottom: 12px
}

.facilities-col h3 {
	margin-top: 16px;
	margin-bottom: 15px;
	text-align: left;
	font-size: 1.25rem;
	color: #222
}

.testimonials {
	width: 80%;
	margin: auto;
	padding-top: 100px;
	position: relative
}

.testimonials-col {
	flex-basis: 44%;
	border-radius: 10px;
	margin-bottom: 5%;
	background: #fff3f3;
	padding: 25px;
	display: flex;
	align-items: center;
	min-width: 100%
}

.testimonials-col img {
	height: 90px;
	margin-left: 5px;
	margin-right: 30px;
	border-radius: 50%;
	object-fit: cover
}

.testimonials-col p {
	padding: 0;
	object-fit: contain
}

.testimonials-col h3 {
	margin-top: 15px;
	text-align: left
}

.carousel-wrapper {
	position: relative;
	overflow: hidden;
	width: 100%
}

.carousel-track {
	display: flex;
	transition: transform .5s ease-in-out;
	width: 200%
}

.carousel-controls {
	position: absolute;
	bottom: 15px;
	display: flex;
	gap: 6px;
	z-index: 10
}

.carousel-btn {
	background: #f44366;
	color: #fff;
	border: none;
	padding: 8px 12px;
	border-radius: 50%;
	cursor: pointer;
	font-size: 16px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .2);
	transition: background .3s
}

.carousel-btn:hover {
	background: #d73355
}

.cta {
	margin: 100px auto;
	width: 90%;
	max-width: 1200px;
	background-image: linear-gradient(rgba(0, 0, 0, .65), rgba(0, 0, 0, .65)), url('X-enroll.avif');
	background-position: center;
	background-size: cover;
	object-fit: cover;
	border-radius: 12px;
	padding: 80px 30px;
	box-shadow: 0 8px 20px rgba(0, 0, 0, .219);
	transition: .3s
}

.cta h1 {
	color: #fff;
	font-size: 2rem;
	margin-bottom: 30px;
	line-height: 1.4
}

.footer {
	width: 100%;
	padding: 30px 0
}

.footer f4 {
	margin-bottom: 25px;
	margin-top: 20px;
	font-weight: 600
}

.icons .fa {
	margin: 0 13px;
	cursor: pointer;
	padding: 18px 0
}