body {
  margin: 0;
  font-family: 'Arial', sans-serif;
  background-color: #121212;
  color: #ffffff;
  scroll-behavior: smooth;
}


.chapter {
  padding: 80px 10vw;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  scroll-snap-align: start;
  background: linear-gradient(to bottom, #121212, #1a1a1a);
}


.chapter h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  text-align: center;
}

.chapter p {
  font-size: 1.3rem;
  line-height: 1.6;
  max-width: 700px;
}

html {
  scroll-snap-type: y mandatory;
  overflow-y: scroll;
}

section.h1 {
  text-align: center;
}


/* NAV */
.topnav.center {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  backdrop-filter: blur(12px);
  z-index: 1000;
  padding: 16px 24px;
  display: flex;
  justify-content: center;
  border-radius: 12px;
  margin-top: 16px;
}

.topnav.center ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 32px;
}

.topnav.center a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.topnav.center a:hover {
  color: #00ccff;
}

.app-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
}

.app-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 12px;
  flex: 1 1 300px;
  backdrop-filter: blur(4px);
  transition: transform 0.2s ease;
}

.app-card:hover {
  transform: scale(1.03);
}


.intro-content {
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.intro-text {
  flex: 1 1 400px;
}

.intro-image {
  flex: 1 1 300px;
  display: flex;
  justify-content: center;
}

.intro-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.project-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.project-text {
  flex: 1 1 400px;
}

.project-image {
  flex: 1 1 300px;
  display: flex;
  justify-content: center;
}

.project-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.cta-button {
  display: inline-block;
  margin-top: 24px;
  padding: 12px 24px;
  background: #00ccff;
  color: #121212;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.cta-button:hover {
  background: #00aacc;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 600px;
  margin-top: 40px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: white;
  font-size: 1rem;
  resize: vertical;
}

.contact-form label {
  font-weight: bold;
  font-size: 1rem;
}

.contact-form button {
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  background: #00ccff;
  color: #121212;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background: #00aacc;
}

.project-content.reverse {
  flex-direction: row-reverse;
}