/* ==========================================
   TechMac 2026 - Custom Styles
   ========================================== */

body {
  background: #fff;
}

::selection {
  background: #6D9B2E;
  color: #fff;
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #6D9B2E;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #5A8325;
}

.nav-shadow {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

#preloader.hidden {
  opacity: 0;
  pointer-events: none;
}

.hero-slide {
  background-size: cover;
  background-position: center;
  transition: opacity 1s ease, transform 8s ease;
}

.hero-text {
  animation: heroFadeIn 0.8s ease forwards;
}

@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-dot.active {
  background-color: #6D9B2E !important;
}

.antivirus-dot.active {
  background-color: #6D9B2E !important;
}

.fade-in {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.active {
  opacity: 1;
  transform: translateY(0);
}

.section-padding {
  padding-top: 5rem;
  padding-bottom: 3rem;
}

@media (max-width: 768px) {
  .section-padding {
    padding-top: 3.2rem;
    padding-bottom: 2rem;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .section-padding {
    padding-top: 3rem;
    padding-bottom: 2.5rem;
  }
}

img, video, iframe {
  max-width: 100%;
}

@media (max-width: 768px) {
  .section-title {
    padding-top: 2rem;
  }
  .scroll-mt-28 {
    scroll-margin-top: 2rem !important;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .section-title {
    padding-top: 3rem;
  }
  .scroll-mt-28 {
    scroll-margin-top: 3rem !important;
  }
}
