/* ============================================================
   BRYANT WASIKE — PORTFOLIO STYLESHEET
   Design system: Deep Navy + Electric Blue + Glassmorphism
   ============================================================ */

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

:root {
  --bg-primary: #0B0F1A;
  --bg-secondary: #0E1B2E;
  --bg-glass: rgba(255, 255, 255, 0.04);
  --accent: #00BFFF;
  --accent-dim: rgba(0, 191, 255, 0.15);
  --accent-glow: rgba(0, 191, 255, 0.35);
  --cyan: #67E8F9;
  --white: #FFFFFF;
  --text-main: #FFFFFF;
  --gray: #B8C1D1;
  --gray-dim: #6B7A99;
  --border-glass: rgba(0, 191, 255, 0.18);
  --font: 'Poppins', sans-serif;
  --nav-h: 75px;
  --nav-bg: rgba(11, 15, 26, 0.75);
  --radius: 18px;
  --radius-sm: 10px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

:root.light-mode {
  --bg-primary: #F8FAFC;
  --bg-secondary: #F1F5F9;
  --bg-glass: rgba(0, 0, 0, 0.04);
  --accent: #0080CC;
  --accent-dim: rgba(0, 128, 204, 0.12);
  --accent-glow: rgba(0, 128, 204, 0.25);
  --text-main: #0F172A;
  --gray: #475569;
  --gray-dim: #62738b;
  --border-glass: rgba(0, 128, 204, 0.15);
  --nav-bg: rgba(248, 250, 252, 0.85);
  --cyan: #121313;
  --white: #0080CC;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  background: var(--bg-primary);
  color: var(--text-main);
  min-height: 100vh;
  transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
  overflow-x: hidden;
  line-height: 1.6;
  width: 100%;
}

/* ---------- CANVAS PARTICLES ---------- */
#particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
}

/* ---------- UTILITY ---------- */
.accent-text {
  color: var(--accent);
}

.section-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 2.5vw, 2rem);
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid var(--border-glass);
  border-radius: 50px;
  padding: 0.3rem 1.1rem;
  margin-bottom: 1rem;
}

.section-heading {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

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

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.75rem 1.8rem;
  border-radius: 50px;
  text-decoration: none;
  cursor: pointer;
  outline: none;
  border: none;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(-100%);
  transition: transform 0.4s ease;
  z-index: -1;
  border-radius: 50px;
}

.btn:hover::before {
  transform: translateX(0);
}

.btn-primary {
  background: linear-gradient(135deg, #00BFFF, #0080CC);
  color: #ffffff;
  box-shadow: 0 0 20px rgba(0, 191, 255, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(0, 191, 255, 0.5);
}

.glow-btn {
  animation: btn-pulse 3s ease-in-out infinite;
}

@keyframes btn-pulse {

  0%,
  100% {
    box-shadow: 0 0 20px rgba(0, 191, 255, 0.25);
  }

  50% {
    box-shadow: 0 0 40px rgba(0, 191, 255, 0.55);
  }
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.btn-secondary:hover {
  background: rgba(0, 191, 255, 0.1);
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 191, 255, 0.2);
}

.btn-sm {
  padding: 0.5rem 1.2rem;
  font-size: 0.8rem;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ---------- SCROLL ANIMATIONS ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.9s ease forwards;
}

.delay-1 {
  animation-delay: 0.2s;
}

.delay-2 {
  animation-delay: 0.4s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal.delay-1.visible {
  transition-delay: 0.15s;
}

.reveal.delay-2.visible {
  transition-delay: 0.3s;
}

/* ---------- NAVBAR ---------- */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 1000;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

#navbar.scrolled {
  background: var(--nav-bg);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
  max-width: 1540px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 2.5vw, 2rem);
  height: 100%;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-logo {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  text-decoration: none;
  letter-spacing: -0.03em;
  flex-shrink: 0;
}

.nav-logo-f {
  font-size: 1.35rem;
  font-weight: 800;
  color: #FFFFFF;
  text-decoration: none;
  letter-spacing: -0.03em;
  flex-shrink: 0;
}

.logo-bracket {
  color: var(--accent);
}

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

.nav-links {
  display: flex;
  list-style: none;
  gap: 0.25rem;
  margin-left: auto;
}

.nav-links a {
  display: block;
  padding: 0.45rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray);
  text-decoration: none;
  border-radius: 8px;
  transition: color 0.25s, background 0.25s;
}

.nav-links a:hover {
  color: var(--accent);
  background: var(--accent-dim);
}

.nav-cta {
  margin-left: 1rem;
  flex-shrink: 0;
  background: linear-gradient(135deg, #00BFFF, #0080CC);
  color: #FFFFFF;
  border: none;
  border-radius: 50px;
  padding: 0.55rem 1.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font);
  transition: var(--transition);
  box-shadow: 0 0 18px rgba(0, 191, 255, 0.3);
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 30px rgba(0, 191, 255, 0.5);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}

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

/* ---------- THEME TOGGLE ---------- */
.theme-toggle {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-main);
  transition: var(--transition);
  margin-left: auto;
  flex-shrink: 0;
}

.theme-toggle:hover {
  background: var(--accent-dim);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.theme-toggle .sun-icon {
  display: none;
}

.light-mode .theme-toggle .moon-icon {
  display: none;
}

.light-mode .theme-toggle .sun-icon {
  display: block;
}

/* ---------- HERO ---------- */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -200px;
  left: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 191, 255, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: -150px;
  right: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 120, 200, 0.07) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(2rem, 6vh, 5rem) clamp(1rem, 2.5vw, 2rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: var(--accent);
  margin-bottom: 1.2rem;
}

.tag-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  animation: dot-blink 2s ease-in-out infinite;
}

@keyframes dot-blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.3;
  }
}

.hero-heading {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: 0.5rem;
}

.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  font-weight: 600;
  line-height: 1.3;
  color: var(--gray);
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.hero-desc {
  font-size: 1rem;
  color: var(--gray);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 2rem;
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.social-icons {
  display: flex;
  gap: 0.8rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-glass);
  color: var(--gray);
  transition: var(--transition);
  text-decoration: none;
}

.social-link svg {
  width: 18px;
  height: 18px;
}

.social-link:hover {
  color: var(--accent);
  background: var(--accent-dim);
  border-color: var(--accent);
  box-shadow: 0 0 18px rgba(0, 191, 255, 0.3);
  transform: translateY(-2px);
}

/* Hero image + rings */
.hero-image-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tech-rings {
  position: absolute;
  width: 520px;
  height: 520px;
  inset: 50%;
  transform: translate(-50%, -50%);
}

.ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--border-glass);
  inset: 50%;
  transform: translate(-50%, -50%);
}

.ring-1 {
  width: 300px;
  height: 300px;
  animation: ring-rotate 18s linear infinite;
}

.ring-2 {
  width: 400px;
  height: 400px;
  border-style: dashed;
  animation: ring-rotate 25s linear infinite reverse;
}

.ring-3 {
  width: 510px;
  height: 510px;
  animation: ring-rotate 35s linear infinite;
  border-color: rgba(0, 191, 255, 0.1);
}

@keyframes ring-rotate {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.orbit-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  top: 50%;
  left: 50%;
}

.dot-1 {
  animation: orbit1 18s linear infinite;
}

.dot-2 {
  animation: orbit2 25s linear infinite reverse;
}

.dot-3 {
  animation: orbit3 35s linear infinite;
}

@keyframes orbit1 {
  from {
    transform: translate(-50%, -50%) rotate(0) translateX(150px);
  }

  to {
    transform: translate(-50%, -50%) rotate(360deg) translateX(150px);
  }
}

@keyframes orbit2 {
  from {
    transform: translate(-50%, -50%) rotate(0) translateX(200px);
  }

  to {
    transform: translate(-50%, -50%) rotate(360deg) translateX(200px);
  }
}

@keyframes orbit3 {
  from {
    transform: translate(-50%, -50%) rotate(0) translateX(255px);
  }

  to {
    transform: translate(-50%, -50%) rotate(360deg) translateX(255px);
  }
}

.portrait-frame {
  position: relative;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--border-glass);
  box-shadow: 0 0 50px rgba(0, 191, 255, 0.2), inset 0 0 30px rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.hero-portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.portrait-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(11, 15, 26, 0.6));
}

.float-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: rgba(14, 27, 46, 0.85);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(12px);
  border-radius: 14px;
  padding: 0.7rem 1rem;
  font-size: 0.8rem;
  z-index: 2;
  animation: float 4s ease-in-out infinite;
}

.badge-icon {
  font-size: 1.3rem;
}

.float-badge strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
}

.float-badge small {
  color: var(--gray);
  font-size: 0.72rem;
}

.badge-top-right {
  top: 30px;
  right: -10px;
}

.badge-bottom-left {
  bottom: 40px;
  left: -15px;
  animation-delay: 1.5s;
}

@keyframes float {

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

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

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--gray-dim);
  animation: fade-pulse 2.5s ease-in-out infinite;
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scroll-line 2.5s ease-in-out infinite;
}

@keyframes scroll-line {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }

  50% {
    transform: scaleY(1);
    transform-origin: top;
  }

  51% {
    transform: scaleY(1);
    transform-origin: bottom;
  }

  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

@keyframes fade-pulse {

  0%,
  100% {
    opacity: 0.4;
  }

  50% {
    opacity: 1;
  }
}

/* ---------- TECH STRIP ---------- */
.tech-strip {
  padding: 2rem 0;
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
  background: linear-gradient(to right, rgba(11, 15, 26, 0.95), rgba(14, 27, 46, 0.95), rgba(11, 15, 26, 0.95));
}

.strip-track {
  display: flex;
  gap: 3rem;
  animation: strip-scroll 30s linear infinite;
  width: max-content;
}

@keyframes strip-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.tech-strip:hover .strip-track {
  animation-play-state: paused;
}

.strip-item {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.tech-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  opacity: 0.55;
  transition: opacity 0.3s, filter 0.3s;
  cursor: default;
}

.tech-logo:hover {
  opacity: 1;
  filter: drop-shadow(0 0 8px var(--accent));
}

.tech-logo svg {
  width: 36px;
  height: 36px;
}

.tech-logo span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray);
  white-space: nowrap;
}

/* ---------- ABOUT ---------- */
.about-section {
  padding: clamp(5rem, 10vh, 8rem) 0;
  position: relative;
  z-index: 1;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 4rem;
  align-items: center;
}

.about-image-wrap {
  position: relative;
}

.about-portrait-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-glass);
  box-shadow: 0 0 40px rgba(0, 191, 255, 0.12);
}

.about-portrait {
  width: 100%;
  display: block;
  object-fit: cover;
  height: 480px;
}

.portrait-overlay-tag {
  position: absolute;
  bottom: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 191, 255, 0.15);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(12px);
  border-radius: 50px;
  padding: 0.5rem 1.2rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
}

.about-bg-glow {
  position: absolute;
  top: 50%;
  left: -20px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 191, 255, 0.1) 0%, transparent 70%);
  transform: translateY(-50%);
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
}

.about-content .section-tag {
  margin-bottom: 1rem;
}

.about-content .section-heading {
  text-align: left;
  margin-bottom: 1.2rem;
}

.about-bio {
  color: var(--gray);
  margin-bottom: 1rem;
  font-size: 0.95rem;
  line-height: 1.8;
}

.stat-counters {
  display: flex;
  gap: 2rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: inline-block;
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1;
}

.stat-item p {
  font-size: 0.75rem;
  color: var(--gray);
  margin-top: 0.3rem;
  letter-spacing: 0.05em;
}

/* ---------- PROJECTS ---------- */
.projects-section {
  padding: clamp(5rem, 10vh, 8rem) 0;
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, transparent, rgba(0, 92, 231, 0.253), transparent);
}

.filter-tabs {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.5rem 1.4rem;
  border-radius: 50px;
  border: 1px solid var(--border-glass);
  background: rgba(255, 255, 255, 0.04);
  color: var(--gray);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--accent-dim);
  border-color: var(--accent);
  color: var(--accent);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}

@media (max-width: 960px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
}

.project-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius);
  overflow: hidden;
  backdrop-filter: blur(12px);
  transition: var(--transition);
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 191, 255, 0.15);
  border-color: rgba(0, 191, 255, 0.35);
}

.project-thumb {
  position: relative;
  overflow: hidden;
  height: 200px;
}

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

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

.project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 15, 26, 0.75);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.35s ease;
}

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

.project-info {
  padding: 1.5rem;
}

.project-info h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.project-info p {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.tech-tags span {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.25rem 0.7rem;
  border-radius: 50px;
  background: rgba(0, 191, 255, 0.1);
  border: 1px solid rgba(0, 191, 255, 0.25);
  color: var(--cyan);
}

/* ---------- SERVICES ---------- */
.services-section {
  padding: clamp(5rem, 10vh, 8rem) 0;
  position: relative;
  z-index: 1;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.8rem;
}

.service-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius);
  padding: 2.2rem;
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.service-card:hover {
  border-color: rgba(0, 191, 255, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(0, 191, 255, 0.12);
}

.service-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-sm);
  background: var(--accent-dim);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.4rem;
}

.service-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--accent);
}

.service-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
}

.service-card p {
  font-size: 0.87rem;
  color: var(--gray);
  line-height: 1.7;
}

.card-glow-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.service-card:hover .card-glow-line {
  opacity: 1;
}

/* ---------- SKILLS ---------- */
.skills-section {
  padding: clamp(5rem, 10vh, 8rem) 0;
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, transparent, rgba(0, 92, 231, 0.26), transparent);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}

.skill-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius);
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  backdrop-filter: blur(12px);
  transition: var(--transition);
  animation-delay: var(--delay, 0s);
}

.skill-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 191, 255, 0.35);
  box-shadow: 0 10px 35px rgba(0, 191, 255, 0.15);
}

.skill-icon {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: filter 0.3s;
}

.skill-card:hover .skill-icon {
  filter: drop-shadow(0 0 12px var(--accent));
}

.skill-icon svg {
  width: 58px;
  height: 58px;
}

.skill-card span {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray);
}

/* ---------- TESTIMONIALS ---------- */
.testimonials-section {
  padding: clamp(5rem, 10vh, 8rem) 0;
  position: relative;
  z-index: 1;
}

.testimonial-slider {
  position: relative;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  gap: 1.8rem;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card {
  min-width: 100%;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius);
  padding: 2.8rem 3rem;
  backdrop-filter: blur(20px);
  text-align: center;
}

.stars {
  font-size: 1.4rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.quote {
  font-size: 1.05rem;
  color: var(--gray);
  line-height: 1.8;
  max-width: 700px;
  margin: 0 auto 2rem;
  font-style: italic;
}

.quote::before {
  content: '\201C';
  color: var(--accent);
  font-size: 3rem;
  line-height: 0;
  vertical-align: -0.6em;
  margin-right: 4px;
}

.client-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: center;
}

.client-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #0055AA);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: #FFFFFF;
  flex-shrink: 0;
}

.client-info strong {
  font-size: 0.95rem;
  display: block;
}

.client-info small {
  color: var(--gray);
  font-size: 0.8rem;
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  margin-top: 2rem;
}

.slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-glass);
  color: var(--white);
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition);
}

.slider-btn:hover {
  background: var(--accent-dim);
  border-color: var(--accent);
  color: var(--accent);
}

.slider-dots {
  display: flex;
  gap: 0.5rem;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gray-dim);
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background: var(--accent);
  width: 22px;
  border-radius: 4px;
  box-shadow: 0 0 10px var(--accent);
}

/* ---------- CONTACT ---------- */
.contact-section {
  padding: clamp(5rem, 10vh, 8rem) 0;
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, transparent, rgba(0, 92, 231, 0.212), transparent);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-form-wrap {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius);
  padding: 2.5rem;
  backdrop-filter: blur(16px);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray);
  letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.1rem;
  font-family: var(--font);
  font-size: 0.9rem;
  color: var(--white);
  transition: border-color 0.3s, box-shadow 0.3s;
  outline: none;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-dim);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 191, 255, 0.12);
}

.contact-info-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius);
  padding: 2.5rem;
  backdrop-filter: blur(16px);
}

.contact-info-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
}

.contact-info-card>p {
  color: var(--gray);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--accent-dim);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent);
}

.contact-detail small {
  font-size: 0.72rem;
  color: var(--gray-dim);
  font-weight: 600;
  letter-spacing: 0.07em;
  display: block;
  margin-bottom: 0.2rem;
}

.contact-detail p {
  font-size: 0.9rem;
  font-weight: 500;
}

.contact-detail a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.25s;
}

.contact-detail a:hover {
  color: #ffffff;
}

.contact-social {
  display: flex;
  gap: 0.7rem;
  margin-top: 2rem;
}

/* ---------- FOOTER ---------- */
.site-footer {
  background: rgba(11, 15, 26, 0.95);
  border-top: 1px solid var(--border-glass);
  padding: 4rem 0 0;
  position: relative;
  z-index: 1;
}

.footer-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 2.5vw, 2rem);
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 4rem;
  padding-bottom: 3rem;
}

.footer-brand p {
  color: var(--gray);
  font-size: 0.9rem;
  margin: 1rem 0 1.5rem;
  line-height: 1.7;
}

.footer-links h4 {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 1.2rem;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  color: var(--gray);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.25s;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid var(--border-glass);
  padding: 1.4rem clamp(1rem, 2.5vw, 2rem);
  text-align: center;
  color: var(--gray-dim);
  font-size: 0.82rem;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .skills-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 900px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .hero-content {
    order: 1;
  }

  .hero-image-wrap {
    order: 0;
    min-height: 320px;
  }

  .hero-desc,
  .hero-tag {
    max-width: 100%;
    text-align: left;
  }

  .hero-cta-group,
  .social-icons {
    justify-content: center;
  }

  .hero-desc {
    margin: 0 auto 2rem;
  }

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

  .about-content .section-heading {
    text-align: center;
  }

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

  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .tech-rings {
    width: 380px;
    height: 380px;
  }

  .portrait-frame {
    width: 270px;
    height: 270px;
  }

  .ring-1 {
    width: 220px;
    height: 220px;
  }

  .ring-2 {
    width: 300px;
    height: 300px;
  }

  .ring-3 {
    width: 375px;
    height: 375px;
  }
}

@media (max-width: 768px) {

  .nav-links,
  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: rgba(11, 15, 26, 0.97);
    backdrop-filter: blur(20px);
    padding: 2rem;
    gap: 0.5rem;
    border-bottom: 1px solid var(--border-glass);
  }

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

  .testimonial-card {
    padding: 2rem 1.5rem;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .stat-counters {
    justify-content: center;
  }

  .badge-top-right {
    top: 10px;
    right: 0;
  }

  .badge-bottom-left {
    bottom: 10px;
    left: 0;
  }
}

@media (max-width: 480px) {
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .hero-heading {
    font-size: clamp(2.3rem, 9vw, 3.5rem);
  }

  .hero-image-wrap {
    min-height: 270px;
    overflow: hidden;
  }

  .portrait-frame {
    width: 210px;
    height: 210px;
  }

  .tech-rings {
    width: 280px;
    height: 280px;
  }

  .ring-1 {
    width: 165px;
    height: 165px;
  }

  .ring-2 {
    width: 220px;
    height: 220px;
  }

  .ring-3 {
    width: 275px;
    height: 275px;
  }
}