/* =============================================
   ROOT & VARIABLES
   ============================================= */
:root {
  --bg-primary: #0a0e1a;
  --bg-secondary: #0f1629;
  --bg-card: #141c2e;
  --bg-card-hover: #1a2438;
  --accent: #6c63ff;
  --accent-2: #00d4ff;
  --accent-gradient: linear-gradient(135deg, #6c63ff 0%, #00d4ff 100%);
  --text-primary: #e8eaf6;
  --text-secondary: #8892b0;
  --text-muted: #4a5568;
  --border: rgba(108, 99, 255, 0.15);
  --border-hover: rgba(108, 99, 255, 0.5);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-accent: 0 8px 32px rgba(108, 99, 255, 0.25);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-main: 'Poppins', sans-serif;
  --font-alt: 'Inter', sans-serif;
}

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.7;
}

::selection { background: var(--accent); color: #fff; }

a { text-decoration: none; color: inherit; }

img { max-width: 100%; }

/* =============================================
   SCROLLBAR
   ============================================= */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }

/* =============================================
   NAVBAR
   ============================================= */
#mainNav {
  background: rgba(10, 14, 26, 0.0);
  backdrop-filter: blur(0px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
  padding: 20px 0;
  z-index: 9999;
}

#mainNav.scrolled {
  background: rgba(10, 14, 26, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}

.navbar-brand {
  font-family: var(--font-main);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-primary) !important;
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-dot {
  width: 10px; height: 10px;
  background: var(--accent-gradient);
  border-radius: 50%;
  display: inline-block;
}

.brand-accent { color: var(--accent); }

.nav-link {
  font-family: var(--font-alt);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary) !important;
  padding: 8px 14px !important;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 50%;
  transform: translateX(-50%);
  width: 0; height: 2px;
  background: var(--accent-gradient);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary) !important;
}

.nav-link:hover::after, .nav-link.active::after { width: 24px; }

.btn-cv {
  background: var(--accent-gradient);
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  transition: var(--transition);
  border: none;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 4px 15px rgba(108, 99, 255, 0.4);
}

.btn-cv:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(108, 99, 255, 0.6);
  color: #fff;
}

/* Hamburger */
.navbar-toggler { border: none; padding: 4px; background: transparent !important; }
.navbar-toggler:focus { box-shadow: none; }

.toggler-icon {
  display: flex; flex-direction: column; gap: 5px; width: 24px; cursor: pointer;
}
.toggler-icon span {
  display: block; height: 2px; border-radius: 2px;
  background: var(--text-primary); transition: var(--transition);
}

/* =============================================
   SECTION COMMONS
   ============================================= */
.section-pad { padding: 100px 0; }
.section-dark { background-color: var(--bg-secondary); }

.section-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 12px;
  font-family: var(--font-alt);
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.section-title .accent { color: var(--accent); }

.section-line {
  width: 60px; height: 3px;
  background: var(--accent-gradient);
  border-radius: 3px;
  margin: 16px auto 0;
}

.section-sub {
  color: var(--text-secondary);
  font-size: 1rem;
  max-width: 520px;
  margin: 0 auto;
}

/* =============================================
   HERO
   ============================================= */
.hero-section {
  position: relative;
  width: 100%; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute; inset: 0;
  background: url('../image/hero_bg.png') center center / cover no-repeat;
  z-index: 0;
}

#particleCanvas {
  position: absolute; inset: 0;
  z-index: 1; width: 100%; height: 100%;
}

.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 14, 26, 0.75) 0%,
    rgba(15, 22, 41, 0.65) 50%,
    rgba(10, 14, 26, 0.80) 100%
  );
  z-index: 2;
}

.hero-content {
  position: relative; z-index: 3;
  padding: 0 20px;
}

.hero-badge span {
  display: inline-flex;
  align-items: center;
  background: rgba(108, 99, 255, 0.15);
  border: 1px solid rgba(108, 99, 255, 0.4);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 6px 18px;
  border-radius: 50px;
  letter-spacing: 0.5px;
}

.hero-name {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  background: linear-gradient(135deg, #fff 0%, #a78bfa 60%, #00d4ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: var(--text-secondary);
  font-weight: 400;
  margin-bottom: 12px;
}

.typed-text { color: var(--accent-2); font-weight: 600; }
.typed-cursor {
  color: var(--accent);
  animation: blink 1s infinite;
  font-weight: 300;
}

@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

.hero-location {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.btn-hero-primary {
  background: var(--accent-gradient);
  color: #fff;
  padding: 14px 34px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  box-shadow: 0 8px 25px rgba(108, 99, 255, 0.4);
  display: inline-flex; align-items: center;
}

.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 35px rgba(108, 99, 255, 0.6);
  color: #fff;
}

.btn-hero-secondary {
  background: transparent;
  color: var(--text-primary);
  padding: 13px 34px;
  border-radius: 50px;
  border: 1.5px solid var(--border-hover);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  display: inline-flex; align-items: center;
}

.btn-hero-secondary:hover {
  background: rgba(108, 99, 255, 0.1);
  border-color: var(--accent);
  transform: translateY(-3px);
  color: var(--text-primary);
}

.scroll-indicator {
  position: absolute; bottom: 32px; left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}

.scroll-dot {
  width: 24px; height: 40px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 12px;
  position: relative;
}

.scroll-dot::before {
  content: '';
  position: absolute;
  top: 6px; left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 8px;
  background: var(--accent);
  border-radius: 2px;
  animation: scrollDown 2s ease infinite;
}

@keyframes scrollDown {
  0% { opacity: 1; top: 6px; }
  100% { opacity: 0; top: 20px; }
}

/* =============================================
   ABOUT
   ============================================= */
.about-photo-wrap {
  position: relative;
  display: inline-block;
}

.about-photo-ring {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: var(--accent-gradient);
  animation: spinRing 8s linear infinite;
  mask: radial-gradient(transparent 65%, black 65%);
  -webkit-mask: radial-gradient(transparent 65%, black 65%);
}

@keyframes spinRing {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.about-photo {
  width: 260px; height: 260px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--bg-card);
  position: relative;
  z-index: 1;
  filter: grayscale(20%);
  transition: var(--transition);
}

.about-photo:hover { filter: grayscale(0%); transform: scale(1.03); }

.about-status {
  position: absolute;
  bottom: 10px; left: 50%;
  transform: translateX(-50%);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 0.78rem;
  font-weight: 500;
  white-space: nowrap;
  color: var(--text-secondary);
  z-index: 2;
  display: flex; align-items: center; gap: 6px;
}

.status-dot {
  width: 8px; height: 8px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}

.about-role {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 20px;
}

.info-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  transition: var(--transition);
}

.info-card:hover {
  border-color: var(--border-hover);
  transform: translateX(4px);
  background: var(--bg-card-hover);
}

.info-icon {
  width: 36px; height: 36px;
  background: rgba(108, 99, 255, 0.12);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); font-size: 0.9rem;
  flex-shrink: 0;
}

.info-label {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.info-value {
  display: block;
  font-size: 0.9rem;
  color: var(--text-primary);
  font-weight: 500;
}

.info-value a { color: var(--accent-2); transition: var(--transition); }
.info-value a:hover { color: var(--accent); }

.about-desc {
  color: var(--text-secondary);
  line-height: 1.85;
  font-size: 0.95rem;
  border-left: 3px solid var(--accent);
  padding-left: 20px;
  margin-top: 8px;
}

/* =============================================
   SKILLS
   ============================================= */
.col-lg-2-4 { flex: 0 0 auto; width: 20%; }

.skill-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 20px;
  text-align: center;
  transition: var(--transition);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.skill-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: var(--accent-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.skill-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-8px);
  box-shadow: var(--shadow-accent);
  background: var(--bg-card-hover);
}

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

.skill-icon-wrap {
  width: 70px; height: 70px;
  background: rgba(108, 99, 255, 0.12);
  border-radius: 20px;
  margin: 0 auto 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  color: var(--accent);
  transition: var(--transition);
}

.skill-card:hover .skill-icon-wrap {
  background: var(--accent-gradient);
  color: #fff;
  transform: rotate(-5deg) scale(1.1);
}

.skill-card h5 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.skill-card p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Tech Stack */
.tech-stack { text-align: center; }

.tech-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: 14px;
  font-weight: 600;
}

.tech-tags { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

.tech-tag {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  display: inline-flex; align-items: center; gap: 6px;
  transition: var(--transition);
}

.tech-tag:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(108, 99, 255, 0.1);
  transform: translateY(-2px);
}

.tech-tag i { font-size: 0.9rem; }

/* =============================================
   EXPERIENCE – TIMELINE
   ============================================= */
.timeline {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  padding-left: 24px;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0; left: 24px;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), transparent);
}

.timeline-item {
  position: relative;
  display: flex;
  gap: 28px;
  margin-bottom: 40px;
}

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

.timeline-dot {
  position: relative;
  flex-shrink: 0;
  width: 48px; height: 48px;
  background: var(--accent-gradient);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1rem;
  z-index: 1;
  box-shadow: 0 0 0 4px rgba(108,99,255,0.15);
  margin-left: -0px;
}

.timeline-card {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  transition: var(--transition);
}

.timeline-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-accent);
  transform: translateX(4px);
}

.timeline-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.timeline-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.timeline-company {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 500;
  margin: 0;
}

.timeline-badge {
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 50px;
  background: rgba(0,212,255,0.12);
  border: 1px solid rgba(0,212,255,0.3);
  color: var(--accent-2);
  white-space: nowrap;
}

.timeline-badge.completed {
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.3);
  color: #22c55e;
}

.timeline-period {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.timeline-list {
  padding-left: 18px;
  margin-bottom: 18px;
  list-style: none;
}

.timeline-list li {
  position: relative;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 6px;
  padding-left: 4px;
}

.timeline-list li::before {
  content: '▹';
  position: absolute;
  left: -16px;
  color: var(--accent);
  font-size: 0.9rem;
}

.timeline-tags {
  display: flex; flex-wrap: wrap; gap: 6px;
}

.timeline-tags span {
  font-size: 0.72rem;
  font-weight: 600;
  background: rgba(108,99,255,0.1);
  border: 1px solid rgba(108,99,255,0.22);
  color: var(--accent);
  padding: 3px 10px;
  border-radius: 50px;
}

@media (max-width: 575px) {
  .timeline { padding-left: 0; }
  .timeline::before { display: none; }
  .timeline-dot { display: none; }
  .timeline-card { margin-left: 0; }
}

/* =============================================
   EDUCATION
   ============================================= */
.edu-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  height: 100%;
}

.edu-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-accent);
}

.edu-icon-wrap {
  background: linear-gradient(135deg, #1a1040 0%, #0d1a3a 100%);
  padding: 28px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem;
  color: var(--accent);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.edu-card:hover .edu-icon-wrap {
  background: var(--accent-gradient);
  color: #fff;
}

.edu-body {
  padding: 24px 28px 28px;
  flex: 1;
  display: flex; flex-direction: column;
}

.edu-year {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--accent-2);
  background: rgba(0,212,255,0.1);
  border: 1px solid rgba(0,212,255,0.25);
  padding: 3px 12px;
  border-radius: 50px;
  margin-bottom: 14px;
}

.edu-body h5 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
  line-height: 1.3;
}

.edu-institution {
  font-size: 0.82rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 12px;
}

.edu-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 18px;
}

.edu-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.edu-highlights span {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  padding: 5px 12px;
  border-radius: 50px;
  display: inline-flex; align-items: center; gap: 4px;
}

.edu-highlights span i { color: var(--accent); }

/* =============================================
   CERTIFICATES
   ============================================= */
.cert-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
  display: flex; flex-direction: column;
}

.cert-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-accent);
}

.cert-header {
  background: linear-gradient(135deg, #1a1040 0%, #0d1a3a 100%);
  padding: 24px 24px 16px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.cert-icon {
  width: 50px; height: 50px;
  background: var(--accent-gradient);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; color: #fff;
}

.cert-year {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
  background: rgba(255,255,255,0.06);
  padding: 4px 10px;
  border-radius: 6px;
}

.cert-body {
  padding: 20px 24px 24px;
  flex: 1;
  display: flex; flex-direction: column;
}

.cert-body h5 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.cert-issuer {
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 12px;
}

.cert-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  flex: 1;
  margin-bottom: 20px;
  line-height: 1.6;
}

.cert-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(108, 99, 255, 0.12);
  border: 1px solid rgba(108, 99, 255, 0.3);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 50px;
  transition: var(--transition);
}

.cert-btn:hover {
  background: var(--accent-gradient);
  border-color: transparent;
  color: #fff;
  transform: translateY(-2px);
}

/* =============================================
   PORTFOLIO
   ============================================= */
.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
}

.project-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-accent);
}

.project-img-wrap {
  position: relative;
  overflow: hidden;
  height: 210px;
}

.project-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-img { transform: scale(1.08); }

.project-overlay {
  position: absolute; inset: 0;
  background: rgba(10, 14, 26, 0.85);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

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

.project-actions { display: flex; gap: 12px; }

.proj-action-btn {
  width: 46px; height: 46px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1rem;
  transition: var(--transition);
  cursor: pointer;
  backdrop-filter: blur(4px);
}

.proj-action-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.1);
  color: #fff;
}

.project-body { padding: 20px; }

.project-tags {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-bottom: 12px;
}

.project-tags span {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  background: rgba(108, 99, 255, 0.13);
  color: var(--accent);
  border: 1px solid rgba(108, 99, 255, 0.25);
  padding: 3px 10px;
  border-radius: 50px;
}

.project-body h5 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.4;
}

.project-body p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* =============================================
   CONTACT
   ============================================= */
.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 16px;
  transition: var(--transition);
  text-align: center;
  color: var(--text-primary);
  cursor: pointer;
}

.contact-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-8px);
  box-shadow: var(--shadow-accent);
  background: var(--bg-card-hover);
  color: var(--text-primary);
}

.contact-icon-wrap {
  width: 60px; height: 60px;
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  transition: var(--transition);
}

.contact-card:hover .contact-icon-wrap { transform: scale(1.1) rotate(-5deg); }

.contact-icon-wrap.github { background: rgba(255,255,255,0.08); color: #fff; }
.contact-icon-wrap.behance { background: rgba(0, 90, 255, 0.15); color: #005aff; }
.contact-icon-wrap.linkedin { background: rgba(0, 119, 181, 0.15); color: #0077b5; }
.contact-icon-wrap.email { background: rgba(234, 67, 53, 0.12); color: #ea4335; }

.contact-card h6 {
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0;
}

.contact-card span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  background: var(--accent-gradient);
  color: #fff;
  padding: 16px 44px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: 0 8px 25px rgba(108, 99, 255, 0.4);
}

.btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(108, 99, 255, 0.6);
  color: #fff;
}

/* =============================================
   NOTES MODAL
   ============================================= */
.notes-modal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-primary);
}

.notes-modal .modal-header {
  border-bottom: 1px solid var(--border);
  background: linear-gradient(135deg, #1a1040 0%, #0d1a3a 100%);
  border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0;
}

.notes-modal .modal-title {
  font-weight: 600;
  color: var(--text-primary);
}

.notes-modal .modal-body {
  padding: 28px;
}

.notes-row {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 0.9rem;
}

.notes-label {
  color: var(--accent);
  font-weight: 600;
  min-width: 120px;
  flex-shrink: 0;
}

.notes-value {
  color: var(--text-secondary);
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 32px 0;
}

.footer-brand {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

/* =============================================
   BACK TO TOP
   ============================================= */
.back-to-top {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 44px; height: 44px;
  background: var(--accent-gradient);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1rem;
  box-shadow: 0 4px 15px rgba(108, 99, 255, 0.4);
  transition: var(--transition);
  opacity: 0; pointer-events: none;
  z-index: 9998;
}

.back-to-top.visible { opacity: 1; pointer-events: all; }
.back-to-top:hover { transform: translateY(-3px) scale(1.1); color: #fff; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 991px) {
  .col-lg-2-4 { width: 33.333%; }
  .navbar-collapse {
    background: rgba(10, 14, 26, 0.97);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    margin-top: 12px;
    backdrop-filter: blur(20px);
  }
}

@media (max-width: 767px) {
  .section-pad { padding: 70px 0; }
  .col-lg-2-4 { width: 50%; }
  .hero-name { font-size: 2.6rem; }
  .about-photo { width: 200px; height: 200px; }
}

@media (max-width: 480px) {
  .col-lg-2-4 { width: 100%; }
  .hero-actions { flex-direction: column; align-items: center; }
}
