/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background: linear-gradient(135deg, #f0f4ff, #ffffff);
}

/* Hero Section */
.hero {
  width: 100%;
  max-width: 1200px;
  padding: 80px 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  min-height: 100vh;
}

/* Text Side */
.hero-content {
  flex: 1 1 450px;
  text-align: left;
  animation: fadeInUp 1s ease forwards;
}

.hero-content h1 {
  font-size: 2.8rem;
  line-height: 1.2;
  color: #222;
  margin-bottom: 15px;
}

.hero-content h1 span {
  color: #007bff;
}

.hero-content p {
  color: #555;
  font-size: 1.1rem;
  margin-bottom: 25px;
  max-width: 500px;
}

/* Buttons */
.hero-buttons {
  display: flex;
  gap: 15px;
}

.btn {
  text-decoration: none;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn.primary {
  background: #007bff;
  color: #fff;
}

.btn.primary:hover {
  background: #0056d4;
}

.btn.secondary {
  border: 2px solid #007bff;
  color: #007bff;
}

.btn.secondary:hover {
  background: #007bff;
  color: #fff;
}

/* Image Side */
.hero-image {
  flex: 1 1 400px;
  text-align: center;
}

.hero-image img {
  width: 100%;
  max-width: 450px;
  animation: float 4s ease-in-out infinite;
}

/* Animations */
@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1100px){
  .hero-image{
    display: none;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    text-align: center;
  }

  .hero-content {
    text-align: center;
  }

  .hero-content p {
    margin: 0 auto 25px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-image img {
    max-width: 320px;
  }
}
