* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background: white;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

section {
  scroll-margin-top: 100px;
}

body.loading * {
  opacity: 0;
}

body.loaded .menu {
  animation: slideDown 0.5s ease forwards;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll.slide-left {
  transform: translateX(-60px);
}

.animate-on-scroll.slide-left.visible {
  transform: translateX(0);
}

.animate-on-scroll.slide-right {
  transform: translateX(60px);
}

.animate-on-scroll.slide-right.visible {
  transform: translateX(0);
}

.animate-on-scroll.scale-in {
  transform: scale(0.85);
}

.animate-on-scroll.scale-in.visible {
  transform: scale(1);
}

.delay-1 {
  transition-delay: 0.1s;
}
.delay-2 {
  transition-delay: 0.2s;
}
.delay-3 {
  transition-delay: 0.3s;
}
.delay-4 {
  transition-delay: 0.4s;
}

.menu {
  background: green;
  color: white;
  position: sticky;
  top: 0;
  z-index: 100;
  transition:
    box-shadow 0.3s ease,
    background-color 0.3s ease;
}

.menu.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  background: #006400;
}

#menu-toggle {
  display: none;
}

.menu-logo {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
}

.zoo-logo {
  font-size: 30px;
  font-weight: bold;
}

.buttons2 {
  text-decoration: none;
  padding: 10px 25px;
  margin-left: 80px;
  background-color: yellow;
  border-radius: 20px;
  color: black;
  font-weight: 600;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.buttons2:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(255, 255, 0, 0.4);
}

.menu-logo label {
  display: none;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.menu-logo label:hover {
  transform: scale(1.1);
}

.menu-logo label::before {
  content: "menu";
  font-family: "Material Icons";
  font-size: 32px;
}

.items {
  display: flex;
}

.item {
  padding: 15px 20px;
  color: white;
  text-decoration: none;
  position: relative;
  transition: background 0.3s ease;
}

.item::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: yellow;
  transition:
    width 0.3s ease,
    left 0.3s ease;
  border-radius: 2px;
}

.item:hover::after,
.item.active::after {
  width: 70%;
  left: 15%;
}

.item:hover {
  background: rgba(0, 0, 0, 0.15);
}

.item.active {
  background: rgba(0, 0, 0, 0.2);
  font-weight: 600;
}

@media (max-width: 700px) {
  .menu-logo label {
    display: block;
  }

  .items {
    flex-direction: column;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
  }

  .buttons2 {
    margin-left: 20px;
    padding: 8px 15px;
    font-size: 14px;
  }

  .book {
    margin-left: 0;
  }

  .zoo-logo {
    font-size: 30px;
  }

  .team1,
  .team4 {
    padding: 30px 20px;
  }

  #menu-toggle:checked ~ .items {
    max-height: 600px;
  }

  #menu-toggle:checked + .menu-logo label::before {
    content: "close";
  }

  .item {
    border-top: 1px solid rgba(255, 255, 255, 0.3);
  }
}

@media (max-width: 481px) {
  .zoo-logo {
    font-size: 24px;
  }

  .buttons2 {
    padding: 8px 12px;
    font-size: 12px;
    margin-left: 10px;
  }

  .gallery2 {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0px 15px;
  }

  .gallery2 img {
    width: 180px !important;
    height: 180px !important;
  }

  .team1,
  .team4 {
    padding: 20px 10px;
  }

  .intro4 {
    font-size: 15px;
    margin-left: 15px;
    margin-right: 15px;
  }

  .call-btn {
    border-radius: 20px;
    border: none;
    color: white;
    text-decoration: none;
    padding: 10px;
    font-weight: bold;
    background-color: green;
    transition: background-color 0.15s;
  }
}

.book {
  border-radius: 20px;
  padding: 10px;
  font-weight: bold;
  background-color: yellow;
  margin-left: 300px;
  width: 120px;
  border: none;
  transition: opacity 0.15s;
}

.book:hover {
  opacity: 0.8;
}

.team1 {
  background-color: green;
  color: white;
  padding: 40px 100px;
  text-align: center;
}

.team2 {
  background-color: white;
  color: black;
  border: 5px solid white;
  padding-bottom: 60px;
}

.intro4 {
  font-size: 25px;
  font-family: "Inter", sans-serif;
  margin-top: 25px;
  margin-bottom: 18px;
  margin-left: 15px;
  margin-right: 15px;
  text-align: center;
}

.into5 {
  text-align: center;
  color: grey;
  margin: 10px 30px 40px;
}

.services {
  font-size: 20px;
  font-family: "Inter", sans-serif;
  margin-top: 50px;
  margin-bottom: 18px;
  margin-left: 15px;
  margin-right: 15px;
  text-align: center;
}

.team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
  justify-content: center;
  padding: 20px 30px;
}

.gallery2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  max-width: 350px;
}

.gallery2 img {
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 50%;
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}

.gallery2:hover img {
  transform: scale(1.08);
  box-shadow: 0 12px 35px rgba(0, 128, 0, 0.3);
}

.picsssss {
  display: flex;
  justify-content: center;
  align-items: center;
}

.pic-text {
  text-align: center;
}

.pic-text h3 {
  margin-bottom: 12px;
  margin-top: 20px;
  text-align: center;
  transition: color 0.3s ease;
}

.gallery2:hover .pic-text h3 {
  color: green;
}

.pic-title,
.pic-titles {
  color: green;
  text-align: center;
  font-weight: 500;
}

.pic-texts {
  color: grey;
  margin-top: 20px;
  margin-bottom: 20px;
  text-align: center;
  line-height: 1.6;
}

.into3 {
  color: grey;
  font-size: 19px;
  margin-bottom: 20px;
  text-align: center;
}

.team4 {
  background-color: #85ff40;
  padding: 30px 100px;
  text-align: center;
}

.contact {
  font-weight: bold;
  margin-left: 30px;
  margin-right: 30px;
  text-align: center;
  margin-top: 20px;
  margin-bottom: 20px;
}

.contact9 {
  font-weight: bold;
  text-align: center;
  margin-top: 20px;
  margin-bottom: 20px;
}

.call-btn {
  border-radius: 20px;
  border: none;
  color: white;
  text-decoration: none;
  padding: 12px 24px;
  font-weight: bold;
  background-color: green;
  width: 220px;
  transition:
    background-color 0.3s,
    transform 0.2s ease,
    box-shadow 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
}

.call-btn:hover {
  background-color: #004d00;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 100, 0, 0.3);
}

.call-btn i {
  animation: ring 1.5s ease-in-out infinite;
}

@keyframes ring {
  0%,
  100% {
    transform: rotate(0);
  }
  10% {
    transform: rotate(15deg);
  }
  20% {
    transform: rotate(-15deg);
  }
  30% {
    transform: rotate(10deg);
  }
  40% {
    transform: rotate(-10deg);
  }
  50% {
    transform: rotate(0);
  }
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: green;
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 999;
  box-shadow: 0 4px 15px rgba(0, 128, 0, 0.3);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: #004d00;
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(0, 128, 0, 0.4);
}

.end {
  background-color: #303030;
  padding: 5px 5px;
}

.service2 {
  font-size: 20px;
  font-family: "Inter", sans-serif;
  margin-top: 30px;
  margin-bottom: 18px;
  margin-left: 30px;
  margin-right: 30px;
  color: white;
}

.into4 {
  color: white;
  font-size: 15px;
  margin-left: 30px;
  margin-right: 30px;
  margin-bottom: 20px;
}

.icons {
  display: flex;
  flex-direction: row;
  gap: 20px;
  margin-left: 30px;
  margin-right: 30px;
}

.icons i {
  font-size: 30px;
  transition:
    transform 0.3s ease,
    color 0.3s ease;
}

.icons a:hover i {
  transform: scale(1.2) translateY(-3px);
}

.insta-link {
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
  color: green;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: auto;
  margin-top: 25px;
  margin-left: 30px;
  margin-right: 30px;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 150px;
  margin-bottom: 20px;
}

.footer-column h3 {
  color: white;
  margin-bottom: 15px;
}

.footer-column a {
  color: #bfbfbf;
  text-decoration: none;
  font-size: 15px;
  transition:
    color 0.3s ease,
    padding-left 0.3s ease;
}

.footer-column a:hover {
  color: green;
  padding-left: 5px;
}

.contact2 {
  margin-top: 25px;
  margin-left: 30px;
  margin-right: 30px;
  font-weight: bold;
  color: white;
  font-size: 20px;
}

.contact3 {
  margin-left: 30px;
  margin-top: 15px;
  margin-bottom: 10px;
}

.contact3 a {
  color: #bfbfbf;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact3 a:hover {
  color: green;
}

.footer-text {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 20px;
  font-size: 15px;
  opacity: 0.8;
  color: #bfbfbf;
}

.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: green;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition:
    opacity 0.5s ease,
    visibility 0.5s ease;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-content {
  text-align: center;
  color: white;
}

.loader-content h2 {
  font-size: 28px;
  margin-bottom: 20px;
  animation: pulse 1s ease-in-out infinite;
}

.loader-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top-color: yellow;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.6;
  }
}

.team-member-card {
  position: relative;
}

.social-icons-team {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 10px;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.gallery2:hover .social-icons-team {
  opacity: 1;
  transform: translateY(0);
}

.social-icons-team a {
  width: 38px;
  height: 38px;
  background: #e8f5e9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: green;
  text-decoration: none;
  transition:
    background 0.3s ease,
    transform 0.3s ease;
}

.social-icons-team a:hover {
  background: green;
  color: white;
  transform: scale(1.15);
}

@media (max-width: 700px) {
  .team1 {
    padding: 30px 20px;
  }
  .team4 {
    padding: 30px 20px;
  }
  .team-grid {
    gap: 40px;
  }
}

@media (max-width: 481px) {
  .team-grid {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }
  .social-icons-team {
    opacity: 1;
    transform: translateY(0);
  }
}

.item.active {
  background: rgba(0, 0, 0, 0.15);
  text-decoration: none !important;
  border-bottom: none !important;
  outline: none !important;
  color: white !important;
  box-shadow: none !important;
}
