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

/* Color variables aligned with index.html */
:root {
  --black: #111;
  --dark-grey: #1f1f1f;
  --beige: #e8dcc6;
}

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  /* page background + text color follow index.html theme */
  background-color: var(--dark-grey);
  color: var(--beige);
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--beige);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 30px;
  z-index: 100;
}

.logo {
  display: flex;
  align-items: center;
  color: var(--black);
  font-size: 1.3rem;
  font-weight: bold;
}

.logo img {
  width: 30px;
  margin-right: 10px;
}

/* 🔹 Nav Links */
.nav-links {
  display: flex;
  list-style: none;
  gap: 40px;
  margin: 0;
  padding: 0;
}

.nav-links a {
  position: relative;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  color: var(--black);
  transition: color 0.3s ease;
  white-space: nowrap;
}



/* Hover underline */
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: var(--black);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s ease;
}

.nav-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* 🔹 Active link */
.nav-links a.active {
  color: #235a91;
}

#moving a {
  color: #7d1ca6;
  display: inline-block;
  position: relative;
  animation: thrill 1s infinite;
}

@keyframes thrill {
  0% {
    transform: translateX(0);
  }

  20% {
    transform: translateX(-2px);
  }

  40% {
    transform: translateX(2px);
  }

  60% {
    transform: translateX(-2px);
  }

  80% {
    transform: translateX(2px);
  }

  100% {
    transform: translateX(0);
  }
}


/* Hamburger button */
.hamburger {
  width: 35px;
  height: 28px;
  display: var(--beige);
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  padding: 6px;
  z-index: 1001;
}

.hamburger span {
  height: 3px;
  width: 100%;
  background: var(--black);
  border-radius: 3px;
  transition: all 0.4s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translateY(10px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-10px);
}

.hero-section {
  position: relative;
  min-height: 580px;
  height: 100vh;
  display: flex;
  align-items: center;
  text-align: center;
  overflow: hidden;
  padding: 0 20px;
  z-index: 1;
  margin-top: 0;
  /* Remove gap between navbar and hero image */
}

@keyframes bgZoom {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.1);
  }
}

.custom-shape-divider-bottom-1762782157 {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);
}

.custom-shape-divider-bottom-1762782157 svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 96px;
}

.custom-shape-divider-bottom-1762782157 .shape-fill {
  fill: #d2cfdd;
}

.hero-text h1,
.hero-text h3,
.hero-text p,
.hero-buttons {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s ease forwards;
}

.hero-text {
  max-width: 800px;
  z-index: 2;
  padding: 20px;
  text-align: left;
}

@media (max-width: 768px) {
  .hero-text {
    text-align: left;
    /* hero text left aligned on smaller screens */
  }
}

.hero-text h1 {
  font-size: clamp(2.5rem, 10vw, 4rem);
  color: var(--beige);
  font-weight: 700;
  margin-bottom: 10px;
  animation-delay: 0.2s;
}

.hero-text .highlight {
  color: beige !important;
}

#name {
  color: #101011;
}

.hero-text h3 {
  font-size: clamp(1rem, 3vw, 1.6rem);
  color: rgba(232, 220, 198, 0.9);
  /* soft beige */
  margin: 15px 0;
  animation-delay: 0.4s;
}

.hero-text p {
  max-width: 600px;
  margin: 0 auto 40px auto;
  color: var(--beige);
  font-size: 1rem;
  line-height: 1.6;
  animation-delay: 0.8s;
  letter-spacing: 0.04rem;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-button button {
  padding: 12px 32px;
  border-radius: 40px;
  font-size: 1rem;
  cursor: pointer;
  border: 1px solid rgba(130, 28, 28, 0.08);
  background: var(--beige);
  color: var(--black);

  transition:
    background 280ms ease,
    border-color 280ms ease,
    transform 280ms ease,
    box-shadow 280ms ease;
}

.hero-button button:hover {
  background: rgba(28, 201, 80, 0.534);
  border-color: rgba(255, 255, 255, 0.7);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(69, 169, 54, 0.568);
}

.hero-button button a {
  text-decoration: none;
  color: var(--black);
}


.scroll-indicator {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  animation: bounce 1.5s infinite;
}

.scroll-indicator img {
  width: 250%;
  height: auto;
}

@keyframes bounce {

  0%,
  100% {
    transform: translate(-50%, 0);
  }

  50% {
    transform: translate(-50%, 8px);
  }
}

/*about section*/


.about {
  padding: 100px 8%;
  background-color: var(--dark-grey);
  position: relative;
  overflow: hidden;
}

.about-overlay {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  max-width: 1200px;
  margin: auto;
}

.about-img img {
  position: relative;
  width: 100%;
  max-width: 460px;
  border-radius: 18px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  transition: transform 0.4s ease;
  z-index: 1;
}

.about-img img:nth-child(2) {
  width: 100%;
  max-width: 350px;
  margin-top: -5rem;
  margin-left: 10rem;
  z-index: 10;
  transition: transform 0.4s ease;
}

.about-img img:hover {
  transform: scale(1.05);
  z-index: 10;
  /* ensures hovered image stays on top */
}

.about-text h2 {
  font-size: 3rem;
  font-weight: 700;
  color: var(--beige);
  margin-bottom: 30px;
  /* text-shadow: 2px 2px 1rem #90b8f5; */
}

.about-text p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--beige);
  margin-bottom: 45px;
}

/* Stats */
.about-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.stat {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: var(--black);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  align-content: center;
  /* 🟢 this centers the text vertically */
  transition: transform 0.3s ease;
}

.stat:hover {
  transform: translateY(-8px) scale(1.05);
}

.stat h3 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--beige);
}

.stat p {
  font-weight: 500;
  font-size: 0.7rem;
  color: white;
  margin: -2px;
}


/* Third Section */


.third-sec {
  position: relative;
  padding: clamp(40px, 8vw, 100px) 6%;
  color: #fff;
  overflow: hidden;
  margin: auto;
  border-radius: 1rem;
}

.third-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  z-index: -2;
}

.third-sec::after {
  content: "";
  width: 100%;
  height: 100%;
  background-color: #111;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  opacity: 0.6;
}

.third-overlay {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
}

.thirdsec-left {
  position: relative;
  left: -30;
}

.thirdsec-left h3 {
  font-size: 3rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
  color: #fff;
}

.thirdsec-left .subtitle {
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 20px;
  color: #37b162;
  position: relative;
  display: inline-block;
}

.thirdsec-left .subtitle::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(to right, #1a915f, #111);
  margin-top: 8px;
  border-radius: 2px;
  margin-left: auto;
  margin-right: auto;
}

.third-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  justify-items: center;
}

.thirdsec-card {
  background-color: #eee;
  padding: 30px 20px;
  border-radius: 19px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  width: 100%;
  max-width: 350px;
  height: auto;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.thirdsec-card.active {
  opacity: 1;
  transform: translateY(0);
}

.thirdsec-card img {
  border-radius: 50%;
  background-color: #3ba85d;
  padding: 5px;
  width: 40px;
  height: 40px;
  margin-bottom: 15px;
}

.thirdsec-card h4 {
  font-size: clamp(1rem, 5vw, 2rem);
  margin-bottom: 10px;
  color: #19b067;
}

.thirdsec-card p {
  font-size: clamp(0.7rem, 2.5vw, 1.3rem);
  line-height: 1.6;
  color: #111;
}

.thirdsec-card:hover {
  transform: translateY(-12px) scale(1.05);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
  border: 1px solid #111;
}

.thirdsec-card:hover img {
  transform: rotate(8deg) scale(1.1);
}

/* SECTION WRAPPER */

.fixlab-expert-section {
  padding: 64px 6%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
  color: #eee;
}

.fixlab-expert-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  gap: 20px;
  width: 100%;
}

.heading-left {
  flex: 1;
}

.heading-left h2 {
  font-size: 20px;
  font-weight: 600;
  color: #111;
  letter-spacing: 2px;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.heading-left h1 {
  font-size: 38px;
  font-weight: 800;
  color: #1f9956;
  /* text-shadow: 2px 2px 1rem #abccfd; */

  margin-bottom: 10px;
}

.heading-left .line {
  width: 70px;
  height: 4px;
  border-radius: 3px;
  background: linear-gradient(to right, #f6f4fc, #111);
  margin-top: 5px;
}

.heading-right {
  flex-shrink: 0;
}

.heading-right button a {
  text-decoration: none;
  color: #fff;
}

.work-btn {
  background: linear-gradient(hsl(146, 58%, 45%), #0f8b59);
  color: #fff;
  border: none;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px hsl (217, 91%, 65%);
}

.work-btn:hover {
  background: linear-gradient(#4ad869, hsl(145, 70%, 30%));
  box-shadow: 0 6px 18pxhsl (217, 91%, 65%);
  transform: translateY(-2px);
}



/* SWIPER CONTAINER — keep unique class to avoid conflicts */

.fixlab-swiper {
  width: 100%;
  padding-bottom: 12px;
  box-sizing: border-box;
}

.swiper-wrapper {
  display: flex;
}

.swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* make the scrollbar narrower and centered (so it visually sits under cards) */
.fixlab-swiper .swiper-scrollbar {
  position: relative;
  width: 10%;
  height: 8px;
  margin: 14px auto 0;
  border-radius: 8px;
}

.fixlab-swiper .swiper-scrollbar-drag {
  background: #1a9143;
  border-radius: 8px;
  height: 100%;
}

.fixlab-expert-section,
.fixlab-expert-heading {
  background-color: #f6f4fc;
}

.fixlab-card {
  width: 280px;
  height: 320px;
  margin: 0 auto;
  background: white;
  color: #eee;
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 10px 30px var(--card-shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  box-sizing: border-box;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  border: 1px solid rgb(204, 203, 203);
}

.fixlab-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.fixlab-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: white;
  display: grid;
  place-items: center;
  border: 2px solid #111;
  padding: 6px;
}

.fixlab-icon svg {
  width: 34px;
  height: 34px;
  display: block;
}

.fixlab-card h3 {
  margin: 4px 0 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: #1bac5c;
}

.fixlab-card p {
  margin: 8px 0 0;
  font-size: 0.95rem;
  color: #15273C;
  line-height: 1.5;
  text-align: center;
}


/* Fifth Section */
.fifthsec-head h3 {
  color: var(--beige) !important;
}

/* 2️⃣ Team cards hover → VERY LIGHT GREEN */
.fifthsec-card:hover .fifth-text {
  background-color: rgba(162, 241, 84, 0.692) !important;
  color: var(--black) !important;
}

.fifth-section {
  position: relative;
  padding: 50px 0 70px 0;
}

.fifth-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-position: center;
  z-index: -2;
  border-radius: 1rem;
}

.fifth-section::after {
  content: "";
  width: 100%;
  height: 100%;
  background-color: #111;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  opacity: 0.7;
  border-radius: 1rem;
}

.fifthsec-head {
  text-align: center;
  color: #ffffff;
}

.fifthsec-head h3 {
  font-size: 3rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.fifthsec-head p {
  color: #72df6a;
  color: #1ac846;
  font-size: 1.35rem;
  margin: 0.5rem 0 0.5rem 0;
  padding: 0 25rem;
}

.fifth-cards {
  display: flex;
  justify-content: center;
  width: 90%;
  margin: 4rem auto 0 auto;
  gap: 3rem;
  flex-wrap: wrap;
}

.fifthsec-card {
  position: relative;
  width: 260px;
  cursor: pointer;
  height: 370px;
}

/* ===== FIX TEAM CARD IMAGE ZOOM ISSUE ===== */

.fifth-img {
  width: 100%;
  height: 100%;
  overflow: hidden;
  /* IMPORTANT */
  border-radius: 1.25rem;
}

.fifth-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* SAME ZOOM FOR ALL */
  object-position: center;
  /* SAME FOCUS POINT */
  position: absolute;
  top: 0;
  left: 0;
}

/* Optional fine tuning */
.fifthsec-card:nth-child(1) img {
  object-position: center top;
}

/* Optional fine tuning */
.fifthsec-card:nth-child(3) img {
  object-position: center bottom;

}

.fifth-img::after {
  content: "";
  width: 100%;
  height: 50%;
  background: linear-gradient(to bottom, transparent, rgba(51, 233, 97, 0.5));
  position: absolute;
  bottom: 0;
  left: 0;
  border-radius: 1.25rem;
}

.fifth-text {
  text-align: center;
  position: absolute;
  width: 100%;
  height: 25%;
  bottom: 0rem;
  color: black;
  align-content: center;
  border-radius: 1.25rem;
  padding: 1rem;
  overflow: hidden;
  transition: all 0.4s linear;
}

.fifth-text h3 {
  font-size: 1.3rem;
}

.detail {
  display: none;
  padding-top: 1rem;
}

.fifthsec-card:hover .detail {
  display: block;
  color: #62e659;
}

.fifthsec-card:hover .fifth-text {
  height: 100%;
  background-color: rgba(72, 224, 69, 0.669);
  color: #85d63a;
}

.fifthsec-card:hover .fifth-text p:nth-child(2) {
  padding-left: 5rem;
}

.see-btn {
  text-align: center;
  margin-top: 3rem;
}

.fifth-section a {
  padding: 12px 35px;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid #fff;
  color: #fff;
  background-color: transparent;
  text-decoration: none;
}

.fifth-section a:hover {
  background-color: #47b434;
  border: 1px solid #31d341;
  color: rgb(62, 168, 61);
}

.sixth-section {
  background-color: #83d640;
  color: beige;
  padding: 90px 0 70px 0;
  text-align: center;
}

.sixth-section h4 {
  font-size: 2.9rem;
}

.sixth-section h4:nth-child(1) {
  color: #1cd751;
  text-transform: uppercase;
}

.sixth-section h4:nth-child(2) {
  font-size: 2.5rem;
  color: beige;
  text-transform: uppercase;
}

.sixth-section p {
  color: #54a540;
  font-size: 1.3rem;
  padding: 0 20rem;
  margin: 1.2rem 0 3.5rem 0;
}

.sixth-section a {
  padding: 0.8rem 1.8rem;
  background-color: #16ba4a;
  color: white;
  border-radius: 30px;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.4s linear;
}

.sixth-section a:hover {
  background-color: #449c5d;
  box-shadow: 0 8px 15px rgba(67, 179, 100, 0.589);
  transition: all 0.4s linear;
}

/* 3️⃣ See All button → BEIGE bg + BLACK text */
.see-btn a {
  background-color: var(--beige) !important;
  color: var(--black) !important;
  border: none !important;
  box-shadow: 0 6px 18px rgba(124, 214, 40, 0.45);
  transition: all 0.3s ease;
}

/* Hover → GREEN + GREEN SHADOW */
.see-btn a:hover {
  background-color: #7ec23f !important;
  color: var(--black) !important;
  box-shadow: 0 10px 25px rgba(116, 194, 44, 0.65);
  transform: translateY(-2px);
}

/* Footer */

footer {
  background-color: #111;
  color: #eee;
  align-content: center;
  padding: 0.5rem 0;

}

.foot-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 90%;
  margin: 0 auto;
  justify-items: center;
}

.foot-columns ul li {
  list-style: none;
  padding: 0.5rem 0;
  font-size: 0.9rem;
}

.foot-columns ul li a {
  text-decoration: none;
  color: #ddd;
}

.foot-columns ul li a:hover {
  color: hsl(131, 70%, 31%);
}

.footer-column2,
.footer-column3 {
  padding: 2rem 0 0.7rem 0;
  letter-spacing: 0.05rem;
}

.footer-column1 {
  text-align: center;
  align-self: start;
}

.footer-column1 img {
  width: 250px;
  height: auto;
  /* controlled size */
  margin-top: 0;
  margin-bottom: 10px;
}

.footer-column1 h4 {
  margin-top: -4rem;
}

.footer-column1 p {
  padding: 1rem 0;
  font-size: 0.9rem;
  color: beige;
}

.footcol-para {
  font-size: 1.05rem;
  font-weight: 600;
}

#foot-email a {
  color: beige;
}

#foot-contact i {
  background-color: beige;
  font-size: 1rem;
  margin-right: 0.6rem;
  color: #111;
  padding: 5px;
  border-radius: 50%;
  transition: all 0.5s ease-in-out;
}

#foot-contact i:hover {
  rotate: 13deg;
}

.foot-para {
  text-align: center;
  font-size: 0.85rem;
  color: #aaa;
}

@media (max-width: 1290px) {
  .fixlab-card {
    width: 250px;
    height: 300px;
  }

  .fixlab-swiper .swiper-scrollbar {
    width: 14%;
  }

  .fifthsec-head p {
    padding: 0 19rem;
  }

  .sixth-section p {
    padding: 0 14rem;
  }

  .footer-column1 h4 {
    margin-top: -3rem;
  }
}

@media (max-width: 1024px) {
  .about {
    padding: 0;
    margin: 10px;
  }

  .about-section {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 60px 20px;
  }

  .about-left h1 {
    font-size: 2.2rem;
  }

  .about-right {
    padding: 25px;
  }

  .about-line {
    margin: 15px auto;
  }

  .about-overlay {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-text {
    margin-top: 30px;
  }

  .about-stats {
    justify-content: center;
  }

  .fixlab-card {
    width: 250px;
    height: 300px;
  }

  .fixlab-swiper .swiper-scrollbar {
    width: 14%;
  }

  .fifth-cards {
    justify-content: space-evenly;
  }

  .fifthsec-head p {
    padding: 0 12rem;
  }

  .sixth-section p {
    padding: 0 7rem;
  }

  .footer-column1 h4 {
    margin-top: -2.5rem;
  }

  .footer-column1 img {
    margin-top: -0.5rem;
  }
}

@media (max-width: 768px) {
  .nav-links a {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
  }

  nav {
    padding: 10px 9px;
  }

  .logo {
    font-size: 2rem;
  }

  .logo span {
    display: none;
  }

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

  .hero-text h3 {
    font-size: 1.2rem;
  }

  .hero-text p {
    font-size: 0.9rem;
  }

  .third-overlay {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
  }

  .heading-left h1 {
    font-size: 1.3rem;
  }

  .fixlab-expert-heading {
    align-items: flex-start;
  }

  .fixlab-card {
    width: 86%;
    max-width: 420px;
    height: auto;
    padding: 20px;
  }

  .fixlab-swiper .swiper-scrollbar {
    width: 92%;
  }

  .heading-right {
    align-self: flex-end;
  }

  .fifthsec-head p {
    padding: 0 6rem;
  }

  .sixth-section p {
    padding: 0 4rem;
  }

  .sixth-section h4 {
    font-size: 2.5rem;
  }

  .sixth-section h4:nth-child(2) {
    font-size: 2.3rem;
  }

  .foot-columns {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 0.5fr);
    text-align: center;
  }

  .footer-column1 img {
    width: 40%;
    margin-top: -1rem;
  }

  .foot-para {
    margin-top: 1rem;
  }
}

@media (max-width: 580px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    font-size: larger;
    position: fixed;
    top: 10vw;
    right: -100%;
    display: flex;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    background: black;
    color: white;
    width: 100%;
    height: 70vw;
    padding: 10px 20px;
    gap: 20px;
    transition: right 0.3s ease-in-out;
  }


  .nav-links a {
    position: relative;
    color: white;
    text-decoration: none;
    display: inline-block;
    padding-bottom: 6px;
  }

  .nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 100%;
    background-color: #0A66C2;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
  }

  /* touch / click effect */
  .nav-links a:active::after,
  .nav-links a:focus::after {
    transform: scaleX(1);
  }

  .nav-links.active {
    right: 0;
  }

  .fifth-section {
    height: auto;
  }

  .fifthsec-head p {
    padding: 0 2rem;
  }

  .fifthsec-head h3 {
    font-size: 2.3rem;
  }

  .team-line {
    width: 70px;
  }

  .fifthsec-head p {
    font-size: 1.1rem;
  }

  .sixth-section {
    padding: 90px 0 60px 0;
  }

  .sixth-section p {
    padding: 0 2rem;
    font-size: 1.2rem;
  }

  .sixth-section h4 {
    font-size: 2.1rem;
  }

  .sixth-section h4:nth-child(2) {
    font-size: 2rem;
  }

  .sixth-section button {
    padding: 0.8rem 1.6rem;
    font-size: 1rem;
  }
}

/* ===== MOBILE RIGHT-SIDE COMPACT HAMBURGER DRAWER ===== */
@media (max-width: 580px) {

  /* Drawer container */
  .nav-links {
    position: fixed !important;
    top: 10vh;
    /* not full screen, small top offset */
    right: -260px;
    /* hidden by default */
    width: 220px !important;
    /* compact drawer width */
    height: 60vh !important;
    /* partial height */
    padding: 20px 10px !important;
    background: linear-gradient(180deg, #f5f0e1 0%, #d4e157 100%) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    /* compact spacing between links */
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    transition: right 0.3s ease-in-out;
    z-index: 9999 !important;
  }

  /* Show drawer when active */
  .nav-links.active {
    right: 10px;
    /* slides in from right */
  }

  /* Menu links */
  .nav-links a {
    color: #1e7f43 !important;
    /* green text */
    font-size: 1rem !important;
    font-weight: 600 !important;
    text-align: center !important;
    margin: 4px 0 !important;
    /* compact vertical spacing */
    width: 100% !important;
    padding: 6px 0 !important;
  }

  /* Optional underline */
  .nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: #1e7f43 !important;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
  }

  .nav-links a:hover::after,
  .nav-links a:focus::after,
  .nav-links a:active::after {
    transform: scaleX(1);
  }
}

/* ============================= */
/* MOBILE FULL-SCREEN NAV DRAWER */
/* ============================= */
@media (max-width: 580px) {

  /* Hamburger stays visible */
  .hamburger {
    display: flex;
    z-index: 10001;
  }

  /* Full screen menu */
  .nav-links {
    position: fixed !important;
    inset: 0 !important;
    /* FULL SCREEN */
    width: 100vw !important;
    height: 100vh !important;
    opacity: 50 !important;
    background: #1b1b1ae3 !important;
    /* SOLID background */
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 22px !important;
    transform: translateX(100%);
    transition: transform 0.35s ease-in-out;
    z-index: 10000 !important;
  }

  /* When menu opens */
  .nav-links.active {
    transform: translateX(0);
  }

  /* Menu links */
  .nav-links li {
    list-style: none;
  }

  .nav-links a {
    color: var(--beige) !important;
    font-size: 1.4rem !important;
    font-weight: 600;
    text-decoration: none;
    position: relative;
  }

  /* Remove underline animation */
  .nav-links a::after {
    display: none !important;
  }

  /* Lock background scroll */
  body.menu-open {
    overflow: hidden;
  }
}

/* ================================= */
/* ✅ FINAL TEAM CARD FIX (SAFE) */
/* ================================= */

.fifthsec-card {
  position: relative;
  width: 260px;
  height: 370px;
  /* SAME HEIGHT */
  border-radius: 22px;
  /* ROUNDED CARD */
  overflow: hidden;
  /* IMPORTANT */
}

/* IMAGE WRAPPER */
.fifth-img {
  position: absolute;
  inset: 0;
  border-radius: 22px;
  overflow: hidden;
}

/* IMAGE ITSELF */
.fifth-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* SAME CROPPING */
  object-position: center;
  /* SAME FOCUS */
  display: block;
}

/* Optional fine tuning */
.fifthsec-card:nth-child(3) img {
  object-position: center bottom;
}

.fifthsec-card:nth-child(1) img {
  object-position: center top;
}


/* ===================================== */
/*  NAVBAR TEXT FIX (NO BREAK / NO WRAP) */
/* ===================================== */

.nav-links {
  flex-wrap: nowrap;
  /* prevents breaking */
}

.nav-links a {
  white-space: nowrap;
  /* keeps words on one line */
  font-size: 1rem;
}

.nav-links a {
  color: var(--black);
}

.nav-links a:hover {
  color: rgb(24, 171, 24);
}

@media (max-width: 900px) {
  .nav-links {
    gap: 22px;
    /* tighter spacing */
  }

  .nav-links a {
    font-size: 0.95rem;
  }
}

/* Contact text styling */
.bottom-footer p {
  font-size: 1.05rem;
  font-weight: 200;
  color: var(--beige);
  margin: 0;
  /* reset default margins */
  line-height: 1.6;
}

/* Center align footer copyright text */
.bottom-footer {
  text-align: center;
  font-size: 0.9rem;
  /* adjust size if needed */
  color: var(--beige);
  /* matches your footer theme */
  margin: 1rem 0 0 0;
  /* space above, no extra below */
  line-height: 1.6;
}

/* Default desktop styles already exist above */

/*  Small screens (phones) */
@media (max-width: 768px) {
  .foot-columns {
    grid-template-columns: 1fr;
    /* stack columns vertically */
    text-align: center;
  }

  .footer-contact-btn {
    width: 80%;
    font-size: 1rem;
    padding: 12px 20px;
    margin: 1rem auto;
    /* center and space out */
    display: block;
  }

  footer {
    padding: 1.5rem 1rem;
  }

  .footcol-para {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }
}

/*  Extra small screens (very narrow phones) */
@media (max-width: 480px) {
  .footer-contact-btn {
    width: 100%;
    font-size: 0.9rem;
    padding: 10px 16px;
  }

  .footcol-para {
    font-size: 0.9rem;
  }
}

/* ============ MOBILE NAV OVERRIDE (FORCE HIDDEN) ============ */
@media (max-width: 768px) {

  nav .nav-links {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;

    width: 100vw !important;
    height: 100vh !important;

    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;

    background-color: #2f2f2f !important;

    /* 🔒 HARD FORCE HIDE */
    transform: translateX(110%) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;

    transition: transform 0.35s ease, opacity 0.3s ease;
  }

  nav .nav-links.active {
    transform: translateX(0) !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }
}

/* ================= FIX HERO SECTION (MOBILE) ================= */
@media (max-width: 768px) {

  .hero-section {
    min-height: auto !important;
    height: auto !important;
    padding-top: 110px !important;
    /* space for fixed navbar */
    padding-bottom: 60px !important;
  }

  .hero-text {
    max-width: 100% !important;
    text-align: left;
  }

  .hero-text p {
    margin-bottom: 24px !important;
  }

  .hero-button {
    display: flex;
    justify-content: flex-start;
  }
}

/* ================= FIX ABOUT IMAGES (MOBILE) ================= */
@media (max-width: 768px) {

  .about-overlay {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }

  .about-img {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .about-img img {
    max-width: 90% !important;
    margin: 0 !important;
  }

  /* reset the overlapping second image */
  .about-img img:nth-child(2) {
    margin-top: 20px !important;
    margin-left: 0 !important;
  }
}

/* ================= NAVBAR VISIBILITY FIX ================= */

/* Desktop: always show nav links */
@media (min-width: 769px) {
  .nav-links {
    display: flex !important;
    position: static !important;
    transform: none !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }
}

/* Mobile: hide only until hamburger click */
@media (max-width: 768px) {
  .nav-links {
    display: flex !important;
    /* keep rendered */
    transform: translateX(100%);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
  }

  .nav-links.active {
    transform: translateX(0);
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }
}

/*  FINAL NAV OVERRIDE — FORCE DESKTOP LINKS VISIBLE */

/* DESKTOP + TABLET (>= 769px) */
@media (min-width: 769px) {
  nav .nav-links {
    display: flex !important;
    position: static !important;
    flex-direction: row !important;

    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;

    width: auto !important;
    height: auto !important;
    background: none !important;
  }

  nav .hamburger {
    display: none !important;
  }
}


/*  MOBILE ONLY (<= 768px) — HAMBURGER MODE */


@media (max-width: 768px) {
  nav .hamburger {
    display: flex !important;
    z-index: 10001 !important;
  }

  nav .nav-links {
    position: fixed !important;
    inset: 0 !important;

    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;

    background: #1b1b1a9d !important;

    transform: translateX(100%) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;

    transition: transform 0.35s ease, opacity 0.3s ease !important;
    z-index: 10000 !important;
  }


  nav .nav-links.active {
    transform: translateX(0) !important;
    opacity: 1 !important;
    visibility: visible !important;
    text-overflow: var(--beige) !important;
    pointer-events: auto !important;
  }
}

/*  MOBILE NAV LINK COLOR FIX */


@media (max-width: 768px) {

  /* Default link color → BEIGE */
  nav .nav-links a {
    color: var(--beige) !important;
    font-size: 1.4rem !important;
    font-weight: 600 !important;
    text-align: center !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
  }

  nav .nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    background-color: var(--beige) !important;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
  }

  /* Hover / active → GREEN */
  nav .nav-links a:hover,
  nav .nav-links a:focus,
  nav .nav-links a:active {
    color: #377b4b !important;
    /* green */
  }

}

/*  MOBILE NAV SPACING + UNDERLINE FIX */


@media (max-width: 768px) {

  /* Increase vertical spacing between links */
  nav .nav-links {
    gap: 30px !important;
    /* controls line spacing like screenshot */
  }

  /* Each link spacing consistency */
  nav .nav-links a {
    line-height: 1.8 !important;
    position: relative;
  }

  /* BEIGE underline on hover */
  nav .nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    background-color: var(--beige) !important;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
  }

  nav .nav-links a:hover::after,
  nav .nav-links a:focus::after,
  nav .nav-links a:active::after {
    transform: scaleX(1);
  }
}

/* Styling for the services multi-select dropdown */
#services {
  width: 100%;
  padding: 10px;
  font-size: 1rem;
  border: 1px solid var(--beige);
  border-radius: 5px;
  background-color: var(--dark-grey);
  color: var(--beige);
}

#services option {
  background-color: var(--dark-grey);
  color: var(--beige);
}

/* Styling for the services input and dropdown arrow */
#services-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 10px;
  font-size: 1rem;
  border: 1px solid var(--beige);
  border-radius: 5px;
  background-color: var(--dark-grey);
  color: var(--beige);
  cursor: pointer;
}

#services-input {
  flex: 1;
  border: none;
  background: transparent;
  color: var(--beige);
  outline: none;
}

#dropdown-arrow {
  margin-left: 10px;
  cursor: pointer;
  color: var(--beige);
}

#services-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: var(--dark-grey);
  border: 1px solid var(--beige);
  border-radius: 5px;
  padding: 10px;
  display: none;
  z-index: 10;
}

#services-dropdown label {
  display: block;
  color: var(--beige);
  margin-bottom: 5px;
  cursor: pointer;
}

#services-dropdown input {
  margin-right: 5px;
}

#services-dropdown.hidden {
  display: none;
}

#selected-count {
  margin-top: 5px;
  font-size: 0.9rem;
  color: var(--beige);
}

