/* ============ DROPDOWN BASE STYLES ============ */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    cursor: pointer;
    user-select: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.dropdown-toggle::after {
    content: '';
    display: inline-block;
    margin-left: 0.5rem;
    vertical-align: middle;
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
    transition: transform 0.2s ease;
}

.dropdown-toggle.show::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    min-width: 200px;
    padding: 0.5rem 0;
    margin: 0.125rem 0 0;
    font-size: 0.9375rem;
    color: var(--theme-text-primary);
    text-align: left;
    list-style: none;
    background-color: var(--theme-surface);
    background-clip: padding-box;
    border: 1px solid var(--theme-border-primary);
    border-radius: 0.75rem;
    box-shadow: var(--theme-shadow-xl);
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.dropdown-menu.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.dropdown-menu-right {
    right: 0;
    left: auto;
}

.dropdown-menu-left {
    right: auto;
    left: 0;
}

.dropdown-menu-center {
    right: 50%;
    left: auto;
    transform: translateX(50%) translateY(-10px);
}

.dropdown-menu-center.show {
    transform: translateX(50%) translateY(0);
}

/* ============ DROPDOWN ITEMS ============ */
.dropdown-item {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    clear: both;
    font-weight: 400;
    color: var(--theme-text-primary);
    text-align: inherit;
    text-decoration: none;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
    border-radius: 0.375rem;
    margin: 0.125rem 0.5rem;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.dropdown-item:hover,
.dropdown-item:focus {
    color: var(--theme-primary-dark);
    background-color: var(--theme-bg-secondary);
    transform: translateX(4px);
}

.dropdown-item.active,
.dropdown-item:active {
    color: var(--color-text-on-primary);
    background-color: var(--theme-primary);
    background-image: var(--gradient-primary);
}

.dropdown-item.disabled,
.dropdown-item:disabled {
    color: var(--theme-text-disabled);
    pointer-events: none;
    background-color: transparent;
    opacity: 0.6;
}

/* Dropdown Item Icons */
.dropdown-item-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--theme-text-tertiary);
    flex-shrink: 0;
    transition: color 0.2s ease;
}

.dropdown-item:hover .dropdown-item-icon,
.dropdown-item:focus .dropdown-item-icon {
    color: var(--theme-primary);
}

/* Dropdown Item Badge */
.dropdown-item-badge {
    margin-left: auto;
    padding: 0.125rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1;
    color: var(--color-text-on-primary);
    background: var(--theme-primary);
    border-radius: 10px;
    min-width: 1.5rem;
    text-align: center;
    transition: all 0.2s ease;
}

.dropdown-item:hover .dropdown-item-badge {
    transform: scale(1.1);
}

/* ============ DROPDOWN HEADER ============ */
.dropdown-header {
    display: block;
    padding: 0.75rem 1rem;
    margin-bottom: 0;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--theme-text-secondary);
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============ DROPDOWN DIVIDER ============ */
.dropdown-divider {
    height: 1px;
    margin: 0.5rem 0;
    overflow: hidden;
    background-color: var(--theme-border-primary);
    border: none;
    opacity: 0.5;
}

/* ============ DROPDOWN VARIANTS ============ */
/* Large Dropdown */
.dropdown-menu-lg {
    min-width: 280px;
    padding: 0.75rem 0;
}

.dropdown-menu-lg .dropdown-item {
    padding: 0.875rem 1.25rem;
    font-size: 1rem;
}

/* Small Dropdown */
.dropdown-menu-sm {
    min-width: 160px;
    padding: 0.375rem 0;
    font-size: 0.875rem;
}

.dropdown-menu-sm .dropdown-item {
    padding: 0.5rem 0.875rem;
    font-size: 0.875rem;
}

/* Dark Dropdown */
.dropdown-menu-dark {
    background-color: var(--theme-bg-inverse);
    border-color: var(--theme-border-inverse);
}

.dropdown-menu-dark .dropdown-item {
    color: var(--color-text-on-dark);
}

.dropdown-menu-dark .dropdown-item:hover,
.dropdown-menu-dark .dropdown-item:focus {
    color: var(--color-text-on-dark);
    background-color: var(--color-opacity-20);
}

.dropdown-menu-dark .dropdown-header {
    color: var(--color-text-on-dark-light);
}

.dropdown-menu-dark .dropdown-divider {
    background-color: var(--color-opacity-30);
}

/* ============ USER DROPDOWN ============ */
/* User Dropdown Toggle */
.user-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    background: var(--gradient-primary);
    color: var(--color-text-on-primary);
    border-radius: 50px;
    border: 2px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
}

.user-dropdown-toggle:hover {
    background: var(--gradient-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(var(--theme-primary-rgb), 0.3);
}

.user-dropdown-toggle:focus {
    outline: none;
    border-color: var(--theme-primary-light);
}

/* User Avatar */
.user-avatar {
    position: relative;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--color-white);
    box-shadow: 0 0 0 2px rgba(var(--theme-primary-rgb), 0.3);
    transition: all 0.3s ease;
}

.user-dropdown-toggle:hover .avatar-img {
    box-shadow: 0 0 0 3px rgba(var(--theme-primary-rgb), 0.5);
    transform: scale(1.05);
}

.avatar-icon {
    font-size: 1.25rem;
    color: var(--color-text-on-primary);
}

/* User Status Indicator */
.user-status {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--color-white);
    box-shadow: 0 0 0 1px var(--theme-surface);
}

.user-status-online {
    background-color: var(--color-status-online);
}

.user-status-away {
    background-color: var(--color-status-away);
}

.user-status-offline {
    background-color: var(--color-status-offline);
}

.user-status-busy {
    background-color: var(--color-status-busy);
}

/* User Info */
.user-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.125rem;
}

.user-name {
    font-weight: 600;
    font-size: 0.9375rem;
    line-height: 1.2;
}

.user-email {
    font-size: 0.75rem;
    opacity: 0.8;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* User Dropdown Menu */
.user-dropdown-menu {
    min-width: 240px;
    border-radius: 1rem;
    overflow: hidden;
}

.user-dropdown-header {
    padding: 1rem 1.25rem;
    background: var(--gradient-primary);
    color: var(--color-text-on-primary);
    margin: 0;
    border-radius: 1rem 1rem 0 0;
}

.user-dropdown-body {
    padding: 0.75rem 0;
}

/* ============ COMPACT USER DROPDOWN ============ */
/* Compact User Dropdown Toggle */
.user-dropdown-toggle-compact {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.875rem;
    background: var(--gradient-primary);
    color: var(--color-text-on-primary);
    border-radius: 20px;
    border: 1px solid transparent;
    transition: all 0.2s ease;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
}

.user-dropdown-toggle-compact:hover {
    background: var(--gradient-primary-hover);
    box-shadow: 0 3px 8px var(--color-shadow-gradient-primary);
    transform: translateY(-1px);
}

/* Compact User Avatar */
.user-avatar-compact {
    position: relative;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-img-compact {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--color-white-opacity-50);
}

.avatar-icon-compact {
    font-size: 1rem;
    color: var(--color-text-on-primary);
}

.user-name-compact {
    font-size: 0.875rem;
    font-weight: 500;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Compact User Dropdown Menu */
.user-menu-dropdown-compact {
    min-width: 200px;
    border: 1px solid var(--theme-border-primary);
    border-radius: 12px;
    padding: 0.5rem 0;
    margin-top: 0.5rem !important;
    box-shadow: var(--theme-shadow-lg);
}

.user-menu-dropdown-compact::before {
    content: '';
    position: absolute;
    top: -6px;
    right: 15px;
    width: 12px;
    height: 12px;
    background: var(--theme-surface);
    transform: rotate(45deg);
    border-top: 1px solid var(--theme-border-primary);
    border-left: 1px solid var(--theme-border-primary);
}

/* Compact User Info */
.user-info-compact {
    padding: 0.75rem 1rem;
    background: var(--gradient-primary);
    border-radius: 12px 12px 0 0;
    margin: -0.5rem -1px 0 -1px;
}

.user-info-compact h6 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text-on-primary);
    margin: 0;
}

.user-info-compact small {
    font-size: 0.75rem;
    color: var(--color-text-on-dark-light);
}

/* Compact Dropdown Items */
.nav-dropdown-link-compact {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    text-decoration: none;
    color: var(--theme-text-primary);
    border: none;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    margin: 0.125rem 0.5rem;
    border-radius: 0.5rem;
}

.nav-dropdown-link-compact:hover {
    background: var(--theme-bg-secondary);
    transform: translateX(3px);
}

.nav-dropdown-link-compact i {
    font-size: 0.9rem;
    width: 20px;
    text-align: center;
    margin-right: 0.75rem;
    color: var(--theme-text-tertiary);
}

/* ============ LOGIN/REGISTER DROPDOWN ============ */
/* Login/Register Buttons */
.buttons-compact {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.btn-login-compact,
.btn-register-compact {
    position: relative;
    padding: 0.375rem 1rem;
    border-radius: 18px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    gap: 0.375rem;
}

.btn-login-compact {
    background: var(--gradient-primary);
    color: var(--color-text-on-primary);
    box-shadow: 0 2px 6px var(--color-shadow-gradient-primary);
}

.btn-login-compact:hover {
    background: var(--gradient-primary-hover);
    box-shadow: 0 4px 12px var(--color-shadow-gradient-primary);
    transform: translateY(-2px);
}

.btn-register-compact {
    background: var(--gradient-accent);
    color: var(--color-text-on-primary);
    box-shadow: 0 2px 6px var(--color-shadow-gradient-accent);
}

.btn-register-compact:hover {
    background: var(--gradient-accent-hover);
    box-shadow: 0 4px 12px var(--color-shadow-gradient-accent);
    transform: translateY(-2px);
}

/* ============ NAVIGATION DROPDOWNS ============ */
/* Nav Dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 1rem;
    color: var(--theme-text-primary);
    text-decoration: none;
    font-weight: 500;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.nav-dropdown-toggle:hover {
    color: var(--theme-primary);
    background: var(--theme-bg-secondary);
}

.nav-dropdown-menu {
    min-width: 220px;
    border-radius: 1rem;
    padding: 0.5rem 0;
    box-shadow: var(--theme-shadow-xl);
}

/* Mega Menu */
.dropdown-mega {
    position: static;
}

.mega-menu {
    left: 0;
    right: 0;
    width: 100%;
    max-width: 1200px;
    margin: 0.5rem auto;
    padding: 1.5rem;
    border-radius: 1rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.mega-menu-section {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mega-menu-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--theme-text-primary);
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--theme-primary);
}

.mega-menu-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0.75rem;
    color: var(--theme-text-secondary);
    text-decoration: none;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.mega-menu-link:hover {
    color: var(--theme-primary);
    background: var(--theme-bg-secondary);
    transform: translateX(4px);
}

.mega-menu-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--theme-primary);
    background: rgba(var(--theme-primary-rgb), 0.1);
    border-radius: 0.375rem;
    font-size: 0.875rem;
}

/* ============ DROPDOWN ANIMATIONS ============ */
@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes dropdownSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.dropdown-menu {
    animation: dropdownSlideIn 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.dropdown-item {
    animation: dropdownFadeIn 0.3s ease forwards;
}

.dropdown-item:nth-child(1) { animation-delay: 0.05s; }
.dropdown-item:nth-child(2) { animation-delay: 0.1s; }
.dropdown-item:nth-child(3) { animation-delay: 0.15s; }
.dropdown-item:nth-child(4) { animation-delay: 0.2s; }
.dropdown-item:nth-child(5) { animation-delay: 0.25s; }

/* ============ DROPDOWN RESPONSIVE ============ */
@media (max-width: 768px) {
    .dropdown-menu {
        position: fixed;
        top: auto !important;
        bottom: 0;
        left: 0 !important;
        right: 0 !important;
        width: 100%;
        max-width: 100%;
        margin: 0;
        border-radius: 1rem 1rem 0 0;
        transform: translateY(100%);
        box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.2);
    }
    
    .dropdown-menu.show {
        transform: translateY(0);
    }
    
    .dropdown-menu::before {
        display: none;
    }
    
    .mega-menu {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem;
    }
    
    .user-dropdown-toggle {
        padding: 0.375rem 0.75rem;
        font-size: 0.875rem;
    }
    
    .user-name-compact {
        max-width: 80px;
    }
    
    .buttons-compact {
        flex-direction: row;
        gap: 0.375rem;
    }
    
    .btn-login-compact,
    .btn-register-compact {
        padding: 0.375rem 0.875rem;
        font-size: 0.8125rem;
    }
}

@media (max-width: 576px) {
    .user-name {
        display: none;
    }
    
    .user-dropdown-toggle {
        padding: 0.375rem;
    }
    
    .user-name-compact {
        display: none;
    }
    
    .user-dropdown-toggle-compact {
        padding: 0.375rem 0.625rem;
    }
    
    .buttons-compact {
        gap: 0.25rem;
    }
    
    .btn-login-compact span,
    .btn-register-compact span {
        display: none;
    }
    
    .btn-login-compact,
    .btn-register-compact {
        padding: 0.375rem 0.625rem;
    }
    
    .btn-login-compact i,
    .btn-register-compact i {
        margin-right: 0 !important;
    }
    
    .dropdown-item {
        padding: 0.625rem 0.875rem;
        font-size: 0.875rem;
    }
}

/* ============ DARK THEME DROPDOWNS ============ */
[data-theme="dark"] .dropdown-menu,
.dark-theme .dropdown-menu {
    background-color: var(--theme-surface-elevated);
    border-color: var(--theme-border-secondary);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .dropdown-item,
.dark-theme .dropdown-item {
    color: var(--theme-text-primary);
}

[data-theme="dark"] .dropdown-item:hover,
[data-theme="dark"] .dropdown-item:focus,
.dark-theme .dropdown-item:hover,
.dark-theme .dropdown-item:focus {
    background-color: var(--theme-bg-tertiary);
}

[data-theme="dark"] .user-menu-dropdown-compact::before,
.dark-theme .user-menu-dropdown-compact::before {
    background: var(--theme-surface-elevated);
    border-color: var(--theme-border-secondary);
}

[data-theme="dark"] .nav-dropdown-link-compact,
.dark-theme .nav-dropdown-link-compact {
    color: var(--theme-text-primary);
}

[data-theme="dark"] .nav-dropdown-link-compact:hover,
.dark-theme .nav-dropdown-link-compact:hover {
    background: var(--theme-bg-tertiary);
}

/* ============ DROPDOWN ACCESSIBILITY ============ */
.dropdown-toggle:focus-visible,
.dropdown-item:focus-visible {
    outline: 2px solid var(--color-focus-ring);
    outline-offset: 2px;
}

.dropdown-toggle:focus:not(:focus-visible) {
    outline: none;
}

/* Screen reader only */
.dropdown-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ============ DROPDOWN UTILITIES ============ */
.dropdown-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.dropdown-backdrop.show {
    opacity: 1;
    pointer-events: all;
}

/* Dropdown Arrow */
.dropdown-arrow {
    position: absolute;
    top: -6px;
    right: 20px;
    width: 12px;
    height: 12px;
    background: var(--theme-surface);
    transform: rotate(45deg);
    border-top: 1px solid var(--theme-border-primary);
    border-left: 1px solid var(--theme-border-primary);
    z-index: -1;
}

.dropdown-menu-right .dropdown-arrow {
    right: auto;
    left: 20px;
}

[data-theme="dark"] .dropdown-arrow,
.dark-theme .dropdown-arrow {
    background: var(--theme-surface-elevated);
    border-color: var(--theme-border-secondary);
}

/* Dropdown Loading State */
.dropdown-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    color: var(--theme-text-tertiary);
}

.dropdown-loading-spinner {
    width: 1.5rem;
    height: 1.5rem;
    border: 2px solid currentColor;
    border-top-color: transparent;
    border-radius: 50%;
    animation: form-spin 0.75s linear infinite;
}
/* ============ CAROUSEL COMPONENTS MASTER CSS ============ */

/* ============ BASE CAROUSEL STYLES ============ */
.carousel-container {
    position: relative;
    overflow: hidden;
    width: 100%;
}

/* ============ OWL CAROUSEL ============ */
/* Owl Carousel Base */
.owl-carousel {
    position: relative;
    display: none;
    width: 100%;
    -webkit-tap-highlight-color: transparent;
    z-index: 1;
    margin: 0;
    padding: 0;
}

.owl-carousel.owl-loaded {
    display: block;
}

.owl-carousel .owl-stage {
    position: relative;
    touch-action: pan-y;
    -moz-backface-visibility: hidden;
    display: flex;
    align-items: center;
    padding: 20px 0;
}

.owl-carousel .owl-stage:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

.owl-carousel .owl-stage-outer {
    position: relative;
    overflow: hidden;
    -webkit-transform: translate3d(0px, 0px, 0px);
    transform: translate3d(0px, 0px, 0px);
}

.owl-carousel .owl-item {
    position: relative;
    min-height: 1px;
    float: left;
    -webkit-backface-visibility: hidden;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    opacity: 0.5;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateZ(0);
}

.owl-carousel .owl-item img {
    display: block;
    width: 100%;
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

.owl-carousel .owl-item.center {
    opacity: 1;
    z-index: 2;
}

.owl-carousel .owl-item.active {
    opacity: 1;
}

/* Owl Carousel Navigation */
.owl-carousel .owl-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
    z-index: 10;
}

.owl-carousel .owl-nav button {
    width: 50px;
    height: 50px;
    background: rgba(var(--theme-surface-rgb), 0.9);
    border: 1px solid var(--theme-border-primary);
    border-radius: 50%;
    color: var(--theme-text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: all;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--theme-shadow-md);
}

.owl-carousel .owl-nav button:hover {
    background: var(--theme-primary);
    color: var(--color-text-on-primary);
    border-color: var(--theme-primary);
    transform: scale(1.1);
    box-shadow: var(--theme-shadow-lg);
}

.owl-carousel .owl-nav button:active {
    transform: scale(0.95);
}

.owl-carousel .owl-nav .owl-prev,
.owl-carousel .owl-nav .owl-next {
    position: relative;
}

.owl-carousel .owl-nav .disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

/* Owl Carousel Dots */
.owl-carousel .owl-dots {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: center;
    line-height: 1;
    z-index: 10;
    padding: 10px 0;
}

.owl-carousel .owl-dot {
    display: inline-block;
    zoom: 1;
    *display: inline;
    vertical-align: middle;
    margin: 0 4px;
}

.owl-carousel .owl-dot span {
    width: 12px;
    height: 12px;
    margin: 5px 7px;
    background: rgba(var(--theme-text-primary-rgb), 0.3);
    border: 2px solid transparent;
    display: block;
    -webkit-backface-visibility: visible;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 50%;
    cursor: pointer;
}

.owl-carousel .owl-dot.active span,
.owl-carousel .owl-dot:hover span {
    background: var(--theme-primary);
    transform: scale(1.2);
    box-shadow: 0 0 0 2px rgba(var(--theme-primary-rgb), 0.2);
}

.owl-carousel .owl-dot.active span {
    width: 30px;
    border-radius: 15px;
}

/* Owl Carousel Client Box */
.owl-carousel .client-box {
    padding: 2rem;
    background: var(--theme-surface);
    border: 1px solid var(--theme-border-primary);
    border-radius: 12px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.owl-carousel .client-box:hover {
    transform: translateY(-8px);
    box-shadow: var(--theme-shadow-xl);
    border-color: var(--theme-primary);
}

.owl-carousel .client-box img {
    max-width: 100%;
    height: auto;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.owl-carousel .client-box:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

/* ============ HOVERBOX EFFECTS ============ */
/* Hoverbox Base */
[class^="hoverbox"] {
    overflow: hidden;
    position: relative;
    display: inline-block;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    perspective: 1000px;
}

[class^="hoverbox"] img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.6s cubic-bezier(0.215, 0.61, 0.355, 1);
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

/* Hoverbox 7 */
.hoverbox-7 {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.hoverbox-7::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
            rgba(var(--theme-primary-rgb), 0.85) 0%,
            rgba(var(--theme-accent-rgb), 0.75) 100%);
    visibility: hidden;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.hoverbox-7 .hover-content {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    pointer-events: none;
}

.hoverbox-7 .hover-content h1,
.hoverbox-7 .hover-content h2,
.hoverbox-7 .hover-content h3,
.hoverbox-7 .hover-content h4,
.hoverbox-7 .hover-content h5,
.hoverbox-7 .hover-content h6 {
    color: var(--color-text-on-primary);
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hoverbox-7 .hover-content .top {
    position: relative;
    transform: translateY(-20px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.215, 0.61, 0.355, 1) 0.1s;
}

.hoverbox-7 .hover-content .bottom {
    position: relative;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.215, 0.61, 0.355, 1) 0.2s;
}

.hoverbox-7 .hover-content p {
    color: var(--color-white-opacity-90);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Hoverbox 7 Hover States */
.hoverbox-7:hover::before,
.hoverbox-7:focus::before {
    visibility: visible;
    opacity: 1;
}

.hoverbox-7:hover img,
.hoverbox-7:focus img {
    transform: scale(1.1) rotate(1deg);
}

.hoverbox-7:hover .hover-content .top,
.hoverbox-7:hover .hover-content .bottom,
.hoverbox-7:focus .hover-content .top,
.hoverbox-7:focus .hover-content .bottom {
    transform: translateY(0);
    opacity: 1;
}

/* Hoverbox 7 Links */
.hoverbox-7 a:not([class^='button']) {
    color: var(--color-white-opacity-80);
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
    display: inline-block;
}

.hoverbox-7 a:not([class^='button'])::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-white);
    transition: width 0.3s ease;
}

.hoverbox-7 a:not([class^='button']):hover,
.hoverbox-7 a:not([class^='button']):focus {
    color: var(--color-white);
}

.hoverbox-7 a:not([class^='button']):hover::after,
.hoverbox-7 a:not([class^='button']):focus::after {
    width: 100%;
}

/* ============ HERO SLIDER (FULL-WIDTH/FULL-HEIGHT) ============ */
/* Hero Slider Base */
.hero-slider {
    position: relative !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100vw !important;
    height: 100vh !important;
    min-height: 100vh !important;
    max-height: 100vh !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    overflow: hidden !important;
    background: #1a1a1a;
    z-index: 1;
}

/* Override Bootstrap container */
.hero-slider .container {
    max-width: 100% !important;
    padding-left: 5%;
    padding-right: 5%;
}

.hero-slider .owl-stage-outer {
    overflow: hidden;
    position: relative;
    width: 100% !important;
    height: 100vh !important;
    min-height: 100vh !important;
    max-height: 100vh !important;
}

.hero-slider .owl-stage {
    position: relative;
    touch-action: manipulation;
    width: 100% !important;
    height: 100vh !important;
    min-height: 100vh !important;
    max-height: 100vh !important;
}

.hero-slider .owl-item {
    position: relative;
    width: 100% !important;
    height: 100vh !important;
    min-height: 100vh !important;
    max-height: 100vh !important;
    float: left;
    -webkit-tap-highlight-color: transparent;
}

/* Hero Slide */
.hero-slide {
    display: block !important;
    opacity: 1 !important;
    position: relative;
    width: 100% !important;
    height: 100vh !important;
    min-height: 100vh !important;
    max-height: 100vh !important;
    overflow: hidden;
}

/* Hero Slide Background */
.hero-slide__bg {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 100vh !important;
    max-height: 100vh !important;
}

/* Hero Slide Image */
.hero-slide__image {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 100vh !important;
    max-height: 100vh !important;
    object-fit: cover !important;
    object-position: center center !important;
    filter: brightness(0.9);
    transition: transform 10s linear;
}

.hero-slide.active .hero-slide__image {
    transform: scale(1.05);
}

/* Hero Slide Overlay */
.hero-slide__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
            rgba(var(--theme-primary-rgb), 0.7) 0%,
            rgba(var(--theme-primary-darker-rgb), 0.4) 100%);
    z-index: 1;
}

/* Hero Slide Content */
.hero-slide__content {
    position: relative !important;
    z-index: 2;
    height: 100vh !important;
    min-height: 100vh !important;
    max-height: 100vh !important;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 4rem;
    max-width: 800px;
    color: var(--color-text-on-primary);
}

.hero-slide__content .container {
    width: 100% !important;
    max-width: 100% !important;
}

/* Hero Slide Title */
.hero-slide__title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease 0.3s both;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

/* Hero Slide Description */
.hero-slide__description {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease 0.5s both;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

/* Hero Slide Actions */
.hero-slide__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.7s both;
}

/* Hero Slide Primary Button */
.hero-slide__primary-btn {
    padding: 1rem 2.5rem;
    background: var(--color-white);
    color: var(--theme-primary);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.125rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 100;
    position: relative;
}

.hero-slide__primary-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    background: var(--theme-primary);
    color: var(--color-white);
}

/* Hero Slide Secondary Button */
.hero-slide__secondary-btn {
    padding: 1rem 2.5rem;
    background: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-white-opacity-50);
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.125rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    z-index: 100;
    position: relative;
}

.hero-slide__secondary-btn:hover {
    border-color: var(--color-white);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

/* Hero Slide Video Link */
.hero-slide__video-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-white);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.125rem;
    margin-top: 1.5rem;
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease 0.9s both;
    z-index: 100;
    position: relative;
}

.hero-slide__video-link:hover {
    color: var(--theme-primary-light);
    transform: translateX(5px);
}

.hero-slide__video-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hero-slide__video-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.hero-slide__video-icon i {
    font-size: 1.5rem;
    color: var(--color-white);
    position: relative;
    z-index: 1;
}

/* ============ PREVIEW VIDEO CAROUSEL ============ */
#previewVideoCarousel {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: var(--theme-bg-secondary);
}

#previewVideoCarousel .carousel-item {
    height: 400px;
    position: relative;
    overflow: hidden;
}

#previewVideoCarousel .carousel-control-prev,
#previewVideoCarousel .carousel-control-next {
    width: 50px;
    height: 50px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.3;
    transition: all 0.3s ease;
    border-radius: 50%;
    background: rgba(var(--theme-surface-rgb), 0.8);
    border: 1px solid var(--theme-border-primary);
}

#previewVideoCarousel .carousel-control-prev {
    left: 20px;
}

#previewVideoCarousel .carousel-control-next {
    right: 20px;
}

#previewVideoCarousel .carousel-control-prev:hover,
#previewVideoCarousel .carousel-control-next:hover {
    opacity: 1;
    background: var(--theme-primary);
    border-color: var(--theme-primary);
    transform: translateY(-50%) scale(1.1);
}

#previewVideoCarousel .carousel-control-prev-icon,
#previewVideoCarousel .carousel-control-next-icon {
    width: 30px;
    height: 30px;
    filter: none;
}

#previewVideoCarousel .carousel-control-prev:hover .carousel-control-prev-icon,
#previewVideoCarousel .carousel-control-next:hover .carousel-control-next-icon {
    filter: brightness(0) invert(1);
}

/* ============ PROGRESS & NOTIFICATION STYLES ============ */
/* Progress indicator */
.slider-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    z-index: 1000;
}

.slider-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #007bff, #00d4ff);
    width: 0%;
    transition: width 0.1s linear;
    border-radius: 0 2px 2px 0;
}

/* Notification styles */
.slider-notification {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 14px;
    z-index: 10000;
    transition: transform 0.3s ease;
    pointer-events: none;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.slider-notification.success {
    background: rgba(40, 167, 69, 0.9);
}

.slider-notification.info {
    background: rgba(23, 162, 184, 0.9);
}

.slider-notification.warning {
    background: rgba(255, 193, 7, 0.9);
}

/* Fallback navigation */
.static-fallback-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(0, 0, 0, 0.8);
    padding: 12px 25px;
    border-radius: 40px;
    color: white;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.static-fallback-nav .slide-counter {
    font-weight: 700;
    font-size: 15px;
    min-width: 60px;
    text-align: center;
    font-family: monospace;
}

.static-fallback-nav .prev-btn,
.static-fallback-nav .next-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 0;
}

.static-fallback-nav .prev-btn:hover,
.static-fallback-nav .next-btn:hover {
    background: white;
    color: black;
    border-color: white;
    transform: scale(1.05);
}

/* Hide slides for fallback */
.static-fallback-active .hero-slide {
    display: none;
}

.static-fallback-active .hero-slide:first-child {
    display: block;
}

/* ============ CAROUSEL ANIMATIONS ============ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

@keyframes fadeInOut {
    0% {
        opacity: 0;
        transform: translateY(-50%) scale(0.8);
    }

    20% {
        opacity: 1;
        transform: translateY(-50%) scale(1);
    }

    80% {
        opacity: 1;
        transform: translateY(-50%) scale(1);
    }

    100% {
        opacity: 0;
        transform: translateY(-50%) scale(0.8);
    }
}

@keyframes loadingShimmer {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

/* Apply animations to carousel items */
.owl-item.active .animate__fadeInUp {
    animation: fadeInUp 0.8s ease both;
}

.owl-item.active .animate__fadeInDown {
    animation: fadeInDown 0.8s ease both;
}

.owl-item.active .animate__fadeInLeft {
    animation: fadeInLeft 0.8s ease both;
}

.owl-item.active .animate__fadeInRight {
    animation: fadeInRight 0.8s ease both;
}

/* Animation delays */
.owl-item.active .animate__delay-100 {
    animation-delay: 0.1s;
}

.owl-item.active .animate__delay-200 {
    animation-delay: 0.2s;
}

.owl-item.active .animate__delay-300 {
    animation-delay: 0.3s;
}

.owl-item.active .animate__delay-400 {
    animation-delay: 0.4s;
}

.owl-item.active .animate__delay-500 {
    animation-delay: 0.5s;
}

.nav-indicator {
    animation: fadeInOut 1s ease forwards !important;
}

/* ============ CAROUSEL LOADING STATES ============ */
.carousel-loading {
    position: relative;
    min-height: 200px;
    background: var(--theme-bg-secondary);
    border-radius: 12px;
    overflow: hidden;
}

.carousel-loading::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.1) 50%,
            transparent 100%);
    animation: loadingShimmer 1.5s infinite;
}

/* ============ CAROUSEL RESPONSIVE ============ */
@media (max-width: 992px) {
    .owl-carousel .owl-nav {
        padding: 0 10px;
    }

    .owl-carousel .owl-nav button {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }

    .hero-slide__title {
        font-size: 2.75rem;
    }

    #previewVideoCarousel .carousel-item {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .owl-carousel .owl-dots {
        bottom: 15px;
    }

    .owl-carousel .owl-dot span {
        width: 10px;
        height: 10px;
        margin: 4px 6px;
    }

    .owl-carousel .client-box {
        padding: 1.5rem;
    }

    .hero-slider .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .hero-slide__content {
        padding: 1.5rem;
        align-items: center;
        text-align: center;
    }

    .hero-slide__title {
        font-size: 2.5rem !important;
    }

    .hero-slide__description {
        font-size: 1.125rem !important;
    }

    .hero-slide__primary-btn,
    .hero-slide__secondary-btn {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }

    #previewVideoCarousel .carousel-item {
        height: 300px;
    }

    #previewVideoCarousel .carousel-control-prev,
    #previewVideoCarousel .carousel-control-next {
        width: 40px;
        height: 40px;
    }

    #previewVideoCarousel .carousel-control-prev {
        left: 10px;
    }

    #previewVideoCarousel .carousel-control-next {
        right: 10px;
    }
}

@media (max-width: 576px) {
    .owl-carousel .owl-nav {
        display: none;
    }

    .owl-carousel .owl-dots {
        bottom: 10px;
    }

    .hero-slider {
        height: 100vh !important;
        min-height: 100vh !important;
    }

    .hero-slide__title {
        font-size: 2rem !important;
        margin-bottom: 1rem;
    }

    .hero-slide__description {
        font-size: 1rem !important;
        margin-bottom: 1.5rem;
    }

    .hero-slide__actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-slide__video-link {
        font-size: 1rem;
    }

    .hero-slide__video-icon {
        width: 50px;
        height: 50px;
    }

    .static-fallback-nav {
        bottom: 20px;
        padding: 10px 20px;
        gap: 15px;
    }

    .static-fallback-nav .prev-btn,
    .static-fallback-nav .next-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    #previewVideoCarousel .carousel-item {
        height: 250px;
    }
}

/* ============ DARK THEME ADJUSTMENTS ============ */
[data-theme="dark"] .owl-carousel .client-box,
.dark-theme .owl-carousel .client-box {
    background: var(--theme-surface-elevated);
    border-color: var(--theme-border-secondary);
}

[data-theme="dark"] .owl-carousel .client-box:hover,
.dark-theme .owl-carousel .client-box:hover {
    border-color: var(--theme-primary-light);
}

[data-theme="dark"] .owl-carousel .owl-nav button,
.dark-theme .owl-carousel .owl-nav button {
    background: rgba(var(--theme-surface-elevated-rgb), 0.9);
    border-color: var(--theme-border-secondary);
}

[data-theme="dark"] .hero-slide__overlay,
.dark-theme .hero-slide__overlay {
    background: linear-gradient(135deg,
            rgba(var(--theme-primary-darker-rgb), 0.8) 0%,
            rgba(var(--theme-primary-rgb), 0.6) 100%);
}

/* ============ CAROUSEL ACCESSIBILITY ============ */
.owl-carousel .owl-nav button:focus-visible,
.owl-carousel .owl-dot:focus-visible,
.hero-slide__primary-btn:focus-visible,
.hero-slide__secondary-btn:focus-visible,
.hero-slide__video-link:focus-visible {
    outline: 3px solid var(--color-focus-ring);
    outline-offset: 2px;
}

/* Hide from screen readers but keep accessible */
.owl-carousel .owl-dot span {
    text-indent: -9999px;
}

/* ============ UTILITY CLASSES ============ */
.position-relative {
    position: relative !important;
}

.overflow-hidden {
    overflow: hidden !important;
}


/*# sourceMappingURL=static-251a5461.be3a9e7c.min.css.map*/