@import url('https://fonts.googleapis.com/css2?family=Playwrite+AU+QLD:wght@100..400&family=Tajawal:wght@200;300;400;500;700;800;900&display=swap');

body {
    box-sizing: border-box;
    background-color: #0f0f0f;
    color: #ffffff;
}

.video-badge {
    background: #0a0a0a;
    color: #fff;
    font-size: 0.75rem;
}

.center {
    margin: 0 auto;
}

.fill-current {
    fill: rgb(250 204 21 / var(--tw-bg-opacity, 1)) !important;
    color: rgb(250 204 21 / var(--tw-bg-opacity, 1)) !important;
}

.fill-white {
    fill: #fff !important;
    color: #fff;
}
/* RTL Support */
[dir="rtl"] {
    text-align: right;
    font-family: "Tajawal", sans-serif;
}

    [dir="rtl"] .flex {
        /*flex-direction: row-reverse;*/
    }

    [dir="rtl"] .text-left {
        text-align: right;
    }

    [dir="rtl"] .text-right {
        text-align: left;
    }

    [dir="rtl"] .mr-2 {
        margin-right: 0;
        margin-left: 0.5rem;
    }

    [dir="rtl"] .mr-3 {
        margin-right: 0;
        margin-left: 0.75rem;
    }

    [dir="rtl"] .mr-4 {
        margin-right: 0;
        margin-left: 1rem;
    }

    [dir="rtl"] .ml-2 {
        margin-left: 0;
        margin-right: 0.5rem;
    }

    [dir="rtl"] .space-x-4 > :not([hidden]) ~ :not([hidden]) {
        margin-right: 14px !important;
        margin-left : 0 !important;
    }

/* Language Toggle Button */
.lang-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    background: rgba(30, 30, 30, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    padding: 8px 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

[dir="rtl"] .lang-toggle {
    right: auto;
    left: 20px;
}

.lang-toggle:hover {
    background: rgba(40, 40, 40, 1);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Theme Toggle Button */
.theme-toggle {
    position: fixed;
    top: 20px;
    right: 120px;
    z-index: 1000;
    background: rgba(30, 30, 30, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    padding: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

[dir="rtl"] .theme-toggle {
    right: auto;
    left: 120px;
}

.theme-toggle:hover {
    background: rgba(40, 40, 40, 1);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Light theme styles */
body.light-theme {
    background-color: #f9fafb;
    color: #111827;
}

    body.light-theme .lang-toggle,
    body.light-theme .theme-toggle {
        background: rgba(255, 255, 255, 0.9);
        color: #111827;
        border: 1px solid rgba(0, 0, 0, 0.1);
    }

        body.light-theme .lang-toggle:hover,
        body.light-theme .theme-toggle:hover {
            background: rgba(255, 255, 255, 1);
            border-color: rgba(0, 0, 0, 0.2);
        }

    body.light-theme .gradient-bg {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    }

    body.light-theme .dark-section {
        background-color: #ffffff;
    }

    body.light-theme .darker-section {
        background-color: #f3f4f6;
    }

    body.light-theme .card-hover {
        background-color: #ffffff;
        border: 1px solid rgba(0, 0, 0, 0.1);
        color: #111827;
    }

        /* Fix image card titles */
        body.light-theme .card-hover .bg-gray-800 {
            background-color: #1f2937 !important;
        }

            body.light-theme .card-hover .bg-gray-800 h3 {
                color: #ffffff !important;
            }

        body.light-theme .card-hover:hover {
            border-color: rgba(0, 0, 0, 0.2);
            background-color: #f9fafb;
        }

    body.light-theme .testimonial-card {
        background-color: #ffffff;
        border: 1px solid rgba(0, 0, 0, 0.1);
        color: #111827;
    }

    body.light-theme .faq-button {
        background-color: #ffffff;
        border: 1px solid rgba(0, 0, 0, 0.1);
        color: #111827;
    }

        body.light-theme .faq-button:hover {
            background-color: #f3f4f6;
        }

    body.light-theme .pricing-card {
        background-color: #ffffff;
        border: 1px solid rgba(0, 0, 0, 0.1);
        color: #111827;
    }

    body.light-theme h1,
    body.light-theme h2,
    body.light-theme h3,
    body.light-theme h4 {
        color: #111827;
    }

    /* Fix main title in header */
    body.light-theme .gradient-bg h1 {
        color: #ffffff !important;
    }

    body.light-theme .text-white {
        color: #111827 !important;
    }

    body.light-theme .text-gray-300 {
        color: #6b7280 !important;
    }

    body.light-theme .text-gray-400 {
        color: #9ca3af !important;
    }

    /* Light theme badge and text fixes */
    body.light-theme .bg-purple-600,
    body.light-theme .bg-green-600,
    body.light-theme .bg-yellow-600,
    body.light-theme .bg-red-600,
    body.light-theme .bg-blue-600,
    body.light-theme .bg-indigo-600,
    body.light-theme .bg-pink-600 {
        color: #ffffff !important;
    }

    /* Fix pricing section text in light mode */
    body.light-theme .gradient-bg h2,
    body.light-theme .gradient-bg p {
        color: #ffffff !important;
    }

    body.light-theme .text-purple-400 {
        color: #7c3aed !important;
    }

    body.light-theme .text-green-400 {
        color: #059669 !important;
    }

    body.light-theme .text-yellow-400 {
        color: #d97706 !important;
    }

    body.light-theme .text-red-400 {
        color: #dc2626 !important;
    }

    body.light-theme .text-blue-400 {
        color: #2563eb !important;
    }

    body.light-theme .text-indigo-400 {
        color: #4f46e5 !important;
    }

    body.light-theme .text-pink-400 {
        color: #db2777 !important;
    }

    /* Professional Quality section light theme */
    body.light-theme .bg-black {
        background-color: #f3f4f6 !important;
    }

        body.light-theme .bg-black h2 {
            color: #111827 !important;
        }

    body.light-theme footer {
        background-color: #f3f4f6 !important;
    }

        body.light-theme footer h3,
        body.light-theme footer h4,
        body.light-theme footer p,
        body.light-theme footer a,
        body.light-theme footer li {
            color: #111827 !important;
        }

            body.light-theme footer a:hover {
                color: #4f46e5 !important;
            }

    /* Don't Miss Out section light theme */
    body.light-theme .bg-red-700 {
        background-color: #dc2626 !important;
    }

        body.light-theme .bg-red-700 h2,
        body.light-theme .bg-red-700 p,
        body.light-theme .bg-red-700 span {
            color: #ffffff !important;
        }

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes bubble {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-100px) scale(1);
        opacity: 0;
    }
}

@keyframes sparkle {
    0%, 100% {
        opacity: 0;
        transform: scale(0);
    }

    50% {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease-out forwards;
}

.animate-pulse-custom {
    animation: pulse 2s ease-in-out infinite;
}

.gradient-bg {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f0f0f 100%);
    position: relative;
    overflow: hidden;
}

.bubble {
    position: absolute;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    animation: bubble 8s infinite linear;
}

.sparkle {
    position: absolute;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: sparkle 3s infinite ease-in-out;
}

.card-hover {
    transition: all 0.3s ease;
    background-color: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

    .card-hover:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 40px rgba(0,0,0,0.3);
        border-color: rgba(255, 255, 255, 0.2);
        background-color: #222222;
    }

.star-filled {
    color: #fbbf24;
}

.dark-section {
    background-color: #111111;
}

.darker-section {
    background-color: #0a0a0a;
}

.testimonial-card {
    background-color: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-button {
    background-color: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

    .faq-button:hover {
        background-color: #222222;
    }

.pricing-card {
    background-color: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.light-theme .faq-button .text-white:hover {
    color: #fff !important;
}

button {
    cursor: pointer !important;
}
a {
    cursor: pointer !important;
}
