/* ========================================================
   Divyanshi Industries - Custom Styles
   File: assets/css/style.css
   ======================================================== */

.glass-panel {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.glass-dark {
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Hero Banner Slider - Full Image Display System */
#heroImageSlider {
    position: relative;
    width: 100%;
    aspect-ratio: 1983 / 793;
    max-height: 85vh;
    background-color: #020617;
    overflow: hidden;
}

#heroSliderContainer {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-image-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
}

.slide-content-active {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Smooth tab transition */
.tab-pane {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.tab-pane.active {
    display: block;
    opacity: 1;
}

/* Product card hover micro-interaction */
.showcase-card {
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.showcase-card:hover {
    transform: translateY(-6px);
}

/* Modal backdrop animation */
.modal-active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.modal-active .modal-dialog {
    transform: scale(1) translateY(0) !important;
    opacity: 1 !important;
}

/* Custom range slider thumb styling */
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #dc2626;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(220, 38, 38, 0.5);
    border: 3px solid #ffffff;
}

input[type="range"]::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #dc2626;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(220, 38, 38, 0.5);
    border: 3px solid #ffffff;
}

/* Fixed Action Floating Buttons Animations */
@keyframes phone-ring {
    0%,
    100% {
        transform: rotate(0deg) scale(1);
    }
    10% {
        transform: rotate(14deg) scale(1.05);
    }
    20% {
        transform: rotate(-14deg) scale(1.05);
    }
    30% {
        transform: rotate(10deg) scale(1.05);
    }
    40% {
        transform: rotate(-10deg) scale(1.05);
    }
    50% {
        transform: rotate(0deg) scale(1);
    }
}

.animate-phone-ring {
    animation: phone-ring 2.2s infinite ease-in-out;
}

@keyframes floating-pulse-glow {
    0%,
    100% {
        box-shadow: 0 10px 25px -5px rgba(220, 38, 38, 0.45), 0 8px 10px -6px rgba(220, 38, 38, 0.25);
    }
    50% {
        box-shadow: 0 20px 35px -5px rgba(220, 38, 38, 0.7), 0 10px 15px -3px rgba(220, 38, 38, 0.45);
    }
}

@keyframes wa-pulse-glow {
    0%,
    100% {
        box-shadow: 0 10px 25px -5px rgba(37, 211, 102, 0.45), 0 8px 10px -6px rgba(37, 211, 102, 0.25);
    }
    50% {
        box-shadow: 0 20px 35px -5px rgba(37, 211, 102, 0.7), 0 10px 15px -3px rgba(37, 211, 102, 0.45);
    }
}

.call-glow-pulse {
    animation: floating-pulse-glow 2.5s infinite ease-in-out;
}

.wa-glow-pulse {
    animation: wa-pulse-glow 2.5s infinite ease-in-out;
}

/* Smooth page scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Scroll to Top Arrow Animation */
@keyframes scroll-bounce {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.animate-scroll-bounce {
    animation: scroll-bounce 2s infinite ease-in-out;
}

/* ========================================================
   Header & Creative Navigation Enhancements
   ======================================================== */

/* Shimmer Sweep Animation for Premium Action Buttons */
@keyframes shimmer-sweep {
    0% {
        transform: translateX(-150%) skewX(-20deg);
    }
    100% {
        transform: translateX(250%) skewX(-20deg);
    }
}

.animate-shimmer {
    position: relative;
    overflow: hidden;
}

.animate-shimmer::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 100%
    );
    animation: shimmer-sweep 3.8s infinite ease-in-out;
    pointer-events: none;
}

/* Mega Menu & Dropdown Polish */
.mega-menu-panel {
    transform: translateY(12px);
    transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.28s;
}

.group:hover .mega-menu-panel {
    transform: translateY(0);
}

/* Modern Nav Underline Indicator */
.nav-link-modern {
    position: relative;
}

.nav-link-modern::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    width: 0;
    height: 2.5px;
    background: linear-gradient(90deg, #dc2626, #f97316);
    border-radius: 9999px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateX(-50%);
}

.nav-link-modern:hover::after,
.nav-link-modern.active::after {
    width: 80%;
}

/* Subtle glowing pulse for live badges */
@keyframes live-ping-slow {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.pulse-badge-green {
    animation: live-ping-slow 2s infinite;
}

/* ========================================================
   Mobile Off-Canvas Animated Drawer & Drilldown Navigation
   ======================================================== */
#mobile-menu-drawer {
    position: fixed !important;
    top: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 88vw !important;
    max-width: 370px !important;
    height: 100vh !important;
    height: 100dvh !important;
    z-index: 999999 !important;
    background-color: #ffffff !important;
    transform: translateX(-100%) !important;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
    will-change: transform;
    display: flex !important;
    flex-direction: column !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45) !important;
}

#mobile-menu-drawer.drawer-open,
#mobile-menu-drawer.translate-x-0 {
    transform: translateX(0) !important;
}

#mobile-menu-backdrop {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    background-color: rgba(2, 6, 23, 0.75) !important;
    backdrop-filter: blur(6px) !important;
    -webkit-backdrop-filter: blur(6px) !important;
    z-index: 999998 !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

#mobile-menu-backdrop.backdrop-open,
#mobile-menu-backdrop.opacity-100 {
    opacity: 1 !important;
    pointer-events: auto !important;
}


#mobile-drilldown-track {
    display: flex;
    width: 300%;
    height: 100%;
    transition: transform 0.32s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

.drilldown-panel {
    width: 33.333333%;
    height: 100%;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

/* Staggered slide left-to-right animation for child items */
@keyframes mobileSlideInLeft {
    0% {
        opacity: 0;
        transform: translateX(-22px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.mobile-stagger-item {
    animation: mobileSlideInLeft 0.32s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.mobile-nav-link {
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav-link:active {
    transform: scale(0.98) translateX(3px);
}

/* Responsive Floating Buttons on Mobile */
@media (max-width: 640px) {
    .call-glow-pulse, .wa-glow-pulse {
        width: 48px !important;
        height: 48px !important;
    }
    .call-glow-pulse i, .wa-glow-pulse svg {
        width: 22px !important;
        height: 22px !important;
    }
    #scrollTopBtn {
        width: 48px !important;
        height: 48px !important;
    }
    #scrollTopBtn i {
        width: 22px !important;
        height: 22px !important;
    }
}


/* ========================================================
   Top Bar Colorful Animated Social Media Hub
   ======================================================== */
@keyframes social-float-subtle {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-2.8px);
    }
}

.social-icon-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 27px;
    height: 27px;
    border-radius: 9999px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-icon-btn::after {
    content: '';
    position: absolute;
    top: -60%;
    left: -60%;
    width: 220%;
    height: 220%;
    background: linear-gradient(
        60deg,
        transparent 35%,
        rgba(255, 255, 255, 0.5) 50%,
        transparent 65%
    );
    transform: translateX(-150%) rotate(25deg);
    transition: transform 0.6s ease;
    pointer-events: none;
}

.social-icon-btn:hover::after {
    transform: translateX(150%) rotate(25deg);
}

.social-icon-btn:hover {
    transform: translateY(-3.5px) scale(1.18) !important;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
    border-color: rgba(255, 255, 255, 0.6);
}

.social-icon-btn i,
.social-icon-btn svg {
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-icon-btn:hover i,
.social-icon-btn:hover svg {
    transform: scale(1.15) rotate(8deg);
}

/* Platform-Specific Vibrant Brand Colors & Glows */
.social-fb {
    background: linear-gradient(135deg, #1877F2 0%, #0d5ec4 100%);
    box-shadow: 0 2px 10px rgba(24, 119, 242, 0.45);
}
.social-fb:hover {
    box-shadow: 0 0 16px rgba(24, 119, 242, 0.85);
}

.social-yt {
    background: linear-gradient(135deg, #FF0000 0%, #b80000 100%);
    box-shadow: 0 2px 10px rgba(255, 0, 0, 0.45);
}
.social-yt:hover {
    box-shadow: 0 0 16px rgba(255, 0, 0, 0.85);
}

.social-ig {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    box-shadow: 0 2px 10px rgba(220, 39, 67, 0.45);
}
.social-ig:hover {
    box-shadow: 0 0 16px rgba(220, 39, 67, 0.85);
}

.social-wa {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    box-shadow: 0 2px 10px rgba(37, 211, 102, 0.45);
}
.social-wa:hover {
    box-shadow: 0 0 16px rgba(37, 211, 102, 0.85);
}

/* Staggered Continuous Subtle Float Animations */
.social-float-1 { animation: social-float-subtle 3.2s ease-in-out infinite 0s; }
.social-float-2 { animation: social-float-subtle 3.2s ease-in-out infinite 0.4s; }
.social-float-3 { animation: social-float-subtle 3.2s ease-in-out infinite 0.8s; }
.social-float-4 { animation: social-float-subtle 3.2s ease-in-out infinite 1.2s; }

/* ========================================================
   Framer Motion-Style Scroll & Interactive Physics
   ======================================================== */

/* 1. Scroll Progress Indicator (Framer Motion useScroll + scaleX) */
#scrollProgressBar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3.5px;
    width: 0%;
    background: linear-gradient(90deg, #dc2626 0%, #f97316 40%, #10b981 100%);
    z-index: 10000;
    box-shadow: 0 0 10px rgba(220, 38, 38, 0.65);
    transition: width 0.08s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

/* 2. Motion Reveal Base States (Physics-based Spring Easing) */
[data-motion] {
    opacity: 0;
    transition-property: opacity, transform, filter;
    transition-duration: 0.85s;
    transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

[data-motion="fade-up"] {
    transform: translate3d(0, 40px, 0);
}

[data-motion="fade-down"] {
    transform: translate3d(0, -40px, 0);
}

[data-motion="fade-left"] {
    transform: translate3d(-45px, 0, 0);
}

[data-motion="fade-right"] {
    transform: translate3d(45px, 0, 0);
}

[data-motion="scale-up"] {
    transform: scale3d(0.9, 0.9, 1);
}

[data-motion="fade"] {
    transform: none;
}

/* Revealed Active State */
[data-motion].motion-revealed {
    opacity: 1 !important;
    transform: translate3d(0, 0, 0) scale3d(1, 1, 1);
    filter: blur(0px) !important;
}

[data-motion].motion-revealed:hover {
    transform: var(--tw-transform, none);
}

/* Stagger Delays (0.05s to 0.7s) */
[data-delay="50"] { transition-delay: 0.05s; }
[data-delay="100"] { transition-delay: 0.1s; }
[data-delay="150"] { transition-delay: 0.15s; }
[data-delay="200"] { transition-delay: 0.2s; }
[data-delay="250"] { transition-delay: 0.25s; }
[data-delay="300"] { transition-delay: 0.3s; }
[data-delay="350"] { transition-delay: 0.35s; }
[data-delay="400"] { transition-delay: 0.4s; }
[data-delay="450"] { transition-delay: 0.45s; }
[data-delay="500"] { transition-delay: 0.5s; }
[data-delay="550"] { transition-delay: 0.55s; }
[data-delay="600"] { transition-delay: 0.6s; }
[data-delay="700"] { transition-delay: 0.7s; }

/* Footer Framer Motion & Micro-interactions */
footer [data-motion] {
    will-change: transform, opacity;
}

footer ul li a {
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
    display: inline-flex;
    align-items: center;
}

footer ul li a:hover {
    transform: translateX(6px);
    color: #f87171 !important;
}

footer ul li a i[data-lucide="chevron-right"],
footer ul li a svg {
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
}

footer ul li a:hover i[data-lucide="chevron-right"],
footer ul li a:hover svg {
    transform: translateX(2.5px);
    color: #ef4444;
}

/* 3. Framer Motion Floating Ambient Physics */
@keyframes motion-float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-9px) rotate(1.2deg);
    }
}

.motion-float {
    animation: motion-float 5s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}

.motion-float-reverse {
    animation: motion-float 5.8s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite reverse;
}

/* 4. Framer Motion Card 3D Perspective & Tilt Container */
.motion-perspective {
    perspective: 1200px;
}

.showcase-card {
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.35s ease,
                border-color 0.35s ease;
    transform-style: preserve-3d;
}

.showcase-card:hover {
    transform: translateY(-8px) scale(1.015);
    box-shadow: 0 25px 45px -15px rgba(0, 0, 0, 0.12), 0 10px 20px -8px rgba(220, 38, 38, 0.08);
}

/* 5. Magnetic CTA Hover Spring */
.motion-magnetic {
    transition: transform 0.28s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                box-shadow 0.28s ease;
}

.motion-magnetic:hover {
    transform: translateY(-3px) scale(1.025);
}

.motion-magnetic:active {
    transform: translateY(0) scale(0.97);
}

/* 6. Smooth Tab Transition with Motion */
.tab-pane {
    display: none;
    opacity: 0;
    transform: translate3d(0, 15px, 0);
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.tab-pane.active {
    display: block;
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

/* ========================================================
   7. Parent & Child Master-Detail Mega Menu Animations
   ======================================================== */
.parent-cat-btn {
    position: relative;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    border-left: 3px solid transparent;
}

.parent-cat-btn:hover,
.parent-cat-btn.active-cat {
    background-color: #fef2f2 !important;
    color: #dc2626 !important;
    border-left-color: #dc2626 !important;
}

.parent-cat-btn.active-cat .cat-title {
    color: #dc2626 !important;
    font-weight: 800;
}

.parent-cat-btn.active-cat .cat-chevron {
    transform: translateX(4px);
    color: #dc2626 !important;
}

.parent-cat-btn .cat-chevron {
    transition: transform 0.2s ease, color 0.2s ease;
}

@keyframes menuChildSlideIn {
    0% {
        opacity: 0;
        transform: translateY(8px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.menu-child-panel {
    display: none;
}

.menu-child-panel.active-panel {
    display: block !important;
    animation: menuChildSlideIn 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.child-product-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.child-product-card:hover {
    transform: translateY(-2px);
    border-color: #fca5a5 !important;
    box-shadow: 0 10px 25px -5px rgba(220, 38, 38, 0.1), 0 4px 10px -2px rgba(0, 0, 0, 0.05);
}

.child-product-card:hover .product-title {
    color: #dc2626 !important;
}

.child-product-card:hover .arrow-icon {
    transform: translateX(3px);
    color: #dc2626 !important;
}

/* ========================================================
   Featured Multi-Product Carousel Styling
======================================================== */
.products-carousel-track {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0.75rem 0.25rem 1.75rem 0.25rem;
    cursor: grab;
}

.products-carousel-track::-webkit-scrollbar {
    display: none;
}

.products-carousel-track.is-dragging {
    cursor: grabbing;
    scroll-snap-type: none;
    scroll-behavior: auto;
    user-select: none;
}

.carousel-product-card {
    scroll-snap-align: start;
    flex: 0 0 84vw;
    max-width: 330px;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
}

@media (min-width: 640px) {
    .carousel-product-card {
        flex: 0 0 340px;
        max-width: none;
    }
}

@media (min-width: 1024px) {
    .carousel-product-card {
        flex: 0 0 370px;
        max-width: none;
    }
}

@media (min-width: 1440px) {
    .carousel-product-card {
        flex: 0 0 380px;
        max-width: none;
    }
}

.carousel-product-card:hover {
    transform: translateY(-8px);
    border-color: #fca5a5 !important;
    box-shadow: 0 20px 35px -8px rgba(220, 38, 38, 0.12), 0 8px 16px -4px rgba(0, 0, 0, 0.06);
}

.carousel-nav-btn {
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.carousel-nav-btn:hover {
    transform: scale(1.1);
}

.carousel-nav-btn:active {
    transform: scale(0.92);
}

.carousel-nav-btn.nav-disabled {
    opacity: 0.35;
    pointer-events: none;
    cursor: not-allowed;
    box-shadow: none;
}

/* Professional Heading Divider with Center Dots */
.heading-three-dots-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    width: 100%;
    max-width: 220px;
    margin: 1rem auto;
}

.heading-three-dots-divider .divider-line {
    height: 2px;
    flex: 1;
    border-radius: 9999px;
    background: linear-gradient(90deg, rgba(220, 38, 38, 0) 0%, rgba(220, 38, 38, 0.4) 60%, #dc2626 100%);
}

.heading-three-dots-divider .divider-line.right {
    background: linear-gradient(90deg, #dc2626 0%, rgba(220, 38, 38, 0.4) 40%, rgba(220, 38, 38, 0) 100%);
}

.heading-three-dots-divider .divider-dots {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.heading-three-dots-divider .dot {
    border-radius: 9999px;
    background-color: #f87171;
    width: 6px;
    height: 6px;
    transition: transform 0.3s ease;
}

.heading-three-dots-divider .dot.center-dot {
    width: 9px;
    height: 9px;
    background-color: #dc2626;
    box-shadow: 0 0 10px rgba(220, 38, 38, 0.65);
}

/* ========================================================
   Clean, Creative & Professional Testimonials Carousel
======================================================== */
.clean-testimonials-track {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 1.25rem 0.5rem 2rem 0.5rem;
    cursor: grab;
}

@media (min-width: 768px) {
    .clean-testimonials-track {
        gap: 2rem;
        padding: 1.5rem 0.75rem 2.5rem 0.75rem;
    }
}

.clean-testimonials-track::-webkit-scrollbar {
    display: none;
}

.clean-testimonials-track.is-dragging {
    cursor: grabbing;
    scroll-snap-type: none;
    scroll-behavior: auto;
    user-select: none;
}

.clean-testimonial-card {
    scroll-snap-align: start;
    flex: 0 0 88vw;
    max-width: 340px;
    background: #ffffff;
    border-radius: 1.75rem;
    padding: 2.25rem 1.75rem 2rem 1.75rem;
    border: 1px solid rgba(226, 232, 240, 0.95);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
    opacity: 1;
    box-shadow: 0 6px 22px rgba(15, 23, 42, 0.06);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

@media (min-width: 640px) {
    .clean-testimonial-card {
        flex: 0 0 350px;
        max-width: none;
        padding: 2.5rem 2rem 2.25rem 2rem;
    }
}

@media (min-width: 1024px) {
    .clean-testimonial-card {
        flex: 0 0 380px;
        max-width: none;
        padding: 2.75rem 2.25rem 2.5rem 2.25rem;
    }
}

@media (min-width: 1280px) {
    .clean-testimonial-card {
        flex: 0 0 400px;
        max-width: none;
    }
}

.clean-testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(220, 38, 38, 0.15), 0 10px 20px -5px rgba(15, 23, 42, 0.08);
    border-color: rgba(252, 165, 165, 0.95);
}

.clean-testimonial-card .card-top-accent {
    position: absolute;
    top: 0;
    left: 1.5rem;
    right: 1.5rem;
    height: 3px;
    border-radius: 9999px;
    background: linear-gradient(90deg, #dc2626 0%, #f59e0b 50%, #dc2626 100%);
    opacity: 0.5;
    transition: opacity 0.35s ease, height 0.35s ease;
}

.clean-testimonial-card:hover .card-top-accent {
    opacity: 1;
    height: 4px;
}

.clean-testimonial-card .card-quote-text {
    color: #475569;
    font-size: 0.9375rem;
    line-height: 1.65;
    transition: color 0.35s ease;
}

.clean-testimonial-card:hover .card-quote-text {
    color: #0f172a;
}

.clean-testimonial-card .card-avatar-img {
    filter: none;
    opacity: 1;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.clean-testimonial-card:hover .card-avatar-img {
    transform: scale(1.06);
    box-shadow: 0 12px 25px -5px rgba(220, 38, 38, 0.28);
}

/* Creative Navigation Arrow Buttons */
.testimonial-arrow-btn {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 9999px;
    background-color: #ffffff;
    color: #334155;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.12);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

@media (min-width: 640px) {
    .testimonial-arrow-btn {
        width: 3.25rem;
        height: 3.25rem;
    }
}

.testimonial-arrow-btn:hover {
    background-color: #dc2626;
    border-color: #dc2626;
    color: #ffffff;
    transform: scale(1.12);
    box-shadow: 0 15px 30px -5px rgba(220, 38, 38, 0.35);
}

.testimonial-arrow-btn:active {
    transform: scale(0.92);
}

/* Creative Pagination indicator dots */
.testimonial-dot-btn {
    width: 0.6rem;
    height: 0.6rem;
    border-radius: 9999px;
    background-color: #cbd5e1;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.testimonial-dot-btn.is-active {
    width: 2.25rem;
    background: linear-gradient(90deg, #dc2626 0%, #f59e0b 100%);
    box-shadow: 0 2px 10px rgba(220, 38, 38, 0.4);
}

/* 7. Accessibility (Reduced Motion Preference) */
@media (prefers-reduced-motion: reduce) {
    [data-motion] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    .motion-float,
    .motion-float-reverse,
    .animate-shimmer::after,
    .animate-phone-ring,
    .wa-glow-pulse,
    .call-glow-pulse,
    .circle-dot-ring-1,
    .circle-dot-ring-2,
    .circle-dot-ring-3,
    .circle-outer-dashed {
        animation: none !important;
    }
}

/* ========================================================
   8. About Us Three Circular Images with Dotted Border Animation
   ======================================================== */
@keyframes rotateClockwiseDotted {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes rotateCounterClockwiseDotted {
    0% {
        transform: rotate(360deg);
    }
    100% {
        transform: rotate(0deg);
    }
}

.circle-img-wrapper {
    position: relative;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.circle-img-wrapper:hover {
    transform: scale(1.04);
}

/* Primary Rotating Dotted Ring - Crimson */
.circle-dot-ring-1 {
    position: absolute;
    inset: -10px;
    border-radius: 9999px;
    border: 3.5px dotted #dc2626;
    animation: rotateClockwiseDotted 18s linear infinite;
    pointer-events: none;
    z-index: 1;
}

/* Secondary Rotating Dotted Ring - Amber / Orange */
.circle-dot-ring-2 {
    position: absolute;
    inset: -10px;
    border-radius: 9999px;
    border: 3.5px dotted #f59e0b;
    animation: rotateCounterClockwiseDotted 22s linear infinite;
    pointer-events: none;
    z-index: 1;
}

/* Tertiary Rotating Dotted Ring - Rose / Red */
.circle-dot-ring-3 {
    position: absolute;
    inset: -10px;
    border-radius: 9999px;
    border: 3.5px dotted #e11d48;
    animation: rotateClockwiseDotted 20s linear infinite;
    pointer-events: none;
    z-index: 1;
}

/* Secondary Outer Dashed Orbit Ring */
.circle-outer-dashed {
    position: absolute;
    inset: -18px;
    border-radius: 9999px;
    border: 1.5px dashed rgba(220, 38, 38, 0.35);
    animation: rotateCounterClockwiseDotted 30s linear infinite;
    pointer-events: none;
    z-index: 0;
}

.circle-img-wrapper:hover .circle-dot-ring-1,
.circle-img-wrapper:hover .circle-dot-ring-2,
.circle-img-wrapper:hover .circle-dot-ring-3 {
    animation-duration: 8s;
    border-width: 4px;
    filter: drop-shadow(0 0 6px rgba(220, 38, 38, 0.5));
}

@media (max-width: 640px) {
    .circle-dot-ring-1,
    .circle-dot-ring-2,
    .circle-dot-ring-3 {
        inset: -6px;
        border-width: 2.5px;
    }
    .circle-outer-dashed {
        display: none;
    }
}

/* ========================================================
   9. Background Graphic Effects (Blueprint Grid & Slow Rotating Gears)
   ======================================================== */
.animate-spin-extremely-slow {
    animation: rotateClockwiseDotted 65s linear infinite;
}

.animate-spin-reverse-slow {
    animation: rotateCounterClockwiseDotted 75s linear infinite;
}

.blueprint-grid-pattern {
    background-image: 
        radial-gradient(rgba(220, 38, 38, 0.12) 1.2px, transparent 1.2px),
        radial-gradient(rgba(100, 116, 139, 0.1) 1.2px, transparent 1.2px);
    background-size: 36px 36px;
    background-position: 0 0, 18px 18px;
}


