1. Hero Variant: Text Left, Image Right

Classic split layout with text and image

Welcome to Our Platform

Discover features, tools, and support to grow your business online.

Business growth
        

<div class="hero hero-1">
  <div class="hero-text">
    <h1>Welcome to Our Platform</h1>
    <p>Discover features, tools, and support to grow your business online.</p>
    <button>Get Started</button>
  </div>
  <div class="hero-image">
    <img src="https://images.unsplash.com/photo-1506744038136-46273834b3fb?auto=format&fit=crop&w=700&q=80" alt="Business growth" />
  </div>
</div>

<style>
.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 40px 20px;
  border-radius: 12px;
  background: #e9f1ff;
}
.hero-1 .hero-text {
  flex: 1 1 400px;
}
.hero-1 .hero-image {
  flex: 1 1 400px;
  text-align: center;
}
.hero-1 img {
  max-width: 100%;
  border-radius: 12px;
}
@media (max-width: 768px) {
  .hero-1 {
    flex-direction: column;
    text-align: center;
  }
  .hero-1 .hero-text,
  .hero-1 .hero-image {
    flex: unset;
    width: 100%;
    border-radius: 12px !important;
  }
}
</style>



  

2. Hero Variant: Centered Text Only

Minimal hero with centered headline and call to action

Empower Your Business Today

Join thousands of businesses using our platform to accelerate growth.

        

<div class="hero hero-2">
  <h1>Empower Your Business Today</h1>
  <p>Join thousands of businesses using our platform to accelerate growth.</p>
  <button>Learn More</button>
</div>

<style>
.hero-2 {
  flex-direction: column;
  text-align: center;
  background: #f0f8ff;
  padding: 40px 20px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-2 h1 {
  font-size: 2.8rem;
  margin-bottom: 15px;
  color: #003366;
}
.hero-2 p {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 25px;
}
.hero-2 button {
  background: #007BFF;
  border: none;
  padding: 12px 28px;
  color: white;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
}
.hero-2 button:hover {
  background: #0056b3;
}
</style>



  

3. Hero Variant: Background Image with Overlay Text

Text overlay on a full-width background image

Grow Your Brand With Us

We deliver solutions tailored to your needs.

        

<div class="hero hero-3">
  <div class="content">
    <h1>Grow Your Brand With Us</h1>
    <p>We deliver solutions tailored to your needs.</p>
  </div>
</div>


<style>
.hero-3 {
  position: relative;
  color: white;
  height: 320px;
  border-radius: 12px;
  background: url('https://images.unsplash.com/photo-1506744038136-46273834b3fb?auto=format&fit=crop&w=1350&q=80') no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.hero-3::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  border-radius: 12px;
}
.hero-3 .content {
  position: relative;
  max-width: 700px;
  z-index: 1;
}
.hero-3 h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}
.hero-3 p {
  font-size: 1.3rem;
}
</style>


  

4. Hero Variant: Split Vertical with Text and Image

Split layout with colored text area and image

Join Our Community

Be part of a vibrant network of professionals worldwide.

Community
        

<div class="hero hero-4">
  <div class="left">
    <h1>Join Our Community</h1>
    <p>Be part of a vibrant network of professionals worldwide.</p>
    <button>Sign Up</button>
  </div>
  <div class="right">
    <img src="https://images.unsplash.com/photo-1506744038136-46273834b3fb?auto=format&fit=crop&w=800&q=80" alt="Community" />
  </div>
</div>

<style>
.hero-4 {
  display: flex;
  flex-wrap: wrap;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.hero-4 .left,
.hero-4 .right {
  flex: 1 1 400px;
  padding: 40px 30px;
}
.hero-4 .left {
  background: #007BFF;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 12px 0 0 12px;
}
.hero-4 .left h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
.hero-4 .left p {
  font-size: 1.1rem;
  margin-bottom: 30px;
}
.hero-4 .left button {
  padding: 12px 28px;
  border: none;
  background: white;
  color: #007BFF;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
  width: fit-content;
}
.hero-4 .left button:hover {
  background: #e6e6e6;
}
.hero-4 .right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0 12px 12px 0;
}
</style>