:root {
    --primary: #E8B4B8;
    --secondary: #F5E5E7;
    --accent: #A49393;
    --dark: #2D2D2D;
    --light: #FAF6F6;
}

body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    scroll-behavior: smooth;
    background-color: var(--light);
    color: var(--dark);
}

.text-gray-600 {
    color: #4B4B4B; /* Slightly darker gray for better contrast */
}

.text-gray-700 {
    font-size: 14px;
    color: #333;
    margin-left: 10px;  /* Memberikan jarak antara ikon dan teks */
    margin-top: 8px;    /* Geser teks sedikit ke bawah */
}

.text-4xl {
    font-size: 2.25rem; /* Adjusted to be slightly larger for better impact */
}

.text-5xl {
    font-size: 3rem; /* Larger size for even more visual impact on the headline */
}

.leading-tight {
    line-height: 1.2; /* Tighter line-height for a more compact and polished feel */
}

.leading-relaxed {
    line-height: 1.6; /* Ensures readability and space between lines of text */
}

.font-bold {
    font-weight: 700;
}

.logo-scroll-container {
    border-top: 1px solid rgba(0,0,0,0.05);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.logo-scroll-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 1.5rem 0;
}

.logo-scroll {
    display: flex;
    align-items: center;
    width: max-content;
    animation: scroll 30s linear infinite;
    gap: 20px
}

.logo-scroll:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.logo-item {
    transition: all 0.3s ease;
    filter: grayscale(100%);
    opacity: 0.7;
    flex-shrink: 0;
}

.logo-item:hover {
    transform: scale(1.1);
    filter: grayscale(0%);
    opacity: 1;
}

.hero-section {
    background: linear-gradient(135deg, var(--secondary) 0%, white 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(232,180,184,0.1) 0%, rgba(255,255,255,0) 70%);
    z-index: 0;
}

.product-card {
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: white;
    min-height: 380px;  /* Ukuran produk */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: 10px;
    padding: 10px;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.product-image {
    transition: all 0.5s ease;
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.product-card:hover .product-image-primary {
    opacity: 0;
}

.product-card:hover .product-image-secondary {
    opacity: 1;
}

.product-image-primary {
    position: relative;
    opacity: 1;
}

.product-image-secondary {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.product-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);  /* Membuat 4 kolom dalam satu baris */
    gap: 20px;  /* Jarak antar produk */
    margin-bottom: 20px; /* Jarak bawah */
}

.price-container {
    font-family: Arial, sans-serif;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.price-discount-container {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.price-original {
    text-decoration: line-through;
    color: #888;
    font-size: 16px;
}

.price-discount {
    color: #e74c3c;
    font-size: 18px;
    font-weight: bold;
}

.discount-percent {
    background-color: #f39c12;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
    margin-left: 8px;
}


/* Tombol CTA */
.btn-primary {
    background: var(--primary);
    color: white;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background: #D9A2A6;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(232, 180, 184, 0.4);
}

/* Ubah tombol outline untuk kontras lebih tinggi */
.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.floating {
    animation: floating 4s ease-in-out infinite;
    -webkit-animation: floating 4s ease-in-out infinite;
}

@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.fade-in {
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.rotate {
    animation: rotate 15s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.testimonial-card {
    transition: all 0.3s ease;
    background: white;
    border-radius: 12px;
    overflow: hidden;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

.nav-link {
    position: relative;
    display: inline-block;
    font-size: 16px;
    font-weight: 500;
    color: #333; /* Default text color */
    text-decoration: none;
    padding-bottom: 6px;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary); /* Accent color for underline */
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Basic styling for the menu */
#mobile-menu {
    position: absolute;
    top: 60px;  /* Position from the top */
    right: 10px; /* Position from the right */
    width: 250px; /* Width of mobile menu */
    background-color: #fff;
    border-radius: 8px;  /* Rounded corners for modern look */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);  /* Subtle shadow for pop-up effect */
    z-index: 9999;
    transition: transform 0.3s ease;  /* Smooth transition */
}

/* For the menu links */
.menu-link {
    display: block;
    padding: 16px 20px;
    color: #333; /* Dark text color for readability */
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.3s ease, padding-left 0.3s ease;
    border-radius: 6px;  /* Rounded corners for mobile items */
}

/* Hover effect */
.menu-link:hover {
    background-color: #FF6F61;  /* Accent hover color for better visibility */
    color: white;  /* White text when hovered */
    padding-left: 25px;  /* Slight padding on hover for better spacing */
}

/* Mobile Button (hamburger menu) */
#mobile-menu-button {
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
}

/* Mobile button icon */
#mobile-menu-button i {
    color: #333;
}

/* Fokus dan hover untuk tautan menu */
.nav-link, .menu-link {
    position: relative;
    display: inline-block;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    padding-bottom: 6px;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.nav-link:focus, .menu-link:focus {
    outline: 3px solid var(--primary);  /* Tambahkan outline yang jelas saat menu mendapat fokus */
}

/* Hover dan Fokus pada tombol */
.btn-primary:focus, .btn-outline:focus {
    outline: 3px solid var(--primary);  /* Garis fokus yang lebih tegas */
}


/* Menu link icon styling */
.fas {
    margin-right: 10px;
}

/* Styling the hover effect for smooth transition */
.menu-link:hover i {
    transform: rotate(45deg);
    /*Optional: Rotate the icon when hovering */;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
}

/* Testimonial Section */
#testimonials {
    padding-top: 60px;
    padding-bottom: 60px;
    background-color: #F9F9F9;
}

.carousel-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.testimonial-card {
    padding: 20px;
    width: 100%; /* Full width for each testimonial on mobile */
}

/* Adjust for Larger Screens (MacBook Air Screen Width) */
@media (min-width: 1024px) and (max-width: 1440px) {
    /* Hero Section */
    .hero-section {
        background: linear-gradient(135deg, var(--secondary) 0%, white 100%);
        padding: 50px 20px;
    }

    .hero-section::before {
        top: -30%;
        right: -30%;
    }

    /* Product Card Grid */
    .product-container {
        display: grid;
        grid-template-columns: repeat(3, 1fr);  /* 3 columns for MacBook Air */
        gap: 20px;
        margin-bottom: 20px;
    }

    .product-card {
        transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
        position: relative;
        overflow: hidden;
        border-radius: 12px;
        background: white;
        min-height: 380px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        margin: 10px;
        padding: 20px;
    }

    /* Price Display */
    .price-container {
        display: flex;
        align-items: center;
        gap: 15px;
    }

    .price-discount {
        color: #e74c3c;
        font-size: 20px;
        font-weight: bold;
    }

    .price-original {
        text-decoration: line-through;
        color: #888;
        font-size: 16px;
    }

    .discount-percent {
        background-color: #f39c12;
        color: white;
        padding: 7px 15px;
        border-radius: 5px;
        font-size: 16px;
        margin-left: 15px;
    }

    /* Menu Links */
    .menu-link {
        font-size: 16px;
        padding: 12px 20px;
    }

    /* Buttons */
    .btn-primary {
        background: var(--primary);
        padding: 12px 30px;
    }

    .btn-primary:hover {
        background: #D9A2A6;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(232, 180, 184, 0.4);
    }

    /* Mobile Menu (on larger screens, the mobile menu will adapt too) */
    #mobile-menu {
        width: 300px;
        top: 50px;
    }

    /* Tab Content */
    .tab-content {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        display: flex;
        flex-wrap: nowrap;
        gap: 16px;
        padding: 20px;
    }

    .product-card {
        width: 300px;
    }

    .carousel-wrapper {
        display: grid;
        grid-template-columns: repeat(3, 1fr); /* Show 3 testimonials */
        gap: 20px;
    }

    .testimonial-card {
        width: 100%; /* Each testimonial takes full space in its grid cell */
    }

    /* Ensure the content is properly centered */
    #testimonialCarousel {
        overflow: hidden;
    }
}

/* Media Query for Tablets (Max-width: 768px) */
@media (max-width: 768px) {
    #mobile-menu {
        width: 200px;  /* Adjust width for smaller screens */
        top: 50px; /* Adjust top for smaller screens */
        right: 5px;  /* Adjust right padding for smaller screens */
    }

    .menu-link {
        font-size: 14px;  /* Adjust font size for smaller devices */
        padding: 10px 18px;  /* Adjust padding for better spacing */
    }

    /* Mobile Menu Button */
    #mobile-menu-button i {
        font-size: 24px; /* Adjust icon size for smaller devices */
    }

    .tab-content {
        overflow-x: auto;  /* Allow horizontal scroll */
        scroll-behavior: auto; /* Remove smooth scrolling for jump effect */
        -webkit-overflow-scrolling: touch;
        display: flex;
        flex-wrap: nowrap;
        gap: 16px;
        padding: 0;
        margin-bottom: 20px;
    }
    
    .tab-content .grid {
        display: flex;
        flex-wrap: nowrap;
        gap: 16px;
        padding: 0px;
        margin-bottom: 20px;
    }
    
    .tab-content .product-card {
        min-width: 320px;
        flex-shrink: 0;
        margin: 0 10px; /* Add a little margin around each product card */
        transition: transform 0.4s ease; 
    }
    
    /* Hide scrollbar but keep functionality */
    .tab-content::-webkit-scrollbar {
        display: none;
    }
    
    .tab-content {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    /* Container for the tab-content that holds the products */
    .tab-content.active {
        display: flex;                    /* Align product cards in a row */
        overflow-x: auto;                 /* Allow horizontal scrolling */
        -webkit-overflow-scrolling: touch; /* Smooth scrolling for iOS */
        scroll-behavior: smooth;          /* Smooth scrolling */
        width: 100%;                      /* Ensure it takes full width */
        padding-bottom: 10px;             /* Small space at the bottom */
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        justify-content: center; /* pastikan konten rata tengah */
    }

    .tab-content.active::before,
    .tab-content.active::after {
        content: "";
        flex: 0 0 1rem; /* atau bisa juga pakai margin */
    }


    .product-container {
        display: flex;
        flex-wrap: nowrap; /* Ensure product cards are in a single row */
        gap: 15px;         /* Space between product cards */
        overflow-x: auto;  /* Allow horizontal scrolling */
        scroll-snap-type: x mandatory; /* Enable horizontal scroll snapping */
        -webkit-overflow-scrolling: touch; /* Smooth scrolling for iOS */
        width: 100%; /* Ensure it stretches across the container */
    }
    
    .product-card {
        flex: 0 0 auto;                /* Prevent wrapping, keep products in one line */
        width: 280px;                  /* Adjust product card width */
        margin-right: 20px;            /* Space between product cards */
        max-width: 100%;               /* Ensure product card does not overflow */
        position: relative;
        scroll-snap-align: center;
        scroll-snap-stop: always;
    }


    /* Optional: Style the scrollbar */
    .tab-content.active::-webkit-scrollbar {
        height: 8px;
        display: none;
    }

    .tab-content.active::-webkit-scrollbar-thumb {
        background: #888;
        border-radius: 4px;
    }

    .tab-content.active::-webkit-scrollbar-track {
        background: #f1f1f1;
    }


    .product-card {
        width: 280px;  /* Atur lebar produk agar konsisten di tablet dan mobile */
    }

    .discount-percent {
        font-size: 15px; /* Even smaller font size for mobile */
        margin-left: 0; /* Remove margin on mobile */
        margin-top: 5px; /* Add a little space above */
        padding: 3px 7px; /* Adjust padding for better appearance on mobile */
    }

    .carousel-wrapper {
        display: flex;
        flex-direction: column; /* Stack testimonials vertically on mobile */
        gap: 20px;
    }

    .testimonial-card {
        width: 100%; /* Full width for each testimonial on mobile */
    }

    #testimonialCarousel {
        overflow: hidden; /* Hide excess content */
    }

    .testimonial-slide {
        flex: 0 0 100%;
        transition: opacity 0.5s ease;
    }
    
    /* Hide all slides by default */
    .testimonial-slide {
        display: none;
    }
    
    /* Only show active slide */
    .testimonial-slide.active {
        display: block;
    }
    
    /* Active dot indicator */
    .dot-button.active {
        background-color: #4F46E5; /* Use your primary color */
    }
    .testimonial-card {
        display: none;
    }

    /* Only the active testimonial will be shown */
    .testimonial-card.active {
        display: block;
    }

    .testimonial-card {
        min-width: 100%;
        display: block;
        background-color: white;
        border-radius: 8px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease-in-out;
    }

    .testimonial-slide {
        flex: 0 0 100%;
    }
}

/* Media Query for Mobile Devices (Max-width: 480px) */
@media (max-width: 480px) {
    #mobile-menu {
        width: 180px;  /* Adjust width further for small mobile screens */
    }

    .menu-link {
        font-size: 12px;  /* Smaller font size for small screens */
        padding: 8px 16px;  /* Smaller padding */
    }

    /* Mobile Menu Button */
    #mobile-menu-button i {
        font-size: 20px; /* Adjust icon size for mobile */
    }

    .discount-percent {
        font-size: 15px; /* Even smaller font size for mobile */
        margin-left: 0; /* Remove margin on mobile */
        margin-top: 5px; /* Add a little space above */
        padding: 3px 7px; /* Adjust padding for better appearance on mobile */
    }
}

.whatsapp-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    z-index: 100;
    animation: pulse 2s infinite;
    transition: all 0.3s ease;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}

.trust-badge {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0,0,0,0.05);
    padding: 0.75rem 1.25rem;
}

.ingredient-card {
    transition: all 0.4s ease;
    background: white;
    backdrop-filter: blur(5px);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.ingredient-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,0,0,0.05), transparent);
    margin: 4rem auto;
    max-width: 1200px;
}

/* New styles for product tabs */
.product-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.product-tab {
    padding: 1rem 2rem;
    cursor: pointer;
    font-weight: 500;
    color: #6B7280;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    position: relative;
    font-size: 0.95rem;
    text-transform: uppercase;
}

.product-tab:hover {
    color: var(--primary);
}

.product-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block !important;
    animation: fadeIn 0.5s ease-in;
}

.tab-content.hidden {
    display: none !important;  /* Menyembunyikan konten yang tidak aktif */
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(232, 180, 184, 0.95);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    padding: 2rem;
    text-align: center;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.go-to-product {
    background: white;
    color: var(--primary);
    padding: 0.75rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    margin-top: 1rem;
    transition: all 0.4s ease;
    transform: translateY(20px);
    opacity: 0;
    letter-spacing: 0.5px;
    border: none;
    cursor: pointer;
}

.product-card:hover .go-to-product {
    transform: translateY(0);
    opacity: 1;
    transition-delay: 0.2s;
}

.quick-view {
    position: absolute;
    top: 15px;
    right: -50px;
    background: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    color: var(--accent);
    cursor: pointer;
}

.product-card:hover .quick-view {
    right: 15px;
}

.price-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: 600;
    color: var(--dark);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 2;
}

.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50%;
    height: 3px;
    background: var(--primary);
}

.benefit-card {
    transition: all 0.4s ease;
    border-radius: 12px;
    overflow: hidden;
    background: white;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.footer-link {
    position: relative;
    transition: all 0.3s ease;
    font-size: 14px;
    color:#888;
}

.footer-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.footer-link:hover::after {
    width: 100%;
}

.social-icon {
    transition: all 0.3s ease;
    font-size: 18px;
    color:#fff;
}

.social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.back-to-top {
    transition: all 0.3s ease;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #D9A2A6;
}

/* Floating decorative elements */
.floating-element {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    z-index: -1;
}

.floating-element-1 {
    width: 300px;
    height: 300px;
    background: var(--primary);
    top: -100px;
    left: -100px;
    animation: float 15s ease-in-out infinite;
}

.floating-element-2 {
    width: 200px;
    height: 200px;
    background: var(--accent);
    bottom: -50px;
    right: -50px;
    animation: float 12s ease-in-out infinite reverse;
}

@keyframes float {
    0% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(20px, 20px) rotate(10deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

.instagram-post {
transition: all 0.3s ease;
}

.instagram-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(232, 180, 184, 0.3);
}

.play-button {
    transition: all 0.3s ease;
    transform: scale(1);
}

.instagram-post:hover .play-button {
    transform: scale(1.1);
    background-color: rgba(255,255,255,0.95);
}

.instagram-overlay {
    backdrop-filter: blur(2px);
}

/* ===== KUSTOMISASI WIDGET ===== */
.elfsight-app-xxxxxx {
--ig-primary: #E8B4B8 !important;
--ig-secondary: #F5E5E7 !important;
--ig-accent: #A49393 !important;
}

/* Header */
.elfsight-app-xxxxxx .eapp-instagram-feed-header { 
    background-color: var(--ig-primary) !important; 
    border-radius: 1000px 1000px 0 0 !important; 
    -webkit-border-radius: 1000px 1000px 0 0 !important; 
    -moz-border-radius: 1000px 1000px 0 0 !important; 
    -ms-border-radius: 1000px 1000px 0 0 !important; 
    -o-border-radius: 1000px 1000px 0 0 !important;
}

/* Post Hover Effect */
.elfsight-app-xxxxxx .eapp-instagram-feed-item:hover {
transform: translateY(-5px) !important;
box-shadow: 0 8px 20px rgba(232, 180, 184, 0.3) !important;
}

/* Like/Comment Buttons */
.elfsight-app-xxxxxx .eapp-instagram-feed-item-controls svg {
fill: var(--ig-primary) !important;
}

/* Load More Button */
.elfsight-app-xxxxxx .eapp-instagram-feed-load-more {
background: var(--ig-primary) !important;
border-color: var(--ig-primary) !important;
}

/* Footer Follow Button */
.elfsight-app-xxxxxx .eapp-instagram-feed-footer-button {
background: var(--ig-primary) !important;
color: white !important;
}

/* Grid Layout Adjustment */
.elfsight-app-xxxxxx .eapp-instagram-feed-container {
background: #FAF6F6 !important;
padding: 15px !important;
border-radius: 12px !important;
}

/* Slideshow styles */
.slideshow-container {
    position: relative;
    max-width: 100%;
}

.mySlides1, .mySlides2 {
    display: none;
}

/* Ensure the images cover the container without distortion */
.mySlides1 img {
    width: 100%;           /* Make the image take up the full width */
    height: 100%;          /* Make the image take up the full height */
    object-fit: cover;     /* Ensure the image fills the container and crops if necessary */
}

.mySlides2 img {
    width: 100%;           /* Make the image take up the full width */
    height: 100%;          /* Make the image take up the full height */
    object-fit: cover;
}

.fade {
    animation-name: fade;
    animation-duration: 1.5s;
    animation-timing-function: ease-in-out;
}

/* Slide transition */
@keyframes fade {
    from {opacity: 0}
    to {opacity: 1}
}

/* For "Backed by Science" Slideshow */
.backed-science-slides .mySlides1 {
    display: block;
}

/* For "Benefits Section" Slideshow */
.benefits-slides .mySlides2 {
    display: block;
}
