/*** 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 {
  background: var(--bs-primary);
  color: var(--bs-dark);
  border: none;
}

.btn.btn-primary:hover {
  background: var(--bs-dark);
  color: var(--bs-white);
}

.btn.btn-light {
  color: var(--bs-primary);
  border: none;
}

.btn.btn-light:hover {
  color: var(--bs-white);
  background: var(--bs-dark);
}

.btn.btn-dark {
  color: var(--bs-white);
  border: none;
}

.btn.btn-dark:hover {
  color: var(--bs-primary);
  background: var(--bs-light);
}

/*** Topbar Start ***/
.topbar {
  background: var(--bs-dark);
}

.topbar .topbar-item {
  color: #111111;
}

.topbar .topbar-border a {
  color: var(--bs-white);
  border-right: 1px solid var(--bs-white);
  padding-right: 10px;
  /* Optional, for spacing */
  margin-right: 10px;
}

.topbar .topbar-border a:hover {
  color: var(--bs-primary);
}

.topbar .topbar-border i {
  color: var(--bs-white);
}

.topbar .topbar-border i:hover {
  color: var(--bs-primary);
}

.topbar .topbar-email a {
  color: var(--bs-white);
}

.topbar .topbar-email a:hover {
  color: var(--bs-primary);
}

.topbar .topbar-email i {
  color: var(--bs-white);
}

.topbar .topbar-email i:hover {
  color: var(--bs-primary);
}

.topbar .topbar-language-left-border {
  border-right: 1px solid var(--bs-white);
  padding-right: 10px;
  /* Optional, for spacing */
  margin-right: 10px;
}

.topbar .topbar-language-left-border a {
  color: var(--bs-white);
}

.topbar .topbar-language-left-border a:hover {
  color: var(--bs-primary);
}

.topbar .lang-selected a {
  color: var(--bs-white);
}

.topbar .lang-selected a:hover {
  color: var(--bs-primary);
}

.topbar .dropdown a {
  color: var(--bs-white);
}

.topbar .dropdown-toggle::after {
  border: none;
  content: "\f107";
  font-family: "Font Awesome 5 Free";
  font-weight: 600;
  vertical-align: middle;
  margin-left: 8px;
  /* color: var(--bs-white); */
}

.topbar .dropdown .dropdown-menu {
  transform: rotateX(0deg);
  visibility: visible;
  background: var(--bs-dark);
  padding-top: 10px;
  border: 0;
  transition: 0.5s;
  opacity: 1;
  font-size: 13px;
}

.topbar .dropdown .dropdown-menu a:hover,
.topbar .dropdown .dropdown-menu a.active {
  background: var(--bs-dark);
  color: var(--bs-primary);
}

.topbar .dropdown .dropdown-menu .dropdown-item {
  color: var(--bs-white);
  background: var(--bs-dark);
  transition: 0.5s;
}

/*** Topbar End ***/

/* Institution Thing Start*/
.institution-thing {
  background: var(--bs-primary);
}

.institution-thing-title {
  font-weight: 700;
  color: #111111;
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.institution-thing-subtitle {
  color: #111111;
  font-weight: 500;
  font-size: 1.25rem;
}

.institution-thing-subtitle-sec {
  color: #111111;
  font-size: 0.85rem;
  font-style: italic;
  font-weight: 300;
}

.institution-thing-img {
  height: 68px;
  max-width: 100%;
}

@media (max-width: 991.98px) {

  /* Tablet and below */
  .institution-thing-title {
    font-weight: 700;
    font-size: 1rem;
  }

  .institution-thing-subtitle {
    font-weight: 500;
    font-size: 0.85rem;
  }

  .institution-thing-subtitle-sec {
    font-weight: 300;
    font-size: 0.55rem;
    font-style: italic;
  }

  .institution-thing-img {
    height: 44px;
  }
}

@media (max-width: 575.98px) {

  /* Mobile */
  .institution-thing-title {
    font-size: 0.8rem;
  }

  .institution-thing-subtitle {
    font-size: 0.7rem;
  }

  .institution-thing-subtitle-sec {
    font-size: 0.5rem;
    font-style: italic;
  }

  .institution-thing-img {
    height: 18px;
  }
}

/*** Institution Thing End ***/

/*** Navbar Start ***/
.nav-bar {
  background: var(--bs-dark);
  transition: 1s;
}

.navbar-light .navbar-brand img {
  max-height: 60px;
  transition: 0.5s;
}

.nav-bar .navbar-light .navbar-brand img {
  max-height: 50px;
}

.navbar .navbar-nav .nav-item .nav-link {
  padding: 0;
  color: var(--bs-white);
  transition: 0.5s;
}

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

.navbar .navbar-nav .nav-item {
  display: flex;
  align-items: center;
  padding: 15px;
  color: var(--bs-white);
}

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

@media (max-width: 991px) {
  .navbar {
    padding: 20px 0;
  }

  .navbar .navbar-nav .nav-link {
    padding: 0;
  }

  .navbar .navbar-nav .nav-item {
    display: flex;
    padding: 10px;
    flex-direction: column;
    justify-content: start;
    align-items: start;
  }

  .navbar .navbar-nav .nav-btn {
    display: flex;
    justify-content: start;
  }

  .navbar .navbar-nav {
    width: 100%;
    display: flex;
    margin-top: 20px;
    padding-bottom: 20px;
    border-radius: 10px;
  }

  .navbar.navbar-expand-lg .navbar-toggler {
    padding: 4px 6px;
    border: 1px solid var(--bs-primary) !important;
    border-radius: 0.25rem;
    color: var(--bs-primary);
  }
}

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

.dropdown .dropdown-menu {
  background: var(--bs-primary);
}

.dropdown .dropdown-menu .dropdown-item {
  color: var(--bs-dark);
  background: var(--bs-primary);
  transition: 0.5s;
}

.dropdown .dropdown-menu .dropdown-item:hover,
.dropdown .dropdown-menu .dropdown-item.active {
  /* background: var(--bs-primary); */
  background: var(--bs-dark);
  color: var(--bs-primary);
}

@media (min-width: 992px) {
  .navbar {
    padding: 20px 0;
  }

  .navbar .nav-btn {
    display: flex;
    align-items: center;
    justify-content: end;
  }

  .navbar .navbar-nav {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    /* background: var(--bs-light); */
    border-radius: 10px;
  }

  .navbar .navbar-nav .nav-btn {
    width: 100%;
    display: flex;
    margin-left: auto;
  }

  .navbar .nav-item .dropdown-menu {
    display: block;
    visibility: hidden;
    top: 100%;
    transform: rotateX(-75deg);
    transform-origin: 0% 0%;
    border: 0;
    border-radius: 10px;
    transition: 0.5s;
    opacity: 0;
  }

  .navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    margin-top: 20px;
    background: var(--bs-primary);
    transition: 0.5s;
    opacity: 1;
  }
}

/*** Navbar End ***/

/*** Carousel Hero Header Start ***/
.carousel-caption {
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: none;
}

.carousel-caption-bg {
  /* background: rgba(28, 30, 50, 0.75); /* semi-transparent dark */
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.3);
  border-radius: 1rem;
  padding: 2rem 3rem;
  display: inline-block;
  max-width: 90vw;
}

.carousel-caption-bg h1,
.carousel-caption-bg p {
  color: #fff !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.carousel-caption-bg p {
  font-family: 'DM Sans', 'Inter', Arial, Helvetica, sans-serif;
}

@media (max-width: 991.98px) {
  .carousel-caption h4 {
    font-size: 18px;
    font-weight: 500 !important;
  }

  .carousel-caption h1 {
    font-size: 30px;
    font-weight: 600 !important;
  }
}

@media (max-width: 991.98px) {
  .carousel-caption-bg {
    padding: 1.2rem 1.5rem;
    max-width: 95vw;
  }

  .carousel-caption-bg h1 {
    font-size: 2rem;
  }

  .carousel-caption-bg p {
    font-size: 1rem;
  }
}

@media (max-width: 575.98px) {
  .carousel-caption-bg {
    padding: 0.7rem 0.7rem;
    max-width: 98vw;
  }

  .carousel-caption-bg h1 {
    font-size: 1.2rem;
    margin-bottom: 0.7rem !important;
  }

  .carousel-caption-bg p {
    font-size: 0.9rem;
  }

  .carousel-caption-bg a.btn {
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
  }
}

#header-carousel .carousel-item {
  position: relative;
}

#header-carousel .carousel-caption {
  z-index: 1;
}

#header-carousel .carousel-item.has-slider-description .carousel-caption {
  padding-bottom: clamp(3rem, 11vh, 6.5rem);
  box-sizing: border-box;
}

.home-slider-description-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  padding: 1rem 1.75rem;
  background: rgba(255, 230, 0, 1);
  color: #111111;
  text-align: left;
  z-index: 15;
  transform: translate3d(0, 0, 0);
  opacity: 1;
  visibility: visible;
  -webkit-font-smoothing: antialiased;
}

.home-slider-description-text {
  font-family: 'DM Sans', 'Inter', Arial, Helvetica, sans-serif;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #111111 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

@media (max-width: 991.98px) {
  .home-slider-description-bar {
    padding: 0.85rem 1.25rem;
  }

  .home-slider-description-text {
    font-size: 0.9rem;
  }
}

/* Hide slider description on phones / small screens (below Bootstrap md) */
@media (max-width: 767.98px) {
  #header-carousel .home-slider-description-bar {
    display: none !important;
  }

  #header-carousel .carousel-item.has-slider-description .carousel-caption {
    padding-bottom: 0;
  }
}

/*** Carousel Hero Header End ***/

/******* NICTBB Partners Start****/
.nictbb-partners .owl-dots {
  margin-top: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nictbb-partners .owl-dot {
  position: relative;
  display: inline-block;
  margin: 30px 10px 0 10px;
  width: 20px;
  height: 20px;
  background: var(--bs-dark);
  transition: 0.5s;
}

.nictbb-partners .owl-dot.active {
  /* width: 40px;
  height: 40px; */
  background: var(--bs-primary);
}

/** NICTBB Partners End ***/

/*** Single Page Hero Header Start ***/
/* .bg-breadcrumb {
  position: relative;
  overflow: hidden;
  background: linear-gradient(rgba(1, 95, 201, 0.9), rgba(0, 0, 0, 0.2));
   
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 60px 0 60px 0;
  transition: 0.5s;
} */

.bg-breadcrumb {
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    rgba(10, 60, 140, 0.95),   /* deep blue */
    rgba(20, 90, 180, 0.9),    /* mid blue */
    rgba(60, 130, 220, 0.85)   /* lighter blue */
  );
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 0;
  transition: 0.5s;
}

.bg-breadcrumb > .container {
  padding-top: 1.25rem !important;
  padding-bottom: 1.25rem !important;
}

.bg-breadcrumb h4 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.2;
  margin-bottom: 0.35rem !important;
}

.bg-breadcrumb .breadcrumb {
  margin-bottom: 0;
  font-size: 0.875rem;
}

/*** Section intro headings (subtitle + title) ***/
.text-center.mx-auto.pb-5 > h4.text-primary {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 0.35rem;
}

.text-center.mx-auto.pb-5 > h1,
.text-center.mx-auto.pb-5 > h1.display-3,
.text-center.mx-auto.pb-5 > h1.display-4 {
  font-size: clamp(1.35rem, 2.5vw, 1.85rem) !important;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.5rem !important;
}

.text-center.mx-auto.pb-5 {
  padding-bottom: 1.5rem !important;
}

/* Content page intro headings (e.g. NICTBB Forms, Biography, Regulations) */
h4.text-primary:has(+ h1) {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 0.35rem;
}

h4.text-primary + h1,
h4.text-primary + h1.display-3,
h4.text-primary + h1.display-4 {
  font-size: clamp(1.35rem, 2.5vw, 1.85rem) !important;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.75rem !important;
}

/* Welcome message profile name */
.container-team h1.display-6 {
  font-size: clamp(1.25rem, 2.5vw, 1.65rem) !important;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.5rem !important;
}

.container-team h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem !important;
}

/* Biography profile name */
.biography-details h5.text-primary {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.25rem !important;
}

.biography-details h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.65rem) !important;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.5rem !important;
}

.biography-details h6.text-muted {
  font-size: 0.9rem;
  margin-bottom: 0.5rem !important;
}

/* .bg-breadcrumb::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 30%, rgba(255,255,255,0.08), transparent 40%),
              radial-gradient(circle at 80% 70%, rgba(255,255,255,0.06), transparent 50%);
  pointer-events: none;
} */

/* 
.bg-breadcrumb .breadcrumb {
  position: relative;
}

.bg-breadcrumb .breadcrumb .breadcrumb-item a {
  color: var(--bs-white);
} */

/*** Single Page Hero Header End ***/

/*** Feature Start ***/
.feature .feature-item {
  border-radius: 10px;
  background: var(--bs-white);
  transition: 0.5s;
}

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

.feature .feature-item .feature-icon {
  position: relative;
  width: 100px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  background: var(--bs-light);
}

.feature .feature-item:hover .feature-icon i {
  z-index: 9;
}

.feature .feature-item .feature-icon::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 0;
  top: 0;
  left: 0;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  background: var(--bs-dark);
  transition: 0.5s;
  z-index: 1;
}

.feature .feature-item:hover .feature-icon::after {
  height: 100%;
}

.feature .feature-item .feature-icon {
  color: var(--bs-primary);
}

.feature .feature-item .feature-icon,
.feature .feature-item h4,
.feature .feature-item p {
  transition: 0.5s;
}

.feature .feature-item:hover .feature-icon {
  color: var(--bs-white);
}

.feature .feature-item:hover h4,
.feature .feature-item:hover p {
  color: var(--bs-white);
}

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

.feature .feature-item:hover a.btn:hover {
  background: var(--bs-dark);
  color: var(--bs-white);
}

/*** Feature End ***/

/*** NICTBB Service Start ***/
.nictbb-service-item {
  position: relative;
  box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

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

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

.nictbb-service-item:hover .service-content,
.nictbb-service-item:hover .service-btn {
  position: relative;
  z-index: 2;
}

.nictbb-service-item .service-content a,
.nictbb-service-item .service-content p {
  transition: 0.5s;
}

.nictbb-service-item:hover .service-content a:hover {
  color: var(--bs-secondary);
}

.nictbb-service-item:hover .service-content p {
  color: var(--bs-dark);
}

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

.nictbb-service-item .service-btn i {
  transition: 0.5s;
}

.nictbb-service-item:hover .service-btn {
  background: var(--bs-white);
}

.nictbb-service-item:hover .service-btn i {
  transform: rotate(360deg);
  color: var(--bs-primary) !important;
}

/*** NICTBB Service End ***/

/*** Projects Start ***/
.container-project {
  position: relative;
}

.container-project::before {
  position: absolute;
  content: '';
  background: var(--bs-light);
  width: 100%;
  height: 100%;
  left: 0px;
  top: 0px;
  clip-path: polygon(0 0, 100% 0, 100% 30%, 0 70%);
  z-index: -1;
}

.project-item {
  position: relative;
  height: 100%;
  padding: 45px 30px;
  background: var(--bs-white);
  box-shadow: 0 0 45px rgba(0, 0, 0, .05);
}

.project-item::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 0;
  left: 0;
  bottom: 0;
  transition: .5s;
  background: var(--bs-primary);
}

.project-item:hover::before {
  height: 100%;
  top: 0;
}

.project-item * {
  position: relative;
  transition: .5s;
  z-index: 1;
}

.project-item:hover h5,
.project-item:hover p {
  color: var(--bs-white);
}

.project-item:hover .icon-box-primary::before {
  background: var(--bs-dark);
}

.project-item:hover .icon-box-primary i {
  color: var(--bs-white) !important;
}

/*** Projects End ***/

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

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

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

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

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

.project-front-carousel .owl-nav .owl-prev:hover,
.project-front-carousel .owl-nav .owl-next:hover {
  background: var(--bs-primary);
  color: var(--bs-dark);
}

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

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

/*** Front Project End ***/

/*** Mission And Vision Start ***/
.mission-and-vision .mission-and-vision-item {
  border-radius: 10px;
  background: var(--bs-white);
  transition: 0.5s;
}

.mission-and-vision .mission-and-vision-item:hover {
  background: var(--bs-primary);
}

.mission-and-vision .mission-and-vision-item:hover h4,
.mission-and-vision .mission-and-vision-item:hover p {
  color: var(--bs-dark);
}

/*** Mission And Vision End ***/

/*** Service Start ***/
.service .service-item {
  border-radius: 10px;
}

.service .service-item .service-img {
  position: relative;
  overflow: hidden;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

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

.service .service-item:hover .service-img img {
  transform: scale(1.1);
}

.service .service-item .service-img::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 0;
  top: 0;
  left: 0;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  background: rgba(1, 95, 201, 0.2);
  transition: 0.5s;
  z-index: 1;
}

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

.service .service-item .service-img .service-icon {
  position: absolute;
  width: 70px;
  bottom: 0;
  right: 25px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  background: var(--bs-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.5s;
  z-index: 9;
}

.service .service-item .service-img .service-icon i {
  color: var(--bs-dark);
  transition: 0.5s;
}

.service .service-item:hover .service-img .service-icon i {
  transform: rotateX(360deg);
  color: var(--bs-dark);
}

.service .service-item:hover .service-img .service-icon {
  bottom: 0;
  color: var(--bs-dark);
  background: var(--bs-primary);
}

.service .service-content {
  position: relative;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  background: var(--bs-light);
}

.service .service-item .service-content .service-content-inner {
  position: relative;
  z-index: 9;
}

.service .service-item .service-content .service-content-inner .h4,
.service .service-item .service-content .service-content-inner p {
  transition: 0.5s;
}

.service .service-item:hover .service-content .service-content-inner .h4,
.service .service-item:hover .service-content .service-content-inner p {
  color: var(--bs-white);
}

.service .service-item:hover .service-content .service-content-inner .btn.btn-primary {
  color: var(--bs-primary);
  background: var(--bs-dark);
}

.service .service-item:hover .service-content .service-content-inner .btn.btn-primary:hover {
  color: var(--bs-white);
  background: var(--bs-dark);
}

.service .service-item:hover .service-content .service-content-inner .h4:hover,
.service .service-item:hover .service-content .service-content-inner p:hover {
  color: var(--bs-dark);
}

.service .service-item .service-content::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 0;
  bottom: 0;
  left: 0;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  background: var(--bs-primary);
  transition: 0.5s;
  z-index: 1;
}

.service .service-item:hover .service-content::after {
  height: 100%;
}

.service .service-description {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.5;
  height: 3em;
}

/* Services Carousel Styles */
.services-carousel .service-item {
  width: 100%;
  margin: 0 15px;
}

.services-carousel .owl-stage {
  display: flex;
  align-items: stretch;
}

.services-carousel .owl-item {
  display: flex;
  height: 100%;
}

.services-carousel .service-item {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.services-carousel .service-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.services-carousel .service-content-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.services-carousel .service-description {
  flex: 1;
}

/*** Service End ***/

/*** News Start ***/
.news .news-item {
  border-radius: 10px;
  transition: 0.5s;
}

.news .news-item:hover {
  box-shadow: 0 0 45px rgba(0, 0, 0, 0.1);
}

.news .news-item:hover .news-content {
  background: var(--bs-white);
}

.news .news-item .news-img {
  /* border-top-left-radius: 10px;
  border-top-right-radius: 10px; */
  position: relative;
  overflow: hidden;
}

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

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

.news .news-item .news-img::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 0;
  top: 0;
  left: 0;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  /* background: rgba(1, 95, 201, 0.2); */
  transition: 0.5s;
  z-index: 1;
}

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

.news .news-item .position-relative .news-category {
  position: absolute;
  top: 100%;
  left: 0;
  transform: translateY(-50%);
  background-color: var(--bs-primary);
  color: var(--bs-dark);
  border-radius: 0.375rem;
  padding: 0.25rem 0.75rem;
  margin-left: 1.5rem;
  font-size: 0.875em;
  font-weight: 600;
  /* Make it a bit bolder */
  text-shadow: 0 0 1px rgba(0, 0, 0, 0.2);
}

.news .news-item .news-content {
  background: var(--bs-white);
}

.news .news-item .news-content:hover {
  background: var(--bs-light);
}

.news .news-item .news-content a.btn {
  color: var(--bs-dark);
}

.news .news-item:hover .news-content a.btn:hover {
  color: var(--bs-primary);
}

.news .news-item .news-description {
  color: var(--bs-dark);
  font-size: 0.95rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* News URL Styling */
.news-title a {
  color: var(--bs-dark);
  text-decoration: none;
  transition: color 0.3s ease;
}

.news-title a:hover {
  color: var(--bs-primary);
  text-decoration: none;
}

.news-details-content .content-text {
  line-height: 1.8;
  font-size: 1.1rem;
}

.news-details-content .content-text p {
  margin-bottom: 1.5rem;
}

.related-news-item a {
  color: var(--bs-dark);
  transition: color 0.3s ease;
}

.related-news-item a:hover {
  color: var(--bs-primary);
}

.news-item .news-content small {
  color: var(--bs-gray-700);
  font-weight: 500;
}

.news-item .news-content small i {
  color: var(--bs-primary);
}

/*** News End ***/

/*** Mews Pagination Start***/
.pagination {
  display: flex;
  padding-left: 0;
  list-style: none;
  border-radius: 0.25rem;
}

.page-link {
  position: relative;
  display: block;
  padding: 0.5rem 0.75rem;
  margin-left: -1px;
  line-height: 1.25;
  color: var(--bs-dark);
  background-color: var(--bs-white);
  /* border: 1px solid var(--bs-dark); */
}

.page-link:hover {
  z-index: 2;
  color: var(--bs-primary);
  text-decoration: none;
  background-color: var(--bs-dark);
  border-color: var(--bs-dark);
}

.page-link:focus {
  z-index: 3;
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(237, 100, 54, 0.25);
}

.page-item:first-child .page-link {
  margin-left: 0;
  border-top-left-radius: 0.25rem;
  border-bottom-left-radius: 0.25rem;
}

.page-item:last-child .page-link {
  border-top-right-radius: 0.25rem;
  border-bottom-right-radius: 0.25rem;
}

.page-item.active .page-link {
  z-index: 3;
  color: var(--bs-primary);
  background-color: var(--bs-dark);
  border-color: var(--bs-dark);
}

.page-item.disabled .page-link {
  color: #6c757d;
  pointer-events: none;
  cursor: auto;
  background-color: var(--bs-white);
  border-color: #dee2e6;
}

.pagination-lg .page-link {
  padding: 0.75rem 1.5rem;
  font-size: 1.25rem;
  line-height: 1.5;
}

.pagination-lg .page-item:first-child .page-link {
  border-top-left-radius: 0.3rem;
  border-bottom-left-radius: 0.3rem;
}

.pagination-lg .page-item:last-child .page-link {
  border-top-right-radius: 0.3rem;
  border-bottom-right-radius: 0.3rem;
}

.pagination-sm .page-link {
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
  line-height: 1.5;
}

.pagination-sm .page-item:first-child .page-link {
  border-top-left-radius: 0.2rem;
  border-bottom-left-radius: 0.2rem;
}

.pagination-sm .page-item:last-child .page-link {
  border-top-right-radius: 0.2rem;
  border-bottom-right-radius: 0.2rem;
}

/*** News Pagination End ***/

/*** Featured News Carousel Start ***/
.featured-news-image-caption1 p {
  color: var(--bs-dark);
  /* Bootstrap dark color */
  font-size: 0.9rem;
  /* Slightly smaller than normal text */
  font-weight: 600;
  /* Semi-bold for readability */
  text-align: center;
  /* Centered under the image */
  margin-top: 8px;
  /* Space between image and caption */
  line-height: 1.4;
}

.featured-news-carousel .owl-nav {
  position: absolute;
  top: 50%;
  left: -25px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
}

.featured-news-carousel .owl-nav .owl-prev,
.featured-news-carousel .owl-nav .owl-next {
  margin: 7px 0;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bs-dark);
  background: var(--bs-primary);
  border-radius: 40px;
  font-size: 20px;
  transition: .5s;
}

.featured-news-carousel .owl-nav .owl-prev:hover,
.featured-news-carousel .owl-nav .owl-next:hover {
  background: var(--bs-dark);
  color: var(--bs-white);
}

@media (max-width: 768px) {
  .featured-news-carousel .owl-nav {
    left: 25px;
  }
}

/*** Featured News Carousel End ***/

/*** News Video Start ***/
.news-video .news-video-text h6,
.news-video .news-video-text p {
  color: var(--bs-dark);
  /* font-style: italic; */
  font-size: small;
  font-weight: bold;
  /* text-align: center; */
}

/*** News Video Start ***/

/*** News Details Start ***/
.main-news-details .news-details-title {
  color: var(--bs-dark);
}

.main-news-details .news-cover-image-description {
  margin-bottom: 4px !important;
}

.main-news-details .news-cover-image-description p {
  color: var(--bs-dark);
  /* font-style: italic; */
  font-size: small;
  font-weight: bold;
}

.main-news-details .news-details-description {
  color: var(--bs-dark);
}

.main-news-details .single-tags {
  margin: -5px -5px 41px -5px;
  font-size: 0;
}

.main-news-details .single-tags a {
  margin: 5px;
  display: inline-block;
  padding: 7px 15px;
  font-size: 14px;
  font-weight: 400;
  color: #666666;
  border: 1px solid #dddddd;
}

.main-news-details .related-news-slider {
  position: relative;
  margin: 0 -15px;
  width: calc(100% + 30px);
}

.main-news-details .related-news-slider .post-item {
  display: flex;
  align-items: flex-start;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  padding: 12px 18px 12px 12px;
  margin: 0 15px;
  min-width: 340px;
  max-width: 400px;
  transition: box-shadow 0.2s, transform 0.2s;
  gap: 16px;
}

.main-news-details .related-news-slider .post-item:hover {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px) scale(1.02);
}

.main-news-details .related-news-slider .post-item img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
  margin-right: 16px;
}

.main-news-details .related-news-slider .post-item .post-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.main-news-details .related-news-slider .post-item .post-title a,
.main-news-details .related-news-slider .post-item .post-title p {
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--bs-dark);
  margin-bottom: 8px;
  line-height: 1.3;
}

.main-news-details .related-news-slider .post-item .post-meta {
  font-size: 0.97rem;
  color: #888;
  font-style: italic;
  margin-top: 2px;
}

@media (max-width: 600px) {
  .main-news-details .related-news-slider .post-item {
    flex-direction: column;
    align-items: center;
    padding: 10px;
    min-width: 0;
    max-width: 100%;
  }

  .main-news-details .related-news-slider .post-item img {
    margin-right: 0;
    margin-bottom: 10px;
    width: 100%;
    height: 160px;
  }

  .main-news-details .related-news-slider .post-item .post-info {
    align-items: center;
    text-align: center;
  }
}

.main-news-details .related-news-slider .owl-nav {
  position: absolute;
  width: 90px;
  top: -55px;
  right: 15px;
  display: flex;
}

.main-news-details .related-news-slider .owl-nav .owl-prev,
.main-news-details .related-news-slider .owl-nav .owl-next {
  margin-left: 15px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bs-dark);
  background: var(--bs-primary);
  font-size: 16px;
  transition: .3s;
}

.main-news-details .related-news-slider .owl-nav .owl-prev:hover,
.main-news-details .related-news-slider .owl-nav .owl-next:hover {
  color: var(--bs-primary);
  background: var(--bs-dark);
}

.main-news-details .single-tags a:hover {
  color: var(--bs-primary);
  background: var(--bs-dark);
}

.news-details-sidebar {
  position: relative;
  width: 100%;
}

@media(max-width: 991.98px) {
  .news-details-sidebar {
    margin-top: 45px;
  }
}

.news-details-sidebar .sidebar-widget {
  position: relative;
  margin-bottom: 45px;
}

.news-details-sidebar .sidebar-widget .widget-title {
  position: relative;
  margin-bottom: 30px;
  padding-bottom: 5px;
  font-size: 30px;
  font-weight: 500;
  color: var(--bs-dark);
}

/* .news-details-sidebar .sidebar-widget .widget-title::after {
    position: absolute;
    content: "";
    width: 60px;
    height: 2px;
    bottom: 0;
    left: 0;
    background: #fdbe33;
} */

.news-details-sidebar .sidebar-widget .search-widget {
  position: relative;
}

.news-details-sidebar .search-widget input {
  height: 50px;
  border: 1px solid #dddddd;
  border-radius: 0;
}

.news-details-sidebar .search-widget input:focus {
  box-shadow: none;
}

.news-details-sidebar .search-widget .btn {
  position: absolute;
  top: 6px;
  right: 15px;
  height: 40px;
  padding: 0;
  font-size: 25px;
  color: var(--bs-primary);
  background: none;
  border-radius: 0;
  border: none;
  transition: .3s;
}

.news-details-sidebar .search-widget .btn:hover {
  color: var(--bs-dark);
}

.news-details-sidebar .sidebar-widget .recent-post {
  position: relative;
}

.news-details-sidebar .sidebar-widget .recent-post .recent-post-item {
  background-color: var(--bs-light);
  padding: 12px 16px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.2s, background 0.2s;
  margin-bottom: 18px;
  align-items: center;
}

.news-details-sidebar .sidebar-widget .recent-post .recent-post-item:hover {
  background: #fffbe7;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.10);
}

.news-details-sidebar .sidebar-widget .recent-post .recent-post-item .post-img img {
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  width: 70px;
  height: 70px;
  object-fit: cover;
}

.news-details-sidebar .sidebar-widget .recent-post .recent-post-title a {
  font-weight: 400;
  font-size: 1rem;
  margin-bottom: 4px;
  color: var(--bs-dark);
  transition: color 0.2s;
}

.news-details-sidebar .sidebar-widget .recent-post .recent-post-title a:hover {
  color: var(--bs-primary);
  /* text-decoration: underline; */
}

.news-details-sidebar .sidebar-widget .recent-post .recent-post-title {
  gap: 2px;
}

.news-details-sidebar .sidebar-widget .recent-post .recent-post-item .post-meta small {
  font-size: 0.88rem;
  color: #666;
  background: #f6f6f6;
  border-radius: 6px;
  padding: 2px 10px 2px 8px;
  margin-right: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 500;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.news-details-sidebar .sidebar-widget .recent-post .recent-post-item .post-meta small:last-child {
  margin-right: 0;
}

.news-details-sidebar .sidebar-widget .recent-post .recent-post-item .post-meta small i {
  color: var(--bs-primary);
  font-size: 1em;
  margin-right: 3px;
}

.news-details-sidebar .sidebar-widget .tab-post {
  position: relative;
}

.news-details-sidebar .tab-post .nav.nav-pills .nav-link {
  color: #fdbe33;
  background: #030f27;
  border-radius: 0;
}

.news-details-sidebar .tab-post .nav.nav-pills .nav-link:hover,
.news-details-sidebar .tab-post .nav.nav-pills .nav-link.active {
  color: #030f27;
  background: #fdbe33;
}

.news-details-sidebar .tab-post .tab-content {
  padding: 15px 0 0 0;
  background: transparent;
}

.news-details-sidebar .tab-post .tab-content .container {
  padding: 0;
}

.news-details-sidebar .sidebar-widget .category-widget {
  position: relative;
}

.news-details-sidebar .category-widget ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.news-details-sidebar .category-widget ul li {
  margin: 0 0 12px 22px;
}

.news-details-sidebar .category-widget ul li:last-child {
  margin-bottom: 0;
}

.news-details-sidebar .category-widget ul li a {
  display: inline-block;
  line-height: 23px;
  color: var(--bs-dark);
}

.news-details-sidebar .category-widget ul li a:hover {
  color: var(--bs-primary);
}

.news-details-sidebar .category-widget ul li span {
  display: inline-block;
  color: var(--bs-dark);
}

.news-details-sidebar .sidebar-widget .tag-widget {
  position: relative;
  margin: -5px -5px;
}

.news-details-sidebar .tag-widget a {
  margin: 5px;
  display: inline-block;
  padding: 7px 15px;
  font-size: 14px;
  font-weight: 400;
  color: var(--bs-gray-700);
  border: 1px solid #dddddd;
}

.news-details-sidebar .tag-widget a:hover {
  color: var(--bs-primary);
  background: var(--bs-dark);
}

/*** News Details End ***/

/*** FAQs Start ***/
.faq-section .accordion .accordion-item .accordion-header .accordion-button {
  color: var(--bs-dark);
  background: var(--bs-primary);
  font-size: 18px;
}

.faq-section .accordion .accordion-item .accordion-header .accordion-button.collapsed {
  color: var(--bs-dark);
  background: var(--bs-light);
}

/*** FAQs End ***/

/*** Team Start ***/
.team .team-item .team-img {
  position: relative;
  overflow: hidden;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

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

.team .team-item:hover .team-img img {
  transform: scale(1.1);
}

.team .team-item .team-img::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 0;
  top: 0;
  left: 0;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  transition: 0.5s;
}

.team .team-item:hover .team-img::after {
  height: 100%;
  background: rgba(255, 255, 255, 0.3);
}

.team .team-item .team-img .team-icon {
  position: absolute;
  bottom: 20px;
  right: 20px;
  margin-bottom: -100%;
  transition: 0.5s;
  z-index: 9;
}

.team .team-item:hover .team-img .team-icon {
  margin-bottom: 0;
}

.team .team-item .team-title {
  color: var(--bs-white);
  background: var(--bs-primary);
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  transition: 0.5s;
}

.team .team-item .team-title h4 {
  color: var(--bs-white);
}

.team .team-item:hover .team-title {
  background: var(--bs-dark);
}

/*** Team End ***/

/*** Testimonial Start ***/
.testimonial-carousel .owl-stage-outer {
  margin-top: 58px;
  margin-right: -1px;
}

.testimonial .owl-nav .owl-prev {
  position: absolute;
  top: -58px;
  left: 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-dark);
  color: var(--bs-white);
}

.testimonial .owl-nav .owl-next {
  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-next:hover {
  background: var(--bs-dark);
  color: var(--bs-white);
}

/*** Testimonial End ***/

/*** Contact Start ***/
.contact .contact-img {
  position: relative;
}

.contact .contact-img::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  background: rgba(255, 255, 255, 0.9);
  z-index: 1;
  animation-name: image-efects;
  animation-duration: 10s;
  animation-delay: 1s;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  transition: 0.5s;
}

@keyframes image-efects {
  0% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  }

  25% {
    border-radius: 35% 65% 27% 73% / 71% 25% 75% 29%;
  }

  50% {
    border-radius: 41% 59% 45% 55% / 32% 21% 79% 68%;
  }

  75% {
    border-radius: 69% 31% 39% 61% / 70% 83% 17% 30%;
  }

  100% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  }
}

.contact .contact-img .contact-img-inner {
  position: relative;
  z-index: 9;
}

/*** Contact End ***/

/*** Footer Start ***/
.footer {
  background: var(--bs-dark);
}

.footer .footer-contact,
.footer .footer-link {
  position: relative;
  margin-bottom: 45px;
}

.footer h4 {
  position: relative;
  margin-bottom: 20px;
  padding-bottom: 10px;
  font-size: 20px;
  font-weight: 600;
  color: var(--bs-primary);
}

.footer h4::after {
  position: absolute;
}

.footer .footer-link a {
  display: block;
  margin-bottom: 10px;
  color: var(--bs-white);
  transition: .3s;
}

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

.footer .footer-link a:hover {
  color: var(--bs-primary);
  letter-spacing: 1px;
}

.footer .footer-social-text {
  color: var(--bs-white);
}

.footer .footer-social {
  position: relative;
  margin-top: 20px;
}

.footer .footer-social a {
  display: inline-block;
  width: 40px;
  height: 40px;
  padding: 0;
  text-align: center;
  border: 1px solid rgba(256, 256, 256, 0.3);
  border-radius: 8px;
  /* Rounded corners */
  transition: 0.3s;
  background: var(--bs-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer .footer-social a i {
  font-size: 15px;
  color: var(--bs-white);
  line-height: 1;
  /* Remove any margin or padding */
  margin: 0;
  padding: 0;
}

.footer .footer-social a:hover {
  background: var(--bs-primary);
  border-color: var(--bs-primary);
}

.footer .footer-social a:hover i {
  color: var(--bs-dark);
}

.footer .footer-contact p {
  display: block;
  margin-bottom: 10px;
  color: var(--bs-white);
  transition: .3s;
}

.footer .footer-contact p i {
  width: 25px;
}

.footer .footer-item {
  display: flex;
  flex-direction: column;
}

.footer .footer-item a {
  line-height: 35px;
  color: var(--bs-body);
  transition: 0.5s;
}

.footer .footer-item p {
  line-height: 35px;
}

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

.footer .footer-item .footer-btn a,
.footer .footer-item .footer-btn a i {
  transition: 0.5s;
}

.footer .footer-item .footer-btn a:hover {
  background: var(--bs-white);
}

.footer .footer-item .footer-btn a:hover i {
  color: var(--bs-primary);
}

.footer .footer-item .footer-instagram {
  position: relative;
  overflow: hidden;
}

.footer .footer-item .footer-instagram img {
  transition: 0.5s;
}

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

.footer .footer-item .footer-instagram .footer-search-icon {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.5s;
  opacity: 0;
}

.footer .footer-item .footer-instagram:hover .footer-search-icon {
  opacity: 1;
  background: rgba(0, 0, 0, 0.6);
}

.footer .footer-item .footer-btn a {
  background: var(--bs-light);
  color: var(--bs-primary);
}

.footer .footer-item .footer-btn a:hover {
  background: var(--bs-primary);
}

.footer .footer-item .footer-btn a:hover i {
  color: var(--bs-white);
}

.footer .copyright {
  /* padding: 10px; */
  padding: 25px 0;
  background: var(--bs-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer .copyright p {
  color: var(--bs-white);
}

.footer .footer-menu {
  padding: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer .footer-menu .f-menu a {
  margin-right: 15px;
  padding-right: 15px;
  color: var(--bs-white);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.footer .footer-menu .f-menu a:hover {
  color: var(--bs-primary);
}

.footer .footer-menu .f-menu a:last-child {
  margin-right: 0;
  padding-right: 0;
  border-right: none;
}

/*** Footer End ***/

/*** Service Modal Styles ***/
#serviceModal .modal-dialog {
  max-width: 800px;
  margin: 1.75rem auto;
}

#serviceModal .modal-content {
  border-radius: 15px;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

#serviceModal .modal-header {
  border-radius: 15px 15px 0 0;
  border-bottom: none;
}

#serviceModal .modal-footer {
  border-radius: 0 0 15px 15px;
  border-top: none;
}

#serviceModal .modal-body {
  padding: 2rem;
  line-height: 1.6;
}

#serviceModalContent {
  font-size: 1.1rem;
  color: #333;
}

#serviceModal .modal-close-btn {
  transition: all 0.3s ease;
}

#serviceModal .modal-close-btn:hover {
  background-color: #212529 !important;
  border-color: #212529 !important;
  color: #ffffff !important;
}

/* Service title hover effect */
.service-item .service-content-inner .h4 {
  transition: color 0.3s ease;
}

.service-item .service-content-inner .h4:hover {
  color: #000000 !important;
}

/*** Service Details Page Styles ***/
.service-details-content .service-image img {
  transition: transform 0.3s ease;
}

.service-details-content .service-image img:hover {
  transform: scale(1.02);
}

.service-details-content .service-title h1 {
  color: var(--bs-dark);
  font-weight: 600;
}

.service-details-content .service-meta {
  border-bottom: 1px solid #eee;
  padding-bottom: 1rem;
}

.service-details-content .content-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
}

.service-details-content .content-text p {
  margin-bottom: 1.5rem;
}

.service-sidebar .sidebar-widget {
  background: #f8f9fa;
  padding: 2rem;
  border-radius: 10px;
  margin-bottom: 2rem;
}

.service-sidebar .widget-title {
  color: var(--bs-primary);
  font-weight: 600;
  border-bottom: 2px solid var(--bs-primary);
  padding-bottom: 0.5rem;
}

.other-service-item {
  transition: transform 0.3s ease;
}

.other-service-item:hover {
  transform: translateY(-2px);
}

.other-service-item h6 a {
  color: var(--bs-dark);
  transition: color 0.3s ease;
}

.other-service-item h6 a:hover {
  color: var(--bs-primary);
}

.contact-info .contact-item {
  display: flex;
  align-items: center;
  padding: 0.5rem 0;
}

.contact-info .contact-item i {
  width: 20px;
  margin-right: 0.5rem;
}

/*** Recent Posts Styles (News Details) ***/
.recent-post-item {
  transition: transform 0.3s ease;
}

.recent-post-item:hover {
  transform: translateY(-2px);
}

.recent-post-item h6 a {
  color: var(--bs-dark);
  transition: color 0.3s ease;
}

.recent-post-item h6 a:hover {
  color: var(--bs-primary);
}

.recent-post-item img {
  transition: transform 0.3s ease;
}

.recent-post-item:hover img {
  transform: scale(1.05);
}

/*** Events Styles ***/
.event-item {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 0 45px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  height: 100%;
}

.event-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 45px rgba(0, 0, 0, 0.15);
}

.event-item .event-img {
  position: relative;
  overflow: hidden;
}

.event-item .event-img img {
  transition: transform 0.3s ease;
}

.event-item:hover .event-img img {
  transform: scale(1.05);
}

.event-item .event-content {
  padding: 1.5rem;
}

.event-item .event-content-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.event-item .event-meta {
  border-bottom: 1px solid #e9ecef;
  padding-bottom: 1rem;
}

.event-item .event-content-inner .h4 {
  transition: color 0.3s ease;
  color: var(--bs-dark);
  text-decoration: none;
}

.event-item .event-content-inner .h4:hover {
  color: var(--bs-primary) !important;
}

.event-item .event-content-inner p {
  flex-grow: 1;
  color: #6c757d;
  line-height: 1.6;
}

.event-item .event-content-inner .btn {
  transition: all 0.3s ease;
}

.event-item .event-content-inner .btn:hover {
  transform: translateY(-2px);
}

/*** Event Details Styles ***/
.event-details-content .event-image img {
  transition: transform 0.3s ease;
}

.event-details-content .event-image img:hover {
  transform: scale(1.02);
}

.event-details-content .event-title h1 {
  color: var(--bs-dark);
  font-weight: 700;
}

.event-details-content .event-meta {
  background: #f8f9fa;
  border-radius: 10px;
  padding: 1.5rem;
}

.event-details-content .content-text {
  line-height: 1.8;
  color: #495057;
}

.event-details-content .content-text p {
  margin-bottom: 1rem;
}

.event-sidebar .sidebar-widget {
  background: #ffffff;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 0 45px rgba(0, 0, 0, 0.08);
  margin-bottom: 2rem;
}

.event-sidebar .widget-title {
  color: var(--bs-dark);
  font-weight: 700;
  border-bottom: 2px solid var(--bs-primary);
  padding-bottom: 0.5rem;
}

.other-event-item {
  transition: all 0.3s ease;
}

.other-event-item:hover {
  transform: translateY(-2px);
}

.other-event-item h6 a {
  color: var(--bs-dark);
  text-decoration: none;
  transition: color 0.3s ease;
}

.other-event-item h6 a:hover {
  color: var(--bs-primary);
}

.other-event-item img {
  transition: transform 0.3s ease;
}

.other-event-item:hover img {
  transform: scale(1.05);
}

.event-attachment .card {
  border: none;
  box-shadow: 0 0 45px rgba(0, 0, 0, 0.08);
  border-radius: 10px;
}

.event-attachment .card-header {
  background: var(--bs-primary);
  color: var(--bs-white);
  border-radius: 10px 10px 0 0;
}

.event-details-link .card {
  border: none;
  box-shadow: 0 0 45px rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  background: linear-gradient(135deg, var(--bs-primary), var(--bs-dark));
  color: var(--bs-white);
}

.event-details-link .card-body {
  padding: 2rem;
}

.event-details-link .btn {
  background: var(--bs-white);
  color: var(--bs-primary);
  border: none;
  transition: all 0.3s ease;
}

.event-details-link .btn:hover {
  background: var(--bs-dark);
  color: var(--bs-white);
  transform: translateY(-2px);
}

/*** Projects Styles ***/
.project-item {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 0 45px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  height: 100%;
}

.project-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 45px rgba(0, 0, 0, 0.15);
}

.project-item .project-content {
  padding: 1.5rem;
}

.project-item .project-content-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.project-item .project-meta {
  border-bottom: 1px solid #e9ecef;
  padding-bottom: 1rem;
}

.project-item .project-content-inner h4 {
  transition: color 0.3s ease;
  color: var(--bs-dark);
  text-decoration: none;
  margin-bottom: 1rem;
}

.project-item .project-content-inner h4:hover {
  color: var(--bs-primary) !important;
}

.project-item .project-owner,
.project-item .project-funder,
.project-item .project-duration,
.project-item .project-dates {
  margin-bottom: 0.75rem;
}

.project-item .project-owner strong,
.project-item .project-funder strong,
.project-item .project-duration strong,
.project-item .project-dates strong {
  color: var(--bs-dark);
  font-weight: 600;
}

/*** Global Search Styles ***/
#liveSearchResults {
  z-index: 1050;
  max-height: 400px;
  overflow-y: auto;
}

#liveSearchResults .list-group-item {
  border: none;
  border-bottom: 1px solid #eee;
  transition: background-color 0.2s;
}

#liveSearchResults .list-group-item:hover {
  background-color: #f8f9fa;
}

#liveSearchResults .list-group-item:last-child {
  border-bottom: none;
}

.nav-item .nav-link i.fa-search {
  font-size: 1.1rem;
}

.nav-item .nav-link:hover i.fa-search {
  color: var(--primary);
}

#globalSearchInput:focus {
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.search-loading {
  text-align: center;
  padding: 20px;
  color: #6c757d;
}