body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  background-color: #f4f4f4;
  color: #333;
  overflow-x: hidden;
  max-width: 100vw;
}

html {
  max-width: 100vw;
  overflow-x: hidden;
}

.hero {
  width: 100%;
  background: linear-gradient(to bottom right, #0d1b2a, #1b4332);
  color: white;
  padding: 0 20px 120px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 1;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  box-sizing: border-box;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -40px;
  left: 0;
  width: 100%;
  height: 80px;
  background: linear-gradient(to top, rgba(0,0,0,0.1), transparent);
  z-index: -1;
}

.navbar {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px;
  gap: 12px;
  position: relative;
}

.logo {
  font-size: 2.2em;
  font-weight: bold;
  font-family: 'Montserrat', sans-serif;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  animation: fadeInLogo 2s ease-out;
  border-bottom: 2px solid white;
  padding-bottom: 4px;
  width: 100%;
  padding-left: 10px;
  padding-right: 10px;
  box-sizing: border-box;
  letter-spacing: 4px;
}

@keyframes fadeInLogo {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content {
  max-width: 100%;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
  word-wrap: break-word;
}

.hero-content h1 {
  font-size: 2.4em;
  margin-bottom: 20px;
}

.btn-primary {
  background-color: #1b4332;
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  transition: background-color 0.3s ease;
  margin-top: 40px;
}

.btn-primary:hover {
  background-color: #14532d;
}

.section {
  padding: 100px 40px;
  text-align: center;
  background-color: white;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.section.dark {
  background-color: #e0e0e0;
  color: #1a1a1a;
}

.card-container {
  display: grid;
  grid-template-columns: repeat(6, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 30px;
  justify-items: center;
}

.card {
  background-color: #f8f8f8;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 6px 10px rgba(0,0,0,0.1);
  max-width: 300px;
  width: 100%;
  box-sizing: border-box;
  word-break: break-word;
  overflow-wrap: break-word;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 500px;
  margin: 0 auto;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1em;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.footer {
  background-color: #0d1b2a;
  color: white;
  text-align: center;
  padding: 20px;
  margin-top: 40px;
  box-shadow: 0 -4px 6px rgba(0,0,0,0.2);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .card-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .card {
    max-width: 90%;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 20px 10px 60px;
  }

  .hero-content {
    padding: 10px;
  }

  .hero-content h1 {
    font-size: 2.2em;
    line-height: 1.2;
  }

  .logo {
    font-size: 25px;
    width: 100%;
    padding-left: 10px;
    padding-right: 10px;
    margin-left: 0;
    margin-right: 0;
  }

  .navbar {
    flex-direction: column;
    text-align: center;
    margin-left: 20px;
    margin-right: 20px;
  }

  .card-container {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .card {
    max-width: 90%;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 20px 10px 60px;
  }

  .hero-content {
    padding: 10px;
  }

  .hero-content h1 {
    font-size: 1.6em;
    line-height: 1.2;
  }

  .btn-primary {
    padding: 10px 18px;
    font-size: 0.9em;
  }

  .logo {
    font-size: 20px;
    width: 100%;
    padding-left: 10px;
    padding-right: 10px;
    margin-left: 0;
    margin-right: 0;
  }

  .card-container {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .card {
    max-width: 100%;
  }
}
