@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* Premium Base Styling */
body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    /* Deeper premium gradient */
    color: #fff;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* ============================================
   PREMIUM RESPONSIVE NAVBAR
   ============================================ */

/* Header Base */
.premium-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: rgba(10, 20, 30, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.premium-header.scrolled {
    background: rgba(5, 15, 25, 0.98);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    border-bottom-color: rgba(255, 215, 0, 0.1);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo Styling */
.logo-wrapper {
    display: flex;
    align-items: center;
    text-decoration: none;
    position: relative;
    z-index: 10;
}

.logo-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-main {
    font-size: 1.8rem;
    font-weight: 900;
    background: linear-gradient(135deg, #fff 0%, #e0e0e0 50%, #fff 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.logo-badge {
    font-size: 0.65rem;
    font-weight: 700;
    color: #00ffff;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.2), rgba(0, 200, 255, 0.1));
    padding: 4px 8px;
    border-radius: 6px;
    border: 1px solid rgba(0, 255, 255, 0.3);
    animation: pulse-glow 2s ease-in-out infinite;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
        border-color: rgba(0, 255, 255, 0.3);
    }

    50% {
        box-shadow: 0 0 20px rgba(0, 255, 255, 0.6), 0 0 40px rgba(0, 255, 255, 0.2);
        border-color: rgba(0, 255, 255, 0.6);
    }
}

.logo-glow {
    position: absolute;
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, rgba(0, 255, 255, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
}

.logo-wrapper:hover .logo-glow {
    opacity: 1;
}

/* Desktop Navigation */
.desktop-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-item {
    position: relative;
    padding: 0.7rem 1.2rem;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.nav-item .nav-text {
    position: relative;
    z-index: 1;
}

.nav-item .nav-indicator {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ffd700, #ff8c00);
    transform: translateX(-50%);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-item:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.nav-item:hover .nav-indicator {
    width: 60%;
}

.nav-item.active {
    color: #ffd700;
}

.nav-item.active .nav-indicator {
    width: 60%;
    background: linear-gradient(90deg, #ffd700, #ffaa00);
}

/* CTA Button in Nav */
.nav-item.cta-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #ffd700 0%, #ff8c00 100%);
    color: #000;
    font-weight: 700;
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    margin-left: 1rem;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    transition: all 0.3s ease;
}

.nav-item.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
    background: linear-gradient(135deg, #ffe234 0%, #ffa500 100%);
}

.nav-item.cta-btn .nav-indicator {
    display: none;
}

.nav-item.cta-btn svg {
    transition: transform 0.3s;
}

.nav-item.cta-btn:hover svg {
    transform: translateX(4px);
}

/* Header Actions (Lang + Mobile Toggle) */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.lang-btn {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    transition: all 0.3s;
}

.lang-btn:hover {
    color: #fff;
}

.lang-btn.active {
    color: #00ffff;
    background: rgba(0, 255, 255, 0.1);
}

.lang-divider {
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.8rem;
}

/* Mobile Toggle Button */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    cursor: pointer;
    padding: 0;
    gap: 5px;
    transition: all 0.3s;
}

.mobile-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 215, 0, 0.3);
}

.hamburger-line {
    width: 20px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #050f19;
    /* Solid dark background */
    background-image: linear-gradient(135deg, #0a1628 0%, #050f19 50%, #0a1a2e 100%);
    z-index: 9990;
    /* Lower than header so toggle button is clickable */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding-top: 100px;
    overflow-y: auto;
}

.mobile-nav.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Ensure header stays on top */
.premium-header {
    z-index: 9999 !important;
}

.mobile-nav-content {
    display: flex;
    flex-direction: column;
    padding: 2rem;
    gap: 0.5rem;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
}

.mobile-nav-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 1.5rem;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    transform: translateX(-30px);
    opacity: 0;
}

.mobile-nav.open .mobile-nav-item {
    transform: translateX(0);
    opacity: 1;
}

/* Staggered animation for mobile nav items */
.mobile-nav.open .mobile-nav-item:nth-child(1) {
    transition-delay: 0.1s;
}

.mobile-nav.open .mobile-nav-item:nth-child(2) {
    transition-delay: 0.15s;
}

.mobile-nav.open .mobile-nav-item:nth-child(3) {
    transition-delay: 0.2s;
}

.mobile-nav.open .mobile-nav-item:nth-child(4) {
    transition-delay: 0.25s;
}

.mobile-nav.open .mobile-nav-item:nth-child(5) {
    transition-delay: 0.3s;
}

.mobile-nav.open .mobile-nav-item:nth-child(6) {
    transition-delay: 0.35s;
}

.mobile-nav.open .mobile-nav-item:nth-child(7) {
    transition-delay: 0.4s;
}

.mobile-nav-item:hover,
.mobile-nav-item.active {
    background: rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.2);
    color: #ffd700;
}

.mobile-nav-icon {
    font-size: 1.3rem;
}

.mobile-nav-item.mobile-cta {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 140, 0, 0.1));
    border-color: rgba(255, 215, 0, 0.3);
    margin-top: 1rem;
}

/* Mobile Nav Close Button */
.mobile-nav-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s ease;
    z-index: 10;
}

.mobile-nav-close:hover {
    background: rgba(255, 215, 0, 0.2);
    border-color: rgba(255, 215, 0, 0.4);
    color: #ffd700;
    transform: rotate(90deg);
}

/* Mobile Language Switcher */
.mobile-lang-switcher {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-lang-btn {
    flex: 1;
    padding: 1rem;
    text-align: center;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.mobile-lang-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.mobile-lang-btn.active {
    background: rgba(0, 255, 255, 0.1);
    border-color: rgba(0, 255, 255, 0.3);
    color: #00ffff;
}

/* Body lock when nav is open */
body.nav-open {
    overflow: hidden;
}

/* ============================================
   RESPONSIVE BREAKPOINTS
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
    .desktop-nav {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .header-container {
        padding: 0.8rem 1.5rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .header-container {
        padding: 0.8rem 1rem;
    }

    .logo-main {
        font-size: 1.5rem;
    }

    .logo-badge {
        font-size: 0.55rem;
        padding: 3px 6px;
    }

    .lang-switcher {
        padding: 0.4rem 0.8rem;
    }

    .lang-btn {
        font-size: 0.75rem;
        padding: 0.2rem 0.4rem;
    }

    .mobile-nav-content {
        padding: 1.5rem 1rem;
    }

    .mobile-nav-item {
        padding: 1rem 1.2rem;
        font-size: 1rem;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .logo-main {
        font-size: 1.3rem;
    }

    .header-actions {
        gap: 0.8rem;
    }

    .mobile-toggle {
        width: 40px;
        height: 40px;
    }

    .hamburger-line {
        width: 18px;
    }
}

/* RTL Support for Navbar */
html[dir="rtl"] .desktop-nav {
    flex-direction: row-reverse;
}

html[dir="rtl"] .nav-item.cta-btn {
    margin-left: 0;
    margin-right: 1rem;
}

html[dir="rtl"] .nav-item.cta-btn svg {
    transform: rotate(180deg);
}

html[dir="rtl"] .nav-item.cta-btn:hover svg {
    transform: rotate(180deg) translateX(4px);
}

html[dir="rtl"] .mobile-nav-item {
    flex-direction: row-reverse;
    text-align: right;
    transform: translateX(30px);
}

html[dir="rtl"] .mobile-nav.open .mobile-nav-item {
    transform: translateX(0);
}

/* Old header styles - kept for compatibility */
header {
    background: rgba(15, 32, 39, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.2rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-sizing: border-box;
    will-change: transform;
}

/* Glass Utility */
/* Glass Utility - Optimized to Solid/Semi-Transparent */
.glass {
    background: rgba(20, 40, 50, 0.85);
    /* High opacity solid fallback */
    /* backdrop-filter removed for FPS */
    /* -webkit-backdrop-filter removed */
    border-radius: 1rem;
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    /* Very simple shadow */
}

/* Buttons */
button,
.btn {
    background: linear-gradient(135deg, #ffd700 0%, #ffaa00 100%);
    color: #000;
    border: none;
    padding: 1rem 2rem;
    border-radius: 5rem;
    /* Pill shape */
    cursor: pointer;
    /* transition removed */
    text-decoration: none;
    display: inline-block;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 10px 20px rgba(255, 170, 0, 0.2);
}

/* Optimized Button Hover */
button:hover,
.btn:hover {
    transform: translateY(-2px);
    /* Reduced movement */
    box-shadow: 0 5px 15px rgba(255, 170, 0, 0.3);
    /* Simplified shadow */
    /* Removed heavy box-shadow expansion */
}

/* Sidebar / Hero Slider */
.hero-slider {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    /* transition removed */
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(15, 32, 39, 1) 100%);
}

.slide.active {
    opacity: 1;
}

.slide-content {
    text-align: center;
    max-width: 900px;
    margin: 0 1rem;
    padding: 3rem;
    z-index: 2;
    background: transparent;
    border: none;
    box-shadow: none;
}

.slide-content h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    font-weight: 800;
    animation: slideUp 1s ease forwards;
    opacity: 0;
    transform: translateY(30px);
}

.slide-content p {
    font-size: 1.25rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    animation: slideUp 1s ease 0.2s forwards;
    opacity: 0;
    transform: translateY(30px);
}

.slide-content .btn {
    animation: slideUp 1s ease 0.4s forwards;
    opacity: 0;
    transform: translateY(30px);
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 3rem;
    box-sizing: border-box;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 10;
}

.control-btn {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    pointer-events: auto;
    transition: all 0.3s;
}

.control-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.slider-dots {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: #ffd700;
    transform: scale(1.5);
    box-shadow: 0 0 10px #ffd700;
}

/* Content Sections */
.section {
    /* padding: 7rem 2rem; */
    position: relative;
    z-index: 1;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 4rem;
    font-weight: 800;
    color: #fff;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 5px;
    background: linear-gradient(90deg, #ffd700, #ffaa00);
    margin: 15px auto 0;
    border-radius: 5px;
}

/* Decorative Background Shapes */
.shape-blob {
    position: absolute;
    /* Removed heavy blur filter, moved to radial gradient in children or similar if needed, 
       but for now reducing blur or using will-change */
    filter: blur(60px);
    /* Reduced from 80px */
    z-index: -1;
    opacity: 0.4;
    border-radius: 50%;
    animation: floatShape 20s infinite alternate linear;
    /* Linear is often smoother for constant movement */
    will-change: transform;
    /* Critical optimization */
    transform: translate3d(0, 0, 0);
    /* Force GPU */
}

.shape-1 {
    top: -10%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: #ff00cc;
}

.shape-2 {
    bottom: 10%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: #00dbde;
    animation-delay: -5s;
}

.shape-3 {
    top: 40%;
    left: 20%;
    width: 400px;
    height: 400px;
    background: #fc00ff;
    animation-delay: -10s;
}

@keyframes floatShape {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    100% {
        transform: translate3d(50px, 50px, 0) rotate(20deg);
    }
}

/* Feature/Why Choose Us Box */
.feature-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    border-radius: 1.5rem;
    /* transition removed */
    /* Smooth standard transition */
    position: relative;
    overflow: hidden;
    height: 100%;
    box-sizing: border-box;
    /* backdrop-filter removed */
    will-change: transform;
}

.feature-box:hover {
    transform: translateY(-5px);
    /* Reduced from -10px */
    border-color: rgba(255, 215, 0, 0.5);
    /* Removed expensive background and box-shadow changes */
}

/* Removed pseudo-element hover effect for performance */
.feature-box::before {
    display: none;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.3));
}

/* Stats Section */
.stat-card {
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    /* transition removed */
}

.stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
}

.stat-number {
    font-size: 4rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 0.5rem;
    background: linear-gradient(to right, #fff, #ffd700);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

/* Testimonial Card */
.testimonial-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 3rem;
    border-radius: 2rem;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin: 1rem 0;
    font-style: italic;
}

.testimonial-card::after {
    content: '"';
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 8rem;
    color: rgba(255, 215, 0, 0.05);
    font-family: 'Times New Roman', serif;
    line-height: 0.5;
}

.client-info {
    display: flex;
    align-items: center;
    margin-top: 2rem;
    font-style: normal;
}

.client-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #444, #222);
    margin-right: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    border: 2px solid rgba(255, 215, 0, 0.3);
}

/* Clients Logo Strip */
.client-strip {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
    opacity: 0.5;
    padding: 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.client-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Service Grid override for home */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Footer */
footer {
    background: #0f2027;
    /* Darker footer */
    padding: 4rem 2rem;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Page Header for sub-pages */
.page-header {
    padding: 12rem 2rem 6rem;
    text-align: center;
    background: radial-gradient(circle at center, rgba(255, 215, 0, 0.05) 0%, transparent 60%);
    margin-bottom: 2rem;
}

.page-header h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.page-header p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 700px;
    margin: 0 auto;
}

/* Form Styling */
.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-label {
    display: block;
    margin-bottom: 0.8rem;
    color: #ffd700;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.8rem;
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s;
    box-sizing: border-box;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #ffd700;
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.form-textarea {
    resize: vertical;
    min-height: 150px;
}

/* Scroll Reveal Animations */
/* Scroll Reveal Animations */
.scroll-reveal {
    opacity: 0;
    transform: translate3d(0, 30px, 0);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    /* Snappier bezier */
    will-change: opacity, transform;
    backface-visibility: hidden;
    /* Prevent flickering */
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

/* Staggered delays (Faster) */
.delay-100 {
    transition-delay: 0.05s;
}

.delay-200 {
    transition-delay: 0.1s;
}

.delay-300 {
    transition-delay: 0.15s;
}

.delay-400 {
    transition-delay: 0.2s;
}

.delay-500 {
    transition-delay: 0.25s;
}

/* Additional Hover Motion */
.hover-float:hover {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* --- OPTIMIZED CREATIVE ADDITIONS --- */

/* Infinite Marquee */
.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    padding: 3rem 0;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-content {
    display: inline-block;
    animation: marquee 20s linear infinite;
    will-change: transform;
}

.marquee-logo {
    display: inline-block;
    height: 80px;
    width: auto;
    margin: 0 4rem;
    object-fit: contain;
    transition: transform 0.3s;
    /* Clean hover effect */
}

.marquee-logo:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
}

.marquee-item {
    /* Deprecated, but keeping for safety if used elsewhere */
    display: none;
}

.marquee-item:hover {
    color: #ffd700;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
    transform: scale(1.1);
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Accordion (FAQ) */
.accordion {
    max-width: 900px;
    margin: 0 auto;
}

.accordion-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1.5rem;
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s;
}

.accordion-item:hover {
    border-color: rgba(255, 215, 0, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.accordion-header {
    padding: 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.accordion-header::after {
    content: '+';
    font-size: 2rem;
    transition: transform 0.3s;
    color: #ffd700;
}

.accordion-item.active .accordion-header::after {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
    padding: 0 2rem;
    color: #ccc;
    font-size: 1rem;
    line-height: 1.8;
}

.accordion-item.active .accordion-content {
    max-height: 300px;
    padding-bottom: 2rem;
}

/* Timeline (About Page) */
.timeline {
    position: relative;
    max-width: 1000px;
    margin: 4rem auto;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: linear-gradient(to bottom, transparent, #ffd700, transparent);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 2rem 4rem;
    box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
}

.timeline-dot {
    position: absolute;
    top: 2.5rem;
    width: 20px;
    height: 20px;
    background: #000;
    border: 4px solid #ffd700;
    border-radius: 50%;
    z-index: 2;
    transition: all 0.3s;
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: -12px;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -12px;
}

.timeline-item:hover .timeline-dot {
    transform: scale(1.5);
    background: #ffd700;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
}

/* Pricing Cards */
.pricing-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 2rem;
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    /* transition: transform 0.3s ease-out, border-color 0.3s ease; removed */
}

/* Pricing Card Optimization */
.pricing-card:hover {
    transform: translateY(-5px);
    border-color: #ffd700;
    /* Removed expensive shadow/bg change */
}

.pricing-card.popular {
    background: rgba(30, 30, 30, 0.9);
    /* simplified without gradient */
    border: 2px solid #ffd700;
}

.pricing-card.popular::before {
    content: 'MOST POPULAR';
    position: absolute;
    top: 1.5rem;
    right: -3.5rem;
    background: #ffd700;
    color: #000;
    padding: 0.5rem 4rem;
    transform: rotate(45deg);
    font-size: 0.8rem;
    font-weight: 800;
}

.price-tag {
    font-size: 4rem;
    font-weight: 900;
    margin: 2rem 0;
    color: #fff;
    background: linear-gradient(to right, #fff, #bbb);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.price-tag span {
    font-size: 1.2rem;
    color: #888;
    font-weight: 400;
    -webkit-text-fill-color: #888;
}

/* Case Study Grid */
.case-study-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.case-card {
    position: relative;
    height: 450px;
    border-radius: 2rem;
    overflow: hidden;
    cursor: pointer;
}

.case-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.case-card:hover img {
    transform: scale(1.1);
}

.case-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95), transparent);
    padding: 3rem;
    box-sizing: border-box;
    transform: translateY(30px);
    transition: transform 0.4s;
}

.case-card:hover .case-overlay {
    transform: translateY(0);
}

/* Icons */
.check-icon {
    color: #ffd700;
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

/* Terminal Animation */
@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.terminal-window {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.terminal-window:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(0, 255, 255, 0.2);
}

/* Workflow Cards */
.workflow-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.workflow-card:hover {
    transform: translateY(-10px) scale(1.02);
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(0, 255, 255, 0.3) !important;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

/* Partner Logos */
.partner-logo {
    display: inline-block;
    transition: all 0.3s;
    cursor: default;
}

.partner-logo:hover {
    color: #fff !important;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

/* Client Avatars */
.client-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #fff;
    margin-right: 1rem;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

/* Featured Case Studies Grid Adjustments */
.case-card {
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.case-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
    z-index: 10;
}

.case-card:hover .case-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.2));
}

/* Button Refinement */
.btn {
    text-transform: uppercase;
    font-weight: 600;
}

/* =========================================
   AI Branding & Visual Dazzle
   ========================================= */

/* Neural Network Background */
#neural-net-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 10% 20%, rgba(0, 255, 255, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(255, 0, 255, 0.05) 0%, transparent 20%);
    pointer-events: none;
    overflow: hidden;
}

#neural-net-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    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;
    opacity: 0.5;
}

/* Fixed Social Sidebar */
.social-sidebar {
    position: fixed;
    right: 30px;
    bottom: 50px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.social-link {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 2px;
    transition: all 0.3s;
    border-right: 2px solid rgba(255, 255, 255, 0.2);
    padding-right: 10px;
}

.social-link:hover {
    color: #00ffff;
    border-color: #00ffff;
    letter-spacing: 4px;
    text-shadow: 0 0 8px rgba(0, 255, 255, 0.8);
}

/* AI Badge Pulse */
@keyframes ai-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 255, 255, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(0, 255, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 255, 255, 0);
    }
}

/* Mic Listening Animation */
#ai-mic-btn:active,
.listening {
    animation: ai-pulse 1s infinite;
}

/* =========================================
   RTL Support (Arabic)
   ========================================= */
html[dir="rtl"] body {
    direction: rtl;
    text-align: right;
    font-family: 'Tajawal', 'Cairo', 'Inter', sans-serif;
    /* Recommended Arabic fonts */
}

/* Load Arabic Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700&family=Tajawal:wght@400;500;700&display=swap');

html[dir="rtl"] .site-nav {
    margin-right: auto;
    margin-left: initial;
}

html[dir="rtl"] .social-sidebar {
    left: 20px;
    right: auto;
}

html[dir="rtl"] .lang-switcher {
    border-left: none !important;
    border-right: 1px solid rgba(255, 255, 255, 0.2) !important;
    padding-left: 0 !important;
    padding-right: 15px !important;
    margin-left: 0 !important;
    margin-right: 20px !important;
}

html[dir="rtl"] .section-title.text-left {
    text-align: right !important;
    background: linear-gradient(to left, #fff, #00ffff);
    /* Flipped gradient */
    left: auto !important;
    right: 0 !important;
    transform: none !important;
    display: block !important;
    width: 100%;
}

/* Fix Code Lab section layout in RTL */
html[dir="rtl"] .col-md-6 h2.section-title {
    text-align: right !important;
    left: auto !important;
    transform: none !important;
}

html[dir="rtl"] .workflow-card div[style*="right: 10px"] {
    right: auto !important;
    left: 10px !important;
}

html[dir="rtl"] .terminal-window {
    direction: ltr;
    /* Terminal code usually looks better LTR even in Arabic context, but comments/output might be mixed. */
    text-align: left;
}

/* Flip margins for lists if needed */
html[dir="rtl"] ul {
    padding-right: 0;
}

/* RTL Fix for Service Cards Lists */
html[dir="rtl"] .service-card ul,
html[dir="rtl"] .pricing-card ul,
html[dir="rtl"] ul[style*="text-align: left"] {
    text-align: right !important;
}

html[dir="rtl"] .service-card ul li,
html[dir="rtl"] .pricing-card ul li {
    text-align: right;
    direction: rtl;
}

/* RTL Fix for Form Groups */
html[dir="rtl"] .form-group {
    text-align: right !important;
}

/* RTL Fix for Client Info */
html[dir="rtl"] .client-info {
    flex-direction: row-reverse;
}

html[dir="rtl"] .client-avatar {
    margin-right: 0;
    margin-left: 1rem;
}

/* RTL Fix for Testimonial Quote Mark */
html[dir="rtl"] .testimonial-card::after {
    right: auto;
    left: 40px;
}

/* =========================================
   🔥 ULTIMATE PREMIUM SLIDER STYLES 🔥
   ========================================= */

/* Particles Canvas */
#particles-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Hero Gradient Overlay */
.hero-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(0, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(255, 0, 255, 0.1) 0%, transparent 40%),
        radial-gradient(ellipse at 50% 100%, rgba(255, 215, 0, 0.1) 0%, transparent 50%);
    z-index: 2;
    pointer-events: none;
}

/* Floating Shapes */
.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
    overflow: hidden;
}

.floating-shape {
    position: absolute;
    opacity: 0.3;
}

.shape-circle {
    width: 400px;
    height: 400px;
    border: 2px solid rgba(0, 255, 255, 0.2);
    border-radius: 50%;
    top: -100px;
    right: -100px;
    animation: floatRotate 20s linear infinite;
}

.shape-ring {
    width: 200px;
    height: 200px;
    border: 3px solid rgba(255, 0, 255, 0.15);
    border-radius: 50%;
    bottom: 20%;
    left: 5%;
    animation: floatPulse 15s ease-in-out infinite;
}

.shape-dot {
    width: 8px;
    height: 8px;
    background: #ffd700;
    border-radius: 50%;
    top: 30%;
    left: 20%;
    box-shadow: 0 0 20px #ffd700;
    animation: floatDot 10s ease-in-out infinite;
}

.shape-triangle {
    width: 0;
    height: 0;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-bottom: 86px solid rgba(0, 255, 255, 0.1);
    bottom: 30%;
    right: 10%;
    animation: floatSpin 25s linear infinite;
}

.shape-square {
    width: 60px;
    height: 60px;
    border: 2px solid rgba(255, 215, 0, 0.2);
    top: 60%;
    left: 80%;
    animation: floatSquare 18s ease-in-out infinite;
    transform: rotate(45deg);
}

@keyframes floatRotate {
    0% {
        transform: rotate(0deg) scale(1);
    }

    50% {
        transform: rotate(180deg) scale(1.1);
    }

    100% {
        transform: rotate(360deg) scale(1);
    }
}

@keyframes floatPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.3;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.1;
    }
}

@keyframes floatDot {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-50px) scale(1.5);
    }
}

@keyframes floatSpin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes floatSquare {

    0%,
    100% {
        transform: rotate(45deg) translateY(0);
    }

    50% {
        transform: rotate(225deg) translateY(-30px);
    }
}

/* Slide Background */
.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
    transition: transform 8s ease-out;
}

.slide.active .slide-bg {
    transform: scale(1.1);
}

.slide-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
            rgba(15, 32, 39, 0.95) 0%,
            rgba(32, 58, 67, 0.85) 50%,
            rgba(44, 83, 100, 0.9) 100%);
}

/* Slide Content Wrapper */
.slide-content-wrapper {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5%;
}

/* Premium Glass Effect */
.glass-premium {
    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: 2rem;
    padding: 3.5rem;
    max-width: 800px;
    text-align: center;
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: glassAppear 1s ease forwards;
    opacity: 0;
    transform: translateY(30px);
}

.slide.active .glass-premium {
    opacity: 1;
    transform: translateY(0);
}

@keyframes glassAppear {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Slide Badge */
.slide-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid rgba(0, 255, 255, 0.3);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    color: #00ffff;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #00ff00;
    border-radius: 50%;
    animation: badgePulse 2s infinite;
}

.badge-dot.pulse {
    background: #ff00ff;
}

@keyframes badgePulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.5);
    }
}

@keyframes animate-bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

.animate-bounce {
    animation: animate-bounce 2s ease-in-out infinite;
}

/* Glitch Effect for Title */
.slide-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #00ffff 50%, #ff00ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.slide-title.glitch {
    animation: slideInTitle 1s ease forwards;
    opacity: 0;
    transform: translateY(30px);
}

.slide.active .slide-title.glitch {
    animation-delay: 0.2s;
}

@keyframes slideInTitle {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-title.glitch::before,
.slide-title.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ffffff 0%, #00ffff 50%, #ff00ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
}

.slide-title.glitch:hover::before {
    animation: glitchTop 0.5s linear infinite alternate-reverse;
    clip-path: polygon(0 0, 100% 0, 100% 33%, 0 33%);
    opacity: 0.8;
}

.slide-title.glitch:hover::after {
    animation: glitchBottom 0.5s linear infinite alternate-reverse;
    clip-path: polygon(0 67%, 100% 67%, 100% 100%, 0 100%);
    opacity: 0.8;
}

@keyframes glitchTop {
    0% {
        transform: translateX(-3px);
    }

    100% {
        transform: translateX(3px);
    }
}

@keyframes glitchBottom {
    0% {
        transform: translateX(3px);
    }

    100% {
        transform: translateX(-3px);
    }
}

/* Slide Description */
.slide-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
    line-height: 1.7;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.4s;
    opacity: 0;
}

.slide.active .slide-description {
    opacity: 1;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* CTA Buttons */
.slide-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.6s;
    opacity: 0;
}

.slide.active .slide-cta {
    opacity: 1;
}

.btn-primary {
    background: linear-gradient(135deg, #ffd700 0%, #ff8c00 100%);
    color: #000;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(255, 215, 0, 0.4);
}

.pulse-glow {
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {

    0%,
    100% {
        box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
    }

    50% {
        box-shadow: 0 10px 50px rgba(255, 215, 0, 0.5), 0 0 40px rgba(255, 215, 0, 0.3);
    }
}

.arrow-icon {
    transition: transform 0.3s;
}

.btn-primary:hover .arrow-icon {
    transform: translateX(5px);
}

.btn-outline {
    background: transparent;
    color: #fff;
    padding: 1rem 2rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    border-color: #00ffff;
    color: #00ffff;
    background: rgba(0, 255, 255, 0.1);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.2);
}

/* Stats in Slider */
.slide-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.8s;
    opacity: 0;
}

.slide.active .slide-stats {
    opacity: 1;
}

.stat-item {
    text-align: center;
}

.stat-item .stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
}

.stat-item .stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Tech Stack Badges */
.tech-stack-mini {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 2rem;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.8s;
    opacity: 0;
}

.slide.active .tech-stack-mini {
    opacity: 1;
}

.tech-badge {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s;
}

.tech-badge:hover {
    background: rgba(0, 255, 255, 0.1);
    border-color: #00ffff;
    color: #00ffff;
    transform: translateY(-2px);
}

/* Modern Slider Controls */
.slider-controls-modern {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    box-sizing: border-box;
    transform: translateY(-50%);
    z-index: 20;
    pointer-events: none;
}

.control-btn-modern {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.7);
}

.control-btn-modern:hover {
    background: rgba(0, 255, 255, 0.2);
    border-color: #00ffff;
    color: #00ffff;
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.3);
}

/* Arrow Styles */
.arrow-left,
.arrow-right {
    font-size: 1.5rem;
    font-weight: bold;
    color: inherit;
    line-height: 1;
}

/* Progress Bar Navigation */
.slider-progress-nav {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 2rem;
    z-index: 20;
}

.progress-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    opacity: 0.5;
    transition: all 0.3s;
}

.progress-item.active {
    opacity: 1;
}

.progress-bar {
    width: 60px;
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    display: block;
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #00ffff, #ffd700);
    border-radius: 2px;
}

.progress-item.active .progress-fill {
    width: 100%;
    transition: width 6s linear;
}

.progress-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
}

.progress-item:hover .progress-label {
    color: #00ffff;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    right: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    z-index: 20;
    animation: scrollBounce 2s infinite;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: #00ffff;
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: wheelScroll 2s infinite;
}

@keyframes wheelScroll {
    0% {
        opacity: 1;
        top: 8px;
    }

    100% {
        opacity: 0;
        top: 20px;
    }
}

@keyframes scrollBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(10px);
    }
}

.scroll-indicator span {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Phone Mockup Preview */
.app-preview-mini {
    margin-top: 2rem;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.8s;
    opacity: 0;
}

.slide.active .app-preview-mini {
    opacity: 1;
}

.phone-mockup {
    width: 120px;
    height: 240px;
    background: linear-gradient(180deg, #1a1a2e, #16213e);
    border-radius: 20px;
    margin: 0 auto;
    padding: 8px;
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    border-radius: 12px;
    animation: phoneGlow 3s ease-in-out infinite;
}

@keyframes phoneGlow {

    0%,
    100% {
        box-shadow: inset 0 0 20px rgba(0, 255, 255, 0.1);
    }

    50% {
        box-shadow: inset 0 0 40px rgba(0, 255, 255, 0.3);
    }
}

/* =========================================
   🎨 ADDITIONAL STUNNING EFFECTS
   ========================================= */

/* Neon Glow Text */
.neon-text {
    text-shadow:
        0 0 5px #00ffff,
        0 0 10px #00ffff,
        0 0 20px #00ffff,
        0 0 40px #00ffff;
}

/* Aurora Background Effect */
.aurora-bg {
    position: relative;
    overflow: hidden;
}

.aurora-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        conic-gradient(from 0deg at 50% 50%,
            transparent 0deg,
            rgba(0, 255, 255, 0.1) 60deg,
            transparent 120deg,
            rgba(255, 0, 255, 0.1) 180deg,
            transparent 240deg,
            rgba(255, 215, 0, 0.1) 300deg,
            transparent 360deg);
    animation: auroraRotate 20s linear infinite;
    z-index: 0;
}

@keyframes auroraRotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Gradient Border Animation */
.gradient-border {
    position: relative;
    background: transparent;
    border: none;
}

.gradient-border::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 2px;
    background: linear-gradient(135deg, #00ffff, #ff00ff, #ffd700, #00ffff);
    background-size: 400% 400%;
    border-radius: inherit;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask-composite: xor;
    animation: gradientMove 5s ease infinite;
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Holographic Effect */
.holographic {
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.3) 0%,
            rgba(0, 255, 255, 0.2) 25%,
            rgba(255, 0, 255, 0.2) 50%,
            rgba(255, 215, 0, 0.2) 75%,
            rgba(255, 255, 255, 0.3) 100%);
    background-size: 200% 200%;
    animation: holographicShift 3s ease infinite;
}

@keyframes holographicShift {
    0% {
        background-position: 0% 0%;
    }

    50% {
        background-position: 100% 100%;
    }

    100% {
        background-position: 0% 0%;
    }
}

/* Cyber Grid Overlay */
.cyber-grid {
    position: relative;
}

.cyber-grid::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(0, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    pointer-events: none;
}

/* Spotlight Effect on Hover */
.spotlight-container {
    position: relative;
    overflow: hidden;
}

.spotlight-container::before {
    content: '';
    position: absolute;
    top: var(--mouse-y, 0);
    left: var(--mouse-x, 0);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 255, 255, 0.15) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s;
}

.spotlight-container:hover::before {
    opacity: 1;
}

/* Card 3D Tilt Effect */
.tilt-card {
    transform-style: preserve-3d;
    transition: transform 0.5s ease;
}

.tilt-card:hover {
    transform: perspective(1000px) rotateX(5deg) rotateY(5deg);
}

/* Morphing Blob Background */
.morph-blob {
    position: absolute;
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.3), rgba(255, 0, 255, 0.3));
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    filter: blur(60px);
    animation: morphBlob 15s ease-in-out infinite;
}

@keyframes morphBlob {
    0% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }

    50% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    }

    100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
}

/* RTL Adjustments for New Slider */
html[dir="rtl"] .slide-cta {
    flex-direction: row-reverse;
}

html[dir="rtl"] .btn-primary .arrow-icon {
    transform: rotate(180deg);
}

html[dir="rtl"] .btn-primary:hover .arrow-icon {
    transform: rotate(180deg) translateX(-5px);
}

html[dir="rtl"] .scroll-indicator {
    right: auto;
    left: 3rem;
}

html[dir="rtl"] .slider-controls-modern {
    flex-direction: row-reverse;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .slide-title {
        font-size: 2rem;
    }

    .slide-description {
        font-size: 1rem;
    }

    .glass-premium {
        padding: 2rem;
        margin: 1rem;
    }

    .slide-stats {
        gap: 1.5rem;
    }

    .stat-item .stat-number {
        font-size: 1.8rem;
    }

    .slider-progress-nav {
        gap: 1rem;
    }

    .progress-bar {
        width: 40px;
    }

    .floating-shapes {
        display: none;
    }

    .control-btn-modern {
        width: 40px;
        height: 40px;
    }

    .scroll-indicator {
        display: none;
    }
}

/* ============================================
   COMPREHENSIVE MOBILE RESPONSIVE STYLES
   For All Pages
   ============================================ */

/* ===== GLOBAL MOBILE STYLES ===== */
@media (max-width: 1024px) {

    /* Body & Container */
    body {
        padding-top: 70px;
    }

    .section {
        padding: 3rem 1rem;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    /* Glass Cards */
    .glass {
        padding: 1.5rem;
        margin: 0.5rem;
    }

    /* Grid Layouts */
    .services-grid,
    .case-study-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    /* Buttons */
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {

    /* Page Header */
    .page-header {
        padding: 8rem 1.5rem 3rem;
        text-align: center;
    }

    .page-header h1 {
        font-size: 2rem;
        line-height: 1.3;
    }

    .page-header p {
        font-size: 1rem;
        padding: 0 1rem;
    }

    /* Section Titles */
    .section-title {
        font-size: 1.8rem;
        padding: 0 1rem;
    }

    .section-title::after {
        width: 60px;
        height: 3px;
    }

    /* Feature Boxes */
    .feature-box {
        padding: 1.5rem;
    }

    .feature-icon {
        font-size: 2rem;
    }

    .feature-box h3 {
        font-size: 1.2rem;
    }

    .feature-box p {
        font-size: 0.9rem;
    }

    /* Case Study Cards */
    .case-card {
        height: 250px !important;
    }

    .case-overlay h3 {
        font-size: 1.2rem !important;
    }

    .case-overlay p {
        font-size: 0.85rem !important;
    }

    /* Testimonial Cards */
    .testimonial-card {
        padding: 1.5rem;
    }

    .testimonial-card p {
        font-size: 0.9rem;
        min-height: auto !important;
    }

    .client-info {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .client-avatar {
        margin-right: 0;
    }

    /* Stats */
    .stat-number {
        font-size: 2.5rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    /* Timeline */
    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 50px;
        padding-right: 1rem;
        text-align: left !important;
    }

    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        left: 0;
        text-align: left;
    }

    .timeline-item:nth-child(odd) .timeline-dot,
    .timeline-item:nth-child(even) .timeline-dot {
        left: 10px;
        right: auto;
    }

    /* Pricing Cards */
    .pricing-card {
        padding: 2rem 1.5rem;
    }

    .pricing-card h3 {
        font-size: 1.3rem;
    }

    .pricing-card .price {
        font-size: 2rem;
    }

    /* Contact Page */
    .contact-grid,
    [style*="grid-template-columns: 1fr 1.5fr"] {
        display: flex !important;
        flex-direction: column !important;
        gap: 2rem !important;
    }

    /* Forms */
    .form-group {
        margin-bottom: 1rem;
    }

    .form-input,
    .form-textarea {
        padding: 1rem;
        font-size: 16px;
        /* Prevents zoom on iOS */
    }

    /* Footer */
    .site-footer .container,
    footer .container {
        grid-template-columns: 1fr !important;
        text-align: center;
        gap: 2rem !important;
    }

    footer ul {
        text-align: center;
    }

    footer li {
        justify-content: center;
    }

    /* Marquee */
    .marquee-logo {
        height: 50px;
        margin: 0 2rem;
    }

    .partner-logo {
        font-size: 1rem !important;
        margin: 0 1.5rem !important;
    }

    /* CTA Section */
    .cta-section,
    [style*="padding: 10rem 2rem"] {
        padding: 5rem 1rem !important;
    }

    .cta-section h2,
    .glass h2 {
        font-size: 1.8rem !important;
    }

    /* Workflow Cards */
    .workflow-card {
        padding: 1.5rem;
    }

    .workflow-card h3 {
        font-size: 1.1rem;
    }

    /* Team Cards */
    .team-card {
        padding: 1.5rem;
    }

    .team-avatar {
        width: 80px;
        height: 80px;
    }

    /* Blog/Article Cards */
    .blog-card,
    .article-card {
        padding: 1.5rem;
    }

    /* Job Cards */
    .job-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .job-card .btn {
        width: 100%;
    }

    /* Portfolio Filter */
    .portfolio-filter {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    /* Hide decorative elements on mobile */
    .shape-blob,
    .shape-1,
    .shape-2,
    .shape-3 {
        display: none;
    }

    /* Social Sidebar - hide on mobile */
    .social-sidebar {
        display: none;
    }

    /* Terminal Window */
    .terminal-window {
        margin: 0 1rem;
    }

    .terminal-body {
        font-size: 0.75rem;
        min-height: 150px !important;
    }

    /* Service Cards */
    .service-card {
        padding: 1.5rem;
    }

    .service-icon {
        font-size: 2.5rem;
    }

    /* Slider Controls */
    .slider-controls {
        padding: 0 1rem;
    }

    .control-btn {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    /* Row/Col system (if using Bootstrap-like classes) */
    .row {
        flex-direction: column;
    }

    .col-md-6 {
        width: 100%;
    }
}

@media (max-width: 480px) {

    /* Extra small screens */
    body {
        padding-top: 65px;
    }

    .page-header {
        padding: 7rem 1rem 2rem;
    }

    .page-header h1 {
        font-size: 1.6rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .glass {
        padding: 1.2rem;
        border-radius: 0.8rem;
    }

    .btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
        width: 100%;
        text-align: center;
    }

    .feature-box,
    .testimonial-card,
    .pricing-card,
    .workflow-card {
        padding: 1.2rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    /* Slide content on very small screens */
    .slide-content {
        padding: 1.5rem;
    }

    .slide-content h1 {
        font-size: 1.8rem;
    }

    .slide-content p {
        font-size: 0.95rem;
    }
}

/* ===== RTL MOBILE ADJUSTMENTS ===== */
@media (max-width: 768px) {
    html[dir="rtl"] .timeline-item {
        padding-left: 1rem;
        padding-right: 50px;
        text-align: right !important;
    }

    html[dir="rtl"] .timeline-item:nth-child(odd) .timeline-dot,
    html[dir="rtl"] .timeline-item:nth-child(even) .timeline-dot {
        left: auto;
        right: 10px;
    }

    html[dir="rtl"] .client-info {
        text-align: center;
    }

    html[dir="rtl"] .mobile-nav-close {
        right: auto;
        left: 1.5rem;
    }
}