:root {
  --primary: #ff7a00;
  --secondary: #1a237e;
  --bg-color: #ffffff;
  --text-dark: #333333;
  --text-light: #666666;
  --light-bg: #f5f7fa;
  --border-color: #e0e0e0;
}

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

body {
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-dark);
  line-height: 1.6;
}

/* Header */
.site-header {
  background-color: var(--bg-color);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

.logo a {
  font-size: 24px;
  font-weight: 700;
  color: var(--secondary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 20px;
}

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

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

.header-right-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.lang-dropdown-wrapper {
  position: relative;
  display: inline-block;
}

.lang-dropbtn {
  background-color: var(--light-bg);
  color: var(--secondary);
  padding: 8px 15px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
}

.lang-dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  background-color: #fff;
  min-width: 120px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 2000;
  border-radius: 5px;
  overflow: hidden;
}

.lang-dropdown-content.show {
  display: block;
}

.lang-dropdown-content a {
  color: var(--text-dark);
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  font-size: 14px;
  border-bottom: 1px solid #eee;
}

.lang-dropdown-content a:last-child {
  border-bottom: none;
}

.lang-dropdown-content a:hover, .lang-dropdown-content a.active {
  background-color: var(--light-bg);
  color: var(--primary);
}

.hamburger {
  display: none;
  cursor: pointer;
  font-size: 24px;
}

@media (max-width: 900px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-color);
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
  }
  
  .nav-menu.active {
    display: flex;
    gap: 15px;
  }
  
  .hamburger {
    display: block;
  }
  .lang-dropdown-wrapper {
    display: block;
  }
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--secondary) 0%, #283593 100%);
  color: white;
  padding: 80px 20px;
  text-align: center;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
  color: #fff;
}

.hero p {
  font-size: 20px;
  margin-bottom: 30px;
  opacity: 0.9;
}

@media (max-width: 768px) {
  .hero {
    padding: 60px 20px;
  }
  .hero h1 {
    font-size: 32px;
  }
  .hero p {
    font-size: 16px;
  }
}

.btn-primary {
  background-color: var(--primary);
  color: white;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  font-size: 18px;
  transition: background 0.3s;
  display: inline-block;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background-color: #e66e00;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* Cards Section */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: -40px;
  position: relative;
  z-index: 10;
}

@media (max-width: 768px) {
  .features-grid {
    gap: 24px;
    margin-top: -20px;
  }
}

.feature-card {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s;
}

.feature-card:hover {  transform: translateY(-5px);
}

.feature-card h3 {
  color: var(--secondary);
  margin-bottom: 15px;
}

.feature-card a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

/* Content Area */
.content-section {
  padding-top: 40px;
  padding-bottom: 40px;
  margin-bottom: 32px;
}

.content-section h2 {
  color: var(--secondary);
  font-size: 32px;
  margin: 40px 0 24px;
  border-bottom: 3px solid var(--primary);
  padding-bottom: 10px;
  display: inline-block;
}

.content-section h3 {
  color: var(--secondary);
  font-size: 24px;
  margin: 32px 0 16px;
}

.content-section p {
  margin-bottom: 24px;
  font-size: 18px;
  color: var(--text-light);
  line-height: 1.8;
}

.content-section ul, .content-section ol {
  margin-bottom: 24px;
  padding-left: 24px;
  font-size: 18px;
  color: var(--text-light);
  line-height: 1.8;
}

.content-section li {
  margin-bottom: 12px;
}

@media (max-width: 768px) {
  .content-section {
    padding-top: 24px;
    padding-bottom: 24px;
    margin-bottom: 24px;
  }
  .content-section h2 {
    font-size: 24px;
    margin: 32px 0 16px;
  }
  .content-section h3 {
    font-size: 20px;
    margin: 24px 0 12px;
  }
  .content-section p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 20px;
  }
  .content-section ul, .content-section ol {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 20px;
    padding-left: 20px;
  }
}

/* FAQ Accordion */
.faq-container {
  max-width: 800px;
  margin: 40px auto;
}

.faq-item {
  border: 1px solid var(--border-color);
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.faq-question {
  background: var(--light-bg);
  padding: 20px;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--secondary);
  font-size: 18px;
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease;
  background: white;
}

.faq-item.active .faq-answer {
  padding: 20px;
  max-height: 500px;
}

.faq-item.active .faq-question {
  background: var(--primary);
  color: white;
}

/* Breadcrumb */
.breadcrumb {
  background: var(--light-bg);
  padding: 15px 20px;
  margin-bottom: 30px;
  border-radius: 5px;
  font-size: 14px;
}

.breadcrumb a {
  color: var(--primary);
  text-decoration: none;
}

.breadcrumb span {
  color: var(--text-light);
}

/* Blog Summary */
.blog-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

@media (max-width: 600px) {
  .blog-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.blog-card {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  transition: transform 0.3s;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {  
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.blog-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}

.blog-card-content {
  padding: 20px;
}

.blog-card h3 a {
  color: var(--secondary);
  text-decoration: none;
  font-size: 20px;
}

.blog-card h3 a:hover {
  text-decoration: underline;
}

/* Footer */
.site-footer {
  background-color: var(--secondary);
  color: white;
  padding: 60px 20px 20px;
  margin-top: 60px;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: var(--primary);
  margin-bottom: 20px;
  font-size: 20px;
}

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

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-col ul li a:hover {
  color: white;
}

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