/* ============================================ */
/* ASTRA CHILD THEME - CUSTOM CSS               */
/* Version: 1.0.0                               */
/* ============================================ */

/* ============================================ */
/* 0. BODY BACKGROUND COLOR                     */
/* ============================================ */
body {
  background-color: #f9fafb !important;
}

/* ============================================ */
/* 1. ELEMENTOR CUSTOM LIST SPACING             */
/* ============================================ */
.elementor-73
  .elementor-element.elementor-element-b055a68
  .elementor-icon-list-items.elementor-inline-items
  .elementor-icon-list-item {
  margin-inline: calc(118px / 2);
}

/* ============================================ */
/* 2. INFINITE SCROLLING SLIDER                 */
/* ============================================ */
.slider {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  width: 100%;
  background: #f5f5f5;
}

.slide-track {
  display: inline-flex;
  animation: scroll 20s linear infinite;
}

.slide {
  min-width: 200px;
  margin: 10px;
  background: #333;
  color: #fff;
  text-align: center;
  padding: 40px 0;
  font-size: 20px;
  border-radius: 10px;
}

/* Infinite scroll animation */
@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Pause animation on hover */
.slider:hover .slide-track {
  animation-play-state: paused;
}

/* ============================================ */
/* 3. RESPONSIVE GALLERY FIX                    */
/* ============================================ */
@media (max-width: 480px) {
  .gallery-item {
    max-width: 50% !important;
  }
}

/* ============================================ */
/* 4. COMPLETELY HIDE SCROLLBAR - NO FLASH      */
/* ============================================ */

/* Hide immediately - no flash */
html {
  overflow-y: scroll !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

html::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  background: transparent !important;
}

body {
  overflow-y: auto !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
  background-color: #f9fafb !important;
}

body::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  background: transparent !important;
}

/* Hide on all elements */
* {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

*::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  background: transparent !important;
}

/* Remove scrollbar gutter/reserved space */
html {
  scrollbar-gutter: auto !important;
}

body {
  scrollbar-gutter: auto !important;
}

/* ============================================ */
/* 5. WORDPRESS ADMIN BAR COMPATIBILITY         */
/* ============================================ */
body.admin-bar {
  scrollbar-gutter: auto !important;
}

@media screen and (max-width: 782px) {
  html {
    scrollbar-gutter: auto !important;
  }
}

/* ============================================ */
/* 6. ELEMENTSKIT MENU BLUR EFFECT              */
/* ============================================ */
.elementskit-submenu-panel {
  backdrop-filter: blur(6px) !important;
  -webkit-backdrop-filter: blur(6px) !important;
}

/* ============================================ */
/* 7. CUSTOM CONTAINER MAX-WIDTH                */
/* ============================================ */
.ast-container {
  max-width: 1280px;
}

/* ============================================ */
/* 8. TYPOGRAPHY CUSTOMIZATIONS                 */
/* ============================================ */
body, p, .entry-content {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
}