/*** Spinner Start ***/
#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;
}

/*** Spinner End ***/

.back-to-top {
  position: fixed;
  right: 30px;
  bottom: 30px;
  transition: 0.5s;
  z-index: 99;
}

/*** Button Start ***/
.btn {
  font-weight: 600;
  transition: 0.5s;
}

.btn-square {
  width: 32px;
  height: 32px;
}

.btn-sm-square {
  width: 34px;
  height: 34px;
}

.btn-md-square {
  width: 44px;
  height: 44px;
}

.btn-lg-square {
  width: 56px;
  height: 56px;
}

.btn-xl-square {
  width: 66px;
  height: 66px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square,
.btn-xl-square {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: normal;
}

.btn.btn-primary {
  color: var(--bs-white);
}

.btn.btn-primary:hover {
  background: var(--bs-secondary);
  border: 1px solid var(--bs-secondary);
}

.btn.btn-secondary {
  color: var(--bs-white);
}

.btn.btn-secondary:hover {
  background: var(--bs-primary);
  border: 1px solid var(--bs-primary);
}

.admin-link {
  color: white;
  font-weight: 600;
}

.admin-link:hover {
  color: black;
}

/* Navbar start */
.navbar {
  transition: all 0.3s ease;
  padding: 0.75rem 4rem; 
  height: 80px; 
}

.navbar-light {
  background: linear-gradient(135deg, #48c6ef, #6f86d6);
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

.navbar-light .navbar-nav .nav-link {
  margin-right: 20px;
  padding: 10px 15px;
  color: #000;
  font-weight: 600;
  transition: color 0.3s, background-color 0.3s;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
  color: white;
  font-weight: bold;
}

.navbar-light .navbar-brand img {
  max-height: 50px; /* Adjusted logo size */
  transition: 0.5s;
}

.fixed-top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.navbar-scrolled {
  background: linear-gradient(135deg, #afd6e3, #aab9f1);
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
}

/* Dropdown Menu Styling */
.navbar-nav .dropdown-menu {
  background: linear-gradient(135deg, #48c6ef, #6f86d6); /* Matching navbar gradient */
  border: none;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

.navbar-nav .dropdown-item {
  color: #000;
  font-weight: 600;
  padding: 10px 20px;
  transition: all 0.3s ease;
}

.navbar-nav .dropdown-item:hover {
  color: white;
  background-color: rgba(255, 255, 255, 0.1);
}

/* Navbar dropdown on hover */
.navbar .nav-item.dropdown:hover .dropdown-menu {
  display: block;
}

/* Buttons */
.primary-btn {
  background: linear-gradient(135deg, #004080, #0066cc);
  color: white;
  border: none;
  transition: all 0.3s ease;
}

.primary-btn:hover {
  background: linear-gradient(135deg, #0066cc, #004080);
  color: white !important;
  transform: translateY(-2px);
}

.btn-login {
  background: white;
  color: #004080;
  border: 1px solid #004080;
  transition: all 0.3s ease;
}

.btn-login:hover {
  background: #004080;
  color: white;
  transform: translateY(-2px);
}

.btn-primary{
  background-color: #004080 !important;
}

.btn-primary:hover{
  background: linear-gradient(135deg, #004080, #0066cc) !important;
  color: white;
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 991.98px) {
  .navbar {
    padding: 0.5rem 1rem; 
    height: auto; 
  }

  .navbar-light .navbar-nav .nav-link {
    padding: 10px 0;
    margin-left: 0;
    color: var(--bs-dark);
    text-align: center;
  }

  .navbar-light .navbar-brand img {
    max-height: 45px;
  }

  .navbar-light .navbar-collapse {
    margin-top: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
  }

  .navbar-collapse .primary-btn,
  .navbar-collapse .btn-login {
    width: 40%;
    margin: 5px auto;
    display: block;
  }

  .navbar-toggler {
    color: white;
  }

  .navbar-toggler-icon {
    filter: brightness(0) invert(1);
  }

  .navbar-nav {
    flex-direction: column;
    align-items: center;
  }

  .navbar-nav .dropdown-menu {
    background: transparent; 
    box-shadow: none;
    text-align: center;
    border: none;
  }

  .navbar-nav .dropdown-item {
    text-align: center;
    color: #000;
  }

  .navbar-nav .dropdown-item:hover {
    color: white;
    background-color: rgba(255, 255, 255, 0.1);
  }

  /* Ensure dropdown is clickable on smaller screens */
  .navbar-nav .dropdown-toggle::after {
    display: inline-block;
    margin-left: 0.255em;
    vertical-align: 0.255em;
    content: "";
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
  }

  .navbar-nav .dropdown-toggle[aria-expanded="true"]::after {
    transform: rotate(180deg);
  }
}
/* Navbar end */




/* Carousel Styling */
.carousel-item img {
  width: 100vw;
  height: 80vh;
  object-fit: cover;
  border-radius: 10px;
}

.carousel-container {
  position: relative;
  max-width: 90%;
  margin: auto;
  padding-top: 40px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(0, 0, 255, 0.7);
  border-radius: 50%;
  padding: 10px;
}

/* Free Demo Button Styling */
/*.free-demo-btn {*/
/*  position: fixed;*/
/*  top: 35%;*/
/*  right: 20px;*/
/*  transform: translateY(-50%);*/
/*  background-color: #ff5722; */
/*  color: white;*/
/*  border: none;*/
/*  padding: 15px 30px;*/
/*  border-radius: 50px; */
/*  cursor: pointer;*/
/*  z-index: 1000;*/
/*  box-shadow: 0 4px 12px rgba(255, 87, 34, 0.5); */
/*  font-size: 18px;*/
/*  font-weight: bold;*/
/*  text-transform: uppercase;*/
/*  letter-spacing: 1px;*/
/*  transition: all 0.3s ease;*/
/*  animation: pulse 2s infinite; */
/*}*/

/*.free-demo-btn:hover {*/
/*  background-color: #e64a19; */
/*  box-shadow: 0 6px 16px rgba(255, 87, 34, 0.7); */
/*  transform: translateY(-50%) scale(1.05); */
/*}*/

/*.free-demo-btn span {*/
/*  position: relative;*/
/*  z-index: 2;*/
/*}*/

/* Pulsing Animation */
/*@keyframes pulse {*/
/*  0% {*/
/*      box-shadow: 0 0 0 0 rgba(255, 87, 34, 0.4);*/
/*  }*/
/*  70% {*/
/*      box-shadow: 0 0 0 15px rgba(255, 87, 34, 0);*/
/*  }*/
/*  100% {*/
/*      box-shadow: 0 0 0 0 rgba(255, 87, 34, 0);*/
/*  }*/
/*}*/

/* Modal Styling */
.modal-content {
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.modal-header {
  background-color: #004080;
  color: white;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.modal-title {
  font-weight: bold;
}

/* Responsive Design */
@media (max-width: 768px) {
  .carousel-item img {
      height: 60vh;
  }

  .modal-content {
      margin: 10px;
  }

  /*.free-demo-btn {*/
  /*    right: 8px; */
  /*    padding: 10px 20px; */
  /*    font-size: 14px;*/
  /*    top: 28%; */
  /*}*/
}

/*** Single Page Hero Header Start ***/
.bg-breadcrumb {
  position: relative;
  overflow: hidden;
  background: linear-gradient(rgba(0, 20, 66, 0.7), rgba(0, 20, 66, 0.7)),
    url(../img/breadcrumb.jpg);
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 120px 0 60px 0;
  transition: 0.5s;
}

.bg-breadcrumb .breadcrumb {
  position: relative;
}

.bg-breadcrumb .breadcrumb .breadcrumb-item a {
  color: var(--bs-white);
}

@media (max-width: 992px) {
  .bg-breadcrumb {
    padding: 60px 0 60px 0;
  }
}
/*** Single Page Hero Header End ***/

/*** Features Start ***/
.feature .feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--bs-white);
  border-radius: 10px;
  transition: 0.5s;
}

.feature .feature-item:hover {
  box-shadow: 0 0 45px rgba(0, 0, 0, 0.08);
}

.feature .feature-item .feature-icon {
  width: 100px;
  height: 100px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bs-primary);
}

.feature .feature-item .feature-icon i {
  transition: 0.5s;
}

.feature .feature-item:hover .feature-icon i {
  transform: rotate(360deg);
}

.feature .feature-item a.btn {
  transition: 0.5s;
}

.feature .feature-item:hover a.btn:hover {
  color: var(--bs-primary) !important;
}
/*** Features End ***/

/*** About Start ***/
.about .about-img {
  position: relative;
  padding-bottom: 30px;
  margin-top: 30px;
  margin-left: 30px;
}

.about .about-img::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 10px;
  top: -30px;
  right: 0;
  border-radius: 10px;
  background: var(--bs-secondary);
}

.about .about-img::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 100%;
  left: -30px;
  bottom: 30px;
  border-radius: 10px;
  background: var(--bs-secondary);
}

.about .about-img .about-exp {
  position: absolute;
  top: 0;
  left: 0;
  padding: 25px;
  font-size: 30px;
  font-weight: bold;
  background: var(--bs-secondary);
  color: var(--bs-white);
  border: 1px solid var(--bs-secondary);
  margin-top: -30px;
  margin-left: -30px;
  border-radius: 10px;
}
/*** About End ***/

/*** Service Start ***/
.service-item {
  position: relative;
  box-shadow: 0 0 45px rgba(0, 0, 0, 0.08);
}

.service-item::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  left: 0;
  bottom: 0;
  border-radius: 10px;
  background: var(--bs-primary);
  transition: 0.5s;
  z-index: 1;
}

.service-item:hover::after {
  width: 100%;
  height: 100%;
}

.service-item:hover .service-content,
.service-item:hover .service-btn {
  position: relative;
  z-index: 2;
}

.service-item .service-content a,
.service-item .service-content p {
  transition: 0.5s;
}

.service-item:hover .service-content a:hover {
  color: var(--bs-secondary);
}

.service-item:hover .service-content p {
  color: var(--bs-white);
}

.service-item .service-btn {
  width: 80px;
  height: 80px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bs-primary);
  transition: 0.5s;
}

.service-item .service-btn i {
  transition: 0.5s;
}

.service-item:hover .service-btn {
  background: var(--bs-white);
}

.service-item:hover .service-btn i {
  transform: rotate(360deg);
  color: var(--bs-primary) !important;
}
/*** Service End ***/

/*** Counter Start ***/
.counter {
  position: relative;
  overflow: hidden;
  background: linear-gradient(rgba(25, 64, 154, 0.9), rgba(25, 64, 154, 1)),
    url(../img/fact-bg.jpg);
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
}

.counter .counter-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.counter .counter-item .counter-item-icon {
  width: 100px;
  height: 100px;
  border-radius: 50px;
  background: var(--bs-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
/*** Counter End ***/

/*** Products Start ***/
.product .product-item {
  border: 1px solid rgba(196, 211, 211, 0.9);
  border-radius: 10px;
}

/*** Products End ***/

/*** Blog Start ***/
.blog .blog-item {
  border-radius: 10px;
  background: var(--bs-light);
  transition: 0.5s;
}

.blog .blog-item:hover {
  box-shadow: 0 0 45px rgba(0, 0, 0, 0.2);
}

.blog .blog-item .blog-img {
  position: relative;
  overflow: hidden;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.blog .blog-item .blog-img::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  transition: 0.5s;
  z-index: 1;
}

.blog .blog-item .blog-img img {
  transition: 0.5s;
}

.blog .blog-item:hover .blog-img img {
  transform: scale(1.2);
}

.blog .blog-item:hover .blog-img::after {
  background: rgba(0, 209, 249, 0.2);
}

.blog .blog-item .blog-date {
  position: absolute;
  top: 25px;
  left: 25px;
  border-radius: 10px;
  background: var(--bs-primary);
  color: var(--bs-white);
  z-index: 2;
}

.blog .blog-item .blog-content a {
  transition: 0.5s;
}

.blog .blog-item:hover .blog-content a:hover {
  color: var(--bs-primary) !important;
}
/*** Blog End ***/

/*** Team Start ***/
.team .team-item {
  position: relative;
  overflow: hidden;
  background: var(--bs-white);
  border: 1px solid var(--bs-secondary);
  border-radius: 10px;
}

.team .team-item .team-inner {
  transition: 0.5s;
}
.team .team-item:hover .team-inner {
  box-shadow: 0 0 45px rgba(0, 0, 0, 0.2);
}

.team .team-item .team-inner .team-img {
  position: relative;
  z-index: 2;
}

.team .team-item .team-inner .team-img::after {
  content: "";
  width: 100%;
  height: 0;
  position: absolute;
  top: 0;
  left: 0;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  background: rgba(0, 209, 249, 0.2);
  transition: 0.5s;
  z-index: 3;
}

.team .team-item:hover .team-inner .team-img::after {
  height: 100%;
}

.team .team-item .team-inner .team-img .team-share {
  position: absolute;
  left: 10px;
  bottom: 10px;
  transition: 0.5s;
  z-index: 2;
}

.team .team-item:hover .team-inner .team-img .team-share {
  opacity: 0;
}

.team .team-item .team-inner .team-img .team-icon {
  position: absolute;
  bottom: 0;
  left: -100%;
  border-bottom-left-radius: 0 !important;
  border-top-left-radius: 0 !important;
  display: inline-flex;
  background: var(--bs-primary);
  transition: 0.5s;
  z-index: 4;
}

.team .team-item:hover .team-inner .team-img .team-icon {
  left: -25px;
}
/*** Team End ***/

/*** testimonial Start ***/
.testimonial .owl-nav .owl-prev {
  position: absolute;
  top: -58px;
  right: 0;
  background: var(--bs-primary);
  color: var(--bs-white);
  padding: 5px 30px;
  border-radius: 30px;
  transition: 0.5s;
}

.testimonial .owl-nav .owl-prev:hover {
  background: var(--bs-secondary);
  color: var(--bs-white);
}

.testimonial .owl-nav .owl-next {
  position: absolute;
  top: -58px;
  right: 88px;
  background: var(--bs-primary);
  color: var(--bs-white);
  padding: 5px 30px;
  border-radius: 30px;
  transition: 0.5s;
}

.testimonial .owl-nav .owl-next:hover {
  background: var(--bs-secondary);
  color: var(--bs-white);
}

.testimonial-carousel .owl-dots {
  display: flex;
  justify-content: center;
  margin-left: 20px;
  margin-top: 20px;
}

.testimonial-carousel .owl-dots .owl-dot {
  width: 20px;
  height: 20px;
  border-radius: 20px;
  margin-right: 15px;
  border: 1px solid var(--bs-secondary);
  background: var(--bs-primary);
  transition: 0.5s;
}

.testimonial-carousel .owl-dots .owl-dot.active {
  width: 20px;
  height: 20px;
  border-radius: 20px;
  border: 1px solid var(--bs-primary);
  background: var(--bs-secondary) !important;
  transition: 0.5s;
}

.testimonial-carousel .owl-dots .owl-dot span {
  position: relative;
  margin-top: 50%;
  margin-left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.testimonial-carousel .owl-dots .owl-dot span::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 8px;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--bs-white);
}

@media (max-width: 992px) {
  .owl-carousel.testimonial-carousel {
    padding-top: 30px;
  }

  .testimonial .owl-nav .owl-prev,
  .testimonial .owl-nav .owl-next {
    top: -30px;
  }
}
/*** testimonial End ***/

/* upcoming events start */

.upcoming-events {
  padding: 50px 0;
}

.card {
  border: none;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s;
}

.card:hover {
  transform: scale(1.05);
}

.card-img-top {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-body {
  padding: 20px;
}

.card-title {
  font-size: 1.25rem;
  font-weight: bold;
}

.card-text {
  font-size: 0.9rem;
  color: #555;
}

.btn-primary {
  background-color: #007bff;
  border: none;
  padding: 10px 20px;
  font-size: 0.9rem;
}

.btn-primary:hover {
  background-color: #0056b3;
}

/* upcoming events end */




/*** Footer Start ***/
.footer {
  background-color: #343a40;
}

.footer h4 {
  font-size: 1.4rem;
  font-weight: bold;
}

.footer-item p {
  font-size: 0.9rem;
}

.footer-icons a {
  transition: transform 0.3s ease;
}

.footer-icons a:hover {
  color: white;
  background-color: var(--bs-primary);
  transform: scale(1.1);
}

.jump-effect:hover {
  position: relative;
  top: -2px;
  transition: all 0.2s ease;
}

.footer a {
  font-size: 0.9rem;
}

.border-bottom {
  border-bottom: 2px solid #ffffff;
  padding-bottom: 2px;
  transition: border-color 0.3s ease;
}

.border-bottom:hover {
  border-color: #00aaff;
}
o

/*** Footer End ***/

/*** copyright Start ***/
.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--bs-dark);
}
/*** copyright end ***/
