body {
  font-family: Arial, sans-serif;
  margin: 0;
  background: #f8f5ff;
  color: #2d2242;
  line-height: 1.6;
  overflow-x: hidden;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
}

.navbar {
  background: linear-gradient(135deg, #5e35b1, #7e57c2);
  padding: 0.85rem 0;
}

.navbar .navbar-brand {
  letter-spacing: 0.5px;
}

.navbar .nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 600;
}

.navbar .nav-link.active,
.navbar .nav-link:hover {
  color: #ffffff !important;
}

.hero,
.page-hero,
.about-hero {
  padding: 90px 0;
  background: linear-gradient(135deg, #5e35b1, #9a7ce0);
  color: white;
}

.about-hero {
  background: linear-gradient(135deg, #6840bf, #a183e4);
}

.hero .lead,
.page-hero .lead,
.about-hero .lead {
  max-width: 760px;
}

.hero-badge,
.footer-tag {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  color: #f3e8ff;
  font-size: 0.85rem;
  font-weight: 700;
}

.slide {
  display: none;
  width: 100%;
  max-width: 340px;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
  margin: 0 auto;
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
}

.section-subtitle {
  max-width: 760px;
  color: #6b5d85;
}

.feature-card,
.highlight-box,
.idea-item,
.contact-card,
.contact-form {
  background: white;
  border: none;
  border-radius: 18px;
  box-shadow: 0 8px 20px rgba(94, 53, 177, 0.12);
}

.highlight-box,
.idea-item,
.contact-card,
.contact-form {
  padding: 1.5rem;
}

.feature-card {
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 28px rgba(94, 53, 177, 0.18);
}

.feature-card .card-img-top {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.feature-card .card-body {
  padding: 1.35rem;
}

.feature-card .card-title,
.highlight-box h3,
.idea-item h3,
.contact-card h3,
.contact-form h2 {
  color: #5e35b1;
}

.feature-card .card-text,
.highlight-box p,
.idea-item p,
.contact-card p {
  color: #5f5575;
}

.glow-btn {
  color: #5e35b1;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.7rem 1.2rem;
}

.glow-outline {
  border-radius: 999px;
  font-weight: 700;
  padding: 0.7rem 1.2rem;
}

.glow-primary {
  background: #5e35b1;
  border-color: #5e35b1;
  border-radius: 999px;
  padding: 0.7rem 1.3rem;
  font-weight: 700;
}

.glow-primary:hover {
  background: #4b2a93;
  border-color: #4b2a93;
}

.contact-card a,
.footer a {
  color: white;
  text-decoration: none;
}

.contact-card a {
  color: #5e35b1;
  font-weight: 600;
}

.contact-form .form-control {
  border-radius: 12px;
  border-color: #d4c8f2;
  padding: 0.8rem 0.95rem;
}

.contact-form .form-control:focus {
  border-color: #7a56c9;
  box-shadow: 0 0 0 0.2rem rgba(94, 53, 177, 0.15);
}

.cta-section {
  margin: 0 auto 50px;
  max-width: 1200px;
  padding: 45px 20px;
  border-radius: 20px;
  background: linear-gradient(135deg, #5e35b1, #7e57c2);
  color: white;
}

.mini-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mini-list li {
  margin-bottom: 10px;
  color: #ebe4ff;
}

.footer {
  color: white;
  padding: 50px 0 20px;
}

.footer .container {
  padding-left: 1rem;
  padding-right: 1rem;
}

.footer.home-footer {
  background: linear-gradient(135deg, #2c174f, #5e35b1);
}

.footer.about-footer {
  background: linear-gradient(135deg, #3b1c60, #7a56c9);
}

.footer.products-footer {
  background: linear-gradient(135deg, #2b174a, #6c48bc);
}

.footer.contact-footer {
  background: linear-gradient(135deg, #23133d, #59399c);
}

.social-icons {
  display: flex;
  gap: 12px;
  margin: 15px 0;
  flex-wrap: wrap;
}

.social-link {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: white;
  transition: 0.3s;
}

.social-link:hover {
  background: white;
  color: #5e35b1;
}

.footer-note {
  max-width: 340px;
  color: #e5dcff;
}

.copyright {
  text-align: center;
  margin-top: 25px;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: #d5caf7;
  font-size: 0.9rem;
}

.dark {
  background: #111;
  color: white;
}

.dark .feature-card,
.dark .highlight-box,
.dark .idea-item,
.dark .contact-card,
.dark .contact-form {
  background: #1f1f1f;
  box-shadow: none;
}

.dark .feature-card .card-text,
.dark .highlight-box p,
.dark .idea-item p,
.dark .contact-card p,
.dark .section-subtitle {
  color: #d7d1e6;
}

.dark .contact-form .form-control {
  background: #2a2a2a;
  color: white;
  border-color: #555;
}

.dark .footer {
  background: #181022;
}

@media (max-width: 991.98px) {
  .hero,
  .page-hero,
  .about-hero {
    padding: 75px 0;
  }

  .section-subtitle,
  .hero .lead,
  .page-hero .lead,
  .about-hero .lead {
    font-size: 1rem;
  }
}

@media (max-width: 767.98px) {
  .hero,
  .page-hero,
  .about-hero {
    padding: 60px 0;
  }

  .display-5 {
    font-size: 2rem;
  }

  .slide {
    max-width: 260px;
  }

  .highlight-box,
  .idea-item,
  .contact-card,
  .contact-form,
  .feature-card .card-body {
    padding: 1.1rem;
  }

  .cta-section {
    margin: 0 12px 35px;
    padding: 35px 16px;
  }

  .cta-section .d-flex,
  .hero .d-flex {
    flex-direction: column;
    align-items: center;
  }

  .glow-btn,
  .glow-outline,
  .glow-primary {
    width: 100%;
    max-width: 280px;
  }

  .footer,
  .footer .container {
    text-align: center;
  }

  .social-icons {
    justify-content: center;
  }

  .footer-note {
    margin-left: auto;
    margin-right: auto;
  }
}

/* Responsive */
@media (max-width: 768px) {
  nav {
    flex-direction: column;
    padding: 15px;
  }

  nav ul {
    flex-direction: column;
    text-align: center;
    margin-top: 10px;
  }

  .hero,
  .page-hero,
  .about-hero {
    padding: 70px 15px;
  }

  .card {
    width: 100%;
    max-width: 320px;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .cta-section {
    margin: 10px 15px 40px;
  }

  .footer-container {
    flex-direction: column;
  }
}