* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* body {
  background-color: #f9f9f9;
  color: #333;
}*/


body {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', 'Segoe UI', sans-serif;

  /* Premium soft background */
  background: linear-gradient(to bottom, #f8fafc, #eef2f7);

  color: #1e293b;

  /* Smooth feel */
  line-height: 1.6;
  letter-spacing: 0.3px;

  /* Better rendering */
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}


/* ----------------------header----------------- */



.header {
  position: sticky;
  top: 0;
  width: 100%;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
}

.navbar {
  max-width: 1200px;
  margin: auto;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */

.logo-section {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-section img {
  height: 50px;
  width: 50px;
  border-radius: 8px;
}

.brand-text h2 {
  font-size: 18px;
  margin: 0;
  color: #ffffff;
}

.brand-text span {
  font-size: 12px;
  color: #38bdf8;
  letter-spacing: 1px;
}

/* Nav Links */

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
}

.nav-links li a {
  text-decoration: none;
  color: #e2e8f0;
  font-size: 15px;
  position: relative;
  transition: 0.3s;
}

/* underline animation */
.nav-links li a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: -5px;
  left: 0;
  background: #38bdf8;
  transition: 0.3s;
}

.nav-links li a:hover::after {
  width: 100%;
}

.nav-links li a:hover {
  color: #38bdf8;
}

/* Call Button */

.call-btn {
  padding: 10px 18px;
  background: linear-gradient(135deg, #38bdf8, #0ea5e9);
  color: #000;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.call-btn i {
  margin-right: 5px;
}

.call-btn:hover {
  transform: scale(1.05);
}

/* Mobile */

.menu-icon {
  display: none;
  font-size: 22px;
  color: white;
  cursor: pointer;
}

/* Responsive */

@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 70px;
    right: 0;
    background: #0f172a;
    width: 100%;
    flex-direction: column;
    text-align: center;
    display: none;
    padding: 20px 0;
  }

  .nav-links.active {
    display: flex;
  }

  .menu-icon {
    display: block;
  }

  .call-btn {
    display: none;
  }
} 




/* ------------------slider------------------- */

.hero {
  position: relative;
}

.slideshow-container {
  position: relative;
  height: 90vh;
  overflow: hidden;
}

.mySlides {
  display: none;
  position: absolute;
  width: 100%;
  height: 100%;
}

.mySlides img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}






@media (max-width: 768px) {

  .slideshow-container {
    height: 60vh;   /* smaller height for mobile */
  }

  .mySlides img {
    object-fit: cover;
    object-position: center top;  /* show building top */
  }

}

/* DARK OVERLAY (premium feel) */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

/* TEXT STYLE */
.hero-text {
  position: absolute;
  bottom: 20%;
  left: 10%;
  color: #fff;
  z-index: 2;
}

.hero-text h1 {
  font-size: 40px;
  font-weight: 600;
  max-width: 500px;
  line-height: 1.3;
}

/* FADE ANIMATION */
.fade {
  animation: fadeEffect 1.5s;
}

@keyframes fadeEffect {
  from {opacity: 0.4;}
  to {opacity: 1;}
}

/* DOTS */
.dot {
  height: 10px;
  width: 10px;
  margin: 5px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: 0.3s;
}

.dot.active {
  background-color: #38bdf8;
}




  .text {
    color: white;
    font-size: 2.5rem;
    font-weight: bold;
    position: absolute;
    bottom: 150px;
    left: 50%;
    transform: translateX(-50%);
    text-shadow: 2px 2px 8px #000;
    z-index: 10;
    text-align: center;
    width: 100%;
    max-width: 90vw;
    padding: 0 10px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  
  .slideshow-container {
    position: relative;
  }
  
  .mySlides {
    position: relative;
  }


  

  .fade .text {
    animation: fadeText 1.5s ease-out forwards;
  }
  
  @keyframes fadeText {
    from {
      opacity: 0;
      transform: translate(-50%, 20px);
    }
    to {
      opacity: 1;
      transform: translate(-50%, 0);
    }
  }
  

  /*-------------------floor plan -------------------------*/


  .floorplan-section {
    padding: 40px 20px;
    background: #f4f4f4;
  }
  
  .floorplan-section h1 {
    text-align: center;
    margin-bottom: 20px;
    color: #2c3e50;
    font-size: 2.5rem;
  }
  
  .scroll-container {
    display: flex;
    overflow-x: auto;
    gap: 16px;
    padding: 10px;
    scroll-snap-type: x mandatory;
  }
  
  .scroll-container img {
    height: 220px;
    border-radius: 10px;
    cursor: zoom-in;
    scroll-snap-align: start;
    transition: transform 0.3s ease;
  }
  
  .scroll-container img:hover {
    transform: scale(1.03);
  }
  
  /* Zoom Overlay */
  #zoomOverlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.85);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }
  
  #zoomOverlay img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    box-shadow: 0 0 15px #000;
    cursor: zoom-out;
  }
  
  .close-btn {
    color: white;
    font-size: 30px;
    position: absolute;
    top: 20px;
    right: 30px;
    cursor: pointer;
  }
  

  .floorplan-section:nth-of-type(2) .scroll-container img {
    height: 200px;
  }
  
  





  /* our service and social media */



  

.services-section {
  background-color: #f4f4f4;
  padding: 60px 20px;
  font-family: 'Segoe UI', sans-serif;
}

.services-section h1 {
  font-size: 2.2rem;
  color: #53595f;
  margin-bottom: 40px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.service-card {
  background: white;
  border-radius: 16px;
  padding: 30px 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card i {
  font-size: 2rem;
  color: #4f5046;
  margin-bottom: 15px;
  transition: color 0.3s ease;
}

.service-card h4 {
  font-size: 1.2rem;
  color: #006aff;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.service-card:hover i {
  color: #02ff20;
}




/* Contact Information */
/* .contact-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  max-width: 500px;
  text-align: left;
}

.contact-item i {
  font-size: 1.5rem;
  color: #007b5e;
  margin-top: 4px;
}

.contact-item p {
  margin: 0;
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
}

.social-icons {
  margin-top: 40px;
}

.social-icons a {
  margin: 0 15px;
  font-size: 1.8rem;
  color: #555;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #007b5e;
} */

/* ---------------------------contact us------------ */
.contact-section {
  background: #0f172a;
  color: #fff;
  padding: 80px 20px;
  font-family: 'Poppins', sans-serif;
}

.section-title {
  text-align: center;
  font-size: 36px;
  margin-bottom: 50px;
  letter-spacing: 1px;
}

.container {
  max-width: 1100px;
  margin: auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
}

.contact-card {
  background: #1e293b;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  transition: 0.3s ease;
  border: 1px solid transparent;
}

.contact-card:hover {
  transform: translateY(-8px);
  border: 1px solid #38bdf8;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.contact-card i {
  font-size: 28px;
  margin-bottom: 15px;
  color: #38bdf8;
}

.contact-card h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.contact-card p {
  font-size: 14px;
  color: #cbd5e1;
  line-height: 1.6;
}

/* Social Icons */

.social-icons {
  text-align: center;
  margin-top: 40px;
}

.social-icons a {
  margin: 0 10px;
  display: inline-block;
  width: 45px;
  height: 45px;
  line-height: 45px;
  border-radius: 50%;
  background: #1e293b;
  color: #fff;
  font-size: 18px;
  transition: 0.3s;
}

.social-icons a:hover {
  background: #38bdf8;
  color: #000;
}