:root {
    /* Primary colors */
    --primary: #4a6cf7;
    --primary-dark: #3a5af0;
    --secondary: #09f1b8;
    --accent: #ff00d2;

    /* Backgrounds */
    --bg-light: #f8f9ff;
    --bg-dark: #1a1d2e;
    --card-bg: #ffffff;

    /* Text */
    --text-dark: #1e293b;
    --text-light: #64748b;
    --text-white: #ffffff;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);

    /* Borders */
    --border-radius: 12px;
    --border-color: #e2e8f0;

    /* Animation defaults */
    --anim-duration: 0.5s;
    --anim-timing: ease;
    --anim-delay: 0s;
    --anim-repeat: 1;
}
/* Glitter/Sparkle effect for text */
.glitter-text {
    background: linear-gradient(90deg, #fff700, #ff00cc, #00e1ff, #fff700, #ff00cc, #00e1ff);
    background-size: 200% auto;
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    animation: glitter-move 2.5s linear infinite;
    font-weight: 900;
    text-shadow: 0 0 8px #fff, 0 0 2px #ffd700;
    filter: brightness(1.1) drop-shadow(0 2px 8px #b5d5f7);
}

@keyframes glitter-move {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}
nav[style*="background: #ffeb3b"] {
    background: linear-gradient(90deg, #ffe259 0%, #ffa751 100%);
    opacity: 0.96;
    transition: opacity 0.2s;
}
.flash-marquee {
    color: #23272f;
    font-weight: 700;
    text-shadow: 0 1px 2px #fffbe6;
}
.flash-marquee {
    display: inline-block;
    white-space: nowrap;
    animation: marquee 15s linear infinite;
    font-weight: 600;
    color: #23272f;
    font-size: 1rem;
}
@keyframes marquee {
    0%   { transform: translateX(100%);}
    100% { transform: translateX(-100%);}
}
#bg-video {
    position: fixed;
    top: 0;
    left: 0;
    min-width: 100vw;
    min-height: 100vh;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: -1;
    opacity: 0.25; /* Adjust for lightness */
    pointer-events: none;
}
   /* Transparent, blurred navbar */
        .custom-navbar {
            background: rgba(255, 255, 255, 0.92);
            box-shadow: 0 2px 16px rgba(0,0,0,0.08);
            backdrop-filter: blur(10px);
            transition: background 0.3s, box-shadow 0.3s;
        }
       
        .navbar-brand, .navbar-nav .nav-link, .navbar-toggler {
            color: #23272f !important;
            font-weight: 700;
            letter-spacing: 1px;
            transition: color 0.2s;
        }
        .navbar-nav .nav-link:hover, .navbar-brand:hover {
            color: #0056d6 !important;
            opacity: 0.85;
            
        }
        .btn-outline-secondary {
            background: rgba(0, 123, 255, 0.07);
            border-color: #007bff;
            color: #007bff;
            transition: background 0.2s, color 0.2s, box-shadow 0.2s;
        }
       
        body {
            background: linear-gradient(120deg, #e0eafc 0%, #cfdef3 100%);
        }
        footer {
            background: rgba(255,255,255,0.95) !important;
            border-top: 1px solid #b5d5f7;
            box-shadow: 0 -2px 16px #b5d5f744;
            color: #23272f;
            transition: background 0.2s;
        }
      
        .section-content {
            padding: 40px 0;
        }
        .bg-silver-deep {
            background: #f8fafc;
        }
        .double-line-bottom-theme-colored-2 {
            border-bottom: 3px double #007bff;
            width: 60px;
            margin: 10px auto;
        }
        .dark-mode {
            background: #23272f !important;
            color: #e3e9f0 !important;
        }
        .dark-mode .custom-navbar, .dark-mode footer {
            background: rgba(30,30,40,0.95) !important;
            color: #e3e9f0 !important;
        }
         html, body {
            height: 100%;
        }
        body {
            display: flex;
            flex-direction: column;
     /*       min-height: 100vh;*/
        }
        form[runat="server"] {
            flex: 1 0 auto;
            display: flex;
            flex-direction: column;
        }
        .main-content-wrapper {
            flex: 1 0 auto;
            height:70vh;
        }
        footer {
            flex-shrink: 0;
        }

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', system-ui, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-light);
    overflow-x: hidden;
}

::selection {
    background: #8fe9a5d5;
    color: #fff;
}

/* Layout */
.container {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 0;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 15px;
}

h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
   
    border-radius: 2px;
}

h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.2rem;
    color: var(--text-light);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    background: var(--primary);
    color: white;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    box-shadow: var(--shadow-sm);
}

.btn:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
}

/* Header */
header {
    background: var(--bg-dark);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-md);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    color: var(--secondary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: white;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1a1d2e 0%, #2d325a 100%);
    width: 100%;
    height: 100%;
    --color: rgba(49, 48, 48, 0.3);
    background-color: #1a1d2e;
    background-image: linear-gradient(0deg, transparent 24%, var(--color) 25%, var(--color) 26%, transparent 27%, transparent 74%, var(--color) 75%, var(--color) 76%, transparent 77%, transparent),
        linear-gradient(90deg, transparent 24%, var(--color) 25%, var(--color) 26%, transparent 27%, transparent 74%, var(--color) 75%, var(--color) 76%, transparent 77%, transparent);
    background-size: 55px 55px;
    color: white;
    padding: 50px 0 100px 0;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 700px;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
}

.hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.hero-demo {
    position: absolute;
    right: -50px;
    top: 50%;
    transform: translateY(-50%);
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.1;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% {
        transform: translateY(-50%) rotate(0deg);
    }

    100% {
        transform: translateY(-50%) rotate(360deg);
    }
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: rgba(74, 108, 247, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.feature-icon i {
    font-size: 30px;
    color: var(--primary);
}

/* Animation Showcase */
.showcase {
    background: linear-gradient(to bottom, var(--bg-light) 0%, #f0f4ff 100%);
}

.category-tabs {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 24px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn.active,
.tab-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.animations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.animation-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.animation-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.animation-preview {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, #e748ec, #f2d75e);
    position: relative;
    overflow: hidden;
}

.animation-demo {
    width: 100px;
    height: 100px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--primary);
    font-size: 1.2rem;
    box-shadow: var(--shadow-sm);
}

.animation-info {
    padding: 20px;
}

.animation-name {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.animation-usage {
    background: #f8f9ff;
    padding: 10px;
    border-radius: 6px;
    font-family: monospace;
    font-size: 0.9rem;
    margin: 10px 0;
    overflow-x: auto;
    color: var(--primary);
    border: 1px dashed var(--border-color);
}

/* Installation */
.install {
    background: var(--bg-dark);
    color: white;
}

.install h2,
.install p {
    color: white;
}

.install h2:after {
    background: var(--secondary);
}

.code-block {
    background: #2d325a;
    border-radius: var(--border-radius);
    padding: 25px;
    margin: 30px 0;
    overflow-x: auto;
    font-family: monospace;
    font-size: 1rem;
    line-height: 1.6;
    color: #e2e8f0;
    box-shadow: var(--shadow-md);
}

.code-block code {
    display: block;
}

.code-comment {
    color: #64748b;
}

.code-tag {
    color: #ff79c6;
}

.code-attr {
    color: #50fa7b;
}

.code-value {
    color: #f1fa8c;
}

/* Usage Examples */
.examples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.example-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.example-header {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    font-weight: 600;
    color: var(--text-dark);
}

.example-preview {
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

.example-demo {
    width: 120px;
    height: 120px;
    background: var(--primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.1rem;
}

.example-code {
    padding: 20px;
    background: #f8f9ff;
    border-top: 1px solid var(--border-color);
    font-family: monospace;
    font-size: 0.9rem;
    overflow-x: auto;
}

/* Footer */
footer {
    background: var(--bg-dark);
    color: white;
  
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: white;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive */
@media (max-width: 900px) {
    h1 {
        font-size: 2.8rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero {
        text-align: center;
        padding: 80px 0;
    }

    .hero-demo {
        display: none;
    }

    .hero-btns {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .nav-links {
        display: none;
    }

    h1 {
        font-size: 2.3rem;
    }

    section {
        padding: 60px 0;
    }
}


/* .tab-content {
    display: none;
    animation: fadeIn 0.4s ease;
}

.tab-content.active {
    display: block;
} */

/* Toggle Button */
.menu-toggle {
    display: none;
    font-size: 1.8rem;
    color: white;
    cursor: pointer;
}

/* Responsive Nav */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        background: var(--bg-dark);
        position: absolute;
        top: 100%;
        right: 20px;
        width: 200px;
        padding: 20px;
        box-shadow: var(--shadow-md);
        border-radius: var(--border-radius);
        z-index: 999;
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }
}

.heading {
    color: transparent;
    /* background: linear-gradient(90deg,#14b8a6 , #fcac23 50%, #347e85 98%); */
    background: linear-gradient(to right, #97fde3, #71c2f2, #ff00d0ea, #f5d93e, #7df7e9, #f0c780 50%, #95e0e6 98%);
    ;
    -webkit-background-clip: text;
    background-clip: text;
    background-size: 300% 100%;
    animation: animat 6s ease infinite;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-weight: 900;
    -webkit-text-stroke-color: transparent;
}

@keyframes animat {
    0% {
        background-position: 0 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0 50%;
    }
}

.topb {
    height: 3px;
    position: fixed;
    top: 0;
    z-index: 1000;
    background-color: #f5d93e;
    width: 100%;
    transform-origin: left;
    scale: 0 1;
    animation: scroll-watch linear;
    animation-timeline: scroll();
}

@keyframes scroll-watch {
    to {
        scale: 1 1;
    }
}

.animation-icon {
    font-size: 40px;
}

.animation-item{
    background-color: rgb(250, 251, 239);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 50px 5px;
    margin: 5px 0;
    border: 1px solid rgb(224, 223, 223);
}

.border-animation-grid {
  display: grid;
  gap: 1rem; /* gap between grid items */
  grid-template-columns: repeat(1, 1fr); /* Default: 1 column */

  /* Medium screen (≥768px) */
  @media (min-width: 768px) {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Large screen (≥1024px) */
  @media (min-width: 1024px) {
    grid-template-columns: repeat(3, 1fr);
  }
}


.example-section {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  background: #f9f9f9;
}

.example-card {
  background: #fff;
  border-radius: 1rem;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.example-icon {
  font-size: 2.5rem;
  color: #09f1b8;
  margin-bottom: 1rem;
}

.example-heading {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #222;
}

.example-text {
  font-size: 1rem;
  color: #555;
  margin-bottom: 1rem;
}

.example-button {
  background-color: #09f1b8;
  color: #fff;
  font-size: 16px;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 3px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.github{
font-size: 34px;
}

.footicon{
    font-size: 28px;
    margin-right: 12px;
    color: #fff;
}

/* Floating glassmorphic card styles */
.floating-glass-card {
    position: fixed;
    top: 120px;
    left: 30px;
    z-index: 1000;
    width: 220px;
    padding: 18px 12px;
    border-radius: 18px;
    background: rgba(255,255,255,0.25);
    box-shadow: 0 8px 32px 0 rgba(31,38,135,0.18);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    border: 1.5px solid rgba(255,255,255,0.25);
}

.floating-glass-card .glass-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    position: relative;
}

.floating-glass-card img {
    width: 110px;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    background: #fff;
    transition: transform 0.2s;
}

.floating-glass-card .glass-link:hover img {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,123,255,0.12);
}

.floating-glass-card .glass-label {
    background: rgba(0,0,0,0.55);
    color: #fff;
    font-size: 0.95rem;
    padding: 2px 10px;
    border-radius: 6px;
    margin-top: 2px;
    margin-left: 2px;
    display: inline-block;
    font-weight: 500;
}

.glass-card {
    background: rgba(255,255,255,0.35);
    box-shadow: 0 8px 32px 0 rgba(31,38,135,0.18);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.18);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}
@media (max-width: 767px) {
    .glass-card {
        padding: 1rem;
        margin-bottom: 1rem;
    }
}
.menu-card-sm {
            font-size: 0.85rem;
            border-radius: 8px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.06);
        }
        .menu-card-sm .card-header {
            padding: 0.5rem 1rem;
            font-size: 1rem;
        }
        .menu-card-sm .card-body {
            padding: 0.75rem 1rem;
        }
        .menu-card-sm .form-control,
        .menu-card-sm .form-select {
            font-size: 0.85rem;
            padding: 0.25rem 0.5rem;
        }
        .menu-card-sm .btn {
            font-size: 0.85rem;
            padding: 0.25rem 0.75rem;
        }
        .menu-card-sm .table {
            font-size: 0.85rem;
        }
        .menu-card-sm .fw-bold {
            font-weight: 600 !important;
        }

.main-logo {
    height: 100px;
    width: auto;
    margin-left: 32px;
    margin-right: 32px;
    transition: margin 0.2s;
}

@media (max-width: 991px) {
    .main-logo {
        height: 70px;
        margin-left: 16px;
        margin-right: 16px;
    }
}

@media (max-width: 575px) {
    .main-logo {
        height: 48px;
        margin-left: 6px;
        margin-right: 6px;
    }
}
.card-body {
    padding: 2rem 2rem;
    min-height: auto;
}
/* Typewriter effect */
.typewriter {
    overflow: hidden;
    border-right: .15em solid #23272f;
    white-space: nowrap;
    margin: 0 auto;
    letter-spacing: .08em;
    animation:
        typing 2.5s steps(40, end),
        blink-caret .75s step-end infinite;
    font-family: 'Segoe UI', system-ui, sans-serif;
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: #23272f; }
}