/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* font-family:  monospace; */
}

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu,
    sans-serif;
  line-height: 1.6;
  color: #333;
}

.text-bold {
  font-weight: bold;
}

.text-italic {
  font-style: italic;
}
.mt-2 {
  display: block;
  margin-top: 8px;
}

/* Header Styles */
.main-header {
  padding: 0 1rem;
  background: white;
  /* box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000; */
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  height: 150px;
  width: auto;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-list a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
  transition: color 0.3s ease;
}

.nav-list .current_page_item a {
  color: #f0b429;
  font-weight: 700;
}

.mobile-menu-btn {
  display: none;
}

/* Hero Section */
.hero {
  margin-top: 80px;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  max-width: 1400px;
  min-height: 100vh;
  margin: 0px auto;
  /* min-height: 100vh; */
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero h1 {
  font-size: 3.5rem;
  line-height: 1.2;
}

.highlight {
  color: #f0b429;
}

.hero-right-content {
  display: grid;
  grid-column: 2 / 4;
  grid-template-rows: repeat(12, 1fr);
  /* grid-template-rows: max-content; */
}

.hero-carousel-container {
  grid-row: 1 / 9;
  grid-column: 2 / 3;
  max-width: 700px;
}

.hero-carousel {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: repeat(8, 1fr);
  border-radius: 10px;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

.carousel-item:first-child {
  z-index: 30;
  grid-area: 1 / 1 / 6 / 6;
}

.carousel-item:nth-child(2) {
  z-index: 20;
  grid-area: 2 / 2 / 7 / 7;
}

.carousel-item:nth-child(3) {
  grid-area: 3 / 3 / 8 / 8;
  z-index: 10;
}

.cta-button-container {
  grid-column: 2 / last;
  grid-row: 9 / last;
  position: relative;
  display: flex;
  z-index: 1000;
  justify-content: end;
}
.cta-button {
  display: inline-block;
  padding: 1rem 2rem;
  background: #f0b429;
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  align-self: flex-start;
  transition: background 0.3s ease;
}

/* About Section */
.about {
  padding: 4rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1400px;
  margin: 0 auto;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about h2 {
  font-size: 2.5rem;
  color: #333;
}

.tagline {
  font-size: 1.25rem;
  color: #f0b429;
  font-weight: 500;
}

/* Build Homes Section */
.build-homes {
  padding: 4rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1400px;
  margin: 0 auto;
  align-items: center;
}

.build-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.build-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

/* Services Section */
.services {
  background-color: #000066;
  color: white;
  padding: 4rem 2rem;
}

.services h2 {
  text-align: center;
  margin-bottom: 1rem;
  font-size: 2.5rem;
}

.services-intro {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
  color: #cccccc;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.service-card {
  background-color: white;
  color: #333;
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card img {
  width: 60px;
  height: 60px;
  margin-bottom: 1rem;
}

.service-card h3 {
  margin-bottom: 1rem;
  color: #000066;
}

.service-card .see-more {
  display: inline-block;
  margin-top: 1rem;
  color: #f0b429;
  text-decoration: none;
  font-weight: 500;
}

/* Our Work Section */
.our-work {
  padding: 4rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.our-work h2 {
  text-align: center;
  margin-bottom: 3rem;
}

/*Work gallery*/
.work-gallery {
  display: grid;
  grid-template-columns: repeat(37, 1fr);
  gap: 1.2rem;
  margin-bottom: 2rem;
}
.work-gallery img:first-child {
  /* border-radius: 50%; */
  grid-column: 1 / span 11;
  grid-row: 1 / 3;
  height: 100%;
}
.work-gallery img:nth-child(2) {
  grid-column: 12 / span 8;
}
.work-gallery img:nth-child(3) {
  grid-column: 20 / span 18;
}
.work-gallery img:nth-child(4) {
  grid-column: 12 / span 18;
}
.work-gallery img:nth-child(5) {
  grid-column: 30 / span 8;
}
/* .work-gallery .secondary {
  grid-column: 2fr;
} */

.work-gallery img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 30px;
  transition: transform 0.3s ease;
}

.work-gallery img:hover {
  transform: scale(1.05);
}

.see-more-btn {
  display: block;
  text-align: center;
  margin: 2rem auto;
  padding: 1rem 2rem;
  background: #f0b429;
  color: white;
  text-decoration: none;
  border-radius: 50px;
  width: fit-content;
}

/* Get Started Section */
.get-started {
  background: linear-gradient(90deg, #000066, #0000cc);
  color: white;
  padding: 4rem 2rem;
  text-align: center;
}

.get-started-content {
  max-width: 600px;
  margin: 0 auto;
}

.get-started h2 {
  margin-bottom: 1rem;
  font-size: 2.5rem;
}

.quote-button {
  display: inline-block;
  margin-top: 2rem;
  padding: 1rem 3rem;
  background: #f0b429;
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
}

/* Testimonials Section */
.testimonials {
  padding: 4rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.testimonials h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  text-align: center;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.testimonial-card img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-bottom: 1rem;
  object-fit: cover;
}

.testimonial-card h3 {
  margin-bottom: 0.5rem;
  color: #000066;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1rem;
}

.rating {
  color: #f0b429;
  font-size: 1.2rem;
}

/* Footer Styles */
/* Footer */
footer {
  background: #0a0a3d;
  color: white;
  padding: 3rem 0 2rem;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  margin-bottom: 1rem;
  color: white;
}

.footer-section p,
.footer-section a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: #87ceeb;
}

.company-info {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.company-logo {
  background: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  width: 35px;
  height: 35px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.social-links a:hover {
  background: rgba(255, 255, 255, 0.2);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
}
.center-text {
  text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
  .footer_banner {
  	flex-direction: column;
  }
  .mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
  }

  .mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background: #333;
    margin: 5px 0;
    transition: 0.3s;
  }

  .nav-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }

  .nav-list.active {
    display: flex;
  }

  .hero,
  .about {
     display: flex;
     flex-direction: column;
    #grid-template-columns: 1fr;
    #text-align: center;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-carousel-container {
    min-width: fit-content;
    max-width: fit-content;
  }

  .carousel-item {
    left: 0 !important;
  }

  .carousel-item img {
    width: 90vw !important;
    height: 60vw;
    box-shadow: black 0px 0px 20px -5px;
  }

  .cta-button {
    align-self: center;
  }

  .cta-button-container {
    width: 90vw;
    justify-content: center;
  }

  .about {
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
  }

  .hero > span {
    margin-top: 5vw;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-carousel-container {
    min-width: fit-content;
    max-width: fit-content;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(8, 1fr) !important;
  }

  .carousel-item:first-child {
    grid-area: 1 / 1 / 6 / 2;
  }

  .carousel-item:nth-child(2) {
    grid-area: 2 / 1 / 7 / 2;
  }

  .carousel-item:nth-child(3) {
    grid-area: 3 / 1 / 8 / 2;
  }

  .carousel-item img {
    width: 90vw !important;
    height: 60vw;
    box-shadow: black 0px 0px 20px -5px;
  }
  .cta-button-container {
    width: 90vw;
    justify-content: center;
  }

  .about {
    padding: 2rem 1rem;
  }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .build-homes {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .company-info {
    justify-content: center;
  }

  .social-links {
    justify-content: center;
  }
}

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

  .work-gallery {
    grid-template-columns: 1fr !important;
  }
  .work-gallery > img {
    grid-column: auto !important;
    grid-row: auto !important;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}
