:root {
  color-scheme: light;
}

html {
  scroll-behavior: smooth;
}

@font-face {
  font-family: 'AiconMedium';
  src: url('/fonts/aicon-medium-webfont.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

.filtered-out {
  display: none !important;
}

.filter-btn[aria-pressed="true"] {
  background-color: #000080 !important;
  color: white !important;
}

.wave-shape {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.wave-shape svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 100px;
}

.wave-shape .shape-fill {
  fill: #000080;
}

/* Portfolio Swiper */
#portfolio .swiper {
  padding-left: 3.5rem;
  padding-right: 3.5rem;
  padding-bottom: 1.5rem;
}

#portfolio .swiper-button-prev,
#portfolio .swiper-button-next {
  color: #000080;
  top: 50%;
  transform: translateY(-50%);
}

#portfolio .swiper-button-prev {
  left: .25rem;
}

#portfolio .swiper-button-next {
  right: .25rem;
}

#portfolio .swiper-pagination {
  bottom: 0;
}

@media (prefers-reduced-motion: reduce) {
  video[autoplay] {
    display: none;
  }
}


/* Mobile: put bullets below the slider content and hide arrows */
@media (max-width: 639px) {
  #portfolioSwiper { 
    padding-bottom: 0;               /* no extra overlay space needed */
  }
  #portfolioSwiper .swiper-pagination {
    position: static;                /* take pagination out of absolute positioning */
    margin-top: 10px;                /* breathing room */
  }
  
}

/* Enhanced styles */
.service-card {
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Animation styles */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeInUp 0.6s ease-out forwards;
  opacity: 0;
}

/* Stagger animations */
.service-card:nth-child(1) {
  animation-delay: 0.1s;
}

.service-card:nth-child(2) {
  animation-delay: 0.2s;
}

.service-card:nth-child(3) {
  animation-delay: 0.3s;
}

.service-card:nth-child(4) {
  animation-delay: 0.4s;
}

.service-card:nth-child(5) {
  animation-delay: 0.5s;
}

/* Loading states
    img {
      background: #f3f4f6;
      transition: opacity 0.3s ease;
    }
    */

img[data-src] {
  opacity: 0;
  transition: opacity 0.3s ease;
}

img.lazy-loaded {
  opacity: 1;
}