* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: sans-serif;
  background-color: #f1f5f9;
}

.hero {
  background: linear-gradient(to right, #1e40af, #312e81);
  color: white;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 2rem;
}

.hero img.logo {
  position: absolute;
  top: 2rem;
  left: 2rem;
  width: min(500px, 70vw);
  opacity: 0.7;
}

.language-switch {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: white;
  color: #1e40af;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  cursor: pointer;
  font-weight: bold;
  border: 0;
  transition: background 0.3s;
}

.language-switch:hover {
  background: #e2e8f0;
}

.hero h1 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.hero a {
  background: white;
  color: #1e40af;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s;
}

.hero a:hover {
  background: #e2e8f0;
}

.services {
  background-color: #4b5563;
  color: white;
  padding: 4rem 2rem;
  text-align: center;
}

.services h2 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 3rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background: white;
  color: black;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-card .content {
  padding: 1rem;
}

.contact-section {
  background: linear-gradient(to bottom right, #d1d5dbcc, #9ca3af99);
  padding: 4rem 2rem;
}

.contact-section h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: bold;
  color: #1f2937;
  margin-bottom: 3rem;
}

.contacts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1600px;
  margin: 0 auto;
}

.contact-card {
  background: rgba(255, 255, 255, 0.75);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.contact-card h3 {
  text-align: center;
  color: #1d4ed8;
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.contact-item i {
  font-size: 1.5rem;
  color: #2563eb;
  min-width: 2rem;
}

.contact-item div p {
  margin: 0;
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1rem;
  background: #22c55e;
  color: white;
  font-weight: bold;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  text-decoration: none;
  width: calc(100% - 2rem);
  transition: background 0.3s;
}

.whatsapp-btn:hover {
  background: #16a34a;
}

.contact-note {
  text-align: center;
  margin-top: 3rem;
  color: #374151;
}

.contact-note strong {
  color: #1d4ed8;
}

.footer {
  background: #111827;
  color: white;
  text-align: center;
  padding: 1rem;
  font-size: 0.875rem;
}

@media (max-width: 768px) {
  .hero {
    min-height: 70vh;
  }

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

  .hero p {
    font-size: 1rem;
  }

  .language-switch {
    position: static;
    margin-bottom: 1rem;
  }

  .hero img.logo {
    position: static;
    width: min(320px, 80vw);
    margin-bottom: 1rem;
    opacity: 0.8;
  }
}
