@media (min-width: 992px) {
    #adminSidebar,
    #userSidebar {
        visibility: hidden !important;
    }
}





.soft-badge {
    background-color: #bee0ec;
}

.hero-section {
        min-height: 100vh;
}

 /* Add hover animation to the checkout button */
.direct-checkout-btn:hover {
    animation: gradient-shift 1.5s ease infinite;
}

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

.text-gradient {
    background: linear-gradient(90deg, #4facfe 0%, #00f2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hover-lift {
    transition: all 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2) !important;
}

.border-2 {
    border-width: 2px !important;
}

.hover-opacity-100:hover {
    opacity: 1 !important;
}

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

.animate-bounce {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.py-6 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.py-8 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.mt-8 {
    margin-top: 6rem;
}

.hover-lift {
    transition: all 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
}

.border-2 {
    border-width: 2px !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .display-6 {
        font-size: 2rem;
    }
    
    .fs-5 {
        font-size: 1rem !important;
    }
}

.py-8 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.mb-6 {
    margin-bottom: 4rem;
}

.mt-6 {
    margin-top: 4rem;
}

.bg-gradient-light {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.object-fit-cover {
    object-fit: cover;
}

.hover-lift {
    transition: all 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

.template-card {
    transition: all 0.3s ease;
}

.template-like-btn.active {
    background-color: var(--bs-primary) !important;
    color: white !important;
}

.template-like-btn.active i {
    color: white !important;
}

/* Responsive Carousel */
@media (max-width: 768px) {
    .py-8 {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
    
    .display-5 {
        font-size: 2rem;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 50px !important;
        height: 50px !important;
        padding: 0.5rem !important;
    }
    
    .carousel-inner .row {
        margin: 0 -0.5rem;
    }
    
    .carousel-inner .col-12 {
        padding: 0.5rem;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }
    
    .carousel-indicators {
        margin-top: 1rem !important;
    }
    
    .card-body .d-flex.gap-2 {
        flex-wrap: wrap;
    }
    
    .card-body .btn {
        flex: 1 1 45%;
        margin-bottom: 0.5rem;
    }
}

/* Tablet specific adjustments */
@media (min-width: 768px) and (max-width: 992px) {
    .carousel-inner .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    .carousel-item .row {
        justify-content: center;
    }
}

/* Touch-friendly improvements */
@media (hover: none) {
    .hover-lift:hover {
        transform: none;
    }
    
    .btn {
        min-height: 44px;
    }
    
    .template-like-btn {
        min-width: 44px;
        min-height: 44px;
    }
}

.py-8 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.mb-6 {
    margin-bottom: 4rem;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.hover-lift {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-card {
    position: relative;
    overflow: hidden;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
}

.category-card:hover .category-overlay {
    opacity: 1;
}

.category-overlay {
    transition: opacity 0.3s ease;
}

.transition-all {
    transition: all 0.3s ease;
}

.border-dashed {
    border-style: dashed !important;
}

/* Border light */
.border-light {
    border-color: rgba(255,255,255,0.15) !important;
}

/* Fixed preview container */
.preview-area {
    background: radial-gradient(circle at center, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0) 70%);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.2) transparent;
}

/* Custom scrollbar for Webkit browsers */
.preview-area::-webkit-scrollbar {
    width: 6px;
}

.preview-area::-webkit-scrollbar-track {
    background: transparent;
}

.preview-area::-webkit-scrollbar-thumb {
    background-color: rgba(255,255,255,0.2);
    border-radius: 3px;
}

/* Content styling */
.preview-content {
    font-family: 'Segoe UI', Roboto, -apple-system, sans-serif;
    text-align: left;
    white-space: pre-wrap;
    word-wrap: break-word;
    color: #f8f9fa;
    line-height: 1.6;
    padding-right: 10px;
}

.btn-google {
    background: #DB4437;
    color: white;
}
.btn-facebook {
    background: #4267B2;
    color: white;
}
.btn-github {
    background: #333;
    color: white;
}

/* START OF FOOTER */
.footer {
    color: #ffffff;
    background: #212529;
}

.footer h5 {
    color: #ffffff;
}

.category-item.hidden {
    opacity: 0;
    transform: scale(0.9);
    pointer-events: none;
    position: absolute;
    height: 0;
    overflow: hidden;
}

/* Touch device optimizations */
@media (hover: none) {
    .category-overlay {
        opacity: 1 !important;
        background: rgba(0, 0, 0, 0.7);
    }
    
    .category-card .category-overlay .badge {
        display: none;
    }
    
    .btn {
        min-height: 44px;
    }
}

<<<<<<< HEAD
.py-lg-6 {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }
    
    .mb-lg-6 {
        margin-bottom: 5rem;
    }
    
    .z-1 {
        z-index: 1;
    }
    
    .z-2 {
        z-index: 2;
    }
    
    /* Hover Effects - Image zoom on hover */
    .card:hover img {
        transform: scale(1.05);
    }
    
    .card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
    }
    
    /* Template like button active state */
    .template-like-btn.active {
        background-color: var(--bs-primary) !important;
        color: white !important;
        border-color: var(--bs-primary) !important;
    }
    
    /* Responsive Design */
    @media (max-width: 768px) {
        .display-5 {
            font-size: 2rem;
        }
        
        .h2 {
            font-size: 1.75rem;
        }
        
        .btn-lg {
            padding: 0.75rem 1.5rem !important;
            font-size: 1rem;
        }
        
        .card-body.p-4 {
            padding: 1.5rem !important;
        }
        
        /* Make image preview area more compact on mobile */
        .position-relative[style*="height: 200px"] {
            height: 180px !important;
        }
        
        .card-footer .btn-sm {
            padding: 0.375rem 0.75rem !important;
            font-size: 0.8rem;
        }
    }
    
    @media (max-width: 576px) {
        .col-12 {
            padding-left: 0.5rem !important;
            padding-right: 0.5rem !important;
        }
        
        .row.g-4 {
            margin-left: -0.5rem !important;
            margin-right: -0.5rem !important;
        }
        
        /* Stack action buttons vertically on very small screens */
        .card-footer .d-flex {
            flex-direction: column;
            gap: 0.5rem;
        }
        
        .card-footer .btn-sm {
            width: 100%;
            justify-content: center;
        }
    }
    
    /* Touch Device Optimizations */
    @media (hover: none) {
        .card:hover {
            transform: none;
        }
        
        .btn {
            min-height: 44px;
        }
        
        .btn-sm {
            min-height: 36px;
        }
        
        /* Make sure image preview button is always clearly visible */
        .position-absolute.bottom-0 .btn-light {
            background-color: rgba(255, 255, 255, 0.95) !important;
            border: 2px solid white !important;
        }
    }

    .category-item {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, opacity;
=======
.btn-google {
    background: #DB4437;
    color: white;
}
.btn-facebook {
    background: #4267B2;
    color: white;
}
.btn-github {
    background: #333;
    color: white;
}

/* START OF FOOTER */
.footer {
    color: #ffffff;
    background: #212529;
>>>>>>> a5376e9 (Social Auth)
}

.category-filter {
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.category-filter::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

.category-filter:focus:not(:active)::after {
    animation: ripple 1s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }
    100% {
        transform: scale(20, 20);
        opacity: 0;
    }
}

/* Ensure proper spacing on mobile */
@media (max-width: 768px) {
    .d-flex.flex-wrap {
        justify-content: flex-start !important;
        overflow-x: auto;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
    }
    
    .d-flex.flex-wrap::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera */
    }
    
    .category-filter {
        flex-shrink: 0;
        white-space: nowrap;
    }
}

/* Focus styles for accessibility */
.category-filter:focus {
    outline: 2px solid #4d90fe;
    outline-offset: 2px;
}