
/* ===================== */
/* === Root & Base ===== */

:root {
  --primary: #58a6ff;
  --bg: #0d1117;
  --bg-alt: #161b22;
  --text: #c9d1d9;
}

body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--bg);
  color: var(--text);
}

nav {
  background-color: var(--bg-alt);
}

p {
  text-indent: 1.5em;
}

#hero-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  margin-top: 10px; /* Adjust if your nav is fixed and overlaps */
  margin-bottom: 0; /* Or a tighter value like 1rem */
}

.hero-inner {
  width: 100%;
  max-width: 1800px;        /* or your preferred limit */
  aspect-ratio: 3 / 1;      /* adjusts height automatically */
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-inner img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* No indent inside specific containers */
.card p,
li p,
.centered p,
footer p {
  text-indent: 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Core Layout */
section {
  padding: 60px 20px;
  margin: 0 auto;
}

/* Explicit layouts */
.section-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 20px;
}

.section-container--wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 60px 20px;
}

section h2 {
  border-left: none;
  padding-left: 0px;
  margin-bottom: 20px;
  color: var(--primary);
  font-size: 1.5rem;
}

/* Typography */
/*.section-title {
  font-size: 2rem;
  border-left: none;
  padding-left: 0px;
  color: var(--primary);
}*/

.section-title {
  font-size: 2rem;
  color: #33aaff;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.section-quote {
  font-size: 1.4rem;
  font-weight: 500;
  font-style: italic;
  color: #ffffff;
  margin-bottom: 1.25rem;
  display: block;
}

.section-subtitle {
  font-size: 1.1rem;
  font-weight: 500;
  font-style: italic;
  color: var(--primary);
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}
/* Special narrower text block (optional) */
.text-narrow {
  max-width: 700px;
  margin: 0 auto;
}

.what-we-do-grid {
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  display: grid;
  gap: 24px; /* You can adjust this value */
  grid-template-columns: repeat(auto-fit, minmax(250px, auto));
  max-width: 100%; /* prevents overflow */
}

.what-we-do-grid--max4 {
  grid-template-columns: repeat(auto-fit, minmax(265px, 1fr));
  justify-items: start;       /* keep items left-aligned */
  justify-content: center;    /* center the entire row of cards */
  row-gap: 32px;              /* ensures good vertical spacing */
}

.what-we-do-grid--max4 .card {
  width: auto;
  max-width: 265px;
}

.what-we-do-center-wrapper {
  display: flex;
  justify-content: center;
}

.last-row {
  justify-content: center;
  grid-template-columns: repeat(3, minmax(250px, 1fr));
  max-width: calc(3 * 250px + 2 * 24px); /* Adjust if your gap changes */
  margin: 0 auto;
}


#what-we-do {
  margin-top: 0 !important;  /* override spacing above section */
  padding-top: 0 !important;
}

#what-we-do h2 {
  margin-top: 0; /* or 0 if you want it tight */
}

#what-we-do-title {
  margin-top: 0; /* pushes the title down from the header */
  text-align: center;
}

/* ===================== */
/* === Typography & Text == */

  padding: 10px 20px;
  text-align: right;
}
nav a {
  color: var(--primary);
  text-decoration: none;
  margin-left: 15px;
  font-size: 14px;
}

ul {
  list-style-type: none;
  padding-left: 0;
}
ul li {
  padding: 6px 0;
  border-bottom: 1px solid #222;
}

.tech-stack p, .about p {
  line-height: 1.6;
}

#technologies-title {
  margin-bottom: 1rem; /* slight tighten between title and caption */
}

#tech-intro {
  white-space: normal; /* ensure wrapping works (default) */
  max-width: 100%;     /* prevent forced line breaks */
}

/* ============================== */
/* === Technology Icon Grid ===== */
/* ============================== */

.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 20px;
  justify-items: center;
  align-items: center;
  margin-top: 30px;
}

.logo-grid img {
  max-width: 80px;
  max-height: 60px;
  filter: brightness(0.85);
  transition: filter 0.3s ease;
}

.logo-grid img:hover {
  filter: brightness(1.1);
}


/* ===================== */
/* === Footer ============ */
/* ============================== */

footer {
  background-color: var(--bg-alt);
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
  color: #888;
}

/* General Dark Mode Styling */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    background-color: #0d1117;
    color: #c9d1d9;
}

/* Logo */
.logo {
    width: 80px;
    margin-bottom: 20px;
    max-width: 100%;
}

/* Login Container */

/* ===================== */
/* === Dashboard & Login === */
/* ============================== */

.login-container {
    width: 100%;
    max-width: 360px;
    padding: 40px;
    background-color: #161b22;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    text-align: center;
    margin: auto;
}

/* Dashboard Navbar */
.dashboard-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #161b22;
    color: white;
}

.dashboard-navbar h1 {
    font-size: 24px;
    color: #c9d1d9;
    margin: 0;
}

.dashboard-navbar button {
    padding: 8px 16px;
    background-color: #d73a49;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.dashboard-navbar button:hover {
    background-color: #b82c3a;
}

/* Full-Width Dashboard Content */
.dashboard-content {
    padding: 20px;
    max-width: 1200px;
    margin: auto;
}

/* Dashboard Section */
.dashboard-section {
    margin-bottom: 30px;
    padding: 20px;
    background-color: #161b22;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.dashboard-section h2 {
    color: #c9d1d9;
    margin-bottom: 15px;
}

/* Stat Boxes (Larger Size) */
.stat-box {
    display: inline-block;
    width: 30%;
    margin: 10px;
    padding: 30px;
    background-color: #21262d;
    border-radius: 10px;
    text-align: center;
    color: #c9d1d9;
}

.stat-box h3 {
    font-size: 28px;
    color: #58a6ff;
}

/* Graph Placeholder */
.graph-placeholder {
    height: 300px;
    background-color: #21262d;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    font-size: 18px;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 20px;
  justify-items: center;
  align-items: center;
  padding: 10px;
  padding-bottom: 20px;
}

.logo-grid-wrapper {
  max-width: 900px;
  background-color: #11161f;
  border: 1px solid rgba(88, 166, 255, 0.15);
  border-radius: 12px;
  padding: 5px 5px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  width: 100%;
  min-height: 100px;
  margin: 0 auto;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.logo-grid-wrapper {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.logo-grid-wrapper.visible {
  opacity: 1;
  transform: translateY(0);
  animation: fadeInUp 0.6s ease-out;
}

.logo-grid-wrapper:hover {
  box-shadow: 0 0 16px rgba(88, 166, 255, 0.12);
  border-color: rgba(88, 166, 255, 0.3);
}

.card {
  width: 265px;
  margin: 0;
  background-color: #161b22;
  padding: 18px;
  border-radius: 10px;
  border: 1px solid rgba(88, 166, 255, 0.12);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
}

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

.card h3 {
  color: var(--primary, #58a6ff);
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
}

.card p {
  color: #c9d1d9;
  margin: 0;
  margin-bottom: 16px;
  line-height: 1.6;
}

/* Optional glow on hover */
.card:hover {
  border-color: rgba(88, 166, 255, 0.3);
  box-shadow: 0 0 8px rgba(88, 166, 255, 0.2);
}


.pop-effect {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pop-effect:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(88, 166, 255, 0.15);
  border: 1px solid rgba(88, 166, 255, 0.2);
}

.card-button {
  margin-top: auto;
  align-self: start;
  padding: 8px 16px;
  border-radius: 6px;
  background-color: rgba(88, 166, 255, 0.1);
  color: var(--primary, #58a6ff);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.card-button:hover {
  background-color: rgba(88, 166, 255, 0.2);
  box-shadow: 0 0 4px rgba(88, 166, 255, 0.4);
}

/*
.card-button {
  transition: background-color 0.3s ease, transform 0.2s ease;
}
.card-button:hover {
  background-color: #79b8ff;
}

.card-button:hover {
  background-color: #79b8ff;
  transform: translateY(-1px);
}*/


/* ============================== */
/* === Subpage Layout ==== */
/* ============================== */

.subpage-header {
  padding: 60px 20px 30px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.subpage-header h1 {
  font-size: 2rem;
  color: var(--primary);
}

.subpage-header p {
  font-size: 1.1rem;
  color: var(--text);
  margin-top: 10px;
}

.subpage-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  line-height: 1.6;
}

.subpage-content h2 {
  color: var(--primary);
  margin-top: 40px;
  border-left: none;
  padding-left: 0px;
}

.subpage-content ul {
  padding-left: 20px;
}

.subpage-content ul li {
  margin-bottom: 10px;
}

.subpage-hero {
  padding: 60px 20px 30px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.subpage-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
  opacity: 0.85;
}

.subpage-hero h1 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.subpage-hero p {
  font-size: 1.1rem;
  color: var(--text);
  margin-top: 0;
}

/* ============================== */
/* === Hero & Header Area === */
/* ============================== */

.hero {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: var(--nav-height); /* e.g., 60px or whatever your nav height is */
  padding-top: 100px; /* to offset sticky header if needed */
  margin-bottom: 2rem;
}


.hero-image {
  width: 100%;
  max-width: none; /* Allow full width */
  height: 300px;
}

.hero-image img {
  width: 100%;
  height: 400px;
  display: block;
  object-fit: cover;
  object-position: center;
  filter: brightness(1); /* keep as-is unless needed */
}

.hero-text-over-banner {
  position: absolute;
  top: 50%;
  left: 43%;
  transform: translateY(-24%);
  text-align: left;
  max-width: 950px;
  padding: 0 2rem;
  z-index: 5;
}

.hero-text-over-banner h1 {
  font-size: 5rem;
  color: #e0f0ff;
  line-height: 1.1;
  font-weight: 700;
  margin: 0 0 1rem 0;
  word-break: keep-all;
}

.hero-text-over-banner p {
  font-size: 3.5rem;
  color: #ccc;
  margin: 0;
  line-height: 1.4;
  text-indent: 0;
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -20%); /* 👈 Shift slightly UP for visual center */
  text-align: center;
  color: white;
  padding: 0 1rem;
  width: 100%;
}

.hero-text h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.hero-text p {
  font-size: 1.25rem;
  margin: 0;
}

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

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

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


/* ============================== */
/* === Layout & Grid ==== */
/* ============================== */

.scroll-down {
  position: relative;
  bottom: 20px;
  font-size: 2rem;
  color: white;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}
section.intro {
  padding-top: 2rem; /* instead of something like 6rem */
}
.intro-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  color: #dcdcdc;
  line-height: 1.6;
  font-size: 1.125rem;
}

.intro-section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: white;
}

.intro-section .button {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.75rem 1.5rem;
  background-color: #297eff;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.2s;
}

.intro-section .button:hover {
  background-color: #1e5cd9;
}

/* ============================== */
/* === Diagram Section === */
/* ============================== */

.diagram-section {
  padding: 4rem 2rem;
  text-align: center;
  background-color: #111;
  color: #eee;
}

.diagram-section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  text-align: center;
}

.diagram-caption {
  font-size: 1.1rem;
  margin-bottom: 1.5rem; /* or less if needed */
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: #ccc;
}
.section-break {
  border: none;
  height: 1px;
  background: rgba(88, 166, 255, 0.25); /* soft primary blue */
  width: 70%;
  margin: 3rem auto;
}



.diagram-section img {
  width: 100%;
  max-width: 1000px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.diagram-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.section-label {
  display: inline-block;
  padding: 6px 16px;
  font-weight: bold;
  color: var(--primary, #58a6ff);
  background-color: rgba(88, 166, 255, 0.12);
  border-radius: 999px;
  font-size: 32px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.mental-state-intro {
  background-color: #0d1117; /* Deep dark theme background */
  color: #e6f1ff; /* Light cyan text for readability */
  padding: 3rem 1.5rem;
  border-bottom: 1px solid #1f2937;
}

.mental-state-intro .container {
  max-width: 960px;
  margin: 0 auto;
}

.mental-state-intro h2 {
  font-size: 1.75rem;
  color: #58a6ff; /* Neon blue accent */
  margin-bottom: 1rem;
}

.mental-state-intro .punch-questions {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mental-state-intro .punch-questions li {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
  line-height: 1.6;
  position: relative;
  padding-left: 1.5rem;
}

.mental-state-intro .punch-questions li::before {
  content: "›";
  color: #58a6ff;
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.25rem;
}
.challenge-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center; /* Vertically center contents */
  margin-bottom: 3rem;
}

.challenge-section.text {
  padding: 1rem;
  justify-content: center; /* Center vertically within text cell */
  color: #e6f1ff;
}

.challenge-section.image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

/* Responsive stacking */
@media (max-width: 768px) {
  .challenge-grid {
    grid-template-columns: 1fr;
  }
}

.diagnostics-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 20px;
  box-shadow: 0 -10px 30px rgba(88, 166, 255, 0.2);
  z-index: 0;
}

.diagnostics-section {
  position: relative;
  z-index: 1;
  padding-top: 48px; /* So glow doesn't get cut off */
  background-color: #0b0d10;
  padding: 3rem 2rem;
  display: flex;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 170, 255, 0.1);
}

.diagnostics-section > div {
  max-width: 640px;
  width: 100%;
}

.diagnostics-title {
  color: #00aaff;
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 6px rgba(0, 170, 255, 0.4);
}

.diagnostics-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
  border: none;
}

.diagnostics-list li {
  color: #d0d0d0;
  font-size: 1.1rem;
  padding-left: 2rem;
  position: relative;
  line-height: 1.6;
  margin: 0;
  border: none;               /* ← This prevents accidental borders */
  border-bottom: none !important; /* ← Forces override if set globally */
  outline: none;
}

.diagnostics-list li::before {
  content: '›››';
  position: absolute;
  left: 0;
  color: #00aaff;
  font-weight: 600;
  text-shadow: 0 0 4px rgba(0, 170, 255, 0.5);
}

.diagnostics-section h3 {
  color: var(--primary); /* Or use the exact hex code like #3399ff */
}

/*.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: flex-end;
  gap: 1.5rem;
  padding: 1rem 2rem;
  background-color: rgba(11, 13, 16, 0.95);
  z-index: 1000;
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0, 170, 255, 0.1);
  box-sizing: border-box;
}*/

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  height: 40px;
  justify-content: flex-end;
  align-items: center;
  /*justify-content: space-between;*/
  gap: 1.5rem;
  padding: 1rem 2rem;
  background-color: rgba(11, 13, 16, 0.95);
  z-index: 1000;
  backdrop-filter: blur(8px);
  overflow: visible;

  /* Updated border and glow */
  /*border: 2px solid #00aaff;*/
  box-shadow: 0 0 10px #00aaff;
  /*border-radius: 0 0 12px 12px;*/
  border-radius: 0;
  /*border-bottom: 1px solid #00f0ff;*/
  border-bottom: 1px solid #00aaff;

  box-sizing: border-box;
}


.site-nav a {
  color: #00aaff;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.site-nav a:hover {
  color: #ffffff;
}

.nav-dropdown {
  position: relative;
  display: inline-block;
}

.nav-dropdown > a {
  position: relative;
  z-index: 2;
  transition: box-shadow 0.3s ease;
  padding: 0.5rem 1rem;
  display: inline-block;
}

.nav-dropdown:hover > a {
  color: #ffffff;
  box-shadow: 0 0 10px #00aaff;
}

.navbar-scroll {
  display: flex;
  overflow-x: auto;
  overflow-y: visible;
  scroll-behavior: smooth;
  flex: 1;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  position: relative;
}

.navbar-scroll::-webkit-scrollbar {
  display: none;
}

.navbar-scroll a {
  flex: 0 0 auto;
  padding: 0 1rem;
  color: #00f0ff;
  text-decoration: none;
  font-size: 1rem;
  line-height: 50px;
  white-space: nowrap;
}

.scroll-arrow {
  background: none;
  border: none;
  color: #00f0ff;
  font-size: 1.5rem;
  padding: 0 0.5rem;
  cursor: pointer;
  transition: color 0.3s ease;
  z-index: 2;
}

.scroll-arrow:hover {
  color: #00bcd4;
}



/* Dropdown expands below the link */
.dropdown-content {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: rgba(11, 13, 16, 0.95);
  border: 1px solid rgba(0, 170, 255, 0.2);
  box-shadow: 0 0 10px #00aaff;

  /* Apply radius only to bottom corners */
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;

  overflow: hidden;
  z-index: 1001;

  width: 100%; /* Match parent width */
  transform-origin: top;
  transform: scaleY(0);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
  display: none;
}

.nav-dropdown:hover .dropdown-content {
  transform: scaleY(1);
  opacity: 1;
  pointer-events: auto;
  display: block;
}

/* Dropdown links */
.dropdown-content a {
  display: block;
  color: #00aaff;
  padding: 0.5rem 1rem;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease, background-color 0.2s ease;
}

.dropdown-content a:hover {
  color: #ffffff;
  background-color: rgba(0, 170, 255, 0.1);
  text-shadow: 0 0 5px #00aaff;
}

.dropdown-indicator {
  display: inline-block;
  margin-left: 0.4rem;
  font-size: 1rem;
  color: #00aaff;
  transition: transform 0.3s ease, color 0.3s ease;
}

/* Rotate the arrow on hover for visual feedback */
.nav-dropdown:hover .dropdown-indicator {
  transform: rotate(180deg);
  color: #ffffff;
}

.approach-frame {
  width: 100%;
  max-width: 900px;
  height: 500px;
  margin: 2rem auto;
  padding: 1rem;
  box-sizing: border-box;

  border: 2px solid #00aaff;
  border-radius: 12px;
  box-shadow: 0 0 15px #00aaff;
  background-color: #0b0d10;

  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.approach-frame picture,
.approach-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.approach-frame img:hover {
  transform: scale(1.02);
}



html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.emphasized-list {
  list-style: none;
  padding-left: 0;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
}

.emphasized-list li {
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

.center-note {
  text-align: center;
  font-style: italic;
  margin-top: 1.5rem;
  font-size: 1rem;
}

.steps-list {
  margin-top: 1.5rem;
  padding-left: 1.2rem;
  font-size: 1.05rem;
}

.steps-list li {
  margin-bottom: 0.75rem;
}

.contact-form {
  background-color: #161b22;
  padding: 2rem;
  border-radius: 10px;
  border: 1px solid rgba(88, 166, 255, 0.2);
  box-shadow: 0 0 12px rgba(88, 166, 255, 0.08);
  max-width: 600px;
  margin: 2rem auto;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-bottom: 1rem;
  padding: 0.8rem;
  background: #0d1117;
  border: 1px solid #58a6ff;
  border-radius: 6px;
  color: #c9d1d9;
  font-size: 1rem;
  box-sizing: border-box;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #00aaff;
  box-shadow: 0 0 6px #00aaff99;
}

.contact-form button {
  padding: 0.75rem 1.5rem;
  background-color: #00aaff;
  border: none;
  border-radius: 6px;
  color: #000;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.contact-form button:hover {
  background-color: #0099dd;
}

.flash-message {
  margin: 1rem auto;
  max-width: 600px;
  padding: 1rem;
  border-radius: 6px;
  font-weight: 500;
}

.flash-message.success {
  background-color: #003d3d;
  color: #00ffff;
}

.flash-message.error {
  background-color: #400000;
  color: #ff4c4c;
}

.contact-emails {
  text-align: center;
  margin-top: 2rem;
}

.contact-emails a {
  color: #58a6ff;
  text-decoration: none;
}

.portrait-wrapper {
  margin: 1.5rem auto;
  text-align: center;
}

.anonymous-portrait {
  max-width: 160px;
  border-radius: 50%;
  border: 2px solid rgba(88, 166, 255, 0.25);
  box-shadow: 0 0 10px rgba(88, 166, 255, 0.1);
  opacity: 0.85;
}

.tech-filters {
  margin: 20px auto;
  text-align: center;
}

.filter-tag {
  background-color: #0d0d0d;
  border: 1px solid #00aaff;
  color: #00aaff;
  padding: 8px 16px;
  margin: 5px;
  cursor: pointer;
  font-size: 0.9rem;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.filter-tag:hover,
.filter-tag.active {
  background-color: #00aaff;
  color: #0d0d0d;
  box-shadow: 0 0 10px #00aaff;
}

.logo-grid a img {
  transition: opacity 0.3s ease, filter 0.3s ease, box-shadow 0.3s ease;
}

.logo-grid a.dimmed img {
  opacity: 0.25;
  filter: grayscale(100%);
}

.logo-grid a.glowing img {
  opacity: 1;
  filter: none;
  box-shadow: 0 0 8px #00aaff;
}

.responsive-hero-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.responsive-hero-bg {
  width: 100%;
  max-width: none;
  height: 300px;
  object-fit: cover;
  display: block;
  margin: 0;
  padding: 0;
  line-height: 0;
}

.responsive-hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  width: 90%;
}

.responsive-hero-text h1 {
  margin: 0;
  line-height: 1.2;
  font-size: calc(1rem + 3vw);
}

.responsive-hero-text p {
  font-size: calc(0.8rem + 1.5vw);
  margin-top: 1rem;
}