/* home.css */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #f0c420;
  color: black;
  padding: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 15px;
}

header h1 {
  flex: 1 1 100%;
  margin: 0;
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-weight: bold;
  font-size: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

nav li {
  display: inline;
  margin: 0;
}

nav a {
  color: black;
  text-decoration: none;
}
nav a:hover {
  color: #333;
  border-bottom: 2px solid black;
}
main {
  padding: 20px;
}

footer {
  background-color: #333;
  color: #fff;
  padding: 10px 20px;
  text-align: center;
}

/* Popup Background (Overlay) */
#popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Dark transparent overlay */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
  }
  
  /* Popup Content Box */
  #popup-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    width: 90%;
    max-width: 400px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    text-align: center;
  }
  
  /* Close Button */
  #popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 20px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
  }
  
  #popup-close:hover {
    color: #ff0000;
  }
  
  /* Form Styling */
  .form-group {
    margin-bottom: 15px;
    text-align: left;
  }
  
  label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
  }
  
  input[type="text"],
  input[type="email"],
  textarea {
    width: 90%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
  }
  
  input:focus,
  textarea:focus {
    border-color: #6a8caf;
    outline: none;
    box-shadow: 0 0 5px rgba(106, 140, 175, 0.5);
  }
  
  button[type="submit"] {
    background-color: #d4bb2ed2;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
  }
  
  button[type="submit"]:hover {
    background-color: #d4bb2ed2;
  }
  
  /* Responsive Design */
  @media (max-width: 480px) {
    #popup-content {
      width: 95%;
      padding: 15px;
    }
  }
  @media (max-width: 768px) {
    nav li {
      display: block;
      margin: 10px 0;
    }
    nav ul {
      text-align: center;
    }
  }
  
  @media (max-width: 480px) {
    header {
      text-align: center;
      padding: 15px;
    }
    header h1 {
      font-size: 1.5rem;
    }
    nav a {
      font-size: 1rem;
    }
    main {
      padding: 15px;
    }
  }
  /* Services Section */
.services {
  padding: 40px 0;
  background-color: #f4f4f4;
}

.services h2 {
  font-size: 2rem;
  color: #333;
  text-align: center;
  margin-bottom: 20px;
}

.services p {
  font-size: 1.1rem;
  text-align: center;
  color: #555;
  margin-bottom: 40px;
}

.service-cards {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
}

.service-card {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 280px;
  text-align: center;
}

.service-card h3 {
  font-size: 1.4rem;
  color: #333;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 1rem;
  color: #777;
  margin-bottom: 20px;
}

.learn-more {
  text-decoration: none;
  color: #f0c420;
  font-weight: bold;
}

.learn-more:hover {
  text-decoration: underline;
}

/* CTA Section */
.cta {
  background-color: #f0c420;
  color: black;
  padding: 40px 0;
  text-align: center;
}

.cta h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.cta p {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.cta-btn {
  background-color: black;
  color: #f0c420;
  padding: 12px 25px;
  border: none;
  border-radius: 4px;
  font-size: 1.2rem;
  text-decoration: none;
  font-weight: bold;
}

.cta-btn:hover {
  background-color: #f0c420;
  color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
  .service-cards {
    flex-direction: column;
    align-items: center;
  }

  .service-card {
    width: 80%;
  }

  .cta-btn {
    padding: 10px 20px;
  }
}

@media (max-width: 480px) {
  .services h2,
  .cta h2 {
    font-size: 1.5rem;
  }

  .cta-btn {
    font-size: 1rem;
  }
}