/* === Teal + Beige Theme for Dynamic Memory Lab === */
:root {
  --teal: #008080;
  --teal-light: #20b2aa;
  --teal-dark: #004d4d;

  --bg-beige: #fdfaf6;
  --border-light: #e6e1d9;
  --text-color: #2b2b2b;

  --accent: #ff6f61;
}

/* === Base Styling === */
body {
  background-color: var(--bg-beige) !important;
  color: var(--text-color) !important;
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 2rem;
}

p {
  margin-bottom: 1em;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--teal-dark) !important;
  font-weight: 600;
}

/* === Links === */
a {
  color: var(--teal-light) !important;
  text-decoration: none;
}

a:hover {
  color: var(--teal-light) !important;
  text-decoration: underline;
}

/* === Bootstrap Button Overrides (if used) === */
.btn-primary {
  background-color: var(--accent) !important;
  border-color: var(--accent) !important;
  color: white !important;
}

.btn-primary:hover {
  background-color: var(--teal-dark) !important;
  border-color: var(--teal-dark) !important;
}

/* === Custom Button Style === */
.button {
  background-color: var(--accent);
  color: white;
  padding: 0.6em 1.2em;
  border: none;
  border-radius: 4px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.button:hover {
  background-color: var(--teal);
}

/* === Sections & Layouts === */
.section {
  background-color: white;
  padding: 2rem;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  margin-bottom: 2rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* === Navbar & Footer === */
.navbar,
.footer {
  background-color: var(--teal-dark);
  color: white;
  padding: 1rem;
  text-align: center;
}

.navbar a,
.footer a {
  color: white;
  font-weight: 500;
}

.navbar a:hover,
.footer a:hover {
  color: var(--teal-light);
}

/* === Horizontal Rules === */
hr {
  border: none;
  border-top: 1px solid var(--border-light);
  margin: 2rem 0;
}

/* === Responsive Tweaks === */
@media (max-width: 768px) {
  body {
    padding: 1rem;
  }

  .section {
    padding: 1rem;
  }
}

/* === Team Cards === */
.team-card {
  display: flex;
  flex-direction: column;
}

.team-card .card-body {
  flex: 1 1 auto;
}

.team-img {
  height: 350px;
  object-fit: cover;
  object-position: center;
}
