:root {
  /* Light Mode Colors */
  --bg-color: #f8fafc;
  --surface-color: #ffffff;
  --primary-color: #0066ff;
  --primary-hover: #0052cc;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --border-color: #e2e8f0;
  --accent-blue: rgba(0, 102, 255, 0.1);
  --header-bg: rgba(255, 255, 255, 0.8);
  --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 cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
  /* Dark Mode Colors */
  --bg-color: #0f172a;
  --surface-color: #1e293b;
  --primary-color: #3b82f6;
  --primary-hover: #60a5fa;
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --border-color: #334155;
  --accent-blue: rgba(59, 130, 246, 0.2);
  --header-bg: rgba(15, 23, 42, 0.8);
  --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
  background-color: var(--bg-color);
  color: var(--text-primary);
  line-height: 1.6;
  transition: var(--transition);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  padding: 0.6rem 0;
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-color);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.logo-img {
  height: 50px;
  width: auto;
  object-fit: contain;
  border-radius: 10px;
}

.controls {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.control-btn {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

.control-btn span {
  display: none;
}

.control-btn:hover {
  transform: translateY(-2px);
  border-color: var(--primary-color);
  color: var(--primary-color);
}

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

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

/* Main Content */
main {
  flex: 1;
  padding-top: 100px;
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
  padding-left: 2rem;
  padding-right: 2rem;
  padding-bottom: 5rem;
}

/* Hero Section */
.hero {
  text-align: center;
  margin-bottom: 4rem;
  animation: fadeInDown 0.8s ease-out;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--primary-color), #8b5cf6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-secondary);
}

/* Content Sections */
.policy-card {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 2rem;
  margin-bottom: 1.5rem;
  transition: var(--transition);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.5s ease-out forwards;
}

.policy-card:hover {
  border-color: var(--primary-color);
  box-shadow: 0 20px 25px -5px rgba(0, 102, 255, 0.1);
}

.policy-card h2 {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  color: var(--primary-color);
}

.policy-card h2 i {
  background: var(--accent-blue);
  padding: 12px;
  border-radius: 12px;
}

.policy-card p {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

/* Footer */
footer {
  text-align: center;
  padding: 1rem;
  border-top: 1px solid var(--border-color);
  color: var(--text-secondary);
}

.footer-links {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.footer-links a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.footer-links a:hover {
  text-decoration: underline;
}

/* Animations */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  to { opacity: 1; transform: translateY(0); }
}

.policy-card:nth-child(1) { animation-delay: 0.1s; }
.policy-card:nth-child(2) { animation-delay: 0.2s; }
.policy-card:nth-child(3) { animation-delay: 0.3s; }
.policy-card:nth-child(4) { animation-delay: 0.4s; }
.policy-card:nth-child(5) { animation-delay: 0.5s; }

/* Responsive */
@media (max-width: 768px) {
  header {
    padding: 0.3rem 0; /* Further reduced height for mobile */
  }

  .nav-container {
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 50px;
  }

  .logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.1rem;
    white-space: nowrap;
    margin: 0;
    z-index: 1;
  }

  .logo-img {
    display: none;
  }

  .controls {
    display: flex;
    justify-content: space-between;
    width: 100%;
    pointer-events: none; /* Allows clicking items underneath if necessary, but we will fix button pointer events */
  }

  .control-btn {
    pointer-events: auto;
    width: 38px; /* Slightly smaller buttons for mobile */
    height: 38px;
    font-size: 1rem;
  }

  #theme-toggle {
    margin-right: auto;
  }

  #lang-toggle {
    margin-left: auto;
  }

  main {
    padding-top: 70px;
    padding-left: 1.2rem;
    padding-right: 1.2rem;
  }


  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .policy-card {
    padding: 1.5rem;
    border-radius: 20px;
  }

  .policy-card h2 {
    font-size: 1.3rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 0rem;
  }

  footer {
    padding: 1.5rem 1rem;
  }
}



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

