:root {
  --primary-blue: #2e5bff;
  --secondary-blue: #1a3cc3;
  --accent-green: #00c9a7;
  --accent-yellow: #ffc107;
  --matrix-green: #00ff41;
  --dark-gray: #333333;
  --medium-gray: #666666;
  --light-gray: #f8f9fa;
  --white: #ffffff;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  --border-radius: 8px;
  --front: #333333;
  --back: #333333;
  --right: #00c9a7;
  --left: #00c9a7;
  --top: #2e5bff;
  --bottom: #1a3cc3;
}

html {
  scroll-behavior: smooth;
}

/* ----- RESET & GLOBAL ----- */
    .container {
      max-width: 1280px;
      margin: 0 auto;
      padding: 0 2rem;
    }

    /* ----- NAVIGATION (sticky, blur) ----- */
    .navbar {
      position: sticky;
      top: 0;
      z-index: 50;
      background: rgba(255, 255, 255, 0.8);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
      border-bottom: 1px solid #f0f2f5;
    }

    .nav-container {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 70px;
    }

    .logo {
      font-size: 1.2rem;
      font-weight: 500;
      background-clip: text;
      color: var(--medium-gray, #1e293b);
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 10px;
    }
    
    .logo span {
      color: var(--secondary-blue, #2563eb);
    }

    .nav-links {
      display: flex;
      gap: 2.5rem;
      align-items: center;
    }

    .nav-links a {
      text-decoration: none;
      color: #334155;
      font-weight: 500;
      transition: color 0.2s;
    }

    .nav-links a:hover {
      color: #2563eb;
    }
    .nav-links a.active,
    .mobile-nav a.active {
      color: #2563eb;
      position: relative;
    }
    
    .nav-links a.active::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: -4px;
      width: 100%;
      height: 2px;
      background: #2563eb;
    }

    .nav-buttons {
      display: flex;
      gap: 1rem;
      align-items: center;
    }

    .btn-outline {
      background: transparent;
      border: 1px solid #e2e8f0;
      padding: 0.5rem 1.2rem;
      border-radius: 40px;
      font-weight: 500;
      color: #1e293b;
      cursor: pointer;
      transition: all 0.2s;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
    }

    .btn-outline:hover {
      background: #f8fafc;
      border-color: #cbd5e1;
    }

    .btn-primary {
      background: #2563eb;
      color: white;
      border: none;
      padding: 0.5rem 1.5rem;
      border-radius: 40px;
      font-weight: 500;
      cursor: pointer;
      transition: background 0.2s, transform 0.1s;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
    }

    .btn-primary:hover {
      background: #1d4ed8;
    }

    .mobile-menu-btn {
      display: none;
      font-size: 1.8rem;
      background: none;
      border: none;
      color: #1e293b;
      cursor: pointer;
    }

    /* mobile nav (hidden by default) */
    .mobile-nav {
      display: none;
      flex-direction: column;
      background: white;
      padding: 1rem 2rem;
      border-top: 1px solid #f1f5f9;
    }

    .mobile-nav a {
      padding: 0.8rem 0;
      text-decoration: none;
      color: #334155;
      font-weight: 500;
      border-bottom: 1px solid #f1f5f9;
    }

    .mobile-nav .mobile-buttons {
      display: flex;
      gap: 1rem;
      margin-top: 1rem;
      flex-wrap: wrap;
    }

    /* ----- FOOTER (dark theme) ----- */
    .footer {
      background: #0f172a;
      color: #cbd5e1;
      padding: 3rem 0 1.5rem;
      border-radius: 40px 40px 0 0;
      margin-top: 3rem;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1.5fr;
      gap: 2rem;
      margin-bottom: 3rem;
    }

    .footer-logo {
      font-size: 1.5rem;
      font-weight: 700;
      background: linear-gradient(135deg, #a5b4fc, #c7d2fe);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
      margin-bottom: 1rem;
    }

    .footer-col p {
      margin: 0.5rem 0;
    }

    .footer-col a {
      color: #cbd5e1;
      text-decoration: none;
      display: block;
      margin: 0.5rem 0;
      transition: color 0.2s;
    }

    .footer-col a:hover {
      color: white;
    }

    .social-icons {
      display: flex;
      gap: 1.5rem;
      font-size: 1.5rem;
    }

    .footer-bottom {
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;
      padding-top: 2rem;
      border-top: 1px solid #1e293b;
    }

    
    

    /* ----- responsiveness (keep header/footer mobile-friendly) ----- */
    @media (max-width: 700px) {
      .nav-links, .nav-buttons {
        display: none;
      }
      .mobile-menu-btn {
        display: block;
      }
      .mobile-nav.open {
        display: flex;
      }
      .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
      }
      .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
      }
    }

    @media (max-width: 480px) {
      .container {
        padding: 0 1.2rem;
      }
    }
    
    
/* MY PROFLIE BUTTON */

    :root {
      --primary-blue: #2563eb;
      --primary-light: rgba(37, 99, 235, 0.08);
      --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.05);
      --shadow-md: 0 8px 16px rgba(0, 0, 0, 0.1);
    }

    .profile-link {
      display: inline-block;
      padding: 8px 16px;
      border-radius: 40px;
      background: transparent;
      color: currentColor;
      font-weight: 500;
      text-decoration: none;
      transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
      cursor: pointer;
    }

    .profile-link:hover {
      background: var(--primary-light);
      color: var(--primary-blue);
      transform: translateY(-1px);
      box-shadow: var(--shadow-sm);
    }

    .profile-link:focus-visible {
      outline: 2px solid var(--primary-blue);
      outline-offset: 2px;
      border-radius: 40px;
    }