@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/img17.jpeg') 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: rgb(248, 244, 244);
  color: rgb(10, 10, 10);
}

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

.btn-secondary {
  background-color:  rgb(250, 246, 246);
  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;
}


/* Main Section Container */
.info-sectionone {
  display: flex;
  width: 100%;
  max-width: 1200px; /* Optional max width */
  margin: 0 auto;    /* Center horizontally */
  padding: 2rem;
  gap: 15rem;         /* Space between left & right columns */
  margin-top: 50px;
}

/* === LEFT COLUMN === */
.left-contentone {
  flex: 1; /* Takes up remaining space if needed */
}

.left-contentone h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  font-weight: 700;
  text-align: center;
}

.left-contentone p {
  font-size: 1rem;
  line-height: 1.5;
  margin-top: 40px;
}

/* === RIGHT COLUMN === */
.right-contentone {
  flex: 1;       /* Also takes up remaining space */
  display: flex;
  flex-direction: column;
  gap: 6.5rem;   /* Space between each info-item */
  margin-top: 30px;
}

/* Each row: Image box + text box side by side */
.info-item {
  display: flex;
  align-items: center;
  gap: 1rem; /* Space between image and text */
}

/* Fixed-size image container */
.image-box {
  width: 100px;  /* Fixed width */
  height: 100px; /* Fixed height */
  overflow: hidden;  /* Hide overflow if image is larger */
  background-color: #ccc; /* Fallback color */
  flex-shrink: 0;    /* Prevents the box from shrinking */
}

/* Contain the image without resizing the box */
.image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures entire image is visible */
}

/* Text box beside the image */
.text-box h4 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
  font-weight: 700;
}
.text-box p {
  font-size: 0.9rem;
  line-height: 1.4;
}





/* Contact Form Section */


.contactcontainer {
  position: relative;
  width: 100%;
  min-height: 100vh;
  padding: 2rem;
  background-color: #f4f4f9;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  margin-top: 10px; /* adjust if header is fixed */
}

.form {
  width: 100%;
  max-width: 820px;
  background-color: #fff;
  box-shadow: 0 0 20px 1px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.contact-info{
  margin-top: 100px;
}

.contact-form {
  background-color: #0a043f;
  position: relative;
}




form {
  padding: 2.3rem 2.2rem;
  z-index: 10;
  overflow: hidden;
  position: relative;
}

.title {
  color: #fff;
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1;
  margin-bottom: 0.7rem;
}

.input-container {
  position: relative;
  margin: 1rem 0; /*This adds spacing between the rows of inputs*/
}

.input {
  width: 100%;
  outline: none;
  border: 2px solid #fafafa;
  background: none;
  padding: 0.6rem 1.2rem;
  color: #fff;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  transition: 0.3s;
}

textarea.input {
  padding: 0.8rem 1.2rem;
  min-height: 150px;
  resize: none; /*prevents the user from resizing the containers when they are on your site*/
  overflow-y: auto; /*creates a scrolling option when the user fills the container*/
}

.input-container label {
  position: absolute;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
  padding: 0 0.4rem;
  color: #fafafa;
  font-size: 0.9rem;
  font-weight: 400;
  pointer-events: none;
  z-index: 1000;
  transition: 0.5s;
}

.input-container.textarea label {
  top: 1rem;
  transform: translateY(0);
}

.btn {
  padding: 0.6rem 1.3rem;
  background-color: #fff;
  border: 2px solid #fafafa;
  font-size: 0.95rem;
  color: #0a043f;
  line-height: 1;
  border-radius: 25px;
  outline: none;
  cursor: pointer;
  transition: 0.3s;
  margin: 0;
}

.btn:hover {
  background-color: transparent;
  color: #fff;
}

.input-container span { /*This area creates the animation where the input name appears at the top of the input container when you try to input text*/
  position: absolute;
  top: 0;
  left: 25px;
  transform: translateY(-50%);
  font-size: 0.8rem;
  padding: 0 0.4rem;
  color: transparent;
  pointer-events: none;
  z-index: 500;
}

.input-container span:before,
.input-container span:after {
  content: "";
  position: absolute;
  width: 10%;
  opacity: 0;
  transition: 0.3s;
  height: 5px;
  background-color: #0a043f;
  top: 50%;
  transform: translateY(-50%);
}

.input-container span:before {
  left: 50%;
}

.input-container span:after {
  right: 50%;
}

.input-container.focus label {
  top: 0;
  transform: translateY(-50%);
  left: 25px;
  font-size: 0.8rem;
}

.input-container.focus span:before,
.input-container.focus span:after {
  width: 50%;
  opacity: 1;
}

.contact-info {
  padding: 2.3rem 2.2rem;
  position: relative;
}

.contact-info .title {
  color: #0a043f;
  text-align: left;
}

.text {
  color: #333;
  margin: 1.5rem 0 2rem 0;
  text-align: left;
  font-size: .9rem;
}

.information {
  display: flex;
  color: #555;
  margin: 0.7rem 0;
  align-items: center;
  font-size: 0.95rem;
}

.icon {
  width: 28px;
  margin-right: 0.7rem;
}

.social-media {
  padding: 2rem 0 0 0;
}

.social-media p {
  color: #333;
}

.social-icons {
  display: flex;
  margin-top: 0.5rem;
}

.social-icons a {
  width: 35px;
  height: 35px;
  border-radius: 5px;
  background: linear-gradient(45deg, #0a043f, #0a043f);
  color: #fff;
  text-align: center;
  line-height: 35px;
  margin-right: 0.5rem;
  transition: 0.3s;
}

.social-icons a:hover {
  transform: scale(1.05);
}


.square {
  position: absolute;
  height: 400px;
  top: 50%;
  left: 50%;
  transform: translate(181%, 11%);
  opacity: 0.2;
}

@media (max-width: 850px) {
  .form {
    grid-template-columns: 1fr;
  }

  .contact-info:before {
    bottom: initial;
    top: -75px;
    right: 65px;
    transform: scale(0.95);
  }

  .contact-form:before {
    top: -13px;
    left: initial;
    right: 70px;
  }

  .square {
    transform: translate(140%, 43%);
    height: 350px;
  }

  
  .text {
    margin: 1rem 0 1.5rem 0;
  }

  .social-media {
    padding: 1.5rem 0 0 0;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 1.5rem;
  }

  .contact-info:before {
    display: none;
  }



  form,
  .contact-info {
    padding: 1.7rem 1.6rem;
  }

  .text,
  .information,
  .social-media p {
    font-size: 0.8rem;
  }

  .title {
    font-size: 1.15rem;
  }

  .social-icons a {
    width: 30px;
    height: 30px;
    line-height: 30px;
  }

  .icon {
    width: 23px;
  }

  .input {
    padding: 0.45rem 1.2rem;
  }

  .btn {
    padding: 0.45rem 1.2rem;
  }
}

/*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: 480px) {
  
      /* 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;
      }
      @media (max-width: 768px) {
        /* Stack SECTION A and remove huge gaps */
        .info-sectionone {
          flex-direction: column;
          gap: 1.25rem;     /* smaller gap on mobile */
          padding: 1.25rem; /* tighter padding on mobile */
        }
      
        .info-item {
          /* Let image sit above text on very narrow screens if needed */
          flex-wrap: wrap;
        }
      
        /* Stack SECTION B: left on top of right */
        .info-section {
          flex-direction: column;
          min-height: unset;
        }
      
        .info-box-left,
        .info-box-right {
          width: 100%;
        }
      
        .info-box-right {
          padding: 1.25rem 1rem 2rem; /* extra bottom padding to avoid footer crowding */
          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%;
        }

        @media (max-width: 768px) {
          /* Make image box larger and centered */
          .image-box {
            width: 150px;      /* larger than desktop */
            height: 150px;
            margin: 0 auto;    /* centers it in its container */
          }
        
          .info-item {
            flex-direction: column; /* stack image above text */
            align-items: center;    /* center both */
            text-align: center;     /* center text */
          }
        
          .text-box {
            margin-top: 0.75rem; /* space between image and text */
          }
        }
        
      }
      }
    
  
  