*{
scroll-behavior: smooth;
}

.about-us-section {
  font-family: "Poppins", sans-serif;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px;
  gap: 20px;
}

.about-content {
  flex: 1;
  padding-right: 30px;
}

.about-heading {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 24px;
  color: black;
  text-align: center;
}

.about-paragraph {
  font-size: 1rem;
  line-height: 1.6;
  color: black;
  margin-bottom: 30px;
  text-align: justify;
}

.about-button {
  display: inline-block;
  padding: 5px 10px;
  font-size: 1rem;
  font-weight: 500;
  color: black;
  background-color: transparent;
  border: 2px solid black;
  border-radius: 15px 0 15px 0;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  text-decoration: none;
}

.about-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: black;
  transition: left 0.5s ease;
  z-index: -1;
}

.about-button:hover::before {
  left: 0;
}

.about-button:hover {
  color: #fff;
}

.about-image {
  flex: 1;
  max-width: 400px;
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

@media (max-width: 768px) {
  .about-us-section {
    flex-direction: column;
    text-align: center;
    padding: 40px 15px;
  }

  .about-content {
    padding-right: 0;
    margin-bottom: 30px;
  }

  .about-heading {
    font-size: 2rem;
  }

  .about-image {
    max-width: 100%;
  }
}

/* services */

.services-section {
  padding: 10px 10px;
  text-align: center;
  font-family: "Poppins", sans-serif;
}

.services-section h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  font-weight: 600;
}

.services-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.service-card {
  perspective: 1000px;
}

.service-card-inner {
  position: relative;
  width: 100%;
  height: 300px;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.service-card:hover .service-card-inner {
  transform: rotateY(180deg);
}

.service-card-front,
.service-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.service-card-front {
  background: #fff;
  display: flex;
  flex-direction: column;
}

.service-card-front img {
  width: 100%;
  height: 80%;
  object-fit: cover;
}

.service-card-front h3 {
  margin: 20px;
  font-size: 1rem;
  font-weight: 600;
}

.service-card-back {
  background: #185b92;
  color: #fff;
  transform: rotateY(180deg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  font-size: 1rem;
  text-align: left;
}

/* Responsive */
@media (max-width: 1024px) {
  .services-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .services-container {
    grid-template-columns: 1fr;
  }
  .service-card {
    margin-bottom: 20px;
  }
}

/* gallery */

.fier-gallery-section {
  padding: 10px 20px;
  text-align: center;
  font-family: "Poppins", sans-serif;
}

.fier-gallery-section h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  font-weight: 600;
}

.fier-gallery-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.fier-gallery-container img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s;
}

.fier-gallery-container img:hover {
  transform: scale(1.05);
}

/* Modal */
.fier-gallery-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
}

.fier-gallery-modal-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
}

.fier-gallery-modal-content img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.fier-gallery-close {
  position: absolute;
  top: -35px;
  right: -10px;
  font-size: 30px;
  color: #fff;
  cursor: pointer;
}

.fier-gallery-prev,
.fier-gallery-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 40px;
  color: #fff;
  cursor: pointer;
  padding: 10px;
  user-select: none;
}

.fier-gallery-prev {
  left: -50px;
}
.fier-gallery-next {
  right: -50px;
}

/* Responsive */
@media (max-width: 1024px) {
  .fier-gallery-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .fier-gallery-container {
    grid-template-columns: 1fr;
  }
}

/* review */

.fier-review-section {
  padding: 10px 20px;
  text-align: center;
  position: relative;
  font-family: "Poppins", sans-serif;
}

.fier-review-section h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  font-weight: 600;
}

.fier-review-slider {
  position: relative;
  overflow: hidden;
  max-width: 800px;
  margin: auto;
}

.fier-review-slides {
  display: flex;
  transition: transform 0.6s ease-in-out;
}

.fier-review-card {
  min-width: 100%;
  box-sizing: border-box;
  padding: 30px;
  background: #fff;
  border-radius: 12px;
  text-align: center;
}

.fier-review-card img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
}

.fier-review-name {
  font-size: 1.2rem;
  font-weight: 600;
}

.fier-review-designation {
  font-size: 0.9rem;
  color: black;
}

.fier-review-address {
  font-size: 0.9rem;
  color: black;
  margin-bottom: 15px;
}

.fier-review-text {
  font-size: 1rem;
  margin-bottom: 15px;
  color: #333;
}

.fier-review-stars {
  color: #ffd700;
  font-size: 1.2rem;
}

/* Controls */
.fier-review-prev,
.fier-review-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: black;
  color: #fff;
  font-size: 24px;
  padding: 10px;
  cursor: pointer;
  user-select: none;
}

.fier-review-prev {
  left: 10px;
}

.fier-review-next {
  right: 10px;
}

/* Dots */
.fier-review-dots {
  text-align: center;
  margin-top: 20px;
}

.fier-review-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 5px;
  background: black;
  border-radius: 50%;
  cursor: pointer;
}

.fier-review-dot.active {
  background: red;
}

/* FAQs */

@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap");

body {
  font-family: "Poppins", serif;
  margin: 0;
  padding: 0;
}

.fier-faq-section {
  display: flex;
  justify-content: center;
  align-items: stretch;
  padding: 10px 20px;
  gap: 0px;
}

.fier-faq-left,
.fier-faq-right {
  flex: 1;
  background: #fff;
  overflow: hidden;
}

.fier-faq-left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fier-faq-right {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.fier-faq-right h2 {
  text-align: center;
  margin-bottom: 20p4;
  font-size: 2rem;
  font-weight: 600;
}

.fier-faq-item {
  border-bottom: 1px solid #ddd;
  padding: 15px 10px;
  cursor: pointer;
  position: relative;
}

.fier-faq-question {
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
}

.fier-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: black;
  font-size: 0.95rem;
  font-weight: 500;
}

.fier-faq-item.active .fier-faq-answer {
  max-height: 200px;
  padding-top: 10px;
}

.fier-faq-icon {
  font-size: 20px;
  font-weight: bold;
  transition: transform 0.3s;
}

.fier-faq-item.active .fier-faq-icon::before {
  content: "-";
}

.fier-faq-icon::before {
  content: "+";
}

/* Responsive */
@media (max-width: 900px) {
  .fier-faq-section {
    flex-direction: column;
  }

  .fier-faq-left,
  .fier-faq-right {
    width: 100%;
    height: auto;
  }

  .fier-faq-left img {
    height: 300px;
  }
}

/* team */

body {
  margin: 0;
  font-family: "Poppins", sans-serif;
}

.team-section-nexbuild {
  padding: 10px 20px;
  text-align: center;
}

.team-section-nexbuild h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  color: black;
  font-weight: 600;
}

.team-cards-nexbuild {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.team-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.team-card:hover {
  transform: translateY(-10px);
}

.team-card img {
  width: 100%;
  height: 75%;
  object-fit: cover;
}

.team-info {
  padding: 20px;
}

.team-info h3 {
  margin: 0;
  font-size: 1rem;
  color: black;
  font-weight: 600;
}

.team-info p {
  margin: 5px 0 0;
  color: #666;
  font-size: 0.8rem;
  font-weight: 600;
}

/* partners */

    body {
      margin: 0;
      font-family: 'Poppins', sans-serif;
    }

    .partner-section-nexbuild {
      padding: 10px 20px;
      text-align: center;
      background: #fff;
    }

    .partner-section-nexbuild h2 {
      font-size: 2rem;
      margin-bottom: 40px;
      color: black;
      font-weight: 600;
    }

    .marquee-containers {
      overflow: hidden;
      position: relative;
      width: 100%;
    }

    .marquee-tracks {
      display: flex;
      width: max-content;
      animation: marquee 20s linear infinite;
    }

    .marquee-container:hover .marquee-tracks {
      animation-play-state: paused;
    }

    .marquee-tracks img {
      height: 150px;
      margin: 0 30px;
      transition: transform 0.3s ease;
    }

    .marquee-tracks img:hover {
      transform: scale(1.1);
    }

    @keyframes marquee {
      0% { transform: translateX(0); }
      100% { transform: translateX(-50%); }
    }