* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary-color: #4BAC75;
  --secondary-color: #5FBF88;
  --accent-color: #3A8C5E;
  --text-dark: #012626;
  --text-medium: #2A4A4A;
  --text-light: #5A6A6A;
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;
  --border-color: #e0e0e0;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 4px 16px rgba(0, 0, 0, 0.15);
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-white);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.header {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  flex-wrap: wrap;
  gap: 16px;
}

.logo-link {
  display: block;
  line-height: 0;
}

.logo-img {
  height: 50px;
  width: auto;
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.nav a {
  text-decoration: none;
  color: var(--text-medium);
  font-weight: 500;
  transition: color 0.3s;
}

.nav a:hover {
  color: var(--primary-color);
}

.language-switcher {
  display: flex;
  gap: 8px;
  border-left: 1px solid var(--border-color);
  padding-left: 24px;
}

.language-switcher a {
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
}

.language-switcher a.active {
  background: var(--primary-color);
  color: white;
}

.btn-primary {
  background: var(--primary-color);
  color: white !important;
  padding: 8px 20px;
  border-radius: 6px;
  transition: background 0.3s;
}

.btn-primary:hover {
  background: var(--secondary-color);
}

.btn-large {
  display: inline-block;
  background: var(--primary-color);
  color: white;
  padding: 14px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s;
  box-shadow: var(--shadow);
}

.btn-large:hover {
  background: var(--secondary-color);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.btn-external {
  display: inline-block;
  background: var(--accent-color);
  color: white;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-external:hover {
  background: #0a6d8a;
  transform: translateY(-2px);
}

.hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  padding: 80px 0;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero-title {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 16px;
  opacity: 0.95;
}

.hero-description {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 32px;
  opacity: 0.9;
}

.services {
  padding: 80px 0;
  background: var(--bg-light);
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
  color: var(--primary-color);
}

.section-intro {
  text-align: center;
  font-size: 18px;
  color: var(--text-medium);
  max-width: 700px;
  margin: 0 auto 48px;
  line-height: 1.6;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--bg-white);
  padding: 32px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  transition: all 0.3s;
}

.service-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.service-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 8px;
}

.service-subtitle {
  font-size: 14px;
  color: var(--text-light);
  font-style: italic;
  margin-bottom: 12px;
}

.service-question {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 12px;
  line-height: 1.5;
}

.service-description {
  font-size: 15px;
  color: var(--text-medium);
  line-height: 1.5;
}

.cyfun-section {
  background: #f0f4f8;
  padding: 80px 0;
  border-top: 3px solid var(--accent-color);
  border-bottom: 3px solid var(--accent-color);
}

.cyfun-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.cyfun-content h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 24px;
}

.cyfun-separator {
  width: 80px;
  height: 3px;
  background: var(--accent-color);
  margin: 0 auto 24px;
}

.cyfun-intro {
  font-size: 18px;
  color: var(--text-dark);
  margin-bottom: 16px;
  line-height: 1.6;
}

.cyfun-description {
  font-size: 16px;
  color: var(--text-medium);
  margin-bottom: 16px;
  line-height: 1.6;
}

.cyfun-explanation {
  font-size: 15px;
  color: var(--text-medium);
  margin-bottom: 32px;
  line-height: 1.6;
}

.cta-section {
  padding: 80px 0;
  text-align: center;
  background: var(--bg-white);
}

.cta-section h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--primary-color);
}

.cta-section p {
  font-size: 18px;
  color: var(--text-medium);
  margin-bottom: 32px;
}

.footer {
  background: var(--text-dark);
  color: white;
  padding: 48px 0 24px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
  margin-bottom: 32px;
}

.footer-column h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-column p {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.8;
}

.footer-column ul {
  list-style: none;
}

.footer-column li {
  margin-bottom: 8px;
  font-size: 14px;
  opacity: 0.8;
}

.footer-column a {
  color: white;
  text-decoration: none;
  transition: opacity 0.3s;
}

.footer-column a:hover {
  opacity: 1;
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  font-size: 14px;
  opacity: 0.7;
}

.contact-hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  padding: 60px 0;
  text-align: center;
}

.contact-hero h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 12px;
}

.contact-hero p {
  font-size: 18px;
  opacity: 0.9;
}

.contact-content {
  padding: 80px 0;
  background: var(--bg-light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-info {
  background: var(--bg-white);
  padding: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.contact-info h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 24px;
}

.contact-info p {
  font-size: 15px;
  color: var(--text-medium);
  line-height: 1.6;
  margin-bottom: 16px;
}

.contact-info .highlight {
  background: #fff3cd;
  border-left: 4px solid #ffc107;
  padding: 16px;
  margin: 24px 0;
  border-radius: 4px;
}

.contact-info .highlight p {
  margin: 0;
  font-weight: 500;
  color: var(--text-dark);
}

.contact-form {
  background: var(--bg-white);
  padding: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.contact-form h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.form-submit {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: var(--shadow);
}

.form-submit:hover {
  background: var(--secondary-color);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .logo-img {
    height: 40px;
  }

  .header-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }

  .language-switcher {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
    width: 100%;
  }

  .hero-title {
    font-size: 28px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .section-title {
    font-size: 28px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .logo-img {
    height: 35px;
  }

  .container {
    padding: 0 16px;
  }

  .hero {
    padding: 48px 0;
  }

  .hero-title {
    font-size: 24px;
  }

  .services {
    padding: 48px 0;
  }

  .cyfun-section {
    padding: 48px 0;
  }

  .cta-section {
    padding: 48px 0;
  }

  .contact-content {
    padding: 48px 0;
  }
}
