:root {
    --primary: #0070f3;
    --primary-dark: #0050d3;
    --bg-light: #f8f9ff;
    --bg-dark: #13151a;
    --text-light: #f5f5f7;
    --text-dark: #1f2028;
    --text-muted: #8b8c91;
    --accent: #7928ca;
    --accent-gradient: linear-gradient(to right, var(--primary), var(--accent));
    --border-radius: 12px;
    --box-shadow: 0 20px 80px -20px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  }

  @keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0px); }
  }

  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }

  @keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(119, 0, 255, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(119, 0, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(119, 0, 255, 0); }
  }

  @keyframes gradient-text {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
  }

  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }

  html {
    scroll-behavior: smooth;
  }

  body {
    font-family: 'Space Grotesk', sans-serif;
    background: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
  }

  /* Glass overlay */
  body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
      radial-gradient(circle at 10% 20%, rgba(0, 112, 243, 0.05) 0%, transparent 30%),
      radial-gradient(circle at 90% 70%, rgba(121, 40, 202, 0.05) 0%, transparent 30%);
    pointer-events: none;
  }

  /* Ambient background lights */
  .bg-light {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.08;
  }

  .light-1 {
    top: -50px;
    left: -50px;
    width: 400px;
    height: 400px;
    background: var(--primary);
  }

  .light-2 {
    bottom: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: var(--accent);
  }

  .navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    background: rgba(19, 21, 26, 0.8);
    z-index: 100;
    transition: var(--transition);
  }

  .navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
  }

  .logo {
    font-weight: 700;
    font-size: 1.5rem;
    background: linear-gradient(to right, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: gradient-text 5s ease infinite;
  }

  .nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
  }

  .nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
  }

  .nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: var(--accent-gradient);
    transition: var(--transition);
  }

  .nav-links a:hover::after {
    width: 100%;
  }

  .hamburger {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
  }

  .hero {
    padding: 10rem 1.5rem 6rem;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
  }

  .container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 3rem;
  }

  .text {
    text-align: center;
    animation: fadeIn 1s ease-out forwards;
  }

  .text h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #ffffff, #a8b0ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  .text h2 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    font-weight: 500;
  }

  .text p {
    font-size: 1.1rem;
    margin-bottom: 1.8rem;
    max-width: 590px;
    margin-left: auto;
    margin-right: auto;
  }

  .highlights {
    color: var(--primary);
    font-weight: 600;
  }

  .badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0;
  }

  .badge {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-light);
    padding: 0.7rem 1.4rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition);
    backdrop-filter: blur(5px);
  }

  .badge:hover {
    transform: translateY(-5px);
    border-color: rgba(119, 0, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
  }

  .badge i {
    color: var(--primary);
  }

  .cta {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    background: var(--accent-gradient);
    color: white;
    padding: 0.9rem 1.8rem;
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    margin-top: 1rem;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(119, 0, 255, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
  }

  .cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, var(--accent), var(--primary));
    z-index: -1;
    transition: opacity 0.5s ease;
    opacity: 0;
  }

  .cta:hover::before {
    opacity: 1;
  }

  .cta:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(119, 0, 255, 0.5);
  }

  .photo {
    position: relative;
    margin-bottom: 1.5rem;
  }

  .photo-inner {
    position: relative;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
  }

  .photo img {
    width: 100%;
    max-width: 380px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 3px solid rgba(255, 255, 255, 0.08);
    filter: brightness(1.05) contrast(1.05);
  }

  .photo::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 15px;
    left: 15px;
    background: var(--accent-gradient);
    border-radius: var(--border-radius);
    z-index: 1;
    opacity: 0.8;
    filter: blur(20px);
  }

  .photo::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    top: -10px;
    right: 30px;
    background: var(--primary);
    border-radius: 50%;
    z-index: 0;
    animation: pulse 3s infinite;
  }

  .social-links {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    margin-top: 2rem;
  }

  .social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: var(--text-light);
    text-decoration: none;
    font-size: 1.2rem;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.08);
  }

  .social-link:hover {
    transform: translateY(-5px);
    background: var(--primary);
    color: white;
  }

  .scroll-down {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    gap: 0.8rem;
  }

  .scroll-down i {
    font-size: 1.3rem;
    animation: float 2s ease-in-out infinite;
  }

  @media (min-width: 768px) {
    .container {
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
      gap: 2rem;
    }

    .text {
      text-align: left;
      flex: 1;
    }

    .text h1 {
      font-size: 4rem;
    }

    .badges {
      justify-content: flex-start;
    }

    .photo {
      flex: 1;
      display: flex;
      justify-content: flex-end;
    }

    .social-links {
      justify-content: flex-start;
    }
  }

  @media (max-width: 768px) {
    .nav-links {
      position: fixed;
      top: 0;
      right: -100%;
      background: rgba(19, 21, 26, 0.95);
      backdrop-filter: blur(10px);
      height: 100vh;
      width: 80%;
      max-width: 320px;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      transition: right 0.3s ease;
    }

    .nav-links.active {
      right: 0;
    }

    .hamburger {
      display: block;
      z-index: 101;
    }

    .nav-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.5);
      backdrop-filter: blur(3px);
      z-index: 99;
      display: none;
    }

    .nav-overlay.active {
      display: block;
    }

    .text h1 {
      font-size: 2.8rem;
    }

    .text h2 {
      font-size: 1.2rem;
    }

    .photo img {
      max-width: 300px;
    }
  }

  @media (max-width: 480px) {
    .text h1 {
      font-size: 2.5rem;
    }

    .hero {
      padding-top: 8rem;
    }

    .badge {
      padding: 0.6rem 1.2rem;
      font-size: 0.85rem;
    }
  }

  .tech-stack {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: 3rem 0;
  }

  .tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }

  .tech-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.08);
  }

  .tech-icon i {
    font-size: 1.8rem;
    background: linear-gradient(to right, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  .tech-name {
    font-size: 0.85rem;
    color: var(--text-muted);
  }

  .tech-item:hover .tech-icon {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(119, 0, 255, 0.3);
  }

  .section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
  }

  .section-title h2 {
    font-size: 2.5rem;
    background: linear-gradient(to right, #ffffff, #a8b0ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    position: relative;
  }

  .section-title h2::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-gradient);
  }

  .projects-section {
    padding: 6rem 1.5rem;
    position: relative;
  }

  @media (min-width: 768px) {
    .tech-stack {
      justify-content: flex-start;
    }
  }
.text h1 {
font-size: 3.5rem;
line-height: 1.4;
margin-bottom: 1rem;
background: linear-gradient(to right, #ffffff, #a8b0ff);
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
}

.h1-subtitle {
font-size: 1.4rem;
display: block;
margin: 0.5rem 0;
background: none;
-webkit-text-fill-color: var(--text-light);
font-weight: 500;
}

.h1-description {
font-size: 1.1rem;
display: block;
margin: 1rem 0;
background: none;
-webkit-text-fill-color: var(--text-light);
font-weight: 400;
line-height: 1.6;
}

@media (min-width: 768px) {
.text h1 {
  font-size: 4rem;
}

.h1-subtitle {
  font-size: 1.5rem;
}

.h1-description {
  font-size: 1.2rem;
}
}

@media (max-width: 768px) {
.text h1 {
  font-size: 2.8rem;
}

.h1-subtitle {
  font-size: 1.2rem;
}

.h1-description {
  font-size: 1rem;
}
}

@media (max-width: 480px) {
.text h1 {
  font-size: 2.5rem;
}

.h1-subtitle {
  font-size: 1.1rem;
}

.h1-description {
  font-size: 0.95rem;
}
}
/* Reset base */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

/* Navbar container */
.navbar {
position: fixed;
top: 0;
width: 100%;
height: 70px;
background-color: #111;
color: #fff;
display: flex;
justify-content: space-between;
align-items: center;
padding: 0 40px;
z-index: 1000;
box-shadow: 0 2px 8px rgba(0,0,0,0.6);
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Logo */
.logo {
font-size: 1.6rem;
font-weight: bold;
background: linear-gradient(90deg, #00c3ff, #7c5fff);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}

/* Nav links */
.nav-links {
list-style: none;
display: flex;
gap: 30px;
}

.nav-links li a {
text-decoration: none;
color: #fff;
font-size: 1rem;
position: relative;
transition: color 0.3s ease;
}

.nav-links li a::after {
content: '';
position: absolute;
width: 0%;
height: 2px;
background: #00c3ff;
left: 0;
bottom: -5px;
transition: 0.3s;
}

.nav-links li a:hover::after {
width: 100%;
}

.nav-links li a:hover {
color: #00c3ff;
}

/* Burger menu per mobile */
.burger {
display: none;
flex-direction: column;
cursor: pointer;
gap: 6px;
}

.burger div {
width: 25px;
height: 3px;
background-color: #fff;
transition: all 0.3s ease;
}

/* Mobile responsive */
@media (max-width: 768px) {
.nav-links {
  position: absolute;
  top: 70px;
  right: 0;
  height: calc(100vh - 70px);
  width: 200px;
  background-color: #111;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
}

.nav-links.active {
  transform: translateX(0%);
}

.burger {
  display: flex;
}
}