/* General Reset */
body, ul, li, a, p, h1, label, input, button {
  margin: 0;
  padding: 0;
  list-style: none;
  text-decoration: none;
  font-family: 'Arial', sans-serif;
}
/* Remove underline from all navigation links in header and footer */
.header a, 
.footer-links a, 
.footer .social-links a, 
.sidebar ul li a {
    text-decoration: none; /* Remove underline */
    color: inherit; /* Keep consistent color */
}

/* Body Background */
body {
  background-color: #f9f9f9;
  color: #333;
}

/* HEADER STYLES */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: linear-gradient(to right, #2c3e50, #4ca1af); /* Matching login page colors */
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.header .logo h1 a {
  color: #ffcc00; /* Gold for trust and prosperity */
  font-size: 1.8rem;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s;
}

.header .logo h1 a:hover {
  color: #fff;
}

.desktop-nav ul {
  display: flex;
  gap: 1rem;
}

.desktop-nav ul li a {
  color: #fff;
  font-size: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  transition: background-color 0.3s, color 0.3s;
}

.desktop-nav ul li a:hover {
  background-color: #ffcc00; /* Gold highlight */
  color: #2c3e50;
}

.navbar-toggler {
  display: none;
  background-color: #ffcc00;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
  border-radius: 5px;
}

/* Sidebar */
.sidebar {
  position: fixed;
  top: 0;
  right: -100%;
  height: 100%;
  width: 250px;
  background-color: #2c3e50;
  color: #fff;
  transition: right 0.3s ease-in-out;
  z-index: 1000;
  padding: 1.5rem;
}

.sidebar.open {
  right: 0;
}

.sidebar .close-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  margin-bottom: 1rem;
}

.sidebar ul li a {
  display: block;
  padding: 0.8rem;
  font-size: 1rem;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.sidebar ul li a:hover {
  background-color: #ffcc00;
  color: #2c3e50;
}


/* FOOTER STYLES */
footer {
  background: linear-gradient(to right, #2c3e50, #4ca1af);
  color: #fff;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0px -4px 6px rgba(0, 0, 0, 0.1);
}

footer .footer-links,
footer .social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  
}

footer .footer-links a{
  color: #ffffff;
  padding: 5px;
}
footer .footer-links{
  margin-bottom: 20px;

}

footer .social-links a {
  color: #ffcc00;
  font-size: 1.2rem;
  transition: color 0.3s;
}

footer .social-links a:hover {
  color: #fff;
}
footer .footer-links a:hover{
  background-color: #ffcc00; /* Gold highlight */
  color: #2c3e50;
  border-radius:7.5px;
  padding:5px;
}
footer p {
  margin-top: 1rem;
  font-size: 0.9rem;
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
  .navbar-toggler {
    display: block;
  }

  .desktop-nav {
    display: none;
  }

  footer .footer-links {
    display: grid; /* Switch to grid layout */
    grid-template-columns: repeat(3, 1fr); /* 3 columns */
    gap: 10px; /* Add spacing between items */
    margin-bottom: 20px;
  }

  footer .footer-links a{
    color: #ffffff;
    
  }

  
}
