/*  Imports  */
@import "./variables.css";

/* Hero Section */
.hero {
  width: 100%;
  display: flex;
  align-items: stretch;
  justify-content: center;
  background: var(--primary);
}
.hero .hero-text {
  width: 40%;
  height: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-direction: column;
}
.hero .hero-text .logo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 50px;
  width: 100%;
  background: var(--light);
}
.hero .hero-text .logo a.child {
  width: 250px;
}
.hero .hero-text .logo a.parent {
  width: 90px;
}
.hero .hero-text .text {
  padding: 30px 50px;
  width: 100%;
  min-height: 50%;
  margin-top: 40px;
  margin-bottom: 40px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  background: var(--primary);
  border: 3px dashed var(--light);
  position: relative;
}
.hero .hero-text .text h4 {
  font-size: 25px;
  font-weight: 600;
  color: var(--light);
  background: var(--primary);
  padding: 15px 20px;
  position: absolute;
  top: -30px;
  left: 30px;
  text-transform: capitalize;
}
.hero .hero-text .text h3 {
  font-size: 40px;
  font-weight: 700;
  font-family: var(--serif);
  color: var(--dark);
  text-transform: capitalize;
}
.hero .hero-text .text p {
  color: var(--light);
  line-height: 180%;
}
.hero .hero-image {
  width: 60%;
}
.hero .hero-image .carousel,
.hero .hero-image .carousel .carousel-inner,
.hero .hero-image .carousel .carousel-item {
  width: 100%;
  height: 100%;
}
.hero .hero-image img {
  width: 100%;
  height: 100%;
  object-position: top;
  object-fit: contain;
}
.hero .hero-image .carousel .carousel-indicators {
  top: 50%;
  bottom: auto;
  left: auto;
  right: 30px;
  margin: 0;
  transform: translateY(-50%);
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.hero .hero-image .carousel .carousel-indicators button {
  opacity: 1;
  background: var(--light);
  margin: 5px 0;
  border-radius: 5px;
  text-indent: 0;
  background-clip: initial;
  border: 0;
  width: 5px;
  height: 15px;
  transition: 0.5s ease all;
}
.hero .hero-image .carousel .carousel-indicators button.active {
  background: var(--primary);
  height: 30px;
}

/* Points Section */
.points .image {
  width: 100px;
  height: 100px;
  margin: auto;
  border: 2px solid #fff3;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
}
.points .image img {
  width: 70%;
  height: 70%;
  object-fit: cover;
  object-position: center;
}
.points h4 {
  font-size: 23px;
  font-weight: 600;
  color: var(--light);
  margin-top: 20px;
}

/* Features Section */
.features .box {
  display: flex;
  align-items: stretch;
  justify-content: center;
}
.features .box .image {
  width: 50%;
  overflow: hidden;
}
.features .box .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.features .box .text {
  width: 50%;
  padding: 50px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
}
.features .box .text h3 {
  font-size: 40px;
  font-weight: 700;
  font-family: var(--serif);
  color: var(--dark);
  text-transform: capitalize;
}

/* Gym Section */
.gym h3 {
  font-size: 40px;
  font-weight: 700;
  font-family: var(--serif);
  color: var(--light);
  text-transform: capitalize;
}
.gym h4 {
  font-size: 25px;
  font-weight: 600;
  color: var(--primary);
  text-transform: capitalize;
}
.gym p {
  color: var(--light-alt);
}
.gym ul {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 30px;
}
.gym ul li {
  background: var(--dark-alt);
  padding: 10px 20px;
  margin: 0 10px;
  color: var(--light);
}
.gym-images {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gym-images .image {
  width: 25%;
  height: 350px;
  overflow: hidden;
}
.gym-images .image img {
  width: 100%;
  height: 100%;
  object-position: center;
  object-fit: cover;
  transition: 0.5s ease all;
}
.gym-images .image:hover img {
  transform: scale(1.1);
}

/* Amenities */
.amenities {
  background: var(--dark);
}
.amenities h4 {
  font-size: 40px;
  font-weight: 700;
  font-family: var(--serif);
  color: var(--light);
  text-transform: capitalize;
}
.amenities p {
  color: var(--light-alt);
}
.amenities .card {
  background: var(--dark);
  height: 100%;
  width: 100%;
  text-align: center;
  padding: 15px;
  border-right: 2px dashed var(--primary) !important;
  border-bottom: 2px dashed var(--primary) !important;
}
.amenities .col-lg-4:nth-last-child(1) .card {
  border-bottom: 0 !important;
  border-right: 0 !important;
}
.amenities .col-lg-4:nth-child(3) .card,
.amenities .col-lg-4:nth-child(6) .card,
.amenities .col-lg-4:nth-child(9) .card {
  border-right: 0 !important;
}
.amenities .col-lg-4:nth-last-child(2) .card,
.amenities .col-lg-4:nth-last-child(3) .card {
  border-bottom: 0 !important;
}
.amenities .card i {
  font-size: 40px;
  background: var(--primary);
  color: var(--dark);
  padding: 5px;
}
.amenities .card .image {
  width: 100px;
  height: 100px;
  margin: auto;
  border: 2px solid #fff3;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
}
.amenities .card .image img {
  width: 70%;
  height: 70%;
  object-fit: cover;
  object-position: center;
}
.amenities .card h6 {
  font-size: 18px;
  font-weight: 600;
  line-height: 150%;
  color: var(--light);
  margin-top: 15px;
}

/* Map Section */
.map {
  display: flex;
  width: 100%;
  align-items: stretch;
  justify-content: center;
}
.map .image {
  width: 50%;
}
.map .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right;
}
.map .text {
  width: 50%;
  height: 100%;
  padding: 50px;
  background: var(--light-alt);
}
.map h4 {
  font-size: 40px;
  font-weight: 700;
  font-family: var(--serif);
  color: var(--dark-alt);
  text-transform: capitalize;
}
.map .list h6 {
  font-size: 18px;
  font-weight: 600;
  color: var(--dark-alt);
  text-transform: capitalize;
  margin-bottom: 10px;
}
.map .list ul li {
  margin-bottom: 5px;
}
.map .list ul li::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-bottom: 3px;
  background: var(--primary);
  margin-right: 10px;
}

/* Units Section */
.units h4 {
  font-size: 40px;
  font-weight: 700;
  font-family: var(--serif);
  color: var(--primary);
  text-transform: capitalize;
}
.units .item {
  width: 100%;
  height: 400px;
  overflow: hidden;
  position: relative;
}
.units .item img {
  width: 100%;
  height: 100%;
  position: relative;
  display: block;
  object-fit: cover;
  object-position: center;
  z-index: 1;
  transform: scale(1.1);
  transition: 0.5s ease all;
}
.units .item .text {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: #0000005e;
  text-align: center;
  z-index: 3;
  transition: 0.5s ease all;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.units .item .text::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 85%;
  height: 75%;
  border: 3px dashed var(--primary);
  z-index: 1;
  pointer-events: none;
}
.units .item:hover .text {
  background: #0000009c;
}
.units .item:hover img {
  transform: scale(1);
}
.units .item .text h5 {
  font-size: 35px;
  font-weight: 600;
  color: var(--light);
  margin-bottom: 20px;
}
.units .item .text button::after {
  background: var(--light);
  color: var(--dark);
}

#getUnitModal .modal-content {
  border: 0;
}
#getUnitModal .modal-body {
  padding: 0 !important;
  background: var(--dark);
  display: flex;
  align-items: stretch;
  justify-content: center;
  border: 0;
}
#getUnitModal .btn-close {
  position: absolute;
  top: 0;
  right: -40px;
  background: var(--primary);
  opacity: 1;
  color: var(--dark);
  border-radius: 0;
  width: 40px;
  height: 40px;
  line-height: 40px;
  padding: 0;
  font-size: 25px;
}
#getUnitModal .image {
  width: 40%;
}
#getUnitModal .image img {
  width: 100%;
  height: 100%;
  object-position: center;
  object-fit: cover;
}
#getUnitModal .form {
  width: 60%;
  padding: 50px;
}
#getUnitModal .form h4 {
  font-size: 30px;
  font-weight: 700;
  font-family: var(--serif);
  color: var(--primary);
  text-transform: capitalize;
}
#getUnitModal .form .form-control {
  margin-bottom: 10px;
}
#getUnitModal .form label {
  font-size: 16px;
  font-weight: 400;
  color: var(--light);
  margin-bottom: 5px;
}
#getUnitModal .form input {
  background: var(--dark);
  border: 1px solid var(--primary);
  color: var(--light);
  height: auto;
  padding: 10px 25px;
  border-radius: 0;
  box-shadow: none !important;
  outline: 0 !important;
}
#getUnitModal .form select {
  filter: invert(1);
  border: 1px solid #1f4792;
  color: var(--dark);
  height: auto;
  padding: 10px 25px;
  border-radius: 0;
  box-shadow: none !important;
  outline: 0 !important;
}
#getUnitModal .form button::after {
  content: "Send Enquiry";
  background: var(--light);
  color: var(--dark);
}

/* Parent Section */
.parent .image {
  width: 50%;
  margin: auto;
}
.parent h2 {
  font-size: 40px;
  font-weight: 700;
  font-family: var(--serif);
  color: var(--dark-alt);
  text-transform: capitalize;
}

/* Floor Plan */
.floor-plan {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.floor-plan h4 {
  font-size: 40px;
  font-weight: 700;
  font-family: var(--serif);
  color: var(--primary);
  text-transform: capitalize;
}

/* Contact Section */
.contact h4 {
  font-size: 40px;
  font-weight: 700;
  font-family: var(--serif);
  color: var(--light);
  text-transform: capitalize;
}
.contact form .form-group {
  margin-bottom: 15px;
}
.contact form label {
  font-size: 16px;
  font-weight: 600;
  color: var(--light-alt);
  margin-bottom: 5px;
}
.contact form .form-control {
  background: var(--dark-alt);
  color: var(--light);
  border-radius: 0;
  border: 0;
  border-bottom: 2px solid var(--primary);
  padding: 10px 15px;
  height: auto;
  transition: 0.5s ease all;
}
.contact form .form-control:focus,
.contact form .form-control:active {
  box-shadow: none;
}
.contact form button {
  padding: 10px 25px;
  background: var(--primary);
  color: var(--dark);
  border: 0;
  border-radius: 0;
  outline: 0;
  font-size: 16px;
  font-weight: 600;
}
.contact p.mb-5 {
  color: var(--light-alt);
}
.contact .item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 15px;
}
.contact .item .icon {
  width: 60px;
  height: 60px;
  background: var(--primary);
  color: var(--dark);
  text-align: center;
  line-height: 60px;
  margin-right: 15px;
}
.contact .item .icon i {
  font-size: 20px;
}
.contact .item .text {
  width: calc(100% - 75px);
}
.contact .item .text p {
  font-size: 16px;
  font-weight: 400;
  color: var(--light);
}
.contact .item .text p a {
  color: var(--light);
}

/* Success */
.success {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.success .card {
  background: var(--light);
}
.success .image {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  background: var(--primary);
}
.success .logo {
  width: 300px;
  display: inline-block;
  margin: auto;
  border-radius: 5px;
  overflow: hidden;
}
.success .card-body {
  background: var(--light);
  text-align: center;
  height: 100%;
  padding: 30px;
}
.success .card-body .gif {
  width: 200px;
}
.success .card-body h5 {
  font-size: 30px;
  font-weight: 700;
  font-family: var(--serif);
  color: var(--dark);
  text-transform: capitalize;
  margin-bottom: 15px;
}
.success .card-body h6 {
  font-size: 18px;
  font-weight: 500;
  color: var(--dark-alt);
}
.success .item {
  text-align: center;
  background: var(--light);
  padding: 15px;
  height: 100%;
  border-radius: 5px;
}
.success .item .icon {
  width: 60px;
  height: 60px;
  background: var(--primary);
  color: var(--dark);
  text-align: center;
  line-height: 60px;
  margin: 0 auto 15px;
  font-size: 20px;
  border-radius: 5px;
}
.success .item .text p {
  font-size: 16px;
  font-weight: 500;
  color: var(--dark);
}
.success .item .text p a {
  color: var(--dark);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero {
    flex-direction: column;
  }
  .hero .hero-text,
  .hero .hero-image {
    width: 100%;
  }
}
@media (max-width: 768px) {
  .gym-images {
    flex-wrap: wrap;
  }
  .gym-images .image {
    width: 50%;
  }
  .amenities .col-lg-4:nth-child(even) .card {
    border-bottom: 2px dashed var(--primary) !important;
    border-right: 0 !important;
    border-top: 0 !important;
    border-left: 0 !important;
  }
  .amenities .col-lg-4:nth-child(odd) .card {
    border-bottom: 2px dashed var(--primary) !important;
    border-right: 2px dashed var(--primary) !important;
    border-top: 0 !important;
    border-left: 0 !important;
  }
  .amenities .col-lg-4:nth-last-child(1) .card,
  .amenities .col-lg-4:nth-last-child(2) .card {
    border-bottom: 0 !important;
  }
  .map {
    flex-direction: column;
  }
  .map .image,
  .map .text {
    width: 100%;
  }
  #getUnitModal .image {
    display: none;
  }
  #getUnitModal .form {
    width: 100%;
    padding: 20px;
  }
  #getUnitModal .btn-close {
    right: 0;
  }
}
@media (max-width: 600px) {
  .features .box {
    flex-direction: column;
  }
  .features .box .image,
  .features .box .text {
    width: 100%;
  }
  .features .box .text {
    padding: 20px;
  }
  .features .box:last-child {
    flex-direction: column-reverse;
  }
  .gym ul {
    flex-wrap: wrap;
    gap: 15px;
  }
  .gym ul li {
    margin: 0 !important;
  }
  .gym-images .image {
    width: 100%;
  }
  .amenities .col-lg-4:nth-child(even) .card {
    border-bottom: 2px dashed var(--primary) !important;
    border-right: 0 !important;
  }
  .amenities .col-lg-4:nth-child(odd) .card {
    border-bottom: 2px dashed var(--primary) !important;
    border-right: 0 !important;
  }
  .amenities .col-lg-4:last-child .card {
    border-bottom: 0 !important;
  }
  .hero .hero-text .p-5 {
    padding: 20px !important;
  }
  .hero .hero-text .text h4 {
    position: relative;
    top: auto;
    left: auto;
    bottom: auto;
    right: auto;
    padding: 0;
  }
  .hero .hero-text .text {
    padding: 20px;
  }
  .map .text {
    padding: 20px;
  }
  .units .container-fluid {
    padding: 20px !important;
  }
  .contact form {
    margin-top: 30px;
  }
  .units .item {
    margin: 0 0 15px 0;
  }
  .section {
    padding: 70px 0;
  }
}
