/* Modern Portfolio Stylesheet - Mohith Pukale
   A custom, modern, high-performance vanilla CSS stylesheet tailored for a Principal Systems & Cloud Security Developer.
   Design: Obsidian Dark, Glassmorphic headers, Cyber Teal & Violet Accents.
*/

:root {
  --bg-base: #0b0f19;
  --bg-surface: #111827;
  --bg-surface-glow: rgba(45, 212, 191, 0.03);
  --bg-card: #1f2937;
  --bg-glass: rgba(17, 24, 39, 0.75);
  
  --primary: #2dd4bf;       /* Cyber Teal */
  --primary-glow: rgba(45, 212, 191, 0.25);
  --secondary: #8b5cf6;     /* Violet */
  --secondary-glow: rgba(139, 92, 246, 0.25);
  
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --text-bright: #ffffff;
  
  --border-light: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(45, 212, 191, 0.4);
  
  --font-header: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'Fira Code', 'JetBrains Mono', monospace;
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 15px var(--primary-glow);
  --shadow-glow-sec: 0 0 15px var(--secondary-glow);
  
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Light Mode Variables override */
body.light-theme {
  --bg-base: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-glow: rgba(13, 148, 136, 0.02);
  --bg-card: #f1f5f9;
  --bg-glass: rgba(255, 255, 255, 0.85);
  
  --primary: #0d9488;       /* Deeper Teal */
  --primary-glow: rgba(13, 148, 136, 0.15);
  --secondary: #6d28d9;     /* Deeper Violet */
  --secondary-glow: rgba(109, 40, 217, 0.15);
  
  --text-main: #334155;
  --text-muted: #64748b;
  --text-bright: #0f172a;
  
  --border-light: rgba(15, 23, 42, 0.08);
  --border-glow: rgba(13, 148, 136, 0.3);
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-glow: 0 4px 12px var(--primary-glow);
  --shadow-glow-sec: 0 4px 12px var(--secondary-glow);
}

/* Reset and Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-base);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

/* Scrollbars */
body {
  scrollbar-width: thin;
  scrollbar-color: var(--primary) var(--bg-base);
}

::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-base);
}
::-webkit-scrollbar-thumb {
  background: rgba(45, 212, 191, 0.3);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* Typography */
h1, h2, h3, h4, h5 {
  font-family: var(--font-header);
  font-weight: 700;
  color: var(--text-bright);
  line-height: 1.25;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); position: relative; display: inline-block; margin-bottom: 2.5rem; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.6rem); }
p { font-size: 1rem; color: var(--text-muted); }
a { color: var(--primary); text-decoration: none; transition: var(--transition-fast); }
a:hover { color: var(--secondary); }

/* Accent Gradient Underline for H2s */
h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 50px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}

/* Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-accent {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}

/* Glassmorphism Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: var(--bg-glass);
  border-bottom: 1px solid var(--border-light);
  transition: background var(--transition-normal), border-color var(--transition-normal);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 75px;
}

.logo {
  font-family: var(--font-header);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.5px;
  color: var(--text-bright);
}
.logo span {
  color: var(--primary);
}

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

.nav-link {
  font-family: var(--font-header);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-muted);
  position: relative;
  padding: 0.5rem 0;
}
.nav-link:hover, .nav-link.active {
  color: var(--text-bright);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition-fast);
}
.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.theme-toggle-btn {
  background: none;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-light);
  color: var(--text-main);
  transition: var(--transition-fast);
}
.theme-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--primary);
  color: var(--primary);
}

/* Mobile Nav Styles */
.menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-bright);
  font-size: 1.5rem;
}

@media (max-width: 768px) {
  .menu-btn { display: block; }
  .nav-links {
    position: fixed;
    top: 75px;
    right: -100%;
    width: 250px;
    height: calc(100vh - 75px);
    background: var(--bg-surface);
    flex-direction: column;
    padding: 3rem 1.5rem;
    gap: 2rem;
    box-shadow: var(--shadow-md);
    transition: right var(--transition-normal);
    border-left: 1px solid var(--border-light);
    align-items: flex-start;
  }
  .nav-links.active {
    right: 0;
  }
  .theme-toggle-btn {
    align-self: flex-start;
    margin-top: 1rem;
  }
}

/* Floating Action / Back to Top */
#backToTop {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-fast), visibility var(--transition-fast), transform var(--transition-fast);
  z-index: 99;
  border: none;
  cursor: pointer;
}
#backToTop.show {
  opacity: 1;
  visibility: visible;
}
#backToTop:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
}

/* Hero Section */
.hero-sec {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  overflow: hidden;
}

#particleCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.6;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.hero-text h1 {
  margin-bottom: 0.5rem;
}
.hero-title {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
}
.hero-desc {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 2.5rem;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 2rem;
  border-radius: 8px;
  font-family: var(--font-header);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition-normal);
  gap: 0.5rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: #fff;
  border: none;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-secondary {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-light);
}
.btn-secondary:hover {
  border-color: var(--primary);
  background: var(--primary-glow);
  color: var(--primary);
}

/* Hero Right Side - Animated Frame */
.hero-visual {
  display: flex;
  justify-content: center;
  position: relative;
}

.profile-glow-ring {
  position: relative;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  padding: 8px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: var(--shadow-glow);
  animation: floatRing 6s ease-in-out infinite;
}

.profile-glow-ring::after {
  content: '';
  position: absolute;
  top: -10px; left: -10px; right: -10px; bottom: -10px;
  border-radius: 50%;
  border: 1px dashed var(--primary);
  opacity: 0.3;
  animation: rotateRing 30s linear infinite;
}

.profile-img-container {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  background-color: var(--bg-surface);
  border: 4px solid var(--bg-surface);
}

.profile-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.profile-glow-ring:hover img {
  transform: scale(1.05);
}

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

@keyframes rotateRing {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@media (max-width: 992px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 4rem;
  }
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-visual {
    order: -1;
  }
}

/* Stats / Impact Bar */
.stats-sec {
  background: var(--bg-surface-glow);
  padding: 3rem 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-card h3 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.25rem;
}
.stat-card p {
  font-weight: 500;
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

/* Sections General */
section {
  padding: 6.5rem 0;
}

/* Expertise / Core Pillars */
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.expertise-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 2.2rem;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.expertise-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  opacity: 0;
  transition: var(--transition-fast);
}

.expertise-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow);
}
.expertise-card:hover::before {
  opacity: 1;
}

.expertise-icon {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  background: var(--primary-glow);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
}

.expertise-card h3 {
  margin-bottom: 0.8rem;
}
.expertise-card p {
  font-size: 0.95rem;
}

/* Interactive Terminal Section */
.terminal-container {
  max-width: 850px;
  margin: 0 auto;
  background: #0d1117;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  font-family: var(--font-mono);
}

.terminal-header {
  background: #161b22;
  padding: 0.8rem 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-light);
}

.terminal-buttons {
  display: flex;
  gap: 0.5rem;
}
.term-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }

.terminal-title {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.terminal-tabs {
  display: flex;
  gap: 1.5rem;
  padding: 0.8rem 1.5rem 0;
  background: #0d1117;
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.term-tab {
  padding: 0.4rem 0.8rem;
  color: var(--text-muted);
  cursor: pointer;
  position: relative;
}
.term-tab.active {
  color: var(--primary);
}
.term-tab.active::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; width: 100%; height: 2px;
  background: var(--primary);
}

.terminal-body {
  height: 380px;
  overflow-y: auto;
  padding: 1.5rem;
  color: #fff;
  font-size: 0.9rem;
}

.terminal-line {
  margin-bottom: 0.6rem;
  line-height: 1.4;
}

.terminal-prompt {
  color: var(--primary);
}
.terminal-cmd {
  color: #fff;
  font-weight: bold;
}
.terminal-output {
  color: var(--text-main);
  white-space: pre-wrap;
}

.terminal-input-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.terminal-cursor {
  display: inline-block;
  width: 8px;
  height: 15px;
  background: var(--primary);
  animation: cursorBlink 1s step-end infinite;
}

@keyframes cursorBlink {
  from, to { background: transparent; }
  50% { background: var(--primary); }
}

.terminal-input {
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  flex: 1;
}

.terminal-commands-list {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}
.term-btn {
  background: rgba(45, 212, 191, 0.05);
  border: 1px solid rgba(45, 212, 191, 0.2);
  color: var(--primary);
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
  font-size: 0.8rem;
  cursor: pointer;
  font-family: var(--font-mono);
  transition: var(--transition-fast);
}
.term-btn:hover {
  background: var(--primary);
  color: #0b0f19;
  border-color: var(--primary);
}

/* Experience / Timeline */
.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding-left: 2.5rem;
}

.timeline::after {
  content: '';
  position: absolute;
  top: 0; left: 8px; width: 2px; height: 100%;
  background: var(--border-light);
}

.timeline-item {
  position: relative;
  margin-bottom: 4rem;
}
.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -2.5rem;
  top: 6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--bg-base);
  border: 3px solid var(--primary);
  z-index: 2;
  box-shadow: 0 0 8px var(--primary-glow);
  transition: var(--transition-fast);
}
.timeline-item:hover .timeline-dot {
  background: var(--primary);
  box-shadow: var(--shadow-glow);
}

.timeline-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 2.2rem;
  transition: var(--transition-normal);
}
.timeline-card:hover {
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow);
}

.timeline-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.8rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.job-role {
  color: var(--text-bright);
}
.job-company {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.job-date {
  font-family: var(--font-header);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--border-light);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}

.timeline-body p {
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.timeline-bullets {
  list-style: none;
  font-size: 0.95rem;
  color: var(--text-muted);
}
.timeline-bullets li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
}
.timeline-bullets li::before {
  content: "↳";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

/* Featured Projects */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.project-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}
.project-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow);
}

.project-info {
  padding: 2.2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

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

.project-header h3 {
  font-size: 1.3rem;
}

.project-links {
  display: flex;
  gap: 1rem;
  font-size: 1.2rem;
}
.project-links a {
  color: var(--text-muted);
}
.project-links a:hover {
  color: var(--primary);
}

.project-card p {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
  margin-bottom: 1.2rem;
}
.tech-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  color: var(--primary);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  border: 1px solid rgba(45, 212, 191, 0.1);
}

/* Architecture Drawer inside Project Cards */
.arch-toggle {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-header);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.5rem 0;
  margin-top: 1rem;
  transition: var(--transition-fast);
  border-top: 1px solid var(--border-light);
  width: 100%;
}
.arch-toggle:hover {
  color: var(--primary);
}
.arch-toggle i {
  transition: transform var(--transition-fast);
}
.arch-toggle.active i {
  transform: rotate(180deg);
}

.arch-drawer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal);
  background: rgba(0, 0, 0, 0.2);
  border-radius: 6px;
}
.arch-drawer.open {
  max-height: 250px;
  margin-top: 0.5rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  overflow-y: auto;
}

.arch-diag-svg {
  display: block;
  margin: 0 auto;
  max-width: 100%;
}

/* Skills Matrix */
.skills-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.skills-category {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 2rem;
}

.skills-category h3 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 0.5rem;
}

.skills-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.skill-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: var(--transition-fast);
}
.skill-row:hover {
  transform: translateX(5px);
}

.skill-row i {
  font-size: 1.8rem;
  color: var(--text-muted);
  width: 32px;
  text-align: center;
  transition: var(--transition-fast);
}
.skill-row:hover i {
  color: var(--primary);
  transform: scale(1.1);
}

.skill-details {
  flex-grow: 1;
}

.skill-name {
  font-family: var(--font-header);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-main);
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.25rem;
}

.skill-level-bar {
  height: 4px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 2px;
  overflow: hidden;
}
.skill-level-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2px;
  width: 0%;
  transition: width 1s ease-in-out;
}

/* Contact / Footer */
.contact-container {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.contact-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 3rem 2rem;
  box-shadow: var(--shadow-md);
  margin-bottom: 4rem;
}

.contact-card p {
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.contact-links-grid {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.contact-item-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  background: var(--bg-base);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  font-family: var(--font-header);
  font-weight: 600;
  transition: var(--transition-normal);
}
.contact-item-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

footer {
  padding: 3rem 0;
  border-top: 1px solid var(--border-light);
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}
footer p {
  margin-bottom: 0.5rem;
}

/* Fade-in-up scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 576px) {
  header {
    background: var(--bg-surface);
  }
  .nav-container {
    height: 65px;
  }
  section {
    padding: 4.5rem 0;
  }
  .contact-card {
    padding: 2rem 1rem;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .hero-actions .btn {
    width: 100%;
  }
}
