/********** Template CSS **********/
:root {
  --primary: #eb3136;
  --secondary: #757575;
  --light: #f3f6f8;
  --dark: #0c2b4b;
}

.py-6 {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.my-6 {
  margin-top: 6rem;
  margin-bottom: 6rem;
}

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

/*** 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 {
  font-weight: 500;
  transition: 0.5s;
}

.btn.btn-primary,
.btn.btn-outline-primary:hover {
  color: #ffffff;
}

.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;
}

/*** Navbar ***/
.navbar.sticky-top {
  top: -100px;
  transition: 0.5s;
}

.navbar .navbar-brand,
.navbar a.btn {
  height: 80px;
  width: 20%;
}

.navbar .navbar-nav .nav-link {
  margin-right: 30px;
  padding: 25px 0;
  color: var(--dark);
  font-weight: 500;
  text-transform: uppercase;
  outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
  color: var(--primary);
}

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

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

  .navbar .navbar-nav {
    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;
  }
}

.logo-img {
  width: 46%;
}
.mobile-logo-img {
  display: none;
}

.slider-heading {
  font-size: 25px;
  background-color: #000000a8;
  width: 100%;
  padding: 5px;
}
/*** Header ***/
.carousel-caption {
  top: 50%;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 1;
}

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

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 3rem;
  height: 3rem;
  background-color: var(--primary);
  border: 10px solid var(--primary);
}
.courses-p {
  border: 2px solid;
  margin-left: 76px;
}
.student-img {
  border: 10px solid white;
}
.ps-4.student-courses {
  background-color: #83837ab2;
  color: #000810;
}
.student-courses a {
  color: #00437d;
}
.about-desc p {
  text-align: justify;
}
.choose-para {
  text-align: justify;
}

.course-img {
  width: 150px;
  height: 150px;
}
.entry-selection {
  display: flex;
  align-items: center;
  flex-direction: column;
  position: relative;
  background: #fff;
  margin: 1em;
  padding: 0.5em;
  border-radius: 10px;
  box-shadow: 4px 4px 5px 5px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
  .directors-img {
    min-height: 290px !important;
  }
  .header-heading {
    background-color: #0c2b4b;
    border-radius: 25px;
    margin: 0 !important;
  }
  .dropdown-item {
    display: block;
    width: 100%;
    padding: 0.25rem 1rem;
    clear: both;
    font-weight: 400;
    color: #212529;
    text-align: inherit;
    white-space: wrap !important;
    background-color: transparent;
    border: 0;
  }
  #header-carousel .carousel-item {
    position: relative;
    min-height: 450px;
  }

  #header-carousel .carousel-item img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .slider-heading {
    font-size: 16px;
  }
  .navbar .navbar-brand,
  .navbar a.btn {
    height: 80px;
    width: 75%;
  }
  .logo-img {
    display: none;
  }
  .mobile-logo-img {
    display: block;
    width: 100%;
  }
  .about-desc h6 {
    font-size: 14px;
  }
  .about-desc h1 {
    font-size: 18px;
  }
  .fix-footer {
    position: fixed;
    bottom: 63px;
    z-index: 999;
    left: 0;
  }

  .second {
    font-size: 14px;
  }
  .section-join-us h1 {
    color: #eeeeee !important;
    font-size: 17px;
  }
  .registration-btn {
    background-color: #2d4963;
    margin-top: 40px;
    width: 50% !important;
  }
  .file input {
    margin-left: 0 !important;
    margin-top: 30px;
  }
  .about-us-heading.mb-5 {
    font-size: 35px !important;
    font-weight: bold;
  }
  .section-join-us h1 {
    color: #eeeeee !important;
    font-size: 30px !important;
  }
  .form-container .text-center.mb-3 {
    font-size: 30px !important;
  }
  .table-heading {
    font-size: 16px !important;
  }
  .courses-image {
    min-height: 300px !important;
  }
  #address {
    width: 100% !important;
  }
}

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

.breadcrumb-item + .breadcrumb-item::before {
  color: #999999;
}

/* whatsapp and call button */
/* phone */
.fix-footer {
  position: fixed;
  bottom: 60px;
  z-index: 999;
  left: 0;
}

.second {
  background: #6c0d0d;
  display: block;
  padding: 12px;
  margin: 10px 0;
  font-weight: bold;
  border-radius: 0 35px 35px 0;
  box-shadow: 0 0 12px 0px #060606b0;
  color: #fff;
  font-size: 16px;
}

.fix-footer a:hover,
.fix-footer a:active {
  background: #01162b;
  color: #fff;
}
.fix-footer .second {
  animation: first 1800ms infinite;
}

/* Phone */
.btn-floating.phone {
  bottom: 130px;
  background-color: #25aae2;
}

.btn-floating.phone:hover {
  background-color: #0c2b4b;
}

/* WhatsApp */
.btn-floating.whatsapp {
  background-color: #34af23;
  bottom: 70px;
}

.btn-floating.whatsapp:hover {
  background-color: #1f7a12;
}

/* Whatsapp floating */
.btn-floating:hover img {
  margin-bottom: -3px;
}

.btn-floating {
  position: fixed;
  right: 25px;
  bottom: 100px;
  overflow: hidden;
  width: 50px;
  height: 50px;
  border-radius: 100px;
  border: 0;
  z-index: 9999;
  color: white;
  background-color: rgb(5, 183, 5);
  transition: 0.2s;
}

.btn-floating:hover {
  width: auto;
  padding: 0 20px;
  cursor: pointer;
}

.btn-floating span {
  font-size: 16px;
  margin-left: 5px;
  transition: 0.2s;
  line-height: 0px;
  display: none;
}

.btn-floating:hover span {
  display: inline-block;
}

/*** Facts ***/
@media (min-width: 991.98px) {
  .facts {
    position: relative;
    margin-top: 75px;
    z-index: 1;
  }
}

@media (min-width: 769px) and (max-width: 990px) {
  .header-heading {
    background-color: #0c2b4b;
    border-radius: 25px;
    margin: 0 !important;
  }
  .facts {
    position: relative;
    margin-top: 42px;
    z-index: 1;
  }
  .course-img {
    position: relative;
    left: 38% !important;
  }
  .navbar .navbar-brand,
  .navbar a.btn {
    height: 80px;
    width: 38%;
  }
  .logo-img {
    display: none;
  }
  .mobile-logo-img {
    display: block;
    width: 100%;
  }
  .file input {
    margin-left: 0 !important;
    margin-top: 30px;
  }
  .about-us-heading.mb-5 {
    font-size: 40px !important;
    font-weight: bold;
  }
  .form-container .text-center.mb-3 {
    font-size: 35px !important;
  }
  .container,
  .container-sm,
  .container-md {
    max-width: 622px !important;
  }
  .form-container {
    max-width: 860px !important;
  }
}

.header-heading {
  background-color: #0c2b4b;
  border-radius: 25px;
  margin: 0 20%; /* Center the div horizontally */
  opacity: 0; /* Initially hide the div */
  transform: translateX(
    -100%
  ); /* Initially position the div outside the viewport on the left */
  animation: slideIn 0.5s forwards; /* Apply the slideIn animation */
}

.header-heading h3 {
  color: whitesmoke;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(
      -100%
    ); /* Start position outside the viewport on the left */
  }
  to {
    opacity: 1;
    transform: translateX(0); /* End position, slide in to the viewport */
  }
}

/*** Courses ***/
.courses-item {
  background-color: #284227 !important;
  position: relative;
}
.course-btn {
  position: absolute;
  bottom: 10px;
}
.course-heading {
  color: white !important;
}
.course-para {
  color: white !important;
}

.courses-para {
  text-align: justify !important;
}

.courses {
  background-attachment: fixed;
  background-size: cover;
}

.course-img {
  position: relative;
  left: 30%;
}
.courses-item .courses-overlay {
  position: absolute;
  width: 100%;
  height: 0;
  top: 0;
  /* left: 0; */
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  overflow: hidden;
  opacity: 0;
  transition: 0.5s;
}

.courses-item:hover .courses-overlay {
  height: 100%;
  opacity: 1;
}

/*** Team ***/
.team-items {
  margin: -0.75rem;
}

.team-item {
  padding: 0.75rem;
}

.team-item::after {
  position: absolute;
  content: "";
  width: 100%;
  height: 0;
  top: 0;
  left: 0;
  background: #ffffff;
  transition: 0.5s;
  z-index: -1;
}

.team-item:hover::after {
  height: 100%;
  background: var(--primary);
}

.team-item .team-social {
  position: absolute;
  width: 100%;
  height: 0;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.75);
  overflow: hidden;
  opacity: 0;
  transition: 0.5s;
}

.team-item:hover .team-social {
  height: 100%;
  opacity: 1;
}

/*** Testimonial ***/
.testimonial-carousel .owl-dots {
  height: 40px;
  margin-top: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-carousel .owl-dot {
  position: relative;
  display: inline-block;
  margin: 0 5px;
  width: 20px;
  height: 20px;
  background: transparent;
  border: 2px solid var(--primary);
  transition: 0.5s;
}

.testimonial-carousel .owl-dot.active {
  width: 40px;
  height: 40px;
  background: var(--primary);
}

.testimonial-carousel .owl-item img {
  width: 150px;
  height: 150px;
}

/*** Footer ***/
.footer .btn.btn-link {
  display: block;
  margin-bottom: 5px;
  padding: 0;
  text-align: left;
  color: var(--light);
  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;
  color: var(--light);
  margin-right: 10px;
}

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

.copyright {
  background: #092139;
}

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

.copyright a:hover {
  color: var(--light);
}

/* section-join-us css */
.section-join-us {
  background-color: #0c2b4b;
}

.section-join-us h1 {
  color: #eeeeee !important;
  font-size: 30px;
}

/* form */
.form-container {
  background-color: #eef7f4;
  padding: 50px 8%;
}
.first-row {
  background-color: #101e2dd9;
}
.col-12 .mb-3 label {
  color: rgb(252, 252, 252);
  font-size: 18px;
  font-weight: 500;
}
.second-row {
  background-color: #0c2b4bd9;
}
.second-row h4 {
  color: rgb(252, 252, 252);
}
table tr {
  color: rgb(252, 252, 252);
}
.registration-btn {
  background-color: #0c2b4b;
  margin-top: 40px;
  width: 25%;
}
.file input {
  margin-left: 50px;
}

/* student-info css */

.entry img {
  width: 100%;
}

.container .students-info {
  width: 100%;
  overflow: hidden;
  position: relative;
}
.items {
  display: flex;
  width: fit-content;
  animation: carouselAnim 10s infinite alternate linear;
}

.entry {
  display: flex;
  align-items: center;
  flex-direction: column;
  position: relative;
  width: 300px;
  background: #fff;
  margin: 1em;
  padding: 0.5em;
  border-radius: 10px;
  box-shadow: 4px 4px 5px 0px rgba(0, 0, 0, 0.5);
}
.entry p {
  font-size: 20px;
  font-family: bold;
  color: black;
}
.btn-all a {
  border-radius: 10px;
}

@media (max-width: 768px) {
  .btn-floating.phone {
    bottom: 200px !important;
    background-color: #25aae2;
  }
  .btn-floating.whatsapp {
    bottom: 130px !important;
  }
  @keyframes carouselAnim {
    from {
      transform: translate(0, 0);
    }
    to {
      transform: translate(calc(-100% + (2 * 300px)));
    }
  }
}

.entry p {
  text-align: center;
  padding: 1em 1em 0 1em;
}

.name {
  font-weight: bold;
}

@keyframes carouselAnim {
  from {
    transform: translate(0, 0);
  }
  to {
    transform: translate(calc(-100% + (5 * 300px)));
  }
}

.faders {
  width: 100%;
  position: absolute;
}

/* gallery css */
.gallery-item {
  margin-bottom: 20px;
}

/* top-contact css */
.serve-icon-icon {
  font-size: 35px;
  margin-bottom: 20px;
}
.serv-box.py-3 {
  border-radius: 50px;
  text-align: center;
  background-color: #0c2b4b;
}
.contact-row {
  background-color: #5f9ea0;
}

.top-contact-title {
  color: white !important;
}
.top-contact-title .description {
  font-size: 20px;
}
