* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #fdfdfd;
  }
  
  .residence-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 2rem;
    background-color: #2c3e50;
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
  }
  
  .residence-navbar .logo {
    font-size: 1.7rem;
    font-weight: bold;
    letter-spacing: 1px;
  }
  
  .nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
  }
  
  .nav-links a {
    text-decoration: none;
    color: white;
    font-size: 1rem;
    transition: color 0.3s ease;
  }
  
  .nav-links a:hover {
    color: #f1c40f;
  }
/* ................Home........... */
.home-section {
    background-image: url('https://images.unsplash.com/photo-1568605114967-8130f3a36994');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    position: relative;
  }
  
  .home-section::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5); /* dark overlay */
  }
  
  .home-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    padding: 0 1rem;
  }
  
  .home-content h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
  }
  
  .home-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
  }
  
  .cta-button {
    background-color: #f1c40f;
    color: #2c3e50;
    padding: 0.8rem 2rem;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease;
  }
  
  .cta-button:hover {
    background-color: #d4ac0d;
  }
  



  /* .............PROPERTY...................... */
  .featured-properties {
    padding: 4rem 2rem;
    background-color: #f8f9fa;
    text-align: center;
  }
  
  .featured-properties h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #2c3e50;
  }
  
  /* .property-list {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
  } */

  .property-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
  }
  
  
  .property-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    max-width: 300px;
    transition: transform 0.3s ease;
  }
  
  .property-card:hover {
    transform: translateY(-5px);
  }
  
  .property-card img {
    width: 100%;
    height: auto;
  }
  
  .property-card h3 {
    font-size: 1.2rem;
    margin: 1rem 0 0.5rem;
    color: #34495e;
  }
  
  .property-card p {
    margin-bottom: 1rem;
    color: #7f8c8d;
  }
  
  
  .menu-toggle {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
  }

  /* ...............ABOUT.............. */
  .about-residence {
    background-color: #ffffff;
    padding: 4rem 2rem;
  }
  
  .about-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: auto;
  }
  
  .about-text {
    flex: 1;
    min-width: 300px;
  }
  
  .about-text h2 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 1rem;
  }
  
  .about-text p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 1rem;
  }
  
  .about-image {
    flex: 1;
    min-width: 300px;
  }
  
  .about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }
/* .................AMENIRIES..................*/
.amenities {
  padding: 4rem 2rem;
  background-color: #f4f6f8;
  text-align: center;
}

.amenities h2 {
  font-size: 2rem;
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

.amenities-intro {
  font-size: 1rem;
  color: #666;
  margin-bottom: 2rem;
}

.amenities-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.amenity-card {
  background-color: white;
  border-radius: 10px;
  padding: 2rem 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.amenity-card:hover {
  transform: translateY(-5px);
}

icon {
  font-size: 40px;
  color: #4a90e2;
  display: block;
  margin: 0 auto 1rem;
}
/* .............SLIDER............. */
.residence-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.slider-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  will-change: transform;
  z-index: 1;
  transform: translateX(0);
}

#slider-bg2 {
  z-index: 2;
}

.slider-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 3;
}

.residence-slider-content {
  position: relative;
  z-index: 4;
  color: white;
  text-align: center;
  top: 50%;
  transform: translateY(-50%);
}




.residence-slider-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.residence-slider-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.residence-btn {
  background: #f1c40f;
  color: #2c3e50;
  padding: 0.8rem 2rem;
  font-weight: bold;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.3s;
}

.residence-btn:hover {
  background-color: #d4ac0d;
}

/* .............WHY................. */

.why-choose-us {
  padding: 4rem 2rem;
  background-color: #f8f9fa;
  text-align: center;
}

.why-container {
  max-width: 1100px;
  margin: 0 auto;
}

.why-choose-us h2 {
  font-size: 2rem;
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

.why-intro {
  font-size: 1rem;
  color: #555;
  margin-bottom: 2rem;
}

.why-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.why-card {
  background-color: white;
  border-radius: 10px;
  padding: 2rem 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.why-card:hover {
  transform: translateY(-5px);
}

.why-card icon {
  font-size: 40px;
  color: #4a90e2;
  display: block;
  margin-bottom: 1rem;
}

/* ...............CONTACT.......... */
.contact-section {
  background-color: #ffffff;
  padding: 4rem 2rem;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 1200px;
  margin: auto;
  align-items: flex-start;
}

.contact-info {
  flex: 1;
  min-width: 280px;
}

.contact-info h2 {
  font-size: 2rem;
  color: #2c3e50;
  margin-bottom: 1rem;
}

.contact-info p {
  color: #555;
  margin-bottom: 1.5rem;
}

.contact-info ul {
  list-style: none;
  padding: 0;
}

.contact-info li {
  margin-bottom: 0.8rem;
  font-size: 1rem;
  color: #34495e;
}

.contact-info i {
  margin-right: 0.5rem;
  color: #4a90e2;
}

.contact-form {
  flex: 1;
  min-width: 280px;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-family: inherit;
}

.contact-form button {
  background-color: #4a90e2;
  color: white;
  padding: 0.8rem;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #3b7fc4;
}
/* ..................FOOTER........... */
.footer-grid {
  background-color: #1a1a1a;
  color: #e0e0e0;
  padding: 3rem 2rem 2rem;
  font-family: 'Segoe UI', sans-serif;
}

.footer-grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-brand h3 {
  color: #f1c40f;
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-logo-small {
  /* margin-top: 1rem; */
  width: 100px;
  height: auto;
  opacity: 0.85;
  transition: transform 0.3s;
}

.footer-logo-small:hover {
  transform: scale(1.05);
}


.footer-nav h4,
.footer-contact h4 {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  color: #f1c40f;
}

.footer-nav ul {
  list-style: none;
  padding: 0;
}

.footer-nav ul li {
  margin-bottom: 0.5rem;
}

.footer-nav ul li a {
  color: #e0e0e0;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-nav ul li a:hover {
  color: #f1c40f;
}

.footer-contact p {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}
.social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-icons a {
  margin-right: 0.6rem;
  display: inline-block;
  transition: transform 0.3s;
}

.social-icons img {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
  vertical-align: middle;
}

/* Optional hover scale */
.social-icons a:hover img {
  transform: scale(1.2);
}


.footer-grid-bottom {
  border-top: 1px solid #333;
  margin-top: 2rem;
  padding-top: 1rem;
  text-align: center;
  font-size: 0.85rem;
  color: #999;
}

  
  @media (max-width: 768px) {
    .nav-links {
      display: none;
      flex-direction: column;
      background-color: #2c3e50;
      position: absolute;
      top: 70px;
      right: 0;
      width: 100%;
      padding: 1rem;
    }
  
    .nav-links.active {
      display: flex;
    }
  
    .menu-toggle {
      display: block;
    }
  }
  