:root {
            --bg-color: #030712;
            --text-main: #f8fafc;
            --text-color: #f8fafc;
            --text-muted: #94a3b8;
            --primary: #3b82f6;
            --secondary: #8b5cf6;
            --accent: #06b6d4;
            --glass-bg: rgba(255, 255, 255, 0.03);
            --glass-border: rgba(255, 255, 255, 0.08);
        }
        *, *::before, *::after {
            box-sizing: border-box;
        }

        html, body { overflow-x: hidden; max-width: 100vw; width: 100%; }
        body {
            font-family: 'Inter', sans-serif;
            background-color: var(--bg-color);
            color: var(--text-main);
            overflow-x: hidden;
        }

        h1, h2, h3, h4, .outfit-font {
            font-family: 'Outfit', sans-serif;
        }

        a {
            text-decoration: none;
            color: inherit;
        }

        /* Ambient glowing background */
        .ambient-bg {
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            z-index: -1;
            overflow: hidden;
            background: var(--bg-color);
        }

        .blob {
            position: absolute;
            border-radius: 50%;
            filter: blur(100px);
            opacity: 0.5;
            animation: float 20s infinite alternate ease-in-out;
        }

        .blob-1 {
            width: 500px;
            height: 500px;
            background: rgba(59, 130, 246, 0.3);
            top: -100px;
            left: -100px;
        }

        .blob-2 {
            width: 600px;
            height: 600px;
            background: rgba(139, 92, 246, 0.2);
            bottom: -200px;
            right: -100px;
            animation-delay: -5s;
        }

        @keyframes float {
            0% {
                transform: translate(0, 0) scale(1);
            }

            100% {
                transform: translate(50px, 100px) scale(1.1);
            }
        }

        /* Navbar */
        .main-nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px 5%;
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border-bottom: 1px solid var(--glass-border);
            position: sticky;
            top: 0;
            z-index: 1000;
        }

        .logo {
            font-size: 2rem;
            font-weight: 800;
            font-family: 'Outfit', sans-serif;
            background: linear-gradient(to right, var(--primary), var(--accent));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .nav-links {
            display: flex;
            gap: 30px;
            list-style: none;
            margin: 0;
            padding: 0;
            align-items: center;
        }

        .nav-links a {
            font-weight: 500;
            transition: color 0.3s;
        }

        .nav-links a:hover {
            color: var(--accent);
        }

        /* Dropdown styles for Custom Menu */
        .nav-item {
            position: relative;
            list-style: none;
        }

        .dropdown-menu {
            position: absolute;
            top: 100%;
            left: 0;
            z-index: 1000;
            display: none;
            min-width: 200px;
            padding: 10px 0;
            margin: 10px 0 0;
            font-size: 0.95rem;
            text-align: left;
            list-style: none;
            background: rgba(3, 7, 18, 0.95);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border: 1px solid var(--glass-border);
            border-radius: 12px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        }

        .dropdown-menu::before {
            content: '';
            position: absolute;
            top: -12px;
            left: 0;
            right: 0;
            height: 12px;
            background: transparent;
        }

        .nav-item.dropdown:hover .dropdown-menu {
            display: block;
        }

        .dropdown-item {
            display: block;
            width: 100%;
            padding: 8px 20px;
            clear: both;
            font-weight: 500;
            color: var(--text-muted);
            text-align: inherit;
            white-space: nowrap;
            background-color: transparent;
            border: 0;
            box-sizing: border-box;
            transition: all 0.3s;
        }

        .dropdown-item:hover {
            color: var(--text-color);
            background-color: rgba(255, 255, 255, 0.05);
            padding-left: 24px;
            padding-right: 16px;
        }

        .btn {
            padding: 10px 24px;
            border-radius: 30px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            border: none;
            font-family: 'Inter', sans-serif;
        }

        .btn-primary {
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            color: white;
            box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
        }

        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(139, 92, 246, 0.6);
        }

        /* Hero Section */
        .hero {
            min-height: 90vh;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            padding: 0 5%;
            position: relative;
        }

        .hero h1 {
            font-size: 4.5rem;
            line-height: 1.1;
            margin-bottom: 20px;
            background: linear-gradient(to right, #fff, #94a3b8);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .hero h1 span {
            background: linear-gradient(to right, var(--primary), var(--accent));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            display: inline-block;
        }

        .hero p {
            font-size: 1.25rem;
            color: var(--text-muted);
            max-width: 700px;
            margin-bottom: 40px;
        }

        /* Glass Cards */
        .glass-card {
            background: var(--glass-bg);
            border: 1px solid var(--glass-border);
            border-radius: 24px;
            padding: 40px;
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            transition: transform 0.3s, border-color 0.3s;
        }

        .glass-card:hover {
            transform: translateY(-10px);
            border-color: rgba(255, 255, 255, 0.2);
            background: rgba(255, 255, 255, 0.05);
        }

        /* Sections */
        .section {
            padding: 100px 5%;
        }

        .section-title {
            text-align: center;
            font-size: 3rem;
            margin-bottom: 60px;
        }

        .bento-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            grid-auto-rows: minmax(200px, auto);
            gap: 24px;
            max-width: 1200px;
            margin: 0 auto;
        }

        .bento-card {
            background: var(--glass-bg);
            border: 1px solid var(--glass-border);
            border-radius: 24px;
            padding: 35px;
            backdrop-filter: blur(20px);
            transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.3s, box-shadow 0.3s;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            overflow: hidden;
            position: relative;
            z-index: 1;
        }

        .bento-card:hover {
            transform: translateY(-8px);
            border-color: rgba(6, 182, 212, 0.4);
            box-shadow: 0 15px 35px rgba(6, 182, 212, 0.15);
            z-index: 2;
        }

        .bento-large {
            grid-column: span 2;
            grid-row: span 2;
            background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(139, 92, 246, 0.05));
            border-color: rgba(139, 92, 246, 0.2);
        }

        .bento-tall {
            grid-row: span 2;
        }

        .bento-wide {
            grid-column: span 2;
        }

        .bento-glow {
            position: absolute;
            width: 200px;
            height: 200px;
            filter: blur(80px);
            opacity: 0.15;
            bottom: -50px;
            right: -50px;
            border-radius: 50%;
            pointer-events: none;
            z-index: -1;
            transition: opacity 0.5s;
        }

        .bento-card:hover .bento-glow {
            opacity: 0.3;
        }

        .service-icon {
            font-size: 2.5rem;
            margin-bottom: 20px;
            background: linear-gradient(to right, var(--primary), var(--accent));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        @media (max-width: 900px) {
            .bento-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .bento-large {
                grid-column: span 2;
                grid-row: span 1;
            }

            .bento-tall {
                grid-row: span 1;
                grid-column: span 1;
            }

            .bento-wide {
                grid-column: span 2;
            }
        }

        @media (max-width: 600px) {
            .bento-grid {
                grid-template-columns: 1fr;
            }

            .bento-large,
            .bento-tall,
            .bento-wide {
                grid-column: span 1;
                grid-row: span 1;
            }
        }

        /* Tech Marquee & Grid */
        .tech-marquee {
            width: 100vw;
            position: relative;
            left: calc(-50vw + 50%);
            background: rgba(255, 255, 255, 0.02);
            border-top: 1px solid var(--glass-border);
            border-bottom: 1px solid var(--glass-border);
            padding: 20px 0;
            overflow: hidden;
            margin-bottom: 60px;
        }

        .marquee-track {
            display: flex;
            width: fit-content;
            animation: scroll-marquee 20s linear infinite;
        }

        .marquee-content {
            display: flex;
            gap: 40px;
            padding-right: 40px;
        }

        .marquee-content span {
            font-size: 1.5rem;
            font-family: 'Outfit', sans-serif;
            font-weight: 600;
            color: var(--text-muted);
            white-space: nowrap;
        }

        .marquee-content span.dot {
            color: var(--accent);
        }

        @keyframes scroll-marquee {
            0% {
                transform: translateX(0);
            }

            100% {
                transform: translateX(-50%);
            }
        }

        .tech-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
            gap: 30px;
            max-width: 1200px;
            margin: 0 auto;
        }

        .tech-pillar {
            background: rgba(255, 255, 255, 0.02);
            border: 1px solid var(--glass-border);
            border-radius: 20px;
            padding: 30px;
            transition: all 0.3s;
            position: relative;
            overflow: hidden;
        }

        .tech-pillar::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 2px;
            background: linear-gradient(90deg, transparent, var(--accent), transparent);
            transform: translateX(-100%);
            transition: transform 0.6s ease;
        }

        .tech-pillar:hover {
            transform: translateY(-5px);
            background: rgba(255, 255, 255, 0.04);
            border-color: rgba(6, 182, 212, 0.3);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        }

        .tech-pillar:hover::before {
            transform: translateX(100%);
        }

        .pillar-header {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 25px;
        }

        .pillar-icon {
            font-size: 2rem;
            background: rgba(255, 255, 255, 0.05);
            width: 50px;
            height: 50px;
            display: flex;
            justify-content: center;
            align-items: center;
            border-radius: 12px;
        }

        .pillar-header h3 {
            font-size: 1.2rem;
            color: var(--text-main);
        }

        .tech-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }

        .tech-tag {
            padding: 6px 14px;
            border-radius: 20px;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            font-size: 0.85rem;
            color: var(--text-muted);
            transition: all 0.3s;
        }

        .tech-tag:hover {
            color: var(--text-main);
            background: rgba(6, 182, 212, 0.1);
            border-color: var(--accent);
            transform: scale(1.05);
        }

        .highlight-tag {
            background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(139, 92, 246, 0.15));
            border-color: rgba(139, 92, 246, 0.4);
            color: var(--text-main);
        }

        /* Agentic AI Section */
        .agentic-ai {
            display: flex;
            align-items: center;
            gap: 50px;
        }

        .agentic-text {
            flex: 1;
        }

        .agentic-visual {
            flex: 1;
            position: relative;
        }

        .ai-core {
            width: 300px;
            height: 300px;
            border-radius: 50%;
            background: conic-gradient(from 0deg, transparent, var(--primary), var(--secondary), transparent);
            animation: spin 4s linear infinite;
            margin: 0 auto;
            position: relative;
        }

        .ai-core::after {
            content: '';
            position: absolute;
            inset: 5px;
            background: var(--bg-color);
            border-radius: 50%;
        }

        .ai-core-inner {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 100px;
            height: 100px;
            background: linear-gradient(135deg, var(--primary), var(--accent));
            border-radius: 50%;
            box-shadow: 0 0 50px rgba(6, 182, 212, 0.8);
            z-index: 10;
            animation: pulse 2s ease-in-out infinite alternate;
        }

        @keyframes spin {
            100% {
                transform: rotate(360deg);
            }
        }

        @keyframes pulse {
            0% {
                transform: translate(-50%, -50%) scale(0.9);
                box-shadow: 0 0 30px rgba(6, 182, 212, 0.5);
            }

            100% {
                transform: translate(-50%, -50%) scale(1.1);
                box-shadow: 0 0 70px rgba(6, 182, 212, 1);
            }
        }

        /* Process & Orchestrator Sections */
        .process-steps {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 20px;
        }

        .step-card {
            position: relative;
            overflow: hidden;
            padding-top: 40px;
        }

        .step-number {
            font-size: 4rem;
            font-weight: 800;
            color: rgba(255, 255, 255, 0.05);
            position: absolute;
            top: -10px;
            right: 10px;
            font-family: 'Outfit', sans-serif;
            transition: color 0.3s;
        }

        .step-card:hover .step-number {
            color: rgba(6, 182, 212, 0.2);
        }

        .orbital-system {
            position: relative;
            width: 100%;
            max-width: 600px;
            aspect-ratio: 1 / 1;
            margin: 80px auto;
        }

        .system-core {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 160px;
            height: 160px;
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            border-radius: 50%;
            z-index: 10;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            box-shadow: 0 0 50px rgba(139, 92, 246, 0.6);
            text-align: center;
            color: white;
            animation: pulse-core 3s infinite alternate;
        }

        @keyframes pulse-core {
            0% {
                box-shadow: 0 0 30px rgba(139, 92, 246, 0.4);
            }

            100% {
                box-shadow: 0 0 60px rgba(6, 182, 212, 0.6);
            }
        }

        .system-orbit {
            position: absolute;
            top: 10%;
            left: 10%;
            right: 10%;
            bottom: 10%;
            border: 1px dashed rgba(6, 182, 212, 0.2);
            border-radius: 50%;
            animation: spin-slow 30s linear infinite;
            z-index: 1;
        }

        @keyframes spin-slow {
            100% {
                transform: rotate(360deg);
            }
        }

        .agent-node {
            position: absolute;
            width: 120px;
            height: 120px;
            background: var(--glass-bg);
            border: 1px solid var(--glass-border);
            border-radius: 50%;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            backdrop-filter: blur(10px);
            box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
            transform: translate(-50%, -50%);
            transition: all 0.4s;
            z-index: 5;
            cursor: pointer;
        }

        .agent-node:hover {
            transform: translate(-50%, -50%) scale(1.15);
            border-color: var(--accent);
            box-shadow: 0 0 30px rgba(6, 182, 212, 0.5);
            background: rgba(6, 182, 212, 0.1);
            z-index: 20;
        }

        .pos-1 {
            top: 50%;
            left: 100%;
        }

        .pos-2 {
            top: 85.35%;
            left: 85.35%;
        }

        .pos-3 {
            top: 100%;
            left: 50%;
        }

        .pos-4 {
            top: 85.35%;
            left: 14.65%;
        }

        .pos-5 {
            top: 50%;
            left: 0%;
        }

        .pos-6 {
            top: 14.65%;
            left: 14.65%;
        }

        .pos-7 {
            top: 0%;
            left: 50%;
        }

        .pos-8 {
            top: 14.65%;
            left: 85.35%;
        }

        .connection-svg {
            position: absolute;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
            z-index: 0;
            pointer-events: none;
            overflow: visible;
        }

        .connection-line {
            stroke: rgba(6, 182, 212, 0.4);
            stroke-width: 0.4;
            stroke-dasharray: 2 4;
            animation: flowData 15s linear infinite;
        }

        @keyframes flowData {
            to {
                stroke-dashoffset: -100;
            }
        }

        @media (max-width: 768px) {
            .orbital-system {
                transform: scale(0.6);
                margin: -50px auto;
            }
        }



        /* Pipeline Animations */
        .pipeline-line-fill {
            position: absolute;
            top: 0;
            left: 0;
            height: 100%;
            background: linear-gradient(90deg, transparent, var(--accent), var(--primary));
            width: 100%;
            animation: flow 4s infinite linear;
            transform-origin: left;
        }

        @keyframes flow {
            0% {
                transform: scaleX(0);
                opacity: 1;
            }

            80% {
                transform: scaleX(1);
                opacity: 1;
            }

            100% {
                transform: scaleX(1);
                opacity: 0;
            }
        }

        .energy-particle {
            position: absolute;
            top: 50%;
            left: 0;
            width: 15px;
            height: 15px;
            background: #fff;
            border-radius: 50%;
            box-shadow: 0 0 20px 10px rgba(6, 182, 212, 0.8);
            transform: translate(-50%, -50%);
            z-index: 3;
            animation: moveParticle 4s infinite linear;
        }

        @keyframes moveParticle {
            0% {
                left: 0;
                opacity: 0;
            }

            10% {
                opacity: 1;
            }

            80% {
                opacity: 1;
            }

            100% {
                left: 100%;
                opacity: 0;
            }
        }

        .pipeline-node {
            background: var(--glass-bg);
            border: 2px solid var(--glass-border);
            width: 90px;
            height: 90px;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 2.5rem;
            backdrop-filter: blur(10px);
            position: relative;
            z-index: 2;
        }

        .pulse-1 {
            animation: pulseNode 4s infinite;
            animation-delay: 0s;
        }

        .pulse-2 {
            animation: pulseNode 4s infinite;
            animation-delay: 1s;
        }

        .pulse-3 {
            animation: pulseNode 4s infinite;
            animation-delay: 2s;
        }

        .pulse-4 {
            animation: pulseNode 4s infinite;
            animation-delay: 3s;
        }

        @keyframes pulseNode {

            0%,
            100% {
                border-color: var(--glass-border);
                box-shadow: none;
                transform: scale(1);
                filter: grayscale(100%);
                opacity: 0.5;
            }

            10% {
                border-color: var(--accent);
                box-shadow: 0 0 30px var(--accent);
                transform: scale(1.15);
                filter: grayscale(0%);
                opacity: 1;
            }

            40% {
                border-color: var(--primary);
                box-shadow: 0 0 20px var(--primary);
                transform: scale(1.05);
                filter: grayscale(0%);
                opacity: 1;
            }
        }

        @media (max-width: 768px) {
            .pipeline-wrapper>div:last-child {
                flex-direction: column;
                gap: 50px;
                align-items: center;
            }

            .pipeline-line {
                display: none;
            }
        }

        /* Pricing / Engagement Models */
        .pricing-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            max-width: 1200px;
            margin: 0 auto;
        }

        .pricing-card {
            background: var(--glass-bg);
            border: 1px solid var(--glass-border);
            border-radius: 24px;
            padding: 40px;
            backdrop-filter: blur(20px);
            transition: transform 0.3s, border-color 0.3s;
            position: relative;
            display: flex;
            flex-direction: column;
        }

        .pricing-card.popular {
            border-color: var(--primary);
            box-shadow: 0 0 30px rgba(59, 130, 246, 0.2);
            transform: scale(1.05);
            z-index: 2;
        }

        .pricing-card:hover {
            transform: translateY(-10px);
            border-color: var(--accent);
        }

        .pricing-card.popular:hover {
            transform: scale(1.05) translateY(-10px);
        }

        .badge-popular {
            position: absolute;
            top: -15px;
            right: 30px;
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            color: white;
            padding: 5px 15px;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 600;
            box-shadow: 0 4px 10px rgba(59, 130, 246, 0.4);
        }

        .metric-box {
            background: rgba(6, 182, 212, 0.1);
            border-left: 3px solid var(--accent);
            padding: 15px;
            margin-top: 20px;
            border-radius: 0 8px 8px 0;
        }

        .metric-value {
            font-size: 1.8rem;
            font-weight: 800;
            color: var(--accent);
            font-family: "Outfit", sans-serif;
        }

        /* Events & Gallery Slider */
        .image-slider {
            width: 100vw;
            position: relative;
            left: calc(-50vw + 50%);
            overflow: hidden;
            padding: 10px 0;
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .slider-track {
            display: flex;
            gap: 20px;
            width: max-content;
            animation: scroll-images 35s linear infinite;
        }

        .slider-track.reverse {
            animation-direction: reverse;
        }

        .slider-track:hover {
            animation-play-state: paused;
        }

        .slider-item {
            width: 320px;
            height: 220px;
            border-radius: 16px;
            overflow: hidden;
            flex-shrink: 0;
            border: 1px solid var(--glass-border);
            transition: all 0.4s;
            position: relative;
            background: var(--glass-bg);
            cursor: pointer;
        }

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

        .slider-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 30px rgba(6, 182, 212, 0.3);
            border-color: var(--accent);
            z-index: 10;
        }

        .slider-item:hover img {
            transform: scale(1.1);
        }

        @keyframes scroll-images {
            0% {
                transform: translateX(0);
            }

            100% {
                transform: translateX(calc(-50% - 10px));
            }
        }

        /* Image Modal (Lightbox) */
        .image-modal {
            display: none;
            position: fixed;
            z-index: 1000;
            padding-top: 50px;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(3, 7, 18, 0.9);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
        }

        .modal-content {
            margin: auto;
            display: block;
            max-width: 90%;
            max-height: 85vh;
            border-radius: 12px;
            box-shadow: 0 0 50px rgba(6, 182, 212, 0.4);
            animation: zoomIn 0.3s ease;
            object-fit: contain;
        }

        .modal-close {
            position: absolute;
            top: 30px;
            right: 40px;
            color: #fff;
            font-size: 40px;
            font-weight: bold;
            transition: 0.3s;
            cursor: pointer;
        }

        .modal-close:hover,
        .modal-close:focus {
            color: var(--accent);
            text-decoration: none;
        }

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

            to {
                transform: scale(1);
                opacity: 1;
            }
        }

        /* Footer */
        footer {
            text-align: left;
            padding: 40px 5%;
            border-top: 1px solid var(--glass-border);
            color: var(--text-muted);
            /* margin-top: 50px; */
        }

        /* Mobile menu toggle button */
        .mobile-menu-toggle {
            display: none;
            flex-direction: column;
            justify-content: space-between;
            width: 30px;
            height: 20px;
            background: transparent;
            border: none;
            cursor: pointer;
            z-index: 1001;
            padding: 0;
        }

        .mobile-menu-toggle span {
            width: 100%;
            height: 2px;
            background-color: var(--text-main);
            border-radius: 2px;
            transition: all 0.3s ease;
        }

        /* Mobile Menu Drawer */
        .mobile-menu-drawer {
            position: fixed;
            top: 80px; /* navbar height */
            left: 0;
            width: 100%;
            height: calc(100vh - 80px);
            background: rgba(3, 7, 18, 0.98);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border-top: 1px solid var(--glass-border);
            z-index: 999;
            transform: translateY(-100%);
            opacity: 0;
            visibility: hidden;
            transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
            overflow-y: auto;
            padding: 30px 5%;
        }

        .mobile-menu-drawer.active {
            transform: translateY(0);
            opacity: 1;
            visibility: visible;
        }

        .mobile-nav-links {
            list-style: none;
            padding: 0;
            margin: 0;
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .mobile-nav-link {
            font-size: 1.25rem;
            font-weight: 600;
            color: var(--text-main);
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 10px 0;
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
            transition: color 0.3s;
        }

        .mobile-nav-link:hover, .mobile-nav-link.active {
            color: var(--accent);
        }

        /* Mobile Dropdown Menu */
        .mobile-dropdown-menu {
            list-style: none;
            padding-left: 20px;
            margin-top: 10px;
            display: none;
            flex-direction: column;
            gap: 12px;
        }

        .mobile-dropdown.active .mobile-dropdown-menu {
            display: flex;
        }

        .mobile-dropdown-item {
            font-size: 1.1rem;
            color: var(--text-muted);
            display: block;
            padding: 6px 0;
            transition: color 0.3s;
        }

        .mobile-dropdown-item:hover {
            color: var(--text-main);
        }

        /* Chevron Icon for Mobile Dropdown */
        .chevron-down::after {
            content: '▼';
            font-size: 0.75rem;
            margin-left: 8px;
            display: inline-block;
            transition: transform 0.3s;
        }

        .mobile-dropdown.active .chevron-down::after {
            transform: rotate(180deg);
        }

        /* Hamburger Animation */
        .mobile-menu-toggle.active span:nth-child(1) {
            transform: translateY(9px) rotate(45deg);
        }

        .mobile-menu-toggle.active span:nth-child(2) {
            opacity: 0;
        }

        .mobile-menu-toggle.active span:nth-child(3) {
            transform: translateY(-9px) rotate(-45deg);
        }

        body.no-scroll {
            overflow: hidden;
        }

        @media (max-width: 768px) {
            .hero h1 {
                font-size: 3rem;
            }

            .nav-links {
                display: none;
            }

            .btn-contact-nav {
                display: none;
            }

            .mobile-menu-toggle {
                display: flex;
            }

            .agentic-ai {
                flex-direction: column;
            }
        }
        /* ==========================================================================
       POST.PHP STYLES
       ========================================================================== */
    .control { list-style: none; }
    .control li { position: absolute; z-index: 99; top: 50%; transform: translateY(-50%); color: white; background: rgba(0, 0, 0, 0.5); padding: 12px 20px; border-radius: 50%; cursor: pointer; transition: 0.25s linear; }
    .tns-nav { text-align: center; margin-top: 15px; margin-bottom: 15px; }
    .tns-nav button { height: 13px; width: 8px; background-color: #a5a5a5; border: none; margin-left: 7px; border-radius: 50%; }
    
    iframe { width: 100%; border-radius: 12px; }
    
    #post-content { font-family: 'Inter', 'Segoe UI', Roboto, sans-serif; font-size: 1.05rem; line-height: 1.8; color: var(--text-color); }
    #post-content h2 { font-size: 1.8rem; font-weight: 800; color: var(--text-color); margin-top: 2.5rem; margin-bottom: 1rem; line-height: 1.4; font-family: 'Outfit', sans-serif; }
    #post-content h3 { font-size: 1.5rem; font-weight: 700; color: var(--text-color); margin-top: 2rem; margin-bottom: 0.8rem; font-family: 'Outfit', sans-serif; }
    #post-content p, #post-content li { color: var(--text-muted); margin-bottom: 1rem; }
    #post-content ul { margin-left: 1.5rem; padding-left: 0.5rem; }
    #post-content strong { color: var(--text-color); font-weight: 700; }
    #post-content img { border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.08); max-width: 100%; height: auto; margin: 1.5rem 0; }
    
    .product-thumb.transition { 
        background: var(--glass-bg); 
        border: 1px solid var(--glass-border); 
        border-radius: 16px; 
        overflow: hidden; 
        transition: all 0.3s ease; 
        margin-bottom: 20px; 
        padding: 15px; 
        display: flex; 
        flex-direction: column; 
    }
    .product-thumb.transition:hover { box-shadow: 0 10px 25px rgba(0,0,0,0.05); border-color: var(--primary); transform: translateY(-3px); }
    .product-thumb .image { text-align: center; border-radius: 12px; margin-bottom: 15px; overflow: hidden; }
    .product-thumb .image img { max-width: 100%; height: auto; object-fit: contain; }
    .product-thumb .caption h4 { margin: 10px 0; line-height: 1.5; font-size: 1rem; }
    .product-thumb .caption h4 a { font-weight: 700; color: var(--text-color); text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color 0.2s; }
    .product-thumb .caption h4 a:hover { color: var(--primary); }
    .product-thumb .price { margin-top: auto; padding-top: 10px; }
    .product-thumb .price-new { display: block; background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%); color: #fff !important; text-align: center; padding: 10px; border-radius: 8px; font-weight: 700; font-size: 0.9rem; text-transform: uppercase; transition: opacity 0.3s; }
    .product-thumb .price-new:hover { opacity: 0.9; }

    .sidebar-widget {
        background: var(--glass-bg);
        border: 1px solid var(--glass-border);
        border-radius: 20px;
        padding: 25px;
        margin-bottom: 30px;
    }
    
    .sidebar-widget h5 {
        font-family: 'Outfit', sans-serif;
        font-size: 1.2rem;
        font-weight: 800;
        margin-bottom: 20px;
        color: var(--text-color);
        position: relative;
        display: inline-block;
    }
    .sidebar-widget h5::after {
        content: '';
        position: absolute;
        bottom: -6px;
        left: 0;
        width: 40px;
        height: 3px;
        background: var(--primary);
        border-radius: 2px;
    }
    /* ==========================================================================
       DETAIL.PHP STYLES
       ========================================================================== */
    #card_info_course #info_course.collapse:not(.show) { display: block; height: 7rem; overflow: hidden; }
    #card_info_course #info_course.collapsing { height: 7rem; }
    iframe { width: 100%; height: 500px; border-radius: 12px; border: none; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
    
    .glass-card { background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 20px; padding: 30px; margin-bottom: 30px; backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); box-shadow: 0 8px 32px rgba(0,0,0,0.1); }
    .glass-card-header { padding-bottom: 20px; border-bottom: 1px solid var(--glass-border); margin-bottom: 20px; }
    .glass-card-header h3 { font-family: 'Outfit', sans-serif; font-size: 1.5rem; font-weight: 700; color: var(--text-color); margin: 0; }
    
    .detail-hero-title { font-size: 2.2rem; font-weight: 800; font-family: 'Outfit', sans-serif; margin-bottom: 15px; color: var(--text-color); line-height: 1.3; }
    
    .nav-pill-soft .nav-link { color: var(--text-color); font-weight: 600; border-radius: 10px; padding: 10px 20px; background: rgba(255,255,255,0.05); border: 1px solid transparent; transition: all 0.3s; margin-bottom: 10px; }
    .nav-pill-soft .nav-link.active { background: var(--primary); color: white; box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3); }
    .nav-pill-soft .nav-link:hover:not(.active) { background: rgba(255,255,255,0.1); border-color: var(--glass-border); }

    .accordion-button { background: rgba(255,255,255,0.05); color: var(--text-color); border: 1px solid var(--glass-border); border-radius: 12px !important; font-weight: 600; box-shadow: none !important; }
    .accordion-button:not(.collapsed) { background: rgba(59, 130, 246, 0.1); color: var(--primary); border-color: var(--primary); }
    .accordion-button::after { filter: invert(0.5); }
    .accordion-item { background: transparent; border: none; margin-bottom: 15px; }
    .accordion-body { background: rgba(255,255,255,0.02); border: 1px solid var(--glass-border); border-top: none; border-bottom-left-radius: 12px; border-bottom-right-radius: 12px; margin-top: -5px; padding-top: 20px; }
    
    .stat-list { list-style: none; padding: 0; margin: 0; display: flex; gap: 20px; flex-wrap: wrap; margin-top: 20px; }
    .stat-list li { display: flex; align-items: center; gap: 8px; color: var(--text-muted); font-weight: 500; font-size: 0.95rem; }
    .stat-list li i { color: var(--primary); font-size: 1.1rem; }
    
    .info-list-group { padding: 0; margin: 0; list-style: none; }
    .info-list-group li { display: flex; justify-content: space-between; padding: 15px 0; border-bottom: 1px solid var(--glass-border); color: var(--text-muted); }
    .info-list-group li:last-child { border-bottom: none; }
    .info-list-group li span:first-child { display: flex; align-items: center; gap: 10px; font-weight: 500; color: var(--text-color); }

    /* Pagination Styling (Gozic Dark Glassmorphism) */
    .custom-pagination {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        margin: 45px auto 25px;
    }
    .custom-pagination .pagination,
    ul.pagination {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px;
        list-style: none;
        padding: 8px 12px;
        margin: 0;
        background: rgba(15, 23, 42, 0.65);
        border: 1px solid var(--glass-border);
        border-radius: 18px;
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    }
    .custom-pagination .page-item,
    li.page-item {
        margin: 0;
        list-style: none;
    }
    .custom-pagination .page-link,
    li.page-item .page-link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 42px;
        height: 42px;
        padding: 0 14px;
        border-radius: 12px;
        background: var(--glass-bg);
        border: 1px solid var(--glass-border);
        color: var(--text-color);
        font-family: 'Outfit', 'Inter', sans-serif;
        font-weight: 600;
        font-size: 0.92rem;
        text-decoration: none;
        transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
        user-select: none;
    }
    .custom-pagination .page-link i,
    li.page-item .page-link i {
        font-size: 0.85rem;
    }
    .custom-pagination .page-item.active .page-link,
    li.page-item.active .page-link {
        background: linear-gradient(135deg, var(--primary) 0%, #2563eb 100%);
        border-color: rgba(96, 165, 250, 0.6);
        color: #ffffff;
        box-shadow: 0 4px 18px rgba(59, 130, 246, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.3);
        font-weight: 700;
        transform: scale(1.05);
    }
    .custom-pagination .page-item:not(.active):not(.disabled) .page-link:hover,
    li.page-item:not(.active):not(.disabled) .page-link:hover {
        background: rgba(59, 130, 246, 0.16);
        border-color: var(--primary);
        color: #60a5fa;
        transform: translateY(-2px);
        box-shadow: 0 4px 14px rgba(59, 130, 246, 0.25);
    }
    .custom-pagination .page-item.disabled .page-link,
    li.page-item.disabled .page-link {
        opacity: 0.32;
        cursor: not-allowed;
        pointer-events: none;
        background: rgba(255, 255, 255, 0.02);
        border-color: rgba(255, 255, 255, 0.04);
        color: var(--text-muted);
        transform: none !important;
        box-shadow: none !important;
    }
    .custom-pagination .page-item.dots .page-link,
    li.page-item.dots .page-link {
        background: transparent;
        border: none;
        color: var(--text-muted);
        letter-spacing: 2px;
        min-width: 32px;
        cursor: default;
    }
    /* Safety constraint: Prevent any rogue unstyled SVG from breaking layout */
    .custom-pagination svg,
    .pagination svg {
        width: 1rem !important;
        height: 1rem !important;
        max-width: 1rem !important;
        max-height: 1rem !important;
        display: inline-block;
        vertical-align: middle;
    }
    @media (max-width: 640px) {
        .custom-pagination {
            margin: 30px auto 20px;
        }
        .custom-pagination .pagination,
        ul.pagination {
            gap: 5px;
            padding: 6px 8px;
            border-radius: 14px;
        }
        .custom-pagination .page-link,
        li.page-item .page-link {
            min-width: 36px;
            height: 36px;
            padding: 0 10px;
            font-size: 0.85rem;
            border-radius: 8px;
        }
    }
    /* ==========================================================================
       DOC.PHP STYLES
       ========================================================================== */
    .header-doc { position: fixed; z-index: 1020; top: 0; left: 0; right: 0; background-color: var(--bg-color); -webkit-animation: fadeInDown 0.5s; animation: fadeInDown 0.5s; width: 100%; border-bottom: 1px solid var(--glass-border); }
    .footer-doc { position: sticky; }
    .doc-sidebar { background: var(--glass-bg); border-right: 1px solid var(--glass-border); height: calc(100vh - 4.5rem); position: sticky; top: 4.5rem; overflow-y: auto; }
    .doc-sidebar::-webkit-scrollbar { width: 6px; }
    .doc-sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 10px; }
    
    .list-group-borderless .list-group-item { display: block; border: none; background: transparent; color: var(--text-muted); padding: 12px 18px; margin-bottom: 5px; transition: all 0.3s; font-weight: 500; border-radius: 10px; text-decoration: none; line-height: 1.5; }
    .list-group-borderless .list-group-item:hover { background: rgba(255,255,255,0.05); color: var(--text-color); transform: translateX(5px); }
    .list-group-borderless .list-group-item.active { background: var(--primary); color: white; font-weight: 600; border-radius: 10px; box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3); transform: none; }
    
    /* Badges */
    .badge { display: inline-block; padding: 5px 10px; font-size: 0.75rem; font-weight: 600; line-height: 1; text-align: center; white-space: nowrap; vertical-align: middle; border-radius: 6px; margin-right: 5px; }
    .bg-primary, .badge-primary { background-color: rgba(59, 130, 246, 0.2) !important; color: #60a5fa !important; }
    .bg-secondary, .badge-secondary { background-color: rgba(148, 163, 184, 0.2) !important; color: #94a3b8 !important; }
    .bg-success, .badge-success { background-color: rgba(16, 185, 129, 0.2) !important; color: #34d399 !important; }
    .bg-danger, .badge-danger { background-color: rgba(239, 68, 68, 0.2) !important; color: #f87171 !important; }
    .bg-warning, .badge-warning { background-color: rgba(245, 158, 11, 0.2) !important; color: #fbbf24 !important; }
    .bg-info, .badge-info { background-color: rgba(6, 182, 212, 0.2) !important; color: #22d3ee !important; }
    .bg-light, .badge-light { background-color: rgba(255, 255, 255, 0.1) !important; color: var(--text-color) !important; }
    .bg-dark, .badge-dark { background-color: rgba(0, 0, 0, 0.2) !important; color: #fff !important; }
    .label-primary { background-color: rgba(59, 130, 246, 0.2) !important; color: #60a5fa !important; padding: 5px 10px; border-radius: 6px; font-size: 0.75rem; font-weight: 600; display: inline-block; margin-right: 5px; }
    .label-default { background-color: rgba(255, 255, 255, 0.1) !important; color: var(--text-color) !important; padding: 5px 10px; border-radius: 6px; font-size: 0.75rem; font-weight: 600; display: inline-block; margin-right: 5px; }
    .list-group-borderless .list-group-item.active .badge, .list-group-borderless .list-group-item.active [class*="label-"] { background-color: rgba(255,255,255,0.2) !important; color: #fff !important; }
    
    /* Beautiful Code Blocks */
    pre {
        background: #0f172a !important;
        color: #e2e8f0;
        padding: 1.5rem;
        padding-top: 3.5rem; /* Space for the interactive header */
        border-radius: 12px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
        overflow-x: auto;
        position: relative;
        font-family: 'Fira Code', 'Consolas', monospace;
        font-size: 0.95rem;
        line-height: 1.6;
        margin: 2rem 0;
        transition: max-height 0.3s ease;
    }
    
    pre.collapsed {
        max-height: 45px; /* Only show header */
        overflow: hidden;
    }

    pre::-webkit-scrollbar { height: 8px; }
    pre::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.02); border-radius: 0 0 12px 12px; }
    pre::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.2); border-radius: 4px; }
    pre::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.3); }
    
    /* Code Header styles */
    .pre-header {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 45px;
        background: rgba(0, 0, 0, 0.2);
        display: flex;
        align-items: center;
        padding: 0 15px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        user-select: none;
    }
    
    .pre-mac-dots {
        display: flex;
        gap: 8px;
    }
    
    .pre-mac-dots span {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        cursor: pointer;
        display: inline-block;
        transition: transform 0.2s;
    }
    .pre-mac-dots span:hover {
        transform: scale(1.2);
    }
    .pre-dot-red { background: #ef4444; }
    .pre-dot-yellow { background: #f59e0b; }
    .pre-dot-green { background: #10b981; }
    
    .pre-header-title {
        color: rgba(255, 255, 255, 0.5);
        font-size: 0.8rem;
        font-family: 'Inter', sans-serif;
        margin-left: 15px;
        flex: 1;
    }
    
    .pre-copy-btn {
        background: rgba(255, 255, 255, 0.1);
        border: none;
        color: rgba(255, 255, 255, 0.7);
        padding: 4px 10px;
        border-radius: 4px;
        font-size: 0.8rem;
        cursor: pointer;
        transition: all 0.2s;
        display: flex;
        align-items: center;
        gap: 5px;
    }
    .pre-copy-btn:hover {
        background: rgba(255, 255, 255, 0.2);
        color: #fff;
    }
    
    code {
        color: #f472b6;
        background: rgba(255, 255, 255, 0.08);
        padding: 0.2rem 0.4rem;
        border-radius: 6px;
        font-family: 'Fira Code', 'Consolas', monospace;
        font-size: 0.9em;
    }
    pre code { color: inherit; background: transparent; padding: 0; }
    
    .post-content { max-width: 100%; overflow-x: hidden; overflow-wrap: break-word; word-wrap: break-word; }
    .post-content img { max-width: 100%; height: auto; display: block; border-radius: 12px; }

    .doc-main-content { padding: 40px; min-height: calc(100vh - 10rem); margin-bottom: 40px; }
    @media (max-width: 767.98px) {
        .doc-main-content { padding: 5px !important; }
    }

    /* Offcanvas Polyfill for Mobile Drawer */
    .offcanvas {
        position: fixed;
        bottom: 0;
        z-index: 1045;
        display: flex;
        flex-direction: column;
        max-width: 100%;
        visibility: hidden;
        background-color: var(--bs-body-bg);
        background-clip: padding-box;
        outline: 0;
        transition: transform .3s ease-in-out;
    }
    .offcanvas-start {
        top: 0;
        left: 0;
        width: 320px;
        border-right: 1px solid var(--glass-border);
        transform: translateX(-100%);
    }
    .offcanvas.show {
        transform: none;
        visibility: visible;
    }
    .offcanvas-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 1.2rem 1.5rem;
    }
    .offcanvas-title {
        margin-bottom: 0;
        line-height: 1.5;
    }
    .offcanvas-body {
        flex-grow: 1;
        padding: 1rem 1.5rem;
        overflow-y: auto;
    }
    .offcanvas-backdrop {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 1040;
        width: 100vw;
        height: 100vh;
        background-color: #000;
        opacity: 0.5;
    }

    /* Mobile Toggle Bar */
    .mobile-toggle-menu {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    @media (min-width: 768px) {
        .mobile-toggle-menu {
            display: none !important;
        }
    }

    /* Mobile Content Padding Fix */
    @media (max-width: 767.98px) {
        .mobile-content-pad {
            padding-left: 5px !important;
            padding-right: 5px !important;
            padding-top: 15px !important;
        }
    }

    /* Sidebar Menu Styling */
    .doc-menu-item {
        display: flex;
        align-items: center;
        background: transparent;
        color: var(--text-muted);
        border: 1px solid transparent;
        padding: 10px 15px;
        border-radius: 8px;
        margin-bottom: 8px;
        transition: all 0.3s ease;
        text-decoration: none;
        font-weight: 500;
    }
    .doc-menu-item i {
        margin-right: 12px;
        font-size: 1.1rem;
        opacity: 0.6;
        transition: all 0.3s ease;
    }
    .doc-menu-item:hover {
        background: rgba(59, 130, 246, 0.1);
        color: var(--primary);
        transform: translateX(5px);
        text-decoration: none;
    }
    .doc-menu-item:hover i {
        opacity: 1;
        color: var(--primary);
    }
    .doc-menu-item.active {
        background: linear-gradient(135deg, var(--primary) 0%, #2563eb 100%);
        color: #fff !important;
        box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
        border-color: transparent;
    }
    .doc-menu-item.active i {
        opacity: 1;
        color: #fff;
    }
    .doc-menu-item.quiz-item:hover {
        background: rgba(139, 92, 246, 0.1);
        color: var(--secondary, #8b5cf6);
    }
    .doc-menu-item.quiz-item:hover i {
        color: var(--secondary, #8b5cf6);
    }
    .doc-menu-item.quiz-item.active {
        background: linear-gradient(135deg, var(--secondary, #8b5cf6) 0%, #7c3aed 100%);
        box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
    }
    .doc-category-label {
        color: var(--text-muted);
        font-family: 'Outfit', sans-serif;
        font-size: 0.85rem;
        letter-spacing: 1.5px;
        text-transform: uppercase;
        margin-top: 1.5rem;
        margin-bottom: 0.75rem;
        display: block;
        font-weight: 600;
    }

    .doc-title { font-family: 'Outfit', sans-serif; font-size: 2.2rem; font-weight: 800; color: var(--text-color); margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--glass-border); }
    /* ==========================================================================
       CUSTOM GOZIC FRAMEWORK (Bootstrap Replacement)
       ========================================================================== */
    .container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }
    .container-fluid { width: 100%; padding: 0 15px; }
    .row { display: flex; flex-wrap: wrap; margin-left: -15px; margin-right: -15px; }
    .row > [class^="col-"] { padding-left: 15px; padding-right: 15px; width: 100%; }
    .col-12 { flex: 0 0 100%; max-width: 100%; }
    .col-sm-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
    .col-sm-6 { flex: 0 0 50%; max-width: 50%; }
    .col-sm-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
    @media (min-width: 768px) {
        .col-md-3 { flex: 0 0 25%; max-width: 25%; }
        .col-md-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
        .col-md-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
        .col-md-6 { flex: 0 0 50%; max-width: 50%; }
        .col-md-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
        .col-md-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
        .col-md-9 { flex: 0 0 75%; max-width: 75%; }
        .col-md-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
    }
    @media (min-width: 992px) {
        .col-lg-3 { flex: 0 0 25%; max-width: 25%; }
        .col-lg-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
        .col-lg-6 { flex: 0 0 50%; max-width: 50%; }
        .col-lg-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
        .col-lg-9 { flex: 0 0 75%; max-width: 75%; }
    }
    @media (min-width: 1200px) {
        .col-xl-6 { flex: 0 0 50%; max-width: 50%; }
    }
    /* Gap Utilities */
    .g-0 { margin-left: 0; margin-right: 0; }
    .g-0 > [class^="col-"] { padding-left: 0; padding-right: 0; }
    .g-3 { margin-left: -15px; margin-right: -15px; }
    .g-3 > [class^="col-"] { padding-left: 15px; padding-right: 15px; margin-top: 15px; margin-bottom: 15px; }
    .g-4 { margin-left: -20px; margin-right: -20px; }
    .g-4 > [class^="col-"] { padding-left: 20px; padding-right: 20px; margin-top: 20px; margin-bottom: 20px; }
    @media (min-width: 992px) {
        .g-lg-5 { margin-left: -30px; margin-right: -30px; }
        .g-lg-5 > [class^="col-"] { padding-left: 30px; padding-right: 30px; margin-top: 30px; margin-bottom: 30px; }
    }
    .mx-auto { margin-left: auto !important; margin-right: auto !important; }
    /* Display Utilities */
    .d-none { display: none !important; }
    .d-block { display: block !important; }
    .d-inline-block { display: inline-block !important; }
    .d-flex { display: flex !important; }
    
    @media (min-width: 576px) {
        .d-sm-none { display: none !important; }
        .d-sm-block { display: block !important; }
        .d-sm-flex { display: flex !important; }
    }
    @media (min-width: 768px) {
        .col-md-3 { flex: 0 0 25%; max-width: 25%; }
        .col-md-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
        .col-md-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
        .col-md-6 { flex: 0 0 50%; max-width: 50%; }
        .col-md-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
        .col-md-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
        .col-md-9 { flex: 0 0 75%; max-width: 75%; }
        .col-md-12 { flex: 0 0 100%; max-width: 100%; }
        
        .d-md-none { display: none !important; }
        .d-md-block { display: block !important; }
        .d-md-flex { display: flex !important; }
    }
    @media (min-width: 992px) {
        .d-lg-none { display: none !important; }
        .d-lg-block { display: block !important; }
        .d-lg-flex { display: flex !important; }
    }
    /* Gozic Layout Utilities */
    .mt-1 { margin-top: 0.25rem !important; } .mt-2 { margin-top: 0.5rem !important; } .mt-3 { margin-top: 1rem !important; } .mt-4 { margin-top: 1.5rem !important; } .mt-5 { margin-top: 3rem !important; }
    .mb-1 { margin-bottom: 0.25rem !important; } .mb-2 { margin-bottom: 0.5rem !important; } .mb-3 { margin-bottom: 1rem !important; } .mb-4 { margin-bottom: 1.5rem !important; } .mb-5 { margin-bottom: 3rem !important; }
    .pt-1 { padding-top: 0.25rem !important; } .pt-2 { padding-top: 0.5rem !important; } .pt-3 { padding-top: 1rem !important; } .pt-4 { padding-top: 1.5rem !important; } .pt-5 { padding-top: 3rem !important; }
    .pb-1 { padding-bottom: 0.25rem !important; } .pb-2 { padding-bottom: 0.5rem !important; } .pb-3 { padding-bottom: 1rem !important; } .pb-4 { padding-bottom: 1.5rem !important; } .pb-5 { padding-bottom: 3rem !important; }
    .py-1 { padding-top: 0.25rem !important; padding-bottom: 0.25rem !important; }
    .py-2 { padding-top: 0.5rem !important; padding-bottom: 0.5rem !important; }
    .py-3 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
    .py-4 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
    .py-5 { padding-top: 3rem !important; padding-bottom: 3rem !important; }
    .mx-auto { margin-left: auto !important; margin-right: auto !important; }
    
    .d-flex { display: flex !important; }
    .align-items-center { align-items: center !important; }
    .justify-content-center { justify-content: center !important; }
    .justify-content-between { justify-content: space-between !important; }
    .gap-2 { gap: 0.5rem !important; }
    .gap-3 { gap: 1rem !important; }
    .gap-4 { gap: 1.5rem !important; }
    
    .text-center { text-align: center !important; }
    .text-start { text-align: left !important; }
    .text-end { text-align: right !important; }
    
    .w-100 { width: 100% !important; }
    .h-100 { height: 100% !important; }
    .img-fluid { max-width: 100%; height: auto; }
    
    .fs-1 { font-size: calc(1.375rem + 1.5vw) !important; }
    .fs-2 { font-size: calc(1.325rem + 0.9vw) !important; }
    .fs-3 { font-size: calc(1.3rem + 0.6vw) !important; }
    .fs-4 { font-size: calc(1.275rem + 0.3vw) !important; }
    .fs-5 { font-size: 1.25rem !important; }
    .fs-6 { font-size: 1rem !important; }
    
    .rounded { border-radius: .25rem !important; }
    .rounded-3 { border-radius: .3rem !important; }
    .rounded-4 { border-radius: .5rem !important; }
    
    .position-relative { position: relative !important; }
    .position-absolute { position: absolute !important; }
    
    /* Grid gap */
    .g-1 { --bs-gutter-y: 0.25rem; --bs-gutter-x: 0.25rem; margin-top: calc(-1 * var(--bs-gutter-y)); margin-left: calc(-1 * var(--bs-gutter-x)); }
    .g-1 > * { padding-top: var(--bs-gutter-y); padding-left: var(--bs-gutter-x); }
    .g-2 { --bs-gutter-y: 0.5rem; --bs-gutter-x: 0.5rem; margin-top: calc(-1 * var(--bs-gutter-y)); margin-left: calc(-1 * var(--bs-gutter-x)); }
    .g-2 > * { padding-top: var(--bs-gutter-y); padding-left: var(--bs-gutter-x); }
    .g-3 { --bs-gutter-y: 1rem; --bs-gutter-x: 1rem; margin-top: calc(-1 * var(--bs-gutter-y)); margin-left: calc(-1 * var(--bs-gutter-x)); }
    .g-3 > * { padding-top: var(--bs-gutter-y); padding-left: var(--bs-gutter-x); }
    .g-4 { --bs-gutter-y: 1.5rem; --bs-gutter-x: 1.5rem; margin-top: calc(-1 * var(--bs-gutter-y)); margin-left: calc(-1 * var(--bs-gutter-x)); }
    .g-4 > * { padding-top: var(--bs-gutter-y); padding-left: var(--bs-gutter-x); }
    .g-5 { --bs-gutter-y: 3rem; --bs-gutter-x: 3rem; margin-top: calc(-1 * var(--bs-gutter-y)); margin-left: calc(-1 * var(--bs-gutter-x)); }
    .g-5 > * { padding-top: var(--bs-gutter-y); padding-left: var(--bs-gutter-x); }

    /* Table of contents & content backgrounds */
    #content { color: var(--text-color); }
    #content div[style*="background-color: #f8f9fa"], 
    #content div[style*="background-color: #ffffff"], 
    #content div[style*="background: #fff"], 
    #content div[style*="background-color: white"],
    .menu-content, 
    #menu-content {
        background-color: var(--glass-bg) !important;
        background: var(--glass-bg) !important;
        border: 1px solid var(--glass-border) !important;
        color: var(--text-color) !important;
        border-radius: 12px;
        backdrop-filter: blur(10px);
    }
    #content ul, #content ol { color: var(--text-color); }
    #content a { color: var(--primary); }

    /* Table Styling for Content */
    .blog-content table {
        width: 100%;
        max-width: 100%;
        border-collapse: collapse;
        margin-bottom: 1.5rem;
        background-color: var(--glass-bg) !important;
        color: var(--text-color) !important;
        border: 1px solid var(--glass-border) !important;
    }
    .blog-content table th, 
    .blog-content table td {
        padding: 12px 15px;
        border: 1px solid var(--glass-border) !important;
        color: var(--text-color) !important;
    }
    .blog-content table th {
        background-color: rgba(255, 255, 255, 0.05) !important;
        font-weight: 600;
        text-align: left;
    }
    .blog-content table tbody tr:nth-of-type(even) {
        background-color: rgba(255, 255, 255, 0.02) !important;
    }
    .blog-content table tbody tr:hover {
        background-color: rgba(255, 255, 255, 0.06) !important;
    }

    /* Summernote Dark Mode Override */
    .note-editor.note-frame { border: 1px solid var(--glass-border) !important; background: var(--glass-bg) !important; border-radius: 12px; overflow: hidden; }
    .note-toolbar { background: rgba(255,255,255,0.05) !important; border-bottom: 1px solid var(--glass-border) !important; }
    .note-btn { background: transparent !important; color: var(--text-color) !important; border: none !important; }
    .note-btn:hover { background: rgba(255,255,255,0.1) !important; }
    .note-editing-area .note-editable { color: var(--text-color) !important; background: transparent !important; }
    .note-statusbar { background: rgba(255,255,255,0.02) !important; border-top: 1px solid var(--glass-border) !important; }
    .note-icon-caret { display: none; }
    .note-placeholder { color: var(--text-muted) !important; }

    /* Form Controls - defined below in Forms section */
    .form-group { margin-bottom: 1rem; }
    
    /* Modals Override */
    .modal.show { display: block; }
    .modal-dialog { position: relative; margin: 5% auto; max-width: 800px; padding: 20px; }
    .modal-content { background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 20px; backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); box-shadow: 0 8px 32px rgba(0,0,0,0.2); width: 100%; display: flex; flex-direction: column; color: var(--text-color); margin: auto; max-height: 85vh; overflow-y: auto;}
    .modal-header { display: flex; justify-content: space-between; padding: 20px; border-bottom: 1px solid var(--glass-border); align-items: center; }
    .modal-title { margin: 0; font-family: 'Outfit', sans-serif; font-size: 1.25rem; font-weight: 700; }
    .modal-body { padding: 20px; flex: 1 1 auto; }
    .modal-footer { display: flex; justify-content: flex-end; gap: 10px; padding: 20px; border-top: 1px solid var(--glass-border); }
    .close { background: transparent; border: none; font-size: 1.5rem; font-weight: bold; color: var(--text-color); cursor: pointer; opacity: 0.8; }
    .close:hover { opacity: 1; }

    @media (min-width: 992px) {
        .col-lg-3 { flex: 0 0 25%; max-width: 25%; }
        .col-lg-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
        .col-lg-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
        .col-lg-9 { flex: 0 0 75%; max-width: 75%; }
    }
    @media (min-width: 1200px) {
        .col-xl-3 { flex: 0 0 25%; max-width: 25%; }
        .col-xl-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
        .col-xl-6 { flex: 0 0 50%; max-width: 50%; }
        .col-xl-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
        .col-xl-9 { flex: 0 0 75%; max-width: 75%; }
    }
    
    .g-0 { margin-left: 0; margin-right: 0; }
    .g-0 > [class^="col-"] { padding-left: 0; padding-right: 0; }
    .g-3 > [class^="col-"] { padding-left: 10px; padding-right: 10px; }
    .g-4 > [class^="col-"] { padding-left: 15px; padding-right: 15px; }

    .d-flex { display: flex; }
    .flex-column { flex-direction: column; }
    .align-items-center { align-items: center; }
    .justify-content-center { justify-content: center; }
    .justify-content-between { justify-content: space-between; }
    
    .text-center { text-align: center; }
    .text-primary { color: var(--primary) !important; }
    .text-danger { color: #ef4444 !important; }
    .text-muted { color: var(--text-muted) !important; }
    .text-white { color: #fff !important; }
    .text-uppercase { text-transform: uppercase; }
    .fw-bold { font-weight: 700; }
    .w-100 { width: 100%; }
    
    .mt-0 { margin-top: 0; } .mt-3 { margin-top: 1rem; } .mt-4 { margin-top: 1.5rem; } .mt-5 { margin-top: 3rem; }
    .mb-0 { margin-bottom: 0; } .mb-3 { margin-bottom: 1rem; } .mb-4 { margin-bottom: 1.5rem; } .mb-5 { margin-bottom: 3rem; }
    .pt-4 { padding-top: 1.5rem; } .pt-5 { padding-top: 3rem; }
    .pb-0 { padding-bottom: 0; } .pb-5 { padding-bottom: 3rem; }
    .p-0 { padding: 0; } .p-3 { padding: 1rem; } .p-4 { padding: 1.5rem; } .p-5 { padding: 3rem; }
    .mx-auto { margin-left: auto; margin-right: auto; }
    
    /* Forms */
    .form-label { display: block; margin-bottom: 0.5rem; font-weight: 600; color: var(--text-color); }
    .form-control { display: block; width: 100%; padding: 12px 20px; font-family: 'Inter', sans-serif; font-size: 1rem; font-weight: 400; line-height: 1.5; color: var(--text-color); background-color: var(--glass-bg); background-clip: padding-box; border: 1px solid var(--glass-border); appearance: none; border-radius: 12px; transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; }
    .form-control:focus { color: var(--text-color); background-color: rgba(255,255,255,0.05); border-color: var(--primary); outline: 0; box-shadow: 0 0 0 0.25rem rgba(59, 130, 246, 0.25); }
    
    /* Accordion */
    .accordion { border-radius: 12px; overflow: hidden; }
    .accordion-item { background-color: transparent; border: none; margin-bottom: 15px; }
    .accordion-header { margin: 0; }
    .accordion-button { position: relative; display: flex; align-items: center; width: 100%; padding: 1rem 1.25rem; font-size: 1rem; color: var(--text-color); text-align: left; background-color: rgba(255,255,255,0.05); border: 1px solid var(--glass-border); border-radius: 12px; font-weight: 600; cursor: pointer; transition: color 0.15s, background-color 0.15s, border-color 0.15s; }
    .accordion-button:not(.collapsed) { background-color: rgba(59, 130, 246, 0.1); color: var(--primary); border-color: var(--primary); }
    .accordion-button::after { flex-shrink: 0; width: 1.25rem; height: 1.25rem; margin-left: auto; content: "\f107"; font-family: "Font Awesome 5 Free"; font-weight: 900; transition: transform 0.2s; }
    .accordion-button:not(.collapsed)::after { transform: rotate(-180deg); }
    .accordion-collapse { overflow: hidden; transition: max-height 0.3s ease-in-out; max-height: 0; }
    .accordion-collapse.show { max-height: 2000px; } /* Sufficiently large for content */
    .accordion-body { padding: 1rem 1.25rem; background: rgba(255,255,255,0.02); border: 1px solid var(--glass-border); border-top: none; border-bottom-left-radius: 12px; border-bottom-right-radius: 12px; margin-top: -5px; padding-top: 20px; }

    /* Tabs */
    .nav-tabs { display: flex; flex-wrap: wrap; padding-left: 0; margin-bottom: 0; list-style: none; border-bottom: 1px solid var(--glass-border); }
    .nav-tabs .nav-link { margin-bottom: -1px; background: 0 0; border: 1px solid transparent; border-top-left-radius: 10px; border-top-right-radius: 10px; padding: 10px 20px; cursor: pointer; color: var(--text-muted); font-weight: 500; transition: all 0.3s; }
    .nav-tabs .nav-link:hover { border-color: transparent; color: var(--text-color); }
    .nav-tabs .nav-link.active { color: var(--primary); background-color: rgba(255,255,255,0.03); border-color: var(--glass-border) var(--glass-border) transparent; }
    .tab-content > .tab-pane { display: none; }
    .tab-content > .active { display: block; }
    .fade { transition: opacity .15s linear; }
    .fade:not(.show) { opacity: 0; }

    /* Floating Edit Button (Giao diện chuẩn mới) */
    .btn-float-edit {
        position: fixed;
        right: 30px;
        background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
        color: white !important;
        width: 60px;
        height: 60px;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        box-shadow: 0 10px 20px rgba(245, 158, 11, 0.4) !important;
        z-index: 1000;
        transition: transform 0.3s, box-shadow 0.3s;
        text-decoration: none;
    }
    
    .btn-float-edit:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 25px rgba(245, 158, 11, 0.6) !important;
        color: white !important;
    }

    /* Course Card (for category/product list) */
    .course-card {
        padding: 0;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        border-radius: 16px;
        transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
        border: 1px solid var(--glass-border);
        background: var(--glass-bg);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }
    .course-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 30px rgba(0,0,0,0.15);
        border-color: var(--primary);
    }
    .course-card .course-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }
    .course-card:hover .course-img {
        transform: scale(1.05);
    }
    .course-card .course-title {
        color: var(--text-color);
        text-decoration: none;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        transition: color 0.3s ease;
    }
    .course-card:hover .course-title {
        color: var(--primary);
    }

    #table-content {
        padding-right: 10px !important;
    }

    /* Global Article & Lesson Typography Overrides (Dark Theme Readability) */
    .article-body,
    .article-body p,
    .article-body span,
    .article-body div,
    .article-body li,
    .article-body font,
    .lesson-reading-body,
    .lesson-reading-body p,
    .lesson-reading-body span,
    .lesson-reading-body div,
    .lesson-reading-body li,
    .lesson-reading-body font {
        color: #cbd5e1 !important;
        background-color: transparent !important;
    }
    .article-body h1,
    .article-body h2,
    .article-body h3,
    .article-body h4,
    .article-body h5,
    .article-body h6,
    .lesson-reading-body h1,
    .lesson-reading-body h2,
    .lesson-reading-body h3,
    .lesson-reading-body h4,
    .lesson-reading-body h5,
    .lesson-reading-body h6 {
        color: #ffffff !important;
        background-color: transparent !important;
        font-weight: 700;
        margin-top: 1.5rem;
        margin-bottom: 0.75rem;
    }
    .article-body strong,
    .article-body b,
    .lesson-reading-body strong,
    .lesson-reading-body b {
        color: #ffffff !important;
    }
    .article-body a,
    .lesson-reading-body a,
    .article-body a *,
    .lesson-reading-body a * {
        color: #60a5fa !important;
        text-decoration: none !important;
    }
    .article-body a:hover,
    .lesson-reading-body a:hover,
    .article-body a:hover *,
    .lesson-reading-body a:hover * {
        color: #93c5fd !important;
        text-decoration: none !important;
    }
    .article-body u,
    .lesson-reading-body u {
        text-decoration: none !important;
    }
    .article-body code,
    .lesson-reading-body code {
        color: #38bdf8 !important;
        background: rgba(56, 189, 248, 0.1) !important;
        padding: 2px 6px;
        border-radius: 4px;
        font-family: 'Fira Code', 'Consolas', monospace;
    }
    .article-body pre code,
    .lesson-reading-body pre code {
        color: #e2e8f0 !important;
        background: transparent !important;
        padding: 0;
    }

    /* Google Classroom Share Button Component */
    .google-classroom-btn-ui {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        text-decoration: none;
        transition: transform 0.2s ease, filter 0.2s ease;
        vertical-align: middle;
        cursor: pointer;
    }
    .google-classroom-btn-ui:hover {
        transform: scale(1.08);
        filter: drop-shadow(0 2px 8px rgba(245, 186, 24, 0.45));
    }