.header {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-green));
    color: var(--card-bg);
    margin-bottom: 30px;
    box-shadow: 0 4px 12px var(--shadow-light);
    padding: 10px 10px;
}

.header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

.logo img {
    height: 100px; 
}

.navbar ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.navbar a {
    text-decoration: none;
    color: white;
    font-weight: 600;
    font-size: larger;
 
}

.navbar a:hover {
    color: var(--background-light)
}

.footer {
    background: var(--text-muted);
    color: white;
    padding: 50px 0;
    padding: 20px 50px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-section h3 {
    margin-bottom: 20px;
    color: var(--error-bg);
}

.footer-section p,
.footer-section a {
    color: var(--background-light);
    text-decoration: none;
    margin-bottom: 10px;
    display: block;
}

.footer-section a:hover {
    color: #099b57;;
}

.newsletter {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.newsletter input {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 5px;
}

.newsletter button {
    background: var(--primary-green);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.newsletter button:hover {
    background: var(--primary-green);
}

.footer-credits {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background-color: #f9f9f9;
  color: #555;
  font-size: 0.9rem;
  border-top: 1px solid #ddd;
  flex-wrap: wrap; 
}

.footer-credits p {
  margin: 0;
  max-width: 48%; 
}

.left-text {
  text-align: left;
}

.right-text {
  text-align: right;
}

