/* ================================================
   DESIGN TOKENS & RESET
   ================================================ */
:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #12121a;
  --bg-card: rgba(255, 255, 255, 0.03);
  --text-primary: #e8e8f0;
  --text-secondary: #8888a0;
  --text-muted: #55556a;
  --accent-cyan: #00f0ff;
  --accent-purple: #a855f7;
  --accent-magenta: #f43f8e;
  --accent-blue: #667eea;
  --gradient-main: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple), var(--accent-magenta));
  --gradient-subtle: linear-gradient(135deg, rgba(0, 240, 255, 0.1), rgba(168, 85, 247, 0.1));
  --glass-bg: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-heading: 'Space Grotesk', sans-serif;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-purple) var(--bg-primary);
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  cursor: none;
}

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--accent-purple);
  border-radius: 3px;
}

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

img {
  max-width: 100%;
  display: block;
}

/* ================================================
   CUSTOM CURSOR
   ================================================ */
.cursor {
  width: 8px;
  height: 8px;
  background: var(--accent-cyan);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 10000;
  transition: transform 0.1s ease, opacity 0.3s;
  mix-blend-mode: difference;
}

.cursor-follower {
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--accent-cyan);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), width 0.3s, height 0.3s, opacity 0.3s;
  opacity: 0.5;
}

.cursor.active {
  transform: scale(0.5);
}

.cursor-follower.active {
  width: 50px;
  height: 50px;
  opacity: 0.3;
}

/* ================================================
   PARTICLE CANVAS
   ================================================ */
#particleCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ================================================
   LOADER
   ================================================ */
.loader {
  position: fixed;
  inset: 0;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: opacity 0.6s, visibility 0.6s;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-inner {
  position: relative;
  width: 80px;
  height: 80px;
}

.loader-ring {
  position: absolute;
  inset: 0;
  border: 3px solid transparent;
  border-top-color: var(--accent-cyan);
  border-right-color: var(--accent-purple);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.loader-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ================================================
   SIDE NAVIGATION
   ================================================ */
.side-nav {
  position: fixed;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 1000;
}

.side-nav-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--text-muted);
  transition: var(--transition-smooth);
  position: relative;
}

.side-nav-dot::before {
  content: '';
  position: absolute;
  inset: -4px;
  border: 1.5px solid transparent;
  border-radius: 50%;
  transition: var(--transition-smooth);
}

.side-nav-dot.active {
  background: var(--accent-cyan);
  box-shadow: 0 0 12px var(--accent-cyan);
}

.side-nav-dot.active::before {
  border-color: var(--accent-cyan);
}

.side-nav-dot:hover {
  background: var(--accent-purple);
  transform: scale(1.3);
}

/* ================================================
   HAMBURGER & MOBILE MENU
   ================================================ */
.hamburger {
  display: none;
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 10001;
  width: 40px;
  height: 40px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(12px);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition-smooth);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 15, 0.95);
  backdrop-filter: blur(20px);
  z-index: 10000;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-link {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: var(--transition-fast);
  position: relative;
}

.mobile-link:hover {
  color: var(--accent-cyan);
}

/* ================================================
   SECTIONS (General)
   ================================================ */
.section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  padding: 100px 40px;
}

.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 12px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 48px;
}

.gradient-text {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Glass Card */
.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  backdrop-filter: blur(12px);
  box-shadow: var(--glass-shadow);
}

/* ================================================
   REVEAL ANIMATIONS
   ================================================ */
.reveal-up,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up {
  transform: translateY(60px);
}

.reveal-left {
  transform: translateX(-60px);
}

.reveal-right {
  transform: translateX(60px);
}

.reveal-up.revealed,
.reveal-left.revealed,
.reveal-right.revealed {
  opacity: 1;
  transform: translate(0);
}

/* ================================================
   HERO SECTION
   ================================================ */
.hero {
  flex-direction: column;
  text-align: center;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-greeting {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--accent-cyan);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero-name {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 16px;
}

.hero-role {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  color: var(--text-secondary);
  font-weight: 400;
  margin-bottom: 24px;
}

.typing {
  color: var(--accent-purple);
  font-weight: 600;
}

.typing-cursor {
  animation: blink 0.8s step-end infinite;
  color: var(--accent-cyan);
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.hero-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto 36px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 36px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: none;
  cursor: none;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-main);
  color: #fff;
  box-shadow: 0 4px 24px rgba(0, 240, 255, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 240, 255, 0.35);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--glass-border);
  color: var(--text-primary);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  transform: translateY(-2px);
}

/* Scroll Indicator */
.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: float 2.5s ease-in-out infinite;
}

.scroll-indicator span {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid var(--text-muted);
  border-radius: 12px;
  position: relative;
}

.scroll-wheel {
  width: 3px;
  height: 8px;
  background: var(--accent-cyan);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 1.5s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes scrollWheel {
  0% {
    opacity: 1;
    top: 6px;
  }

  100% {
    opacity: 0;
    top: 22px;
  }
}

/* Floating Shapes */
.floating-shapes {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.08;
  filter: blur(60px);
}

.shape-1 {
  width: 400px;
  height: 400px;
  background: var(--accent-cyan);
  top: 10%;
  left: -5%;
  animation: floatShape 12s ease-in-out infinite;
}

.shape-2 {
  width: 300px;
  height: 300px;
  background: var(--accent-purple);
  top: 60%;
  right: -5%;
  animation: floatShape 15s ease-in-out infinite reverse;
}

.shape-3 {
  width: 200px;
  height: 200px;
  background: var(--accent-magenta);
  bottom: 10%;
  left: 30%;
  animation: floatShape 10s ease-in-out infinite 2s;
}

.shape-4 {
  width: 250px;
  height: 250px;
  background: var(--accent-blue);
  top: 20%;
  right: 20%;
  animation: floatShape 18s ease-in-out infinite 1s;
}

.shape-5 {
  width: 150px;
  height: 150px;
  background: var(--accent-cyan);
  bottom: 30%;
  right: 35%;
  animation: floatShape 14s ease-in-out infinite 3s;
}

@keyframes floatShape {

  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }

  25% {
    transform: translate(30px, -30px) rotate(5deg);
  }

  50% {
    transform: translate(-20px, 20px) rotate(-5deg);
  }

  75% {
    transform: translate(15px, 15px) rotate(3deg);
  }
}

/* ================================================
   ABOUT SECTION
   ================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: center;
  margin-top: 48px;
}

.image-frame {
  position: relative;
  width: 280px;
  height: 340px;
  margin: 0 auto;
}

.image-placeholder {
  width: 100%;
  height: 100%;
  background: var(--gradient-subtle);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--glass-border);
  overflow: hidden;
}

.profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transform: scale(1.25);
}

.image-initials {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 700;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.image-border {
  position: absolute;
  inset: -8px;
  border: 2px solid transparent;
  border-image: var(--gradient-main) 1;
  border-radius: var(--radius-md);
  animation: borderRotate 4s linear infinite;
  opacity: 0.5;
}

@keyframes borderRotate {
  to {
    filter: hue-rotate(360deg);
  }
}

.about-text p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
  font-size: 1.02rem;
}

.about-text strong {
  color: var(--text-primary);
}

.about-stats {
  display: flex;
  gap: 32px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--glass-border);
}

.stat {
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-plus {
  font-size: 1.5rem;
  color: var(--accent-cyan);
}

.stat-label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ================================================
   SKILLS SECTION — Orbit + Circular Rings
   ================================================ */

/* Orbit Container */
.skills-orbit {
  position: relative;
  width: 420px;
  height: 420px;
  margin: 48px auto 60px;
}

.orbit-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: var(--gradient-main);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
  z-index: 2;
  box-shadow: 0 0 40px rgba(0, 240, 255, 0.3);
}

.skill-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.08);
}

.skill-ring.ring-1 {
  inset: 80px;
}

.skill-ring.ring-2 {
  inset: 5px;
}

.skill-node {
  position: absolute;
  width: 56px;
  height: 56px;
  background: var(--bg-secondary);
  border: 1.5px solid var(--glass-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.3s, border-color 0.3s;
}

.skill-node:hover {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
}

.skill-icon {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.62rem;
  color: var(--accent-cyan);
  display: block;
}

/* Circular Progress Rings */
.rings-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  max-width: 800px;
  margin: 0 auto;
}

.ring-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  transition-delay: var(--delay, 0s);
}

.ring-wrap {
  position: relative;
  width: 120px;
  height: 120px;
}

.ring-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.ring-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.05);
  stroke-width: 8;
}

.ring-progress {
  fill: none;
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 326.73;
  stroke-dashoffset: 326.73;
  transition: stroke-dashoffset 1.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Per-ring colors */
.ring-card:nth-child(1) .ring-progress {
  stroke: var(--accent-cyan);
}

.ring-card:nth-child(2) .ring-progress {
  stroke: var(--accent-purple);
}

.ring-card:nth-child(3) .ring-progress {
  stroke: var(--accent-magenta);
}

.ring-card:nth-child(4) .ring-progress {
  stroke: var(--accent-blue);
}

/* Animated fill values */
.ring-progress.animated {
  stroke-dashoffset: var(--ring-offset);
}

/* Glow on animated rings */
.ring-card:nth-child(1) .ring-progress.animated {
  filter: drop-shadow(0 0 6px rgba(0, 240, 255, 0.4));
}

.ring-card:nth-child(2) .ring-progress.animated {
  filter: drop-shadow(0 0 6px rgba(168, 85, 247, 0.4));
}

.ring-card:nth-child(3) .ring-progress.animated {
  filter: drop-shadow(0 0 6px rgba(244, 63, 142, 0.4));
}

.ring-card:nth-child(4) .ring-progress.animated {
  filter: drop-shadow(0 0 6px rgba(102, 126, 234, 0.4));
}

.ring-value {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
}

.ring-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-align: center;
  font-weight: 500;
  line-height: 1.3;
}


/* ================================================
   PROJECTS SECTION
   ================================================ */
.project-filters {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 8px 24px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 500;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--accent-cyan);
  color: var(--bg-primary);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.3);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.project-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  transition: var(--transition-smooth);
  transform-style: preserve-3d;
  perspective: 1000px;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.project-card.hidden {
  display: none;
}

.project-image {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.project-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: absolute;
  inset: 0;
  z-index: 1;
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 15, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-smooth);
  z-index: 2;
}

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

.project-overlay.light-overlay {
  background: rgba(255, 255, 255, 0.85);
}

.light-overlay .project-link {
  color: #0a0a0f;
  border-color: #0a0a0f;
}

.light-overlay .project-link:hover {
  background: #0a0a0f;
  color: #fff;
}

.project-link {
  padding: 12px 28px;
  border: 1.5px solid var(--accent-cyan);
  border-radius: var(--radius-full);
  color: var(--accent-cyan);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.project-link:hover {
  background: var(--accent-cyan);
  color: var(--bg-primary);
}

.project-info {
  padding: 24px;
}

.project-info h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.project-info p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.project-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.project-tags span {
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 500;
  background: var(--gradient-subtle);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-full);
  color: var(--accent-cyan);
}

/* ================================================
   EXPERIENCE / TIMELINE
   ================================================ */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 48px auto 0;
  padding-left: 40px;
}

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

.timeline-item {
  position: relative;
  margin-bottom: 40px;
}

.timeline-dot {
  position: absolute;
  left: -34px;
  top: 24px;
  width: 16px;
  height: 16px;
  background: var(--accent-cyan);
  border-radius: 50%;
  box-shadow: 0 0 16px var(--accent-cyan);
  z-index: 2;
}

.timeline-content {
  padding: 28px;
}

.timeline-date {
  font-size: 0.8rem;
  color: var(--accent-cyan);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.timeline-content h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-top: 8px;
}

.timeline-content h4 {
  color: var(--accent-purple);
  font-size: 0.95rem;
  margin-top: 4px;
  font-weight: 500;
}

.timeline-content p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-top: 12px;
}

/* ================================================
   TESTIMONIALS
   ================================================ */
.testimonial-carousel {
  max-width: 900px;
  margin: 48px auto 0;
  overflow: hidden;
  position: relative;
}

.testimonial-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-card {
  flex: 0 0 100%;
  padding: 40px;
  text-align: center;
}

.testimonial-quote {
  font-size: 4rem;
  font-family: var(--font-heading);
  background: var(--gradient-main);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 8px;
}

.testimonial-card p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: #fff;
}

.testimonial-author strong {
  display: block;
  font-size: 0.95rem;
}

.testimonial-author span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}

.carousel-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.carousel-btn:hover {
  background: var(--accent-cyan);
  color: var(--bg-primary);
}

.carousel-dots {
  display: flex;
  gap: 8px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-fast);
}

.carousel-dot.active {
  background: var(--accent-cyan);
  box-shadow: 0 0 8px var(--accent-cyan);
  width: 24px;
  border-radius: 4px;
}

/* ================================================
   CONTACT SECTION
   ================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  margin-top: 48px;
}

.contact-form {
  padding: 40px;
}

.form-group {
  position: relative;
  margin-bottom: 32px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 0;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-primary);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--glass-border);
  outline: none;
  transition: var(--transition-fast);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.form-group label {
  position: absolute;
  left: 0;
  top: 12px;
  font-size: 0.95rem;
  color: var(--text-muted);
  pointer-events: none;
  transition: var(--transition-smooth);
}

.form-group input:focus+label,
.form-group input:valid+label,
.form-group textarea:focus+label,
.form-group textarea:valid+label {
  top: -16px;
  font-size: 0.75rem;
  color: var(--accent-cyan);
}

.input-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-main);
  transition: var(--transition-smooth);
}

.form-group input:focus~.input-line,
.form-group textarea:focus~.input-line {
  width: 100%;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
}

.contact-icon {
  font-size: 1.5rem;
}

.contact-item strong {
  display: block;
  font-size: 0.9rem;
}

.contact-item p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  margin: 0;
}

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 6px;
}

.social-link {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-secondary);
  transition: var(--transition-smooth);
}

.social-link:hover {
  background: var(--accent-cyan);
  color: var(--bg-primary);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.3);
}

/* ================================================
   CERTIFICATIONS
   ================================================ */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 16px;
}

.cert-card {
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition-smooth);
}

.cert-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 240, 255, 0.2);
  box-shadow: 0 12px 40px rgba(0, 240, 255, 0.1);
}

.cert-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.cert-card h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.cert-issuer {
  font-size: 0.82rem;
  color: var(--accent-cyan);
  font-weight: 500;
}

/* ================================================
   FOOTER
   ================================================ */
.footer {
  text-align: center;
  padding: 32px;
  color: var(--text-muted);
  font-size: 0.85rem;
  border-top: 1px solid var(--glass-border);
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 1024px) {
  .side-nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-menu {
    display: flex;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 80px 24px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-stats {
    justify-content: center;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .cert-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .rings-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  body {
    cursor: auto;
  }

  .cursor,
  .cursor-follower {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 260px;
  }

  .about-stats {
    flex-direction: column;
    gap: 20px;
  }

  .project-filters {
    flex-wrap: wrap;
  }

  .cert-grid {
    grid-template-columns: 1fr;
  }
}