/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: #333;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 10px 20px;
  background: transparent;
}

/* Navigation */
.main-nav {
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.95) 0%, rgba(76, 29, 149, 0.95) 100%);
  padding: 10px 30px;
  border-radius: 50px;
  margin: 0 auto;
  max-width: 1000px;
  box-shadow: 0 5px 20px rgba(139, 92, 246, 0.4);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(139, 92, 246, 0.3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nav-logo {
  height: 50px;
  width: auto;
  filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
  flex-shrink: 0;
}

.nav-list {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  flex: 1;
}

.nav-link {
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.05rem;
  padding: 8px 20px;
  border-radius: 25px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.nav-link.active {
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: white;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.tagline {
  font-size: 1.5rem;
  opacity: 0.9;
  margin-top: 15px;
}

/* Main Content */
main {
  background: transparent;
  border-radius: 0;
  padding: 100px 0 20px 0;
  box-shadow: none;
}

/* Carousel Section */
.carousel-section {
  margin-bottom: 20px;
}

.carousel-container {
  position: relative;
  width: 90%;
  max-width: 90%;
  margin: 0 auto;
  height: 70vh;
  min-height: 400px;
  max-height: 800px;
  overflow: hidden;
  border-radius: 15px;
  background: #000;
  box-shadow: 0 10px 40px rgba(139, 92, 246, 0.4);
}

.carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  pointer-events: none;
}

.carousel-image.active {
  opacity: 1;
  pointer-events: auto;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(139, 92, 246, 0.8);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
  backdrop-filter: blur(10px);
}

.carousel-btn:hover {
  background: rgba(139, 92, 246, 1);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 5px 15px rgba(139, 92, 246, 0.5);
}

.carousel-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.carousel-btn-prev {
  left: 20px;
}

.carousel-btn-next {
  right: 20px;
}

.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d1d5db;
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator:hover {
  background: #9ca3af;
  transform: scale(1.2);
}

.indicator.active {
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  width: 30px;
  border-radius: 5px;
}

/* Features Section */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.feature-card {
  background: linear-gradient(135deg, #1e3a8a 0%, #4c1d95 100%);
  color: white;
  padding: 40px 30px;
  border-radius: 15px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(139, 92, 246, 0.3);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(139, 92, 246, 0.4);
  border-color: rgba(139, 92, 246, 0.8);
}

.feature-card h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.feature-card p {
  font-size: 1rem;
  opacity: 0.9;
}

/* CTA Section */
.cta {
  text-align: center;
}

.cta h2 {
  font-size: 2rem;
  color: #333;
  margin-bottom: 30px;
}

.cta-button {
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  color: white;
  border: none;
  padding: 15px 50px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(139, 92, 246, 0.5);
}

.cta-button:active {
  transform: scale(0.98);
}

/* Footer */
footer {
  color: white;
  margin-top: 60px;
  padding: 40px 20px 20px;
  background: linear-gradient(135deg, rgba(10, 10, 10, 0.8) 0%, rgba(26, 26, 46, 0.8) 100%);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(139, 92, 246, 0.1);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
  text-align: left;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo {
  max-width: 80px;
  height: auto;
  margin-bottom: 15px;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.footer-logo:hover {
  opacity: 1;
}

.footer-tagline {
  font-size: 0.95rem;
  opacity: 0.8;
  line-height: 1.4;
}

.footer-nav h3,
.footer-services h3,
.footer-contact h3 {
  font-size: 1.1rem;
  margin-bottom: 15px;
  color: #8b5cf6;
  font-weight: 600;
}

.footer-nav ul,
.footer-services ul,
.footer-contact ul {
  list-style: none;
  padding: 0;
}

.footer-nav ul li,
.footer-services ul li,
.footer-contact ul li {
  margin-bottom: 10px;
}

.footer-nav a,
.footer-services a,
.footer-contact a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.footer-nav a:hover,
.footer-services a:hover,
.footer-contact a:hover {
  color: #8b5cf6;
  padding-left: 5px;
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(139, 92, 246, 0.2);
  opacity: 0.8;
}

.footer-bottom p {
  margin: 10px 0;
  font-size: 0.9rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #8b5cf6;
}

/* Responsive Design */
@media (max-width: 768px) {
  .main-nav {
    padding: 10px 20px;
    flex-wrap: wrap;
  }

  .nav-logo {
    height: 35px;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 10px;
    order: 3;
  }

  .nav-list.active {
    display: flex;
  }

  .mobile-menu-toggle {
    display: flex;
    margin-left: auto;
    order: 2;
  }

  .nav-link {
    width: 100%;
    text-align: center;
  }

  main {
    padding: 40px 20px;
  }

  .hero h2 {
    font-size: 2rem;
  }

  .carousel-container {
    height: 50vh;
    min-height: 300px;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
  }

  .carousel-btn-prev {
    left: 10px;
  }

  .carousel-btn-next {
    right: 10px;
  }

  .features {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .footer-brand {
    align-items: center;
  }
}
