/********** Template CSS **********/
:root {
  --primary: #bf0000;
  --light: #f8f8f8;
  --dark: #252525;
}
body {
  overflow-x: hidden !important;
}

h1,
h2,
.h1,
.h2,
.fw-bold {
  font-weight: 600 !important;
}

h3,
h4,
.h3,
.h4,
.fw-medium {
  font-weight: 500 !important;
}

h5,
h6,
.h5,
.h6,
.fw-normal {
  font-weight: 400 !important;
}

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

.btn-outline-body {
  color: var(--primary);
  border-color: #777777;
}

.btn-outline-body:hover {
  color: #ffffff;
  background: var(--primary);
  border-color: var(--primary);
}

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

.navbar .navbar-nav .nav-link {
  margin-right: 30px;
  padding: 30px 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: #0274be;
}

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

@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;
    visibility: hidden;
    top: 100%;
    transform: rotateX(-75deg);
    transform-origin: 0% 0%;
    transition: 0.5s;
    opacity: 0;
  }

  .navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    transition: 0.5s;
    opacity: 1;
  }
}

.navbar .nav-item .dropdown-menu .dropdown-item:hover {
  color: #ffffff;
  background-color: #d42c2c;
}

/*** Header ***/
.owl-carousel-inner {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  /* background: rgba(0, 0, 0, 50%); */
}

@media (max-width: 768px) {
  /* .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    } */

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

  .header-carousel .owl-carousel-item p {
    font-size: 16px !important;
  }
}

.header-carousel .owl-dots {
  position: absolute;
  width: 60px;
  height: 100%;
  top: 0;
  right: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.header-carousel .owl-dots .owl-dot {
  position: relative;
  width: 45px;
  height: 45px;
  margin: 5px 0;
  background: var(--dark);
  transition: 0.5s;
}

.header-carousel .owl-dots .owl-dot.active {
  width: 60px;
  height: 60px;
}

.header-carousel .owl-dots .owl-dot img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 2px;
  transition: 0.5s;
  opacity: 0.3;
}

.header-carousel .owl-dots .owl-dot.active img {
  opacity: 1;
}

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

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

/*** Section Title ***/
.section-title {
  color: #0274be;
  font-weight: 600;
  letter-spacing: 0px;
  text-transform: uppercase;
}

/*** Facts ***/
.fact-item .fact-icon {
  width: 120px;
  height: 120px;
  margin-top: -60px;
  margin-bottom: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  /*border-radius: 120px;*/
  transition: 0.5s;
}

.fact-item:hover .fact-icon {
  background: white;
}

.fact-item .fact-icon i {
  color: var(--primary);
  transition: 0.5;
}

.fact-item:hover .fact-icon i {
  color: #ffffff;
}

/*** About & Feature ***/
/* .about-img,
.feature-img {
    position: relative;
    height: 100%;
    min-height: 400px;
}

.about-img img,
.feature-img img {
    position: absolute;
    width: 60%;
    height: 80%;
    object-fit: cover;
}

.about-img img:last-child,
.feature-img img:last-child {
    margin: 20% 0 0 40%;
}

.about-img::before,
.feature-img::before {
    position: absolute;
    content: "";
    width: 200px;
    height: 300px;
    top: 0;
    left: 0;
    border: 5px solid var(--bs-primary);
    animation: animateUpDown 3s ease-in-out infinite;
    z-index: -1;
}



@keyframes animateUpDown { 
    0% { 
        top: -25px;
    }
    50% { 
        top: -45px;
    }
    100% { 
        top: -25px;
    } 
} */
/** new about satrt**/
/*** About ***/
.about-img {
  position: relative;
  padding-left: 45px;
}

.about-img::before {
  position: absolute;
  content: "";
  width: 200px;
  height: 300px;
  top: 0;
  left: 0;
  border: 5px solid var(--bs-primary);
  animation: animateUpDown 3s ease-in-out infinite;
  z-index: -1;
}

@keyframes animateUpDown {
  0% {
    top: -25px;
  }

  50% {
    top: -45px;
  }

  100% {
    top: -25px;
  }
}

/**new about end**/

/*** Service ***/
.service-item .bg-img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.service-item .service-text {
  background: white;
  transition: 0.5s;
}

.service-item:hover .service-text {
  background: rgba(0, 0, 0, 0.7);
}

.service-item * {
  transition: 0.5;
}

.service-item:hover * {
  color: #ffffff;
}

.service-item .btn {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  color: var(--dark);
  background: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  transition: 0.5s;
}

.service-item:hover .btn {
  width: 140px;
}

/*** Project ***/
.project .nav .nav-link {
  background: #d8d8d8;
  transition: 0.5s;
}

.project .nav .nav-link.active {
  background: var(--primary);
}

.project .nav .nav-link.active h3 {
  color: #ffffff !important;
}

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

.team-item {
  padding: 7px;
}

.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%;
  bottom: -20px;
  left: 0;
}

.team-item .team-social .btn {
  display: inline-flex;
  margin: 0 2px;
  color: var(--primary);
  background: var(--light);
}

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

/*** Appointment ***/
.bootstrap-datetimepicker-widget.bottom {
  top: auto !important;
}

.bootstrap-datetimepicker-widget .table * {
  border-bottom-width: 0px;
}

.bootstrap-datetimepicker-widget .table th {
  font-weight: 500;
}

.bootstrap-datetimepicker-widget.dropdown-menu {
  padding: 10px;
  border-radius: 2px;
}

.bootstrap-datetimepicker-widget table td.active,
.bootstrap-datetimepicker-widget table td.active:hover {
  background: var(--primary);
}

.bootstrap-datetimepicker-widget table td.today::before {
  border-bottom-color: var(--primary);
}

/*** Testimonial ***/
.testimonial-carousel {
  display: flex !important;
  flex-direction: column-reverse;
  max-width: 700px;
  margin: 0 auto;
}

.testimonial-carousel .owl-dots {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
}

.testimonial-carousel .owl-dots .owl-dot {
  position: relative;
  width: 60px;
  height: 60px;
  margin: 0 5px;
  transition: 0.5s;
}

.testimonial-carousel .owl-dots .owl-dot.active {
  width: 100px;
  height: 100px;
}

.testimonial-carousel .owl-dots .owl-dot::after {
  position: absolute;
  width: 40px;
  height: 40px;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  content: "\f10d";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: var(--primary);
  background: #ffffff;
  border-radius: 40px;
  transition: 0.5s;
  opacity: 0;
}

.testimonial-carousel .owl-dots .owl-dot.active::after {
  opacity: 1;
}

.testimonial-carousel .owl-dots .owl-dot img {
  opacity: 0.4;
  transition: 0.5s;
}

.testimonial-carousel .owl-dots .owl-dot.active img {
  opacity: 1;
}

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

.footer .btn.btn-link:hover {
  color: white;
  letter-spacing: 1px;
  box-shadow: none;
}

.footer .form-control {
  border-color: #777777;
}

.footer .copyright {
  padding: 25px 0;
  font-size: 15px;
  border-top: 1px solid rgba(256, 256, 256, 0.1);
}

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

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

/*--------------------------------------------------------------
# Gallery Section
--------------------------------------------------------------*/
.gallery {
  overflow: hidden;
}

.gallery .swiper-wrapper {
  height: auto;
}

.gallery .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.gallery .swiper-pagination .swiper-pagination-bullet {
  background-color: var(--background-color);
  border: 1px solid var(--accent-color);
  width: 12px;
  height: 12px;
  opacity: 1;
}

.gallery .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

.gallery .swiper-slide-active {
  text-align: center;
}

@media (min-width: 992px) {
  .gallery .swiper-wrapper {
    padding: 40px 0;
  }

  .gallery .swiper-slide-active {
    background: var(--background-color);
    border: 6px solid var(--accent-color);
    padding: 4px;
    z-index: 1;
    transform: scale(1.2);
    transition: none;
  }
}

/* Highlight the active slide */
.swiper-slide-active img {
  z-index: 1;
  transform: scale(1.2);
  background: var(--background-color, #fff);
  /* Default background color */
  border: 4px solid #0274be;
  /* Default accent color */
  padding: 4px;
  transition: none;
}

/*--------------------------------------------------------------
# Gallery Section end
--------------------------------------------------------------*/
/**featured start**/
/*** Features ***/
.feature {
  background:
    linear-gradient(to right, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 1) 50%),
    url(../img/carousel-1.jpg) left center no-repeat;
  background-size: cover;
}

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

.feature-item {
  border-color: rgb(0 0 0 / 35%) !important;
}

.feature-icon {
  position: relative;
  transition: 0.5s;
}

.feature-item:hover .feature-icon {
  margin-left: 3rem;
}

.feature-item a::after {
  position: absolute;
  content: "";
  width: 100%;
  height: 1px;
  background: var(--bs-secondary);
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  z-index: -1;
}

.feature-item a:hover {
  color: var(--bs-primary) !important;
}

.feature-item a:hover::after {
  background: var(--bs-primary);
}

.experience .progress {
  height: 5px;
}

.experience .progress .progress-bar {
  width: 0px;
  transition: 3s;
}

.btn-xxl-square {
  width: 75px;
  height: 75px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/** featured end**/
/*** Blog Start ***/
.blog .blog-item {
  border-radius: 10px;
  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: 0;
  bottom: 0;
  left: 0;
  background: rgba(255, 255, 255, 0.3);
  transition: 0.5s;
}

.blog .blog-item:hover .blog-img::after {
  height: 100%;
}

.blog .blog-item .blog-img img {
  transition: 0.5s;
}

.blog .blog-item:hover .blog-img img {
  transform: scale(1.2);
}

.blog .blog-item .blog-content {
  position: relative;
  background: var(--bs-light);
}

.blog .blog-item .blog-content .blog-date {
  position: absolute;
  top: 0;
  left: 25px;
  transform: translateY(-50%);
  padding: 12px 25px;
  border-radius: 10px;
  color: var(--bs-white);
  background: #0274be;
}

.blog .blog-item .blog-content .blog-comment {
  display: flex;
  justify-content: space-between;
}

/*** Blog End ***/
/*** Events Start ***/
.event .tab-class .nav-item a.active {
  background: var(--bs-primary) !important;
}

.event .event-img .event-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(212, 167, 98, 0.7);
  border-radius: 8px;
  transition: 0.5s;
  opacity: 0;
  z-index: 1;
}

.event .event-img:hover .event-overlay {
  opacity: 1;
}

.lb-prev,
.lb-next {
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  width: 40px;
  height: 40px;
}

.lb-prev:hover,
.lb-next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/*** Events End ***/
/* Customize Lightbox close button */
.lb-close {
  background-color: rgba(0, 0, 0, 0.8);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  font-size: 20px;
  color: white;
  cursor: pointer;
}

/* Customize navigation arrows */
.lb-prev,
.lb-next {
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  width: 40px;
  height: 40px;
}

.cardss {
  border: 2px solid #0274be;
  box-shadow: 0 0 15px rgb(0 0 0 / 55%);
}

/* Hover effect for Vision and Mission cards */
.vision-card {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.vision-card:hover {
  transform: translateY(-10px);
  /* Slightly lift the card */
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
  /* Add a shadow effect */
}

.vision-card i {
  transition: color 0.3s ease;
  /* Smooth color transition for icons */
}

.vision-card:hover i {
  color: #0274be;
  /* Change icon color on hover */
}

.text-primarys {
  color: red;
}

.bg-custom-blue {
  background-color: #0274be !important;
}

/*** Gallery Start ***/
.gallery .gallery-item {
  position: relative;
  overflow: hidden;
  height: 100%;
  border-radius: 4px;
}

.gallery .gallery-item img {
  transition: 0.5s;
}

.gallery .gallery-item:hover img {
  transform: scale(1.2);
}

.gallery .gallery-item::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.4);
  transition: 0.5s;
  z-index: 1;
}

.gallery .gallery-item:hover::after {
  width: 100%;
  height: 100%;
}

.gallery .gallery-item .search-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: 0.5s;
  z-index: 5;
  opacity: 0;
}

.gallery .gallery-item:hover .search-icon {
  opacity: 1;
}

/*** Gallery End ***/
/*** Events Start ***/
.event .tab-class .nav-item a.active {
  background: #0274be !important;
}

.event .event-img .event-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgb(0 118 192 / 31%);
  border-radius: 8px;
  transition: 0.5s;
  opacity: 0;
  z-index: 1;
}

.event .event-img:hover .event-overlay {
  opacity: 1;
}

/*** Events End ***/
.aligns {
  text-align: justify;
}

.text-primarys {
  color: #ff0000;
}

.borderes {
  border: 2px solid #0f4229;
  border-radius: 8px !important;
}

@media (max-width: 320px) {
  .owl-carousel .owl-carousel-item img {
    width: 100%;
    /* Make the image responsive */
    height: auto;
    /* Maintain aspect ratio */
    object-fit: cover;
    /* Ensure the image fits within the container */
  }

  .owl-carousel-inner {
    padding: 10px;
    /* Add padding for better spacing */
  }

  .owl-carousel-item {
    text-align: center;
    /* Center-align content */
    /* margin-bottom: -395px; */
  }

  .owl-carousel-item h4 {
    font-size: 1.2rem;
    /* Adjust font size for smaller screens */
  }

  .owl-carousel-item p {
    font-size: 0.9rem;
    /* Adjust paragraph font size */
  }

  .owl-carousel-item .btn {
    font-size: 0.8rem;
    /* Adjust button font size */
    padding: 8px 12px;
    /* Adjust button padding */
  }
  .facts {
    margin-top: -100px;
  }
}

/* Default styling */
.owl-carousel-item {
  position: relative;
  overflow: hidden;
}

.owl-carousel-item img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Mobile M - max-width: 375px */
@media (max-width: 375px) {
}

/* Mobile L - max-width: 425px */
@media (max-width: 425px) {
  .owl-carousel-item img {
    height: 220px;
  }

  .owl-carousel-inner {
    padding: 12px;
    text-align: center;
  }
}

/* Tablet - max-width: 768px */
@media (max-width: 768px) {
  .owl-carousel-item img {
    height: 300px;
  }

  .owl-carousel-inner {
    padding: 15px;
    text-align: center;
  }
}

/* Gallery Image Sizing */
.event-img {
  height: 300px; /* Fixed height for all gallery items */
  overflow: hidden;
}

.event-img img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures images fill the container without distortion */
}

/* General Carousel Styling */

.header-carousel .owl-carousel-item {
  /* position: relative; */
  width: 100%;
  height: 100%; /* Full height for desktop */
}

/* Tablet View (max-width: 768px) */
@media (max-width: 768px) {
  .header-carousel .owl-carousel-item {
    min-height: 248px; /* Minimum height for carousel items on tablets */
  }
}

/* Mobile L (max-width: 425px) */
@media (max-width: 426px) {
  .header-carousel .owl-carousel-item {
    min-height: 122px; /* Minimum height for carousel items on Mobile L */
  }
}

/* Mobile M (max-width: 375px) */
@media (max-width: 374px) {
  .header-carousel .owl-carousel-item {
    min-height: 120px; /* Minimum height for carousel items on Mobile M */
  }
}

/* Mobile S (max-width: 320px) */
@media (max-width: 320px) {
  .header-carousel .owl-carousel-item {
    min-height: 180px; /* Minimum height for carousel items on Mobile S */
  }
}
.get-involved-section {
  display: flex;
  align-items: center;
  text-align: center;
  font-family: Arial, sans-serif;
}

.get-involved-btn {
  background-color: #666;
  color: white;
  padding: 46px 40px;
  flex: 1;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 18px;
  cursor: pointer;
}

.get-involved-btn .arrow {
  font-size: 24px;
}

.info-box {
  flex: 1;
  background-color: #e7c17c; /* Default gold-tone */
  padding: 30px 20px;
  transition: background-color 0.3s ease;
}

.info-box:nth-child(3) {
  background-color: #f0d9b6;
}

.info-box img {
  width: 40px;
  margin-bottom: 10px;
}

.info-box p {
  margin: 0;
  color: white;
  font-weight: 500;
  font-size: 18px;
}
.custom-padding {
  padding-top: 0px !important;
  padding-bottom: 0px !important;
}
.bor {
  padding: 0.25rem;
  background-color: #fff;
  border: 2px solid #0274cd;
  /* border-radius: .25rem; */
  max-width: 100%;
  height: auto;
}



