/* Reset and Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
  }
  
  a {
    color: inherit;
    text-decoration: none;
  }
  
  /* Header */
  header {
    background: #003366;
    color: #ffffffc2;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  header h1 {
    font-size: 1.8rem;
     color: #e5eaee;
  }
  
  header nav a {
    margin-left: 8.5rem;
    font-weight: 1000;
    transition: color 0.3s ease;
  }
  
  header nav a:hover {
    color: #ffa500;
  }
  
  /* Hero Section */
  .hero {
    background: url('elite.jpg') no-repeat center center/cover;
    padding: 4rem 2rem;
    text-align: center;
    color: white;
    position: relative;
  }
  
  .hero::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
  }
  
  .hero h2 {
    position: relative;
    z-index: 2;
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }
  
  .search-bar {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    margin-top: 1rem;
  }
  
  .search-bar input {
    padding: 0.75rem;
    width: 300px;
    border: none;
    border-radius: 4px 0 0 4px;
  }
  
  .search-bar button {
    padding: 0.75rem 1rem;
    background: #ffa500;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    color: #fff;
    font-weight: bold;
  }
  
  .search-bar button:hover {
    background: #e69500;
  }
  
  /* Section Titles */
  .section-title {
    background: linear-gradient(135deg, #f8f9fa, #e0f7fa);
    padding: 60px 20px;
    text-align: center;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    font-size: 2.5rem;
    font-weight: bold;
    color: #001279;
    margin-bottom: 30px;
    animation: fadeInDown 1s ease-in-out;
  }
  @keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  @keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }
  /* Properties */
  .properties {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 1rem 2rem;
  }
  
  .property-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
  }
  
  .property-card:hover {
    transform: translateY(-5px);
  }
  
  .property-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
  }
  
  .property-info {
    padding: 1rem;
  }
  
  .property-title {
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
  }
  
  .property-price {
    color: #27ae60;
    font-weight: bold;
    margin-bottom: 0.3rem;
  }
  
  .property-location {
    color: #555;
  }
  
  /* About and Contact Sections */
  .about,
  .contact {
    padding: 2rem;
    background: #fff;
    margin: 2rem auto;
    max-width: 1200px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  }
  
  .contact form {
    display: flex;
    flex-direction: column;
  }
  
  .contact label {
    margin-top: 1rem;
    margin-bottom: 0.3rem;
    font-weight: 500;
  }
  
  .contact input,
  .contact textarea {
    padding: 0.7rem;
    border: 1px solid #ccc;
    border-radius: 4px;
  }
  
  .contact textarea {
    resize: vertical;
    min-height: 100px;
  }
  
  .contact button {
    margin-top: 1rem;
    padding: 0.75rem;
    background: #003366;
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
  }
  
  .contact button:hover {
    background: #002244;
  }
  
  /* Footer */
  footer {
    background: #003366;
    color: white;
    text-align: center;
    padding: 1rem;
    font-size: 0.9rem;
  }
  
  .social-links {
    margin-top: 0.5rem;
  }
  
  .social-links a {
    margin: 0 0.5rem;
    font-size: 1.2rem;
  }
  
  /* Responsive */
  @media (max-width: 600px) {
    header {
      flex-direction: column;
      text-align: center;
    }
  
    .search-bar {
      flex-direction: column;
      align-items: stretch;
    }
  
    .search-bar input,
    .search-bar button {
      width: 100%;
      border-radius: 4px;
    }
  
    .search-bar button {
      margin-top: 0.5rem;
      border-radius: 4px;
    }
  }

/* Slideshow */
.slideshow-container {
  max-width: 1700px;
  margin:  1rem auto;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.slide {
  display: none;
  width: 100%;
  transition: opacity 0.6s ease-in-out;
}

.slide.active {
  display: block;
}

.slide img {
  width: 100%;
  height: auto;
  display: block;
}

/* Navigation arrows */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  padding: 1rem;
  color: white;
  font-weight: bold;
  font-size: 1.5rem;
  transition: background 0.3s;
  background: rgba(0, 0, 0, 0.4);
  border: none;
  z-index: 2;
  transform: translateY(-50%);
  user-select: none;
}

.prev:hover, .next:hover {
  background: rgba(0, 0, 0, 0.6);
}

.prev {
  left: 0;
  border-radius: 0 5px 5px 0;
}

.next {
  right: 0;
  border-radius: 5px 0 0 5px;
}

/* Dots */
.dots-container {
  text-align: center;
  padding: 1rem 0;
  background: #fff;
}

.dot {
  cursor: pointer;
  height: 12px;
  width: 12px;
  margin: 0 5px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.3s;
}

.dot.active,
.dot:hover {
  background-color: #717171;
}

 /* View details*/

 .view-details-btn {
  display: inline-block;
  background-color: #007BFF; /* Bootstrap blue */
  color: #fff;
  padding: 10px 16px;
  margin-top: 10px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.view-details-btn:hover {
  background-color: #0056b3; /* Darker blue on hover */
  text-decoration: underline;
}

 /* whatsapp icon */



/* Adjust WhatsApp icon */
.whatsapp-icon {
  width: 40px;
  height: 40px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s;
  margin-left: 28px;
}

.whatsapp-icon img {
  width: 70%;
  height: 70%;
  object-fit: contain;
  border-radius: 50%;
}

.whatsapp-icon:hover {
  transform: scale(1.1);
  background-color: #128C7E;
}




/* video */

.video-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px; /* Increased padding */
    margin: 30px; /* Increased margin */
}

.video-element {
    width: 90%; /* Increased width */
    height: auto; /* Let height adjust naturally */
    max-width: 1000px; /* Increased max width */
    padding: 15px; /* Added internal padding */
    margin: 20px auto; /* Increased vertical margin, centered horizontally */
    border-radius: 15px; /* More rounded corners */
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Optional: subtle shadow for styling */
}

video {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: inherit;
}

 /* chatbot  */


 /* chatbot.css */
    body {font-family: Arial, sans-serif; background:#f4f4f4; margin:0;}
    #chat-container {
      position: fixed; bottom:90px; right:20px; width:350px; display:none; 
      flex-direction: column; background:#fff; border-radius:15px;
      box-shadow:0 4px 10px rgba(0,0,0,0.2); max-height:80vh; z-index:999;
    }
    #chat-header {background:#007bff; color:white; padding:15px; font-weight:bold; text-align:center;}
    #chat-messages {flex-grow:1; padding:15px; overflow-y:auto; height:300px; display:flex; flex-direction:column; gap:10px;}
    .message {padding:10px 15px; border-radius:20px; max-width:80%; line-height:1.4;}
    .user-message {background:#007bff; color:white; align-self:flex-end; border-bottom-right-radius:5px;}
    .bot-message {background:#e9e9eb; color:black; align-self:flex-start; border-bottom-left-radius:5px;}
    #chat-input-container {display:flex; padding:10px; border-top:1px solid #ddd;}
    #chat-input {flex-grow:1; border:1px solid #ccc; border-radius:20px; padding:10px 15px; outline:none;}
    #chat-send {border:none; background:#007bff; color:white; border-radius:50%; width:40px; height:40px; margin-left:10px; cursor:pointer; font-size:18px;}
    #chat-toggle {position:fixed; bottom:20px; right:20px; width:60px; height:60px; background:#007bff; color:white; border:none; border-radius:50%; font-size:28px; cursor:pointer; box-shadow:0 2px 5px rgba(0,0,0,0.3); z-index:1000;}
    body.dark-mode {background:#121212; color:white;}
    body.dark-mode #chat-container {background:#1e1e1e;}
    body.dark-mode .bot-message {background:#2a2a2a; color:#eee;}
    body.dark-mode .user-message {background:#0d6efd;}


    /* --- CSS for Login/Logout Status --- */
/* ============================= */
/* LOGIN / LOGOUT NAVBAR STYLE */
/* ============================= */

#user-status{
  display:flex;
  align-items:center;
}

/* username text */
#user-status span{
  font-weight:800;
  color:#ffffff;
  font-size:18px;
}

/* login + logout link style (same as navbar links) */
#user-status a,
#user-status .button-login,
#user-status .button-logout{
  font-weight:800;
  color:#ffffff;
  font-size:18px;
  text-decoration:none;
  transition:color 0.3s ease;
  padding:0;
  border:none;
  background:none;
}

/* hover same as navbar */
#user-status a:hover,
#user-status .button-login:hover,
#user-status .button-logout:hover{
  color:#ffa500;
}

.hero-offer-box {
  width: 90%;
  max-width: 720px;
  padding: 15px;
  background: #fff;
  border-radius: 30px;
  margin: 10px auto 0;
  border: 2px solid rgba(255, 170, 0, 0.4);
  box-shadow: 0 0 25px rgba(255, 180, 0, 0.4);
  text-align: center;
  position: relative;
}

/* offer text */
.hero-offer-item {
  font-size: 18px;
  font-weight: 700;
  background: linear-gradient(90deg, #ffb300, #ff7b00, #ff5200);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* left icon */
.offer-icon {
  margin-right: 10px;
  font-size: 20px;
  filter: drop-shadow(0 0 6px rgba(255,150,0,0.7));
}

/* fade animation */
.fade-now {
  animation: fadeOffer 1s ease;
}

@keyframes fadeOffer {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.company-logo {
  height: 50px;        /* adjust as needed */
  width: auto;
  display: block;
}


/* ===== HEADER FIX ===== */
.site-header {
  height: 80px;                  /* ✅ FIXED navbar height */
  background: #003366;
  display: flex;
  align-items: center;           /* vertical center */
  justify-content: space-between;
  padding: 0 40px;               /* remove vertical padding */
}

/* LEFT (LOGO) */
.header-left {
  display: flex;
  align-items: center;
}

/* ✅ BIGGER LOGO – navbar height unchanged */
.company-logo {
  height: 150px;                  /* increase logo */
  width: auto;
  object-fit: contain;
}

/* CENTER (NAV LINKS) */
.main-nav {
  display: flex;
  gap: 80px;                     /* spacing between links */
}

.main-nav a {
  font-weight: 800;
  color: #ffffff;
  font-size: 18px;
}

.main-nav a:hover {
  color: #ffa500;
}

/* RIGHT (LOGIN + WHATSAPP) */
.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}


/* WhatsApp icon */
.whatsapp-icon {
  width: 40px;
  height: 40px;
}

/* ============================= */
/* PERFECT CLEAN MOBILE UI */
/* ============================= */

@media (max-width: 768px) {

  /* ===== HEADER ===== */
  .site-header {
    background: #003366;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    gap: 8px;
    text-align: center;
  }

  /* LOGO CENTER */
  .company-logo {
    height: 70px;
    margin: auto;
  }

  /* MENU BUTTON RIGHT */
  .menu-toggle {
    position: absolute;
    right: 15px;
    top: 20px;
    display: block;
    font-size: 26px;
  }

  /* NAV MENU (FULL WIDTH LIKE IMAGE 2 STYLE) */
  .main-nav {
    width: 100%;
    background: #003366;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    display: none;
  }

  .main-nav.active {
    display: flex;
  }

  .main-nav a {
    font-size: 16px;
    color: #fff;
  }

  /* ===== HERO ===== */
  .hero {
    padding: 40px 15px;
    text-align: center;
  }

  .hero h2 {
    font-size: 1.6rem;
    line-height: 1.3;
  }

  /* OFFER BOX CENTER */
  .hero-offer-box {
    width: 95%;
    border-radius: 25px;
  }

  /* ===== SECTION TITLE (LIKE IMAGE 2 CARD STYLE) ===== */
  .section-title {
    font-size: 1.5rem;
    padding: 20px;
    margin: 20px 10px;
    border-radius: 12px;
  }

  /* ===== PROPERTY CARDS ===== */
  .properties {
    grid-template-columns: 1fr;
    padding: 10px;
    gap: 15px;
  }

  .property-card {
    border-radius: 12px;
  }

  .property-image {
    height: 180px;
  }

  /* BUTTON FULL WIDTH */
  .view-details-btn {
    width: 100%;
    padding: 12px;
  }

  /* ===== ABOUT + CONTACT ===== */
  .about, .contact {
    margin: 15px;
    padding: 20px;
    border-radius: 12px;
  }

  /* ===== CHATBOT ===== */
  #chat-container {
    width: 95%;
    right: 2.5%;
  }

  /* ===== FLOATING WHATSAPP ===== */
  .whatsapp-icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    z-index: 999;
  }
}

/* ============================= */
/* FINAL CLEAN MOBILE UI */
/* ============================= */

@media (max-width: 768px) {

  /* HEADER */
  .site-header {
    position: relative;
    background: #003366;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px;
    text-align: center;
  }

  /* LOGO CENTER */
  .company-logo {
    height: 65px;
    margin: auto;
  }

  /* MENU ICON RIGHT */
  .menu-toggle {
    position: absolute;
    right: 15px;
    top: 18px;
    display: block;
    font-size: 26px;
  }

  /* NAV MENU */
@media (max-width: 768px) {

  /* HEADER CLEAN */
  .site-header {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px;
  }

  /* LOGO CENTER */
  .company-logo {
    height: 65px;
  }

  /* MENU ICON RIGHT */
  .menu-toggle {
    position: absolute;
    right: 15px;
    top: 18px;
    display: block;
    font-size: 26px;
  }

  /* 🔥 FIXED MENU (OVERLAY STYLE) */
  .main-nav {
    position: fixed;   /* ✅ KEY CHANGE */
    top: 0;
    right: -100%;      /* hidden initially */
    width: 70%;
    height: 100vh;
    background: #003366;
    
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 25px;

    transition: 0.3s ease;
    z-index: 9999;
  }

  /* ACTIVE MENU (SLIDE IN) */
  .main-nav.active {
    right: 0;
  }

  .main-nav a {
    color: white;
    font-size: 18px;
    font-weight: bold;
  }

}
  .main-nav.active {
    display: flex;
  }

  /* HERO */
  .hero {
    padding: 40px 15px;
  }

  .hero h2 {
    font-size: 1.6rem;
  }

  /* SECTION TITLE */
  .section-title {
    font-size: 1.4rem;
    padding: 18px;
    margin: 20px 10px;
    border-radius: 12px;
  }

  /* CARDS */
  .properties {
    grid-template-columns: 1fr;
    padding: 10px;
    gap: 15px;
  }

  .property-image {
    height: 180px;
  }

  /* BUTTON FULL WIDTH */
  .view-details-btn {
    width: 100%;
    padding: 12px;
  }

  /* FLOATING WHATSAPP */
  .whatsapp-icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
  }
}

.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  display: none;
  z-index: 9998;
}

.menu-overlay.active {
  display: block;
}

/* Default: hide toggle button on desktop */
.menu-toggle {
  display: none;
}

/* Show only on mobile (below 768px) */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    font-size: 24px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
  }

  /* Hide nav menu initially on mobile */
  .main-nav {
    display: none;
    position: absolute;
    top: 70px;
    right: 0;
    background: #0b3a66;
    width: 100%;
    flex-direction: column;
    text-align: center;
    padding: 10px 0;
  }

  /* Show nav when active */
  .main-nav.active {
    display: flex;
  }
}


/* MOBILE NAV FIX */
@media (max-width: 768px) {

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%; /* hidden by default */
    width: 75%;
    height: 100vh;
    background: #0b3a66;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    transition: right 0.3s ease;
    z-index: 999;
  }

  .main-nav a {
    font-size: 22px;
    color: white;
    font-weight: 600;
  }

  /* when active */
  .main-nav.active {
    right: 0;
  }

  /* overlay background */
  .menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    display: none;
    z-index: 998;
  }

  .menu-overlay.active {
    display: block;
  }
}

/* WhatsApp Floating Button Fix */
.whatsapp-icon {
  position: fixed;
  bottom: 80px;   /* above chat button */
  right: 20px;
  width: 55px;
  height: 55px;
  z-index: 9999;  /* VERY IMPORTANT */
  cursor: pointer;
}

.whatsapp-icon img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

/* Mobile adjust */
@media (max-width: 768px) {
  .whatsapp-icon {
    bottom: 90px; /* avoid overlap with chat */
    right: 15px;
  }
}

#chat-toggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
}