/* ============================================
   TOKENS
   ============================================ */
:root {
  --bg-base: #07070c;
  --bg-panel: #0e0e16;
  --bg-panel-2: #12121c;
  --blue-500: #3b82f6;
  --blue-400: #60a5fa;
  --blue-300: #93c5fd;
  --blue-glow: rgba(59, 130, 246, 0.35);
  --text-main: #e9e9ef;
  --text-muted: #9494a3;
  --text-faint: #5c5c6b;
  --border-soft: rgba(255, 255, 255, 0.08);
  --font-display: "Space Grotesk", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-mono: "JetBrains Mono", monospace;
  --sidebar-w: 300px;
  --ease: cubic-bezier(0.65, 0, 0.35, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg-base);
  color: var(--text-main);
  font-family: var(--font-body);
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 80% 0%, rgba(59,130,246,0.10), transparent 60%),
    radial-gradient(ellipse 50% 50% at 0% 100%, rgba(59,130,246,0.06), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

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

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--blue-500), var(--blue-400)); border-radius: 10px; }

.text-gradient {
  background: linear-gradient(90deg, var(--blue-400), var(--blue-300));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ============================================
   PRELOADER
   ============================================ */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg-base);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s var(--ease), visibility 0.8s var(--ease);
}
#preloader.loaded { opacity: 0; visibility: hidden; }

.preloader-inner { text-align: center; }

.preloader-radar {
  position: relative;
  width: 140px;
  height: 140px;
  margin: 0 auto 2rem;
}
.radar-ring {
  position: absolute;
  border: 1px solid rgba(59,130,246,0.35);
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.radar-ring.r1 { width: 40%; height: 40%; }
.radar-ring.r2 { width: 70%; height: 70%; }
.radar-ring.r3 { width: 100%; height: 100%; }
.radar-sweep {
  position: absolute;
  top: 50%; left: 50%;
  width: 50%; height: 2px;
  background: linear-gradient(90deg, var(--blue-400), transparent);
  transform-origin: left center;
  animation: sweep 1.8s linear infinite;
  box-shadow: 0 0 12px var(--blue-400);
}
@keyframes sweep { to { transform: rotate(360deg); } }
.radar-dot {
  position: absolute;
  width: 6px; height: 6px;
  background: var(--blue-300);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--blue-400);
  animation: blink 1.6s ease-in-out infinite;
}
.radar-dot.d1 { top: 30%; left: 60%; animation-delay: 0.1s; }
.radar-dot.d2 { top: 65%; left: 35%; animation-delay: 0.5s; }
.radar-dot.d3 { top: 42%; left: 22%; animation-delay: 0.9s; }
.radar-dot.d4 { top: 70%; left: 68%; animation-delay: 1.3s; }
@keyframes blink { 0%,100% { opacity: 0.2; } 50% { opacity: 1; } }

.preloader-text { position: relative; height: 20px; margin-bottom: 1.5rem; }
.pl-word {
  position: absolute;
  inset: 0;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  opacity: 0;
  animation: wordCycle 3.2s var(--ease) infinite;
}
.pl-word:nth-child(1) { animation-delay: 0s; }
.pl-word:nth-child(2) { animation-delay: 0.8s; }
.pl-word:nth-child(3) { animation-delay: 1.6s; }
.pl-word:nth-child(4) { animation-delay: 2.4s; }
@keyframes wordCycle {
  0%, 2% { opacity: 0; transform: translateY(6px); }
  8%, 18% { opacity: 1; transform: translateY(0); }
  24%, 100% { opacity: 0; transform: translateY(-6px); }
}

.preloader-bar {
  width: 220px;
  height: 3px;
  background: rgba(255,255,255,0.08);
  border-radius: 4px;
  overflow: hidden;
  margin: 0 auto;
}
.preloader-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--blue-500), var(--blue-300));
  box-shadow: 0 0 10px var(--blue-400);
  transition: width 0.2s ease-out;
}
.preloader-percent {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--blue-300);
  margin-top: 0.75rem;
  letter-spacing: 0.05em;
}

/* ============================================
   SIDEBAR (DESKTOP)
   ============================================ */
.sidebar {
  position: fixed;
  top: 0; left: 0;
  width: var(--sidebar-w);
  height: 100vh;
  background: linear-gradient(180deg, var(--bg-panel), var(--bg-base));
  border-right: 1px solid var(--border-soft);
  z-index: 1000;
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sidebar-logo { display: flex; }
.logo-mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--text-main);
}
.logo-dot { color: var(--blue-400); }

.sidebar-profile { text-align: center; padding-bottom: 1rem; border-bottom: 1px solid var(--border-soft); }

.avatar-ring {
  width: 100px; height: 100px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  padding: 3px;
  background: conic-gradient(from 0deg, var(--blue-500), transparent 40%, var(--blue-400));
  animation: spinSlow 6s linear infinite;
}
@keyframes spinSlow { to { transform: rotate(360deg); } }
.sidebar-avatar {
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--bg-panel);
  display: block;
}

.sidebar-name {
  font-family: var(--font-display);
  font-weight: 600;
  margin-bottom: 0.15rem;
  color: var(--text-main);
}
.sidebar-role {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--blue-300);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}

.sidebar-info { display: flex; flex-direction: column; gap: 0.65rem; text-align: left; }
.info-item {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.25s var(--ease);
}
.info-item i { color: var(--blue-400); width: 16px; flex-shrink: 0; }
.info-item span { word-break: break-word; }
a.info-item:hover { color: var(--text-main); }

.sidebar-nav { list-style: none; margin: 0; padding: 0; flex: 1; display: flex; flex-direction: column; gap: 0.25rem; }
.sidebar-nav a {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.6rem 0.75rem;
  border-radius: 10px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  position: relative;
  transition: all 0.3s var(--ease);
}
.sidebar-nav a i { width: 18px; text-align: center; font-size: 0.85rem; }
.sidebar-nav a:hover { color: var(--text-main); background: rgba(59,130,246,0.08); }
.sidebar-nav a.active {
  color: #fff;
  background: linear-gradient(90deg, rgba(59,130,246,0.25), rgba(59,130,246,0.05));
}
.sidebar-nav a.active::before {
  content: "";
  position: absolute;
  left: -1.5rem;
  top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(var(--blue-500), var(--blue-300));
  border-radius: 4px;
  box-shadow: 0 0 8px var(--blue-400);
}

.sidebar-socials { display: flex; gap: 0.6rem; }
.sidebar-socials a {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 9px;
  border: 1px solid var(--border-soft);
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.3s var(--ease);
  font-size: 0.85rem;
}
.sidebar-socials a:hover {
  color: #fff;
  border-color: var(--blue-500);
  background: rgba(59,130,246,0.15);
  transform: translateY(-3px);
}

/* ============================================
   MOBILE NAVBAR + OFFCANVAS
   ============================================ */
.mobile-navbar {
  background: rgba(7,7,12,0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-soft);
  z-index: 1050;
  padding: 0.85rem 1rem;
}
.navbar-toggler { border: none; background: transparent; padding: 0.4rem; }
.navbar-toggler:focus { box-shadow: none; }
.toggler-line {
  display: block;
  width: 22px; height: 2px;
  background: var(--blue-400);
  margin: 4px 0;
  border-radius: 2px;
}

.mobile-offcanvas {
  background: var(--bg-panel);
  border-left: 1px solid var(--border-soft);
  width: 280px;
  color: var(--text-main);
}
.mobile-offcanvas .offcanvas-header { border-bottom: 1px solid var(--border-soft); }
.mobile-avatar { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; border: 3px solid var(--blue-500); }
.mobile-role { font-family: var(--font-mono); font-size: 0.7rem; color: var(--blue-300); text-transform: uppercase; letter-spacing: 0.06em; }
.mobile-nav-links .nav-link {
  color: var(--text-muted);
  padding: 0.7rem 0.5rem;
  font-size: 0.9rem;
  display: flex; align-items: center; gap: 0.75rem;
  border-radius: 8px;
  transition: all 0.25s var(--ease);
}
.mobile-nav-links .nav-link i { width: 18px; color: var(--blue-400); }
.mobile-nav-links .nav-link:hover { background: rgba(59,130,246,0.1); color: #fff; }
.mobile-contact { border-top: 1px solid var(--border-soft); padding-top: 1rem; display: flex; flex-direction: column; gap: 0.6rem; }
.contact-line { color: var(--text-muted); font-size: 0.8rem; text-decoration: none; display: flex; align-items: center; gap: 0.6rem; }
.contact-line i { color: var(--blue-400); width: 16px; }

/* ============================================
   MAIN LAYOUT
   ============================================ */
.main-content { margin-left: var(--sidebar-w); position: relative; z-index: 1; }
@media (max-width: 991.98px) {
  .main-content { margin-left: 0; padding-top: 62px; }
}

.section { padding: 6.5rem 3rem; position: relative; }
@media (max-width: 767.98px) { .section { padding: 4.5rem 1.25rem; } }

.section-head { margin-bottom: 3rem; max-width: 700px; }
.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--blue-400);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 0.75rem;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.8rem, 3.2vw, 2.75rem);
  line-height: 1.2;
  margin: 0;
}

/* ============================================
   HERO
   ============================================ */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 3rem;
  overflow: hidden;
}
@media (max-width: 767.98px) { .hero-section { padding: 0 1.25rem; } }

.hero-bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(59,130,246,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black, transparent);
  pointer-events: none;
}

#hero-3d-canvas {
  position: absolute;
  top: 0; right: 0;
  width: 55%; height: 100%;
  pointer-events: none;
  opacity: 0.9;
}
@media (max-width: 991.98px) { #hero-3d-canvas { width: 100%; opacity: 0.35; } }

.hero-container { position: relative; z-index: 2; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--blue-300);
  border: 1px solid rgba(59,130,246,0.3);
  background: rgba(59,130,246,0.08);
  padding: 0.4rem 0.9rem;
  border-radius: 30px;
  margin-bottom: 1.5rem;
}
.eyebrow i { animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 0.4; } 50% { opacity: 1; } }

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  line-height: 1.08;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 2.25rem;
  line-height: 1.7;
}

.hero-stats { max-width: 480px; margin-bottom: 2.5rem; }
.stat-box {
  border-left: 2px solid rgba(59,130,246,0.35);
  padding-left: 0.9rem;
}
.stat-num {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--text-main);
}
.stat-plus { font-family: var(--font-display); font-size: 1.4rem; color: var(--blue-400); }
.stat-label {
  display: block;
  font-size: 0.7rem;
  color: var(--text-faint);
  margin-top: 0.2rem;
  line-height: 1.3;
}

.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn-gradient {
  background: linear-gradient(90deg, var(--blue-500), var(--blue-400));
  color: #fff;
  border: none;
  padding: 0.85rem 1.75rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex; align-items: center; gap: 0.6rem;
  transition: all 0.35s var(--ease);
  box-shadow: 0 8px 24px -8px var(--blue-glow);
}
.btn-gradient:hover { transform: translateY(-3px); box-shadow: 0 14px 32px -8px var(--blue-glow); color: #fff; }

.btn-outline-glow {
  background: transparent;
  border: 1px solid var(--border-soft);
  color: var(--text-main);
  padding: 0.85rem 1.75rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.35s var(--ease);
}
.btn-outline-glow:hover { border-color: var(--blue-500); background: rgba(59,130,246,0.08); color: #fff; }

.scroll-indicator {
  position: absolute;
  bottom: 2.5rem; left: 3rem;
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  z-index: 2;
}
@media (max-width: 767.98px) { .scroll-indicator { left: 1.25rem; } }
.scroll-indicator span { font-family: var(--font-mono); font-size: 0.65rem; color: var(--text-faint); letter-spacing: 0.1em; }
.scroll-line { width: 1px; height: 40px; background: var(--border-soft); position: relative; overflow: hidden; }
.scroll-dot { position: absolute; width: 100%; height: 10px; background: var(--blue-400); animation: scrollDown 1.8s ease-in-out infinite; }
@keyframes scrollDown { 0% { top: -10px; } 100% { top: 40px; } }

/* ============================================
   SCROLL REVEAL (data-aos)
   ============================================ */
[data-aos] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
[data-aos].aos-in { opacity: 1; transform: translateY(0); }

/* ============================================
   ABOUT
   ============================================ */
.about-visual { position: relative; }
.about-img {
  width: 100%;
  border-radius: 18px;
  border: 1px solid var(--border-soft);
  filter: saturate(1.05) contrast(1.02);
}
.about-float-card {
  position: absolute;
  background: rgba(14,14,22,0.9);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(59,130,246,0.3);
  border-radius: 12px;
  padding: 0.7rem 1rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex; align-items: center; gap: 0.6rem;
  box-shadow: 0 12px 30px -10px rgba(0,0,0,0.6);
  animation: floatY 4s ease-in-out infinite;
}
.about-float-card i { color: var(--blue-400); }
.about-float-card strong { color: var(--text-main); font-family: var(--font-mono); }
.fc1 { top: 10%; left: -8%; animation-delay: 0s; }
.fc2 { bottom: 8%; right: -6%; animation-delay: 1.5s; }
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (max-width: 991.98px) { .about-float-card { position: static; margin-top: 0.75rem; display: inline-flex; margin-right: 0.5rem; } }

.about-para { color: var(--text-muted); line-height: 1.8; margin-bottom: 1.25rem; font-size: 0.98rem; }
.about-para strong { color: var(--text-main); }

.about-highlights { margin-top: 1.5rem; }
.highlight-item {
  display: flex; align-items: center; gap: 0.65rem;
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  font-size: 0.85rem;
  transition: all 0.3s var(--ease);
}
.highlight-item i { color: var(--blue-400); }
.highlight-item:hover { border-color: rgba(59,130,246,0.4); background: rgba(59,130,246,0.05); }

/* ============================================
   SKILLS
   ============================================ */
.skill-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
  height: 100%;
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}
.skill-card::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(120px circle at 50% 0%, rgba(59,130,246,0.15), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.skill-card:hover { transform: translateY(-6px); border-color: rgba(59,130,246,0.35); }
.skill-card:hover::before { opacity: 1; }
.skill-icon { font-size: 1.6rem; color: var(--blue-400); margin-bottom: 1rem; }
.skill-card h6 { font-family: var(--font-display); font-weight: 600; margin-bottom: 1rem; font-size: 0.95rem; }
.skill-bar { height: 5px; background: rgba(255,255,255,0.06); border-radius: 6px; overflow: hidden; margin-bottom: 0.5rem; }
.skill-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--blue-500), var(--blue-300));
  border-radius: 6px;
  transition: width 1.4s var(--ease);
  box-shadow: 0 0 10px var(--blue-glow);
}
.skill-percent { font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-faint); }

/* ============================================
   SERVICES
   ============================================ */
.service-card {
  background: linear-gradient(160deg, var(--bg-panel), var(--bg-base));
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  padding: 2.25rem 1.75rem;
  height: 100%;
  position: relative;
  transition: all 0.4s var(--ease);
}
.service-card:hover { border-color: rgba(59,130,246,0.4); transform: translateY(-6px); box-shadow: 0 20px 40px -20px rgba(59,130,246,0.25); }
.service-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-faint);
  position: absolute;
  top: 1.5rem; right: 1.75rem;
}
.service-icon { font-size: 1.75rem; color: var(--blue-400); margin-bottom: 1.25rem; display: block; }
.service-card h5 { font-family: var(--font-display); font-weight: 600; margin-bottom: 0.75rem; font-size: 1.1rem; }
.service-card p { color: var(--text-muted); font-size: 0.88rem; line-height: 1.7; margin: 0; }

/* ============================================
   EXPERIENCE / TIMELINE
   ============================================ */
.timeline { position: relative; max-width: 900px; padding-left: 2rem; }
.timeline::before {
  content: "";
  position: absolute; left: 0; top: 6px; bottom: 6px;
  width: 1px;
  background: linear-gradient(var(--blue-500), transparent);
}
.timeline-item { position: relative; padding-bottom: 3rem; padding-left: 2rem; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  position: absolute; left: -2.42rem; top: 6px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--blue-400);
  box-shadow: 0 0 0 4px rgba(59,130,246,0.15), 0 0 14px var(--blue-400);
}
.timeline-date {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--blue-300);
  letter-spacing: 0.05em;
}
.timeline-content h5 { font-family: var(--font-display); font-weight: 600; margin: 0.4rem 0 0.15rem; font-size: 1.2rem; }
.timeline-company { display: block; color: var(--text-muted); font-size: 0.85rem; margin-bottom: 0.9rem; }
.timeline-content ul { padding-left: 1.1rem; margin: 0; }
.timeline-content li { color: var(--text-muted); font-size: 0.9rem; line-height: 1.75; margin-bottom: 0.4rem; }
.timeline-content li strong { color: var(--text-main); }
.timeline-content li::marker { color: var(--blue-400); }

/* ============================================
   PROJECTS
   ============================================ */
.project-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  overflow: hidden;
  height: 100%;
  transition: all 0.4s var(--ease);
}
.project-card:hover { transform: translateY(-6px); border-color: rgba(59,130,246,0.35); }
.project-img-wrap { position: relative; overflow: hidden; aspect-ratio: 4/3; }
.project-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.project-card:hover .project-img-wrap img { transform: scale(1.08); }
.project-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(7,7,12,0.9));
  display: flex; align-items: flex-end; justify-content: flex-end;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.project-card:hover .project-overlay { opacity: 1; }
.project-link {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: var(--blue-500);
  color: #fff;
  border-radius: 50%;
  text-decoration: none;
}
.project-body { padding: 1.5rem; }
.project-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--blue-300);
  background: rgba(59,130,246,0.1);
  padding: 0.25rem 0.6rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.project-body h6 { font-family: var(--font-display); font-weight: 600; margin: 0.85rem 0 0.5rem; }
.project-body p { color: var(--text-muted); font-size: 0.85rem; line-height: 1.6; margin: 0; }

/* ============================================
   CERTIFICATIONS
   ============================================ */
.cert-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  padding: 2rem 1.25rem;
  text-align: center;
  height: 100%;
  transition: all 0.4s var(--ease);
}
.cert-card:hover { border-color: rgba(59,130,246,0.35); transform: translateY(-5px); }
.cert-icon { font-size: 1.9rem; color: var(--blue-400); margin-bottom: 1rem; display: block; }
.cert-card h6 { font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; margin-bottom: 0.35rem; }
.cert-card span { color: var(--text-faint); font-size: 0.75rem; }
.cert-note { margin-top: 1.75rem; color: var(--text-faint); font-size: 0.78rem; }
.cert-note i { color: var(--blue-400); margin-right: 0.4rem; }

/* ============================================
   CONTACT
   ============================================ */
.contact-info-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  padding: 2rem;
  height: 100%;
}
.contact-info-item { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem; }
.contact-info-item i {
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(59,130,246,0.1);
  color: var(--blue-400);
  border-radius: 10px;
  flex-shrink: 0;
}
.contact-info-item span { display: block; font-size: 0.7rem; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.05em; }
.contact-info-item a, .contact-info-item p { color: var(--text-main); text-decoration: none; margin: 0; font-size: 0.95rem; }
.contact-socials { display: flex; gap: 0.6rem; margin-top: 1.5rem; }
.contact-socials a {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
  border: 1px solid var(--border-soft);
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.3s var(--ease);
}
.contact-socials a:hover { color: #fff; border-color: var(--blue-500); background: rgba(59,130,246,0.15); }

.contact-form .form-control {
  background: var(--bg-panel);
  border: 1px solid var(--border-soft);
  color: var(--text-main);
  padding: 0.9rem 1.1rem;
  border-radius: 10px;
  font-size: 0.9rem;
}
.contact-form .form-control:focus {
  background: var(--bg-panel);
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.15);
  color: var(--text-main);
}
.contact-form .form-control::placeholder { color: var(--text-faint); }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: 2rem 3rem;
  border-top: 1px solid var(--border-soft);
  font-size: 0.8rem;
  color: var(--text-faint);
}
@media (max-width: 767.98px) { .footer { padding: 1.5rem 1.25rem; text-align: center; } }
.footer-tag i { color: var(--blue-400); }

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}
