<style>
   body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 16px;
  color: #003366;
  background-color: #ffffff;
  line-height: 1.6;
}

a {
  color: #0055a5;
  text-decoration: none;
  transition: 0.3s ease;
}

a:hover {
  color: #66b2ff;
}

/* ===================
   Top Bar
=================== */
.top-bar {
  background: #222;
  color: white;
  padding: 10px;
  text-align: center;
  font-size: 0.9em;
}

.top-bar a {
  color: #66b2ff;
  margin: 0 8px;
}

/* --- Responsive Enhancements for Mobile & Desktop --- */

/* Make top bar links wrap and stack on small screens */
@media (max-width: 600px) {
  .top-bar p {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 1em;
    padding: 8px 0;
    word-break: break-word;
  }
  .top-bar a {
    margin: 2px 0;
    display: inline-block;
    font-size: 1em;
  }
}

/* ===================
   Navigation
=================== */
.navbar {
  background: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-weight: bold;
  font-size: 1.2em;
  color: #003366;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: #003366;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.nav-links a.active {
  background-color: #005ca9;
  color: white;
  font-weight: bold;
}

.nav-links a:hover {
  background-color: #e6f2fb;
  border-radius: 4px;
}

/* Dropdown container */
.nav-links li.dropdown {
  position: relative;
}

/* Dropdown menu */
.nav-links li .dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 200px;
  border: 1px solid #ddd;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  z-index: 1000;
  border-radius: 4px;
}

/* Dropdown items */
.nav-links li .dropdown-content li a {
  display: block;
  padding: 10px 15px;
  color: #003366;
  text-decoration: none;
  white-space: nowrap;
}

.nav-links li .dropdown-content li a:hover {
  background-color: #f5f5f5;
}

/* Show dropdown on hover */
.nav-links li.dropdown:hover .dropdown-content {
  display: block;
}

/* --- Responsive Navbar --- */
@media (max-width: 900px) {
  .navbar {
    flex-direction: column;
    align-items: stretch;
    padding: 10px 5vw;
  }
  .navbar .logo {
    text-align: center;
    margin-bottom: 10px;
  }
  .nav-links {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }
  .nav-links a {
    width: 100%;
    text-align: center;
    padding: 12px 0;
    border-radius: 0;
    font-size: 1.1em;
  }
  .nav-links li.dropdown .dropdown-content {
    position: static;
    min-width: 100%;
    box-shadow: none;
    border: none;
  }
}

/* ===================
   Buttons
=================== */
.btn,
.btn-secondary {
  padding: 10px 20px;
  text-decoration: none;
  margin: 5px;
  display: inline-block;
  font-weight: bold;
  border-radius: 4px;
  transition: background 0.3s ease;
}

.btn {
  background: #0055a5;
  color: white;
  border: none;
}

.btn:hover {
  background: #003c7e;
}

.btn-secondary {
  background: white;
  color: #0055a5;
  border: 2px solid #0055a5;
}

.btn-secondary:hover {
  background: #e6f0fa;
}

/* ===================
   Layout Containers
=================== */
.container {
  padding: 40px 20px;
  max-width: 1100px;
  margin: auto;
}

/* Responsive Container */
@media (max-width: 700px) {
  .container {
    padding: 14px 2vw;
  }
}

section h2 {
  font-size: 2em;
  margin-bottom: 20px;
  font-weight: 600;
  text-align: center;
}

section ul {
  padding-left: 20px;
}

section ul li {
  margin-bottom: 10px;
}

/* ===================
   Services Grid
=================== */
.services-grid,
.utility-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.service-item,
.utility-service {
  background-color: #f9fafe;
  padding: 20px;
  border-left: 5px solid #007acc;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  border-radius: 4px;
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.service-item {
  flex: 1 1 300px;
  border-left: 3px solid #005ca9;
  padding: 20px;
  background-color: #fdfdfd;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  min-height: 260px; /* Standard height for all */
}

.tall-service {
  min-height: 400px; /* Taller box only for this one */
}

/* ===================
   Testimonials
=================== */
.testimonials {
  padding: 40px 0;
  max-width: 900px;
  margin: auto;
}

.testimonial {
  background-color: #f5f9fd;
  border-left: 4px solid #005ca9;
  padding: 20px;
  margin: 20px 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.testimonial blockquote {
  font-style: italic;
  color: #333;
  margin: 0;
}

.testimonial-author {
  font-weight: bold;
  margin-top: 10px;
  color: #005ca9;
}

/* --- Responsive Testimonials --- */
@media (max-width: 700px) {
  .testimonials {
    padding: 20px 0;
  }
  .testimonial {
    padding: 12px 8px;
    font-size: 0.98em;
  }
  .testimonials h2 {
    font-size: 1.15em;
  }
}

/* ===================
   About Image Styling
=================== */
.banner-img,
.about-banner-img,
.services-banner-img {
  display: block;
  width: 90%;
  max-width: 1000px;
  aspect-ratio: 5 / 2;
  object-fit: cover;
  margin: 20px auto;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* ===================
   Footer
=================== */
footer {
  background: #f0f8ff;
  text-align: center;
  padding: 20px;
  font-size: 0.9em;
  color: #003366;
}

.leica-logo {
  width: 100px;
  margin-top: 10px;
}

/* --- Responsive Footer --- */
@media (max-width: 600px) {
  footer .container {
    font-size: 0.95em;
    padding: 10px 2vw;
  }
  .leica-logo {
    width: 80px;
  }
}

/* ===================
   Gallery
=================== */
.gallery-section {
  margin-top: 40px;
}

.gallery-grid {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.gallery-grid img {
  width: 280px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.gallery-grid img:hover {
  transform: scale(1.03);
}

/* Responsive Gallery */
@media (max-width: 900px) {
  .gallery-grid img {
    width: 46vw;
    height: 120px;
  }
}
@media (max-width: 600px) {
  .gallery-grid {
    gap: 10px;
  }
  .gallery-grid img {
    width: 98vw;
    height: 110px;
  }
}

/* Cleaned .hero styles */
.hero,
.hero.quote-hero {
  background-image: url('../images/image10.jpeg');
  background-size: cover;
  background-position: center 60%;
  background-repeat: no-repeat;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  position: relative;
}

.hero .hero-content,
.hero.quote-hero .hero-content {
  background: rgba(0, 0, 0, 0.4);
  padding: 20px;
  border-radius: 6px;
}

.hero h1,
.hero p,
.hero.quote-hero h1,
.hero.quote-hero p {
  color: white;
  text-shadow:
    -1px -1px 0 #003366,
     1px -1px 0 #003366,
    -1px  1px 0 #003366,
     1px  1px 0 #003366;
}

/* Utility: Prevent horizontal scroll on mobile */
html, body {
  max-width: 100vw;
  overflow-x: hidden;
}