/* Reset and Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, sans-serif;
  background: #f9f9f9;
  color: #333;
  line-height: 1.6;
}

a {
  color: #0b57d0;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Container */
.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
  padding: 2rem 0;
}

/* Flex Helpers */
.flex {
  display: flex;
}

.space-between {
  justify-content: space-between;
}

.align-center {
  align-items: center;
}

.center {
  text-align: center;
}

/* Header */
header {
  background: #fff;
  border-bottom: 1px solid #ddd;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

header h1 {
  font-size: 1.8rem;
  color: #0b57d0;
}

.lang-switcher a {
  margin-left: 0.5rem;
  font-size: 0.9rem;
}

/* Hero Section */
.hero {
  background: #e3f2fd;
  padding: 3rem 1rem;
}

.hero h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 1.5rem;
}

/* Buttons */
.button-group {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.button-group a,
.card a {
  display: inline-block;
  text-align: center;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1rem;
  transition: background 0.3s, color 0.3s;
  min-width: 180px;
  margin: 0.5rem auto 0;
}

.btn {
  background: #0b57d0;
  color: #fff;
  border: none;
}

.btn:hover {
  background: #084aad;
}

.btn-secondary {
  background: #fff;
  color: #0b57d0;
  border: 2px solid #0b57d0;
}

.btn-secondary:hover {
  background: #0b57d0;
  color: #fff;
}

/* Section Headings */
section h2 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  text-align: center;
}

/* Cards Layout */
.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  align-items: stretch;
  margin-top: 1rem;
}

.card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  padding: 1.5rem;
  max-width: 320px;
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  text-align: center;
}

.card img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  margin-bottom: 1rem;
}

.card h3 {
  margin-bottom: 0.75rem;
}

.card p {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.card-body {
  flex-grow: 1;
}

.card a.btn,
.card a.btn-secondary {
  margin-top: auto;
  align-self: center;
}

/* FAQ Section */
#faq details {
  background: #fff;
  border: 1px solid #ccc;
  padding: 1rem;
  border-radius: 5px;
  margin-bottom: 1rem;
  cursor: pointer;
}

#faq summary {
  font-weight: bold;
  font-size: 1rem;
}

#faq p {
  margin-top: 0.5rem;
}

/* Contact */
#contact .button-group {
  margin-top: 1rem;
}

/* Footer */
footer {
  background: #222;
  color: #ddd;
  text-align: center;
  padding: 1.5rem 0;
  font-size: 0.9rem;
  margin-top: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
  .flex {
    flex-direction: column;
    text-align: center;
  }

  .lang-switcher {
    margin-top: 0.5rem;
  }

  .cards {
    flex-direction: column;
  }

  .card {
    max-width: 100%;
  }

  .button-group {
    flex-direction: column;
  }
}
