/* ===================================
   PROFESSIONAL TOP BAR STYLES
   =================================== */

/* Root Variables for Theme Support */
:root {
    --topbar-bg: #f8fafc;
    --topbar-text: #475569;
    --topbar-text-hover: #0ea5e9;
    --topbar-border: #e2e8f0;
    --topbar-badge: #ef4444;
    --topbar-online: #22c55e;
    --topbar-offline: #94a3b8;
    --topbar-system-dot: #22c55e;
    --topbar-stars: #fbbf24;
    --topbar-cta-bg: #0ea5e9;
    --topbar-cta-text: #ffffff;
}

[data-theme="dark"] {
    --topbar-bg: #1e293b;
    --topbar-text: #cbd5e1;
    --topbar-text-hover: #38bdf8;
    --topbar-border: #334155;
    --topbar-badge: #ef4444;
    --topbar-online: #22c55e;
    --topbar-offline: #64748b;
    --topbar-system-dot: #22c55e;
    --topbar-stars: #fbbf24;
    --topbar-cta-bg: #f98b2c;
    --topbar-cta-text: #ffffff;
}

/* Top Bar Container */
.top-bar {
    background-color: var(--topbar-bg);
    border-bottom: 1px solid var(--topbar-border);
    padding: 10px 0;
    font-size: 12px;
    color: var(--topbar-text);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1000;
}

.top-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #0ea5e9, #8b5cf6, #ec4899, #0ea5e9);
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.top-bar-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: none;
    margin: 0 auto;
    padding: 0 20px;
    flex-wrap: nowrap;
}

.top-bar-left,
.top-bar-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
    white-space: nowrap;
}

/* Rating Links */
.top-rating-google,
.top-rating-papel,
.top-rating-sikayetvar {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    color: var(--topbar-text);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 4px 7px;
    border-radius: 4px;
}

.top-rating-google:hover,
.top-rating-papel:hover {
    background-color: rgba(14, 165, 233, 0.1);
    transform: translateY(-1px);
}

.top-rating-google img,
.top-rating-papel img {
    height: 15px;
    width: auto;
}

.top-rating-google .stars,
.top-rating-papel .stars {
    color: var(--topbar-stars);
    font-size: 10px;
    letter-spacing: -1px;
}

.top-rating-google strong,
.top-rating-papel strong {
    color: var(--topbar-text);
    font-weight: 600;
    font-size: 11px;
}

.top-rating-google .muted,
.top-rating-papel .muted {
    color: var(--topbar-text);
    opacity: 0.6;
    font-size: 10px;
}

/* Åžikayetvar Group */
.top-rating-sikayetvar-group {
    display: flex;
    align-items: center;
    gap: 7px;
    padding-left: 8px;
    border-left: 1px solid var(--topbar-border);
    flex-wrap: nowrap;
    white-space: nowrap;
}

.top-rating-sikayetvar {
    background-color: rgba(34, 197, 94, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
}

.top-rating-sikayetvar:hover {
    background-color: rgba(34, 197, 94, 0.2);
}

.top-rating-sikayetvar img {
    height: 15px;
}

.sikayetvar-count {
    font-weight: 700;
    color: #22c55e;
    font-size: 11px;
}

.sikayetvar-label {
    color: var(--topbar-text);
    opacity: 0.7;
    font-size: 11px;
}

/* Currency Rates */
.currency-rates {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 10px;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.currency-label {
    color: var(--topbar-text);
    opacity: 0.7;
    font-weight: 500;
    font-size: 10px;
}

.currency-item {
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 3px 5px;
    background-color: rgba(14, 165, 233, 0.1);
    border-radius: 3px;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.currency-item i {
    font-size: 9px;
    color: #f97316;
}

.currency-code {
    font-weight: 600;
    color: var(--topbar-text);
    font-size: 10px;
}

.currency-value {
    color: #0ea5e9;
    font-weight: 700;
    font-size: 10px;
}

.currency-symbol {
    color: var(--topbar-text);
    opacity: 0.6;
    font-size: 10px;
}

/* Currency Trend Arrows */
.currency-trend {
    font-size: 9px;
    margin-left: 2px;
    font-weight: 700;
}

.currency-trend.up {
    color: #22c55e;
}

.currency-trend.down {
    color: #ef4444;
}

/* Top Links */
.top-link,
.top-status,
.top-notification,
.top-cta {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--topbar-text);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 4px 7px;
    border-radius: 4px;
    font-size: 11px;
}

.top-link:hover {
    color: var(--topbar-text-hover);
    background-color: rgba(14, 165, 233, 0.1);
}

.top-link i,
.top-status i {
    font-size: 12px;
    flex-shrink: 0;
}

.top-link p,
.top-status p {
    margin: 0;
    padding: 0;
    line-height: 1.2;
    font-size: 11px;
    display: flex;
    align-items: center;
    gap: 3px;
    white-space: nowrap;
}

.top-link p strong,
.top-status p strong {
    font-weight: 600;
}

/* System Status */
.system-link {
    position: relative;
}

.system-status {
    font-weight: 500;
}

.system-dot {
    width: 7px;
    height: 7px;
    background-color: var(--topbar-system-dot);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

/* Support Status */
.support-hours {
    font-weight: 600;
}

.support-hours.online {
    color: var(--topbar-online);
}

.support-hours.offline {
    color: var(--topbar-offline);
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

.status-dot.online {
    background-color: var(--topbar-online);
    box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.2);
    animation: pulse 2s ease-in-out infinite;
}

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

/* Notification */
.top-notification {
    position: relative;
}

.top-notification i {
    font-size: 14px;
}

.notification-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background-color: var(--topbar-badge);
    color: white;
    font-size: 8px;
    font-weight: 700;
    padding: 0;
    border-radius: 50%;
    width: 14px;
    height: 14px;
    line-height: 14px;
    text-align: center;
    animation: bounce 2s ease-in-out infinite;
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-3px);
    }
}

/* CTA Button */
.top-cta {
    background-color: var(--topbar-cta-bg);
    color: var(--topbar-cta-text) !important;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-size: 11px;
}

.top-cta i {
    font-size: 12px;
}

.top-cta:hover {
    background-color: #f98b2c;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

/* Theme Toggle */
.theme-toggle-wrapper {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    margin-left: 8px;
}

.theme-toggle-checkbox {
    display: none;
}

.theme-toggle-slot {
    position: relative;
    height: 26px;
    width: 52px;
    border: 1px solid var(--topbar-border);
    border-radius: 13px;
    background-color: rgba(14, 165, 233, 0.1);
    transition: background-color 0.25s ease-in-out;
    display: flex;
    align-items: center;
    padding: 0 4px;
}

.theme-toggle-checkbox:checked + .theme-toggle-slot {
    background-color: rgba(139, 92, 246, 0.2);
}

.theme-toggle-button {
    transform: translateX(0);
    position: absolute;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    transition: transform 0.25s ease-in-out, background 0.25s ease-in-out;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.theme-toggle-checkbox:checked + .theme-toggle-slot .theme-toggle-button {
    transform: translateX(26px);
    background: linear-gradient(135deg, #8b5cf6, #6366f1);
}

.sun-icon-wrapper,
.moon-icon-wrapper {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 24px;
    transition: opacity 0.25s ease-in-out;
}

.sun-icon-wrapper {
    left: 5px;
    opacity: 1;
}

.moon-icon-wrapper {
    right: 5px;
    opacity: 0;
}

.theme-toggle-checkbox:checked + .theme-toggle-slot .sun-icon-wrapper {
    opacity: 0;
}

.theme-toggle-checkbox:checked + .theme-toggle-slot .moon-icon-wrapper {
    opacity: 1;
}

.sun-icon,
.moon-icon {
    font-size: 12px;
    z-index: 1;
}

.sun-icon {
    color: #fbbf24;
}

.moon-icon {
    color: #8b5cf6;
}

/* Desktop Only */
.desktop-only {
    display: block;
}

/* Responsive Design */
@media (max-width: 1400px) {
    .top-promo {
        padding: 3px 8px;
        font-size: 10px;
    }
    
    .top-promo i {
        font-size: 11px;
    }
}

@media (max-width: 1200px) {
    .currency-rates {
        display: none;
    }
    
    .top-rating-sikayetvar-group {
        padding-left: 8px;
    }
    
    .top-bar-right .top-promo:nth-child(4),
    .top-bar-right .top-promo:nth-child(5) {
        display: none;
    }
}

@media (max-width: 991px) {
    .top-bar {
        display: none;
    }
}

@media (max-width: 768px) {
    .desktop-only {
        display: none;
    }
}

/* Smooth transitions for theme changes */
* {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* ===================================
   CORPORATE PRELOADER - ULTRA LIGHT
   =================================== */

/* Body başlangıçta gizli, preloader bitince göster */
body {
    opacity: 0;
    transition: opacity 0.3s ease-in;
}

body.loaded {
    opacity: 1;
}

.page-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.3s ease-out;
    will-change: opacity;
    transform: translateZ(0);
    backface-visibility: hidden;
}

[data-theme="dark"] .page-preloader {
    background: #0f172a;
}

.page-preloader.fade-out {
    opacity: 0;
    pointer-events: none;
}

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.preloader-logo {
    width: 280px;
    height: auto;
    opacity: 0.9;
}

/* Dark mode logo */
[data-theme="dark"] .preloader-logo {
    filter: brightness(0) invert(1);
}

@media (max-width: 768px) {
    .preloader-logo {
        width: 260px;
    }
}

@media (max-width: 480px) {
    .preloader-logo {
        width: 220px;
    }
}

/* ===================================
   CAMPAIGN BANNER - SINGLE ROW
   =================================== */

.promo-slider-banner {
    background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
    padding: 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    height: 40px;
}

.promo-slider-banner .pattern-layer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(255,255,255,0.03) 10px,
            rgba(255,255,255,0.03) 20px
        );
    pointer-events: none;
}

.promo-slider-banner .container {
    width: 100%;
    max-width: none;
    padding: 0;
}

.promo-slides {
    display: block;
    position: relative;
    width: 100%;
    height: 40px;
    overflow: hidden;
}

.promo-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 20px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.2);
    font-family: 'Raleway', sans-serif;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.promo-slide.active {
    opacity: 1;
    transform: translateY(0);
}

.promo-slide.exit {
    opacity: 0;
    transform: translateY(-100%);
}

.promo-slide i {
    font-size: 16px;
    color: #ffffff;
    flex-shrink: 0;
    line-height: 1;
    animation: iconPulse 2s ease-in-out infinite;
}

.promo-slide span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 90%;
    display: inline-block;
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

/* Dark theme iÃ§in kampanya banner */
[data-theme="dark"] .promo-slider-banner {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
}

[data-theme="dark"] .promo-slide {
    border-right-color: rgba(255,255,255,0.1);
}

/* Responsive */
@media (max-width: 1400px) {
    .promo-slide {
        font-size: 12px;
    }
}

@media (max-width: 1200px) {
    .promo-slide {
        font-size: 11px;
        padding: 0 15px;
    }
    
    .promo-slide i {
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .promo-slider-banner {
        height: 35px;
    }
    
    .promo-slides {
        height: 35px;
    }
    
    .promo-slide {
        height: 35px;
        font-size: 10px;
        padding: 0 12px;
    }
    
    .promo-slide i {
        font-size: 11px;
    }
}

/* ===================================
   MODERN MEGAMENU STYLES
   =================================== */

/* Modern Corporate Megamenu - Light & Dark Theme Compatible */
.megamenu {
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: none;
    border-radius: 20px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.08),
                0 10px 30px rgba(249, 115, 22, 0.05),
                0 0 0 1px rgba(226, 232, 240, 0.8);
    padding: 32px 0;
    margin-top: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.megamenu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f97316, #fb923c, #fdba74, #fb923c, #f97316);
    background-size: 200% 100%;
    animation: gradientFlow 8s ease infinite;
    z-index: 1;
}

@keyframes gradientFlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

[data-theme="dark"] .megamenu {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.6),
                0 10px 30px rgba(249, 115, 22, 0.15),
                0 0 0 1px rgba(51, 65, 85, 0.8);
}

[data-theme="dark"] .megamenu::before {
    background: linear-gradient(90deg, #f97316, #fb923c, #fdba74, #fb923c, #f97316);
    background-size: 200% 100%;
}

.megamenu > .container {
    position: relative;
    z-index: 1;
}

/* Nav Item Hover/Active States - REMOVED ACTIVE EFFECTS */
.navbar-nav .nav-item:hover > .nav-link {
    color: #f97316;
}

.navbar-nav .nav-item > .nav-link {
    transition: all 0.3s ease;
    padding: 8px 15px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Dropdown Arrow Icon - REMOVED */
.navbar-nav .nav-item.dropdown > .nav-link.dropdown-toggle::after {
    display: none;
}

.navbar-nav .nav-item.dropdown > .nav-link.dropdown-toggle {
    display: flex;
    gap: 8px;
    flex-wrap: nowrap;
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.navbar-nav .nav-item.dropdown > .nav-link.dropdown-toggle i {
    order: 1;
    flex-shrink: 0;
    font-size: 18px;
    line-height: 1;
}

.navbar-nav .nav-item.dropdown > .nav-link.dropdown-toggle > *:not(i):not(::after):not(.menu-badge) {
    order: 2;
    flex: 1;
}

.navbar-nav .nav-item > .nav-link .menu-badge {
    position: absolute;
    top: 7px;
    right: -10px;
    margin-left: 0;
    z-index: 1000;
}

/* Modern Menu Box Containers */
.menu-box {
    padding: 24px;
    background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
    border-radius: 16px;
    margin: 8px;
    border: 2px solid #e5e7eb;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.menu-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #f97316, #fb923c);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu-box:hover::before {
    opacity: 1;
}

[data-theme="dark"] .menu-box {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border: 2px solid #334155;
}

.menu-box:hover {
    background: linear-gradient(135deg, #ffffff 0%, #fef3f2 100%);
    border-color: #f97316;
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(249, 115, 22, 0.15);
}

[data-theme="dark"] .menu-box:hover {
    background: linear-gradient(135deg, #334155 0%, #1e293b 100%);
    border-color: #fb923c;
    box-shadow: 0 12px 32px rgba(249, 115, 22, 0.25);
}

.menu-box h4 {
    color: #0f172a !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    margin-bottom: 16px !important;
    padding-bottom: 10px !important;
    border-bottom: 2px solid transparent !important;
    background: linear-gradient(90deg, #f97316 0%, #fb923c 50%, transparent 50%) !important;
    background-size: 200% 2px !important;
    background-position: 100% 100% !important;
    background-repeat: no-repeat !important;
    position: relative !important;
    text-transform: uppercase !important;
    letter-spacing: 1.2px !important;
    transition: all 0.3s ease !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    text-indent: 0 !important;
    line-height: 1.4 !important;
}

.menu-box h4 span {
    display: block !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    text-transform: none !important;
    letter-spacing: 0.3px !important;
    margin-top: 6px !important;
    color: #64748b !important;
    opacity: 1 !important;
    visibility: visible !important;
    text-indent: 0 !important;
    line-height: 1.5 !important;
}

.menu-box:hover h4 {
    background-position: 0% 100%;
    color: #f97316;
}

[data-theme="dark"] .menu-box h4 {
    color: #e2e8f0 !important;
}

[data-theme="dark"] .menu-box h4 span {
    color: #94a3b8 !important;
}

[data-theme="dark"] .menu-box:hover h4 {
    color: #fb923c !important;
}

[data-theme="dark"] .menu-box:hover h4 span {
    color: #cbd5e1 !important;
}

.menu-box h4::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #f97316, #fb923c);
    transition: width 0.4s ease;
}

.menu-box:hover h4::before {
    width: 60px;
}

/* Color Schemes for Menu Boxes */
/* Orange */
.menu-box.color-orange h4 {
    color: #f97316 !important;
    background: linear-gradient(90deg, #f97316 0%, #fb923c 50%, transparent 50%);
}

.menu-box.color-orange h4 span {
    color: #fb923c !important;
}

.menu-box.color-orange:hover h4 {
    color: #ea580c !important;
}

.menu-box.color-orange h4::before {
    background: linear-gradient(90deg, #f97316, #fb923c);
}

.menu-box.color-orange ul li a i {
    color: #f97316;
}

[data-theme="dark"] .menu-box.color-orange h4 {
    color: #fb923c !important;
}

[data-theme="dark"] .menu-box.color-orange h4 span {
    color: #fdba74 !important;
}

[data-theme="dark"] .menu-box.color-orange ul li a i {
    color: #fb923c;
}

/* Red */
.menu-box.color-red h4 {
    color: #dc2626 !important;
    background: linear-gradient(90deg, #dc2626 0%, #ef4444 50%, transparent 50%);
}

.menu-box.color-red h4 span {
    color: #ef4444 !important;
}

.menu-box.color-red:hover h4 {
    color: #b91c1c !important;
}

.menu-box.color-red h4::before {
    background: linear-gradient(90deg, #dc2626, #ef4444);
}

.menu-box.color-red ul li a i {
    color: #dc2626;
}

[data-theme="dark"] .menu-box.color-red h4 {
    color: #f87171 !important;
}

[data-theme="dark"] .menu-box.color-red h4 span {
    color: #fca5a5 !important;
}

[data-theme="dark"] .menu-box.color-red ul li a i {
    color: #f87171;
}

.menu-box.color-red:hover {
    border-color: #dc2626;
}

[data-theme="dark"] .menu-box.color-red:hover {
    border-color: #ef4444;
}

/* Blue */
.menu-box.color-blue h4 {
    color: #2563eb !important;
    background: linear-gradient(90deg, #2563eb 0%, #3b82f6 50%, transparent 50%);
}

.menu-box.color-blue h4 span {
    color: #3b82f6 !important;
}

.menu-box.color-blue:hover h4 {
    color: #1d4ed8 !important;
}

.menu-box.color-blue h4::before {
    background: linear-gradient(90deg, #2563eb, #3b82f6);
}

.menu-box.color-blue ul li a i {
    color: #2563eb;
}

[data-theme="dark"] .menu-box.color-blue h4 {
    color: #60a5fa !important;
}

[data-theme="dark"] .menu-box.color-blue h4 span {
    color: #93c5fd !important;
}

[data-theme="dark"] .menu-box.color-blue ul li a i {
    color: #60a5fa;
}

.menu-box.color-blue:hover {
    border-color: #2563eb;
}

[data-theme="dark"] .menu-box.color-blue:hover {
    border-color: #3b82f6;
}

/* Green */
.menu-box.color-green h4 {
    color: #16a34a !important;
    background: linear-gradient(90deg, #16a34a 0%, #22c55e 50%, transparent 50%);
}

.menu-box.color-green h4 span {
    color: #22c55e !important;
}

.menu-box.color-green:hover h4 {
    color: #15803d !important;
}

.menu-box.color-green h4::before {
    background: linear-gradient(90deg, #16a34a, #22c55e);
}

.menu-box.color-green ul li a i {
    color: #16a34a;
}

[data-theme="dark"] .menu-box.color-green h4 {
    color: #4ade80 !important;
}

[data-theme="dark"] .menu-box.color-green h4 span {
    color: #86efac !important;
}

[data-theme="dark"] .menu-box.color-green ul li a i {
    color: #4ade80;
}

.menu-box.color-green:hover {
    border-color: #16a34a;
}

[data-theme="dark"] .menu-box.color-green:hover {
    border-color: #22c55e;
}

.menu-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-box ul li {
    margin-bottom: 4px;
}

.menu-box ul li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    background: transparent;
    border: 1px solid transparent;
}

[data-theme="dark"] .menu-box ul li a {
    background: transparent;
}

.menu-box ul li a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, #f97316, #fb923c);
    transform: scaleY(0);
    transition: transform 0.3s ease;
    z-index: 0;
}

.menu-box ul li a:hover::before {
    transform: scaleY(1);
}

.menu-box ul li a:hover {
    background: linear-gradient(90deg,
        rgba(249, 115, 22, 0.08) 0%,
        rgba(251, 146, 60, 0.04) 100%);
    transform: translateX(8px);
    border-color: rgba(249, 115, 22, 0.2);
}

[data-theme="dark"] .menu-box ul li a:hover {
    background: linear-gradient(90deg,
        rgba(249, 115, 22, 0.15) 0%,
        rgba(251, 146, 60, 0.08) 100%);
    border-color: rgba(249, 115, 22, 0.3);
}

.menu-box ul li a i {
    font-size: 18px;
    color: #f97316;
    min-width: 20px;
    text-align: center;
    z-index: 1;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    order: 3;
    flex-shrink: 0;
    margin-left: auto;
}

[data-theme="dark"] .menu-box ul li a i {
    color: #fb923c;
}

.menu-box ul li a:hover i {
    transform: translateX(5px) rotate(-5deg);
    color: #ea580c;
}

[data-theme="dark"] .menu-box ul li a:hover i {
    color: #fdba74;
}

.menu-box ul li a p {
    margin: 0;
    color: #334155;
    font-weight: 600;
    font-size: 13px;
    line-height: 1.4;
    z-index: 1;
    transition: color 0.3s ease;
    order: 1;
    flex: 1;
}

[data-theme="dark"] .menu-box ul li a p {
    color: #e2e8f0;
}

.menu-box ul li a:hover p {
    color: #0f172a;
}

[data-theme="dark"] .menu-box ul li a:hover p {
    color: #f8fafc;
}

.menu-box ul li a p small {
    display: block;
    font-size: 11px;
    color: #64748b;
    font-weight: 400;
    margin-top: 3px;
    line-height: 1.3;
}

[data-theme="dark"] .menu-box ul li a p small {
    color: #94a3b8;
}

.menu-box ul li a:hover p small {
    color: #475569;
}

[data-theme="dark"] .menu-box ul li a:hover p small {
    color: #cbd5e1;
}

/* Dropdown Arrow for menu items with dropdowns */
.menu-box ul li a.has-dropdown::after {
    content: '\ea4e';
    font-family: 'remixicon';
    font-size: 14px;
    color: #f97316;
    order: 3;
    margin-left: auto;
    transition: transform 0.3s ease;
}

[data-theme="dark"] .menu-box ul li a.has-dropdown::after {
    color: #fb923c;
}

.menu-box ul li a.has-dropdown:hover::after {
    transform: translateX(3px);
}

/* Gradient Background Boxes */
.menu-box.bg-gradient {
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    border: 2px solid #fed7aa;
    position: relative;
    overflow: hidden;
}

.menu-box.bg-gradient::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.1) 0%, transparent 60%);
    animation: rotateGradient 15s linear infinite;
    pointer-events: none;
}

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

[data-theme="dark"] .menu-box.bg-gradient {
    background: linear-gradient(135deg, #292524 0%, #1c1917 100%);
    border-color: #57534e;
}

.menu-box.bg-gradient:hover {
    background: linear-gradient(135deg, #ffedd5 0%, #fed7aa 100%);
    border-color: #fb923c;
}

[data-theme="dark"] .menu-box.bg-gradient:hover {
    background: linear-gradient(135deg, #44403c 0%, #292524 100%);
    border-color: #fb923c;
}

.menu-box.bg-gradient h4 {
    color: #ea580c;
}

[data-theme="dark"] .menu-box.bg-gradient h4 {
    color: #fdba74;
}

.menu-box.bg-gradient ul li a {
    background: transparent;
}

.menu-box.bg-gradient ul li a:hover {
    background: rgba(249, 115, 22, 0.12);
}

[data-theme="dark"] .menu-box.bg-gradient ul li a:hover {
    background: rgba(249, 115, 22, 0.20);
}

/* Software Megamenu Special Styling */
.software-megamenu .menu-box {
    position: relative;
}

.software-megamenu .menu-box::after {
    content: '';
    position: absolute;
    right: 0;
    top: 10%;
    width: 1px;
    height: 80%;
    background: linear-gradient(180deg, transparent, #f9731620, transparent);
}

.software-megamenu .menu-box:last-child::after {
    display: none;
}

/* Menu Footer Link */
.megamenu .row + .row {
    border-top: 1px solid rgba(249, 115, 22, 0.15);
    padding-top: 20px;
    margin-top: 20px;
}

[data-theme="dark"] .megamenu .row + .row {
    border-top-color: rgba(249, 115, 22, 0.25);
}

.megamenu .row + .row a {
    color: #334155;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 12px;
    background: linear-gradient(90deg, #fafafa 0%, #f5f5f5 100%);
    border: 2px solid #e5e7eb;
}

[data-theme="dark"] .megamenu .row + .row a {
    color: #e2e8f0;
    background: linear-gradient(90deg, #1e293b 0%, #0f172a 100%);
    border-color: #334155;
}

.megamenu .row + .row a:hover {
    background: linear-gradient(90deg, #f97316 0%, #fb923c 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.3);
    border-color: #f97316;
    color: #ffffff;
}

[data-theme="dark"] .megamenu .row + .row a:hover {
    background: linear-gradient(90deg, #f97316 0%, #fb923c 100%);
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.4);
}

.megamenu .row + .row a i:first-child {
    color: #f97316;
    transition: transform 0.3s ease;
}

.megamenu .row + .row a:hover i:first-child {
    color: #ffffff;
    transform: rotate(360deg);
}

.megamenu .row + .row a i:last-child {
    transition: transform 0.3s ease;
    color: #f97316;
}

.megamenu .row + .row a:hover i:last-child {
    transform: translateX(5px);
    color: #ffffff;
}

/* Menu Badge Animations - Corporate Design */
.menu-badge {
    font-size: 5px;
    padding: 3px 5px;
    border-radius: 5px;
    font-weight: 100;
    text-transform: none;
    letter-spacing: 0px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    line-height: 1;
    transition: all 0.3s cubic-bezier(1, -1.35, 0.11, 1.78);
    backdrop-filter: blur(0px);
}

.menu-badge:hover {
    transform: translateY(-2px);
}

/* Primary Badge - Orange Theme */
.menu-badge.badge-preferred {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.95), rgba(251, 146, 60, 0.95));
    color: #fff;
    border: 1px solid rgba(249, 115, 22, 0.3);
}

/* Success Badge - Green Theme */
.menu-badge.badge-advantage,
.menu-badge.badge-domain {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.95), rgba(22, 163, 74, 0.95));
    color: #fff;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

/* Info Badge - Blue Theme */
.menu-badge.badge-recommended {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.95), rgba(37, 99, 235, 0.95));
    color: #fff;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

/* Alert Badge - Red Theme */
.menu-badge.badge-fresh {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.95), rgba(220, 38, 38, 0.95));
    color: #fff;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Cyan Badge - Info Theme */
.menu-badge.badge-discount {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.95), rgba(2, 132, 199, 0.95));
    color: #fff;
    border: 1px solid rgba(14, 165, 233, 0.3);
}

/* cPanel Badge - White/Neutral */
.menu-badge.badge-cpanel {
    background: rgba(255, 255, 255, 0.95);
    color: #1f2937;
    border: 1px solid rgba(229, 231, 235, 0.5);
    padding: 2px 8px;
    backdrop-filter: blur(10px);
}

[data-theme="dark"] .menu-badge.badge-cpanel {
    background: rgba(255, 255, 255, 0.98);
    border-color: rgba(209, 213, 219, 0.5);
}

.cpanel-logo {
    height: 13px;
    width: auto;
    display: block;
}

/* Dark Mode Adjustments */
[data-theme="dark"] .menu-badge {
    backdrop-filter: blur(15px);
}

/* Responsive Megamenu */
@media (max-width: 1200px) {
    .menu-box h4 {
        font-size: 14px;
    }
    
    .menu-box ul li a {
        padding: 10px 12px;
    }
    
    .menu-box ul li a p {
        font-size: 12px;
    }
    
    .menu-box ul li a p small {
        font-size: 10px;
    }
}

@media (max-width: 991px) {
    .megamenu {
        padding: 15px 0;
    }
    
    .menu-box {
        padding: 0 15px;
        margin-bottom: 20px;
    }
}

/* ===================================
   MODERN SLIDER BUTTONS
   =================================== */

/* Modern Slider Buttons */
#intro .buttons .btn {
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

#intro .buttons .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
    opacity: 0;
    transition: opacity 0.3s ease;
}

#intro .buttons .btn:hover::before {
    opacity: 1;
}

#intro .buttons .btn-info {
    background: linear-gradient(135deg, #fb923c 0%, #f97316 100%);
    border: none;
    color: white;
    box-shadow: 0 8px 20px rgba(251, 146, 60, 0.3);
}

#intro .buttons .btn-info:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(251, 146, 60, 0.4);
}

#intro .buttons .btn-info:active {
    transform: translateY(0);
}

#intro .buttons .btn-outline-light {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    backdrop-filter: blur(10px);
}

#intro .buttons .btn-outline-light:hover {
    background: linear-gradient(135deg, #fb923c 0%, #f97316 100%);
    border-color: #fb923c;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(251, 146, 60, 0.4);
}

#intro .buttons .btn-outline-light:active {
    transform: translateY(0);
}

/* Lock Icon Animation */
#intro .buttons .btn .lock-icon-wrapper {
    position: relative;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#intro .buttons .btn .lock-icon-wrapper svg {
    position: absolute;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#intro .buttons .btn .lock-closed {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

#intro .buttons .btn .lock-open {
    opacity: 0;
    transform: scale(0.8) rotate(-10deg);
}

#intro .buttons .btn:hover .lock-closed {
    opacity: 0;
    transform: scale(0.8) rotate(10deg);
}

#intro .buttons .btn:hover .lock-open {
    opacity: 1;
    transform: scale(1.1) rotate(0deg);
}

#intro .buttons .btn svg:not(.lock-closed):not(.lock-open) {
    transition: transform 0.3s ease;
}

#intro .buttons .btn:hover svg:not(.lock-closed):not(.lock-open) {
    transform: scale(1.1);
}

/* Dark mode adjustments for buttons */
.dark-on #intro .buttons .btn-outline-light {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

.dark-on #intro .buttons .btn-outline-light:hover {
    background: linear-gradient(135deg, #fb923c 0%, #f97316 100%);
    border-color: #fb923c;
}

/* Responsive button adjustments */
@media (max-width: 768px) {
    #intro .buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    #intro .buttons .btn {
        width: 100%;
        margin: 0 0 12px 0 !important;
        justify-content: center;
    }
    
    #intro .buttons .btn:last-child {
        margin-bottom: 0 !important;
    }
}