:root {
      --navy:   #0d1b2a;
      --navy2:  #152336;
      --steel:  #1e3a5f;
      --gold:   #c9a84c;
      --gold2:  #e8c97a;
      --light:  #f4f6f9;
      --muted:  #8a9bb0;
      --white:  #ffffff;
      --card-bg:#162030;
    }

    * { margin: 0; padding: 0; box-sizing: border-box; }

    html { scroll-behavior: smooth; }

    body {
      font-family: 'DM Sans', sans-serif;
      background: var(--navy);
      color: var(--light);
      overflow-x: hidden;
    }

    h1, h2, h3, h4 { font-family: 'Playfair Display', serif; }

    /* ── NAVBAR ── */
    nav {
      position: fixed; top: 0; width: 100%; z-index: 999;
      background: rgba(13,27,42,0.92);
      backdrop-filter: blur(10px);
      border-bottom: 1px solid rgba(201,168,76,0.2);
      padding: 0.9rem 2rem;
      display: flex; align-items: center; justify-content: space-between;
    }
    .nav-logo {
      font-family: 'Playfair Display', serif;
      font-size: 1.4rem; font-weight: 700;
      color: var(--gold);
      letter-spacing: 1px;
      text-decoration: none;
    }
    .nav-links { display: flex; gap: 2rem; list-style: none; }
    .nav-links a {
      color: var(--light); text-decoration: none;
      font-size: 0.88rem; font-weight: 500; letter-spacing: 0.5px;
      text-transform: uppercase; transition: color 0.2s;
      position: relative;
    }
    .nav-links a::after {
      content: ''; position: absolute; bottom: -4px; left: 0;
      width: 0; height: 2px; background: var(--gold);
      transition: width 0.25s;
    }
    .nav-links a:hover { color: var(--gold); }
    .nav-links a:hover::after { width: 100%; }
    .nav-toggle { display: none; background: none; border: none; color: var(--gold); font-size: 1.5rem; cursor: pointer; }

    /* ── HERO ── */
    #hero {
      min-height: 100vh;
      display: flex; align-items: center;
      padding: 8rem 2rem 4rem;
      position: relative;
      overflow: hidden;
    }
    .hero-bg {
      position: absolute; inset: 0; z-index: 0;
      background:
        radial-gradient(ellipse 60% 60% at 80% 40%, rgba(30,58,95,0.55) 0%, transparent 70%),
        radial-gradient(ellipse 40% 40% at 20% 70%, rgba(201,168,76,0.08) 0%, transparent 60%),
        linear-gradient(160deg, #0d1b2a 0%, #152336 100%);
    }
    .hero-grid {
      position: absolute; inset: 0; z-index: 0; opacity: 0.04;
      background-image: linear-gradient(var(--muted) 1px, transparent 1px),
                        linear-gradient(90deg, var(--muted) 1px, transparent 1px);
      background-size: 50px 50px;
    }
    .hero-content { position: relative; z-index: 1; max-width: 700px; }
    .hero-eyebrow {
      display: inline-block;
      background: rgba(201,168,76,0.12);
      border: 1px solid rgba(201,168,76,0.35);
      color: var(--gold2);
      font-size: 0.78rem; font-weight: 500; letter-spacing: 2px;
      text-transform: uppercase; padding: 0.35rem 1rem;
      border-radius: 20px; margin-bottom: 1.5rem;
      animation: fadeUp 0.6s ease both;
    }
    .hero-name {
      font-size: clamp(2.8rem, 6vw, 4.5rem);
      font-weight: 700; line-height: 1.1;
      color: var(--white);
      animation: fadeUp 0.7s 0.1s ease both;
    }
    .hero-name span { color: var(--gold); }
    .hero-title {
      font-family: 'DM Sans', sans-serif;
      font-size: 1.1rem; color: var(--muted);
      margin: 1.2rem 0 2rem;
      font-weight: 300; line-height: 1.6;
      animation: fadeUp 0.7s 0.2s ease both;
    }
    .hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; animation: fadeUp 0.7s 0.3s ease both; }
    .btn-gold {
      background: var(--gold); color: var(--navy);
      font-weight: 600; font-size: 0.9rem;
      padding: 0.75rem 2rem; border: none;
      border-radius: 4px; text-decoration: none;
      transition: background 0.2s, transform 0.2s;
      letter-spacing: 0.5px;
    }
    .btn-gold:hover { background: var(--gold2); transform: translateY(-2px); color: var(--navy); }
    .btn-outline-gold {
      background: transparent; color: var(--gold);
      font-weight: 600; font-size: 0.9rem;
      padding: 0.75rem 2rem;
      border: 1.5px solid var(--gold);
      border-radius: 4px; text-decoration: none;
      transition: all 0.2s; letter-spacing: 0.5px;
    }
    .btn-outline-gold:hover { background: rgba(201,168,76,0.1); transform: translateY(-2px); color: var(--gold2); }

    .hero-stats {
      display: flex; gap: 2.5rem; margin-top: 3.5rem;
      animation: fadeUp 0.7s 0.4s ease both;
    }
    .hero-stat-num {
      font-family: 'Playfair Display', serif;
      font-size: 2rem; color: var(--gold); font-weight: 700;
    }
    .hero-stat-label { font-size: 0.78rem; color: var(--muted); letter-spacing: 0.5px; text-transform: uppercase; }

    /* ── SECTION BASE ── */
    section { padding: 6rem 0; }
    .section-label {
      font-size: 0.75rem; font-weight: 500; letter-spacing: 3px;
      text-transform: uppercase; color: var(--gold);
      margin-bottom: 0.6rem;
    }
    .section-title {
      font-size: clamp(1.8rem, 3.5vw, 2.5rem);
      color: var(--white); margin-bottom: 1rem;
    }
    .section-divider {
      width: 50px; height: 3px;
      background: linear-gradient(90deg, var(--gold), transparent);
      margin-bottom: 3rem;
    }
    .section-dark { background: var(--navy2); }

    /* ── ABOUT ── */
    .about-text { color: #b0c0d4; line-height: 1.9; font-size: 1rem; }
    .about-text p { margin-bottom: 1.2rem; }
    .about-highlight {
      border-left: 3px solid var(--gold);
      padding-left: 1.2rem;
      color: var(--light);
      font-size: 1.05rem;
      margin: 2rem 0;
    }
    .about-info-item { display: flex; gap: 0.8rem; align-items: flex-start; margin-bottom: 1rem; }
    .about-info-icon { color: var(--gold); font-size: 0.9rem; margin-top: 3px; width: 16px; }
    .about-info-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); }
    .about-info-value { color: var(--light); font-size: 0.92rem; }

    /* ── SKILLS ── */
    .skill-category {
      background: var(--card-bg);
      border: 1px solid rgba(201,168,76,0.1);
      border-radius: 8px; padding: 1.8rem;
      height: 100%;
      transition: border-color 0.2s, transform 0.2s;
    }
    .skill-category:hover { border-color: rgba(201,168,76,0.35); transform: translateY(-3px); }
    .skill-category-icon { font-size: 1.6rem; color: var(--gold); margin-bottom: 1rem; }
    .skill-category-title { font-size: 1rem; font-weight: 600; color: var(--white); margin-bottom: 1rem; }
    .skill-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
    .skill-tag {
      background: rgba(201,168,76,0.08);
      border: 1px solid rgba(201,168,76,0.2);
      color: var(--light); font-size: 0.78rem;
      padding: 0.25rem 0.75rem; border-radius: 20px;
      transition: background 0.2s;
    }
    .skill-tag:hover { background: rgba(201,168,76,0.18); }

    /* ── PROJECTS ── */
    .project-card {
      background: var(--card-bg);
      border: 1px solid rgba(201,168,76,0.1);
      border-radius: 10px; overflow: hidden;
      height: 100%; display: flex; flex-direction: column;
      transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
    }
    .project-card:hover {
      border-color: rgba(201,168,76,0.4);
      transform: translateY(-5px);
      box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    }
    .project-header {
      padding: 1.5rem 1.5rem 0;
      display: flex; justify-content: space-between; align-items: flex-start;
    }
    .project-icon {
      width: 48px; height: 48px; border-radius: 10px;
      background: rgba(201,168,76,0.12);
      display: flex; align-items: center; justify-content: center;
      color: var(--gold); font-size: 1.3rem;
    }
    .project-badge {
      font-size: 0.7rem; text-transform: uppercase; letter-spacing: 1px;
      padding: 0.25rem 0.75rem; border-radius: 20px; font-weight: 500;
    }
    .badge-completed { background: rgba(40,167,69,0.15); color: #5cb85c; border: 1px solid rgba(40,167,69,0.3); }
    .badge-academic  { background: rgba(201,168,76,0.12); color: var(--gold2); border: 1px solid rgba(201,168,76,0.25); }
    .badge-personal  { background: rgba(13,110,253,0.12); color: #74a9ff; border: 1px solid rgba(13,110,253,0.25); }

    .project-body { padding: 1.2rem 1.5rem 1.5rem; flex: 1; display: flex; flex-direction: column; }
    .project-title { font-size: 1.1rem; color: var(--white); margin-bottom: 0.6rem; }
    .project-desc { color: var(--muted); font-size: 0.88rem; line-height: 1.7; flex: 1; }
    .project-tech { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1.2rem; }
    .tech-tag {
      background: rgba(30,58,95,0.6); color: #74a9ff;
      font-size: 0.72rem; padding: 0.2rem 0.6rem;
      border-radius: 4px; border: 1px solid rgba(116,169,255,0.2);
    }

    /* ── EXPERIENCE ── */
    .timeline { position: relative; padding-left: 2rem; }
    .timeline::before {
      content: ''; position: absolute; left: 0; top: 0; bottom: 0;
      width: 2px; background: linear-gradient(180deg, var(--gold), rgba(201,168,76,0.1));
    }
    .timeline-item { position: relative; margin-bottom: 3rem; }
    .timeline-dot {
      position: absolute; left: -2.45rem; top: 0.4rem;
      width: 14px; height: 14px; border-radius: 50%;
      background: var(--gold); border: 3px solid var(--navy);
      box-shadow: 0 0 0 3px rgba(201,168,76,0.2);
    }
    .timeline-date {
      font-size: 0.75rem; color: var(--gold); text-transform: uppercase;
      letter-spacing: 1px; font-weight: 500; margin-bottom: 0.4rem;
    }
    .timeline-title { font-size: 1.15rem; color: var(--white); }
    .timeline-company { font-size: 0.88rem; color: var(--muted); margin-bottom: 0.8rem; }
    .timeline-bullets { list-style: none; }
    .timeline-bullets li {
      color: #8a9bb0; font-size: 0.88rem; line-height: 1.7;
      margin-bottom: 0.4rem; padding-left: 1.2rem; position: relative;
    }
    .timeline-bullets li::before {
      content: '›'; position: absolute; left: 0;
      color: var(--gold); font-size: 1rem;
    }

    /* ── EDUCATION ── */
    .edu-card {
      background: var(--card-bg);
      border: 1px solid rgba(201,168,76,0.15);
      border-radius: 10px; padding: 2rem;
      display: flex; gap: 1.5rem; align-items: flex-start;
    }
    .edu-icon {
      width: 52px; height: 52px; border-radius: 10px;
      background: rgba(201,168,76,0.1);
      display: flex; align-items: center; justify-content: center;
      color: var(--gold); font-size: 1.4rem; flex-shrink: 0;
    }
    .edu-degree { font-size: 1.1rem; color: var(--white); margin-bottom: 0.3rem; }
    .edu-school { font-size: 0.9rem; color: var(--gold2); margin-bottom: 0.3rem; }
    .edu-meta { font-size: 0.82rem; color: var(--muted); }
    .edu-gpa {
      display: inline-block; margin-top: 0.8rem;
      background: rgba(201,168,76,0.1); border: 1px solid rgba(201,168,76,0.25);
      color: var(--gold2); font-size: 0.8rem; font-weight: 600;
      padding: 0.25rem 0.9rem; border-radius: 20px;
    }
    .coursework-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
    .coursework-tag {
      background: rgba(30,58,95,0.5); color: #8ab4d8;
      font-size: 0.76rem; padding: 0.25rem 0.7rem;
      border-radius: 4px; border: 1px solid rgba(138,180,216,0.15);
    }

    /* ── CONTACT ── */
    .contact-card {
      background: var(--card-bg);
      border: 1px solid rgba(201,168,76,0.15);
      border-radius: 10px; padding: 2rem;
      text-align: center;
      transition: border-color 0.2s, transform 0.2s;
      text-decoration: none; display: block;
    }
    .contact-card:hover { border-color: rgba(201,168,76,0.4); transform: translateY(-4px); }
    .contact-card-icon { font-size: 1.8rem; color: var(--gold); margin-bottom: 1rem; }
    .contact-card-label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); margin-bottom: 0.4rem; }
    .contact-card-value { font-size: 0.95rem; color: var(--light); word-break: break-all; }

    /* ── FOOTER ── */
    footer {
      background: #0a1520;
      border-top: 1px solid rgba(201,168,76,0.1);
      padding: 2rem; text-align: center;
      color: var(--muted); font-size: 0.82rem;
    }
    footer span { color: var(--gold); }

    /* ── ANIMATIONS ── */
    @keyframes fadeUp {
      from { opacity: 0; transform: translateY(20px); }
      to   { opacity: 1; transform: translateY(0); }
    }
    .reveal {
      opacity: 0; transform: translateY(24px);
      transition: opacity 0.6s ease, transform 0.6s ease;
    }
    .reveal.visible { opacity: 1; transform: none; }

    /* ── RESPONSIVE ── */
    @media (max-width: 768px) {
      nav { padding: 0.8rem 1.2rem; }
      .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--navy2); padding: 1.5rem; gap: 1.2rem; }
      .nav-links.open { display: flex; }
      .nav-toggle { display: block; }
      .hero-stats { gap: 1.5rem; flex-wrap: wrap; }
    }