:root {
  --primary-color: #007bff;
  --secondary-color: #6c757d;
  --light-color: #fff;
  --banner-color:#1E1E1E;
  --dark-color:#000000;
  --font-family-base: "Poppins", sans-serif;
}
h1{
  font-size:52px;
  font-weight:600;
}
h3{
  font-size:36px;
  font-weight:600;
}
h4{
  font-size:30px;
  font-weight:500;
  color: #000000;
}
h5{
  font-size:18px;
  font-weight:500;
}
img{
  max-width: 100%;
}
a{
  text-decoration: none;
  color: inherit;
}
p{
  color:#00000080;
  font-size: 14px;
  font-weight: 400;
}
ul{
  margin: 0;
  padding: 0;
}
li{
  color:#00000080;
  font-size: 14px;
  font-weight: 400;
}
section{
  margin:30px 0;
}
body {
  font-family: var(--font-family-base);
  background-color: var(--light-color);
  color: var(--dark-color);
  margin: 0;
  padding: 0;
}

header {
  /* border-bottom: 1px solid #dee2e6; */
}

.hero p{
 font-weight: 500;
 font-size: 29px;
 margin: 30px 0 50px 0;
}
.title h3{
  color: var(--dark-color);
  margin-bottom: 40px;
}
.btn-explore{
  background-color: #000000;
  color: #fff;
  font-size: 14px;
  text-transform: uppercase;
  border-radius:
5px;
  padding:
10px 20px;
}
/* Base nav styles */
.main-nav {
  background-color: #fff;
 

}

.nav {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin: 0;
  padding: 0;
}


/* Base styles for nav-item */
.nav-item {
  position: relative;
  height: 100px;
  align-content: center;
  background-color: transparent; /* default color */
  transition: background-color 0.3s ease;
  padding: 10px;
}

/* On hover */
.nav-item:hover {
  background-color: #EF4349;
  color: #fff !important;
    border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}
.nav-item:hover a{
  color: #fff;
}
/* When active (add 'active' class to li or anchor) */
.nav-item.active,
.nav-item .nav-link.active {
  background-color: #EF4349;
  color: #fff;
    border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}
.nav-item.active a{
  color: #fff;
}
.nav-link {
  display: inline-block;
  padding: 10px 15px;
  text-decoration: none;
  font-weight: 500;
  color: #333;
  border-radius: 6px;
  transition: all 0.3s ease;
	text-transform:uppercase;
}

/* Hover state */
/* .nav-link:hover {
  background-color:#EF4349;
  color: #Fff;
} */

/* Active/current item */
/* .nav-link.active {
  background-color:#EF4349;
  color: #fff;
} */

/* CTA button style */
.nav-link.btn-link {
  background-color: #28a745;
  color: #fff;
  font-weight: 600;
  border-radius: 6px;
}

.nav-link.btn-link:hover {
  background-color: #218838;
}
.yellow a{
 color: #F7B53B;

}
.green a{
  color:#6CC68D;
}
.blue a{
  color:#56C8DC;
}
/* Responsive behavior */
@media (max-width: 768px) {
  .nav {
    flex-direction: column;
    gap: 10px;
  }

  .nav-link {
    width: 100%;
    text-align: center;
  }
}

.features .border {
  border-radius: 3.31px;
  border: 0.66px solid #000000;
  background-color: white;
}
.features h5{
  color: #EF4349;
}
.features  p{
color: #00000080;
font-size: 14px;
}
.features a{
  color: #EF4349;
  font-size: 16px;
  }
.categories .borders {
  border-radius:5px;
  transition: transform 0.2s ease-in-out;
  color: #000000;
  font-size: 20px;
  font-weight: 600;
  
  
}
.bg-ofgreen{
  background: linear-gradient(96.54deg, #FAFAFA -0.04%, #BAE6FF 47.96%, #FAFAFA 99.96%);
  border: 1px solid #BCE7FF !important;
 
}
.bg-ofpink{
  background: linear-gradient(96.54deg, #F8FAFB -0.04%, #F6F0DA 45.46%, #F8FAFB 99.96%);
  border: 1px solid #F6F0DB;
 
}
.bg-green{
  background: linear-gradient(96.54deg, #F8FAFA -0.04%, #A4FFC5 49.46%, #F8FAFA 99.96%);
  border: 1px solid #A6FFC7;
}
.bg-pink{
  background: linear-gradient(96.54deg, #F8FAFA -0.04%, #FFAAAD 46.96%, #F8FAFA 99.96%);
  border: 1px solid #FFACAF;
 
}
.categories .borders:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.card {
  border-radius: 12px;
  overflow: hidden;
}

.card-title {
  font-size: 1.1rem;
  color: var(--primary-color);
}
.subject-card{
  border: 0.79px solid #000000;
  border-radius:11.87px;
  margin:0 20px 0 0;
}
.inquiry-section {
  position: relative;
  overflow: hidden;
}

.student-img {
  max-width: 90%;
  height: auto;
  position: absolute;
  left: 30px;
  bottom: 0;
  width: 450px;
}

.form-line {
  border: none;
  border-bottom: 1px solid #000000;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-size: 1rem;
  padding-left: 0;
}

.form-line:focus {
  border-bottom: 2px solid #333;
  outline: none;
  box-shadow: none;
  background: transparent;
}
.form-control::placeholder {
  color: #00000040;
  opacity: 1;
  font-size: 14px;
}
textarea.form-control{
  border: 1px solid #000000;
  border-radius: 5px;
}
.demo-form{
  border: 1px solid #000000;
  border-radius: 5px;

}
.demo-form h4{
  margin-bottom: 30px;
}
.demo-form  .form-control{
  border: 1px solid #000000;
}
.section-title {
  font-size: 36px;
  font-weight: 600;
  line-height: 100%;
  margin-bottom: 30px;
}
.card-img-top {
  height: 180px;
  object-fit: cover;
}
.explore-btn {
  color: #fff;
  padding: 6px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  border: none;
  border-radius: 20px;
}
.instructor-card img {
  height: 220px;
  object-fit: cover;
}
.see-more {
  font-size: 0.9rem;
  text-decoration: none;
  color: #000;
}
.border-red{
  border: 0.95px solid #EF4349;
}
.border-green{
  border: 0.95px solid #6CC68D;
}
.border-yellow{
  border: 0.95px solid #F7B53B;
}
.explore-card {
  position: relative;
  padding: 30px 0 20px;
  text-align: center;
  font-weight: 500;
  font-size: 16px;
  color: #2a9d8f; /* Default color */
  overflow: hidden;
}

.explore-text {
  position: relative;
  z-index: 2;
}

.corner-shape {
  position: absolute;
  width: 40px;
  height: 40px;
  background-color: currentColor;
  z-index: 1;
}

.right-shape  {
  bottom: 0;
  left: 0;
  border-top-left-radius: 100%;
  transform: rotate(180deg);
}

.left-shape{
  bottom: 0;
  right: 0;
  border-top-left-radius: 100%;

}
.card-text{
  color: #000;
}
/* Theme colors */
.explore-card.red {
  color: #EF4349;
}

.explore-card.green {
  color: #6CC68D;
}

.explore-card.yellow {
  color: #F7B53B;
}

/* Theme colors */
.explore-card.red {
  color: #f44336;
}

.explore-card.green {
  color: #2a9d8f;
}

.explore-card.yellow {
  color: #f4a261;
}
.owl-carousel .owl-item .single-staff-item img{
  /* max-width: 325px; */
  width: 100%;
  
}
.staff-meta {
  font-size: 12px;
  color: #b7b7b7;
  margin-top: 20px;
}

.staff-meta h3 {
  font-size: 20px;
  margin: 0 0 10px;
}
.staff-list .owl-nav button {
  display: inline-block;
  width: 50px;
  height: 40px;
  background-color: #f3f3f3 !important;
  margin-left: 10px;
  transition: .3s;
}
.staff-list h3{
  font-size:20px;
  font-weight: 500;
  color: #000000;
}
.staff-list .owl-nav button:hover{
  background: #14ADF3 !important;
  color: white !important;
}
.staff-list .owl-nav {
  position: absolute;
  right: 0;
  top: -46px;
}
.staff-desc{
  margin-top: 20px;
}
#gallery {
  padding-top: 40px;
}
.gallery-section {
  padding: 20px;
}
.gallery-section h2 {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 20px;
}

.gallery-grid-custom {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.gallery-grid-custom a,
.gallery-grid-custom .see-more {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.gallery-grid-custom a img,
.gallery-grid-custom .see-more img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.gallery-grid-custom a:hover img,
.gallery-grid-custom .see-more:hover img {
  transform: scale(1.05);
}

/* Tall and Wide Items */
.gallery-grid-custom .tall {
  grid-row: span 2;
  aspect-ratio: 3/4; /* taller */
}

.gallery-grid-custom .wide {
  grid-column: span 2;
  aspect-ratio: 16/9; /* wider */
}

/* See More Overlay */
.gallery-grid-custom .see-more .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  opacity: 0;
  transition: opacity 0.3s;
}

.gallery-grid-custom .see-more:hover .overlay {
  opacity: 1;
}
.map{
  margin-bottom: 0;
}
.btn-contact{
 border:1px solid #000000;
  color: #000000;
  border-radius:5px;
  font-weight: 600;
  padding:7px 20px;
  font-size: 14px;
}
@media screen and (min-width: 991px) {
  #gallery {
    padding: 60px 30px 0 30px;
 }
 #navbarMenu{
   margin-top: -25px;   
 }

}
.img-wrapper {
  position: relative;
  margin-top: 15px;
}
.img-wrapper img {
  width: 100%;
}
.img-overlay {
  background: rgba(0, 0, 0, 0.7);
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
}
.img-overlay i {
  color: #fff;
  font-size: 3em;
}
#overlay {
  background: rgba(0, 0, 0, 0.7);
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
#overlay img {
  margin: 0;
  width: 80%;
  height: auto;
  object-fit: contain;
  padding: 5%;
}
@media screen and (min-width: 768px) {
  #overlay img {
    width: 60%;
 }
}
@media screen and (min-width: 1200px) {
  #overlay img {
    width: 50%;
 }
}
#nextButton {
  color: #fff;
  font-size: 2em;
  transition: opacity 0.8s;
}
#nextButton:hover {
  opacity: 0.7;
}
@media screen and (min-width: 768px) {
  #nextButton {
    font-size: 3em;
 }
}
#prevButton {
  color: #fff;
  font-size: 2em;
  transition: opacity 0.8s;
}
#prevButton:hover {
  opacity: 0.7;
}
@media screen and (min-width: 768px) {
  #prevButton {
    font-size: 3em;
 }
}
#exitButton {
  color: #fff;
  font-size: 2em;
  transition: opacity 0.8s;
  position: absolute;
  top: 15px;
  right: 15px;
}
#exitButton:hover {
  opacity: 0.7;
}
@media screen and (min-width: 768px) {
  #exitButton {
    font-size: 3em;
 }
}
.site-footer {
  background: #fff;
  padding: 50px 0 0 0;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  color: #333;
  border-top: 1px solid #eee;
  position: relative;
}

.site-footer .footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 40px;
}

.site-footer .footer-column {
  flex: 1;
  min-width: 250px;
  margin: 15px;
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-logo img {
  height: 50px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-bottom{
  margin-bottom: 0;
}
.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  text-decoration: none;
  color: #333;
  transition: color 0.3s;
}

.footer-links ul li a:hover {
  color: #f15a24;
}

.footer-contact p {
  margin: 8px 0;
}

.footer-contact i {
  margin-right: 8px;
}

.footer-bottom {

  text-align: center;
  font-size: 13px;
  color: #666;
}
.footer-bottom p{
  margin:10px 0;
}
.footer-social {
  /* margin-top: 20px; */
}
.footer-column  h4{
  font-size: 20px;
  font-weight: 400;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer-column p{
  color:#000000;
}
.footer-social a {
  color: #333;
  margin: 0 8px;
  font-size: 18px;
  transition: color 0.3s;
}

.footer-social a:hover {
  color: #f15a24;
}

.footer-pattern {
  width: 100%;
  margin-top: 30px;
}

.footer-pattern img {
  width: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .site-footer .footer-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .site-footer .footer-column {
    margin: 20px 0;
  }
}
footer {
  background-color: var(--dark-color);
  color: white;
}
.btn-explore i {
  transition: transform 0.3s ease;
}
.btn-explore:hover{
    border-color: #000;
}
.btn-explore:hover i {
  transform: translateX(5px);
}
@media screen and (max-width: 992px) {
  h1 {
    font-size: 38px;
  }

  h3 {
    font-size: 28px;
  }

  h4 {
    font-size: 22px;
  }

  .hero p {
    font-size: 20px;
    margin: 20px 0 30px;
  }

  .student-img {
    position: static;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    display: block;
  }

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

  .gallery-grid-custom .tall,
  .gallery-grid-custom .wide {
    grid-row: span 1;
    grid-column: span 1;
    aspect-ratio: auto;
  }

  .explore-card {
    font-size: 14px;
    padding: 20px 0;
  }

  .btn-explore {
    padding: 8px 16px;
    font-size: 12px;
  }
}

@media screen and (max-width: 576px) {
  h1 {
    font-size: 32px;
  }

  h3 {
    font-size: 24px;
  }

  .gallery-grid-custom {
    grid-template-columns: 1fr;
  }

  .site-footer {
    padding: 30px 10px;
  }

  .footer-column {
    min-width: 100%;
    margin: 10px 0;
  }

  .footer-logo img {
    height: 40px;
  }
}
.popular-subjects-row .subject-card-wrapper {
  flex: 1 1 18%;
  max-width: 18%;
}

@media (max-width: 768px) {
  .popular-subjects-row .subject-card-wrapper {
    flex: 1 1 50%;
    max-width: 50%;
  }
}

@media (max-width: 576px) {
  .popular-subjects-row .subject-card-wrapper {
    flex: 1 1 100%;
    max-width: 100%;
  }
  .subject-card .img-fluid {
  max-width: 100%;
  height: auto !important;
}


}
.subject-card .img-fluid {
  max-width: 100%;
  height: 100px;
}
.contents{
    min-height: 245px !important;
}
.wp-button{
	margin-top:14px;
}
.float{
	position:fixed;
	width:60px;
	height:60px;
	bottom:40px;
	right:40px;
border-radius:50px;
	text-align:center;
  font-size:35px;

  z-index:100;
}
.m-8{
    padding:0 35px;
}
.message-height{
height: 150px !important;
}