:root {
  --gold-gradient: linear-gradient(135deg, #dc9c01, #f5d142, #cdb50f, #fff2a1);
  --green-gradient: linear-gradient(135deg, #01560d, #03a82b, #016418, #7aff9b);
  --blue-gradient: linear-gradient(135deg, #002348, #033861, #0a74c9, #08588e, #a7d8ff);
  --yellow: #fdcf11;
  --green: #0c944c;
  --blue: #106db2;
  --white: #ffffff;
}

/* HERO SECTION */
.hero {
  background: url('../img/bg-img/hero1.jpg') center center/cover no-repeat;
  height: 90vh;
  position: relative;
  color: #fff;
}
.hero-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.3);
}
.hero-content {
  position: relative;
  z-index: 2;
  top: 50%;
  transform: translateY(-50%);
  text-align: center;
}

/* NAVBAR */
.main-navbar {
  background: var(--blue-gradient);
  box-shadow: 0 4px 15px rgba(0,0,0,0.25);
  min-height: 85px;
  position: sticky;
  top: 0;
  z-index: 999;
  transition: all 0.3s ease;
}

/* Logo Center (Desktop default) */
.logo-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.navbar-brand img {
  height: 60px;
  transition: transform 0.3s ease;
}
.navbar-brand img:hover {
  transform: scale(1.05);
}

/* Nav Links */
.nav-link {
  color: #ffffff !important;
  font-weight: 500;
  font-size: 1rem;
  margin: 0 14px;
  position: relative;
  transition: color 0.3s ease, transform 0.2s ease;
}
.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--gold-gradient);
  transition: width 0.3s ease;
}
.nav-link:hover::after { width: 100%; }
.nav-link:hover {
  color: #fdcf11 !important;
  transform: translateY(-2px);
}
.nav-link.active {
  color: #f5d142 !important;
  font-weight: 600;
}

/* Dropdown Alignment Fix */
.navbar-nav .nav-item {
  display: flex;
  align-items: center;
  margin-left: 15px; /* gap between menu items */
  margin-right: 15px;
}
.navbar-nav .nav-item .dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 50px;
  line-height: 50px;
  padding: 0 12px;
}
.navbar-nav .nav-item .dropdown-menu {
  margin-top: 0;
  background-color: var(--blue-gradient);
}
.dropdown-menu .dropdown-item {
  color: #ffffff;
  font-weight: 500;
  padding: 10px 15px;
}
.dropdown-menu .dropdown-item:hover {
  background-color: #22b8bf;
  color: #fff !important;
}

/* Toggler */
.navbar-toggler {
  border: 2px solid #f5d142;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.15);
  padding: 8px 10px;
}
.navbar-toggler-icon {
  filter: invert(1) brightness(1.5);
}

/* Scroll Effect */
.main-navbar.scrolled {
  background: var(--green-gradient);
}

/* RESPONSIVE */
@media (max-width: 992px) {
  /* Stack menu vertically */
  .navbar-nav {
    width: 100%;
    flex-direction: column;
    text-align: center;
  }
  /* Logo moves left */
  .logo-center {
    order: -1;
    width: 100%;
    justify-content: flex-start;
    margin-bottom: 8px;
  }
  /* Toggler stays left */
  .navbar-toggler {
    margin-left: auto;
  }
  /* Nav Links vertical spacing */
  .navbar-nav .nav-item {
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 10px;
  }
}

/* Buttons */
.btn-primary {
  background: var(--gold-gradient);
  border: 2px solid transparent;
  transition: all 0.3s ease;
  color: #002348;
}
.btn-primary:hover {
  background: var(--green-gradient);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
.btn-primary1 {
  background-color:#106db2;
  border:2px solid transparent;
  transition: all 0.3s ease;
  color: #fff;
  height: 60px;
}
.btn-primary1:hover {
  background: var(--gold-gradient);
  color: #002348;
  transform: translateY(-2px);
}
.btn-outline-primary {
  border-color: #fdcf11;
  color: #fdcf11;
  transition: all 0.3s ease;
}
.btn-outline-primary:hover {
  background: #fdcf11;
  color: #002348;
  transform: translateY(-2px);
}

/* Property Cards */
.property-card {
  border: none;
  transition: transform 0.3s, box-shadow 0.3s;
}
.property-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}
.property-card img { height: 200px; object-fit: cover; }
.property-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--gold-gradient);
  color: #002348;
  font-weight: bold;
  padding: 5px 12px;
  border-radius: 5px;
  font-size: 0.85rem;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
  z-index: 2;
}
.card-img-top-container { position: relative; }

/* Testimonial */
.testimonial {
  background: var(--green-gradient);
  padding: 4rem 0;
  color: #fff;
}
.testimonial .card { background: #ffffff33; color: #fff; }

/* FOOTER */
footer {
  background: var(--blue-gradient);
  color: white;
  padding: 50px 20px 20px;
}
footer h5 { font-weight: 600; margin-bottom: 15px; }
footer ul { list-style: none; padding: 0; }
footer ul li { margin-bottom: 8px; }
footer ul li a { color: white; text-decoration: none; }
.social-icons a { color: white; margin: 0 8px; font-size: 1.3rem; }
.copyright {
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.3);
  margin-top: 30px;
  padding-top: 15px;
  font-size: 0.9rem;
}

/* Form Inputs */
input.form-control, select.form-select {
  box-shadow: inset 0 0 5px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  height: 60px;
}
input.form-control:focus, select.form-select:focus {
  border-color: #0c944c;
  box-shadow: 0 0 5px rgba(1,168,43,0.7);
}

/* Mirror Form Styling */
.contact-form {
  background: linear-gradient(145deg, #ffffff 0%, #e9eef3 100%);
  border-radius: 12px;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.1);
}

/* Mirror Text Fields */
.contact-form .form-control {
  background: linear-gradient(145deg, #ffffff, #d9dde2);
  border: 1px solid rgba(0,0,0,0.25);
  border-radius: 10px;
  padding: 14px;
  font-size: 15px;
  text-align: left; /* ✅ Fix: text not centered */
  color: #000;
  transition: all 0.3s ease-in-out;
  box-shadow: inset 2px 2px 6px rgba(255,255,255,0.6),
              inset -2px -2px 6px rgba(0,0,0,0.15);
}

/* Placeholder improved */
.contact-form .form-control::placeholder {
  color: #555;
  opacity: .8;
}

/* Focus Effect: Shiny Glow */
.contact-form .form-control:focus {
  border-color: #228b8f;
  box-shadow: 0 0 12px rgba(34, 139, 143, 0.4);
  background: linear-gradient(145deg, #ffffff, #cfd5db);
  outline: none;
}

/* Submit Button Style */
.contact-form button {
  background: linear-gradient(145deg, #228b8f, #16314e);
  border: none;
  font-weight: 600;
  padding: 14px;
  border-radius: 10px;
}

.contact-form button:hover {
  background: linear-gradient(145deg, #16314e, #228b8f);
}

/* Pagination Styling */
.pagination-container .pagination .page-item .page-link {
  border: none;
  background: #fff;
  color: #002348;
  font-weight: 600;
  margin: 0 5px;
  border-radius: 8px;
  padding: 10px 18px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.12);
  transition: all .3s ease;
}

/* Active Page */
.pagination-container .pagination .page-item.active .page-link {
  background: var(--gold-gradient);
  color: #000;
  box-shadow: 0 5px 14px rgba(220,156,1,0.35);
}

/* Hover Effect */
.pagination-container .pagination .page-item:not(.active):not(.disabled) .page-link:hover {
  background: var(--blue-gradient);
  color: #fff;
  transform: translateY(-3px);
}

/* Disabled Style */
.pagination-container .pagination .page-item.disabled .page-link {
  background: #e9ecef;
  color: #888;
  opacity: .6;
  cursor: not-allowed;
}
    .main-img {
      width: 100%;
      height: 420px;
      object-fit: cover;
      border-radius: 10px;
      cursor: pointer;
      transition: 0.3s;
    }
    .main-img:hover { transform: scale(1.01); }
    .thumb-img {
      width: 100%;
      height: 95px;
      object-fit: cover;
      border-radius: 7px;
      cursor: pointer;
      border: 2px solid transparent;
      transition: 0.3s;
    }
    .thumb-img:hover, .thumb-active { border: 2px solid #dc9c01; }
    .property-info-box {
      background: #fff;
      padding: 20px;
      border-radius: 10px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }
    .arch-plan {
      width: 100%;
      border-radius: 12px;
      border: 2px solid #eee;
      margin-top: 20px;
    }
    /* Fullscreen modal styling */
    #imageModal .modal-dialog { max-width: 90vw; }
    #imageModal .modal-body { padding:0; display:flex; justify-content:center; align-items:center; background:none; }
    #imageModal img { max-width:100%; max-height:90vh; border-radius:10px; }
    #imageModal .btn-close {
      position:absolute;
      top:15px;
      right:15px;
      background: rgba(0,0,0,0.5);
      border-radius:50%;
      color:white;
      z-index:1051;
    }
    footer a {
  color: #ffffff;
  text-decoration: none;
  transition: 0.3s ease;
}

footer a:hover {
  color: #ffc107; /* Gold color on hover */
  text-decoration: underline; /* Optional */
}
footer .social-icons a {
  font-size: 20px;
  margin-right: 10px;
  transition: 0.3s;
  color: #ffffff;
}

footer .social-icons a:hover {
  color: #25d366; /* WhatsApp green or any color you want */
  transform: translateY(-3px);
}
.status-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: linear-gradient(135deg, #002348, #033861, #0a74c9, #08588e, #a7d8ff);
  color: #fff;
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 0.8rem;
  text-transform: uppercase;
  opacity: 0.9;
}
   .property-price-badge {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: linear-gradient(135deg, #01560d, #03a82b, #016418, #7aff9b);
  color: #fff;
  padding: 6px 12px;
  font-size: 15px;
  font-weight: bold;
  border-radius: 6px;
  z-index: 10;
}
