/* Reset some default browser styles for consistency */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

header {
  padding: 20px;
  text-align: center;
}

header img {
  max-width: 350px;
  width: 100%;
  height: auto;
}

header h1 {
  margin-top: 20px;
  font-size: 1.8rem;
  font-weight: bold;
  text-transform: uppercase;
}

/* Generic section styling */
.section {
  padding: 40px 20px;
}

/* Cards layout for services and gallery */
.services,
.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.card {
  width: 300px;
  max-width: 100%;
  background-color: #f8f8f8;
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card a img,
.card img {
  width: 100%;
  height: auto;
  display: block;
}

.card h4 {
  margin: 15px 10px 10px;
  font-size: 1.2rem;
}

.card p {
  padding: 0 15px 20px;
  font-size: 0.9rem;
}

/* Gallery cards should not have background boxes and shadows */
.gallery .card {
  background-color: transparent;
  box-shadow: none;
  border-radius: 0;
}

/* Footer styling */
footer {
  background-color: #141b21;
  color: #fff;
  padding: 40px 20px;
  font-size: 0.9rem;
}

footer .footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  gap: 20px;
}

footer .logo img {
  max-height: 60px;
  width: auto;
  height: auto;
}

footer .contact {
  flex: 1;
  min-width: 200px;
}

footer .contact p {
  margin-bottom: 8px;
  color: #dcdcdc;
}

footer .contact p strong {
  color: #ffffff;
}

footer .social-icons {
  display: flex;
  gap: 12px;
}

footer .social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid #ffffff;
  border-radius: 50%;
  text-decoration: none;
  color: #ffffff;
  transition: background-color 0.3s, color 0.3s;
}

footer .social-icons a:hover {
  background-color: #ffffff;
  color: #141b21;
}

footer .social-icons a svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

footer .copy {
  margin-top: 20px;
  width: 100%;
  text-align: center;
  color: #b0b0b0;
  font-size: 0.8rem;
}

@media (max-width: 768px) {
  .card {
    width: 100%;
  }
  footer .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  footer .contact {
    margin-top: 20px;
  }
}