
/*img {
    width: 100px; 
} */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; 
}

body {
    font-family: 'poppins';
    background: /*linear-gradient(
    to left,
    rgb(67 67 67 / 70%),*/
    rgba(20, 20, 20, 0.918);
}
#page-wrapper {
  position: relative;
}

#header {
    width: 100%; /*100vw;*/
    
    position: fixed;
    top: 0;
    padding: 5px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
      
}
.logo {
    
    width: 50vw;
}
.logo>img {
  
  border-radius: 10px 0 10px 0;
  padding: 5px 3px;
  width: 100%;
  background: linear-gradient(
    to left,
    rgb(67 67 67 / 70%),
    rgb(0 0 0 / 70%)
  );
  
  max-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-left: 20px;
  padding-top: 0px;
}
nav {
    font-weight: 400;
}
nav li {
  border: none;
    padding: 3px;

    
    border-radius: 10px 0 10px 0;
    background: linear-gradient(
    to left,
    rgb(67 67 67 / 70%),
    rgb(0 0 0 / 70%)
  );
  }
  nav li:hover {
    transform: scale(1.2);
  }
nav>ul {
  width: 35vw;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
}
li {
  list-style: none;
}
a {
    text-decoration: none;
    color: rgb(59, 207, 192);
}

  .hero-bg {
  position: sticky;
  top: 0;
  left: 0; /*new*/
  width: 100%; /*new*/
  height: 100vh;
  

  background: url("../images/city_skyline_hero.webp") center / cover no-repeat;
  z-index: -1;
}

.hero-content {
  /*border: 1px solid red;*/
  position: relative;
  z-index: 1;

  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;

  color: #fff;
  text-align: center;
  padding-top: 10px;
  
  /* 3) STARTING POINT: In the middle of the screen */
    margin-top: -100vh; /* Pulls the text up so it starts ON TOP of the sticky bg */
  
  

}
.hero-paragraph {
  /*border: 1px solid green;*/
  position: relative;
  z-index: 1;
/*height: 100vh;
align-items: center;*/
  
  display: block;
  align-items: center;
  justify-content: center;

  color: #fff;
  text-align:left;
  padding: 100px 20px;
}
 /*p {
  border: 1px solid blue;
  display: block;
}*/
.hero-stage {
  position: relative;
  width: 100%;

  
  z-index: -1;
}

/*.container {
  position: relative;
  z-index: 1;
}*/
.hero-txt {
  
  width: 100%;
  background: linear-gradient(
    to left,
    rgb(67 67 67 / 70%),
    rgb(0 0 0 / 70%)
  );
}
.r-oflog {
  color: rgb(59, 207, 192) ;
  font-size: 2rem;
  font-weight: bold;
}
.center-txt {
  text-align: center;
}


.bold-oflog {
  color: rgb(59, 207, 192);
  font-weight: bold;
  font-size: 5rem;

}

#home {
  
  margin-top: -22vh; /* Reduced from -50vh to prevent content being buried or floating too high */
  padding-top: 0; /* Removed the large padding-top */
  /*background: transparent;
  background: rgba(99, 99, 99, 0.9);*/
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto 1fr;/* Changed from 1fr 1fr to auto 1fr */
  grid-template-areas: 
  "goal goal"
  "service achieve";
  gap: 10px;
  /*border: 1px solid purple; */
}
.goal {
  grid-area: goal;
  position: relative; /*new*/
  padding: 0px 80px 80px 80px;  /* extra left space *//* Reduced vertical padding even further */
  display: flex ; /*new*/
  flex-direction: row; /*new*/
  align-items: center;
  /*justify-content: flex-start;new*/
  /*gap: 15px; new*/
  /*box-sizing: border-box;*//*new*/
  /* height: 80vh; */
  /*border: 1px solid red ;*/
  
  /*align-items: end;
  
  width: 100%;*/ 
  min-height: 0; /* Prevents the flex container from expanding unnecessarily */
}
.icon i {
display: flex; 
  font-size: 48px;
  align-items: center;
  
}
.goal img {
  /*border: 1px solid blue;*/
  width: 70%;
  height: auto;
  border-radius: 10px 0 10px 0;
  z-index: 1;
  /*max-height: 75%;*/

  object-fit: cover;
  /*border-radius: 14px;*/

  /* IMAGE SPACING 
  margin-top: 20px;
  margin-left: 40px;
  margin-right: 20px;
  margin-bottom: 20px; */

 /* align-self: stretch;*/
}

.goal .desc {
 /* max-width: 1000px;*/
  color: #fff;
  /* The Magic Trick: Negative Margin */
  margin-left: 0%;   /* Pulls the box 1% out the image */
  margin-top: -1%;
  z-index: 2;/* Ensures text is on top of image */
  /*border: 1px solid red;*/
  width: 30%;
 /* background: rgba(30, 30, 30, 0.9);*/ /* Dark semi-transparent bg to see the overlap */
  padding: 0 30px 0 30px;
 /* border-radius: 8px;*/
  /*text-align: left;*/
}
/* 1) Align Icon and H2 on the same line */
.desc h2 {
  display: flex;
  align-items: center; /* Centers icon vertically with text */
  gap: 15px;           /* Space between icon and text */
}



.service {
  grid-area: service;
  padding-top: 0px;
  position: relative; /*new*/
  /*border: 1px solid black ;*/
  display: flex ; /*new*/
  flex-direction: row; /*new*/
  align-items: flex-start;
  
}
.service img {
  /*border: 1px solid blue;*/
  width: 100%;
  height: auto;
  border-radius: 10px 0 10px 0;
  z-index: 1;
  /*max-height: 75%;*/

  object-fit: cover;

}
.service .desc {
 /* max-width: 1000px;*/
  color: #fff;
  /* The Magic Trick: Negative Margin */
  margin-left: -100%;   /* Pulls the box 100% inside the image */
  margin-top: 63%;
  z-index: 2;/* Ensures text is on top of image */
  /*border: 1px solid red;*/
  width: 100%;
  height: 30%;
 /*background: rgba(30, 30, 30, 0.9);*/ /* Dark semi-transparent bg to see the overlap */
  padding: 20px;
 /* border-radius: 8px;*/
  /*text-align: left;*/
}

.achieve {
  grid-area: achieve;
  padding: 0px;
  /*border: 1px solid green ;*/
   position: relative; /*new*/
    display: flex ; /*new*/
  flex-direction: row; /*new*/
  align-items: flex-start;
}
.achieve img {
  /*border: 1px solid blue;*/
  width: 100%;
  height: auto;
  border-radius: 10px 0 10px 0;
  z-index: 1;
  /*max-height: 75%;*/

  object-fit: cover;
}

.achieve .desc {
 /* max-width: 1000px;*/
  color: #fff;
  /* The Magic Trick: Negative Margin */
  margin-left: -100%;   /* Pulls the box 100% inside the image */
  margin-top: 63%;
  z-index: 2;/* Ensures text is on top of image */
  /*border: 1px solid red;*/
  width: 100%;
  height: 30%;
 /*background: rgba(30, 30, 30, 0.9); *//* Dark semi-transparent bg to see the overlap */
  padding: 20px;
 /* border-radius: 8px;*/
  /*text-align: left;*/
}


/* 1. Define the Keyframes */
@keyframes slideInGoalImg {
  from {
    opacity: 0;
    transform: translateX(-100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInGoalDesc {
  from {
    opacity: 0;
    transform: translateX(100px);
  }
  to {
    opacity: 1;
    transform: translateX(0) translateY(-12%); /* Maintains your margin-top adjustment */
  }
}
@keyframes slideInServiceArea {
  from {
    opacity: 0;
    transform: translateX(-100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes slideInAchieveArea {
  from {
    opacity: 0;
    transform: translateX(100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* 2. Apply Scroll-Triggered Animations to your updated classes */

.goal img {
  /* Link to Scroll Timeline */
  view-timeline-name: --goal-reveal;
  view-timeline-axis: block;
  animation: slideInGoalImg linear forwards;
  animation-timeline: --goal-reveal;
  
  /* Animation plays as the element enters the bottom 30% of the screen */
  animation-range: entry 10% cover 30%; 
}

.goal .desc {
  /* Link to same Scroll Timeline */
  view-timeline-name: --goal-reveal;
  view-timeline-axis: block;
  animation: slideInGoalDesc linear forwards;
  animation-timeline: --goal-reveal;
  
  /* Starts slightly later than the image for a staggered effect */
  animation-range: entry 15% cover 35%;
}
.service {
  view-timeline-name: --service-reveal;
  view-timeline-axis: block;
  animation: slideInServiceArea linear forwards;
  animation-timeline: --service-reveal;
  animation-range: entry 10% cover 30%;
}
.achieve {
  view-timeline-name: --achieve-reveal;
  view-timeline-axis: block;
  animation: slideInAchieveArea linear forwards;
  animation-timeline: --achieve-reveal;
  animation-range: entry 10% cover 30%;
}
.rent-banner {
  /*border: 1px solid red;*/
  border-radius: 10px 0 10px 0;
  height: 60vh;
  background: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)),
  url("../images/house_cover2.webp") center / cover no-repeat;
  background-attachment: fixed; /*for parallax effect */
  color:#fff;
  display: flex;
  align-items: center;
  justify-content: center;

  
}
.rent-product-container>h2 {
  text-align: center;
  color: #fff;
}
.rent-products-grid {
  /*border: 1px solid yellow;*/
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  padding: 40px 60px;
}
.product {
  background: rgb(24, 24, 24); 
  border-radius: 10px 0 10px 0;
  /*border: 1px solid red;*/
  padding: 0 0 16px 0;
  color: rgb(59, 207, 192);
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.product:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.35);
}
/* 1. The Container (The "Window") */
.slider {
  width: 100%;
  height: 180px;
  overflow: hidden;
  border-radius: 10px 0 0 0 ;
  display: flex;       /* Forces images into a row */
  flex-wrap: nowrap;   /* Ensures they stay in one line */
}

/* 2. The Images (The "Film Strip") */
.slider img {
  width: 100%;         /* Each image is 100% of the slider's width */
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;      /* CRITICAL: Prevents images from squashing to 0 width */
  
  /* Use 'linear' for constant motion or 'ease-in-out' for smooth snaps */
  animation: slideImages 12s infinite ease-in-out;
}

/* 3. The Animation Logic */
@keyframes slideImages {
  0%, 20%   { transform: translateX(0); }       /* Stay on Image 1 */
  25%, 45%  { transform: translateX(-100%); }  /* Stay on Image 2 */
  50%, 70%  { transform: translateX(-200%); }  /* Stay on Image 3 */
  75%, 95%  { transform: translateX(-300%); }  /* Stay on Image 4 */
  100%      { transform: translateX(0); }      /* Snap back to start */
}

.product ul {
  /*border: 1px solid red;*/
  list-style: none;
  padding: 0 10px 0 10px;
}
.view-btn {
  align-self: center;      /* great inside card flex layouts */
  padding: 10px 18px;
  background: #3bcfc0;
  color: #000;
  border: none;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;

  
}
.view-btn:hover {
  background: #2fb8aa;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.25);
}

.view-btn:focus-visible {
  outline: 2px solid #3bcfc0;
  outline-offset: 3px;
}
.villas-banner {
  /*border: 1px solid red;*/
  border-radius: 10px 0 10px 0;
  height: 60vh;
  background: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)),
  url(../images/villas_banner.webp) center / cover no-repeat; 
  background-attachment: fixed; /*for parallax effect */
  color:#fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.apartments-banner {
  /*border: 1px solid red;*/
  border-radius: 10px 0 10px 0;
  height: 60vh;
  background: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)),
  url(../images/apartment-today.webp) center / cover no-repeat; 
  background-attachment: fixed; /*for parallax effect */
  color:#fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.price {
  font-size: 1.2rem;
  font-weight: bold;
}
footer .footer-content {
  background: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)),url(../images/city_skyline_hero.webp) center / cover no-repeat ;
  font-size: 1.50rem;
  
  color: #fff;
  text-align: center;
  margin-top: 20px;
 /* border: 1px solid blue;*/
  height: 50vh;
}
.copyright {
  font-size: 0.95rem;
  text-align: end;
  padding: 80px 20px 3px 0;
  color:#ccc;
  
  
}

/*-- for product detail page and scroll-snap-gallery --*/
.pdp {
  /*border: 1px solid green;*/
  /*display: grid;
  grid-template-columns: 2fr 1fr;*/
  
  padding: 2rem;
  padding-top: 2.8rem;
  background:rgba(20, 20, 20, 0.918);
}
.gallery-container {
  /*border: 1px solid red;*/
  border-radius: 10px 0 10px 0;
  width: 100%;
  max-width: 800px;
  margin: auto;
  position: relative;
   height: 70vh;
  object-fit: cover;
}
.pdpslides {
  border-radius: 10px 0 10px 0;
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory; /* Forces the snap effect */
  scroll-behavior: smooth;    /* Makes the transition slide instead of jump */
  scrollbar-width: none;      /* Hides scrollbar on Firefox */
  }

  .pdpslides::-webkit-scrollbar {
  display: none;              /* Hides scrollbar on Chrome/Safari */
}
.pdpslides div {
  flex-shrink: 0;
  width: 100%;
  scroll-snap-align: start;   /* Where the image snaps to */
}

.pdpslides img {
  width: 100%;
  display: block;
}
/* Styling the navigation dots */
.nav-dots {
  /*border: 1px solid yellow;*/
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 10px;
}

.nav-dots a {
  width: 12px;
  height: 12px;
  background-color: #ccc;
  border-radius: 50%;
  text-decoration: none;
}

.nav-dots a:hover {
  background-color: #333;
}
.pdp-details {
  /*border: 1px solid yellow;*/
  color:#3bcfc0;
  padding: 2rem;
  display: flex;
  line-height: 2rem;
  flex-direction: column;

  max-width: 1100px;
  margin: auto;
  padding: 40px 20px;
  
  margin-top: 110px;
  border-radius: 20px;
  box-shadow: 0 18px 40px rgba(59,207,172,0.35);
  background:/*rgb(24, 24, 24);*/ rgba(39, 39, 39, 0.918);
}
.pdp-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}
.pdp-header h1 {
  font-size: 2.2rem;
  font-weight: 600;
}
.location {
  color: #777;
  margin-top: 8px;
}
.pdp-price {
  font-size: 1.8rem;
  font-weight: 600;
  color: #3bcfc0;
}
.pdp-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin: 30px 0;
}
.feature {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f4f4f4;
  padding: 15px;
  border-radius: 12px;
}

.feature i {
  font-size: 1.2rem;
  color: #3bcfc0;
}
/*--GOOGLE FORM EMBED CODES---*/
/* Hide the checkbox itself */
.modal-checkbox {
  display: none;
}

/* Style the CTA Button */
.cta-button {
  display: inline-block;
  padding: 15px 30px;
  background-color: #2c7a7b;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s;
}

.cta-button:hover {
  background-color: #235e5f;
}

/* The Background Overlay (Hidden by default) */
/* 1. Ensure the overlay allows scrolling if the content is too big */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: none; 
  justify-content: center;
  align-items: flex-start; /* Changed from center to start so top isn't cut off */
  padding: 40px 10px;      /* Adds space so the modal doesn't touch screen edges */
  overflow-y: auto;        /* This allows you to scroll the WHOLE modal */
  z-index: 1000;
}

/* 2. Limit the size of the modal content */
.modal-content {
  background: white;
  padding: 30px;
  width: 100%;
  max-width: 650px;
  border-radius: 12px;
  position: relative;
  margin: auto;            /* Keeps it centered */
}

/* 3. Make the iframe responsive */
.modal-content iframe {
  width: 100%;
  height: 70vh;            /* Sets height to 70% of the screen height */
  border: none;
}

/* Close Button Styling */
.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 25px;
  cursor: pointer;
}

/* MAGIC LOGIC: Show modal when checkbox is checked */
.modal-checkbox:checked ~ .modal-overlay {
  display: flex;
}
/*--GOOGLE FORM EMBED CODE ENDS---*/
/*--MOBILE FIX (768px and below STARTS)--*/
@media (max-width: 768px) {

  /* NAVIGATION STACK */
  #header {
    flex-direction: column;
    align-items: center;
  }

  nav > ul {
    width: 100%;
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }

  nav li:hover {
    transform: none; /* prevent weird scaling on mobile */
  }

  /* HERO TEXT FIX */
  .bold-oflog {
    font-size: 2rem;
  }

  .r-oflog {
    font-size: 1.5rem;
  }

  .hero-paragraph {
    padding: 40px 20px;
    text-align: center;
  }

  /* HOME GRID STACK */
  #home {
    grid-template-columns: 1fr;
    grid-template-areas:
      "goal"
      "service"
      "achieve";
    gap: 30px;
    margin-top: 0;
  }

  .goal,
  .service,
  .achieve {
    flex-direction: column;
    padding: 20px;
  }

  .goal img,
  .service img,
  .achieve img {
    width: 100%;
  }

  .goal .desc,
  .service .desc,
  .achieve .desc {
    width: 100%;
    margin: 0;
    padding: 15px 0;
  }

  /* PRODUCT GRID FIX */
  .rent-products-grid {
    padding: 20px;
    gap: 20px;
  }

  /* BANNER FIX */
  .rent-banner {
    height: 40vh;
    background-attachment: scroll; /* fixes mobile parallax bug */
  }

}
@media (max-width: 768px) {

  .pdp {
    padding: 20px;
  }

  .gallery-container iframe {
    width: 100%;
    height: 500px;
  }

  .modal-content {
    width: 95%;
    padding: 15px;
  }

  iframe {
    width: 100% !important;
    height: 500px !important;
  }

}
/*--MOBILE FIX (768px and below) ENDS--*