.lqd-navbar-link.colored-menu-item:hover {
    color: #fff;
}

.bg-custom-orange {
    background-color: #ff9800;
}

.bg-custom-orange:hover {
    background-color: #d88200 !important;
}

.bg-custom-blue {
    background-color: #29d;
}

.bg-custom-blue:hover {
    background-color: rgb(22, 116, 170) !important;
}

.bg-custom-purple {
    background-color: #673ab7;
}

.bg-custom-purple:hover {
    background-color: #512da8 !important;
}

.bg-custom-red {
    background-color: #f44336;
}

.bg-custom-red:hover {
    background-color: #d32f2f !important;
}

.video-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
}

.video-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
    overflow-y: auto;
    background: white;
    border-radius: 8px;
    padding: 20px;
}

.video-grid {
    display: grid;
    gap: 20px;
    margin-top: 20px;
}

/* Single video layout */
.video-grid.single-video {
    grid-template-columns: 1fr;
}

/* Multiple videos layout - always 2 columns */
.video-grid:not(.single-video) {
    grid-template-columns: repeat(2, 1fr);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .video-grid:not(.single-video) {
        grid-template-columns: 1fr;
    }
}

.video-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Center single video */
.single-video .video-item {
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

.video-title {
    padding: 10px;
    font-weight: bold;
    text-align: center;
    background: #f5f5f5;
    color: #333;
}

.video-frame {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.video-frame iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.close-video {
    position: absolute;
    right: -30px;
    top: -30px;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

.min-w-200 {
    min-width: 200px;
}

.max-w-200 {
    max-width: 200px;
}

.min-h-200 {
    min-height: 200px;
}

.max-h-200 {
    max-height: 200px;
}

.gap-30 {
    gap: 30px;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.scrollbar-hide {
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

.min-w-280 {
    min-width: 280px;
}

.max-w-280 {
    max-width: 280px;
}

.left-2 {
    left: 0.5rem;
}

.support-boxes {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.support-box {
    flex: 1;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.support-box:hover {
    transform: translateY(-5px);
    text-decoration: none;
    color: white;
}

.support-box i {
    font-size: 24px;
}

.support-box h4 {
    margin: 0;
    color: white;
    font-weight: 600;
}

.whatsapp-box {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
}

.telegram-box {
    background: linear-gradient(135deg, #0088cc, #0077B5);
    color: white;
}

.group\/body.navbar-shrinked .group-\[\&\.navbar-shrinked\]\/body\:text-foreground {
    color: black;
}

.group\/body.theme-dark.navbar-shrinked .group-\[\.theme-dark\.navbar-shrinked\]\/body\:text-white {
    --tw-text-opacity: 1;
    color: rgb(255 255 255 / var(--tw-text-opacity, 1))
        /* #ffffff */
    ;
}

.group\/body.navbar-shrinked .group-\[\.navbar-shrinked\]\/body\:text-foreground {
    color: hsl(var(--foreground));
}

@media (min-width: 992px) {
    body.navbar-shrinked .\[body\.navbar-shrinked_\&\]\:lg\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .lqd-chat-v2 .lqd-chat-category-dropdown .lqd-dropdown-dropdown {
        --tw-translate-x: 100%;
    }

    .lqd-chat-v2 .chats-sidebar-wrap {
        --tw-translate-x: 100%;
    }
}

@media (min-width: 576px) {
    .sm\:whitespace-nowrap {
        white-space: nowrap;
    }
}

@media (min-width: 768px) {
    .md\:text-3xl {
        font-size: 2.0625rem !important
            /* 33px */
        ;
        line-height: 2rem !important
            /* 32px */
        ;
    }
}

/* Navbar label styling */
.lqd-navbar-label,
.blurry-bg {
    background: linear-gradient(135deg,
            rgba(0, 0, 0, 0.05) 0%,
            rgba(0, 0, 0, 0.03) 50%,
            rgba(0, 0, 0, 0.01) 100%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    backdrop-filter: blur(12px) saturate(180%);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 6px;
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.03),
        0 2px 4px -1px rgba(0, 0, 0, 0.02);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0.25rem 0.75rem;
    transform: translateY(0);
}

.theme-dark .lqd-navbar-label,
.theme-dark .blurry-bg {
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.1) 0%,
            rgba(255, 255, 255, 0.06) 50%,
            rgba(255, 255, 255, 0.02) 100%);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06);
}


.blurry-bg:hover {
    background: linear-gradient(135deg,
            rgba(0, 0, 0, 0.08) 0%,
            rgba(0, 0, 0, 0.05) 50%,
            rgba(0, 0, 0, 0.02) 100%);
    border-color: rgba(0, 0, 0, 0.12);
    box-shadow:
        0 8px 12px -1px rgba(0, 0, 0, 0.05),
        0 4px 6px -1px rgba(0, 0, 0, 0.03);
}


.theme-dark .blurry-bg:hover {
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.15) 0%,
            rgba(255, 255, 255, 0.1) 50%,
            rgba(255, 255, 255, 0.05) 100%);
    border-color: rgba(255, 255, 255, 0.18);
}

/* Footer Description Section */
.top-footer-description-section {
    background-color: #fff;
    padding: 3rem 0;
}

.dark .top-footer-description-section {
    background-color: #111827;
}

.top-footer-description-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.top-footer-description {
    max-width: 56rem;
    margin: 0 auto;
}

.top-footer-description p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.top-footer-description strong {
    font-weight: 600;
}

.top-footer-description h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.show-more-btn {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    width: 100%;
}

.show-more-btn button {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    min-width: 150px;
}

.show-more-btn button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    background: linear-gradient(135deg, #4338ca 0%, #6d28d9 100%);
}

.show-more-btn button:active {
    transform: translateY(0);
}

/* Dark mode styles */
.dark .top-footer-description {
    color: #e5e7eb;
}

.dark .top-footer-description strong {
    color: #fff;
}

.dark .top-footer-description h3 {
    color: #fff;
}

.dark .show-more-btn button {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2), 0 2px 4px -1px rgba(0, 0, 0, 0.1);
}

.dark .show-more-btn button:hover {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2), 0 4px 6px -2px rgba(0, 0, 0, 0.1);
}

/* Line clamp for collapsed state */
.top-footer-description.collapsed {
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (min-width: 576px) {
    .sm\:max-w-280 {
        max-width: 280px;
    }
}

.bg-slate-100 {
    --tw-bg-opacity: 1;
    background-color: rgb(241 245 249 / var(--tw-bg-opacity, 1))
        /* #f1f5f9 */
    ;
}

@media (min-width: 768px) {
    .md\:whitespace-nowrap {
        white-space: nowrap;
    }
    .md\:bg-white {
        --tw-bg-opacity: 1;
        background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1))
            /* #ffffff */
        ;
    }

    .md\:p-0 {
        padding: 0px !important;
    }

    .md\:text-white {
        --tw-text-opacity: 1;
        color: rgb(255 255 255 / var(--tw-text-opacity, 1)) !important
            /* #ffffff */
        ;
    }

    .md\:py-0 {
        padding-top: 0px !important;
        padding-bottom: 0px !important;
    }

    .md\:bg-background {
        background-color: hsl(var(--background)) !important;
    }

    .md\:border-transparent {
        border-color: transparent !important;
    }

    .md\:w-14 {
        width: 3.5rem /* 56px */;
    }

    .md\:h-14 {
        height: 3.5rem /* 56px */;
    }

    .md\:p-4 {
        padding: 1rem /* 16px */;
    }

    .md\:max-w-\[70\%\] {
        max-width: 70%;
    }
}

.bg-gray-themes {
    background-color: rgb(241 245 249 / var(--tw-bg-opacity, 1));
}

.theme-dark .bg-gray-themes {
    background-color: #2f333a;
}

/* Aspect Ratio Selector Styles */
.aspect-ratio-option {
    position: relative;
    background: white;
    border-radius: 0.5rem;
    padding: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
}

.aspect-ratio-option:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.aspect-ratio-option.active {
    border-color: #4f46e5;
    background-color: #6f88d9;
}

.aspect-ratio-option svg {
    width: 1.5rem;
    height: 1.5rem;
    color: #6b7280;
    transition: color 0.3s ease;
}

.aspect-ratio-option .text-xs {
    margin-top: 0.5rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.aspect-ratio-option.active svg,
.aspect-ratio-option.active .text-xs {
    color: #4f46e5;
}

/* Dark mode styles */
.theme-dark .aspect-ratio-option {
    background: #1f2937;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.theme-dark .aspect-ratio-option:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.4);
}

.theme-dark .aspect-ratio-option.active {
    border-color: #6366f1;
    background-color: #1e1b4b;
}

.theme-dark .aspect-ratio-option svg {
    color: #9ca3af;
}

.theme-dark .aspect-ratio-option.active svg,
.theme-dark .aspect-ratio-option.active .text-xs {
    color: #6366f1;
}

/* Waterfall Video Grid */
.waterfall-video-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    padding: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.waterfall-video-item {
    position: relative;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.waterfall-video-item video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
}



/* Video Overlay */
.video-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.waterfall-video-item:hover .video-overlay {
    transform: translateY(0);
}

.video-link {
    display: block;
    color: white;
    text-decoration: none;
    font-weight: 500;
    text-align: center;
    padding: 8px 16px;
    background: rgba(255,255,255,0.2);
    border-radius: 4px;
    transition: background 0.3s ease;
}

.video-link:hover {
    background: rgba(255,255,255,0.3);
}

/* Hide video controls */
.waterfall-video-item video::-webkit-media-controls {
    display: none !important;
}

.waterfall-video-item video::-webkit-media-controls-enclosure {
    display: none !important;
}

.waterfall-video-item video::-webkit-media-controls-panel {
    display: none !important;
}

.blog-content, .page-content {
    line-height: 2.5em !important;
}
.blog-content a{
    color: #3737ff;
}

.form-control, .form-select{
    background-color: #fff;
}

.blog-content h1, .page-content h1 {
    font-size: 40px !important;
    line-height: 5rem !important;
}

.blog-content h2, .page-content h2 {
    font-size: 32px !important;
}

.blog-content h3, .page-content h3 {
    font-size: 28px !important;
}

.blog-content ul, .page-content ul {
    margin-bottom: 1.875em;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .waterfall-video-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 15px;
    }
}

#workbook_title{
    font-family: Dana !important;
}

@media (min-width: 640px) {
    .sm\:order-2 {
        order: 2;
    }
}

@media (min-width: 640px) {
    .sm\:order-1 {
        order: 1;
    }
}

@media (min-width: 1024px) {
    .lg\:w-\[85\%\] {
        width: 85%;
    }
}