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

/* Base */
body {
    background: #0b0b0b;
    font-family: 'Inter', 'Poppins', sans-serif;
    color: #eaeaea;
}




.mission {
  font-size: 30px;
}

.roles-list {
  font-size: 23px;
}
.container {
  width: min(1100px, 92%);
  margin: auto;
  padding-bottom: 30px;
}

/* Header Animation */
.animate-header {
  animation: fadeDown 1.1s ease forwards;
  opacity: 0;
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Header style */
.site-header {
  background: #111;
  border-bottom: 1px solid #222;
  padding: 20px 0;
}

.header-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.subtitle, .contact p { color: #aaa; }

/* Grid layout */
.grid {
  margin-top: 35px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

/* Card */
.card {
  background: #141414;
  border: 1px solid #222;
  padding: 28px;
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  transition: 0.3s ease;
}

.card:hover {
  border-color: #3a3a3a;
  transform: translateY(-6px);
  box-shadow: 0 0 18px rgba(32, 32, 32, 0.7);
}

.card.wide {
  grid-column: span 2;
}

/* Fade-in animation for cards */
.fade-in {
  opacity: 0;
  animation: fadeUp 1.1s ease forwards;
}

.fade-in:nth-child(odd) {
  animation-delay: 0.2s;
}
.fade-in:nth-child(even) {
  animation-delay: 0.4s;
}


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

/* Image fade-in */
.fade-in-img img {
  opacity: 0;
  animation: fadePic 1.2s ease forwards;
  animation-delay: 0.4s;
}

@keyframes fadePic {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

/* Photo wrap */
.photo-wrap {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #2d2d2d;
  margin-bottom: 16px;
}

.photo-wrap img {
  width: 100%;
  display: block;
}

/* Lists */
ul {
  margin-left: 18px;
  color: #bbb;
  line-height: 1.5;
}

.hobby-list li { padding: 6px 0; }

/* Footer */
.footer {
  text-align: center;
  font-size: 27px;
  margin-top: 50px;
  padding: 20px;
  color: #777;
  border-top: 1px solid #222;
}

/* Responsive */
@media (max-width: 650px) {
  .card.wide {
    grid-column: span 1;
  }
}
