*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", system-ui, sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  background-color: #0a0a0b;
  color: #e0e0e0;
}

a {
  color: #3498db;
  text-decoration: none;
}

a:visited {
  color: #6fa8dc;
}

a:hover,
a:focus {
  color: #5dade2;
  /* text-decoration: underline; */
}

header {
  background-color: rgb(17, 17, 18);
  color: white;
  padding: 0 2rem;
  /* border-bottom: 1px solid #1a252f; */
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  min-height: 4rem;
  position: relative;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  margin-left: auto;
  align-self: center;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

header.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

header.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

header.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero-section {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: #1a1a1a;
  border: none;
  margin-bottom: 0;
  border-radius: 0;
  background-image:
    linear-gradient(
      360deg,
      rgb(16, 16, 18) 0%,
      rgba(16, 16, 18, 0.69) 8.9%,
      rgba(16, 16, 18, 0) 24.92%
    ),
    url("images/hero.png");
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  padding: 2rem 1rem;
  width: 100%;
}

.contact-hero {
  background-image:
    linear-gradient(
      360deg,
      rgb(16, 16, 18) 0%,
      rgba(16, 16, 18, 0.69) 8.9%,
      rgba(16, 16, 18, 0) 24.92%
    ),
    url("images/contact.png");
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
}

header nav {
  display: flex;
  align-items: center;
}

header nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-self: stretch;
}

header nav li {
  display: flex;
}

header nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95rem;
  position: relative;
  margin-left: 10px;
  margin-right: 10px;
  transition: color 0.25s ease;
  width: 125px;
  display: flex;
  align-items: center;
  justify-content: center;
}

header nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #3498db;
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

header nav a:visited {
  color: white;
}

header nav a:hover,
header nav a.active {
  color: #3498db;
  text-decoration: none;
}

header nav a:hover::after,
header nav a.active::after {
  transform: scaleX(1);
}

main {
  max-width: 1400px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.profile-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 0 2rem;
  align-items: start;
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
  transform: translateY(-25%);
}

.profile-card,
.content-section,
.credit-info {
  opacity: 0;
  transform: translateY(-24px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}

.profile-card.revealed,
.content-section.revealed,
.credit-info.revealed {
  opacity: 1;
  transform: translateY(0);
}

.profile-card {
  background: rgba(42, 42, 42, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 1.5rem;
  /* border: 1px solid #3a3a3a;
    border-radius: 8px; */
  height: fit-content;
  border: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.profile-header {
  text-align: center;
  margin-bottom: 1.5rem;
  background-color: transparent;
  padding: 0;
  display: block;
}

.profile-pic-frame {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  background: #1a1a1a;
  border: 3px solid #3498db;
  overflow: hidden;
  display: inline-block;
  transition: border-color 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.profile-pic {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center center;
  transform: scale(1.03);
  will-change: transform;
  backface-visibility: hidden;
  border-radius: 50%;
  background-color: #1a1a1a;
}

.profile-pic-frame:hover {
  border-color: #7c3aed;
}
.profile-pic-frame:hover .profile-pic {
  transform: scale(1.2);
}

.profile-card h2 {
  margin: 0;
  font-size: 1.2rem;
  color: #fff;
}

.profile-info {
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  margin-top: 0.5rem;
  color: #999;
}

.map-link {
  color: #999;
  text-decoration: none;
  margin-left: 0.25rem;
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  transition: color 0.2s ease;
}

.map-link:hover {
  color: #3498db;
}

.btn-primary {
  display: block;
  text-align: center;
  text-decoration: none;
  width: 100%;
  padding: 0.7rem;
  position: relative;
  overflow: hidden;
  z-index: 0;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  background: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition:
    transform 250ms cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 250ms;
  will-change: transform;
}

.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, #9c27b0, #7c3aed);
  background-size: 200% 200%;
  background-position: 0% 50%;
  border-radius: inherit;
  transition:
    transform 300ms cubic-bezier(0.4, 0, 0.2, 1),
    background-position 400ms cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center center;
  will-change: transform, background-position;
  transform: scale(1);
  backface-visibility: hidden;
}

.btn-primary:hover::before,
.btn-primary:focus::before {
  transform: scale(1.08);
  background-position: 100% 50%;
}

.btn-primary:hover,
.btn-primary:focus {
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35);
  outline: none;
}

.profile-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
  /* background-color: rgb(19, 19, 19); */
  background-color: transparent;
  border: none;
}

.profile-layout > .profile-content:only-child {
  grid-column: 1 / -1;
}

.content-section {
  background: #2a2a2aad;
  backdrop-filter: blur(12px);
  /* -webkit-backdrop-filter: blur(12px); */
  padding: 1.5rem;
  border: none;
  /* border: 1px solid #3a3a3a; */
  /* border-radius: 8px; */
  /* border-left: 4px solid #3498db; */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  background-color: transparent;
  padding: 0 0 0.75rem 0;
  border-bottom: 1px solid #3a3a3a;
}

.section-header h3 {
  margin: 0;
  color: #fff;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding-left: 0.75rem;
  position: relative;
}

.section-header h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #3498db;
  border-radius: 2px;
}

.profile-roles {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.profile-roles li {
  font-size: 0.8rem;
  color: #ccc;
  padding: 0.3rem 0.6rem;
  border-left: 2px solid #3498db;
  background: rgba(52, 152, 219, 0.07);
}

.cta-row {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}

.btn-outline {
  padding: 0.55rem 1.1rem;
  border: 1px solid #3498db;
  color: #3498db;
  background: transparent;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: bold;
  transition:
    background 0.2s ease,
    color 0.2s ease;
  display: inline-block;
}

.btn-outline:hover {
  background: #3498db;
  color: #fff;
}

.credits {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background: transparent;
  padding: 0;
  border: none;
  border-radius: 0;
  margin-bottom: 0;
}

.credit-item {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  background: #1a1a1a;
  border-radius: 4px;
  align-items: stretch;
  /* border: 2px solid #3498db; */
  border: 1px solid #3a3a3a;
  margin-bottom: 0;
  transition:
    border-color 300ms cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1),
    transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.credit-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  border-color: #7c3aed;
  outline: none;
}

.project-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: #1a1a1a;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #3a3a3a;
  transition:
    transform 220ms cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 220ms,
    border-color 220ms;
  cursor: pointer;
  max-height: 300px;
}

.project-card .project-info {
  padding: 0.75rem;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  border-color: #7c3aed;
}

a.credit-item {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.credit-img-frame {
  width: 134px;
  height: 192px;
  border-radius: 8px;
  flex-shrink: 0;
  overflow: hidden;
  background: #1a1a1a;
}

.credit-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 8px;
  background-color: #1a1a1a;
  transform: scale(1.03);
  transform-origin: center center;
  transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  backface-visibility: hidden;
}

.credit-item:hover .credit-img-frame img {
  transform: scale(1.2);
}

.credit-info {
  flex: 1;
}

.credit-info h4 {
  margin: 0 0 0.5rem 0;
  color: #fff;
}

.credit-info p {
  margin: 0.3rem 0;
  font-size: 0.85rem;
  color: #999;
}

@media (max-width: 1024px) {
  .hero-section {
    min-height: 400px;
  }

  .profile-layout {
    grid-template-columns: 240px 1fr;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  header nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: rgb(17, 17, 18);
    padding: 0.5rem 0 1rem;
    z-index: 100;
    border-top: 1px solid #2a2a2a;
    overflow: hidden;
    transform: translateY(-8px);
    opacity: 0;
    transition:
      transform 0.25s ease,
      opacity 0.25s ease;
  }

  header.nav-open nav {
    display: block;
    transform: translateY(0);
    opacity: 1;
  }

  header nav ul {
    flex-direction: column;
    align-self: auto;
  }

  header nav li {
    width: 100%;
  }

  header nav a {
    width: 100%;
    justify-content: flex-start;
    padding: 0.75rem 2rem;
    margin: 0;
    border-bottom: 1px solid #1a1a1a;
  }

  header nav a::after {
    bottom: auto;
    top: 0;
    height: 100%;
    width: 3px;
    transform: scaleY(0);
    transition: transform 0.25s ease;
  }

  header nav a:hover::after,
  header nav a.active::after {
    transform: scaleY(1);
  }

  .hero-section {
    min-height: 220px;
    padding: 0;
  }

  .profile-layout {
    display: block;
    transform: translateY(0);
    margin-top: 0;
    padding: 0;
  }

  .profile-card {
    max-width: 100%;
    width: 100%;
    margin: 0;
  }

  .profile-content {
    padding: 0;
    margin-bottom: 0;
    border: none;
    border-radius: 0;
    gap: 2px;
  }

  .content-section {
    border-radius: 0;
    margin-bottom: 0;
  }

  section,
  article,
  aside {
    padding: 1rem;
  }

  .credit-item {
    flex-direction: column;
  }

  .credit-img-frame {
    width: 100%;
    height: 160px;
  }

  .form-group input,
  .form-group textarea {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .cta-row {
    flex-direction: column;
  }

  .profile-card h2 {
    font-size: 1rem;
  }
}

section,
article,
aside {
  /* background: #2a2a2a; */
  /* background: transparent; */
  padding: 2rem;
  margin-bottom: 2rem;
  border: 1px solid #3a3a3a;
  border-radius: 4px;
}

h2,
h3,
h4 {
  color: #ffffff;
  margin-top: 0;
}

figure {
  margin: 0 0 1.5rem 0;
  text-align: center;
}

img {
  max-width: 100%;
  height: auto;
  border: 1px solid #ccc;
}

figcaption {
  font-size: 0.9rem;
  color: #999;
  margin-top: 0.5rem;
  font-style: italic;
}

aside {
  background-color: #2a2a2a;
  border-color: #3a3a3a;
}

aside ul {
  padding-left: 1.2rem;
}

button.link-style {
  background: none;
  border: none;
  color: #3498db;
  text-decoration: underline;
  cursor: pointer;
  font-size: 1rem;
  padding: 0;
}

/* Carousel styles */
.media-carousel .carousel {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 0.5rem 0;
}
.media-carousel .carousel-track-wrapper {
  overflow: hidden;
  width: 100%;
  display: block;
}
.media-carousel .carousel-track {
  display: flex;
  transition: transform 320ms ease;
  list-style: none;
  padding: 0;
  margin: 0;
}
.media-carousel .carousel-slide {
  flex: 0 0 100%;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.media-carousel .carousel-slide img,
.media-carousel .carousel-slide video {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  /* box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18); */
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.6);
  border: none;
  color: #fff;
  padding: 0.4rem 0.7rem;
  font-size: 1.4rem;
  cursor: pointer;
  border-radius: 6px;
  z-index: 10;
}
.carousel-btn.prev {
  left: 8px;
}
.carousel-btn.next {
  right: 8px;
}
.carousel-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 0.75rem;
}
.carousel-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #555;
  cursor: pointer;
  display: inline-block;
  border: none;
}
.carousel-dots .dot.active {
  background: #7c3aed;
  box-shadow: 0 0 8px rgba(124, 58, 237, 0.4);
}
.carousel-caption {
  margin-top: 0.5rem;
  color: #aaa;
  font-size: 0.95rem;
  text-align: center;
}

@media (max-width: 768px) {
  .media-carousel .carousel {
    max-width: 100%;
  }
  .carousel-btn {
    font-size: 1.1rem;
    padding: 0.35rem 0.5rem;
  }
}

.project-video {
  max-width: 600px;
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
}

@media (max-width: 768px) {
  .project-video {
    max-width: 100%;
  }
}

output.form-message {
  display: block;
}

a.btn-primary,
a.btn-primary:visited,
a.btn-primary:hover,
a.btn-primary:focus {
  color: white;
  text-decoration: none;
}

.contact-avatar {
  margin: 0.5rem 0 1rem;
  text-align: center;
}

.contact-avatar img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #3498db;
}

.blog-post-thumbnail {
  margin: 0 0 1rem;
}

.blog-post-thumbnail img {
  width: 100%;
  max-height: 200px;
  object-fit: cover;
  border-radius: 4px;
  border: none;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0;
}

.form-group label {
  font-weight: bold;
  color: #e0e0e0;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  padding: 0.75rem;
  background-color: #3a3a3a;
  border: 1px solid #555;
  border-radius: 4px;
  color: #e0e0e0;
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 0.95rem;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #888;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #3498db;
  background-color: #454545;
}

.blog-hero {
  background-image:
    linear-gradient(
      360deg,
      rgb(16, 16, 18) 0%,
      rgba(16, 16, 18, 0.69) 8.9%,
      rgba(16, 16, 18, 0) 24.92%
    ),
    url("images/projects.png");
}

.blog-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background: transparent;
  padding: 0;
  border: none;
  border-radius: 0;
  margin-bottom: 0;
}

.blog-post {
  background: #2a2a2a;
  padding: 1.5rem;
  border: 1px solid #3a3a3a;
  /* border: 2px solid #3498db; */
  border-radius: 4px;
  transition:
    border-color 300ms cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1),
    transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  display: block;
  text-decoration: none;
  color: inherit;
}

/* .credit-item {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  background: #1a1a1a;
  border-radius: 4px;
  align-items: stretch;
  border: 2px solid #3498db;
  margin-bottom: 0;
  transition:
    border-color 300ms cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1),
    transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
} */

.blog-post:hover,
.blog-post:focus {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  border-color: #7c3aed;
  outline: none;
}

.blog-post-header {
  margin-bottom: 0.8rem;
  background-color: transparent;
  padding: 0;
  display: block;
}

.blog-post-title {
  margin: 0 0 0.5rem 0;
  color: #fff;
  font-size: 1.3rem;
}

.blog-post-meta {
  color: #999;
  font-size: 0.85rem;
  display: flex;
  gap: 1rem;
  margin: 0;
}

.blog-post-excerpt {
  color: #ccc;
  margin: 1rem 0;
  line-height: 1.6;
}

.blog-post-link {
  color: #3498db;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  margin-top: 0.8rem;
}

.blog-post-link:hover {
  text-decoration: underline;
}

.projects-hero {
  background-image:
    linear-gradient(
      360deg,
      rgb(16, 16, 18) 0%,
      rgba(16, 16, 18, 0.69) 8.9%,
      rgba(16, 16, 18, 0) 24.92%
    ),
    url("images/projects.png");
}

.nitro-hero {
  background-image:
    linear-gradient(
      360deg,
      rgb(16, 16, 18) 0%,
      rgba(16, 16, 18, 0.69) 8.9%,
      rgba(16, 16, 18, 0) 24.92%
    ),
    url("images/nitro-hero.jpg");
}

.mpq-hero {
  background-image:
    linear-gradient(
      360deg,
      rgb(16, 16, 18) 0%,
      rgba(16, 16, 18, 0.69) 8.9%,
      rgba(16, 16, 18, 0) 24.92%
    ),
    url("images/mpq-hero.png");
}

.photon-hero {
  background-image:
    linear-gradient(
      360deg,
      rgb(16, 16, 18) 0%,
      rgba(16, 16, 18, 0.69) 8.9%,
      rgba(16, 16, 18, 0) 24.92%
    ),
    url("images/photon-hero.png");
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: start;
  margin-top: 1.5rem;
  background: transparent;
  padding: 0;
  border: none;
  border-radius: 0;
  margin-bottom: 0;
}

.project-image {
  width: 100%;
  height: 350px;
  object-fit: cover;
  display: block;
  border: none;
}

.project-info {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.project-title {
  margin: 0;
  color: #fff;
  font-size: 1.1rem;
  font-weight: bold;
}

.project-year {
  margin: 0.5rem 0 0 0;
  color: #999;
  font-size: 0.85rem;
}

.project-details {
  background: #1a1a1a;
  padding: 1rem;
  border-radius: 4px;
  margin: 1.5rem 0;
  border: none;
}

.project-details p {
  margin: 0.5rem 0;
  color: #ccc;
}

/* Contact page styles */
.contact-section {
  padding: 0;
  background: transparent;
  border: none;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2rem;
  align-items: start;
}
.contact-info {
  background: #1a1a1a;
  padding: 1.25rem;
  border-radius: 6px;
  border: 1px solid #3a3a3a;
  color: #e0e0e0;
}
.contact-info h4 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}
.contact-info p {
  color: #ccc;
  line-height: 1.4;
}
.contact-list {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0 0;
}
.contact-list li {
  margin-bottom: 0.5rem;
  color: #bbb;
}
.contact-list a,
.contact-info a {
  color: #a78bfa;
  background: rgba(167, 139, 250, 0.06);
  padding: 0.125rem 0.45rem;
  border-radius: 6px;
  text-decoration: none;
  transition:
    background-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.25);
}

.contact-list a:hover,
.contact-info a:hover,
.contact-list a:focus,
.contact-info a:focus {
  background: rgba(167, 139, 250, 0.14);
  color: #ffffff;
  transform: translateY(-2px);
  outline: none;
}
.contact-form-wrap {
  background: #2a2a2a;
  padding: 1rem;
  border-radius: 6px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}
.form-message {
  min-height: 1.4rem;
  color: #7ccf7c;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

footer {
  background-color: #1b1b1b;
  border-top: 1px solid #3a3a3a;
  padding: 2rem 1.5rem;
  margin-top: 3rem;
  text-align: center;
}

footer p {
  margin: 0;
  color: #999;
  font-size: 0.9rem;
  line-height: 1.6;
}
