:root {
      --primary-color: #00d4ff;
      --primary-glow: rgba(0, 212, 255, 0.15);
      --accent-color: #ff006e;
      --accent-glow: rgba(255, 0, 110, 0.15);
      
      --bg-primary: #0d1117;
      --bg-secondary: #161b22;
      --bg-tertiary: #1c2128;
      --bg-card: #1c232d;
      
      --text-primary: #ffffff;
      --text-secondary: #a3a3a3;
      --text-muted: #737373;
      
      --border-color: #30363d;
      --border-light: #484f58;
      
      --gradient-primary: linear-gradient(135deg, #00d4ff 0%, #0891b2 100%);
      --gradient-accent: linear-gradient(135deg, #ff006e 0%, #c2185b 100%);
      --gradient-dark: linear-gradient(180deg, rgba(13,17,23,0) 0%, rgba(13,17,23,1) 100%);
      
      --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
      --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
      --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.5);
      --shadow-glow: 0 0 40px rgba(0, 212, 255, 0.1);
      
      --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    }

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

    body {
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
      background-color: var(--bg-primary);
      color: var(--text-secondary);
      line-height: 1.6;
      overflow-x: hidden;
      position: relative;
    }

    h1, h2, h3, h4, h5, h6 {
      font-family: 'Space Grotesk', sans-serif;
      color: var(--text-primary);
      font-weight: 700;
      line-height: 1.2;
    }

    a {
      color: var(--primary-color);
      text-decoration: none;
      transition: var(--transition-base);
    }

    a:hover {
      color: var(--text-primary);
    }

    ::selection {
      background: var(--primary-color);
      color: var(--bg-primary);
    }

    /* Smooth Scrollbar */
    ::-webkit-scrollbar {
      width: 10px;
    }

    ::-webkit-scrollbar-track {
      background: var(--bg-secondary);
    }

    ::-webkit-scrollbar-thumb {
      background: var(--border-color);
      border-radius: 5px;
    }

    ::-webkit-scrollbar-thumb:hover {
      background: var(--border-light);
    }

    /*--------------------------------------------------------------
    # Navigation
    --------------------------------------------------------------*/
    #header {
      position: fixed;
      top: 0;
      left: 0;
      bottom: 0;
      width: 280px;
      z-index: 9997;
      background: var(--bg-secondary);
      border-right: 1px solid var(--border-color);
      transition: var(--transition-slow);
      overflow-y: auto;
    }

    #header .profile {
      text-align: center;
      padding: 40px 20px 30px;
    }

    #header .profile img {
      width: 140px;
      height: 140px;
      border-radius: 50%;
      border: 4px solid var(--border-color);
      transition: var(--transition-base);
      filter: grayscale(20%);
    }

    #header .profile img:hover {
      transform: scale(1.05);
      border-color: var(--primary-color);
      filter: grayscale(0%);
      box-shadow: var(--shadow-glow);
    }

    #header .profile h1 {
      font-size: 28px;
      margin: 20px 0 10px;
      font-weight: 700;
      letter-spacing: -0.5px;
    }

    #header .profile .tagline {
      color: var(--text-muted);
      font-size: 14px;
      margin-bottom: 20px;
    }

    #header .profile .social-links {
      display: flex;
      justify-content: center;
      gap: 10px;
    }

    #header .profile .social-links a {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 38px;
      height: 38px;
      background: var(--bg-tertiary);
      color: var(--text-secondary);
      border-radius: 10px;
      border: 1px solid var(--border-color);
      transition: var(--transition-base);
    }

    #header .profile .social-links a:hover {
      background: var(--primary-color);
      color: var(--bg-primary);
      transform: translateY(-2px);
      box-shadow: 0 5px 15px rgba(0, 212, 255, 0.3);
      border-color: var(--primary-color);
    }

    .nav-menu {
      padding: 20px 0;
    }

    .nav-menu ul {
      list-style: none;
      padding: 0 20px;
    }

    .nav-menu li {
      margin-bottom: 8px;
    }

    .nav-menu a {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 12px 20px;
      color: var(--text-secondary);
      border-radius: 10px;
      transition: var(--transition-base);
      position: relative;
      overflow: hidden;
    }

    .nav-menu a::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 3px;
      height: 100%;
      background: var(--gradient-primary);
      transform: scaleY(0);
      transition: var(--transition-base);
    }

    .nav-menu a i {
      font-size: 20px;
      color: var(--text-muted);
      transition: var(--transition-base);
    }

    .nav-menu a:hover,
    .nav-menu .active,
    .nav-menu .active:focus {
      background: var(--bg-tertiary);
      color: var(--text-primary);
    }

    .nav-menu a:hover::before,
    .nav-menu .active::before {
      transform: scaleY(1);
    }

    .nav-menu a:hover i,
    .nav-menu .active i {
      color: var(--primary-color);
    }

    /* Mobile Navigation */
    .mobile-nav-toggle {
      position: fixed;
      right: 20px;
      top: 20px;
      z-index: 9998;
      border: 0;
      font-size: 24px;
      width: 48px;
      height: 48px;
      background: linear-gradient(135deg, #1c232d 0%, #161b22 100%);
      color: var(--text-primary);
      border-radius: 12px;
      cursor: pointer;
      display: none;
      align-items: center;
      justify-content: center;
      transition: var(--transition-base);
      border: 1px solid var(--border-color);
    }

    .mobile-nav-toggle:hover {
      background: var(--primary-color);
      color: var(--bg-primary);
      border-color: var(--primary-color);
    }

    body.mobile-nav-active {
      overflow: hidden;
    }

    body.mobile-nav-active #main {
      transform: translateX(280px);
    }

    /*--------------------------------------------------------------
    # Main Content
    --------------------------------------------------------------*/
    #main {
      margin-left: 280px;
      min-height: 100vh;
    }

    /*--------------------------------------------------------------
    # Hero Section
    --------------------------------------------------------------*/
    #hero {
      width: 100%;
      height: 100vh;
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      background: linear-gradient(135deg, #0d1117 0%, #161b22 100%);
      overflow: hidden;
    }

    /* Dark gradient overlay */
    #hero::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: 
        linear-gradient(180deg, rgba(13, 17, 23, 0.3) 0%, rgba(13, 17, 23, 0.8) 100%),
        linear-gradient(90deg, rgba(13, 17, 23, 0.8) 0%, rgba(13, 17, 23, 0.3) 50%, rgba(13, 17, 23, 0.8) 100%);
      z-index: 2;
    }

    /* Animated gradient glow */
    #hero::after {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background-image: 
        radial-gradient(circle at 20% 50%, rgba(0, 212, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 0, 110, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(0, 212, 255, 0.1) 0%, transparent 50%);
      opacity: 0.6;
      animation: float 20s ease-in-out infinite;
      z-index: 3;
    }

    /* Code pattern background */
    .hero-bg-pattern {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background-image: 
        linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px),
        linear-gradient(rgba(0, 212, 255, 0.02) 2px, transparent 2px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.02) 2px, transparent 2px);
      background-size: 50px 50px, 50px 50px, 100px 100px, 100px 100px;
      background-position: -1px -1px, -1px -1px, -1px -1px, -1px -1px;
      z-index: 1;
      opacity: 0.5;
      animation: grid-move 10s linear infinite;
    }

    @keyframes grid-move {
      0% { transform: translate(0, 0); }
      100% { transform: translate(50px, 50px); }
    }

    .code-background {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      overflow: hidden;
      opacity: 0.4;
      z-index: 1;
    }

    .code-line {
      position: absolute;
      color: var(--primary-color);
      font-family: 'Courier New', monospace;
      font-size: 14px;
      white-space: nowrap;
      animation: slide 25s linear infinite;
      text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
      letter-spacing: 1px;
      opacity: 0.6;
    }

    .code-line:nth-child(odd) {
      color: #0891b2;
      animation-direction: reverse;
      animation-duration: 30s;
    }

    .code-line:nth-child(even) {
      color: #00d4ff;
      opacity: 0.4;
    }

    @keyframes slide {
      0% {
        transform: translateX(-100%);
      }
      100% {
        transform: translateX(100%);
      }
    }

    @keyframes float {
      0%, 100% { transform: translate(0, 0) scale(1); }
      33% { transform: translate(30px, -30px) scale(1.1); }
      66% { transform: translate(-20px, 20px) scale(0.9); }
    }

    /* Matrix rain effect overlay */
    .matrix-overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      opacity: 0.05;
      background-image: 
        repeating-linear-gradient(
          0deg,
          transparent,
          transparent 2px,
          rgba(0, 212, 255, 0.1) 2px,
          rgba(0, 212, 255, 0.1) 4px
        ),
        repeating-linear-gradient(
          90deg,
          transparent,
          transparent 2px,
          rgba(0, 212, 255, 0.1) 2px,
          rgba(0, 212, 255, 0.1) 4px
        );
      animation: matrix 10s linear infinite;
      z-index: 2;
    }

    @keyframes matrix {
      0% { transform: translate(0, 0); }
      100% { transform: translate(4px, 4px); }
    }

    .hero-container {
      position: relative;
      z-index: 10;
      text-align: center;
      padding: 0 20px;
    }

    #hero h1 {
      font-size: clamp(48px, 8vw, 80px);
      font-weight: 800;
      margin-bottom: 20px;
      letter-spacing: -2px;
      background: var(--gradient-primary);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      animation: fadeInUp 1s ease-out;
    }

    #hero .subtitle {
      font-size: clamp(20px, 3vw, 28px);
      color: var(--text-secondary);
      margin-bottom: 40px;
      animation: fadeInUp 1s ease-out 0.2s both;
    }

    #hero .typed-wrapper {
      font-size: clamp(18px, 2.5vw, 24px);
      color: var(--primary-color);
      font-weight: 500;
      animation: fadeInUp 1s ease-out 0.4s both;
    }

    .hero-cta {
      margin-top: 50px;
      display: flex;
      gap: 20px;
      justify-content: center;
      flex-wrap: wrap;
      animation: fadeInUp 1s ease-out 0.6s both;
    }

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

    /*--------------------------------------------------------------
    # Buttons
    --------------------------------------------------------------*/
    .btn-primary {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 14px 32px;
      background: var(--gradient-primary);
      color: var(--bg-primary);
      border-radius: 12px;
      font-weight: 600;
      transition: var(--transition-base);
      border: 0;
      position: relative;
      overflow: hidden;
    }

    .btn-primary::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(255, 255, 255, 0.1);
      transform: translateX(-100%);
      transition: transform 0.3s;
    }

    .btn-primary:hover {
      transform: translateY(-2px);
      box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
    }

    .btn-primary:hover::before {
      transform: translateX(0);
    }

    .btn-outline {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 14px 32px;
      background: transparent;
      color: var(--text-primary);
      border: 2px solid var(--border-light);
      border-radius: 12px;
      font-weight: 600;
      transition: var(--transition-base);
    }

    .btn-outline:hover {
      background: var(--bg-tertiary);
      border-color: var(--primary-color);
      color: var(--primary-color);
      transform: translateY(-2px);
    }

    /*--------------------------------------------------------------
    # Sections
    --------------------------------------------------------------*/
    section {
      padding: 100px 0;
      position: relative;
    }

    .section-bg {
      background: var(--bg-secondary);
    }

    .container {
      max-width: 1200px;
      padding: 0 24px;
    }

    .section-title {
      text-align: center;
      margin-bottom: 60px;
    }

    .section-title h2 {
      font-size: clamp(32px, 5vw, 48px);
      font-weight: 800;
      margin-bottom: 20px;
      position: relative;
      display: inline-block;
    }

    .section-title h2::after {
      content: '';
      position: absolute;
      bottom: -10px;
      left: 50%;
      transform: translateX(-50%);
      width: 60px;
      height: 4px;
      background: var(--gradient-primary);
      border-radius: 2px;
    }

    .section-title p {
      font-size: 18px;
      color: var(--text-secondary);
      max-width: 600px;
      margin: 0 auto;
    }

    /*--------------------------------------------------------------
    # About Section
    --------------------------------------------------------------*/
    .about-content {
      display: grid;
      grid-template-columns: 1fr 2fr;
      gap: 60px;
      align-items: center;
    }

    .about-image {
      position: relative;
    }

    .about-image img {
      width: 100%;
      border-radius: 20px;
      box-shadow: var(--shadow-lg);
      transition: var(--transition-base);
    }

    .about-image::before {
      content: '';
      position: absolute;
      top: -20px;
      left: -20px;
      right: 20px;
      bottom: 20px;
      background: var(--gradient-primary);
      border-radius: 20px;
      z-index: -1;
      opacity: 0.3;
    }

    .about-text h3 {
      font-size: 32px;
      margin-bottom: 20px;
      background: var(--gradient-primary);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .about-text .lead {
      font-size: 20px;
      color: var(--text-secondary);
      margin-bottom: 30px;
      font-weight: 500;
    }

    .about-info {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 20px;
      margin: 30px 0;
    }

    .info-item {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .info-item i {
      color: var(--primary-color);
      font-size: 20px;
    }

    .info-item strong {
      color: var(--text-primary);
      margin-right: 5px;
    }

    /*--------------------------------------------------------------
    # Skills Section
    --------------------------------------------------------------*/
    .skills-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 30px;
    }

    .skill-card {
      background: linear-gradient(135deg, #1c232d 0%, #161b22 100%);
      border: 1px solid var(--border-color);
      border-radius: 16px;
      padding: 30px;
      transition: var(--transition-base);
      position: relative;
      overflow: hidden;
    }

    .skill-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 4px;
      background: var(--gradient-primary);
      transform: scaleX(0);
      transform-origin: left;
      transition: var(--transition-base);
    }

    .skill-card:hover {
      transform: translateY(-5px);
      border-color: var(--primary-color);
      box-shadow: var(--shadow-glow);
    }

    .skill-card:hover::before {
      transform: scaleX(1);
    }

    .skill-card h4 {
      font-size: 20px;
      margin-bottom: 20px;
      color: var(--text-primary);
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .skill-card h4 i {
      color: var(--primary-color);
      font-size: 24px;
    }

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

    .skill-list li {
      padding: 8px 0;
      color: var(--text-secondary);
      display: flex;
      align-items: center;
      gap: 10px;
      transition: var(--transition-base);
    }

    .skill-list li::before {
      content: '▸';
      color: var(--primary-color);
      font-weight: bold;
    }

    .skill-list li:hover {
      color: var(--text-primary);
      transform: translateX(5px);
    }

    /*--------------------------------------------------------------
    # Resume Section
    --------------------------------------------------------------*/
    .resume-container {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
      gap: 40px;
    }

    .resume-section {
      background: linear-gradient(135deg, #1c232d 0%, #161b22 100%);
      border-radius: 16px;
      padding: 40px;
      border: 1px solid var(--border-color);
    }

    .resume-title {
      font-size: 28px;
      margin-bottom: 30px;
      color: var(--primary-color);
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .resume-title i {
      font-size: 32px;
    }

    .resume-item {
      position: relative;
      padding-left: 30px;
      margin-bottom: 30px;
    }

    .resume-item::before {
      content: '';
      position: absolute;
      left: 0;
      top: 8px;
      width: 12px;
      height: 12px;
      background: var(--primary-color);
      border-radius: 50%;
      box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
    }

    .resume-item::after {
      content: '';
      position: absolute;
      left: 5px;
      top: 20px;
      bottom: -30px;
      width: 2px;
      background: var(--border-color);
    }

    .resume-item:last-child::after {
      display: none;
    }

    .resume-item h4 {
      font-size: 20px;
      margin-bottom: 8px;
      color: var(--text-primary);
    }

    .resume-item h5 {
      font-size: 16px;
      color: var(--primary-color);
      font-weight: 500;
      margin-bottom: 15px;
    }

    .resume-item p,
    .resume-item ul {
      color: var(--text-secondary);
      line-height: 1.8;
    }

    .btn-download {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      margin-top: 30px;
      padding: 12px 24px;
      background: transparent;
      color: var(--primary-color);
      border: 2px solid var(--primary-color);
      border-radius: 10px;
      font-weight: 600;
      transition: var(--transition-base);
    }

    .btn-download:hover {
      background: var(--primary-color);
      color: var(--bg-primary);
      transform: translateY(-2px);
      box-shadow: 0 5px 20px rgba(0, 212, 255, 0.3);
    }

    /*--------------------------------------------------------------
    # Projects Section
    --------------------------------------------------------------*/
    .projects-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
      gap: 30px;
    }

    .project-card {
      background: linear-gradient(135deg, #1c232d 0%, #161b22 100%);
      border-radius: 16px;
      overflow: hidden;
      border: 1px solid var(--border-color);
      transition: var(--transition-base);
      height: 100%;
      display: flex;
      flex-direction: column;
      position: relative;
    }

    .project-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: var(--gradient-primary);
      opacity: 0;
      transition: var(--transition-base);
    }

    .project-card:hover {
      transform: translateY(-10px);
      box-shadow: var(--shadow-lg);
      border-color: var(--primary-color);
    }

    .project-card:hover::before {
      opacity: 0.05;
    }

    .project-media {
      position: relative;
      height: 260px;
      overflow: hidden;
      background: var(--bg-secondary);
    }

    .project-media img,
    .project-media video {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: var(--transition-slow);
    }

    /* Special styling for mobile app projects */
    .project-card.mobile-app .project-media {
      height: 300px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .project-card.mobile-app .project-media img,
    .project-card.mobile-app .project-media video {
      object-fit: contain;
    }

    .project-card:hover .project-media img,
    .project-card:hover .project-media video {
      transform: scale(1.1);
    }

    .project-content {
      padding: 30px;
      flex: 1;
      display: flex;
      flex-direction: column;
      position: relative;
      z-index: 1;
    }

    .project-content h4 {
      font-size: 24px;
      margin-bottom: 15px;
      color: var(--text-primary);
      transition: var(--transition-base);
    }

    .project-content h4:hover {
      color: var(--primary-color);
    }

    .project-description {
      color: var(--text-secondary);
      line-height: 1.8;
      margin-bottom: 20px;
      flex: 1;
    }

    .project-tech {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-bottom: 20px;
    }

    .tech-tag {
      padding: 6px 14px;
      background: rgba(0, 212, 255, 0.1);
      color: var(--primary-color);
      border-radius: 20px;
      font-size: 13px;
      font-weight: 500;
      border: 1px solid rgba(0, 212, 255, 0.2);
      transition: var(--transition-base);
    }

    .tech-tag:hover {
      background: rgba(0, 212, 255, 0.2);
      transform: translateY(-2px);
    }

    .project-links {
      display: flex;
      gap: 15px;
    }

    .project-link {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      color: var(--primary-color);
      font-weight: 600;
      transition: var(--transition-base);
    }

    .project-link:hover {
      color: var(--text-primary);
    }

    /*--------------------------------------------------------------
    # Certifications Section
    --------------------------------------------------------------*/
    .cert-filters {
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      gap: 15px;
      margin-bottom: 50px;
    }

    .cert-filters button {
      padding: 10px 24px;
      background: var(--bg-card);
      color: var(--text-secondary);
      border: 1px solid var(--border-color);
      border-radius: 25px;
      font-weight: 600;
      transition: var(--transition-base);
      cursor: pointer;
    }

    .cert-filters button:hover,
    .cert-filters button.active {
      background: var(--primary-color);
      color: var(--bg-primary);
      border-color: var(--primary-color);
      transform: translateY(-2px);
    }

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

    .cert-card {
      background: linear-gradient(135deg, #1c232d 0%, #161b22 100%);
      border-radius: 16px;
      overflow: hidden;
      border: 1px solid var(--border-color);
      transition: var(--transition-base);
      position: relative;
      cursor: pointer;
    }

    .cert-card:hover {
      transform: translateY(-5px);
      border-color: var(--primary-color);
      box-shadow: var(--shadow-glow);
    }

    .cert-image {
      position: relative;
      height: 200px;
      overflow: hidden;
      background: var(--bg-secondary);
    }

    .cert-image img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      padding: 20px;
      transition: var(--transition-base);
    }

    .cert-card:hover .cert-image img {
      transform: scale(1.05);
    }

    .cert-overlay {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: rgba(10, 10, 10, 0.9);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      opacity: 0;
      transition: var(--transition-base);
    }

    .cert-card:hover .cert-overlay {
      opacity: 1;
    }

    .cert-overlay h4 {
      font-size: 20px;
      margin-bottom: 10px;
      color: var(--text-primary);
    }

    .cert-overlay p {
      color: var(--text-secondary);
      margin-bottom: 20px;
    }

    .cert-overlay a {
      padding: 10px 20px;
      background: var(--primary-color);
      color: var(--bg-primary);
      border-radius: 8px;
      font-weight: 600;
      transition: var(--transition-base);
    }

    .cert-overlay a:hover {
      background: var(--text-primary);
      transform: scale(1.05);
    }

    /*--------------------------------------------------------------
    # Contact Section
    --------------------------------------------------------------*/
    .contact-container {
      display: grid;
      grid-template-columns: 1fr 2fr;
      gap: 40px;
    }

    .contact-info {
      background: linear-gradient(135deg, #1c232d 0%, #161b22 100%);
      border-radius: 16px;
      padding: 40px;
      border: 1px solid var(--border-color);
      height: fit-content;
    }

    .contact-item {
      display: flex;
      align-items: start;
      gap: 20px;
      margin-bottom: 30px;
    }

    .contact-item:last-child {
      margin-bottom: 0;
    }

    .contact-icon {
      width: 50px;
      height: 50px;
      background: rgba(0, 212, 255, 0.1);
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      transition: var(--transition-base);
    }

    .contact-icon i {
      font-size: 24px;
      color: var(--primary-color);
    }

    .contact-item:hover .contact-icon {
      background: var(--primary-color);
      transform: translateY(-3px);
      box-shadow: 0 5px 20px rgba(0, 212, 255, 0.3);
    }

    .contact-item:hover .contact-icon i {
      color: var(--bg-primary);
    }

    .contact-details h4 {
      font-size: 18px;
      margin-bottom: 5px;
      color: var(--text-primary);
    }

    .contact-details p,
    .contact-details a {
      color: var(--text-secondary);
      transition: var(--transition-base);
    }

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

    .contact-form {
      background: linear-gradient(135deg, #1c232d 0%, #161b22 100%);
      border-radius: 16px;
      padding: 40px;
      border: 1px solid var(--border-color);
    }

    .form-group {
      margin-bottom: 25px;
    }

    .form-group label {
      display: block;
      margin-bottom: 8px;
      color: var(--text-primary);
      font-weight: 600;
    }

    .form-control {
      width: 100%;
      padding: 14px 20px;
      background: var(--bg-secondary);
      border: 1px solid var(--border-color);
      border-radius: 10px;
      color: var(--text-primary);
      font-size: 16px;
      transition: var(--transition-base);
    }

    .form-control:focus {
      outline: none;
      border-color: var(--primary-color);
      box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
    }

    textarea.form-control {
      resize: vertical;
      min-height: 140px;
    }

    .btn-submit {
      width: 100%;
      padding: 16px;
      background: var(--gradient-primary);
      color: var(--bg-primary);
      border: none;
      border-radius: 10px;
      font-size: 18px;
      font-weight: 600;
      cursor: pointer;
      transition: var(--transition-base);
      position: relative;
      overflow: hidden;
    }

    .btn-submit::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: rgba(255, 255, 255, 0.2);
      transition: left 0.3s;
    }

    .btn-submit:hover {
      transform: translateY(-2px);
      box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
    }

    .btn-submit:hover::before {
      left: 0;
    }

    /*--------------------------------------------------------------
    # Footer
    --------------------------------------------------------------*/
    #footer {
      background: var(--bg-secondary);
      padding: 50px 0;
      text-align: center;
      border-top: 1px solid var(--border-color);
    }

    #footer .copyright {
      font-size: 16px;
      color: var(--text-secondary);
      margin-bottom: 10px;
    }

    #footer .credits {
      font-size: 14px;
      color: var(--text-muted);
    }

    #footer .credits a {
      color: var(--primary-color);
    }

    /*--------------------------------------------------------------
    # Back to Top Button
    --------------------------------------------------------------*/
    .back-to-top {
      position: fixed;
      right: 20px;
      bottom: 20px;
      width: 48px;
      height: 48px;
      background: linear-gradient(135deg, #1c232d 0%, #161b22 100%);
      border: 1px solid var(--border-color);
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--primary-color);
      opacity: 0;
      visibility: hidden;
      transition: var(--transition-base);
      z-index: 996;
    }

    .back-to-top:hover {
      background: var(--primary-color);
      color: var(--bg-primary);
      transform: translateY(-5px);
      border-color: var(--primary-color);
    }

    .back-to-top.active {
      opacity: 1;
      visibility: visible;
    }

    /*--------------------------------------------------------------
    # Loading Animation
    --------------------------------------------------------------*/
    .loader {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: var(--bg-primary);
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 9999;
    }

    .loader-inner {
      width: 60px;
      height: 60px;
      border: 3px solid var(--border-color);
      border-top-color: var(--primary-color);
      border-radius: 50%;
      animation: spin 1s linear infinite;
    }

    @keyframes spin {
      to { transform: rotate(360deg); }
    }

    /*--------------------------------------------------------------
    # Responsive Design
    --------------------------------------------------------------*/
    @media (max-width: 1199px) {
      #header {
        left: -280px;
      }

      #main {
        margin-left: 0;
      }

      #main > footer {
        margin-left: 0;
      }

      .mobile-nav-toggle {
        display: flex;
      }

      body.mobile-nav-active #header {
        left: 0;
      }

      body.mobile-nav-active #main {
        transform: translateX(280px);
      }

      .about-content {
        grid-template-columns: 1fr;
        text-align: center;
      }

      .about-image {
        max-width: 400px;
        margin: 0 auto;
      }
    }

    @media (max-width: 768px) {
      section {
        padding: 60px 0;
      }

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

      .project-media {
        height: 220px;
      }

      .project-card.mobile-app .project-media {
        height: 250px;
      }

      .resume-container {
        grid-template-columns: 1fr;
      }

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

      .hero-cta {
        flex-direction: column;
        align-items: center;
      }

      .cert-filters {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
      }

      .about-info {
        grid-template-columns: 1fr;
      }
    }

    @media (max-width: 575px) {
      .container {
        padding: 0 16px;
      }

      #hero h1 {
        font-size: 40px;
      }

      .section-title h2 {
        font-size: 32px;
      }

      .project-media {
        height: 200px;
      }

      .project-card.mobile-app .project-media {
        height: 220px;
      }

      .project-card,
      .skill-card,
      .resume-section,
      .contact-info,
      .contact-form {
        padding: 20px;
      }
    }

    /* Dark mode scrollbar for Firefox */
    * {
      scrollbar-width: thin;
      scrollbar-color: var(--border-color) var(--bg-secondary);
    }

    /* Animations */
    [data-aos] {
      transition-property: transform, opacity;
    }

    /* Utility Classes */
    .text-gradient {
      background: var(--gradient-primary);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .glow {
      box-shadow: var(--shadow-glow);
    }

    .hover-lift {
      transition: var(--transition-base);
    }

    .hover-lift:hover {
      transform: translateY(-5px);
    }

    /* Add these fixes to your existing style.css */

/* Fix for hero section overlapping */
#hero {
  width: 100%;
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0d1117 0%, #161b22 100%);
  overflow: hidden;
  z-index: 1; /* Ensure hero doesn't overlap other sections */
}

/* Ensure about section has proper positioning */
#about {
  position: relative;
  z-index: 2;
  background: var(--bg-primary);
  margin-top: 0;
  padding-top: 100px;
}

/* Fix for all sections to prevent overlapping */
section {
  padding: 100px 0;
  position: relative;
  z-index: 2;
  background: var(--bg-primary);
}

/* Specific fix for section-bg class */
.section-bg {
  background: var(--bg-secondary) !important;
  z-index: 2;
}

/* Ensure main content is properly positioned */
#main {
  margin-left: 280px;
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

/* Fix parallax effect to prevent overlapping */
.hero-parallax-fix {
  position: relative;
  z-index: 1;
  transform: none !important; /* Disable transform on small screens if needed */
}

/* Additional fix for mobile to prevent issues */
@media (max-width: 1199px) {
  #main {
    margin-left: 0;
    position: relative;
  }
  
  /* Disable parallax effect on mobile to prevent overlapping */
  #hero {
    transform: none !important;
  }
  
  .code-background {
    transform: none !important;
  }
}

/* Ensure proper stacking context */
.hero-container {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 0 20px;
}

/* Fix for hero background elements */
#hero::before,
#hero::after,
.hero-bg-pattern,
.code-background,
.matrix-overlay {
  z-index: 1;
}

.hero-container {
  z-index: 10;
}

/* Additional safety margin for about section */
.about {
  margin-top: 0;
  padding-top: 120px; /* Increased padding to ensure no overlap */
}

/* Fix for navigation active states to work properly with fixed sections */
.nav-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  color: var(--text-secondary);
  border-radius: 10px;
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
  z-index: 1;
}