
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background-color: #f9f9f9;
  font-size: 16px;
  line-height: 1.6;
  color: #1F2937;
}

.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 50px 10%;
  background-image: url('../img/hero.png');
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  background-position: center;
  min-height: 100vh;
}


.hero-content {
  max-width: 600px;
}

.hero-content h5 {
  color: #FF3131;
  font-size: 1rem; 
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-content h1 {
  font-size: 3rem; 
  font-weight: 700;
  color: #1F2937;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-content p {
  color: #6B7280;
  font-size: 1rem;
  margin-bottom: 30px;
  line-height: 1.6;
}


.hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-buttons .btn {
  padding: 15px 25px;
  font-size: 1rem; 
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  
  transition: background-color 0.3s ease, color 0.3s ease, border 0.3s ease;
}

.btn-primary {
  background-color: #FF3131;
  color: #fff;
}

.btn-primary:hover {
  background-color: #e02e2e;
}

.btn-secondary {
  background-color: #fff;
  color: #1F2937;
  border: 2px solid #1F2937;
}

.btn-secondary:hover {
  background-color: #f0f0f0;
}


@keyframes slideInRight {
  0% {
      transform: translateX(100%);
      opacity: 0;
  }
  100% {
      transform: translateX(0);
      opacity: 1;
  }
}

.hero-image img {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 20px;
  animation: slideInRight 1s ease-out forwards;
}


@media (max-width: 600px) {
  .hero {
      flex-direction: column;
      padding: 30px 5%;
      text-align: center;
      background-position: inherit !important;
  }

  .hero-content {
      max-width: 100%;
      margin-top: 30%;
  }

  .hero-content h1 {
      font-size: 2rem; 
  }

  .hero-content p {
      font-size: 0.9rem; 
  }

  .hero-buttons {
    flex-direction: column; 

    margin: 0 auto;
    text-align: center !important;
    justify-content: center;
}
.hero-buttons .btn{
  align-self: center !important;
}

  .hero-image img {
      max-width: 100%;
      margin-top: 20px;
      border-radius: 10px;
  }
}

@media (min-width: 601px) and (max-width: 900px) {
  .hero {
      flex-direction: column;
      padding: 40px 8%;
      text-align: center;

  }
  .hero-content {
    max-width: 100%;
    margin-top: 30%;
}

  .hero-content h1 {
      font-size: 2.8rem; 
  }

  .hero-buttons {
      flex-direction: row;
      justify-content: center;
  }

  .hero-image img {
      max-width: 80%;
      margin-top: 20px;
  }
}


@media (min-width: 901px) and (max-width: 1200px) {
  .hero {
      padding: 50px 10%;
     
  }

  .hero-content h1 {
      font-size: 3rem; 
  }

  .hero-content p {
      font-size: 1rem; 
  }

  .hero-image img {
      max-width: 70%;
  }
}


@media (min-width: 1201px) {
  .hero {
      padding: 60px 15%;
  }

  .hero-content h1 {
      font-size: 3.5rem; 
  }

  .hero-content p {
      font-size: 1.1rem; 
  }

  .hero-buttons .btn {
      font-size: 1.1rem; 
  }

  .hero-image img {
      max-width: 800px;
  }
}
