* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #efefef;
  color: #333;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.hero {
  padding: 60px 20px;
  background: #fff;
  padding: 4rem 0;
  margin-top: 89px;
}

.hero-content {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    width: 90%;
}

.hero-text h1 {
    font-size: 2.8rem;
    margin-bottom: 2rem;
    max-width: 600px;
    text-align: left;
    color: #fd5702;
}

.hero-text p {
    font-size: 1.5rem;
    text-align: justify;
    margin-bottom: 5.5rem;
    line-height: 1.5;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    transition: all 0.5s ease;
}

/* Services Section */
.services {
  padding: 60px 20px;
  background: #fff;
  border-top-left-radius: 90px;
  border-top-right-radius: 90px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  margin-top: -40px;
  box-shadow: 0 -10px 5px rgba(0,0,0,0.05);
}

.services-container {
  width: 90%;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  justify-content: center;
}

.service-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.1);
  background: #fd5702;
  color: #fff
}

.service-card:hover h3,
.service-card:hover p {
  color: #fff;
}

.service-card:hover .btn-learn {
  background: #fff;
  color: #000000;
}

.service-card img {
  width: 100px;
  height: auto;
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
}

.service-card p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 15px;
}

.btn-learn {
  display: inline-block;
  background: #FFC107;
  color: #000;
  font-weight: 500;
  padding: 8px 15px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-bottom: 10px;
}

.btn-learn:hover {
  background: #fd5702;
  color: #fff;
}


@media screen and (max-width: 1024px) {
  .hero-text h1 {
    font-size: 2.4rem;
    width: 400px;
  }
  .hero-text p {
    font-size: 1.3rem;
  }
  .services {
    padding: 50px 20px;
  }
  .services-container {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }
}

@media screen and (max-width: 768px) {
  .hero-text h1 {
   font-size: 1.8rem;
   width: 300px;
   margin-bottom: 1rem;
  }
  .hero-text p {
    font-size: 1rem;
  }
  .services {
    padding: 50px 20px;
  }
  .services-container {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .service-card {
    padding: 5px;
  }
  .service-card h3 {
    font-size: 1rem;  
  }
  .service-card p, .btn-learn {
    font-size: 0.85rem;
  }
  .footer-bottom p {
    font-size: 12px;
  }
}

@media screen and (max-width: 425px) {
  .hero-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    flex-direction: column-reverse;
  }
  .hero-text h1 {
    font-size: 1.5rem;
    margin: 0 auto;
    text-align: center; 
  }
.hero-text p {
    font-size: 0.9rem;
    width: 320px;
    margin: 20px 10px 50px 10px;
    }

  .services {
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
    padding: 30px 30px;
  }

  .services-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .service-card {
    padding: 5px;
  }

  .service-card img {
  width: 80px;
  height: auto;
  }

  .service-card h3 {
    font-size: 0.9rem;  
  }

  .service-card p{
    font-size: 0.8rem;
  }

  .btn-learn {
    display: inline-block;
    font-size: 0.8rem;
    padding: 6px 10px;
  }

  .footer-bottom p {
    font-size: 9px;
  }
}

@media screen and (max-width: 375px){
  .btn-learn {
  display: inline-block;
  font-size: 0.7rem;
  padding: 6px 10px;
  }
}


