/* =========
   TOP NAVIGATION
========= */

.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 64px;
  padding: 0 20px;
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 2000;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo {
  height: 38px;
  width: auto;
}

.nav-title {
  font-size: 1.2rem;
  color: #ffffff;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Move hero down because navbar is fixed */
.hero {
  padding-top: 120px; 
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .nav-logo {
    height: 30px;
  }

  .nav-title {
    font-size: 1rem;
  }

  .top-nav {
    height: 56px;
    padding: 0 14px;
  }

  .hero {
    padding-top: 100px;
  }
}

@media (max-width: 480px) {
  .nav-logo {
    height: 24px;
  }

  .nav-title {
    font-size: 0.9rem;
  }

  .hero {
    padding-top: 90px;
  }
}


/* =========
   Base
========= */
:root {
  --purple: #6A0DAD;        /* Primary Purple */
  --purple-light: #7B1FA2;  /* Secondary Purple */
  --blue: #2962FF;          /* Accent Blue */
  --dark: #212121;          /* Dark Text */
  --gray: #757575;          /* Body Gray */
  --light-bg: #F5F5F5;      /* Light section background */
  --white: #FFFFFF;         /* Base White */
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--white);
  color: var(--dark);
  line-height: 1.6;
}

/* =========
   Language Switcher
========= */

.lang-switcher {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 1000;
  display: flex;
  gap: 6px;
  background: rgba(0,0,0,0.55);
  padding: 4px 6px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}

.lang-btn {
  border: none;
  background: transparent;
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.lang-btn:hover {
  background: rgba(255,255,255,0.12);
}

.lang-btn.active {
  background: var(--white);
  color: var(--purple);
}

/* =========
   Hero
========= */

.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--purple), var(--blue));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
}

.hero-inner {
  max-width: 800px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  letter-spacing: 0.04em;
}

.hero-subtitle {
  font-size: 1.35rem;
  font-weight: 500;
  opacity: 1;
  color: #FFFFFF;
  margin-bottom: 1rem;

  /* Improved readability */
  text-shadow: 0 2px 4px rgba(0,0,0,0.35);
}

.hero-text {
  font-size: 1.15rem;
  font-weight: 400;
  opacity: 1;
  color: #FFFFFF;
  max-width: 700px;
  margin: 0 auto 2rem;

  /* Improved readability */
  text-shadow: 0 2px 4px rgba(0,0,0,0.35);
}

/* =========
   Layout
========= */

.section {
  padding: 80px 20px;
}

.section-alt {
  background-color: var(--light-bg);
}

.section-accent {
  background-color: var(--purple);
  color: var(--white);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

h2 {
  font-size: 2rem;
  text-align: center;
  margin-top: 0;
  margin-bottom: 40px;
  color: var(--purple);
}

.section-accent h2 {
  color: var(--white);
}

h3 {
  font-size: 1.25rem;
  margin-top: 0;
}

/* =========
   Columns
========= */

.cols {
  display: grid;
  gap: 32px;
}

.cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.margin-top-lg {
  margin-top: 40px;
}

/* =========
   Text & Lists
========= */

p {
  margin: 0 0 1rem;
  color: var(--gray);
}

.section-accent p {
  color: var(--white);
}

.muted {
  color: var(--gray);
  font-size: 0.95rem;
}

.section-accent .muted {
  color: #E3D9F8;
}

.bullets {
  list-style: none;
  padding: 0;
  margin: 0;
}

.bullets li {
  margin-bottom: 0.75rem;
  padding-left: 1.1rem;
  position: relative;
  color: var(--gray);
}

.bullets li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0.15rem;
  color: var(--blue);
  font-weight: 700;
}

/* =========
   Cards
========= */

.card {
  background-color: var(--white);
  border-radius: 10px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

.section-alt .card {
  background-color: var(--white);
}

.card-border {
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: none;
}

/* =========
   Buttons & Links
========= */

.btn-primary {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 999px;
  background-color: var(--white);
  color: var(--purple);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  box-shadow: 0 8px 18px rgba(0,0,0,0.25);
  transition: all 0.2s ease;
}

.btn-primary:hover {
  background-color: var(--purple-light);
  color: var(--white);
  box-shadow: 0 12px 26px rgba(0,0,0,0.35);
  transform: translateY(-1px);
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  color: var(--purple);
  text-decoration: underline;
}

/* =========
   Contact & Footer
========= */

.contact {
  text-align: center;
}

.contact p {
  max-width: 700px;
  margin: 0 auto 1.5rem;
}

.contact-links a {
  display: inline-block;
  margin: 0 10px;
  font-weight: 500;
  color: var(--white);
}

.contact-links a:hover {
  color: var(--light-bg);
  text-decoration: underline;
}

footer {
  background-color: #1A1A1A;
  color: var(--white);
  padding: 24px 20px;
  font-size: 0.9rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--light-bg);
}

.footer-links a:hover {
  color: var(--white);
}

/* =========
   Reveal Animation
========= */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========
   Responsive
========= */

@media (max-width: 992px) {
  .cols-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section {
    padding: 70px 20px;
  }

  .hero h1 {
    font-size: 2.4rem;
  }
}

@media (max-width: 768px) {
  .cols-2,
  .cols-3 {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 60px 20px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.7rem;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .lang-switcher {
    top: 10px;
    right: 10px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.8rem;
  }

  .btn-primary {
    width: 100%;
    max-width: 260px;
  }

  .lang-switcher {
    top: 8px;
    right: 8px;
  }
}
