:root {
  --blue: #1a24a8;
  --bluelight: #cbceff;
  --red: #eb3134;
  --yellow: #efa100;
  --black: #000;
  --white: #fff;
  --light: #f8f9fa;
  --green: #043b04;
  --iconcolor: #25d366;
  --bordercolor: #dddddd;
  --orange: #fe4c1c;
  --buttoncolor: #35188e;
  --darkblue: #080e32;
}

/* header css */
h1,
h2,
h3,
h4,
h5,
h6,
a,
span,
div,
button,
strong,
small,
b,
p {
  font-family: "Unbounded", sans-serif !important;
}
a {
  text-decoration: none !important;
}
/* whatsappicon css */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background-color: var(--iconcolor);
  color: var(--white);
  border-radius: 50%;
  padding: 0.5rem 1rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  text-align: center;
  font-size: 30px;
}

.whatsapp-float:hover {
  background-color: var(--white);
  color: var(--iconcolor);
  border: 2px solid var(--iconcolor);
}

.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: var(--blue);
  color: var(--white);
  border-radius: 50%;
  padding: 0.5rem 1rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  text-align: center;
  font-size: 30px;
  display: none;
}

/* header footer css */
.nav-item {
  padding: 0.2rem 0.6rem;
  border-radius: 0.2rem;
}
.nav-item:hover {
  background-color: white;
}
a.nav-link {
  color: var(--blue) !important;
  font-weight: bold;
}
a.nav-link:hover {
  color: var(--green) !important;
}
.footer {
  background-color: var(--bluelight) !important;
  h3,
  a,
  p i {
    color: var(--blue);
  }
}
/* carousel css home */
.carousel-item img {
  height: 85vh;
}
@media (max-width: 1200px) {
  .carousel-item img {
    height: 70vh !important;
  }
}
@media (max-width: 998px) {
  .carousel-item img {
    height: 60vh !important;
  }
}
@media (max-width: 676px) {
  .carousel-item img {
    height: 50vh !important;
  }
}
@media (max-width: 576px) {
  .carousel-item img {
    height: 35vh !important;
  }
}
#carouselExampleIndicators .carousel-indicators button.active {
  width: 15px !important;
  height: 15px !important;
  border-radius: 50%;
  background-color: var(--white) !important;
}

#carouselExampleIndicators .carousel-indicators button {
  width: 15px !important;
  height: 15px !important;
  border-radius: 50%;
  border: 3px solid var(--white) !important;
  background-color: transparent !important;
}
/* project counter css */

.project-count {
  span {
    color: var(--yellow);
  }
  h3 {
    color: var(--green);
  }
}

/* over lay trailer single css */
.trailer-img {
  position: relative;
  overflow: hidden;
}

.trailer-img img {
  display: block;
  width: 100%;
  height: auto;
}

.overlay-text {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: transparent;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  z-index: 10;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.trailer-single:hover .overlay-text {
  opacity: 1;
  transform: translateY(0);
}

.overlay-text p,
.overlay-text button {
  z-index: 20;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.overlay-text button {
  background-color: var(--red);
  color: var(--white);
  padding: 10px 20px;
  margin-top: 10px;
  border: none;
  border-radius: 0.2rem;
  cursor: pointer;
  transition: background-color 0.3s ease, box-shadow 0.3s ease,
    opacity 0.3s ease;
}

.overlay-text button:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  background-color: var(--yellow);
}

.overlay-text p {
  color: var(--white);
  padding: 0.5rem 1rem;
  text-align: center;
  z-index: 20;
}

.trailer-img:hover .overlay-text p,
.trailer-img:hover .overlay-text button {
  opacity: 1;
}
.trailer-titel {
  border-top: 1px solid black;
}
.trailer-titel h5 a {
  text-decoration: none !important;
  color: var(--red);
}

.trailer-titel h5 a:hover {
  text-decoration: none !important;
}
.tailer-area h2 {
  color: var(--blue);
  font-weight: bold;
}
.section-titel h2::after {
  border-bottom: 2px dashed var(--yellow) !important;
}
/* trity enviro solution css */
.trity_enviro {
  h2 {
    color: var(--green);
  }
  .owl-carousel .item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    padding: 5px;
  }

  .owl-carousel .item img {
    width: 100%;
    height: 20rem;
    display: block;
    border-radius: 10px;
  }
  .owl-nav {
    position: absolute;
    display: flex;
    justify-content: space-between;
    width: 100%;
    top: 50%;
  }
  .owl-prev {
    margin-left: 1rem;
  }
  .owl-next {
    margin-right: 1rem;
  }
  .owl-prev,
  .owl-next {
    border: 1px solid var(--green);
    padding: 8px 13px;
    color: var(--green);
    border-radius: 0.2rem;
    font-size: 1rem;
    font-weight: bold;
  }
  .owl-prev:hover,
  .owl-next:hover {
    background-color: var(--green);
    padding: 8px 13px;
    color: var(--white);
    border-radius: 0.2rem;
    font-size: 1rem;
    font-weight: bold;
  }
}
/* about us css */

.aboutus-titel h2 {
  color: var(--green);
  font-weight: bold;
  margin-bottom: 1rem;
}
.aboutus-titel b {
  color: var(--green);
  font-size: 1.2rem;
}

.person-area {
  display: flex;
  width: 100% !important;
  justify-content: center;
  .person-img {
    width: 100%;
    img {
      margin: 0rem 1rem;
      border-radius: 0.5rem;
    }
  }
}
/* why choose us css */
.why-choose h2 {
  color: var(--blue);
  font-weight: bold;
}
.why-choose h6 {
  font-size: 1.2rem;
  color: var(--green);
  text-align: justify;
}
.why-choose img {
  border-radius: 0.5rem;
}
.why-choose img:hover {
  transform: scale(1.01);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
.why-choose a.btn {
  background-color: var(--green);
  color: var(--white);
  font-size: 1rem;
  padding: 0.6rem 1rem;
  text-decoration: none !important;
  border-radius: 0.2rem;
}
/* pyc conduits css */
.PVC h2 {
  padding: 1rem 0rem;
}
.PVC_pipe_img img {
  height: 100%;
  width: 100%;
  border-radius: 1rem;
}
.PVC_pipe_img img:hover {
  transform: scale(1.01);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
.PVC_pipe {
  padding: 1rem 0rem;
  p,
  li {
    color: var(--black);
    font-size: 1rem;
  }
  li {
    margin-bottom: 1rem !important;
    list-style: disc;
    display: list-item;
  }
}

/* product css */

.product-single {
  background-color: var(--white);
  border: 1px solid var(--light);
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  height: 100%;
}

.product-single:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.product-img {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.product-img img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

.product-img:hover img {
  transform: scale(1.1);
}

.product-titel h5 {
  margin: 1rem 0rem;
  margin-bottom: 0rem;
  padding: 0.5rem;
  border-top: 2px solid var(--green);
  transition: color 0.3s ease;
}

.product-titel h5 a {
  text-decoration: none !important;
  color: var(--green);
  font-size: 1rem;
  transition: color 0.3s ease;
}

.product-titel h5 a:hover {
  color: var(--dark-green);
}

/* contact page css */
.contact-container {
  background-color: var(--light);
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.contact-details,
.contact-form {
  padding: 2rem;
}
.contact-details h5 {
  color: var(--yellow);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.contact-info h5 i {
  color: var(--yellow);
}
.contact-form .form-control,
.contact-form .btn {
  border-radius: 8px;
  transition: all 0.3s ease;
}
.contact-form .form-control:focus {
  box-shadow: 0 0 8px rgba(26, 36, 168, 0.3);
  border-color: var(--blue);
}
.contact-form .btn-primary {
  background-color: var(--green);
  border: none;
  color: var(--white);
  font-size: 1.2rem;
}
.contact-form .btn-primary:hover {
  background-color: var(--green);
}
.contact-details p a {
  color: var(--red);
  text-decoration: none;
  font-weight: bold;
}
.contact-details p a:hover {
  text-decoration: none;
}
.contact-info p {
  font-weight: bold;
  color: var(--red);
}
.input-icon {
  color: var(--yellow);
}

/* social icon in contact page css */

.social-icons {
  display: flex;
  gap: 1rem;
  margin: 1rem 0rem;
}

.social-icons i {
  font-size: 1.5rem;
  color: var(--blue);
  transition: color 0.3s, transform 0.3s, box-shadow 0.3s;
  border: 2px solid transparent;
  border-radius: 50%;
  padding: 0.5rem;
  cursor: pointer;
}

.fab.fa-linkedin {
  color: var(--blue);
  border-color: var(--blue);
}

.fab.fa-pinterest {
  color: var(--red);
  border-color: var(--red);
}

.fab.fa-facebook {
  color: var(--blue);
  border-color: var(--blue);
}

.fab.fa-youtube {
  color: var(--red);
  border-color: var(--red);
}

.fab.fa-instagram {
  color: var(--yellow);
  border-color: var(--yellow);
}

.social-icons i:hover {
  transform: scale(1.2);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
/* certification page */
.certification {
  padding: 40px 0;

  .card {
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--bordercolor);
    border-radius: 8px;
    height: 100%;
    overflow: hidden;
    margin-bottom: 30px;
  }

  .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  }

  .card img {
    width: 100%;
    border-bottom: 1px solid var(--bordercolor);
    transition: transform 0.3s ease;
    height: 15rem;
  }

  .card:hover img {
    transform: scale(1.05);
  }

  .card-body {
    padding: 15px;
  }

  .card-title {
    font-size: 1.2rem;
    color: #333;
    transition: color 0.3s ease;
    margin: 1rem 0;
  }

  .card-title a {
    color: var(--darkblue);
    text-decoration: none;
  }

  .card-title a:hover {
    color: var(--orange);
  }

  .card-text {
    color: #666;
    line-height: 1.6;
  }

  .read-more {
    color: var(--buttoncolor);
    font-weight: 600;
    display: inline-block;
    transition: color 0.3s ease;
  }

  .read-more:hover {
    color: var(--orange);
  }
}

.product_features {
  .card {
    border: 1px solid var(--bordercolor);
  }
  .card:hover {
    transform: scale(1.01);
    box-shadow: 5px 5px 10px 3px rgba(0, 0, 0, 0.2);
    img {
      transform: scale(0.9);
    }
  }
  .feature_image {
    border-bottom: 2px solid var(--bordercolor);
  }
  .feature_image img {
    width: 100%;
  }
  .feature_text h5 {
    padding: 0.5rem 1rem;
    color: var(--green);
    margin-bottom: 0;
  }
}
