@font-face {
    font-family: 'sans';
    src: url('../fonts/OpenSans-Medium.ttf') format('ttf');
}


/* Global Resets and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px; /* Base for rem units */
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  line-height: 1.6;
  color: #333;
  background-color: #f9f9f9; /* Light background for the body */
}

img {
  max-width: 100%;
  height: auto;
  display: block; /* Remove extra space below images */
}

a {
  text-decoration: none;
  color: #007bff;
}

a:hover {
  text-decoration: underline;
}

/* Container */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 0;
  background-color: #fff; /* White background for content area */
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05); /* Subtle shadow for container */
}

/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2%; /* Use percentage for padding inside container */
  border-bottom: 1px solid #eee;
  position: relative; /* For positioning the dropdown menu */
}

/* Menu Toggle Button (Hamburger Icon) */
.menu-toggle {
  display: none; /* Hidden by default, shown in media queries */
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem; /* For easier tapping */
  z-index: 1100; /* Above the menu if it overlaps */
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #333; /* Icon color */
  margin: 5px auto;
  transition: all 0.3s ease-in-out;
  border-radius: 3px;
}

/* Styles for 'X' icon when menu is active */
.menu-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.logo img {
  /* HTML attributes: height="80px" width="200px" */
  /* CSS ensures it scales down if container is too small */
  max-width: 100%;
  height: auto; /* Maintain aspect ratio */
  /* To respect inline height/width but allow shrinking: */
  width: 200px;
  height: 80px;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}


.menu {
  display: flex;
  align-items: center;
}

.menu a {
  margin-left: 1em;
  padding: 0.5em 0.75em;
  color: #333;
  font-weight: 500;
}

.menu a:hover,
.menu a:focus {
  color: #0056b3;
  text-decoration: none;
}

.menu a#apply {
  background-color: #28a745; /* Green for apply button */
  color: white;
  border-radius: 5px;
  padding: 0.6em 1em;
}

.menu a#apply:hover,
.menu a#apply:focus {
  background-color: #218838;
  color: white;
}
.active{
  background-color: #e56226;
  color: white;
  border-radius: 5px;
}


/* Slider */
.slider {
  width: 100%;
  margin: 1.5rem 0;
  position: relative; /* Needed if JS uses absolute positioning for images */
  /* overflow: hidden; /* Uncomment if images might overflow and need clipping */
}

.slider-image {
  width: 100%;
  height: auto; /* Ensures responsive aspect ratio */
  display: none; /* Controlled by JS or .active class */
}

.slider-image.active {
  display: block;
}

/* Description Sections */
.description-wrapper {
  /* Added a class to the div wrapping description and description2 for clarity if needed */
  padding: 0 2%; /* Match header padding */
}

.description {
  display: flex;
  gap: 1.5rem; /* Space between image and text */
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.description-image {
  flex: 1 1 40%; /* Flex grow, shrink, basis */
  max-width: 40%;
}

.description-image img {
  /* HTML attributes: height="100%" width="100%" */
  /* CSS ensures responsive aspect ratio */
  width: 100%;
  height: auto;
  border-radius: 8px; /* Soften image corners */
}

.description-text {
  flex: 1 1 55%; /* Flex grow, shrink, basis */
  max-width: 55%;
}

.description-text h2,
.description-text h3 {
  margin-bottom: 0.75em;
  color: #1a1a1a;
}

.description-text p {
  margin-bottom: 1em;
  text-align: justify;
}

.description-text ul.s,
.description2 ul.s {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 1em;
}

.description-text ul.s li,
.description2 ul.s li {
  margin-bottom: 1em;
  padding-left: 1.5em; /* Indent list items */
  position: relative;
}

.description-text ul.s li::before,
.description2 ul.s li::before {
  content: "✔"; /* Example custom bullet */
  position: absolute;
  left: 0;
  color: #28a745; /* Green checkmark */
}

.description-text ul.s li b,
.description2 ul.s li b {
  font-weight: 600;
  color: #0056b3; /* Emphasize the bold part */
}

.description2 {
  padding: 0 2%; /* Match header padding */
  margin-bottom: 1.5rem;
}

/* Responsive Media Queries */

/* Tablet and Mobile */
@media (max-width: 992px) {
  /* Broader tablet breakpoint */
  .menu-toggle {
    display: block; /* Show hamburger icon */
  }

  .menu {
    /* This is nav.menu */
    display: none; /* Hide the original menu links by default */
    flex-direction: column;
    position: absolute;
    top: 100%; /* Position below the header */
    left: 0;
    width: 100%;
    background-color: #fff; /* Background for the dropdown */
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }

  .menu.active {
    display: flex; /* Show menu when active (toggled by JS) */
  }

  .menu a {
    margin: 0; /* Reset desktop margins */
    padding: 0.85em 1.5em; /* Adjust padding for touch */
    width: 100%;
    text-align: left;
    border-bottom: 1px solid #f0f0f0;
    color: #333;
  }

  .menu a:last-child {
    border-bottom: none;
  }

  .menu a#apply {
    margin: 0.75em 1.5em; /* Margin for the button within the dropdown */
    width: calc(100% - 3em); /* Adjust width considering padding */
    text-align: center;
  }

  .description {
    flex-direction: column;
    align-items: center;
  }

  .description-image,
  .description-text {
    flex: 1 1 100%; /* Take full width */
    max-width: 100%;
    margin-bottom: 1.5rem;
  }
  .description-text {
    margin-bottom: 0;
  }
}

/* Mobile */
@media (max-width: 768px) {
  /* Header layout is now handled by the 992px breakpoint for consistency with menu toggle */
  /* Original rules for header stacking are removed/commented if toggle is used above this size */
  /* .header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  } */
  /* .logo {
    margin-bottom: 1rem;
  } */
  .logo img {
    width: 170px; /* Adjust logo size for mobile */
    height: auto;
  }

  .description-text p {
    text-align: left; /* Revert to left align for paragraphs on mobile for readability */
  }

  .gallery-image {
    width: calc(
      100% - 10px
    ); /* Adjusts width so one item fills the gallery-image-area,
                                 accounting for its own margin-left: 10px. */
    /* margin-right: 0; */ /* Ensure no other horizontal margins interfere if they existed */
  }
}

@media (max-width: 480px) {
  html {
    font-size: 14px; /* Slightly smaller base font for small mobiles */
  }
  .container {
    width: 95%;
  }
  .header,
  .description-wrapper,
  .description2 {
    padding: 0 5%;
  }
}

/* Search Bar Styles */
.search-container {
  padding: 20px 15px; /* Added horizontal padding for smaller screens */
  background-color: #f4f4f4;
  display: flex;
  justify-content: center;
  align-items: center;
}

.search-form {
  display: flex;
  width: 100%;
  max-width: 600px;
  border: 1px solid #ccc;
  border-radius: 5px;
  overflow: hidden;
}

.search-input {
  flex-grow: 1;
  padding: 10px 15px;
  border: none;
  font-size: 16px;
  outline: none;
}

.search-button {
  padding: 10px 20px;
  border: none;
  background-color: #e56126; /* Example primary color */
  color: white;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.search-button:hover {
  background-color: #0056b3;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  /* Tablet and smaller */
  .search-form {
    flex-direction: column;
    border: none;
  }

  .search-input {
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 10px;
    text-align: center; /* Center placeholder text on mobile */
  }

  .search-button {
    border-radius: 5px;
    width: 100%;
  }
}

.announcement {
  background-color: black;
  color: white;
  align-items: center;
  margin-bottom: 10px;
  font-size: 20px;
}

.slider-container {
  width: 100%;
  max-width: 1200px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  position: relative;
  /* Optional: Set a height here if you want the container to match image height */
  /* height: 200px; /* Example height, adjust as needed */
}
.slider-track {
  display: flex;
  transition: transform 0.5s ease-in-out, margin-left 0.5s ease-in-out;
}

/* Tablet and Mobile View (Show 1 image) */
@media (max-width: 768px) {
  .slider-track {
    width: calc(10 * 100%);
  }
  .slide {
    width: 100%;
  }
  .slider-container {
    width: 100%;
  }
}

.slide {
  box-sizing: border-box;
}

.slide img {
  width: 100%; /* Image fills the padded slide div */
  height: 200px; /* Fixed height for images - adjust this value as needed */
  object-fit: cover; /* Crop image to fit fixed height while maintaining aspect ratio */
  display: block;
  border-radius: 8px;
}



/* ----------------------------------- */

/* Footer Styles */
.site-footer {
  background-color: #2c3e50; /* Dark blue-gray background */
  color: #ecf0f1; /* Light gray text */
  padding: 40px 0;
  font-size: 0.9rem;
}

.footer-container-inner {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px; /* Gap between columns */
}

.footer-col {
  flex: 1 1 200px; /* Flex properties for responsiveness, min width 200px */
  margin-bottom: 20px;
}

.footer-col h4 {
  color: #ffffff; /* White heading */
  margin-bottom: 15px;
  font-size: 1.1rem;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  background-color: #e56126; /* Accent color from your site */
  height: 2px;
  width: 50px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #bdc3c7; /* Lighter gray for links */
  text-decoration: none;
  transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-col ul li a:hover {
  color: #e56126; /* Accent color on hover */
  padding-left: 5px;
}

.footer-about-text {
  color: #bdc3c7;
  line-height: 1.7;
}

.social-links a {
  display: inline-block;
  height: 40px;
  width: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  margin-right: 8px;
  margin-bottom: 8px;
  text-align: center;
  line-height: 40px;
  border-radius: 50%;
  color: #ffffff;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.social-links a:hover {
  background-color: #e56126;
  color: #ffffff;
}

.social-links a i {
  font-size: 1rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  margin-top: 20px;
  border-top: 1px solid #34495e; /* Slightly darker border */
  color: #bdc3c7;
}

/* Responsive adjustments for footer */
@media (max-width: 768px) {
  .footer-col {
    flex: 1 1 45%; /* Two columns on tablets */
    margin-bottom: 30px;
  }
  .footer-col h4 {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .footer-col {
    flex: 1 1 100%; /* Single column on small mobiles */
    text-align: center; /* Center text for single column layout */
  }
  .footer-col h4::after {
    left: 50%;
    transform: translateX(-50%);
  }
  .social-links {
    text-align: center;
  }
   .social-links a {
    margin: 0 5px 10px 5px;
  }
}
