/* Base Styles */
:root {
  --primary-color: #2563eb;
  --secondary-color: #1e40af;
  --accent-color: #f97316;
  --text-color: #333;
  --light-text: #666;
  --bg-color: #ffffff;
  --light-bg: #f8fafc;
  --border-color: #e2e8f0;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --transition: all 0.3s ease;
}

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

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

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Header Styles */
header {
  background-color: var(--bg-color);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.logo h1 {
  color: var(--primary-color);
  font-size: 1.8rem;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 30px;
}

nav ul li a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  transition: var(--transition);
  padding: 8px 12px;
  border-radius: 4px;
}

nav ul li a:hover,
nav ul li a.active {
  color: var(--primary-color);
  background-color: rgba(37, 99, 235, 0.1);
}

.language-switch {
  display: flex;
  gap: 10px;
}

.lang-btn {
  background: none;
  border: 1px solid var(--border-color);
  padding: 5px 12px;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
}

.lang-btn.active {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  padding: 100px 0;
  text-align: center;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 30px;
  color: var(--light-text);
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

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

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

.btn.secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn.secondary:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}

/* Features Section */
.features {
  padding: 80px 0;
  background-color: var(--light-bg);
}

.features h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 50px;
  color: var(--secondary-color);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.feature-card {
  background-color: var(--bg-color);
  border-radius: 8px;
  padding: 30px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--primary-color);
}

/* About Page Specific Styles */
.about-hero {
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  padding: 80px 0;
  text-align: center;
}

.about-hero h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.about-hero p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto;
  color: var(--light-text);
}

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

.team h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 50px;
  color: var(--secondary-color);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.team-member {
  background-color: var(--bg-color);
  border-radius: 8px;
  padding: 30px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
}

.team-member:hover {
  transform: translateY(-5px);
}

.member-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px;
  background-color: var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.team-member h3 {
  font-size: 1.5rem;
  margin-bottom: 5px;
  color: var(--text-color);
}

.position {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 15px;
}

.values {
  padding: 80px 0;
}

.values h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 50px;
  color: var(--secondary-color);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.value-item {
  text-align: center;
  padding: 30px;
  border-radius: 8px;
  background-color: var(--light-bg);
  transition: var(--transition);
}

.value-item:hover {
  background-color: var(--bg-color);
  box-shadow: var(--shadow);
}

.value-item h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--primary-color);
}

/* Footer */
footer {
  background-color: var(--secondary-color);
  color: white;
  padding: 50px 0 20px;
}

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

.footer-section h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.footer-section h4 {
  font-size: 1.2rem;
  margin-bottom: 15px;
}

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

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

.footer-section ul li a {
  color: #cbd5e1;
  text-decoration: none;
  transition: var(--transition);
}

.footer-section ul li a:hover {
  color: white;
  padding-left: 5px;
}

/* Copyright */
.footer-section p {
  color: #cbd5e1;
  margin-bottom: 10px;
}

/* Projects Page Specific Styles */
.projects-hero {
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  padding: 80px 0;
  text-align: center;
}

.projects-hero h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.projects-hero p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto;
  color: var(--light-text);
}

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

.projects-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 50px;
}

.filter-btn {
  background-color: var(--bg-color);
  border: 1px solid var(--border-color);
  padding: 10px 20px;
  border-radius: 30px;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.project-card {
  background-color: var(--bg-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.project-image {
  height: 200px;
  background-color: var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.project-content {
  padding: 25px;
}

.project-content h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--text-color);
}

.project-tags {
  margin: 15px 0;
}

.tag {
  display: inline-block;
  background-color: var(--light-bg);
  color: var(--primary-color);
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  margin-right: 8px;
  margin-bottom: 8px;
}

.platform {
  font-weight: 500;
  color: var(--text-color);
}

.open-source-highlight {
  padding: 80px 0;
}

.open-source-highlight h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.open-source-highlight p {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
  color: var(--light-text);
}

.oss-projects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.oss-project {
  background-color: var(--light-bg);
  border-radius: 8px;
  padding: 30px;
  transition: var(--transition);
}

.oss-project:hover {
  background-color: var(--bg-color);
  box-shadow: var(--shadow);
}

.oss-project h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--text-color);
}

.oss-stats {
  display: flex;
  gap: 20px;
  margin: 15px 0;
}

.stat {
  display: flex;
  align-items: center;
  gap: 5px;
}

.contact-hero {
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  padding: 80px 0;
  text-align: center;
}

.contact-hero h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.contact-hero p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto;
  color: var(--light-text);
}

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

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info h2,
.contact-form h2 {
  font-size: 1.8rem;
  margin-bottom: 30px;
  color: var(--secondary-color);
}

.info-item {
  margin-bottom: 30px;
}

.info-item h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.social-links {
  margin-top: 40px;
}

.social-links h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.social-icons {
  display: flex;
  gap: 20px;
}

.social-icon {
  font-size: 1.5rem;
  transition: var(--transition);
}

.social-icon:hover {
  transform: translateY(-3px);
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

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

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.map {
  padding: 80px 0;
}

.map h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 30px;
  color: var(--secondary-color);
}

.map-container {
  height: 400px;
  background-color: var(--border-color);
  border-radius: 8px;
  overflow: hidden;
}

.map-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-size: 1.2rem;
  color: var(--light-text);
}

.not-found {
  padding: 100px 0;
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  min-height: 70vh;
  display: flex;
  align-items: center;
}

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

.not-found-content h1 {
  font-size: 8rem;
  color: var(--secondary-color);
  margin-bottom: 20px;
  line-height: 1;
}

.not-found-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.not-found-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: var(--light-text);
}

/* Download Page */
.download-hero {
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  padding: 80px 0;
  text-align: center;
}

.download-hero h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.download-hero p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto;
  color: var(--light-text);
}

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

.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.download-card {
  background-color: var(--bg-color);
  border-radius: 8px;
  padding: 30px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
}

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

.download-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.download-card h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: var(--text-color);
}

.download-info {
  margin: 20px 0;
  text-align: left;
}

.download-info div {
  margin-bottom: 10px;
}

.download-links {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
}

.installation-guide {
  background-color: var(--bg-color);
  border-radius: 8px;
  padding: 40px;
  box-shadow: var(--shadow);
}

.installation-guide h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  color: var(--secondary-color);
}

.guide-steps {
  display: grid;
  gap: 30px;
}

.step {
  display: flex;
  gap: 20px;
}

.step-number {
  background-color: var(--primary-color);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: bold;
}

.step-content h3 {
  margin-bottom: 10px;
  color: var(--text-color);
}

/* Responsive adjustments are in responsive.css */