@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;500;600;700&family=Outfit:wght@300;400;500;600&display=swap');

/* ─── Design Tokens ─────────────────────────────────────────── */
:root {
  --accent:        #00ffc3;
  --accent-dim:    rgba(0, 255, 195, 0.10);
  --accent-glow:   rgba(0, 255, 195, 0.35);
  --accent-hover:  #00d9a8;
  --bg-deep:       #070d12;
  --bg-dark:       #0b1520;
  --bg-card:       rgba(255, 255, 255, 0.035);
  --border:        rgba(0, 255, 195, 0.14);
  --border-soft:   rgba(255, 255, 255, 0.06);
  --text-primary:  #eef2f5;
  --text-secondary:#7a96a8;
  --nav-width:     260px;
  --radius-lg:     18px;
  --radius-md:     12px;
  --transition:    0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ─── Body & Background ──────────────────────────────────────── */
body {
  display: flex;
  min-height: 100vh;
  background-color: var(--bg-deep);
  color: var(--text-primary);
  font-family: 'Outfit', sans-serif;
  font-weight: 400;
  line-height: 1.65;
  position: relative;
  overflow-x: hidden;
}

/* Animated background orbs */
body::before,
body::after {
  content: '';
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}

body::before {
  width: 600px;
  height: 600px;
  top: -200px;
  left: calc(var(--nav-width) - 150px);
  background: radial-gradient(circle, rgba(0,255,195,0.06) 0%, transparent 70%);
  animation: orb1 18s ease-in-out infinite alternate;
}

body::after {
  width: 500px;
  height: 500px;
  bottom: -100px;
  right: 0;
  background: radial-gradient(circle, rgba(0,120,255,0.05) 0%, transparent 70%);
  animation: orb2 22s ease-in-out infinite alternate;
}

@keyframes orb1 {
  from { transform: translate(0, 0); }
  to   { transform: translate(60px, 80px); }
}

@keyframes orb2 {
  from { transform: translate(0, 0); }
  to   { transform: translate(-60px, -50px); }
}

/* Subtle grid texture */
body {
  background-image:
    linear-gradient(rgba(0,255,195,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,255,195,0.025) 1px, transparent 1px);
  background-size: 40px 40px;
  background-color: var(--bg-deep);
}

/* ─── Typography ─────────────────────────────────────────────── */
h1 {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.02em;
  line-height: 1.15;
}

h2 {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.03em;
  margin-bottom: 0.75rem;
}

h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 1.25rem 0 0.5rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

p {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 760px;
  line-height: 1.75;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: #fff;
  text-decoration: none;
}

ul {
  padding-left: 1.2rem;
}

li {
  margin-bottom: 0.9rem;
  color: var(--text-secondary);
  font-size: 0.97rem;
}

li strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* ─── Layout ─────────────────────────────────────────────────── */
.content {
  flex-grow: 1;
  margin-left: var(--nav-width);
  padding: 3rem 2.5rem;
  position: relative;
  z-index: 1;
}

header {
  text-align: center;
  margin-bottom: 3rem;
  padding: 2.5rem 1.5rem;
  border-bottom: 1px solid var(--border-soft);
}

header p {
  margin: 0.75rem auto 0;
  font-size: 1.05rem;
  color: var(--text-secondary);
}

/* ─── Cards / Sections ───────────────────────────────────────── */
section {
  max-width: 960px;
  margin: 1.75rem auto;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 2rem 2.25rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: relative;
  transition: border-color var(--transition), box-shadow var(--transition);
}

section:hover {
  border-color: var(--border);
  box-shadow: 0 0 30px rgba(0, 255, 195, 0.04), 0 8px 32px rgba(0,0,0,0.3);
}

/* Accent top-border on sections */
section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 2rem;
  right: 2rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-glow), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

section:hover::before {
  opacity: 1;
}

/* ─── Navigation ─────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: var(--nav-width);
  background: rgba(7, 13, 18, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-right: 1px solid var(--border-soft);
  padding: 2rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  overflow-y: auto;
  z-index: 500;
}

nav h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

nav a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.93rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: all var(--transition);
}

nav a:not(.logo-link):hover {
  color: var(--text-primary);
  background: var(--accent-dim);
  border-color: var(--border);
}

nav a:not(.logo-link).active {
  color: var(--accent);
  background: var(--accent-dim);
  border-color: var(--border);
  font-weight: 600;
}

.logo-link {
  display: flex;
  justify-content: center;
  outline: none;
  border: none !important;
  background: none !important;
  box-shadow: none !important;
}

.logo-link:hover {
  background: none !important;
  border: none !important;
}

.logo {
  width: 86px;
  height: 86px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--border);
  box-shadow: 0 0 24px var(--accent-glow);
  margin-bottom: 0.5rem;
  transition: box-shadow var(--transition);
}

.logo:hover {
  box-shadow: 0 0 40px var(--accent-glow);
}

/* Nav separator */
nav::after {
  display: none;
}

/* ─── Reveal Animations ──────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Hamburger menu ─────────────────────────────────────────── */
.menu-toggle {
  display: none;
  font-size: 1.6rem;
  color: var(--accent);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  line-height: 1;
}

/* ─── Responsive ─────────────────────────────────────────────── */
@media (min-width: 769px) {
  .menu-toggle { display: none; }
}

@media (max-width: 768px) {
  :root { --nav-width: 0px; }

  body {
    flex-direction: column;
    background-size: 28px 28px;
  }

  nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    min-height: 60px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.25rem;
    gap: 0;
    border-right: none;
    border-bottom: 1px solid var(--border-soft);
    overflow: hidden;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-wrap: wrap;
  }

  nav h2 {
    margin: 0;
  }

  .logo {
    width: 38px;
    height: 38px;
    margin: 0;
    box-shadow: none;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  nav a {
    display: none;
  }

  nav.active {
    background: rgba(7, 13, 18, 0.98);
  }

  nav.active a {
    display: flex;
    width: 100%;
    border-top: 1px solid var(--border-soft);
    border-radius: 0;
    padding: 0.85rem 1rem;
    font-size: 1rem;
  }

  .content {
    margin-left: 0;
    padding: 5rem 1.25rem 2rem;
  }

  section {
    padding: 1.5rem;
    border-radius: var(--radius-md);
  }

  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.3rem; }

  .imagesmall,
  .imagebig {
    width: 100%;
    max-width: 100%;
    height: auto;
  }
}
