/* ---------------------------------- */
/* 🎥 Hero Section - Home            */
/* ---------------------------------- */
.home {
  height: 87vh;
  /* height: calc(100vh - 85px); */
  /* min-height: 100svh; */
  width: 100vw;            /* ✅ Full viewport width */
  max-width: 100%; 
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 0; /* ✅ Remove any default spacing */
  margin: 0;
}

.bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  /* max-width: 100dvw; */
  height: 100%;
  object-fit: cover;
  /* object-fit: contain; */
  object-fit:inherit;
  object-position: center;
  z-index: -1;
}

.home-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  max-width: 800px;
  padding: 1.5rem;
  z-index: 10;
}
#home {
  padding: 0;
  margin: 0;
}
.home-content h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}
.home-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* Features Section */
.features-section {
  max-width: 1200px;
  margin: 50px auto;
  padding: 0 15px;
  text-align: center;
}

.features-section h2 {
  font-size: 2.8rem;
  color: #004d40;
  margin-bottom: 40px;
  font-weight: 700;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
  gap: 30px;
}

.feature-card {
  background: white;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  transition: box-shadow 0.3s ease;
}

.feature-card:hover {
  box-shadow: 0 0 15px rgba(0, 200, 83, 0.6);
}

.feature-card img {
  height: 65px;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: #00796b;
}

.feature-card p {
  font-size: 1rem;
  color: #555;
}

/* How It Works Section */
.how-it-works {
  background: #e0f2f1;
  padding: 50px 20px;
  max-width: 1200px;
  margin: 60px auto;
  border-radius: 15px;
  text-align: center;
}

.how-it-works h2 {
  font-size: 2.6rem;
  color: #004d40;
  margin-bottom: 40px;
  font-weight: 700;
}

.steps-container {
  display: flex;
  flex-wrap: wrap;
  gap: 35px;
  justify-content: center;
}

.step-card {
  background: white;
  padding: 25px;
  max-width: 260px;
  border-radius: 15px;
  box-shadow: 0 0 12px rgba(0,0,0,0.08);
  transition: box-shadow 0.3s ease;
}

.step-card:hover {
  box-shadow: 0 0 18px rgba(0, 200, 83, 0.6);
}

.step-card img {
  height: 60px;
  margin-bottom: 20px;
}

.step-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: #00796b;
}

.step-card p {
  font-size: 1rem;
  color: #555;
}

/* Responsive */
/* @media (max-width: 900px) { */
@media (max-width: 768px) {
  .hero-container {
    flex-direction: column;
  }
  .hero-image, .hero-text {
    flex: 1 1 100%;
  }
  .steps-container {
    flex-direction: column;
    align-items: center;
  }
}

/* ---------------------------------- */
/* 📱 Responsive Fix for Mobile View */
/* ---------------------------------- 768*/
@media (max-width: 768px) {
  .home {
    /*height: 50vh;  Reduce height for smaller screens */
    width: 100vw;
    min-height: 50vh;
  }
  .bg-image {
    object-fit: contain;   /* Show full image on mobile */
    object-position: center;
  }
}

@media (max-width: 1280px) {
  .page-wrapper {
    min-height: 100svh; /* ✅ Small viewport height for mobile */
  }
}