*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --lemon-green: #5ea51d;
  --deep-green: #03300d;
  --light-ash: #f5f2f2;
  --white: #ffff;
  --light-black: rgba(0, 0, 0, 0.8);
}

body {
  font-family: "Nunito Sans", Tahoma, Geneva, Verdana, sans-serif;
  letter-spacing: 0.5px;
}
h1 {
  font-size: 4.3rem;
}
h2 {
  font-size: 2.25rem;
}
h3 {
  font-size: 1.75rem;
}
p {
  font-size: 1rem;
}
.body-container {
  display: flex;
  flex-direction: column;
  position: relative;
  width: 100%;
}
/***************** header *********************/
.header {
  display: flex;
  flex-direction: column;
  width: 100%;
  z-index: 999;
}
/* ************************* upper-header *************8*/
.upper-header {
  width: 100%;
  background-color: var(--deep-green);
  min-height: 5rem;
  color: var(--white);
  display: flex;
  justify-content: center;
}
.upper-header-container {
  width: 80%;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.8rem;
  justify-content: space-between;
  /* background-color: #5ea51d; */
  padding: 0 1rem;
}
.upper-header-con {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  align-items: center;
  font-size: 0.5rem;
}
.upper-header-con > .p-header-1 {
  min-width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px 50px;
  border: solid 1px white;
}
.upper-header-con .p-header-1 {
  font-size: 1rem;
}
.upper-header-con .p-header-1 span {
  text-decoration: none;
  color: var(--lemon-green);
}
.upper-header-con p:nth-child(2) {
  font-size: 0.8rem;
  color: var(--light-ash);
}
.upper-header-con p:nth-child(2) a {
  text-decoration: none;
  color: var(--light-ash);
}
.upper-header-con p:nth-child(2) a:hover {
  color: var(--lemon-green);
}

.whatsapp-header-1 {
  min-width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px 50px;
  border: solid 1px #040800;
  background-color: #437e0b;
}

.whatsapp-header-1:hover {
  border: solid 1px #040800;
  background-color: #244605;
}
.whatsapp-header-1 a {
  width: 100%;
  text-align: center;
  font-size: 1.5rem;
}
.whatsapp-header-1 a:hover {
  color: #7bff00;
}

.whatsapp-header {
  text-decoration: none;
  color: var(--light-ash);
  cursor: pointer;
}
.whatsapp-header:hover {
  color: var(--lemon-green);
}

@media (max-width: 1200px) {
  .upper-header-container {
    width: 90%;
  }
}
@media (max-width: 1100px) {
  .upper-header-container {
    width: 100%;
  }
}
@media (max-width: 900px) {
  .upper-header {
    height: 17vh;
  }
}
@media (max-width: 650px) {
  .upper-header {
    height: auto;
  }
  .upper-header-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
    justify-content: flex-start;
    padding: 0rem;
    margin: 1rem;
  }
  .upper-header-con > p:nth-child(1) {
    min-width: 2rem;
    height: 2rem;
    display: flex;
  }
  .upper-header-con {
    gap: 0.5rem;
  }
}
/**************** header-container ******** */
.header-container {
  width: 100%;
  display: flex;
  flex-direction: column;
}
.header-logo-topbar {
  background-color: rgba(0, 0, 0, 0.329);
  width: 100%;
  min-height: 6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  margin-left: 3rem;
  color: white;
  line-height: 25px;
}
.login-container {
  display: flex;
  align-items: center;
}
.logo a {
  text-decoration: none;
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 900;
}
.logo span {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 3.6px;
}
.logo-image {
  width: 50px;
  height: 50px;
}

.nav-topbar {
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  text-align: center;
  font-size: 1.3rem;
  margin-right: 3rem;
}
.topbar li {
  list-style-type: none;
}
.topbar a {
  text-decoration: none;
  cursor: pointer;
  font-size: 1.3rem;
  color: var(--white);
}
.topbar a:hover {
  color: var(--lemon-green);
}
.topbar button {
  height: 50px;
  width: 200px;
  border-radius: 5px;
  background-color: var(--lemon-green);
  color: var(--white);
  border: none;
  cursor: pointer;
}
.topbar button a {
  height: 50px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.topbar button:hover {
  background-color: var(--deep-green);
}
.menu-button {
  display: none;
  color: var(--lemon-green);
  font-size: 1.5rem;
}
.hideSidebar {
  display: none;
  color: var(--lemon-green);
  font-size: 1.5rem;
}
.sidebar {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 1rem 0 0;
  background-color: var(--deep-green);
  height: auto;
  width: 100%;
  list-style: none;
}

.sidebar li {
  margin: 0.1rem 0;
  width: 100%;
  height: 2rem;
  padding: 0 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.sidebar button {
  height: 2rem;
  width: 10rem;
  font-size: 1rem;
  border-radius: 5px;
  background-color: var(--lemon-green);
  color: var(--white);
  border: none;
  cursor: pointer;
}
.sidebar button:hover {
  background-color: var(--deep-green);
  border: 1px solid var(--lemon-green);
}
.sidebar li:last-child {
  margin-bottom: 1.5rem;
}

.sidebar a {
  width: 100%;
  height: 100%;
  color: var(--light-ash);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.sidebar a:hover {
  color: #9ca51d;
}

@media (max-width: 1100px) {
  .topbar {
    margin-right: 2rem;
    gap: 1.3rem;
  }
  .topbar > li > a {
    font-size: 1.1rem;
  }
}

@media (max-width: 1060px) {
  .nav-link {
    display: none;
  }
  .menu-button {
    display: block;
  }
  .hideSidebar {
    display: none;
  }
  .header-logo-topbar {
    background-color: var(--deep-green);
  }

  .logo-image {
    width: 50px;
    height: 50px;
  }
}
@media (min-width: 1060px) {
  .menu-button,
  .hideSidebar {
    display: none !important;
  }
}
@media (max-width: 1000px) {
  .logo {
    font-size: 1.5rem;
  }
  .topbar {
    margin-right: 2rem;
    gap: 1.2rem;
  }
  .topbar > li > a {
    font-size: 1rem;
  }
}

@media (max-width: 400px) {
  .topbar {
    margin-right: 1rem;
  }

  .logo {
    margin-left: 1rem;
    color: white;
    line-height: 19px;
  }
  .logo a {
    font-size: 1.1rem;
    font-weight: 900;
  }
  .logo span {
    font-size: 0.8rem;
    letter-spacing: 1px;
  }
}

/* ************ main ******* */

.main {
  width: 100%;
  display: flex;
}
.main-container {
  width: 100%;
  display: flex;
  flex-direction: column;
}
.my-whatsapp-icon {
  position: fixed;
  bottom: 10px;
  left: 20px;
  z-index: 1000;
}
.my-whatsapp-icon img {
  width: 50px;
  height: 50px;
}

.hero-section-container {
  width: 100%;
  height: auto;
  position: relative;
  top: -6rem;
  /* margin-bottom: -5rem; */
}
.hero-section-container-page {
  width: 100%;
  height: auto;
  position: relative;
  top: -6rem;
  margin-bottom: -5rem;
}
.hero-section-container .hero-section,
.hero-section-container-page .hero-section {
  width: 100%;
  height: 110vh;
  min-height: 700px;
  position: relative;
  overflow: hidden;
}

.hero-section-two,
.hero-section-three {
  top: 0;
  left: -100%;
}

.hero-section-one,
.hero-section-two,
.hero-section-three {
  width: 100%;
  height: 100%;
  position: absolute;
  object-fit: cover;
}
/* for hero section in the nav bar */
.hero-section-one-nav {
  width: 100%;
  height: 100%;
  position: absolute;
  object-fit: cover;
}
.hero-section-one h1,
.hero-section-two h1,
.hero-section-three h1 {
  margin-top: 10rem;
  text-align: center;
  color: var(--white);
  width: 500px;
  font-weight: 600;
}

/* for hero section in the nav bar */
.hero-section-one-nav h1 {
  margin-top: 20rem;
  text-align: center;
  color: var(--white);
  width: 500px;
  font-weight: 600;
}
.hero-section p {
  text-align: center;
}
.hero-section-link {
  margin-top: 2rem;
  display: flex;
  text-align: center;
  background-color: var(--lemon-green);
}
.hero-section-link a {
  color: var(--white);
  text-decoration: none;
  padding: 15px 35px;
}
.hero-section-link i {
  font-size: 1rem;
}

.hero-section-one,
.hero-section-one-nav {
  background: linear-gradient(rgba(0, 0, 0, 0.61), rgba(0, 0, 0, 0.61)),
    url("images/omni-heading2.JPG");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  color: #f5f2f2;
  flex-direction: column;
  align-items: center;
}
.hero-section-two {
  background: linear-gradient(rgba(0, 0, 0, 0.61), rgba(0, 0, 0, 0.61)),
    url("images/onmi-heaading-4.JPG");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  color: #f5f2f2;
  flex-direction: column;
  align-items: center;
}
.hero-section-three {
  background: linear-gradient(rgba(0, 0, 0, 0.61), rgba(0, 0, 0, 0.61)),
    url("images/omni-heading1.JPG");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  color: #f5f2f2;
  flex-direction: column;
  align-items: center;
}
.dots-hero-section-Container {
  position: absolute;
  /* bottom: 10px; */
  top: 50%;
  z-index: 3;
  left: 95%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.dots-hero-section-Container .dot-hero-section {
  width: 20px;
  height: 5px;
  margin: 0px 2px;
  background-color: #d6d0d0;
  display: inline-block;
  cursor: pointer;
  transition: background-color 0.6s ease;
}
.dots-hero-section-Container .active-hero-section {
  background-color: var(--lemon-green);
  width: 30px;
  height: 5px;
}
@keyframes nextQ1 {
  from {
    left: 0%;
  }
  to {
    left: -100%;
  }
}
@keyframes nextQ2 {
  from {
    left: 100%;
  }
  to {
    left: 0%;
  }
}

@keyframes prevQ1 {
  from {
    left: 0%;
  }
  to {
    left: 100%;
  }
}
@keyframes prevQ2 {
  from {
    left: -100%;
  }
  to {
    left: 0%;
  }
}

@media (max-width: 900px) {
  .hero-section-container .hero-section,
  .hero-section-container-page .hero-section {
    width: 100%;
    height: 50vh;
    min-height: 500px;
  }
  .hero-section-one h1,
  .hero-section-two h1,
  .hero-section-three h1 {
    margin-top: 10rem;
    text-align: center;
    color: var(--white);
    width: 450px;
    font-size: 3rem;
    margin-bottom: 2rem;
  }
  /* for hero section in the nav bar */

  .hero-section-one-nav h1 {
    margin-top: 10rem;
    text-align: center;
    color: var(--white);
    width: 450px;
    font-size: 3rem;
    margin-bottom: 2rem;
  }
  .hero-section p {
    text-align: center;
    width: 80%;
  }
  .hero-section-link {
    width: 200px !important;
  }
}
@media (max-width: 600px) {
  .hero-section-container .hero-section {
    width: 100%;
    height: 50vh;
    min-height: 500px;
  }
  .hero-section-container,
  .hero-section-container-page {
    top: 0;
  }
  .hero-section-one,
  .hero-section-two,
  .hero-section-three {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .hero-section-one h1,
  .hero-section-two h1,
  .hero-section-three h1 {
    margin-top: 1rem;
    font-size: 2rem;
    width: 90%;
  }
  /* for hero section in the nav bar */
  .hero-section-one-nav {
    width: 100%;
    height: 50vh;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .hero-section-one-nav h1 {
    margin-top: 1rem;
    font-size: 2rem;
    width: 90%;
  }
  .dots-hero-section-Container {
    position: none;
    z-index: 99;
    left: 50%;
    flex-direction: row;
    gap: 1rem;
    display: none;
  }

  .dot-hero-section {
    width: 15px;
    height: 15px;
    margin: 0px 2px;
    background-color: #d6d0d0;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.6s ease;
  }
  .dots-hero-section-Container .active-hero-section {
    background-color: #00712d;
  }
}
@media (max-width: 390px) {
  .hero-section-link a {
    color: var(--white);
    text-decoration: none;
    padding: 10px 10px;
  }
  .hero-section-link {
    width: 150px !important;
  }
}

/* OlaHousing-Cate-con */
.OlaHousing-Cate-con {
  width: 100%;
  display: flex;
  justify-content: center;
}
.OlaHousing-Categories {
  width: 90%;
  margin: 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.OlaHousing-Categories > P {
  color: var(--lemon-green);
  font-weight: bold;
  margin-bottom: 0.5rem;
}
.OlaHousing-Categories > h2 {
  font-weight: bold;
  margin-bottom: 1rem;
}
.OlaHousing-Categories-img {
  width: 80%;
  display: flex;
  justify-content: space-between;
}

.OlaHousing-Categories-img figure {
  width: 24%;
  min-width: 100px;
  min-height: 200px;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #7cce30 0%, #7be255 40%, #083d15 100%);
  box-shadow: 0 8px 24px 0 rgba(220, 238, 224, 0.18),
    0 1.5px 4px 0 rgba(94, 165, 29, 0.12);
  justify-content: center;
  align-items: center;
  gap: 1rem;
  font-size: 1.2rem;
}

.OlaHousing-Categories-img figure img {
  width: 100px;
}
.OlaHousing-Categories-img figcaption {
  font-size: 1.2rem;
  font-weight: bold;
  color: rgb(240, 224, 10);
}
@media (max-width: 900px) {
  .OlaHousing-Categories {
    width: 100%;
    margin: 0;
  }
  .OlaHousing-Categories-img {
    width: 95%;
    display: flex;
    gap: 1rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  .OlaHousing-Categories-img figure {
    width: 100%;
    min-width: 100px;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
  }
}
@media (max-width: 600px) {
  .OlaHousing-Categories {
    margin-top: 3rem;
  }
  .OlaHousing-Categories > h2 {
    font-size: 1.5rem;
  }
  .OlaHousing-Categories-img figure {
    width: 100%;
    min-width: 100px;
    min-height: 100px;
    gap: 0.5rem;
  }
  .OlaHousing-Categories-img figure img {
    width: 50px;
  }
  .OlaHousing-Categories-img figcaption {
    font-size: 1rem;
    font-weight: bold;
    color: rgb(240, 224, 10);
  }
}

/* properties */
.property {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 4rem;
}
.property-h2 {
  font-size: 1rem;
  color: var(--lemon-green);
}
.property-p {
  font-size: 3rem;
  font-weight: bold;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
}

.property-container {
  width: 85%;
  display: grid;
  grid-template-columns: repeat(3, 33%);
  gap: 2rem;
  justify-content: center;
}

.each-property {
  min-height: 400px;
  background-color: var(--white);
  display: flex;
  flex-direction: column;
  /* justify-content: space-between; */
  gap: 1rem;
  box-shadow: 0px 1px 6px 0px #d4d4d3;
}

.each-property:hover {
  box-shadow: 0px 1px 6px 0px #a4cc7f;
}

.all-omni-home-container {
  width: 100%;
  position: relative;
}

.omni-home-container {
  min-width: 200px;
  height: 250px;
  object-fit: contain;
}
.omni-home-container .omni-home-con-2 {
  width: 100%;
  height: calc(100%);
  position: relative;
  overflow: hidden;
}
.omni-home-container .omni-home-con-2 {
  width: 100%;
  height: 100%;
  position: absolute;
  object-fit: cover;
}

/* --- Carousel Smooth Slide --- */
.my-omni-housing {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  left: 0;
  top: 0;
  opacity: 0;
  z-index: 1;
  transition: opacity 0.3s, left 0.3s;
  pointer-events: none;
}

/* Active slide is visible and on top */
.my-omni-housing.activeHousingSlide {
  opacity: 1;
  z-index: 2;
  pointer-events: auto;
}

/* Outgoing slide animating out to the left */
.my-omni-housing.slide-out-left {
  animation: slideOutLeft 0.4s forwards;
  z-index: 3;
  opacity: 1;
}

/* Incoming slide animating in from the right */
.my-omni-housing.slide-in-right {
  animation: slideInRight 0.4s forwards;
  z-index: 4;
  opacity: 1;
}

/* Outgoing slide animating out to the right */
.my-omni-housing.slide-out-right {
  animation: slideOutRight 0.4s forwards;
  z-index: 3;
  opacity: 1;
}

/* Incoming slide animating in from the left */
.my-omni-housing.slide-in-left {
  animation: slideInLeft 0.4s forwards;
  z-index: 4;
  opacity: 1;
}

@keyframes slideOutLeft {
  from {
    left: 0;
    opacity: 1;
  }
  to {
    left: -100%;
    opacity: 1;
  }
}
@keyframes slideInRight {
  from {
    left: 100%;
    opacity: 1;
  }
  to {
    left: 0;
    opacity: 1;
  }
}
@keyframes slideOutRight {
  from {
    left: 0;
    opacity: 1;
  }
  to {
    left: 100%;
    opacity: 1;
  }
}
@keyframes slideInLeft {
  from {
    left: -100%;
    opacity: 1;
  }
  to {
    left: 0;
    opacity: 1;
  }
}

span.nextHousing,
span.prevHousing {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 10px;
  color: #ffffff;
  background-color: #00712d;
  font-size: 20px;
  font-weight: bold;
  transition: 0.5s;
  border-radius: 2px;
  user-select: none;
  cursor: pointer;
  z-index: 1;
}
span.nextHousing {
  right: 15px;
}
span.prevHousing {
  left: 15px;
}
span.nextHousing:hover,
span.prevHousing:hover {
  background-color: #ede6d6;
  opacity: 0.8;
  color: #222;
}
.dotsQQContainer {
  position: absolute;
  bottom: 10px;
  z-index: 3;
  left: 50%;
  transform: translateX(-50%);
}
.dotsQQContainer .dotHousing {
  width: 15px;
  height: 15px;
  margin: 0px 2px;
  background-color: #d6d0d0;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: background-color 0.6s ease;
}
.dotsQQContainer .activeHousing {
  background-color: #00712d;
}

.my-omni-housing img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.each-property-section-2 {
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  /* justify-content: center;
  align-items: flex-start; */
  gap: 1rem;
  height: 100%;
}

.each-property-section-2 p:nth-child(1) {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--lemon-green);
}

.each-property-section-2 p:nth-child(2) {
  font-size: 1.1rem;
}

.each-property-section-2 p:nth-child(3) {
  font-size: 1.3rem;
  font-weight: bold;
}

.each-property-section-2 p:nth-child(3) i {
  color: var(--lemon-green);
}

.each-property-section-2 p:nth-child(4) span {
  color: var(--white);
  background-color: var(--lemon-green);
  font-size: 1.2rem;
  border-radius: 5px;
  cursor: pointer;
  width: 130px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.each-property-section-2 p:nth-child(4) span a {
  width: 100%;
  height: 100%;
  text-align: center;
  text-decoration: none;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}
.each-property-section-2 p:nth-child(4) {
  margin-bottom: 2rem;
  margin-top: 1rem;
}

@media (max-width: 1100px) {
  .property-container {
    width: 90%;
    grid-template-columns: repeat(2, 50%);
  }
}
@media (max-width: 700px) {
  .property-container {
    width: 90%;
    grid-template-columns: repeat(1, 90%);
  }
}
@media (max-width: 700px) {
  .property > p {
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: center;
  }
}
@media (max-width: 400px) {
  .property-container {
    width: 95%;
    grid-template-columns: repeat(1, 100%);
  }
  .property > p {
    font-size: 1.3rem;
    margin-top: 1.2rem;
    margin-bottom: 1rem;
  }
  .each-property {
    box-shadow: 0px 1px 1px 0px #d4d4d3;
  }
}

/*  video  */
.video {
  width: 100%;
  display: flex;
  height: 90vh;
  min-height: 400px;
  margin-top: 10rem;
}
.video-container {
  width: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.61), rgba(0, 0, 0, 0.61)),
    url("images/omni-heading2.JPG");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  color: #f5f2f2;
  flex-direction: column;
  align-items: center;
  display: flex;
  justify-content: center;
  text-align: center;
  gap: 3rem;
  padding: 50px;
}
.video-container i {
  font-size: 5rem;
  color: var(--lemon-green);
  -webkit-animation: pulsate-bck 0.5s ease-in-out infinite both;
  animation: pulsate-bck 0.5s ease-in-out infinite both;
}

@media (max-width: 400px) {
  .video {
    max-height: 400px;
    margin-top: 3rem;
  }
  .video-container {
    width: 100%;
    gap: 1rem;
    padding: 3rem;
  }
}

@-webkit-keyframes pulsate-bck {
  0% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
  50% {
    -webkit-transform: scale(0.9);
    transform: scale(0.9);
  }
  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}
@keyframes pulsate-bck {
  0% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
  50% {
    -webkit-transform: scale(0.9);
    transform: scale(0.9);
  }
  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

.about {
  margin-top: 8rem;
  width: 100%;
  display: flex;
  justify-content: center;
}
.about-page {
  margin-top: 2rem;
  width: 100%;
  display: flex;
  justify-content: center;
}
.about-container {
  width: 90%;
  display: flex;
  gap: 2rem;
  justify-content: center;
}
.about-container1 {
  width: 30%;
}
.about-container1 img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
}
.about-container2 {
  width: 65%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.about-container2 h2 {
  font-size: 1rem;
  color: var(--lemon-green);
  font-weight: bold;
}
.about-container2 p {
  text-align: justify;
}
.about-container2 p:nth-child(2) {
  text-align: center;
  font-size: 3rem;
  font-weight: bold;
}
.about-counter {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin: 0;
}
.counter-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 90%;
  text-align: center;
  margin: 20px 5px;
}

.about-image2 {
  width: 100%;
}
.about-image2 img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

@media (max-width: 900px) {
  .about {
    margin-top: 6rem;
  }

  .about-container1 {
    display: none;
  }
  .about-container2 {
    width: 100%;
  }
}
@media (max-width: 580px) {
  .about {
    margin-top: 4rem;
  }
  .about-page {
    margin-top: 1rem;
  }
  .about-container2 p:nth-child(2) {
    font-size: 1.5rem;
  }
}
@media (max-width: 400px) {
  .about {
    margin-top: 3rem;
  }

  .about-page {
    margin-top: 2rem;
  }
  .about-container2 p:nth-child(3) {
    font-size: 1.2rem;
  }

  .about-image2 img {
    height: 250px;
  }
}

/*  call to action */
.call-to-action {
  width: 100%;
  height: 60vh;
  background: linear-gradient(#5fa51df3, #5fa51df6),
    url("images/omni-prop-3-a.JPG");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  color: #f5f2f2;
  flex-direction: row;
  align-items: center;
  display: flex;
  justify-content: center;
  text-align: left;
  gap: 3rem;
  padding: 50px;
  margin-top: 2rem;
}
.call-to-action div {
  width: 60%;
}
.call-to-action div p:first-child {
  font-size: 3rem;
  font-weight: bold;
}

.call-to-action button {
  min-width: 130px;
  height: 50px;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  outline: none;
  border-radius: 5px;
  border: none;
  background-color: #011b01;
  box-shadow: 0 3px 1px -2px #ccc, 0 2px 2px 0 #ccc, 0 1px 5px 0 #ccc;
}
.call-to-action button a {
  text-decoration: none;
  width: 100%;
  height: 100%;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}
.call-to-action button:hover {
  box-shadow: 0 4px 2px -3px #ccc, 0 4px 5px 1px #ccc, 0 2px 7px 1px #ccc;
}
.call-to-action button:active {
  box-shadow: 0 4px 2px -3px #ccc, 0 4px 5px 1px #ccc, 0 2px 7px 1px #ccc;
}

@media (max-width: 650px) {
  .call-to-action {
    width: 100%;
    min-height: 300px;
    flex-direction: column;
    gap: 2rem;
    padding: 0 0;
    margin-top: 5rem;
  }
  .call-to-action div {
    width: 90%;
  }
  .call-to-action div p:first-child {
    font-size: 1.5rem;
    font-weight: bold;
  }
}
@media (max-width: 400px) {
  .call-to-action {
    width: 100%;
    max-height: 200px;

    margin-top: 2rem;
  }
  .call-to-action button {
    min-width: 100px;
    height: 30px;
    color: #fff;
    padding: 5px 10px;
  }
}

/*  TESTIMONIALS */
.testimonials {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 6rem;
}

.testimonials > h2 {
  margin-top: 2rem;
  color: var(--forest-green);
  font-size: 2rem;
  font-family: var(--heading-font);
  text-transform: uppercase;
}

.testimonials > p {
  margin-top: 1rem;
  margin-bottom: 2rem;
  font-size: 1.3rem;
}

.all-testimony-container {
  position: relative;
  width: 800px;
  height: 450px;

  /* border: 3px solid #ffb300; */
}
.all-testimony-container .testimony-container {
  width: 100%;
  height: calc(100% - 40px);
  position: relative;
  overflow: hidden;
}
.all-testimony-container .testimony-container .my-customer-testimony {
  width: 100%;
  height: 100%;
  position: absolute;
  object-fit: cover;
}

.my-customer-testimony {
  flex: 0 0 100%; /* Each testimonial will take up 100% width */
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem;
  /* background-color: #00712d; */
}
.all-testimony-container
  .testimony-container
  .my-customer-testimony:not(.activeTestimony) {
  top: 0;
  left: -100%;
}
span.nextTestimony,
span.prevTestimony {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 14px;
  color: #3b3737;
  font-size: 24px;
  font-weight: bold;
  transition: 0.5s;
  border-radius: 3px;
  user-select: none;
  cursor: pointer;
  z-index: 1;
}
span.nextTestimony {
  right: 1px;
}
span.prevTestimony {
  left: 1px;
}
span.nextTestimony:hover,
span.prevTestimony:hover {
  background-color: #ede6d6;
  opacity: 0.8;
  color: #222;
}
.dotsQContainer {
  position: absolute;
  bottom: 10px;
  z-index: 3;
  left: 50%;
  transform: translateX(-50%);
}
.dotsQContainer .dotTestimony {
  width: 15px;
  height: 15px;
  margin: 0px 2px;
  background-color: #d6d0d0;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: background-color 0.6s ease;
}
.dotsQContainer .activeTestimony {
  background-color: #00712d;
}

.testimony-image img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
}

.customers-testi-details {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.7rem;
  text-align: center;
  color: #070707;
}

.customers-testi-details p {
  margin: 0;
}
.customers-testi-details p:nth-child(1) {
  font-size: 1.5rem;
  font-weight: bold;
  color: #00712d;
}
.customers-testi-details p:nth-child(3) {
  font-size: 1.2rem;

  color: #ffc107;
}

.customers-testi-details q {
  font-style: italic;
  color: #000000;
  margin-top: 0.5rem;
  font-size: 1rem;
}

@media (max-width: 890px) {
  .testimonials {
    margin-top: 6rem;
  }
  .all-testimony-container {
    width: 600px;
    height: 450px;
  }
  .my-customer-testimony {
    padding: 1.2rem;
  }
}
@media (max-width: 670px) {
  .testimonials {
    margin-top: 5rem;
  }
  .all-testimony-container {
    width: 100%;
    height: 400px;
  }
  .my-customer-testimony {
    padding: 1.2rem;
  }
}
@media (max-width: 470px) {
  .testimonials {
    margin-top: 2rem;
  }
  .testimonials > h2 {
    font-size: 1.4rem;
  }
  .testimonials > p {
    font-size: 1.1rem;
    text-align: center;
  }
  span.nextTestimony {
    right: 1px;
  }
  span.prevTestimony {
    left: 1px;
  }
  .dotsQContainer {
    display: none;
  }
}

/* gallery */

.gallery {
  width: 100%;
  margin-top: 5rem;
  background-color: #9c9d9e;
}

.gallery-container {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  flex-wrap: wrap;
}
.the-gallery {
  flex: 1 1 10%;
  position: relative;
  display: inline-block;
}
.the-gallery i {
  display: none;
}
.the-gallery a:hover i {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 24px;
  color: var(--white);
  pointer-events: none;
  padding: 10px 10px;
  background-color: var(--lemon-green);
  border-radius: 50%;
}

.the-gallery img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}
@media (max-width: 700px) {
  .gallery {
    margin-top: 1rem;
  }
  .the-gallery {
    flex: 1 1 90%;
  }
  .the-gallery img {
    height: 200px;
  }
}

/* Apartment Booking Form  */
.apartment-booking-section {
  background: #f8f9fa;
  padding: 2rem 1rem;
  margin: 2rem 0;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  background-color: #f0f2f5;
}

.apartment-booking-container {
  max-width: 700px;
  margin: 0 auto;
}

.apartment-booking-container h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  text-align: center;
  color: #161c24;
  font-family: "Nunito Sans", Arial, sans-serif;
}

.apartment-booking-container p {
  color: #2c2a2a;
  margin-bottom: 1.5rem;
  text-align: center;
}

.apartment-booking-form {
  background: #fff;
  padding: 2rem 1.5rem;
  border-radius: 10px;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.form-row > div {
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
}

.apartment-booking-form label {
  font-weight: 600;
  margin-bottom: 0.4em;
  color: #2d3a4a;
  font-size: 1.1rem;
}

.apartment-booking-form input[type="text"],
.apartment-booking-form input[type="email"],
.apartment-booking-form input[type="tel"],
.apartment-booking-form input[type="number"],
.apartment-booking-form input[type="date"],
.apartment-booking-form select,
.apartment-booking-form textarea {
  padding: 0.6em 0.8em;
  border: 1px solid #cfd8dc;
  border-radius: 6px;
  font-size: 1em;
  background: #f9f9f9;
  transition: border-color 0.2s;
  margin-bottom: 0.5em;
  height: 50px;
  width: 100%;
}
.apartment-booking-form input[type="file"] {
  padding: 0.6em 0.8em;
  border: 1px solid #cfd8dc;
  border-radius: 6px;
  font-size: 1em;
  background: #f9f9f9;
  transition: border-color 0.2s;
  margin-bottom: 0.5em;
  height: 80px;
}

.apartment-booking-form input[type="file"] {
  padding: 0.3em 0.2em;
  background: #fff;
}

.apartment-booking-form input:focus,
.apartment-booking-form select:focus,
.apartment-booking-form textarea:focus {
  border-color: #00712d;
  outline: none;
}

.apartment-booking-form textarea {
  resize: vertical;
  min-height: 100px;
  max-height: 300px;
}

.apartment-booking-form fieldset {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1rem;
  background: #f6f8fa;
}

.apartment-booking-form legend {
  font-weight: 700;
  color: #2d3a4a;
  font-size: 1.1em;
  margin-bottom: 0.5em;
}

.apartment-booking-form fieldset label {
  font-weight: 500;
  color: #444;
  font-size: 0.98em;
  margin-right: 1.5em;
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
}

.apartment-booking-form input[type="checkbox"] {
  accent-color: #00712d;
  margin-right: 0.4em;
}
.special-requests1 {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.apartment-booking-form button[type="submit"] {
  background: #00712d;
  color: #fff;
  font-weight: 700;
  font-size: 1.1em;
  padding: 0.8em 2em;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 0.5em;
  transition: background 0.2s;
}

.apartment-booking-form button[type="submit"]:hover,
.apartment-booking-form button[type="submit"]:focus,
.apartment-booking-form input[type="checkbox"]:focus {
  background: #024e21;
}

@media (max-width: 700px) {
  .apartment-booking-section {
    padding: 1.5rem 0.5rem;

    max-width: 100%;
  }

  .apartment-booking-container {
    max-width: 99%;
    margin: 0 auto;
  }
  .apartment-booking-form {
    padding: 1rem 0.5rem;
  }
  .form-row {
    flex-direction: column;
    gap: 0.5rem;
  }
  .form-row > div {
    display: flex;
    flex-direction: column;
    flex: none;
  }
}

/* Optional: Style for error messages or required fields */
.apartment-booking-form input:required,
.apartment-booking-form select:required,
.apartment-booking-form textarea:required {
  border-left: 3px solid #00712d;
}

.apartment-rules-section {
  background: #f6f8fa;
  border-radius: 10px;
  margin: 2rem auto;
  padding: 2rem 1.5rem;
  max-width: 700px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}
.apartment-rules-container h2 {
  color: #2d3a4a;
  font-size: 1.7rem;
  margin-bottom: 1.2rem;
  font-family: "Nunito Sans", Arial, sans-serif;
}
.rules-category {
  margin-bottom: 1.5rem;
}
.rules-category h3 {
  color: #00712d;
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}
.rules-category ul {
  margin: 0 0 0 1.2rem;
  padding: 0;
  list-style: disc;
}
.rules-category li {
  margin-bottom: 0.4em;
  color: #333;
  font-size: 1em;
}
.rules-note {
  margin-top: 1.5rem;
  color: #555;
  font-size: 0.98em;
}

.apartment-rules-modal-overlay {
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 95vh;
  background: rgba(44, 62, 80, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
}

/* book now */
.book-now {
  width: 400px;
  margin: 0 auto;
}

/* Modal Box */
.apartment-rules-modal {
  background: #f6f8fa;
  border-radius: 12px;
  max-width: 700px;
  width: 95vw;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.18);
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  position: relative;
  animation: modalIn 0.25s cubic-bezier(0.4, 2, 0.6, 1) both;
}
@keyframes modalIn {
  from {
    transform: translateY(40px) scale(0.98);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

/* Close Button */
.close-modal-btn {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  background: #fff;
  border: none;
  font-size: 2rem;
  font-weight: bold;
  border-radius: 50%;
  width: 2.2rem;
  height: 2.2rem;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  transition: background 0.2s, color 0.2s;
  color: #052b11;
}
.close-modal-btn:hover {
  background: #052b11;
  color: #fff;
}

/* Modal Trigger Button */
.rules-modal-trigger {
  background: #fd0419;
  color: #fff;
  font-weight: 700;
  font-size: 1.1em;
  padding: 0.7em 2em;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  margin: 1.5rem 0;
  transition: background 0.2s;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.04);
}
.rules-modal-trigger:hover,
.rules-modal-trigger:focus {
  background: #940410;
}

/* Responsive */
@media (max-width: 700px) {
  .apartment-rules-modal {
    padding: 1rem 0.5rem 1rem 0.5rem;
    max-width: 98vw;
  }

  .book-now {
    width: 90%;
    margin: 0 auto;
  }
  .apartment-rules-container h2 {
    font-size: 1.2rem;
  }
}

/* footer */
footer {
  width: 100%;
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  flex-direction: column;
}
.footer-container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--deep-green);
  padding: 8rem 0rem;
  color: var(--white);
}
.footer-head {
  width: 95%;
  display: grid;
  grid-template-columns: 50% 10% 15%;
  gap: 2rem;
}

.footer-head h3 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
}
.footer-head a {
  text-decoration: none;
  color: #b3aeae;
}
.footer-head a:hover {
  text-decoration: none;
  color: var(--lemon-green);
}
.footer-head p {
  color: #b3aeae;
}
.footer-phone {
  
  margin-top: 1rem;
}
.footer-head li {
  list-style-type: none;
  margin-bottom: 1rem;
  color: #b3aeae;
}

.footer-head li:hover {
  text-decoration: none;
  color: var(--lemon-green);
}

.social-media-icon-footer {
  margin-top: 1rem;
}
.social-media-icon-footer a {
  font-size: 2rem;
}
.copyright {
  background-color: #052b11;
  display: flex;
}
.copyright p {
  margin: 0 auto;
  padding: 2rem;
  color: var(--light-ash);
}

@media (max-width: 1100px) {
  .footer-head {
    display: grid;
    grid-template-columns: 50% 50%;
  }
}
@media (max-width: 600px) {
  .footer-container {
    padding: 5rem 0rem;
    color: var(--white);
  }
  .footer-head {
    display: flex;
    flex-direction: column;
  }
}
@media (max-width: 400px) {
  .footer-container {
    padding: 3rem 1rem;
    color: var(--white);
  }
  .social-media-icon-footer a {
    margin-left: 1.5rem;
    font-size: 1.5rem;
  }
  .copyright p {
    font-size: 0.7rem;
  }
}

.scroll-content-1 {
  opacity: 0; /* Initially hidden */
  transform: scale(1.1); /* Initially scaled up */
  transition: opacity 0.6s ease-out, transform 0.6s ease-out; /* Animation */
}

.scroll-content-1.show {
  opacity: 1; /* Show when scrolled into view */
  transform: scale(1); /* Scale down to normal size */
}

.scroll-content-2 {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.scroll-content-2.show {
  opacity: 1;
  transform: translateY(0);
}

/* Using id selectors to set transition delays */
#sc-2-delay-1.show {
  transition-delay: 0.2s;
}
#sc-2-delay-1-1.show {
  transition-delay: 0.3s;
}
#sc-2-delay-1-2.show {
  transition-delay: 0.4s;
}
#sc-2-delay-1-3.show {
  transition-delay: 0.5s;
}

#sc-2-delay-2.show {
  transition-delay: 1s;
}

#sc-2-delay-3.show {
  transition-delay: 1.5s;
}

#sc-2-delay-4.show {
  transition-delay: 2s;
}
#sc-2-delay-5.show {
  transition-delay: 2.5s;
}

@media (max-width: 800px) {
  .scroll-content-1,
  .scroll-content-2 {
    opacity: 1; /* Ensure elements are visible */
    transform: none; /* Remove scaling and translation */
    transition: none; /* Disable animations */
  }

  /* Optional: If you also want to prevent the delays */
  #sc-2-delay-1.show,
  #sc-2-delay-2.show,
  #sc-2-delay-3.show,
  #sc-2-delay-4.show,
  #sc-2-delay-5.show {
    transition-delay: 0; /* Remove delay */
  }
}
