* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: #222;
  background: #f7f7f7;
}

a {
  color: #1a4f8b;
}

.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  width: 220px;
  height: 100vh;
  background: #1f1f1f;
  color: #fff;
  padding: 32px 24px;
}

.brand {
  font-size: 24px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 40px;
}

.sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sidebar nav a {
  color: #fff;
  text-decoration: none;
  padding: 12px 10px;
  font-size: 15px;
  border-radius: 4px;
}

.sidebar nav a:hover,
.sidebar nav a.active {
  background: #444;
}

.main {
  margin-left: 220px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.hero {
  min-height: 430px;
  background:
    linear-gradient(rgba(20, 32, 40, 0.55), rgba(20, 32, 40, 0.55)),
    linear-gradient(135deg, #23404a, #6f8790);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 40px;
}

.hero h1 {
  font-size: 44px;
  font-weight: 400;
  margin: 0 0 20px 0;
}

.hero p {
  font-size: 18px;
  font-style: italic;
  margin: 0;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding: 60px 80px;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

.card {
  background: #fff;
  color: #222;
  text-decoration: none;
  padding: 32px;
  min-height: 230px;
  border-radius: 10px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.08);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

.card-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.card h2 {
  font-size: 24px;
  text-decoration: underline;
  font-weight: 400;
  margin: 0 0 16px 0;
}

.card p {
  font-size: 15px;
  line-height: 1.5;
  margin: 0;
}

.content-page {
  padding: 80px 40px 30px 40px;
}

.content-box {
  background: #fff;
  max-width: 980px;
  width: 100%;
  margin: 0 auto;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.08);
}

.content-box h1 {
  font-size: 28px;
  margin: 0 0 28px 0;
  text-decoration: underline;
}

.content-box p {
  font-size: 17px;
  line-height: 1.75;
  margin: 0 0 22px 0;
}

.form-wrapper {
  margin-top: 35px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  overflow: hidden;
}

.button-row {
  text-align: center;
  margin-top: 28px !important;
}

.button {
  display: inline-block;
  background: #1f1f1f;
  color: #fff;
  text-decoration: none;
  padding: 14px 24px;
  border-radius: 6px;
  font-weight: 700;
}

.button:hover {
  background: #444;
}

footer {
  margin-top: auto;
  padding: 26px;
  text-align: center;
  font-size: 14px;
  color: #333;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .sidebar {
    position: relative;
    width: 100%;
    height: auto;
    padding: 22px;
  }

  .brand {
    font-size: 20px;
    margin-bottom: 18px;
  }

  .sidebar nav {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .main {
    margin-left: 0;
  }

  .hero {
    min-height: 300px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .cards {
    grid-template-columns: 1fr;
    padding: 35px 20px;
  }

  .content-page {
    padding: 30px 18px;
  }

  .content-box {
    padding: 24px;
  }

  .content-box p {
    font-size: 15px;
  }
}
