
    /* ================= Hero Section homepage ================= */
  /*  * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }*/

   /* body {
        font-family: var(--font-main);
        color: #222222;
        background-color: #ffffff;
        line-height: 1.5;
        overflow-x: hidden;
    }
*/
    a {
        text-decoration: none;
        color: inherit;
        transition: color 0.3s ease;
    }

    button {
        cursor: pointer;
        border: none;
        background: none;
        font-family: var(--font-main);
    }

    .container {
        max-width: 1400px;
        margin: 0 auto;
        padding: 0 24px;
        width: 100%;
    }

/* ================= Hero Section (Slider) ================= */

    #pts-wrapper {
        font-family: var(--font-main);
        color: #1a1a1a;
        background-color: #ffffff;
        line-height: 1.5;
        position: relative;
        overflow: hidden; /* Replaces the body overflow-x hidden */
        width: 100%;
    }

    #pts-wrapper * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    #pts-wrapper a {
        text-decoration: none;
        color: inherit;
        transition: all 0.3s ease;
    }

    #pts-wrapper button {
        cursor: pointer;
        border: none;
        background: none;
        font-family: inherit;
        outline: none;
    }

    #pts-wrapper .h_container {
        max-width: 100%;
        margin: 0 auto;
        padding: 0 6%;
        width: 100%;
    }

    /* ================= Hero Section (Slider) ================= */
    #pts-wrapper .hero-section {
        position: relative;
        width: 100%;
        height: 440px; 
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
        transition: background-image 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        display: flex;
        align-items: center;
        overflow: hidden;
        background-color: #f9f9f9; 
    }

    #pts-wrapper .hero-content-wrapper {
        position: relative;
        z-index: 2;
        width: 100%;
        display: flex;
    }

    #pts-wrapper .justify-start { justify-content: flex-start; }
    #pts-wrapper .justify-end { justify-content: flex-end; }
    #pts-wrapper .text-left { text-align: left; }
    #pts-wrapper .text-right { text-align: right; }

    #pts-wrapper .hero-text-h_container {
        max-width: 550px;
        padding-top: 1rem;
    }

    #pts-wrapper .hero-subtitle {
        color: #4a4a4a;
        font-size: 12px;
        font-weight: 600;
        letter-spacing: 2.5px;
        text-transform: uppercase;
        margin-bottom: 12px;
        display: block;
    }

    #pts-wrapper .hero-title-1 {
        color: #1a1a1a; 
        font-size: 34px;
        font-weight: 300; 
        line-height: 1.2;
        margin-bottom: 4px;
    }

    #pts-wrapper .hero-title-2 {
        color: #2b5c3b; 
        font-size: 46px;
        font-weight: 500;
        line-height: 1.1;
        margin-bottom: 32px;
    }
    
    #pts-wrapper .hero-title-2 span { 
        font-weight: 700; 
    }

    #pts-wrapper .mobile-title {
        display: none;
    }

    #pts-wrapper .shop-now-btn {
        display: inline-block;
        background-color: #2b5c3b; 
        color: #ffffff;
        font-weight: 500;
        font-size: 14px;
        letter-spacing: 1px;
        text-transform: uppercase;
        padding: 14px 36px;
        border-radius: 8px; 
        transition: all 0.4s ease;
    }

    #pts-wrapper .shop-now-btn:hover {
        background-color: #1a4025; 
        color: #ffffff;
    }

    /* Arrow Buttons */
    #pts-wrapper .slider-arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 10;
        width: 44px;
        height: 44px;
        background-color: rgba(255, 255, 255, 0.6);
        backdrop-filter: blur(4px);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #1a1a1a;
        transition: background-color 0.3s, transform 0.3s;
    }
    
    #pts-wrapper .slider-arrow:hover { 
        background-color: #ffffff; 
        transform: translateY(-50%) scale(1.05);
    }
    #pts-wrapper .slider-arrow.left { left: 24px; }
    #pts-wrapper .slider-arrow.right { right: 24px; }
    #pts-wrapper .slider-arrow svg { width: 20px; height: 20px; }

    /* Pagination Dots */
    #pts-wrapper .pagination-h_container {
        position: absolute;
        bottom: 24px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 10;
        display: flex;
        gap: 8px;
        align-items: center;
    }

    #pts-wrapper .slider-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background-color: #ffffff;
        box-shadow: 0 1px 3px rgba(0,0,0,0.2); 
        cursor: pointer;
        transition: all 0.3s ease;
    }

    #pts-wrapper .slider-dot.active {
        width: 32px;
        border-radius: 9999px;
        background-color: #ffffff;
        position: relative;
        overflow: hidden;
    }

    #pts-wrapper .slider-dot.active::after {
        content: '';
        position: absolute;
        top: 0; left: 0;
        height: 100%;
        background-color: #2b5c3b; 
        animation: pts-fillBar 5s linear forwards; 
    }

    /* Animations (Namespaced) */
    @keyframes pts-fillBar { 0% { width: 0%; } 100% { width: 100%; } }
    
    @keyframes pts-fadeLeft { 
        from { opacity: 0; transform: translateX(-40px); } 
        to { opacity: 1; transform: translateX(0); } 
    }
    
    @keyframes pts-fadeRight { 
        from { opacity: 0; transform: translateX(40px); } 
        to { opacity: 1; transform: translateX(0); } 
    }

    #pts-wrapper .animate-fade-left { animation: pts-fadeLeft 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards; }
    #pts-wrapper .animate-fade-right { animation: pts-fadeRight 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards; }

    /* ================= Responsive Design ================= */
    @media (max-width: 1024px) {
        #pts-wrapper .hero-title-1 { font-size: 28px; }
        #pts-wrapper .hero-title-2 { font-size: 38px; }
    }

    @media (max-width: 768px) {
        #pts-wrapper .hero-section { height: 320px; }
        #pts-wrapper .slider-arrow { display: none; }
        
        #pts-wrapper .hero-text-h_container {
            padding: 0 20px;
            background-color: transparent; 
            backdrop-filter: none;
            border-radius: 0;
        }

        #pts-wrapper .desktop-title { display: none; }
        #pts-wrapper .mobile-title { display: block; }

        #pts-wrapper .hero-title-1 { font-size: 16px; margin-bottom: 2px; }
        #pts-wrapper .hero-title-2 { font-size: 22px; margin-bottom: 16px;}
        #pts-wrapper .hero-subtitle { font-size: 10px; margin-bottom: 4px; }
        #pts-wrapper .shop-now-btn { padding: 10px 24px; font-size: 11px; }
        
        /* Mobile Override for Titles */
        #pts-wrapper .hero-title-1, 
        #pts-wrapper .hero-title-2.desktop-title {
            display: none;
        }

        #pts-wrapper .mobile-title {
            display: block;
            color: #00b853; 
            font-size: 28px;
            font-weight: 500;
            margin-bottom: 12px;
            line-height: 1.2;
        }

        #pts-wrapper .shop-now-btn {
            background-color: transparent;
            color: #00b853; 
            padding: 0;
            box-shadow: none;
            border-radius: 0;
            text-decoration: underline;
            text-underline-offset: 4px;
            font-weight: 700;
            display: inline-block;
        }
        
        #pts-wrapper .shop-now-btn:hover {
            color: #008a3d; 
        }
    }
    
    @media (max-width: 480px) {
        #pts-wrapper .hero-section { height: 280px; }
        #pts-wrapper .hero-title-1 { font-size: 14px; }
        #pts-wrapper .hero-title-2 { font-size: 18px; }
        #pts-wrapper .h_container { padding: 0 0px; }
    }    

/*-----------------Hero css end----------------------------*/

/*------------------Category slider css start-  section 2 */

  /* Scoped CSS Variables */
    .herbal-apothecary-widget {
        --brand-bg: #F5F4F0;
        --brand-green-dark: #1C2820;
        --text-primary: #1c1917;
        --text-secondary: #57534e;
        --text-emerald: #065f46;
        --text-light: #f5f5f4;
        --gap-mobile: 16px;
        --gap-desktop: 24px;
        
        background-color: var(--brand-bg);
        color: var(--text-primary);
        font-family: var(--font-main);
        padding: 2rem 1rem;
        perspective: 1000px;
        width: 100%;
        display: block;
        border-radius: 12px; /* Optional: smooths the edges in Elementor */
    }

    /* Scoped Reset to prevent breaking Elementor layout */
    .herbal-apothecary-widget,
    .herbal-apothecary-widget * {
        box-sizing: border-box;
        margin: 0;
        padding: 0;
    }

    .herbal-apothecary-widget ::selection { 
        background-color: var(--text-emerald); 
        color: white; 
    }

    /* Typography */
    .herbal-apothecary-widget h1, 
    .herbal-apothecary-widget h2 { 
        font-family: var(--font-main);
    }

    /* Main Layout */
    .ha-container {
        max-width: 1280px;
        width: 100%;
        margin: 0 auto;
    }

    /* Header Section */
    .ha-header {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        margin-bottom: 2.5rem;
        transform: translateY(20px);
        opacity: 0;
        animation: ha-fadeIn 1s ease-out forwards;
    }
    
    .ha-header-content { margin-bottom: 1.5rem; }
    
    .ha-header-tag {
        color: #4a4a4a;
        letter-spacing: 0.25em;
        font-size: 0.75rem;
        font-weight: 600;
        text-transform: uppercase;
        display: block;
        margin-bottom: 0.75rem;
    }
    
    .ha-header-title {
    font-size: 36px;
    font-weight: 700;
    color: #065f46;
    margin: 0 0 16px 0;
    letter-spacing: -0.5px;
    line-height: 1.2;
    }

    /* Navigation Buttons */
    .ha-controls { display: flex; gap: 0.75rem; align-items: center; }
    .ha-nav-btn {
        background: transparent;
        border: 1px solid #d6d3d1;
        padding: 0.75rem;
        border-radius: 50%;
        cursor: pointer;
        color: #44403c;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .ha-nav-btn:hover {
        border-color: var(--text-emerald);
        background-color: white;
        color: var(--text-emerald);
    }
    .ha-nav-btn svg { width: 1.25rem; height: 1.25rem; }

    @media (min-width: 768px) {
        .herbal-apothecary-widget { padding: 3rem; }
        .ha-header { flex-direction: row; align-items: flex-end; }
        .ha-header-content { margin-bottom: 0; }
        .ha-header-title { font-size: 36px; }
    }

    /* Slider Viewport */
    .ha-viewport {
        overflow-x: auto;
        scroll-behavior: smooth;
        scroll-snap-type: x mandatory;
        display: flex;
        padding: 1rem 0;
        /* Hide scrollbar */
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    .ha-viewport::-webkit-scrollbar { display: none; }

    .ha-track {
        display: flex;
        gap: var(--gap-mobile);
        width: 100%;
    }

    /* Cards Base */
    .ha-card-wrapper {
        height: 320px; 
        border-radius: 24px;
        overflow: hidden;
        position: relative;
        cursor: pointer;
        scroll-snap-align: start;
        flex-shrink: 0;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        width: calc((100% - var(--gap-mobile)) / 2);
        transform-style: preserve-3d;
        transition: transform 0.15s ease-out, opacity 0.8s ease-out;
        text-decoration: none;
    }

    @media (min-width: 768px) {
        .ha-track { gap: var(--gap-desktop); }
        .ha-card-wrapper { 
            height: 380px; 
            width: calc((100% - (var(--gap-desktop) * 2)) / 3); 
        }
    }
    
    @media (min-width: 1024px) {
        .ha-card-wrapper { width: calc((100% - (var(--gap-desktop) * 3)) / 4); }
    }

    /* Card Image */
    .ha-card-image {
        position: absolute;
        top: 0; left: 0;
        width: 100%; height: 100%;
        object-fit: cover;
        object-position: top;
        transition: transform 1s ease-out;
        z-index: 1;
    }
    .ha-card-wrapper:hover .ha-card-image { transform: scale(1.1); }

    /* Card Overlay */
    .ha-card-overlay {
        position: absolute;
        top: 0; left: 0; width: 100%; height: 100%;
        z-index: 2;
        background: linear-gradient(
            to top, 
            rgba(28, 40, 32, 0.95) 0%, 
            rgba(28, 40, 32, 0.7) 25%, 
            rgba(28, 40, 32, 0) 55%,
            transparent 100%
        );
        transition: opacity 0.5s ease;
    }
    .ha-card-wrapper:hover .ha-card-overlay {
        background: linear-gradient(
            to top, 
            rgba(28, 40, 32, 0.98) 0%, 
            rgba(28, 40, 32, 0.8) 30%, 
            rgba(28, 40, 32, 0) 60%, 
            transparent 100%
        );
    }

    /* Card Content */
    .ha-card-inner {
        position: absolute;
        top: 0; left: 0; width: 100%; height: 100%;
        z-index: 3;
        padding: 1.25rem;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        color: var(--text-light);
        transform: translateZ(35px);
    }
    @media (min-width: 768px) { .ha-card-inner { padding: 2rem; } }

    .ha-card-tag {
        color: var(--brand-green);; 
        font-size: 9px;
        letter-spacing: 0.1em;
        font-weight: 600;
        text-transform: uppercase;
        margin-bottom: 0.375rem;
        opacity: 0.9;
        transition: opacity 0.3s;
    }
    .ha-card-wrapper:hover .ha-card-tag { opacity: 1; }

    .ha-card-title {
        font-size: 1.1rem;
        margin-bottom: 0.25rem;
        letter-spacing: 0.025em;
        color: #ffffff;
    }
    @media (min-width: 768px) {
        .ha-card-title { font-size: 1.3rem; margin-bottom: 0.5rem; }
    }
    @media (min-width: 1024px) {
        .ha-card-title { font-size: 1.5rem; }
    }

    .ha-card-subtitle {
        color: #d6d3d1;
        font-size: 0.75rem;
        font-weight: 300;
        margin-bottom: 0.5rem;
        line-height: 1.6;
        opacity: 0.9;
        transition: color 0.3s;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    @media (min-width: 768px) {
        .ha-card-subtitle { font-size: 0.875rem; -webkit-line-clamp: unset; }
    }
    .ha-card-wrapper:hover .ha-card-subtitle { color: #e7e5e4; }

    .ha-card-link {
        display: inline-flex;
        align-items: center;
        color: var(--brand-green-hover); 
        font-size: 10px;
        font-weight: bold;
        letter-spacing: 0.2em;
        text-transform: uppercase;
        text-decoration: none;
        width: max-content;
        transition: color 0.3s;
    }
    @media (min-width: 768px) { .ha-card-link { font-size: 0.75rem; } }
    
    .ha-card-wrapper:hover .ha-card-link { color: white; }
    
    .ha-card-link svg {
        width: 1rem; height: 1rem;
        margin-left: 0.5rem;
        transition: transform 0.3s ease-out;
    }
    @media (min-width: 768px) { .ha-card-link svg { margin-left: 0.75rem; } }
    .ha-card-wrapper:hover .ha-card-link svg { transform: translateX(8px); }

    /* Keyframes scoped */
    @keyframes ha-fadeIn {
        0% { opacity: 0; transform: translateY(30px); }
        100% { opacity: 1; transform: translateY(0); }
    }

/*------------------Category slider css end  */


/*product grid css sart*/


.s2-grid-section {
max-width: 1400px;
margin: 40px auto;
display: grid;
grid-template-columns: repeat(5, 1fr);
gap: 20px;
padding: 10px 40px;
}

.s2-header-container {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px auto;
    padding: 50px 20px 0px 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.s2-main-heading {
    font-size: 36px;
    font-weight: 700;
    color: #065f46;
    margin: 0 0 16px 0;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.s2-main-subheading {
    font-size: 16px;
    color: #576574;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 767px) {
    .s2-main-heading {
        font-size: 28px;
    }
    .s2-main-subheading {
        font-size: 15px;
    }
    .s2-header-container {
        margin-bottom: 30px;
    }
    .herbal-apothecary-widget{
        padding: 2rem 1rem 0rem 1rem;
        padding: 50px 10px 0px 10px;
    }
    .ha-header{
        flex-direction: row;
        margin-bottom: 1rem;
        padding: 0 0.5rem;
    }
}

.s2-product-card {
background-color: #ffffff;
border: 1px solid #f1f2f6;
border-radius: 12px;
padding: 12px;
transition: transform 0.3s ease, box-shadow 0.3s ease;
position: relative;
display: flex;
flex-direction: column;
justify-content: space-between;
height: 100%;
box-sizing: border-box;
}

.s2-product-card:hover {
transform: translateY(-4px);
box-shadow: 0 10px 25px rgba(0,0,0,0.08);
border-color: #e2e8f0;
}

.s2-img-container {
position: relative;
margin-bottom: 12px;
text-align: center;
border-radius: 8px;
overflow: hidden;
background-color: #f1f2f6;
aspect-ratio: 1 / 1;
}

.s2-product-img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.5s ease;
}

.s2-img-container::after {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(to top, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0) 60%);
opacity: 0;
transition: opacity 0.3s ease;
pointer-events: none;
z-index: 1;
}

.s2-product-card:hover .s2-img-container::after {
opacity: 1;
}

.s2-product-card:hover .s2-product-img {
transform: scale(1.08);
}

.s2-discount-badge {
position: absolute;
top: 10px;
left: 10px;
background-color: var(--brand-green-hover);
color: white;
font-size: 11px;
font-weight: 700;
padding: 3.5px 8px;
border-radius: 4px;
z-index: 2;
}

.s2-heart-btn {
position: absolute;
top: 10px;
right: 10px;
background: rgba(255,255,255,0.9);
border: none;
cursor: pointer;
padding: 6px;
border-radius: 50%;
color: #576574;
transition: transform 0.2s ease, background-color 0.2s ease;
z-index: 2;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.s2-heart-btn:hover {
transform: scale(1.1);
background: #ffffff;
}

.s2-heart-btn.s2-active .s2-heart-icon {
fill: #ff4757;
stroke: #ff4757;
}

.s2-heart-icon {
width: 16px;
height: 16px;
stroke: currentColor;
fill: none;
stroke-width: 2.5;
transition: all 0.2s ease;
}

.s2-product-details {
display: flex;
flex-direction: column;
flex-grow: 1;
}

.s2-product-title {
font-size: 14px;
font-weight: 600;
color: #222f3e;
margin: 0 0 4px 0;
line-height: 1.4;
}

.s2-product-category {
font-size: 12px;
color: #a4b0be;
margin: 0 0 12px 0;
}

.s2-price-wrap {
display: flex;
align-items: baseline;
gap: 6px;
margin-top: auto;
}

.s2-old-price, .s2-old-price span {
font-size: 12px;
color: #a4b0be;
text-decoration: line-through;
}

.s2-new-price, .s2-new-price span {
font-size: 15px;
font-weight: 700;
color: var(--brand-green);
}

a.s2-add-cart-overlay-btn {
position: absolute;
bottom: 12px;
left: 12px;
right: 12px;
background-color: var(--brand-green-hover); !important;
color: #ffffff !important;
border: none;
border-radius: 8px;
padding: 10px 14px;
font-size: 13px;
font-weight: 600;
cursor: pointer;
transform: translateY(150%);
opacity: 0;
transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.3s, background-color 0.2s, color 0.2s;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 8px 20px rgba(0,0,0,0.15);
z-index: 3;
text-decoration: none;
line-height: 1;
}

a.s2-add-cart-overlay-btn:hover {
background-color: #ffffff !important;
color: #222f3e !important;
}

.s2-product-card:hover a.s2-add-cart-overlay-btn {
transform: translateY(0);
opacity: 1;
}

.s2-img-container .added_to_cart {
display: none !important;
}

@media (max-width: 1200px) {
.s2-grid-section { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 992px) {
.s2-grid-section { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 767px) {
.s2-grid-section { grid-template-columns: repeat(2, 1fr); gap: 12px; }
.s2-product-card { padding: 10px; }
a.s2-add-cart-overlay-btn {
padding: 8px 10px;
font-size: 11px;
bottom: 8px;
left: 8px;
right: 8px;
}
.s2-grid-section{
    padding: 10px 20px;
}
}

/*product grid css end*/

/*USP slider css start*/

       .section-wrapper {
        position: relative;
        width: 100%;
        margin: 0 auto;
        padding: 4rem 1rem;
        background-color: #f8fafc;
        font-family: 'Outfit', sans-serif, system-ui, -apple-system;
        -webkit-font-smoothing: antialiased;
        overflow: hidden;
    }

    @media (min-width: 640px) {
        .section-wrapper { padding-left: 1.5rem; padding-right: 1.5rem; padding-top: 5rem; }
    }
    
    @media (min-width: 1024px) {
        .section-wrapper { padding-left: 2rem; padding-right: 2rem; }
    }

    .header-container {
        text-align: center;
        margin-bottom: 1.5rem;
    }

    .header-tag {
        color: #16a34a;
        font-weight: 600;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        font-size: 0.75rem;
        margin-bottom: 0.75rem;
        display: block;
    }

    .header-title {
        font-size: 2rem;
        line-height: 2.25rem;
        font-weight: 700;
        color: #111827;
        margin: 0 0 1rem 0;
        letter-spacing: -0.025em;
    }

    .gradient-text {
        background-image: linear-gradient(to right, #22c55e, #059669);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
    }

    .header-desc {
        max-width: 42rem;
        margin: 0 auto;
        font-size: 1.05rem;
        color: #4b5563;
        line-height: 1.6;
    }

    .slider-container {
        position: relative;
        /* Creates the fade effect on the left and right edges */
        -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
        mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    }

    .marquee-wrapper {
        display: flex;
        gap: 1rem; /* Hardcoded gap instead of variable */
        overflow: hidden;
        padding: 1rem 0 2rem 0;
        user-select: none;
    }

    .marquee-track {
        display: flex;
        gap: 1rem; /* Hardcoded gap instead of variable */
        flex-shrink: 0;
        min-width: 100%;
        /* 40s speed hardcoded instead of variable */
        animation: scroll-left-mobile 40s linear infinite;
    }

    /* Desktop overrides for gaps and animation offsets */
    @media (min-width: 768px) {
        .marquee-wrapper, .marquee-track {
            gap: 1.25rem;
        }
        .marquee-track {
            animation: scroll-left-desktop 40s linear infinite;
        }
    }

    /* Pause animation on hover or touch */
    .marquee-wrapper:hover .marquee-track {
        animation-play-state: paused;
    }

    @keyframes scroll-left-mobile {
        from {
            transform: translateX(0);
        }
        to {
            /* Shifts left by 100% of the track width PLUS the 1rem gap */
            transform: translateX(calc(-100% - 1rem));
        }
    }

    @keyframes scroll-left-desktop {
        from {
            transform: translateX(0);
        }
        to {
            /* Shifts left by 100% of the track width PLUS the 1.25rem gap */
            transform: translateX(calc(-100% - 1.25rem));
        }
    }

    .usp-slider-item {
        flex-shrink: 0;
        width: 250px;
        height: 110px;
        /*background-color: #e5e7eb;*/
        background-color: #fff;
        border-radius: 1rem;
        box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
        transition: all 0.4s ease;
        position: relative;
        overflow: hidden;
        cursor: pointer;
    }

    .usp-slider-item:hover {
        box-shadow: 0 12px 20px -3px rgba(0,0,0,0.15), 0 4px 6px -2px rgba(0,0,0,0.05);
        transform: translateY(-4px);
    }

    .item-image {
        width: 100%;
        height: 100%;
        object-fit: contain;
        transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        pointer-events: none;
    }

    .usp-slider-item:hover .item-image {
        transform: scale(1.06);
    }
    
    .mobile-hint {
        margin-top: 0.5rem;
        display: flex;
        justify-content: center;
        align-items: center;
        color: #9ca3af;
        font-size: 0.875rem;
    }

/*USP slider css Ends*/


/*video section css start */

.vidsec-wrapper {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            background-color: #f8fafc;
            padding: 40px 20px;
            box-sizing: border-box;
            width: 100%;
        }

        .vidsec-wrapper * {
            box-sizing: border-box;
        }

        .vidsec-container {
            max-width: 1400px;
            margin: 0 auto;
        }

        .vidsec-grid {
            display: grid;
            /* 4 columns on desktop */
            grid-template-columns: repeat(4, 1fr);
            gap: 24px;
            width: 100%;
        }

        .vidsec-card {
            background: #ffffff;
            border-radius: 16px; /* Replaced var(--vidsec-card-radius) */
            overflow: hidden;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            display: flex;
            flex-direction: column;
            position: relative;
        }

        .vidsec-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
        }

        .vidsec-media-container {
            position: relative;
            width: 100%;
            /* Taller aspect ratio for a more elegant look */
            aspect-ratio: 4 / 5;
            overflow: hidden;
        }

        .vidsec-video {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.7s ease;
        }

        .vidsec-card:hover .vidsec-video {
            transform: scale(1.05);
        }

        /* Gradient overlay for bottom text readability */
        .vidsec-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            /*height: 60%;*/
            height: 100%;
            background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.5) 50%, transparent 100%);
            z-index: 5;
            pointer-events: none; /* Let clicks pass through */
        }

        .vidsec-content-box {
            position: absolute;
            bottom: 0; /* Align to very bottom */
            left: 0;
            right: 0;
            padding: 24px 20px;
            z-index: 10;
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            /* Removed white background and border */
        }

        .vidsec-title {
            font-size: 1.1rem;
            font-weight: 400;
            color: #ffffff; /* Changed to white */
            margin: 0 0 6px 0;
            line-height: 1.3;
            /* Small accent line changed to white */
            border-left: 2px solid #ffffff;
            padding-left: 10px;
            text-shadow: 0 2px 4px rgba(0,0,0,0.5);
        }

        .vidsec-desc {
            font-size: 0.8rem;
            color: rgba(255, 255, 255, 0.9);
            margin: 0;
            line-height: 1.5;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
            text-shadow: 0 1px 2px rgba(0,0,0,0.5);
        }

        .vidsec-play-icon {
            position: absolute;
            top: 16px;
            right: 16px;
            width: 32px;
            height: 32px;
            background: rgba(0,0,0,0.4);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 5;
            backdrop-filter: blur(4px);
        }
        
        .vidsec-play-icon::after {
            content: '';
            width: 0;
            height: 0;
            border-top: 6px solid transparent;
            border-bottom: 6px solid transparent;
            border-left: 10px solid white;
            margin-left: 3px;
        }

        @media (max-width: 1024px) {
            .vidsec-grid {
                grid-template-columns: repeat(3, 1fr);
            }
            .vidsec-card:nth-child(4) {
                display: none; /* Hide 4th on tablet to keep grid clean, or adjust as needed */
            }
        }

        /* Mobile requirement: 2 videos in a row */
        @media (max-width: 768px) {
            .vidsec-wrapper {
                padding: 24px 12px;
            }
            .vidsec-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 12px; /* Smaller gap on mobile */
            }
            .vidsec-card:nth-child(4) {
                display: flex; /* Bring back 4th on mobile */
            }
            
            .vidsec-media-container {
                aspect-ratio: 1 / 1; /* Squarer ratio on mobile */
            }

            .vidsec-content-box {
                padding: 16px 12px;
            }

            .vidsec-title {
                font-size: 0.95rem;
                margin-bottom: 4px;
                padding-left: 8px;
            }

           /* .vidsec-desc {
                display: none; 
            }*/
            
            .vidsec-play-icon::after {
                border-top: 4px solid transparent;
                border-bottom: 4px solid transparent;
                border-left: 7px solid white;
            }
             .vidsec-card {
                border-radius: 2px;
             }
        }

        @media (max-width: 400px) {
            .vidsec-grid {
                /* Even on very small screens, keep 2 columns but stack content if too cramped */
                gap: 8px;
            }
        }

/*video section css end*/