/********** Template CSS **********/
:root {
  --primary: #2eb872;
  --light: #f3f4f5;
  --dark: #282f34;
}

.back-to-top {
  position: fixed;
  display: none;
  right: 45px;
  bottom: 45px;
  z-index: 99;
}

/*** Spinner ***/
#spinner {
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s ease-out, visibility 0s linear .5s;
  z-index: 99999;
}

#spinner.show {
  transition: opacity .5s ease-out, visibility 0s linear 0s;
  visibility: visible;
  opacity: 1;
}

/*** Button ***/
.btn {
  font-weight: 500;
  transition: .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;
}

/*** Navbar ***/
.navbar.sticky-top {
  top: -100px;
  transition: .5s;
}

.navbar .navbar-brand {
  display: flex;
  align-items: center;
}

.navbar .navbar-brand img {
  max-height: 50px;
}

.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: 25px 0;
  color: #ffffff;
  font-size: 15px;
  font-weight: 500;
  text-transform: uppercase;
  outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
  color: var(--primary);
}

@media (max-width: 991.98px) {
  .navbar .navbar-nav .nav-link {
    margin-right: 0;
    padding: 10px 0;
  }

  .navbar .navbar-nav {
    border-top: 1px solid #eeeeee;
  }
}

.navbar .navbar-nav .nav-link {
  color: var(--dark);
  font-weight: 500;
}

@media (min-width: 992px) {
  .navbar .nav-item .dropdown-menu {
    display: block;
    border: none;
    margin-top: 0;
    top: 150%;
    opacity: 0;
    visibility: hidden;
    transition: .5s;
  }

  .navbar .nav-item:hover .dropdown-menu {
    top: 100%;
    visibility: visible;
    transition: .5s;
    opacity: 1;
  }
}



/*** Header ***/
.header-bg {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(../img/bg-1.jpg) center center no-repeat;
  background-size: cover;
}




/*** Header ***/
/* Updated header styles for full-width banner slider */
.hero-banner-slider {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  width: 100%;
}

.hero-carousel {
  height: 100%;
  width: 100%;
}

.hero-carousel .owl-stage-outer {
  height: 100% !important;
  width: 100%;
}

.hero-carousel .owl-stage {
  height: 100% !important;
  width: 100%;
  display: flex !important;
}

.hero-carousel .owl-item {
  height: 100% !important;
  width: 100%;
  display: flex;
}

.hero-carousel .hero-slide {
  position: relative;
  height: 100vh;
  min-height: 600px;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-carousel .hero-slide img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
}

.hero-carousel .hero-content {
  /* Changed from relative to absolute positioning to overlay content on image */
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 2;
  padding: 20px;
}

.hero-carousel .hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-carousel .hero-content p {
  font-size: 1.2rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero-carousel .hero-content .btn {
  padding: 15px 35px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.hero-carousel .hero-content .btn-primary {
  background: var(--primary);
  border: 2px solid var(--primary);
  box-shadow: 0 4px 15px rgba(46, 184, 114, 0.3);
}

.hero-carousel .hero-content .btn-primary:hover {
  background: transparent;
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(46, 184, 114, 0.4);
}

.hero-carousel .hero-content .btn-outline-light {
  border: 2px solid rgba(255, 255, 255, 0.8);
  color: #ffffff;
  background: transparent;
}

.hero-carousel .hero-content .btn-outline-light:hover {
  background: #ffffff;
  color: var(--dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

/* Enhanced navigation controls */
.hero-carousel .owl-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  padding: 0 30px;
  display: flex;
  justify-content: space-between;
  z-index: 10;
  pointer-events: none;
}

.hero-carousel .owl-nav .owl-prev,
.hero-carousel .owl-nav .owl-next {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: rgba(46, 184, 114, 0.8);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  font-size: 24px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  pointer-events: all;
  cursor: pointer;
}

.hero-carousel .owl-nav .owl-prev:hover,
.hero-carousel .owl-nav .owl-next:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(46, 184, 114, 0.4);
}

/* Enhanced dots */
.hero-carousel .owl-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.hero-carousel .owl-dot {
  position: relative;
  display: inline-block;
  margin: 0 8px;
  width: 20px;
  height: 20px;
  background: rgba(255, 255, 255, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  transition: all 0.3s ease;
  cursor: pointer;
}

.hero-carousel .owl-dot::after {
  position: absolute;
  content: "";
  width: 8px;
  height: 8px;
  top: 4px;
  left: 4px;
  background: #ffffff;
  border-radius: 50%;
  opacity: 0;
  transition: all 0.3s ease;
}

.hero-carousel .owl-dot.active,
.hero-carousel .owl-dot:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: scale(1.2);
}

.hero-carousel .owl-dot.active::after,
.hero-carousel .owl-dot:hover::after {
  opacity: 1;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10;
  animation: bounce 2s infinite;
}

.scroll-mouse {
  width: 30px;
  height: 50px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 15px;
  position: relative;
  margin-bottom: 10px;
}

.scroll-wheel {
  width: 4px;
  height: 8px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 2px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll-wheel 2s infinite;
}

.scroll-indicator p {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
  opacity: 0.8;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

@keyframes scroll-wheel {
  0% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
  }
}

/* Improved mobile responsiveness with better breakpoints */
@media (max-width: 991.98px) {
  .hero-banner-slider {
    height: 80vh;
    min-height: 500px;
  }

  .hero-carousel .hero-slide {
    height: 80vh;
    min-height: 500px;
  }

  .hero-carousel .hero-content h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
  }

  .hero-carousel .hero-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    max-width: 500px;
  }
}

@media (max-width: 768px) {
  .hero-banner-slider {
    height: 70vh;
    min-height: 450px;
  }

  .hero-carousel .hero-slide {
    height: 70vh;
    min-height: 450px;
  }

  .hero-carousel .hero-content {
    padding: 15px;
  }

  .hero-carousel .hero-content h1 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    line-height: 1.2;
  }

  .hero-carousel .hero-content p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    max-width: 400px;
  }

  .hero-carousel .hero-content .btn {
    padding: 12px 25px;
    font-size: 14px;
    margin: 5px;
  }

  .hero-carousel .hero-content .d-flex {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    align-items: center;
  }

  .hero-carousel .owl-nav {
    padding: 0 15px;
  }

  .hero-carousel .owl-nav .owl-prev,
  .hero-carousel .owl-nav .owl-next {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }

  .hero-carousel .owl-dots {
    bottom: 20px;
  }

  .scroll-indicator {
    display: none;
  }
}

@media (max-width: 576px) {
  .hero-banner-slider {
    height: 60vh;
    min-height: 400px;
  }

  .hero-carousel .hero-slide {
    height: 60vh;
    min-height: 400px;
  }

  .hero-carousel .hero-content {
    padding: 10px;
  }

  .hero-carousel .hero-content h1 {
    font-size: 1.8rem;
    line-height: 1.1;
    margin-bottom: 0.8rem;
  }

  .hero-carousel .hero-content p {
    font-size: 0.9rem;
    margin-bottom: 1.2rem;
    max-width: 300px;
    line-height: 1.4;
  }

  .hero-carousel .hero-content .btn {
    padding: 10px 20px;
    font-size: 13px;
    margin: 3px;
  }

  .hero-carousel .owl-nav .owl-prev,
  .hero-carousel .owl-nav .owl-next {
    width: 45px;
    height: 45px;
    font-size: 18px;
  }

  .hero-carousel .owl-dot {
    width: 15px;
    height: 15px;
    margin: 0 5px;
  }

  .hero-carousel .owl-dot::after {
    width: 5px;
    height: 5px;
    top: 3px;
    left: 3px;
  }
}

@media (max-width: 480px) {
  .hero-banner-slider {
    height: 55vh;
    min-height: 350px;
  }

  .hero-carousel .hero-slide {
    height: 55vh;
    min-height: 350px;
  }

  .hero-carousel .hero-content h1 {
    font-size: 1.5rem;
  }

  .hero-carousel .hero-content p {
    font-size: 0.85rem;
    max-width: 250px;
  }

  .hero-carousel .hero-content .btn {
    padding: 8px 16px;
    font-size: 12px;
  }
}

/* Enhanced desktop styles for better hero content positioning and sizing */
@media (min-width: 1200px) {
  .hero-banner-slider {
    height: 90vh;
    min-height: 700px;
  }

  .hero-carousel .hero-slide {
    height: 90vh;
    min-height: 700px;
  }

  .hero-carousel .hero-content {
    /* Removed max-width and margin constraints to allow full banner width coverage */
    padding: 40px;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .hero-banner-slider {
    height: 85vh;
    min-height: 650px;
  }

  .hero-carousel .hero-slide {
    height: 85vh;
    min-height: 650px;
  }

  .hero-carousel .hero-content {
    /* Removed max-width and margin constraints to allow full banner width coverage */
    padding: 30px;
  }
}

/* Removed conflicting old header styles *
.header-bg {
  display: none;
}*/

/*** Img Border ***/
.img-border {
  position: relative;
  height: 100%;
  min-height: 400px;
}

.img-border::before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  right: 3rem;
  bottom: 3rem;
  border: 5px solid var(--primary);
}

.img-border img {
  position: absolute;
  top: 3rem;
  left: 3rem;
  width: calc(100% - 3rem);
  height: calc(100% - 3rem);
  object-fit: cover;
}

/*** Facts & Visiting Hours ***/
.facts {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(../img/bg-1.jpg) center center no-repeat;
  background-size: cover;
}

.visiting-hours {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(../img/bg-2.jpg) center center no-repeat;
  background-size: cover;
}

.visiting-hours .list-group-item {
  display: flex;
  justify-content: space-between;
  color: var(--light);
  background: rgba(0, 0, 0, 0.15);
  border-color: rgba(255, 255, 255, 0.15);
}

.visiting-hours .table {
  color: var(--light);
  background: rgba(0, 0, 0, 0.15);
}

.visiting-hours .table td {
  padding: .5rem 1rem;
  border-color: rgba(255, 255, 255, 0.15);
}

.visiting-hours .table tr:last-child td {
  border: none;
}

/*** Animal ***/
.animal-item {
  position: relative;
  display: block;
}

.animal-item .animal-text {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 100px !important;
  opacity: 0;
  transition: .5s;
}

.animal-item:hover .animal-text {
  opacity: 1;
  padding-bottom: 20px !important;
}

/*** Membership ***/
.membership-item {
  padding: 45px 30px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.7);
}

.membership-item img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.membership-item .display-1 {
  color: transparent;
  -webkit-text-stroke: 2px var(--primary);
}

/*** Testimonial ***/
.testimonial-carousel::before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
  z-index: 1;
}

.testimonial-carousel::after {
  position: absolute;
  content: "";
  top: 0;
  right: 0;
  height: 100%;
  width: 0;
  background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
  z-index: 1;
}

@media (min-width: 768px) {
  .testimonial-carousel::before,
  .testimonial-carousel::after {
    width: 200px;
  }
}

@media (min-width: 992px) {
  .testimonial-carousel::before,
  .testimonial-carousel::after {
    width: 300px;
  }
}

.testimonial-carousel .owl-item .testimonial-text {
  background: var(--light);
  transform: scale(0.8);
  transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text {
  background: var(--primary);
  transform: scale(1);
}

.testimonial-carousel .owl-item .testimonial-text *,
.testimonial-carousel .owl-item .testimonial-item img {
  transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text * {
  color: var(--light) !important;
}

.testimonial-carousel .owl-item.center .testimonial-item img {
  border-color: var(--primary) !important;
}

.testimonial-carousel .owl-nav {
  position: absolute;
  width: 350px;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: space-between;
  opacity: 0;
  transition: .5s;
  z-index: 1;
}

.testimonial-carousel:hover .owl-nav {
  width: 300px;
  opacity: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
  position: relative;
  color: var(--primary);
  font-size: 45px;
  transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
  color: var(--dark);
}

/*** Footer ***/
.footer {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(../img/bg-2.jpg) center center no-repeat;
  background-size: cover;
}

.footer .btn.btn-social {
  margin-right: 5px;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light);
  border: 1px solid #ffffff;
  transition: .3s;
}

.footer .btn.btn-social:hover {
  color: var(--primary);
}

.footer .btn.btn-link {
  display: block;
  margin-bottom: 5px;
  padding: 0;
  text-align: left;
  color: #ffffff;
  font-size: 15px;
  font-weight: normal;
  text-transform: capitalize;
  transition: .3s;
}

.footer .btn.btn-link::before {
  position: relative;
  content: "\f105";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-right: 10px;
}

.footer .btn.btn-link:hover {
  color: var(--primary);
  letter-spacing: 1px;
  box-shadow: none;
}

.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);
}
