@import url("https://fonts.googleapis.com/css2?family=Fjalla+One&family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

:root {
  --primary-color: rgba(15, 82, 160, 1);
  --secondary-color: rgba(201, 222, 229, 1);
  --background-color: rgba(255, 255, 255, 1);
  --text-color: rgba(166, 166, 166, 1);
  --white-color: rgba(255, 255, 255, 1);
  --black-color: rgba(0, 0, 0, 1);
  --navbar-active-color: rgba(224, 29, 33, 1);
}

body {
  font-family: "Poppins", sans-serif;
  background-color: var(--white-color);
}
a {
  text-decoration: none;
}
.navbar {
  position: sticky;
  top: 0;
  background-color: var(--background-color);
  font-family: "Poppins", sans-serif !important;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  z-index: 1000;
}
.navbar-brand img {
  height: 70px;
}
.navbar-nav .nav-link {
  color: var(--primary-color);
  margin: 0 10px;
  font-weight: 600;
}
.navbar-nav .nav-link.active {
  color: var(--navbar-active-color);
  font-weight: 700;
}
.contact-btn {
  border: 1px solid var(--primary-color);
  border-radius: 10px;
  padding: 6px 18px;
  transition: 0.3s;
  background-color: var(--primary-color);
  color: var(--white-color);
}
.contact-btn:hover {
  background-color: var(--primary-color);
  color: var(--white-color);
}

.offcanvas-end {
  background-color: var(--background-color);
}

.header-section {
  background: url("../images/home/home-bg.jpg");
}
.header-container {
  max-width: 900px;
}
.home-heading {
  font-size: 70px;
  font-weight: 700;
  color: var(--text-color);
}
.home-sub-heading {
  font-size: 24px;
  font-weight: 400;
  color: var(--text-color);
}
.home-heading h3 {
  font-size: 30px;
  font-weight: bold;
  font-family: "Manrope", sans-serif !important;
}
@media (max-width: 1200px) {
  .home-heading {
    font-size: 60px;
  }

  .home-sub-heading {
    font-size: 22px;
  }
}

@media (max-width: 900px) {
  .home-heading {
    font-size: 50px;
  }

  .home-sub-heading {
    font-size: 20px;
  }
}

@media (max-width: 600px) {
  .home-heading {
    font-size: 40px;
  }

  .home-sub-heading {
    font-size: 18px;
  }
}

@media (max-width: 400px) {
  .home-heading {
    font-size: 30px;
  }

  .home-sub-heading {
    font-size: 16px;
  }
}

.section-heading {
  color: var(--primary-color);
  font-weight: 500;
  font-size: 45px;
  font-family: "Fjalla One", sans-serif !important;
}
.section-sub-heading {
  color: var(--primary-color);
  font-size: 30px;
  margin-bottom: 20px;
  font-family: "Fjalla One", sans-serif !important;
}
.section-description {
  color: var(--text-color);
  font-size: 17px;
}
.learn-more-btn {
  border: 1px solid var(--primary-color);
  border-radius: 10px;
  padding: 8px 20px;
  transition: 0.3s;
  color: var(--black-color);
}
.learn-more-btn:hover {
  background-color: var(--primary-color);
  color: var(--white-color);
}

.about-pepsynth-image {
  background-color: var(--primary-color);
  width: 90%;
  border-radius: 10px;
}
.about-pepsynth-image img {
  border-radius: 10px;
  transform: translate(30px) translateY(30px);
}
@media (max-width: 768px) {
  .about-pepsynth-image {
    width: 100%;
  }
  .about-pepsynth-image img {
    transform: translate(0) translateY(0);
  }
}
.about-sub-heading h5 {
  color: var(--text-color);
}
.about-main-heading h3 {
  color: var(--primary-color);
  text-transform: uppercase;
  font-family: "Fjalla One", sans-serif !important;
}
.about-main-heading h4 {
  color: var(--primary-color);
  font-family: "Fjalla One", sans-serif !important;
}
.about-main-heading p {
  color: var(--primary-color);
  font-family: "Fjalla One", sans-serif !important;
  font-size: 19px;
}
.about-text-div {
  position: relative;
  border-radius: 5px;
  float: left;
  width: 45%;
  height: auto !important;
  margin-right: 30px;
  margin-bottom: 30px; /* space below image */
  border: 1px solid var(--primary-color);
}
.about-text-div img {
  z-index: 10;
  transition: transform 0.4s ease;
  transform: translateX(20px) translateY(20px);
}
.about-main-content p {
  color: var(--text-color);
}

@media (max-width: 992px) {
  .about-text-div {
    width: 50%;
    margin-bottom: 20px;
  }
  .about-text-div img {
    transform: translateX(0px) translateY(0px);
  }
}

@media (max-width: 576px) {
  .about-text-div {
    width: 100%;
    margin: 0;
    margin-bottom: 20px;
  }
  .about-text-div img {
    transform: translateX(0px) translateY(0px);
  }
}

.board-of-directors-content i {
  color: var(--primary-color);
}

.our-products-card {
  border-radius: 10px;
}
.our-products-body {
  background-color: rgba(247, 253, 255, 1);
  color: rgba(0, 77, 108, 1);
  border-radius: 10px;
}

.industry-card {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  border-radius: 12px;
  transition: transform 0.3s ease-in-out;
}

.industry-card:hover {
  transform: translateY(-5px);
}

.industry-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  transition: transform 0.5s ease-in-out;
}

.industry-card:hover .industry-img {
  transform: scale(1.05);
}

.industry-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: background 0.4s ease-in-out;
}

.industry-title {
  background: rgba(15, 89, 160, 0.36);
}

.industry-hover {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 85%;
  transform: translate(-50%, -50%) translateY(30px);
  opacity: 0;
  transition: all 0.5s ease-in-out;
}

.industry-card:hover .industry-hover {
  transform: translate(-50%, -50%) translateY(0);
  opacity: 1;
}

.industry-card:hover .industry-overlay {
  background: rgba(15, 89, 160, 0.36);
}

.industry-hover p {
  font-size: 0.9rem;
  line-height: 1.4;
}

.industry-hover .btn {
  border-radius: 5px;
  padding: 6px 18px;
}

.expert-lin-card-container {
  border-top: 20px solid var(--primary-color);
  border-bottom: 20px solid var(--primary-color);
  height: 100%;
  text-align: center;
  border-radius: 12px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  min-height: 420px; /* adjust height */
}

.expert-lin-card-logo {
  height: 80px;
  width: 80px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: var(--white-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
}

.expert-lin-card-logo i {
  font-size: 40px;
}

.expert-lin-card-name h5 {
  color: var(--primary-color);
  text-align: start;
}
.expert-lin-card-description p {
  text-align: left;
  font-size: 14px;
}
.expert-lin-btn .learn-more-btn:hover {
  background-color: var(--secondary-color);
  color: var(--white-color);
}

/* Scoped navigation buttons for this carousel */
.expert-lin-carousel-wrapper .owl-nav-custom {
  position: absolute;
  bottom: -45px;
  right: 20px;
  display: flex;
  gap: 10px;
}

.expert-lin-carousel-wrapper .owl-nav-custom button {
  background: var(--primary-color);
  color: var(--white-color);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background 0.3s ease;
}

.expert-lin-carousel-wrapper .owl-nav-custom button:hover {
  background: var(--secondary-color);
}
.expert-lin-btn {
  display: flex;
  align-items: start;
  justify-content: start;
}
.expert-lin-btn .learn-more-btn {
  border: 1px solid var(--primary-color);
  border-radius: 10px;
  padding: 6px 18px;
  transition: 0.3s;
  color: var(--primary-color);
  margin-top: auto;
}

.our-services-card {
  background-color: rgba(247, 253, 255, 1);
}

.accreditations-section {
  background-color: rgba(9, 49, 96, 1); /* deep navy background */
  color: var(--white-color);
}

.accreditations-heading {
  font-family: "Fjalla One", sans-serif;
  font-size: 45px;
  font-weight: 400;
  letter-spacing: 0.5px;
}

.accreditation-card {
  background-color: #ffffff;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 150px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.accreditation-card img {
  transition: transform 0.3s ease;
}

.accreditation-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.accreditation-card:hover img {
  transform: scale(1.05);
}

.our-clients-heading {
  background-color: var(--primary-color);
  height: 200px;
  width: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white-color);
  padding: 5px;
}
.our-cliens-heading h2 {
  font-family: "Fjalla One", sans-serif;
  font-size: 45px;
  text-align: center;
  line-height: 1.2;
}

.our-clients-image {
  padding: 10px;
}

.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  border-radius: 8px;
  height: 150px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.client-logo:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.client-logo img {
  width: auto;
  object-fit: contain;
  aspect-ratio: 3/2;
}

.product-section-heading {
  color: var(--primary-color);
  font-weight: 500;
  font-size: 45px;
  font-family: "Fjalla One", sans-serif !important;
  margin-top: -100px;
}
@media (max-width: 992px) {
  .product-section-heading {
    margin-top: 0px;
  }
}
.products-card {
  position: relative;
  max-height: 250px;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Image */
.products-card .product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Color overlay */
.products-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 82, 160, 0.7); /* Change color here */
  transition: 0.3s ease;
}

.products-name {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  text-align: center;
}
.products-name h3{
  color: var(--white-color);
  font-family: "Fjalla One", sans-serif !important;
}
.all-expertise-card {
  padding: 15px 20px 10px 20px;
  border: 1px solid var(--primary-color);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
}
.all-expertise-card h6 {
  color: var(--primary-color);
  font-weight: 900;
  font-family: "Fjalla One", sans-serif !important;
}
.service-related-tips {
  background-color: rgba(247, 253, 255, 1);
}
.service-related-tips p {
  color: var(--text-color);
}
.service-related-tips-button a {
  border: 1px solid var(--text-color);
  border-radius: 10px;
  padding: 6px 18px;
  transition: 0.3s;
  color: var(--text-color);
}
.research-technology {
  background-color: var(--primary-color);
}
.research-section-heading {
  color: var(--white-color);
  font-weight: 500;
  font-size: 45px;
  font-family: "Fjalla One", sans-serif !important;
}
.research-sub-heading h3 {
  font-family: "Fjalla One", sans-serif !important;
}
.advance-purification {
  background-color: var(--white-color);
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}
.primary-background {
  background-color: var(--primary-color);
  height: 300px;
  width: 100%;
  position: relative;
  z-index: -1;
  margin-top: -200px;
}

.our-clients-section {
  position: relative;
  background: url("../images/clients/client-bg.jpg") no-repeat center
    center/cover;
  padding: 60px 0;
  z-index: 1;
}

.our-clients-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15, 82, 160, 0.58);
  z-index: -1;
}

.contact-field {
  height: 48px;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding-left: 12px;
  font-size: 15px;
  width: 100%;
}

.contact-submit-btn {
  background: var(--primary-color);
  color: #fff;
  border: none;
  padding: 12px 0;
  width: 100%;
  border-radius: 4px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-top: 10px;
}

/* MAP BLOCK DESIGN */
.map-wrapper {
  position: relative;
}

.map-blue-block {
  position: absolute;
  right: 0;
  top: 15px;
  width: 50%;
  height: 100%;
  background: var(--primary-color);
  border-radius: 8px;
  z-index: 1;
}
@media (max-width:992px) {
    .map-blue-block {
  display: none;
}
}

.map-image-box {
  position: relative;
  z-index: 2;
  top: 20px;
  left: 0;
  border-radius: 8px;
  overflow: hidden;
}

.map-image {
  width: 100%;
  display: block;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .map-blue-block {
    width: 100%;
    height: 100%;
    top: 10px;
  }
}

.footer-section {
  background-color: var(--primary-color);
  color: var(--white-color);
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
}
.footer-main-heading h3 {
  color: var(--white-color);
  font-size: 20px !important;
}
.footer-main-heading p {
  color: var(--white-color);
  font-size: 12px !important;
}
.footer-extra-div {
  background-color: rgba(9, 49, 96, 1);
}
.quick-links-heading {
  border-bottom: 2px solid var(--white-color);
}
.quick-links-heading h5 {
  color: rgba(248, 164, 27, 1);
  font-size: 18px !important;
  font-weight: 300;
}
.footer-links h6 a {
  color: var(--white-color);
}
