* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

:root {
    --primary: #fcdb66;
    --primary-light: #fde89a;
    --primary-dark: #f5c832;
    --secondary: #212529;
    --accent: #1f1f1f;
    --accent-light: #3a3a3a;
    --light: #ffffff;
    --dark: #2D2B55;
    --dark-light: #4a4870;
    --text: #4A4A6A;
    --text-light: #6b6b8a;
    --gradient: var(--primary-dark);
    --gradient-soft: var(--primary-dark);
    --header-bg: rgba(33, 37, 41, 0.95);
    --header-text: #ffffff;
}

html {
    overflow-x: hidden;
    width: 100%;
}

body {
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
    width: 100%;
    direction: rtl;
    position: relative;
}
a {
    text-decoration: none !important;
}
.header {
    flex-direction: row-reverse !important;
    width: 100%;
    background: var(--header-bg);
    backdrop-filter: blur(10px);
    padding: 1.2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 5px 25px rgba(252, 219, 102, 0.2);
    transition: all 0.4s ease;
    border-bottom: 2px solid rgba(252, 219, 102, 0.1);
    direction: rtl;
}

.header.scrolled {
    padding: 0.8rem 5%;
    box-shadow: 0 5px 20px rgba(252, 219, 102, 0.25);
    background: rgba(33, 37, 41, 0.98);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--header-text);
    text-decoration: none;
    z-index: 1001;
    transition: all 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 10px rgba(252, 219, 102, 0.5));
}

.logo img {
    height: 60px;
}
.nav-menu {
    display: flex;
    gap: 0.8rem;
    flex-direction: row-reverse;
}

.nav-link {
    color: var(--header-text);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.nav-link:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(252, 219, 102, 0.2), transparent);
    transition: all 0.6s ease;
}

.nav-link:hover:before {
    left: 100%;
}

.nav-link:hover {
    color: var(--primary);
    background: rgba(252, 219, 102, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(252, 219, 102, 0.3);
}

.nav-link.active {
    background: var(--primary-dark);
    color: var(--dark);
    box-shadow: 0 5px 15px rgba(252, 219, 102, 0.4);
    font-weight: 600;
}

.user-menu {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-link {
    color: var(--header-text);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 2px solid rgba(252, 219, 102, 0.3);
}

.user-dd {
    position: relative;
    display: flex;
    align-items: center;
}

.user-trigger {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(252, 219, 102, 0.1);
    color: var(--header-text);
    border: 2px solid rgba(252, 219, 102, 0.3);
    border-radius: 50px;
    padding: 0.6rem 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.user-trigger:hover {
    color: var(--primary);
    background: rgba(252, 219, 102, 0.2);
    border-color: var(--primary);
    box-shadow: 0 4px 15px rgba(252, 219, 102, 0.3);
}

.user-trigger .user-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--gradient);
    color: var(--dark);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-menu-panel {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 280px;
    background: linear-gradient(135deg, rgba(33, 37, 41, 0.98), rgba(31, 31, 31, 0.98));
    backdrop-filter: blur(16px);
    border: 2px solid rgba(252, 219, 102, 0.3);
    border-radius: 18px;
    box-shadow: 0 20px 60px rgba(252, 219, 102, 0.3), 0 8px 30px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.98);
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 3000;
    overflow: hidden;
}

.user-menu-panel::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 20px;
    width: 16px;
    height: 16px;
    background: rgba(33, 37, 41, 0.98);
    border: 2px solid rgba(252, 219, 102, 0.3);
    border-bottom: none;
    border-left: none;
    transform: rotate(45deg);
    border-radius: 0 3px 0 0;
}

.user-dd.open .user-menu-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.user-dd.open .fa-chevron-down {
    transform: rotate(180deg);
}

.user-link:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(252, 219, 102, 0.2), transparent);
    transition: all 0.6s ease;
}

.user-link:hover:before {
    left: 100%;
}

.user-link:hover {
    color: var(--primary);
    background: rgba(252, 219, 102, 0.15);
    transform: translateY(-2px);
    border-color: var(--primary);
    box-shadow: 0 4px 15px rgba(252, 219, 102, 0.3);
}

.user-link.logged-in {
    background: var(--gradient);
    color: var(--dark);
    box-shadow: 0 5px 15px rgba(252, 219, 102, 0.4);
    font-weight: 600;
}

.user-link.logged-in:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(252, 219, 102, 0.5);
}

.user-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 600;
}

.user-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0.8rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 249, 255, 0.95));
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 0;
    min-width: 280px;
    box-shadow:
        0 20px 60px rgba(138, 43, 226, 0.15),
        0 8px 30px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(138, 43, 226, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px) scale(0.95);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 2000;
    overflow: hidden;
}

.user-dropdown::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 20px;
    width: 16px;
    height: 16px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 249, 255, 0.95));
    border: 2px solid rgba(138, 43, 226, 0.1);
    border-bottom: none;
    border-left: none;
    transform: rotate(45deg);
    border-radius: 0 3px 0 0;
}

.user-link:hover .user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.user-link:hover .fa-chevron-down {
    transform: rotate(180deg);
    opacity: 1;
}

.user-link.open .user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.user-link.open .fa-chevron-down {
    transform: rotate(180deg);
    opacity: 1;
}

.user-info {
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(252, 219, 102, 0.1), rgba(252, 219, 102, 0.05));
    border-bottom: 1px solid rgba(252, 219, 102, 0.2);
    position: relative;
    overflow: hidden;
}

.user-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(252, 219, 102, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(252, 219, 102, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.user-name {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 0.4rem;
    position: relative;
    z-index: 1;
}

.user-email {
    color: var(--header-text);
    font-size: 0.95rem;
    opacity: 0.7;
    position: relative;
    z-index: 1;
}

.dropdown-menu {
    padding: 0.8rem;
}

.user-actions-menu {
    padding: 0.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.dropdown-link {
    display: flex;
    align-items: center;
    padding: 0.8rem 1rem;
    color: var(--header-text);
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    margin-bottom: 0.4rem;
    position: relative;
    overflow: hidden;
    font-weight: 500;
    background: rgba(252, 219, 102, 0.05);
    border: 1px solid rgba(252, 219, 102, 0.2);
}

.dropdown-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(252, 219, 102, 0.2), transparent);
    transition: all 0.6s ease;
}

.dropdown-link:hover::before {
    left: 100%;
}

.dropdown-link:hover {
    background: rgba(252, 219, 102, 0.15);
    color: var(--primary);
    transform: translateX(-8px) scale(1.02);
    border-color: var(--primary);
    box-shadow: 0 4px 15px rgba(252, 219, 102, 0.3);
}

.dropdown-link i {
    margin-left: 12px;
    width: 18px;
    text-align: center;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.dropdown-link:hover i {
    opacity: 1;
    transform: scale(1.1);
}

.dropdown-link.admin-link {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.1), rgba(255, 152, 0, 0.1));
    border-color: rgba(255, 193, 7, 0.2);
    color: #f39c12;
}

.dropdown-link.admin-link:hover {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.15), rgba(255, 152, 0, 0.15));
    color: #e67e22;
    border-color: rgba(255, 193, 7, 0.3);
}

.dropdown-link.logout-link {
    background: rgba(231, 76, 60, 0.05);
    border-color: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
    margin-bottom: 0;
    margin-top: 0.5rem;
}

.dropdown-link.logout-link::before {
    background: linear-gradient(90deg, transparent, rgba(231, 76, 60, 0.1), transparent);
}

.dropdown-link.logout-link:hover {
    background: rgba(231, 76, 60, 0.1);
    color: #c0392b;
    border-color: rgba(231, 76, 60, 0.2);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    width: 25px;
    height: 25px;
    cursor: pointer;
    z-index: 1001;
    position: relative;
}

.menu-toggle span {
    height: 3px;
    width: 100%;
    background: var(--primary);
    border-radius: 3px;
    margin: 3px 0;
    transition: all 0.4s ease;
    transform-origin: center;
    box-shadow: 0 0 10px rgba(252, 219, 102, 0.5);
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.mobile-nav {
    z-index: 1050;
    position: fixed;
    top: 0;
    right: 100%;
    width: 70%;
    max-width: 350px;
    height: 100vh;
    background: black;
    backdrop-filter: blur(20px);
    padding: 0;
    transition: left 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(252, 219, 102, 0.3);
    border-left: 2px solid rgba(252, 219, 102, 0.3);
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-header {
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid rgba(252, 219, 102, 0.2);
    background: rgba(33, 37, 41, 0.9);
    backdrop-filter: blur(12px);
    position: relative;
    z-index: 2;
}

.mobile-nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 0.4px;
}

.mobile-nav-brand img {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    object-fit: contain;
    background: rgba(252, 219, 102, 0.1);
    padding: 8px;
    box-shadow: 0 6px 16px rgba(252, 219, 102, 0.3);
}

.mobile-nav-brand span {
    display: inline-block;
}

.mobile-nav-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 2rem;
    position: relative;
    z-index: 2;
    overflow-y: auto;

}

.mobile-nav-content::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(252, 219, 102, 0.1), transparent 55%), radial-gradient(circle at bottom left, rgba(252, 219, 102, 0.05), transparent 45%);
    pointer-events: none;
    z-index: -1;
}

.mobile-user-card {
    background: rgba(31, 31, 31, 0.95);
    border-radius: 22px;
    padding: 1.5rem;
    border: 2px solid rgba(252, 219, 102, 0.3);
    box-shadow: 0 18px 35px rgba(252, 219, 102, 0.2);
    backdrop-filter: blur(8px);
    transform: translateY(25px);
    opacity: 0;
    animation: slideUpFade 0.6s ease forwards;
}

.mobile-nav.active .mobile-user-card {
    animation-delay: 0.1s;
}

.mobile-user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.mobile-user-avatar {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--dark);
    text-transform: uppercase;
    box-shadow: 0 0 20px rgba(252, 219, 102, 0.5);
}

.mobile-user-meta {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.mobile-user-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
}

.mobile-user-email {
    font-size: 0.9rem;
    color: var(--header-text);
    opacity: 0.7;
}

.mobile-user-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mobile-user-actions form {
    margin: 0;
}

.mobile-user-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    color: var(--header-text);
    text-decoration: none;
    padding: 0.85rem 1rem;
    background: rgba(252, 219, 102, 0.1);
    border: 1px solid rgba(252, 219, 102, 0.3);
    border-radius: 14px;
    transition: all 0.3s ease;
    cursor: pointer;
}
.mobile-user-link i {
    font-size: 1rem;
    opacity: 0.7;
}
.mobile-user-link:hover {
    background: rgba(252, 219, 102, 0.2);
    transform: translateX(6px);
    box-shadow: 0 12px 26px rgba(252, 219, 102, 0.3);
    border-color: var(--primary);
}

.mobile-user-link.logout {
    background: rgba(255, 242, 240, 0.85);
    border-color: rgba(231, 76, 60, 0.35);
    color: #c0392b;
}
.mobile-user-link.logout i {
    opacity: 0.8;
    color: #c0392b;
}
.mobile-user-link.logout:hover {
    background: rgba(255, 228, 223, 0.95);
}

.mobile-login-cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: right;
}

.mobile-login-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: white;
}

.mobile-login-meta h3 {
    color: white;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.mobile-login-meta p {
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.95rem;
    line-height: 1.6;
}

.mobile-user-login {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
    text-decoration: none;
    align-self: flex-start;
    padding: 0.75rem 1.4rem;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--accent), rgba(255, 255, 255, 0.25));
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mobile-user-login i {
    font-size: 0.9rem;
}

.mobile-user-login:hover {
    transform: translateX(6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.mobile-nav-divider {
    height: 2px;
    width: 100%;
    background: linear-gradient(90deg, transparent, rgba(252, 219, 102, 0.3), transparent);
}

@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(35px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-nav-list li {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.mobile-nav.active .mobile-nav-list li {
    opacity: 1;
    transform: translateX(0);
    text-align: right;
    float: right;
}

.mobile-nav.active .mobile-nav-list li:nth-child(1) {
    transition-delay: 0.1s;
}

.mobile-nav.active .mobile-nav-list li:nth-child(2) {
    transition-delay: 0.2s;
}

.mobile-nav.active .mobile-nav-list li:nth-child(3) {
    transition-delay: 0.3s;
}

.mobile-nav.active .mobile-nav-list li:nth-child(4) {
    transition-delay: 0.4s;
}

.mobile-nav.active .mobile-nav-list li:nth-child(5) {
    transition-delay: 0.5s;
}

.mobile-nav.active .mobile-nav-list li:nth-child(6) {
    transition-delay: 0.6s;
}

.mobile-nav-link {
    color: var(--header-text);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 1.05rem 1.35rem;
    border-radius: 18px;
    display: block;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    background: rgba(252, 219, 102, 0.1);
    text-align: right;
    border: 1px solid rgba(252, 219, 102, 0.3);
    backdrop-filter: blur(6px);
    transform: translateX(0);
}

.mobile-nav-link:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(252, 219, 102, 0.3), transparent);
    transition: all 0.6s ease;
}

.mobile-nav-link:hover:before {
    left: 100%;
}

.mobile-nav-link:hover {
    color: var(--primary);
    background: rgba(252, 219, 102, 0.2);
    transform: translateX(10px) scale(1.02);
    border-color: var(--primary);
    box-shadow: 0 14px 24px rgba(252, 219, 102, 0.4);
}

.mobile-nav-link:active {
    transform: translateX(-10px) scale(0.98);
}

.close-menu {
    position: relative;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background: rgba(252, 219, 102, 0.1);
    border: 2px solid rgba(252, 219, 102, 0.3);
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.close-menu:hover {
    transform: rotate(180deg) scale(1.1);
    background: var(--gradient);
    border-color: var(--primary);
    color: var(--dark);
    box-shadow: 0 5px 20px rgba(252, 219, 102, 0.5);
}

.close-menu:active {
    transform: rotate(180deg) scale(0.95);
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    z-index: 998;
    overflow: hidden;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 968px) {

    .nav-menu,
    .cta-button,
    .user-menu {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

}

@media (max-width: 576px) {
    .logo span {
        display: none;
    }

    .mobile-nav {
        width: 85%;
        max-width: 100%;
        min-width: 280px;
        right: 100%;
    }

    .mobile-nav-header {
        padding: 1.5rem;
    }

    .mobile-nav-logo span {
        font-size: 1.2rem;
    }

    .mobile-nav-content {
        padding: 1.5rem;
    }
}

@media (min-width: 969px) {
    .mobile-nav {
        display: none;
    }
}

/*  Articles */
.blog-page {
    min-height: 100vh;
    background-color: var(--light) !important;
}
.blog-title {
    text-align: center;
    margin-bottom: 3rem;
}

.blog-title h1 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--dark);
    margin: 0;
    position: relative;
    display: inline-block;
}

.blog-title h1::after {
    content: '';
    position: absolute;
    bottom: -12px;
    right: 50%;
    transform: translateX(50%);
    width: 80px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary), #f39c12);
}

.search-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto 3.5rem;
}

.search-input {
    width: 100%;
    padding: 1.25rem 4rem 1.25rem 2rem;
    border: 2px solid rgba(99, 102, 241, 0.18);
    border-radius: 999px;
    font-size: 1.05rem;
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.35s ease;
    box-shadow: 0 12px 30px rgba(99, 102, 241, 0.1);
    outline: none;
    color: var(--dark);
}

.search-input::placeholder {
    color: rgba(15, 23, 42, 0.45);
}

.search-input:focus {
    border-color: var(--primary);
    box-shadow: 0 18px 45px rgba(99, 102, 241, 0.18);
}

.search-icon {
    position: absolute;
    right: 1.75rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.25rem;
    color: var(--primary);
    pointer-events: none;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.2rem;
    margin-bottom: 4rem;
}

.article-card {
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 249, 255, 0.98));
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.08);
    transition: all 0.45s ease;
    cursor: pointer;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.article-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 28px 60px rgba(15, 23, 42, 0.16);
    border-color: rgba(99, 102, 241, 0.25);
}

.article-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.article-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(138, 43, 226, 0.1), rgba(0, 198, 255, 0.1));
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 2;
}

.article-card:hover .article-image::before {
    opacity: 1;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s ease;
}

.article-card:hover .article-image img {
    transform: scale(1.1);
}

.article-content {
    /* padding: 1.9rem; */
    position: relative;
    z-index: 3;
}

.article-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 0.9rem;
    line-height: 1.5;
    transition: all 0.3s ease;
}

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

.article-description {
    color: rgba(15, 23, 42, 0.72);
    line-height: 1.7;
    margin-bottom: 1.75rem;
    font-size: 1.02rem;
}

.article-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--primary), #f39c12);
    color: white;
    padding: 1rem 2rem;
    text-align: center;
    font-weight: 600;
    font-size: 1.05rem;
    transform: translateY(100%);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 4;
}

.article-card:hover .article-overlay {
    transform: translateY(0);
}

.article-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    border-radius: 28px 28px 0 0;
}

.no-results {
    text-align: center;
    padding: 4rem 2rem;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 24px;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.12);
    margin: 2rem 0;
}

.no-results h3 {
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
}

.no-results p {
    font-size: 1.05rem;
    color: rgba(15, 23, 42, 0.7);
}

.loader {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(138, 43, 226, 0.1);
    border-left: 4px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 2rem auto;
    display: none;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.load-more-container {
    text-align: center;
    margin: 3rem 0;
}

.load-more-btn {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    border: none;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 8px 25px rgba(138, 43, 226, 0.3);
    position: relative;
    overflow: hidden;
}

.article-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
}

.load-more-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.6s ease;
}

.load-more-btn:hover::before {
    left: 100%;
}

.load-more-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(138, 43, 226, 0.4);
}

.load-more-btn:active {
    transform: translateY(-1px) scale(1.02);
}

.article-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg,
            rgba(138, 43, 226, 0.02) 0%,
            rgba(0, 198, 255, 0.02) 50%,
            rgba(138, 43, 226, 0.02) 100%);
    opacity: 0;
    transition: all 0.6s ease;
    z-index: 1;
}

.article-card:hover::before {
    opacity: 1;
}


.search-icon {
    animation: pulse-search 2s ease-in-out infinite;
}

@keyframes pulse-search {

    0%,
    100% {
        transform: translateY(-50%) scale(1);
    }

    50% {
        transform: translateY(-50%) scale(1.1);
    }
}


.article-card:nth-child(1) {
    animation-delay: 0.1s;
}

.article-card:nth-child(2) {
    animation-delay: 0.2s;
}

.article-card:nth-child(3) {
    animation-delay: 0.3s;
}

.article-card:nth-child(4) {
    animation-delay: 0.4s;
}

.article-card:nth-child(5) {
    animation-delay: 0.5s;
}

.article-card:nth-child(6) {
    animation-delay: 0.6s;
}

.article-card:hover .article-content {
    transform: translateY(-5px);
}

.search-input:focus {
    box-shadow:
        0 12px 35px rgba(138, 43, 226, 0.2),
        0 0 0 3px rgba(138, 43, 226, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.load-more-btn {
    position: relative;
    overflow: hidden;
}

.load-more-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.6s ease;
}

.load-more-btn:hover::after {
    width: 300px;
    height: 300px;
}


.no-results {
    animation: bounceIn 0.8s ease-out;
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }

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

    70% {
        transform: scale(0.9);
    }

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

.loader {
    position: relative;
}

.loader::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    border: 2px solid rgba(0, 198, 255, 0.2);
    border-left: 2px solid #00c6ff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: spin 1.5s linear infinite reverse;
}

@media (max-width: 768px) {
    .blog.container {
        padding: 1rem;
    }

    .articles-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .article-card {
        margin: 0 0.5rem;
    }

    .search-input {
        padding: 1.2rem 3.5rem 1.2rem 1.5rem;
        font-size: 1rem;
    }

    .search-icon {
        right: 1.5rem;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    /* .article-content {
        padding: 1.5rem;
    } */

    .article-title {
        font-size: 1.2rem;
    }

    .load-more-btn {
        padding: 1rem 2.5rem;
        font-size: 1rem;
    }

    .blog.container::before {
        animation: none;
    }
}

@media (prefers-contrast: high) {
    .article-card {
        border-width: 3px;
        border-color: var(--primary);
    }

    .search-input {
        border-width: 3px;
        border-color: var(--primary);
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Show Article  */
.show-article {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
    background: linear-gradient(135deg, #f8f9ff 0%, #e8ecff 100%);
    min-height: 100vh;
    direction: rtl;
}

.show-article .main-content {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(138, 43, 226, 0.1);
    border: 1px solid rgba(138, 43, 226, 0.1);
    position: relative;
    overflow: hidden;
}

.show-article .main-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--primary-dark);
}

.show-article .article-header {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid rgba(138, 43, 226, 0.1);
}

.show-article .article-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.3;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
}

.show-article .article-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text);
}

.show-article .article-content h1,
.show-article .article-content h2,
.show-article .article-content h3,
.show-article .article-content h4,
.show-article .article-content h5,
.show-article .article-content h6 {
    color: var(--dark);
    font-weight: 600;
    margin: 2rem 0 1rem;
    line-height: 1.4;
}

.show-article .article-content h2 {
    font-size: 2rem;
    border-right: 4px solid var(--primary);
    padding-right: 1rem;
}

.show-article .article-content h3 {
    font-size: 1.6rem;
}

.show-article .article-content p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

.show-article .article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    margin: 2rem 0;
    box-shadow: 0 8px 25px rgba(138, 43, 226, 0.1);
    transition: all 0.3s ease;
}

.show-article .article-content img:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 35px rgba(138, 43, 226, 0.15);
}

.show-article .article-content ul,
.show-article .article-content ol {
    margin: 1.5rem 0;
    padding-right: 2rem;
}

.show-article .article-content li {
    margin-bottom: 0.8rem;
    line-height: 1.7;
}

.show-article .article-content blockquote {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.05), rgba(0, 198, 255, 0.05));
    border-right: 4px solid var(--primary);
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    border-radius: 10px;
    font-style: italic;
    position: relative;
}

.show-article .article-content blockquote::before {
    content: '"';
    font-size: 4rem;
    color: var(--primary);
    position: absolute;
    top: -10px;
    right: 10px;
    opacity: 0.3;
}

/* Sidebar Styles */
.show-article .sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.show-article .sidebar-section {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(138, 43, 226, 0.1);
    border: 1px solid rgba(138, 43, 226, 0.1);
    transition: all 0.3s ease;
}

.show-article .sidebar-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(138, 43, 226, 0.15);
}

.show-article .sidebar-header {
    background: var(--accent);
    color: var(--primary);
    padding: 1.2rem 1.5rem;
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.show-article .sidebar-content {
    padding: 1.5rem;
}

.show-article #tableOfContents {
    list-style: none;
    padding: 0;
    margin: 0;
}

.show-article #tableOfContents li {
    margin-bottom: 0.5rem;
}
.show-article #tableOfContents a {
    display: block;
    color: var(--text);
    text-decoration: none;
    padding: 0.5rem 0;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    line-height: 1.4;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.show-article #tableOfContents a:hover,
.show-article #tableOfContents a.active {
    color: var(--primary);
    background: rgba(138, 43, 226, 0.05);
    padding-right: 1rem;
    transform: translateX(-5px);
}

.show-article #tableOfContents a.toc-level-h2,
.show-article #tableOfContents a.toc-level-h3,
.show-article #tableOfContents a.toc-level-h4,
.show-article #tableOfContents a.toc-level-h5,
.show-article #tableOfContents a.toc-level-h6 {
    font-size: 0.95rem;
    font-weight: 500;
    opacity: 1;
    color: var(--text);
}

.show-article .related-article {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    margin-bottom: 1rem;
    border: 1px solid rgba(138, 43, 226, 0.1);
}

.show-article .related-article:last-child {
    margin-bottom: 0;
}

.show-article .related-article:hover {
    background: rgba(138, 43, 226, 0.05);
    transform: translateX(-5px);
    border-color: rgba(138, 43, 226, 0.2);
}

.show-article .related-article-image {
    width: 80px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.show-article .related-article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.show-article .related-article:hover .related-article-image img {
    transform: scale(1.1);
}

.show-article .related-article-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.show-article .related-article-content p {
    font-size: 0.85rem;
    color: var(--text);
    line-height: 1.4;
    margin: 0;
}

.toc-toggle {
    display: none;
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(138, 43, 226, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
}

.toc-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(138, 43, 226, 0.4);
}
@media (max-width: 1024px) {
    .show-article {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1.5rem;
    }

    .show-article .sidebar {
        order: -1;
    }

    .toc-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .show-article .sidebar-section {
        display: none;
    }

    .show-article .sidebar-section.active {
        display: block;
        position: fixed;
        top: 50%;
        right: 1rem;
        left: 1rem;
        transform: translateY(-50%);
        z-index: 1002;
        max-height: 80vh;
        overflow-y: auto;
    }
}

@media (max-width: 768px) {
    .show-article {
        padding: 1rem;
    }

    .show-article .main-content {
        padding: 2rem;
    }

    .show-article .article-title {
        font-size: 2rem;
    }

    .show-article .article-content {
        font-size: 1rem;
    }

    .show-article .article-content h2 {
        font-size: 1.6rem;
    }

    .show-article .related-article {
        flex-direction: column;
        text-align: center;
    }

    .show-article .related-article-image {
        width: 100%;
        height: 150px;
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .show-article .article-title {
        font-size: 1.6rem;
    }

    .show-article .main-content {
        padding: 1.5rem;
    }

    .show-article .sidebar-content {
        padding: 1rem;
    }

    .toc-toggle {
        width: 50px;
        height: 50px;
        bottom: 1rem;
        right: 1rem;
        font-size: 1.2rem;
    }
}

   /* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0rem 0 5rem;
    background: linear-gradient(135deg, #f8f9ff 0%, #e8ecff 100%);
    overflow: hidden;
}

.hero-section .container {
    position: relative;
    z-index: 10;
}

.hero-content {
    padding: 2rem 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, rgba(252, 219, 102, 0.2), rgba(252, 219, 102, 0.1));
    border: 2px solid rgba(252, 219, 102, 0.3);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    color: var(--dark);
    font-weight: 600;
    font-size: 0.9rem;
    animation: float 3s ease-in-out infinite;
    flex-direction: row-reverse;
}

.hero-badge i {
    color: var(--primary);
    animation: pulse 2s ease-in-out infinite;
}

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

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--dark);
    font-family: 'Cairo', sans-serif;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), #f39c12);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-description {
    font-size: 1.3rem;
    color: var(--text);
    line-height: 1.8;
    font-family: 'Cairo', sans-serif;
}

.hero-rating {
    display: flex;
    align-items: center;
    gap: 1rem;
    direction: rtl;
}

.stars {
    display: flex;
    gap: 0.3rem;
}

.stars i {
    color: #ffc107;
    font-size: 1.2rem;
    animation: starPulse 2s ease-in-out infinite;
}

.stars i:nth-child(1) { animation-delay: 0s; }
.stars i:nth-child(2) { animation-delay: 0.2s; }
.stars i:nth-child(3) { animation-delay: 0.4s; }
.stars i:nth-child(4) { animation-delay: 0.6s; }
.stars i:nth-child(5) { animation-delay: 0.8s; }

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

.rating-text {
    font-weight: 600;
    color: var(--dark);
    font-family: 'Cairo', sans-serif;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    direction: rtl;
}

.btn-primary-hero {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: linear-gradient(135deg, var(--primary), #f39c12);
    color: var(--dark);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 10px 30px rgba(252, 219, 102, 0.4);
    position: relative;
    overflow: hidden;
    font-family: 'Cairo', sans-serif;
    flex-direction: row-reverse;
}

.btn-primary-hero::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: all 0.6s ease;
}

.btn-primary-hero:hover::before {
    left: 100%;
}

.btn-primary-hero:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(252, 219, 102, 0.5);
}

.btn-secondary-hero {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: white;
    color: var(--dark);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    border: 2px solid rgba(138, 43, 226, 0.2);
    transition: all 0.4s ease;
    font-family: 'Cairo', sans-serif;
    flex-direction: row-reverse;
}

.btn-secondary-hero:hover {
    background: rgba(138, 43, 226, 0.05);
    border-color: rgba(138, 43, 226, 0.4);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(138, 43, 226, 0.2);
}

.hero-stats {
    display: flex;
    gap: 3rem;
    padding-top: 2rem;
    border-top: 2px solid rgba(138, 43, 226, 0.1);
    direction: rtl;
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-family: 'Cairo', sans-serif;
}

.stat-item p {
    color: var(--text);
    font-weight: 600;
    font-family: 'Cairo', sans-serif;
}

.hero-image-wrapper {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-main-image {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-main-image img {
    width: 100%;
    height: auto;
    max-width: 550px;
    filter: drop-shadow(0 20px 40px rgba(138, 43, 226, 0.2));
    animation: floatImage 6s ease-in-out infinite;
}

@keyframes floatImage {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(2deg);
    }
}

.image-shape-1,
.image-shape-2 {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(252, 219, 102, 0.1), rgba(243, 156, 18, 0.1));
    z-index: -1;
    animation: rotate 20s linear infinite;
}

.image-shape-1 {
    width: 400px;
    height: 400px;
    top: 10%;
    right: -10%;
}

.image-shape-2 {
    width: 300px;
    height: 300px;
    bottom: 10%;
    left: -10%;
    animation-direction: reverse;
}

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

/* Floating Cards */
.floating-card {
    position: absolute;
    background: white;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 15px 40px rgba(138, 43, 226, 0.15);
    border: 2px solid rgba(252, 219, 102, 0.3);
    z-index: 10;
    transition: all 0.4s ease;
}

.floating-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 50px rgba(138, 43, 226, 0.25);
}

/* Growth Card */
.growth-card {
    top: 15%;
    left: -5%;
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: float 4s ease-in-out infinite;
    animation-delay: 0.5s;
}

.growth-card .card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), #f39c12);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
}

.growth-card .card-content h3 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.2rem;
    font-family: 'Cairo', sans-serif;
}

.growth-card .card-content p {
    color: var(--text);
    font-weight: 600;
    margin: 0;
    font-family: 'Cairo', sans-serif;
}

.card-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(252, 219, 102, 0.3), transparent 70%);
    z-index: -1;
    animation: glow 3s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

/* Trend Card */
.trend-card {
    top: 50%;
    right: -8%;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 1.5rem;
    animation: float 3.5s ease-in-out infinite;
    animation-delay: 1s;
}

.trend-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: white;
}

.trend-card span {
    font-weight: 700;
    color: var(--dark);
    font-family: 'Cairo', sans-serif;
}

/* Success Card */
.success-card {
    bottom: 20%;
    left: 5%;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 1.5rem;
    animation: float 4.5s ease-in-out infinite;
    animation-delay: 1.5s;
}

.success-card i {
    font-size: 1.8rem;
    color: #10b981;
}

.success-card span {
    font-weight: 700;
    color: var(--dark);
    font-family: 'Cairo', sans-serif;
}

.hero-bg-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 1;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.shape-1 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, var(--primary), #f39c12);
    top: -10%;
    left: -10%;
    animation: moveShape1 25s ease-in-out infinite;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #8b5cf6, #6366f1);
    top: 40%;
    right: -5%;
    animation: moveShape2 20s ease-in-out infinite;
}

.shape-3 {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, #10b981, #059669);
    bottom: -10%;
    left: 30%;
    animation: moveShape3 30s ease-in-out infinite;
}

@keyframes moveShape1 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(50px, 50px) rotate(180deg);
    }
}

@keyframes moveShape2 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(-30px, 30px) rotate(-180deg);
    }
}

@keyframes moveShape3 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(40px, -40px) scale(1.1);
    }
}

@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .hero-image-wrapper {
        height: 500px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 0rem 0 3rem;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn-primary-hero,
    .btn-secondary-hero {
        width: 100%;
        justify-content: center;
    }
    
    .hero-stats {
        gap: 1.5rem;
        flex-wrap: wrap;
    }
    
    .stat-item h3 {
        font-size: 2rem;
    }
    
    .hero-image-wrapper {
        height: 400px;
        margin-top: 3rem;
    }
    
    .floating-card {
        padding: 1rem;
    }
    
    .growth-card {
        left: 0;
        top: 10%;
    }
    
    .trend-card {
        right: 0;
    }
    
    .success-card {
        left: 0;
        bottom: 10%;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .btn-primary-hero,
    .btn-secondary-hero {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
    
    .hero-stats {
        justify-content: space-between;
    }
    
    .stat-item h3 {
        font-size: 1.5rem;
    }
    
    .stat-item p {
        font-size: 0.9rem;
    }
    
    .hero-image-wrapper {
        height: 300px;
    }
    
    .floating-card {
        padding: 0.8rem;
        font-size: 0.85rem;
    }
    
    .growth-card .card-icon {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    
    .growth-card .card-content h3 {
        font-size: 1.5rem;
    }
}

   /* Services Section  */
.services-section {
    padding: 6rem 0;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(252, 219, 102, 0.05), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.services-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(138, 43, 226, 0.05), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* Section Header */
.section-header {
    margin-bottom: 4rem;
    direction: rtl;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--dark);
    font-family: 'Cairo', sans-serif;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    text-align: center;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 50%;
    transform: translateX(50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), #f39c12);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text);
    font-family: 'Cairo', sans-serif;
    margin-top: 1.5rem;
}

/* Service Cards */
.service-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 249, 255, 0.98));
    border-radius: 25px;
    padding: 0;
    border: 2px solid rgba(138, 43, 226, 0.1);
    box-shadow: 0 10px 30px rgba(138, 43, 226, 0.08);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    text-align: right;
    direction: rtl;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), #f39c12);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 50px rgba(138, 43, 226, 0.15);
    border-color: rgba(252, 219, 102, 0.4);
}

/* Service Icon */
.service-icon {
    width: 100%;
    height: 200px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(252, 219, 102, 0.1), rgba(243, 156, 18, 0.05));
    border-radius: 23px 23px 0 0;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-icon::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary), #f39c12);
    opacity: 0;
    z-index: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover .service-icon::after {
    opacity: 0.15;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: none;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.service-card:hover .service-icon img {
    transform: none;
}

/* Service Title */
.service-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--dark);
    font-family: 'Cairo', sans-serif;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
    padding: 0 2.5rem;
}

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

/* Service Description */
.service-description {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text);
    font-family: 'Cairo', sans-serif;
    flex-grow: 1;
    padding: 0 2.5rem 2.5rem 2.5rem;
}

/* Service Number */
.service-number {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), #f39c12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--dark);
    font-family: 'Cairo', sans-serif;
    box-shadow: 0 5px 15px rgba(252, 219, 102, 0.4);
    transition: all 0.3s ease;
}

.service-card:hover .service-number {
    transform: scale(1.15) rotate(10deg);
    box-shadow: 0 8px 25px rgba(252, 219, 102, 0.6);
}

/* Responsive */
@media (max-width: 992px) {
    .services-section {
        padding: 4rem 0;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .services-section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .service-card {
        padding: 0;
        margin-bottom: 1.5rem;
    }
    
    .service-icon {
        width: 100%;
        height: 180px;
        margin: 0;
    }
    
    .service-title {
        font-size: 1.4rem;
        padding: 0 2rem;
    }
    
    .service-description {
        padding: 0 2rem 2rem 2rem;
    }
}

/* ==================== Pricing Section ==================== */
.pricing-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9ff 0%, #fff5e6 100%);
    position: relative;
    overflow: hidden;
}

.pricing-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(252, 219, 102, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.pricing-section::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(138, 43, 226, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* Pricing Cards Grid */
.pricing-cards-section {
    padding: 60px 0 120px 0;
    background: linear-gradient(135deg, #f8f9ff 0%, #fff 100%);
}

.pricing-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

/* Pricing Card */
.pricing-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 249, 255, 0.98));
    border-radius: 25px;
    padding: 2.5rem;
    border: 2px solid rgba(138, 43, 226, 0.1);
    box-shadow: 0 10px 40px rgba(138, 43, 226, 0.12);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    text-align: right;
    direction: rtl;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), #f39c12);
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

.pricing-card:hover::before {
    transform: scaleX(1);
}

.pricing-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 60px rgba(138, 43, 226, 0.2);
    border-color: rgba(252, 219, 102, 0.4);
}

/* Popular Badge */
.pricing-card.popular {
    border: 2px solid var(--primary);
    box-shadow: 0 15px 50px rgba(252, 219, 102, 0.25);
    transform: scale(1.05);
    margin-top: 3rem;
}

.pricing-card.popular:hover {
    transform: translateY(-15px) scale(1.05);
}

.pricing-card.popular .pricing-header {
    margin-top: 1rem;
}

.popular-badge {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    background: linear-gradient(135deg, #fcdb66 0%, #f39c12 50%, #ff6b6b 100%);
    background-size: 200% auto;
    color: var(--dark);
    padding: 1rem 2rem;
    border-radius: 30px 30px 0 0;
    font-weight: 800;
    font-size: 1rem;
    font-family: 'Cairo', sans-serif;
    text-align: center;
    box-shadow: 0 8px 30px rgba(252, 219, 102, 0.6),
                inset 0 2px 0 rgba(255, 255, 255, 0.5);
    z-index: 2;
    animation: gradientSlide 3s ease infinite;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-bottom: none;
    letter-spacing: 1px;
}

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

.popular-badge::before {
    content: '⭐';
    margin-left: 8px;
    font-size: 1.1rem;
    animation: sparkleRotate 2s ease-in-out infinite;
    display: inline-block;
}

.popular-badge::after {
    content: '⭐';
    margin-right: 8px;
    font-size: 1.1rem;
    animation: sparkleRotate 2s ease-in-out infinite;
    display: inline-block;
}

@keyframes sparkleRotate {
    0%, 100% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.2); }
}

/* Pricing Header */
.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid rgba(138, 43, 226, 0.1);
}

.package-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark);
    font-family: 'Cairo', sans-serif;
    margin-bottom: 0.5rem;
}

.package-desc {
    font-size: 1rem;
    color: var(--text);
    font-family: 'Cairo', sans-serif;
    margin-bottom: 1.5rem;
}

.package-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--dark);
    font-family: 'Cairo', sans-serif;
    background: linear-gradient(135deg, var(--primary), #f39c12);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.currency {
    font-size: 1.2rem;
    color: var(--text);
    font-family: 'Cairo', sans-serif;
    font-weight: 600;
}

/* Pricing Features */
.pricing-features {
    flex-grow: 1;
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 0;
    font-family: 'Cairo', sans-serif;
    color: var(--text);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.feature-item:hover {
    color: var(--dark);
    transform: translateX(-5px);
}

.feature-item i {
    color: #10b981;
    font-size: 1.1rem;
    min-width: 20px;
    flex-shrink: 0;
}

.feature-item span {
    line-height: 1.6;
}

/* Pricing Button */
.pricing-btn {
    display: block;
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary), #f39c12);
    color: var(--dark);
    text-align: center;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    font-family: 'Cairo', sans-serif;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 8px 25px rgba(252, 219, 102, 0.3);
    position: relative;
    overflow: hidden;
}

.pricing-btn::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: all 0.6s ease;
}

.pricing-btn:hover::before {
    left: 100%;
}

.pricing-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(252, 219, 102, 0.5);
    color: var(--dark);
}

.pricing-card.popular .pricing-btn {
    background: linear-gradient(135deg, #8b5cf6, #6366f1);
    color: white;
    box-shadow: 0 8px 25px rgba(138, 43, 226, 0.4);
}

.pricing-card.popular .pricing-btn:hover {
    box-shadow: 0 15px 40px rgba(138, 43, 226, 0.6);
    color: white;
}

/* ============================================
   About Section
   ============================================ */
.about-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

/* Section Badge */
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, rgba(252, 219, 102, 0.2), rgba(139, 92, 246, 0.2));
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    border: 2px solid rgba(252, 219, 102, 0.3);
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    color: var(--dark);
    font-size: 0.95rem;
}

.section-badge i {
    color: var(--primary);
    font-size: 1rem;
}

/* About Content */
.about-content {
    padding: 2rem 0;
    direction: rtl;
    text-align: right;
}

.about-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark);
    font-family: 'Cairo', sans-serif;
    line-height: 1.3;
}

.about-description {
    font-size: 1.1rem;
    color: var(--text);
    font-family: 'Cairo', sans-serif;
    line-height: 2;
    opacity: 0.9;
}

/* About Features */
.about-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.about-feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    border: 2px solid rgba(252, 219, 102, 0.2);
    transition: all 0.4s ease;
    font-family: 'Cairo', sans-serif;
    font-size: 1.05rem;
    color: var(--dark);
    font-weight: 600;
}

.about-feature-item:hover {
    transform: translateX(-10px);
    background: rgba(252, 219, 102, 0.1);
    border-color: var(--primary);
    box-shadow: 0 5px 20px rgba(252, 219, 102, 0.3);
}

.about-feature-item i {
    color: #10b981;
    font-size: 1.5rem;
    min-width: 25px;
}

/* About Actions */
.about-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary-about,
.btn-secondary-about {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.btn-primary-about {
    background: linear-gradient(135deg, var(--primary), #f39c12);
    color: var(--dark);
    box-shadow: 0 10px 30px rgba(252, 219, 102, 0.4);
}

.btn-primary-about:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(252, 219, 102, 0.6);
    color: var(--dark);
}

.btn-secondary-about {
    background: transparent;
    color: var(--dark);
    border: 2px solid var(--primary);
}

.btn-secondary-about:hover {
    background: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(252, 219, 102, 0.4);
}

/* About Image Wrapper */
.about-image-wrapper {
    position: relative;
    padding: 2rem;
}

.about-image {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 30px;
    transition: transform 0.6s ease;
}

.about-image:hover img {
    transform: scale(1.1);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(252, 219, 102, 0.3), rgba(139, 92, 246, 0.3));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.about-image:hover .image-overlay {
    opacity: 1;
}

/* Overlay Text */
.about-overlay-text {
    position: absolute;
    bottom: 40px;
    right: 40px;
    background: linear-gradient(135deg, rgba(252, 219, 102, 0.95), rgba(243, 156, 18, 0.95));
    padding: 1rem 1.5rem;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    z-index: 3;
    text-align: right;
    direction: rtl;
    backdrop-filter: blur(10px);
    border: 3px solid rgba(255, 255, 255, 0.5);
}

.about-overlay-text h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    font-family: 'Cairo', sans-serif;
    margin-bottom: 0.5rem;
}

.about-overlay-text p {
    font-size: .8rem;
    color: var(--dark);
    font-family: 'Cairo', sans-serif;
    margin: 0;
    opacity: 0.9;
}

/* Decorative Shapes */
.about-shape-1 {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, var(--primary), #f39c12);
    border-radius: 30px;
    opacity: 0.3;
    z-index: 1;
    animation: float 6s ease-in-out infinite;
}

.about-shape-2 {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #8b5cf6, #6366f1);
    border-radius: 50%;
    opacity: 0.2;
    z-index: 1;
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}

/* Background Decoration */
.about-bg-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
}

.decoration-circle-1 {
    position: absolute;
    top: 10%;
    right: 5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(252, 219, 102, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.decoration-circle-2 {
    position: absolute;
    bottom: 10%;
    left: 5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

/* Responsive */
@media (max-width: 992px) {
    .about-section {
        padding: 60px 0;
    }

    .about-title {
        font-size: 2rem;
    }

    .about-overlay-text {
        bottom: 20px;
        right: 20px;
        padding: 1.5rem 2rem;
    }

    .about-overlay-text h3 {
        font-size: 1.2rem;
    }

    .about-shape-1,
    .about-shape-2 {
        display: none;
    }
}

@media (max-width: 768px) {
    .about-title {
        font-size: 1.8rem;
    }

    .about-description {
        font-size: 1rem;
    }

    .about-actions {
        flex-direction: column;
    }

    .btn-primary-about,
    .btn-secondary-about {
        width: 100%;
        justify-content: center;
    }

    .about-overlay-text {
        position: static;
        margin-top: 1rem;
    }
}

/* ============================================
   Statistics Section
   ============================================ */
.statistics-section {
    padding: 80px 0;
    background: #ffffff;
    position: relative;
}

/* Stat Card */
.stat-card {
    text-align: center;
    padding: 2rem 1.5rem;
    transition: all 0.3s ease;
}

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

/* Stat Icon */
.stat-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary), #f39c12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.stat-card:hover .stat-icon {
    transform: scale(1.1);
}

.stat-icon i {
    font-size: 2rem;
    color: var(--dark);
}

/* Stat Number */
.stat-number {
    margin-bottom: 0.5rem;
    font-family: 'Cairo', sans-serif;
}

.counter {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), #f39c12);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.plus {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-right: 0.2rem;
}

/* Stat Title */
.stat-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    font-family: 'Cairo', sans-serif;
    margin: 0;
}

/* Stat Decoration */
.stat-decoration {
    display: none;
}

/* Background Shapes */
.stats-bg-shapes {
    display: none;
}

/* Responsive */
@media (max-width: 992px) {
    .statistics-section {
        padding: 60px 0;
    }

    .stat-card {
        margin-bottom: 2rem;
    }

    .counter {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .counter {
        font-size: 2rem;
    }

    .plus {
        font-size: 1.5rem;
    }

    .stat-title {
        font-size: 1rem;
    }

    .stat-icon {
        width: 60px;
        height: 60px;
    }

    .stat-icon i {
        font-size: 1.5rem;
    }
}

   /* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
}

.accordion {
    direction: rtl;
    text-align: right;
}

.accordion-item {
    background: #ffffff;
    border: 2px solid rgba(138, 43, 226, 0.1);
    border-radius: 15px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-item:hover {
    border-color: rgba(252, 219, 102, 0.4);
    box-shadow: 0 5px 20px rgba(138, 43, 226, 0.1);
}

.accordion-header {
    margin: 0;
}

.accordion-button {
    background: #ffffff;
    color: var(--dark);
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 1.5rem 2rem;
    border: none;
    text-align: right;
    direction: rtl;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, rgba(252, 219, 102, 0.1), rgba(139, 92, 246, 0.05));
    color: var(--dark);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border: none;
}

.accordion-button::after {
    margin-right: auto;
    margin-left: 0;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fcdb66'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button:not(.collapsed)::after {
    transform: rotate(-180deg);
}

.accordion-button i {
    color: var(--primary);
    font-size: 1.3rem;
}

.accordion-body {
    padding: 1.5rem 2rem;
    font-family: 'Cairo', sans-serif;
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--text);
    background: #ffffff;
}

.faq-contact-card {
    background: linear-gradient(135deg, var(--primary), #f39c12);
    border-radius: 25px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 15px 50px rgba(252, 219, 102, 0.4);
    position: sticky;
    top: 100px;
}

.contact-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.contact-icon i {
    font-size: 2.5rem;
    color: var(--dark);
}

.faq-contact-card h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--dark);
    font-family: 'Cairo', sans-serif;
    margin-bottom: 1rem;
}

.faq-contact-card p {
    font-size: 1.05rem;
    color: var(--dark);
    font-family: 'Cairo', sans-serif;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.contact-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.9);
    color: var(--dark);
    padding: 1.2rem 2rem;
    border-radius: 50px;
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    text-decoration: none;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    direction: ltr;
}

.contact-phone:hover {
    background: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    color: var(--dark);
}

.contact-phone i {
    font-size: 1.5rem;
}

.btn-contact-faq {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    background: var(--dark);
    color: #ffffff;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-contact-faq:hover {
    background: #1a1a1a;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    color: #ffffff;
}

/* Responsive */
@media (max-width: 992px) {
    .faq-section {
        padding: 60px 0;
    }

    .faq-contact-card {
        margin-top: 3rem;
        position: static;
    }

    .accordion-button {
        font-size: 1rem;
        padding: 1.2rem 1.5rem;
    }

    .accordion-body {
        font-size: 1rem;
        padding: 1.2rem 1.5rem;
    }
}

@media (max-width: 768px) {
    .accordion-button {
        font-size: 0.95rem;
        padding: 1rem;
    }

    .accordion-body {
        font-size: 0.95rem;
        padding: 1rem;
    }

    .faq-contact-card h3 {
        font-size: 1.5rem;
    }

    .contact-phone {
        font-size: 1.1rem;
        padding: 1rem 1.5rem;
    }
}

/* ============================================
   Clients Slider Section
   ============================================ */
.clients-section {
    padding: 80px 0;
    background: #ffffff;
    overflow: hidden;
}

/* Swiper Clients */
.clientsSwiper {
    width: 100%;
    padding: 2rem 0 4rem;
    position: relative;
}

.clientsSwiper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Navigation Buttons */
.clientsSwiper .swiper-button-next,
.clientsSwiper .swiper-button-prev {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), #f39c12);
    border-radius: 50%;
    color: var(--dark);
    transition: all 0.3s ease;
}

.clientsSwiper .swiper-button-next:after,
.clientsSwiper .swiper-button-prev:after {
    font-size: 1.2rem;
    font-weight: 900;
}

.clientsSwiper .swiper-button-next:hover,
.clientsSwiper .swiper-button-prev:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(252, 219, 102, 0.5);
}

/* Pagination */
.clientsSwiper .swiper-pagination {
    bottom: 0;
}

.clientsSwiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(138, 43, 226, 0.3);
    opacity: 1;
    transition: all 0.3s ease;
}

.clientsSwiper .swiper-pagination-bullet-active {
    background: linear-gradient(135deg, var(--primary), #f39c12);
    width: 30px;
    border-radius: 6px;
}

/* Client Item */
.client-item {
    width: 220px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(140deg, #ffffff, #f3f4ff);
    border-radius: 22px;
    padding: 1.75rem;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

.client-item::after {
    content: '';
    position: absolute;
    inset: 10px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.4);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.client-item:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 18px 45px rgba(138, 43, 226, 0.18);
}

.client-item:hover::after {
    opacity: 1;
}

.client-item a {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 2;
}

.client-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 14px rgba(67, 56, 202, 0.18));
    transition: transform 0.35s ease;
}

.client-item:hover img {
    transform: scale(1.08);
}

/* Responsive */
@media (max-width: 768px) {
    .clients-section {
        padding: 60px 0;
    }

    .client-item {
        width: 190px;
        height: 100px;
        padding: 1.35rem;
    }
}

/* Responsive */
@media (max-width: 992px) {
    .pricing-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .pricing-card.popular {
        transform: scale(1);
    }
    
    .pricing-card.popular:hover {
        transform: translateY(-15px) scale(1);
    }
}

@media (max-width: 768px) {
    .pricing-cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .pricing-section {
        padding: 60px 0;
    }
    
    .pricing-card {
        padding: 2rem;
        margin-bottom: 2rem;
    }
    
    .package-name {
        font-size: 1.5rem;
    }
    
    .price {
        font-size: 2.5rem;
    }
    
    .popular-badge {
        top: 15px;
        left: 15px;
        padding: 0.4rem 1.2rem;
        font-size: 0.85rem;
    }
}

/* Client Results */
.client-results-page {
    background: linear-gradient(135deg, #f8f9ff 0%, #e8ecff 100%);
    min-height: 100vh;
}

.results-header {
    padding: 4rem 0 2rem;
    text-align: center;
}

.results-header .page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin: 0;
}

.results-images {
    padding: 2rem 0 4rem;
}

.images-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.result-image {
    width: 100%;
    height: 500px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(138, 43, 226, 0.1);
    transition: all 0.3s ease;
}

.result-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(138, 43, 226, 0.15);
}

.result-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 992px) {
    .result-image {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .results-header .page-title {
        font-size: 2rem;
        padding: 0 1rem;
    }
    
    .images-list {
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .result-image {
        height: 350px;
    }
}
.footer {
    background: var(--accent);
    color: var(--header-text);
    position: relative;
    overflow: hidden;
}
.footer-top {
    padding: 4rem 0 2rem;
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    direction: rtl;
}

.footer-section {
    animation: fadeInUp 0.6s ease forwards;
}

.company-info {
    padding-left: 2rem;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-logo img {
    height: 70px;
    filter: drop-shadow(0 0 15px rgba(252, 219, 102, 0.3));
    transition: all 0.3s ease;
}

.footer-logo img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 20px rgba(252, 219, 102, 0.5));
}

.company-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(252, 219, 102, 0.1);
    border: 2px solid rgba(252, 219, 102, 0.3);
    color: var(--primary);
    font-size: 1.1rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--gradient);
    transform: translate(-50%, -50%);
    transition: all 0.4s ease;
}

.social-link:hover::before {
    width: 100%;
    height: 100%;
}

.social-link:hover {
    transform: translateY(-5px) scale(1.1);
    border-color: var(--primary);
    box-shadow: 0 8px 20px rgba(252, 219, 102, 0.4);
}

.social-link i {
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.social-link:hover i {
    color: var(--dark);
    transform: scale(1.1);
}

.footer-title {
    color: var(--primary);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 3px;
    background: var(--gradient);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    padding-right: 1rem;
}

.footer-links a::before {
    content: '◀';
    position: absolute;
    right: 0;
    font-size: 0.7rem;
    color: var(--primary);
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary);
    padding-right: 1.5rem;
}

.footer-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.contact-item:hover {
    transform: translateX(5px);
}

.contact-item:hover .contact-icon {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(252, 219, 102, 0.5);
}

.contact-icon {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(252, 219, 102, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}
.contact-item i {
    font-size: 1rem;
    transition: all 0.3s ease;
    color: var(--primary-dark);
}

.contact-details {
    flex: 1;
}

.contact-details span {
    display: block;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 0.4rem;
}

.contact-details p {
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    font-size: 1rem;
    font-weight: 400;
}

.footer-bottom {
    padding: 1.5rem 0;
    border-top: 1px solid rgba(252, 219, 102, 0.2);
    background: rgba(0, 0, 0, 0.2);
}

.copyright {
    text-align: center;
}

.copyright p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.copyright a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.copyright a:hover {
    color: var(--primary-light);
    transform: scale(1.05);
}

.copyright a img {
    height: 25px;
    vertical-align: middle;
    transition: all 0.3s ease;
}

.copyright a:hover img {
    transform: rotate(360deg);
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
    
    .company-info {
        grid-column: 1 / -1;
        padding-left: 0;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-top {
        padding: 3rem 0 1.5rem;
    }
    .footer-links a::before {
        display: none;
    }
    
    .footer-links a:hover {
        padding-right: 0;
    }
    
    .contact-item {
        justify-content: center;
    }
    
    .contact-item:hover {
        transform: translateX(0);
    }
    
    .copyright p {
        font-size: 0.85rem;
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .footer-logo img {
        height: 50px;
    }
    
    .footer-title {
        font-size: 1.1rem;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}
