/* Base Styles */
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background-color: #f8f9fa;
  color: #212529;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a {
  text-decoration: none;
}

/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ffffff;
  padding: 1rem 2rem;
  border-bottom: 1px solid #e9ecef;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* .logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #212529;
  letter-spacing: -0.5px;
} */

/* .logo span {
  font-size: 0.8rem;
  color: #6c757d;
  background: #f1f3f5;
  padding: 0.2rem 0.5rem;
  border-radius: 20px;
  margin-left: 0.5rem;
  letter-spacing: 0;
} */

.logo img{
  width: 65px;
  height: 50px;
  padding: none;
  margin: none;
}

.nav {
  display: flex;
  justify-content: center;
  flex-grow: 1;
}

.nav a {
  margin: 0 0.8rem;
  text-decoration: none;
  color: #495057;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.5rem 0;
}

.nav a:hover {
  color: #212529;
}

.nav a:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #212529;
  transition: width 0.3s ease;
}

.nav a:hover:after {
  width: 100%;
}

.search-container {
  position: relative;
  margin-left: 1rem;
}

.search-input {
  padding: 0.5rem 1rem;
  border: 1px solid #e9ecef;
  border-radius: 50px;
  width: 0;
  opacity: 0;
  transition: all 0.3s ease;
  outline: none;
  font-size: 0.9rem;
}

.search-input.active {
  width: 200px;
  opacity: 1;
  padding-left: 2.5rem;
}

.search-icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #6c757d;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 1001;
  pointer-events: auto;
}

.search-icon:hover {
  color: #212529;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  z-index: 1001;
  position: relative;
  background: none;
  border: none;
  padding: 0;
}

/* Footer */
.footer {
  background-color: #212529;
  color: #f8f9fa;
  padding: 3rem 2rem 1.5rem;
  margin-top: auto;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.footer-section {
  flex: 1;
  min-width: 250px;
  margin-bottom: 1.5rem;
  padding: 0 1rem;
}

.footer-section h3 {
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
  color: #fff;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-section h3:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background: #6c757d;
}

.footer-section p {
  margin-bottom: 1rem;
  color: #adb5bd;
  font-size: 0.9rem;
}

.footer-section a {
  color: #adb5bd;
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
  font-size: 0.9rem;
}

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

.social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-icons a {
  color: #adb5bd;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #fff;
}

/* Newsletter Form */
.newsletter-form {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.newsletter-form input[type="email"] {
  flex: 1;
  padding: 0.6rem 1rem;
  border: 1px solid #343a40;
  border-radius: 4px;
  background-color: #343a40;
  color: #f8f9fa;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.newsletter-form input[type="email"]:focus {
  outline: none;
  border-color: #6c757d;
  background-color: #495057;
}

.newsletter-form button {
  padding: 0.6rem 1.2rem;
  background-color: #6c757d;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.newsletter-form button:hover {
  background-color: #5a6268;
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid #343a40;
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: #6c757d;
}

/* Mobile Navigation */
@media (max-width: 992px) {
  .nav {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 80%;
    max-width: 300px;
    height: calc(100vh - 70px);
    background: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    transition: left 0.3s ease-in-out;
    z-index: 9999;
    overflow-y: auto;
  }
  
  .nav.active {
    left: 0;
  }
  
  .nav a {
    margin: 0.5rem 0;
    padding: 0.8rem 0;
    width: 100%;
    border-bottom: 1px solid #f1f3f5;
  }
  
  .nav a:after {
    display: none;
  }
  
  .header {
    padding: 1rem;
    position: relative;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .menu-toggle.active {
    transform: rotate(90deg);
  }
  
  .overlay {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
  }
  
  .overlay.active {
    opacity: 1;
    visibility: visible;
  }
  
  .search-input.active {
    width: 150px;
  }
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
  }
  
  .footer-section {
    margin-bottom: 2rem;
  }
  
  .search-input.active {
    width: 120px;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
}
