/* Scroll to top button style */
#scrollToTopBtn {
  position: fixed;
  bottom: 40px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: #000;
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
  transition: opacity 0.3s ease;
}

#scrollToTopBtn:hover {
  background-color: #333;
}

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: #fff;
  color: #333;
}

header {
  background: #f8f8f8;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.hero h1 {
  font-size: 3rem;
  margin: 0;
}

.hero p {
  font-size: 1.5rem;
  margin-top: 0.5rem;
}

.navbar {
  background: #093760;
  width: 100%;
  display: flex;
  justify-content: right;
  flex-wrap: wrap;
  padding: 0.75rem 1rem;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  box-sizing: border-box; /* Ensures padding stays within 100% width */
}

.navbar a {
  color: white;
  text-decoration: none;
  margin: 0 10px;
  font-weight: bold;
  font-size: 0.95rem;
}

/* Add padding to hero to push content below fixed navbar */
.hero {
  padding-top: 4rem; /* adjust depending on navbar height */
  background-image: url('hero1.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
}


ul {
  list-style: square inside;
}

form {
  display: flex;
  flex-direction: column;
  padding: 1rem;
}

input, textarea {
  margin-bottom: 1rem;
  padding: 0.75rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  width: 100%;
  box-sizing: border-box;
}

button {
  background: #333;
  color: #fff;
  padding: 0.75rem;
  border: none;
  cursor: pointer;
}

footer {
  background: #f1f1f1;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
  color: #777;
}

/* About Us Section */
#about-us {
  padding: 2rem;
  background-color: #ffffff;
  color: #2e2e2e;
  font-family: Arial, sans-serif;
}

#about-us h2 {
  font-size: 2rem;
  border-bottom: 2px solid #ccc;
  padding-bottom: 0.5rem;
}

#about-us h3 {
  margin-top: 1.5rem;
  font-size: 1.3rem;
  color: #1f1f1f;
}

#about-us p {
  margin-top: 1rem;
  line-height: 1.6;
}

#about-us ul {
  line-height: 1.8;
  margin-left: 1rem;
  padding-left: 1rem;
}

#about-us ul li::marker {
  color: #555;
}

#about-us p:last-child {
  margin-top: 2rem;
  font-style: italic;
}

/* Services Section */
#services {
  padding: 2rem;
  background-color: #ffffff;
  color: #2e2e2e;
  font-family: Arial, sans-serif;
}

#services h2 {
  font-size: 2rem;
  border-bottom: 2px solid #ccc;
  padding-bottom: 0.5rem;
}

#services .intro {
  margin-top: 1rem;
  line-height: 1.6;
}

#services .service-block {
  margin-top: 2rem;
  border-left: 4px solid #ccc;
  padding-left: 1rem;
}

#services .service-block h3 {
  margin-bottom: 0.5rem;
  color: #1f1f1f;
  font-size: 1.3rem;
}

#services .service-block p {
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

#services ul {
  margin-left: 1.5rem;
  line-height: 1.8;
  padding-left: 0;
  list-style-type: disc;
}

.section {
  padding: 2rem;
  background-color: #f8f8f8;
  color: #2e2e2e;
  font-family: Arial, sans-serif;
  border-radius: 8px;
  margin: 2rem auto;
  max-width: 1000px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
}
/* ----------- Mobile Styles ----------- */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.4); /* semi-transparent black */
  z-index: 1;
}

.hero * {
  position: relative;
  z-index: 2;
}

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

   .navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    justify-content: space-between; /* or right/center as needed */
    background-color: #000;
    z-index: 1000;
    padding: 0.5rem 1rem;
    box-sizing: border-box;
  }

  .navbar a {
    margin: 0 10px;
    font-size: 0.95rem;
  }

  #about-us, 
  #services, 
  .section {
    padding: 1rem;
  }

  form {
    padding: 1rem 0.5rem;
  }

  input, textarea {
    font-size: 1rem;
  }

  #scrollToTopBtn {
    width: 40px;
    height: 40px;
    font-size: 20px;
    bottom: 20px;
    right: 20px;
  }
}
