/*!
 -->
 */
@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@200;300;400;500;600;700;800&display=swap");
body {
  padding-top: 54px;
  font-family: "Nunito", sans-serif;
  background-color: #f7f8f9;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 900;
}
@media (min-width: 992px) {
  body {
    padding-top: 56px;
  }
}

.carousel-item {
  height: 65vh;
  min-height: 300px;
  background: no-repeat center center scroll;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.portfolio-item {
  margin-bottom: 30px;
}
.badge {
  padding: 4px 10px;
  font-size: 11px;
  letter-spacing: 0.8px;
  font-weight: bold;
  text-transform: uppercase;
  border-radius: 30px;
  position: relative;
}
.card,
.card-header:first-child {
  border-radius: 10px;
}
.card-img-top {
  border-radius: 10px 10px 0 0;
}
a:hover,
h5:hover {
  text-decoration: none !important;
  color: #f2546a !important;
}
.navbar-light .navbar-nav .nav-link {
  font-weight: 800;
}
.footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
}
.breadcrumb {
  justify-content: center;
  background: transparent;
  text-transform: uppercase;
  font-size: 13px;
}
.youtube {
  border-radius: 20px;
}
.post-carausel-2 .img-hover-slide {
  min-height: 310px;
}
.border-radius-15 {
  border-radius: 15px;
  overflow: hidden;
}
.thumb-overlay::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -ms-border-radius: 5px;
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    color-stop(50%, transparent),
    to(rgba(0, 0, 0, 0.8))
  );
  background: -webkit-linear-gradient(
    top,
    transparent 50%,
    rgba(0, 0, 0, 0.8) 100%
  );
  background: -o-linear-gradient(top, transparent 50%, rgba(0, 0, 0, 0.8) 100%);
  background: linear-gradient(
    to bottom,
    transparent 50%,
    rgba(0, 0, 0, 0.8) 100%
  );
  -o-transition: all 0.4s ease;
  transition: all 0.4s ease;
  -webkit-transition: all 0.4s ease;
  -moz-transition: all 0.4s ease;
  -ms-transition: all 0.4s ease;
}
.img-hover-slide {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  min-height: 280px;
  overflow: hidden;
  -o-transition: all 0.4s ease;
  transition: all 0.4s ease;
  -webkit-transition: all 0.4s ease;
  -moz-transition: all 0.4s ease;
  -ms-transition: all 0.4s ease;
}
.img-link {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 1;
}
.post-module-1 .post-content-overlay {
  position: absolute;
  bottom: 15px;
  left: 15px;
  transition-duration: 0.2s;
  padding-right: 15px;
}

/* Custom Owl Carousel Dots */
/* Custom Owl Carousel Dots */
.owl-theme .owl-dots {
  text-align: center;
  position: absolute;
  top: 465px; /* Positioned just above the bottom of the 500px image */
  bottom: auto;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 10;
}

.owl-theme .owl-dots .owl-dot {
  display: inline-block;
  zoom: 1;
}

.owl-theme .owl-dots .owl-dot span {
  width: 8px;
  height: 8px;
  margin: 5px 6px;
  background: rgba(255, 255, 255, 0.5); /* Semi-transparent white */
  display: block;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transition: all 0.3s ease;
  border-radius: 50%;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5); /* Good contrast shadow */
}

.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span {
  width: 10px;
  height: 10px;
  background: #ffffff; /* Solid white */
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.5); /* Soft dark shadow, no red */
  margin: 4px 5px;
  transform: scale(1.1);
}

/* Mobile Optimizations */
@media (max-width: 991px) {
    /* Hide floating button on mobile/tablet */
    .accessibility-widget .access-toggle {
        display: none !important;
    }
    
    /* Keep container visible so the modal child can show, but make it non-intrusive */
    .accessibility-widget {
        display: block !important;
        width: 0 !important;
        height: 0 !important;
        bottom: 0 !important;
        left: 0 !important;
        overflow: visible !important;
    }
}

@media (max-width: 768px) {
    /* Card-style Carousel for Mobile */
    #slider {
        margin: 0 15px 15px 15px; /* Side and bottom margin */
        border-radius: 15px;
        overflow: hidden;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }

    /* Adjust dots for the card style */
    .owl-theme .owl-dots {
        top: auto; /* Reset fixed top position */
        bottom: 20px; /* Position relative to bottom of card */
    }
    
    /* Make sure images respect radius */
    .owl-carousel .owl-item img {
        border-radius: 15px;
    }
}
