/* Added Animations for Our Products Section */

/* 1. Shimmer Animation (Keyframes) */
.op-badge-shimmer {
    position: relative;
    overflow: hidden;
}
.op-badge-shimmer::after {
    content: '';
    position: absolute;
    top: 0;
    left: -60%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.6), transparent);
    animation: op-shimmer 3.2s ease-in-out infinite;
}
@keyframes op-shimmer { 
    0% { left: -60%; } 
    60%, 100% { left: 130%; } 
}

/* 2. Scroll Fade-In Reveal */
.fade-in-section {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1), transform 0.8s cubic-bezier(0.16,1,0.3,1);
}
.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* 3. Carousel Slide Transitions */
.our-product-slide {
    transition: opacity 0.55s ease, transform 0.55s ease, z-index 0.55s ease;
}

/* 4. Interactive Hover Transitions */
.img-literacy {
    transition: transform 0.4s ease, filter 0.4s ease !important;
}
.img-literacy:hover {
    transform: translateY(-6px) scale(1.06) !important;
    filter: drop-shadow(0 12px 24px rgba(0,0,0,0.2)) !important;
}

.our-products-btn {
    transition: transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease !important;
}
.our-products-btn:hover {
    transform: translateY(-3px) !important;
    background-color: #00A3FF !important;
    box-shadow: 0 8px 16px rgba(0, 163, 255, 0.4) !important;
}

.our-products-arrow {
    transition: color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease !important;
}
.our-products-arrow:hover {
    background-color: #00A3FF !important;
    color: white !important;
    box-shadow: 0 4px 12px rgba(0, 163, 255, 0.3) !important;
}

#our-products-carousel {
    border-width: 6px;
}

.our-products-wrap {
    padding-left: 16px;
    padding-right: 16px;
}
@media (min-width: 640px) {
    .our-products-wrap { padding-left: 24px; padding-right: 24px; }
}
@media (min-width: 768px) {
    .our-products-wrap { padding-left: 40px; padding-right: 40px; }
}
@media (min-width: 1024px) {
    .our-products-wrap { padding-left: 110px; padding-right: 110px; }
}

.our-products-heading {
    font-size: 28px;
}
@media (min-width: 640px) {
    .our-products-heading { font-size: 38px; }
}
@media (min-width: 1024px) {
    .our-products-heading { font-size: 56px; }
}

.our-products-heading-bar {
    height: 22px;
    width: auto;
}
@media (min-width: 640px) {
    .our-products-heading-bar { height: 32px; }
}
@media (min-width: 1024px) {
    .our-products-heading-bar { height: 48px; }
}

@media (max-width: 1023px) {
    /* Shorter panel on mobile — the table sits proportionally lower. */
    .our-products-pebbles-visual {
        padding-bottom: 56px !important;
    }
}

.our-products-pebbles-bg {
    background-image: url('../assets/our-products/book-pebbles-bg.webp');
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
}

