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

:root {
    --bg: #060606;
    --bg2: #0c0c0c;
    --card: rgba(18,18,18,0.9);
    --gold: #d8b27d;
    --goldSoft: rgba(216,178,125,0.12);
    --text: #f5e6c9;
    --white: #ffffff;
    --muted: #9c9c9c;
    --border: rgba(255,255,255,0.08);
    --text-light: rgba(255, 255, 255, 0.85);
    --bg-dark: #0f0d0b;
}

body.light-mode {
    --bg: #f6f4ef;
    --bg2: #ffffff;
    --card: rgba(255,255,255,0.95);
    --gold: #b67c3e;
    --goldSoft: rgba(182,124,62,0.14);
    --text: #1d1d1d;
    --white: #111111;
    --muted: #6d6d6d;
    --border: rgba(0,0,0,0.16);
    --text-light: rgba(34, 34, 34, 0.9);
    --bg-dark: #f0f0f0;
}

body.light-mode h1 {
    color: #111111;
}

body {
    background: radial-gradient(circle at top, rgba(216,178,125,0.08), transparent 30%), var(--bg);
    color: var(--white);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: -1;
}

body.light-mode::before {
    background-image:
    linear-gradient(rgba(0,0,0,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.02) 1px, transparent 1px);
} 

a {
    text-decoration: none;
    color: inherit;
}

.nav-links a.btn:hover{
    color: #000;
}
.nav-links a.btn::after{
    background: transparent;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: 50px;
    border: 1px solid rgba(216,178,125,0.45);
    color: var(--gold);
    background: rgba(216,178,125,0.05);
    transition: 0.35s ease;
    gap: 12px;
    font-size: 0.92rem;
}

.theme-toggle {
    border: 1px solid rgba(255,255,255,0.18);
    background: rgba(255,255,255,0.06);
    color: var(--white);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.25s ease;
    margin-left: 14px;
}

.theme-toggle:hover {
    transform: translateY(-1px);
    background: rgba(255,255,255,0.14);
}

body.light-mode .theme-toggle {
    border-color: rgba(0,0,0,0.22);
    background: rgba(0,0,0,0.06);
    color: var(--text);
}

.btn:hover {
    transform: translateY(-4px);
    background: var(--gold);
    color: #000;
    box-shadow: 0 10px 30px rgba(216,178,125,0.25);
}

.header{
    position: relative;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1100px;
    padding: 12px 32px;
    background: rgba(20, 18, 16, 0.4); /* Ultra-translucent dark */
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 100px; /* Capsule shape */
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

body.light-mode .header {
    background: rgba(255,255,255,0.85);
    border-color: rgba(0,0,0,0.14);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}
.header nav a {
    position: relative;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.05em;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.header nav a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08); /* Soft capsule glow behind link */
}
.section-mb{
    margin-bottom: 50px;
}
.container{ width: min(1250px, 92%); margin: 0 auto; z-index: 1; }

.nav{ display:flex; justify-content:space-between; align-items:center; }

.logo{ font-family: 'Cormorant Garamond', serif; font-size:1.9rem; color:var(--gold); letter-spacing:3px; }

.nav-links{ display:flex; gap:28px; align-items:center; }

.nav-links a{ font-size:0.95rem; color:var(--text-light); text-decoration:none; position:relative; }

.nav-links a::after{ content:''; position:absolute; left:0; bottom:-8px; height:1px; width:0; background:var(--gold); transition:width .3s ease; }

.nav-links a:hover{ color:var(--gold); }

body.light-mode .nav-links a { color: var(--text-light); }

.nav-links a:hover::after{ width:100%; }

.nav-links a.btn:hover{ background:var(--gold); color:var(--bg-dark); }

.mobile-toggle{ display:none; font-size:1.4rem; color:var(--text-light); cursor:pointer; background:none; border:none; padding:8px; }

body.no-scroll { overflow: hidden; }

/* Mobile menu styles */
@media (max-width: 992px) {
  .header{
    transform: none;
    left: 5%;
  }
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 100%;
    background: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 40px 40px 40px;
    gap: 24px;
    visibility: hidden;
    opacity: 0;
    transform: translateX(100%);
    transition: opacity 0.35s ease, transform 0.35s ease, visibility 0s linear 0.35s;
    z-index: 999;
  }

  .nav-links.active {
    visibility: visible;
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.35s ease, transform 0.35s ease, visibility 0s;
  }

  .nav-links a {
    font-size: 1.3rem;
    color: var(--text-light);
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.3s ease, transform 0.3s ease, color 0.2s ease;
  }

  .nav-links.active a {
    opacity: 1;
    transform: translateX(0);
  }

  .nav-links.active a:nth-child(1) { transition-delay: 0.05s; }
  .nav-links.active a:nth-child(2) { transition-delay: 0.1s; }
  .nav-links.active a:nth-child(3) { transition-delay: 0.15s; }
  .nav-links.active a:nth-child(4) { transition-delay: 0.2s; }
  .nav-links.active a:nth-child(5) { transition-delay: 0.25s; }
  .nav-links.active a:nth-child(6) { transition-delay: 0.3s; }
  .nav-links.active a:nth-child(7) { transition-delay: 0.35s; }

body.light-mode .nav-links {
  background: rgba(255,255,255,0.95);
}

body.light-mode .nav-links a {
  color: var(--text);
}

body.light-mode .nav-links a.btn {
  background: rgba(216,178,125,0.12);
  color: var(--gold);
}

  .nav-links a:hover { color: var(--gold); }

  .nav-links a.btn {
    font-size: 1rem;
    background: var(--gold);
    color: #111;
    border-color: rgba(216,178,125,0.8);
  }

  .mobile-toggle {
    display: block;
    z-index: 1000;
  }
        
    }
    footer {
        padding: 40px 0 20px;
        border-top: 1px solid var(--border);
        margin-top: 40px;
        background: #111;
    }

    body.light-mode footer {
      background: #f5f3ef;
      border-top-color: rgba(0,0,0,0.14);
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 40px;
    }

    .footer-brand h2 {
      font-family: 'Cormorant Garamond', serif;
      color: var(--gold);
      font-size: 2.4rem;
      margin-bottom: 18px;
    }

    .footer-brand p,
    footer li {
      color: #9b9b9b;
      line-height: 1.9;
      list-style: none;
    }

body.light-mode .footer-brand p,
body.light-mode footer li {
  color: #555;
}

body.light-mode footer h4 {
  color: #222;
}

body.light-mode .footer-bottom {
  color: #666;
}

    footer h4 {
      color: white;
      margin-bottom: 18px;
    }

    .footer-bottom {
      border-top: 1px solid rgba(255,255,255,0.05);
      margin-top: 40px;
      padding-top: 20px;
      display: flex;
      justify-content: center;
      gap: 20px;
      color: #818181;
      flex-wrap: wrap;
    }

    @media (max-width: 820px) {
      .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
      }

      .footer-grid > div {
        width: 100%;
      }

      .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
      }
    }
    
    /* ===== Timeline (About page) ===== */
    .timeline {
      position: relative;
      margin-top: 2rem;
      padding-left: 48px;
    }
    .timeline::before {
      content: '';
      position: absolute;
      left: 28px;
      top: 0;
      bottom: 0;
      width: 2px;
      background: var(--border);
    }
    .timeline-item {
      position: relative;
      padding: 18px 20px 24px 40px;
      margin-bottom: 18px;
    }
    .timeline-dot {
      position: absolute;
      left: 20px;
      top: 22px;
      width: 14px;
      height: 14px;
      border-radius: 50%;
      background: var(--gold);
      box-shadow: 0 0 0 6px var(--goldSoft);
    }
    .timeline-content h3 { margin: 0 0 6px; }
    .timeline-content p { margin: 0 0 8px; color: var(--muted); }
    @media (max-width: 720px) {
      .timeline { padding-left: 28px; }
      .timeline::before { left: 18px; }
      .timeline-dot { left: 10px; }
      .timeline-item { padding-left: 34px; }
    }

    /* Prevent background scroll when mobile menu is open */
