/* === Global Reset & Fonts === */
body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #f0f4f8;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* === Sidebar === */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 200px;
  background: linear-gradient(to bottom right, #1e3a8a, #22d3ee);
  color: white;
  display: flex;
  flex-direction: column;
  align-items: start;
  padding: 1rem;
  z-index: 10000;
  box-shadow: 2px 0 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}
.sidebar a {
  color: #e0f2fe;
  text-decoration: none;
  margin: 0.5rem 0;
  font-weight: 600;
  display: flex;
  align-items: center;
  transition: all 0.2s ease-in-out;
}
.sidebar a::before {
  content: '➤';
  display: inline-block;
  margin-right: 0.5rem;
  color: #ffffff;
  transition: transform 0.2s ease;
}
.sidebar a:hover {
  color: #ffffff;
  text-shadow: 0 0 8px #ffffff;
}
.sidebar a:hover::before {
  transform: translateX(5px);
}

/* === Language Toggle === */
.lang-toggle {
  position: fixed;
  top: 10px;
  right: 10px;
  z-index: 9999;
}

/* === Hero Section === */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 600px;
  background-color: #3a89eb;
  margin-left: 200px;
  overflow: hidden;
  text-align: center;
}
.hero-decoration.left,
.hero-decoration.right,
.hero-decoration.center {
  position: absolute;
  top: 0;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-decoration.left {
  left: 0;
  width: 30%;
}
.hero-decoration.center {
  left: 30%;
  width: 40%;
}
.hero-decoration.right {
  right: 0;
  width: 30%;
}
.hero h1 {
  font-size: 3.5rem;
  font-weight: bold;
  color: white;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
  margin-bottom: 0.5rem;
  z-index: 1;
}
.hero p {
  font-size: 1.25rem;
  color: white;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
  margin-top: 0;
  z-index: 1;
}
.hero .btn {
  margin: 0 0.25rem;
  z-index: 1;
}

/* === Button Styles === */
.btn-main {
  background-color: #3b82f6;
  color: white;
  border-radius: 2rem;
  padding: 0.5rem 1.5rem;
  font-weight: 500;
  border: none;
  transition: background-color 0.2s ease;
}
.btn-main:hover {
  background-color: #2563eb;
}

/* === Section Layout === */
.section {
  padding: 3rem 1rem;
  margin-left: 200px;
}
.section-title {
  font-weight: bold;
  color: #1e40af;
  margin-bottom: 1.5rem;
  text-align: center;
}

/* === Footer === */
footer {
  background-color: #f1f5f9;
  color: #333;
  padding: 1rem;
  text-align: center;
  margin-left: 200px;
}

/* === Responsive Styles === */
@media (max-width: 768px) {
  #sidebar-container {
    transform: translateX(-100%);
  }

  .section,
  footer,
  .hero {
    margin-left: 0;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero {
    flex-direction: column;
    height: auto;
    padding: 2rem 1rem;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .hero-decoration.left,
  .hero-decoration.right {
    display: none;
  }

  .hero-decoration.center {
    display: block;
    position: relative !important;
    left: auto !important;
    right: auto !important;
    width: 100%;
    max-width: 360px;
    height: auto;
    margin: 0 auto 1.5rem auto;
    animation: float 6s ease-in-out infinite;
  }

  .hero h1 {
    font-size: 2rem;
    margin-top: 0.5rem;
  }

  .hero p {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .btn-main,
  .hero .btn {
    width: 100%;
    margin-bottom: 0.75rem;
  }
}