/* General Styles */
body, html {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  height: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth; /* Ensure smooth scrolling */
  background-color: #f4f4f4;
}

.site-header {
  background-color: #fff;
  position: fixed; /* Keeps header fixed at the top */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000; /* Makes sure header is on top */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 15px 20px;
  box-sizing: border-box; /* Ensures padding does not affect the layout */
}

/* Header content should be a flex container */
.site-header .header-content {
  display: flex;
  justify-content: center; /* Centers the entire header content */
  align-items: center; /* Centers items vertically */
  width: 100%;
}

/* Navigation styles */
.site-header .header-content nav ul {
  list-style: none;
  display: flex;
  justify-content: center; /* Centers the links within the ul */
  margin: 0;
  padding: 0;
  width: auto; /* Prevents stretching */
  flex-wrap: nowrap; /* Ensures links don't wrap onto new lines */
}

.site-header .header-content nav ul li {
  margin-right: 20px; /* Space between items */
}

.site-header .header-content nav ul li:last-child {
  margin-right: 0; /* No margin on the last item */
}

.site-header .header-content nav ul li a {
  text-decoration: none;
  color: #333;
  font-size: 1.1rem;
  font-weight: bold;
  padding: 5px 10px;
  transition: background-color 0.3s ease;
}

.site-header .header-content nav ul li a:hover {
  background-color: #ff6347;
  color: white;
}

/* Spacing for sections */


/* Spacing for sections */


.hero {
  position: relative;
  height: 100vh;
  background: url('hero.png') no-repeat center center/cover;
  background-attachment: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
  padding: 20px;
}

.hero-content {
  max-width: 700px;
  z-index: 2;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  font-weight: bold;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

#info h1{
  text-align: center;
  background-color: #f4f4f4;
  color: red;
}
.about {
  background-color: #f4f4f4;
  padding: 60px 20px;
  text-align: center;
}

.about h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.about p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.about .cta-button {
  background-color: #ff6347;
  color: white;
  padding: 15px 30px;
  font-size: 1.1rem;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.about .cta-button:hover {
  background-color: #ff4500;
}

.cta-button {
  background-color: #ff6347;
  color: white;
  padding: 15px 30px;
  font-size: 1.1rem;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #ff4500;
}

/* Facilities Section */
.facilities {
  background-color: #f4f4f4;
  padding: 40px 20px;
  text-align: center;
  margin-top: 0; /* Remove top margin */
  margin-bottom: 0; /* Remove bottom margin */
  display: grid;
  grid-template-columns: 1fr 1fr; /* Two equal-width columns */
  gap: 20px; /* Space between the columns */
}

.facilities h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
}

.facility {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.facility-image {
  width: 250px;
  height: 150px;
  object-fit: cover;
  margin-right: 30px;
  border-radius: 10px;
}

.facility-info {
  text-align: left;
  max-width: 300px;
}

.facility-info h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.learn-more {
  color: #ff6347;
  font-size: 1.1rem;
  text-decoration: none;
}

.learn-more:hover {
  text-decoration: underline;
}

/* Contact Section */
.contact {
  padding: 40px 20px;
  text-align: center;
  background-color: #ffffff;
}

.contact h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.contact p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.contact-button {
  background-color: #ff6347;
  color: white;
  padding: 15px 30px;
  font-size: 1.2rem;
  text-decoration: none;
  border-radius: 5px;
}

.contact-button:hover {
  background-color: #ff4500;
}

/* Responsive Styles */
@media (max-width: 768px) {

  .site-header .header-content {
      justify-content: center; /* Centers the nav */
      padding: 0;
      width: 100%; /* Prevent stretching */
    }
  
    /* Flexbox for the navigation list */
    .site-header .header-content nav ul {
      display: flex;
      justify-content: center; /* Keep links centered */
      margin: 0;
      padding: 0;
      width: auto; /* Avoid full width */
      flex-wrap: nowrap; /* Prevent wrapping */
    }
  
    .site-header .header-content nav ul li {
      margin: 0 5px;  /* Adjust space between links */
    }
  
    /* Adjust font size and padding for better compactness */
    .site-header .header-content nav ul li a {
      font-size: 1rem;
      padding: 5px 8px;
    }
    
  .hero h1 {
      font-size: 2rem;
  }

  .hero p {
      font-size: 1rem;
  }

  .cta-button {
      padding: 12px 25px;
      font-size: 1rem;
  }

  .facilities {
      grid-template-columns: 1fr; /* Single column layout for smaller screens */
    }

    .facility {
      flex-direction: column;
      text-align: center;
    }

    .facility-image {
      margin-right: 0;
      margin-bottom: 20px;
      width: 100%;
      height: auto;
    }

    .facility-info {
      text-align: center;
    }
}


