@import url("https://fonts.googleapis.com/css2?family=Ubuntu:wght@400;500;700&display=swap");

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Times New Roman", Times, serif;
  margin-top: 90px;
  font-weight: bold;
}

.inside {
  margin-left: 40px;
  text-align: justify;
  margin-right: 20px;
}

/* Overlay */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.overlay-content {
  position: relative;
  border: 5px solid white;
  padding: 10px;
  background-color: white;
  border-radius: 10px;
}

.overlay-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 8px;
}

.close-button {
  position: absolute;
  top: -10px;
  right: -10px;
  background: red;
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  padding: 5px 10px;
}

/* Home Section */
.home {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 100px 40px;
  background-color: #f5f5f5;
}

.home-content {
  max-width: 50%;
}

.home h1 {
  font-size: 3rem;
  font-weight: bold;
  color: #333;
}

.home span {
  color: #12ad2b;
}

.home p {
  font-size: 1.2rem;
  color: #555;
  margin-top: 20px;
}

.home-buttons {
  margin-top: 30px;
}

.home-buttons .btn {
  background-color: #12ad2b;
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 1.1rem;
  margin-right: 20px;
  text-transform: uppercase;
  transition: background-color 0.3s ease;
}

.home-buttons .btn:hover {
  background-color: #0f8c1f;
}

.home-image img {
  width: 400px;
  height: auto;
  border-radius: 10px;
}

/* Services Section */
.services {
  background-color: #fff;
  padding: 60px 40px;
  text-align: center;
}

.services h2 {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 40px;
}

.services-cards {
  display: flex;
  justify-content: space-around;
  gap: 40px;
  margin-top: 40px;
}

.card {
  background-color: #f5f5f5;
  padding: 30px;
  border-radius: 10px;
  width: 30%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.card i {
  font-size: 3rem;
  color: #12ad2b;
}

.card h3 {
  font-size: 1.8rem;
  margin-top: 20px;
}

.card p {
  font-size: 1rem;
  color: #555;
  margin-top: 10px;
}

/* About Section */
.about {
  background-color: #f5f5f5;
  padding: 60px 40px;
  text-align: center;
}

.about h2 {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 20px;
}

.about p {
  font-size: 1.2rem;
  color: #555;
  max-width: 800px;
  margin: 0 auto 30px;
}

.about .btn {
  background-color: #12ad2b;
  color: white;
  padding: 12px 30px;
  font-size: 1.2rem;
  border-radius: 5px;
  text-transform: uppercase;
  transition: background-color 0.3s ease;
}

.about .btn:hover {
  background-color: #0f8c1f;
}

/* General Button Styling */
.btn {
  display: inline-block;
  background-color: #12ad2b;
  color: white;
  padding: 12px 25px;
  font-size: 1rem;
  border-radius: 5px;
  text-transform: uppercase;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #0f8c1f;
}

/* Responsive Styling */
@media (max-width: 768px) {
  .home {
    padding: 0%;
    flex-direction: column;
    text-align: center;
  }

  .home-content {
    max-width: 100%;
    margin-bottom: 20px;
  }

  .home-image {
    margin-top: 20px;
  }

  .services-cards {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }

  .card {
    width: 80%;
  }

  .about .btn {
    margin-top: 20px;
  }

  .home h1 {
    font-size: 2rem;
  }

  .home p {
    font-size: 1rem;
  }

  .home-buttons {
    flex-direction: column;
    margin-top: 20px;
  }

  .home-buttons .btn {
    margin: 10px 0;
    width: 100%;
    max-width: 250px;
  }

  .home-image img {
    width: 80%;
    max-width: 300px;
    margin-top: 30px;
  }
}

.btn,
.home-buttons .btn,
.about .btn {
  text-decoration: none; /* Remove underline */
  display: inline-block;
  background-color: #12ad2b;
  color: white;
  padding: 12px 25px;
  font-size: 1rem;
  border-radius: 5px;
  text-transform: uppercase;
  transition: background-color 0.3s ease;
}
.btn:hover,
.about .btn:hover,
.home-buttons .btn:hover {
  background-color: #0f8c1f;
  text-decoration: none; /* Ensure no underline on hover too */
}