/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height:80px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 9999; /* Increased z-index */
  transition: all 0.3s ease;
  outline-style:none;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
    display: block;
    align-items: flex-end;
    height: 70px;
}

.logo img {
  height: 50px;
  width: auto;
  transition: transform 0.3s ease;
}

.logo:hover img {
  transform: scale(1.05);
}

/* Navigation Styles */
nav {
  position: relative; /* Added */
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links li {
  position: relative; /* Added */
}

.nav-links li a {
  color: #333;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
  transition: color 0.3s ease;
  display: block; /* Added */
}

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

.nav-links li a:hover {
  color: #2563eb;
}

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

/* Dropdown Styles */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 200px;
  padding: 1rem 0;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 10000; /* Higher than header */
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  padding: 0.5rem 1.5rem;
}

.dropdown-menu li a {
  color: #333;
  font-size: 0.9rem;
  display: block;
  padding: 0.5rem 0;
  white-space: nowrap; /* Added */
}

/* Hamburger Menu */
.hamburger {
  display: none;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger i {
  font-size: 1.5rem;
  color: #333;
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .header-container {
    padding: 0.5rem 1rem;
  }

  .hamburger {
    display: block;
    z-index: 10001; /* Higher than dropdown */
  }

  .nav-links {
    position: fixed;
    top: 70px;
    left: -100%;
    width:auto; !important
    height: calc(100vh - 70px);
    background: white;
    flex-direction: column;
    padding: 2rem;
    transition: left 0.3s ease;
    overflow-y: auto;
    z-index: 9998; /* Lower than header */
  }

  .nav-links.active {
    left: 0;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    padding: 0;
    margin-top: 1rem;
    display: none;
  }

  .dropdown:hover .dropdown-menu {
    display: block;
    transform: none;
  }

  .dropdown-menu li {
    padding: 0.5rem 0;
  }
}

/* Footer Styles */
.footer {
  background: #1f2937;
  color: #f3f4f6;
  padding: 4rem 0 0;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.footer-section {
  margin-bottom: 2rem;
}

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

.footer-section h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 2px;
  background: #2563eb;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section ul li {
  margin-bottom: 0.8rem;
}

.footer-section ul li a {
  color: #e5e7eb;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: #2563eb;
}

.contact-info p {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.contact-info i {
  margin-right: 0.8rem;
  color: #2563eb;
}

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

.social-media a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #fff;
  transition: all 0.3s ease;
}

.social-media a:hover {
  background: #2563eb;
  transform: translateY(-3px);
}

.footer-form {
  margin-top: 1.5rem;
}

.footer-form input,
.footer-form textarea {
  width: 100%;
  padding: 0.8rem;
  margin-bottom: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  color: #fff;
  transition: all 0.3s ease;
}

.footer-form input:focus,
.footer-form textarea:focus {
  background: rgba(255, 255, 255, 0.15);
  border-color: #2563eb;
  outline: none;
}

.footer-form button {
  background: #2563eb;
  color: #fff;
  padding: 0.8rem 2rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.footer-form button:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
}

.footer-bottom {
  background: #111827;
  padding: 1.5rem 0;
  margin-top: 3rem;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  color: #9ca3af;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-container {
    padding: 1rem;
  }

  .hamburger {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 80px;
    left: -100%;
    width: auto;
    height: calc(100vh - 80px);
    background: white;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    transition: left 0.3s ease;
  }

  .nav-links.active {
    left: 0;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    width: 100%;
    padding: 0;
    margin-top: 1rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .footer-section {
    text-align: center;
  }

  .footer-section h3::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .contact-info p {
    justify-content: center;
  }

  .social-media {
    justify-content: center;
  }
}

/* Animation Classes */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.3s ease forwards;
}



