/*
Theme Name:cubiclescoders-child
Theme URI:https://#/
Author:cubiclescoders Team
Author URI:https://cubiclescoders.com/
Description:cubiclescoders theme for home website
Version:1.0.0
License:GNU General Public License v2 or later
License URI:<https://www.gnu.org/licenses/gpl-2.0.html>
Text Domain:cubiclescoders
*/

:root {
            --accent-cyan: #06b6d4;
            --accent-purple: #8b5cf6;
            --accent-orange: #f97316;
            --accent-pink: #ec4899;
            --dark-bg: #0a0a0a;
            --dark-card: #141414;
            --dark-elevated: #1a1a1a;
            --dark-border: #262626;
        }
        
       
        
        body {
            font-family: 'Inter', sans-serif;
            background-color: var(--dark-bg);
            color: #e5e5e5;
            overflow-x: hidden;
        }
        
        .font-mono {
            font-family: 'JetBrains Mono', monospace;
        }
        
        .font-serif {
            font-family: 'Playfair Display', serif;
        }
        
        /* Custom Cursor - EXACT FROM ORIGINAL */
        
      
        
        /* Gradient Text */
        .gradient-text {
            background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-purple) 50%, var(--accent-orange) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        
        /* Glass Morphism */
        .glass {
            background: rgba(20, 20, 20, 0.7);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.08);
        }
        
        /* Gradient Border */
        .gradient-border {
            position: relative;
            background: linear-gradient(135deg, #0a0a0a, #141414);
            border-radius: 16px;
        }
        .gradient-border::before {
            content: '';
            position: absolute;
            inset: -1px;
            border-radius: 16px;
            padding: 1px;
            background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple), var(--accent-orange));
            -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            -webkit-mask-composite: xor;
            mask-composite: exclude;
            opacity: 0.5;
            transition: opacity 0.3s;
        }
        .gradient-border:hover::before {
            opacity: 1;
        }
        
        /* Spotlight Effect */
        .spotlight {
            position: relative;
            overflow: hidden;
        }
        .spotlight::before {
            content: '';
            position: absolute;
            top: var(--mouse-y, 50%);
            left: var(--mouse-x, 50%);
            width: 300px;
            height: 300px;
            background: radial-gradient(circle, rgba(6, 182, 212, 0.15) 0%, transparent 70%);
            transform: translate(-50%, -50%);
            pointer-events: none;
            opacity: 0;
            transition: opacity 0.3s;
        }
        .spotlight:hover::before {
            opacity: 1;
        }
        
        /* Marquee Container - EXACT FROM ORIGINAL with gradient colors */
        .marquee-container {
            overflow: hidden;
            white-space: nowrap;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            padding: 2rem 0;
            background: linear-gradient(90deg, transparent, rgba(6, 182, 212, 0.05), transparent);
        }
        
        .marquee-content {
            display: inline-flex;
            animation: marquee 30s linear infinite;
        }
        
        @keyframes marquee {
            0% { transform: translateX(0); }
            100% { transform: translateX(-50%); }
        }
        
        .marquee-item {
            font-family: 'Playfair Display', serif;
            font-size: clamp(3rem, 8vw, 6rem);
            font-weight: 700;
            margin: 0 2rem;
            opacity: 0.3;
            transition: all 0.3s;
        }
        
        .marquee-item:hover {
            opacity: 1;
            -webkit-text-stroke: 0;
            color: white;
        }
        
        /* Code Block */
        .code-block {
            background: #0d0d0d;
            border: 1px solid var(--dark-border);
            border-radius: 12px;
            font-family: 'JetBrains Mono', monospace;
            position: relative;
            overflow: hidden;
        }
        .code-block::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 32px;
            background: linear-gradient(90deg, #ff5f56, #ffbd2e, #27c93f);
            opacity: 0.1;
        }
        
        /* Navigation */
        .navbar {
            background: rgba(10, 10, 10, 0.8) !important;
            backdrop-filter: blur(20px);
            border-bottom: 1px solid var(--dark-border);
        }
        
        .nav-link {
            font-weight: 500;
            font-size: 0.9rem;
            position: relative; color: #fff;
        }
        
         .nav-link:hover { color: #fff; }
        
        
        .nav-link::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--accent-cyan);
            transition: width 0.3s;
        }
        .nav-link:hover::after {
            width: 100%;
        }

        /* parent li */
.navbar-nav li {
    position: relative;
}

/* sub menu hidden */
.navbar-nav .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #fff;
    padding: 8px 0;
    margin: 0;
    list-style: none;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    display: none;
    z-index: 9999;
}
.pt-7 {
    padding-top: 7rem !important;
}
/* show on hover */
.navbar-nav li:hover > .sub-menu {
    display: block;
}

/* submenu links */
.navbar-nav .sub-menu li a {
    padding: 8px 16px;
    display: block;
    color: #000;
    text-decoration: none;
}

/* hover effect */
.navbar-nav .sub-menu li a:hover {
    background: #f5f5f5;
}
        
        /* Buttons */
        .btn-gradient {
            background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
            border: none;
            color: white;
            padding: 0.8rem 2rem;
            border-radius: 50px;
            font-weight: 600;
            transition: all 0.3s;
            position: relative;
            overflow: hidden;
        }
        .btn-gradient:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 30px rgba(6, 182, 212, 0.3);
            color: white;
        }
        
        /* Orbit Animation */
        @keyframes orbit {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }
        .orbit-ring {
            animation: orbit 20s linear infinite;
        }
        .orbit-ring-reverse {
            animation: orbit 25s linear infinite reverse;
        }
        
        /* Tab Styling */
        .nav-pills .nav-link {
            background: transparent;
            border: 1px solid var(--dark-border);
            color: #888;
            border-radius: 50px;
            padding: 0.75rem 1.5rem;
            margin: 0 0.25rem;
            transition: all 0.3s;
        }
        .nav-pills .nav-link.active {
            background: linear-gradient(135deg, rgba(6, 182, 212, 0.1), rgba(139, 92, 246, 0.1));
            border-color: rgba(6, 182, 212, 0.3);
            color: var(--accent-cyan);
        }
        .nav-pills .nav-link:hover:not(.active) {
            border-color: rgba(255, 255, 255, 0.2);
            color: white;
        }
        
        /* Client Stories / Testimonials - ENHANCED */
        .testimonials-section {
            position: relative;
            overflow: hidden;
        }
        
        .testimonial-card {
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 24px;
            padding: 2.5rem;
            transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
            height: 100%;
            position: relative;
            overflow: hidden;
        }
        
        .testimonial-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 3px;
            background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
            transform: scaleX(0);
            transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        }
        
        .testimonial-card:hover {
            border-color: var(--accent-cyan);
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(6, 182, 212, 0.1);
        }
        
        .testimonial-card:hover::before {
            transform: scaleX(1);
        }
        
        .testimonial-quote {
            font-size: 1.1rem;
            line-height: 1.8;
            color: rgba(255, 255, 255, 0.9);
            margin-bottom: 2rem;
            position: relative;
            padding-left: 1.5rem;
            border-left: 3px solid var(--accent-cyan);
        }
        
        .testimonial-author-img {
            width: 56px;
            height: 56px;
            border-radius: 50%;
            object-fit: cover;
            border: 2px solid rgba(255, 255, 255, 0.1);
            transition: all 0.3s;
        }
        
        .testimonial-card:hover .testimonial-author-img {
            border-color: var(--accent-cyan);
            transform: scale(1.1);
        }
        
        .star-rating {
            color: var(--accent-cyan);
            margin-bottom: 1.5rem;
        }
        
        /* Progress Bar */
        .progress-bar {
            position: fixed;
            top: 0;
            left: 0;
            height: 3px;
            background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple), var(--accent-orange));
            z-index: 10000;
            width: 0%;
            transition: width 0.1s;
        }
        
        /* Blog Card */
        .blog-card {
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            overflow: hidden;
        }
        .blog-card:hover {
            transform: translateY(-8px);
        }
        .blog-card:hover .blog-image {
            transform: scale(1.05);
        }
        
        /* Course Card */
        .course-card {
            transition: all 0.3s;
        }
        .course-card:hover {
            transform: scale(1.02);
        }
        
        /* Custom Scrollbar */
        ::-webkit-scrollbar {
            width: 8px;
        }
        ::-webkit-scrollbar-track {
            background: var(--dark-bg);
        }
        ::-webkit-scrollbar-thumb {
            background: var(--dark-border);
            border-radius: 4px;
        }
        ::-webkit-scrollbar-thumb:hover {
            background: var(--accent-cyan);
        }
        
        /* Grid Background */
        .grid-bg {
            background-image: 
                linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
                linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
            background-size: 50px 50px;
        }
        
        /* Responsive */
        @media (max-width: 768px) {
            .cursor, .cursor-dot {
                display: none;
            }
            * {
                cursor: auto !important;
            }
        }
        
      

/* footer */



.list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px; 
    padding: 40px 0;
}
.detail {
    background: linear-gradient(180deg, #111827, #020617);
    border-radius: 16px;
    padding: 26px 22px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.6);
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}
.detail:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 55px rgba(13,110,253,0.35);
}
.detail img {
    width: 78px;
    height: 78px;
    border-radius: 78px;
    object-fit: cover;
    margin-bottom: 18px; 
    transition: transform 0.3s ease;
}

.detail:hover img {
    transform: scale(1.12);
}
.detail h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #f8fafc;
}
.detail p {
    font-size: 14px;
    color: #94a3b8;
    line-height: 1.6;
}
section#block-7, section#block-8, section#block-9 {
    display: none;
}


/* Animations */
        @keyframes float {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-20px); }
        }
        .animate-float {
            animation: float 6s ease-in-out infinite;
        }
        .animate-float-delay {
            animation: float 6s ease-in-out infinite;
            animation-delay: 1s;
        }

        @keyframes orbit {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }
        .orbit-ring {
            animation: orbit 20s linear infinite;
        }
        .orbit-ring-reverse {
            animation: orbit 25s linear infinite reverse;
        }

        @keyframes pulse-glow {
            0%, 100% { opacity: 0.2; }
            50% { opacity: 0.4; }
        }
        .animate-pulse-glow {
            animation: pulse-glow 4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
        }
/* Additional hover effects */
.hover-text-info:hover { color: #06b6d4 !important; }
.hover-text-purple:hover { color: #8b5cf6 !important; }
.hover-text-warning:hover { color: #f97316 !important; }
.hover-text-success:hover { color: #22c55e !important; }
.transition-all { transition: all 0.3s ease; }

/* Backdrop blur support */
.backdrop-blur { backdrop-filter: blur(10px); }

/* Position utilities */
.top-20 { top: 20%; }
.end-10 { right: 10%; }
.bottom-20 { bottom: 20%; }
.start-10 { left: 10%; }