/* main swiper  */

@media (max-width: 768px) {
  .swiper-pagination {
    transform: translateX(-50%);
    bottom: 115px; 
    --swiper-pagination-bottom: 20px; 
  }
}

.group:hover .group-hover\\:block {
  display: block;
}

/* About Section  */

@keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .fade-in-animation {
    animation: fadeIn 1s ease-out forwards;
  }
  
  .delay-100 {
    animation-delay: 0.1s;
  }
  
  .delay-200 {
    animation-delay: 0.2s;
  }
  
  .delay-300 {
    animation-delay: 0.3s;
  }
  
  .delay-400 {
    animation-delay: 0.4s;
  }
  

  /* Our service Home Page  */

.product-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

/* Triggered state when in view */
.product-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.swiper-button-next,
.swiper-button-prev {
  color: white; 
}

.swiper-pagination-bullet {
  background: white; 
}


/* about why us  */

  /* Custom Animations */
  @keyframes fadeInUp {
    0% {
      opacity: 0;
      transform: translateY(20px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .fade-in-up {
    animation: fadeInUp 1s ease-out;
  }

  /* Smooth hover scale for cards */
  .hover-scale:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
  }


/* gallery  */


  .gallery-container {
    text-align: center;
    width: 100%;
   
    margin: 0 auto;
    margin-bottom: 50px;
}

.gallery-heading {
    font-size: 3em;
    color: #333;
    margin-bottom: 50px;
    animation: fadeIn 1s ease-in-out;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 10px;
}

.gallery-item {
    overflow: hidden;
    position: relative;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}



/* Gallery Load More Feature  */

.hidden {
  display: none;
}

.gallery-item {
  margin-bottom: 20px;
}

/* product section on home page  */

/* Custom CSS */
.flooring-container{
  width: 100%;
  min-height: 85vh;
  display: flex;
  justify-content: space-between;
  column-gap: 40px;
  padding: 60px 6%;
  overflow: hidden; 
}

.flooring-side-info {
  margin: 20px 0;
}

.flooring-side-info h1 {
  text-transform: capitalize;
  letter-spacing: 0.8px;
  font-family: "Roboto", sans-serif;
  font-weight: 900;
  font-size: 56px;
  background-color: #d10b0b;
  background-image: linear-gradient(45deg, #aa000e, #000000);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 20px;
}

.flooring-side-info hr {
  background: #005baa;
  height: 4px;
  width: 20%;
  margin: 18px 0;
}

.flooring-container a {
  display: inline-block;
  text-decoration: none;
  text-transform: uppercase;
  color: #717171;
  font-weight: 500;
  background: #fff;
  border-radius: 50px;
  border: 2px solid #c2c2c2;
  padding: 8px 16px;
  margin-top: 20px;
  transition: 0.3s ease-in-out;
}

.flooring-container a:hover {
  border: 2px solid #d10b0b;
  color: #d10b0b;
}


.unique-flooring-swiper {
  width: calc(100% - 300px); 
  overflow: hidden; 
}

.unique-flooring-swiper .swiper-wrapper {
  display: flex;
}

.unique-flooring-swiper .swiper-slide {
  width: 100%; 
  height: 450px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end; 
}

.unique-flooring-swiper .swiper-slide h2 {
  color: #ffffff;
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-size: 17px;
  margin: 10px 24px 0 24px; 
}

.unique-flooring-swiper .swiper-slide p {
  color: white;
  font-family: "Roboto", sans-serif;
  font-weight: 300;
  padding:0 24px;
  font-size: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 10px; 
}

.unique-flooring-swiper .swiper-slide a {
  margin: 35px 24px; 
  /* padding: 8px 16px;
  font-size: 14px; */
  border: none;
  padding: 8px 12px;
    font-size: 8px;
}

.unique-flooring-swiper .swiper-slide a:hover {
  border: none;
}

.flooring-slide-one {
  background: linear-gradient(to top, #0f2027, #203a4300, #2c536400),
    url(./assets/products/epdm.jpg) no-repeat center / cover;
}

.flooring-slide-two {
  background: linear-gradient(to top, #0f2027, #203a4300, #2c536400),
    url(./assets/products/indoor\ outdoor\ gym\ flooring.jpg) no-repeat center / cover;
}

.flooring-slide-three {
  background: linear-gradient(to top, #0f2027, #203a4300, #2c536400),
    url(./assets/products/indoor\ outdoor\ sports\ flooring.jpg) no-repeat center / cover;
}

.flooring-slide-four {
  background: linear-gradient(to top, #0f2027, #203a4300, #2c536400),
    url(./assets/products/synthetic\ athletic\ track.jpg) no-repeat center / cover;
}
.flooring-slide-five {
  background: linear-gradient(to top, #0f2027, #203a4300, #2c536400),
    url(./assets/products/garden\ jogging\ track.jpg) no-repeat center / cover;
}
.flooring-slide-six {
  background: linear-gradient(to top, #0f2027, #203a4300, #2c536400),
    url(./assets/products/artificial\ grass.jpeg) no-repeat center / cover;
}


/* Responsive Design */
@media (min-width: 800px) {
  .flooring-container {
    display: flex;
    align-items: center;
  }

  .flooring-side-info {
    margin-bottom: 20px;
  }
}

@media (max-width: 640px) {
  .flooring-container {
    flex-direction: column;
    align-items: center;
    min-height: 70vh;
  }
  .unique-flooring-swiper .swiper-slide h2 {
    color: red;
    font-weight: bolder;
  }
  .flooring-side-info h1 {
    font-size: 36px;
  }

  .flooring-side-info p {
    font-size: 14px;
  }

  .unique-flooring-swiper {
    width: 100%;
  }

  .unique-flooring-swiper .swiper-slide {
    width: 100%; 
    height: auto; 
  }
}

/* products on product page  */

 .card {
  border: 2px solid transparent;
  transition: border 0.3s ease-in-out;
}

.card:hover {
  border: 2px solid lightgray;
}

.card:hover .card-image {
  transform: scale(1.1);
}

.image-container {
  overflow: hidden;
}

.card-image {
  transition: transform 0.3s ease-in-out;
  object-fit: cover;
  height: 100%;
  width: 100%;
}

.heading {
  text-align: center;
  color: #454343;
  font-size: 30px;
  font-weight: 700;
  position: relative;
  margin-bottom: 70px;
  text-transform: uppercase;
  z-index: 999;
}
.white-heading{
  color: #ffffff;
}
.heading:after {
  content: ' ';
  position: absolute;
  top: 100%;
  left: 50%;
  height: 40px;
  width: 180px;
  border-radius: 4px;
  transform: translateX(-50%);
  background: url(img/heading-line.png);
  background-repeat: no-repeat;
  background-position: center;
}
.white-heading:after {
  background: url(https://i.ibb.co/d7tSD1R/heading-line-white.png);
  background-repeat: no-repeat;
  background-position: center;
}

.heading span {
  font-size: 18px;
  display: block;
  font-weight: 500;
}
.white-heading span {
  color: #ffffff;
}

/* product page cards */

.card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%; 
}

.image-container {
  height: 200px; 
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover; 
}


/*-----Testimonial-------*/

.testimonial-container{
  background-color: white;
  color: #fff;
  border-radius: 5px;
  margin: 20px auto;
  padding: 50px 80px;
  max-width: 768px;
  position:relative;
  margin-bottom: 50px;
  height: 303px;
  background-repeat: no-repeat;
}

.fa-quote{
  color:black;
  font-size: 28px;
  position: absolute;
  top: 70px;
}

.fa-quote-right{
  left: 40px;
}

.fa-quote-left{
  right: 40px;
}

.testimonial{
  line-height: 1.7;
  text-align: justify;
  margin-bottom: 30px;
}

.user{
  display:flex;
  align-items:center;
  justify-content: center;
}

.user .user-image{
  border-radius: 50%;
  border: 3px solid #ff6969;
  height: 75px;
  width: 75px;
  object-fit: cover;
}

.user .user-details{
  margin-left: 10px;
}

.user .username{
  margin: 0;
}

.user .role{
  font-weight: normal;
  margin: 10px 0;
}

.progress-bar {
  background-color: black;
  height: 4px;
  width: 100%;
  margin-bottom: 40px;
  animation: grow 3s linear infinite; 
  transform-origin: left;
}

@keyframes grow {
  0% {
    transform: scaleX(0);
  }
}

@media(max-width: 768px){
  .testimonial-container{
    padding: 10px 10px;
        margin: 0px 15px;
  }
  
  .fa-quote{
    display: none;
  }
}