:root {
    /* Light Theme (Default) */
    --primary: #a855f7;
    /* Vibrant Purple */
    --secondary: #0ea5e9;
    /* Sky Blue / Cyan */
    --accent: #f472b6;
    /* Soft Pink Accent */
    --bg-body: #ffffff;
    --bg-alt: #f8fafc;
    --bg-card: #ffffff;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --gradient: linear-gradient(135deg, #a855f7 0%, #0ea5e9 100%);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.05);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    --nav-bg: rgba(255, 255, 255, 0.8);
}

[data-theme="dark"] {
    /* Dark Theme Variables */
    --bg-body: #0f172a;
    --bg-alt: #1e293b;
    --bg-card: #1e293b;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --border-color: #334155;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
    --glass-bg: rgba(15, 23, 42, 0.7);
    --glass-border: rgba(255, 255, 255, 0.05);
    --nav-bg: rgba(15, 23, 42, 0.8);
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    overflow-x: hidden;
    transition: background-color 0.3s, color 0.3s;
}

html[lang="ar"] body {
    font-family: 'Cairo', sans-serif !important;
}

/* RTL Placeholder alignment */
html[dir="rtl"] input::placeholder,
html[dir="rtl"] textarea::placeholder {
    text-align: right;
}

html[dir="rtl"] .cyber-form .form-control {
    text-align: right;
}

/* Theme Helper Classes */
.bg-body-custom {
    background-color: var(--bg-body) !important;
}

.bg-alt-custom {
    background-color: var(--bg-alt) !important;
}

.text-main-custom {
    color: var(--text-main) !important;
}

.border-custom {
    border-color: var(--border-color) !important;
}

/* Map Inversion for Dark Mode */
[data-theme="dark"] .map-iframe {
    filter: invert(90%) hue-rotate(180deg) brightness(0.9) contrast(1.2);
}

.hover-primary:hover {
    color: var(--primary) !important;
}


/* Cyber Navbar 2050 (Solid Theme) */
.navbar-cyber {
    background: var(--bg-card);
    /* Use card background for solid feel */
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    padding: 15px 0;
    transition: all 0.3s ease;
    width: 100%;
    z-index: 9999;
    position: sticky;
    top: 0;
}

.navbar-cyber .container,
.navbar-cyber .container-fluid {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-cyber::after {
    display: none;
    /* Remove harsh heavy line */
}

/* Brand - Dark text for Light BG */
.navbar-brand-cyber {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.8rem;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, #4f46e5 0%, #ec4899 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    /* Gradient Text */
    text-transform: uppercase;
    position: relative;
    display: flex;
    align-items: center;
    text-decoration: none !important;
}

.navbar-brand-cyber:hover {
    background: linear-gradient(135deg, #22d3ee 0%, #4f46e5 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.navbar-brand-cyber i {
    color: #4f46e5;
    -webkit-text-fill-color: initial;
    /* Reset for icon */
    background: none;
    margin-right: 10px;
    filter: none;
    /* Remove neon glow for cleaner look */
}

html[dir="rtl"] .navbar-brand-cyber i {
    margin-right: 0;
    margin-left: 10px;
}

/* Links - Darker for visibility */
.nav-link-cyber {
    color: var(--text-main) !important;
    /* Theme-aware color */
    font-weight: 600;
    margin: 0 12px;
    text-transform: uppercase;
    font-size: 0.95rem;
    /* Slight increase */
    letter-spacing: 0.5px;
    position: relative;
    transition: all 0.3s;
    padding: 8px 0;
    text-decoration: none !important;
    display: inline-block;
}

.nav-link-cyber:hover,
.nav-link-cyber.active {
    color: #ec4899 !important;
    /* Changed from Blue to Pink/Secondary Brand Color */
    transform: translateY(-1px);
}

.text-gradient-cyber {
    background: linear-gradient(135deg, #4f46e5 0%, #ec4899 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Nav Icons & Badges */
.nav-icon-cyber {
    position: relative;
    color: var(--text-main);
    font-size: 1.35rem;
    /* Increased size */
    transition: all 0.3s;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-icon-cyber:hover {
    color: #4f46e5;
    transform: translateY(-2px);
}

.badge-cyber {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ec4899;
    color: white;
    font-size: 0.55rem;
    /* Decreased font size */
    padding: 1px 4px;
    border-radius: 50px;
    font-weight: 800;
    min-width: 15px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(236, 72, 153, 0.4);
}

.badge-cyber.pulse {
    width: 8px;
    height: 8px;
    min-width: 8px;
    padding: 0;
    top: -2px;
    right: -2px;
    animation: badge-pulse 2s infinite;
}

@keyframes badge-pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(236, 72, 153, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(236, 72, 153, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(236, 72, 153, 0);
    }
}

/* Notification Dropdown Styling */
.dropdown:hover>.dropdown-menu.notification-dropdown {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

.notification-dropdown {
    width: 350px;
    border-radius: 12px !important;
    overflow: visible !important;
    padding: 0 !important;
    background-color: var(--bg-card) !important;
    box-shadow: var(--shadow-lg) !important;
    border: 1px solid var(--border-color) !important;
    z-index: 10000 !important;
    margin-top: 25px !important;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: none;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 100%;
}

.notification-dropdown .border-bottom,
.notification-dropdown .border-top,
.notification-dropdown .notification-list {
    background-color: var(--bg-card) !important;
}

.notification-dropdown .text-primary {
    color: var(--primary) !important;
}

.notification-dropdown a.text-primary:hover {
    color: var(--secondary) !important;
}

/* Hover Bridge for notifications */
.notification-dropdown::before {
    content: '';
    position: absolute;
    top: -30px;
    left: 0;
    width: 100%;
    height: 30px;
    display: block;
}

.notification-dropdown .text-main-custom {
    opacity: 1 !important;
}

.notification-dropdown .text-muted {
    opacity: 0.7 !important;
}

.icon-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.bg-primary-soft {
    background: rgba(79, 70, 229, 0.1);
}

.bg-success-soft {
    background: rgba(34, 197, 94, 0.1);
}

.bg-warning-soft {
    background: rgba(234, 179, 8, 0.1);
}

.notification-list .dropdown-item {
    white-space: normal;
    transition: all 0.2s;
    background-color: var(--bg-card) !important;
}

.notification-list .dropdown-item:hover {
    background: var(--bg-alt) !important;
}

@media (max-width: 575.98px) {
    .notification-dropdown {
        width: 280px;
        position: absolute !important;
        right: -50px;
    }
}


.nav-link-cyber.active::after {
    right: -18px;
}

/* Button - Solid Gradient for contrast */
.btn-cyber {
    background: linear-gradient(135deg, #4f46e5 0%, #ec4899 100%);
    border: none;
    color: #fff !important;
    padding: 10px 30px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    /* Rounder for modern feel */
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
    text-decoration: none !important;
    display: inline-block;
}

.btn-cyber:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.4);
    filter: brightness(1.1);
}

/* Language Switcher Light */
.lang-cyber .dropdown-toggle {
    color: var(--text-main) !important;
    border: 1px solid var(--border-color);
    padding: 6px 15px;
    border-radius: 20px;
    background: var(--bg-alt);
    transition: all 0.3s;
}

.lang-cyber .dropdown-toggle:hover {
    border-color: var(--primary);
    color: var(--primary) !important;
    background: var(--bg-card);
}

.lang-cyber .dropdown-menu {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    border-radius: 12px;
    padding: 10px;
}

.lang-cyber .dropdown-item {
    color: var(--text-main) !important;
    border-radius: 8px;
    margin-bottom: 2px;
}

.lang-cyber .dropdown-item:hover {
    background: var(--bg-alt);
    color: var(--primary) !important;
    padding-left: 1rem;
}

/* Toggle Button Color Fix */
.navbar-toggler i {
    color: #475569 !important;
}

/* Navbar Toggler - Cyber Style */
.navbar-toggler {
    border: none;
    padding: 10px;
    z-index: 1001;
    transition: all 0.3s;
    border-radius: 10px;
}

.navbar-toggler:focus {
    box-shadow: none;
    background: rgba(79, 70, 229, 0.1);
}

.navbar-toggler .toggler-icon {
    width: 24px;
    height: 2px;
    background-color: #475569;
    display: block;
    margin: 5px 0;
    transition: all 0.3s;
    position: relative;
    border-radius: 2px;
}

.navbar-toggler[aria-expanded="true"] .icon-bar-1 {
    transform: rotate(45deg) translate(5px, 5px);
}

.navbar-toggler[aria-expanded="true"] .icon-bar-2 {
    opacity: 0;
}

.navbar-toggler[aria-expanded="true"] .icon-bar-3 {
    transform: rotate(-45deg) translate(7px, -8px);
}

/* Mobile View Adjustments - Dark Tech Theme */
@media (max-width: 991.98px) {
    .navbar-collapse {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--bg-body);
        /* Theme-aware solid background */
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 100px 20px 50px;
        z-index: 1000;
        display: block !important;
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        overflow-y: auto;
        border: none;
    }

    .navbar-collapse.show {
        opacity: 1;
        visibility: visible;
    }

    .navbar-toggler {
        background: rgba(0, 0, 0, 0.05) !important;
        border: 1px solid rgba(0, 0, 0, 0.1) !important;
    }

    .navbar-toggler .toggler-icon {
        background-color: #475569 !important;
        /* Dark bars for white header */
    }

    .navbar-toggler[aria-expanded="true"] .toggler-icon {
        background-color: #ec4899 !important;
        /* Pink bars when open for contrast */
    }

    .navbar-nav {
        align-items: flex-start !important;
        width: 100%;
    }

    .nav-link-cyber {
        color: rgba(255, 255, 255, 0.9) !important;
        font-size: 1.25rem;
        margin: 10px 0;
        text-align: start !important;
        width: 100%;
        display: flex !important;
        align-items: center;
        justify-content: flex-start !important;
        padding: 12px 30px !important;
    }

    html[dir="rtl"] .navbar-nav {
        align-items: flex-end !important;
    }

    html[dir="rtl"] .nav-link-cyber {
        text-align: right !important;
        flex-direction: row-reverse;
        justify-content: flex-start !important;
        padding: 12px 30px !important;
    }

    .nav-link-cyber:hover {
        color: #ec4899 !important;
    }

    .nav-link-cyber::before,
    .nav-link-cyber::after {
        display: none !important;
        /* Hide brackets on mobile for cleaner look */
    }

    .mega-menu-cyber {
        position: relative !important;
        width: 100% !important;
        left: 0 !important;
        right: 0 !important;
        transform: none !important;
        opacity: 0 !important;
        /* Start hidden */
        visibility: hidden !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
        background: rgba(255, 255, 255, 0.05) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        border-radius: 15px !important;
        margin-top: 10px !important;
        padding: 0 !important;
        max-height: 0;
        overflow: hidden;
        transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        display: block !important;
    }

    /* Target the show class on the menu or the parent link */
    .mega-menu-cyber.show,
    .dropdown.show .mega-menu-cyber,
    .dropdown-mega.show .mega-menu-cyber {
        max-height: 2500px !important;
        opacity: 1 !important;
        visibility: visible !important;
        padding: 20px 10px !important;
        transform: none !important;
        /* Force reset transform on mobile */
    }

    .mega-title {
        color: #fff !important;
        justify-content: flex-start;
        font-size: 1rem;
        margin-top: 20px;
        text-align: start;
    }

    .mega-divider {
        margin: 8px 0;
        background: linear-gradient(90deg, #ec4899 0%, transparent 100%);
    }

    html[dir="rtl"] .mega-divider {
        margin: 8px 0 8px auto;
        background: linear-gradient(-90deg, #ec4899 0%, transparent 100%);
    }

    .mega-item {
        color: rgba(255, 255, 255, 0.6) !important;
        justify-content: flex-start;
        background: transparent !important;
        text-align: start;
        padding-left: 10px !important;
    }

    html[dir="rtl"] .mega-item {
        text-align: right;
        justify-content: flex-end;
        padding-right: 10px !important;
    }

    .mega-item i {
        margin-bottom: 0 !important;
        margin-right: 15px !important;
        color: #4f46e5 !important;
        width: auto !important;
        font-size: 1.2rem;
    }

    html[dir="rtl"] .mega-item i {
        margin-right: 0 !important;
        margin-left: 15px !important;
    }

    html[dir="rtl"] .mega-item i {
        margin: 0 0 10px 0 !important;
    }

    .navbar-cyber .d-flex.align-items-center.gap-2 {
        display: none !important;
        /* Hide actions on mobile inside standard location */
    }

    /* Special actions container for mobile */
    .mobile-actions {
        display: flex;
        flex-direction: column;
        gap: 20px;
        margin-top: 40px;
        align-items: center;
    }

    .navbar-cyber .container-fluid {
        padding-top: 10px;
        padding-bottom: 10px;
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(15px);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
        border-radius: 0 0 15px 15px;
        z-index: 1001;
    }

    .navbar-brand-cyber {
        font-size: 1.3rem;
    }

    /* Fix language buttons on mobile */
    .mobile-actions .nav-link-cyber {
        background: rgba(255, 255, 255, 0.1);
        border-radius: 10px;
        padding: 5px 15px !important;
        font-size: 0.9rem;
        margin: 0;
    }
}


/* Buttons */
.btn-custom {
    background: var(--gradient);
    border: none;
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #ec4899 0%, #4f46e5 100%);
    /* Reverse Gradient */
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s;
}

.btn-custom:hover::before {
    opacity: 1;
}

.btn-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(79, 70, 229, 0.3);
    color: white;
}

.btn-outline-custom {
    border: 2px solid var(--border-color);
    color: var(--text-main);
    background: transparent;
    border-radius: 50px;
    padding: 10px 30px;
    font-weight: 600;
    transition: all 0.3s;
}

/* Mega Menu Cyber */
.mega-menu-cyber {
    background: var(--bg-card);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid var(--border-color);
    border-top: 4px solid var(--primary);
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    transform: translateY(25px) translateX(-50%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    top: 100%;
    width: 850px;
    left: 50%;
    margin-top: 0 !important;
    display: block !important;
    /* Force display since we use opacity/visibility */
}

/* Add bridge to prevent menu from closing when moving mouse from link to menu */
.mega-menu-cyber::before {
    content: '';
    position: absolute;
    top: -30px;
    left: 0;
    width: 100%;
    height: 30px;
    background: transparent;
}

.nav-item.dropdown-mega:hover .mega-menu-cyber {
    transform: translateY(20px) translateX(-50%);
    opacity: 1;
    visibility: visible;
}

html[dir="rtl"] .mega-menu-cyber {
    left: auto;
    right: 50%;
    transform: translateY(25px) translateX(50%);
}

html[dir="rtl"] .nav-item.dropdown-mega:hover .mega-menu-cyber {
    transform: translateY(20px) translateX(50%);
}

.mega-title {
    color: var(--text-main);
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.mega-divider {
    height: 2px;
    width: 30px;
    background: linear-gradient(90deg, #4f46e5 0%, transparent 100%);
    border-radius: 2px;
}

html[dir="rtl"] .mega-divider {
    background: linear-gradient(-90deg, #4f46e5 0%, transparent 100%);
}

.mega-list li {
    margin-bottom: 12px;
}

.mega-item {
    display: flex;
    align-items: flex-start;
    text-decoration: none;
    color: var(--text-muted);
    padding: 8px;
    border-radius: 8px;
    transition: all 0.2s;
    flex-wrap: wrap;
}

.mega-item i {
    font-size: 1.2rem;
    width: 24px;
    margin-top: 3px;
    margin-right: 12px;
    transition: all 0.2s;
}

html[dir="rtl"] .mega-item i {
    margin-right: 0;
    margin-left: 12px;
}

.mega-item span {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-main);
    display: block;
}

.mega-item:hover {
    background: linear-gradient(90deg, rgba(79, 70, 229, 0.08) 0%, transparent 100%);
    transform: translateX(8px);
}

html[dir="rtl"] .mega-item:hover {
    transform: translateX(-8px);
    background: linear-gradient(-90deg, rgba(79, 70, 229, 0.08) 0%, transparent 100%);
}

.mega-item:hover i {
    transform: scale(1.1);
    opacity: 1 !important;
}

.mega-item:hover span {
    color: var(--primary);
}

.mega-promo {
    box-shadow: 0 10px 25px -5px rgba(79, 70, 229, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.transform-rotate-12 {
    transform: rotate(12deg);
}

/* Fix navbar relative position for mega menu centering */
.dropdown-mega {
    position: relative !important;
}

/* Ensure mega menu items don't have bracket effect of nav links */
.mega-menu-cyber .mega-item::before,
.mega-menu-cyber .mega-item::after {
    display: none !important;
}

.bg-alt {
    background-color: var(--bg-alt);
}

.card-custom {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.3s;
    box-shadow: var(--shadow-sm);
}

.card-custom:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

/* Theme Toggle */
.theme-switch-wrapper {
    display: flex;
    align-items: center;
}

.theme-switch {
    display: inline-block;
    height: 34px;
    position: relative;
    width: 60px;
}

.theme-switch input {
    display: none;
}

.slider {
    background-color: #ccc;
    bottom: 0;
    cursor: pointer;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    background-color: #fff;
    bottom: 4px;
    content: "";
    height: 26px;
    left: 4px;
    /* Default for LTR */
    position: absolute;
    transition: .4s;
    width: 26px;
    border-radius: 50%;
}

html[dir="rtl"] .slider:before {
    left: auto;
    right: 4px;
}

input:checked+.slider {
    background-color: var(--primary);
}

input:checked+.slider:before {
    transform: translateX(26px);
}

html[dir="rtl"] input:checked+.slider:before {
    transform: translateX(-26px);
}

html[dir="rtl"] input:checked+.slider:before {
    transform: translateX(-26px);
}

.slider-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    font-size: 14px;
    color: white;
}

.icon-sun {
    left: 8px;
}

.icon-moon {
    right: 8px;
}

footer {
    background: #0f172a;
    /* Always Dark Footer */
    color: white;
    padding: 80px 0 20px;
}

/* RTL Specific Adjustments */
html[dir="rtl"] .icon-sun {
    left: auto;
    right: 8px;
}

html[dir="rtl"] .icon-moon {
    right: auto;
    left: 8px;
}

html[dir="rtl"] input:checked+.slider:before {
    transform: translateX(-26px);
}

/* Navbar RTL overrides */
html[dir="rtl"] .navbar-nav {
    padding-right: 0;
}

html[dir="rtl"] .me-auto {
    margin-left: auto !important;
    margin-right: 0 !important;
}

html[dir="rtl"] .ms-auto {
    margin-right: auto !important;
    margin-left: 0 !important;
}

/* Footer Styles */
footer .hover-white:hover {
    color: white !important;
    transition: color 0.3s;
    padding-left: 5px;
}

html[dir="rtl"] footer .hover-white:hover {
    padding-left: 0;
    padding-right: 5px;
}

footer i.hover-white:hover {
    padding-left: 0;
    transform: scale(1.2);
    opacity: 1 !important;
}

footer .hover-white {
    transition: all 0.3s;
}

footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

footer .social-links .btn {
    border-color: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
}

footer .social-links .btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

footer .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

footer .form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary);
    color: white;
    box-shadow: none;
}

/* Sleek Switch */
.theme-switch.small-switch {
    width: 48px;
    height: 26px;
}

.slider.small-slider:before {
    height: 20px;
    width: 20px;
    bottom: 3px;
    left: 3px;
}

input:checked+.slider.small-slider:before {
    transform: translateX(22px);
}

html[dir="rtl"] input:checked+.slider.small-slider:before {
    transform: translateX(-22px);
}

.slider.small-slider .slider-icon {
    font-size: 11px;
    top: 50%;
}

.slider.small-slider .icon-sun {
    left: 6px;
}

.slider.small-slider .icon-moon {
    right: 6px;
}

html[dir="rtl"] .slider.small-slider .icon-sun {
    left: auto;
    right: 6px;
}

html[dir="rtl"] .slider.small-slider .icon-moon {
    right: auto;
    left: 6px;
}

/* Legendary Domain Search Section */
.domain-search-legendary {
    margin-top: -100px;
    position: relative;
    z-index: 990 !important;
    /* High enough to stay on top of hero but below navbar */
    overflow: visible !important;
}

.search-wrap-legendary {
    position: relative;
    padding: 2px;
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.4) 0%, rgba(236, 72, 153, 0.4) 100%);
}

.glass-search-panel {
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 5;
    overflow: visible !important;
    /* Changed to visible to fix clipping */
}

.search-glow {
    position: absolute;
    width: 200px;
    height: 200px;
    filter: blur(80px);
    border-radius: 50%;
    z-index: 1;
    opacity: 0.4;
}

.glow-1 {
    background: #4f46e5;
    top: -50px;
    left: -50px;
}

.glow-2 {
    background: #ec4899;
    bottom: -50px;
    right: -50px;
}

.search-input-group {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 6px;
    /* Reduced for tighter fit */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.search-input-group:focus-within {
    background: rgba(255, 255, 255, 0.08);
    border-color: #4f46e5;
    box-shadow: 0 0 30px rgba(79, 70, 229, 0.3);
}

.search-icon-main {
    position: absolute;
    left: 25px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.2rem;
}

html[dir="rtl"] .search-icon-main {
    left: auto;
    right: 25px;
}

.form-control-legendary {
    background: transparent !important;
    border: none !important;
    color: white !important;
    padding: 12px 15px 12px 55px !important;
    font-size: 1.1rem;
    width: 100%;
    outline: none !important;
    box-shadow: none !important;
}

/* Fix yellow/white background on autofill */
.form-control-legendary:-webkit-autofill,
.form-control-legendary:-webkit-autofill:hover,
.form-control-legendary:-webkit-autofill:focus {
    -webkit-text-fill-color: white !important;
    -webkit-box-shadow: 0 0 0px 1000px transparent inset !important;
    transition: background-color 5000s ease-in-out 0s;
}

html[dir="rtl"] .form-control-legendary {
    padding: 12px 55px 12px 15px !important;
}

.form-control-legendary:focus {
    outline: none !important;
    box-shadow: none !important;
}

.btn-legendary-search {
    background: linear-gradient(135deg, #4f46e5 0%, #ec4899 100%);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 10px 25px;
    font-weight: 700;
    white-space: nowrap;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(236, 72, 153, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-legendary-search:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(236, 72, 153, 0.5);
    background: linear-gradient(135deg, #ec4899 0%, #4f46e5 100%);
}

.ext-badge-legendary {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 6px 15px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    cursor: pointer !important;
    /* Ensure pointer */
    position: relative;
    z-index: 10;
}

.ext-badge-legendary:hover,
.ext-badge-legendary.active {
    background: rgba(79, 70, 229, 0.1);
    border-color: #4f46e5;
    transform: scale(1.05);
}

.ext-badge-legendary.active {
    box-shadow: 0 0 15px rgba(79, 70, 229, 0.4);
    background: rgba(79, 70, 229, 0.2);
}

.ext-badge-legendary.active .ext {
    color: #4f46e5 !important;
}

.ext-badge-legendary .ext {
    font-weight: 700;
    font-size: 0.9rem;
}

.ext-badge-legendary .price {
    font-size: 0.8rem;
    font-weight: 600;
}

@media (max-width: 991.98px) {
    .domain-search-legendary {
        margin-top: -60px;
    }

    .search-input-group {
        flex-direction: column;
        padding: 15px;
        gap: 15px;
        background: rgba(15, 23, 42, 0.4);
    }

    .form-control-legendary {
        padding: 0 !important;
        text-align: center;
    }

    .search-icon-main {
        position: relative;
        left: 0 !important;
        right: 0 !important;
        margin-bottom: 5px;
    }

    .btn-legendary-search {
        width: 100%;
        padding: 15px;
    }
}

/* Legendary Cyber Features Section */
.features-cyber {
    background: var(--bg-body);
    overflow: hidden;
    padding: 60px 0;
    /* Tightened padding */
}

.badge-cyber-outline {
    display: inline-flex;
    align-items: center;
    padding: 6px 15px;
    border-radius: 50px;
    border: 1px solid rgba(79, 70, 229, 0.3);
    color: #4f46e5;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    background: rgba(79, 70, 229, 0.05);
}

.feature-card-cyber {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 40px 30px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.feature-card-cyber:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.feature-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(600px circle at var(--x, 0) var(--y, 0), rgba(79, 70, 229, 0.15), transparent 40%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}

.feature-card-cyber:hover .feature-glow {
    opacity: 1;
}

.feature-icon-wrap {
    position: relative;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hexagon-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(79, 70, 229, 0.1);
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    transition: all 0.3s;
}

.hexagon-bg.bg-pink {
    background: rgba(236, 72, 153, 0.1);
}

.hexagon-bg.bg-cyan {
    background: rgba(34, 211, 238, 0.1);
}

.feature-card-cyber:hover .hexagon-bg {
    transform: rotate(30deg) scale(1.1);
}

.feature-icon {
    font-size: 1.5rem;
    color: #4f46e5;
    position: relative;
    z-index: 2;
}

.feature-icon.icon-pink {
    color: #ec4899;
}

.feature-icon.icon-cyan {
    color: #22d3ee;
}

.feature-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #4f46e5, transparent);
    transition: width 0.4s;
}

.feature-line.line-pink {
    background: linear-gradient(90deg, #ec4899, transparent);
}

.feature-line.line-cyan {
    background: linear-gradient(90deg, #22d3ee, transparent);
}

.feature-card-cyber:hover .feature-line {
    width: 100%;
}

.opacity-60 {
    opacity: 0.6;
}

@media (max-width: 991.98px) {
    .feature-card-cyber {
        padding: 30px 20px;
    }
}

/* Legendary About Us Section */
/* Legendary About Us Section - FIXED */
.about-cyber {
    background: #0f172a !important;
    /* Force Dark Navy Background */
    position: relative;
    z-index: 1;
    overflow: hidden;
    color: #fff;
    padding: 60px 0;
    /* Reduced padding as requested */
}

/* Core Icon/Favicon Styling */
.core-icon-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    z-index: 20;
    position: relative;
    /* Optimized Shadow: Lower blur radius (5px) + Box Shadow fallback */
    filter: drop-shadow(0 0 5px rgba(56, 189, 248, 0.6));
    animation: pulseScale 3s ease-in-out infinite;
    will-change: transform;
}

/* Optimized Pulse: Scale + Subtle Opacity */
@keyframes pulseScale {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.9;
    }

    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}

.cyber-core-visual {
    position: relative;
    width: 450px;
    height: 450px;
    max-width: 100%;
    /* Ensure it doesn't overflow */
    aspect-ratio: 1 / 1;
    /* Force square shape to keep circles circular */
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Static Glow (High Performance) */
.cyber-core-visual::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.2) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.core-outer-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px dashed #22d3ee;
    /* Solid color, no rgba/shadow for perf */
    opacity: 0.5;
    border-radius: 50%;
    /* NO SHADOWS on moving elements */
    animation: spin 30s linear infinite;
    /* Slower spin for less distraction */
    will-change: transform;
    /* Hint to browser */
}

.core-inner-ring {
    position: absolute;
    width: 80%;
    height: 80%;
    border: 2px solid #ec4899;
    opacity: 0.5;
    border-top-color: transparent;
    border-bottom-color: transparent;
    border-radius: 50%;
    /* NO SHADOWS on moving elements */
    animation: spinReverse 20s linear infinite;
    will-change: transform;
    /* Hint to browser */
}

/* Deprecated/Unused pulseGlow with filters */
@keyframes pulseGlow {

    0%,
    100% {
        opacity: 0.8;
    }

    50% {
        opacity: 1;
    }
}

.about-visual-main {
    position: relative;
    width: 450px;
    height: 450px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
}

@media (max-width: 767.98px) {

    .cyber-core-visual,
    .about-visual-main {
        width: 300px;
        height: 300px;
    }
}

.server-core {
    position: relative;
    width: 150px;
    height: 150px;
    display: none;
    /* Hide old core styles */

}

.core-rings .ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid rgba(79, 70, 229, 0.2);
    border-radius: 50%;
    animation: rotateRing 10s linear infinite;
}

.core-rings .ring:nth-child(1) {
    width: 250px;
    height: 250px;
    border-top-color: #4f46e5;
}

.core-rings .ring:nth-child(2) {
    width: 310px;
    height: 310px;
    border-bottom-color: #ec4899;
    animation-duration: 15s;
    animation-direction: reverse;
}

.core-rings .ring:nth-child(3) {
    width: 380px;
    height: 380px;
    border-left-color: #22d3ee;
    animation-duration: 20s;
}

@keyframes rotateRing {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.core-icon {
    font-size: 3rem;
    color: #4f46e5;
    filter: drop-shadow(0 0 15px rgba(79, 70, 229, 0.5));
}

.data-node {
    position: absolute;
    width: auto;
    height: auto;
    padding: 10px 18px;
    background: #0f172a;
    /* Solid background instead of glass/blur */
    border: 1px solid rgba(79, 70, 229, 0.4);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    /* Simpler shadow */
    animation: floatNode 4s ease-in-out infinite;
    z-index: 10;
    min-width: 100px;
    will-change: transform;
}

/* Internal Spans */
.node-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #94a3b8;
    margin-bottom: 2px;
    font-weight: 600;
}

.node-val {
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    /* Removed expensive text-shadow */
}

.node-1 {
    top: 10%;
    right: 10%;
    animation-delay: 0s;
    color: #4f46e5;
}

.node-2 {
    bottom: 15%;
    left: 0;
    animation-delay: 1s;
    color: #ec4899;
}

.node-3 {
    bottom: 5%;
    right: 20%;
    animation-delay: 2s;
    color: #22d3ee;
}

@keyframes floatNode {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.exp-card-float {
    position: absolute;
    bottom: 0;
    right: 15%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    z-index: 15;
    animation: floatNode 6s ease-in-out infinite;
}

.exp-num {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.exp-text {
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 5px;
    opacity: 0.8;
}

.icon-sm-cyber {
    width: 40px;
    height: 40px;
    background: rgba(79, 70, 229, 0.1);
    color: #4f46e5;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.icon-sm-cyber.icon-pink {
    background: rgba(236, 72, 153, 0.1);
    color: #ec4899;
}

.feature-item-simple {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.btn-cyber-primary {
    display: inline-flex;
    align-items: center;
    padding: 12px 30px;
    background: var(--gradient);
    color: white !important;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.3);
}

.btn-cyber-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 30px rgba(79, 70, 229, 0.4);
}

.trust-badge-mini {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 15px;
}

.avatars-group {
    display: flex;
    align-items: center;
}

.avatars-group img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--bg-body);
    margin-left: -10px;
}

.avatars-group img:first-child {
    margin-left: 0;
}

html[dir="rtl"] .avatars-group img {
    margin-left: 0;
    margin-right: -10px;
}

html[dir="rtl"] .avatars-group img:first-child {
    margin-right: 0;
}

/* Cyber Orb Services - Premium V4 */
.services-orb-wrap {
    padding-top: 50px;
}

.service-orb-card {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 40px;
    padding: 40px 30px;
    height: 100%;
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    backdrop-filter: blur(25px);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

[data-theme="light"] .service-orb-card {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.05);
}

.service-orb-card:hover {
    transform: translateY(-15px);
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--primary);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.3);
}

/* The Portal / Orb Container */
.orb-portal {
    position: relative;
    width: 200px;
    height: 200px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.orb-image-wrap {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    z-index: 2;
    border: 4px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 30px rgba(79, 70, 229, 0.2);
}

.orb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.service-orb-card:hover .orb-img {
    transform: scale(1.15) rotate(5deg);
}

/* Glowing Rotating Ring */
.orb-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px dashed var(--primary);
    border-radius: 50%;
    opacity: 0.3;
    animation: rotateOrb 15s linear infinite;
}

.orb-ring-2 {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 1px solid var(--secondary);
    border-radius: 50%;
    opacity: 0.1;
    animation: rotateOrb 20s linear infinite reverse;
}

@keyframes rotateOrb {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.orb-title {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 15px;
    color: var(--text-main);
    transition: color 0.3s;
}

.service-orb-card:hover .orb-title {
    color: var(--primary);
}

.orb-desc {
    font-size: 0.95rem;
    line-height: 1.7;
    opacity: 0.6;
    margin-bottom: 25px;
    padding: 0 10px;
}

.orb-action-btn {
    margin-top: auto;
    background: var(--gradient);
    color: white;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.3);
}

.orb-action-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(79, 70, 229, 0.5);
    color: white;
}

/* Light Mode specific orbs */
[data-theme="light"] .orb-image-wrap {
    border-color: rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Cyber Neon Stream HUD Metrics */
.counters-neon-hud {
    background: #0c0d19;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(79, 70, 229, 0.2);
    border-bottom: 1px solid rgba(79, 70, 229, 0.2);
}

/* Background Scanning Lines */
.counters-neon-hud::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, transparent 0%, rgba(79, 70, 229, 0.05) 50%, transparent 100%);
    background-size: 100% 4px;
    animation: scanLines 10s linear infinite;
    pointer-events: none;
}

@keyframes scanLines {
    from {
        background-position: 0 0;
    }

    to {
        background-position: 0 100%;
    }
}

.hud-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hud-item {
    flex: 1;
    text-align: center;
    position: relative;
    padding: 20px 0;
}

/* Neon Vertical Dividers */
.hud-item:not(:last-child)::after {
    content: '';
    position: absolute;
    inset-inline-end: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background: linear-gradient(to bottom, transparent, var(--primary), transparent);
    box-shadow: 0 0 15px var(--primary);
}

.hud-value-wrap {
    position: relative;
    display: inline-block;
}

.hud-value {
    font-size: 4.5rem;
    font-weight: 200;
    color: #fff;
    line-height: 1;
    letter-spacing: -2px;
    text-shadow: 0 0 20px rgba(79, 70, 229, 0.5);
    margin-bottom: 5px;
}

.hud-suffix {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    vertical-align: super;
}

/* Hologram Reflection */
.hud-reflection {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    font-size: 4.5rem;
    font-weight: 200;
    color: var(--primary);
    line-height: 1;
    letter-spacing: -2px;
    opacity: 0.1;
    transform: scaleY(-0.6) translateY(-10px);
    filter: blur(4px);
    pointer-events: none;
}

.hud-label {
    margin-top: 15px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 300;
}

.hud-icon-mini {
    display: block;
    font-size: 2.8rem;
    color: var(--primary);
    margin-bottom: 25px;
    opacity: 0.9;
    filter: drop-shadow(0 0 10px rgba(79, 70, 229, 0.4));
}

/* Cyber Project Showcase Slider */
.projects-cyber {
    padding: 100px 0;
    background: var(--bg-main);
    position: relative;
}

.projects-slider {
    padding: 40px 0 60px;
}

.project-card-cyber {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
}

.project-card-cyber:hover {
    transform: scale(1.02);
    border-color: var(--primary);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.project-img-box {
    position: relative;
    height: 350px;
    overflow: hidden;
}

.project-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s ease;
}

.project-card-cyber:hover .project-img-box img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 40%, rgba(10, 11, 20, 0.9) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    transition: all 0.5s;
}

.project-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--gradient);
    color: #fff;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(79, 70, 229, 0.4);
}

.project-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 5px;
}

.project-meta {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.btn-project-view {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #fff;
    transition: all 0.3s;
    text-decoration: none;
}

.project-card-cyber:hover .btn-project-view {
    background: var(--primary);
    border-color: var(--primary);
    transform: rotate(45deg);
    box-shadow: 0 0 20px var(--primary);
}

/* Slider Controls */
.projects-cyber .swiper-pagination {
    bottom: 10px !important;
}

.projects-cyber .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.4);
    opacity: 1;
    width: 10px;
    height: 10px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin: 0 6px !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.projects-cyber .swiper-pagination-bullet-active {
    background: var(--primary);
    width: 35px;
    border-radius: 5px;
    box-shadow: 0 0 15px var(--primary);
    border-color: var(--primary);
}

.projects-cyber .swiper-button-next,
.projects-cyber .swiper-button-prev {
    color: var(--primary);
    background: rgba(10, 11, 20, 0.7);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(79, 70, 229, 0.3);
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s;
}

.projects-cyber .swiper-button-next:hover,
.projects-cyber .swiper-button-prev:hover {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 0 30px var(--primary);
}

.projects-cyber .swiper-button-next::after,
.projects-cyber .swiper-button-prev::after {
    font-size: 1.2rem;
    font-weight: bold;
}

/* Process Pipeline Section (How We Work) - High Res Background */
.process-cyber {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    background: #0a0b14;
    /* Original Dark Base */
}

/* Background Image Layer */
.process-cyber::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../img/projects/process_bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.4;
    /* Adjusted for visibility */
    z-index: 1;
}

/* Overlay Layer */
.process-cyber::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            #0a0b14 0%,
            transparent 15%,
            transparent 85%,
            #0a0b14 100%);
    z-index: 2;
}

.process-cyber .container-fluid {
    position: relative;
    z-index: 2;
}

.process-pipeline {
    position: relative;
    padding: 60px 0;
}

/* Central Connecting Line */
.process-pipeline::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 5%;
    width: 90%;
    height: 2px;
    background: rgba(79, 70, 229, 0.1);
    z-index: 1;
}

/* Animated Data Pulse */
.process-pipeline::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 5%;
    width: 0;
    height: 2px;
    background: var(--gradient);
    box-shadow: 0 0 15px var(--primary);
    z-index: 2;
    animation: flowPulse 8s linear infinite;
}

@keyframes flowPulse {
    0% {
        width: 0;
        left: 5%;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        width: 90%;
        left: 5%;
        opacity: 0;
    }
}

.process-node {
    position: relative;
    z-index: 3;
    background:
        radial-gradient(circle at top right, rgba(79, 70, 229, 0.1), transparent 150px),
        rgba(10, 11, 20, 0.9);
    border: 1px solid rgba(79, 70, 229, 0.2);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    backdrop-filter: blur(15px);
}

/* Internal Tech Grid */
.process-node::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.5;
    z-index: -1;
    border-radius: inherit;
}

/* Tech Cut Corners */
.process-node::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, transparent 50%, rgba(79, 70, 229, 0.3) 50%);
    transition: all 0.5s;
    border-top-right-radius: inherit;
}

.process-node:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: var(--primary);
    background:
        radial-gradient(circle at top right, rgba(79, 70, 229, 0.2), transparent 200px),
        rgba(15, 16, 30, 0.95);
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(79, 70, 229, 0.15);
}

.process-node:hover::after {
    background: linear-gradient(135deg, transparent 50%, var(--primary) 50%);
    width: 40px;
    height: 40px;
    opacity: 1;
}

.step-tracer {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: #0a0b14;
    border: 1px solid var(--primary);
    color: var(--primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 0.8rem;
    box-shadow: 0 0 10px var(--primary);
}

.process-icon-wrap {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 20px;
    transition: all 0.4s;
    display: inline-block;
}

.process-node:hover .process-icon-wrap {
    transform: scale(1.2) rotate(10deg);
    filter: drop-shadow(0 0 15px var(--primary));
}

.process-node h4 {
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
}

.process-node p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Branching connectors for mobile */
@media (max-width: 991px) {

    .process-pipeline::before,
    .process-pipeline::after {
        display: none;
    }

    .process-node {
        margin-bottom: 40px;
    }
}

/* Cyber Perspective Testimonials - Theme Adaptive */
.testimonials-cyber {
    padding: 120px 0;
    background: var(--bg-main);
    /* Adaptive background */
    position: relative;
    overflow: hidden;
    transition: background 0.5s ease;
}

.testimonials-slider {
    padding: 100px 0;
    overflow: visible !important;
}

.testimonials-slider .swiper-slide {
    width: 600px;
    max-width: 85vw;
    transition: all 0.5s ease;
}

.testimonial-card-cyber {
    background: var(--card-bg);
    /* Use theme variable */
    border: 1px solid var(--border-color);
    border-radius: 30px;
    padding: 60px 40px;
    backdrop-filter: blur(25px);
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.5s ease;
}

/* Light mode overrides for text */
[data-theme="light"] .testimonial-text {
    color: #1a1b26 !important;
}

[data-theme="light"] .user-info h5 {
    color: #1a1b26;
}

[data-theme="light"] .testimonial-card-cyber {
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 20px 40px rgba(79, 70, 229, 0.08);
}

.quote-icon-cyber {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    box-shadow: 0 0 20px var(--primary);
    z-index: 10;
}

.testimonial-text {
    font-size: 1.35rem;
    font-weight: 500;
    color: var(--text-main);
    line-height: 1.7;
    margin-bottom: 40px;
    position: relative;
    z-index: 5;
    transition: color 0.5s ease;
}

.user-identity-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.client-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    position: relative;
    border-radius: 50%;
    /* Fallback */
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    /* Hexagon */
    background: #1e293b;
    padding: 3px;
    /* Inner border spacing */
    box-shadow: 0 0 20px rgba(79, 70, 229, 0.4);
    transition: transform 0.3s ease;
}

.client-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.testimonial-card-cyber:hover .client-avatar {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 30px rgba(236, 72, 153, 0.6);
    /* Pink Glow on Hover */
}

.user-avatar-cyber img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-info h5 {
    color: var(--text-main);
    font-weight: 700;
    margin-bottom: 0;
    font-size: 1.1rem;
    transition: color 0.5s ease;
}

.user-info span {
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* Pagination Fix */
.testimonials-cyber .swiper-pagination {
    bottom: 20px !important;
}

.testimonials-cyber .swiper-pagination-bullet {
    background: var(--text-main);
    opacity: 0.2;
    width: 30px;
    height: 3px;
    border-radius: 0;
}

.testimonials-cyber .swiper-pagination-bullet-active {
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary);
}

/* Scanning Beam Animation */
.hud-beam {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(79, 70, 229, 0.1), transparent);
    transform: skewX(-20deg);
    animation: beamSweep 6s infinite;
    pointer-events: none;
}

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

    50% {
        left: 150%;
    }

    100% {
        left: 150%;
    }
}

@media (max-width: 991.98px) {
    .hud-container {
        flex-direction: column;
    }

    .hud-item:not(:last-child)::after {
        right: auto;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 60%;
        height: 1px;
        background: linear-gradient(to right, transparent, var(--primary), transparent);
    }

    .hud-value {
        font-size: 3.5rem;
    }
}

/* Cyber Video Modal & Thumbnail */
.cyber-video-container {
    max-width: 800px;
    margin: 0 auto 60px;
    position: relative;
    border-radius: 40px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 0 50px rgba(79, 70, 229, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: var(--bg-card);
}

.cyber-video-thumb-wrap {
    position: relative;
    height: 450px;
    overflow: hidden;
}

.cyber-video-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.2) brightness(0.9);
    transition: transform 1.2s cubic-bezier(0.23, 1, 0.32, 1);
}

.cyber-video-container:hover .cyber-video-thumb {
    transform: scale(1.1);
}

.cyber-video-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(10, 11, 20, 0.1) 0%, rgba(10, 11, 20, 0.7) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.play-btn-cyber {
    width: 100px;
    height: 100px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2.5rem;
    position: relative;
    z-index: 5;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 0 30px var(--primary);
}

.play-btn-cyber i {
    margin-left: 10px;
}

.play-btn-cyber::before {
    content: '';
    position: absolute;
    inset: -15px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    opacity: 0.5;
    animation: playPulse 2s infinite;
}

@keyframes playPulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

.cyber-video-container:hover .play-btn-cyber {
    transform: scale(1.15);
    background: var(--secondary);
    box-shadow: 0 0 60px var(--secondary);
}

.cyber-video-container:hover .play-btn-cyber::before {
    border-color: var(--secondary);
}

.video-cta-text {
    font-size: 0.9rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 5px;
    font-weight: 700;
    opacity: 0.8;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

/* Video Modal Styling */
.cyber-video-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(6, 7, 13, 0.96);
    backdrop-filter: blur(25px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
}

.cyber-video-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content-wrap {
    width: 100%;
    max-width: 1200px;
    position: relative;
    transform: translateY(50px);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.cyber-video-modal.active .modal-content-wrap {
    transform: translateY(0);
}

.video-frame-wrap {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    border-radius: 30px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 100px rgba(0, 0, 0, 0.9);
    background: #000;
}

.video-frame-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.close-modal-cyber {
    position: absolute;
    top: -60px;
    right: 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 3rem;
    cursor: pointer;
    transition: all 0.4s;
    line-height: 1;
}

.close-modal-cyber:hover {
    color: #fff;
    transform: rotate(180deg);
}

@media (max-width: 768px) {
    .cyber-video-thumb-wrap {
        height: 300px;
    }

    .play-btn-cyber {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }

    .video-cta-text {
        font-size: 0.7rem;
        letter-spacing: 3px;
    }
}

/* Cyber Pricing Section - Beyond Imagination */
.pricing-cyber {
    padding: 120px 0;
    background: var(--bg-alt);
    position: relative;
    overflow: hidden;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    padding: 40px 0;
}

.pricing-card-cyber {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 40px;
    padding: 50px 40px;
    position: relative;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.pricing-card-cyber::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(79, 70, 229, 0.1), transparent 200px);
    opacity: 0.5;
    z-index: 1;
}

.pricing-card-cyber.featured {
    border-color: var(--primary);
    transform: scale(1.05);
    z-index: 5;
    box-shadow: 0 30px 60px rgba(79, 70, 229, 0.15);
}

.pricing-card-cyber.featured::after {
    content: 'BEST VALUE';
    position: absolute;
    top: 30px;
    right: -40px;
    background: var(--gradient);
    color: #fff;
    padding: 8px 50px;
    font-size: 0.75rem;
    font-weight: 800;
    transform: rotate(45deg);
    box-shadow: 0 5px 15px rgba(236, 72, 153, 0.3);
}

.plan-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.plan-icon-cyber {
    font-size: 3rem;
    margin-bottom: 20px;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 10px rgba(79, 70, 229, 0.3));
}

.plan-name-cyber {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.plan-price-cyber {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
}

.price-currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-muted);
}

.price-value {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--text-main);
    letter-spacing: -2px;
}

.price-period {
    font-size: 1rem;
    color: var(--text-muted);
}

.plan-features-cyber {
    list-style: none;
    padding: 0;
    margin: 40px 0;
    flex-grow: 1;
    position: relative;
    z-index: 2;
}

.plan-features-cyber li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(128, 128, 128, 0.1);
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    font-weight: 500;
}

.plan-features-cyber li i {
    color: #10b981;
    font-size: 1.1rem;
}

.plan-features-cyber li.muted {
    opacity: 0.5;
    text-decoration: line-through;
}

.plan-features-cyber li.muted i {
    color: #ef4444;
}

.pricing-btn-cyber {
    width: 100%;
    padding: 18px;
    border-radius: 20px;
    border: none;
    background: var(--bg-alt);
    color: var(--text-main);
    font-weight: 800;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.4s;
    position: relative;
    z-index: 2;
    border: 1px solid var(--border-color);
}

.featured .pricing-btn-cyber {
    background: var(--gradient);
    color: #fff;
    border: none;
    box-shadow: 0 10px 25px rgba(79, 70, 229, 0.3);
}

.pricing-card-cyber:hover {
    transform: translateY(-20px);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.pricing-card-cyber:hover .pricing-btn-cyber {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(79, 70, 229, 0.3);
}

/* Background Animated Particles for Pricing */
.pricing-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.particle {
    position: absolute;
    background: var(--primary);
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.05;
    animation: floatParticle 15s infinite alternate ease-in-out;
}

@keyframes floatParticle {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(100px, 100px);
    }
}

[data-theme="dark"] .pricing-card-cyber:hover {
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
}

@media (max-width: 991px) {
    .pricing-card-cyber.featured {
        transform: scale(1);
    }
}

/* Pricing V2 - Ultra Compact & Status Oriented */
.pricing-card-cyber-v2 {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    padding: 22px 18px;
    position: relative;
    transition: all 0.8s cubic-bezier(0.2, 1, 0.2, 1);
    display: flex;
    flex-direction: column;
    min-height: 580px;
    overflow: hidden;
    backdrop-filter: blur(20px);
}

.pricing-card-cyber-v2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient);
    opacity: 0.3;
}

/* HUD Corner Accents */
.pricing-card-cyber-v2::after {
    content: '';
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border-bottom: 2px solid var(--primary);
    border-right: 2px solid var(--primary);
    opacity: 0.2;
    transition: all 0.5s;
}

.pricing-card-cyber-v2:hover::after {
    opacity: 1;
    width: 60px;
    height: 60px;
}

.pricing-card-cyber-v2.featured {
    border-color: var(--primary);
    box-shadow: 0 30px 70px rgba(79, 70, 229, 0.2);
    transform: translateY(-10px);
    /* Subtle lift */
}

.plan-icon-wrap-v2 {
    width: 60px;
    height: 60px;
    background: rgba(79, 70, 229, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
    color: var(--primary);
    transition: all 0.5s;
}

.price-box-v2 {
    margin: 20px 0;
    padding: 20px 0;
    border-top: 1px solid rgba(128, 128, 128, 0.1);
    border-bottom: 1px solid rgba(128, 128, 128, 0.1);
    text-align: center;
}

.price-main-v2 {
    font-size: 3.5rem;
    /* Slightly smaller for better fit */
    font-weight: 900;
    color: var(--text-main);
    line-height: 1;
    letter-spacing: -2px;
}

.price-main-v2 span {
    font-size: 1.2rem;
    color: var(--text-muted);
}

.tech-spec-title {
    font-size: 0.7rem;
    color: var(--primary);
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tech-spec-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, rgba(79, 70, 229, 0.3), transparent);
}

.features-list-v2 {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
}

.features-list-v2 li {
    padding: 10px 0;
    /* Compact spacing */
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    color: var(--text-main);
    transition: all 0.3s;
}

/* Gradient Icons Implementation */
.features-list-v2 li i {
    font-size: 1.1rem;
    width: 20px;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    filter: drop-shadow(0 0 5px rgba(79, 70, 229, 0.2));
}

/* Support for binary status icons */
.features-list-v2 li i.fa-check-circle {
    background: linear-gradient(135deg, #a855f7 0%, #7e22ce 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.features-list-v2 li i.fa-times-circle {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.4;
}

.features-list-v2 li:hover {
    padding-left: 5px;
    color: var(--primary);
}

.btn-purchase-v2 {
    margin-top: 30px;
    padding: 15px;
    border-radius: 20px;
    font-weight: 900;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.5s;
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--text-main);
    position: relative;
    z-index: 5;
}

.featured .btn-purchase-v2 {
    background: var(--gradient);
    color: #fff;
    border: none;
    box-shadow: 0 10px 25px rgba(236, 72, 153, 0.3);
}

.btn-purchase-v2:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(79, 70, 229, 0.4);
}

/* Scanning Line Effect on Cards */
.scan-line-v2 {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(79, 70, 229, 0.5);
    box-shadow: 0 0 10px var(--primary);
    opacity: 0;
    z-index: 10;
}

.pricing-card-cyber-v2:hover .scan-line-v2 {
    animation: scanMove 3s linear infinite;
    opacity: 0.3;
}

@keyframes scanMove {
    0% {
        top: 0;
    }

    100% {
        top: 100%;
    }
}

@media (max-width: 768px) {
    .pricing-card-cyber-v2 {
        min-height: auto;
        padding: 30px 20px;
    }
}

/* --- MIGRATED INDEX STYLES --- */

/* Custom Page Styles */
.hero {
    padding: 160px 0 100px;
    background: var(--bg-body);
}

.hero-bg,
.hero-bg-2 {
    opacity: 0.6;
    /* Softer background for light mode */
}

[data-theme="dark"] .hero-bg,
[data-theme="dark"] .hero-bg-2 {
    opacity: 0.5;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Optimization for pulse animations */
.core-icon-img,
.server-img-glitch {
    will-change: filter;
}

.icon-box {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card-custom:hover .icon-box {
    transform: scale(1.1) rotate(5deg);
}

.hover-scale {
    transition: transform 0.3s;
}

.hover-scale:hover {
    transform: translateY(-5px);
}

/* Floating Card Override */
.floating-card {
    border-color: var(--border-color) !important;
    background: var(--bg-card);
}

/* --- HOLOGRAPHIC THEME CORE --- */
.hero-holographic {
    height: 100vh;
    max-height: 900px;
    background: #000;
    display: flex;
    align-items: center;
    perspective: 1000px;
}

/* Aurora Backgrounds */
.aurora-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    filter: blur(80px);
    opacity: 0.6;
}

.aurora-blob {
    position: absolute;
    border-radius: 50%;
    animation: floatAurora 10s infinite alternate;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: #a855f7;
    /* Purple */
    animation-delay: 0s;
}

.blob-2 {
    bottom: -10%;
    right: -10%;
    width: 40vw;
    height: 40vw;
    background: #c026d3;
    animation-delay: -5s;
}

.blob-3 {
    top: 40%;
    left: 40%;
    width: 30vw;
    height: 30vw;
    background: #0ea5e9;
    /* Sky Blue */
    animation-delay: -2s;
    opacity: 0.4;
}

@keyframes floatAurora {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(50px, 50px) scale(1.1);
    }
}

/* Cyber Grid */
.cyber-grid {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
}

/* SIDE HUD DECORATION */
.side-hud {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 60px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 40px 0;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
}

.left-hud {
    left: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    border-left: none;
}

.right-hud {
    right: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    border-right: none;
}

.v-line {
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(34, 211, 238, 0.5), transparent);
    height: 100px;
    flex-grow: 1;
    opacity: 0.5;
}

.vertical-text {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    font-size: 0.75rem;
    white-space: nowrap;
    font-family: 'Outfit', 'Cairo', sans-serif !important;
}

html[lang="ar"] .vertical-text,
html[lang="ar"] .badge-hud {
    font-family: 'Cairo', sans-serif !important;
}

.hud-icon {
    color: rgba(255, 255, 255, 0.4);
    font-size: 1.2rem;
    transition: color 0.3s;
    padding: 5px;
}

.hud-icon:hover {
    color: #22d3ee;
}

.hex-loader {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(34, 211, 238, 0.5);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    animation: spin 3s linear infinite;
    margin-top: 20px;
}

/* Glass Card System */
.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform-style: preserve-3d;
}

/* Typography & Effects */
.text-transparent-stroke {
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.5);
    color: transparent;
    font-weight: 300;
}

.text-blue-200 {
    color: #bfdbfe;
}

.text-cyan-glow {
    color: #22d3ee;
    text-shadow: 0 0 20px #22d3ee;
}

.slide-backdrop-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20vw;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.02);
    z-index: 0;
    pointer-events: none;
    white-space: nowrap;
}

/* Neon Buttons */
.btn-neon {
    background: transparent;
    color: #fff;
    border: 1px solid #4f46e5;
    box-shadow: 0 0 10px rgba(79, 70, 229, 0.5), inset 0 0 10px rgba(79, 70, 229, 0.2);
    padding: 12px 35px;
    border-radius: 4px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s;
}

.btn-neon:hover {
    background: #4f46e5;
    box-shadow: 0 0 20px rgba(79, 70, 229, 0.8);
}

.btn-neon-red {
    border-color: #ef4444;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.5), inset 0 0 10px rgba(239, 68, 68, 0.2);
    color: white;
    padding: 12px 35px;
    border-radius: 4px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.btn-neon-red:hover {
    background: #ef4444;
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.8);
    color: white;
}

.btn-neon-blue {
    border-color: #06b6d4;
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.5), inset 0 0 10px rgba(6, 182, 212, 0.2);
    color: white;
    padding: 12px 35px;
    border-radius: 4px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.btn-neon-blue:hover {
    background: #06b6d4;
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.8);
    color: white;
}


/* HUD Elements */
.badge-hud {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    color: #4f46e5;
    font-size: 0.8rem;
}

.badge-hud-danger {
    color: #ef4444;
}

.badge-hud-info {
    color: #06b6d4;
}

.hud-dot {
    width: 8px;
    height: 8px;
    background: currentColor;
    border-radius: 50%;
    box-shadow: 0 0 10px currentColor;
    animation: blink 1s infinite;
}

/* 3D Visuals */
.holo-content {
    position: relative;
    animation: float 3s infinite ease-in-out;
}

.scanning-beam {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: rgba(34, 211, 238, 0.8);
    box-shadow: 0 0 15px rgba(34, 211, 238, 0.8);
    animation: scan 2s infinite linear;
}

@keyframes scan {
    0% {
        top: 0;
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        top: 100%;
        opacity: 0;
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Shield Scanner */
.shield-scanner {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ef4444;
}

.shield-circle {
    position: absolute;
    inset: -20px;
    border: 2px solid rgba(239, 68, 68, 0.3);
    border-radius: 50%;
    border-top-color: #ef4444;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Stat Floats */
.stat-float-1,
.stat-float-2 {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 15px 25px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    transform: rotate(-5deg);
    top: 20%;
    right: 10%;
}

.stat-float-2 {
    top: auto;
    bottom: 10%;
    left: 10%;
    transform: rotate(5deg);
}

.swiper-pagination-bullet {
    background: white;
    opacity: 0.3;
}

.swiper-pagination-bullet-active {
    background: white;
    opacity: 1;
}

.fa-spin-slow {
    animation: spin 10s linear infinite;
}

/* RTL Support */
html[dir="rtl"] .left-hud {
    left: auto;
    right: 0;
    border-right: none;
    border-left: 1px solid rgba(255, 255, 255, 0.05);
}

html[dir="rtl"] .right-hud {
    right: auto;
    left: 0;
    border-left: none;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

html[dir="rtl"] .stat-float-1 {
    right: auto;
    left: 10%;
    transform: rotate(5deg);
}

html[dir="rtl"] .stat-float-2 {
    left: auto;
    right: 10%;
    transform: rotate(-5deg);
}

/* --- LEGENDARY CYBER BLOG --- */
.blog-cyber {
    position: relative;
    padding-bottom: 120px;
    /* Extra space before footer */
}

.blog-card-cyber {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
}

.blog-card-cyber:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px -10px rgba(168, 85, 247, 0.2);
}

.blog-img-wrap {
    position: relative;
    overflow: hidden;
    height: 240px;
}

.blog-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-card-cyber:hover .blog-img-wrap img {
    transform: scale(1.1);
}

.blog-overlay-cyber {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 2;
}

.blog-date-badge {
    background: var(--primary);
    color: #fff;
    padding: 5px 15px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.blog-content-cyber {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 0.8rem;
    color: #94a3b8;
}

.meta-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 1.5px;
}

.tag-security {
    color: #f472b6;
}

.tag-network {
    color: #a78bfa;
}

.blog-title {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.3;
}

.blog-title a {
    color: var(--text-main);
    text-decoration: none;
    transition: color 0.3s;
}

.blog-card-cyber:hover .blog-title a {
    color: var(--primary);
}

.blog-excerpt {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}

.btn-link-cyber {
    color: var(--primary);
    text-decoration: none;
    font-weight: 800;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.btn-link-cyber:hover {
    color: var(--secondary);
    gap: 12px;
}

.btn-link-cyber:hover i {
    transform: translateX(5px);
}

/* RTL Support */
html[dir="rtl"] .btn-link-cyber i {
    margin-left: 0;
    margin-right: 8px;
    transform: rotate(180deg);
}

html[dir="rtl"] .btn-link-cyber:hover i {
    transform: rotate(180deg) translateX(5px);
}

html[dir="rtl"] .blog-title a {
    background-position: right bottom;
}

/* --- TECH MODULE BLOG CARDS --- */
.blog-cyber .row {
    --gap: 30px;
}

.blog-card-cyber {
    position: relative;
    background: #0f172a;
    /* Deep Navy base */
    border: 1px solid #1e293b;
    border-radius: 4px;
    /* Sharper corners */
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    clip-path: polygon(0 0,
            100% 0,
            100% calc(100% - 20px),
            calc(100% - 20px) 100%,
            0 100%);
    /* Tech cut corner */
}

/* Glowing Border Effect (Pseudo-element) */
.blog-card-cyber::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #4f46e5, transparent);
    opacity: 0.5;
    transition: opacity 0.3s;
}

.blog-card-cyber:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px -10px rgba(79, 70, 229, 0.4);
    border-color: #4f46e5;
}

.blog-card-cyber:hover::before {
    opacity: 1;
    background: linear-gradient(90deg, transparent, #22d3ee, #4f46e5, transparent);
}

.blog-img-wrap {
    position: relative;
    height: 220px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    overflow: hidden;
    border-bottom: 1px solid #1e293b;
}

.blog-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    filter: grayscale(30%);
    /* Tech feel */
    transition: all 0.5s ease;
}

.blog-card-cyber:hover .blog-img-wrap img {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* Tech Overlay Grid on Image */
.blog-img-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, #4f46e5 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.1;
    z-index: 1;
}

.blog-overlay-cyber {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    z-index: 2;
    background: linear-gradient(to top, rgba(15, 23, 42, 1), transparent);
}

.blog-date-badge {
    display: inline-block;
    background: rgba(79, 70, 229, 0.2);
    border: 1px solid rgba(79, 70, 229, 0.4);
    color: #a5b4fc;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    clip-path: polygon(0 0, 100% 0, 95% 100%, 0% 100%);
}

.blog-content-cyber {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Decorative Tech Line */
.blog-content-cyber::after {
    content: '';
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 20px;
    border-right: 2px solid #334155;
    border-bottom: 2px solid #334155;
    opacity: 0.5;
}

.blog-card-cyber:hover .blog-content-cyber::after {
    border-color: #22d3ee;
    opacity: 1;
}

.blog-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.75rem;
    font-family: monospace;
    color: #64748b;
}

.blog-meta i {
    color: #4f46e5;
}

.blog-title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 12px;
}

.blog-title a {
    color: #e2e8f0;
    text-decoration: none;
    transition: color 0.3s;
}

.blog-card-cyber:hover .blog-title a {
    color: #22d3ee;
    text-shadow: 0 0 10px rgba(34, 211, 238, 0.3);
}

.blog-excerpt {
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}

/* Tech Button */
.btn-link-cyber {
    display: inline-flex;
    align-items: center;
    color: #818cf8;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-link-cyber i {
    margin-left: 8px;
    font-size: 0.8rem;
    transition: transform 0.3s;
}

.btn-link-cyber:hover {
    color: #fff;
    text-shadow: 0 0 8px #818cf8;
}

.btn-link-cyber:hover i {
    transform: translateX(5px);
    color: #22d3ee;
}

/* RTL Adjustments for Tech Card */
html[dir="rtl"] .blog-card-cyber {
    clip-path: polygon(0 0,
            100% 0,
            100% 100%,
            20px 100%,
            0 calc(100% - 20px));
}

html[dir="rtl"] .blog-content-cyber::after {
    right: auto;
    left: 20px;
    border-right: none;
    border-left: 2px solid #334155;
}

html[dir="rtl"] .btn-link-cyber i {
    margin-left: 0;
    margin-right: 8px;
    transform: rotate(180deg);
}

html[dir="rtl"] .btn-link-cyber:hover i {
    transform: rotate(180deg) translateX(5px);
}

/* --- LEGENDARY CYBER FOOTER --- */
.cyber-footer {
    background: #0b1120;
    /* Darkest Navy */
    border-top: 1px solid rgba(34, 211, 238, 0.2);
}

.cyber-footer h4,
.cyber-footer h6,
.cyber-footer .footer-brand span,
.cyber-footer .text-white {
    color: #fff !important;
}

.cyber-footer p,
.cyber-footer .text-white-50,
.cyber-footer .text-blue-200,
.cyber-footer span:not(.status-dot-pulse),
.cyber-footer .small {
    color: #94a3b8 !important;
}

.cyber-footer a {
    color: #94a3b8 !important;
}

.cyber-footer a:hover {
    color: var(--primary) !important;
}

.mission-control-wrap {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Hero text should always be visible on aurora background */
.contact-hero .text-main-custom {
    color: #ffffff !important;
}

[data-theme="light"] .contact-hero .text-main-custom {
    color: var(--text-main) !important;
}

::placeholder {
    color: #64748b !important;
    opacity: 0.6;
}

.cyber-footer-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(34, 211, 238, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(34, 211, 238, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    mask-image: linear-gradient(to bottom, black, transparent 80%);
    opacity: 0.5;
    z-index: 1;
}

.cyber-footer-glow {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 200px;
    background: radial-gradient(ellipse at center, rgba(79, 70, 229, 0.15), transparent 70%);
    z-index: 1;
    pointer-events: none;
}

/* Mission Control (Newsletter) */
.mission-control-wrap {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.mission-control-wrap::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #22d3ee, #4f46e5);
}

.btn-cyber-gradient {
    background: linear-gradient(135deg, #4f46e5 0%, #ec4899 100%);
    border: none;
    transition: all 0.3s ease;
}

.btn-cyber-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(34, 211, 238, 0.4);
}

/* Footer Links */
.footer-cyber-links li {
    margin-bottom: 10px;
}

.footer-cyber-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
}

.footer-cyber-links a:hover {
    color: #22d3ee;
    transform: translateX(5px);
    text-shadow: 0 0 8px rgba(34, 211, 238, 0.5);
}

/* System Status */
.status-dot-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7);
    animation: statusPulse 2s infinite;
}

@keyframes statusPulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(74, 222, 128, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(74, 222, 128, 0);
    }
}

/* Glass Contact Cards */
.glass-contact-card {
    transition: all 0.3s ease;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid transparent;
}

.glass-contact-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

/* Hex Social Buttons */
.hex-social-btn {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    transition: all 0.3s;
    text-decoration: none;
}

.hex-social-btn:hover {
    background: #4f46e5;
    color: #fff;
    transform: translateY(-3px) rotate(360deg);
    box-shadow: 0 0 15px rgba(79, 70, 229, 0.6);
}

/* RTL Support for Footer */
html[dir="rtl"] .footer-cyber-links a:hover {
    transform: translateX(-5px);
}

html[dir="rtl"] .glass-contact-card:hover {
    transform: translateX(-5px);
}

html[dir="rtl"] .mission-control-wrap::before {
    left: auto;
    right: 0;
}

/* --- PROCESS CYBER (Added Fix) --- */
.process-cyber {
    position: relative;
    padding: 80px 0;
}

.process-node {
    background: rgba(15, 23, 42, 0.6) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.process-node::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.process-node:hover {
    transform: translateY(-10px);
    border-color: rgba(34, 211, 238, 0.5);
    box-shadow: 0 15px 40px -10px rgba(34, 211, 238, 0.2);
}

.process-node:hover::before {
    opacity: 1;
}

.step-tracer {
    position: absolute;
    top: -10px;
    right: 10px;
    font-size: 5rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    line-height: 1;
    z-index: -1;
    font-family: 'Outfit', sans-serif;
    transition: all 0.4s ease;
}

.process-node:hover .step-tracer {
    color: rgba(34, 211, 238, 0.1);
    transform: scale(1.1);
}

.process-icon-wrap {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(34, 211, 238, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: #22d3ee;
    box-shadow: 0 0 20px rgba(34, 211, 238, 0.1);
    transition: all 0.4s ease;
}

.process-node:hover .process-icon-wrap {
    background: #22d3ee;
    color: #0b1120;
    box-shadow: 0 0 30px rgba(34, 211, 238, 0.6);
    transform: rotateY(180deg);
}

.process-node h4 {
    color: #fff;
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.process-node p {
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* RTL Support for Process */
html[dir="rtl"] .step-tracer {
    right: auto;
    left: 10px;
}

/* --- CYBER BANNER SYSTEM (Unified & Refined) --- */
.cyber-banner-system {
    position: relative;
    padding: 90px 0 50px;
    /* Unified compact padding */
    background: #010413 !important;
    overflow: hidden;
    border-bottom: 2px solid rgba(0, 242, 255, 0.1);
    z-index: 100;
    margin-bottom: 40px;
}

.cyber-grid {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image:
        linear-gradient(rgba(0, 242, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 242, 255, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(circle at center, black, transparent 90%);
    pointer-events: none;
}

.cyber-banner-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 18rem;
    color: rgba(0, 242, 255, 0.02);
    pointer-events: none;
    z-index: 0;
}

.cyber-banner-system h1 {
    color: #00f2ff !important;
    font-size: 3rem;
    font-weight: 800;
    text-shadow: 0 0 20px rgba(0, 242, 255, 0.5), 0 0 40px rgba(0, 242, 255, 0.2);
    margin-bottom: 15px;
}

.cyber-banner-system .badge-cyber-outline {
    background: rgba(0, 242, 255, 0.03);
    border: 1px solid rgba(0, 242, 255, 0.3);
    color: #00f2ff !important;
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

.cyber-breadcrumb-list .breadcrumb-item {
    display: flex;
    align-items: center;
}

.cyber-breadcrumb-list .breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.6) !important;
}

.cyber-breadcrumb-list .breadcrumb-item a {
    color: #00f2ff !important;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cyber-breadcrumb-list .breadcrumb-item a:hover {
    text-shadow: 0 0 10px #00f2ff;
}

.cyber-breadcrumb-list .breadcrumb-item+.breadcrumb-item::before {
    content: "\f105";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: rgba(0, 242, 255, 0.3);
    padding: 0 15px;
}

html[dir="rtl"] .cyber-breadcrumb-list .breadcrumb-item+.breadcrumb-item::before {
    content: "\f104";
}

[data-theme="light"] .cyber-banner-system {
    background: #010413 !important;
}/* --- Project Details Page --- */
.project-content-section {
    background: var(--bg-body) !important;
    position: relative;
}

.cyber-card-detailed {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 32px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.meta-node-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: -40px;
    position: relative;
    z-index: 5;
    margin-bottom: 60px;
}

.meta-node {
    background: var(--bg-card);
    backdrop-filter: blur(15px);
    border: 1px solid var(--border-color);
    padding: 25px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.meta-node:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.node-icon {
    width: 45px;
    height: 45px;
    background: rgba(168, 85, 247, 0.05);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    border: 1px solid rgba(168, 85, 247, 0.1);
}

.node-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
}

.node-value {
    font-weight: 700;
    color: var(--text-main);
    font-size: 1.1rem;
}

.gallery-cyber-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    transition: all 0.4s ease;
}

.gallery-cyber-item:hover {
    border-color: var(--primary);
    transform: scale(1.02);
}

.gallery-cyber-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.cyber-sidebar-widget {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-sm);
}

.sidebar-title-tech {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
}

.sidebar-title-tech::before {
    content: '';
    width: 4px;
    height: 20px;
    background: var(--primary);
    border-radius: 2px;
}

.project-main-frame {
    border-radius: 24px;
    border: 1px solid var(--border-color);
    padding: 10px;
    background: var(--bg-card);
    margin-bottom: 30px;
    box-shadow: var(--shadow-sm);
}

.project-main-frame img {
    border-radius: 18px;
    width: 100%;
}

.tech-inquiry-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 32px;
    padding: 35px;
    box-shadow: var(--shadow-md);
}

.premium-cyber-input {
    background: var(--bg-alt) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 14px !important;
    color: var(--text-main) !important;
    padding: 14px 20px !important;
    font-size: 0.95rem !important;
}

.premium-cyber-input:focus {
    border-color: var(--primary) !important;
    background: var(--bg-card) !important;
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.1) !important;
}

.inquiry-btn-cyber {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    border: none;
    padding: 18px;
    border-radius: 14px;
    font-weight: 800;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.inquiry-btn-cyber:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(168, 85, 247, 0.3);
}/* --- Service Details Page --- */
.inquiry-card-premium {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 0;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: transform 0.3s ease;
    margin-top: 30px;
}

.inquiry-card-premium:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.inquiry-header {
    background: var(--bg-alt);
    padding: 25px 30px;
    border-bottom: 1px solid var(--border-color);
}

.inquiry-body {
    padding: 30px;
}

.form-group-premium {
    position: relative;
    margin-bottom: 20px;
}

.form-control-premium {
    width: 100%;
    background: var(--bg-body);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 15px;
    font-size: 15px;
    color: var(--text-main);
    transition: all 0.3s ease;
}

html[dir="rtl"] .form-control-premium {
    padding-right: 60px !important;
    padding-left: 15px !important;
}

html[dir="ltr"] .form-control-premium {
    padding-left: 60px !important;
    padding-right: 15px !important;
}

.form-control-premium:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(114, 46, 209, 0.1);
    outline: none;
}

.input-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 20px;
    transition: color 0.3s ease;
    z-index: 5;
}

html[dir="rtl"] .input-icon {
    right: 20px;
}

html[dir="ltr"] .input-icon {
    left: 20px;
}

.btn-inquiry-submit {
    width: 100%;
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 16px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-inquiry-submit:hover {
    background: var(--primary-dark, #5b21b6);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(114, 46, 209, 0.3);
    color: #fff;
}

/* Content Area */
.service-details-area {
    padding: 80px 0;
    background: var(--bg-body);
}

.main-image {
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: var(--shadow-md);
}

.main-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
}

.content-block h2 {
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 20px;
    font-size: 1.75rem;
}

.content-block p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 1.05rem;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 40px 0;
}

.feature-box {
    background: var(--bg-card);
    padding: 25px;
    border-radius: 16px;
    display: flex;
    align-items: start;
    gap: 15px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-3px);
    border-color: var(--primary);
}

.feature-box i {
    font-size: 1.2rem;
    color: var(--primary);
    margin-top: 3px;
    background: rgba(114, 46, 209, 0.1);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.feature-box h5 {
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 0;
    color: var(--text-main);
    line-height: 1.4;
}

/* Process Grid */
.process-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.process-card {
    background: var(--bg-alt);
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

.process-step {
    font-size: 3rem;
    font-weight: 900;
    color: var(--border-color);
    position: absolute;
    top: -10px;
    opacity: 0.5;
}

html[dir="rtl"] .process-step {
    left: 10px;
}

html[dir="ltr"] .process-step {
    right: 10px;
}

.process-title {
    position: relative;
    z-index: 2;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-main);
    margin-top: 10px;
}

/* Sidebar */
.sidebar-widget {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
}

.widget-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--text-main);
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 15px;
}

.service-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-nav li {
    margin-bottom: 10px;
}

.service-nav li a {
    display: block;
    padding: 15px 20px;
    background: var(--bg-alt);
    border-radius: 10px;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.service-nav li a:hover,
.service-nav li a.active {
    background: var(--primary);
    color: #fff;
    transform: translateX(5px);
}

.contact-widget {
    text-align: center;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: rgba(114, 46, 209, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 20px;
}

.btn-theme {
    background: var(--primary);
    color: #fff;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    display: block;
    font-weight: 700;
    text-align: center;
    transition: all 0.3s;
}

.btn-theme:hover {
    background: var(--primary-dark, #5b21b6);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(114, 46, 209, 0.25);
}/* --- Contact Page --- */
.contact-info-card {
    background: var(--bg-card);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 40px 30px;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.contact-info-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(34, 211, 238, 0.5);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.contact-info-card:hover::before {
    opacity: 1;
}

.info-icon-box {
    width: 70px;
    height: 70px;
    background: rgba(34, 211, 238, 0.1);
    color: #22d3ee;
    border: 1px solid rgba(34, 211, 238, 0.2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin: 0 auto 25px;
    transition: all 0.5s ease;
}

.contact-info-card:hover .info-icon-box {
    background: #22d3ee;
    color: #0b1120;
    transform: rotateY(180deg) scale(1.1);
    box-shadow: 0 0 25px rgba(34, 211, 238, 0.5);
}

.contact-form-glass {
    background: var(--bg-card);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--border-color);
    border-radius: 32px;
    padding: 50px;
    box-shadow: var(--shadow-lg);
}

.map-glass {
    border-radius: 32px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: 100%;
    min-height: 500px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.cyber-input {
    background: var(--bg-body) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 12px !important;
    color: var(--text-main) !important;
    padding: 12px 20px !important;
    transition: all 0.3s ease !important;
}

.cyber-input:focus {
    background: rgba(0, 0, 0, 0.4) !important;
    border-color: #22d3ee !important;
    box-shadow: 0 0 15px rgba(34, 211, 238, 0.2) !important;
}

.direction-ltr {
    direction: ltr !important;
    unicode-bidi: embed;
}

.badge-cyber-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(34, 211, 238, 0.05);
    border: 1px solid rgba(34, 211, 238, 0.3);
    border-radius: 100px;
    color: #22d3ee;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.captcha-img-wrapper {
    min-width: 120px;
    cursor: pointer;
}

.captcha-img-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

/* --- Services Index Page --- */
.service-card-clean {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card-clean:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-thumb {
    height: 200px;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

.service-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card-clean:hover .service-thumb img {
    transform: scale(1.05);
}

.service-body {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-main);
}

.service-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.service-title a:hover {
    color: var(--primary);
}

.service-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.btn-read-more {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.2s;
}

.btn-read-more:hover {
    gap: 8px;
}

/* --- Projects Index Page --- */
.projects-area {
    background: var(--bg-alt) !important;
    position: relative;
    padding-top: 80px;
    padding-bottom: 100px;
}

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 28px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    position: relative;
    box-shadow: var(--shadow-sm);
}

.project-card:hover {
    transform: translateY(-15px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(168, 85, 247, 0.15);
}

.project-img-wrapper {
    position: relative;
    height: 280px;
    overflow: hidden;
    background: var(--bg-alt);
}

.project-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.8s ease;
    opacity: 0.9;
}

.project-card:hover .project-img-wrapper img {
    transform: scale(1.08);
    opacity: 1;
}

.project-tech-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 800;
    z-index: 2;
    border: 1px solid var(--border-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.project-body {
    padding: 35px;
    position: relative;
}

.project-category {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 15px;
    display: block;
    opacity: 0.8;
}

.project-title {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-main);
    line-height: 1.2;
}

.project-title a {
    color: var(--text-main);
    text-decoration: none;
    transition: color 0.3s;
}

.project-card:hover .project-title a {
    color: var(--primary);
}

.project-desc {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 30px;
}

.project-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 25px;
    border-top: 1px solid var(--border-color);
}

.client-tag {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
}

.client-tag i {
    color: var(--secondary);
    font-size: 0.8rem;
}

.view-project-btn {
    width: 50px;
    height: 50px;
    background: var(--bg-alt);
    color: var(--text-main);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    text-decoration: none;
    border: 1px solid var(--border-color);
}

.project-card:hover .view-project-btn {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 10px 20px rgba(168, 85, 247, 0.2);
    border-color: var(--primary);
}

/* Pagination for theme aware BG */
.pagination .page-link {
    background: var(--bg-card);
    border-color: var(--border-color);
    color: var(--text-main);
}

.pagination .page-item.active .page-link {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}/* --- Services Index Page (Corrected) --- */
.service-card-clean {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card-clean:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-thumb {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: var(--bg-alt);
}

.service-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card-clean:hover .service-thumb img {
    transform: scale(1.05);
}

.service-body {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-main);
}

.service-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.service-title a:hover {
    color: var(--primary);
}

.service-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-footer {
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-read-more {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.2s;
}

.btn-read-more:hover {
    gap: 8px;
}/* --- Blog Index Page --- */
.blog-area {
    background: var(--bg-alt) !important;
    position: relative;
    padding-top: 80px;
    padding-bottom: 100px;
}

.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    position: relative;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-12px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(168, 85, 247, 0.15);
}

.blog-img-wrapper {
    position: relative;
    height: 240px;
    overflow: hidden;
    background: var(--bg-alt);
}

.blog-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.8s ease;
    opacity: 0.9;
}

.blog-card:hover .blog-img-wrapper img {
    transform: scale(1.1);
    opacity: 1;
}

.blog-date-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    color: var(--text-main);
    padding: 8px 15px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 800;
    z-index: 2;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
}

.blog-date-badge span {
    display: block;
}

.blog-date-badge .day {
    font-size: 1.1rem;
    margin-bottom: 3px;
    color: var(--primary);
}

.blog-body {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-category {
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.blog-title {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--text-main);
    line-height: 1.3;
}

.blog-title a {
    color: var(--text-main);
    text-decoration: none;
    transition: color 0.3s;
}

.blog-card:hover .blog-title a {
    color: var(--primary);
}

.blog-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}

.blog-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.read-more-btn {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.read-more-btn:hover {
    gap: 12px;
    color: var(--secondary);
}

.meta-item {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Pagination */
.pagination .page-link {
    background: var(--bg-card);
    border-color: var(--border-color);
    color: var(--text-main);
    border-radius: 10px;
    margin: 0 4px;
    padding: 10px 18px;
}

.pagination .page-item.active .page-link {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

/* --- Blog Show Page --- */
.blog-content-wrap {
    padding: 50px;
}

@media (max-width: 768px) {
    .blog-content-wrap {
        padding: 30px;
    }

    .blog-hero-img {
        height: 300px;
    }
}

.blog-info-bar {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.blog-info-bar i {
    color: var(--primary);
    margin-right: 8px;
    margin-left: 8px;
}

.blog-rich-content {
    color: var(--text-main);
    line-height: 1.8;
    font-size: 1.15rem;
}

.blog-rich-content h2,
.blog-rich-content h3 {
    color: var(--text-main);
    font-weight: 800;
    margin-top: 40px;
    margin-bottom: 20px;
}

.blog-rich-content p {
    margin-bottom: 20px;
    opacity: 0.9;
}

.blog-rich-content img {
    border-radius: 20px;
    margin: 30px 0;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    max-width: 100%;
}

.blog-share-area {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.share-btn-cyber {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    transition: all 0.3s ease;
    text-decoration: none;
}

.share-btn-cyber:hover {
    background: var(--bg-alt);
    color: var(--primary);
    transform: translateY(-3px);
    border-color: var(--primary);
}

.author-card-minimal {
    background: var(--bg-alt);
    padding: 20px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid var(--border-color);
}

.recent-post-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.recent-post-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border: none;
}

.recent-post-thumb {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
}

.recent-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recent-post-info h6 {
    font-size: 0.95rem;
    line-height: 1.4;
    margin-bottom: 5px;
}

.recent-post-info h6 a {
    color: var(--text-main);
    text-decoration: none;
    transition: 0.2s;
}

.recent-post-info h6 a:hover {
    color: var(--primary);
}

.recent-date {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-item {
    background: var(--bg-alt);
    color: var(--text-muted);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.85rem;
    text-decoration: none;
    border: 1px solid var(--border-color);
    transition: all 0.2s;
}

.tag-item:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* --- About Page --- */
/* Section Styling */
.glass-container {
    background: var(--bg-card);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--border-color);
    border-radius: 32px;
    padding: 40px;
    transition: all 0.4s ease;
    height: 100%;
}

.glass-container:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.icon-box-cyber {
    width: 80px;
    height: 80px;
    background: var(--primary);
    color: #fff;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 25px;
    box-shadow: 0 10px 20px rgba(168, 85, 247, 0.3);
}

/* Team Section - Cyber Holographic Redesign */
.team-card-cyber {
    background: #0b1120;
    border: 1px solid rgba(0, 242, 255, 0.1);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.team-card-cyber:hover {
    transform: translateY(-15px);
    border-color: #00f2ff;
    box-shadow: 0 0 30px rgba(0, 242, 255, 0.2), inset 0 0 20px rgba(0, 242, 255, 0.1);
}

.team-img-wrap {
    position: relative;
    height: 380px;
    overflow: hidden;
}

.team-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1) brightness(0.8);
    transition: all 0.6s ease;
}

.team-card-cyber:hover .team-img-wrap img {
    filter: grayscale(0) brightness(1);
    transform: scale(1.05);
}

.team-img-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 60%, #0b1120 100%);
}

.team-info-box {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(11, 17, 32, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 16px;
    transition: all 0.4s ease;
    z-index: 2;
}

.team-card-cyber:hover .team-info-box {
    background: rgba(0, 242, 255, 0.1);
    border-color: rgba(0, 242, 255, 0.3);
}

.team-social-side {
    position: absolute;
    top: 20px;
    right: -60px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 3;
}

.team-card-cyber:hover .team-social-side {
    right: 20px;
}

.social-btn-cyber {
    width: 40px;
    height: 40px;
    background: #0b1120;
    border: 1px solid rgba(0, 242, 255, 0.3);
    color: #00f2ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-btn-cyber:hover {
    background: #00f2ff;
    color: #0b1120;
    box-shadow: 0 0 15px #00f2ff;
    transform: scale(1.1);
}

.name-tech-tag {
    color: #00f2ff;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 5px;
    display: block;
    opacity: 0.8;
}

.team-name {
    color: #fff;
    font-weight: 800;
    font-size: 1.25rem;
    margin-bottom: 0px;
}

.team-role {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

.about-image-frame {
    position: relative;
    padding: 15px;
}

.about-image-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 20px;
    opacity: 0.1;
    z-index: 1;
}

.frame-decoration {
    position: absolute;
    width: 60px;
    height: 60px;
    border: 4px solid var(--primary);
    z-index: 3;
}

.frame-decoration.top-right {
    top: 0;
    right: 0;
    border-bottom: none;
    border-left: none;
    border-radius: 0 20px 0 0;
}

.frame-decoration.bottom-left {
    bottom: 0;
    left: 0;
    border-top: none;
    border-right: none;
    border-radius: 0 0 0 20px;
}

.py-cyber-section {
    padding-top: 100px;
    padding-bottom: 100px;
}

.my-cyber-gap {
    margin-top: 80px;
    margin-bottom: 80px;
}

/* Who We Are Styling */
.who-we-are-content h2 {
    background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0.7));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
}

[data-theme="light"] .who-we-are-content h2 {
    background: linear-gradient(90deg, var(--text-main), rgba(15, 23, 42, 0.7));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cyber-check-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.cyber-check-item:hover {
    border-color: var(--primary);
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(168, 85, 247, 0.1);
}

.check-icon-glow {
    width: 40px;
    height: 40px;
    background: rgba(168, 85, 247, 0.1);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.2);
}

.btn-cyber-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: #fff !important;
    border: none;
    padding: 16px 40px;
    border-radius: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-cyber-cta:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(168, 85, 247, 0.4);
}

.btn-cyber-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.btn-cyber-cta:hover::before {
    left: 100%;
}/* --- Blog Details Page (Corrected) --- */
.blog-details-section {
    background: var(--bg-body) !important;
    position: relative;
    padding-bottom: 100px;
}

.blog-main-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 32px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    margin-top: 0;
    position: relative;
    z-index: 5;
}

.blog-hero-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.blog-content-wrap {
    padding: 50px;
}

@media (max-width: 768px) {
    .blog-content-wrap {
        padding: 30px;
    }

    .blog-hero-img {
        height: 300px;
    }
}

.blog-info-bar {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.blog-info-bar i {
    color: var(--primary);
    margin-right: 8px;
    margin-left: 8px;
}

.blog-rich-content {
    color: var(--text-main);
    line-height: 1.8;
    font-size: 1.15rem;
}

.blog-rich-content h2,
.blog-rich-content h3 {
    color: var(--text-main);
    font-weight: 800;
    margin-top: 40px;
    margin-bottom: 20px;
}

.blog-rich-content p {
    margin-bottom: 25px;
    opacity: 0.85;
}

/* Sidebar Widgets */
.blog-sidebar-widget {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-sm);
}

.widget-title-tech {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--bg-alt);
}

.widget-title-tech::before {
    content: '';
    width: 4px;
    height: 20px;
    background: var(--primary);
    border-radius: 2px;
}

.recent-blog-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    text-decoration: none !important;
}

.recent-blog-img {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid var(--border-color);
}

.recent-blog-info h6 {
    color: var(--text-main);
    font-weight: 700;
    margin-bottom: 5px;
    line-height: 1.4;
    transition: color 0.3s;
}

.recent-blog-item:hover h6 {
    color: var(--primary);
}

.recent-blog-info span {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-item {
    background: var(--bg-alt);
    color: var(--text-main);
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s;
    border: 1px solid var(--border-color);
}

.tag-item:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}/* --- Cart Page Styling --- */
.btn-check:checked+.btn-outline-light {
    border-color: #722ed1 !important;
    background-color: #fbf8ff !important;
    color: #000 !important;
    box-shadow: 0 0 0 2px rgba(114, 46, 209, 0.2);
}

.btn-check:checked+.btn-outline-light .check-indicator {
    opacity: 1 !important;
}

html[dir="rtl"] .me-2 {
    margin-left: 0.5rem !important;
    margin-right: 0 !important;
}

html[dir="rtl"] .ms-2 {
    margin-right: 0.5rem !important;
    margin-left: 0 !important;
}