:root {
    --primary: #1E40AF;
    --accent: #D97706;
    --bg: #F9FAFB;
    --text: #1F2937;
    --card-bg: rgba(255,255,255,0.7);
    --glass-blur: 16px;
    --shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
  }
  
  body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
  }
  
  .background-svg {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(circle at 20% 30%, #1E40AF33 0%, transparent 60%),
                radial-gradient(circle at 80% 70%, #D9770633 0%, transparent 60%);
    animation: bgmove 10s infinite alternate;
  }
  @keyframes bgmove {
    0% { background-position: 20% 30%, 80% 70%; }
    100% { background-position: 25% 35%, 75% 65%; }
  }
  
  header {
    background: rgba(30, 64, 175, 0.85);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(8px);
  }
  nav ul {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 1rem;
    list-style: none;
  }
  nav a {
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5em;
    font-size: 1.1rem;
  }
  nav a:hover, nav a.active {
    color: var(--accent);
  }
  
  .hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: #fff;
    text-align: center;
    padding: 6rem 1rem 4rem 1rem;
    position: relative;
    z-index: 1;
    border-radius: 24px;
    margin: 2rem auto 0 auto;
    box-shadow: var(--shadow);
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .glass {
    background: var(--card-bg);
    backdrop-filter: blur(var(--glass-blur));
    box-shadow: var(--shadow);
    border-radius: 24px;
    margin: 2rem auto;
    max-width: 600px;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .profile-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--accent);
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  }
  .hero h1 {
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    letter-spacing: -1px;
    color: var(--primary);
  }
  .hero p {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: #f3f4f6;
  }
  .btn {
    background: var(--accent);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s, box-shadow 0.3s;
    box-shadow: 0 2px 8px rgba(217,119,6,0.15);
    display: inline-block;
    font-size: 1.1rem;
  }
  .btn:hover {
    background: #b45309;
    box-shadow: 0 4px 16px rgba(217,119,6,0.25);
  }
  main {
    max-width: 900px;
    margin: 2rem auto;
    padding: 0 1rem;
    position: relative;
    z-index: 1;
    display: block;
    text-align: center;
  }
  section {
    margin-bottom: 3rem;
  }
  section h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
    color: var(--primary);
    font-weight: 700;
  }
  section h2::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 4px;
    background: var(--accent);
    bottom: -8px;
    left: 0;
    border-radius: 2px;
  }
  .skill-list li, .cert-list li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5em;
  }
  .job-list, .project-list {
    list-style: none;
    padding: 0;
  }
  .job-item, .project-list li {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    margin-bottom: 1.5rem;
    backdrop-filter: blur(var(--glass-blur));
  }
  footer {
    background: rgba(30, 64, 175, 0.95);
    color: #fff;
    text-align: center;
    padding: 2rem 1rem;
    margin-top: 3rem;
    border-radius: 24px 24px 0 0;
    box-shadow: var(--shadow);
  }
  
  @media (max-width: 600px) {
    .hero h1 { font-size: 2rem; }
    nav ul { flex-direction: column; gap: 1rem; }
    .glass { padding: 2rem 1rem; }
    main { padding: 0 0.5rem; }
    .projects-wrapper {
      padding: 1.2rem 0.5rem;
      max-width: 98vw;
    }
    .project-card {
      padding: 1rem 0.5rem;
      font-size: 1rem;
    }
    .glass {
      padding: 1.2rem 0.5rem;
      max-width: 98vw;
    }
    .profile-img {
      width: 80px;
      height: 80px;
    }
    .btn {
      font-size: 1rem;
      padding: 0.6rem 1.2rem;
    }
    .projects-title {
      font-size: 1.3rem;
    }
  }

  .project-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }
  .under-development {
    border: 2px dashed var(--accent);
    color: var(--primary);
    background: rgba(217,119,6,0.06);
  }

  .projects-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--primary);
    font-weight: 700;
    text-align: center;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
  }
  .projects-title::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 4px;
    background: var(--accent);
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
  }

  .projects-wrapper {
    background: #f3f4f6;
    border-radius: 24px;
    box-shadow: 0 2px 8px rgba(30,64,175,0.06);
    padding: 2.5rem 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2.5rem;
  }

  .projects-wrapper .projects-title {
    display: block;
    margin-left: auto;
    margin-right: auto;
    left: initial;
    transform: initial;
  }