/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Poppins', sans-serif;
  }
    
  h3 {
    font-weight: 550;
  }
.hr-text {
  display: flex;
  align-items: center;
  text-align: center;
  color: #64748b; /* text color */
  margin: 28px 0;
}

.hr-text::before,
.hr-text::after {
  content: "";
  flex: 1;
  border-top: 1px solid #e6e9ee; /* line color */
}

.hr-text:not(:empty)::before {
  margin-right: 0.9em;
}

.hr-text:not(:empty)::after {
  margin-left: 0.9em;
}


  /* Navbar */
  .navbar {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    align-items: center;
    padding: 1rem 1rem;
    padding-left: 4rem;
    background-color: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    position: fixed;
    z-index: 9999;
  }
  
  .logo {
    display: flex;
    align-items: center;
    gap: 20px;
  }
  
  .logo img {
    height: 40px;
  }
  @media (max-width: 800px) {
    .logo img {
        height: 25px;
    }
    .navbar {
      padding-left: 1rem;
    }
  }


  .brand-name {
    font-size: 1rem;
    font-weight: 700;
    color: #000043;
  }
  
  @media (max-width: 768px) {
    .brand-name {
        font-size: 0.7rem;
        font-weight: 700;
        color: #000043;
      }
  }

  .navigations  {
    display: flex;
    gap: 40px;
    align-items: center;
    padding-right: 5rem;
  }
  .nav-links {
    display: flex;
    gap: 2rem;
  }
  
  .nav-links a {
    text-decoration: none;
    color: #000043;
    align-self: center;
  }
  
  /* CTA Button */
  button {
    background-color: #000043;  
    color: #fff;                /* Text should be white */
    padding: 10px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 5px;
    transition: background 0.3s ease;
    display: inline-block;
    border: 0cm;
    min-width: 100px;
  }
  
  button:hover {
    background-color: #373879;
  }
  
  button:active {
    transform: scale(0.98);
  }
  
  
  /* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
  }
  
  .hamburger span {
    width: 25px;
    height: 3px;
    background: #000043;
    border-radius: 3px;
  }
  
  /* Mobile Overlay */
  .overlay {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100%;
    background: rgba(0,0,0,0.7);
    display: none;
    z-index: 9;
  }
  
  .overlay.show {
    display: block;
  }
  
  /* Responsive */
  @media (max-width: 800px) {
    .nav-links {
      position: fixed;
      top: 0;
      right: -100%;
      height: 100%;
      width: 250px;
      background-color: #fff;
      flex-direction: column;
      padding: 60px 20px;
      gap: 70px;
      transition: 0.3s ease;
      z-index: 10;
      padding-top:100px ;
      max-width: 200px;
    }
  
    .nav-links.open {
      right: 0;
    }
  
    .hamburger {
      display: flex;
    }
  }
  



  .hero-slider {
    position: relative;
    height: 90vh;
    overflow: hidden;
    opacity: 0;
    transform: translateY(50px);
    transition: all 2s ease;
  }
  .hero-slider.visible {
    opacity: 1;
    transform: translateY(0);
  }
  @media (max-width: 800px) {
    .hero-slider {
        position: relative;
        height: 30vh;
        overflow: hidden;
      }
  }
  
  .slides {
    display: flex;
    transition: transform 0.5s ease;
  }

 /* Slide base styling */
 .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.8s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 10px;
  }
  
  .slide.active {
    opacity: 1;
    z-index: 1;
    overlay: #000;
  }

  .slide-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(86, 86, 127, 0.7); /* semi-transparent */
    top: 0;
    left: 0;
    z-index: 1;
  }
  
  /* Content sits above overlay */
  
  .slide .content {
    position: relative;
    z-index: 2;
    color: #fff;
    padding: 20px;
    max-width: 800px;
    text-align: center
  }

  @media (max-width: 800px) {
    .slide .content {
      padding: 10px 20px;
      max-width: 90%;
      text-align: center;
    }
    .slide {
      padding-bottom: 5rem;
      padding-top: 5rem;
    }
  }
  
  
  
  .nav-arrows {
    position: absolute;
    top: 50%;
    width: 100%;
    z-index: 3;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    transform: translateY(-50%);
  }
  
  .nav-arrows span {
    font-size: 30px;
    color: white;
    cursor: pointer;
  }
  @media (max-width: 768px)
{
    .nav-arrows span {
        font-size: 0px;}

}
  
  .nav-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
  }
  
  .nav-dots span {
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0.4;
  }
  
  @media (max-width: 800px) {

  .nav-dots span {
    width: 5px;
    height: 5px;
    background: white;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0.4;
     }
    }
  .nav-dots .active {
    opacity: 1;
  }
  
  /* Slide Buttons */
  .bttn {
    display: inline-block;
    padding: 10px 20px;
    margin: 10px 5px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    background-color: #ffffff;
    color: #000043;
  }

  @media (max-width: 800px) {
    .bttn {
        font-size: 0.8rem ;
    }
  }

  /* Default for desktop/larger screens */
.slide .content h1 {
    font-size: 4rem; /* or any large size */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 10px; 
  }
  
  /* Mobile screen adjustments */
@media (max-width: 800px) {
    .slide .content h1 {
      font-size: 2rem; /* smaller for mobile */
    }
  }
  
  .slide .content p {
    font-size: 1.5rem;
    margin-bottom: 20px; 
  }
  
  @media (max-width: 768px) {
    .slide .content p {
      font-size: 1rem;
    }
  }
  
.name {
  padding: 60px;
  padding-top: 10vh ;
  padding-bottom: 5vh;
  justify-items: center;
  font-size: 1rem;
  text-align: center;
  color: #000043;
}
.herologo {
  height: 15vh;
  align-self: center;
}


  /* Animation base */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(50px);
  transition: all 2s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Optional styling */
.about-us {
  background: white;
  padding-top: 50px;
}

.about-image {
  padding-top: 3rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  overflow: hidden;
  opacity: 0;
  transform: translateY(50px);
  transition: all 1.5s ease;
  }

  .about-image.visible {
    opacity: 1;
    transform: translateY(0);
  }
.abt-image {
  height: 300px;
  width: 100%;
  object-fit: cover;
  padding: 0;
  margin-top: 0;
}

.icon {
  text-align: center ;
}
.icon-box {
  margin-top: 15px;
  text-align: center;
}

.counter {
  font-size: 80px;
  font-weight: bold;
  color: #000043;
}

.theicon {
  width: 90px;
  height: auto;
  fill: #000043;
  
}

@media (min-width: 800px) {
  .about-design {
  display: flex;
  padding-right: 60px;
  padding-left: 30px;
  justify-content: space-between;
  align-items: center;
}
.about-content{
  width: 60%;
}
.icon {
  display: flex;
  justify-content: space-between;
  padding-right: 150px;
  padding-left: 150px;
  vertical-align: baseline;
}
.theicon {
  width: 70px;
  height: auto;
  padding-top: 20px;
  padding-bottom: 10px;
}
.abt-image {
  border-radius: 20px;
}
}

.about-content p{
  text-align: justify;
  padding-left: 30px;
  padding-right: 30px;
  color: #000000;
}

.about-content {
  text-align: center;
  color: #000043;
}

.about-content h3 {
  color: #000043;
}
.container-about-content {
  padding-top: 1.5rem;
}


.addition {
  display: flex;
  justify-content: center;
  font-weight: bold;
  font-size: 40px;
  color: #000043;
}
.icon-box  {
  padding: 0%;
}


.center-button {
  justify-content: center;
  align-items: center;
  margin-top: 1rem;
}




.services-section {
  background-color: #f9f9f9;
  padding: 4rem 2rem;
  text-align: center;
}

.section-title {
  font-size: 2rem;
  color: #000043;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 3rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  align-items: stretch;
}

.service-card {
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  transition: transform 0.7s ease;
}

.service-card:hover {
  transform: translateY(-8px);
}

.service-card img {
  height: 60px;
  margin-bottom: 1rem;
}

.service-card h3 {
  color: #000043;
  margin-bottom: 0.5rem;
}

.service-card p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.5;
}

.projects-section {
  background-color: #fff;
  padding: 4rem 2rem;
  text-align: center;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.project-card {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.199);
  background: #fff;
  transition: transform 0.7s ease;
}

.project-card:hover {
  transform: translateY(-6px);
}

.project-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.project-info {
  padding: 1.2rem;
}

.project-info h3 {
  color: #000043;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.project-info p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.4;
}



.properties-section {
  background-color: #f8f9fb;
  padding: 4rem 2rem;
  text-align: center;
}

.properties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.property-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
  transition: transform 0.7s ease;
}

.property-card:hover {
  transform: translateY(-6px);
}

.property-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.property-info {
  padding: 1.2rem;
  text-align: left;
}

.property-info h3 {
  color: #000043;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.property-info p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.4;
  margin-bottom: 0.8rem;
}

.status {
  padding: 4px 10px;
  font-size: 0.8rem;
  border-radius: 5px;
  font-weight: 600;
}

.for-sale {
  background-color: #0eaa57;
  color: white;
}

.for-rent {
  background-color: #0078ff;
  color: white;
}



.contact-section {
  padding: 4rem 2rem;
  background-color: #f5f5f5;
  text-align: center;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-family: 'Poppins', sans-serif;
}

.contact-form textarea {
  resize: vertical;
}

.contact-info {
  text-align: left;
}

.contact-info h3 {
  color: #000043;
  margin-bottom: 0.5rem;
}

.contact-info p {
  margin: 0.5rem 0;
  font-size: 0.95rem;
  color: #444;
}

.contact-info h4 {
  margin-top: 1.5rem;
  font-size: 1rem;
  color: #000043;
}

.social-icons {
  display: flex;
  gap: none;
}

.social-icons img {
  width: 24px;
  height: auto
}


.newsletter-section {
  padding: 4rem 2rem;
  color: white;
  text-align: center;
}

.newsletter-section .section-title {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.newsletter-section .section-subtitle {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  color: #000;
}

.newsletter-form {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  max-width: 600px;
  margin: auto;
}


.newsletter-form input,
.newsletter-form textarea{
  flex: 1;
  min-width: 250px;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-family: 'Poppins', sans-serif;
}
.newsletter-form textarea {
  border: 10px solid #000000;
}

.newsletter-form .btn.green {
  padding: 12px 24px;
}


.site-footer {
  background-color: #000043;
  color: white;
  padding: 3rem 1rem 2rem;
  font-family: 'Poppins', sans-serif;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: auto;
}

.footer-col h4 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: #ffffff;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
}

.footer-col ul li a {
  color: #cccccc;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-col ul li a:hover {
  color: white;
}

.footer-col .logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-col .logo img {
  height: 40px;
}

.footer-col .brand-name {
  font-size: 1.3rem;
  font-weight: 700;
}

.social-icons a img {
  width: 22px;

  transition: 0.3s ease;
}

.social-icons a:hover img {
  opacity: 1;
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  font-size: 0.9rem;
  color: #cccccc;
  border-top: 1px solid #333;
  margin-top: 2rem;
}


/* Services Page Layout */



.service-category {
  padding: 3rem 2rem;
  border-bottom: 1px solid #eee;
}

.service-image1 {
  margin: 0;
  padding: 0;
  position: relative;
  height: 400px; 
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  background: linear-gradient(rgba(86, 86, 127, 0.6), rgba(86, 86, 127, 0.6)),
url('homepage/real estate.png') center/cover no-repeat;
}

.service-image2 {
  margin: 0;
  padding: 0;
  position: relative;
  height: 400px; /* adjust as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  background: linear-gradient(rgba(86, 86, 127, 0.6), rgba(86, 86, 127, 0.6)),
url('homepage/property 2.jpeg') center/cover no-repeat;
}
.service-image3 {
  margin: 0;
  padding: 0;
  position: relative;
  height: 400px; /* adjust as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  background: linear-gradient(rgba(86, 86, 127, 0.6), rgba(86, 86, 127, 0.6)),
url('homepage/rentals.png') center/cover no-repeat;
}
.service-image4 {
  margin: 0;
  padding: 0;
  position: relative;
  height: 400px; /* adjust as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  background: linear-gradient(rgba(86, 86, 127, 0.6), rgba(86, 86, 127, 0.6)),
url('homepage/building2.png') center/cover no-repeat;
}

.service-image5 {
  margin: 0;
  padding: 0;
  position: relative;
  height: 400px; /* adjust as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  background: linear-gradient(rgba(86, 86, 127, 0.6), rgba(86, 86, 127, 0.6)),
url('homepage/road2.png') center/cover no-repeat;
}

.service-category h2 {
  font-size: 1.8rem;
  color: #000043;
  margin-bottom: 0.5rem;
}

.service-category p {
  max-width: 700px;
  color: #555;
  margin-bottom: 2rem;
}

/* Subcategory Cards */
.subcategory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.subcategory-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  padding: 1.5rem;
  text-align: left;
  transition: transform 0.3s ease;
}

.subcategory-card:hover {
  transform: translateY(-5px);
}

.subcategory-card h3 {
  color: #000043;
  margin-bottom: 0.5rem;
}

.subcategory-card p {
  color: #666;
  font-size: 0.95rem;
}




/* =========================
   Projects Page Styling
========================= */

/* Hero Banner */
.projects-hero {
  background: url('images/project-hero.jpg') center/cover no-repeat;
  color: white;
  text-align: center;
  padding: 5rem 2rem;
}

.projects-hero .hero-content {
  max-width: 700px;
  margin: auto;
}

.projects-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.projects-hero p {
  font-size: 1.1rem;
  color: #ddd;
}

/* Category Sections */
.project-category {
  padding: 3rem 2rem;
  border-bottom: 1px solid #eee;
}

.project-category h2 {
  font-size: 1.8rem;
  color: #000043;
  margin-bottom: 0.5rem;
}

.project-category p {
  max-width: 700px;
  color: #555;
  margin-bottom: 2rem;
}

/* Project Cards Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.project-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
}

.project-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.project-info {
  padding: 1rem;
}

.project-info h3 {
  color: #000043;
  margin-bottom: 0.3rem;
  font-size: 1.2rem;
}

.project-info p {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 0.5rem;
}

.project-meta {
  font-size: 0.85rem;
  color: #777;
}

/* CTA Banner */
.cta-banner {
  text-align: center;
  background-color: #ffffff;
  color: #000043;
  padding: 3rem 2rem;
}

.cta-banner h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.cta-banner p {
  margin-bottom: 1.5rem;
}

.cta-banner .btn {
  background: #000043;
  color: #ffffff;
  padding: 0.8rem 1.5rem;
  border-radius: 5px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease;
}

.cta-banner .btn:hover {
  background: #ddd;
}

/* Properties Page Hero */
.properties-hero {
  background: url('images/property-hero.jpg') center/cover no-repeat;
  color: white;
  text-align: center;
  padding: 5rem 2rem;
}

.properties-hero .hero-content {
  max-width: 700px;
  margin: auto;
}

.properties-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.properties-hero p {
  font-size: 1.1rem;
  color: #000000;
}

/* Properties Grid */
.properties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.property-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.property-card:hover {
  transform: translateY(-5px);
}

.property-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.property-info {
  padding: 1.2rem;
  text-align: left;
}

.property-info h3 {
  color: #000043;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.property-info p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.4;
  margin-bottom: 0.8rem;
}

/* Status Badges */
.status {
  padding: 4px 10px;
  font-size: 0.8rem;
  border-radius: 5px;
  font-weight: 600;
}

.for-sale {
  background-color: #0eaa57;
  color: white;
}

.for-rent {
  background-color: #0078ff;
  color: white;
}





.contact-page h1, h2 {
  color: #000043;
  text-align: center;
  margin-top: 20px;
}

.contact-page p {
  line-height: 1.6;
  text-align: center;
}

.contact-page form {
  max-width: 600px;
  margin: 20px auto;
  background: #ddd;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.contact-page label {
  display: block;
  margin: 10px 0 5px;
  font-weight: bold;
}

.contact-page input, textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
}

.contact-page textarea {
  resize: none;
  height: 120px;
}

.contact-page button {
  background: #000043;
  color: white;
  padding: 10px 16px;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
}

.contact-page button:hover {
  background: #1a1a75;
}

.contact-details {
  max-width: 600px;
  margin: 20px auto;
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.contact-page {
  padding-left: 30px;
  padding-right: 30px;
}