/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  background-color: #f4f7fb;
  color: #333;
  line-height: 1.6;
}

/* Header */
header {
  background: #0d47a1;
  color: #fff;
  padding: 20px 0;
  text-align: center;
}

header h1 {
  margin-bottom: 10px;
  font-size: 2rem;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 20px;
}

nav ul li a {
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #ffeb3b;
}

/* Main content */
main {
  padding: 40px 20px;
  text-align: center;
}

main h2 {
  color: #0d47a1;
  margin-bottom: 20px;
}

main p {
  max-width: 800px;
  margin: 0 auto 30px;
  font-size: 1.1rem;
}

main img {
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Footer */
footer {
  background: #0d47a1;
  color: #fff;
  text-align: center;
  padding: 15px 0;
  margin-top: 40px;
}

/* Shared card style (for Diet, Exercise, Contact pages) */
.section-card {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  margin: 20px auto;
  max-width: 700px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  text-align: left;
}

.section-card h3 {
  color: #0d47a1;
  margin-bottom: 10px;
}

.section-card p {
  margin-bottom: 10px;
}

/* Buttons */
.btn {
  display: inline-block;
  background: #0d47a1;
  color: #fff;
  padding: 10px 18px;
  border-radius: 5px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn:hover {
  background: #08306b;
}

table{
    width: 100%;
    border: 1px solid #0d47a1;
}
td, th{
    padding: 1px;
    border: 2px solid #0d47a1;
}