/*
Custom Css
*/
.features-section {
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            overflow: hidden;
            position: relative;
        }
        
        .features-section::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -50%;
            width: 100%;
            height: 100%;
            background: radial-gradient(circle, rgba(67, 97, 238, 0.05) 0%, transparent 70%);
            z-index: 0;
        }
        
        .feature-card {
            transition: all 0.4s ease;
            border-radius: 15px;
            overflow: hidden;
            position: relative;
            z-index: 1;
            background: white;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        }
        
        .feature-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
        }
        
        .feature-icon {
            transition: all 0.5s ease;
            display: inline-block;
        }
        
        .feature-card:hover .feature-icon {
            transform: scale(1.1) rotate(5deg);
        }
        
        .check-item {
            transition: all 0.3s ease;
            padding: 8px 0;
            border-radius: 8px;
        }
        
        .check-item:hover {
            background-color: rgba(35, 0, 161, 0.781);
            padding-left: 10px;
        }
        
        .animate-fade-in {
            opacity: 0;
            transform: translateY(30px);
            animation: fadeInUp 0.8s ease forwards;
        }
        
        .animate-fade-in.delay-1 {
            animation-delay: 0.2s;
        }
        
        .animate-fade-in.delay-2 {
            animation-delay: 0.4s;
        }
        
        .animate-fade-in.delay-3 {
            animation-delay: 0.6s;
        }
        
        @keyframes fadeInUp {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        .pulse-animation {
            animation: pulse 2s infinite;
        }
        
        @keyframes pulse {
            0% {
                box-shadow: 0 0 0 0 rgba(67, 97, 238, 0.4);
            }
            70% {
                box-shadow: 0 0 0 15px rgba(67, 97, 238, 0);
            }
            100% {
                box-shadow: 0 0 0 0 rgba(67, 97, 238, 0);
            }
        }
        
        .highlight-text {
            position: relative;
            display: inline-block;
        }
        
        .highlight-text::after {
            content: '';
            position: absolute;
            bottom: 0.1px;
            left: 0;
            width: 100%;
            height: 2px;
            background-color: rgba(35, 0, 161, 0.781);
            z-index: -1;
            transition: all 0.3s ease;
        }
        
        .highlight-text:hover::after {
            height: 50px;
            background-color: rgba(35, 0, 161, 0.781);
        }


/* Categori Produk */
/* Enhanced Categories Section Styles */
        .categories-section {
            background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
            position: relative;
            overflow: hidden;
        }
        
        .categories-section::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
            animation: rotate 30s linear infinite;
        }
        
        @keyframes rotate {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
        
        .category-card {
            position: relative;
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            cursor: pointer;
            background: white;
            border-radius: 20px;
            padding: 2rem;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            overflow: hidden;
        }
        
        .category-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(25,135,84,0.1) 0%, rgba(25,135,84,0.05) 100%);
            opacity: 0;
            transition: opacity 0.4s ease;
        }
        
        .category-card:hover::before {
            opacity: 1;
        }
        
        .category-card:hover {
            transform: translateY(-15px) scale(1.02);
            box-shadow: 0 20px 40px rgba(25,135,84,0.2);
        }
        
        .category-image-wrapper {
            position: relative;
            overflow: hidden;
            border-radius: 50%;
            margin: 0 auto;
            width: 250px;
            height: 250px;
            border: 5px solid #fff;
            box-shadow: 0 10px 25px rgba(0,0,0,0.15);
            transition: all 0.4s ease;
        }
        
        .category-card:hover .category-image-wrapper {
            border-color: #0061c7;
            box-shadow: 0 15px 35px rgba(31, 35, 252, 0.3);
            transform: scale(1.05) rotate(5deg);
        }
        
        .category-image-wrapper img {
            transition: all 0.6s ease;
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .category-card:hover .category-image-wrapper img {
            transform: scale(1.15);
        }
        
        .category-title {
            font-size: 1.5rem;
            font-weight: 700;
            color: #333;
            margin-top: 1.5rem;
            margin-bottom: 1rem;
            position: relative;
            display: inline-block;
            transition: all 0.3s ease;
        }
        
        .category-title::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 50%;
            transform: translateX(-50%) scaleX(0);
            width: 80%;
            height: 3px;
            background: linear-gradient(90deg, #0061c7, #0061c7);
            transition: transform 0.3s ease;
        }
        
        .category-card:hover .category-title {
            color: #0061c7;
        }
        
        .category-card:hover .category-title::after {
            transform: translateX(-50%) scaleX(1);
        }
        
        .category-btn {
            position: relative;
            overflow: hidden;
            padding: 12px 40px;
            font-weight: 600;
            border-radius: 50px;
            transition: all 0.3s ease;
            border: 2px solid #1815b9 !important;
            background: #423fff !important;
            color: white !important;
            text-transform: uppercase;
            letter-spacing: 1px;
            font-size: 0.9rem;
        }
        
        .category-btn::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            border-radius: 50%;
            background: rgba(255,255,255,0.3);
            transform: translate(-50%, -50%);
            transition: width 0.6s, height 0.6s;
        }
        
        .category-btn:hover::before {
            width: 300px;
            height: 300px;
        }
        
        .category-btn:hover {
            transform: scale(1.05);
            box-shadow: 0 10px 25px rgba(37, 69, 216, 0.4);
        }
        
        .category-icon {
            position: absolute;
            font-size: 100px;
            opacity: 0.03;
            transition: all 0.5s ease;
        }
        
        .category-icon-1 { top: -20px; right: -20px; }
        .category-icon-2 { top: -30px; right: -30px; }
        .category-icon-3 { top: -25px; right: -25px; }
        
        .category-card:hover .category-icon {
            transform: rotate(15deg) scale(1.2);
            opacity: 0.06;
        }
        
        /* Staggered animation on load */
        .category-card {
            opacity: 0;
            animation: fadeInUp 0.8s ease forwards;
        }
        
        .category-card:nth-child(1) { animation-delay: 0.1s; }
        .category-card:nth-child(2) { animation-delay: 0.3s; }
        .category-card:nth-child(3) { animation-delay: 0.5s; }
        
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        .section-title {
            font-size: 2.5rem;
            font-weight: 800;
            background: linear-gradient(135deg, #1d19c5 0%, #872ce0 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 1rem;
            animation: fadeInDown 0.8s ease;
        }
        
        @keyframes fadeInDown {
            from {
                opacity: 0;
                transform: translateY(-30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        .section-subtitle {
            color: #666;
            font-size: 1.1rem;
            animation: fadeIn 1s ease;
            animation-delay: 0.3s;
            opacity: 0;
            animation-fill-mode: forwards;
        }
        
        @keyframes fadeIn {
            to { opacity: 1; }
        }

/* WhatsApp Button Styles */
        .whatsapp-button {
            position: fixed;
            bottom: 25px;
            right: 25px;
            width: 60px;
            height: 60px;
            background-color: #25D366;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
            z-index: 1000;
            transition: all 0.3s ease;
            animation: pulse 2s infinite;
        }
        
        .whatsapp-button:hover {
            transform: scale(1.1);
            box-shadow: 0 6px 16px rgba(37, 211, 102, 0.6);
        }
        
        .whatsapp-button i {
            color: white;
            font-size: 32px;
        }
        
        /* Pulse animation */
        @keyframes pulse {
            0% {
                box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
            }
            70% {
                box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
            }
            100% {
                box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
            }
        }
        
        /* Tooltip styling */
        .whatsapp-tooltip {
            position: absolute;
            right: 70px;
            background-color: #333;
            color: white;
            padding: 8px 12px;
            border-radius: 4px;
            font-size: 14px;
            white-space: nowrap;
            opacity: 0;
            transform: translateX(10px);
            transition: all 0.3s ease;
            pointer-events: none;
        }
        
        .whatsapp-button:hover .whatsapp-tooltip {
            opacity: 1;
            transform: translateX(0);
        }
        
        /* Responsive adjustments */
        @media (max-width: 768px) {
            .whatsapp-button {
                width: 55px;
                height: 55px;
                bottom: 20px;
                right: 20px;
            }
            
            .whatsapp-button i {
                font-size: 28px;
            }
            
            .whatsapp-tooltip {
                font-size: 12px;
                padding: 6px 10px;
            }
        }

/* Start Gallery */
.gallery-section {
            padding: 80px 0;
            background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
        }
        
        /* Lightbox Modal Styles - Fixed Version */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    animation: fadeIn 0.3s ease;
    overflow: hidden;
}

.lightbox-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-container {
    position: relative;
    width: 90%;
    max-width: 1200px;
    height: 90vh;
    display: flex;
    flex-direction: column;
    animation: zoomIn 0.3s ease;
}

.lightbox-content-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-image-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #000;
    position: relative;
}

.lightbox-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.lightbox-caption {
    background: white;
    padding: 20px;
    border-top: 1px solid #eee;
    text-align: center;
}

.lightbox-caption h5 {
    margin: 0 0 8px 0;
    font-size: 1.4rem;
    font-weight: 600;
    color: #2c3e50;
}

.lightbox-caption p {
    margin: 0;
    font-size: 1rem;
    color: #6c757d;
    line-height: 1.5;
}

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 15px;
    color: white;
    font-size: 35px;
    font-weight: 300;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.6);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    z-index: 10;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.lightbox-close:hover {
    background: rgba(255, 0, 0, 0.7);
    transform: rotate(90deg);
    border-color: rgba(255, 255, 255, 0.6);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 15px;
    user-select: none;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.3);
    z-index: 10;
}

.lightbox-nav:hover {
    background: rgba(25, 135, 84, 0.8);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes zoomIn {
    from { 
        transform: scale(0.8);
        opacity: 0;
    }
    to { 
        transform: scale(1);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .lightbox-container {
        width: 95%;
        height: 85vh;
    }
    
    .lightbox-nav {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .lightbox-close {
        width: 45px;
        height: 45px;
        font-size: 30px;
    }
    
    .lightbox-caption {
        padding: 15px;
    }
    
    .lightbox-caption h5 {
        font-size: 1.2rem;
    }
    
    .lightbox-caption p {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .lightbox-container {
        width: 98%;
        height: 80vh;
    }
    
    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 18px;
        padding: 10px;
    }
    
    .lightbox-prev {
        left: 10px;
    }
    
    .lightbox-next {
        right: 10px;
    }
    
    .lightbox-close {
        width: 40px;
        height: 40px;
        font-size: 25px;
        top: 10px;
        right: 10px;
    }
}

/* Prevent body scroll when lightbox is open */
body.lightbox-open {
    overflow: hidden;
}
        
        .gallery-item {
            cursor: pointer;
        }
        
        .zoom-icon {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) scale(0);
            width: 60px;
            height: 60px;
            background: rgba(255, 255, 255, 0.9);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            z-index: 10;
        }
        
        .zoom-icon i {
            font-size: 24px;
            color: #4a22d1;
        }
        
        .gallery-item:hover .zoom-icon {
            transform: translate(-50%, -50%) scale(1);
        }
        
        .gallery-header {
            text-align: center;
            margin-bottom: 60px;
        }
        
        .gallery-header h2 {
            font-size: 2.5rem;
            font-weight: 700;
            color: #2c3e50;
            margin-bottom: 15px;
            position: relative;
            display: inline-block;
        }
        
        .gallery-header h2::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: linear-gradient(90deg, #1e1ac5, #7529dc);
            border-radius: 2px;
        }
        
        .gallery-header p {
            color: #6c757d;
            font-size: 1.1rem;
            margin-top: 25px;
        }
        
        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 25px;
            margin-bottom: 40px;
        }
        
        .gallery-item {
            cursor: pointer;
            position: relative;
            overflow: hidden;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            background: white;
            height: 320px;
        }
        
        .gallery-item:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
        }
        
        .gallery-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        
        .gallery-item:hover img {
            transform: scale(1.1);
        }
        
        .gallery-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
            opacity: 0;
            transition: opacity 0.4s ease;
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            padding: 25px;
        }
        
        .gallery-item:hover .gallery-overlay {
            opacity: 1;
        }
        
        .gallery-overlay h5 {
            color: white;
            font-weight: 600;
            margin-bottom: 8px;
            transform: translateY(20px);
            transition: transform 0.4s ease 0.1s;
        }
        
        .gallery-item:hover .gallery-overlay h5 {
            transform: translateY(0);
        }
        
        .gallery-overlay p {
            color: #e0e0e0;
            font-size: 0.9rem;
            margin: 0;
            transform: translateY(20px);
            transition: transform 0.4s ease 0.2s;
        }
        
        .gallery-item:hover .gallery-overlay p {
            transform: translateY(0);
        }
        
        .view-more-btn {
            text-align: center;
            margin-top: 30px;
        }
        
        .view-more-btn a {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 15px 40px;
            background: linear-gradient(135deg, #7529dc 0%, #1e1ac5 100%);
            color: white;
            text-decoration: none;
            border-radius: 50px;
            font-weight: 600;
            font-size: 1.1rem;
            transition: all 0.3s ease;
            box-shadow: 0 5px 15px rgba(25, 135, 84, 0.3);
        }
        
        .view-more-btn a:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(25, 135, 84, 0.4);
            background: linear-gradient(135deg, #1e1ac5 0%, #7529dc 100%);
        }
        
        .view-more-btn i {
            transition: transform 0.3s ease;
        }
        
        .view-more-btn a:hover i {
            transform: translateX(5px);
        }
        
        @media (max-width: 768px) {
            .gallery-header h2 {
                font-size: 2rem;
            }
            
            .gallery-grid {
                grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
                gap: 20px;
            }
            
            .gallery-item {
                height: 280px;
            }
        }
        
        @media (max-width: 576px) {
            .gallery-grid {
                grid-template-columns: 1fr;
            }
        }


/* End Gallery */

/* === Sticky Navbar === */
.sticky-navbar {
  position: sticky;
  top: 0;
  z-index: 730; /* pastikan di atas elemen lain */
  background-color: #fff;
  transition: all 0.3s ease-in-out;
}

/* Tambahan efek saat scroll */
.sticky-navbar.scrolled {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Agar tidak tertutup konten */
body {
  padding-top: 0px; /* sesuaikan dengan tinggi navbar */
}

/* Mobile responsive tweak */
@media (max-width: 991px) {
  body {
    padding-top: 0px; /* navbar lebih tinggi saat mobile */
  }
}

/* Stats Widget Grid */
.stats-widget-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.stats-widget-card {
    border-radius: 25px;
    padding: 40px 30px;
    position: relative;
    overflow: hidden;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stats-widget-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

/* Widget Colors */
.widget-orange {
    background: linear-gradient(135deg, #f15a24 0%, #ff6b35 100%);
    color: white;
}

.widget-teal {
    background: linear-gradient(135deg, #1abc9c 0%, #16a085 100%);
    color: white;
}

.widget-purple {
    background: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
    color: white;
    position: relative;
}

.widget-blue {
    background: linear-gradient(135deg, #5f7c8a 0%, #7ea5b8 100%);
    color: white;
}

.widget-green {
    background: linear-gradient(135deg, #00b894 0%, #00cec9 100%);
    color: white;
    position: relative;
}

.widget-yellow {
    background: linear-gradient(135deg, #f9ca24 0%, #f6e58d 100%);
    color: #2d3436;
}

.widget-red-cta {
    background: linear-gradient(135deg, #ee5a6f 0%, #f77062 100%);
    color: white;
    grid-column: span 2;
    position: relative;
}

.widget-indigo {
    background: linear-gradient(135deg, #5f27cd 0%, #341f97 100%);
    color: white;
    position: relative;
}

/* Widget Content */
.stats-widget-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.stats-widget-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: transform 0.3s ease;
}

.stats-widget-card:hover .stats-widget-icon {
    transform: scale(1.1) rotate(5deg);
}

.stats-widget-number {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 5px;
    line-height: 1;
}

.stats-widget-label {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.stats-widget-desc {
    font-size: 0.95rem;
    opacity: 0.95;
    line-height: 1.5;
    margin-bottom: 0;
}

.stats-widget-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1.2;
}

.stats-widget-subtitle {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 10px;
}

/* Decorative Circles */
.widget-circle {
    position: absolute;
    border-radius: 50%;
    z-index: 1;
}

.widget-circle-yellow {
    width: 120px;
    height: 120px;
    background: rgba(249, 202, 36, 0.3);
    bottom: -30px;
    right: -30px;
}

.widget-circle-red {
    width: 80px;
    height: 80px;
    background: rgba(238, 90, 111, 0.3);
    top: 20px;
    left: 20px;
}

.widget-circle-yellow-small {
    width: 60px;
    height: 60px;
    background: rgba(249, 202, 36, 0.4);
    bottom: 30px;
    right: 30px;
}

.widget-circle-purple {
    width: 100px;
    height: 100px;
    background: rgba(108, 92, 231, 0.3);
    top: -20px;
    right: -20px;
}

.widget-circle-yellow-bottom {
    width: 70px;
    height: 70px;
    background: rgba(249, 202, 36, 0.3);
    bottom: -15px;
    left: -15px;
}

/* CTA Widget */
.stats-widget-cta-content {
    position: relative;
    z-index: 2;
}

.stats-widget-cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.stats-widget-cta-link {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.stats-widget-cta-link:hover {
    transform: translateX(5px);
    color: white;
}

/* Diagonal Shape for CTA */
.widget-diagonal-shape {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%);
    z-index: 1;
}

/* Grid Spanning */
.widget-red-cta {
    grid-column: span 2;
}

/* Responsive */
@media (max-width: 1200px) {
    .stats-widget-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .stats-widget-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .widget-red-cta {
        grid-column: span 2;
    }
}

@media (max-width: 576px) {
    .stats-widget-grid {
        grid-template-columns: 1fr;
    }
    
    .widget-red-cta {
        grid-column: span 1;
    }
    
    .stats-widget-number {
        font-size: 2.5rem;
    }
    
    .stats-widget-label {
        font-size: 1.4rem;
    }
    
    .stats-widget-cta-title {
        font-size: 2rem;
    }
    
    .stats-widget-icon {
        width: 60px;
        height: 60px;
    }
}


/* Animated Background dengan Gradient Flow dari Atas ke Bawah */

/* Background Utama dengan Animasi Flowing */
.animated-bg-flow {
    background: linear-gradient(
        180deg,
        #f8f9fa 0%, 
        #e9ecef 25%, 
        #dee2e6 50%, 
        #e9ecef 75%, 
        #f8f9fa 100%
    );
    background-size: 100% 400%;
    animation: flowingGradient 20s ease infinite;
    position: relative;
    overflow: hidden;
}

@keyframes flowingGradient {
    0% { 
        background-position: 0% 0%; 
    }
    50% { 
        background-position: 0% 100%; 
    }
    100% { 
        background-position: 0% 0%; 
    }
}

/* Variasi Background dengan Warna Brand */
.animated-bg-brand {
    background: linear-gradient(
        180deg,
        rgba(39, 26, 199, 0.03) 0%,
        rgba(122, 42, 221, 0.05) 25%,
        rgba(39, 26, 199, 0.08) 50%,
        rgba(122, 42, 221, 0.05) 75%,
        rgba(39, 26, 199, 0.03) 100%
    );
    background-size: 100% 400%;
    animation: flowingGradient 20s ease infinite;
    position: relative;
    overflow: hidden;
}

/* Background dengan Partikel Bergerak */
.animated-bg-particles {
    background: linear-gradient(180deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.animated-bg-particles::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(39, 26, 199, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(122, 42, 221, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(39, 26, 199, 0.05) 0%, transparent 50%);
    animation: particlesFloat 30s linear infinite;
}

@keyframes particlesFloat {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    100% {
        transform: translateY(50%) rotate(360deg);
    }
}

/* Background dengan Wave Effect */
.animated-bg-wave {
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
}

.animated-bg-wave::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(180deg, 
            transparent 0%, 
            rgba(39, 26, 199, 0.02) 25%,
            rgba(122, 42, 221, 0.04) 50%,
            rgba(39, 26, 199, 0.02) 75%,
            transparent 100%
        );
    background-size: 100% 200%;
    animation: waveFlow 15s ease-in-out infinite;
    pointer-events: none;
}

@keyframes waveFlow {
    0%, 100% {
        background-position: 0% 0%;
        opacity: 0.5;
    }
    50% {
        background-position: 0% 100%;
        opacity: 1;
    }
}

/* Background dengan Mesh Gradient */
.animated-bg-mesh {
    background: 
        linear-gradient(180deg, #f8f9fa 0%, transparent 100%),
        linear-gradient(180deg, rgba(39, 26, 199, 0.05) 0%, rgba(122, 42, 221, 0.05) 100%);
    background-size: 100% 300%, 100% 300%;
    animation: meshFlow 25s ease infinite;
    position: relative;
}

@keyframes meshFlow {
    0%, 100% {
        background-position: 0% 0%, 0% 0%;
    }
    25% {
        background-position: 0% 50%, 0% 25%;
    }
    50% {
        background-position: 0% 100%, 0% 50%;
    }
    75% {
        background-position: 0% 50%, 0% 75%;
    }
}

/* Background Full Page Flow */
body.animated-page {
    background: linear-gradient(
        180deg,
        #ffffff 0%,
        #f8f9fa 20%,
        #e9ecef 40%,
        #dee2e6 60%,
        #e9ecef 80%,
        #f8f9fa 100%
    );
    background-size: 100% 300%;
    animation: pageFlow 30s ease infinite;
    background-attachment: fixed;
}

@keyframes pageFlow {
    0% {
        background-position: 0% 0%;
    }
    50% {
        background-position: 0% 100%;
    }
    100% {
        background-position: 0% 0%;
    }
}

/* Overlay dengan Shimmer Effect */
.bg-shimmer {
    position: relative;
    overflow: hidden;
}

.bg-shimmer::before {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 100%
    );
    animation: shimmerFlow 3s ease-in-out infinite;
}

@keyframes shimmerFlow {
    0% {
        top: -100%;
    }
    50% {
        top: 100%;
    }
    100% {
        top: 100%;
    }
}

/* Aurora Effect Background */
.animated-bg-aurora {
    background: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.animated-bg-aurora::before,
.animated-bg-aurora::after {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: radial-gradient(
        circle at center,
        rgba(39, 26, 199, 0.1) 0%,
        rgba(122, 42, 221, 0.05) 25%,
        transparent 50%
    );
    animation: auroraFlow 20s linear infinite;
}

.animated-bg-aurora::after {
    animation-delay: -10s;
    animation-duration: 25s;
}

@keyframes auroraFlow {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    100% {
        transform: translateY(50%) rotate(360deg);
    }
}

:root {
        --primary-color: #271ac7;
        --secondary-color: #7a2add;
        --gradient-primary: linear-gradient(135deg, #271ac7 0%, #7a2add 100%);
        --gradient-secondary: linear-gradient(45deg, #7a2add 0%, #271ac7 100%);
    }

    /* Hilangkan jarak di bawah carousel */
.hero-carousel {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    border-bottom: none !important;
}



/* Hapus garis putih kecil akibat background */
#template-mo-zay-hero-carousel {
    background: none !important;
}

/* Jika ada elemen section setelah carousel, rapatkan */
.hero-carousel + section {
    margin-top: 0 !important;
}


    .carousel-item {
        transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .hero-content {
        animation: fadeInUp 0.8s ease-out;
    }

    .hero-image {
        animation: floatAnimation 3s ease-in-out infinite;
        transition: transform 0.3s ease;
    }

    .hero-image:hover {
        transform: scale(1.05) rotate(2deg);
    }

    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    @keyframes floatAnimation {
        0%, 100% {
            transform: translateY(0px);
        }
        50% {
            transform: translateY(-20px);
        }
    }

    /* Gradient Text */
    .gradient-text {
        background: var(--gradient-primary);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        font-weight: 800;
    }

    /* Modern Button */
    .btn-modern {
        background: var(--gradient-primary);
        color: white;
        padding: 14px 32px;
        border-radius: 50px;
        border: none;
        font-weight: 600;
        position: relative;
        overflow: hidden;
        transition: all 0.3s ease;
        box-shadow: 0 4px 15px rgba(39, 26, 199, 0.3);
    }

    .btn-modern::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
        transition: left 0.5s ease;
    }

    .btn-modern:hover::before {
        left: 100%;
    }

    .btn-modern:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(39, 26, 199, 0.4);
    }

    /* Category Cards */
    .category-card-modern {
        background: white;
        border-radius: 20px;
        padding: 30px;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        overflow: hidden;
        box-shadow: 0 5px 20px rgba(0,0,0,0.08);
        border: 2px solid transparent;
    }

    .category-card-modern::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: var(--gradient-primary);
        opacity: 0;
        transition: opacity 0.4s ease;
        z-index: 0;
    }

    .category-card-modern:hover::before {
        opacity: 0.05;
    }

    .category-card-modern:hover {
        transform: translateY(-10px);
        border-color: var(--primary-color);
        box-shadow: 0 15px 40px rgba(39, 26, 199, 0.2);
    }

    .category-image-wrapper-modern {
        position: relative;
        overflow: hidden;
        border-radius: 15px;
        margin-bottom: 20px;
        height: 200px;
    }

    .category-image-wrapper-modern img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

    .category-card-modern:hover .category-image-wrapper-modern img {
        transform: scale(1.1) rotate(2deg);
    }

    .category-icon-modern {
        width: 60px;
        height: 60px;
        background: var(--gradient-primary);
        border-radius: 15px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 20px;
        transition: all 0.3s ease;
        animation: pulse 2s infinite;
    }

    .category-card-modern:hover .category-icon-modern {
        transform: rotateY(360deg);
        animation: none;
    }

    @keyframes pulse {
        0%, 100% {
            box-shadow: 0 0 0 0 rgba(39, 26, 199, 0.7);
        }
        50% {
            box-shadow: 0 0 0 15px rgba(39, 26, 199, 0);
        }
    }

    /* Features Section */
    .feature-card-modern {
        background: white;
        border-radius: 20px;
        padding: 40px 30px;
        transition: all 0.3s ease;
        border: 2px solid #f0f0f0;
        position: relative;
        overflow: hidden;
    }

    .feature-card-modern::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: var(--gradient-primary);
        opacity: 0;
        transform: rotate(45deg);
        transition: opacity 0.5s ease;
    }

    .feature-card-modern:hover::before {
        opacity: 0.05;
    }

    .feature-card-modern:hover {
        transform: translateY(-5px);
        border-color: var(--primary-color);
        box-shadow: 0 10px 30px rgba(39, 26, 199, 0.15);
    }

    .feature-icon-modern {
        width: 80px;
        height: 80px;
        background: var(--gradient-primary);
        border-radius: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 20px;
        transition: transform 0.3s ease;
    }

    .feature-card-modern:hover .feature-icon-modern {
        transform: scale(1.1) rotate(10deg);
    }

    /* Gallery Section */
    .gallery-grid-modern {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 25px;
        margin-top: 50px;
    }

    .gallery-item-modern {
        position: relative;
        border-radius: 20px;
        overflow: hidden;
        cursor: pointer;
        height: 300px;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    }

    .gallery-item-modern img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

    .gallery-item-modern:hover img {
        transform: scale(1.2);
    }

    .gallery-overlay-modern {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: var(--gradient-primary);
        color: white;
        padding: 25px;
        transform: translateY(100%);
        transition: transform 0.4s ease;
        pointer-events: none;
        z-index: 1;
    }

    .gallery-item-modern:hover .gallery-overlay-modern {
        transform: translateY(0);
    }

    .gallery-zoom {
        position: absolute;
        top: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        background: white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        transform: scale(0);
        transition: all 0.3s ease;
    }

    .gallery-item-modern:hover .gallery-zoom {
        opacity: 1;
        transform: scale(1);
    }

    /* Section Title */
    .section-title-modern {
        font-size: 3rem;
        font-weight: 800;
        text-align: center;
        margin-bottom: 20px;
        position: relative;
        display: inline-block;
    }

    .section-title-modern::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 100px;
        height: 4px;
        background: var(--gradient-primary);
        border-radius: 2px;
    }

    /* Animated Background */
    .animated-bg {
        background: linear-gradient(-45deg, #f8f9fa, #e9ecef, #dee2e6, #f8f9fa);
        background-size: 400% 400%;
        animation: gradientShift 15s ease infinite;
    }

    @keyframes gradientShift {
        0% { background-position: 0% 50%; }
        50% { background-position: 100% 50%; }
        100% { background-position: 0% 50%; }
    }

    /* Scroll Animation */
    .scroll-reveal {
        opacity: 0;
        transform: translateY(50px);
        transition: all 0.8s ease;
    }

    .scroll-reveal.active {
        opacity: 1;
        transform: translateY(0);
    }

    /* Badge Modern */
    .badge-modern {
        background: var(--gradient-primary);
        color: white;
        padding: 5px 12px;
        border-radius: 20px;
        font-size: 0.85rem;
        font-weight: 600;
        transition: all 0.3s ease;
    }

    .badge-modern:hover {
        transform: scale(1.05);
        box-shadow: 0 3px 10px rgba(39, 26, 199, 0.3);
    }

    /* Stats Counter */
    .stats-card {
        text-align: center;
        padding: 30px;
        background: white;
        border-radius: 20px;
        box-shadow: 0 5px 20px rgba(0,0,0,0.08);
        transition: all 0.3s ease;
    }

    .stats-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 30px rgba(39, 26, 199, 0.15);
    }

    .stats-number {
        font-size: 3rem;
        font-weight: 800;
        background: var(--gradient-primary);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    /* Responsive */
    @media (max-width: 768px) {
        .section-title-modern {
            font-size: 2rem;
        }
        
        .gallery-grid-modern {
            grid-template-columns: 1fr;
        }
    }

    /* Custom Carousel Controls */
    .carousel-control-prev, .carousel-control-next {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        top: 50%;
        transform: translateY(-50%);
        opacity: 0.9;
        transition: all 0.3s ease;
    }

    .carousel-control-prev:hover, .carousel-control-next:hover {
        opacity: 1;
        transform: translateY(-50%) scale(1.1);
    }

    .carousel-indicators li {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: var(--primary-color);
        opacity: 0.5;
        transition: all 0.3s ease;
    }

    .carousel-indicators li.active {
        opacity: 1;
        width: 30px;
        border-radius: 6px;
    }
/* End Custom Css */