/**
 * Landing Page Styles
 * Optimized and minified
 */
* {
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.98);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
}
.preloader .spinner {
  width: 50px;
  height: 50px;
  border: 3px solid rgba(0, 123, 255, 0.1);
  border-top-color: #007bff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.theme-navbar {
  background: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease-in-out;
}
.theme-navbar.scrolled {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.theme-navbar .nav-top {
  padding: 1rem 0;
  border-bottom: 1px solid #e9ecef;
}
.theme-navbar .nav-bottom {
  padding: 0.5rem 0;
}
.theme-navbar .brand img {
  height: 40px;
  width: auto;
}
.theme-navbar .links .link {
  margin: 0 1rem;
  position: relative;
}
.theme-navbar .links .link a {
  color: #6c757d;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.theme-navbar .links .link a:hover {
  color: #007bff;
}
.theme-navbar .links .link.active a {
  color: #007bff;
}
.theme-navbar .links .link .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  padding: 1rem 0;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease;
}
.theme-navbar .links .link:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
@media (max-width: 991px) {
  .theme-navbar .links {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: #fff;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    transition: left 0.3s ease;
    overflow-y: auto;
    padding: 2rem 1rem;
    z-index: 1001;
  }
  .theme-navbar .links.active {
    left: 0;
  }
  .theme-navbar .links .link {
    display: block;
    margin: 0.5rem 0;
  }
}

.theme-footer {
  background: linear-gradient(135deg, #232323 0%, #414345 100%);
  color: #fff;
  padding-top: 3rem;
}
.theme-footer .footer-top {
  padding: 2rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.theme-footer .footer-list .list-title {
  font-weight: 600;
  margin-bottom: 1rem;
  color: #fff;
}
.theme-footer .footer-list .list-link {
  margin-bottom: 0.5rem;
}
.theme-footer .footer-list .list-link a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s;
}
.theme-footer .footer-list .list-link a:hover {
  color: #fff;
}
.theme-footer .footer-bottom {
  padding: 2rem 0;
}
.theme-footer .footer-bottom .logo img {
  height: 35px;
  width: auto;
}
.theme-footer .footer-bottom .copyright {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}
.theme-footer .footer-bottom .social-list li {
  margin: 0 0.5rem;
}
.theme-footer .footer-bottom .social-list li a {
  display: inline-block;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.theme-footer .footer-bottom .social-list li a:hover {
  background: rgba(255, 255, 255, 0.2);
}
.theme-footer .footer-bottom .social-list li a img {
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1);
}

img {
  max-width: 100%;
  height: auto;
}

img[loading=lazy] {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}
.container-fluid {
  max-width: 1400px;
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  background: #fff;
  color: #000;
  padding: 0.5rem 1rem;
  z-index: 10000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

@media print {
  .theme-navbar,
  .theme-footer,
  .preloader {
    display: none !important;
  }
}
