/* Global Reset & Base Styling */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  line-height: 1.6;
  background: #f8f9fa;
  color: #333;
  padding-bottom: 80px !important;
}

/* Header */
header {
  background: #2c3e50;
  color: #fff;
  padding: 1rem;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: auto;
}

nav {
  margin-top: 10px;
  margin-bottom: 5px;
}

nav a {
  color: #fff;
  margin-left: 1rem;
  text-decoration: none;
  font-weight: 500;
  padding: 10px;
  background-color: transparent;
}

nav a:hover {
  color: lightblue;
  box-shadow: 0 2px 6px #54779a;
}

/* Section & Footer */
.section {
  padding: 2rem 1rem;
  max-width: 1100px;
  margin: auto;
}

.footer {
  text-align: center;
  padding: 1rem;
  background: #2c3e50;
  color: #fff;
  margin-top: 2rem;
}

/* Mobile Nav (Bottom Navigation) */
.mobile-nav {
  display: flex;
  justify-content: space-around;
  align-items: center;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 1px solid #ccc;
  padding: 0.5rem 0;
  z-index: 1000;
}

.mobile-nav a {
  flex: 1;
  text-align: center;
  text-decoration: none;
  color: #333;
  font-size: 0.75rem;
}

.mobile-nav a i {
  display: block;
  margin: 0 auto 0.2rem;
  font-size: 20px;
  width: 20px;
  height: 20px;
}
.active{
  
  border-bottom: 2px solid #27ae60;
}
/* Hide mobile nav on larger screens */
@media (min-width: 768px) {
  .mobile-nav {
    display: none;
  }
 .footer{
  position: fixed;
  width: 100%;
  bottom: 0%;
 }
}

/* Responsive nav-container for small screens */
@media (max-width: 600px) {
  body {
    padding-bottom: 80px; /* Enough space to scroll past mobile nav */
  }
  
  .nav-container {
    flex-direction: column;
    align-items: flex-start;
  }
  .desktop {
    display: none;
  }
  nav a {
    margin: 0.5rem 0;
    padding: 5px;
    background-color: transparent;
  }
  footer{
    display: none;
  }
}
