html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden; /* stop horizontal scroll */
}
img, video, iframe {
  max-width: 100%;
  height: auto;
  display: block;
}


/* Enhanced Modern CSS with Beautiful Styling */

/* Reset & Base Styles */
* { 
  margin: 0; 
  padding: 0; 
  box-sizing: border-box; 
}


body { font-family: 'Exo 2', sans-serif;
   color: #1a202c;
    line-height: 1.7; 
    /* background: rgb(6, 61, 155); */
     background-size: 100% 300px; 
     /* width 100%, height 300px */ background-repeat: no-repeat; 
     min-height: 100vh;
   -webkit-font-smoothing: antialiased; 
   -moz-osx-font-smoothing: grayscale; }

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(45deg, #667eea, #764ba2);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(45deg, #5a67d8, #6b46c1);
}

/* ==============================
   NAVBAR
   ============================== */

/* ==============================
   NAVBAR
   ============================== */

/* Base Navbar */
.navbar {
  position: fixed;
  width: 100%;
  background: transparent;      /* fully transparent initially */
  border-bottom: none;          /* remove border */
  box-shadow: none;             /* no shadow initially */
  z-index: 1000;
  transition: background 0.4s ease, box-shadow 0.4s ease;
  font-family: 'Exo 2', sans-serif;
}

/* Navbar after scroll */
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);  /* white background after scroll */
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

/* Navbar container */
.navbar-container {
  display: flex; 
  justify-content: space-between; 
  align-items: center;
  padding: 1.2rem 2rem; 
  max-width: 1400px; 
  margin: auto;
}

/* Logo */
.logo img {
  height: 45px;
  width: auto;
}

/* Nav Links */
.nav-links {
  list-style: none; 
  display: flex; 
  gap: 2rem; 
}

.nav-links li a {
  text-decoration: none; 
  font-weight: 300;           /* normal weight */
  font-size: 1rem;
  color: white;               /* white text initially */
  transition: color 0.3s ease, transform 0.3s ease; /* smooth transform */
  display: inline-block;      /* required for zoom effect */
  position: relative;
}

/* Hover zoom effect (without changing color) */
.nav-links li a:hover {
  transform: scale(1.2);      /* zoom in */
  color: inherit;             /* keep same color */
}

/* Nav link color when navbar becomes white */
.navbar.scrolled .nav-links li a {
  color: black;
}

/* Mobile Menu Toggle */
.menu-toggle { 
  display: none; 
  font-size: 1.8rem; 
  background: none; 
  border: none; 
  cursor: pointer; 
  color: white;             /* toggle button white initially */
  transition: color 0.3s ease;
}

/* Toggle color change on scroll */
.navbar.scrolled .menu-toggle {
  color: black;
}

/* Responsive for mobile */
@media (max-width: 768px) {
  .nav-links { 
    display: none; 
    flex-direction: column; 
    gap: 1rem; 
    padding: 2rem;
    background: rgba(255, 255, 255, 0.95);
    position: absolute; 
    top: 70px; 
    right: 0; 
    width: 280px;
    border-radius: 0 0 0 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  }
  .nav-links.active { display: flex; }
  .menu-toggle { display: block; }
}

/* Mobile slide animation */
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  justify-content: center;   /* vertical centering */
  align-items: center;
  text-align: center;
  padding: 0 20px;
  background: url('images/alex-tyson-kXpGvO-ZxmA-unsplash(1).jpg') no-repeat center center/cover;
  color: white;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  z-index: 1;
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 2;           /* above background & logos */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Hero Text */
.hero h1 {
  font-family: 'Exo 2', sans-serif;
  font-weight: 500;
  font-size: 2.5rem;
  color: white;
  text-shadow: 0 4px 20px rgba(0,0,0,0.3);
  margin-bottom: 0.5rem;
}

.hero h1 span {
  color: white;
  font-weight: 500;
}

.hero p {
  font-size: 1.2rem;
  font-family: 'Exo 2', sans-serif;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
  color: rgb(255, 228, 0);
  margin-bottom: 2rem;
}

/* Hero Button */
.hero-btn {
  display: inline-block;
  margin-top: 2rem;
  background-color: rgb(8, 83, 211);
  color: white;
  padding: 0.8rem 2rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  z-index: 2;
}

.hero-btn:hover {
  background-color: rgb(0, 60, 180);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 30px rgba(8, 83, 211, 0.4);
}

/* Hero Logos */
/* Hero Logos */
.hero-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;       /* keep horizontal */
  gap: 2rem;

  position: absolute;
  bottom: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  max-width: 1200px;
  z-index: 1; /* behind button */
}

/* Each logo container */
.hero-logo {
  display: flex;
  flex-direction: column;   /* stack image above span */
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
  width: 80px;              /* fixed width to keep all logos same size */
  flex-shrink: 0;           /* prevents shrinking in nowrap */
  text-align: center;
}

/* Logo images */
.hero-logo img {
  width: 40px;              /* consistent size */
  height: 40px;             /* consistent size */
  object-fit: contain;
  filter: brightness(0) invert(1); /* keeps logo white */
  opacity: 0.9;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hero-logo img:hover {
  transform: scale(1.1);
  opacity: 1;
}

/* Text below each logo */
.hero-logo span {
  font-size: 0.7rem;
  font-weight: 400;
  color: white;
  text-align: center;
}





/* Animations */
@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* About Section */
.about { 
  padding: 6rem 2rem; 
  text-align: center; 
  max-width: 1000px; 
  margin: auto; 
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 30px;
  margin-top: -50px;
  margin-bottom: -50px;
  position: relative;
  z-index: 10;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  

  /* Added */
  min-height: 400px;  /* ensures white box is tall */
  padding-bottom: 8rem; /* gives extra space at bottom */
}

.about-section {
  background: 
    url('images/Untitled-3-01.png') repeat, /* your texture PNG */
    linear-gradient(135deg, rgb(6, 61, 155) 0%, rgb(20, 80, 190) 100%);
  background-size:110%auto,auto; /* or cover/contain depending on texture */
  background-blend-mode: overlay; /* makes texture blend with blue */
  padding: 8rem 2rem;
  position: relative;
  z-index: 1;
}


.about h2 { 
  font-size: 2.8rem; 
  margin-bottom: 2rem; 
  color: rgb(8, 83, 211); /* blue color */
  font-weight: 800;
  background: none; /* remove gradient */
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
  background-clip: unset;
}


.about p {
  font-size: 1.0rem;
  color: #4a5568;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
}

/* Properties Section */
.properties { 
  padding: 6rem 2rem; 
  background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
  text-align: center; 
  position: relative;
}

.properties::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(102,126,234,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
}

.properties h2 { 
  font-size: 2.8rem; 
  margin-bottom: 3rem; 
  color: rgb(8, 83, 211); /* solid blue color */
  font-weight: 800;
  background: none; /* remove gradient */
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
  background-clip: unset;
  position: relative;
  z-index: 2;
}


.property-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* exactly 3 columns */
  gap: 2.5rem;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .property-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 per row on tablet */
  }
}

@media (max-width: 600px) {
  .property-grid {
    grid-template-columns: 1fr; /* 1 per row on mobile */
  }
}


.property-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  padding: 0;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.property-card:hover { 
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
}

.property-card h3 { 
  margin: 1.5rem 1.5rem 0.5rem;
  font-size: 1.4rem;
  font-weight: 700;
  color: #2d3748;
}

.property-card p {
  margin: 0 1.5rem 1.5rem;
  color: #718096;
  font-size: 1rem;
}

/* Image Fixes */
.property-card .carousel {
  height: 250px;
}

.property-card .carousel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.property-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 20px 20px 0 0;
}

/* Carousel */
.carousel {
  position: relative; 
  width: 100%; 
  aspect-ratio: 16 / 9;
  overflow: hidden; 
  border-radius: 20px 20px 0 0;
  background: linear-gradient(45deg, #f7fafc, #edf2f7);
}

.carousel-track { 
  display: flex; 
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1); 
  height: 100%; 
}

.carousel img {
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  flex-shrink: 0;
  transition: transform 0.4s ease;
}

.carousel:hover img {
  transform: scale(1.05);
}

.carousel-btn {
  position: absolute; 
  top: 50%; 
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: none; 
  font-size: 20px;
  width: 50px;
  height: 50px;
  cursor: pointer; 
  border-radius: 50%; 
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4a5568;
}

.carousel-btn:hover { 
  background: rgba(255, 255, 255, 1);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.carousel-btn.prev { left: 15px; }
.carousel-btn.next { right: 15px; }

.carousel-dots {
  position: absolute; 
  bottom: 15px; 
  left: 50%; 
  transform: translateX(-50%);
  display: flex; 
  gap: 8px;
}

.carousel-dots button {
  width: 12px; 
  height: 12px; 
  border-radius: 50%; 
  border: none;
  background: rgba(255, 255, 255, 0.6); 
  cursor: pointer; 
  transition: all 0.3s ease;
}

.carousel-dots button.active { 
  background: white;
  transform: scale(1.2);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Button Group */
.button-group {
  display: flex;
  gap: 1rem;
  margin: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.enquire-btn,
.location-btn {
  flex: 1;
  text-align: center;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.enquire-btn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.enquire-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
}

.location-btn {
  background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(72, 187, 120, 0.4);
}

.location-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(72, 187, 120, 0.6);
}

/* Contact Section */
.contact {
  padding: 6rem 2rem; 
  text-align: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="waves" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M0 20 Q10 0 20 20 T40 20" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="2"/></pattern></defs><rect width="100" height="100" fill="url(%23waves)"/></svg>');
}

.contact h2 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  font-weight: 800;
}

.contact p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.contact-form {
  max-width: 600px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  position: relative;
  z-index: 2;
}

.contact-form input,
.contact-form textarea {
  padding: 1rem 1.2rem;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  outline: none;
  transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.contact-form button {
  background: white;
  color: #667eea;
  padding: 1rem;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.contact-form button:hover {
  background: #f7fafc;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}


/* ========================
   RESPONSIVE FIXES
   ======================== */

/* Small devices (phones) */
@media (max-width: 768px) {
  /* Navbar */
  .navbar-container {
    padding: 1rem;
  }
  .nav-links {
    width: 220px;
    padding: 1.5rem;
    max-width: 100vw; /* prevents pushing layout wider */
    overflow-x: hidden;
  }

  /* Hero */
  .hero h1 {
    font-size: 2.2rem;
    line-height: 1.3;
  }
  .hero p {
    font-size: 1rem;
    padding: 0 10px;
  }
  .hero-btn {
    padding: 1rem 2rem;
    font-size: 1rem;
  }

  /* About */
  .about {
    padding: 3rem 1.2rem;
  }
  .about h2 {
    font-size: 2rem;
  }
  .about p {
    font-size: 1rem;
  }

  /* Properties */
  .property-grid {
    grid-template-columns: 1fr; /* Stack on small screens */
    gap: 1.5rem;
  }
  .property-card {
    margin: 0 auto;
    max-width: 95%;
  }

  /* Contact */
  .contact h2 {
    font-size: 2rem;
  }
  .contact p {
    font-size: 1rem;
  }
  .contact-form {
    width: 100%;
    padding: 0 1rem;
  }
}

/* Extra small devices */
@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.8rem;
  }
  .hero p {
    font-size: 0.9rem;
  }
  .hero-btn {
    font-size: 0.9rem;
    padding: 0.8rem 1.5rem;
  }

  .nav-links {
    width: 180px;
    padding: 1rem;
  }

  .property-card h3 {
    font-size: 1.2rem;
  }
  .property-card p {
    font-size: 0.9rem;
  }

}
/* Social Links */
.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 20px 0;
  position: relative;
  z-index: 10;   /* make sure it's above other elements */
}

.social-links a {
  font-size: 2rem;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  z-index: 11;
  position: relative;
}

/* Footer */
.footer {
  margin-top: 75px;
  text-align: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-top: -3px solid rgba(0, 0, 0, 0.1);
  color: #4a5568;
  font-size: 0.95rem;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05);
}


