/* Basic page setup */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background-color: #f5f7fb;
  color: #222;
  line-height: 1.6;
}

/* Top navigation bar */
.top-bar {
  position: sticky;
  top: 0;
  z-index: 10;
  background-color: white;
  padding: 15px 8%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
}

.top-bar h2 {
  margin: 0;
  color: #2563eb;
}

nav a {
  color: #222;
  text-decoration: none;
  margin-left: 18px;
  font-weight: bold;
  font-size: 15px;
}

nav a:hover {
  color: #2563eb;
}

/* Each section works like a slide */
.section {
  min-height: 100vh;
  padding: 90px 10%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero {
  background: linear-gradient(135deg, #2563eb, #111827);
  color: white;
}

.content-box {
  max-width: 1000px;
}

h1 {
  font-size: 46px;
  line-height: 1.1;
  margin-bottom: 20px;
}

h2 {
  font-size: 36px;
  margin-bottom: 15px;
}

h3 {
  margin-top: 0;
  color: #2563eb;
}

p {
  font-size: 20px;
  max-width: 950px;
}

.large-text {
  font-size: 27px;
  font-weight: bold;
}

/* Button on the first section */
.button {
  display: inline-block;
  background-color: white;
  color: #2563eb;
  padding: 13px 22px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 10px;
}

.button:hover {
  background-color: #e9eef8;
}

/* Cards */
.card-row {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 25px;
}

.card {
  background-color: white;
  padding: 24px;
  border-radius: 12px;
  flex: 1;
  min-width: 240px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.07);
}

.card p {
  font-size: 18px;
}

/* Framework tags */
.tag-list {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tag-list span {
  background-color: #2563eb;
  color: white;
  padding: 9px 16px;
  border-radius: 20px;
  font-weight: bold;
}

/* Table */
.table-wrapper {
  overflow-x: auto;
}

table {
  width: 100%;
  background-color: white;
  border-collapse: collapse;
  margin-top: 25px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.07);
}

th {
  background-color: #2563eb;
  color: white;
}

th,
td {
  text-align: left;
  padding: 16px;
  border-bottom: 1px solid #ddd;
}

footer {
  background-color: #111827;
  color: white;
  text-align: center;
  padding: 25px;
}

footer p {
  margin: 0;
  max-width: none;
  font-size: 16px;
}

/* Phone and smaller screen layout */
@media screen and (max-width: 800px) {
  .top-bar {
    flex-direction: column;
    gap: 10px;
  }

  nav {
    text-align: center;
  }

  nav a {
    display: inline-block;
    margin: 5px 8px;
  }

  .section {
    padding: 70px 7%;
  }

  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 29px;
  }

  p {
    font-size: 18px;
  }

  .large-text {
    font-size: 22px;
  }
}