 * { box-sizing: border-box; }
    html, body {
      height: 100%;
      margin: 0;
      padding: 0;
      max-width: 100%;
      overflow-x: hidden;
      overflow-y: hidden;
      background: #0a0a0f;
      background-image:
        radial-gradient(circle at 20% 15%, rgba(139,92,246,0.20), transparent 18%),
        radial-gradient(circle at 85% 10%, rgba(109,40,217,0.12), transparent 22%),
        radial-gradient(circle at 60% 85%, rgba(168,85,247,0.14), transparent 24%),
        linear-gradient(180deg, rgba(9, 9, 15, 0.86) 0%, rgba(5, 5, 10, 0.86) 100%);
      background-repeat: no-repeat;
      background-size: cover;
      scrollbar-width: thin;
      scrollbar-color: rgba(167,139,250,0.85) rgba(16,16,24,0.55);
    }

    html::-webkit-scrollbar,
    body::-webkit-scrollbar,
    .scroll-container::-webkit-scrollbar {
      width: 10px;
      height: 10px;
    }

    html::-webkit-scrollbar-track,
    body::-webkit-scrollbar-track,
    .scroll-container::-webkit-scrollbar-track {
      background: rgba(16, 16, 24, 0.65);
      border-radius: 999px;
      box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04);
    }

    html::-webkit-scrollbar-thumb,
    body::-webkit-scrollbar-thumb,
    .scroll-container::-webkit-scrollbar-thumb {
      background: linear-gradient(180deg, rgba(167,139,250,0.9), rgba(99,102,241,0.85));
      border-radius: 999px;
      border: 2px solid rgba(16, 16, 24, 0.62);
      min-height: 40px;
    }

    html::-webkit-scrollbar-thumb:hover,
    body::-webkit-scrollbar-thumb:hover,
    .scroll-container::-webkit-scrollbar-thumb:hover {
      background: linear-gradient(180deg, rgba(199,210,254,0.95), rgba(168,85,247,0.9));
    }

    body {
      font-family: 'Space Grotesk', sans-serif;
      color: #ffffff;
      overflow-x: hidden;
      touch-action: pan-y;
      -webkit-tap-highlight-color: transparent;
    }

    body::before {
      content: '';
      position: fixed;
      inset: -18%;
      z-index: 0;
      pointer-events: none;
      background:
        radial-gradient(ellipse at 18% 22%, rgba(139, 92, 246, 0.2), transparent 28%),
        radial-gradient(ellipse at 82% 16%, rgba(99, 102, 241, 0.14), transparent 30%),
        radial-gradient(ellipse at 62% 86%, rgba(168, 85, 247, 0.16), transparent 32%);
      filter: blur(50px);
      opacity: 0.9;
      transform: translateZ(0);
    }

    #cursorParticles {
      position: fixed;
      inset: 0;
      width: 100%;
      height: 100%;
      z-index: 0;
      pointer-events: none;
      opacity: 0.7;
    }

    #cursorParticles.launch-particles {
      z-index: 1001;
    }

    video,
    .demo-video-wrap,
    .ppc-video-player-wrap,
    .project-modal video {
      touch-action: auto;
      -webkit-touch-callout: default;
    }
    .scroll-container {
      height: 100vh;
      overflow-y: auto;
      overflow-x: hidden;
      scroll-behavior: smooth;
      scroll-snap-type: y proximity;
    }
    .syne { font-family: 'Syne', sans-serif; }
    
/* ---------------------------------------------- Lauch Screen Section --------------------------------------------------------*/
    
    .launch-screen {
      position: fixed;
      inset: 0;
      background:
        radial-gradient(ellipse at 18% 22%, rgba(139, 92, 246, 0.2), transparent 28%),
        radial-gradient(ellipse at 82% 16%, rgba(99, 102, 241, 0.14), transparent 30%),
        radial-gradient(ellipse at 62% 86%, rgba(168, 85, 247, 0.16), transparent 32%),
        linear-gradient(180deg, #09090f 0%, #05050a 100%);
      background-size: 140% 140%;
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 1000;
      cursor: pointer;
      transition: opacity 0.8s ease, visibility 0.8s ease;
    }
    .launch-screen.hidden {
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
    }
    .launch-text {
      font-family: 'Syne', sans-serif;
      font-size: clamp(4rem, 15vw, 12rem);
      font-weight: 800;
      letter-spacing: -0.02em;
      background: linear-gradient(135deg, #ffffff 0%, #a78bfa 50%, #6366f1 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      animation: pulse-glow 2s ease-in-out infinite;
    }

    .launch-text {
      position: relative;
      z-index: 1002;
    }

    .click-hint {
      z-index: 1002;
    }
    @keyframes pulse-glow {
      0%, 100% { filter: drop-shadow(0 0 20px rgba(167, 139, 250, 0.3)); }
      50% { filter: drop-shadow(0 0 40px rgba(167, 139, 250, 0.6)); }
    }
    .click-hint {
      position: absolute;
      bottom: 15%;
      font-size: 0.9rem;
      color: rgba(255,255,255,0.5);
      animation: bounce 2s ease-in-out infinite;
    }
    @keyframes bounce {
      0%, 100% { transform: translateY(0); }
      50% { transform: translateY(-10px); }
    }

 /* ------------------------------------------------- Island Section ----------------------------------------------------------*/
    
    .island {
      position: fixed;
      top: 20px;
      left: 50%;
      transform: translateX(-50%);
      background: rgba(16, 16, 24, 0.66);
      border: 1px solid rgba(255, 255, 255, 0.16);
      border-radius: 999px;
      padding: 12px 24px;
      z-index: 100;
      display: flex;
      align-items: center;
      gap: 20px;
      box-shadow: 0 10px 35px rgba(0,0,0,0.36), inset 0 1px 0 rgba(255,255,255,0.16);
      backdrop-filter: blur(24px) saturate(160%);
      -webkit-backdrop-filter: blur(24px) saturate(160%);
      opacity: 0;
      transform: translateX(-50%) scale(0.5);
      transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    }
    .island.visible {
      opacity: 1;
      transform: translateX(-50%) scale(1);
    }
    .island-logo {
      font-family: 'Syne', sans-serif;
      font-weight: 800;
      font-size: 1.1rem;
      background: linear-gradient(135deg, #a78bfa, #6366f1);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      cursor: pointer;
      transition: transform 0.18s ease, filter 0.18s ease, text-shadow 0.18s ease;
    }

    /* ------------------------------------------ ( Island Hover Transition ) ------------------------------------------------*/
    
    .island-logo:focus-visible {
      filter: drop-shadow(0 6px 18px rgba(99,102,241,0.28));
      text-shadow: 0 0 10px rgba(167,139,250,0.9);
      outline: none;
    }
    .island-logo:hover,
    .island-logo.active {
      color: #ffffff;
      -webkit-text-fill-color: currentColor;
      background: linear-gradient(135deg, rgba(167,139,250,0.16), rgba(99,102,241,0.18));
      padding: 6px 14px;
      border-radius: 999px;
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), 0 8px 20px rgba(99,102,241,0.24);
      text-shadow: 0 0 14px rgba(167,139,250,0.95);
      transition: background-color 240ms ease, box-shadow 240ms ease, text-shadow 240ms ease;
    }
    .island-logo.sparkle {
      animation: island-sparkle 1.6s linear infinite;
    }
    @keyframes island-sparkle {
      0% { text-shadow: 0 0 6px rgba(167,139,250,0.6); transform: translateY(0) scale(1); }
      40% { text-shadow: 0 0 18px rgba(167,139,250,0.95), 0 0 28px rgba(99,102,241,0.4); transform: translateY(-1px) scale(1.01); }
      60% { text-shadow: 0 0 8px rgba(167,139,250,0.7); transform: translateY(0) scale(1); }
      100% { text-shadow: 0 0 6px rgba(167,139,250,0.5); transform: translateY(0) scale(1); }
    }
    .island-nav {
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: 100%;
      gap: 8px;
    }
    .nav-left,
    .nav-right {
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .island-nav button {
      padding: 7px 13px;
      border-radius: 999px;
      font-size: 0.8rem;
      font-weight: 600;
      color: rgba(255,255,255,0.72);
      background: transparent;
      border: 1px solid transparent;
      cursor: pointer;
      transition: all 0.25s ease;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      letter-spacing: 0.01em;
    }
    .island-nav button:hover {
      color: #ffffff;
      background: rgba(255, 255, 255, 0.08);
      border-color: rgba(255,255,255,0.12);
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.12);
    }
    .island-nav button.active {
      color: #ffffff;
      background: linear-gradient(135deg, rgba(167, 139, 250, 0.24), rgba(99, 102, 241, 0.22));
      border-color: rgba(167, 139, 250, 0.26);
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.16), 0 8px 20px rgba(99,102,241,0.2);
      transform: translateY(-1px);
    }
    .nav-icon {
      display: none;
      align-items: center;
      justify-content: center;
    }
    .nav-icon svg {
      width: 16px;
      height: 16px;
    }
    .nav-label {
      display: inline-flex;
      align-items: center;
      justify-content: center;
    }


    .main-content {
      position: relative;
      z-index: 1;
      padding-top: 0px;
      opacity: 0;
      transition: opacity 0.8s ease 0.3s;
    }
    .main-content.visible { opacity: 1; }

 /* ------------------------------------------------- Section Divider ----------------------------------------------------------*/
    
   .section {
      position: relative;
      min-height: 80vh;
      padding: 0 5% 5%;
      display: flex;
      align-items: center;
      justify-content: center;
      scroll-snap-align: center;
      box-sizing: border-box;
      background: transparent;
    /* Keeps section titles consistently placed below the fixed island nav */
    scroll-margin-top: 110px;
    }

    #section0 {
      padding-top: 40px;
    }


  /* -------------------------------------------------- About Me  ----------------------------------------------------------*/
  
        .hero-container {
      display: flex;
      align-items: center;
      max-width: 1200px;
      width: 100%;
      justify-content: center;
      gap: 100px;
      margin-top: 80px;
      margin-bottom: 100px;
    }

    .hero-content {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      max-width: 550px;
    }

    .hero-image {
      align-items: left;
      width: 500px;
      height: 550px;
      border-radius: 250px;
      position: relative;
      overflow: hidden;
      flex-shrink: 0;
    }

    .hero-photo {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      border-radius: 24px;
    }

    .hero-content h1 {
      font-family: 'Syne', sans-serif;
      font-size: clamp(2.5rem, 3.5vw, 4rem);
      font-weight: 800;
      line-height: 1.05;
      margin: 0 0 10px 0;
      max-width: 100%;
      white-space: nowrap;
      overflow-wrap: normal;
    }

    .hero-content .title {
      font-size: 1.3rem;
      font-weight: 500;
      color: #a78bfa;
      margin:  0 16px 20px;
      letter-spacing: -0.02em;
    }

    .title-ampersand {
      color: #ffffff;
    }

    .title-accent {
      color: #ff7a18;
    }

    .hero-content .description {
      font-size: 1.1rem;
      line-height: 1.7;
      text-indent: 50px;
      text-align: justify;
      color: rgba(255,255,255,0.8);
      max-width: 700px;
      margin-top: 10px;
    }

   /* ------------------------------------------------- Timeline Section ----------------------------------------------------------*/
    .career-education-section {
      position: relative;
      overflow: hidden;
      background: transparent;
      padding-top: 0;
      padding-bottom: 80px;
    }

    .career-education-shell {
      position: relative;
      z-index: 1;
      max-width: 1180px;
      margin: 0 auto;
      width: 100%;
      padding: 0 24px;
    }

    .career-background {
      position: absolute;
      inset: 0;
      pointer-events: none;
      overflow: hidden;
      z-index: 0;
    }

    .circle-1 {
      top: -40px;
      left: -40px;
      width: 240px;
      height: 240px;
      background: rgba(139,92,246,0.24);
    }

    .circle-2 {
      top: 10%;
      right: -90px;
      width: 280px;
      height: 280px;
      background: rgba(79,70,229,0.16);
    }

    .circle-3 {
      bottom: -60px;
      left: 30%;
      width: 220px;
      height: 220px;
      background: rgba(168,85,247,0.16);
    }

    .career-education-header {
      position: relative;
      z-index: 1;
      display: flex;
      flex-direction: column;
      gap: 10px;
      margin-bottom: 46px;
    }

    .section-subtitle {
      color: #c4b5fd;
      letter-spacing: 0.28em;
      font-size: 0.82rem;
      font-weight: 700;
      text-transform: uppercase;
    }

    .section-title {
      font-family: 'Syne', sans-serif;
      font-size: clamp(2.4rem, 4vw, 3.4rem);
      font-weight: 800;
      line-height: 1.05;
      color: #f8f8ff;
      max-width: 780px;
      margin: 0;
    }

    .career-education-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 42px;
      align-items: start;
      position: relative;
      z-index: 1;
      max-width: 1060px;
      margin: 0 auto;
    }

    .timeline-column {
      display: flex;
      flex-direction: column;
      gap: 22px;
      position: relative;
      width: 100%;
    }

    .column-title-group {
      display: flex;
      flex-direction: column;
      gap: 10px;
      position: relative;
      z-index: 1;
      width: 100%;
    }

    .column-label {
      color: #c4b5fd;
      font-size: 0.82rem;
      font-weight: 700;
      letter-spacing: 0.22em;
      text-transform: uppercase;
    }

    .column-title {
      margin: 0;
      color: #f8f8ff;
      font-family: 'Syne', sans-serif;
      font-size: clamp(2rem, 2.4vw, 3rem);
      font-weight: 500;
      line-height: 1.05;
    }

    .timeline-track {
      position: relative;
      padding-left: 0;
      z-index: 1;
      display: flex;
      flex-direction: column;
      gap: 22px;
      width: 100%;
    }

    .timeline-line {
      display: none;
    }

    .timeline-item {
      position: relative;
      margin-bottom: 0;
      opacity: 0;
      transform: translateY(30px);
      transition: opacity 0.75s ease, transform 0.75s ease;
    }

    .timeline-item:nth-child(odd) {
      transform: translateX(-22px) translateY(30px);
    }

    .timeline-item:nth-child(even) {
      transform: translateX(22px) translateY(30px);
    }

    .timeline-item.visible {
      opacity: 1;
      transform: translateX(0) translateY(0);
    }

    .timeline-dot {
      display: none;
    }

    .timeline-item.visible .timeline-dot,
    .timeline-item:hover .timeline-dot {
      opacity: 1;
      transform: scale(1);
      box-shadow: 0 0 22px rgba(139,92,246,0.85), 0 0 0 8px rgba(139,92,246,0.12);
    }

    .glass-card {
      position: relative;
      background: rgba(255,255,255,0.04);
      border: 1px solid rgba(255,255,255,0.1);
      border-radius: 22px;
      padding: 24px;
      backdrop-filter: blur(18px);
      box-shadow: 0 24px 80px rgba(0,0,0,0.22);
      transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
      overflow: hidden;
      z-index: 1;
      min-height: 100%;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }

    .glass-card::before {
      content: '';
      position: absolute;
      inset: 0;
      border-radius: 22px;
      background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.01));
      mix-blend-mode: screen;
      pointer-events: none;
    }

    .glass-card:hover {
      transform: translateY(-8px);
      border-color: rgba(139,92,246,0.45);
      box-shadow: 0 34px 100px rgba(95,45,225,0.24);
    }

    .glass-card:hover .icon-box {
      transform: rotate(5deg) scale(1.02);
    }

    .glass-card:hover .badge {
      background: rgba(139,92,246,0.25);
      color: #f5efff;
    }

    .icon-box {
      width: 48px;
      height: 48px;
      min-width: 48px;
      display: grid;
      place-items: center;
      border-radius: 16px;
      background: rgba(139,92,246,0.14);
      border: 1px solid rgba(139,92,246,0.24);
      box-shadow: inset 0 0 16px rgba(139,92,246,0.14);
      color: #f8f8ff;
      transition: transform 0.3s ease;
      z-index: 1;
    }

    .icon-box .icon {
      width: 22px;
      height: 22px;
      color: currentColor;
    }

    .timeline-date {
      color: rgba(255,255,255,0.6);
      font-size: 0.82rem;
      font-weight: 600;
      margin-bottom: 4px;
      display: inline-flex;
      align-items: center;
    }

    .timeline-item h4 {
      margin: 0;
      font-family: 'Syne', sans-serif;
      font-size: clamp(1.3rem, 1.5vw, 1.8rem);
      font-weight: 700;
      color: #f8f8ff;
      line-height: 1.2;
    }

    .timeline-subtitle {
      margin: 0;
      color: rgba(255,255,255,0.72);
      font-size: 0.95rem;
      line-height: 1.5;
      display: block;
    }

    .timeline-description {
      margin: 14px 0 0;
      color: rgba(255,255,255,0.63);
      line-height: 1.8;
      font-size: 0.95rem;
    }

    .badge {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 6px 14px;
      border-radius: 999px;
      font-size: 0.78rem;
      font-weight: 700;
      background: rgba(139,92,246,0.16);
      color: #c4b5fd;
      border: 1px solid rgba(139,92,246,0.24);
      white-space: nowrap;
      align-self: center;
    }

    .growth-card {
      grid-column: 1 / -1;
      margin-top: 36px;
      padding: 32px 34px;
      border-radius: 22px;
      background: rgba(255,255,255,0.03);
      border: 1px solid rgba(255,255,255,0.08);
      backdrop-filter: blur(20px);
      box-shadow: 0 30px 90px rgba(0,0,0,0.2);
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
      flex-wrap: wrap;
      opacity: 0;
      transform: translateY(24px);
      transition: opacity 0.8s ease, transform 0.8s ease;
      z-index: 1;
    }

    .growth-card.visible {
      opacity: 1;
      transform: translateY(0);
    }

    .growth-copy h3 {
      margin: 0 0 10px;
      font-family: 'Syne', sans-serif;
      font-size: 1.85rem;
      color: #f8f8ff;
      line-height: 1.05;
    }

    .growth-copy p {
      margin: 0;
      color: rgba(255,255,255,0.68);
      line-height: 1.75;
      font-size: 1rem;
    }

    .skill-badges {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      justify-content: flex-end;
    }

    .skill-badge {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 10px 18px;
      border-radius: 999px;
      background: rgba(139,92,246,0.14);
      border: 1px solid rgba(139,92,246,0.25);
      color: #ede9fe;
      font-size: 0.9rem;
      font-weight: 700;
      min-width: 150px;
      text-align: center;
    }

    .animate-item {
      opacity: 0;
      transform: translateY(28px);
      transition: opacity 0.7s ease, transform 0.7s ease;
    }

    .animate-item.visible {
      opacity: 1;
      transform: translateY(0);
    }

    .animate-item > * {
      opacity: 0;
      transform: translateY(16px);
      transition: opacity 0.7s ease, transform 0.7s ease;
    }

    .animate-item.visible > * {
      opacity: 1;
      transform: translateY(0);
    }

    .animate-item svg,
    .animate-item span,
    .animate-item h1,
    .animate-item h2,
    .animate-item h3,
    .animate-item p,
    .animate-item .contact-text,
    .animate-item .project-card {
      opacity: 0;
      transform: translateY(10px) scale(0.98);
      transition: opacity 0.75s ease, transform 0.75s ease;
    }

    .animate-item.visible svg,
    .animate-item.visible span,
    .animate-item.visible h1,
    .animate-item.visible h2,
    .animate-item.visible h3,
    .animate-item.visible p,
    .animate-item.visible .contact-text,
    .animate-item.visible .project-card {
      opacity: 1;
      transform: translateY(0) scale(1);
    }

    @media (max-width: 1024px) {
      .career-education-grid {
        grid-template-columns: 1fr;
      }

      .timeline-track {
        padding-left: 44px;
      }

      .timeline-line {
        left: 22px;
      }

      .timeline-dot {
        left: 18px;
      }

      .growth-card {
        justify-content: center;
      }

      .skill-badges {
        justify-content: center;
      }
    }

    @media (max-width: 680px) {
      .career-education-shell {
        padding: 0 16px;
      }

      .career-education-grid {
        max-width: calc(100vw - 32px);
        width: 100%;
        margin: 0 auto;
      }

      .timeline-column {
        width: 100%;
        max-width: calc(100vw - 32px);
        align-items: center;
        margin: 0 auto;
      }

      .column-title-group {
        width: 100%;
        max-width: calc(100vw - 32px);
        margin: 0 auto;
      }

      .career-column .column-title {
        margin-left: 0;
      }

      .section-title {
        font-size: 2.4rem;
      }

      .timeline-track {
        width: 100%;
        max-width: calc(100vw - 32px);
        padding-left: 28px;
        margin: 0 auto;
      }

      .timeline-line {
        left: 16px;
      }

      .timeline-dot {
        left: 12px;
      }

      .glass-card {
        width: 100%;
        max-width: calc(100vw - 32px);
        padding: 20px;
        margin: 0 auto;
        box-sizing: border-box;
      }

      .column-title {
        font-size: 1.55rem;
      }

      .growth-card {
        padding: 28px;
      }

      .skill-badge {
        min-width: auto;
      }
    }

    @media (max-width: 980px) {
      .timeline-modal-panel {
        width: min(92vw, 760px);
        max-height: 88vh;
      }
    }
    @media (max-width: 640px) {
      .hero-container {
        flex-direction: column-reverse;
        gap: 28px;
        align-items: center;
        text-align: center;
      }
      .hero-content {
        align-items: center;
        text-align: center;
      }
      .hero-content h1 {
        white-space: normal;
      }
      .timeline-item .timeline-content {
        width: auto;
        margin-left: 0;
        padding: 18px 18px;
      }
      .timeline-modal-panel {
        width: min(96vw, 560px);
        max-height: 92vh;
        padding: 24px;
      }
    }
  /* ------------------------------------------------- Carousel Section ----------------------------------------------------------*/
    
    .projects-section {
      flex-direction: column;
      gap: 40px;
      padding-top: 80px;
    }
    .career-education-section {
      flex-direction: column;
      gap: 40px;
      padding-top: 80px;
    }
    .projects-shell,
    .skills-container,
    .contact-container {
      position: relative;
      width: 100%;
      max-width: 1100px;
      display: flex;
      flex-direction: column;
      gap: 34px;
      padding: 36px;
      background: transparent;
      border: none;
      box-shadow: none;
      backdrop-filter: none;
      overflow: visible;
    }
    .projects-intro {
      text-align: center;
      display: flex;
      flex-direction: column;
      gap: 6px;
    }
    .carousel-title {
      font-family: 'Syne', sans-serif;
      font-size: 2.5rem;
      font-weight: 700;
      text-align: center;
      margin: 0;
    }
    .skills-title {
      font-family: 'Syne', sans-serif;
      font-size: 2.5rem;
      font-weight: 700;
      text-align: center;
      margin: 0;
    }
    .section-description {
      font-family: 'Space Grotesk', sans-serif;
      font-size: 1.05rem;
      font-weight: 400;
      color: rgba(255, 255, 255, 0.75);
      max-width: 600px;
      margin: 0 auto;
      line-height: 1.6;
      letter-spacing: 0.3px;
    }
    .projects-copy {
      max-width: 700px;
      margin: 0 auto;
      color: rgba(255,255,255,0.78);
      line-height: 1.7;
      font-size: 1rem;
    }
    .project-card-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 24px;
    }
    .project-card {
      background: rgba(255,255,255,0.03);
      border: 1px solid rgba(255,255,255,0.08);
      border-radius: 24px;
      padding: 28px;
      text-align: left;
      color: #ffffff;
      cursor: pointer;
      transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
      box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    }
    .project-card:hover,
    .project-card:focus-visible {
      transform: translateY(-6px);
      border-color: rgba(167, 139, 250, 0.45);
      background: rgba(167, 139, 250, 0.12);
      outline: none;
    }
    .project-card h3 {
      font-family: 'Syne', sans-serif;
      font-size: 1.2rem;
      font-weight: 600;
      margin: 0 0 8px;
    }
    .project-card p {
      margin: 0;
      color: rgba(255,255,255,0.72);
      line-height: 1.6;
      font-size: 0.95rem;
    }

    /* ------------------------------------------------- Animated Project Showcase -----------------------------------------------------*/

    .project-deck {
      display: grid;
      grid-template-columns: repeat(12, minmax(0, 1fr));
      grid-auto-flow: dense;
      gap: clamp(0.75rem, 1.5vw, 1.3rem);
      width: 100%;
    }

    .project-card {
      position: relative;
      min-width: 0;
      min-height: 270px;
      overflow: hidden;
      border: 0;
      border-radius: 2px;
      cursor: pointer;
      text-align: left;
      isolation: isolate;
      background: rgba(23, 37, 31, 0.04);
      box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
      transition: box-shadow 260ms ease, outline-color 260ms ease, transform 260ms ease;
      animation: deckReveal 680ms both;
      padding: 0;
      font-family: 'Space Grotesk', sans-serif;
      background: linear-gradient(135deg, rgba(15, 15, 18, 0.95), rgba(20, 20, 25, 0.92));
    }

    .project-card:nth-child(1) { grid-column: span 5; grid-row: span 2; min-height: 540px; animation-delay: 80ms; }
    .project-card:nth-child(2) { grid-column: span 4; animation-delay: 150ms; }
    .project-card:nth-child(3) { grid-column: span 3; animation-delay: 220ms; }

    .project-card:hover,
    .project-card:focus-visible,
    .project-card.is-featured {
      box-shadow: 0 18px 42px rgba(0, 0, 0, 0.45);
      outline: 3px solid rgba(167, 139, 250, 0.85);
      outline-offset: 3px;
      transform: translateY(-2px);
    }

    .project-card:focus-visible { outline-color: #264b3d; }

    .project-image {
      width: 100%;
      height: 100%;
      position: absolute;
      inset: 0;
      object-fit: cover;
      transition: transform 650ms cubic-bezier(.2,.7,.2,1), filter 500ms ease;
      display: block;
    }

    .project-card:hover .project-image,
    .project-card:focus-visible .project-image,
    .project-card.is-featured .project-image {
      transform: scale(1.065);
      filter: saturate(1.1);
    }

    .project-shade {
      position: absolute;
      inset: 0;
      z-index: 1;
      background: linear-gradient(to top, rgba(10, 10, 12, 0.95) 0%, rgba(15, 15, 18, 0.5) 47%, rgba(20, 20, 25, 0.05) 76%);
    }

    .project-meta {
      position: absolute;
      z-index: 2;
      inset: auto 0 0;
      padding: 1.2rem;
      color: #ffffff;
      transform: translateY(2.7rem);
      transition: transform 420ms cubic-bezier(.2,.8,.2,1);
      display: flex;
      flex-direction: column;
      gap: 0.35rem;
    }

    .project-card:not(.is-featured) .project-meta {
      padding-top: 0.95rem;
      padding-bottom: 0.95rem;
    }

    .project-card:nth-child(2) .project-meta,
    .project-card:nth-child(3) .project-meta {
      transition: transform 180ms cubic-bezier(.2,.8,.2,1);
      padding-bottom: 1.5rem;
    }

    .project-card:hover .project-meta,
    .project-card:focus-visible .project-meta,
    .project-card.is-featured .project-meta {
      transform: translateY(0);
    }

    .project-type {
      display: block;
      margin-bottom: 0;
      color: #a78bfa;
      font-size: 0.68rem;
      font-weight: 700;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      font-family: 'Space Grotesk', sans-serif;
      height: auto;
    }

    .project-card:nth-child(2) .project-type,
    .project-card:nth-child(3) .project-type {
      font-size: 0.62rem;
      opacity: 0;
      transition: opacity 260ms ease 70ms;
      visibility: hidden;
      height: 0;
      overflow: hidden;
      margin: 0;
    }

    .project-card:nth-child(2):hover .project-type,
    .project-card:nth-child(2):focus-visible .project-type,
    .project-card:nth-child(3):hover .project-type,
    .project-card:nth-child(3):focus-visible .project-type,
    .project-card:nth-child(2).is-featured .project-type,
    .project-card:nth-child(3).is-featured .project-type {
      opacity: 1;
      visibility: visible;
      height: auto;
    }

    .project-name {
      font-family: 'Syne', 'Space Grotesk', sans-serif;
      font-size: clamp(1.4rem, 2vw, 2.25rem);
      font-weight: 700;
      line-height: 1;
      letter-spacing: -0.045em;
      color: #ffffff;
    }

    .project-card:nth-child(2) .project-name,
    .project-card:nth-child(3) .project-name {
      font-size: clamp(0.9rem, 1.1vw, 1.3rem);
    }

    .project-name-row {
      display: flex;
      align-items: center;
      gap: 0.85rem;
      flex-wrap: nowrap;
    }

    .project-card:nth-child(2) .project-name-row,
    .project-card:nth-child(3) .project-name-row {
      opacity: 0;
      transition: opacity 260ms ease 70ms;
      visibility: hidden;
      height: 0;
      overflow: hidden;
      margin: 0;
    }

    .project-card:nth-child(2):hover .project-name-row,
    .project-card:nth-child(2):focus-visible .project-name-row,
    .project-card:nth-child(3):hover .project-name-row,
    .project-card:nth-child(3):focus-visible .project-name-row,
    .project-card:nth-child(2).is-featured .project-name-row,
    .project-card:nth-child(3).is-featured .project-name-row {
      opacity: 1;
      visibility: visible;
      height: auto;
    }

    .project-description {
      max-width: 30rem;
      margin-top: 0.85rem;
      font-size: 0.86rem;
      line-height: 1.45;
      opacity: 0;
      color: rgba(255, 255, 255, 0.9);
      transform: translateY(0.6rem);
      transition: opacity 260ms ease 70ms, transform 360ms ease 70ms, max-height 300ms ease;
      font-family: 'Space Grotesk', sans-serif;
      display: none;
      max-height: 0;
      overflow: hidden;
    }

    .project-card:hover .project-description,
    .project-card:focus-visible .project-description,
    .project-card.is-featured .project-description {
      opacity: 1;
      transform: translateY(0);
      display: block;
      max-height: 240px;
    }

    .project-card:not(.is-featured) .project-description {
      display: none;
      max-height: 0;
    }

    .play-demo {
      position: relative;
      z-index: 3;
      right: auto;
      bottom: auto;
      top: auto;
      left: auto;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      min-height: 42px;
      padding: 0.7rem 1rem 0.75rem;
      border: 1px solid rgba(167, 139, 250, 0.85);
      border-radius: 999px;
      background: rgba(30, 25, 45, 0.6);
      color: #ffffff;
      font-size: 0.76rem;
      font-weight: 700;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      backdrop-filter: blur(8px);
      cursor: pointer;
      transition: transform 220ms ease, background 220ms ease, border-color 220ms ease;
      font-family: 'Space Grotesk', sans-serif;
      flex-shrink: 0;
      line-height: 1;
    }

    .project-card:nth-child(2) .play-demo,
    .project-card:nth-child(3) .play-demo {
      min-height: 36px;
      padding: 0.5rem 0.8rem;
      font-size: 0.65rem;
    }

    .play-demo:hover,
    .play-demo:focus-visible {
      background: rgba(167, 139, 250, 0.15);
      color: #ffffff;
      border-color: rgba(167, 139, 250, 0.95);
      transform: translateY(0) scale(1);
      outline: none;
    }

    .play-demo::before {
      content: "▶";
      font-size: 0.7rem;
    }

    @keyframes deckReveal {
      from { opacity: 0; transform: translateY(24px) rotate(-1deg); }
      to { opacity: 1; transform: translateY(0) rotate(0); }
    }

    @media (max-width: 760px) {
      .project-deck {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1rem;
        width: 100%;
        max-width: calc(100vw - 32px);
        margin: 0 auto;
        overflow: visible;
        padding: 0;
      }

      .project-card:nth-child(n) {
        width: 100%;
        max-width: calc(100vw - 32px);
        grid-column: auto;
        grid-row: auto;
        min-height: min(78vw, 360px);
        flex: none;
        margin: 0 auto;
      }

      .project-card:nth-child(1) {
        min-height: min(78vw, 360px);
      }

      .project-meta { transform: translateY(0); }
      .project-description { opacity: 1; transform: translateY(0); }
      .play-demo { right: 0.75rem; bottom: 0.75rem; }

      .stack-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.8rem;
        width: 100%;
        max-width: calc(100vw - 32px);
        margin: 0 auto;
        overflow: visible;
        padding: 0;
      }

      .stack-card {
        width: 100%;
        min-width: 0;
        max-width: 100%;
      }
    }

    @media (prefers-reduced-motion: reduce) {
      .project-card,
      .project-image,
      .project-meta,
      .project-description,
      .play-demo {
        animation-duration: 1ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 1ms !important;
      }
    }

    .demo-modal .modal-content {
      width: min(100%, 980px);
      max-height: 84vh;
      padding: 1.5rem;
    }

    .demo-modal-header {
      display: flex;
      align-items: center;
      flex-direction: column;
      gap: 1rem;
      margin-bottom: 1rem;
      text-align: center;
    }

    .demo-modal-title-wrap {
      display: flex;
      flex-direction: column;
      gap: 0.45rem;
      flex: 1;
      text-align: center;
    }

    .demo-modal-header h3 {
      margin: 0;
      font-size: clamp(1.8rem, 3vw, 2.6rem);
      line-height: 1.1;
    }

    .demo-stack {
      color: rgba(255, 255, 255, 0.67);
      font-size: 0.73rem;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      font-weight: 600;
    }

    .demo-video-wrap {
      position: relative;
      overflow: hidden;
      border-radius: 18px;
      background: rgba(0, 0, 0, 0.3);
      border: 1px solid rgba(255,255,255,0.08);
    }

    .demo-video-wrap video {
      display: block;
      width: 100%;
      max-height: 70vh;
      background: #000000;
      aspect-ratio: 16 / 9;
    }

/* ------------------------------------------------- Project Modal Section -------------------------------------------------------*/
    
    .project-modal {
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,0.92);
      z-index: 200;
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.38s ease, visibility 0.38s ease;
      padding: 24px;
      box-sizing: border-box;
    }

    .modal-open {
      overflow: hidden;
    }

    .timeline-modal-glow {
      position: fixed;
      inset: 20%;
      pointer-events: none;
      background: radial-gradient(circle, rgba(139,92,246,0.16) 0%, transparent 55%);
      filter: blur(60px);
      z-index: 190;
    }

    @media (max-width: 900px) {
      .timeline-modal-glow {
        inset: 12%;
      }
    }
    .project-modal.visible {
      opacity: 1;
      visibility: visible;
    }
    .modal-content {
      position: relative;
      width: min(100%, 1000px);
      max-width: calc(100vw - 48px);
      max-height: 80vh;
      overflow-y: auto;
      border-radius: 24px;
      padding: 36px;
      border: 1px solid rgba(255,255,255,0.1);
      background: linear-gradient(145deg, rgba(20,20,30,0.98), rgba(12,12,20,0.96));
      box-shadow: 0 24px 60px rgba(0,0,0,0.5);
      transform: scale(0.94);
      opacity: 0;
      transition: transform 0.42s cubic-bezier(0.2, 0.9, 0.2, 1), opacity 0.34s ease;
      box-sizing: border-box;
    }
    .project-modal.visible .modal-content {
      transform: scale(1);
      opacity: 1;
    }
    .modal-header {
      margin-bottom: 24px;
    }
    .cv-modal-header {
      display: flex;
      flex-direction: row;
      align-items: center;
      justify-content: flex-start;
      gap: 50px;
    }
    .modal-badge {
      display: inline-flex;
      align-items: center;
      padding: 6px 12px;
      border-radius: 999px;
      background: rgba(167, 139, 250, 0.16);
      color: #a78bfa;
      font-size: 0.8rem;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      margin-bottom: 12px;
    }
    .modal-header h3 {
      font-family: 'Syne', sans-serif;
      font-size: 1.7rem;
      font-weight: 600;
      margin: 0 0 0 30px;
    }
    .modal-header p {
      margin: 0;
      color: rgba(255,255,255,0.78);
      line-height: 1.7;
      max-width: 720px;
    }
    .modal-grid {
      display: grid;
      gap: 18px;
    }
    .modal-item {
      display: grid;
      grid-template-columns: 180px 1fr;
      gap: 18px;
      padding: 16px;
      border-radius: 18px;
      background: rgba(255,255,255,0.03);
      border: 1px solid rgba(255,255,255,0.08);
    }
    .modal-item.media-first {
      grid-template-columns: 1fr;
    }
    .modal-thumb {
      min-height: 140px;
      border-radius: 16px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: linear-gradient(135deg, rgba(167, 139, 250, 0.25), rgba(99, 102, 241, 0.16));
      border: 1px solid rgba(167, 139, 250, 0.16);
      padding: 16px;
    }
    .modal-thumb-inner {
      text-align: center;
      color: #ffffff;
    }
    .modal-thumb-inner span {
      display: inline-block;
      padding: 6px 10px;
      border-radius: 999px;
      background: rgba(255,255,255,0.12);
      font-size: 0.75rem;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      margin-bottom: 8px;
    }
    .modal-thumb-inner strong {
      display: block;
      font-family: 'Syne', sans-serif;
      font-size: 1rem;
    }
    .modal-item-body h4 {
      font-family: 'Syne', sans-serif;
      font-size: 1.05rem;
      margin: 0 0 8px;
    }
    .modal-item-body p {
      margin: 0 0 0px;
      color: rgba(255,255,255,0.72);
      line-height: 1.6;
      font-size: 0.95rem;
    }
    .modal-tech-list {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin: 10px 0 12px;
    }
    .modal-tech-list span {
      padding: 6px 10px;
      border-radius: 999px;
      background: rgba(167, 139, 250, 0.16);
      color: #a78bfa;
      font-size: 0.78rem;
      font-weight: 700;
      letter-spacing: 0.04em;
      text-transform: uppercase;
    }
    .modal-media {
      margin: 12px 0 12px;
    }
    .modal-media-frame {
      overflow: hidden;
      border-radius: 16px;
      border: 1px solid rgba(255,255,255,0.1);
      background: #000;
      aspect-ratio: 16 / 9;
    }
    .modal-media-frame iframe {
      width: 100%;
      height: 100%;
      border: 0;
      display: block;
    }
    .modal-media-button {
      width: 100%;
      border: 1px solid rgba(255,255,255,0.1);
      border-radius: 16px;
      overflow: hidden;
      background: transparent;
      padding: 0;
      cursor: pointer;
    }
    .modal-media-button img {
      width: 100%;
      height: 180px;
      object-fit: cover;
      display: block;
    }
    .modal-item-body a {
      display: inline-flex;
      align-items: center;
      color: #a78bfa;
      font-weight: 600;
      text-decoration: none;
      margin-top: 1px;
    }
    .cv-preview img {
      width: 100%;
      height: auto;
      border-radius: 18px;
      border: 1px solid rgba(255,255,255,0.12);
      display: block;
    }
    .cv-actions {
      margin-top: 10px;
      display: flex;
      justify-content: flex-end;
    }
    .cv-download-button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 3px 18px;
      border-radius: 800px;
      border: 1px solid rgba(167,139,250,0.32);
      background: linear-gradient(180deg, rgba(24,16,38,0.6), rgba(24,16,38,0.4));
      color: #fff;
      text-decoration: none;
      font-weight: 700;
      transition: background 0.22s ease, transform 0.18s ease, box-shadow 0.18s ease;
      box-shadow: 0 6px 18px rgba(139,92,246,0.08);
    }
    .cv-download-button:hover {
      background: linear-gradient(180deg, rgba(139,92,246,0.22), rgba(99,102,241,0.16));
      transform: translateY(-2px);
      box-shadow: 0 10px 28px rgba(139,92,246,0.12);
    }

    .project-modal.cv-modal {
      backdrop-filter: blur(6px) saturate(120%);
    }
    .project-modal.cv-modal .modal-content {
      max-height: 96vh;
      overflow-y: auto;
      padding: 28px;
      width: min(100%, 600px);
    }
    .project-modal.cv-modal .cv-preview {
      display: block;
      padding: 0px 0 0;
      max-height: calc(96vh - 140px);
      overflow-y: auto;
      text-align: center;
    }
    .project-modal.cv-modal .cv-card {
      background: #ffffff;
      border-radius: 18px;
      padding: 18px;
      box-shadow: 0 30px 80px rgba(0,0,0,0.6);
      display: inline-block;
    }
    .project-modal.cv-modal .cv-card img {
      display: block;
      width: auto;
      max-width: 720px;
      max-height: calc(96vh - 180px);
      object-fit: contain;
      border-radius: 12px;
    }
    .media-preview-overlay {
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,0.9);
      z-index: 300;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 24px;
    }
    .media-preview-card {
      position: relative;
      width: min(100%, 900px);
      background: rgba(10,10,15,0.95);
      border-radius: 24px;
      overflow: hidden;
      border: 1px solid rgba(255,255,255,0.12);
      box-shadow: 0 20px 60px rgba(0,0,0,0.6);
    }
    .media-preview-card img {
      width: 100%;
      max-height: 80vh;
      object-fit: contain;
      display: block;
    }
    .media-preview-close {
      position: absolute;
      top: 12px;
      right: 12px;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      border: none;
      background: rgba(255,255,255,0.15);
      color: #fff;
      font-size: 1.3rem;
      cursor: pointer;
    }
    .modal-close {
      position: absolute;
      top: 16px;
      right: 16px;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background: rgba(255,255,255,0.1);
      border: none;
      color: white;
      cursor: pointer;
      font-size: 1.45rem;
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 10;
    }

    /* ------------------------------------------------- Skill Section ----------------------------------------------------------*/

    .skills-container {
      max-width: 1100px;
      width: 100%;
      text-align: center;
    }
    .skills-title {
      font-family: 'Syne', sans-serif;
      font-size: 2.5rem;
      font-weight: 700;
      margin-bottom: 40px;
    }
    .stack-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 22px;
      align-items: stretch;
    }
    .stack-card {
      background: rgba(255,255,255,0.03);
      border: 1px solid rgba(255,255,255,0.08);
      border-radius: 22px;
      padding: 22px 20px 18px;
      text-align: left;
      transition: all 0.35s ease;
      box-shadow: 0 10px 30px rgba(0,0,0,0.14);
    }
    .stack-card--frontend {
      --stack-accent: #a78bfa;
      --stack-accent-soft: rgba(167, 139, 250, 0.14);
    }
    .stack-card--backend {
      --stack-accent: #8b5cf6;
      --stack-accent-soft: rgba(139, 92, 246, 0.14);
    }
    .stack-card--devops {
      --stack-accent: #c084fc;
      --stack-accent-soft: rgba(192, 132, 252, 0.14);
    }
    .stack-card--ppc {
      --stack-accent: #ff7a18;
      --stack-accent-soft: rgba(255, 122, 24, 0.16);
    }
    .stack-card:hover {
      background: var(--stack-accent-soft);
      border-color: var(--stack-accent);
      transform: translateY(-6px);
      box-shadow: 0 18px 50px rgba(99, 102, 241, 0.12);
    }
    .stack-card-header {
      margin-bottom: 16px;
      padding-bottom: 12px;
      border-bottom: 1px solid rgba(255,255,255,0.08);
    }
    .stack-card-header h3 {
      margin: 0;
      font-family: 'Syne', sans-serif;
      font-size: 1.2rem;
      font-weight: 700;
      color: #f5f3ff;
      letter-spacing: 0.04em;
    }
    .stack-list {
      list-style: none;
      padding: 0;
      margin: 0;
      display: grid;
      grid-template-columns: 1fr;
      gap: 8px;
    }
    .stack-list li {
      background: rgba(255,255,255,0.04);
      border: 1px solid rgba(255,255,255,0.08);
      border-radius: 12px;
      padding: 9px 12px;
      font-size: 0.78rem;
      font-weight: 600;
      line-height: 1.35;
      color: rgba(255,255,255,0.86);
      letter-spacing: 0.02em;
      transition: all 0.25s ease;
    }
    .stack-card:hover .stack-list li {
      background: rgba(255,255,255,0.06);
      border-color: var(--stack-accent);
      color: #ffffff;
      box-shadow: 0 0 0 1px rgba(255,255,255,0.02), 0 8px 20px rgba(0,0,0,0.12);
    }
    .stack-card:hover .stack-list li:hover {
      background: var(--stack-accent-soft);
      border-color: var(--stack-accent);
      color: #fff;
      transform: translateX(4px);
      box-shadow: 0 0 16px rgba(255,255,255,0.06), 0 10px 26px rgba(0,0,0,0.16);
    }

    /* -------------------------------------------------Contact Section ----------------------------------------------------------*/
    
    #section4 {
      padding-top: 0 !important;
    }

    .contact-container {
      margin-top: 0px;
      max-width: 800px;
      width: 100%;
      text-align: center;
    }
    .contact-title {
      font-family: 'Syne', sans-serif;
      margin-top: 0px;
      font-size: 2.5rem;
      font-weight: 700;
    }
    .contact-cta {
      max-width: 720px;
      margin: 6px auto 12px;
      text-align: center;
      color: rgba(255,255,255,0.82);
      font-size: 1.05rem;
      line-height: 1.6;
    }

    .contact-info {
      display: flex;
      justify-content: center;
      gap: 20px;
      margin-bottom: 50px;
    }
    .contact-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 12px;
    }
    .contact-item svg {
      width: 32px;
      height: 32px;
      color: #a78bfa;
    }
    .contact-item span {
      font-size: 1rem;
      color: rgba(255,255,255,0.8);
    }
    .contact-item .contact-box {
      display: grid;
      grid-template-columns: 72px 1fr;
      align-items: center;
      gap: 0px;
      background: rgba(255,255,255,0.03);
      padding: 10px 18px;
      border-radius: 12px;
      border: 1px solid rgba(255,255,255,0.06);
      box-shadow: 0 8px 30px rgba(0,0,0,0.5);
      width: 320px;
      margin-top: 30px;
    }
    .contact-item .contact-box {
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .contact-item .contact-box:hover {
      transform: translateY(-4px) scale(1.03);
      box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
      background: rgba(167, 139, 250, 0.1); /* subtle purple tint */
    }
    .contact-item .contact-box svg { justify-self: center; }
    .contact-item .contact-box span { margin: 0; color: rgba(255,255,255,0.9); text-align: left; display: inline-block; }
    .contact-text { display: flex; flex-direction: column; align-items: flex-start; }
    .contact-label { font-size: 0.75rem; color: rgba(255,255,255,0.65); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 4px; text-align: left; }
    .contact-value { font-size: 1rem; color: rgba(255,255,255,0.95); font-weight: 600; text-align: left; }

    @media (max-width: 768px) {
      .contact-info { flex-direction: column; gap: 18px; }
      .contact-item .contact-box { grid-template-columns: 48px 1fr; width: auto; padding: 12px 16px; }
      .contact-item .contact-box svg { justify-self: start; }
    }
    .social-links {
      display: flex;
      justify-content: center;
      gap: 14px;
      margin-top: 20px;
      flex-wrap: nowrap;
    }
    .social-links a,
    .social-links .social-link-button {
      width: auto;
      height: auto;
      min-width: 46px;
      min-height: 46px;
      padding: 12px 18px;
      border-radius: 50px;
      background: rgba(255,255,255,0.05);
      border: 1px solid rgba(255,255,255,0.1);
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.3s ease;
      color: rgba(255,255,255,0.8);
      font-weight: 700;
      min-width: 0;
      flex-shrink: 1;
    }
    .social-links a:hover,
    .social-links .social-link-button:hover {
      background: rgba(167, 139, 250, 0.2);
      border-color: #a78bfa;
      transform: translateY(-3px);
    }
    .social-links svg {
      width: 24px;
      height: 24px;
      color: rgba(255,255,255,0.8);
      flex-shrink: 0;
    }
    .social-links button {
      border: 1px solid rgba(255,255,255,0.1);
      background: rgba(255,255,255,0.05);
    }
    .social-link-text {
      font-size: 0.82rem;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.95);
      white-space: nowrap;
    }
    .social-links a:hover,
    .social-links button:hover {
      background: rgba(167, 139, 250, 0.2);
      border-color: #a78bfa;
      transform: translateY(-3px);
    }

    #openPPCModal:hover {
      background: rgba(255, 122, 24, 0.32);
      border-color: #ff7a18;
      color: #ffffff;
      box-shadow: 0 0 18px rgba(255, 122, 24, 0.2);
    }
    .social-links svg {
      width: 24px;
      height: 24px;
      color: rgba(255,255,255,0.8);
    }
    .project-modal.cv-modal .modal-content {
      max-height: 95vh;
      overflow-y: auto;
      padding: 24px;
    }
    .project-modal.cv-modal .cv-preview img {
      width: auto;
      max-width: 100%;
      max-height: calc(95vh - 120px);
      object-fit: contain;
      display: block;
      margin: 0 auto;
    }

    /* ------------------------------------------------- Licenses Modal ----------------------------------------------------------*/
    
    .project-modal.licenses-modal .modal-content {
      max-height: 90vh;
      overflow-y: auto;
      padding: 28px;
      width: min(100%, 900px);
    }

    .licenses-modal-header {
      margin-bottom: 28px;
      border-bottom: 1px solid rgba(255,255,255,0.1);
      padding-bottom: 20px;
    }

    .licenses-modal-header h3 {
      font-family: 'Syne', sans-serif;
      font-size: 1.8rem;
      font-weight: 700;
      margin: 0;
    }

    .licenses-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
      gap: 24px;
    }

    .license-card {
      background: rgba(255,255,255,0.04);
      border: 1px solid rgba(255,255,255,0.1);
      border-radius: 20px;
      padding: 24px;
      transition: all 0.3s ease;
    }

    .license-card:hover {
      background: rgba(167,139,250,0.1);
      border-color: rgba(167,139,250,0.3);
      transform: translateY(-4px);
      box-shadow: 0 12px 40px rgba(139,92,246,0.15);
    }

    .license-icon {
      width: 56px;
      height: 56px;
      background: rgba(139,92,246,0.2);
      border-radius: 14px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 16px;
      color: #a78bfa;
    }

    .license-icon svg {
      width: 32px;
      height: 32px;
    }

    .license-card h4 {
      font-family: 'Syne', sans-serif;
      font-size: 1.1rem;
      font-weight: 700;
      margin: 0 0 8px;
      color: #ffffff;
    }

    .license-issuer {
      margin: 0;
      color: #a78bfa;
      font-size: 0.9rem;
      font-weight: 600;
      margin-bottom: 8px;
    }

    .license-date {
      margin: 0;
      color: rgba(255,255,255,0.65);
      font-size: 0.85rem;
      margin-bottom: 12px;
    }

    .license-id {
      margin: 0;
      color: rgba(255,255,255,0.6);
      font-size: 0.8rem;
      font-family: monospace;
      word-break: break-all;
      margin-bottom: 12px;
    }

    .license-skills {
      margin: 0;
      color: rgba(255,255,255,0.72);
      font-size: 0.9rem;
      line-height: 1.5;
      margin-bottom: 16px;
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }

    .license-skills::before {
      content: "✓ ";
      color: #a78bfa;
      font-weight: 700;
    }

    .show-credential-btn {
      display: inline-flex;
      align-items: center;
      padding: 8px 16px;
      border-radius: 8px;
      background: rgba(167,139,250,0.15);
      border: 1px solid rgba(167,139,250,0.3);
      color: #a78bfa;
      text-decoration: none;
      font-weight: 600;
      font-size: 0.9rem;
      transition: all 0.2s ease;
      cursor: pointer;
    }

    .show-credential-btn:hover {
      background: rgba(167,139,250,0.25);
      border-color: rgba(167,139,250,0.5);
      transform: translateX(2px);
    }

    .show-credential-btn::after {
      content: " →";
      margin-left: 4px;
    }

    @media (max-width: 680px) {
      .project-modal.licenses-modal .modal-content {
        padding: 20px;
      }

      .licenses-grid {
        grid-template-columns: 1fr;
      }

      .license-card {
        padding: 20px;
      }
    }

    /* PPC Modal Styling */
    .ppc-modal .modal-content {
      width: min(100%, 900px);
      max-height: 85vh;
      padding: 2.5rem;
      overflow-y: auto;
    }

    .ppc-modal-header {
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 2rem;
      text-align: center;
    }

    .ppc-header-content {
      display: flex;
      flex-direction: column;
      gap: 0.75rem;
      max-width: 700px;
    }

    .ppc-modal-header h3 {
      font-family: 'Syne', sans-serif;
      font-size: 1.8rem;
      font-weight: 700;
      margin: 0;
      color: #ffffff;
    }

    .ppc-modal-description {
      font-family: 'Space Grotesk', sans-serif;
      font-size: 1rem;
      font-weight: 400;
      color: rgba(255, 255, 255, 0.78);
      margin: 0;
      line-height: 1.7;
      letter-spacing: 0.3px;
    }

    .ppc-cards-header {
      margin-bottom: 1.5rem;
      text-align: center;
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
      padding-bottom: 1rem;
    }

    .ppc-cards-header h4 {
      font-family: 'Syne', sans-serif;
      font-size: 1.3rem;
      font-weight: 600;
      margin: 0;
      color: #ffffff;
    }

    .ppc-video-cards {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 2rem;
      margin-top: 1.5rem;
    }

    .ppc-video-card {
      position: relative;
      border-radius: 18px;
      overflow: hidden;
      background: rgba(0, 0, 0, 0.3);
      border: 1px solid rgba(255, 255, 255, 0.1);
      transition: all 0.3s ease;
      cursor: pointer;
    }

    .ppc-video-card:hover {
      border-color: rgba(167, 139, 250, 0.5);
      box-shadow: 0 12px 32px rgba(139, 92, 246, 0.2);
      transform: translateY(-4px);
    }

    .ppc-video-card.is-playing,
    .ppc-video-card.is-playing:hover {
      border-color: rgba(255, 255, 255, 0.1);
      box-shadow: none;
      transform: none;
      cursor: default;
    }

    .ppc-card-content {
      position: relative;
      width: 100%;
      aspect-ratio: 16 / 9;
      overflow: hidden;
      background: #000;
    }

    .ppc-card-thumbnail {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .ppc-inline-video {
      position: absolute;
      inset: 0;
      z-index: 1;
      display: block;
      width: 100%;
      height: 100%;
      object-fit: contain;
      background: #000;
    }

    .ppc-video-card.is-playing .ppc-card-overlay {
      display: none;
      pointer-events: none;
    }

    .ppc-card-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(to top, rgba(10, 10, 12, 0.95) 0%, rgba(15, 15, 18, 0.5) 47%, rgba(20, 20, 25, 0.05) 76%);
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      align-items: center;
      padding: 1.5rem;
      opacity: 0;
      transition: opacity 0.3s ease;
    }

    .ppc-video-card:hover .ppc-card-overlay {
      opacity: 1;
    }

    .ppc-card-overlay::before {
      content: "▶";
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      font-size: 4rem;
      color: rgba(255, 255, 255, 0.9);
      opacity: 1;
      transition: opacity 0.3s ease;
      z-index: 2;
    }

    .ppc-video-card:hover .ppc-card-overlay::before {
      opacity: 0.7;
    }

    .ppc-card-description {
      font-family: 'Space Grotesk', sans-serif;
      font-size: 0.95rem;
      line-height: 1.5;
      color: rgba(255, 255, 255, 0.85);
      margin: 0;
      position: relative;
      z-index: 3;
      text-align: center;
    }

    @media (max-width: 768px) {
      .ppc-modal .modal-content {
        width: min(100%, 700px);
        padding: 1.5rem;
      }

      .ppc-modal-header h3 {
        font-size: 1.5rem;
      }

      .ppc-modal-description {
        font-size: 0.95rem;
      }

      .ppc-video-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
      }
    }

    /* PPC Video Player Modal */
    .ppc-video-modal {
      background: rgba(0, 0, 0, 0.98);
      z-index: 300;
    }

    .ppc-video-modal .modal-close {
      z-index: 400;
    }

    .ppc-video-player-wrap {
      position: relative;
      width: min(100%, 900px);
      max-width: calc(100vw - 48px);
      max-height: 85vh;
      aspect-ratio: 16 / 9;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto;
      padding: 2.5rem;
      box-sizing: border-box;
      border: 1px solid rgba(255,255,255,0.1);
      border-radius: 24px;
      background: linear-gradient(145deg, rgba(20,20,30,0.98), rgba(12,12,20,0.96));
      box-shadow: 0 24px 60px rgba(0,0,0,0.5);
      opacity: 0;
      transform: scale(0.96) translateY(20px);
      transition: opacity 0.32s ease, transform 0.42s cubic-bezier(0.2, 0.9, 0.2, 1);
    }

    .project-modal.visible .ppc-video-player-wrap,
    .project-modal.visible .demo-video-wrap {
      opacity: 1;
      transform: scale(1) translateY(0);
    }

    #ppcVideoPlayer {
      width: 100%;
      height: 100%;
      min-height: 0;
      object-fit: contain;
      background: #000;
    }

    @media (max-width: 768px) {
      .ppc-video-player-wrap {
        width: min(100%, 700px);
        padding: 1.5rem;
      }
    }

    .social-links button {
      border: 1px solid rgba(255,255,255,0.1);
      background: rgba(255,255,255,0.05);
    }
    .cv-button-label {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: -1px;
      overflow: hidden;
      clip: rect(0,0,0,0);
      border: 0;
    }

/* ------------------------------------------------- Responsive Side ----------------------------------------------------------*/
    
    @media (max-width: 768px) {
      .section {
        min-height: auto;
        padding: 96px 20px 72px;
        justify-content: flex-start;
        align-items: flex-start;
        scroll-margin-top: 96px;
      }
      .scroll-container > .section {
        min-height: auto;
      }
      .hero-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 24px;
      }
      .hero-image {
        width: min(260px, 70vw);
        height: min(260px, 70vw);
        margin: 0 auto;
      }
      .hero-content {
        width: 100%;
        margin-left: 0;
      }
      .hero-content h1 {
        margin-left: 0;
      }
      .hero-content .description {
        max-width: 100%;
        font-size: 0.98rem;
      }
      .timeline-container {
        max-width: 100%;
      }
      .projects-section {
        padding-top: 96px;
      }
      .project-card-grid {
        grid-template-columns: 1fr;
        gap: 16px;
      }
      .project-card {
        padding: 22px;
      }
      .skills-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
      }
      .skills-title {
        margin-bottom: 32px;
      }
      .contact-container {
        margin-top: 80px;
        padding-bottom: 32px;
      }
      .contact-info {
        flex-direction: column;
        gap: 30px;
      }
      .contact-item .contact-box {
        width: 100%;
        max-width: 100%;
        margin-top: 0;
      }
      .contact-value {
        overflow-wrap: anywhere;
      }
      .social-links {
        gap: 16px;
        flex-wrap: wrap;
      }
      .island {
        left: 50%;
        top: 14px;
        right: auto;
        width: auto;
        max-width: min(92vw, 420px);
        padding: 10px 12px;
        border-radius: 999px;
        transform: translateX(-50%) scale(0.95);
      }
      .island.visible {
        transform: translateX(-50%) scale(1);
      }
      .island-nav {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 6px;
      }
      .nav-left,
      .nav-right {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
      }
      .island-nav button {
        width: auto;
        min-width: 42px;
        min-height: 42px;
        padding: 8px;
        text-align: center;
        border-radius: 999px;
      }
      .island-nav button .nav-label {
        display: none;
      }
      .island-nav button .nav-icon {
        display: inline-flex;
      }
      .island-logo {
        margin: 0 4px;
        font-size: 0.95rem;
      }
      .skill-card--extra {
        display: none;
      }
      .skill-card--extra.is-visible {
        display: flex;
      }
      .skill-more-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-top: 8px;
        padding: 10px 14px;
        border: 1px solid rgba(255,255,255,0.12);
        border-radius: 999px;
        background: rgba(255,255,255,0.04);
        color: rgba(255,255,255,0.9);
        font-size: 0.9rem;
        font-weight: 600;
        cursor: pointer;
      }
      .modal-content {
        padding: 28px 20px 24px;
      }
      .modal-item {
        grid-template-columns: 1fr;
      }
    }
    