body {
  background-color: #fdf5e6;
}

.hero {
  height: 100vh; /* Full viewport height */
  display: flex;
  align-items: center; /* Vertically centers content */
  justify-content: center; /* Horizontally centers content */
  position: relative; /* For the absolute positioning of the .welcome class */
  background-image: linear-gradient(rgb(0 0 0 / 0.5), rgb(0 0 0 / 0.5)),
    url("../images/hero-home.jpg.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white; /* Ensure text is white for visibility on dark background */
}

.welcome {
  max-width: 80%; /* Limit width for readability */
  padding: 2em;
  text-align: center; /* Center the text */
}

.welcome p {
  font-size: 1.25em;
  line-height: 1.5;
}

.btn-danger {
  margin-top: 1.5em; /* Adds some space above the button */
}

.hero2 {
  background-image: linear-gradient(rgb(0 0 0 / 0.5), rgb(0 0 0 / 0.5)),
    url("../images/library.jpg");
  background-size: cover;
  background-position: center;
  min-height: 35vh;
  max-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.welcome2 {
  max-width: 75%; /* Adjusted width for better readability */
  text-align: left; /* Align text to the left for a different layout */
  margin: 0 auto;
  padding: 1.5rem;
}

.welcome2 img {
  max-width: 120px; /* Adjust the logo size */
  margin-right: 1rem;
}

.hero3 {
  background-image: linear-gradient(rgb(0 0 0 / 0.5), rgb(0 0 0 / 0.5)),
    url("../images/success2.png");
  background-size: cover;
  background-position: center;
  min-height: 35vh;
  max-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.hero4 {
  background-image: linear-gradient(rgb(0 0 0 / 0.5), rgb(0 0 0 / 0.5)),
    url("../images/contact.png");
  background-size: cover;
  background-position: center;
  min-height: 35vh;
  max-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.custom-heading {
  font-family: "Montserrat", sans-serif; /* Modern, clean font */
  font-weight: 700; /* Bold */
  text-transform: uppercase; /* Make it all caps for emphasis */
  letter-spacing: 2px; /* Add space between letters for a sleek look */
  color: #34495e; /* Elegant dark blue */
  text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.2); /* Adds subtle depth */
  border-bottom: 4px solid #e74c3c; /* Underline with a bold accent color */
  padding-bottom: 10px; /* Adds some space between text and underline */
}

.trailer {
  text-align: center;
  font-size: 1.5em;
  font-family: "Montserrat", sans-serif; /* Modern, clean font */
  font-weight: 300;
  color: #34495e; /* Elegant dark blue */
  text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.2); /* Adds subtle depth */
}
.rounded-border {
  border: 2px solid #ccc;
  border-radius: 15px;
  padding: 20px;
  background-color: #f9f9f9;
}

.dl-column dt {
  background-color: #f0f0f0;
  padding: 10px;
  margin-top: 10px;
}

.icon-container {
  width: 150px; /* Fixed width for uniformity */
  height: 150px; /* Fixed height for uniformity */
  display: flex; /* Flexbox for centering */
  justify-content: center; /* Center horizontally */
  align-items: center; /* Center vertically */
  overflow: hidden; /* Hide overflow */
}

.icon-container img {
  width: 100%; /* Scale to fit container width */
  height: auto; /* Maintain aspect ratio */
  object-fit: contain; /* Contain within the div */
}
@media (max-width: 768px) {
  .hero2 {
    min-height: 40vh;
  }

  .welcome2 {
    text-align: center; /* Center content on smaller screens */
    padding: 1rem;
  }

  .welcome2 img {
    display: block;
    margin: 0 auto 1rem auto;
    max-width: 100px;
  }
}

/* Add a media query for tablet viewports */
@media (max-width: 1024px) and (orientation: landscape) {
  .hero {
    height: auto; /* Let the height adjust naturally based on content */
    padding: 2em 0; /* Add some padding to prevent overflow */
  }

  .welcome {
    padding: 1em; /* Reduce padding to fit content */
  }

  .btn-red,
  .btn-danger {
    margin-top: 1em; /* Reduce margin between buttons and other elements */
  }
}
