* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #f4f4f4;
  color: #333;
}

header {
  position: relative;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(0, 48, 73, 0.9);
  padding: 15px 30px;
  position: sticky;
  top: 0;
  z-index: 99;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: white;
}

.logo span {
  color: #ffb703;
}

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
}

.nav-links li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
  position: relative;
}

.nav-links li a::after {
  content: '';
  width: 0%;
  height: 2px;
  position: absolute;
  bottom: -5px;
  left: 0;
  background: #ffb703;
  transition: width 0.3s;
}

.nav-links li a:hover::after {
  width: 100%;
}

/* Responsive Navbar */
.menu-icon {
  display: none;
  font-size: 1.8rem;
  color: white;
  cursor: pointer;
}

#menu-toggle {
  display: none;
}

@media (max-width: 768px) {
  .nav-links {
    flex-direction: column;
    position: absolute;
    top: 65px;
    left: 0;
    width: 100%;
    background: #003049;
    display: none;
  }

  .nav-links li {
    text-align: center;
    padding: 10px 0;
  }

  #menu-toggle:checked ~ .nav-links {
    display: flex;
  }

  .menu-icon {
    display: block;
  }
}

/* Blurred Background Image */
.background-blur {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: url('images/minar-e-pakistan.webp') center center/cover no-repeat;
  filter: blur(8px);
  z-index: -1;
}

/* Content above the blur */
.content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 150px 20px;
  color: white;
}

.content::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4); /* dark overlay for contrast */
  z-index: -1;
}

.content h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: #ffffff; /* White text */
}

.content h1 span {
  color: #ffb703; /* Bright Yellow/Orange highlight */
}

.content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #ffffff; /* White */
}

.btn {
  background-color: #ffb703; /* Bright Yellow/Orange */
  color: #003049; /* Dark Blue text */
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
  display: inline-block;
  box-shadow: 0 4px 6px rgba(255, 183, 3, 0.4);
}

.btn:hover {
  background-color: #e6a600; /* Slightly darker yellow */
  transform: scale(1.05);
  box-shadow: 0 6px 8px rgba(230, 166, 0, 0.6);
}

.filter-bar {
  text-align: center;
  margin-bottom: 30px;
}

#location-filter {
  padding: 8px 12px;
  font-size: 16px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

#homes {
  padding: 60px 20px;
  background-color: #f9f9f9;
  text-align: center;
}

.homes-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.home-card {
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s;
  position: relative;
  overflow: hidden;
}

.home-card:hover {
  transform: translateY(-10px);
}

.home-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
}

.home-card h3 {
  margin-top: 15px;
  color: #003049;
}
.slider {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.slide {
    display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  pointer-events: none;
}

.slide.active {
  opacity: 1;
  display: block;
  pointer-events: auto;
  z-index: 1;
  position: relative;
}

.prev-btn, .next-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  border: none;
  color: white;
  font-size: 24px;
  padding: 5px 10px;
  cursor: pointer;
  border-radius: 4px;
  user-select: none;
  z-index: 2;
}

.prev-btn {
  left: 10px;
}

.next-btn {
  right: 10px;
}

.location, .price, .desc {
  margin: 8px 0;
  color: #555;
}

.btn {
  display: inline-block;
  margin-top: 12px;
  padding: 8px 16px;
  background: #ffb703;
  color: #003049;
  font-weight: bold;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s;
}

.btn:hover {
  background: #003049;
  color: white;
}
/* About Section Styling */

.about-section {
  background-color: #f5f8fa; /* Light background */
  color: #003049; /* Dark blue text */
  padding: 60px 20px;
  text-align: center;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.container {
  max-width: 900px;
  margin: 0 auto;
}

.section-title {
  font-size: 2.8rem;
  margin-bottom: 40px;
  color: #003049;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  display: block;
  height: 4px;
  width: 60px;
  background-color: #ffb703;
  margin: 8px auto 0;
  border-radius: 2px;
}

/* Cards wrapper */
.cards-wrapper {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

/* Each card */
.about-card {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgb(0 48 73 / 0.1);
  padding: 30px 25px;
  flex: 1 1 280px; /* Responsive flex-basis */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
}

.about-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgb(0 48 73 / 0.2);
}

.about-card h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.about-card p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #003049cc;
}

/* Responsive */
@media (max-width: 768px) {
  .cards-wrapper {
    flex-direction: column;
    gap: 30px;
  }
}
/* Why Choose Us Section */

.why-choose-us-section {
  background-color: #003049; /* Dark blue background */
  color: white;
  padding: 60px 20px;
  text-align: center;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.why-choose-us-section .container {
  max-width: 900px;
  margin: 0 auto;
}

.why-choose-us-section .section-title {
  font-size: 2.8rem;
  margin-bottom: 40px;
  position: relative;
  display: inline-block;
  color: #ffb703;
}

.why-choose-us-section .section-title::after {
  content: '';
  display: block;
  height: 4px;
  width: 60px;
  background-color: #ffb703;
  margin: 8px auto 0;
  border-radius: 2px;
}

/* Cards wrapper - 2 by 2 grid */
.why-choose-us-section .cards-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

/* Individual cards */
.why-choose-us-section .why-card {
  background-color: white;
  color: #003049;
  padding: 25px 20px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgb(0 48 73 / 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
}

.why-choose-us-section .why-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgb(0 48 73 / 0.25);
}

.why-choose-us-section .why-card h3 {
  font-size: 1.6rem;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.why-choose-us-section .why-card p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #003049dd;
}

/* Responsive for mobile - single column */
@media (max-width: 768px) {
  .why-choose-us-section .cards-wrapper {
    grid-template-columns: 1fr;
  }
}
/* Contact Section */

.contact-section {
  background-color: white;
  color: #003049;
  padding: 60px 20px;
  text-align: center;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.contact-section .container {
  max-width: 600px;
  margin: 0 auto;
}

.contact-section .section-title {
  font-size: 2.8rem;
  margin-bottom: 20px;
  color: #003049;
  position: relative;
  display: inline-block;
}

.contact-section .section-title::after {
  content: '';
  display: block;
  height: 4px;
  width: 60px;
  background-color: #ffb703;
  margin: 8px auto 0;
  border-radius: 2px;
}

.contact-description {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 40px;
  line-height: 1.6;
}

.btn-whatsapp {
  background-color: #25D366; /* WhatsApp green */
  color: white;
  padding: 15px 35px;
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: 30px;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 5px 10px rgba(37, 211, 102, 0.4);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.btn-whatsapp:hover {
  background-color: #1ebe57;
  box-shadow: 0 8px 15px rgba(37, 211, 102, 0.6);
}

/* Responsive */
@media (max-width: 480px) {
  .contact-section .container {
    max-width: 90%;
  }

  .contact-section .section-title {
    font-size: 2rem;
  }

  .btn-whatsapp {
    padding: 12px 25px;
    font-size: 1rem;
  }
}

/* Footer Styling */

.footer {
  background-color: #003049; /* Dark blue */
  color: white;
  padding: 25px 20px;
  text-align: center;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 0.95rem;
  box-shadow: 0 -3px 8px rgba(0, 0, 0, 0.15);
}

.footer .container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer p {
  margin: 5px 0;
}

/* Responsive */
@media (max-width: 480px) {
  .footer {
    font-size: 0.85rem;
    padding: 20px 15px;
  }
}
