/* ============================
   HERO
============================ */

.hero {
  position: relative;
  width: 100%;
  min-height: 90vh;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,.65), rgba(0,0,0,.25));
}

/* Text overlay */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 3rem;
  color: white;
}

.hero-content h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.hero-content p {
  max-width: 550px;
}

/* CTA buttons in hero */
.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.hero-buttons a {
  background: #4caf50;
  color: white;
}

/* Added in button code start ------------ */
.hero-content a {
  display: block;
  width: 100%;
  padding: .85rem;
  text-align: center;
  margin-bottom: .6rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
}

.btn-primary {
  background: #2f7d32;
  color: white;
}

.btn-secondary {
  border: 2px solid #4caf50;
  color: white;
  background: rgba(255,255,255,.1);
}

/* Added in button code end ------------ */
/*************************************************/

/* ===========================
   HERO TEXT & CTA OVERLAY
=========================== */

.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  z-index: 5;
  pointer-events: none; /* so image still behaves */
}

.hero-overlay .content {
  margin-left: 6%;
  max-width: 520px;
  color: #fff;
  pointer-events: auto;
}

.hero-overlay h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.1;
  margin-bottom: 1rem;
  text-shadow: 0 2px 20px rgba(0,0,0,.6);
}

.hero-overlay p {
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 1.8rem;
  text-shadow: 0 2px 15px rgba(0,0,0,.7);
}

/* CTA stack */
.hero-ctas {
  display: grid;
  gap: 1rem;
}

/* Green primary button */
.hero-ctas .primary {
  background: #4caf50;
  color: #fff;
  text-align: center;
  padding: 1rem 1.2rem;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(0,0,0,.4);
}

/* Outline call button */
.hero-ctas .secondary {
  border: 2px solid #4caf50;
  color: #fff;
  text-align: center;
  padding: 0.9rem 1.2rem;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  backdrop-filter: blur(4px);
  background: rgba(0,0,0,0.35);
}

/* Mobile */
@media (max-width: 768px) {
  .hero-overlay .content {
    margin: 0 1.25rem;
    max-width: 100%;
  }

  .hero-overlay {
    align-items: flex-end;
    padding-bottom: 2rem;
  }
}

/* ============================
   FEATURE SECTIONS
============================ */

.section {
  padding: 5rem 8%;
}

.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding:2rem;
}

.feature img {
  width: 100%;
  border-radius: 12px;
}

/* Mobile stacking */
@media (max-width: 900px) {
  .feature {
    grid-template-columns: 1fr;
  }
}

/* ============================
   CARDS
============================ */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  
  gap: 2rem;
  margin-top: 4rem;
  margin-bottom: 2rem;
  padding-right: 2rem;
  padding-left: 2rem;
}

.card {
  background: white;
  border-radius: 14px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  height: 350px;
  color: white
}


.trust {
  margin: 2rem;
  font-size: 1.2rem;
  text-align: center;
}