/********** 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 Base ***/
.navbar.sticky-top {
  top: -100px;
  transition: 0.5s;
}

.navbar .navbar-brand {
  display: flex;
  align-items: center;
}

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

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

/* ▼ Default (Desktop >1400px) */
.navbar .navbar-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 25px; /* spacing between links */
}

.navbar .navbar-nav .nav-link {
  padding: 25px 0;
  color: var(--dark);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

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

/* ✅ Large Screens but below 1400px */
@media (max-width: 1400px) {
  .navbar .navbar-nav {
    gap: 18px;
  }

  .navbar .navbar-nav .nav-link {
    font-size: 13px;
    margin-right: 0;
    padding: 20px 0;
  }
}

/* ✅ Tablets & Small Laptops (≤1200px) */
@media (max-width: 1200px) {
  .navbar .navbar-nav {
    gap: 15px;
  }

  .navbar .navbar-nav .nav-link {
    font-size: 12.5px;
    padding: 18px 0;
  }
}

/* ✅ Tablets (≤992px) */
@media (max-width: 992px) {
  .navbar .navbar-nav {
    border-top: 1px solid #eeeeee;
    text-align: center;
    flex-direction: column;
    gap: 0;
    padding-top: 10px;
  }

  .navbar .navbar-brand img {
    max-height: 45px;
  }

  .navbar .navbar-nav .nav-link {
    font-size: 13px;
    padding: 12px 0;
  }
}

/* ✅ Mobile (≤768px) */
@media (max-width: 768px) {
  .navbar .navbar-brand img {
    max-height: 40px;
  }

  .navbar .navbar-nav .nav-link {
    font-size: 12px;
    padding: 10px 0;
    letter-spacing: 0.5px;
  }

  .navbar .dropdown-toggle::after {
    margin-left: 5px;
  }
}

/* ✅ Small Phones (≤480px) */
@media (max-width: 480px) {
  .navbar .navbar-brand img {
    max-height: 35px;
  }

  .navbar .navbar-nav .nav-link {
    font-size: 11px;
    padding: 8px 0;
  }
}


/*** Header ***/
.header-bg {
    background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url(../img/bg-1.jpg) center center no-repeat;
    background-size: cover;
}

.btn-play {
    position: relative;
    display: block;
    box-sizing: content-box;
    width: 16px;
    height: 26px;
    border-radius: 100%;
    border: none;
    outline: none !important;
    padding: 18px 20px 20px 28px;
    background: #FFFFFF;
}

.btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 60px;
    height: 60px;
    background: #FFFFFF;
    border-radius: 100%;
    animation: pulse-border 1500ms ease-out infinite;
}

.btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 60px;
    height: 60px;
    background: #FFFFFF;
    border-radius: 100%;
    transition: all 200ms;
}

.btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    left: -1px;
    border-left: 16px solid var(--primary);
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(2);
        opacity: 0;
    }
}

.header-carousel .owl-nav {
    position: absolute;
    width: 200px;
    height: 40px;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: transparent;
    border: 1px solid #FFFFFF;
    font-size: 22px;
    transition: .5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.header-carousel .owl-dots {
    position: absolute;
    height: 45px;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: transparent;
    border: 1px solid #FFFFFF;
    transition: .5s;
}

.header-carousel .owl-dot::after {
    position: absolute;
    content: "";
    width: 5px;
    height: 5px;
    top: 4px;
    left: 4px;
    background: #FFFFFF;
    border-radius: 5px;
}

.header-carousel .owl-dot.active {
    background: var(--primary);
    border-color: var(--primary);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--light);
}


/*** Img Border ***/
.img-border {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  min-height: 400px;
}

/* ✅ Green frame box */
.img-border::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 3rem;
  bottom: 3rem;
 
  z-index: 1;
  transition: all 0.3s ease;
}

/* ✅ Logo Image Style */
.img-border img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: auto;
  object-fit: contain;
  padding: 3rem;
  transition: all 0.3s ease;
}

/* 💻 Tablet */
@media (max-width: 992px) {
  .img-border {
    min-height: 320px;
  }
  .img-border::before {
    right: 2rem;
    bottom: 2rem;
    border-width: 4px;
  }
  .img-border img {
    padding: 2rem;
    max-width: 90%;
  }
}

/* 📱 Mobile */
@media (max-width: 768px) {
  .img-border {
    min-height: 280px;
  }
  .img-border::before {
    right: 1.5rem;
    bottom: 1.5rem;
    border-width: 3px;
  }
  .img-border img {
    padding: 1.5rem;
    max-width: 95%;
  }
}

/* 📱 Small Phones */
@media (max-width: 480px) {
  .img-border {
    min-height: 240px;
  }
  .img-border::before {
    right: 1rem;
    bottom: 1rem;
    border-width: 2px;
  }
  .img-border img {
    padding: 1rem;
    max-width: 100%;
  }
}





/*** Facts & Visiting Hours ***/
.facts {
    background: linear-gradient(rgba(0, 0, 0, .7), rgba(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, .7), rgba(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, .15);
    border-color: rgba(255, 255, 255, .15);
}

.visiting-hours .table {
    color: var(--light);
    background: rgba(0, 0, 0, .15);
}

.visiting-hours .table td {
    padding: .5rem 1rem;
    border-color: rgba(255, 255, 255, .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, .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, .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(.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, .7), rgba(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, .1);
}

.footer .copyright a {
    color: var(--light);
}

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


/* About page css */
/* ===== Common Section Style ===== */
.zoo-section {
  padding: 60px 0;
}

.zoo-section h1.section-title {
  font-weight: 700;
  text-align: center;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 40px;
}

.zoo-section h1.section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background-color: #4dc387;
  margin: 10px auto 0;
  border-radius: 5px;
}

/* ===== Objectives Section ===== */
.zoo-objectives {
  background-color: #f8fff8;
}

.zoo-objectives .zoo-list-item {
  background-color: #fff;
  border: none;
  width: 50%;
  border-left: 6px solid #4dc387;
  margin: 15px auto;
  padding: 18px 22px;
  border-radius: 8px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.06);
  line-height: 1.6;
  transition: all 0.3s ease;
}

.zoo-objectives .zoo-list-item:hover {
  background-color: #edf9ed;
  transform: translateY(-5px);
}


/* ===== Team Section ===== */
.zoo-team {
  background-color: #f8fff8;
}

.zoo-team .zoo-table {
  background-color: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  width: 80%;
  margin: 0 auto;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
}

.zoo-team .zoo-table thead {
  background-color: #4dc387;
  color: #fff;
  text-transform: uppercase;
}

.zoo-team .zoo-table td {
  background-color: #ffffff;
  vertical-align: middle;
}

.zoo-team .zoo-table tr:hover td {
  background-color: #e9f8e9;
  transition: all 0.3s ease;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .zoo-objectives .zoo-list-item {
    padding: 15px;
    font-size: 0.95rem;
  }
  .zoo-mission p {
    font-size: 0.95rem;
  }
}

/*==Animal page css==*/
.animal-imgs {
    height: 350px;
    width: 100%;
    object-fit: cover;
    border-radius: 10px;
}

/*==Event page css==*/
/* ✅ Event Card Hover */
.event-card {
    transition: all 0.3s ease;
    cursor: pointer;
}
.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 128, 0, 0.2);
}

/* ✅ Event Gallery Grid */
.event-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}
.event-item {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}
.event-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.4s ease;
}
.event-item:hover .event-img {
    transform: scale(1.05);
}
.animal-text {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    padding: 1rem;
    border-radius: 0 0 12px 12px;
}
.animal-text h5 {
    font-size: 1.1rem;
}
.animal-text p {
    font-size: 0.85rem;
}

/* ✅ Responsive Tweaks */
@media (max-width: 991.98px) {
    .event-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    .event-img {
        height: 240px;
    }
}
@media (max-width: 575.98px) {
    .event-gallery {
        grid-template-columns: 1fr;
    }
    .event-img {
        height: 220px;
    }
    .animal-text h5 {
        font-size: 1rem;
    }
}
/*==School Visit page css==*/
.student-img{
    height: 300px;
    width: 100%;
    object-fit: cover;
    border-radius: 10px;
}
/* Student Gallery Hover Effect */
.student-item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
}

.student-img {
  transition: all 0.6s ease;
  border-radius: 12px;
}

.student-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: all 0.5s ease;
  z-index: 1;
}

.student-item:hover .student-img {
  transform: scale(1.1);
  filter: brightness(0.8);
}

.student-item:hover .student-overlay {
  opacity: 1;
}

