/* General Styles */
.hero-section {
  background-image: url('../img/home.jpg');
  background-size: cover;
  background-position: center;
  height: 100vh;
  position: relative;
}

.hero-overlay {
  background-color: rgba(0, 0, 0, 0.5); /* Dark overlay */
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px; /* Add some padding for small screens */
}

.hero-text h1 {
  font-size: 48px;
  color: #FFFFFF;
  margin: 0 0 20px;
}

.hero-text p {
  font-size: 24px;
  color: #FFFFFF;
  margin: 0 0 40px;
}

.cta-button {
  font-size: 18px;
  color: #FFFFFF;
  background-color: #1E3A61; /* Or your chosen color */
  padding: 12px 24px;
  border-radius: 5px;
  text-decoration: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s, transform 0.3s;
}

.cta-button:hover {
  background-color: #12233b; /* Darker shade */
  transform: scale(1.02);
}

/* Medium Devices (Tablets, 768px and up) */
@media (max-width: 768px) {
  .hero-text h1 {
    font-size: 36px; /* Reduce font size */
  }

  .hero-text p {
    font-size: 20px; /* Reduce font size */
  }

  .cta-button {
    font-size: 16px; /* Reduce button font size */
    padding: 10px 20px; /* Adjust padding */
  }
}

/* Small Devices (Phones, 480px and down) */
@media (max-width: 480px) {
  .hero-section {
    height: 80vh; /* Adjust height for smaller screens */
  }

  .hero-text h1 {
    font-size: 28px; /* Further reduce font size */
  }

  .hero-text p {
    font-size: 18px; /* Further reduce font size */
    margin: 0 0 30px; /* Adjust margin */
  }

  .cta-button {
    font-size: 14px; /* Further reduce button font size */
    padding: 8px 16px; /* Adjust padding */
  }
}
