/* Navigation Styles */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(26, 26, 26, 0.98);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: #60a5fa;
  text-decoration: none;
  transition: color 0.3s ease;
}

.logo-icon {
  font-size: 1.5rem;
}

.logo:hover {
  color: #3b82f6;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-item {
  position: relative;
}

.nav-link {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s ease;
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover,
.nav-link.active {
  color: #60a5fa;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  border-radius: 12px;
  padding: 0.75rem 0;
  min-width: 280px;
  max-width: 320px;
  width: max-content;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15), 0 8px 16px rgba(0, 0, 0, 0.1) !important;
  z-index: 1001;
  overflow: hidden;
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 0.875rem 2rem;
  color: #374151 !important;
  background: transparent !important;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s ease;
  border: none !important;
  outline: none !important;
  position: relative;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dropdown-menu a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #60a5fa;
  transform: scaleY(0);
  transition: transform 0.2s ease;
}

.dropdown-menu a:hover {
  background: rgba(96, 165, 250, 0.08) !important;
  color: #1e40af !important;
  transform: translateX(8px);
}

.dropdown-menu a:hover::before {
  transform: scaleY(1);
}

.dropdown-menu a:focus {
  background: rgba(96, 165, 250, 0.08) !important;
  color: #1e40af !important;
  outline: none;
  border: none;
}

.language-switcher {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.separator {
  color: rgba(255, 255, 255, 0.3);
}

.nav-cta {
  margin-left: 1rem;
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: #ffffff;
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

/* Footer Styles */
.footer {
  background: #1a1a1a;
  color: #ffffff;
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: #60a5fa;
}

.footer-section p {
  font-size: 1rem;
  line-height: 1.6;
  opacity: 0.8;
  margin-bottom: 2rem;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 0.75rem;
}

.footer-section ul li a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: #60a5fa;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #ffffff;
  text-decoration: none;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.9rem;
  opacity: 0.7;
  margin: 0;
}

.footer-partners {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-partners span {
  font-size: 0.9rem;
  opacity: 0.7;
}

.partner-logo {
  height: 30px;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.partner-logo:hover {
  opacity: 1;
}

/* Grid Systems */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.grid-auto {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

/* Flex Utilities */
.flex {
  display: flex;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.flex-column {
  display: flex;
  flex-direction: column;
}

.gap-1 {
  gap: 1rem;
}
.gap-2 {
  gap: 2rem;
}
.gap-3 {
  gap: 3rem;
}

/* Mobile dropdown fixes */
@media (max-width: 768px) {
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    border-radius: 8px;
    min-width: 220px;
    width: 100%;
    overflow: hidden;
  }

  .dropdown-menu a {
    padding: 0.75rem 1.5rem;
    color: #374151 !important;
    font-size: 0.9rem;
  }

  .dropdown-menu a:hover {
    background: rgba(96, 165, 250, 0.08) !important;
    color: #1e40af !important;
    transform: none;
  }

  .dropdown-menu a::before {
    display: none;
  }
}
