/* ===================================
   MARCUS PIPER SOLUTIONS - LIGHT THEME
   Apple-clean cream/charcoal/emerald with dark hero accent
   =================================== */

/* 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 {
  /* Light Theme Colors */
  --bg-primary: #faf8f3;
  --bg-secondary: #ffffff;
  --bg-tertiary: #f1ede4;

  /* Accent Colors - Emerald + Blue */
  --accent-primary: #059669;
  --accent-secondary: #10b981;
  --accent-glow: #10b981;
  --accent-blue: #2563eb;

  /* Text Colors - Charcoal */
  --text-primary: #1a1f2e;
  --text-secondary: #4a5568;
  --text-muted: #718096;

  /* Card / Surface */
  --glass-bg: #ffffff;
  --glass-border: rgba(15, 23, 42, 0.08);
  --glass-shadow: rgba(15, 23, 42, 0.06);
  --card-shadow-hover: rgba(15, 23, 42, 0.10);

  /* 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: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Subtle Background Texture */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 15% 0%, rgba(5, 150, 105, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 85% 100%, rgba(37, 99, 235, 0.03) 0%, transparent 40%);
  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;
}

/* === CLEAN LIGHT HEADER === */
header {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  color: var(--text-primary);
  padding: 1.25rem 2rem;
  text-align: center;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all var(--transition-normal);
}

header h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

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

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

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

nav ul li a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 600;
  padding: 0.6rem 1.25rem;
  display: block;
  border-radius: var(--radius-full);
  background: transparent;
  border: 1px solid transparent;
  transition: all var(--transition-normal);
  font-size: 0.95rem;
}

nav ul li a:hover {
  color: var(--accent-primary);
  background: rgba(5, 150, 105, 0.08);
}

nav ul li a.active {
  background: var(--accent-primary);
  color: white;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.25);
  border-color: transparent;
}

/* === HERO BANNER - DARK SKYLINE (preserved dark accent) === */
.hero-banner {
  position: relative;
  width: 100%;
  height: 320px;
  overflow: hidden;
  background: #0f172a;
}

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

.hero-banner-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-banner-badge {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 0 20px rgba(16, 185, 129, 0.6),
    0 0 40px rgba(16, 185, 129, 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.25rem, 4.8vw, 3.6rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  line-height: 1.15;
  letter-spacing: -1.5px;
}

.hero-text-block h2 .accent {
  color: var(--accent-primary);
}

@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(5, 150, 105, 0.3);
  border: 2px solid transparent;
}

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

.hero-cta-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-cta-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--text-primary);
  box-shadow: none;
}

.hero-cta-secondary:hover {
  background: var(--text-primary);
  color: white;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.2);
  border-color: var(--text-primary);
}

/* === 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(5, 150, 105, 0.7),
    0 0 60px rgba(5, 150, 105, 0.4),
    0 0 90px rgba(5, 150, 105, 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(5, 150, 105, 0.7),
      0 0 60px rgba(5, 150, 105, 0.4),
      0 0 90px rgba(5, 150, 105, 0.2);
  }

  50% {
    box-shadow: 0 0 50px rgba(5, 150, 105, 0.9),
      0 0 80px rgba(5, 150, 105, 0.6),
      0 0 120px rgba(5, 150, 105, 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(5, 150, 105, 0.5),
    0 0 40px rgba(5, 150, 105, 0.3);
  letter-spacing: 0.5px;
}

/* === VALUE BAR === */
.value-bar {
  background: linear-gradient(135deg, rgba(5, 150, 105, 0.06), rgba(37, 99, 235, 0.04));
  text-align: center;
  padding: 1.5rem;
  font-size: 1.15rem;
  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: 800;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  text-align: center;
  letter-spacing: -1px;
}

.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(5, 150, 105, 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: 800;
  margin-bottom: 1rem;
  color: var(--text-primary);
  text-align: center;
  letter-spacing: -1px;
}

/* 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: 340px;
}

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

/* 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;
}

/* Third Tile - 4 columns, 1 row */
.bento-tile-third {
  grid-column: span 4;
  grid-row: span 1;
  min-height: 280px;
}

/* Half Tile - 6 columns, 1 row */
.bento-tile-half {
  grid-column: span 6;
  grid-row: span 1;
  min-height: 280px;
}

@media (max-width: 1024px) {
  .bento-tile-third {
    grid-column: span 4;
  }

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

@media (max-width: 768px) {
  .bento-tile-third,
  .bento-tile-half {
    grid-column: span 1;
    min-height: 240px;
  }
}

/* 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-third .bento-tile-image {
  width: 100%;
  height: 120px;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  border: 1px 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);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  transition: all var(--transition-normal);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04), 0 4px 12px rgba(15, 23, 42, 0.04);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Hover Lift Animation */
.bento-tile:hover {
  transform: translateY(-6px);
  border-color: rgba(5, 150, 105, 0.3);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08), 0 4px 12px rgba(5, 150, 105, 0.08);
}

.bento-tile::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(5, 150, 105, 0.06),
      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.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

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

.bento-tile-content h3 a:hover {
  color: var(--accent-primary);
}

.bento-tile-badge {
  display: inline-block;
  font-size: 0.75rem;
  color: var(--accent-primary);
  font-weight: 700;
  margin-bottom: 1rem;
  padding: 0.3rem 0.75rem;
  background: rgba(5, 150, 105, 0.1);
  border-radius: var(--radius-full);
  border: 1px solid rgba(5, 150, 105, 0.2);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.bento-tile-status {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-left: 0.5rem;
}

.bento-tile-status.live {
  background: rgba(5, 150, 105, 0.12);
  color: var(--accent-primary);
  border: 1px solid rgba(5, 150, 105, 0.25);
}

.bento-tile-status.draft {
  background: rgba(234, 179, 8, 0.12);
  color: #b45309;
  border: 1px solid rgba(234, 179, 8, 0.3);
}

.bento-tile-status.beta {
  background: rgba(37, 99, 235, 0.1);
  color: var(--accent-blue);
  border: 1px solid rgba(37, 99, 235, 0.25);
}

.bento-tile-problem {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 0.5rem;
  display: block;
}

.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-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.bento-tile-link-secondary {
  color: var(--text-secondary);
  opacity: 0.8;
}

.bento-tile-link-secondary:hover {
  color: var(--accent-primary);
  opacity: 1;
}

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

.bento-tile-video video {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: top center;
  display: block;
  border-radius: 12px;
  border: 1px solid var(--accent-primary);
}

/* Value Statement Tile Styling */
.bento-value-statement {
  background: linear-gradient(135deg,
      rgba(5, 150, 105, 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(5, 150, 105, 0.3),
    0 0 60px rgba(5, 150, 105, 0.1);
}

.featured-project {
  background: linear-gradient(135deg,
      rgba(5, 150, 105, 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(5, 150, 105, 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(5, 150, 105, 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(5, 150, 105, 0.3);
}

.project-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(5, 150, 105, 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: 800;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  text-align: center;
  letter-spacing: -1px;
}

.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(5, 150, 105, 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(5, 150, 105, 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: #f3f0ea;
}

.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,
.form-group select {
  width: 100%;
  padding: 0.875rem 1rem;
  background: #ffffff;
  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::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15);
}

.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(5, 150, 105, 0.3);
  width: 100%;
}

.submit-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(5, 150, 105, 0.5);
}

.form-success-message p {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--accent-primary);
  text-shadow: 0 0 20px rgba(5, 150, 105, 0.5),
    0 0 40px rgba(5, 150, 105, 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: #ffffff;
  border-top: 1px solid var(--glass-border);
  color: var(--text-primary);
  text-align: center;
  padding: 2.5rem 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-primary);
  background: rgba(5, 150, 105, 0.08);
}

.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(5, 150, 105, 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(5, 150, 105, 0.6);
}

/* Smart Interaction Card */
.smart-card {
  position: fixed;
  bottom: 110px;
  right: 30px;
  width: 300px;
  background: #ffffff;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.15),
    0 4px 12px rgba(15, 23, 42, 0.08);
  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(5, 150, 105, 0.06);
  border: 1px solid rgba(5, 150, 105, 0.15);
  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(5, 150, 105, 0.12);
  border-color: var(--accent-primary);
  transform: translateX(4px);
}

@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(5, 150, 105, 0.2);
  }

  50% {
    box-shadow: 0 0 20px rgba(5, 150, 105, 0.8),
      0 0 40px rgba(5, 150, 105, 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(0, 0, 0, 0.06);
  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(5, 150, 105, 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(5, 150, 105, 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;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: var(--spacing-xl);
  letter-spacing: -1px;
}

.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);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  transition: all var(--transition-normal);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03), 0 4px 12px rgba(15, 23, 42, 0.04);
}

.glass-card:hover {
  border-color: rgba(5, 150, 105, 0.25);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  transform: translateY(-3px);
}

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

.solution-image img,
.solution-video video,
.solution-video img {
  width: 100%;
  max-height: 260px;
  object-fit: cover;
  object-position: top center;
  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;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  letter-spacing: -0.5px;
}

.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;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: var(--spacing-lg);
  position: relative;
  letter-spacing: -0.5px;
}

.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(--text-primary);
  margin-bottom: 0.75rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.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(5, 150, 105, 0.5),
    0 0 60px rgba(5, 150, 105, 0.3),
    0 0 90px rgba(5, 150, 105, 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(5, 150, 105, 0.5),
      0 0 60px rgba(5, 150, 105, 0.3),
      0 0 90px rgba(5, 150, 105, 0.1);
  }

  50% {
    box-shadow: 0 0 40px rgba(5, 150, 105, 0.7),
      0 0 80px rgba(5, 150, 105, 0.5),
      0 0 120px rgba(5, 150, 105, 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.6rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.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.88);
}

.journey-section .timeline-content {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.journey-section .timeline-content h3 {
  color: #ffffff;
}

.journey-section .timeline-content p {
  color: rgba(241, 245, 249, 0.85);
}

.journey-section .timeline-company {
  color: var(--accent-secondary);
}

.journey-section .timeline-marker {
  border-color: #1e293b;
}

.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(5, 150, 105, 0.6);
  z-index: 2;
}

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

.timeline-content h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  letter-spacing: -0.5px;
}

.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;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.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;
}

/* === SECTION SUBTITLE === */
.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* === SERVICES SECTION === */
.services-section {
  padding: var(--spacing-xl) var(--spacing-md);
  max-width: 1200px;
  margin: 0 auto;
}

.services-section h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--text-primary);
  text-align: center;
  letter-spacing: -1px;
}

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

.service-card {
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(5, 150, 105, 0.25);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

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

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

/* === PROCESS SECTION === */
.process-section {
  padding: var(--spacing-xl) var(--spacing-md);
  max-width: 1100px;
  margin: 0 auto;
}

.process-section h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--text-primary);
  text-align: center;
  letter-spacing: -1px;
}

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

.process-step {
  padding: 2rem 1.5rem;
  text-align: center;
  position: relative;
  transition: all var(--transition-normal);
}

.process-step:hover {
  transform: translateY(-4px);
  border-color: rgba(5, 150, 105, 0.25);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

.process-number {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent-primary);
  opacity: 0.5;
  display: block;
  margin-bottom: 0.75rem;
}

.process-step h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.process-step p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

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

.trust-section h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 2.5rem;
  color: var(--text-primary);
  text-align: center;
  letter-spacing: -1px;
}

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

.trust-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.5rem;
  background: var(--glass-bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  transition: all var(--transition-normal);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
}

.trust-item:hover {
  border-color: rgba(5, 150, 105, 0.25);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
}

.trust-icon {
  font-size: 1.5rem;
  color: var(--accent-primary);
  font-weight: 700;
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(5, 150, 105, 0.15);
  border-radius: 50%;
}

.trust-item h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.trust-item p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* === FINAL CTA SECTION === */
.final-cta-section {
  text-align: center;
  padding: var(--spacing-xl) var(--spacing-md);
  max-width: 800px;
  margin: var(--spacing-lg) auto;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: var(--radius-lg);
  color: #ffffff;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.15);
}

.final-cta-section h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.25rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.final-cta-section p {
  color: rgba(241, 245, 249, 0.85);
}

.final-cta-section .hero-cta-button {
  background: #ffffff;
  color: var(--text-primary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.final-cta-section .hero-cta-button:hover {
  background: var(--accent-primary);
  color: #ffffff;
  border-color: var(--accent-primary);
}

.final-cta-section p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.7;
}

/* === 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;
  }

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

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

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

  .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,
  .services-section h2,
  .process-section h2,
  .trust-section h2 {
    font-size: 1.75rem;
  }

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

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

  .hero-cta-group {
    flex-direction: column;
    align-items: center;
  }
}

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

/* === HOMEPAGE ABOUT SECTION === */
.home-about {
  max-width: 1100px;
  margin: 0 auto;
  padding: var(--spacing-xl) var(--spacing-md);
}

.home-about-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--spacing-lg);
  align-items: center;
}

.home-about-photo {
  width: 100%;
  border-radius: var(--radius-lg);
  aspect-ratio: 1;
  object-fit: cover;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.10);
  border: 4px solid #ffffff;
}

.home-about-content h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 1rem;
  letter-spacing: -1px;
}

.home-about-content .home-about-tagline {
  display: inline-block;
  font-size: 0.8rem;
  color: var(--accent-primary);
  font-weight: 700;
  margin-bottom: 1rem;
  padding: 0.3rem 0.75rem;
  background: rgba(5, 150, 105, 0.1);
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.home-about-content p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.home-about-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.home-about-skill {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 0.4rem 0.9rem;
  background: #ffffff;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-full);
}

@media (max-width: 768px) {
  .home-about-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .home-about-photo {
    max-width: 240px;
    margin: 0 auto;
  }

  .home-about-skills {
    justify-content: center;
  }
}

/* === HOMEPAGE CONTACT SECTION === */
.home-contact {
  max-width: 700px;
  margin: 0 auto;
  padding: var(--spacing-xl) var(--spacing-md);
}

.home-contact h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 1rem;
  letter-spacing: -1px;
}

.home-contact > p {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
}

/* === SECTION KICKER (small label above headlines) === */
.section-kicker {
  display: block;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
}

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

/* Anchor scroll offset so sticky header doesn't cover section headings */
section[id],
[id="contact"],
[id="services"],
[id="projects"],
[id="process"],
[id="about"] {
  scroll-margin-top: 220px;
}