/* General */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f9f9f9;
  color: #333;
}

/* Navbar */
header {
  background: #002b5c;
  padding: 10px 20px;
}
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo { height: 50px; }
.navbar ul {
  list-style: none;
  display: flex;
}
.navbar ul li { margin: 0 15px; }
.navbar ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}
.navbar ul li a.active {
  border-bottom: 2px solid #fff;
}

/* Slider */
.slider { height: 500px; position: relative; }
.slides { height: 100%; position: relative; }
.slide {
  position: absolute;
  width: 100%; height: 100%;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1s;
}
.slide.active { opacity: 1; }
.caption {
  position: absolute; bottom: 25%; left: 10%;
  background: rgba(0,0,0,0.5);
  padding: 20px; border-radius: 8px;
  color: #fff; max-width: 400px;
}
.caption h1 { margin: 0 0 10px; }
.btn {
  display: inline-block;
  background: #ff6600;
  color: #fff; padding: 10px 20px;
  text-decoration: none; border-radius: 5px;
  font-weight: bold; margin-top: 10px;
}
.btn:hover { background: #cc5200; }

/* Properties */
.properties { padding: 40px 20px; text-align: center; }
.property-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px; margin-top: 20px;
}
.property-card {
  background: #fff; border-radius: 8px;
  overflow: hidden; box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.property-card img { width: 100%; height: 180px; object-fit: cover; }
.property-card h3 { margin: 10px; }
.property-card p { margin: 0 10px 20px; color: #555; }

/* Why Us */
.why-us { padding: 40px 20px; background: #eaeaea; }
.features { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; }
.feature {
  flex: 1 1 250px; background: #fff;
  padding: 20px; border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* Call to Action */
.cta {
  background: #002b5c;
  color: #fff; text-align: center;
  padding: 40px 20px;
}
.cta h2 { margin-bottom: 20px; }

/* Property Showcase (6 houses) */
.showcase {
  padding: 40px 20px;
  text-align: center;
}
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
}
.house-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.house-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.house-card h3 {
  margin: 10px;
}
.house-card p {
  margin: 0 10px 20px;
  color: #555;
}

/* CTA with Background */
.cta {
  position: relative;
  background-size: cover;
  background-position: center;
  color: #fff;
  text-align: center;
  padding: 60px 20px;
}
.cta-overlay {
  background: rgba(0, 0, 0, 0.6);
  padding: 40px;
  border-radius: 8px;
  display: inline-block;
}
.cta h2 { margin-bottom: 20px; }

/* Testimonials */
.testimonials {
  padding: 40px 20px;
  background: #eaeaea;
  text-align: center;
}
.testimonial-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 20px;
}
.testimonial {
  flex: 1 1 280px;
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  font-style: italic;
}
.testimonial h4 {
  margin-top: 15px;
  font-style: normal;
  color: #002b5c;
}

/* Container to center content */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Featured Properties */
.properties {
  padding: 40px 0;
  text-align: center;
}
.property-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 20px 0;
}
.property-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.property-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.property-card h3 { margin: 10px; }
.property-card p { margin: 0 10px 20px; color: #555; }

/* Showcase with 2 rows */
.showcase {
  padding: 40px 0;
  text-align: center;
}
.showcase-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.house-card {
  flex: 1 1 300px;
  max-width: 300px;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.house-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.house-card h3 { margin: 10px; }
.house-card p { margin: 0 10px 20px; color: #555; }

/* Why Us boxed */
.why-us {
  padding: 40px 0;
  background: #eaeaea;
}
.features {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}
.feature {
  flex: 1 1 280px;
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* Why Us section */
.why-us {
  position: relative;
  padding: 60px 20px;
  color: #fff;
  text-align: center;
  background: linear-gradient(
      rgba(0, 45, 85, 0.85), 
      rgba(0, 45, 85, 0.85)
    ),
    url('images/why-us-bg.jpg') no-repeat center center/cover;
}

.why-us h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  font-weight: bold;
}

.features {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.feature {
  flex: 1 1 280px;
  background: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 10px;
  backdrop-filter: blur(5px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.feature h3 {
  color: #ffdd57; /* Accent color for titles */
  margin-bottom: 10px;
}

.feature p {
  color: #f1f1f1;
  font-size: 0.95rem;
}


/* Footer */
footer {
  background: #002b5c;
  color: #fff; text-align: center;
  padding: 15px;
  margin-top: 40px;
}

/* Hero Banner */
.about-hero {
   background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
    url('images/about-banner.jpg') no-repeat center center/cover;
  color: #fff;
  text-align: center;
  padding: 100px 20px;
}
.about-hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}
.about-hero-content p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
}

/* Story Section */
.about-story {
  padding: 60px 20px;
  background: #f9f9f9;
  text-align: center;
}
.about-story h2 {
  margin-bottom: 20px;
}

/* Mission, Vision, Values */
.about-mvv {
  padding: 60px 20px;
  background: #fff;
}
.mvv-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}
.mvv-card {
  flex: 1 1 280px;
  background: #f1f1f1;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Team Section */
.about-team {
  padding: 60px 20px;
  background: #f9f9f9;
  text-align: center;
}
.team-grid {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}
.team-member {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  max-width: 250px;
}
.team-member img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
}

/* CTA Section */
.cta {
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
    url('images/cta-bg.jpg') no-repeat center center/cover;
  color: #fff;
  text-align: center;
  padding: 80px 20px;
}
.cta h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}
.cta p {
  margin-bottom: 20px;
}

/* Hero Banner */
.contact-hero {
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
              url('images/about-banner.jpg') no-repeat center center/cover;
  color: #fff;
  text-align: center;
  padding: 100px 20px;
}
.contact-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}
.contact-hero p {
  font-size: 1.2rem;
}

/* Contact Details */
.contact-details {
  padding: 60px 20px;
  background: #f9f9f9;
}
.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.detail-card {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.detail-card h3 {
  color: #003366;
  margin-bottom: 10px;
}

/* Contact Form */
.contact-form-section {
  padding: 60px 20px;
}
.contact-form-section h2 {
  text-align: center;
  margin-bottom: 30px;
}
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}
.contact-form label {
  margin: 10px 0 5px;
  font-weight: bold;
}
.contact-form input,
.contact-form textarea {
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 1rem;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #003366;
  outline: none;
}
.contact-form button {
  background: #003366;
  color: #fff;
  padding: 12px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1.1rem;
}
.contact-form button:hover {
  background: #0055a5;
}

/* Map */
.map {
  margin-top: 40px;
}

/* Hero Banner */
.services-hero {
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
              url('images/about-banner.jpg') no-repeat center center/cover;
  color: #fff;
  text-align: center;
  padding: 100px 20px;
}
.services-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}
.services-hero p {
  font-size: 1.2rem;
}

/* Services Grid */
.services {
  padding: 60px 20px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}
.service-card {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  text-align: center;
}
.service-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}
.service-card h3 {
  color: #003366;
  margin-bottom: 10px;
}

/* Call to Action */
.cta {
  background: #003366;
  color: #fff;
  text-align: center;
  padding: 60px 20px;
}
.cta h2 {
  margin-bottom: 20px;
}
.cta .btn {
  background: #fff;
  color: #003366;
  padding: 12px 25px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
}
.cta .btn:hover {
  background: #0055a5;
  color: #fff;
}
