/* ===================================
   PREMIUM 2026 PORTFOLIO - DARK GLASS THEME
   Modern Developer Portfolio with Glassmorphism
   =================================== */

/* Google Fonts - Inter & Montserrat */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Montserrat:wght@400;500;600;700;800&display=swap');

/* === CSS VARIABLES === */
:root {
  /* Dark Theme Colors */
  --bg-primary: #0f172a;
  --bg-secondary: #1e293b;
  --bg-tertiary: #334155;

  /* Accent Colors */
  --accent-primary: #06b6d4;
  /* Electric Cyan */
  --accent-secondary: #10b981;
  /* Emerald */
  --accent-glow: #0ea5e9;

  /* Text Colors */
  --text-primary: #f1f5f9;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;

  /* Glass Effect */
  --glass-bg: rgba(30, 41, 59, 0.7);
  --glass-border: rgba(148, 163, 184, 0.1);
  --glass-shadow: rgba(0, 0, 0, 0.3);

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 5rem;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* === GLOBAL RESET & BASE === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  background-attachment: fixed;
  color: var(--text-primary);
  overflow-x: hidden;
  min-height: 100vh;
}

/* Animated Background Gradient */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 50%, rgba(6, 182, 212, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(16, 185, 129, 0.08) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

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

section {
  position: relative;
  z-index: 1;
}

main {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* === GLASSMORPHIC HEADER === */
header {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  color: var(--text-primary);
  padding: 1.5rem 2rem;
  text-align: center;
  box-shadow: 0 8px 32px var(--glass-shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all var(--transition-normal);
}

header h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
}

header p {
  font-size: 1rem;
  max-width: 700px;
  margin: 0 auto;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* === GLASSMORPHIC NAVIGATION === */
nav {
  margin-top: 1rem;
}

nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

nav ul li a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  display: block;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all var(--transition-normal);
  font-size: 0.95rem;
}

nav ul li a:hover,
nav ul li a.active {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(6, 182, 212, 0.3);
  border-color: transparent;
}

/* === HERO BANNER - SKYLINE WITH GLASSMORPHISM === */
.hero-banner {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
}

.hero-banner-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
}

.hero-banner-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--glass-bg);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border-top: 1px solid var(--glass-border);
}

.hero-banner-badge {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-primary);
  text-shadow: 0 0 20px rgba(6, 182, 212, 0.6),
    0 0 40px rgba(6, 182, 212, 0.3);
  letter-spacing: 1px;
}

@media (max-width: 768px) {
  .hero-banner {
    height: 200px;
  }

  .hero-banner-badge {
    font-size: 1.2rem;
  }
}

/* === HERO SECTION - CENTERED POWER HEADLINE === */
.hero-split {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--spacing-xl) var(--spacing-md);
  gap: var(--spacing-lg);
  max-width: 1100px;
  margin: 0 auto;
}

.hero-text-block {
  max-width: 900px;
}

.hero-text-block h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #06b6d4 0%, #10b981 50%, #0ea5e9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
  letter-spacing: -1px;
  animation: gradientShift 8s ease infinite;
  background-size: 200% 200%;
}

@keyframes gradientShift {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

.hero-text-block p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.8;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta-button {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  color: white;
  padding: 1rem 2.5rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  display: inline-block;
  transition: all var(--transition-normal);
  box-shadow: 0 10px 30px rgba(6, 182, 212, 0.3);
  border: 2px solid transparent;
}

.hero-cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(6, 182, 212, 0.5);
  border-color: var(--accent-glow);
}

/* === PROFILE IMAGE - OPTIMIZED SIZE WITH TEAL GLOW === */
.hero-image-block {
  position: relative;
  max-width: 200px;
  margin: 0 auto;
}

.hero-image-block img,
.profile-pic {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--accent-primary);
  box-shadow: 0 0 30px rgba(6, 182, 212, 0.7),
    0 0 60px rgba(6, 182, 212, 0.4),
    0 0 90px rgba(6, 182, 212, 0.2);
  transition: all var(--transition-slow);
  animation: profileGlow 3s ease-in-out infinite;
  display: block;
  margin: 0 auto;
}

@keyframes profileGlow {

  0%,
  100% {
    box-shadow: 0 0 30px rgba(6, 182, 212, 0.7),
      0 0 60px rgba(6, 182, 212, 0.4),
      0 0 90px rgba(6, 182, 212, 0.2);
  }

  50% {
    box-shadow: 0 0 50px rgba(6, 182, 212, 0.9),
      0 0 80px rgba(6, 182, 212, 0.6),
      0 0 120px rgba(6, 182, 212, 0.3);
  }
}

.hero-image-block img:hover,
.profile-pic:hover {
  transform: scale(1.05);
  border-color: var(--accent-secondary);
}

/* === HERO TITLE CAPTION === */
.hero-title-caption {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--accent-primary);
  text-align: center;
  margin-top: 1rem;
  text-shadow: 0 0 20px rgba(6, 182, 212, 0.5),
    0 0 40px rgba(6, 182, 212, 0.3);
  letter-spacing: 0.5px;
}

/* === VALUE BAR === */
.value-bar {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  text-align: center;
  padding: 1.5rem;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

/* === ABOUT SECTION === */
.about-section {
  padding: var(--spacing-lg) var(--spacing-md);
  max-width: 1000px;
  margin: 0 auto;
}

.about-section h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--accent-primary);
  text-align: center;
}

.about-section p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.about-section ul {
  list-style: none;
  padding: 0;
}

.about-section ul li {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  padding: 1.5rem;
  margin-bottom: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  transition: all var(--transition-normal);
}

.about-section ul li:hover {
  transform: translateX(10px);
  border-color: var(--accent-primary);
  box-shadow: 0 8px 24px rgba(6, 182, 212, 0.2);
}

.about-section ul li strong {
  color: var(--accent-primary);
  font-weight: 700;
}

/* === PROJECTS SECTION - RESPONSIVE GRID === */
.projects-section {
  padding: var(--spacing-lg) var(--spacing-md);
  max-width: 1200px;
  margin: 0 auto;
}

.projects-section h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--accent-primary);
  text-align: center;
}

/* Project Grid */
.projects-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

/* === BENTO GRID LAYOUT === */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
  width: 100%;
}

/* Large Tile - Featured Project (Spans 8 columns, 2 rows) */
.bento-tile-large {
  grid-column: span 8;
  grid-row: span 2;
  min-height: 400px;
}

/* Medium Tile - Secondary Project (Spans 4 columns, 2 rows) */
.bento-tile-medium {
  grid-column: span 4;
  grid-row: span 2;
  min-height: 400px;
}

/* Small/Wide Tile - Value Statement (Spans 12 columns, 1 row) */
.bento-tile-wide {
  grid-column: span 12;
  grid-row: span 1;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Small Tile - Virginia Developer (Spans 4 columns, 1 row) */
.bento-tile-small {
  grid-column: span 4;
  grid-row: span 1;
  min-height: 200px;
  text-align: center;
}

.bento-tile-small .bento-tile-image {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  border: 2px solid var(--glass-border);
}

.bento-tile-small h3 {
  font-size: 1.1rem;
  color: var(--accent-primary);
}

@media (max-width: 768px) {
  .bento-tile-small {
    grid-column: span 1;
  }
}

/* Bento Tile Base Styling */
.bento-tile {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  transition: all var(--transition-normal);
  box-shadow: 0 8px 32px var(--glass-shadow);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Hover Lift Animation - Enhanced with Scale */
.bento-tile:hover {
  transform: translateY(-12px) scale(1.02);
  border-color: var(--accent-primary);
  box-shadow: 0 25px 70px rgba(6, 182, 212, 0.5),
    0 0 100px rgba(6, 182, 212, 0.25),
    0 0 150px rgba(6, 182, 212, 0.1);
}

/* Shimmer Effect on Hover */
.bento-tile::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(6, 182, 212, 0.15),
      transparent);
  transition: left 0.6s ease;
  pointer-events: none;
}

.bento-tile:hover::before {
  left: 100%;
}

/* Bento Tile Content */
.bento-tile-content h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.bento-tile-content h3 a {
  color: var(--accent-primary);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.bento-tile-content h3 a:hover {
  color: var(--accent-secondary);
  text-shadow: 0 0 20px rgba(6, 182, 212, 0.6);
}

.bento-tile-badge {
  display: inline-block;
  font-size: 0.8rem;
  color: var(--accent-secondary);
  font-weight: 600;
  margin-bottom: 1rem;
  padding: 0.25rem 0.75rem;
  background: rgba(16, 185, 129, 0.1);
  border-radius: var(--radius-full);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.bento-tile-content p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.bento-tile-link {
  color: var(--accent-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.bento-tile-link:hover {
  color: var(--accent-secondary);
  transform: translateX(5px);
}

.bento-tile-link::after {
  content: '→';
  transition: transform var(--transition-fast);
}

.bento-tile-link:hover::after {
  transform: translateX(3px);
}

/* Bento Tile Video */
.bento-tile-video {
  margin-bottom: 1rem;
  border-radius: 12px;
  overflow: hidden;
}

.bento-tile-video video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  border: 1px solid var(--accent-primary);
}

/* Value Statement Tile Styling */
.bento-value-statement {
  background: linear-gradient(135deg,
      rgba(6, 182, 212, 0.15) 0%,
      rgba(16, 185, 129, 0.1) 100%);
  border: 2px solid var(--accent-primary);
}

.bento-value-statement h3 {
  font-size: 1.5rem;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
}

/* Responsive Bento Grid */
@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(8, 1fr);
  }

  .bento-tile-large {
    grid-column: span 8;
  }

  .bento-tile-medium {
    grid-column: span 8;
    grid-row: span 1;
    min-height: 300px;
  }
}

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

  .bento-tile-large,
  .bento-tile-medium,
  .bento-tile-wide {
    grid-column: span 1;
    grid-row: span 1;
    min-height: 280px;
  }

  .bento-tile {
    padding: 1.5rem;
  }

  .bento-tile-content h3 {
    font-size: 1.4rem;
  }
}


/* Glassmorphic Project Cards */
.project-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition-normal);
  box-shadow: 0 8px 32px var(--glass-shadow);
}

.project-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-primary);
  box-shadow: 0 16px 48px rgba(6, 182, 212, 0.3),
    0 0 60px rgba(6, 182, 212, 0.1);
}

.featured-project {
  background: linear-gradient(135deg,
      rgba(6, 182, 212, 0.1) 0%,
      rgba(16, 185, 129, 0.05) 100%);
  border: 2px solid var(--accent-primary);
  position: relative;
  overflow: hidden;
}

.featured-project::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(6, 182, 212, 0.2),
      transparent);
  transition: left 0.5s ease;
}

.featured-project:hover::before {
  left: 100%;
}

.project-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.project-card h3 a {
  color: var(--accent-primary);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.project-card h3 a:hover {
  color: var(--accent-secondary);
  text-shadow: 0 0 20px rgba(6, 182, 212, 0.5);
}

.project-card p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.project-card a {
  color: var(--accent-primary);
  text-decoration: none;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.project-card a:hover {
  color: var(--accent-secondary);
  text-decoration: underline;
}

.project-cta {
  display: inline-block;
  margin-top: 1rem;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  color: white;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  font-weight: 700;
  transition: all var(--transition-normal);
  box-shadow: 0 8px 20px rgba(6, 182, 212, 0.3);
}

.project-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(6, 182, 212, 0.5);
  text-decoration: none;
}

.project-footer {
  text-align: center;
  margin-top: 3rem;
}

/* === HERO SPLIT FOR PAGE2 === */
.media-section {
  padding: var(--spacing-lg) var(--spacing-md);
  max-width: 1000px;
  margin: 0 auto;
}

.media-section h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--accent-primary);
  text-align: center;
}

.media-section p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 2rem;
}

/* === BEFORE/AFTER CONTROLS === */
.before-after-controls {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.before-after-controls button {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  color: var(--text-primary);
  border: 2px solid var(--accent-primary);
  padding: 0.75rem 2rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-normal);
  font-size: 1rem;
}

.before-after-controls button:hover {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(6, 182, 212, 0.4);
}

/* === IMAGE TOGGLE === */
.image-toggle {
  text-align: center;
  margin: 1rem 0;
}

.image-toggle img {
  width: 100%;
  max-width: 500px;
  border-radius: var(--radius-md);
  border: 2px solid var(--glass-border);
  box-shadow: 0 8px 32px var(--glass-shadow);
  margin: 0 auto;
  transition: all var(--transition-normal);
}

.image-toggle img:hover {
  transform: scale(1.02);
  border-color: var(--accent-primary);
}

.commit-caption,
.image-caption {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 0.75rem;
  font-style: italic;
}

/* === TERMINAL-STYLE COMMIT FEED === */
.commit-feed {
  background: #1a1a1a;
  border: 2px solid var(--accent-primary);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-top: 1.5rem;
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
  color: #00ff00;
  max-height: 300px;
  overflow-y: auto;
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.3);
  position: relative;
}

.commit-feed::before {
  content: '> git log --oneline';
  display: block;
  color: var(--accent-primary);
  margin-bottom: 1rem;
  font-weight: bold;
}

.commit-feed::-webkit-scrollbar {
  width: 8px;
}

.commit-feed::-webkit-scrollbar-track {
  background: #0a0a0a;
}

.commit-feed::-webkit-scrollbar-thumb {
  background: var(--accent-primary);
  border-radius: 4px;
}

/* === CONTACT FORM === */
.contact-form {
  max-width: 600px;
  margin: 2rem auto;
  padding: 2rem;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px var(--glass-shadow);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-primary);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.875rem;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  transition: all var(--transition-normal);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.2);
  background: rgba(15, 23, 42, 0.7);
}

.submit-button {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  color: white;
  padding: 1rem 2.5rem;
  border: none;
  border-radius: var(--radius-full);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-normal);
  box-shadow: 0 8px 20px rgba(6, 182, 212, 0.3);
  width: 100%;
}

.submit-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(6, 182, 212, 0.5);
}

.form-success-message p {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--accent-primary);
  text-shadow: 0 0 20px rgba(6, 182, 212, 0.5),
    0 0 40px rgba(6, 182, 212, 0.3);
  animation: pulseGlow 2s ease-in-out infinite;
}

.form-error-message {
  text-align: center;
  padding: var(--spacing-lg);
}

.form-error-message p {
  font-size: 1.25rem;
  font-weight: 600;
  color: #ef4444;
  text-shadow: 0 0 20px rgba(239, 68, 68, 0.5),
    0 0 40px rgba(239, 68, 68, 0.3);
}

.form-message {
  margin-top: 1.5rem;
  padding: 1.5rem;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px var(--glass-shadow);
}

/* === FOOTER === */
footer {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--glass-border);
  color: var(--text-primary);
  text-align: center;
  padding: 2rem 1rem;
  margin-top: 4rem;
  position: relative;
  z-index: 1;
}

.footer-links {
  margin: 1rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--accent-primary);
  font-weight: 600;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-normal);
}

.footer-links a:hover {
  color: var(--accent-secondary);
  text-shadow: 0 0 15px rgba(6, 182, 212, 0.7),
    0 0 30px rgba(6, 182, 212, 0.4);
  background: rgba(6, 182, 212, 0.1);
}

.footer-tagline {
  margin-top: 1rem;
  font-size: 1rem;
  font-style: italic;
  color: var(--text-muted);
}

/* === MODERN CHATBOT === */
.chatbot-button {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  color: white;
  font-size: 24px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(6, 182, 212, 0.4);
  z-index: 999;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
  text-decoration: none;
}

.chatbot-button::before {
  content: '💬';
}

.chatbot-button:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 32px rgba(6, 182, 212, 0.6);
}

/* Smart Interaction Card */
.smart-card {
  position: fixed;
  bottom: 110px;
  right: 30px;
  width: 300px;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--accent-primary);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: 0 16px 48px var(--glass-shadow),
    0 0 30px rgba(6, 182, 212, 0.15);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.95);
  transition: all 0.3s ease;
}

.smart-card.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.smart-card-greeting {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
  font-weight: 500;
}

.smart-card-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.smart-card-link {
  display: block;
  padding: 0.75rem 1rem;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.3);
  border-radius: var(--radius-sm);
  color: var(--accent-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.smart-card-link:hover {
  background: rgba(6, 182, 212, 0.2);
  border-color: var(--accent-primary);
  transform: translateX(5px);
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.3);
}

@media (max-width: 480px) {
  .smart-card {
    right: 15px;
    left: 15px;
    width: auto;
    bottom: 100px;
  }
}

/* Input flash animation for chat button navigation */
.input-flash {
  animation: inputFlash 1s ease-out;
}

@keyframes inputFlash {

  0%,
  100% {
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.2);
  }

  50% {
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.8),
      0 0 40px rgba(6, 182, 212, 0.5);
    border-color: var(--accent-primary);
  }
}

.chatbox {
  display: none;
  position: fixed;
  bottom: 110px;
  right: 30px;
  width: 320px;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: 0 16px 48px var(--glass-shadow);
  z-index: 998;
}

.chatbox h4 {
  margin: 0 0 1rem;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text-primary);
  font-weight: 600;
}

.chat-email-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.chat-email-form input {
  padding: 0.75rem;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: all var(--transition-normal);
}

.chat-email-form input:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.2);
}

.chat-email-form button {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  color: white;
  padding: 0.75rem;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.chat-email-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(6, 182, 212, 0.4);
}

#chat-response {
  margin-top: 1rem;
  font-style: italic;
  color: var(--accent-secondary);
  line-height: 1.6;
}

/* === TOP BANNER === */
.top-banner {
  height: 4px;
  background: linear-gradient(90deg,
      var(--accent-primary) 0%,
      var(--accent-secondary) 50%,
      var(--accent-primary) 100%);
  background-size: 200% 100%;
  animation: bannerSlide 3s linear infinite;
}

@keyframes bannerSlide {
  0% {
    background-position: 0% 0%;
  }

  100% {
    background-position: 200% 0%;
  }
}

/* === SOLUTIONS SHOWCASE === */
.solutions-showcase {
  max-width: 1100px;
  margin: 0 auto;
  padding: var(--spacing-xl) var(--spacing-md);
}

.solutions-showcase h2 {
  text-align: center;
  font-size: 2.5rem;
  color: var(--accent-primary);
  margin-bottom: var(--spacing-xl);
  text-shadow: 0 0 30px rgba(6, 182, 212, 0.3);
}

.solution-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
  align-items: center;
}

.solution-card:nth-child(odd) {
  direction: rtl;
}

.solution-card:nth-child(odd)>* {
  direction: ltr;
}

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  transition: all var(--transition-normal);
}

.glass-card:hover {
  border-color: var(--accent-primary);
  box-shadow: 0 20px 60px rgba(6, 182, 212, 0.2),
    0 0 80px rgba(6, 182, 212, 0.1);
  transform: translateY(-5px);
}

.solution-image,
.solution-video {
  overflow: hidden;
  border-radius: 12px;
}

.solution-image img,
.solution-video video {
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--accent-primary);
  transition: transform var(--transition-normal);
}

.solution-card:hover .solution-image img,
.solution-card:hover .solution-video video {
  transform: scale(1.02);
}

.hover-video {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.solution-content h3 {
  font-size: 1.75rem;
  color: var(--accent-primary);
  margin-bottom: 0.5rem;
}

.solution-badge {
  font-size: 0.85rem;
  color: var(--accent-secondary);
  font-weight: 600;
  display: block;
  margin-bottom: 1rem;
}

.solution-content p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.solution-content .project-cta {
  display: inline-block;
}

@media (max-width: 900px) {
  .solution-card {
    grid-template-columns: 1fr;
  }

  .solution-card:nth-child(odd) {
    direction: ltr;
  }
}

/* === IN THE LAB SECTION === */
.in-the-lab {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--spacing-xl) var(--spacing-md);
  text-align: center;
}

.in-the-lab h2 {
  font-size: 2rem;
  color: var(--text-primary);
  margin-bottom: var(--spacing-lg);
  position: relative;
}

.in-the-lab h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent-primary);
  margin: 1rem auto 0;
  border-radius: var(--radius-full);
}

.lab-card {
  text-align: center;
  padding: var(--spacing-xl);
}

.lab-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.lab-card h3 {
  font-size: 1.5rem;
  color: var(--accent-primary);
  margin-bottom: 0.75rem;
}

.lab-status {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  color: white;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.lab-card p {
  color: var(--text-muted);
  max-width: 400px;
  margin: 0 auto;
}

/* === ABOUT PAGE - BENTO TIMELINE HYBRID === */

/* Profile Photo with Pulse Glow */
.profile-hero {
  display: flex;
  justify-content: center;
  padding: var(--spacing-xl) var(--spacing-md) var(--spacing-lg);
}

.profile-photo-container {
  position: relative;
}

.profile-photo-pulse {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent-primary);
  box-shadow: 0 0 30px rgba(6, 182, 212, 0.5),
    0 0 60px rgba(6, 182, 212, 0.3),
    0 0 90px rgba(6, 182, 212, 0.1);
  animation: pulseGlow 3s ease-in-out infinite;
  filter: grayscale(0.5) blur(0.5px);
}

@keyframes pulseGlow {

  0%,
  100% {
    box-shadow: 0 0 30px rgba(6, 182, 212, 0.5),
      0 0 60px rgba(6, 182, 212, 0.3),
      0 0 90px rgba(6, 182, 212, 0.1);
  }

  50% {
    box-shadow: 0 0 40px rgba(6, 182, 212, 0.7),
      0 0 80px rgba(6, 182, 212, 0.5),
      0 0 120px rgba(6, 182, 212, 0.2);
  }
}

/* About Bento Grid */
.about-bento {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--spacing-md) var(--spacing-xl);
}

.about-bento-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: var(--spacing-lg);
}

.about-tile {
  padding: var(--spacing-lg);
}

.about-tile h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.75rem;
  color: var(--accent-primary);
  margin-bottom: 1rem;
  text-shadow: 0 0 20px rgba(6, 182, 212, 0.3);
}

.about-tile p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.about-tile p:last-child {
  margin-bottom: 0;
}

.philosophy-badge {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--accent-secondary);
  font-weight: 600;
  margin-bottom: 1rem;
  padding: 0.35rem 1rem;
  background: rgba(16, 185, 129, 0.1);
  border-radius: var(--radius-full);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

@media (max-width: 900px) {
  .about-bento-grid {
    grid-template-columns: 1fr;
  }
}

/* Journey Section with Banner */
.journey-section {
  position: relative;
  padding: var(--spacing-xl) 0;
  margin-top: var(--spacing-lg);
}

.journey-banner {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}

.journey-banner-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.journey-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.85);
}

.journey-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.journey-content h2 {
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  color: var(--text-primary);
  margin-bottom: var(--spacing-xl);
}

/* Vertical Timeline */
.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--accent-primary), var(--accent-secondary));
  border-radius: var(--radius-full);
}

.timeline-item {
  position: relative;
  margin-bottom: var(--spacing-lg);
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-marker {
  position: absolute;
  left: -40px;
  top: 1.5rem;
  width: 24px;
  height: 24px;
  background: var(--accent-primary);
  border-radius: 50%;
  border: 4px solid var(--bg-primary);
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.6);
  z-index: 2;
}

.timeline-content {
  padding: var(--spacing-md);
}

.timeline-content h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.4rem;
  color: var(--accent-primary);
  margin-bottom: 0.5rem;
}

.timeline-company {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--accent-secondary);
  font-weight: 600;
  margin-bottom: 1rem;
}

.timeline-content p {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* About Contact Section */
.about-contact {
  max-width: 700px;
  margin: 0 auto;
  padding: var(--spacing-xl) var(--spacing-md);
  text-align: center;
}

.about-contact h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  color: var(--accent-primary);
  margin-bottom: 1rem;
}

.about-contact>p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-lg);
}

/* === FIGURE STYLING === */
figure.image-block {
  text-align: center;
  margin: 2rem auto;
}

figcaption {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 0.75rem;
  font-style: italic;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 768px) {
  header h1 {
    font-size: 1.5rem;
  }

  header p {
    font-size: 0.9rem;
  }

  nav ul {
    flex-direction: row;
    gap: 0.5rem;
  }

  nav ul li a {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
  }

  .hero-split {
    padding: var(--spacing-md) var(--spacing-sm);
  }

  .hero-text-block h2 {
    font-size: 2rem;
  }

  .hero-text-block p {
    font-size: 1rem;
  }

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

  .chatbox {
    width: calc(100vw - 40px);
    right: 20px;
  }

  .before-after-controls {
    flex-direction: column;
  }

  .before-after-controls button {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hero-text-block h2 {
    font-size: 1.75rem;
  }

  .about-section h2,
  .projects-section h2,
  .media-section h2 {
    font-size: 1.75rem;
  }
}

/* === UTILITY CLASSES === */
.hide {
  display: none;
}

/* === SMOOTH SCROLL === */
html {
  scroll-behavior: smooth;
}