body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  background-color: #f2f4f6;
  color: #2e2e2e;
}

header {
  background-color: #1e2f45;
  color: #ffffff;
  padding: 20px 30px;
}

header h1 {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
}

nav {
  margin-top: 8px;
}

nav a {
  color: #ffffff;
  margin-right: 18px;
  text-decoration: none;
  font-size: 14px;
}

nav a:hover {
  text-decoration: underline;
}

main {
  max-width: 1000px;
  margin: 30px auto;
  padding: 0 25px;
}

section {
  background: #ffffff;
  padding: 25px 30px;
  margin-bottom: 25px;
  border-radius: 3px;
}

.intro p {
  margin-top: 0;
  line-height: 1.6;
}

.columns {
  display: flex;
  gap: 40px;
}

.columns div {
  flex: 1;
}

h2 {
  color: #1e2f45;
  margin-top: 0;
}

ul {
  padding-left: 18px;
}

li {
  margin-bottom: 8px;
}

/* ===== Forms ===== */

form {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

label {
  width: 100%;
  margin-bottom: 18px;
  font-weight: 700;
  font-size: 14px;
}

.textarea-label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

input,
textarea {
  width: 100%;
  margin-top: 6px;
  padding: 9px;
  font-size: 14px;
  border: 1px solid #ccc;
}

button {
  width: 180px;
  padding: 10px;
  background-color: #1e2f45;
  color: #ffffff;
  border: none;
  font-size: 14px;
  cursor: pointer;
}

button:hover {
  background-color: #2a425f;
}

footer {
  text-align: center;
  padding: 20px;
  background-color: #e4e7eb;
  font-size: 13px;
}

/* ─────────────────────────────────────────────── */
/*   New styles to match the modern index.html      */
/* ─────────────────────────────────────────────── */

.navbar {
  background-color: #1e2f45;
  color: white;
  padding: 1rem 2rem;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.navbar-links {
  display: flex;
  gap: 2rem;
}

.navbar-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
}

.navbar-links a:hover {
  text-decoration: underline;
}

.container {
    margin: 0 96px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 10px 0;
}

.app-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Three equal-width columns */
    gap: 20px; /* Space between boxes */
    margin-top: 20px; /* Space above grid */
    padding: 0;
    box-sizing: border-box;
}

.app-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #ffffff; /* White background for boxes */
    border: 2px solid #cccccc; /* Gray border */
    border-radius: 8px; /* Rounded corners */
    padding: 20px; /* Inner spacing */
    text-align: center; /* Center text */
    text-decoration: none; /* No underline on links */
    color: #333333; /* Text color */
    transition: background-color 0.3s, transform 0.2s; /* Smooth hover effects */
    box-sizing: border-box;
    min-height: 75px; /* Consistent box height */
}

.app-box:hover {
    background-color: #e6e6e6; /* Gray on hover */
    transform: translateY(-5px); /* Slight lift on hover */
}

.app-box h2 {
    font-size: 1.5em;
    margin: 0 0 10px 0;
    color: #2c3e50; /* Darker color for headers */
}

.app-box p {
    font-size: 1em;
    color: #666666; /* Lighter color for descriptions */
    margin: 0;
}

.app-details h2 {
    font-size: 1.8em;
    color: #2c3e50;
    margin: 20px 0 10px;
}

.app-details p {
    font-size: 1.1em;
    color: #555555;
    margin: 10px 0;
}

.app-details ul {
    list-style-type: disc;
    padding-left: 40px;
    margin: 10px 0;
}

.app-details ul li {
    font-size: 1em;
    color: #555555;
    margin: 5px 0;
}

.footer {
  background-color: #e4e7eb;
  color: #444;
  text-align: center;
  padding: 2.2rem 1rem;
  margin-top: 3rem;
  font-size: 0.95rem;
}

.footer a {
  color: #1e2f45;
  text-decoration: none;
  font-weight: 500;
}

.footer a:hover {
  text-decoration: underline;
}