body {
  margin: 0;
  font-family: Arial, sans-serif;
  padding-top: 70px;
  box-sizing: border-box;
  overflow-x: hidden;
}

html {
  box-sizing: border-box;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

/* HEADER */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  background: linear-gradient(
    to bottom,
    rgba(31, 10, 125, 0.95), rgba(10, 18, 125, 0.85)
  );
  color: white;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-sizing: border-box;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 25px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo h1 {
  margin: 0;
  font-size: 1.2rem;
}

.nav-links {
  display: flex;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: white;
  text-decoration: none;
  display: block;
  padding: 18px 0;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
}

.hamburger {
  display: block;
  width: 22px;
  height: 2px;
  background: white;
  position: relative;
}
.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: white;
}
.hamburger::before { top: -6px; }
.hamburger::after { top: 6px; }



@media (max-width: 768px) {
.nav-toggle {
  display: flex;
  margin-right: 20px;
}

.nav-links {
  position: absolute;
  top: 70px;
  right: 10px;
  background: rgba(255,255,255,0.98);
  flex-direction: column;
  padding: 10px;
  border-radius: 8px;
  display: none;
  min-width: 160px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

.nav-links.open {
  display: flex;
}

.nav-links a {
  color: #131a7c;
  padding: 8px 12px;
}

.logo h1 {
  font-size: 1rem;
}
}

/* SEARCH BAR */
.search-bar {
    background-image: url("../images/background.jpg"); 
    background-size: cover;
    background-position: center;
    padding: 80px 20px;
    padding-bottom: 100px;
    z-index: 0;
    position: relative;
}

.search-bar::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
}

.search-main {
  max-width: 1000px;
  margin: auto;
  position: relative;
  z-index: 1;
  background: white;
  padding: 25px;
  border-radius: 10px;
  animation: fadeUp 0.6s ease;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.search-main input[type="text"] {
  width: 95%;
  padding: 12px;
  font-size: 18px;
  border: 1px solid #ccc;
  border-radius: 6px;
  margin-bottom: 10px;
}

.search-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.search-filters input,
.search-filters select {
  flex: 1 1 200px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.amenities-filters {
  display: flex;
  gap: 15px;
  font-size: 14px;
}

/* SUBMIT BUTTON */
.search-main button {
  width: 100%;
  padding: 12px;
  background: #242383;
  color: white;
  border: none;
  border-radius: 4px;
  margin-top: 10px;
  font-size: 16px;
}

/* PROPERTY CARDS */
.property-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  padding: 20px;
}

.property-card {
  background: rgba(215, 216, 221, 0.925);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  overflow: hidden;
}

.property-card h4 {
  margin: 15px;
}

.property-card p {
  margin: 0 15px;
  color: #161166;
  font-weight: bold;
}

.tags {
  margin: 10px 15px;
  font-size: 13px;
  color: #555;
}

/* IMAGE GRID */
.image-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 6px;
  cursor: pointer;
}

/* MAIN IMAGE */
.image-grid > img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px 0 0 6px;
  background: #eee;
}

/* SIDE IMAGES */
.side-images {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  gap: 6px;
}

.side-images img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #f2f2f2;
  padding: 4px;
  border-radius: 4px;
}

/* MODAL SLIDESHOW */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal img {
  max-width: 90%;
  max-height: 80vh;
  touch-action: pan-y;
  user-select: none;
}

.modal .close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 35px;
  cursor: pointer;
}

.modal .nav {
  position: absolute;
  top: 50%;
  background: none;
  border: none;
  color: white;
  font-size: 40px;
  cursor: pointer;
}

.modal .prev {
  left: 30px;
}

.modal .next {
  right: 30px;
}

/* FOOTER */
footer {
  padding: 20px;
  background: #131a7c;
  color: white;
  margin-top: 60px;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

footer p {
  margin: 0;
  font-size: 14px;
  letter-spacing: 0.5px;
}

.socials {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  list-style: none;
}

.socials li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #34495e;
  color: #ecf0f1;
  border-radius: 50%;
  transition: all 0.3s ease;
  text-decoration: none;
}

.socials li a:hover {
  background-color: #155783;
  transform: translateY(-5px);
}

.go-up {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: #3498db;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
  font-size: 20px;
}

.go-up:hover {
  background-color: #2980b9;
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.go-up.show {
  opacity: 1;
  visibility: visible;
}

/* Responsive: mobile nav */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 70px;
    right: 10px;
    background: rgba(255,255,255,0.98);
    flex-direction: column;
    padding: 10px;
    border-radius: 8px;
    display: none;
    min-width: 160px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    color: #131a7c;
    padding: 8px 12px;
  }
  .logo h1 { font-size: 1rem; }
}

/* WHY CHOOSE US SECTION */

section.info-help {
  padding: 1.5rem 0 2rem;
  background: linear-gradient(135deg, #2d348a 0%, #1f2675 100%);
  text-align: center;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

section.info-help::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
  top: -200px;
  right: -200px;
}

.info-help h3 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #ffffff;
}

.info-help p {
  color: #d6dbe6;
  font-size: 16px;
  margin-top: 0%;
}

.featured-box-area {
  padding-top: 0;
  background: transparent;
  position: relative;
}

.choose-us-grid {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
}

.choose-us-grid .single-featured-box {
  flex: 1;
  padding: 40px 25px;
  text-align: center;
  border-right: 1px solid rgba(0, 0, 0, 0.06);
  transition: all 0.4s ease;
  position: relative;
}
.choose-us-grid .single-featured-box:last-child {
  border-right: none;
}

/*Mobile Responsive */
@media (max-width: 991px) {
  .choose-us-grid {
    flex-direction: column;
  }

  .choose-us-grid .single-featured-box {
    border-right: none;
    border-bottom: 1px solid #f0f0f0;
  }

  .choose-us-grid .single-featured-box:last-child {
    border-bottom: none;
  }
}

.featured-wrapper {
  margin-top: -30px;
  border-radius: 16px;
  padding: 10px;

  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  box-shadow: 0 30px 60px rgba(0,0,0,0.12);
  position: relative;
  z-index: 5;
}

.single-featured-box .icon img {
  width: 60px;
  height: 60px;
  margin-bottom: 18px;
  opacity: 0.8;
  transition: all 0.4s ease;
}

.single-featured-box h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #222;
}

.single-featured-box p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 12px;
}

.read-more-btn {
  font-size: 14px;
  font-weight: 600;
  color: #128db3;
  text-decoration: none;
}

.read-more-btn:hover {
  text-decoration: underline;
}

.single-featured-box:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 40px rgba(0,0,0,0.12);
}

.single-featured-box:hover .icon img {
  transform: scale(1.2) rotate(4deg);
  opacity: 1;
}

.single-featured-box::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0%;
  height: 4px;
  background: linear-gradient(90deg, #128db3, #2d348a);
  transition: all 0.4s ease;
  transform: translateX(-50%);
}

.single-featured-box:hover::after {
  width: 65%;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.choose-us-grid .single-featured-box {
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
}

.choose-us-grid .single-featured-box:nth-child(1) {
  animation-delay: 0.1s;
}
.choose-us-grid .single-featured-box:nth-child(2) {
  animation-delay: 0.3s;
}
.choose-us-grid .single-featured-box:nth-child(3) {
  animation-delay: 0.5s;
}
.choose-us-grid .single-featured-box:nth-child(4) {
  animation-delay: 0.7s;
}

@media (max-width: 991px) {
  .choose-us-grid {
    flex-direction: column;
  }

  .choose-us-grid .single-featured-box {
    border-right: none;
    border-bottom: 1px solid rgba(0,0,0,0.06);
  }

  .choose-us-grid .single-featured-box:last-child {
    border-bottom: none;
  }

}