header {
  background-color: #f4f4f4;
  padding: 20px;
  border-bottom: 2px solid #ccc;
}

.header-container {
  display: flex;
  align-items: center;      /* vertically center logo + text */
  justify-content: center;  /* center the whole block */
  flex-wrap: wrap;          /* allow wrapping if needed */
}

.logo {
  height: 60px;
  margin-right: 15px;
}

.header-text h1 {
  margin: 0;
  font-size: 2em;
  color: #333;
}

.header-text p {
  margin: 5px 0 0;
  font-size: 1.2em;
  color: #666;
}

/* 📱 Responsive behavior */
@media (max-width: 600px) {
  .header-container {
    flex-direction: column;   /* stack logo above text */
    text-align: center;
  }

  .logo {
    margin: 0 0 10px 0;       /* space below logo */
    height: 50px;             /* slightly smaller logo */
  }

  .header-text h1 {
    font-size: 1.5em;         /* scale down text */
  }

  .header-text p {
    font-size: 1em;
  }
}

footer {
  background-color: #333;
  color: #fff;
  padding: 20px;
  border-top: 2px solid #ccc;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;   /* allows wrapping on small screens */
}

.footer-container p {
  margin: 0;
  font-size: 0.9em;
}

.footer-links {
  list-style: none;
  display: flex;
  gap: 15px;
  margin: 0;
  padding: 0;
}

.footer-links li a {
  color: #fff;
  text-decoration: none;
  font-size: 0.9em;
}

.footer-links li a:hover {
  text-decoration: underline;
}

/* 📱 Responsive behavior */
@media (max-width: 600px) {
  .footer-container {
    flex-direction: column;   /* stack items vertically */
    text-align: center;
  }

  .footer-links {
    margin-top: 10px;
    flex-direction: column;   /* links stacked vertically */
    gap: 8px;
  }
}