/* General body and page settings */
body {
  margin: 0; /* Removes default margin */
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; /* Sets a clean, modern font for the entire page */
  background: #f4f4f4; /* Light gray background color for the page */
  color: #333; /* Dark gray text for readability */
  line-height: 1.6; /* Spacing between lines of text */
}

/* Header styling */
header {
  position: fixed; /* Makes the header fixed */
  top: 0; /* Sticks to the top */
  width: 100%; /* Full width header */
  z-index: 1000; /* Ensures the header is above other content */
  background: #000; /* Black background for the header */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 5%; /* Reduced padding to make the header less tall */
}

.logo {
  width: 240px;
  height: 70px;
}

header nav {
  /* No specific styles needed here yet */
}

header nav ul {
  list-style: none;
  margin: 0; /* Remove margin to align navigation correctly */
  padding: 0; /* Remove padding */
  display: flex; /* Display nav items in a row */
  align-items: center; /* Align items vertically */
}

header nav ul li {
  margin-left: 20px; /* Space between navigation items */
}

header nav ul li a {
  color: #fff; /* White text for readability against the black background */
  text-decoration: none; /* Remove underline from links */
  font-weight: bold; /* Bold font for readability */
  padding: 10px 15px; /* Set consistent padding to avoid flickering */
  transition: background 0.3s ease, color 0.3s ease; /* Smooth transition for hover effect */
}

header nav ul li a:hover {
  background-color: #005a87; /* Thematic blue background on hover */
  color: #fff; /* Keep the text white */
  border-radius: 5px; /* Rounded corners for the hover effect */
}

header nav ul.active li a:hover {
  background-color: #005a87; /* Thematic blue background on hover for mobile */
  color: #fff; /* Keep the text white */
  border-radius: 5px;
}

/* Hamburger menu styles */
.hamburger {
  display: none;
  font-size: 1.5em;
  cursor: pointer;
  color: #fff; /* White color for the hamburger icon */
}

header nav ul {
  flex-direction: row; /* Default to row for desktop view */
}

header nav ul.active {
  display: flex;
  flex-direction: column; /* Column for mobile view */
  position: absolute;
  top: 90px; /* Adjust based on header height */
  left: 0;
  background: #000; /* Black background for the expanded menu */
  width: 100%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  z-index: 1;
  text-align: left; /* Align text to the left */
  padding: 0; /* Remove default padding */
  text-align: left; /* Ensure text alignment for the entire active ul */
}

header nav ul.active li {
  width: 100%; /* Ensure full width for list items */
  text-align: left; /* Align text to the left */
}

header nav ul.active li a {
  display: block; /* Make links block level for full width */
  padding: 10px 20px; /* Add padding for better touch experience */
  text-align: left; /* Align text to the left */
  color: #fff; /* White text for readability against the black background */
}

/* Image section styles */
#image-section img {
  width: 100%; /* Full width images */
  height: auto; /* Maintain aspect ratio */
  display: block; /* Removes space below the image */
}

/* About us section styles */
#about {
  padding: 20px 5%; /* Padding around text for readability */
  background: #fff; /* White background for the content areas */
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
  margin-top: -8px; /* Adjust for fixed header */
}

/* Services section styles */
#services {
  background: #fff; /* White background for clarity */
  padding: 20px 5%; /* Consistent padding */
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Matching shadow as about section */
}

.service {
  margin-bottom: 20px; /* Space between services */
  padding: 10px 0; /* Padding for each service item */
}

.service h3 {
  color: #005a87; /* Thematic blue for service headings */
  margin: 10px 0; /* Space around headings */
}

.service i {
  margin-right: 10px; /* Space next to icons for readability */
}

/* Contact section styles */
#contact {
  background: #fff;
  padding: 20px 5%;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

form input,
form textarea,
form button {
  width: 90%; /* Match the button width to the input width */
  padding: 8px; /* Consistent padding for inputs and button */
  margin: 10px auto; /* Center the elements with auto margin */
  margin-left: 0px;
  display: block; /* Ensure the elements take up the full width */
  box-sizing: border-box; /* Ensures padding is included in the width */
}

form button {
  padding: 10px; /* Adjust padding specifically for the button */
  background: #005a87; /* Thematic blue for the button */
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 5px;
}
/* Footer styles */
footer {
  text-align: center; /* Center the text in the footer */
  padding: 20px 0; /* Padding above and below the text */
  background: #222; /* Darker background for the footer */
  color: white; /* White text for contrast */
}

.intro-img {
  width: 100%;
  max-height: 650px;
  object-fit: contain;
}

/* Media query for mobile view */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }
  header nav ul {
    display: none;
  }
  header nav ul.active {
    display: flex;
  }
  .header-container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .hamburger {
    order: 1; /* Ensure hamburger is on the right */
  }
}
/* Toast message styles */
.toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: green;
  color: #fff;
  padding: 15px 20px;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease-in-out;
  z-index: 1000;
}

.toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
