﻿@media (max-width: 768px) {
  .team {
    margin-top: 2rem;
  }
}

.pop .owl-nav {
  position: initial;
  bottom: 0;
  right: 0%;
  transform: none;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.pop .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
  margin: 7px 0;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: transparent;
  border: 1px solid #fff;
  border-radius: 45px;
  font-size: 22px;
  transition: 0.5s;
}

.pop .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

.facility-item .facility-text {
  min-height: 300px !important;
  border-radius: 15% !important;
}

.home-facilities p,
.home-about p,
small,
#management-home p {
  text-align: justify;
  color: #212121;
  font-weight: 500;
}

.home-faci-circle p {
  text-align: center;
}

.facility-item h3 {
  font-size: 20px;
}

.home-facilities h1 {
  font-size: 30px !important;
}

.team-text h4 {
  font-size: 20px;
}

@media (max-width: 768px) {
  .mobile-image {
    display: block;
  }

  .desktop-image {
    display: none;
  }

  .header-carousel .banner-img {
    height: 100vh !important;
  }

  .banner-container {
    margin-top: 40vh;
  }

  .banner-container h1 {
    font-size: 18px !important;
  }

  .home-facilities h1 {
    font-size: 20px !important;
  }

  .home-facilities p,
  .home-about p,
  small,
  #management-home p {
    text-align: justify;
    color: #212121;
    font-weight: 400;
    letter-spacing: -1px;
  }

  .home-faci-circle p {
    text-align: center;
  }

  .home-about h1,
  #management-home h1 {
    font-size: 20px;
  }

  .team-item img {
    width: 100% !important;
  }

  .management-item {
    margin-bottom: 8rem;
  }

  .team-item .team-text {
    top: 18rem !important;
    left: 50% !important;
    transform: translateX(-50%);
    padding: 5rem 0 4rem 0;
    width: 80% !important;
  }

  .team {
    margin-bottom: 5rem;
  }

  .home-about-img {
    margin-top: -90px !important;
  }
}

@media (min-width: 769px) {
  .mobile-image {
    display: none;
  }

  .desktop-image {
    display: block;
  }
}

.modal-content {
  background: #ffffff00 !important;
  border: none !important;
}

.close-btn {
  font-size: 2.5em !important;
  color: white !important;
}

.owl-item h4 {
  font-size: 17px !important;
  color: #fff !important;
}

.modal {
  background: #000000bd !important;
}

.main-banner {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.owl-banner .item {
  position: relative;
  height: 100vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.item-1 {
  background-image: url("../img/banner/1.png");
}

.item-2 {
    background-image: url("../img/banner/2.png");
}

.item-3 {
    background-image: url("../img/banner/3.png");
}

.item-4 {
    background-image: url("../img/banner/4.png");
}

.item-5 {
    background-image: url("../img/banner/5.png");
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.header-text {
  position: relative;
  z-index: 2;
  color: #fff;
  text-align: center;
  max-width: 600px;
}

.header-text h2 {
  font-size: 36px;
  margin: 10px 0;
}

.header-text .category {
  font-size: 18px;
  font-weight: bold;
}

.primary-btn {
  background-color: #ff5a5f;
  color: #fff;
}

.primary-btn:hover {
  background-color: #e14a4f;
}

.secondary-btn {
  background-color: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.secondary-btn:hover {
  background-color: #fff;
  color: #333;
}

.owl-nav button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5) !important;
  color: white !important;
  font-size: 20px !important;
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

.owl-nav .owl-prev {
  left: 10px;
}

.owl-nav .owl-next {
  right: 10px;
}

.owl-nav button:hover {
  background: rgba(255, 255, 255, 0.8) !important;
  color: black !important;
}

.learnmore-btn .animated-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 16px 36px;
  border: 4px solid;
  border-color: transparent;
  font-size: 16px;
  background-color: inherit;
  border-radius: 100px;
  font-weight: 600;
  color: #fff;
  box-shadow: 0 0 0 2px #fff;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.learnmore-btn .animated-button svg {
  position: absolute;
  width: 24px;
  fill: #fff;
  z-index: 9;
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.learnmore-btn .animated-button .arr-1 {
  right: 16px;
}

.learnmore-btn .animated-button .arr-2 {
  left: -25%;
}

.learnmore-btn .animated-button .circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  background-color: #23466e;
  border-radius: 50%;
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.learnmore-btn .animated-button .text {
  position: relative;
  z-index: 1;
  transform: translateX(-12px);
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.learnmore-btn .animated-button:hover {
  box-shadow: 0 0 0 12px transparent;
  color: #fff;
  border-radius: 12px;
}

.learnmore-btn .animated-button:hover .arr-1 {
  right: -25%;
}

.learnmore-btn .animated-button:hover .arr-2 {
  left: 16px;
}

.learnmore-btn .animated-button:hover .text {
  transform: translateX(12px);
}

.learnmore-btn .animated-button:hover svg {
  fill: #fff;
}

.learnmore-btn .animated-button:active {
  scale: 0.95;
  box-shadow: 0 0 0 4px #23466e;
}

.learnmore-btn .animated-button:hover .circle {
  width: 220px;
  height: 220px;
  opacity: 1;
}
