/********** Template CSS ************/
h1,
.font-weight-bolder {
  font-weight: 900 !important;
}

h2,
h3,
.font-weight-bold {
  font-weight: 700 !important;
}

h4,
h5 .font-weight-medium {
  font-weight: 500 !important;
}

h6,
.font-weight-normal {
  font-weight: 400 !important;
}

.back-to-top {
  position: fixed;
  display: none;
  right: 130px;
  bottom: 60px;
  z-index: 99;
}

.navbar-light .navbar-nav .nav-link {
  padding: 15px;
  color: #6c757d;
  font-weight: 400;
  outline: none;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
  color: #ffffff;
  background: #ED1C24;
}

@media (max-width: 991.98px) {
  .navbar-light .navbar-nav .nav-link {
    padding: 8px 15px;
  }
}

.owl-carousel .owl-nav {
  position: absolute;
  width: 100%;
  height: 30px;
  top: calc(50% - 15px);
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1;
}

.owl-carousel .owl-nav .owl-prev,
.owl-carousel .owl-nav .owl-next {
  position: relative;
  width: 30px;
  height: 30px;
  margin: 0 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #dee2e6;
  background: transparent;
  border: 1px solid #dee2e6;
  font-size: 16px;
  transition: .3s;
}

.owl-carousel .owl-nav .owl-prev:hover,
.owl-carousel .owl-nav .owl-next:hover {
  color: #ffffff;
  background: #ED1C24;
  border-color: #ED1C24;
}

.owl-carousel-1 .owl-nav {
  width: auto;
  left: -5px;
  justify-content: flex-start;
}

.owl-carousel-1 .owl-nav .owl-prev,
.owl-carousel-1 .owl-nav .owl-next,
.owl-carousel-3 .owl-nav .owl-prev,
.owl-carousel-3 .owl-nav .owl-next {
  margin: 0 7px;
}

.owl-carousel-3 .owl-nav {
  width: auto;
  top: -56px;
  right: 15px;
  left: auto;
  justify-content: flex-end;
}

.overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  padding: 30px;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.page-header {
  height: 400px;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(../img/header.jpg);
  background-position: top;
  background-repeat: no-repeat;
  background-size: cover;
}

@media (max-width: 991.98px) {
  .page-header {
    height: 300px;
  }
}

.testimonial-text::before {
  position: absolute;
  content: "";
  width: 0;
  height: 0;
  bottom: -20px;
  left: 30px;
  border: 10px solid;
  border-color: #ffffff transparent transparent transparent;
  z-index: 2;
}

.testimonial-text::after {
  position: absolute;
  content: "";
  width: 0;
  height: 0;
  bottom: -24px;
  left: 28px;
  border: 12px solid;
  border-color: #dee2e6 transparent transparent transparent;
  z-index: 1;
}

.team-carousel .owl-dots,
.testimonial-carousel .owl-dots {
  margin-top: 30px;
  text-align: center;
}

.team-carousel .owl-dot,
.testimonial-carousel .owl-dot {
  display: inline-block;
  margin: 0 5px;
  width: 12px;
  height: 12px;
  border-radius: 10px;
  background: #dddddd;
}

.team-carousel .owl-dot.active,
.testimonial-carousel .owl-dot.active {
  background: #ED1C24;
}

.team-item .team-overlay {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  opacity: 0;
  background: rgba(253, 172, 83, 0.7);
  border: 15px solid #ffffff;
  transition: .5s;
}

.team-item:hover .team-overlay {
  opacity: 1;
}

.contact-form .help-block ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

/* Top Bar Styling */
.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  background-color: #2c3e50; /* Dark background color */
  color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Logo and text styling */
.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 40px;
  margin-right: 10px;
}

.logo h1 {
  font-size: 20px;
  margin: 0;
}

/* Bell Icon Styling */
.subscription-bell {
  position: fixed; /* Fixed position to stay at the bottom-right corner */
  bottom: 20px; /* Distance from the bottom */
  right: 20px; /* Distance from the right */
  background-color: #ff0000; /* Bright red background */
  color: white; /* Icon color */
  width: 80px; /* Larger size */
  height: 80px; /* Larger size */
  border-radius: 50%; /* Circular shape */
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4); /* Shadow for visual pop */
  cursor: pointer;
  z-index: 1000; /* Ensure it stays on top of other elements */
  transition: transform 0.3s ease;
}

.subscription-bell:hover {
  transform: scale(1.1); /* Slight zoom effect on hover */
  background-color: #d50000; /* Darker red on hover */
}

.subscription-bell .fas {
  font-size: 36px; /* Larger icon size */
}

/* Tooltip styling */
.subscription-tooltip {
  position: absolute;
  bottom: 90px; /* Adjusted for larger icon */
  right: 15px;
  background-color: #333;
  color: #fff;
  padding: 10px 15px;
  border-radius: 5px;
  font-size: 16px; /* Slightly larger tooltip text */
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.subscription-bell:hover .subscription-tooltip {
  visibility: visible;
  opacity: 1;
}