/* === GLOBAL RESET === */
.home-container {
  font-family: "Poppins", sans-serif;
  color: #fff;
  background-color: #000;
  overflow-x: hidden;
}

/* === HERO SECTION === */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 400px;
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(2);
  transition: transform 0.5s ease;
}

.hero-section:hover .hero-image {
  transform: scale(1.05);
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  z-index: 2;
  width: 90%;
  max-width: 900px;
  padding: 0 20px;

  /* 🟢 Smooth fade-in and stay visible */
  opacity: 0;
  animation: fadeInCenter 1.5s ease-out forwards;
}

.hero-overlay h1,
.hero-overlay p,
.hero-btn {
  opacity: 0;
  animation: fadeInCenter 1.2s ease-out forwards;
}

/* 🪶 Fixed animation that doesn’t conflict */
@keyframes fadeInCenter {
  from {
    opacity: 0;
    transform: translate(-50%, -55%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero-overlay h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  font-weight: 700;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
  line-height: 1.2;
  opacity: 0;
  animation: fadeInUp 1.2s ease-out forwards;
  animation-delay: 0.5s;
}

.hero-overlay p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.6);
  opacity: 0;
  animation: fadeInUp 1.2s ease-out forwards;
  animation-delay: 0.8s;
}

.hero-btn {
  background: #d4a14a;
  color: #fff;
  padding: 0.8rem 1.6rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s;
  opacity: 0;
  animation: fadeInUp 1.2s ease-out forwards;
  animation-delay: 1.1s;
}

.hero-btn:hover {
  background: #b88730;
}

/* === FADE-IN ANIMATION === */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === RESPONSIVE HERO === */
@media (max-width: 1024px) {
  .hero-section {
    height: 70vh;
  }

  .hero-overlay h1 {
    font-size: 2.2rem;
  }

  .hero-overlay p {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .hero-section {
    height: 60vh;
    min-height: 320px;
  }

  .hero-overlay {
    top: 55%;
    left: 50%;
    transform: translate(-50%, -55%);
    text-align: center;
    padding: 0 15px;
  }

  .hero-overlay h1 {
    font-size: 1.7rem;
    line-height: 1.3;
    margin-bottom: 0.8rem;
  }

  .hero-overlay p {
    font-size: 0.95rem;
    margin-bottom: 1rem;
  }

  .hero-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .hero-section {
    height: 55vh;
    min-height: 300px;
  }

  .hero-overlay {
    top: 60%;
    transform: translate(-50%, -60%);
  }

  .hero-overlay h1 {
    font-size: 1.4rem;
  }

  .hero-overlay p {
    font-size: 0.85rem;
  }
}

/* === ABOUT PREVIEW === */
.about-preview {
  text-align: center;
  padding: 3rem 1.5rem;
}

.about-preview h2 {
  color: #ff5722;
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.about-preview p {
  max-width: 900px;
  margin: 0 auto 1.5rem;
  font-size: 1rem;
  color: #fff;
}

.read-more-btn {
  color: #fff;
  background: #d4a14a;
  padding: 0.6rem 1.2rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 500;
}

.read-more-btn:hover {
  background: #b88730;
}

/* === PRODUCT HIGHLIGHT === */
.product-highlight {
  padding: 3rem 1.5rem;
  background-color: #000;
  color: #fff;
  text-align: center;
}

.product-highlight h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.product-grid {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.product-item {
  flex: 0 0 auto;
  scroll-snap-align: start;
  min-width: 220px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
  overflow: hidden;
}

.product-item:hover {
  transform: translateY(-5px);
}

.product-item img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.product-item h3 {
  padding: 0.8rem;
  font-size: 1rem;
  color: #333;
}

/* === CLEAN CERTIFICATE SECTION === */
.certificate-highlight {
  padding: 3rem 1.5rem;
  background-color: #000;
  color: #fff;
  text-align: center;
}

.certificate-highlight h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.certificate-grid {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  justify-content: center;
}

.certificate-item {
  flex: 0 0 auto;
  scroll-snap-align: start;
  min-width: 260px;
  background: none; /* No background */
  border: none; /* No border */
  box-shadow: none; /* No shadow */
  overflow: hidden;
}

.certificate-item img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.certificate-item img:hover {
  transform: scale(1.03);
}

/* === WHY CHOOSE US === */
.why-choose {
  background: #000;
  padding: 3rem 1.5rem;
  text-align: center;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.feature-card {
  background: #fff8f0;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.feature-card:hover {
  transform: scale(1.03);
}

.feature-card h3 {
  color: #ff5722;
  margin-top: 0.5rem;
  font-size: 1.1rem;
}

.feature-card p {
  color: #555;
  font-size: 0.95rem;
}

/* === CONTACT CTA === */
.contact-cta {
  background: #d4a14a;
  color: #fff;
  text-align: center;
  padding: 3rem 1.5rem;
}

.contact-btn {
  display: inline-block;
  margin-top: 1rem;
  background: #fff;
  color: #ff5722;
  padding: 0.8rem 1.5rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
}

.contact-btn:hover {
  background: #ffe0d2;
}
