@media (max-width: 700px){
  .card-grid {
    grid-template-columns: 1fr;
  }
}

/* Base Styles */
body {
  font-family: sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  background: #f9f9f9;
  color: #333;
}

/* Header */
header {
  background: #003366;
  color: white;
  text-align: center;
  padding: 2rem;
}

header h1 {
  margin: 0;
  font-size: 2.5rem;
}

/* Hero Section */
.hero {
  background: #e0eafc;
  text-align: center;
  padding: 3rem 1rem;
}

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

.hero .button {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  background: #003366;
  color: white;
  text-decoration: none;
  border-radius: 5px;
}

/* Services Section */
.services {
  padding: 2.5rem 1rem;
  max-width: 900px;
  margin: auto;
}

.services h2 {
  text-align: center;
  margin-bottom: 1.5rem;
}

.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

.service {
  flex: 1 1 250px;
  background: white;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 0 5px rgba(0,0,0,0.1);
}

/* Testimonials Section */
.testimonials {
  padding: 2.5rem 1rem;
  max-width: 900px;
  margin: auto;
  text-align: center;
}

.testimonials h2 {
  margin-bottom: 1.5rem;
}

.testimonials blockquote {
  font-style: italic;
  margin: 1.5rem auto;
  max-width: 700px;
  position: relative;
}

.testimonials cite {
  display: block;
  margin-top: 0.5rem;
  font-weight: bold;
  text-align: right;
}

/* Gallery Section */
.gallery {
  padding: 2.5rem 1rem;
  max-width: 1000px;
  margin: auto;
  text-align: center;
}

.gallery h2 {
  margin-bottom: 2rem;
  font-size: 2rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
}

.card img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.card p {
  margin: 0;
  padding: 1rem;
  font-size: 1rem;
  line-height: 1.4;
}

/* Contact Section */
.contact {
  padding: 2.5rem 1rem;
  max-width: 900px;
  margin: auto;
  text-align: center;
}

.contact h2 {
  margin-bottom: 1rem;
}

.contact ul {
  list-style: none;
  padding: 0;
  font-size: 1.1rem;
}

.contact li {
  margin-bottom: 0.5rem;
}

/* Footer */
footer {
  background: #003366;
  color: white;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
}

/* Responsive Layout */
@media (max-width: 700px) {
  .card-grid {
    grid-template-columns: 1fr;
  }

  .service-list {
    flex-direction: column;
    align-items: center;
  }
}
