@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;700&display=swap');

/* Basic Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Montserrat", sans-serif;
  color: #333;
  background-color: rgb(235, 235, 240);
}
/* ------------------------------
   NAVIGATION
------------------------------ */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 1rem;
  background-color: #fff; /* White nav background */
  border-bottom: 1px solid #ccc; /* Subtle bottom border */
}


/* Left: Container for hamburger + brand + tagline */
.nav-left {
  display: flex;
  align-items: center;
  gap: 1rem; /* Space between hamburger & brand */
}

/* Hamburger Button */
.hamburger-btn {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 24px;
  width: 30px;
  padding: 0;
}

/* Hamburger Icon Lines */
.hamburger-btn span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: #000; /* Black lines on white nav */
  border-radius: 2px;
}

/* Logo Container (same height as nav) */
.logo-container {
  display: flex;
  align-items: center;
  height: 60px; /* match the nav bar’s height */
}

.logo-container img {
  height: 100%;
  width: auto;        /* maintain aspect ratio */
  object-fit: contain;
  display: block;
}

/* Brand / Title name */
.nav-logo {
  color: #000;
  text-decoration: none;
  font-size: 1.8rem;
  font-weight: 700;
}

/* Tagline under brand name */
.nav-tagline {
  font-size: 0.8rem;
  color: #666;
  margin-top: 2px; /* small vertical offset */
}

/* Center: Search Bar */
.nav-search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  justify-content: center;
}

.nav-search input {
  width: 300px;
  padding: 0.4rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 0.9rem;
}

.nav-search button {
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 0.4rem 0.8rem;
  cursor: pointer;
  font-size: 0.9rem;
}

.nav-search button:hover {
  background-color: #0056b3;
}

/* Right: Global/Language */
.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-link {
  display: inline-block;
  padding: 8px 16px;
  background-color: #0a043f;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.3s ease;
  font-size: 0.9rem;      /* tweak as needed to match your nav */
  line-height: 1.2;  
}

.nav-link:hover {
  color: #0056b3;
}

/* ------------------------------
   MOBILE NAV OVERLAY
------------------------------ */
.mobile-nav {
  position: fixed;
  top: 0;
  left: -300px;
  width: 300px;
  height: 100vh;
  background-color: #fff;
  color: #000;
  transition: left 0.3s ease;
  z-index: 9999;
  padding: 2rem 1rem;
  box-shadow: 2px 0 8px rgba(0,0,0,0.2);
}

.mobile-nav.open {
  left: 0;
}

.close-btn {
  background: none;
  border: none;
  color: #000;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 1rem;
}

/* Include an X icon with the close text */
.close-btn i {
  margin-right: 0.5rem;
}

.mobile-nav ul {
  list-style: none;
  margin-top: 2rem;
  padding-left: 0;
}

.mobile-nav ul li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.mobile-nav ul li a {
  text-decoration: none;
  color: #000;
  font-size: 1.3rem;
  font-weight: 500;
}

.mobile-nav ul li span {
  color: #006064;
  font-size: 1.5rem;
}

/* Hide desktop search & right links on small screens */
@media (max-width: 768px) {
  .nav-search, 
  .nav-right {
    display: none;
  }
}

/* Hero Section (unchanged except removing the .hero-content margin-left) */
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh; /* Adjust as needed */
  background: url('PioneerImages/img131.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  /* Remove padding if you like; the overlay handles spacing now */
  padding: 0;
}

/* New overlay container */
.hero-overlay {
  position: absolute;
  top: -1px;                        /* Start below the 60px-high nav bar */
  width: 330px;                     /* Matches hero-content max width */
  height: 100%;         /* Reduce total height by nav bar height */
  background-color: rgba(11, 14, 46); /* Semi-transparent overlay */
  border-radius: 4px;
  display: flex;
  align-items: center;              /* Vertically center the hero content */
  padding: 1rem;                    /* Padding inside the overlay */
  margin-left: 1rem;                /* Offset from left side */
  z-index: 1;
}


/* Hero content inside the overlay */
.hero-content {
  max-width: 300px;      /* Matches overlay width */
  color: #eee;
  z-index: 1;
  /* Remove margin-left: 1rem; since .hero-overlay handles spacing */
}
/* Semi-transparent overlay 
.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(189, 184, 184, 0.5);
}*/

.hero-subtitle {
  font-size: 1rem;
  font-weight: 300;
  margin-bottom: 0.5rem;
  opacity: 0.9;
}

.hero-title {
  font-size: 26px;
  line-height: 2.0em;
  margin-bottom: 60px;
  font-weight: 700;
  text-align: center;
}

.hero-text {
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 2rem;
  text-align: center;
  color: #eee;
}

/* Center hero buttons horizontally */
.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

.btnone {
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  font-size: 12px;
  border-radius: 4px;
  transition: background-color 0.3s ease;
  width: 7rem;
  text-align: center;
}

.btn-primary {
  background-color: #eee;
  color: rgb(10, 10, 10);
}

.btn-primary:hover {
  background-color: rgb(130, 130, 133);
}

.btn-secondary {
  background-color: #eee;
  color: rgb(10, 10, 10);
 /* border: 2px solid #000;*/
  transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-secondary:hover {
  background-color: rgb(130, 130, 133);
  color: #fff;
}
/* About Section */
.about {
  padding: 80px 20px;
  background-color: #fff;
  /*background: url('PioneerImages/stock9.png') center/cover no-repeat fixed;*/
}

.about-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  
}


.about-text {
  flex: 1;
  color: rgb(15, 15, 15);
}

.about-text h2 {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #0a043f;
  text-align: center;
}

.about-text p {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 20px;
}

.cta-link {
  text-decoration: none;
  color: #0a043f;
  font-weight: 600;
  transition: color 0.3s;
 text-align: center;
}

.cta-link:hover {
  color: #333;
}

/* Container for both boxes side by side */
/* Two-column container */
/* Two-column container */
.info-section {
  display: flex;
  width: 100%;
  min-height: 450px; /* Adjust as needed */
  margin: 0 auto;
  margin-top: 20px;
}

/* --- LEFT SIDE --- */
.info-box-left {
  width: 40%;
  background-color: rgba(11, 14, 46); /* Solid background color */
  display: flex;            /* Enables column layout */
  flex-direction: column;
  align-items: center;
  justify-content: flex-start; /* Text at the top, image below */
  padding: 2rem;
}

/* Left text area */
.left-content {
  color: rgba(#fff);
  text-align: center;
  margin-bottom: 2rem; /* Space between text and image */
  margin-top: 20px;
}


/* Make H3 smaller */
.left-content h3 {
  font-size: 1.4rem;     /* Smaller than before */
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  color: #fff;
}

/* Make H2 smaller */
.left-content h2 {
  font-size: 1.0rem;   /* Reduced from ~2rem */
  margin-bottom: 1.8rem;
  font-weight: 600;
  color: #fff;
}
/* Wrapper around the left image, centers horizontally */
.left-image-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%; 
}

/* Image is centered, fits without being cut off */
.left-box-image {
  max-width: 80%;
  height: auto;
  object-fit: contain; /* Ensures the whole image is visible */
}


/* --- RIGHT SIDE --- */
.info-box-right {
  position: relative;
  width: 60%;
  /* Full background image */
  background: url("PioneerImages/img12.jpg") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Semi-transparent overlay box */
.overlay-box {
  background: rgba(0, 0, 0, 0.5); /* Dark overlay */
  /*border-radius: 10px;           /* Rounded edges */
  padding: 2rem;
  max-width: 800px;
  height: 450px;
  width: 90%;
  color: #fff;
  text-align: center;
}

.overlay-box h2 {
  margin-top: 6.6rem;
  font-size: 2rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.overlay-box p {
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* --- Button Styles --- */
.btn {
  display: inline-block;
  background-color: rgba(3, 54, 2);
  color: #fff;
  text-decoration: none;
  padding: 0.8rem 1.2rem;
  border-radius: 4px;
  transition: background-color 0.3s;
}

/* Example "Join us" button style */
.btn.btn-primary {
  background-color: #fff;
  color: #000;
}

.btn.btn-primary:hover {
  background-color: #eee;
}

/* Example "Discover more" button style */
.btn.btn-green {
  background-color: rgba(11, 14, 46);
  color: #fff;
}

.btn.btn-green:hover {
  background-color: rgb(3, 12, 92);
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .info-section {
    flex-direction: column;   /* stack */
    min-height: unset;
  }

  .info-box-left,
  .info-box-right {
    width: 100%;
  }

  .info-box-right {
    /* Prevent any chance of overlap with footer */
    padding: 1.25rem 1rem 2rem;   /* extra bottom padding */
    background-position: center top;
  }

  .overlay-box {
    width: 100%;
    max-width: 680px;
    padding: 1.25rem 1rem;
  }

  .overlay-box h2 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
  }

  .overlay-box p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
  }

  .left-box-image {
    max-width: 70%;
  }
}

/*Footer*/

.footer {
  background-color: #000;  /* Black background */
  color: #fff;             /* White text */
  padding: 20px 0;
  font-family: Arial, sans-serif; /* Or your preferred font */
}

.footer-container {
  max-width: 1200px;       /* Adjust as needed */
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* === Left Column: Logo & Brand Text === */
/* For Footer Logo: Match the nav styles */
.footer-brand .brand-logo {
  color: #fff;
  text-decoration: none;
  font-size: 1.4rem;
  font-weight: 700;
}

.footer-brand .brand-logo span {
  display: block;
  font-size: 0.8rem;
  font-weight: 300;
  margin-top: 2px;
}

.footer-brand {
  display: flex;
  align-items: center;
}

.footer-brand img {
  height: 50px;            /* Adjust as needed */
  width: auto;
  margin-right: 10px;
}

.brand-text {
  line-height: 1.2;
  font-size: 1rem;
}

/* === Center Column: Policy Links === */
.footer-links {
  display: flex;
  flex-direction: column;
  align-items: center;     /* Centers links horizontally */
  gap: 6px;                /* Space between links */
  text-align: center;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  font-size: 0.7rem;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #ccc;
}

.footer-links p {
  font-size: 0.8rem;
  margin: 0;
}

/* === Right Column: Social Icons === */
.footer-social {
  display: flex;
  gap: 15px;               /* Space between icons */
}

.footer-social a {
  color: #fff;
  font-size: 1.2rem;
  transition: color 0.3s;
}

.footer-social a:hover {
  color: #ccc;
}

/* === Responsive Adjustments (Optional) === */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}


@media (max-width: 768px) {
  .about-container, .contact-container {
    flex-direction: column;
    text-align: center;
  }
  .about-text, .contact-info, .contact-form {
    flex: none;
  }
  .nav-links ul {
    flex-direction: column;
    gap: 10px;
  }
}

/* ---------- Mobile layout for Housing sections ---------- */
@media (max-width: 900px) {
  

.hero-section {
  height: 100vh;            /* Still full viewport height */
  padding: 0;
  position: relative;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;                /* ✅ stick to the very left */
  margin: 0;              /* ✅ no margin offset */
  width: 280px;           
  height: 100%;           
  background-color: rgba(11, 14, 46, 0.85);
  padding: 1rem;
  border-radius: 0 4px 4px 0; /* ✅ rounded only on the right */
  display: flex;
  align-items: center;
}

.hero-content {
  max-width: 240px;
  color: #eee;
}

.hero-title {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  text-align: center;
}

.hero-text {
  font-size: 1rem;
  margin-bottom: 3rem;
  text-align: center
}

.hero-buttons {
  display: flex;
  justify-content: center; 
  gap: 0.75rem;
  margin-top: 1rem;
}

.hero-buttons .btnone {
  width: auto;
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
}
}


/* ---------- Extra-small refinements ---------- */
@media (max-width: 880px) {

    /* Brand / Title */
    .nav-logo{
      display:block;
      width:100%;
      text-align:center;
      font-size:1.6rem;     /* tweak as you like */
      font-weight:700;
      margin:0;
      line-height:1.1;
    }
  
    /* Tagline directly under the title */
    .nav-tagline{
      display:block;
      width:100%;
      text-align:center;
      font-size:.8rem;
      color:#666;
      margin:2px 0 0;
    }
    .hero-slide-content {
      /* neutralize the hard height */
      height: auto !important;
      /* allow the box to grow, but never shrink below 350px */
      min-height: 250px !important;
      /* stretch it to nearly full width of its container */
      width: 70% !important;
      padding: 1.2rem !important;
      box-sizing: border-box;
    }
  
    .hero-slide-content h1 {
      font-size: 1.5rem !important;
      line-height: 1.2;
    }
    .hero-slide-content p {
      font-size: 0.9rem !important;
      line-height: 1.3;
    }
    .btn-hero {
      display: block !important;
      margin: 1rem auto 0 !important;
      padding: 0.5rem 1rem !important;
      font-size: 0.9rem !important;
    }
  }

