/*-------------------- Futuristic Scrolling Section -------------------------*/

/* 🔷 SCROLLING SECTION WRAPPER */
.scrolling-section {
    background: linear-gradient(90deg, #0a0a0a, #1a1a2e);
    padding: 20px 0;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
    align-items: center;
    justify-content: center;
}

/* 🔷 SCROLL CONTAINER */
.scroll-container {
    overflow: hidden;
    width: 100%;
    white-space: nowrap;
    padding: 10px 0;
}

/* 🔷 CATEGORY SCROLL TRACK */
.categories {
    display: flex;
    gap: 15px;
    transition: transform 1s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 🔷 CATEGORY ITEM */
.category {
    background: rgba(255, 255, 255, 0.05); /* Subtle glassmorphism */
    padding: 14px 20px;
    border-radius: 15px;
    text-align: center;
    min-width: 140px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    flex-shrink: 0;
    color: #0ff;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 255, 255, 0.4);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.4);
    transition: all 0.3s ease-in-out;
}

/* 🔷 CATEGORY HOVER EFFECT */
.category:hover {
    background: rgba(0, 255, 255, 0.15);
    transform: scale(1.12);
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.9);
}

/* 🔷 CATEGORY LINK STYLES */
.category a {
    text-decoration: none;
    color: #0ff;
    font-size: 14px;
    display: block;
    transition: color 0.3s ease-in-out;
}

.category a:hover {
    color: #fff;
}

/* 🔷 ARROW STYLING */
.scroll-arrow {
    background: rgba(0, 255, 255, 0.15);
    color: #0ff;
    border: 1px solid rgba(0, 255, 255, 0.5);
    padding: 14px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 0 12px rgba(0, 255, 255, 0.5);
}

/* 🔷 ARROW HOVER */
.scroll-arrow:hover {
    background: rgba(0, 255, 255, 0.3);
    transform: scale(1.2) translateY(-50%);
    box-shadow: 0 0 30px rgba(0, 255, 255, 1);
}

/* 🔷 ARROW POSITIONS */
.scroll-arrow.left {
    left: 10px;
}
.scroll-arrow.right {
    right: 10px;
}

/* 🔷 MOBILE RESPONSIVE */
@media (max-width: 768px) {
    .category {
        min-width: 100px;
        padding: 10px 14px;
    }

    .scroll-arrow {
        padding: 10px;
    }
}


/* ðŸš€ Futuristic Thumbnail Scrolling Section ðŸš€ */

/* Container with gradient background and glow */
.thumbnail-scroller {
    text-align: center;
    padding: 10px;
    background: linear-gradient(135deg, #0a0a0a, #1a1a2e);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
    border-radius: 10px;
    color: cyan;
    overflow: hidden;
}

/* Scroll wrapper */
.scroller-wrapper {
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    max-width: 100%;
    margin: auto;
    border-radius: 15px;
    padding-top: 25px;
}

/* Scroll container with smooth horizontal scrolling */
.scroller-container {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    white-space: nowrap;
    padding: 65px 15px;
    width: 100%;
    scrollbar-width: none; /* Firefox */
}
.scroller-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari */
}

/* Thumbnails flex container */
.thumbnails {
    display: flex;
    gap: 18px;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Individual card */
.thumbnail {
    width: 180px;
    height: 340px;
    background: rgba(0, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    box-shadow: 0 0 12px rgba(0, 255, 255, 0.5);
    border: 1px solid rgba(0, 255, 255, 0.5);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.4s ease-in-out;
    position: relative;
    flex: 0 0 auto;
}

/* Hover effect on card */
.thumbnail:hover {
    background: rgba(0, 255, 255, 0.3);
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.9);
    transform: scale(1.1) rotate(2deg);
}

/* Image inside card */
.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
}
.thumbnail:hover img {
    transform: scale(1.1);
}

/* Scroll arrow buttons */
.scroll-arrow {
    background: rgba(0, 255, 255, 0.2);
    color: #0ff;
    border: 1px solid rgba(0, 255, 255, 0.5);
    padding: 14px;
    font-size: 20px;
    cursor: pointer;
    position: absolute;
    top: 30px;
    transform: translateY(-50%);
    border-radius: 50%;
    transition: all 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    z-index: 10;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}
.scroll-arrow:hover {
    background: rgba(0, 255, 255, 0.5);
    box-shadow: 0 0 20px rgba(0, 255, 255, 1);
    transform: scale(1.2);
}
.left { left: 10px; }
.right { right: 10px; }

/* Anchor inside card to cover full area and contain label */
.thumbnail a {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    text-decoration: none;
    color: inherit;
}

/* Label at bottom of card */
.thumbnail h4 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0;
    padding: 8px;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    background: rgba(0, 0, 0, 0.5);
    color: cyan;
    border-top: 1px solid rgba(0, 255, 255, 0.4);
    backdrop-filter: blur(4px);
    opacity: 1;
    transition: all 0.3s ease-in-out;
    z-index: 10;
}

/* Show label on hover with glow */
.thumbnail:hover h4 {
    opacity: 1;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.8);
}

/* Always show label on devices without hover */
@media (hover: none) {
    .thumbnail h4 {
        opacity: 1;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .scroller-container {
        padding: 20px 10px;
    }
    .thumbnail {
        width: 140px;
        height: 260px;
    }
    .scroll-arrow {
        padding: 10px;
        font-size: 16px;
        top: 20px;
    }
    /* Hide arrows on small screens */
    .scroll-arrow {
        display: none;
    }
}




/*------------------------ Futuristic Block --------------------*/

/* Background with Cyberpunk Gradient */
.container-fluid {
    background: linear-gradient(135deg, #020024, #090979, #00d4ff);
    padding: 50px 0;
}

.container-fluid h2{
    
    padding-left:20px;
}

.container-fluid p{
    
    padding-left:20px;
}

/* Futuristic Glassmorphism Card */

.custom-card {
    background: rgba(0, 0, 30, 0.6); /* Dark glass effect */
    border-radius: 15px;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
    backdrop-filter: blur(12px);
    padding: 20px;
    height: 270px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    border: 1px solid rgba(0, 255, 255, 0.2);
    color:cyan;
    margin-right:10px;
    
    
}

/* Hover Effect */
.custom-card:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.6);
}

/* Futuristic Button */
.cta-button {
    background: linear-gradient(90deg, #ff00ff, #00ffff);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-weight: bold;
    font-size: 16px;
    border-radius: 8px;
    padding: 10px 20px;
    margin-left:20px;
    transition: background 0.3s ease-in-out, box-shadow 0.3s ease-in-out, transform 0.2s;
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.4);
    text-transform: uppercase;
    cursor: pointer;
}

/* Button Hover Effect */
.cta-button:hover {
    background: linear-gradient(90deg, #ff4500, #ff00ff);
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.7);
    transform: scale(1.1);
}


/*------------------------ Futuristic Featured Section --------------------*/

/* Featured Section Container */
.featured-templates-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 30px;
}

/* Individual Template Card */
.featured-template {
    width: 22%;
    background: rgba(15, 15, 40, 0.8); /* Dark glass effect */
    padding: 15px;
    border-radius: 15px;
    text-align: center;
    color: #fff;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.4);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 255, 255, 0.2);
}

/* Hover Effect */
.featured-template:hover {
    transform: scale(1.08);
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.6);
}

/* Image Styling */
.featured-template img {
    width: 100%;
    border-radius: 8px;
    display: block;
    transition: transform 0.3s ease-in-out;
}

/* Image Hover Zoom */
.featured-template:hover img {
    transform: scale(1.1);
}

/* Template Title */
.templates-title {
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 30, 0.7);
     padding: 5px 15px;
    border-radius: 8px;
    font-weight: bold;
    color: cyan;
    font-size: 1.1em;
    width:300px;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.6);
    text-transform: uppercase;
}

/* Buttons Container */
.button-container {
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
}

/* Futuristic Buttons */
.live-demo-btn-featured, 
.download-btn-featured {
    padding: 10px 10px;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease-in-out;
    border-top-left-radius: 15px;
    border-bottom-right-radius: 15px;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Live Demo Button */
.live-demo-btn-featured {
    background: linear-gradient(90deg, #00bfff, #007bff);
    border: 1px solid rgba(0, 255, 255, 0.3);
}

.live-demo-btn-featured:hover {
    background: linear-gradient(90deg, #007bff, #00bfff);
    box-shadow: 0 0 15px rgba(0, 191, 255, 0.8);
    transform: scale(1.1);
}

/* Download Button */
.download-btn-featured {
    background: linear-gradient(90deg, #00ff7f, #28a745);
    border: 1px solid rgba(0, 255, 127, 0.3);
}

.download-btn-featured:hover {
    background: linear-gradient(90deg, #28a745, #00ff7f);
    box-shadow: 0 0 15px rgba(0, 255, 127, 0.8);
    transform: scale(1.1);
}



/* View More Button */
.view-more-btn-feature {
    position: absolute;
    top: 5px;
    right: 10px;
    padding: 2px 10px;
    background: linear-gradient(90deg, #ff4500, #ff5722);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 0 12px rgba(255, 69, 0, 0.5);
    font-weight: bold;
    font-size: 0.7em;
}

.view-more-btn-feature:hover {
    background: linear-gradient(90deg, #ff5722, #ff4500);
    box-shadow: 0 0 20px rgba(255, 69, 0, 0.8);
    transform: scale(1.1);
}

/* Featured Section Header */
.featured-header {
    position: relative;
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.5em;
    font-weight: bold;
    text-transform: uppercase;
    color: cyan;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.8);
}


/* Featured Section Padding */
.featured {
    padding: 25px;
    margin-bottom: 25px;
    background: linear-gradient(135deg, #020024, #090979, #00d4ff);
}


/*--------------Subscription----------------*/

/* ---------------- Futuristic Subscribe Section ---------------- */
.subscribe-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background: linear-gradient(90deg, #4B0082, #0000FF);
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
    max-width: 600px;
    margin: 40px auto;
}

.subscribe-container input {
    flex: 1;
    padding: 14px;
    font-size: 1em;
    border-radius: 8px 0 0 8px;
    border: 2px solid #00bfff;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    outline: none;
}

.subscribe-container input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.subscribe-container button {
    padding: 14px 20px;
    font-size: 1em;
    font-weight: bold;
    border: none;
    border-radius: 8 8px 8px 8;
    cursor: pointer;
    /*background: linear-gradient(90deg, #00bfff, #007bff);*/
    background: linear-gradient(90deg, #00bfff, #007bff);
    color: white;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
    outline: none;
}

.subscribe-container button:disabled {
    background: gray;
    cursor: not-allowed;
    box-shadow: none;
}

.subscribe-container button:hover:enabled {
    /*background: linear-gradient(90deg, #007bff, #00bfff);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.6);
    transform: scale(1.05);*/
    transition: background 0.3s ease-in-out, box-shadow 0.3s ease-in-out, transform 0.2s;
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.4);
    background: linear-gradient(135deg, #020024, #090979, #00d4ff);
}

/* Privacy Policy Checkbox */
.checkbox-group {
    margin-top: 10px;
    text-align: center;
    font-size: 0.9em;
    color: #fff;
}

.checkbox-group input {
    width: 16px;
    height: 16px;
    accent-color: cyan;
}

.checkbox-group a {
    color: cyan;
    text-decoration: none;
}

.checkbox-group a:hover {
    color: #00ffff;
}

.subscribe-section {
    background: rgba(15, 15, 40, 0.95);
    padding: 40px;
    text-align: center;
    color: #fff;
    border-radius: 15px;
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.5);
    max-width: 600px;
    margin: 40px auto;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 255, 255, 0.3);
    animation: neon-border 1.5s infinite alternate;
}

/* Futuristic Neon Border Animation */
@keyframes neon-border {
    from {
        box-shadow: 0 0 10px rgba(0, 255, 255, 0.4);
    }
    to {
        box-shadow: 0 0 20px rgba(0, 255, 255, 0.7);
    }
}

/* Title & Description */
.subscribe-section h2 {
    font-size: 2em;
    font-weight: bold;
    text-transform: uppercase;
    background: linear-gradient(90deg, #00ffff, #007bff);
    -webkit-background-clip: text;
    color: transparent;
    text-shadow: 0 0 15px rgba(0, 255, 255, 0.8);
}

.subscribe-section p {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #bbb;
}

/* Subscribe Button 
button.subs {
    background: linear-gradient(90deg, #00bfff, #007bff);
    padding: 14px 22px;
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 1.2em;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.4s ease-in-out;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.4);
    position: relative;
    overflow: hidden;
}

/* Glowing Effect 
button.subs:hover {
    background: linear-gradient(90deg, #007bff, #00bfff);
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.7);
    transform: scale(1.08);
}

/* Animated Button Glow 
button.subs::after {
    content: "";
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 12px;
    border: 3px solid rgba(0, 255, 255, 0.5);
    animation: pulse 1.5s infinite alternate;
}

@keyframes pulse {
    from {
        box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
    }
    to {
        box-shadow: 0 0 20px rgba(0, 255, 255, 0.9);
    }
}

/* Privacy Policy Checkbox 
.checkbox-group {
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 1em;
    color: #bbb;
}

.checkbox-group input {
    width: 18px;
    height: 18px;
    accent-color: cyan;
}

.checkbox-group a {
    color: cyan;
    text-decoration: none;
    transition: color 0.3s ease;
}

.checkbox-group a:hover {
    color: #00ffff;
}*/