
.hero-section {
    position: relative;
    width: 100%;
    height: 80vh;
    overflow: hidden;
}
.hero-image {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  top: 0;
  left: 0;
  transition: opacity 1s ease-in-out;
}

.hero-content-left-center {
  position: absolute;
  bottom: 180px; /* adjust this to move up/down */
  left: 80px; /* adjust this for left spacing */
  color: #fff;
  max-width: 600px;
}

.hero-content-left-center h1 {
  font-size: 64px; /* bigger heading */
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.2;
  top: 30px;
}

.hero-content-left-center a {
  display: inline-block;
  padding: 12px 28px;
  background: var(--btn-color);
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  border-radius: 6px;
  transition: 0.3s;
}

/* ============= RESPONSIVE SLIDER ============= */
@media (max-width: 768px) {
  .hero-content-mid h1 {
    font-size: 36px;
  }
}

@media (max-width: 480px) {
  .hero-content-left-center h1 {
    font-size: 28px;
  }
  .hero-content-left-center a {
    padding: 10px 25px;
    font-size: 14px;
  }
}

/* ============================= */
/* PRODUCTS SECTION */
/* ============================= */

.products-section {
  padding: 100px 20px;
  text-align: center;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.product-card {
  position: relative;
  height: 350px;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.product-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
  opacity: 1;
}

.product-overlay h3 {
  font-size: 24px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Responsive */
@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}

.quad-section {
  padding: 80px 20px;
  /* background: #f9fafb; */
  text-align: center;
  margin-bottom: 50px;
}

.quad-section .section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 50px;
  color: #1b1b1b;
}

.quad-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin: 0 auto;
}

/* Make all cards the same height and align content properly */
.quad-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #fff;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
  height: 100%;
}

/* Content section inside the card */
.quad-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.quad-card h3,
.quad-card p {
  margin: 0 20px;
}

.quad-card h3 {
  margin-top: 20px;
  font-size: 1.3rem;
  font-weight: 700;
  color: #1b1b1b;
}

.quad-card p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: auto; /* pushes button to bottom */
  line-height: 1.6;
}

/* Button aligned at the bottom */
.show-more-btn {
  align-self: flex-start;
  margin: 20px;
  display: inline-block;
  padding: 10px 25px;
  background: var(--primary-color, #007bff);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 123, 255, 0.2);
}

.show-more-btn:hover {
  background: var(--accent-color, #0056b3);
  box-shadow: 0 6px 14px rgba(0, 86, 179, 0.3);
  transform: translateY(-2px);
}

.show-more-btn:active {
  transform: translateY(0);
  box-shadow: 0 3px 8px rgba(0, 86, 179, 0.2);
}

/* ✅ Responsive adjustments */
@media (max-width: 992px) {
  .quad-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .quad-grid {
    grid-template-columns: 1fr;
  }

  .quad-card img {
    height: 200px;
  }
}
