:root {
  --primary-color: #2563eb;
  --secondary-color: #1e40af;
  --accent-color: #60a5fa;
  --dark-bg: #0f172a;
  --light-bg: #f8fdfc;
  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --text-light: #ffffff; /* This will make all text-light elements white */
  --border-color: #e2e8f0;
  --success-color: #10b981;
  --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --card-hover-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--light-bg);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
  .navbar {
      position: fixed;
      top: 0;
      width: 100%;
      background: linear-gradient(120deg, rgba(0, 0, 0, 0.50), rgba(0, 20, 0, 0.60), rgba(0, 40, 0, 0.85), rgba(0, 15, 5, 0.55));
      background-size: 400% 400%;
      animation: gradient-shift 15s ease infinite;
      backdrop-filter: blur(20px);
      border-bottom: 1px solid rgba(0, 255, 0, 0.3);
      z-index: 1000;
      transition: all 0.6s ease;
}

.navbar.scrolled {
    box-shadow: var(--card-shadow);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

 .nav-logo {
      font-size: 2rem;
      font-weight: 700;
      color: #ffffff;
      text-decoration: none;
      transition: all 0.6s ease;
      position: relative;
      cursor: pointer;
      display: inline-block;
      text-shadow:
          0 0 5px #ffffff,
          0 0 10px #ffffff,
          0 0 15px #ffffff,
          0 0 20px #ffffff;
      animation: matrix-glow 2s ease-in-out infinite alternate;
  }

  @keyframes matrix-glow {
      from {
          text-shadow:
              0 0 5px #00ff00,
              0 0 10px #00ff00,
              0 0 15px #00ff00,
              0 0 20px #00ff00;
          color: #ffffff;
      }
      to {
          text-shadow:
              0 0 10px #ffffff,
              0 0 20px #ffffff,
              0 0 30px #ffffff,
              0 0 40px #ffffff,
              0 0 50px #ffffff;
          color: #ffffff;
      }
  }

  .nav-logo:hover {
      color: #ffffff;
      text-shadow:
          0 0 10px #ffffff,
          0 0 20px #00ff00,
          0 0 30px #00ff00,
          0 0 40px #00ff00;
  }

.nav-logo::after {
      content: '';
      position: absolute;
      bottom: -5px;
      left: 0;
      width: 0;
      height: 2px;
      background: linear-gradient(90deg, #ffffff, #00ff00);
      transition: width 0.2s ease;
      box-shadow: 0 0 5px #00ff00;
}

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

.nav-logo:hover {
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
      color: #ffffff;
      text-decoration: none;
      font-weight: 500;
      transition: all 0.6s ease;
      position: relative;
      text-shadow:
          0 0 5px #ffffff,
          0 0 10px #ffffff,
          0 0 15px #ffffff,
          0 0 20px #ffffff;
      animation: matrix-glow 2s ease-in-out infinite alternate;
  }

/* Gradient Animation */
@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.nav-link::after {
      content: '';
      position: absolute;
      bottom: -5px;
      left: 0;
      width: 0;
      height: 2px;
      background: linear-gradient(90deg, #ffffff, #00ff00);
      transition: width 0.2s ease;
      box-shadow: 0 0 5px #00ff00;
  }

.nav-link:hover::after,
  .nav-link.active::after {
      width: 105%;
  }

.nav-link:hover {
      color: #ffffff;
      text-shadow:
          0 0 10px #ffffff,
          0 0 20px #00ff00,
          0 0 30px #00ff00,
          0 0 40px #00ff00;
  }

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, var(--dark-bg) 0%, #1e3a8a 100%);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
}
#matrix-canvas {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: 1;
      pointer-events: none; /* Allows clicks to pass through */
  }

.matrix-char {
    position: absolute;
    color: #00ff00;
    font-family: 'Courier New', monospace;
    font-size: 18px;
    line-height: 1;
    opacity: 0;
    animation: matrix-fall linear infinite;
    text-shadow: 0 0 8px #00ff00,
                 0 0 15px #00ff00,
                 0 0 25px #00ff00;
    user-select: none;
    pointer-events: none;
    filter: brightness(1.2);
}

.matrix-head {
    color: #40ff40;
    text-shadow: 0 0 10px #40ff40,
                 0 0 20px #40ff40,
                 0 0 30px #00ff00,
                 0 0 40px #00ff00;
    filter: brightness(1.5);
    font-weight: bold;
    z-index: 10;
}

.matrix-trail {
    filter: brightness(0.8);
    text-shadow: 0 0 5px #00ff00,
                 0 0 10px #00ff00;
}

@keyframes matrix-fall {
    0% {
        opacity: 0;
        transform: translateY(-100vh) scaleY(0.5);
    }
    5% {
        opacity: 1;
        transform: translateY(-80vh) scaleY(1);
    }
    85% {
        opacity: 1;
        transform: translateY(70vh) scaleY(1);
    }
    100% {
        opacity: 0;
        transform: translateY(100vh) scaleY(1.5);
    }
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: float 20s infinite linear;
}

@keyframes float {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(100px);
        opacity: 0;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 2rem;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 4rem);
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease;
}

.greeting {
    display: block;
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.name {
    display: block;
    font-weight: 700;
    background: linear-gradient(135deg, #fff, var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    cursor: pointer;
    transition: all 0.3s ease;
}

.name:hover {
    transform: scale(1.02);
    filter: brightness(1.2);
}

.hero-subtitle {
      font-size: 1.25rem;
      color: var(--text-light);
      margin-bottom: 1rem;
      animation: fadeInUp 0.8s ease 0.2s both;
      background: rgba(255, 255, 255, 0.1);
      backdrop-filter: blur(10px);
      border: 1px solid rgba(255, 255, 255, 0.2);
      border-radius: 0.75rem;
      padding: 0.5rem 1rem;
      box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
      width: fit-content;
      margin-left: auto;
      margin-right: auto;
  }

 .hero-tagline {
      font-size: 1rem;
      font-style: italic;
      color: var(--text-light);
      margin-bottom: 2rem;
      max-width: 600px;
      margin-left: auto;
      margin-right: auto;
      animation: fadeInUp 0.8s ease 0.3s both;
      background: rgba(255, 255, 255, 0.08);
      backdrop-filter: blur(10px);
      border: 1px solid rgba(255, 255, 255, 0.15);
      border-radius: 0.75rem;
      padding: 0.4rem 0.8rem;
      box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
      width: fit-content;
  }

.btn {
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-color);
}

.hero-stats {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    gap: 3rem;
    animation: fadeInUp 0.8s ease 0.5s both;
}

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
}

.stat-label {
    display: block;
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: 0.25rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    display: block;
    width: 30px;
    height: 50px;
    border: 2px solid white;
    border-radius: 25px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 10px;
    background: white;
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* About Section */
.about {
    padding: 5rem 0;
    background: white;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    color: var(--text-primary);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--primary-color);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.lead {
    font-size: 1.125rem;
    color: var(--text-primary);
    font-weight: 500;
}

.about-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: 0.1rem;
    overflow: hidden;
    background: linear-gradient(135deg, #c0c0c0, #e0e0e0);
    padding: 0.1rem;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 0.1rem;
    position: relative;
    z-index: 2;
}

.image-decoration {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: var(--accent-color);
    opacity: 0.2;
    border-radius: 50%;
}

.quick-links {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.quick-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--light-bg);
    border-radius: 0.5rem;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.quick-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Experience Section */
.experience {
    padding: 5rem 0;
    background: var(--light-bg);
}

.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--border-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: white;
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    z-index: 2;
}

.timeline-date {
    flex: 1;
    text-align: right;
    padding-right: 3rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.timeline-content {
    flex: 1;
    background: white;
    padding: 1.5rem 1.5rem 1.5rem 3rem;
    border-radius: 0.5rem;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    box-shadow: var(--card-hover-shadow);
    transform: translateY(-5px);
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.timeline-content h4 {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.timeline-content ul {
    list-style: none;
    padding-left: 0;
}

.timeline-content ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.timeline-content ul li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.tag {
    padding: 0.25rem 0.75rem;
    background: var(--light-bg);
    color: var(--text-secondary);
    border-radius: 1rem;
    font-size: 0.875rem;
}

/* Skills Section */
.skills {
    padding: 5rem 0;
    background: white;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.skill-category {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.skill-category:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-hover-shadow);
}

.skill-category h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.skill-category ul {
    list-style: none;
}

.skill-category ul li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.skill-category ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
}

/* Projects Section */
.projects {
    padding: 5rem 0;
    background: var(--light-bg);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.project-card {
    background: white;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.project-card:hover::before {
    transform: translateX(0);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-hover-shadow);
}

.project-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.project-card h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.project-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.project-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: gap 0.3s ease;
}

.project-link:hover {
    gap: 0.5rem;
}

/* Curriculum Section */
.curriculum {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
}

.curriculum .section-title {
    color: white;
}

.curriculum .section-title::after {
    background: white;
}

.cv-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.cv-info {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.cv-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--accent-color);
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.cv-details h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
}

.cv-details p {
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.cv-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.highlight {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cv-download {
    text-align: center;
}

.btn-cv {
    background: white;
    color: var(--primary-color);
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 0.75rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
}

.btn-cv:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    color: var(--secondary-color);
}

.btn-cv i {
    font-size: 1.25rem;
}

.cv-note {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.cv-note i {
    color: var(--accent-color);
}

/* Credentials Section */
.credentials {
    padding: 5rem 0;
    background: white;
}

.credentials-content {
    margin-top: 3rem;
}

.credentials-lead {
    font-size: 1.125rem;
    color: var(--text-secondary);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

.credentials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.credential-category {
    background: var(--light-bg);
    padding: 1.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.credential-category:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-hover-shadow);
}

.credential-category h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.credential-category ul {
    list-style: none;
    padding: 0;
}

.credential-category ul li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.credential-category ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

.credentials-note {
    text-align: center;
    padding: 1.5rem;
    background: var(--light-bg);
    border-radius: 0.5rem;
    border-left: 4px solid var(--primary-color);
}

.credentials-note p {
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.credentials-note i {
    color: var(--primary-color);
    font-size: 1.25rem;
}

.credentials-note a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.credentials-note a:hover {
    text-decoration: underline;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.contact-info p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-item i {
    width: 20px;
    color: var(--primary-color);
}

.contact-item a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.contact-form {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 0.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Footer */
.footer {
    background: var(--dark-bg);
    color: white;
    text-align: center;
    padding: 2rem 0;
}

.footer p {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

 /* Responsive Design */
  @media (max-width: 768px) {
      /* Navigation fixes */
      .nav-container {
          padding: 0.5rem 15px;
          max-width: 100%;
          justify-content: space-between;
      }

      .nav-logo {
          font-size: 1.5rem;
      }

      .nav-menu {
          position: fixed;
          left: -100%;
          top: 0;
          flex-direction: column;
          background: linear-gradient(135deg,
              rgba(0, 20, 0, 0.95) 0%,
              rgba(0, 40, 0, 0.95) 50%,
              rgba(0, 60, 0, 0.95) 100%);
          backdrop-filter: blur(10px);
          width: 100vw;
          height: 100vh;
          text-align: center;
          transition: left 0.3s ease;
          z-index: 9999;
          justify-content: center;
          align-items: center;
          display: none; /* Hide all nav items on mobile */
      }

      .nav-menu.active {
          left: 0;
          display: flex;
      }

      .nav-menu .nav-link {
          color: #00ff00;
          font-size: 1.5rem;
          margin: 1rem 0;
          text-shadow: 0 0 8px #00ff00,
                       0 0 15px #00ff00;
          transition: all 0.3s ease;
      }

      .nav-menu .nav-link:hover {
          color: #40ff40;
          text-shadow: 0 0 15px #40ff40,
                       0 0 25px #00ff00;
          transform: scale(1.1);
      }

      .hamburger {
          display: flex;
      }

      /* Hero section fixes */
      .hero {
          padding-top: 80px;
      }

      .hero-content {
          margin-top: 40px;
          padding: 1rem;
      }

 .hero-subtitle {
      font-size: 1rem;
      line-height: 1.4;
      margin-bottom: 1.5rem;
      padding: 0.4rem 0.8rem;
      width: fit-content;
      margin-left: auto;
      margin-right: auto;
  }

  .hero-tagline {
      font-size: 0.85rem;
      margin-bottom: 1.5rem;
      padding: 0.3rem 0.6rem;
      margin-left: 1rem;
      margin-right: 1rem;
      max-width: calc(100% - 2rem);
  }

      .btn {
          padding: 0.6rem 1.5rem;
          font-size: 0.9rem;
      }

      .hero-stats {
          flex-direction: column;
          gap: 1rem;
          margin-top: 2rem;
      }

      .stat {
          text-align: center;
      }

      .stat-value {
          font-size: 1.5rem;
      }

      .stat-label {
          font-size: 0.8rem;
      }

      /* Other existing mobile styles */
      .about-content {
          grid-template-columns: 1fr;
      }

      .timeline::before {
          left: 30px;
      }

      .timeline-item {
          flex-direction: column;
      }

      .timeline-item::before {
          left: 30px;
      }

      .timeline-date {
          text-align: left;
          padding: 0 0 1rem 60px;
      }

      .timeline-content {
          margin-left: 60px;
          padding: 1.5rem;
      }

      .cv-content {
          grid-template-columns: 1fr;
          gap: 2rem;
      }

      .cv-info {
          flex-direction: column;
          text-align: center;
      }

      .contact-content {
          grid-template-columns: 1fr;
      }

      .projects-grid {
          grid-template-columns: 1fr;
      }

      .skills-grid {
          grid-template-columns: 1fr;
      }
  }