/********** Template CSS **********/
:root {
  --primary: #4761ff;
  --secondary: #555555;
  --light: #f1f3fa;
  --dark: #1c2035;
}

.back-to-top {
  position: fixed;
  display: none;
  right: 30px;
  bottom: 30px;
  z-index: 99;
}

.fw-medium {
  font-weight: 700;
}

/*** Spinner ***/
#spinner {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-out, visibility 0s linear 0.5s;
  z-index: 99999;
}

#spinner.show {
  transition: opacity 0.5s ease-out, visibility 0s linear 0s;
  visibility: visible;
  opacity: 1;
}

/*** Button ***/
.btn {
  transition: 0.5s;
  font-weight: 500;
}

.btn-primary,
.btn-outline-primary:hover {
  color: var(--light);
}

.btn-secondary,
.btn-outline-secondary:hover {
  color: var(--dark);
}

.btn-square {
  width: 38px;
  height: 38px;
}

.btn-sm-square {
  width: 32px;
  height: 32px;
}

.btn-lg-square {
  width: 48px;
  height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: normal;
  display: block;
  text-align-last: center;
}

.btn-add-padding {
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: normal;
  display: block;
  text-align-last: center;
}

.navbar .navbar-nav .nav-link {
  margin-right: 35px;
  padding: 25px 0;
  color: #ffffff;
  font-weight: bold;
  font-size: 15px;
  outline: none;
}

/* Large screens (1200px - 1439px) */
@media (max-width: 2602px) {
  .navbar .navbar-nav .nav-link {
    margin-right: 35px;
    padding: 25px 0;
    color: #ffffff;
    font-weight: bold;
    font-size: 15px;
    outline: none;
  }
}
/* Large screens (1200px - 1439px) */
@media (max-width: 1440px) {
  .navbar .navbar-nav .nav-link {
    margin-right: 35px;
    padding: 25px 0;
    color: #ffffff;
    font-weight: bold;
    font-size: 12px;
    outline: none;
  }
}

/* Large devices (desktops, 992px - 1199px) */
@media (max-width: 1199.98px) {
  .navbar .navbar-nav .nav-link {
    margin-right: 35px;
    padding: 25px 0;
    color: #ffffff;
    font-weight: bold;
    font-size: 11px;
    outline: none;
  }
}

@media (max-width: 1040px) {
  .navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 20px 0;
    color: #ffffff;
    font-weight: bold;
    font-size: 8px;
    outline: none;
  }
}

/* Medium devices (tablets, 768px - 991px) */
@media (max-width: 991.98px) {
  .navbar .navbar-nav .nav-link {
    margin-right: 35px;
    padding: 25px 0;
    color: #ffffff;
    font-weight: bold;
    font-size: 13px;
    outline: none;
  }
}

/* Small devices (landscape phones, 576px - 767px) */
@media (max-width: 767.98px) {
  .navbar .navbar-nav .nav-link {
    margin-right: 35px;
    padding: 25px 0;
    color: #ffffff;
    font-weight: bold;
    font-size: 13px;
    outline: none;
  }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  .navbar .navbar-nav .nav-link {
    margin-right: 35px;
    padding: 25px 0;
    color: #ffffff;
    font-weight: bold;
    font-size: 13px;
    outline: none;
  }
}

/*** Navbar ***/

/* .navbar .navbar-nav .nav-link {
    margin-right: 35px;
    padding: 25px 0;
    color: #ffffff;
    font-weight: bold;
    font-size: 15px;
    outline: none;
}  */

/* .navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color:#FFED00;
} */

.navbar .dropdown-toggle::after {
  border: none;
  content: "\f107";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  vertical-align: middle;
  margin-left: 8px;
}

.dropdown-submenu {
  position: relative;
}
.navbar .dropdown-submenu .dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -1px;
}

@media (max-width: 991.98px) {
  .navbar .navbar-nav .nav-link {
    margin-right: 0;
    padding: 10px 0;
  }

  .navbar .navbar-nav {
    margin-top: 15px;
    border-top: 1px solid #eeeeee;
  }
}

@media (min-width: 992px) {
  .navbar .nav-item .dropdown-menu {
    /*display: block;*/
    border: none;
    margin-top: 0;
    top: 150%;
    opacity: 0;
    visibility: hidden;
    transition: 0.5s;
  }

  .navbar .nav-item:hover .dropdown-menu {
    top: 100%;
    visibility: visible;
    transition: 0.5s;
    opacity: 1;
  }
}

/*** Header ***/
.carousel-caption {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.1);
  z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
  width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 3.5rem;
  /* background-color: var(--primary);
    border: 15px solid var(--primary); */
  background-color: #cc0a0a;
  border: 15px solid #cc0a0a;
}

@media (max-width: 768px) {
  #header-carousel .carousel-item {
    position: relative;
    min-height: 450px;
  }

  #header-carousel .carousel-item img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

.page-header {
  background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)),
    url(../img/web.jpg) center center no-repeat;
  background-size: cover;
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
  color: var(--light);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
  font-size: 18px;
  color: var(--light);
}

/*** Features ***/
.feature-row {
  box-shadow: 0 0 45px rgba(0, 0, 0, 0.08);
}

.feature-item {
  background: linear-gradient(
    120deg,
    rgba(0, 38, 71, 1) 0%,
    rgba(2, 54, 135, 1) 49%,
    rgba(0, 168, 255, 1) 100%
  );
  background-color: #ffed00;
  text-align: center;
}

/*** About ***/
.about {
  background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)),
    url(../img/admin_block.jpeg) left center no-repeat;
  background-size: cover;

  width: fit-content;
}

.btn-play {
  position: relative;
  display: block;
  box-sizing: content-box;
  width: 36px;
  height: 46px;
  border-radius: 100%;
  border: none;
  outline: none !important;
  padding: 18px 20px 20px 28px;
  background: var(--primary);
}

.btn-play:before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  display: block;
  width: 90px;
  height: 90px;
  /* background: var(--primary); */
  background: #012e65;
  border-radius: 100%;
  animation: pulse-border 1500ms ease-out infinite;
}

.btn-play:after {
  content: "";
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  display: block;
  width: 90px;
  height: 90px;
  /* background: var(--primary); */
  background: #ffed00;
  border-radius: 100%;
  transition: all 200ms;
}

.btn-play span {
  display: block;
  position: relative;
  z-index: 3;
  width: 0;
  height: 0;
  left: 3px;
  border-left: 30px solid #012e65;
  border-top: 18px solid transparent;
  border-bottom: 18px solid transparent;
}

@keyframes pulse-border {
  0% {
    transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
    opacity: 1;
  }

  100% {
    transform: translateX(-50%) translateY(-50%) translateZ(0) scale(2);
    opacity: 0;
  }
}

.modal-video .modal-dialog {
  position: relative;
  max-width: 800px;
  margin: 60px auto 0 auto;
}

.modal-video .modal-body {
  position: relative;
  padding: 0px;
}

.modal-video .close {
  position: absolute;
  width: 30px;
  height: 30px;
  right: 0px;
  top: -30px;
  z-index: 999;
  font-size: 30px;
  font-weight: normal;
  color: #ffffff;
  background: #000000;
  opacity: 1;
}

/*** Service ***/
.service-item .service-text {
  position: relative;
  width: 100%;
  top: 0;
  left: 0;
  text-align: center;
  background: linear-gradient(
    120deg,
    rgba(0, 38, 71, 1) 0%,
    rgba(2, 54, 135, 1) 49%,
    rgba(0, 168, 255, 1) 100%
  );
  box-shadow: 0 0 45px rgba(0, 0, 0, 0.06);
  transition: 0.5s;
  z-index: 2;
}

.service-item:hover .service-text {
  top: -1.5rem;
  background: #ffbc1b;
}

.service-item .service-text h5 {
  transition: 0.5s;
  color: #ffff;
}

.service-item:hover .service-text h5 {
  color: #000;
  transition: 0.5s;
}

.service-item .service-btn {
  position: absolute;
  width: 80%;
  height: 3rem;
  left: 10%;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  box-shadow: 0 0 45px rgba(0, 0, 0, 0.07);
  transition: 0.5s;
  z-index: 1;
}

.service-item:hover .service-btn {
  bottom: -1.5rem;
}

/*** Project ***/
.project-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 45px rgba(0, 0, 0, 0.07);
}

.project-item .project-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  padding-top: 60px;
  transition: 0.5s;
}

.project-item:hover .project-overlay {
  opacity: 1;
  padding-top: 0;
}

.project-carousel .owl-nav {
  position: absolute;
  top: -100px;
  right: 0;
  display: flex;
}

.project-carousel .owl-nav .owl-prev,
.project-carousel .owl-nav .owl-next {
  margin-left: 15px;
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  border-radius: 55px;
  box-shadow: 0 0 45px rgba(0, 0, 0, 0.15);
  font-size: 25px;
  transition: 0.5s;
}

.project-carousel .owl-nav .owl-prev:hover,
.project-carousel .owl-nav .owl-next:hover {
  /* background: var(--primary); */
  background: #cc0a0a;
  color: #ffffff;
}

@media (max-width: 768px) {
  .project-carousel .owl-nav {
    top: -70px;
    right: auto;
    left: 50%;
    transform: translateX(-50%);
  }

  .project-carousel .owl-nav .owl-prev,
  .project-carousel .owl-nav .owl-next {
    margin: 0 7px;
    width: 45px;
    height: 45px;
    font-size: 20px;
  }
}

/*** Team ***/
.team-item {
  position: relative;
  text-align: center;
  box-shadow: 0 0 45px rgba(0, 0, 0, 0.07);
}

.team-item .team-social {
  position: absolute;
  padding: 0;
  top: 15px;
  left: 0;
  overflow: hidden;
}

.team-item .team-social li {
  list-style-type: none;
  margin-bottom: 10px;
  margin-left: -50px;
  opacity: 0;
  transition: 0.5s;
}

.team-item:hover .team-social li {
  margin-left: 15px;
  opacity: 1;
}

.team-item .team-social li .btn {
  background: #ffffff;
  color: var(--primary);
  border-radius: 40px;
  transition: 0.5s;
}

.team-item .team-social li .btn:hover {
  color: #ffffff;
  background: var(--primary);
}

.team-item .team-social li:nth-child(1) {
  transition-delay: 0.1s;
}

.team-item .team-social li:nth-child(2) {
  transition-delay: 0.2s;
}

.team-item .team-social li:nth-child(3) {
  transition-delay: 0.3s;
}

.team-item .team-social li:nth-child(4) {
  transition-delay: 0.4s;
}

.team-item .team-social li:nth-child(5) {
  transition-delay: 0.5s;
}

/*** Testimonial ***/
.testimonial-item {
  box-shadow: 0 0 45px rgba(0, 0, 0, 0.07);
  transition: 0.5s;
}

.owl-item .testimonial-item,
.testimonial-item * {
  transition: 0.5s;
}

.owl-item.center .testimonial-item,
.testimonial-item:hover {
  /* background: var(--primary); */
  background: #040086;
}

.owl-item.center .testimonial-item *,
.testimonial-item:hover * {
  color: #ffffff !important;
}

.testimonial-item img {
  width: 100px !important;
  height: 100px !important;
  border-radius: 100px;
}

.testimonial-carousel .owl-nav {
  position: absolute;
  top: -100px;
  right: 0;
  display: flex;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
  margin-left: 15px;
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  border-radius: 55px;
  box-shadow: 0 0 45px rgba(0, 0, 0, 0.15);
  font-size: 25px;
  transition: 0.5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
  /* background: var(--primary); */
  background: #cc0a0a;
  color: #ffffff;
}

@media (max-width: 768px) {
  .testimonial-carousel .owl-nav {
    top: -70px;
    right: auto;
    left: 50%;
    transform: translateX(-50%);
  }

  .testimonial-carousel .owl-nav .owl-prev,
  .testimonial-carousel .owl-nav .owl-next {
    margin: 0 7px;
    width: 45px;
    height: 45px;
    font-size: 20px;
  }
}

/*** Footer ***/
.footer {
  color: #b0b9ae;
}

.footer .btn.btn-link {
  display: block;
  margin-bottom: 5px;
  padding: 0;
  text-align: left;
  color: #b0b9ae;
  font-weight: normal;
  text-transform: capitalize;
  transition: 0.3s;
}

.footer .btn.btn-link::before {
  position: relative;
  content: "\f105";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-right: 10px;
}

.footer .btn.btn-link:hover {
  color: var(--light);
  /* letter-spacing: 1px; */
  box-shadow: none;
}

@media (max-width: 1024px) {
  .footer-text {
    text-align: center !important;
    font-size: 13px;
    padding: 12px 0;
  }

  .footer-text a {
    display: inline-block;
    margin-top: 5px;
    color: #ffed00;
    text-decoration: none;
  }
}

@media (max-width: 768px) {
  .footer-text {
    text-align: center !important;
    font-size: 11px;
    padding: 10px 0;
  }

  .footer-text a {
    display: inline-block;
    margin-top: 5px;
    color: #ffed00;
    text-decoration: none;
  }
}

.copyright {
  color: #b0b9ae;
}

.copyright {
  background: #111111;
}

.copyright a:hover {
  color: var(--primary) !important;
}

.tour {
  background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)),
    url(../img/Tour.webp) left center no-repeat;
}

.scroll_text {
  color: black;
  font-size: medium;
}

body {
  html::-webkit-scrollbar {
    display: none;
  }
}

.mobile_view {
  width: 650px !important;
}
.counselling_code_hide {
  display: none;
}

.code {
  font-size: 15px;
  margin-bottom: 0;
  float: left;
  color: #000;
  border-radius: 50rem;
  background: #ffed00;
  padding: 13px;
}
.admission_img {
  width: 748px;
  height: 530px;
}
/* .admissiontab{
	margin-top: 90px;
} */

@media (max-width: 1024px) {
  .mobile_view {
    width: 460px !important;
    top: 79px;
  }
  .navbar .navbar-nav .nav-link {
    margin-right: 15px;
  }
  .code {
    font-size: 12px;
  }
  .admission_img {
    width: 748px;
  }
}
@media (max-width: 768px) {
  .mobile_view {
    width: 250px !important;
    top: 79px;
  }

  .counselling_code_show {
    display: none;
  }
  .counselling_code_hide {
    display: block;
    background: linear-gradient(
      120deg,
      rgba(0, 38, 71, 1) 0%,
      rgba(2, 54, 135, 1) 49%,
      rgba(0, 168, 255, 1) 100%
    );
  }
  .code_mobile {
    margin-top: 12px;
    font-size: 9px;
    margin-bottom: 0;
    font-weight: bold;
    float: left;
    color: #000;
    border-radius: 50rem;
    background: #ffed00;
    padding: 5px;
  }
  .btn-danger {
    margin-top: 10px;
    margin-left: 54px;
  }

  .modal {
    position: fixed;
    top: 106px;
    left: 0;
    z-index: 1060;
    display: none;
    width: 100%;
    height: 100%;
    overflow: hidden;
    outline: 0;
  }

  .admission_img {
    width: 498px;
  }
}

@media (max-width: 480px) {
  .admission_img {
    width: 419px;
  }
  .tour {
    height: 300px;
  }
}
@media (max-width: 420px) {
  .admission_img {
    height: 369px;
    width: 369px;
  }
}
@media (max-width: 325px) {
  .admission_img {
    height: 283px;
    width: 313px;
  }
}
