/* ----------------------------------------------- */

.home .about {
  width: 100%;
  height: 100%;

  display: flex;
  justify-content: center;
  align-items: center;

  background-color: #ffffff;
}
    
.home .about .container {
  height: auto;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 2rem;

  box-sizing: border-box;

  padding: 5rem 0;
}
 
.home .about .container .column {
  width: 100%;
  height: auto;
  max-height: auto;

  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;

  overflow: hidden;
}

.home .about .container .image-container {
  position: relative;
  width: 90%;
  height: 100%;
  max-height: 550px;

  z-index: 5;
}

.home .about .container img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  padding-top: 2rem;
}

.home .about .container .image-container .underlay {
  position: absolute;
  top: -5%;
  right: -10%;
  width: 100%;
  height: 100%;

  background-color: #58669fc5;

  z-index: -5;
}
 
.home .about .container .image-container .overlay {
  position: absolute;
  bottom: 4%;
  right: 5%;
  width: auto;
  height: auto;

  background-color: #232a42;
  border-left: 4px solid #58669f;

  display: flex;
  justify-content: center;
  align-items: center;

  padding: 1.5rem 2rem;
}

.home .about .container .image-container .overlay .text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.home .about .container .image-container .overlay .experience-stat__icon {
  font-size: 2rem;
  color: #58669f;
  line-height: 1;
}

.home .about .container .image-container .overlay .experience-stat__value {
  color: #ffffff;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  margin: 0;
}

.home .about .container .image-container .overlay .experience-stat__value span {
  font-size: 2rem;
}

.home .about .container .image-container .overlay .experience-stat__label {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 400;
  margin: 0;
}

.home .about .column .content {
  width: 100%;
  height: auto;

  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}

.home .about .column .card {
  width: 100%;
  height: auto;

  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;

  padding: 0rem;

  background-color: #fff;
}

.home .about .column .card p {
  font-size: 1.1rem;
  font-weight: 400;
  color: #000;

  padding: 0rem 0;
  padding-left: 0.2rem;

  display: none;
  line-height: 1.4 !important;

  transition: 5s ease;

  overflow: hidden;
}

.home .about .column .button {
  margin: 0.5rem 0;
  width: 100%;
  height: 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;

  background-color: #d3d3d333;
}

.home .about .column .button p {
  display: flex;
  font-size: 1.1rem;
  font-weight: 700;
  color: #18191f;

  padding: 1rem;
}

.home .about .column .button button {
  width: 50px;
  color: #ffffff;
  background-color: #000;

  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;

  padding: 0rem;
  border-radius: 0%;
  margin: 0;

  font-size: 1.8rem;
  font-weight: 500;

  text-decoration: none;
}

.home .about .column .button button:hover {
  background-color: #58669f !important;
  color: #ffffff;
  transition: 0.5s ease;
}

.home .about .container button {
  background-color: #58669f;
  margin-top: 1rem;
}

.button-small {
  display: none;
}

@media only screen and (max-width: 768px) {
  .home .about .container {
    display: flex;
    flex-direction: column-reverse;

    padding: 2rem 0;
  }

  .home .about .container .image-container {
    position: relative;
    width: 90%;
    max-height: auto;

    z-index: 5;
  }

  .button-large {
    display: none;
  }

  .button-small {
    display: flex;
    width: 100%;

    display: flex;
    justify-content: center;

    padding: 1.5rem 0 0.5rem 0;
  }

  .home .about .container .image-container .overlay {
    padding: 1.25rem 1.5rem;
  }

  .home .about .container .image-container .overlay .experience-stat__icon {
    font-size: 1.5rem;
  }

  .home .about .container .image-container .overlay .experience-stat__value {
    font-size: 2rem;
  }

  .home .about .container .image-container .overlay .experience-stat__value span {
    font-size: 1.6rem;
  }

  .home .about .container .image-container .overlay .experience-stat__label {
    font-size: 0.85rem;
  }
}



/* ----------------------------------------------- */
/* Recent blog posts (homepage) */
.home .recent-posts {
  width: 100%;
  background: #ffffff;
  display: flex;
  justify-content: center;
}

.home .recent-posts .container {
  margin: 0 auto;
  padding: 70px 0;
}

.home .recent-title {
  font-size: 1rem;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.7);
  margin-bottom: 18px;
  font-family: "Roboto", sans-serif !important;
}

.home .recent-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 28px;
  align-items: start;
}

.home .recent-featured,
.home .recent-mini {
  background: transparent;
}

.home .recent-featured-link {
  display: block;
  color: inherit;
}

.home .recent-featured-image {
  width: 100%;
  height: 340px;
  border-radius: 12px;
  object-fit: cover;
  display: block;
  background: #e7e9ee;
}

.home .recent-featured-body {
  margin-top: 18px;
}

.home .recent-meta {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.72);
  font-family: "Roboto", sans-serif !important;
}

.home .recent-title-row {
  margin-top: 10px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.home .recent-post-title {
  font-size: 1.55rem !important;
  font-weight: 700 !important;
  color: #000;
  line-height: 1.15 !important;
}

.home .recent-icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: #000;
  background: rgba(0, 0, 0, 0.05);
  flex: 0 0 auto;
}

.home .recent-excerpt {
  margin-top: 12px;
  color: rgba(0, 0, 0, 0.62);
  line-height: 1.5rem;
  max-width: 62ch;
  font-family: "Roboto", sans-serif !important;
}

.home .recent-tags {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.home .recent-tags .tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 0.8rem;
  font-weight: 600;
  background: rgba(88, 102, 159, 0.10);
  color: #58669f;
  border: 1px solid rgba(88, 102, 159, 0.18);
  font-family: "Roboto", sans-serif !important;
}

.home .recent-side {
  display: grid;
  gap: 22px;
}

.home .recent-mini-link {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 16px;
  align-items: start;
  color: inherit;
}

.home .recent-mini-image {
  width: 160px;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  display: block;
  background: #e7e9ee;
}

.home .recent-mini-title {
  margin-top: 8px;
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  color: #000;
  line-height: 1.2 !important;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home .recent-mini-excerpt {
  margin-top: 8px;
  color: rgba(0, 0, 0, 0.62);
  line-height: 1.35rem;
  font-family: "Roboto", sans-serif !important;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media only screen and (max-width: 1024px) {
  .home .recent-grid {
    grid-template-columns: 1fr;
  }

  .home .recent-mini-link {
    grid-template-columns: 180px 1fr;
  }

  .home .recent-mini-image {
    width: 180px;
  }
}

@media only screen and (max-width: 640px) {
  .home .recent-posts .container {
    padding: 50px 0;
  }

  .home .recent-featured-image {
    height: 260px;
  }

  .home .recent-mini-link {
    grid-template-columns: 110px 1fr;
    gap: 14px;
  }
 
  .home .recent-mini-image {
    width: 110px;
    height: 86px;
  }
}

/* ---------------WHAT WE DO----------------------- */
.home .what-we-do {
  width: 100%;
  background-color: #ffffff;
  padding: 4.5rem 0;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.home .what-we-do::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("https://isopanelskenya.com/wp-content/uploads/2026/06/jruj_tgza_211129-scaled.jpg") no-repeat center center;
  background-size: cover;
  z-index: 1;
  opacity: 0.02;
}

.home .what-we-do > * {
  position: relative;
  z-index: 2;
}

.home .what-we-do .container {
  width: 90%;
  max-width: 1400px;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.home .what-we-do__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
}

.home .what-we-do__nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.home .what-we-do__nav--header {
  display: flex;
}

.home .what-we-do__nav--footer {
  display: none;
}

.home .what-we-do__intro {
  max-width: 720px;
}

.home .what-we-do__heading {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: #000000;
}

.home .what-we-do__lead {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(0, 0, 0, 0.82);
}

.home .what-we-do-swiper {
  width: 100%;
  overflow: hidden;
}

.home .what-we-do-swiper .swiper-slide {
  height: auto;
  display: flex;
}

.home .what-we-do__card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding-right: 1.5rem;
}

.home .what-we-do__card-link {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  height: 100%;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.home .what-we-do__card-link:hover h3,
.home .what-we-do__card-link:focus-visible h3 {
  color: #58669f;
}

.home .what-we-do__icon {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background-color: #58669f;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.home .what-we-do__icon img {
  width: 90%;
  height: 90%;
  object-fit: contain;
  filter: invert(1);
  margin: 0 auto;
}

.home .what-we-do__card h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
  color: #000000;
  transition: color 0.2s ease;
}

.home .what-we-do__card p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(0, 0, 0, 0.78);
}

.home .what-we-do-swiper-button-prev,
.home .what-we-do-swiper-button-next {
  position: relative;
  width: 44px;
  height: 44px;
  margin: 0;
  top: auto;
  left: auto;
  right: auto;
  border: 1px solid #58669f;
  border-radius: 6px;
  background-color: #58669f;
  color: #ffffff;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.home .what-we-do-swiper-button-prev::after,
.home .what-we-do-swiper-button-next::after {
  font-family: swiper-icons;
  font-size: 16px !important;
  font-weight: 400 !important;
  color: #ffffff !important;
}

.home .what-we-do-swiper-button-prev:hover,
.home .what-we-do-swiper-button-next:hover {
  background-color: #ffffff;
}

.home .what-we-do-swiper-button-prev:hover::after,
.home .what-we-do-swiper-button-next:hover::after {
  color: #58669f !important;
}

@media only screen and (max-width: 900px) {
  .home .what-we-do__header {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media only screen and (max-width: 768px) {
  .home .what-we-do {
    padding: 3rem 0;
  }

  .home .what-we-do .container {
    width: 95%;
    gap: 2rem;
  }

  .home .what-we-do__nav--header {
    display: none;
  }

  .home .what-we-do__nav--footer {
    display: flex;
    justify-content: center;
  }

  .home .what-we-do__card {
    padding-right: 0;
  }
}
 
/* --------------------SECTIORS SECTION------------------------- */
.home .sectors {
  width: 100%;
  height: 100%;
  background-color: #fafafa;
  padding: 3rem 0;

  display: flex;
  justify-content: center;
  align-items: center;
}

.home .sectors .container {
  height: 100%;
  width: 90%;
  max-width: 1400px;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.home .sectors .container .head {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-bottom: 1rem;
  text-align: center;
}

.home .sectors .container .sectors-swiper {
  width: 100%;
  padding: 0 0 1rem;
}

.home .sectors .container .sectors-swiper .swiper-slide {
  height: auto;
  display: flex;
}

.home .sectors .container .sectors-swiper .card {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background-color: #ffffff;
  padding: 1rem;
  border: 1px solid rgba(202, 201, 201, 0.151);
  /* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); */
  overflow: hidden;
  border-radius: 5px;
  margin-bottom: 1rem;
  transition: 0.5s ease;
}

.home .sectors .container .sectors-swiper .card a {
  display: flex;
  flex-direction: column;
  color: inherit;
  height: 100%;
  min-height: 100%;
}


.home .sectors .container .sectors-swiper .card .text-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: calc(100% - 250px);
}

.home .sectors .container .sectors-swiper .card .text-content .text-content-details {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.home .sectors .container .sectors-swiper .card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}


.home .sectors .container .sectors-swiper .card h3 {
  color: #000;
  font-weight: 600;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.home .sectors .container .sectors-swiper .card p {
  color: #000;
  font-weight: 400;
  font-size: 1rem;
}

.home .sectors .container .sectors-swiper .card .separator {
  background-color: #cececeab;
  height: 0.25rem;
  width: 100%;
  margin: 1.5rem 0 0.5rem 0;
}

.home .sectors .container .sectors-swiper .card span {
  color: #58669f;
  font-size: 1.1rem;
  font-weight: 600;
  width: auto;
  padding: 0;
  margin: 0;
  padding-bottom: 0.5rem;
}

.home .sectors .container .sectors-swiper .card:hover {
  background-color: #58669f;
  animation: 0.6s sectorsCardIn forwards;
}

.home .sectors .container .sectors-swiper .card:hover h3,
.home .sectors .container .sectors-swiper .card:hover p,
.home .sectors .container .sectors-swiper .card:hover span {
  color: #fff;
}

@keyframes sectorsCardIn {
  0% {
    border-radius: 70% 70% 0 0;
    background-color: white;
    transform: translateY(0rem);
  }
  100% {
    border-radius: 0;
    transform: translateY(0rem);
  }
}

.home .sectors .container .navigate-sectors {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  width: 150px;
  padding-top: 0.5rem;
}

.home .sectors .swiper-button-prev-sectors,
.home .sectors .swiper-button-next-sectors {
  background-color: #58669f !important;
  height: 45px !important;
  width: 45px !important;
  border-radius: 3px !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border: 1px solid #58669f;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  margin: 0;
  top: auto;
  left: auto;
  right: auto;
}

.home .sectors .swiper-button-prev-sectors:hover,
.home .sectors .swiper-button-next-sectors:hover {
  background-color: white !important;
  color: #58669f !important;
}

.home .sectors .swiper-button-prev-sectors:hover::after,
.home .sectors .swiper-button-next-sectors:hover::after {
  color: #58669f !important;
}

.home .sectors .swiper-button-prev-sectors::after,
.home .sectors .swiper-button-next-sectors::after {
  font-family: swiper-icons;
  font-size: 18px !important;
  font-weight: 400 !important;
  color: #fff !important;
}

@media only screen and (max-width: 768px) {
  .home .sectors {
    padding: 2rem 0;
  }

  .home .sectors .container {
    width: 95%;
  }

  .home .sectors .container .sectors-swiper .card {
    padding: 0.5rem;
    margin: 0;
  }

  .home .sectors .container .sectors-swiper .card img {
    height: 210px;
  }
}

/* --------------------FEATURED PRODUCTS------------------------- */
.home .featured-products {
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  padding: 3rem 0 4rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.home .featured-products .container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0rem;
}

.home .featured-products .heading-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}

.home .featured-products .featured-products-swiper {
  width: 100%;
  padding-bottom: 3rem !important;
  overflow: hidden;
  padding: 0.25rem;
}

.home .featured-products .featured-products-swiper .swiper-wrapper {
  padding: 0.5rem 0 !important;
}

.home .featured-products .swiper-slide {
  height: auto;
  display: flex;
  box-sizing: border-box;
}

.home .featured-products .swiper-slide .catalog-card {
  width: 100%;
  min-height: 100%;
}

.home .featured-products .featured-products-pagination {
  --swiper-pagination-color: #58669f;
  --swiper-pagination-bullet-inactive-color: #c8cedf;
  --swiper-pagination-bullet-inactive-opacity: 1;
}

.home .featured-products .featured-products-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
}

@media only screen and (max-width: 768px) {
  .home .featured-products {
    padding: 2rem 0 3rem 0;
  }
}

/* --------------------------------------------- */
.home .projects {
  width: 100%;
  height: 100%;

  display: flex;
  justify-content: center;
  align-items: center;

  background-color: #ffffff;

  padding: 3rem 0 3rem 0;
}

.home .projects.ongoing {
  background-color: #fcfcfc;
}

.home .projects .container {
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0rem;

  box-sizing: border-box;

  padding: 0rem !important;
}

.popup-content p {
  color: #000000;
  font-size: 0.9rem;
  font-weight: 400;
  content: ".";
}

.home .projects .container .heading-content {
  width: 100%;
  padding-left: 0.8rem;
  text-align: center;
  padding-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}

.slider-window {
  overflow-y: hidden;
  overflow-x: hidden;
  width: 100%;
  height: auto;
}

.home .projects .container .grid .swiper-wrapper {
  padding-bottom: 1rem !important;
}

.home .projects .container .grid .item {
  width: 100%;
  height: 100%;

  box-sizing: border-box;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  padding: 0rem 0.5rem;
}

.home .projects .container .grid .item .content {
  height: 420px;
  width: 100%;

  overflow: hidden;
  background-color: white;

  display: flex;
  flex-direction: column;

  position: relative;

  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 2px;
}

@media only screen and (max-width: 768px) {
  .home .projects .container .grid .item .content {
    height: 470px !important;
    width: 100% !important;
  }
}

.home .projects .container .grid .card .img-container {
  width: 100%;
  height: 52%;
  overflow: hidden;
}

.home .projects .container .grid .card img {
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;

  transition: 0.8s;
  padding: 0;
  margin: 0;

  overflow: hidden;
}

.home .projects .container .grid .card img:hover {
  transform: scale(1.2);
}

.home .projects .container .grid .card .overlay {
  height: 45%;
  width: 100%;
  padding: 1rem 1rem 2rem 1rem;
  box-sizing: border-box;
  background-color: transparent;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  transition: all 0.6s ease;
}

@media only screen and (max-width: 768px) {
  .home .projects .container .grid .card .overlay {
    padding: 0.5rem !important;
  }
}

.home .projects .container .grid .card .overlay h3 {
  padding: 0rem;
  padding-bottom: 0.25rem;
  color: #58669f;
  pointer-events: none;
  font-weight: 600;
}

.home .projects .container .grid .card .overlay p {
  padding: 0rem;
  color: #202538;
  font-size: 0.95rem;
}

.home .projects .container .grid .card .overlay:hover {
  background-color: #58669f;
  color: white !important;
  height: 100%;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.home .projects .container .grid .card .overlay:hover h3 {
  color: white;
}

.home .projects .container .grid .card .overlay:hover p {
  color: white;
}

.navigate {
  padding-top: 2rem;
}

.navigate button {
  background-color: #58669f;
  color: white;

  margin: 0.5rem;

  padding: 0.9rem 0.9rem 0.7rem 0.9rem;

  transition: 0.8s ease;
  cursor: pointer;

  font-size: 0.8rem;
  font-weight: 100;
  border-radius: 0;
  border: 0;
}

.navigate button:hover {
  background-color: white;
  color: black;

  transition: 0.8s ease;
}

@media only screen and (max-width: 1100px) {
  .slider-window {
    overflow-y: hidden;
    overflow-x: hidden;
    width: 100%;
    height: auto;
  }

  .home .projects .container .grid .item {
    padding: 1rem;
  }

  .home .projects .container .grid .card img {
    width: 40vw;
    height: 300px;
  }
}

@media only screen and (max-width: 768px) {
  .home .projects {
    padding: 1.5rem 0;
  }

  .home .projects .container {
    padding: 0rem;
  }

  .slider-window {
    overflow-y: hidden;
    overflow-x: hidden;
    width: 100%;
    height: auto;
  }

  .home .projects .container .grid .item {
    padding: 0rem;
  }

  .home .projects .container .grid .card img {
    width: 95vw;
    height: 300px;
  }

  .navigate {
    padding-top: 2rem;
  }

  .navigate button {
    font-size: 1rem;
  }
}

/* ---------------Quality------------------- */

.quality {
  background-color: white;

  height: 100%;
  width: 100%;

  display: flex;
  justify-content: center;
  align-items: center;
}

.quality .container {
  height: auto;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  padding: 5rem 0;
}

.quality .container .head {
  text-align: center;
}

.quality .container .grid {
  width: 100%;
  height: 100%;

  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;

  padding-top: 1rem;
}

.quality .container .grid .card {
  text-align: center;
  background-color: #f5f5f5;
  color: white;

  height: 250px;
  width: 100%;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.quality .container .grid .card .cont {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}

.quality .container .grid .card p {
  font-size: 3.5rem;
  font-weight: 600;
  color: #58669f;
}

.quality .container .grid .card h3 {
  font-size: 1.4rem;
  padding-top: 1rem;
  color: #202538;
}

@media only screen and (max-width: 768px) {
  .quality .container {
    padding: 2rem 0;
  }

  .quality .container .grid {
    width: 100%;
    height: 100%;

    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-content: center;
    align-items: center;
    gap: 1rem;

    padding-top: 1rem;
  }

  .quality .container .grid .card {
    text-align: center;
    background-color: #f5f5f5;
    color: white;

    height: 150px;
    width: 100%;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .quality .container .grid .card p {
    font-size: 2rem;
    font-weight: 600;
    color: #58669f;
  }

  .quality .container .grid .card h3 {
    font-size: 1rem;
    font-weight: 500;
    padding-top: 1rem;
    color: #202538;
  }
}

/* -------------------Video CTA------------------------ */
.video-cta {
  background: url("https://isopanelskenya.com/wp-content/uploads/2025/02/0A0A1467-scaled.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.video-cta::before {
  position: absolute;
  content: "";
  background-color:#232a42;
  opacity: 0.75;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 5;
}

.video-cta .play-button {
  background-color: #58669f;
  color: white;
  border: none;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 10;
  overflow: visible;
}

.video-cta .play-button::before,
.video-cta .play-button::after,
.video-cta .play-button .play-button__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #58669f;
  pointer-events: none;
  animation: play-button-pulse 2.4s ease-out infinite;
}

.video-cta .play-button::before {
  animation-delay: 0s;
}

.video-cta .play-button::after {
  animation-delay: 0.8s;
}

.video-cta .play-button .play-button__ring {
  animation-delay: 1.6s;
}

.video-cta .play-button:hover {
  background-color: white;
  color: #58669f;
}

.video-cta .play-button i {
  font-size: 35px;
  padding-left: 0.5rem;
  position: relative;
  z-index: 1;
}

@keyframes play-button-pulse {
  0% {
    transform: scale(1);
    opacity: 0.65;
  }

  70%,
  100% {
    transform: scale(2.4);
    opacity: 0;
  }
}

.video-cta .video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000000000000;
  background-color: #FFFFFF;

  display: none;
  justify-content: center;
  align-items: center;
}

.video-cta .video .video-container {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.video-cta .video .close-button {
  position: absolute;
  top: 20px;
  right: 20px;
  cursor: pointer;
  z-index: 10000000000001;
}

.video-cta .video .close-button i {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  color: #ffffff;
  background-color: #58669f;
  cursor: pointer;
  z-index: 10000000000001;
  transition: 0.8s ease;
}


.video-cta .video .close-button:hover i {
  background-color: #ffffff;
  color: #58669f;
  transition: 0.8s ease, rotate 0.8s ease;
  transform: rotate(360deg);
}

.video-cta .video iframe {
  width: auto;
  height: 700px;
  max-height: 90vh;
  aspect-ratio: 16/9;
  object-fit: cover;
}

@media only screen and (max-width: 768px) {
  .video-cta {
    height: 300px;
  }

  .video-cta .video iframe {
    width: 90vw;
    height: auto;
    max-height: 90vh;
    aspect-ratio: 16/9;
    object-fit: cover;
  }
}


/* -------------Testimonials------------- */
.testimonials {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: white;
  padding: 3rem 0 0rem 0;
}

.testimonials .container {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-bottom: 70px;
}

.testimonials .container .head {
  text-align: center;
  padding: 1rem 0;
}

.testimonials-swiper {
  width: 100%;
  padding-bottom: 120px !important;
}

.testimonials-swiper .swiper-slide {
  height: auto;
}

.testimonials .card {
  background-color: #58669f;
  color: #fff;
  padding: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  position: relative;
  padding-bottom: 30px;
}

.testimonials .card i {
  font-size: 3rem;
}

.testimonials .card p {
  font-size: 1.2rem;
  color: #eceef3;
}

.testimonials .card h3 {
  font-size: 1.4rem;
  color: white;
}

.testimonials .card img {
  width: 90px;
  height: 90px;
  position: absolute;
  bottom: -35px;
  left: 15%;
  transform: translateX(-50%);
  background-color: white;
  padding: 0.8rem;
  object-fit: contain;

  z-index: 10;

  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

@media only screen and (max-width: 768px) {
  .testimonials {
    padding: 2rem 0;
  }

  .testimonials .container {
    padding-bottom: 2rem;
  }

  .testimonials .card {
    padding: 1.5rem;
    padding-bottom: 40px;
  }

  .testimonials .card p {
    font-size: 1rem;
  }

  .testimonials .card h3 {
    font-size: 1.2rem;
  }
}

.navigate {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;

  position: relative;
}

.navigate .swiper-button-next,
.navigate .swiper-button-prev {
  color: #fff;
  background-color: #58669f;
  border: 1px solid #58669f;
  width: 40px;
  height: 40px;
  border-radius: 3px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);

  position: relative !important;

  margin: 0 1rem !important;

  transition: 0.2s ease;
}

.navigate .swiper-button-next:hover,
.navigate .swiper-button-prev:hover {
  background-color: white;
  color: #58669f;
}

.navigate .swiper-button-next:hover:after,
.navigate .swiper-button-prev:hover:after {
  color: #58669f !important;
}

.navigate .swiper-button-next::after,
.navigate .swiper-button-prev::after {
  font-family: swiper-icons;
  font-size: 1.2rem;
  font-weight: 400;
  color: #fff !important;
}

/* -------------Hero layout & badge------------- */
.home .hero::after {
  background-color: rgba(10, 26, 31, 0.5);
}

.home .hero-overlay {
  background: rgba(10, 26, 31, 0.63);
  justify-content: center;
  align-items: center;
  text-align: left;
  padding: 0%;
}

.home .hero-overlay .container {
  justify-content: flex-start;
  align-items: center;
  margin-top: 0;
  height: 100%;
  padding-bottom: 0rem;
}

.home .hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 750px;
  width: 100%;
  gap: 0;
}

.home .hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.15;
  color: #ffffff;
  text-align: left;
  margin: 0;
}

.home .hero-highlight {
  color: rgb(255, 255, 255);
  /* text-shadow: 2px 2px 8px rgba(255, 255, 255, 0.212); */
}

.home .hero-subtext {
  margin: 1.25rem 0 0;
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1.45 !important;
  color: rgba(255, 255, 255, 0.82);
  max-width: 520px;
}

.home .hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.75rem;
  padding: 0.9rem 1.6rem;
  background-color: #58669f;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.home .hero-cta:hover {
  background-color: #465280;
}

.home .hero-cta span {
  font-size: 1.1rem;
  line-height: 1;
}

.home .hero-bottom-bar {
  position: absolute;
  bottom: 2.5rem;
  left: 0;
  right: 0;
  z-index: 35;
  width: 100%;
}

.home .hero-bottom-bar__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
  gap: 1.5rem;
}

.home .hero-bottom-bar__pagination {
  justify-self: start;
}

.home .hero-bottom-bar__nav {
  justify-self: center;
}

.home .hero-bottom-bar__badge {
  justify-self: end;
}

.home .hero-badge {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.25rem 1.5rem;
  max-width: 280px;
  border-radius: 5px;
  background: rgba(88, 102, 159, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.082);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.home .hero-badge__logo {
  width: auto;
  height: 52px;
}

.home .hero-badge__line {
  height: 4px;
  width: 55%;
  margin: 0.85rem 0;
  background-color: #ffffff;
}

.home .hero-badge p {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
  margin: 0;
}

.home .hero .hero-pagination {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  position: relative !important;
  bottom: auto !important;
  left: auto;
  width: auto;
  margin: 0;
  gap: 0.75rem;
  --swiper-pagination-bullet-size: 8px;
  --swiper-pagination-color: #0a1a1f;
  --swiper-pagination-bullet-inactive-color: #ffffff;
  --swiper-pagination-bullet-inactive-opacity: 0.35;
}

.home .hero .hero-pagination .swiper-pagination-bullet {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  opacity: 1 !important;
  background: #ffffff3a;
  margin: 0 !important;
  transition: opacity 0.2s ease, transform 0.2s ease;
  position: relative;
  backdrop-filter: blur(8px);
}

.home .hero .hero-pagination .swiper-pagination-bullet::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffffff;
  margin: 0 !important;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.home .hero .hero-pagination .swiper-pagination-bullet-active {
  width: 20px !important;
  height: 20px !important;
  opacity: 1;
  background: #58669f;
}

.home .hero .hero-pagination .swiper-pagination-bullet-active::before {
  width: 6px !important;
  height: 6px !important;
  background: #ffffff !important;
}

.home .hero-slider-nav {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.home .hero-slider-nav button {
  background: none;
  border: none;
  border-radius: 5px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 0.25rem;
  font-family: inherit;
  transition: opacity 0.2s ease;
}

.home .hero-slider-nav button:hover {
  opacity: 0.7;
  color: #58669f;
}

.home .hero-nav-divider {
  display: block;
  width: 56px;
  height: 1px;
  background: rgba(255, 255, 255, 0.45);
  flex-shrink: 0;
}

@media (max-width: 1024px) {
  .home .hero-content h1 {
    font-size: 2.6rem;
  }
}

@media (max-width: 768px) {
  .home .hero-overlay {
    align-items: flex-start;
    padding: 0 1.5rem;
  }

  .home .hero-overlay .container {
    padding-bottom: 0rem;
    align-items: center;
  }

  .home .hero-content h1 {
    font-size: 2rem;
    text-align: left;
  }

  .home .hero-subtext {
    font-size: 0.92rem;
  }

  .home .hero-bottom-bar {
    bottom: 1.5rem;
  }

  .home .hero-bottom-bar__inner {
    grid-template-columns: 1fr;
    width: 90%;
  }

  .home .hero-bottom-bar__pagination {
    justify-self: start;
  }

  .home .hero .hero-pagination {
    justify-content: flex-start;
    height: auto;
  }

  .home .hero-bottom-bar__nav,
  .home .hero-slider-nav {
    display: none;
  }

  .home .hero-bottom-bar__badge,
  .home .hero-badge {
    display: none !important;
  }

  .home .hero-badge__logo {
    height: 42px;
  }

  .home .hero-badge p {
    font-size: 0.88rem;
  }
}

/* ---------------INDUSTRIES WE SERVE----------------------- */
.home .industries-we-serve {
  width: 100%;
  background-color: #ffffff;
  padding: 4.5rem 0;
  display: flex;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.home .industries-we-serve::before {
  content: "";
  position: absolute;
  inset: 0;
  background: white;
  pointer-events: none;
}

.home .industries-we-serve::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url('https://isopanelskenya.com/wp-content/uploads/2026/06/719634821_122219109482364299_7099471804227053579_n.jpg') no-repeat center center;
  background-size: cover;
  z-index: 1;
  opacity: 0.03;
}

.home .industries-we-serve .container {
  width: 90%;
  max-width: 1400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
  position: relative;
  z-index: 2;
}

.home .industries-we-serve__head {
  width: 100%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.home .industries-we-serve .heading-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  max-width: 760px;
}

.home .industries-we-serve .heading-content .sub-heading {
  max-width: none;
  margin-bottom: 0;
}

.home .industries-we-serve__lead {
  margin: 0;
  max-width: 760px;
  font-size: 1rem;
  line-height: 1.75;
  color: #666666;
  text-transform: none;
  font-family: "Roboto", sans-serif !important;
  font-weight: 400;
}

.home .industries-we-serve__nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.home .industries-we-serve__nav--header {
  display: flex;
  position: absolute;
  top: 0;
  right: 0;
}

.home .industries-we-serve__nav--footer {
  display: none;
}

.home .industries-we-serve-swiper {
  width: 100%;
  overflow: hidden;
  padding: 0.5rem 0;
}

.home .industries-we-serve .industries-we-serve-pagination {
  --swiper-pagination-color: #58669f;
  --swiper-pagination-bullet-inactive-color: #c8cedf;
  --swiper-pagination-bullet-inactive-opacity: 1;
  position: relative;
  margin-top: 1.5rem;
}

.home .industries-we-serve .industries-we-serve-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
}

.home .industries-we-serve-swiper .swiper-slide {
  height: auto;
  display: flex;
}

.home .industries-we-serve__card {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.35rem;
  padding: 0 0.75rem;
}

.home .industries-we-serve__media {
  position: relative;
  width: 220px;
  height: 220px;
  margin-bottom: 0.5rem;
}

.home .industries-we-serve__image-wrap {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  border: 7px solid #ffffff;
  box-shadow: 0 8px 24px rgba(35, 42, 66, 0.14);
  transition: border 0.3s ease;
}


.home .industries-we-serve__image-wrap:hover {
  border: 7px solid #58669f;
}

.home .industries-we-serve__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home .industries-we-serve__badge {
  position: absolute;
  right: 4px;
  bottom: 4px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #58669f;
  border: 2px solid #58669f;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home .industries-we-serve__badge img {
  width: 65%;
  height: 65%;
  object-fit: contain;
  display: block;
  filter: invert(1);
}

.home .industries-we-serve__card h3 {
  margin: 0;
  font-size: 1.05rem !important;
  font-weight: 700;
  line-height: 1.35;
  color: #292929;
  font-family: "Oswald", sans-serif !important;
  text-transform: uppercase;
  margin-top: 1.2rem;
}

.home .industries-we-serve__card p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #666666;
}

.home .industries-we-serve__footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.home .industries-we-serve__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2rem;
  border-radius: 4px;
  background-color: #58669f;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.home .industries-we-serve__cta:hover {
  background-color: #6d7db5;
  color: #ffffff;
  transform: translateY(-1px);
}

.home .industries-we-serve-swiper-button-prev,
.home .industries-we-serve-swiper-button-next {
  position: relative;
  width: 44px;
  height: 44px;
  margin: 0;
  top: auto;
  left: auto;
  right: auto;
  border: 1px solid #58669f;
  border-radius: 6px;
  background-color: #58669f;
  color: #ffffff;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.home .industries-we-serve-swiper-button-prev::after,
.home .industries-we-serve-swiper-button-next::after {
  font-family: swiper-icons;
  font-size: 16px !important;
  font-weight: 400 !important;
  color: #ffffff !important;
}

.home .industries-we-serve-swiper-button-prev:hover,
.home .industries-we-serve-swiper-button-next:hover {
  background-color: #ffffff;
}

.home .industries-we-serve-swiper-button-prev:hover::after,
.home .industries-we-serve-swiper-button-next:hover::after {
  color: #58669f !important;
}

@media only screen and (max-width: 900px) {
  .home .industries-we-serve__head {
    flex-direction: column;
    align-items: center;
  }

  .home .industries-we-serve__nav--header {
    display: none;
    position: static;
  }

  .home .industries-we-serve__nav--footer {
    display: flex;
  }
}

@media only screen and (max-width: 768px) {
  .home .industries-we-serve {
    padding: 2rem 0 1rem 0;
  }

  .home .industries-we-serve .container {
    width: 95%;
    gap: 2rem;
  }

  .home .industries-we-serve__media {
    width: 190px;
    height: 190px;
  }

  .home .industries-we-serve__badge {
    width: 48px;
    height: 48px;
    font-size: 1rem;
  }

  .home .industries-we-serve__card {
    padding: 0;
  }
}
