/* General reset and body styling */
body {
  font-family: 'Arial', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
}

/* Home container */
.home {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Hero Section Styling */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  background-image: url('../asset/orignal.png'); /* Replace with your background image */
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  animation: fadeIn 1s ease-in-out;
}

/* Hero Overlay with Gradient */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3));
  z-index: 1;
}

/* Hero Text Styling */
.hero h1 {
  font-size: 4rem;
  font-weight: bold;
  color: rgb(255, 255, 255);
  letter-spacing: 2px;
  margin-bottom: 20px;
  z-index: 2;
  animation: slideInDown 1s ease-out;
}

.hero p {
  font-size: 1.5rem;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
  z-index: 2;
  animation: fadeInUp 1.5s ease-out;
}

/* Hero Call-to-Action Button */
.hero .cta-btn {
  background-color: #f4a261;
  color: #fff;
  padding: 15px 30px;
  font-size: 1.25rem;
  border-radius: 30px;
  margin-top: 20px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  animation: zoomIn 1.5s ease-out;
}

.hero .cta-btn:hover {
  background-color: #e76f51;
}

/* Welcome Section */
.welcome-section {
  text-align: center;
  padding: 60px 20px;
  background-color: #fff;
  animation: fadeIn 1s ease-in-out;
}

.welcome-section h2 {
  font-size: 2.5rem;
  color: #2b7a0b;
  margin-bottom: 10px;
}

.welcome-section p {
  font-size: 1.2rem;
  color: #555;
}

/* Company Info Section */
.company-info {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  padding: 60px 20px;
  background-color: #f9f9f9;
  animation: slideInUp 1s ease-in-out;
}

.company-card {
  background-color: white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-radius: 15px;
  padding: 30px;
  width: 320px;
  margin-bottom: 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeIn 1s ease-in-out;
}

.company-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.company-card h3 {
  font-size: 1.75rem;
  color: #2b7a0b;
  margin-bottom: 15px;
}

.company-card p {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero {
    height: 80vh;
    padding: 0 15px;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.2rem;
    max-width: 600px;
  }

  .cta-btn {
    padding: 12px 25px;
    font-size: 1.1rem;
  }

  .welcome-section {
    padding: 40px 20px;
  }

  .company-info {
    justify-content: center;
  }

  .company-card {
    width: 100%;
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .hero {
    height: 70vh;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .cta-btn {
    padding: 10px 20px;
    font-size: 1rem;
  }

  .company-info {
    padding: 30px 10px;
  }

  .company-card {
    padding: 15px;
  }
}

/* Animations */
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInDown {
  0% {
    opacity: 0;
    transform: translateY(-40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes zoomIn {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
/* Services Section */
.services-section {
  width: 90%;
  padding: 40px 20px; /* Small gap on the sides */
  background-color: #f9f9f9;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.05);
}

.services-section h3 {
  font-size: 2rem;
  color: #2b7a0b;
  margin-bottom: 20px;
  text-align: center;
}

.services-section p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 30px;
  text-align: center;
}

.services-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center; /* Center the cards */
}

/* Individual Service Card */
.service-card {
  background-color: white;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  padding: 20px;
  flex: 1;
  min-width: 280px;
  max-width: 400px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-card h4 {
  font-size: 1.5rem;
  color: #2b7a0b;
  margin-bottom: 10px;
  text-align: center;
}

.service-card p {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
  text-align: justify;
}

/* Responsive Design */
@media (max-width: 768px) {
  .services-cards {
    gap: 15px;
  }

  .service-card {
    flex: 1 1 100%; /* Full width for smaller devices */
    max-width: none;
  }
}

@media (max-width: 480px) {
  .services-section {
    padding: 20px 10px;
  }

  .service-card {
    padding: 15px;
  }
}
