/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
  background: #0B5ED7;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #0948a8;
}

html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Inter', sans-serif;
  color: #0A2540;
  overflow-x: hidden;
}

.glass {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.glass-white {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.text-gradient {
  color: #0A2540;
}

.section-padding {
  padding: 3.5rem 1rem;
}
@media (min-width: 768px) {
  .section-padding {
    padding: 4.5rem 2rem;
  }
}
@media (min-width: 1024px) {
  .section-padding {
    padding: 5rem 4rem;
  }
}

.parallax-bg {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
@media (max-width: 768px) {
  .parallax-bg {
    background-attachment: scroll;
  }
}

.masonry-grid {
  columns: 2;
  column-gap: 1rem;
}
@media (min-width: 768px) {
  .masonry-grid {
    columns: 3;
    column-gap: 1.25rem;
  }
}
@media (min-width: 1024px) {
  .masonry-grid {
    columns: 4;
    column-gap: 1.5rem;
  }
}
.masonry-item {
  break-inside: avoid;
  margin-bottom: 1rem;
}
@media (min-width: 768px) {
  .masonry-item {
    margin-bottom: 1.25rem;
  }
}
@media (min-width: 1024px) {
  .masonry-item {
    margin-bottom: 1.5rem;
  }
}

.swiper-pagination-bullet {
  background: #0B5ED7 !important;
}
.swiper-pagination-bullet-active {
  background: #F9A826 !important;
}

.testimonials-swiper .swiper-button-next,
.testimonials-swiper .swiper-button-prev {
  color: #0B5ED7 !important;
  width: 44px !important;
  height: 44px !important;
  background: white !important;
  border-radius: 50% !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
  transition: all 0.3s ease !important;
}

.testimonials-swiper .swiper-button-next:hover,
.testimonials-swiper .swiper-button-prev:hover {
  background: #0B5ED7 !important;
  color: white !important;
  box-shadow: 0 4px 20px rgba(11, 94, 215, 0.3) !important;
}

.testimonials-swiper .swiper-button-next::after,
.testimonials-swiper .swiper-button-prev::after {
  font-size: 16px !important;
  font-weight: bold !important;
}
@media (max-width: 768px) {
  .testimonials-swiper .swiper-button-next,
  .testimonials-swiper .swiper-button-prev {
    display: none !important;
  }
}

.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.92);
  align-items: center;
  justify-content: center;
}
.lightbox-overlay.active {
  display: flex;
}

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

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease-in-out, transform 1.2s ease-in-out;
  transform: scale(1.1);
}
.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

::selection {
  background: #0B5ED7;
  color: white;
}
