.sub-header2 {
  height: 70vh;
  width: 100%;
  background-image: linear-gradient( to left,hsla(57, 82%, 54%, 0.5),hsla(76, 69%, 48%, 0.5)),
  url(../pictures/backgorund3.jpeg);
  background-position: center;
  background-size: cover;
  text-align: center;
  color: hsl(0, 0%, 100%);
}

.about{
  margin: 10px auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.about-left{
  flex-basis: 52%;
  position: relative;
}
.about-right{
  flex-basis: 44%;
}
.about-img{
  width: 100%;
  border-radius: 10px;
}
.play-icon{
  width: 60px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  filter: invert(68%) sepia(38%) saturate(1117%) hue-rotate(2deg) brightness(92%) contrast(102%);
  cursor: pointer;
}
.about h3{
  font-weight: 600;
  font-size: 16px;
  color: #E6A800;
}
.about h2{
  font-size: 35px;
  color: #EADF28;
  margin: 10px 0;
  max-width: 400px;
}
.about p {
  color: #676767;
  margin-bottom: 15px;
}

.video-player{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-player video{
  width: 90%;
  max-width: 900px;
  height: auto;
  border: 4px solid #fff;
}
.video-player.hide{
  display: none;
}

/* ----- media query ----- */

@media (max-width:800px){
  .about{
    flex-direction: column;
  }
  .about-left{
    flex-basis: 100%;
    margin: 20px;
    order: 2;
  }
  .about-right{
    flex-basis: 100%;
  }
}

/*   === Services Section Styling Starts ===   */
section.services{
	width: 100%;
	padding: 100px 8% 20px;
}
.services .services-contents{
	width: 100%;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}
.services-contents .service-box{
	flex-basis: calc(calc(100% / 3) - 2%);
	padding: 25px 20px;
	cursor: pointer;
	transition: all 0.3s;
}
.services-contents .service-box:hover{
	box-shadow: 0px 0px 15px rgba(0,0,0,0.1);
}
.service-box .service-icon{
	width: 50px;
	height: 50px;
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 50%;
	background-color: var(--primary-clr);
	outline: 1px solid var(--primary-medium-clr);
	outline-offset: 10px;
}
.service-box .service-icon i{
	font-size: 24px;
	color: var(--light-heading-clr);
}
.service-box .service-desc{
	margin-top: 25px;
}
.service-box .service-desc h2{
	margin-bottom: 10px;
	color: var(--dark-heading-clr);
	font-size: 22px;
}
.service-box .service-desc p{
	line-height: 1.4;
	color: var(--dark-text-clr);
}
.service-box:nth-child(1) .service-icon{
	background-color: #fef0ef;
	outline-color: #fef0ef;
}
.service-box:nth-child(1) .service-icon i{
	color: #f76250;
}
.service-box:nth-child(2) .service-icon{
	background-color: #e8f9ef;
	outline-color: #e8f9ef;
}
.service-box:nth-child(2) .service-icon i{
	color: #2f9355;
}
.service-box:nth-child(3) .service-icon{
	background-color: #f1f0fe;
	outline-color: #f1f0fe;
}
.service-box:nth-child(3) .service-icon i{
	color: #5a49f3;
}
/*   === Services Section Styling Ends ===   */

/*   === Courses Categories Section Styling Starts ===   */
section.categories{
	width: 100%;
	padding: 100px 8% 20px;
}
.categories .categories-contents{
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}
.categories-contents .category-item{
	flex-basis: calc(calc(100% / 4) - 1%);
	background-color: var(--primary-light-clr);
	padding: 25px 15px;
	border-radius: 5px;
	display: flex;
	flex-direction: column;
	align-items: center;
	cursor: pointer;
	transition: all 0.3s;
}
.categories-contents .category-item:hover{
	box-shadow: 0px 0px 10px rgba(32, 130, 69, 0.2);
	transform: translateY(-3px);
}
.category-item .category-icon{
	width: 50px;
	height: 50px;
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: var(--primary-clr);
}
.category-item .category-icon i{
	color: var(--light-heading-clr);
	font-size: 20px;
}
.category-item .category-desc{
	margin-top: 20px;
	text-align: center;
}
.category-item .category-desc h3{
	color: var(--dark-heading-clr);
	font-size: 20px;
	margin-bottom: 10px;
}
.category-item .category-desc p{
	color: var(--dark-text-clr);
	font-size: 15px;
	line-height: 1.4;
}

.category-item {
  margin-bottom: 20px;
}
/*   === Courses Categories Section Styling Ends ===   */

.campus{
  margin: 5px auto;
  width: 100%;
  text-align: center;
}
.gallery{
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.gallery img{
  width: 32%;
  border-radius: 10px;
  margin-bottom: 30px;
}

.admin {
  width: 100%;
	padding: 0 8% 20px;
}

.smooth {
  position: relative;
  transition: all 0.3s ease;
  overflow: visible;
  box-shadow: 0 0 0 0 rgba(66, 220, 219, 0);
}

.smooth:hover {
  color: #000;
  background: #f2f2f2;
  transform: translateY(-3px);
  box-shadow: 
    0 0 10px 3px rgba(255, 248, 107, 0.7),
    0 0 15px 6px rgba(255, 248, 107, 0.4),
    0 0 25px 10px rgba(255, 248, 107, 0.1);
  animation: neon-pulse 1.5s infinite alternate;
}

@keyframes neon-pulse {
  0% {
    box-shadow: 
      0 0 10px 3px rgba(255, 248, 107, 0.7),
      0 0 15px 6px rgba(255, 248, 107, 0.4),
      0 0 25px 10px rgba(255, 248, 107, 0.1);
  }
  100% {
    box-shadow: 
      0 0 15px 5px rgba(255, 248, 107, 0.8),
      0 0 25px 10px rgba(255, 248, 107, 0.5),
      0 0 35px 15px rgba(255, 248, 107, 0.2);
  }
}

.smooth:active {
  transform: translateY(-1px);
  box-shadow: 
    0 0 8px 2px rgba(255, 248, 107, 0.6),
    0 0 12px 5px rgba(255, 248, 107, 0.3),
    0 0 20px 8px rgba(255, 248, 107, 0.1);
}

/* ----- media query ----- */

@media (max-width: 800px){
  .gallery{
    flex-wrap: wrap;
  }
  .gallery img{
    width: 48%;
    margin-bottom: 25px;
  }
}
@media (max-width: 450px){
  
  .gallery img{
    width: 100%;
    margin-bottom: 25px;
  }
}

/*   === Media Query Starts ===   */
@media(max-width: 968px){
	/* Services Section */
	.services-contents .service-box{
		flex-basis: calc(calc(100% / 2) - 2%);
	}
	.services-contents .service-box:not(:last-child){
		margin-bottom: 20px;
	}

	/* Courses Categories Section */
	.categories-contents .category-item{
		flex-basis: calc(calc(100% / 2) - 1%);
		margin-bottom: 15px;
	}
}


@media(max-width: 668px){
	/* Services Section */
	.services-contents .service-box{
		flex-basis: 100%;
	}

}

@media(max-width: 568px){
	/* Courses Categories Section */
	.categories-contents .category-item{
		flex-basis: 100%;
	}
	
}

/*   === Media Query Ends ===   */
