/* Base Styles */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #f5f5f5;
  color: #333;
}

/* Navigation Bar */
nav {
  background-color: #001f3f; /* Navy Blue */
}

nav ul {
  display: flex;
  flex-wrap: wrap;
  list-style-type: none;
  margin: 0;
  padding: 0.75rem 1rem;
  column-gap: 1rem;
}

nav ul li {
  position: relative;
}

nav ul li a {
  color: white;
  text-decoration: none;
  padding: 0.5rem;
  display: block;
}

nav ul li ul {
  display: none;
  position: absolute;
  background-color: #003366;
  list-style: none;
  padding: 0;
  margin: 0;
}

nav ul li:hover ul {
  display: block;
}

nav ul li ul li a {
  padding: 0.5rem 1rem;
  white-space: nowrap;
}

/* Header */
header {
  background-color: #003366;
  color: white;
  padding: 1rem;
  text-align: center;
}

header button {
  background-color: #ffffff;
  color: #003366;
  font-weight: bold;
  border: none;
  padding: 0.5rem 1rem;
  margin: 0.5rem;
  border-radius: 5px;
  cursor: pointer;
}

header button:hover {
  background-color: #dcdcdc;
}

/* Section Headings */
h2 {
  color: #001f3f;
  margin-top: 1rem;
}

/* Testimonials Section */
#Customer-Testimonials {
  background-color: #ffffff;
  padding: 2rem;
  text-align: center;
}

#Customer-Testimonials h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

#Customer-Testimonials p {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 2rem;
}

/* Testimonial Images - Stacked Vertically */
#Customer-Testimonials .testimonial-images {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

#Customer-Testimonials .testimonial-images img {
  width: 80%;
  max-width: 500px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Gallery Grid - Original Horizontal Layout */
.grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin: 2rem auto;
  max-width: 1200px;
}

.grid figure {
  background-color: #f0f0f0;
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  width: 250px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.grid figure img {
  width: 250px;
  height: 180px;
  object-fit: cover;
  border-radius: 6px;
}

.grid figcaption {
  margin-top: 0.5rem;
  font-size: 0.95rem;
}

/* Footer */
footer {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  background-color: #333;
  color: white;
  padding: 2rem 1rem;
}

footer h3 {
  margin-top: 0;
}

footer ul {
  list-style-type: none;
  padding: 0;
}

footer ul li a {
  color: #ffffff;
  text-decoration: none;
}

footer ul li a:hover {
  text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .grid {
    gap: 1rem;
  }
  
  .grid figure {
    width: calc(50% - 1rem);
  }
  
  .grid figure img {
    width: 100%;
    height: auto;
  }
}