/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Open Sans", sans-serif;
  color: #e0f1ff;
  background-color: #1f2a44;
}

html,
body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}
/* Header */
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #b2d3d1;
  height: 100px;
  padding: 0 50px;
}

.logo {
  height: 80px;
}

/* Menu icon styling */
.menu-icon {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.menu-icon div {
  width: 35px;
  height: 4px;
  background-color: #1f2a44;
}

/* Pop-up menu styling */
.popup-menu {
  position: fixed;
  top: 100px; /* Adjust based on header height */
  right: 50px; /* Adjust based on your layout */
  background-color: #b2d3d1;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
  padding: 20px;
  border-radius: 8px;
  z-index: 10;
  visibility: hidden;
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.popup-menu.show {
  visibility: visible;
  opacity: 1;
  transform: scale(1);
}

.popup-link {
  display: block;
  color: #1f2a44;
  text-decoration: none;
  padding: 10px 0;
}

.popup-link:hover {
  color: #e0f1ff;
}
/* What We Do Section */
.what-we-do {
  background-color: #1f2a44;
  color: #add6d8;
  padding: 50px;
  text-align: center;
  align-items: center;
}
.what-we-do h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}
.what-we-do h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}
.what-we-do p {
  font-size: 1rem;
  margin-bottom: 15px;
}
/* Main container */
.what-we-do-container {
  display: flex;
  flex-direction: column; /* Stack all content */
  align-items: center;
  max-width: 1700px;
  margin: 0 auto;
  gap: 50px;
}

/* Info section */
.what-we-do-info {
  max-width: 1700px;
  align-items: center;
  justify-content: center;
}

/* Grid layout for service lists */
.services-grid {
  display: grid;
  justify-self: space-between;
  align-items: space-between;
  grid-template-columns: repeat(3, 1fr); /* 3 columns for large screens */
  grid-template-rows: repeat(2, 1fr); /* 2 rows for large screens */
  gap: 30px;
  max-width: 1700px;
  margin: auto;

  text-align: left;
}

/* Service list styling */
/*.services-grid div {
  background-color: #24304b;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}
*/
/* Image container */
.doimage-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1400px;
}

/* Images */
.what-we-do-image img {
  width: 48%; /* Side-by-side images on large screens */
  max-width: 400px;
  height: auto;
  border-radius: 12%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  margin: 5px;
}
/* Footer */
.footer {
  background-color: #add6d8;
  color: #1f2a44;
  text-align: center;
  padding: 20px;
  margin-top: 50px;
}

.footer-container {
  max-width: 1700px;
  margin: 0 auto;
  margin-left: 100px;
  margin-right: 100px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  height: 80px;
}

.footer p {
  font-size: 1rem;
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: #1f2a44;
  text-decoration: none;
  font-weight: bold;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 800px) {
  .header-container {
    padding: 0 20px;
  }
}
.services-grid {
  grid-template-columns: repeat(2, 1fr); /* 2 columns, 3 rows */
}

.what-we-do-image img {
  width: 90%; /* Make images larger */
  max-width: 500px;
}

.footer-container {
  flex-direction: column;
  text-align: center;
  gap: 10px;
  height: 500px;
}
