/* ================= GLOBAL ================= */
    body {
      background: radial-gradient(circle at top, #111, #000);
      color: #fff;
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    }

    .about-section {
      min-height: 100vh;
      padding: 72px 0;
    }

    /* ================= TITLES ================= */
    .section-tag {
      font-size: 12px;
      color: #ff4d4d;
      letter-spacing: 2px;
      display: inline-block;
      margin-bottom: 8px;
    }

    .section-title {
      font-size: 2.4rem;
      font-weight: 600;
    }

    .section-subtitle {
      color: #aaa;
      max-width: 600px;
      margin: 12px auto 0;
    }

    /* ================= LAYOUT ================= */
    .about-layout {
      display: flex;
      gap: 32px;
      align-items: flex-start;
    }

    /* ================= STATIC CARDS ================= */
    .profile-card,
    .content-card {
      background: rgba(255, 255, 255, 0.06);
      backdrop-filter: blur(20px);
      border: 1px solid rgba(255, 255, 255, 0.12);
      transition: none; /* important */
    }

    .profile-card {
      width: 400px;
      padding: 40px;
      border-radius: 30px;
      text-align: center;
      flex-shrink: 0;
    }

    .content-card {
      flex-grow: 1;
      padding: 40px;
      border-radius: 30px;
    }

    /* ================= AVATAR ================= */
    .avatar-wrapper img {
      width: 220px;
      height: 220px;
      border-radius: 50%;
      object-fit: cover;
      border: 5px solid #ff4d4d;
      box-shadow: 0 12px 36px rgba(239, 68, 68, 0.4);
      image-rendering: -webkit-optimize-contrast;
      image-rendering: crisp-edges;
    }

    .role-text {
      color: #bbb;
      font-size: 14px;
    }

    .content-title {
      margin: 12px 0 16px;
    }

    .content-text {
      color: #ccc;
      line-height: 1.7;
    }

    /* ================= INTERACTIVE BASE ================= */
    .ios-interactive {
      cursor: pointer;
      transition:
        transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.25s cubic-bezier(0.22, 1, 0.36, 1),
        background 0.25s ease;
    }

    /* Hover lift (desktop only) */
    @media (hover: hover) and (pointer: fine) {
      .ios-interactive:hover {
        transform: translateY(-6px);
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
        background: rgba(255, 255, 255, 0.08);
      }
    }

    /* Press-down (mobile + desktop) */
    .ios-interactive:active {
      transform: scale(0.96);
      transition-duration: 120ms;
    }

    /* ================= INFO BOX ================= */
    .info-box {
      flex: 1 1 220px;
      padding: 18px 20px;
      border-radius: 16px;
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid rgba(255, 255, 255, 0.08);
    }

    .info-label {
      font-size: 11px;
      color: #ff4d4d;
      letter-spacing: 1px;
    }

    /* ================= BUTTON ================= */
    .btn-ios {
      height: 44px; /* iOS tap target */
      border-radius: 12px;
      min-width: 44px; /* Ensure minimum touch target */
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
      text-rendering: optimizeLegibility;
    }

    /* Enhanced touch targets for mobile */
    @media (max-width: 768px) {
      .btn, .btn-ios {
        min-height: 48px; /* Android touch target */
        padding: 12px 24px;
      }
      
      .social-icons i {
        width: 48px;
        height: 48px;
        font-size: 24px;
      }
      
      .info-box {
        min-height: 48px;
        padding: 20px;
      }
      
      .close-btn {
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
      }
    }

    /* ================= SOCIAL ICONS ================= */
    .social-icons a {
      color: #fff;
      text-decoration: none;
      transition: color 0.3s ease;
    }

    .social-icons a:hover {
      color: var(--tech-primary, #ef4444);
    }

    .social-icons i {
      font-size: 22px;
      opacity: 0.75;
      width: 44px;
      height: 44px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 50%;
    }

    /* ================= RESPONSIVE ================= */
    @media (max-width: 992px) {
      .about-layout {
        flex-direction: column;
        gap: 24px;
      }

      .profile-card,
      .content-card {
        width: 100%;
      }
      
      .profile-card {
        max-width: 400px;
        margin: 0 auto;
      }
    }

    @media (max-width: 768px) {
      .section-title {
        font-size: 2rem;
      }
      
      .section-subtitle {
        font-size: 0.9rem;
      }
      
      .profile-card {
        padding: 24px;
      }
      
      .content-card {
        padding: 32px;
      }
      
      .content-title {
        font-size: 1.5rem;
      }
      
      .content-text {
        font-size: 0.95rem;
      }
    }

    @media (max-width: 576px) {
      .about-section {
        padding: 60px 0;
      }
      
      .section-title {
        font-size: 1.8rem;
      }
      
      .section-subtitle {
        font-size: 0.85rem;
      }
      
      .profile-card {
        padding: 20px;
      }
      
      .content-card {
        padding: 24px;
      }
      
      .content-title {
        font-size: 1.3rem;
      }
      
      .content-text {
        font-size: 0.9rem;
      }

      .info-box {
        flex: 1 1 100%;
        padding: 16px;
      }
      
      .avatar-wrapper img {
        width: 170px;
        height: 170px;
      }
      
      .btn-ios {
        height: 48px;
        font-size: 0.9rem;
      }
    }

/* ================= Overlay ================= */
#eduOverlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: 0.35s ease;
  z-index: 999;
}

#eduOverlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* ================= Panel ================= */
#eduPanel {
  position: fixed;
  top: 0;
  right: -420px;
  width: 420px;
  height: 100vh;
  background: #0b0b0b;
  color: #fff;
  z-index: 1000;
  padding: 24px;
  transition: right 0.45s cubic-bezier(.4,0,.2,1);
  box-shadow: -20px 0 40px rgba(0,0,0,0.6);
}

#eduPanel.active {
  right: 0;
}

/* Mobile overlay panels */
@media (max-width: 768px) {
  #eduPanel, #intPanel {
    width: 85%;
    max-width: 350px;
    right: -100%;
  }
  
  #eduPanel.active, #intPanel.active {
    right: 0;
  }
}

@media (max-width: 480px) {
  #eduPanel, #intPanel {
    width: 90%;
    padding: 20px;
  }
  
  .edu-header h3 {
    font-size: 1.3rem;
  }
  
  .close-btn {
    font-size: 24px;
  }
  
  .edu-content {
    padding-left: 32px;
    margin-top: 20px;
  }
  
  .edu-item {
    margin-bottom: 24px;
  }
}

/* ================= Header ================= */
.edu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.close-btn {
  font-size: 28px;
  cursor: pointer;
  opacity: 0.7;
}
.close-btn:hover {
  opacity: 1;
}

/* ================= Content / Timeline ================= */
.edu-content {
  position: relative;
  margin-top: 30px;
  padding-left: 42px;
}

/* Vertical gray line */
.edu-content::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 0;
  width: 2px;
  height: 100%;
  background: rgba(255,255,255,0.18);
}

/* Education item */
.edu-item {
  position: relative;
  margin-bottom: 32px;
  padding-left: 16px;
}

/* Red glowing dot */
.edu-item::before {
  content: "";
  position: absolute;
  left: -29px;
  top: 6px;
  width: 12px;
  height: 12px;
  background: #ff3b3b;
  border-radius: 50%;
  box-shadow:
    0 0 6px rgba(255, 59, 59, 0.9),
    0 0 16px rgba(255, 59, 59, 0.6),
    0 0 32px rgba(255, 59, 59, 0.35);
}

/* Current item (green glow) */
.edu-item.current::before {
  background: var(--tech-primary);
  box-shadow:
    0 0 6px rgba(255, 77, 77, 1),
    0 0 18px rgba(255, 77, 77, 0.8),
    0 0 36px rgba(255, 77, 77, 0.5);
}

/* ================= Text ================= */
.edu-item .year {
  color: #ff3b3b;
  font-size: 14px;
}

.edu-item h4 {
  margin: 6px 0;
}

.college {
  color: #ff3b3b;
  font-size: 14px;
}

.meta {
  font-size: 13px;
  opacity: 0.8;
}

/* ==========interestoverlay================= */
#intOverlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: 0.35s ease;
  z-index: 999;
}

#intOverlay.active {
  opacity: 1;
  pointer-events: auto;
}

#intPanel {
  position: fixed;
  top: 0;
  right: -420px;
  width: 420px;
  height: 100vh;
  background: #0b0b0b;
  color: #fff;
  z-index: 1000;
  padding: 24px;
  transition: right 0.45s cubic-bezier(.4,0,.2,1);
  box-shadow: -20px 0 40px rgba(0,0,0,0.6);
}

#intPanel.active {
  right: 0;
}

#intPanel .edu-content {
  position: relative;
  margin-top: 30px;
  padding-left: 42px;
}

#intPanel .edu-content::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 0;
  width: 2px;
  height: 100%;
  background: rgba(255,255,255,0.18);
}

#intPanel .edu-item::before {
  content: "";
  position: absolute;
  left: -29px;
  top: 6px;
  width: 12px;
  height: 12px;
  background: #ff3b3b;
  border-radius: 50%;
  box-shadow:
    0 0 6px rgba(255, 59, 59, 0.9),
    0 0 16px rgba(255, 59, 59, 0.6),
    0 0 32px rgba(255, 59, 59, 0.35);
}

#intPanel .edu-item.current::before {
  background: var(--tech-primary);
  box-shadow:
    0 0 6px rgba(255, 77, 77, 1),
    0 0 18px rgba(255, 77, 77, 0.8),
    0 0 36px rgba(255, 77, 77, 0.5);
}

