/********** Custom CSS ************/
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: Nunito, sans-serif;


}

.logo_name {
  font-weight: 900px;
  font-size: 36px;
  /* Adjust as needed */
  background: linear-gradient(to right, #17a2b8, #00394f);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.logo_name span {
  font-size: 70px;
  font-weight: 900;
}

.section-title {
  position: relative;
  display: inline-block;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #17a2b8;
}

.section-title span {
  position: relative;
  background: #ffffff;
  z-index: 1;
}

.section-title::before {
  position: absolute;
  content: "";
  top: 10px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #17a2b8;
}


[class^=flaticon-]:before,
[class*=" flaticon-"]:before,
[class^=flaticon-]:after,
[class*=" flaticon-"]:after {
  font-size: inherit;
  margin-left: 0;
}

.back-to-top {
  position: fixed;
  display: none;
  right: 30px;
  bottom: 30px;
  z-index: 11;
  animation: action 1s infinite alternate;
  background-color: #17a2b8;
}

.back-to-top:hover {
  background-color: #1b94a6;
}

@keyframes action {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-15px);
  }
}

.navbar-light .navbar-nav .nav-link {
  padding: 25px 15px;
  outline: none;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
  color: #17a2b8;
}

@media (max-width: 991.98px) {
  .navbar-light .navbar-nav .nav-link {
    padding: 10px 15px;
  }
}

.call_btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  font-size: 18px;
  font-weight: 600;
  background-color: #ffffff;
  color: #17a2b8;
  border: 2px solid #17a2b8;
  border-radius: 40px;
  text-decoration: none;
  gap: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 57, 79, 0.1);
}

.call_btn i {
  color: #17a2b8;
  font-size: 20px;
}

.call_btn:hover {
  background-color: #00394f;
  color: #ffffff;
}

.call_btn:hover i {
  color: #ffffff;
}


.hero_section {
  background: linear-gradient(to right, #00394f, #17a2b8);
}

.book_header {
  background-color: #17a2b8;
}

.book_box {
  background-color: #00394f !important;
}

.btn-secondary {
  background-color: #17a2b8;
}

.btn-learn-more {
  display: inline-block;
  padding: 12px 30px;
  font-size: 18px;
  font-weight: 600;
  color: #00394f;
  background-color: #ffffff;
  /* border: 2px solid #00394f; */
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 57, 79, 0.1);
}

.btn-learn-more:hover {
  background-color: #00394f;
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(6, 172, 238, 0.3);
}


.read_btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 10px;
  font-size: 15px;
  font-weight: 600;
  background-color: #17a2b8;
  color: #ffffff;
  border-radius: 40px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 57, 79, 0.1);
  border: none !important;
}

.read_btn:hover {
  background-color: #00394f;
  color: #ffffff;
}

.best_img {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  border-radius: 10px;
  /* optional, for smooth corners */
}

.best_img:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.facilities_card {
  position: relative;
  overflow: hidden;
  padding: 40px 30px;
  background-color: #fff;
  border-radius: 10px;
  border-top: 2px solid #00394f;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 1;
}

.facilities_card::before {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #00394f;
  z-index: 0;
  transition: top 1s ease;
  
}

.facilities_card * {
  position: relative;
  z-index: 1;
  color: #00394f;
  transition: color 0.5s ease;
}

.facilities_card:hover::before {
  top: 0;
}

.facilities_card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(0, 57, 79, 0.4);
}

/* Optional: white text on hover */
.facilities_card:hover * {
  color: #fff;
}


.post-carousel .owl-nav {
  position: absolute;
  width: 100%;
  height: 35px;
  top: 50%;
  left: 0;
  margin-top: -20px;
  padding: 0 45px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1;
}

.post-carousel .owl-nav .owl-prev,
.post-carousel .owl-nav .owl-next {
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00394f;
  background: #17a2b8;
  border-radius: 30px;
  font-size: 18px;
  opacity: .1;
  transition: .3s;
}

.post-carousel:hover .owl-nav .owl-prev,
.post-carousel:hover .owl-nav .owl-next {
  opacity: 1;
}

.portfolio-item .portfolio-btn {
  position: absolute;
  top: 30px;
  right: 30px;
  bottom: 30px;
  left: 30px;
  opacity: 0;
  transition: .5s;
}

.portfolio-item:hover .portfolio-btn {
  opacity: 1;
}

.team .team-social {
  top: 0;
  background: rgba(23, 162, 184, 0.8);
  opacity: 0;
  z-index: 1;
  transition: .5s;
}

.team:hover .team-social {
  opacity: 1;
}

.testimonial-carousel .owl-dots {
  margin-top: 30px;
  text-align: center;
}

.testimonial-carousel .owl-dot {
  display: inline-block;
  margin: 0 5px;
  width: 12px;
  height: 12px;
  border-radius: 10px;
  background: #dddddd;
}

.testimonial-carousel .owl-dot.active {
  background: #17a2b8;
}

.contact-form .help-block ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

a {
  text-decoration: none;
}

.text-primary {
  color: #fff !important;
}

.section_text {
  color: #17a2b8 !important;
}

.bg-secondary {
  background-color: #00394f !important;
}

/* achievement css start  */
.counter-box {
  background: #ffffff;
  border-radius: 16px;
  padding: 30px 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
}

.counter-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.icon-box {
  font-size: 40px;
  color: #17a2b8;
  margin-bottom: 15px;
}

.counter {
  font-size: 40px;
  font-weight: 700;
  color: #00394f;
}

.counter+p {
  font-size: 18px;
  font-weight: 500;
  color: #6c757d;
  margin: 0;
}

/* achievement css end  */

.card-img-container {
  overflow: hidden;
  border-radius: 10px;
  /* Optional rounded edges */
}

.card-img-top {
  transition: transform 0.5s ease;
}

.card-img-top:hover {
  transform: scale(1.1);
}