/* ============================================================
   SREENATH S — VLSI Portfolio
   Theme: Semiconductor Dark
   Navy Blue / Cyan / White / Electric Blue
   Fonts: Poppins (headings) · Inter (body)
   ============================================================ */

:root {
  --navy: #0A192F;
  --navy-light: #112240;
  --navy-card: #0f2440;
  --cyan: #00E5FF;
  --electric: #3B82F6;
  --white: #F8FAFC;
  --slate: #94A3B8;
  --slate-dark: #64748B;
  --bg: #0A192F;
  --shadow: 0 10px 40px rgba(2, 12, 27, 0.5);
  --radius: 14px;
  --font-head: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

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

::selection {
  background: rgba(0, 229, 255, 0.3);
  color: #fff;
}

::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--navy);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--cyan), var(--electric));
  border-radius: 5px;
}

.container {
  width: min(1140px, 90%);
  margin: 0 auto;
}

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

/* ======= NAVBAR ======= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(10, 25, 47, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 229, 255, 0.12);
  transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.4);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--cyan);
  text-decoration: none;
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  gap: 1.6rem;
  list-style: none;
}

.nav-link {
  color: var(--slate);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--cyan);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.theme-toggle {
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.35);
  color: var(--cyan);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.theme-toggle:hover {
  background: rgba(0, 229, 255, 0.22);
  transform: scale(1.08) rotate(15deg);
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.3);
}

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

.hamburger span {
  width: 26px;
  height: 2.5px;
  background: var(--cyan);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ======= HERO ======= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 20%, rgba(0, 229, 255, 0.08), transparent 45%),
    radial-gradient(circle at 15% 85%, rgba(59, 130, 246, 0.10), transparent 45%),
    var(--navy);
  padding-top: 90px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.trace {
  position: absolute;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0.35;
  border-radius: 2px;
  animation: trace-move 6s linear infinite;
}

.trace-1 { top: 22%; width: 340px; left: -340px; }
.trace-2 { top: 62%; width: 460px; left: -460px; animation-delay: 2s; }
.trace-3 { top: 82%; width: 280px; left: -280px; animation-delay: 4s; }

@keyframes trace-move {
  0% { transform: translateX(0); opacity: 0; }
  15% { opacity: 0.4; }
  85% { opacity: 0.4; }
  100% { transform: translateX(1400px); opacity: 0; }
}

.hero-inner {
  text-align: center;
  position: relative;
  z-index: 2;
}

/* ======= HERO ANIMATED CHIP ======= */
.hero-chip-wrapper {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
  width: 170px;
  height: 170px;
}

.chip-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 190px;
  height: 190px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(0, 229, 255, 0.28) 0%, rgba(59, 130, 246, 0.12) 50%, transparent 75%);
  border-radius: 50%;
  pointer-events: none;
  animation: glow-breathe 3.5s ease-in-out infinite;
  z-index: 1;
}

@keyframes glow-breathe {
  0%, 100% {
    transform: translate(-50%, -50%) scale(0.95);
    opacity: 0.7;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.15);
    opacity: 1;
  }
}

.chip-radar-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

.ring-outer {
  width: 190px;
  height: 190px;
  transform: translate(-50%, -50%);
  border: 1px dashed rgba(0, 229, 255, 0.28);
  animation: orbit-spin 20s linear infinite;
}

.ring-inner {
  width: 160px;
  height: 160px;
  transform: translate(-50%, -50%);
  border: 1px dotted rgba(59, 130, 246, 0.35);
  animation: orbit-spin-rev 14s linear infinite;
}

@keyframes orbit-spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes orbit-spin-rev {
  from { transform: translate(-50%, -50%) rotate(360deg); }
  to { transform: translate(-50%, -50%) rotate(0deg); }
}

.chip-container {
  position: relative;
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  animation: chip-hover-float 4s ease-in-out infinite;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.35s ease;
  filter: drop-shadow(0 10px 24px rgba(0, 229, 255, 0.25));
}

.chip-container:hover {
  transform: scale(1.08) translateY(-6px);
  filter: drop-shadow(0 16px 32px rgba(0, 229, 255, 0.5));
}

@keyframes chip-hover-float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-8px) rotate(1deg);
  }
}

.chip-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.ic-pin {
  fill: var(--cyan);
  opacity: 0.85;
  transition: fill 0.3s ease, opacity 0.3s ease;
}

.chip-container:hover .ic-pin {
  fill: #60A5FA;
  opacity: 1;
}

.chip-notch {
  animation: notch-pulse 2s ease-in-out infinite;
}

@keyframes notch-pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

/* Signal Traces Animation */
.signal-pulse {
  stroke-dasharray: 18 55;
  animation: signal-travel 2.8s linear infinite;
}

.pulse-1 { animation-delay: 0s; }
.pulse-2 { animation-delay: 0.7s; }
.pulse-3 { animation-delay: 1.4s; }
.pulse-4 { animation-delay: 2.1s; }

@keyframes signal-travel {
  0% { stroke-dashoffset: 73; }
  100% { stroke-dashoffset: 0; }
}

.chip-center-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--cyan);
  font-size: 1.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  animation: core-pulse 2.5s ease-in-out infinite;
  text-shadow: 0 0 16px rgba(0, 229, 255, 0.85), 0 0 28px rgba(59, 130, 246, 0.55);
}

@keyframes core-pulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    color: var(--cyan);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.14);
    color: #67e8f9;
  }
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 800;
  letter-spacing: 2px;
}

.hero-role {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  color: var(--cyan);
  min-height: 2.2em;
  margin-top: 0.4rem;
}

.hero-role .cursor {
  display: inline-block;
  width: 3px;
  height: 1.1em;
  background: var(--cyan);
  margin-left: 3px;
  vertical-align: text-bottom;
  animation: blink 0.8s step-end infinite;
}

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

.hero-tagline {
  max-width: 760px;
  margin: 1.2rem auto 0;
  color: var(--slate);
  font-size: 1.02rem;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.2rem;
}

.btn {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.85rem 1.7rem;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn i { font-size: 0.95rem; }

.btn-primary {
  background: linear-gradient(135deg, var(--cyan), var(--electric));
  color: #04111f;
  border-color: transparent;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 229, 255, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--cyan);
  border-color: rgba(0, 229, 255, 0.5);
}

.btn-outline:hover {
  background: rgba(0, 229, 255, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 229, 255, 0.15);
}

.hero-scroll {
  margin-top: 3.5rem;
}

.scroll-down {
  color: var(--cyan);
  font-size: 1.5rem;
  opacity: 0.8;
  animation: bob 1.8s ease-in-out infinite;
  display: inline-block;
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}

/* ======= SECTIONS ======= */
.section {
  padding: 6rem 0;
  background: var(--bg);
}

.section-alt {
  background: linear-gradient(180deg, var(--navy), #081626 30%, var(--navy));
}

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

.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-weight: 700;
}

.section-title.small { font-size: 1.6rem; }

.section-line {
  width: 80px;
  height: 4px;
  border-radius: 2px;
  margin: 1rem auto 0;
  background: linear-gradient(90deg, var(--cyan), var(--electric));
}

/* ======= REVEAL ANIMATION ======= */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ======= ABOUT ======= */
.about-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 3rem;
  align-items: start;
}

.about-visual {
  display: flex;
  justify-content: center;
}

.about-card {
  width: 100%;
  background: linear-gradient(160deg, var(--navy-card), var(--navy-light));
  border: 1px solid rgba(0, 229, 255, 0.18);
  border-radius: var(--radius);
  padding: 2.5rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.4s ease, border-color 0.4s ease;
}

.about-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 229, 255, 0.5);
}

.about-icon {
  font-size: 3.4rem;
  color: var(--cyan);
  margin-bottom: 1rem;
}

.about-name {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
}

.about-sub {
  color: var(--slate);
  font-size: 0.95rem;
  margin-top: 0.3rem;
}

.about-socials {
  display: flex;
  justify-content: center;
  gap: 0.9rem;
  margin-top: 1.4rem;
}

.about-socials a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(0, 229, 255, 0.4);
  color: var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.3s ease;
}

.about-socials a:hover {
  background: rgba(0, 229, 255, 0.15);
  transform: translateY(-4px);
}

.about-text p {
  color: var(--slate);
  margin-bottom: 1rem;
}

.about-text strong { color: var(--cyan); font-weight: 600; }

.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.stat {
  background: var(--navy-card);
  border: 1px solid rgba(0, 229, 255, 0.12);
  border-radius: 12px;
  padding: 1.1rem 0.5rem;
  text-align: center;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.stat:hover {
  border-color: rgba(0, 229, 255, 0.5);
  transform: translateY(-4px);
}

.stat-num {
  font-family: var(--font-head);
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--cyan);
  display: block;
}

.stat-label {
  color: var(--slate);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ======= TIMELINE (Education) ======= */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(180deg, var(--cyan), var(--electric), transparent);
}

.timeline-item {
  position: relative;
  padding-left: 74px;
  margin-bottom: 2.2rem;
}

.timeline-dot {
  position: absolute;
  left: 6px;
  top: 6px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy-card);
  border: 2px solid var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  font-size: 1rem;
  z-index: 1;
}

.timeline-card {
  background: var(--navy-card);
  border: 1px solid rgba(0, 229, 255, 0.14);
  border-radius: var(--radius);
  padding: 1.6rem 1.8rem;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.timeline-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 229, 255, 0.5);
}

.timeline-badge {
  display: inline-block;
  background: rgba(0, 229, 255, 0.12);
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.25rem 0.8rem;
  border-radius: 20px;
  margin-bottom: 0.6rem;
}

.timeline-card h3 {
  font-family: var(--font-head);
  font-size: 1.15rem;
}

.timeline-card h4 {
  color: var(--electric);
  font-weight: 600;
  font-size: 0.95rem;
  margin: 0.2rem 0;
}

.timeline-card p {
  color: var(--slate);
  font-size: 0.92rem;
}

.timeline-score {
  display: inline-block;
  margin-top: 0.6rem;
  color: var(--white);
  font-weight: 600;
  font-size: 0.92rem;
  background: rgba(59, 130, 246, 0.18);
  padding: 0.25rem 0.9rem;
  border-radius: 20px;
}

/* ======= TRAINING ======= */
.training-card {
  display: flex;
  gap: 2rem;
  background: linear-gradient(160deg, var(--navy-card), var(--navy-light));
  border: 1px solid rgba(0, 229, 255, 0.18);
  border-radius: var(--radius);
  padding: 2.4rem;
  box-shadow: var(--shadow);
  max-width: 860px;
  margin: 0 auto;
}

.training-logo {
  flex-shrink: 0;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: rgba(0, 229, 255, 0.1);
  border: 2px solid var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--cyan);
}

.training-info h3 {
  font-family: var(--font-head);
  font-size: 1.35rem;
}

.training-info h4 {
  color: var(--electric);
  font-weight: 600;
  font-size: 1rem;
  margin-top: 0.2rem;
}

.training-duration {
  color: var(--slate);
  font-size: 0.9rem;
  margin: 0.6rem 0 1.1rem;
}

.training-duration i { color: var(--cyan); margin-right: 0.4rem; }

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.chip {
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.3);
  color: var(--slate);
  font-size: 0.85rem;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  transition: background 0.3s ease, color 0.3s ease;
}

.chip:hover {
  background: rgba(0, 229, 255, 0.2);
  color: var(--cyan);
}

/* ======= SKILLS ======= */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}

.skill-group {
  background: var(--navy-card);
  border: 1px solid rgba(0, 229, 255, 0.14);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.skill-group:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 229, 255, 0.5);
}

.skill-group-title {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--cyan);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.skill-items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.skill-pill {
  background: rgba(148, 163, 184, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.25);
  color: var(--slate);
  font-size: 0.85rem;
  padding: 0.42rem 0.95rem;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: border-color 0.3s ease, color 0.3s ease, background 0.3s ease;
}

.skill-pill i { color: var(--cyan); font-size: 0.8rem; }

.skill-pill:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(0, 229, 255, 0.08);
}

/* ======= PROJECTS ======= */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
  align-items: stretch;
}

.project-card {
  background: linear-gradient(160deg, var(--navy-card), var(--navy-light));
  border: 1px solid rgba(0, 229, 255, 0.14);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  transition: transform 0.35s ease, border-color 0.35s ease;
}

.project-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 229, 255, 0.55);
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.project-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  font-size: 1.4rem;
}

.project-links a {
  color: var(--slate);
  transition: color 0.3s ease, transform 0.3s ease;
}

.project-links a:hover { color: var(--cyan); transform: translateY(-2px); }

.project-title {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
}

.project-overview {
  color: var(--slate);
  font-size: 0.9rem;
  margin: 0.7rem 0 1rem;
}

.project-sub {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--electric);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.6rem;
}

.project-list {
  list-style: none;
  margin-bottom: 1.2rem;
  flex-grow: 1;
}

.project-list li {
  color: var(--slate);
  font-size: 0.88rem;
  margin-bottom: 0.45rem;
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
}

.accent-check { color: var(--cyan); font-size: 0.85rem; margin-top: 2px; }

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.tag {
  background: rgba(59, 130, 246, 0.14);
  border: 1px solid rgba(59, 130, 246, 0.4);
  color: #9dc0ff;
  font-size: 0.78rem;
  padding: 0.25rem 0.7rem;
  border-radius: 6px;
  font-weight: 500;
}

.project-skills {
  color: var(--slate-dark);
  font-size: 0.8rem;
  border-top: 1px solid rgba(148, 163, 184, 0.15);
  padding-top: 0.9rem;
}

.project-skills strong { color: var(--cyan); font-weight: 600; }

/* ======= INTERNSHIP ======= */
.exp-card {
  background: linear-gradient(160deg, var(--navy-card), var(--navy-light));
  border: 1px solid rgba(0, 229, 255, 0.18);
  border-radius: var(--radius);
  padding: 2.2rem;
  box-shadow: var(--shadow);
  max-width: 860px;
  margin: 0 auto;
}

.exp-head {
  display: flex;
  gap: 1.4rem;
  align-items: center;
  margin-bottom: 1.6rem;
}

.exp-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(0, 229, 255, 0.1);
  border: 2px solid var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  font-size: 1.4rem;
}

.exp-meta h3 {
  font-family: var(--font-head);
  font-size: 1.25rem;
}

.exp-meta h4 {
  color: var(--electric);
  font-size: 0.95rem;
  font-weight: 600;
}

.exp-duration {
  color: var(--slate);
  font-size: 0.85rem;
}

.exp-duration i { color: var(--cyan); margin-right: 0.4rem; }

.exp-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.exp-sub {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--electric);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.7rem;
}

/* ======= WORKSHOPS ======= */
.workshop-card {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  background: var(--navy-card);
  border: 1px solid rgba(0, 229, 255, 0.14);
  border-radius: var(--radius);
  padding: 2.2rem;
  box-shadow: var(--shadow);
  max-width: 760px;
  margin: 0 auto;
}

.workshop-icon {
  flex-shrink: 0;
  width: 68px;
  height: 68px;
  border-radius: 14px;
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  font-size: 1.6rem;
}

.workshop-info h3 {
  font-family: var(--font-head);
  font-size: 1.25rem;
}

.workshop-info h4 {
  color: var(--electric);
  font-weight: 600;
  font-size: 0.95rem;
  margin: 0.2rem 0 1rem;
}

/* ======= IDEA PRESENTATION ======= */
.idea-card {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  background: linear-gradient(160deg, var(--navy-card), var(--navy-light));
  border: 1px solid rgba(0, 229, 255, 0.18);
  border-radius: var(--radius);
  padding: 2.4rem;
  box-shadow: var(--shadow);
  max-width: 860px;
  margin: 0 auto;
}

.idea-icon {
  flex-shrink: 0;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: rgba(0, 229, 255, 0.1);
  border: 2px solid var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  font-size: 1.9rem;
}

.idea-info h3 {
  font-family: var(--font-head);
  font-size: 1.35rem;
}

.idea-concept {
  color: var(--slate);
  font-size: 0.95rem;
  margin: 0.5rem 0 1.4rem;
}

.idea-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

.idea-point {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  background: rgba(148, 163, 184, 0.05);
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 10px;
  padding: 1rem;
  transition: border-color 0.3s ease;
}

.idea-point:hover { border-color: rgba(0, 229, 255, 0.5); }

.idea-point i { font-size: 1.15rem; margin-top: 3px; }

.idea-point h4 {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 600;
}

.idea-point p {
  color: var(--slate);
  font-size: 0.83rem;
}

.idea-note {
  margin-top: 1.3rem;
  color: var(--cyan);
  font-weight: 500;
  font-size: 0.92rem;
}

.idea-note::before {
  content: '\f005';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  margin-right: 0.5rem;
}

/* ======= CERTIFICATIONS ======= */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.cert-card {
  background: var(--navy-card);
  border: 1px solid rgba(0, 229, 255, 0.14);
  border-radius: var(--radius);
  padding: 2rem 1.4rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.35s ease, border-color 0.35s ease;
}

.cert-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 229, 255, 0.55);
}

.cert-icon {
  font-size: 2.4rem;
  color: var(--cyan);
  margin-bottom: 1rem;
}

.cert-card h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  min-height: 2.8em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cert-issuer {
  color: var(--electric);
  font-size: 0.85rem;
  font-weight: 500;
}

/* ======= ACHIEVEMENTS ======= */
.achievement-card {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  background: var(--navy-card);
  border: 1px solid rgba(0, 229, 255, 0.14);
  border-radius: var(--radius);
  padding: 2.2rem;
  box-shadow: var(--shadow);
  max-width: 760px;
  margin: 0 auto;
}

.achievement-icon {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(0, 229, 255, 0.1);
  border: 2px solid var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  font-size: 1.7rem;
}

.achievement-info h3 {
  font-family: var(--font-head);
  font-size: 1.3rem;
  margin-bottom: 0.9rem;
}

/* ======= EXPERTISE BARS ======= */
.expertise-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem 3rem;
  max-width: 860px;
  margin: 0 auto;
}

.bar-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.bar-label {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
}

.bar-track {
  width: 100%;
  height: 10px;
  background: rgba(148, 163, 184, 0.15);
  border-radius: 6px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  width: 0;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--cyan), var(--electric));
  position: relative;
  transition: width 1.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.bar-val {
  position: absolute;
  right: 8px;
  top: -1px;
  font-size: 0.7rem;
  color: #04111f;
  font-weight: 700;
  line-height: 12px;
}

/* ======= OBJECTIVE ======= */
.objective-card {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  background: linear-gradient(160deg, var(--navy-card), var(--navy-light));
  border: 1px solid rgba(0, 229, 255, 0.18);
  border-radius: var(--radius);
  padding: 2.4rem;
  box-shadow: var(--shadow);
  max-width: 860px;
  margin: 0 auto;
}

.objective-icon {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(0, 229, 255, 0.1);
  border: 2px solid var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  font-size: 1.7rem;
}

.objective-info .section-title {
  margin-bottom: 1rem;
  text-align: left;
}

.objective-info p {
  color: var(--slate);
}

/* ======= CONTACT ======= */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.contact-card {
  background: var(--navy-card);
  border: 1px solid rgba(0, 229, 255, 0.16);
  border-radius: 16px;
  padding: 3rem 1.4rem;
  text-align: center;
  text-decoration: none;
  color: var(--white);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.contact-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 229, 255, 0.6);
  box-shadow: 0 15px 35px rgba(0, 229, 255, 0.18);
}

.contact-icon {
  width: 58px;
  height: 58px;
  margin-bottom: 1.2rem;
  border-radius: 50%;
  background: rgba(0, 229, 255, 0.05);
  border: 2px solid var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  font-size: 1.25rem;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover .contact-icon {
  background: rgba(0, 229, 255, 0.2);
  transform: scale(1.08);
  box-shadow: 0 0 16px rgba(0, 229, 255, 0.4);
}

.contact-card h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--cyan);
  margin-bottom: 0.5rem;
}

.contact-card p {
  color: var(--slate);
  font-size: 0.88rem;
  line-height: 1.4;
  word-break: break-word;
}

/* Direct Message Contact Form */
.contact-form-wrapper {
  max-width: 780px;
  margin: 3.5rem auto 0;
}

.contact-form-card {
  background: linear-gradient(160deg, var(--navy-card), var(--navy-light));
  border: 1px solid rgba(0, 229, 255, 0.18);
  border-radius: 16px;
  padding: 2.4rem;
  box-shadow: var(--shadow);
}

.form-head {
  margin-bottom: 1.6rem;
}

.form-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: rgba(0, 229, 255, 0.12);
  border: 1px solid rgba(0, 229, 255, 0.3);
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 0.4rem;
}

.form-head h3 {
  font-family: var(--font-head);
  font-size: 1.3rem;
  color: var(--white);
}

.form-head p {
  color: var(--slate);
  font-size: 0.88rem;
  margin-top: 0.25rem;
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

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

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--slate);
}

.input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.input-wrap i {
  position: absolute;
  left: 14px;
  color: var(--slate-dark);
  font-size: 0.9rem;
  pointer-events: none;
}

.input-wrap input,
.input-wrap textarea {
  width: 100%;
  background: var(--navy);
  border: 1px solid rgba(0, 229, 255, 0.18);
  border-radius: 8px;
  padding: 0.78rem 1rem 0.78rem 2.5rem;
  color: var(--white);
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.input-wrap.textarea-wrap i {
  top: 14px;
}

.input-wrap.textarea-wrap textarea {
  resize: vertical;
  min-height: 110px;
}

.input-wrap input:focus,
.input-wrap textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.25);
}

.btn-submit {
  align-self: flex-start;
  padding: 0.85rem 2rem;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
}

/* ======= MODALS ======= */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(2, 6, 23, 0.78);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: linear-gradient(165deg, #09192f, #050d1a);
  border: 1.5px solid rgba(0, 229, 255, 0.35);
  border-radius: var(--radius);
  max-width: 860px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.65), 0 0 40px rgba(0, 229, 255, 0.15);
  transform: scale(0.94) translateY(20px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.open .modal-card {
  transform: scale(1) translateY(0);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid rgba(0, 229, 255, 0.15);
}

.modal-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: rgba(0, 229, 255, 0.12);
  border: 1px solid rgba(0, 229, 255, 0.3);
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 0.3rem;
}

.modal-title-group h2 {
  font-family: var(--font-head);
  font-size: 1.35rem;
  color: var(--white);
}

.modal-close-btn {
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.25);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.modal-close-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: #ef4444;
  color: #ef4444;
  transform: rotate(90deg);
}

.modal-body {
  padding: 2rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.modal-section h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.modal-section p {
  color: var(--slate);
  font-size: 0.92rem;
  line-height: 1.7;
}

.arch-diagram-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  background: #030a14;
  border: 1px solid rgba(0, 229, 255, 0.18);
  border-radius: 10px;
  padding: 1.5rem;
  margin-top: 1rem;
}

.arch-node {
  background: var(--navy);
  border: 1px solid rgba(0, 229, 255, 0.25);
  border-radius: 8px;
  padding: 0.9rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.node-tag {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--cyan);
}

.arch-node strong {
  font-family: monospace;
  font-size: 0.9rem;
  color: var(--white);
}

.arch-node span {
  font-size: 0.75rem;
  color: var(--slate-dark);
}

.arch-arrow {
  color: var(--cyan);
  font-size: 1.2rem;
}

.arch-fifos {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.arch-fifo {
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: 6px;
  padding: 0.45rem 0.8rem;
  font-size: 0.78rem;
  color: var(--cyan);
}

.modal-submodules-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 0.8rem;
}

.submod-card {
  background: var(--navy);
  border: 1px solid rgba(0, 229, 255, 0.14);
  border-radius: 8px;
  padding: 1rem 1.2rem;
}

.submod-card h4 {
  font-family: var(--font-head);
  font-size: 0.92rem;
  color: var(--cyan);
  margin-bottom: 0.4rem;
}

.submod-card p {
  font-size: 0.84rem;
  color: var(--slate);
  line-height: 1.5;
}

.code-box {
  background: #020710;
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: 8px;
  padding: 1.2rem;
  overflow-x: auto;
  font-family: 'Fira Code', monospace;
  font-size: 0.82rem;
  line-height: 1.6;
  color: #a5f3fc;
}

.modal-metrics-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 0.8rem;
}

.metric-chip {
  background: var(--navy);
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.metric-chip .val {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--cyan);
}

.metric-chip .lbl {
  font-size: 0.76rem;
  color: var(--slate);
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  padding: 1.2rem 2rem;
  border-top: 1px solid rgba(0, 229, 255, 0.15);
}

/* Toast */
.toast-notification {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #0f172a;
  border: 1.5px solid var(--cyan);
  border-radius: 999px;
  padding: 0.8rem 1.6rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 229, 255, 0.4);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease, visibility 0.35s ease;
}

.toast-notification.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  visibility: visible;
}

.toast-content {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
}

.toast-icon {
  color: #10b981;
  font-size: 1.1rem;
}

/* ======= FOOTER ======= */
.footer {
  background: #050d1a;
  border-top: 1px solid rgba(0, 229, 255, 0.15);
  padding: 3rem 0;
  text-align: center;
}

.footer-thanks {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--cyan);
}

.footer-quote {
  color: var(--slate);
  font-style: italic;
  margin: 0.8rem 0;
}

.footer-copy {
  color: var(--slate-dark);
  font-size: 0.85rem;
}

/* ======= BACK TO TOP ======= */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--electric));
  border: none;
  color: #04111f;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  z-index: 999;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  box-shadow: 0 8px 24px rgba(0, 229, 255, 0.4);
}

/* ======= RESPONSIVE ======= */
@media (max-width: 992px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { max-width: 320px; margin: 0 auto; }
  .skills-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .idea-points { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 260px;
    height: calc(100vh - 70px);
    background: rgba(4, 17, 31, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 2rem 1.5rem;
    gap: 1.2rem;
    border-left: 1px solid rgba(0, 229, 255, 0.15);
    transition: right 0.35s ease;
    z-index: 1000;
  }

  .nav-links.open { right: 0; }
  .nav-toggle { display: block; }
  .hero-title { font-size: 2.5rem; }
  .hero-role { font-size: 1.2rem; }
  .section-title { font-size: 2rem; }
  .projects-grid { grid-template-columns: 1fr; }
  .skills-grid { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: 1fr; }
  .scorecard-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }

  .nav-links {
    position: fixed;
    top: 64px;
    right: -100%;
    flex-direction: column;
    background: rgba(10, 25, 47, 0.98);
    width: 70%;
    max-width: 300px;
    height: calc(100vh - 64px);
    padding: 2.5rem 2rem;
    gap: 1.6rem;
    border-left: 1px solid rgba(0, 229, 255, 0.15);
    transition: right 0.4s ease;
  }

  .nav-links.open { right: 0; }

  .hamburger { display: flex; }

  .skills-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .exp-cols { grid-template-columns: 1fr; }
  .expertise-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: repeat(2, 1fr); }
  .training-card,
  .workshop-card,
  .idea-card,
  .achievement-card,
  .objective-card { flex-direction: column; align-items: center; text-align: center; }
  .training-logo { margin: 0 auto; }
  .chip-list { justify-content: center; }
  .idea-point { text-align: left; }
}

@media (max-width: 480px) {
  .cert-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   LIGHT THEME OVERRIDES
   ============================================================ */
[data-theme="light"] {
  --navy: #F8FAFC;
  --navy-light: #FFFFFF;
  --navy-card: #FFFFFF;
  --cyan: #0284C7;
  --electric: #2563EB;
  --white: #0F172A;
  --slate: #475569;
  --slate-dark: #64748B;
  --bg: #F1F5F9;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

[data-theme="light"] body {
  background: var(--bg);
  color: var(--white);
}

[data-theme="light"] ::selection {
  background: rgba(2, 132, 199, 0.25);
  color: #0F172A;
}

[data-theme="light"] ::-webkit-scrollbar-track {
  background: #E2E8F0;
}

[data-theme="light"] ::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #0284C7, #2563EB);
}

[data-theme="light"] .navbar {
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(2, 132, 199, 0.18);
}

[data-theme="light"] .navbar.scrolled {
  box-shadow: 0 6px 25px rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .hero {
  background:
    radial-gradient(circle at 80% 20%, rgba(2, 132, 199, 0.10), transparent 45%),
    radial-gradient(circle at 15% 85%, rgba(37, 99, 235, 0.08), transparent 45%),
    #F8FAFC;
}

[data-theme="light"] .hero-title {
  color: #0F172A;
}

[data-theme="light"] .btn-primary {
  background: linear-gradient(135deg, #0284C7, #2563EB);
  color: #FFFFFF;
}

[data-theme="light"] .btn-primary:hover {
  box-shadow: 0 10px 30px rgba(2, 132, 199, 0.35);
}

[data-theme="light"] .btn-outline {
  color: #0284C7;
  border-color: rgba(2, 132, 199, 0.5);
}

[data-theme="light"] .btn-outline:hover {
  background: rgba(2, 132, 199, 0.08);
  box-shadow: 0 10px 30px rgba(2, 132, 199, 0.15);
}

[data-theme="light"] .section-alt {
  background: linear-gradient(180deg, #F8FAFC, #EDF2F7 50%, #F8FAFC);
}

[data-theme="light"] .about-card,
[data-theme="light"] .training-card,
[data-theme="light"] .project-card,
[data-theme="light"] .exp-card,
[data-theme="light"] .idea-card,
[data-theme="light"] .objective-card {
  background: #FFFFFF;
  border: 1px solid rgba(203, 213, 225, 0.8);
  box-shadow: 0 8px 25px rgba(15, 23, 42, 0.06);
}

[data-theme="light"] .stat,
[data-theme="light"] .timeline-card,
[data-theme="light"] .skill-group,
[data-theme="light"] .workshop-card,
[data-theme="light"] .cert-card,
[data-theme="light"] .achievement-card,
[data-theme="light"] .contact-card {
  background: #FFFFFF;
  border: 1px solid rgba(203, 213, 225, 0.8);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.05);
}

[data-theme="light"] .about-card:hover,
[data-theme="light"] .project-card:hover,
[data-theme="light"] .timeline-card:hover,
[data-theme="light"] .skill-group:hover,
[data-theme="light"] .cert-card:hover,
[data-theme="light"] .contact-card:hover,
[data-theme="light"] .stat:hover,
[data-theme="light"] .idea-point:hover {
  border-color: #0284C7;
  box-shadow: 0 12px 30px rgba(2, 132, 199, 0.12);
}

[data-theme="light"] .about-socials a {
  border-color: rgba(2, 132, 199, 0.4);
  color: #0284C7;
}

[data-theme="light"] .about-socials a:hover {
  background: rgba(2, 132, 199, 0.12);
}

[data-theme="light"] .timeline::before {
  background: linear-gradient(180deg, #0284C7, #2563EB, transparent);
}

[data-theme="light"] .timeline-dot {
  background: #FFFFFF;
  border-color: #0284C7;
  color: #0284C7;
}

[data-theme="light"] .timeline-badge {
  background: rgba(2, 132, 199, 0.12);
  color: #0284C7;
}

[data-theme="light"] .timeline-score {
  background: rgba(37, 99, 235, 0.12);
  color: #1D4ED8;
}

[data-theme="light"] .training-logo,
[data-theme="light"] .project-icon,
[data-theme="light"] .exp-icon,
[data-theme="light"] .workshop-icon,
[data-theme="light"] .idea-icon,
[data-theme="light"] .achievement-icon,
[data-theme="light"] .objective-icon,
[data-theme="light"] .contact-icon {
  background: rgba(2, 132, 199, 0.1);
  border-color: rgba(2, 132, 199, 0.35);
  color: #0284C7;
}

[data-theme="light"] .chip {
  background: rgba(2, 132, 199, 0.08);
  border: 1px solid rgba(2, 132, 199, 0.25);
  color: #334155;
}

[data-theme="light"] .chip:hover {
  background: rgba(2, 132, 199, 0.18);
  color: #0284C7;
}

[data-theme="light"] .skill-pill {
  background: #F1F5F9;
  border: 1px solid #CBD5E1;
  color: #334155;
}

[data-theme="light"] .skill-pill:hover {
  background: rgba(2, 132, 199, 0.1);
  border-color: #0284C7;
  color: #0284C7;
}

[data-theme="light"] .tag {
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.3);
  color: #1D4ED8;
}

[data-theme="light"] .idea-point {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
}

[data-theme="light"] .bar-track {
  background: #E2E8F0;
}

[data-theme="light"] .bar-val {
  color: #FFFFFF;
}

[data-theme="light"] .hero-tagline {
  color: #475569;
}

[data-theme="light"] .hero-role {
  color: #0284C7;
}

[data-theme="light"] .trace {
  background: linear-gradient(90deg, transparent, rgba(2, 132, 199, 0.4), transparent);
}

[data-theme="light"] .section-line {
  background: linear-gradient(90deg, #0284C7, #2563EB);
}

[data-theme="light"] .scroll-down {
  border-color: rgba(2, 132, 199, 0.4);
  color: #0284C7;
}

[data-theme="light"] .scroll-down:hover {
  background: rgba(2, 132, 199, 0.1);
}

[data-theme="light"] .about-sub {
  color: #0284C7;
}

[data-theme="light"] .footer {
  background: #F1F5F9;
  border-top: 1px solid #CBD5E1;
}

[data-theme="light"] .footer-thanks {
  color: #0284C7;
}

[data-theme="light"] .footer-quote {
  color: #64748B;
}

[data-theme="light"] .footer-copy {
  color: #64748B;
}

[data-theme="light"] .back-to-top {
  background: linear-gradient(135deg, #0284C7, #2563EB);
  color: #FFFFFF;
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.3);
}

[data-theme="light"] .back-to-top:hover {
  box-shadow: 0 8px 25px rgba(2, 132, 199, 0.45);
}

[data-theme="light"] .theme-toggle {
  background: rgba(2, 132, 199, 0.12);
  border-color: rgba(2, 132, 199, 0.35);
  color: #0284C7;
}

[data-theme="light"] .chip-container {
  filter: drop-shadow(0 10px 24px rgba(2, 132, 199, 0.25));
}
[data-theme="light"] .chip-glow {
  background: radial-gradient(circle, rgba(2, 132, 199, 0.22) 0%, rgba(37, 99, 235, 0.08) 50%, transparent 75%);
}
[data-theme="light"] .ring-outer {
  border-color: rgba(2, 132, 199, 0.3);
}
[data-theme="light"] .ring-inner {
  border-color: rgba(37, 99, 235, 0.3);
}
[data-theme="light"] .die-core-box {
  fill: #FFFFFF;
  stroke: #0284C7;
}
[data-theme="light"] .chip-body-rect {
  fill: #F0F9FF;
  stroke: #0284C7;
}
[data-theme="light"] .contact-form-card {
  background: #FFFFFF;
  border-color: #CBD5E1;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
}

[data-theme="light"] .form-head h3,
[data-theme="light"] .modal-title-group h2,
[data-theme="light"] .modal-section h3 {
  color: #0F172A;
}

[data-theme="light"] .submod-card,
[data-theme="light"] .metric-chip,
[data-theme="light"] .arch-node {
  background: #F8FAFC;
  border-color: #E2E8F0;
}

[data-theme="light"] .arch-node strong {
  color: #0F172A;
}

[data-theme="light"] .input-wrap input,
[data-theme="light"] .input-wrap textarea {
  background: #F8FAFC;
  border-color: #CBD5E1;
  color: #0F172A;
}

[data-theme="light"] .modal-card {
  background: #FFFFFF;
  border-color: #CBD5E1;
  box-shadow: 0 25px 70px rgba(15, 23, 42, 0.25);
}

[data-theme="light"] .modal-header,
[data-theme="light"] .modal-footer {
  border-color: #E2E8F0;
}

[data-theme="light"] .modal-close-btn {
  background: #F1F5F9;
  border-color: #CBD5E1;
  color: #0F172A;
}

[data-theme="light"] .arch-diagram-box,
[data-theme="light"] .code-box {
  background: #0B1528;
}

@media (max-width: 768px) {
  [data-theme="light"] .nav-links {
    background: rgba(255, 255, 255, 0.98);
    border-left: 1px solid #E2E8F0;
  }
}
