body {
  font-family: 'Poppins', sans-serif;
  background-color: #f8f9fa;
}

/* ===== Industry Section ===== */
.industry-card {
  animation: fadeInUp 1s ease-in-out;
}
.industry-logo {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 10px;
}

/* ===== Navbar ===== */
.navbar-brand {
  font-size: 1.4rem;
}
.search-form input {
  border-radius: 30px;
  padding-right: 40px;
}
.btn-search {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: white;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
}
.btn-search:hover {
  color: #ff5f6d;
}

/* ===== Products Section ===== */
.products-section h2 {
  color: #333;
  animation: fadeInDown 1s ease-in-out;
}
.product-card {
  transition: transform 0.4s ease, box-shadow 0.3s ease;
  cursor: pointer;
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.product-card img {
  border-radius: 6px 6px 0 0;
}

/* ===== Carousel Navigation Buttons ===== */
.custom-nav {
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  width: 45px;
  height: 45px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}
.custom-nav span i {
  color: #333;
  font-size: 20px;
}
.custom-nav:hover {
  background: #dc3545;
}
.custom-nav:hover span i {
  color: white;
}

/* ===== Buttons ===== */
.btn-animated {
  transition: 0.3s ease-in-out;
}
.btn-animated:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(255, 87, 87, 0.3);
}

/* ===== Animations ===== */
@keyframes fadeInUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
@keyframes fadeInDown {
  from { transform: translateY(-20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/*about us */

.ganesh-section {
  animation: fadeIn 1.2s ease-in-out;
}

.icon-circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-color: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.icon-circle i {
  font-size: 38px;
  color: #dc3545;
  transition: 0.3s;
}

.info-card:hover .icon-circle {
  background-color: #ffe5e5;
  transform: scale(1.07);
}

.info-card:hover i {
  color: #b71c1c;
}

.info-card h6 {
  font-size: 15px;
  color: #666;
  margin-top: 12px;
}

.info-card p {
  font-size: 15px;
  color: #000;
  margin-top: 5px;
}

.fade-in {
  animation: fadeIn 1s ease-in;
}

.fade-in-up {
  animation: fadeInUp 1.2s ease-in;
}

@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}

@keyframes fadeInUp {
  from {opacity: 0; transform: translateY(25px);}
  to {opacity: 1; transform: translateY(0);}
}

/* Responsive design */
@media (max-width: 768px) {
  .icon-circle {
    width: 80px;
    height: 80px;
  }
  .icon-circle i {
    font-size: 28px;
  }
  .info-card h6, .info-card p {
    font-size: 13px;
  }
}

/* Smokish background */
.product-range {
  background: linear-gradient(135deg, #f5f5f5, #e8e8e8);
  animation: fadeIn 1s ease-in;
}

/* Flex layout for equal height cards */
.product-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  background: #fff;
  border-radius: 12px;
  padding: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Keep all images same height and cover */
.product-card img {
  border-radius: 10px;
  height: 180px;
  width: 100%;
  object-fit: cover;
  margin-bottom: 12px;
}

/* Product text styling */
.product-card h6 {
  color: #0056b3;
  font-size: 15px;
  font-weight: 600;
  min-height: 40px;
}

.price-text {
  color: #ff6600;
  font-size: 14px;
  margin: 5px 0;
}

.inquiry-btn {
  background-color: #dc3545;
  color: #fff;
  border: none;
  padding: 10px 25px;
  border-radius: 30px;
  font-size: 14px;
  transition: all 0.3s ease;
}

.inquiry-btn:hover {
  background-color: #b71c1c;
  transform: scale(1.05);
}

.fade-in {
  animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
  from {opacity: 0; transform: translateY(30px);}
  to {opacity: 1; transform: translateY(0);}
}

/* Modal Overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60%;
  background: rgba(0,0,0,0.6);
  display: none; /* hidden by default */
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* Modal Box */
.modal-box {
  background: #fff;
  padding: 25px;
  max-width: 500px;
  width: 50%;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  animation: zoomIn 0.3s ease;
  position: relative;
}

/* Close Button */
.close-btn {
  position: absolute;
  top: 12px;
  right: 15px;
  font-size: 22px;
  cursor: pointer;
}

/* Zoom animation */
@keyframes zoomIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* Supplier Section */ 

.nearby-suppliers {
  background: #fff;
  padding: 60px 5%;
  text-align: center;
  position: relative;
}

.nearby-suppliers h2 {
  font-size: 1.8rem;
  margin-bottom: 30px;
  font-weight: 600;
  color: #222;
}

.supplier-slider {
  position: relative;
  overflow: hidden;
}

.slider-track {
  display: flex;
  transition: transform 0.6s ease-in-out;
}

.supplier-card {
  flex: 0 0 25%; /* 4 visible at a time on desktop */
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  margin: 0 10px;
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.supplier-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.supplier-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
}

.supplier-card h3 {
  font-size: 1.1rem;
  margin: 12px 0 6px;
  color: #333;
}

.price-link {
  color: #e94e1b;
  font-weight: 500;
  text-decoration: none;
}

.price-link:hover {
  text-decoration: underline;
}

.inquiry-btn {
  background: #e94e1b;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 30px;
  cursor: pointer;
  margin-top: 10px;
  transition: 0.3s;
}

.inquiry-btn:hover {
  background: #c93f15;
  box-shadow: 0 0 8px rgba(233,78,27,0.6);
}

.slider-btn {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  padding: 10px 14px;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s;
  z-index: 10;
}

.slider-btn:hover {
  background: rgba(0,0,0,0.7);
}

.prev { left: 10px; }
.next { right: 10px; }

/* Responsive Design */
@media (max-width: 1024px) {
  .supplier-card { flex: 0 0 45%; }
}

@media (max-width: 768px) {
  .supplier-card { flex: 0 0 80%; }
}

/* FAQ */

.faq-section {
  padding: 60px 5%;
  background: #f9fafb;
  text-align: center;
}

.faq-section h2 {
  font-size: 1.8rem;
  font-weight: 600;
  color: #222;
  margin-bottom: 30px;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.faq-item {
  background: #fff;
  border-radius: 12px;
  margin-bottom: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 18px 24px;
  font-size: 1.05rem;
  font-weight: 500;
  color: #333;
  transition: background 0.3s;
}

.faq-question:hover {
  background: #f3f4f6;
}

.faq-toggle {
  font-size: 1.5rem;
  color: #e94e1b;
  transition: transform 0.3s;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  background: #fff;
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
  padding: 0 24px;
  transition: all 0.4s ease;
}

.faq-item.active .faq-answer {
  padding: 15px 24px 25px;
  max-height: 300px;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

@media (max-width: 600px) {
  .faq-section h2 {
    font-size: 1.4rem;
  }
  .faq-question {
    font-size: 1rem;
    padding: 14px 18px;
  }
}
