
html, body {
  overflow-x: hidden; /* Prevent horizontal overflow */
  margin: 0;
  padding: 0;
}
header {
  width: 100%; /* Make sure it doesn't extend beyond the screen */
  padding: 10px 0; /* Adjust padding for mobile */
  box-sizing: border-box; /* Ensure padding is inside the width */
  overflow: hidden;
}


header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 10px 0;
  display: flex;
  justify-content: center; /* Center the content horizontally */
  align-items: center; /* Align the content vertically */
  box-sizing: border-box;
  text-align: center;
  z-index: 1000;
  transition: background-color 0.3s ease;
}
header.scrolled {
  background-color: white; /* Background color when scrolled */
}

header nav {
  display: flex;
  gap: 15px; /* Space between the nav links */
}

header nav a {
  color: rgb(10, 10, 10);
  text-decoration: none;
  cursor: pointer;
  font-weight: bold;
  font-size: 1rem;
}

/* Media query for tablets and smaller screens */
@media (max-width: 768px) {
  header {
    padding: 10px; /* Adjust padding for smaller screens */
  }

  header nav a {
    font-size: 0.9rem; /* Reduce font size for nav links */
    margin: 0 10px; /* Reduce margin between nav links */
  }
}

/* Media query for mobile screens */
@media (max-width: 480px) {
  header {
    padding: 8px; /* Further reduce padding */
    justify-content: center; /* Keep content centered */
  }

  header nav a {
    font-size: 0.8rem; /* Reduce font size further */
    margin: 0 5px; /* Smaller margins between links */
  }
}


  /* Container for the entire home section */
  .home-container {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    overflow: hidden;
  }
  
  /* Background overlay */
  .opaque-overlay {
    background-image: url('/assets/main.webp');
    background-size: cover;
    background-position: top center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Ensure the overlay is behind the text */
    opacity: 0.7;
  }
  
  /* Content sections */
  .intro, .highlights, .call-to-action {
    z-index: 1; /* Ensure the content is in front of the background */
    position: relative;
  }
  
  .intro h1 {
    font-size: 3rem;
    color: black;
    margin-bottom: 100px;
  }
  
  .intro p {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }
  
  .highlights h2 {
    font-size: 2rem;
    color: white;
    margin-top: 30px;
  }
  
  .highlights ul {
    list-style-type: none;
    padding: 0;
    font-size: 1.2rem;
  }
  
  .highlights ul li {
    margin: 10px 0;
  }
  
  .call-to-action p {
    font-size: 2rem;
    margin-bottom: 15px;
  }
  
  .call-to-action .btn {
    padding: 10px 20px;
    background-color: #ff6200;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.5rem;
    transition: background-color 0.3s;
    cursor: pointer;
    z-index: 2; /* Ensure button is clickable */
  }
  
  .call-to-action .btn:hover {
    background-color: #e55c00;
  }
  
  /* Overlay text */
  .overlay-text {
    position: relative;
    z-index: 2;
    padding-top: 1px;
    text-align: center;
    color: white; /* White text */
  }
  
  .overlay-text p {
    margin: 0;
    font-size: 30px;
  }
  
  
  
  
  
  
  .about-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 50px 0;
  }
  
  .about-container img {
    max-width: 45%;
    height: auto;
  }
  
  .about-text {
    max-width: 50%;
    padding-left: 20px;
  }
  
  .about-text h2 {
    margin-bottom: 20px;
  }
  
  .about-text p {
    font-size: 18px;
    line-height: 1.6;
  }
  
  #services {
    padding: 50px;
    text-align: center;
  }
  
  .service-category {
    margin-bottom: 20px;
  }
  
  .card-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
  }
  
  /* Default for larger screens (desktop) */
  .service-card {
    background-color: hsl( 39deg
21.92% 82.04%);
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    flex-basis: calc(33.333% - 20px); /* 3 cards per row */
    box-sizing: border-box;
    text-align: left;
    padding: 20px;
  }
  
  .service-card img {
    width: 200px; /* Control the size of the circular image */
    height: 200px;
    border-radius: 50%; /* Circular shape */
    margin: 10px auto; /* Center the image within the card */
    display: block;
  }
  
  .service-card p {
    font-size: 18px;
    text-align: center;
  }

  #services h2 {
  position: relative;
  z-index: 2; /* Ensure the text is above the overlay */
  font-size: 3.5rem;
  color: white;
  margin-bottom: 40px;
  text-transform: uppercase; /* Makes text uppercase */
  letter-spacing: 2px; /* Adds spacing between letters */
  font-weight: bold;
  background: linear-gradient(90deg, #8e6117, #f1c40f);
    background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

#services h2::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -10px;
  width: 100px;
  height: 4px;
  background-color: #dd941f; /* Adds an underline below the text */
}

  
  /* Media query for tablets (screen width 768px and below) */
  @media (max-width: 768px) {
    .service-card {
      background-color: hsl(39deg, 21.92%, 82.04%);
      flex-basis: calc(50% - 20px); /* 2 cards per row on tablets */
    }
  
    .service-card img {
      width: 150px; /* Smaller image size for tablets */
      height: 150px;
    }
  
    .service-card p {
      font-size: 16px; /* Adjust text size */
    }
  }
  
  /* Media query for mobile phones (screen width 480px and below) */
  @media (max-width: 480px) {
    .service-card {
      background-color: hsl(39deg, 21.92%, 82.04%);
      flex-basis: 100%; /* 1 card per row on mobile */
      margin-bottom: 20px; /* Add spacing between cards */
    }
  
    .service-card img {
      width: 120px; /* Smaller image size for mobile */
      height: 120px;
    }
  
    .service-card p {
      font-size: 14px; /* Smaller text for mobile */
    }
  }
  
  
  footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
  }
  
  .footer-details, .footer-contact, .footer-copyright {
    margin-bottom: 15px;
  
  }
  footer p {
    color: #fff; /* White color for the footer */
  }
  
  .footer-contact a {
    color: #ffcc00;
    text-decoration: none;
  }
  
  /* gallery.component.css */
  #gallery {
    padding: 40px 20px;
    text-align: center;
  }
  
  h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #333;
  }
  
  .gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
  }
  
  .gallery-item img {
    width: 100%;
    height: 300px; /* Fixed height for images */
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
  }
  
  .gallery-item img:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  }
  
  /* Modal Styles */
  .modal {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    overflow: auto;
  }
  
  .modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    margin: auto;
  }
  
  .modal-content img {
    width: 100%;
    height: auto;
    border-radius: 8px;
  }
  
  .close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 36px;
    color: white;
    cursor: pointer;
    border-radius: 50%;
    padding: 5px;
  }
  
  
  /* facilities.component.css */
  #facilities {
    padding: 40px 20px;
    text-align: center;
    background-color: #f8f8f8;
  }
  
  h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #333;
  }
  
  p {
    font-size: 20px;
    margin-bottom: 30px;
    color: #666;
  }
  
  .facilities-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
  }
  
  .facility-item {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .facility-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
  }
  
  .facility-item h3 {
    font-size: 1.5em;
    margin: 15px 0 10px;
    color: #333;
  }
  
  .facility-item p {
    color: #666;
  }
  
  .facility-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  }
  
  .modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
  }
 
  .modal-content {
    margin: auto;
    display: block;
    height: auto;
    margin-top: 30px;
    border-radius: 8px;
  
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
  }
  
  .close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
  }
  
  .close:hover,
  .close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
  }
  



/* Media query for tablets (screen width 768px and below) */
@media (max-width: 768px) {
  header {
    padding: 10px 0;
  }

  .home-container h1 {
    font-size: 2rem;
    margin-bottom: 50px;
  }

  .home-container p {
    font-size: 1.2rem;
  }

  .about-container {
    flex-direction: column;
    text-align: center;
  }

  .about-container img {
    max-width: 100%;
    margin-bottom: 20px;
  }

  .about-text {
    max-width: 100%;
    padding: 0;
  }

  .service-card {
    flex-basis: calc(50% - 20px); /* 2 cards per row */
  }

  .service-card img {
    width: 150px;
    height: 150px;
  }

  .service-card p {
    font-size: 16px;
  }

  footer p {
    font-size: 0.9rem;
  }
}

/* Media query for mobile phones (screen width 480px and below) */
@media (max-width: 480px) {
  header {
    padding: 5px 0;
    text-align: left;
  }

  .home-container h1 {
    font-size: 1.8rem;
  }

  .home-container p {
    font-size: 1rem;
  }

  .about-container {
    flex-direction: column;
    text-align: center;
  }

  .about-container img {
    max-width: 100%;
  }

  .about-text {
    max-width: 100%;
    padding: 0;
  }

  .service-card {
    flex-basis: 100%;
    margin-bottom: 20px;
  }

  .service-card img {
    width: 120px;
    height: 120px;
  }

  .service-card p {
    font-size: 14px;
  }

  footer p {
    font-size: 0.8rem;
  }
}

/* For small devices (screen width below 320px) */
@media (max-width: 320px) {
  .home-container h1 {
    font-size: 1.5rem;
  }

  .home-container p {
    font-size: 0.9rem;
  }

  .about-container img {
    max-width: 100%;
  }

  .service-card {
    flex-basis: 100%;
  }

  .service-card img {
    width: 100px;
    height: 100px;
  }

  .service-card p {
    font-size: 12px;
  }

  footer p {
    font-size: 0.7rem;
  }
}
@media (max-width: 480px) {
  /* Ensure modal close button is visible and accessible */
  .close {
    font-size: 30px; /* Smaller size for mobile */
    top: 10px; /* Adjust position for mobile */
    right: 10px; /* Adjust position for mobile */
    padding: 5px; /* Add some padding for better touch accessibility */
  }

  /* Adjust modal content for mobile */
  .modal-content {
    width: 90%; /* Reduce width for mobile screens */
    height: auto;
    max-height: 80%; /* Limit height to fit better on smaller screens */
  }
  
  /* Ensure the modal itself fits within the viewport */
  .modal {
    padding: 10px; /* Add padding so the modal doesn't touch screen edges */
    justify-content: center;
    align-items: center;
  }
}

