@import url('https://fonts.googleapis.com/css2?family=Arimo:ital,wght@0,400..700;1,400..700&family=Be+Vietnam+Pro:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Oswald:wght@200..700&family=Rajdhani:wght@300;400;500;600;700&display=swap');

/* Services Hero Section */

   * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    .image-section {
      position: relative;
      width: 100%;
      max-width: 100%;
      height: 300px; /* Full screen height */
      overflow: hidden;
    }

    .image-section img {
      width: 100%;
      height: 300px;
      object-fit: cover;
      display: block;
    }

    .overlay {
      position: absolute;
      top: 0;
      left: 0;
      height: 300px;
      width: 100%;
      background-color: rgba(0, 0, 0, 0.5); /* dark transparent overlay */
      display: flex;
      justify-content: center;
      align-items: center;
      flex-direction: column;
      color: white;
      text-align: center;
      padding: 20px;
    }

    .overlay h1 {
      font-size: 3.2rem;
      margin-bottom: 10px;
      font-family: "Arimo", sans-serif;
    }

    .overlay p {
      font-size: 1.5rem;
      font-family: "Arimo", sans-serif;
      color: #edecec;
    }

    @media (max-width: 768px) {
      .overlay h1 {
        font-size: 2rem;
      }

      .overlay p {
        font-size: 1rem;
      }
    }



/* Product Section */

    .tab-buttons {
      display: flex;
      justify-content: center;
      gap: 15px;
      margin-bottom: 30px;
      padding:40px 20px;
    }

    .tab-buttons button {
      padding: 10px 25px;
      border: none;
      border-radius: 30px;
      background-color: rgb(238, 237, 237);
      color: black;
      font-size: 18px;
      cursor: pointer;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
      transition: all 0.3s ease;
      font-family: "Arimo", sans-serif;
    }

    .tab-buttons button.active {
      background-color: #223883 ;
      color: white;
      font-family: "Arimo", sans-serif;
      font-size: 18px;
    }

    .products {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 5px;
      padding: 30px 0px;
    }

.product-card {
  background-color: transparent;
  border-radius: 12px;
  width: 250px;
  text-align: center;
  transition: transform 0.2s;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-image {
  border: 2px solid #e4e4e7;
  border-radius: 10px;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 10px;
}

.product-info {
  margin-top: 10px;
  border: 2px solid #e4e4e7;
  border-radius: 10px;
  padding: 10px;
  height: 90px; /* Ensure equal height across all cards */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-info .title {
  font-size: 18px;
  font-weight: bold;
  flex-grow: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: "Arimo", sans-serif;
}

.product-info .read-more {
  display: inline-block;
  padding: 6px 14px;
  background-color: #177cc0;
  color: #fff;
  border-radius: 20px;
  text-decoration: none;
  font-size: 15px;
  font-family: "Arimo", sans-serif;
}

/* ----------------- Responsive ----------------- */
  @media (max-width: 1024px) {
    .product-card {
      width: 220px;
    }
  }

  @media (max-width: 768px) {
    .product-card {
      width: 45%;
    }
  }

 @media (max-width: 600px) {
  .tab-buttons {
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    gap: 10px;
    padding: 10px;
  }

  .tab-buttons button {
    width: 30vw;
    height: 20vw;
    border-radius: 20%;
    padding: 2px;
    font-size: 12px;
    white-space: normal;
    line-height: 1.2;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    word-break: break-word;
  }

  .product-card {
    width: 90%;
  }

  .thumbnail-images {
    gap: 8px;
  }

  .thumbnail-images img {
    width: 60px;
    height: 60px;
  }
}


/* ---------------- Media Queries ---------------- */
@media (max-width: 1024px) {
  .product-card {
    width: 220px;
  }
}

@media (max-width: 768px) {
  .product-card {
    width: 45%;
  }
}

@media (max-width: 600px) {
  .tab-buttons {
    padding: 10px;
    gap: 10px;
  }

  .tab-buttons button {
    flex: 1 1 100%;
    font-size: 14px;
    padding: 10px;
    border-radius: 20px;
  }

  .product-card {
    width: 90%;
  }

  .thumbnail-images img {
    width: 60px;
    height: 60px;
  }

  .image-gallery .main-image img {
    max-height: 300px;
  }
}

@media (max-width: 400px) {
  .tab-buttons button {
    font-size: 13px;
    padding: 8px;
  }

  .thumbnail-images img {
    width: 50px;
    height: 50px;
  }
}