/* Hero Section */
.hero {
  background: 
    radial-gradient(1200px 600px at 75% 20%, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.65)),
    url("https://toprehabinindia.com/asset/images/banner/Website.png");
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 80px 0;
  text-align: center;
}


/* Mobile-specific background */
@media (max-width: 768px) {
  .hero {
    background: 
      linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6)),
      url("https://toprehabinindia.com/asset/images/banner/Website-mobile1.png"); /* Mobile image */
    background-size: cover;
    background-position: center;
    padding: 60px 20px;
  }
}



.hero h1 {
  font-size: 50px;
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 20px;
}
.hero h1 span {
  color: var(--brand);
}
.hero p {
  font-size: 18px;
  margin-bottom: 25px;
  color: #f1f5f9;
}
.hero .btn {
  font-size: 16px;
  padding: 10px 18px;
}

/* Hero grid layout */
.hero-grid {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 50px;
  align-items: center;
  padding: 40px 0;
}

.hero-left {
  order: 1; /* default: form first */
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-right {
  order: 2; /* default: content second */
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
}
.hero-right h1 {
  margin: 0;
}
.hero-right p {
  margin: 0 0 10px;
  color: #f1f5f9;
}

/* Contact form box */
.hero-left .contact-box {
  background: #fff;
  color: #000;
  padding: 30px 25px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  width: 100%;
  max-width: 380px;
}
.contact-box h3 {
  margin-bottom: 15px;
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  color: var(--slate-900);
}
.contact-box form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-box input,
.contact-box textarea {
  padding: 12px;
  border: 1px solid var(--slate-300);
  border-radius: 6px;
  font-size: 15px;
  width: 91%;
  outline: none;
}
.contact-box input:focus,
.contact-box textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 2px rgba(255,194,15,0.3);
}
.contact-box button {
  margin-top: 10px;
  width: 100%;
  text-align: center;
  font-weight: 600;
}

/* Responsive */
@media (max-width: 992px) {
  .hero {
    padding: 60px 20px;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .hero p {
    font-size: 1rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  /* Swap order on mobile */
  .hero-right {
    order: 1;
    text-align: center;
    align-items: center;
  }
  .hero-left {
    order: 2;
  }

  .hero-btn {
    align-self: center;
  }
  .hero-right h1 {
    margin: 20px 0;
  }
}
