.btn,
.section-title {
    display: inline-block;
    position: relative;
}

.btn,
.section-title,
.top-bar-ad,
body,
section {
    position: relative;
}

.btn::before,
.top-bar-ad::before {
    z-index: -1;
    position: absolute;
    content: '';
}

.btn,
.top-bar-ad .ad-slide {
    color: #fff;
    font-weight: 600;
}

.btn,
.logo,
.social-links a {
    text-decoration: none;
}

#languageToggle,
.btn,
.mid-page-ad,
.top-bar-ad {
    overflow: hidden;
}

#languageToggle i,
#languageToggle span {
    transition: transform .3s;
}

#languageToggle,
#languageToggle:hover {
    background: linear-gradient(135deg, #d148163e, #000);
}

.btn,
.floating-ad,
.top-bar-ad,
body,
header {
    transition: var(--transition);
}

.floating-ad .ad-content,
.hero,
.text-center,
.top-bar-ad .ad-slide {
    text-align: center;
}

.btn,
.header-btn,
body {
    font-family: Tajawal, sans-serif;
}

.footer-links ul,
.nav-links,
.why-card ul {
    list-style: none;
}

.hero,
.wrap {
    min-height: 100vh;
}

:root {
    --primary: rgb(244, 80, 24);
    --primary-light: rgba(244, 80, 24, 0.1);
    --primary-dark: #d14916;
    --primary-transparent: rgba(244, 80, 24, 0.8);
    --dark: #1a1a1a;
    --darker: #111;
    --light: #ffffff;
    --gray: #f5f5f5;
    --dark-gray: #333;
    --text: #333;
    --text-light: #666;
    --background: #ffffff;
    --card-bg: #f9f9f9;
    --shadow: rgba(0, 0, 0, 0.1);
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --transition-fast: all 0.2s ease;
    --radius: 12px;
    --radius-lg: 20px;
    --header-height: 80px;
    --section-padding: 120px;
    --card-width: 380px;
    --card-height: 420px;
    --gap-size: 1.25rem;
    --bg-color: #0f1720;
    --text-color: #fff;
    --hover-glow-color: #0000002c;
}

.dark-mode {
    --background: #1a1a1a;
    --card-bg: #222;
    --text: #f0f0f0;
    --text-light: #ccc;
    --gray: #2d2d2d;
    --shadow: rgba(0, 0, 0, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--background);
    color: var(--text);
    direction: rtl;
    line-height: 1.6;
    overflow-x: hidden;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--gray);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: var(--section-padding) 0;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 40px;
    line-height: 1.2;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    right: 0;
    width: 80%;
    height: 5px;
    background: var(--primary);
    border-radius: 3px;
    animation: 1s forwards lineExpand;
}

.btn,
.theme-toggle {
    border: none;
    cursor: pointer;
}

@keyframes lineExpand {
    from {
        width: 0;
    }

    to {
        width: 80%;
    }
}

.text-center .section-title::after {
    right: 50%;
    transform: translateX(50%);
}

.btn {
    padding: 16px 40px;
    background-color: var(--primary);
    border-radius: 50px;
    font-size: 1.1rem;
    z-index: 1;
    box-shadow: 0 5px 15px rgba(244, 80, 24, .3);
}

.btn::before {
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: rgba(255, 255, 255, .2);
    transition: width .5s;
}

.btn:hover::before,
.nav-links a:hover::after {
    width: 100%;
}

.btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(244, 80, 24, .4);
    background: var(--primary-dark);
}

.btn-outline {
    background: 0 0;
    border: 2px solid var(--primary);
    color: var(--primary);
    box-shadow: none;
}

.btn-outline:hover,
.floating-ad .ad-close:hover {
    background: var(--primary);
    color: #fff;
}

.top-bar-ad {
    flex: 1;
    margin: 0 20px;
    height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg, rgba(244, 80, 24, .15) 0, rgba(255, 255, 255, .1) 50%, rgba(244, 80, 24, .15) 100%);
    border-radius: 30px;
    max-width: 420px;
    border: 1px solid rgba(255, 255, 255, .1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, .1), inset 0 1px 1px rgba(255, 255, 255, .6);
}

.floating-ad,
.mid-page-ad {
    background: var(--card-bg);
}

.top-bar-ad::before {
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(90deg, var(--primary), #ff9c6e, var(--primary));
    border-radius: 32px;
    opacity: .7;
    background-size: 200% auto;
    animation: 3s linear infinite gradientBorder;
}

@keyframes gradientBorder {
    0% {
        background-position: 0 center;
    }

    100% {
        background-position: 200% center;
    }
}

.top-bar-ad .ad-slide {
    position: absolute;
    width: 100%;
    opacity: 0;
    transition: .6s cubic-bezier(.16, 1, .3, 1);
    font-size: .95rem;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .2);
}

.top-bar-ad .ad-slide i {
    font-size: 1.1rem;
    animation: 2s infinite bounce;
    color: var(--primary);
    filter: drop-shadow(0 0 2px rgba(0, 0, 0, .3));
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-3px);
    }
}

.top-bar-ad .ad-slide:first-child {
    opacity: 1;
}

.top-bar-ad .slide-indicator {
    position: absolute;
    bottom: 5px;
    display: flex;
    gap: 4px;
}

.top-bar-ad .slide-indicator span {
    display: block;
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, .3);
    border-radius: 50%;
    transition: .3s;
}

.top-bar-ad .slide-indicator span.active {
    background: #fff;
    transform: scale(1.2);
}

.top-bar-ad:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, .15), inset 0 1px 1px rgba(255, 255, 255, .3);
}

.top-bar-ad:hover::before {
    animation-duration: 1.5s;
}

.mid-page-ad {
    position: relative;
    padding: 40px 20px;
}

.mid-page-ad .ad-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 40px var(--shadow);
}

.mid-page-ad video {
    width: 100%;
    display: block;
}

.mid-page-ad .ad-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, .4);
    color: #fff;
    text-align: center;
    padding: 20px;
}

.mid-page-ad .ad-overlay h3 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.mid-page-ad .ad-overlay p {
    font-size: 1.2rem;
    margin-bottom: 25px;
    max-width: 600px;
}

.floating-ad {
    position: fixed;
    top: 50%;
    width: 150px;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px var(--shadow);
    z-index: 998;
    left: 5px;
    transform: translateY(-20%);
    opacity: 0;
    visibility: hidden;
    border: 1px solid rgba(244, 80, 24, .2);
    background-color: rgba(255, 255, 255, .519);
    backdrop-filter: blur(10px);
}

.floating-ad.visible {
    transform: translateY(-50%);
    opacity: 1;
    visibility: visible;
}

.floating-ad .ad-close {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .1);
    border-radius: 50%;
    color: var(--text);
    cursor: pointer;
    transition: var(--transition-fast);
}

.floating-ad .ad-content {
    padding: 25px;
}

.floating-ad h4 {
    color: var(--primary);
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.floating-ad p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: .95rem;
}

.floating-ad .btn {
    padding: 10px 25px;
    font-size: .9rem;
}

@media (max-width: 768px) {
    .top-bar-ad {
        height: 32px;
        max-width: 300px;
        margin: 0 10px;
        display: none;
    }

    .top-bar-ad .ad-slide {
        font-size: .85rem;
        padding: 0 12px;
        gap: 6px;
    }

    .top-bar-ad .ad-slide i {
        font-size: 1rem;
    }

    .floating-ad {
        width: 250px;
        right: 15px;
    }

    .ad-banners h2 {
        font-size: 2rem;
    }

    .ad-banners p {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .floating-ad {
        width: 90%;
        right: 5%;
        bottom: 20px;
    }

    .ad-banners {
        padding: 60px 0;
    }

    .banner-placeholder {
        height: 120px;
        font-size: 1.4rem;
    }
}

.top-bar {
    background-color: var(--dark);
    color: #fff;
    padding: 8px 0;
    margin-bottom: 0;
    position: relative;
    z-index: 1001;
}

.header-content,
.top-bar-content {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
}

.top-bar-content {
    justify-content: space-between;
    align-items: center;
    width: 90%;
    height: 3.5rem;
}

.social-links {
    display: flex;
    gap: 10px;
    padding: 2px 15px;
    border-radius: 30px;
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.social-links a {
    color: rgba(255, 255, 255, .8);
    font-size: 1.2rem;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: .4s cubic-bezier(.16, 1, .3, 1);
    position: relative;
}

.social-links a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    filter: drop-shadow(0 0 8px currentColor);
    opacity: 0;
    transition: opacity .3s;
}

.social-links a:hover {
    color: #fff;
    opacity: 1;
}

.logo,
.nav-links a:hover {
    color: var(--primary);
}

.social-links a:hover::after {
    opacity: .4;
}

.social-links a.facebook:hover {
    color: #9ab8ff;
}

.social-links a.twitter:hover {
    color: #8accff;
}

.social-links a.instagram:hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.social-links a.linkedin:hover {
    color: #82c8ff;
}

.social-links a.youtube:hover {
    color: #ff9d9d;
}

.social-links a.github:hover {
    color: #d2d2d2;
}

.header-actions,
.top-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.theme-toggle {
    background: 0 0;
    padding: 8px;
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: .3s;
}

.floating-btn-mobile,
.header-btn,
.logo span::after,
.nav-links a::after {
    background: var(--primary);
}

.theme-toggle:hover {
    background: rgba(0, 0, 0, .05);
}

.theme-toggle i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.2rem;
    transition: .3s;
    color: var(--text-color, #333);
    color: #fff;
    filter: drop-shadow(0 0 10px #2859ebcc);
}

.dark-mode .theme-toggle .fa-moon,
.theme-toggle .fa-sun {
    opacity: 0;
    transform: translate(-50%, -50%) scale(.5);
}

.dark-mode .theme-toggle .fa-sun {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    color: #ffeb3b;
    filter: drop-shadow(0 0 10px #ffeb3b);
}

.language-switch {
    display: inline-block;
    perspective: 500px;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, .1));
}

#languageToggle {
    color: #fff;
    border: none;
    padding: 8px 15px;
    border-radius: 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-family: 'Segoe UI', sans-serif;
    transition: .4s cubic-bezier(.25, .8, .25, 1);
    position: relative;
    box-shadow: 0 4px 6px rgba(0, 0, 0, .1), inset 0 1px 0 rgba(255, 255, 255, .2);
}

#languageToggle i {
    font-size: 1.1rem;
}

#languageToggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, .15), inset 0 1px 0 rgba(255, 255, 255, .2);
}

#languageToggle:active {
    transform: translateY(1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, .1), inset 0 1px 0 rgba(255, 255, 255, .2);
}

#languageToggle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, .5);
    opacity: 0;
    border-radius: 100%;
    transform: translate(-50%, -50%) scale(1);
    transition: opacity .5s, transform .5s;
}

#languageToggle:active::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(20);
}

#languageToggle.clicked {
    animation: .4s pulse;
}

header {
    background-color: rgba(255, 255, 255, .95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, .1);
    padding: 0;
    height: var(--header-height);
    border-bottom: 1px solid rgba(0, 0, 0, .05);
}

.dark-mode header {
    background-color: rgba(26, 26, 26, .95);
    border-bottom: 1px solid rgba(255, 255, 255, .05);
}

.dark-mode .top-bar {
    background-color: var(--darker);
}

.scrolled {
    box-shadow: 0 5px 20px rgba(0, 0, 0, .15);
    height: 70px;
}

.header-content {
    justify-content: space-between;
    align-items: center;
    height: 100%;
    width: 90%;
}

.logo,
.logo-section {
    display: flex;
    align-items: center;
}

.logo-section {
    gap: 15px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
}

.header-btn,
.nav-links a {
    font-weight: 600;
    align-items: center;
    text-decoration: none;
    transition: var(--transition);
}

.logo span {
    position: relative;
    display: inline-block;
    padding: 0 5px;
}

.logo span::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 4px;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .4s;
}

.logo:hover span::after {
    transform: scaleX(1);
}

.nav-links {
    display: flex;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin-left: 25px;
}

.nav-links a {
    color: var(--text);
    position: relative;
    padding: 6px 0;
    font-size: 1.1rem;
    display: flex;
    gap: 6px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 3px;
    transition: width .4s;
    border-radius: 2px;
}

.header-btn,
.start-btn {
    color: #fff;
    border: none;
    cursor: pointer;
}

.header-btn {
    padding: 10px 30px;
    border-radius: 50px;
    font-size: 1.1rem;
    display: flex;
    gap: 8px;
}

.form-footer a:hover,
.highlight {
    text-decoration: underline;
}

.header-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(244, 80, 24, .3);
}

.floating-btn-mobile {
    position: fixed;
    bottom: 30px;
    right: 28px;
    color: #fff;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 999;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .2);
}

.mobile-toggle,
.mobile-toggle .hamburger {
    position: relative;
}

.start-btn {
    background-color: var(--primary);
    border-radius: 50px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .2);
    transition: .3s;
    display: none;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 120px;
}

.mobile-toggle,
.sidebar,
.sidebar .nav-links a {
    transition: var(--transition);
}

.start-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, .3);
}

.start-btn:active {
    transform: translateY(1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .2);
}

@media only screen and (max-width: 768px) {
    .floating-btn-mobile {
        display: block;
    }

    .start-btn {
        display: flex;
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    0% {
        box-shadow: 0 0 0 0 rgba(244, 80, 24, .7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(244, 80, 24, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(244, 80, 24, 0);
    }
}

.pulse {
    animation: 1.5s infinite pulse;
}

.mobile-toggle {
    display: none;
    cursor: pointer;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: 0 0;
    justify-content: center;
    align-items: center;
    z-index: 1002;
}

.mobile-toggle .hamburger,
.mobile-toggle .hamburger::after,
.mobile-toggle .hamburger::before {
    width: 24px;
    height: 3.2px;
    transition: var(--transition-fast);
    border-radius: 12px;
    background: var(--primary);
}

.overlay,
.sidebar {
    position: fixed;
    top: 0;
}

.mobile-toggle:hover {
    transform: translateY(-2px);
    filter: drop-shadow(0 0 10px #d148166f);
}

.mobile-toggle:active {
    transform: translateY(-1px);
}

.mobile-toggle .hamburger::after,
.mobile-toggle .hamburger::before {
    content: '';
    position: absolute;
}

.mobile-toggle .hamburger::before {
    top: -8px;
    right: 0;
}

.mobile-toggle .hamburger::after {
    top: 8px;
    right: 0;
}

.mobile-toggle.active .hamburger {
    background: 0 0;
}

.mobile-toggle.active .hamburger::before {
    transform: rotate(45deg);
    top: 0;
    background: var(--primary);
}

.mobile-toggle.active .hamburger::after {
    transform: rotate(-45deg);
    top: 0;
    background: var(--primary);
}

.sidebar {
    right: -320px;
    width: 300px;
    background: var(--background);
    box-shadow: -5px 0 15px rgba(0, 0, 0, .1);
    z-index: 2000;
    padding: 40px 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    height: 100vh;
}

.sidebar.open {
    right: 0;
}

.sidebar .social-links {
    margin-top: 20px;
    justify-content: center;
}

.sidebar .nav-links {
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

.sidebar .nav-links li {
    margin: 0;
}

.sidebar .nav-links a {
    display: block;
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 1.2rem;
}

.sidebar .nav-links a:hover {
    background: var(--primary-light);
}

.sidebar .header-btn {
    width: 100%;
    justify-content: center;
    margin-top: 30px;
    padding: 12px;
}

.sidebar-actions {
    height: 80%;
    margin: 20px auto auto;
    display: flex;
    justify-content: center;
    gap: 15px;
    align-items: center;
}

.overlay {
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, .5);
    z-index: 1999;
    display: none;
    backdrop-filter: blur(5px);
}

.hero,
.hero-content,
.hero-image {
    display: flex;
    position: relative;
}

.overlay.active {
    display: block;
}

.hero {
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background-color: var(--background);
    padding-top: 25px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(244, 80, 24, .05) 0, rgba(255, 255, 255, 0) 100%);
    z-index: 0;
}

.dark-mode .hero::before {
    background: linear-gradient(135deg, rgba(244, 80, 24, .05) 0, rgba(26, 26, 26, 0) 100%);
}

.hero-content {
    align-items: center;
    gap: 60px;
    z-index: 2;
}

.hero-text {
    flex: 1;
    z-index: 2;
    text-align: right;
}

.ad-banners,
.benefit-card,
.copyright,
.deadline,
.footer-links i,
.upload-container {
    text-align: center;
}

.hero h1 {
    font-size: 2.7rem;
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.1;
}

.hero h1 span {
    position: relative;
    background: linear-gradient(90deg, var(--primary), #ff9c6e);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: 6s infinite text-gradient;
    background-size: 200% auto;
}

@keyframes text-gradient {

    0%,
    100% {
        background-position: 0 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 35px;
    color: var(--text-light);
    max-width: 600px;
}

.hero-image {
    flex: 1;
    justify-content: center;
    perspective: 1000px;
}

.hero-image-container {
    position: relative;
    transform-style: preserve-3d;
    animation: 8s ease-in-out infinite float;
}

.hero-image-container img {
    max-width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .15);
    border: 1px solid rgba(244, 80, 24, .1);
    transform: translateZ(20px);
}

.hero-image-container::before,
.why-card {
    border-radius: var(--radius-lg);
    height: 100%;
}

.hero-image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--primary-light);
    transform: translateZ(-20px);
    z-index: -1;
    opacity: .7;
}

.benefits::after,
.why::before {
    z-index: 0;
    content: '';
    position: absolute;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotateY(0);
    }

    50% {
        transform: translateY(-15px) rotateY(5deg);
    }
}

.hero-actions {
    justify-content: start !important;
}

.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.particle {
    position: absolute;
    background: var(--primary);
    border-radius: 50%;
    opacity: .3;
    animation: linear infinite float-particle;
}

@keyframes float-particle {
    0% {
        transform: translateY(0) translateX(0) rotate(0);
    }

    100% {
        transform: translateY(-100vh) translateX(100px) rotate(360deg);
    }
}

.form-section,
.why {
    background-color: var(--gray);
    position: relative;
    overflow: hidden;
}

.why::before {
    bottom: -50%;
    left: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(244, 80, 24, .05) 0, transparent 70%);
    border-radius: 50%;
    animation: 10s infinite pulse;
}

.benefits-grid,
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
    margin-top: 50px;
    position: relative;
    z-index: 1;
}

.benefit-card,
.why-card {
    background: var(--card-bg);
    box-shadow: 0 10px 30px var(--shadow);
    z-index: 2;
    display: flex;
    transition: var(--transition);
    overflow: hidden;
}

.why-card {
    padding: 40px;
    position: relative;
    border: 1px solid rgba(244, 80, 24, .1);
    flex-direction: column;
}

.benefit-card,
.who-card {
    border-radius: var(--radius-lg);
    position: relative;
}

.benefit-card:hover,
.why-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .15);
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 5px;
    height: 0;
    background: var(--primary);
    transition: height .6s;
}

.why-card:hover::before {
    height: 100%;
}

.why-card h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 15px;
}

.why-card h3 i {
    font-size: 2rem;
}

.why-card ul {
    padding: 0;
    flex-grow: 1;
}

.why-card li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    position: relative;
    padding-right: 25px;
    font-size: 1.1rem;
}

.why-card li::before {
    content: '✓';
    color: #4caf50;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
    position: absolute;
    right: 0;
}

.benefits {
    position: relative;
    overflow: hidden;
}

.benefits::after {
    top: -20%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(244, 80, 24, .05) 0, transparent 70%);
    border-radius: 50%;
    animation: 12s infinite pulse;
}

.benefit-card {
    padding: 40px 30px;
    border: 1px solid rgba(244, 80, 24, .1);
    flex-direction: column;
    align-items: center;
}

.benefit-card h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.benefit-card p {
    margin-bottom: 20px;
    color: var(--text-light);
    flex-grow: 1;
    font-size: 1.1rem;
}

.benefit-icon {
    font-size: 3.5rem;
    color: var(--primary);
    margin-bottom: 25px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100px;
    height: 100px;
    background: rgba(244, 80, 24, .1);
    border-radius: 50%;
    transition: var(--transition);
}

.benefit-card:hover .benefit-icon,
.benefit-tag,
.deadline {
    background: var(--primary);
    color: #fff;
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.1);
}

.benefit-tag {
    padding: 5px 15px;
    border-radius: 50px;
    font-size: .9rem;
    font-weight: 600;
    margin-top: 15px;
}

.deadline {
    padding: 20px;
    border-radius: var(--radius);
    animation: 2s infinite pulse;
    max-width: 600px;
    margin: 40px auto 0;
    position: relative;
    z-index: 1;
    font-size: 1.2rem;
}

.who {
    background: linear-gradient(135deg, var(--primary) 0, #ff9c6e 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.who::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, .1) 0, transparent 70%);
    border-radius: 50%;
    z-index: 1;
}

.who-card {
    background: rgba(255, 255, 255, .15);
    box-shadow: 0 4px 30px rgba(0, 0, 0, .1);
    backdrop-filter: blur(9.3px);
    -webkit-backdrop-filter: blur(9.3px);
    border: 1px solid rgba(255, 255, 255, .3);
    padding: 3rem 2rem;
    z-index: 2;
}

.who .section-title {
    color: #fff;
}

.who .section-title::after {
    background: #fff;
}

.who p {
    font-size: 1.4rem;
    line-height: 1.8;
    margin-bottom: 0;
}

.highlight {
    font-weight: 700;
    text-underline-offset: 5px;
}

.ad-btn,
.footer-links a,
.form-footer a {
    text-decoration: none;
}

.form-section::before {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(244, 80, 24, .05) 0, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    animation: 14s infinite pulse;
}

.form-container {
    max-width: 700px;
    margin: 0 auto;
    background: var(--card-bg);
    padding: 50px;
    border-radius: var(--radius-lg);
    box-shadow: 0 15px 40px var(--shadow);
    position: relative;
    z-index: 1;
    border: 1px solid rgba(244, 80, 24, .1);
}

.ad-banners h2,
.ad-banners p,
.banner-placeholder {
    position: relative;
    z-index: 2;
}

.form-group {
    margin-bottom: 30px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 12px;
    font-weight: 600;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #ddd;
    border-radius: var(--radius);
    font-family: Tajawal, sans-serif;
    font-size: 1.1rem;
    background: var(--background);
    color: var(--text);
    transition: var(--transition);
}

.ad-banners::before,
footer::before {
    left: -20%;
    width: 800px;
    height: 800px;
    content: '';
}

.form-footer,
.upload-container i,
.upload-hint {
    color: var(--text-light);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    outline: 0;
    box-shadow: 0 0 0 4px rgba(244, 80, 24, .2);
}

.form-group input:valid,
.form-group select:valid {
    border-color: #4caf50;
}

.upload-container {
    border: 2px dashed #ddd;
    border-radius: var(--radius);
    padding: 30px;
    cursor: pointer;
    transition: var(--transition);
    background: var(--background);
    position: relative;
}

.upload-container:hover {
    border-color: var(--primary);
    background: rgba(244, 80, 24, .05);
}

.upload-container i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
}

.upload-hint {
    font-size: .9rem;
    margin-top: 10px;
}

.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    font-size: .9rem;
}

.form-footer a {
    color: var(--primary);
    transition: var(--transition);
}

.ad-banners {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary) 0, #ff9c6e 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.ad-banners::before {
    position: absolute;
    top: -50%;
    background: radial-gradient(circle, rgba(255, 255, 255, .1) 0, transparent 70%);
    border-radius: 50%;
    z-index: 1;
}

.ad-banners h2 {
    font-size: 2.8rem;
    margin-bottom: 25px;
}

.ad-banners p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 40px;
}

.banner-placeholder {
    height: 180px;
    background: rgba(255, 255, 255, .2);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-top: 30px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, .3);
    transition: var(--transition);
}

.back-to-top,
.footer-links h3::after {
    width: 50px;
    background: var(--primary);
}

.copyright,
.footer-content {
    z-index: 1;
    position: relative;
}

.banner-placeholder:hover {
    background: rgba(255, 255, 255, .3);
    transform: scale(1.02);
}

footer {
    background: var(--dark);
    color: #fff;
    padding: 80px 0 30px;
    position: relative;
    overflow: hidden;
}

footer::before {
    position: absolute;
    top: -30%;
    background: radial-gradient(circle, rgba(244, 80, 24, .1) 0, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 40px;
    gap: 40px;
}

.footer-logo {
    flex: 1;
    min-width: 300px;
    margin-bottom: 30px;
}

.footer-logo .logo {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #fff;
}

.footer-logo p {
    font-size: 1.1rem;
    max-width: 400px;
    line-height: 1.8;
    color: #ccc;
}

.footer-links {
    flex: 1;
    min-width: 200px;
    margin-bottom: 30px;
}

.footer-links h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    position: relative;
    color: #fff;
}

.footer-links h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 0;
    height: 4px;
    border-radius: 2px;
}

.footer-links li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links a {
    color: #ccc;
    transition: var(--transition);
    display: inline-block;
    padding: 5px 0;
}

.footer-links a:hover {
    color: var(--primary);
    padding-right: 10px;
}

.footer-links i {
    width: 20px;
}

.copyright {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    color: #aaa;
    font-size: 1rem;
}

.back-to-top {
    position: fixed;
    border: none;
    bottom: 30px;
    left: 30px;
    height: 50px;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 999;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .2);
}

.back-to-top.visible,
.floating-btn-mobile.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover,
.floating-btn-mobile:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
}

@media (max-width: 1200px) {
    .hero h1 {
        font-size: 3.2rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .header-actions,
    .header-nav-links {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .section-padding {
        padding: 80px 0;
    }
}

@media (max-width: 992px) {
    .top-bar-ad {
        max-width: 300px;
        font-size: .8rem;
    }

    .mid-page-ad .ad-overlay h3 {
        font-size: 1.5rem;
    }

    .mid-page-ad .ad-overlay p {
        font-size: 1rem;
    }

    .hero-content,
    .hero-text {
        text-align: center;
    }

    .hero-content {
        flex-direction: column;
    }

    .hero-text p {
        margin: 0 auto 40px;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .header-actions,
    .header-nav-links {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .section-padding {
        padding: 80px 0;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .hero h1 {
        font-size: 2.4rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .benefit-card,
    .form-container,
    .why-card {
        padding: 30px;
    }

    .header-actions {
        display: none;
    }

    .mobile-header-actions {
        display: flex;
        align-items: center;
        gap: 15px;
        padding: 15px;
        background: var(--gray);
        border-top: 1px solid rgba(0, 0, 0, .1);
    }

    .header-content {
        padding: 0 15px;
    }
}

@media (max-width: 576px) {
    .hero {
        padding-top: 50px;
        padding-bottom: 70px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .hero-actions {
        display: flex;
        flex-direction: column;
    }

    .btn {
        padding: 12px 25px;
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 40px;
    }

    .benefit-card,
    .form-container,
    .why-card {
        padding: 25px;
    }

    .who p {
        font-size: 1.2rem;
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .8s, transform .8s;
}

.fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}

.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--background);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity .5s;
}

.loading-screen.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-logo {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.loading-bar {
    width: 200px;
    height: 4px;
    background: var(--gray);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.loading-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: var(--primary);
    animation: 2s ease-in-out forwards loading;
}

@keyframes loading {
    0% {
        width: 0;
    }

    100% {
        width: 100%;
    }
}

.ad {
    background: var(--card-bg, #f9f9f9);
    padding: 30px;
    display: flex;
    justify-content: center;
}

.ad-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    max-width: 900px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .1);
    overflow: hidden;
}

.ad-text,
.download-app {
    background-color: var(--background);
}

.ad-image {
    flex: 1 1 300px;
    max-width: 400px;
    width: 100%;
}

.ad-text {
    flex: 1 1 300px;
    padding: 20px;
}

.ad-text h2 {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--primary-color, #f45018);
}

.ad-text p {
    font-size: 16px;
    margin-bottom: 15px;
    line-height: 1.5;
}

.ad-btn {
    display: inline-block;
    background: var(--primary-color, #f45018);
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    transition: background .3s;
}

.ad-btn:hover {
    background: #d63e12;
}

@media (max-width: 600px) {
    .ad-container {
        flex-direction: column;
        text-align: center;
    }

    .ad-image {
        max-width: 100%;
    }
}

.wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
}

.controls,
.gallery {
    align-items: center;
}

.background-circle {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background-color: rgba(244, 80, 24, .2);
    filter: blur(100px);
    z-index: -1;
}

.background-circle.right {
    top: 50%;
    left: calc(50% + 400px);
    transform: translate(-50%, -50%);
    animation: 4s infinite alternate pulse-right;
}

.background-circle.left {
    top: 50%;
    left: calc(50% - 400px);
    transform: translate(-50%, -50%);
    animation: 4s infinite alternate pulse-left;
}

@keyframes pulse-right {
    from {
        opacity: .5;
        transform: scale(.9) translate(-50%, -50%);
    }

    to {
        opacity: .8;
        transform: scale(1.1) translate(-50%, -50%);
    }
}

@keyframes pulse-left {
    from {
        opacity: .5;
        transform: scale(1.1) translate(-50%, -50%);
    }

    to {
        opacity: .8;
        transform: scale(.9) translate(-50%, -50%);
    }
}

.gallery {
    display: flex;
    justify-content: center;
    user-select: none;
    flex-wrap: wrap;
    gap: var(--gap-size);
}

.image-container {
    width: var(--card-width);
    height: var(--card-height);
    position: relative;
    border-radius: .75rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(2, 6, 23, .7);
    background: linear-gradient(180deg, #111 0, #0b0f14 100%);
    transform-style: preserve-3d;
    cursor: default;
    transition: transform .3s, box-shadow .3s;
}

.controls,
.label {
    border-radius: .5rem;
}

.image-container:hover {
    transform: perspective(1000px) rotateX(2deg) scale(1.02);
    box-shadow: 0 0 20px var(--hover-glow-color), 0 10px 40px rgba(2, 6, 23, .9);
}

.image-container img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    object-fit: cover;
    display: block;
    backface-visibility: hidden;
    will-change: transform, opacity;
}

.controls,
.controls button {
    color: var(--text-color);
    display: flex;
}

.label {
    position: absolute;
    left: .75rem;
    bottom: .75rem;
    z-index: 10;
    background: rgba(0, 0, 0, .65);
    padding: .5rem .75rem;
    font-size: .875rem;
}

.controls {
    position: fixed;
    right: 1.5rem;
    top: 1.5rem;
    background: rgba(0, 0, 0, .35);
    padding: .75rem;
}

.controls button {
    margin-left: .5rem;
    padding: .5rem;
    border-radius: .375rem;
    border: 0;
    background: #111;
    cursor: pointer;
    width: 2rem;
    height: 2rem;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: opacity .2s;
}

.controls button:hover {
    opacity: .9;
}

.controls button .icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    transition: transform .3s, opacity .3s;
}

.controls button[data-state=paused] .icon-pause,
.controls button[data-state=playing] .icon-play {
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
}

.small {
    font-size: .75rem;
    color: #cbd5e1;
    margin-right: .5rem;
}

@media (max-width: 768px) {
    .wrap {
        padding: 1rem;
    }

    .gallery {
        flex-direction: column;
        gap: 1rem;
    }

    .image-container {
        width: 300px;
    }
}

/*
 * ====================
 * ENGLISH VERSION (LTR)
 * ====================
 */

body.english-version {
    direction: ltr;
    text-align: left;
}

body.english-version .text-center {
    text-align: center;
}

body.english-version .section-title::after {
    right: auto;
    left: 0;
}

body.english-version .text-center .section-title::after {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
}

body.english-version .hero-text {
    text-align: left;
}

body.english-version .hero-actions {
    justify-content: flex-start !important;
}

body.english-version .nav-links li {
    margin-right: 25px;
    margin-left: 0;
}

body.english-version .nav-links a::after {
    right: auto;
    left: 0;
}

body.english-version .social-links a.facebook:hover {
    color: #1877f2;
}

body.english-version .social-links a.twitter:hover {
    color: #1da1f2;
}

body.english-version .social-links a.instagram:hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.english-version .social-links a.linkedin:hover {
    color: #0077b5;
}

body.english-version .social-links a.youtube:hover {
    color: #ff0000;
}

body.english-version .social-links a.github:hover {
    color: #fff;
}

body.english-version .why-card li::before {
    right: 0;
    left: auto;
}

body.english-version .why-card h3 {
    flex-direction: row;
}

body.english-version .why-card ul {
    padding-left: 0;
}

body.english-version .who-card ul li {
    padding-left: 25px;
    padding-right: 0;
}

body.english-version .who-card ul li i {
    margin-right: 10px;
    margin-left: 0;
}

body.english-version .form-group label {
    flex-direction: row;
}

body.english-version .footer-logo .logo img {
    margin-right: 0.5rem;
    margin-left: 0;
}

body.english-version .footer-links h3::after {
    right: auto;
    left: 0;
}

body.english-version .footer-links a:hover {
    padding-left: 10px;
    padding-right: 0;
}

body.english-version .back-to-top {
    right: 30px;
    left: auto;
}

.close-sidebar-btn {
    position: absolute;
    top: 20px;
    left: 20px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text);
    cursor: pointer;
    transition: var(--transition-fast);
}

.close-sidebar-btn:hover {
    color: var(--primary);
    transform: rotate(90deg);
}

.close-sidebar-btn:active {
    transform: scale(0.9) rotate(90deg);
}