/* GLOBAL STYLES */
html, body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background: #fff;
  color: #111;
  text-align: center;
  min-height: 100vh;
}

/* CONTAINER */
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 10px;
}

/* HEADER */
.header h1 {
  font-size: 56px;
  margin: 10px 0 5px 0;
}

.header h2 {
  font-size: 22px;
  font-weight: normal;
  letter-spacing: 2px;
  color: #555;
  margin: 0 0 10px 0;
}

hr {
  border: none;
  border-top: 1px solid #ccc;
  margin: 30px 0 30px 0;
}

/* BODY SECTION */
.body-section {
  background: #ccc;
  padding: 30px 40px;
  border-radius: 12px;       /* Rounded corners */
  box-sizing: border-box;
  margin-bottom: 20px;
  overflow: hidden;           /* Ensures rounding is visible */
}

.body-text {
  text-align: left;
  max-width: 900px;
  margin: auto;
  font-size: 16px;
}

.body-text p {
  margin: 0 0 14px 0;
  line-height: 1.75;
  color: #000;
  font-size: 18px;
}

/* GRID / CARDS */
.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 20px;
}

.card {
  border: 1px solid #ddd;
  background: #f2f2f2;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 12px;       /* Rounded corners for card */
  overflow: hidden;           /* Key: makes corners show */
  box-sizing: border-box;
  min-height: 200px;
}

.card h3 {
  font-size: 22px;
  margin: 0 0 15px 0;
}

.card p {
  font-size: 16px;
  margin: 0 0 10px 0;
  line-height: 1.6;
}

/* BUTTONS */
.button {
  display: block;
  padding: 14px 24px;
  background: #000;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  text-align: center;
  max-width: 180px;
  width: 100%;
  margin: 20px auto 0 auto;
  border-radius: 12px;      /* Rounded corners match card */
  box-sizing: border-box;
}

.button:hover {
  background: #222;
}

/* FOOTER */
.footer {
  font-size: 14px;
  color: #aaa;
  padding: 0 0 20px 0;
}

.social {
  display: inline-flex;
  align-items: center;
  margin-top: 10px;
}

.social a {
  margin: 0 10px;
  text-decoration: none;
}

.social img {
  width: 28px;
  height: 28px;
}

.social a:hover img {
  opacity: 0.7;
}

/* MOBILE */
@media (max-width: 480px) {
  .grid {
    grid-template-columns: 1fr;
  }

  .container {
    padding: 16px;
  }

  .header h1 {
    font-size: 40px;
  }

  .header h2 {
    font-size: 18px;
  }

  .body-section {
    padding: 18px 16px;
  }

  .body-text {
    font-size: 17px;
  }

  .body-text p {
    margin-bottom: 12px;
    line-height: 1.8;
  }

  .card h3 {
    font-size: 20px;
  }

  .card p {
    font-size: 16px;
  }

  .button {
    font-size: 16px;
    padding: 16px 26px;
    max-width: 220px;
  }
}
