 :root {
            --royal-purple: #4B0082;
            --royal-dark-purple: #2E0854;
            --royal-blue: #0A2463;
            --royal-gold: #D4AF37;
            --royal-light-gold: #F0E68C;
            --royal-silver: #C0C0C0;
            --royal-dark: #1A1A2E;
            --royal-light: #F5F5F5;
            --royal-gradient: linear-gradient(135deg, #4B0082 0%, #0A2463 50%, #1A1A2E 100%);
            --gold-gradient: linear-gradient(45deg, #D4AF37 0%, #F0E68C 50%, #D4AF37 100%);
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Montserrat', sans-serif;
            background-color: var(--royal-dark);
            color: var(--royal-silver);
            overflow-x: hidden;
        }
        
        h1, h2, h3, h4, h5, h6 {
            font-family: 'Cinzel', serif;
            font-weight: 700;
        }
        
        /* Royal Header */
        header {
            background: var(--royal-gradient);
            padding: 1rem 0;
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
            border-bottom: 3px solid var(--royal-gold);
        }
        
        .logo {
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            text-align: center;
            padding: 1rem;
        }
        
        .logo img {
            height: 70px;
            width: auto;
            border-radius: 50%;
            border: 3px solid var(--royal-gold);
            padding: 3px;
            box-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
            margin-bottom: 10px;
        }
        
        .logo h1 {
            font-size: 2.2rem;
            background: var(--gold-gradient);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            text-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
            letter-spacing: 1.5px;
        }
        
        /* Navigation */
        nav ul {
            display: flex;
            justify-content: center;
            list-style: none;
            flex-wrap: wrap;
            gap: 2rem;
            margin-top: 1rem;
            padding: 0 1rem;
        }
        
        nav ul li a {
            color: var(--royal-light-gold);
            text-decoration: none;
            font-family: 'Playfair Display', serif;
            font-size: 1.1rem;
            font-weight: 600;
            padding: 0.5rem 1.5rem;
            border-radius: 30px;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            z-index: 1;
        }
        
        nav ul li a::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 0;
            height: 100%;
            background: rgba(212, 175, 55, 0.2);
            border-radius: 30px;
            transition: width 0.3s ease;
            z-index: -1;
        }
        
        nav ul li a:hover::before {
            width: 100%;
        }
        
        nav ul li a:hover {
            color: var(--royal-gold);
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
        }
        
        /* Main Content */
        .section {
            padding-top: 180px;
            padding-bottom: 60px;
            position: relative;
        }
        
        .container1 {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
            position: relative;
            z-index: 2;
        }
        
        .designerText {
            font-size: 2.8rem;
            text-align: center;
            margin-bottom: 2rem;
            background: var(--gold-gradient);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            position: relative;
            padding-bottom: 15px;
        }
        
        .designerText::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 150px;
            height: 4px;
            background: var(--gold-gradient);
            border-radius: 2px;
        }
        
        .container1 p {
            font-size: 1.2rem;
            line-height: 1.8;
            text-align: center;
            max-width: 900px;
            margin: 0 auto 3rem;
            color: var(--royal-silver);
            background: rgba(26, 26, 46, 0.7);
            padding: 2rem;
            border-radius: 15px;
            border-left: 5px solid var(--royal-gold);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        }
        
        /* Video Box */
        .box {
            max-width: 800px;
            margin: 3rem auto;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
            border: 3px solid transparent;
            background: linear-gradient(var(--royal-dark), var(--royal-dark)) padding-box,
                        var(--gold-gradient) border-box;
            position: relative;
        }
        
        .box video {
            width: 100%;
            height: auto;
            display: block;
        }
        
        /* Algorithm Sections */
        .algorithm-section {
            padding: 100px 0;
            position: relative;
        }
        
        .algorithm-section:nth-child(odd) {
            background: rgba(10, 36, 99, 0.1);
        }
        
        .algorithm-section:nth-child(even) {
            background: rgba(75, 0, 130, 0.1);
        }
        
        .container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 20px;
            display: flex;
            flex-direction: row;
            align-items: center;
            justify-content: center;
        }
        
        /* Algorithm Cards */
        .sCon {
            display: inline-block;
            width: 18%;
            margin: 1%;
            position: relative;
            transition: all 0.4s ease;
        }
        
        .sCon a {
            display: block;
            text-decoration: none;
            position: relative;
            overflow: hidden;
            border-radius: 15px;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
            border: 3px solid transparent;
            background: linear-gradient(var(--royal-dark), var(--royal-dark)) padding-box,
                        var(--gold-gradient) border-box;
        }
        
        .sCon img {
            width: 100%;
            height: 200px;
            object-fit: cover;
            display: block;
            transition: transform 0.5s ease;
        }
        
        .sCon:hover {
            transform: translateY(-15px) scale(1.05);
        }
        
        .sCon:hover img {
            transform: scale(1.1);
        }
        
        .sCon::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(to bottom, transparent 50%, rgba(212, 175, 55, 0.2) 100%);
            border-radius: 15px;
            pointer-events: none;
        }
        
        .head3 {
            text-align: center;
            margin-top: 3rem;
            font-size: 1.8rem;
            color: var(--royal-light-gold);
            font-family: 'Playfair Display', serif;
            font-style: italic;
            position: relative;
            padding: 1rem;
        }
        
        .head3::before, .head3::after {
            content: '✦';
            color: var(--royal-gold);
            margin: 0 15px;
            font-size: 1.5rem;
        }
        
        /* Searching Section */
        .searching {
            width: 45%;
            margin: 2%;
        }
        
        /* Data Structures Section */
        #data-structures {
            padding: 100px 0;
            background: rgba(26, 26, 46, 0.9);
            position: relative;
        }
        
        #data-structures h2 {
            text-align: center;
            font-size: 2.8rem;
            margin-bottom: 3rem;
            background: var(--gold-gradient);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            text-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
        }
        
        .linkOfWindow {
            text-align: center;
            margin-top: 4rem;
        }
        
        .linkOfWindow a {
            display: inline-block;
            padding: 15px 40px;
            background: var(--gold-gradient);
            color: var(--royal-dark);
            text-decoration: none;
            font-family: 'Cinzel', serif;
            font-weight: 700;
            font-size: 1.2rem;
            border-radius: 50px;
            transition: all 0.3s ease;
            box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
            border: 2px solid transparent;
        }
        
        .linkOfWindow a:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(212, 175, 55, 0.5);
            color: var(--royal-purple);
        }
        
        /* Back to Top Button */
        .back-to-top {
            position: fixed;
            bottom: 30px;
            right: 30px;
            z-index: 999;
        }
        
        .back-to-top a {
            display: block;
            width: 60px;
            height: 60px;
            background: var(--gold-gradient);
            border-radius: 50%;
            text-align: center;
            line-height: 60px;
            color: var(--royal-dark);
            font-size: 1.5rem;
            text-decoration: none;
            box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
            transition: all 0.3s ease;
        }
        
        .back-to-top a:hover {
            transform: translateY(-5px) rotate(360deg);
            box-shadow: 0 10px 25px rgba(212, 175, 55, 0.6);
        }
        
        /* Decorative Elements */
        .algorithm-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23d4af37' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
            opacity: 0.3;
            z-index: -1;
        }
        
        /* Scrollbar Styling */
        ::-webkit-scrollbar {
            width: 12px;
        }
        
        ::-webkit-scrollbar-track {
            background: var(--royal-dark);
        }
        
        ::-webkit-scrollbar-thumb {
            background: var(--gold-gradient);
            border-radius: 6px;
        }
        
        /* Responsive Design */
        @media (max-width: 1200px) {
            .sCon {
                width: 23%;
                margin: 1%;
            }
            
            .searching {
                width: 48%;
                margin: 1%;
            }
        }
        
        @media (max-width: 992px) {
            .sCon {
                width: 31%;
                margin: 1%;
            }
            
            .searching {
                width: 48%;
                margin: 1%;
            }
            
            .logo h1 {
                font-size: 1.8rem;
            }
            
            .designerText {
                font-size: 2.2rem;
            }
            
            .section {
                padding-top: 160px;
            }
        }
        
        @media (max-width: 768px) {
            .sCon {
                width: 48%;
                margin: 1%;
            }
            
            .searching {
                width: 48%;
                margin: 1%;
            }
            
            nav ul {
                gap: 1rem;
            }
            
            nav ul li a {
                padding: 0.5rem 1rem;
                font-size: 1rem;
            }
            
            .logo h1 {
                font-size: 1.5rem;
            }
            
            .designerText {
                font-size: 1.8rem;
            }
            
            .container1 p {
                font-size: 1rem;
                padding: 1.5rem;
            }
        }
        
        @media (max-width: 576px) {
            .sCon {
                width: 90%;
                margin: 5% auto;
                display: block;
            }
            
            .searching {
                width: 90%;
                margin: 5% auto;
                display: block;
            }
            
            nav ul {
                flex-direction: column;
                align-items: center;
                gap: 0.5rem;
            }
            
            .logo {
                padding: 0.5rem;
            }
            
            .logo h1 {
                font-size: 1.3rem;
            }
            
            .section {
                padding-top: 200px;
            }
        }