  /* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

  html,
  body,
  div,
  span,
  applet,
  object,
  iframe,
  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  p,
  blockquote,
  pre,
  a,
  abbr,
  acronym,
  address,
  big,
  cite,
  code,
  del,
  dfn,
  em,
  img,
  ins,
  kbd,
  q,
  s,
  samp,
  small,
  strike,
  strong,
  sub,
  sup,
  tt,
  var,
  b,
  u,
  i,
  center,
  dl,
  dt,
  dd,
  ol,
  ul,
  li,
  fieldset,
  form,
  label,
  legend,
  table,
  caption,
  tbody,
  tfoot,
  thead,
  tr,
  th,
  td,
  article,
  aside,
  canvas,
  details,
  embed,
  figure,
  figcaption,
  footer,
  header,
  hgroup,
  menu,
  nav,
  output,
  ruby,
  section,
  summary,
  time,
  mark,
  audio,
  video {
      margin: 0;
      padding: 0;
      border: 0;
      font-size: 100%;
      font: inherit;
      vertical-align: baseline;
  }

  /* HTML5 display-role reset for older browsers */
  article,
  aside,
  details,
  figcaption,
  figure,
  footer,
  header,
  hgroup,
  menu,
  nav,
  section {
      display: block;
  }

  body {
      line-height: 1;
  }

  ol,
  ul {
      list-style: none;
  }

  blockquote,
  q {
      quotes: none;
  }

  blockquote:before,
  blockquote:after,
  q:before,
  q:after {
      content: '';
      content: none;
  }

  table {
      border-collapse: collapse;
      border-spacing: 0;
  }

  /* ===== MY STYLES BELOW ===== */

  @import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;700&display=swap');

  :root {
      /* Dark Theme (Black & White) */
      --bg-color: #0a0a0a;
      --text-color: #ededed;
      --text-muted: #888888;
      --text-hover: #ffffff;
      --heading-color: #ffffff;

      --grad-1: rgba(255, 255, 255, 0.04);
      --grad-2: rgba(255, 255, 255, 0.01);

      --accent-1: #ffffff;
      --accent-2: #bbbbbb;

      --card-bg: rgba(25, 25, 25, 0.6);
      --card-border: rgba(255, 255, 255, 0.08);
      --card-shadow: rgba(0, 0, 0, 0.8);
      --card-shadow-hover: rgba(255, 255, 255, 0.15);

      --profile-bg: #111111;
      --profile-shadow: rgba(255, 255, 255, 0.2);
  }

  body.light-mode {
      /* Light Theme */
      --bg-color: #f8fafc;
      --text-color: #0f172a;
      --text-muted: #475569;
      --text-hover: #334155;
      --heading-color: #0f172a;

      --grad-1: rgba(59, 130, 246, 0.1);
      --grad-2: rgba(6, 182, 212, 0.1);

      --accent-1: #2563eb;
      --accent-2: #0891b2;

      --card-bg: rgba(255, 255, 255, 0.7);
      --card-border: rgba(0, 0, 0, 0.05);
      --card-shadow: rgba(59, 130, 246, 0.15);
      --card-shadow-hover: rgba(59, 130, 246, 0.3);

      --profile-bg: #e2e8f0;
      --profile-shadow: rgba(6, 182, 212, 0.2);
  }

  * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
  }

  body {
      font-family: 'Outfit', sans-serif;
      background: var(--bg-color);
      background-image:
          radial-gradient(circle at 15% 50%, var(--grad-1), transparent 25%),
          radial-gradient(circle at 85% 30%, var(--grad-2), transparent 25%);
      background-attachment: fixed;
      padding: 60px 20px;
      color: var(--text-color);
      min-height: 100vh;
  }

  .theme-toggle {
      position: absolute;
      top: 20px;
      right: 20px;
      cursor: pointer;
      background: var(--card-bg);
      border: 1px solid var(--card-border);
      padding: 10px;
      border-radius: 50%;
      color: var(--text-color);
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
      transition: all 0.3s ease;
      z-index: 100;
  }

  .theme-toggle:hover {
      box-shadow: 0 4px 15px var(--card-shadow);
      color: var(--accent-1);
      transform: translateY(-2px);
  }

  body.light-mode .moon-icon {
      display: none;
  }

  body:not(.light-mode) .sun-icon {
      display: none;
  }

  .main-header {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 20px;
      margin: 40px auto;
      max-width: 800px;
      text-align: center;
  }

  @media (min-width: 600px) {
      .main-header {
          flex-direction: row;
          text-align: left;
          gap: 40px;
      }
  }

  .profile-img {
      width: 160px;
      height: 160px;
      border-radius: 24px;
      display: block;
      background: var(--profile-bg);
      border: 1px solid var(--card-border);
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 30px var(--card-shadow);
      object-fit: cover;
      transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
  }

  .profile-img:hover {
      transform: scale(1.05) translateY(-5px) rotate(2deg);
      box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 50px var(--profile-shadow);
  }

  .main-header h1 {
      font-size: 3rem;
      font-weight: 700;
      color: var(--heading-color);
      margin-bottom: 8px;
      letter-spacing: -1px;
  }

  .main-header p {
      color: var(--text-muted);
      font-size: 1rem;
      font-weight: 400;
      letter-spacing: 2px;
      text-transform: uppercase;
  }

  hr {
      border: none;
      height: 1px;
      background: linear-gradient(to right, transparent, var(--grad-2), transparent);
      margin: 40px auto;
      max-width: 800px;
  }

  .intro-text {
      text-align: center;
      color: var(--text-hover);
      margin: 0 auto 50px;
      max-width: 600px;
      line-height: 1.7;
      font-size: 1.1rem;
  }

  h2 {
      max-width: 800px;
      margin: 40px auto 30px;
      font-size: 1.8rem;
      font-weight: 500;
      color: var(--heading-color);
      position: relative;
      padding-left: 16px;
  }

  h2::before {
      content: '';
      position: absolute;
      left: 0;
      top: 50%;
      transform: translateY(-50%);
      width: 4px;
      height: 24px;
      background: linear-gradient(to bottom, var(--accent-1), var(--accent-2));
      border-radius: 4px;
  }

  /* Styling all links as modern cards */
  .card-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 16px;
      max-width: 800px;
      margin: 0 auto 30px;
  }

  @media (min-width: 650px) {
      .card-grid {
          grid-template-columns: repeat(2, 1fr);
      }
  }

  .card-grid a {
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding: 24px 30px;
      text-decoration: none;
      color: var(--text-color);
      background: var(--card-bg);
      border: 1px solid var(--card-border);
      border-radius: 16px;
      backdrop-filter: blur(10px);
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      position: relative;
      overflow: hidden;
      height: 100%;
  }

  .card-grid a::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(to right, var(--grad-1), var(--grad-2));
      opacity: 0;
      transition: opacity 0.3s ease;
      z-index: 0;
  }

  .card-grid a:hover {
      transform: translateY(-4px) scale(1.02);
      box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1), 0 0 0 1px var(--card-shadow-hover);
      border-color: transparent;
  }

  .card-grid a:hover::before {
      opacity: 1;
  }

  .card-grid a span {
      position: relative;
      z-index: 1;
      display: block;
      font-size: 1.25rem;
      font-weight: 500;
      margin-bottom: 6px;
      background: linear-gradient(to right, var(--text-color), var(--text-hover));
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent;
  }

  .card-grid a:hover span {
      background: linear-gradient(to right, var(--accent-1), var(--accent-2));
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent;
  }

  .card-grid a p {
      position: relative;
      z-index: 1;
      color: var(--text-muted);
      text-align: left;
      margin: 0;
      font-size: 0.95rem;
      font-weight: 300;
  }

  /* Fix for links that only have a span */
  .card-grid a:not(:has(p)) span {
      margin-bottom: 0;
  }

  @media (max-width: 768px) {
      body {
          padding: 30px 16px;
      }

      .main-header {
          gap: 16px;
          margin: 30px auto;
      }

      .profile-img {
          width: 120px;
          height: 120px;
          border-radius: 20px;
      }

      .main-header h1 {
          font-size: 2.8rem;
          margin-bottom: 4px;
      }

      .main-header p {
          font-size: 1.1rem;
          letter-spacing: 1px;
      }

      .intro-text {
          font-size: 1.15rem;
          margin-bottom: 30px;
      }

      h2 {
          font-size: 1.6rem;
          margin: 30px auto 20px;
      }

      .card-grid {
          gap: 12px;
          margin-bottom: 30px;
      }

      .card-grid a {
          padding: 18px 22px;
      }

      .card-grid a span {
          font-size: 1.3rem;
          margin-bottom: 4px;
      }

      .card-grid a p {
          font-size: 1rem;
      }

      .contact-section {
          margin: 40px auto 60px;
      }

      .contact-btn {
          padding: 16px 32px;
          font-size: 1.2rem;
      }
  }

  /* Contact Button */
  .contact-section {
      margin: 60px auto 90px;
      display: flex;
      justify-content: center;
  }

  .contact-btn {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      padding: 16px 32px;
      font-size: 1.2rem;
      font-weight: 500;
      text-transform: uppercase;
      letter-spacing: 2px;
      color: var(--bg-color);
      background: var(--text-color);
      border-radius: 50px;
      text-decoration: none;
      transition: all 0.3s ease;
      box-shadow: 0 10px 30px var(--card-shadow);
  }

  .contact-btn:hover {
      transform: translateY(-4px) scale(1.02);
      box-shadow: 0 15px 40px var(--card-shadow-hover);
      background: var(--text-hover);
      color: var(--bg-color);
  }

  .contact-btn:active {
      transform: translateY(0) scale(1);
  }

  .contact-icon {
      width: 24px;
      height: 24px;
      stroke: currentColor;
  }