/* ==========================================================================
   KEERTHAN G V — PORTFOLIO DESIGN SYSTEM & STYLESHEET
   EXACT UI & UX CLONE OF GUSTAVOBATISTA.DEV + DRIBBBLE ANIMATION ADAPTATIONS
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Bitter:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Nanum+Myeongjo:wght@400;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700&family=Outfit:wght@400;500;600;700;800;900&display=swap");

:root {
  --bg-page: #f4f6f9;
  --bg-surface: #ffffff;
  --bg-surface-2: #eef2f7;
  --bg-surface-3: #e8edf4;
  --bg-inset: #f8fafc;
  --border-default: #d8e0ea;
  --border-strong: #c5d0de;
  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-faint: #94a3b8;
  --accent-green: #059400;
  --accent-cyan: #0891b2;
  --accent-cyan-bright: #06b6d4;
  --accent-magenta: #db2777;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.1);
  --overlay: rgba(15, 23, 42, 0.45);

  /* Legacy aliases */
  --dark-bg: var(--bg-page);
  --card-bg: rgba(255, 255, 255, 0.95);
  --text-white: var(--text-primary);
  --text-light: var(--text-secondary);

  --font-bitter: 'Bitter', serif;
  --font-lato: 'Lato', sans-serif;
  --font-serif: 'Nanum Myeongjo', serif;
  --font-mono: 'JetBrains Mono', monospace;
  --spacing: 120px;
}

* {
  font-family: var(--font-bitter), sans-serif;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-user-select: none;
  user-select: none;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-page);
  color: var(--text-primary);
  font-size: 16px;
  color-scheme: light;
}

body {
  overflow-x: hidden;
  position: relative;
  background-color: var(--bg-page);
  -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar (Gustavo Batista Style) */
*::-webkit-scrollbar, *::-webkit-scrollbar-thumb {
  width: 10px;
  height: 10px;
  background-clip: padding-box;
  background: #e2e8f0;
  color: #64748b;
}

*::-webkit-scrollbar-thumb {
  box-shadow: inset 0 0 0 10px #cbd5e1;
  border-radius: 24px;
  border: 3px solid transparent;
}

*::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Canvas Background */
canvas#main-content {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

/* --- DRIBBBLE SCROLL REVEAL ANIMATIONS --- */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- MARQUEE TICKER BANNER (Dribbble Animation Feature) --- */
.marquee-container {
  width: 100%;
  overflow: hidden;
  background: rgba(8, 145, 178, 0.06);
  border-top: 1px solid var(--border-default);
  border-bottom: 1px solid var(--border-default);
  padding: 1rem 0;
  white-space: nowrap;
  position: relative;
  z-index: 2;
  margin: 2rem 0;
}

.marquee-content {
  display: inline-flex;
  gap: 2.5rem;
  animation: marqueeScroll 25s linear infinite;
}

.marquee-item {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--accent-cyan);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.marquee-item span {
  color: var(--text-primary);
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- TRAILING CUSTOM CURSOR (Exact Gustavo Batista Style) --- */
.circle {
  position: fixed;
  border: solid 1px var(--border-strong);
  left: 50%;
  top: 25%;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.2s ease, height 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.circle-inner {
  position: fixed;
  background: var(--accent-cyan);
  opacity: 0.7;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  animation: pulse 1.5s ease-out infinite;
}

.circle.hovered {
  width: 45px;
  height: 45px;
  border-color: var(--accent-cyan);
  background: rgba(8, 145, 178, 0.1);
  box-shadow: 0 0 20px rgba(8, 145, 178, 0.25);
}

@keyframes pulse {
  0% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.8; }
  50% { transform: translate(-50%, -50%) scale(1.4); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.8; }
}

/* --- NAVIGATION & HEADER (Gustavo Batista Style) --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 70px;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-default);
  box-shadow: var(--shadow-sm);
}

.nav-brand {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-white);
  letter-spacing: 0.1em;
  text-decoration: none;
}

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

/* Menu Nav List */
.menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-list-flex {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-list-flex li a {
  font-family: var(--font-lato);
  font-size: 0.95rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-light);
  text-decoration: none;
  transition: all 0.3s ease;
}

.nav-list-flex li a:hover, .nav-list-flex li a.active {
  color: var(--accent-cyan);
  text-shadow: none;
}

/* Header Social Logos & Equalizer */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.social {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.social a:hover {
  transform: translateY(-2px);
  filter: drop-shadow(0 0 8px var(--accent-cyan));
}

.social-logo-svg {
  width: 22px;
  height: 22px;
  fill: var(--text-muted);
  filter: none;
}

/* Audio Equalizer Speaker (Gustavo Batista Style) */
.speaker {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid var(--border-default);
  border-radius: 20px;
  padding: 6px 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.speaker:hover {
  background: rgba(8, 145, 178, 0.12);
  border-color: var(--accent-cyan);
}

.bar-c {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 16px;
}

.bar {
  width: 3px;
  height: 3px;
  background-color: var(--text-faint);
  border-radius: 1px;
  transition: height 0.2s ease;
}

.bar.animating {
  animation: danceHeight 0.75s ease-in-out infinite alternate;
}

#bar-1 { animation-delay: 0s; }
#bar-2 { animation-delay: 0.2s; }
#bar-3 { animation-delay: 0.4s; }
#bar-4 { animation-delay: 0.15s; }
#bar-5 { animation-delay: 0.35s; }
#bar-6 { animation-delay: 0.5s; }

@keyframes danceHeight {
  0% { height: 3px; }
  100% { height: 16px; background-color: var(--accent-cyan); }
}

/* RIGHT SIDE NAV DOTS (Gustavo Batista Style) */
.nav__dot {
  display: block;
  position: fixed;
  top: 50%;
  right: 2%;
  transform: translateY(-50%);
  z-index: 90;
  list-style: none;
}

.nav__dot li {
  width: 8px;
  height: 8px;
  margin: 0 0 1.8rem;
  background: rgba(15, 23, 42, 0.12);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.5s ease, transform 0.3s ease;
}

.nav__dot li:hover, .nav__dot li.current {
  background: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.2);
  transform: scale(1.4);
}

body.on-hero-view .nav__dot li {
  background: rgba(15, 23, 42, 0.12);
}

body.on-hero-view .nav__dot li:hover,
body.on-hero-view .nav__dot li.current {
  background: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.2);
}

/* --- HEADER (Hero-aware) --- */
.site-header {
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.site-header.on-hero {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: var(--border-default);
  box-shadow: var(--shadow-sm);
}

.site-header.on-hero .nav-brand {
  color: var(--text-primary);
}

.site-header.on-hero .nav-brand-accent {
  color: #f59e0b;
}

.site-header.on-hero .nav-list-flex li a {
  color: var(--text-secondary);
}

.site-header.on-hero .nav-list-flex li a:hover,
.site-header.on-hero .nav-list-flex li a.active {
  color: var(--accent-cyan);
}

.nav-brand-accent {
  color: var(--accent-cyan);
  font-weight: 700;
}

.header-action-link {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color 0.25s ease;
}

.site-header.on-hero .header-action-link {
  color: var(--text-muted);
}

.site-header.on-hero .header-action-link:hover {
  color: var(--accent-cyan);
}

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

.header-action-btn {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: #080a0d;
  background: linear-gradient(135deg, #f59e0b 0%, #fb923c 100%);
  padding: 0.45rem 0.9rem;
  border-radius: 4px;
  border: 1px solid rgba(245, 158, 11, 0.5);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.header-action-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.35);
}

/* --- HERO SECTION (#home) — Light Theme --- */
.hero-section {
  --hero-bg: #f4f6f9;
  --hero-text: #0f172a;
  --hero-muted: #64748b;
  --hero-border: rgba(15, 23, 42, 0.1);
  --hero-cyan: #0891b2;
  --hero-orange: #f59e0b;
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 6.5rem 0 3rem;
  background: var(--hero-bg);
  color: var(--hero-text);
  overflow: hidden;
  isolation: isolate;
  z-index: 2;
}

.hero-ambient {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  opacity: 0.5;
}

.hero-ambient--cyan {
  width: 420px;
  height: 420px;
  top: -80px;
  left: -60px;
  background: rgba(8, 145, 178, 0.12);
}

.hero-ambient--orange {
  width: 320px;
  height: 320px;
  bottom: 10%;
  left: 35%;
  background: rgba(245, 158, 11, 0.08);
}

.hero-ambient--violet {
  width: 380px;
  height: 380px;
  top: 15%;
  right: -80px;
  background: rgba(139, 92, 246, 0.06);
}

.hero-corner-label {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  color: rgba(100, 116, 139, 0.7);
  text-transform: uppercase;
  pointer-events: none;
  z-index: 2;
}

.hero-corner-label--tl { top: 5.5rem; left: 2rem; }
.hero-corner-label--br { bottom: 2rem; right: 2rem; }

.hero-portrait-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.hero-portrait-bg__img {
  position: absolute;
  right: -2%;
  top: 52%;
  transform: translateY(-50%);
  width: min(50vw, 580px);
  max-height: 92vh;
  object-fit: cover;
  object-position: center 18%;
  filter: grayscale(100%) contrast(1.06) brightness(1.08);
  opacity: 0.28;
}

.hero-portrait-bg__fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--hero-bg) 0%, transparent 14%, transparent 86%, var(--hero-bg) 100%);
  pointer-events: none;
}

.hero-inner {
  width: min(1240px, 92%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 3;
}

.hero-inner--blend {
  grid-template-columns: 1fr;
  max-width: 720px;
  margin-left: max(4%, calc((100% - 1240px) / 2 + 4%));
  margin-right: auto;
}

.hero-content {
  text-align: left;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--hero-cyan);
  border: 1px solid rgba(8, 145, 178, 0.3);
  background: rgba(8, 145, 178, 0.06);
  padding: 0.45rem 0.85rem;
  border-radius: 4px;
  margin-bottom: 1.5rem;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--hero-orange);
  box-shadow: 0 0 8px var(--hero-orange);
}

.hero-heading {
  font-family: 'Outfit', var(--font-lato), sans-serif;
  font-size: clamp(2.6rem, 5.2vw, 4.6rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin-bottom: 1.4rem;
}

.hero-line {
  display: block;
  color: var(--hero-text);
}

.hero-line--accent {
  background: linear-gradient(90deg, #0891b2 0%, #0ea5e9 55%, #38bdf8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  max-width: 52ch;
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--hero-muted);
  margin-bottom: 1.4rem;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.8rem;
}

.hero-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  border: 1px solid var(--hero-border);
  background: rgba(255, 255, 255, 0.75);
  padding: 0.3rem 0.65rem;
  border-radius: 3px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.hero-btn {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-decoration: none;
  padding: 0.85rem 1.35rem;
  border-radius: 4px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.hero-btn--primary {
  color: #080a0d;
  background: linear-gradient(135deg, #f59e0b, #fb923c);
  border: 1px solid rgba(245, 158, 11, 0.6);
}

.hero-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.35);
}

.hero-btn--secondary {
  color: var(--hero-cyan);
  background: #ffffff;
  border: 1px solid rgba(8, 145, 178, 0.35);
}

.hero-btn--secondary:hover {
  background: rgba(8, 145, 178, 0.06);
  transform: translateY(-2px);
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.hero-metric {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 88px;
}

.hero-metric-val {
  font-family: 'Outfit', var(--font-lato), sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--hero-text);
  line-height: 1;
}

.hero-metric-key {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--hero-muted);
  text-transform: uppercase;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}

.hero-scroll-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  color: var(--hero-muted);
}

.hero-scroll-mouse {
  width: 18px;
  height: 28px;
  border: 1px solid rgba(100, 116, 139, 0.45);
  border-radius: 12px;
  position: relative;
}

.hero-scroll-wheel {
  position: absolute;
  top: 5px;
  left: 50%;
  width: 3px;
  height: 6px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: var(--hero-cyan);
  animation: heroScrollWheel 2s ease-in-out infinite;
}

@keyframes heroScrollWheel {
  0% { opacity: 0; transform: translateY(0); }
  40% { opacity: 1; }
  100% { opacity: 0; transform: translateY(10px); }
}

.hero-scroll-text {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.16em;
}

/* Hero entrance animations */
.hero-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

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

@media (prefers-reduced-motion: reduce) {
  .hero-scroll-wheel {
    animation: none !important;
  }

  .hero-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 992px) {
  .hero-inner--blend {
    margin-left: auto;
    margin-right: auto;
    max-width: min(720px, 92%);
  }

  .hero-portrait-bg__img {
    right: -2%;
    top: 52%;
    transform: translateY(-50%);
    width: min(50vw, 420px);
    opacity: 0.28;
  }

  .hero-portrait-bg__fade {
    background: linear-gradient(180deg, var(--hero-bg) 0%, transparent 14%, transparent 86%, var(--hero-bg) 100%);
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-content {
    order: 1;
  }

  .hero-corner-label { display: none; }
}

@media (max-width: 600px) {
  .hero-section {
    padding: 5.5rem 0 2.5rem;
    min-height: auto;
  }

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

  .hero-desc {
    font-size: 0.95rem;
  }

  .hero-cta {
    flex-direction: column;
  }

  .hero-btn {
    width: 100%;
    text-align: center;
  }

  .hero-metrics {
    gap: 1rem;
  }

  .hero-portrait-bg__img {
    width: min(55vw, 360px);
    opacity: 0.28;
  }

  .menu .nav-list-flex {
    display: none;
  }

  .header-action-link span,
  .header-action-link {
    font-size: 0;
  }

  .header-action-link i {
    font-size: 1rem;
  }
}

/* Shared button */
.contact-Btn {
  background-color: transparent;
  color: var(--text-muted);
  padding: 12px 36px;
  letter-spacing: 0.15rem;
  font-family: var(--font-lato);
  font-size: 0.9rem;
  font-weight: 400;
  border: 1px solid var(--border-strong);
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.contact-Btn:hover {
  background-color: var(--text-primary);
  color: #ffffff;
  box-shadow: var(--shadow-md);
}

/* --- ABOUT SECTION (#about - Gustavo Batista Style) --- */
.section {
  padding: 6rem 0;
  position: relative;
  z-index: 1;
}

.about-content-box {
  width: 90%;
  max-width: 1050px;
  margin: 0 auto;
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: 10px;
  padding: 3rem 3.5rem;
  box-shadow: var(--shadow-sm);
}

.about-title {
  display: inline-block;
  letter-spacing: 0.3vw;
  color: var(--text-muted);
  font-size: 1.8rem;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid var(--border-strong);
  margin-bottom: 2rem;
  text-transform: uppercase;
}

.about-text {
  text-align: center;
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--text-primary);
  line-height: 1.8;
  margin-bottom: 3rem;
  font-style: italic;
}

/* Dual-Tab Headers */
.tab-titles {
  display: flex;
  gap: 3rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--border-default);
  padding-bottom: 1rem;
}

.tab-links {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transition: color 0.3s ease;
}

.tab-links:hover, .tab-links.active-link {
  color: var(--text-primary);
}

.tab-links::after {
  content: "";
  width: 0;
  height: 3px;
  background: var(--accent-cyan);
  position: absolute;
  left: 0;
  bottom: -1rem;
  transition: width 0.3s ease;
}

.tab-links.active-link::after {
  width: 100%;
}

.tab-contents {
  display: none;
}

.tab-contents.active-tab {
  display: block;
}

/* Education Accordion Timeline */
.tab-contents ul li {
  list-style: none;
  margin: 1.2rem 0;
  color: var(--text-primary);
  font-size: 1rem;
}

.tab-contents ul li span {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-family: var(--font-mono);
}

.parent {
  position: relative;
  padding: 1.2rem;
  background: var(--bg-surface-2);
  border: 1px solid var(--border-default);
  border-radius: 8px;
  margin-bottom: 1.2rem;
  box-shadow: var(--shadow-sm);
}

.toggle-button {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  font-size: 1.4rem;
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  transition: text-shadow 0.3s ease;
}

.toggle-button:hover {
  text-shadow: none;
  color: var(--accent-cyan);
}

.child {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.3s ease, margin-top 0.3s ease;
  padding-left: 1rem;
}

.child.open {
  max-height: 300px;
  opacity: 1;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-default);
}

.child li {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  position: relative;
}

/* Skills Cards Grid (Gustavo Batista Style) */
.our-skills {
  margin-bottom: 2rem;
}

.our-skills p {
  text-transform: uppercase;
  font-size: 0.9rem;
  color: var(--accent-cyan);
  margin-bottom: 1rem;
  letter-spacing: 0.1em;
  font-family: var(--font-mono);
}

.skill-cards-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.card {
  width: 110px;
  height: 75px;
  position: relative;
  border-radius: 12px;
  background-color: var(--bg-surface-2);
  border: 1px solid var(--border-default);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.card:hover {
  border-color: var(--accent-cyan);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.card .card-content {
  padding: 4px;
  transition: transform 0.4s ease, opacity 0.4s ease;
  color: var(--text-secondary);
  transform: translateY(60px);
  opacity: 0;
}

.card:hover .card-content {
  transform: translateY(0);
  opacity: 1;
}

.card .card-content h2 {
  color: var(--text-primary);
  font-weight: 700;
  font-size: 11px;
  text-align: center;
}

/* --- TECHNICAL CAPABILITIES & SKILLS DASHBOARD (New High-Impact Design) --- */
.skills-filter-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.skill-filter-btn {
  padding: 0.5rem 1.3rem;
  border-radius: 25px;
  background: var(--bg-surface-2);
  border: 1px solid var(--border-default);
  color: var(--text-muted);
  font-family: var(--font-lato);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.skill-filter-btn.active, .skill-filter-btn:hover {
  background: rgba(8, 145, 178, 0.12);
  border-color: var(--accent-cyan);
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
}

.skills-dashboard-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.skills-radar-panel {
  max-width: 580px;
  margin: 0 auto;
  width: 100%;
}

.skills-radar-chart {
  background: var(--bg-inset);
  border: 1px solid var(--border-default);
  border-radius: 8px;
  padding: 1.5rem 2rem;
  text-align: center;
  overflow: visible;
}

.skills-radar-chart svg {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  overflow: visible;
}

.skills-radar-legend {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.8rem;
  font-size: 0.78rem;
  font-family: var(--font-mono);
}

.skills-radar-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: 12px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.skills-category-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.skill-cat-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: 12px;
  padding: 1.8rem;
  transition: all 0.3s ease;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.skill-cat-card:hover {
  border-color: var(--accent-cyan);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.skill-cat-card.primary-cat {
  border-color: rgba(8, 145, 178, 0.35);
  background: linear-gradient(135deg, rgba(8, 145, 178, 0.06) 0%, var(--bg-surface) 100%);
}

.skill-cat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.6rem;
}

.skill-cat-title {
  font-family: var(--font-lato);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.skill-cat-count {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  padding: 0.25rem 0.65rem;
  border-radius: 12px;
  background: rgba(8, 145, 178, 0.1);
  border: 1px solid rgba(8, 145, 178, 0.3);
  color: var(--accent-cyan);
}

.skill-cat-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}

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

.tech-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.85rem;
  border-radius: 6px;
  background: var(--bg-surface-2);
  border: 1px solid var(--border-default);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  transition: all 0.25s ease;
  cursor: default;
}

.tech-tag:hover {
  background: rgba(8, 145, 178, 0.1);
  border-color: var(--accent-cyan);
  color: var(--text-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.tech-tag.primary-priority {
  border-color: var(--accent-cyan);
  color: var(--text-primary);
  background: rgba(8, 145, 178, 0.1);
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

/* Animated Green Gradient CV Button (Gustavo Batista Style) */
.btn-cv-border {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-default);
  text-align: center;
}

.dcv {
  position: relative;
  display: inline-block;
  padding: 14px 36px;
  color: #06b200;
  letter-spacing: 4px;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.95rem;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid #059400;
  border-radius: 25px;
  background: transparent;
}

.dcv:hover {
  color: #0a2a0a;
  background: #059400;
  box-shadow: 0 0 10px #059400, 0 0 30px #059400, 0 0 50px #059400;
}

.dcv span {
  position: absolute;
  display: block;
}

.dcv span:nth-child(1) {
  top: 0; left: -100%; width: 100%; height: 2px;
  background: linear-gradient(90deg, transparent, #059400);
}
.dcv:hover span:nth-child(1) { left: 100%; transition: 0.5s; }

.dcv span:nth-child(2) {
  top: -100%; right: 0; width: 2px; height: 100%;
  background: linear-gradient(180deg, transparent, #059400);
}
.dcv:hover span:nth-child(2) { top: 100%; transition: 0.5s 0.125s; }

.dcv span:nth-child(3) {
  bottom: 0; right: -100%; width: 100%; height: 2px;
  background: linear-gradient(270deg, transparent, #059400);
}
.dcv:hover span:nth-child(3) { right: 100%; transition: 0.5s 0.25s; }

.dcv span:nth-child(4) {
  bottom: -100%; left: 0; width: 2px; height: 100%;
  background: linear-gradient(360deg, transparent, #059400);
}
.dcv:hover span:nth-child(4) { bottom: 100%; transition: 0.5s 0.375s; }

/* --- SERVICES SECTION (#service - Gustavo Batista Style) --- */
.service-title {
  display: inline-block;
  letter-spacing: 0.3vw;
  font-size: 1.8rem;
  color: var(--text-muted);
  padding-bottom: 0.5rem;
  border-bottom: 3px solid var(--border-strong);
  margin-bottom: 2rem;
  text-transform: uppercase;
}

.service-card-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.8rem;
  margin-top: 2.5rem;
}

.service-card {
  padding: 2.2rem 1.8rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: 8px;
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

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

.service-card-icon {
  font-size: 2.5rem;
  color: var(--accent-cyan);
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.8rem;
  color: var(--text-primary);
}

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

/* --- PROJECTS SECTION (#projects) --- */
.projects-flex-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.project-item-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: 12px;
  padding: 2rem 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.project-item-card:hover {
  border-color: var(--accent-cyan);
  transform: translateY(-3px);
}

.project-card-body {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.project-card-meta {
  margin-bottom: 1rem;
}

.project-card-title {
  font-size: 1.75rem;
  margin-bottom: 0.35rem;
  color: var(--text-primary);
  line-height: 1.2;
}

.project-card-subtitle {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--accent-cyan);
  margin-bottom: 1rem;
  font-weight: 600;
  line-height: 1.4;
}

.project-card-desc {
  font-size: 0.96rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.1rem;
  max-width: 72ch;
}

.project-workflow {
  font-size: 0.8rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  background: var(--bg-surface-2);
  padding: 0.85rem 1rem;
  border-radius: 6px;
  border: 1px solid var(--border-default);
  margin-bottom: 1.4rem;
  line-height: 1.6;
}

.project-workflow-label {
  display: block;
  color: var(--accent-cyan);
  font-weight: 700;
  margin-bottom: 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
}

.project-section-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.project-kpi-section {
  margin-bottom: 1.4rem;
}

.project-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}

.project-kpi-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-height: 88px;
  padding: 0.85rem 1rem;
  background: var(--bg-surface-2);
  border: 1px solid var(--border-default);
  border-radius: 8px;
  overflow: hidden;
}

.project-kpi-key {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.4rem;
  line-height: 1.2;
}

.project-kpi-value {
  font-family: var(--font-lato);
  font-size: 0.88rem;
  color: var(--text-primary);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}

.project-tech-section {
  margin-bottom: 0.25rem;
}

.project-tech-section .project-tags-cloud {
  margin-bottom: 0;
}

.project-tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.project-tag {
  padding: 4px 12px;
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent-cyan);
}

.project-tag-badge {
  color: #059400;
  border-color: rgba(5, 148, 0, 0.5);
  background: rgba(5, 148, 0, 0.08);
}

.project-tag-magenta {
  color: var(--accent-magenta);
  border-color: rgba(233, 64, 87, 0.5);
  background: rgba(233, 64, 87, 0.08);
}

.project-tag-amber {
  color: #f59e0b;
  border-color: rgba(245, 158, 11, 0.5);
  background: rgba(245, 158, 11, 0.08);
}

.project-btn-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 0.25rem;
  border-top: 1px solid var(--border-default);
}

.btn-project {
  padding: 10px 24px;
  border-radius: 25px;
  font-family: var(--font-lato);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid var(--accent-cyan);
  background: rgba(8, 145, 178, 0.1);
  color: var(--accent-cyan);
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-project:hover {
  background: var(--accent-cyan);
  color: #ffffff;
  box-shadow: 0 0 15px rgba(8, 145, 178, 0.35);
}

/* --- CONTACT SECTION (#contact) — Light Terminal --- */
.contact-section {
  background: #f5f7fa;
}

.contact-section-inner {
  width: min(92%, 1100px);
  margin: 0 auto;
  text-align: center;
}

.contact-title {
  display: inline-block;
  letter-spacing: 0.12em;
  font-size: 1.8rem;
  color: var(--text-muted);
  padding-bottom: 0.5rem;
  border-bottom: 3px solid var(--border-strong);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.contact-title--mono {
  font-family: var(--font-mono);
  font-size: 1rem;
  letter-spacing: 0.14em;
}

.contact-intro-heading {
  font-family: 'Outfit', var(--font-lato), sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: #182235;
  margin-bottom: 0.75rem;
}

.contact-intro-desc {
  font-size: 1.02rem;
  color: #64748b;
  line-height: 1.7;
  max-width: 62ch;
  margin: 0 auto 2.5rem;
}

.terminal-window {
  width: min(100%, 1000px);
  margin: 0 auto 2.5rem;
  background: #ffffff;
  border: 1px solid #d7dee8;
  border-radius: 10px;
  box-shadow: 0 12px 40px rgba(24, 34, 53, 0.08);
  overflow: hidden;
  text-align: left;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.terminal-window:hover {
  border-color: rgba(8, 145, 178, 0.35);
  box-shadow: 0 16px 48px rgba(24, 34, 53, 0.1);
}

.terminal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 1rem;
  background: #eef2f7;
  border-bottom: 1px solid #d7dee8;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #64748b;
}

.terminal-header-left {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
}

.terminal-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}

.terminal-dot--red { background: #f87171; }
.terminal-dot--amber { background: #fbbf24; }
.terminal-dot--green { background: #4ade80; }

.terminal-user {
  color: #182235;
  margin-left: 0.35rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.terminal-status {
  color: #0891b2;
  font-weight: 600;
  letter-spacing: 0.08em;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.terminal-status-dot {
  color: #22c55e;
  font-size: 0.65rem;
}

.terminal-body {
  padding: 1rem 1.25rem 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: #182235;
  line-height: 1.55;
}

.terminal-intro {
  margin-bottom: 0.85rem;
}

.terminal-intro-heading {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 600;
  color: #182235;
  margin-bottom: 0.3rem;
}

.terminal-intro-text {
  font-family: var(--font-lato), sans-serif;
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.55;
  margin: 0;
}

.terminal-line {
  margin-bottom: 0.35rem;
}

.terminal-boot-line {
  opacity: 1;
  transform: none;
}

.terminal-boot.is-animating .terminal-boot-line {
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.terminal-boot.is-animating .terminal-boot-line.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.terminal-muted {
  color: #64748b;
}

.terminal-success {
  color: #059669;
  margin-bottom: 0.85rem;
  font-size: 0.82rem;
}

.terminal-prompt {
  color: #0891b2;
  font-weight: 600;
  margin-right: 0.35rem;
}

.terminal-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.terminal-form.terminal-form--booting {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.terminal-form.is-ready {
  opacity: 1;
  transform: translateY(0);
}

.terminal-field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  transition: opacity 0.2s ease;
}

.terminal-field.is-active .terminal-field-label {
  color: #0891b2;
}

.terminal-field.is-active .terminal-input-wrap {
  border-bottom-color: #0891b2;
}

.terminal-field.is-complete .terminal-field-label {
  opacity: 0.7;
}

.terminal-field-label {
  display: flex;
  align-items: center;
  font-size: 0.82rem;
  color: #182235;
  cursor: text;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.terminal-input-prompt {
  color: #94a3b8;
  font-weight: 600;
  flex-shrink: 0;
  margin-right: 0.4rem;
  user-select: none;
}

.terminal-input-wrap {
  display: flex;
  align-items: center;
  gap: 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid #e2e8f0;
  border-radius: 0;
  padding: 0.4rem 0 0.35rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.terminal-input-wrap--textarea {
  align-items: flex-start;
}

.terminal-input-wrap--textarea .terminal-input-prompt {
  margin-top: 0.15rem;
}

.terminal-input-wrap:focus-within {
  border-bottom-color: #0891b2;
  box-shadow: 0 1px 0 0 rgba(8, 145, 178, 0.25);
  background: transparent;
}

.terminal-input-wrap input,
.terminal-input-wrap textarea {
  flex: 1;
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: #182235;
  resize: vertical;
  min-height: 1.4rem;
}

.terminal-input-wrap input::placeholder,
.terminal-input-wrap textarea::placeholder {
  color: #94a3b8;
  opacity: 1;
}

.terminal-input-wrap textarea {
  min-height: 130px;
  line-height: 1.55;
}

.terminal-cursor {
  display: none;
  width: 2px;
  height: 1.1em;
  background: #0891b2;
  flex-shrink: 0;
  animation: terminalBlink 1s step-end infinite;
}

.terminal-input-wrap:focus-within .terminal-cursor {
  display: inline-block;
}

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

.terminal-error {
  font-size: 0.8rem;
  color: #dc2626;
  margin: 0;
  min-height: 0;
}

.terminal-error:not(:empty)::before {
  content: "✗ ";
}

.terminal-field.is-invalid .terminal-input-wrap {
  border-bottom-color: #f87171;
  box-shadow: 0 1px 0 0 rgba(248, 113, 113, 0.35);
}

.terminal-helper {
  font-family: var(--font-lato), sans-serif;
  font-size: 0.82rem;
  color: #64748b;
  margin: 0.15rem 0 0;
  line-height: 1.5;
}

.terminal-form.is-submitted .terminal-field,
.terminal-form.is-submitted .terminal-helper,
.terminal-form.is-submitted .terminal-submit-row {
  display: none;
}

.terminal-output {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 1rem;
  font-size: 0.85rem;
  line-height: 1.65;
}

.terminal-output .terminal-line--success {
  color: #059669;
}

.terminal-output .terminal-line--error {
  color: #dc2626;
}

.terminal-output .terminal-line--muted {
  color: #64748b;
}

.terminal-output .terminal-cursor {
  display: inline-block;
  vertical-align: text-bottom;
}

.terminal-submit-row {
  display: flex;
  justify-content: flex-end;
  padding-top: 0.25rem;
}

.terminal-send-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.6rem 1.1rem;
  background: rgba(8, 145, 178, 0.06);
  border: 1px solid rgba(8, 145, 178, 0.25);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #0891b2;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.terminal-send-btn:hover {
  background: rgba(8, 145, 178, 0.08);
  border-color: rgba(8, 145, 178, 0.25);
}

.terminal-send-btn:hover .terminal-send-arrow {
  transform: translateX(3px);
}

.terminal-send-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.terminal-send-arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  max-width: 1000px;
  margin: 0 auto;
  text-align: left;
}

.contact-info-item {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.45rem;
  height: 100%;
  min-height: 88px;
  padding: 1rem 1.1rem;
  background: #ffffff;
  border: 1px solid #d7dee8;
  border-radius: 8px;
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.contact-info-item:hover {
  border-color: rgba(8, 145, 178, 0.35);
  box-shadow: 0 6px 20px rgba(24, 34, 53, 0.06);
  transform: translateY(-2px);
}

.contact-info-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0891b2;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.contact-info-icon {
  width: 1.25rem;
  font-size: 1.05rem;
  line-height: 1;
  color: #0891b2;
  flex-shrink: 0;
  text-align: center;
}

.contact-info-icon--brand {
  font-size: 1.15rem;
}

.contact-info-value {
  font-size: 0.88rem;
  color: #182235;
  line-height: 1.4;
  word-break: break-word;
}

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

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

  .terminal-body {
    padding: 1rem;
  }

  .terminal-user {
    font-size: 0.72rem;
  }

  .terminal-submit-row {
    justify-content: stretch;
  }

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

@media (prefers-reduced-motion: reduce) {
  .terminal-boot-line,
  .terminal-cursor,
  .terminal-send-arrow,
  .terminal-form {
    animation: none !important;
    transition: none !important;
  }

  .terminal-boot.is-animating .terminal-boot-line,
  .terminal-form.terminal-form--booting {
    animation: none !important;
    transition: none !important;
  }

  .terminal-boot.is-animating .terminal-boot-line,
  .terminal-form.is-ready {
    opacity: 1;
    transform: none;
  }
}

/* Toast Messages */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  padding: 12px 24px;
  background: var(--bg-surface);
  border: 1px solid var(--accent-cyan);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 0.9rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .skills-category-cards-grid { grid-template-columns: 1fr; }
  .skills-dashboard-wrapper { gap: 1.5rem; }
  .contact-Btn { font-size: 2.5vw; }
  .service-card-wrapper { grid-template-columns: repeat(2, 1fr); }
  .project-kpi-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .service-card-wrapper { grid-template-columns: 1fr; }
  .nav-list-flex { display: none; }
  .about-content-box { padding: 1.8rem; }
  .info-cards-grid { grid-template-columns: 1fr !important; }
  .project-item-card { padding: 1.5rem; }
  .project-kpi-grid { grid-template-columns: 1fr; }
  .project-card-title { font-size: 1.45rem; }
}
