body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  background: #e4e4e4;
  color: #333;
}

nav.top-nav,
nav.footer-nav {
  display: flex;
  justify-content: right;
  gap: 15px;
  margin: 15px 15px;
}

nav button, .more, .whatsapp {
  background: #e4e4e4;
  border: none;
  padding: 10px 20px;
  border-radius: 10px;
  box-shadow: 4px 4px 8px #c5c5c5, -4px -4px 8px #ffffff;
  cursor: pointer;
  transition: all 0.3s;
}

button:active {
  color: #666;
  box-shadow: inset 4px 4px 12px #c5c5c5, inset -4px -4px 12px #ffffff;
} 

.more {
  display: block;
  margin: 5px auto; /* top/bottom + auto center */
}

.logo-home {
  text-align: center;
  margin: 100px 0;
}

.hero {
  text-align: center;
  margin-top: 150px;
  margin-bottom: 150px;
  font-size: 36px;
  font-weight: normal;
  color: #4e4e4e;                        /* make it look like a heading, not a link */
}

.hero-impact {
  text-align: center;
  margin-top: 300px;
  margin-bottom: 300px;
  color: #6b6b6b;                        /* make it look like a heading, not a link */
}

.text-with-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  font-weight: bolder;
  font-size: 38px;
  flex-wrap: wrap;
}

.dot {
  font-size: 28px;
  line-height: 0;
  margin: 0 5px;
}


.portfolio h2 {
  text-align: center;
  margin-top: 150px;
  margin-bottom: 30px;
}

.hidden-projects {
  display: none;
}

.gallery {
  display: flex;
}

.gallery, .hidden-projects {
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 10px;
}

.section {
  background: #e4e4e4;
  margin: 30px;
  padding: 25px;
  border-radius: 20px;
  box-shadow: 4px 4px 12px #c5c5c5, -4px -4px 12px #ffffff;
  display: flex;
  align-items: center;
}

.info-title {
  font-size: 20px;
  font-weight: bold;
  text-wrap-mode: nowrap;
  margin-right: 60px;
  margin-left: 30px;
}

.info-text {
  justify-content: left;
  text-align: left;
  font-size: 16px;
  padding: 60px;
}

.info-buttons {
  display: flex;
  align-items: center;
  flex-direction: column;
}

.whatsapp {
  margin: 10px;
}

footer {
  text-align: center;
  margin-top: 40px;
  padding: 20px;
}

.logo-container {
  display: flex;
  justify-content: center; /* centers horizontally */
  align-items: center;
  padding: 20px;
}

.logo-container img {
  max-width: 100%;
  height: auto;
  width: 386px;         /* optional: sets default size */
}

@media (max-width: 600px) {
  .logo-container img {
    width: 200px;       /* smaller logo on small screens */
  }
}

@media (max-width: 600px) {
  nav.top-nav,
  nav.footer-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 10px;
  }

  nav button, .more, .whatsapp {
    padding: 10px 16px;
  }
}

@media (max-width: 768px) {
  .section {
    flex-direction: column;
    align-items: stretch;
    margin: 15px;
    padding: 15px;
  }

  .info-title {
    margin: 0 0 15px 0;
    font-size: 18px;
    text-align: center;
  }

  .info-text {
    padding: 20px;
    font-size: 14px;
    text-align: justify;
  }

  .info-buttons {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
  }

  .whatsapp {
    margin: 0;
  }
}

@media (max-width: 768px) {
  .hero {
    font-size: 28px;
    margin-top: 80px;
    margin-bottom: 80px;
    padding: 0 10px;
  }

  .text-with-dots {
    font-size: 28px;
    padding: 0 10px;
    gap: 8px;
  }

  .dot {
    font-size: 8px;
    margin: 0 4px;
  }
}

.copy-right {
  margin: 20px;
  margin-bottom: 10px;
  font-size: 12px;
  display: block;
}

html {
  scroll-behavior: smooth;
}

svg {
  shape-rendering: crispEdges;    
}

.card-link {
  text-decoration: none;
  color: inherit;
  display: inline-block;
}

.card {
  width: 350px;
  background: #e4e4e4;
  border-radius: 15px;
  box-shadow: 4px 4px 8px #c5c5c5, -4px -4px 8px #ffffff;
  text-align: center;
  padding: 15px;
  transition: box-shadow 0.2s ease;
}

.card:active {
  box-shadow: inset 4px 4px 12px #c5c5c5, inset -4px -4px 12px #ffffff;
}

.card img {
  width: 100%;
  border-radius: 10px;
}

.project-title {
  margin-top: 10px;
  font-weight: bold;
}
