/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Container */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero Section */
.hero {
  width: 100%;
  height: 300px;
  overflow: hidden;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Header */
.header {
  padding: 40px 20px;
  text-align: center;
}

.header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #000;
}

.lang-switch {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 30px;
}

.lang-switch a {
  color: #333;
  text-decoration: underline;
  transition: color 0.2s;
}

.lang-switch a:hover {
  color: #000;
}

/* Introduction */
.intro {
  max-width: 700px;
  margin: 0 auto 50px;
  padding: 0 20px;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
  word-break: break-word;
  font-size: 1rem;
  line-height: 1.8;
  color: #444;
}

/* Section titles */
.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 30px;
  color: #000;
  text-align: center;
}

/* Services Section */
.services {
  padding: 20px 0 60px;
}

.service-item {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}

.service-item.reverse {
  flex-direction: row-reverse;
}

.service-content {
  flex: 1;
}

.service-content h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #000;
}

.service-content p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #555;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
  word-break: break-word;
}

.service-image {
  flex: 1;
  max-width: 350px;
}

.service-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 4px;
}

/* Values Section */
.values {
  padding: 40px 0 60px;
  background-color: #fafafa;
}

.values-list {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 20px;
}

.value-item {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #444;
}

.value-item .bullet {
  flex-shrink: 0;
}

/* Contact Section */
.contact {
  padding: 60px 0;
}

.contact-intro {
  max-width: 700px;
  margin: 0 auto 40px;
  padding: 0 20px;
  text-align: center;
  font-size: 1rem;
  color: #444;
}

.contact-cards {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.contact-card {
  background: #f8f8f8;
  border-radius: 8px;
  padding: 30px;
  min-width: 280px;
  flex: 1;
  max-width: 350px;
}

.contact-card h5 {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 20px;
  color: #666;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: #333;
}

.contact-info-item .icon {
  font-size: 1rem;
}

.map-card {
  text-align: center;
}

.map-card img {
  width: 100%;
  max-width: 280px;
  border-radius: 4px;
  margin: 0 auto;
}

/* Footer */
.footer {
  padding: 30px 20px;
  text-align: center;
  font-size: 0.85rem;
  color: #999;
  border-top: 1px solid #eee;
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    height: 200px;
  }

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

  .service-item {
    flex-direction: column;
    gap: 20px;
  }

  .service-item.reverse {
    flex-direction: column;
  }

  .service-image {
    max-width: 100%;
  }

  .service-image img {
    height: 200px;
  }

  .contact-cards {
    flex-direction: column;
    align-items: center;
  }

  .contact-card {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .header h1 {
    font-size: 1.75rem;
  }

  .section-title {
    font-size: 1.3rem;
  }

  .service-content h4 {
    font-size: 1.1rem;
  }
}

/* English version - use left align to avoid large word spacing */
html[lang="en"] .intro,
html[lang="en"] .service-content p {
  text-align: left;
}
