/* ===== Custom Scrollbar ===== */
::-webkit-scrollbar {
    width: 12px;
}
html {
    overflow-x: hidden;
}
body {
    overflow-x: hidden;
}
::-webkit-scrollbar-track {
    background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary), #ff8547);
    border-radius: 10px;
    transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* ===== Selection Styles ===== */
::selection {
    background: var(--primary);
    color: var(--white);
}

::-moz-selection {
    background: var(--primary);
    color: var(--white);
}

/* ===== Variables & Reset ===== */
:root {
    /* PUIUX Colors */
    --black: #000000;
    --white: #ffffff;
    
    /* Client Colors */
    --primary: #ffa369;
    --gray: #6c757d;
    --light-gray: #f8f9fa;
    --dark-gray: #343a40;
    
    /* Typography */
    --font-ar: 'Tajawal', sans-serif;
    --font-en: 'Poppins', sans-serif;
    
    /* Spacing */
    --section-padding: 80px 0;
    --container-padding: 0 20px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-en);
    color: var(--dark-gray);
    background: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
}

/* ===== Preloader ===== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.8s ease, transform 0.8s ease;
    overflow: hidden;
}

.preloader.fade-out {
    opacity: 0;
    transform: scale(1.1);
    pointer-events: none;
}

.loader-container {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Hexagon Loader */
.hexagon-loader {
    position: relative;
    width: 120px;
    height: 120px;
    margin-bottom: 40px;
}

.hexagon {
    position: absolute;
    width: 40px;
    height: 40px;
    background: var(--primary);
    animation: hexagon-pulse 2s ease-in-out infinite;
}

.hexagon::before,
.hexagon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: inherit;
}

.hexagon::before {
    transform: rotate(60deg);
}

.hexagon::after {
    transform: rotate(-60deg);
}

.hexagon:nth-child(1) {
    top: 0;
    left: 40px;
    animation-delay: 0s;
}

.hexagon:nth-child(2) {
    top: 35px;
    left: 0;
    background: var(--white);
    animation-delay: 0.2s;
}

.hexagon:nth-child(3) {
    top: 35px;
    left: 80px;
    animation-delay: 0.4s;
}

.hexagon:nth-child(4) {
    top: 70px;
    left: 20px;
    background: var(--white);
    animation-delay: 0.6s;
}

.hexagon:nth-child(5) {
    top: 70px;
    left: 60px;
    animation-delay: 0.8s;
}

@keyframes hexagon-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(0.8);
        opacity: 0.3;
    }
}

/* Progress Bar */
.loader-progress {
    width: 200px;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 20px;
}

.loader-progress-bar {
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--primary) 0%, var(--white) 50%, var(--primary) 100%);
    background-size: 200% 100%;
    animation: progress 2s ease-in-out, gradient-shift 1s linear infinite;
}

@keyframes progress {
    0% { width: 0%; }
    100% { width: 100%; }
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

/* Logo Animation */
.loader-logos {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    gap: 20px;
    opacity: 0;
    animation: logo-fade 2s ease-in-out infinite;
}

.loader-logo {
    height: 40px;
    filter: brightness(0) invert(1);
}

.loader-logo:first-child {
    animation: slide-right 2s ease-in-out infinite;
}

.loader-logo:last-child {
    animation: slide-left 2s ease-in-out infinite;
}

@keyframes logo-fade {
    0%, 100% { opacity: 0; }
    50% { opacity: 0.3; }
}

@keyframes slide-right {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(10px); }
}

@keyframes slide-left {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-10px); }
}

/* Loading Text */
.loader-text {
    color: var(--white);
    font-size: 14px;
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: 0.8;
    position: relative;
    overflow: hidden;
}

.loader-text::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: var(--primary);
    animation: text-underline 2s ease-in-out infinite;
}

@keyframes text-underline {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

/* Particles Background */
.preloader::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255, 163, 105, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(255, 163, 105, 0.05) 0%, transparent 50%);
    animation: particles-float 20s linear infinite;
}

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

/* ===== Navigation ===== */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

nav.scrolled {
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.98);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 30px;
}

.logo {
    height: 50px;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.collaboration-text {
    font-size: 14px;
    color: var(--gray);
    font-weight: 300;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.lang-switch {
    padding: 8px 20px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.lang-switch:hover {
    background: var(--dark-gray);
    transform: translateY(-2px);
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
    padding-top: 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 163, 105, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

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

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--black);
    line-height: 1.2;
    animation: fadeInUp 0.8s ease;
}

.hero-content h1 span {
    color: var(--primary);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--gray);
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero-cta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

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

/* ===== Countdown Section ===== */
.countdown-section {
    background: linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.9)), url('https://mutib-bin.puiux.org/sd.jpeg') center/cover;
    color: var(--white);
    padding: 60px 0;
    position: relative;
    background-attachment: fixed;
}

.countdown-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hook {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.4;
}

.hook span {
    color: var(--primary);
}

.countdown {
    text-align: center;
}

.countdown-title {
    font-size: 1.2rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Moved to enhanced section above */

.countdown-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    display: block;
}

.countdown-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ===== About Section ===== */
.about-section {
    padding: var(--section-padding);
    background: var(--white);
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    color: var(--black);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== Pages Grid ===== */
.pages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.page-card {
    background: var(--white);
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.page-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.page-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

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

/* Moved to enhanced section above */

.page-card h3 {
    font-size: 1.3rem;
    color: var(--black);
    margin-bottom: 15px;
}

.page-card p {
    color: var(--gray);
    line-height: 1.6;
}

/* ===== Features Section ===== */
.features-section {
    padding: var(--section-padding);
    background: var(--light-gray);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

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

/* Moved to enhanced section above */

.feature-content h3 {
    font-size: 1.3rem;
    color: var(--black);
    margin-bottom: 10px;
}

.feature-content p {
    color: var(--gray);
    line-height: 1.6;
}

/* ===== Pricing Section ===== */
.pricing-section {
    padding: var(--section-padding);
    background: var(--white);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-card {
    background: var(--white);
    border-radius: 20px;
    padding: 50px 40px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card.featured {
    transform: scale(1.05);
    box-shadow: 0 15px 50px rgba(255, 163, 105, 0.2);
    border: 2px solid var(--primary);
}

.pricing-card.featured::before {
    content: 'الأكثر طلباً';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--white);
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

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

.pricing-header h3 {
    font-size: 1.8rem;
    color: var(--black);
    margin-bottom: 15px;
}

.pricing-price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    margin: 20px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.pricing-price .riyal-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: grayscale(100%) brightness(0) opacity(0.8);
    transition: all 0.3s ease;
}

.pricing-card:hover .pricing-price .riyal-icon {
    filter: grayscale(0%) brightness(1) opacity(1);
    transform: scale(1.1);
}

.pricing-price span {
    font-size: 1.2rem;
    color: var(--gray);
    font-weight: 400;
}

.pricing-duration {
    color: var(--gray);
    margin-bottom: 30px;
}

.pricing-features {
    list-style: none;
    margin: 30px 0;
}

.pricing-features li {
    padding: 12px 0;
    color: var(--dark-gray);
    position: relative;
    padding-left: 30px;
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

/* ===== Process Section ===== */
.process-section {
    padding: var(--section-padding);
    background: var(--light-gray);
}

.process-timeline {
    position: relative;
    max-width: 1000px;
    margin: 60px auto 0;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--primary);
    opacity: 0.3;
}

.process-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
    position: relative;
}

.process-item:nth-child(even) {
    flex-direction: row-reverse;
}

.process-content {
    width: 45%;
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.process-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

/* Moved to enhanced section above */

.process-content h3 {
    font-size: 1.3rem;
    color: var(--black);
    margin-bottom: 15px;
}

.process-content p {
    color: var(--gray);
    line-height: 1.6;
}

/* ===== FAQ Section ===== */
.faq-section {
    padding: var(--section-padding);
    background: var(--white);
}

.faq-container {
    max-width: 800px;
    margin: 60px auto 0;
}

.faq-item {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--black);
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 30px 25px;
    max-height: 500px;
}

.faq-answer p {
    color: var(--gray);
    line-height: 1.8;
}

/* ===== CTA Section ===== */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(255, 163, 105, 0.95) 0%, rgba(255, 133, 71, 0.95) 100%), url('https://mutib-bin.puiux.org/sd.jpeg') center/cover;
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
    background-attachment: fixed;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 15s ease-in-out infinite reverse;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* ===== Footer ===== */
footer {
    background: var(--black);
    color: var(--white);
    padding: 40px 0;
    text-align: center;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

.footer-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.footer-info p {
    opacity: 0.8;
    margin-bottom: 5px;
}

.footer-info a {
    color: var(--primary);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-info a:hover {
    opacity: 0.8;
}

.footer-bottom {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.6;
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    font-family: 'Tajawal';
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: #ff8547;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 163, 105, 0.3);
}

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

.btn-secondary:hover {
    background: var(--black);
    color: var(--white);
    transform: translateY(-3px);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
}

.btn-white:hover {
    background: var(--light-gray);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* ===== Additional Styles ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.3);
    z-index: 100;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
}

.whatsapp-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--primary);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.hero-image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
}

.hero-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 163, 105, 0.9) 0%, rgba(0, 0, 0, 0.5) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero-image-container:hover .hero-image-overlay {
    opacity: 1;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 40px;
}

.about-stats {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.stat-item {
    text-align: center;
}

.stat-item .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    display: block;
}

.stat-item .stat-label {
    color: var(--gray);
    font-size: 0.9rem;
}

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

.about-img {
    width: 100%;
    height: auto;
    display: block;
}

.about-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.overlay-content {
    text-align: center;
    color: white;
}

.overlay-content i {
    font-size: 3rem;
    margin-bottom: 10px;
    color: var(--primary);
}

.footer-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
}

.dashboard-charts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

@media (min-width: 1200px) {
    .dashboard-charts {
        grid-template-columns: repeat(2, 1fr);
    }
}

.chart-card {
    background: var(--white);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.chart-card:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.chart-card h4 {
    font-size: 1rem;
    color: var(--dark-gray);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.chart-card h4 i {
    color: var(--primary);
}

/* Bar Chart */
.chart-bars {
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    height: 150px;
    gap: 10px;
}

.bar {
    width: 30px;
    background: var(--primary);
    border-radius: 5px 5px 0 0;
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
    animation: growBar 1s ease-out;
}

@keyframes growBar {
    from {
        height: 0;
    }
}

.bar:hover {
    opacity: 0.8;
    transform: translateY(-5px);
}

.bar::after {
    content: attr(data-value);
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.bar:hover::after {
    opacity: 1;
}

.bar:nth-child(1) { height: 70%; background: var(--primary); animation-delay: 0.1s; }
.bar:nth-child(2) { height: 85%; background: #ff8547; animation-delay: 0.2s; }
.bar:nth-child(3) { height: 60%; background: var(--primary); animation-delay: 0.3s; }
.bar:nth-child(4) { height: 90%; background: #ff8547; animation-delay: 0.4s; }
.bar:nth-child(5) { height: 75%; background: var(--primary); animation-delay: 0.5s; }

/* Line Chart */
.chart-line {
    position: relative;
    height: 150px;
    width: 100%;
}

.line-svg {
    width: 100%;
    height: 100%;
}

.line-path {
    stroke: var(--primary);
    stroke-width: 3;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 2px 4px rgba(255, 163, 105, 0.3));
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawLine 2s ease-out forwards;
}

@keyframes drawLine {
    to {
        stroke-dashoffset: 0;
    }
}

.line-area {
    fill: url(#gradient);
    opacity: 0;
    animation: fadeIn 1s ease-out 1s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 0.2;
    }
}

.line-dots {
    fill: var(--primary);
    stroke: white;
    stroke-width: 2;
    r: 4;
    opacity: 0;
    animation: fadeIn 0.5s ease-out 1.5s forwards;
}

/* Donut Chart */
.chart-donut {
    width: 150px;
    height: 150px;
    margin: 0 auto;
    position: relative;
}

.donut-svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.donut-bg {
    fill: none;
    stroke: var(--light-gray);
    stroke-width: 20;
}

.donut-fill {
    fill: none;
    stroke: var(--primary);
    stroke-width: 20;
    stroke-linecap: round;
    stroke-dasharray: 0 314;
    animation: fillDonut 1.5s ease-out forwards;
}

@keyframes fillDonut {
    to {
        stroke-dasharray: 235 314;
    }
}

.donut-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
}

/* Activity Feed */
.activity-feed {
    margin-top: 20px;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-item:hover {
    padding-left: 10px;
}

.activity-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.activity-content {
    flex: 1;
}

.activity-title {
    font-size: 0.9rem;
    color: var(--dark-gray);
    font-weight: 500;
}

.activity-time {
    font-size: 0.8rem;
    color: var(--gray);
}

.activity-badge {
    background: var(--primary);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-image-container {
        height: 350px;
        margin-top: 30px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
        margin-bottom: 40px;
    }
    
    .countdown-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hook {
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .about-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav-links {
        display: none;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .process-timeline::before {
        left: 30px;
    }
    
    .process-item {
        flex-direction: column !important;
        text-align: left;
    }
    
    .process-content {
        width: 100%;
        margin-left: 60px;
    }
    
    .process-number {
        left: 30px;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-image-container {
        height: 250px;
    }
    
    .about-img {
        height: 250px;
    }
    
    .countdown-timer {
        gap: 10px;
    }
    
    .countdown-item {
        min-width: 60px;
        padding: 15px 10px;
    }
    
    .countdown-number {
        font-size: 1.8rem;
    }
    
    .features-grid,
    .pages-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
    
    .pricing-price {
        font-size: 2.5rem;
    }
    
    .pricing-price .riyal-icon {
        width: 30px;
        height: 30px;
    }
    .about-grid {
        display: flex;
        grid-template-columns: 1fr 1fr;
        gap: 60px;
        align-items: center;
        margin-top: 40px;
        align-content: flex-end;
        flex-direction: column;
    }
}

/* ===== RTL Support for Arabic ===== */
.rtl {
    direction: rtl;
    text-align: right;
}

.rtl .nav-links {
    flex-direction: row-reverse;
}

.rtl .feature-item {
    flex-direction: row-reverse;
}

.rtl .pricing-features li {
    padding-left: 0;
    padding-right: 30px;
}

.rtl .pricing-features li::before {
    left: auto;
    right: 0;
}

.rtl .process-timeline::before {
    right: 50%;
    left: auto;
}

.rtl .process-number {
    right: 50%;
    left: auto;
    transform: translateX(50%);
}

.rtl .faq-question {
    flex-direction: row-reverse;
}

/* ===== WhatsApp Float Button ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    background: #22c15e;
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
    color: var(--white);
}

.whatsapp-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff0000;
    color: var(--white);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    animation: pulse-badge 2s ease-in-out infinite;
}

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

.rtl .whatsapp-float {
    right: auto;
    left: 30px;
}

.rtl .whatsapp-badge {
    right: auto;
    left: -5px;
}
.process-content h3 {
    text-align: right;
}
/* ===== Enhanced Icons ===== */
.page-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary), #ff8547);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    color: var(--white);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.page-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(45deg) translateY(100%);
    transition: transform 0.6s ease;
}

.page-card:hover .page-icon::before {
    transform: rotate(45deg) translateY(-100%);
}

.page-card:hover .page-icon {
    transform: rotateY(360deg);
    box-shadow: 0 10px 30px rgba(255, 163, 105, 0.4);
}

/* ===== Feature Icons Enhanced ===== */
.feature-icon {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), #ff8547);
    color: var(--white);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 5px 20px rgba(255, 163, 105, 0.3);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.feature-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.5s ease;
}

.feature-item:hover .feature-icon::after {
    transform: scale(2);
    opacity: 0;
}

.feature-item:hover .feature-icon {
    transform: translateY(-5px) rotate(5deg);
    box-shadow: 0 10px 30px rgba(255, 163, 105, 0.4);
}

/* ===== Hero Visual Enhanced ===== */
.hero-visual {
    position: relative;
}

.hero-image-container {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    animation: float-slow 6s ease-in-out infinite;
}

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

.hero-image-container:hover .hero-image {
    transform: scale(1.05);
}

.hero-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 163, 105, 0.3), rgba(0, 0, 0, 0.3));
    pointer-events: none;
}

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

/* ===== About Section Enhanced ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 40px;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    justify-content: center;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.stat-label {
    color: var(--gray);
    font-size: 1rem;
}

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

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

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

.about-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 163, 105, 0.8), rgba(0, 0, 0, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s ease;
}

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

.overlay-content {
    text-align: center;
    color: var(--white);
}

.overlay-content i {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
}

.overlay-content p {
    font-size: 1.2rem;
    font-weight: 500;
}

/* ===== Countdown Enhanced ===== */
.countdown-item {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 163, 105, 0.1));
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 15px;
    min-width: 80px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.countdown-item:hover {
    transform: translateY(-5px);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 163, 105, 0.2));
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* ===== Dashboard Preview Enhanced ===== */
.dashboard-header {
    background: linear-gradient(135deg, rgba(255, 163, 105, 0.95), rgba(255, 133, 71, 0.95)), url('https://mutib-bin.puiux.org/sd.jpeg') center/cover;
    color: var(--white);
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.dashboard-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 10s ease-in-out infinite;
}

.stat-card {
    background: linear-gradient(135deg, var(--light-gray), rgba(255, 163, 105, 0.05));
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 163, 105, 0.1);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 163, 105, 0.1), transparent);
    transform: rotate(45deg) translateY(100%);
    transition: transform 0.6s ease;
}

.stat-card:hover::before {
    transform: rotate(45deg) translateY(-100%);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 163, 105, 0.2);
}

/* ===== Process Enhanced ===== */
.process-number {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), #ff8547);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.3rem;
    box-shadow: 0 5px 20px rgba(255, 163, 105, 0.4);
    z-index: 2;
    transition: all 0.3s ease;
}

.process-item:hover .process-number {
    transform: translateX(-50%) scale(1.2);
    box-shadow: 0 10px 30px rgba(255, 163, 105, 0.5);
}

/* ===== Gradient Background Animation ===== */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero {
    background: linear-gradient(-45deg, var(--light-gray), var(--white), rgba(255, 163, 105, 0.05), var(--white));
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

/* ===== Glow Effects ===== */
.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

/* ===== Particle Effects ===== */
.hero::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, var(--primary), transparent),
        radial-gradient(2px 2px at 60% 70%, #ff8547, transparent),
        radial-gradient(1px 1px at 90% 10%, var(--primary), transparent);
    background-size: 300px 300px;
    background-position: 0 0, 40px 60px, 130px 270px;
    animation: particleFloat 20s linear infinite;
    opacity: 0.3;
    pointer-events: none;
}

@keyframes particleFloat {
    0% { transform: translateY(0); }
    100% { transform: translateY(-300px); }
}

/* ===== Text Gradient ===== */
.section-title {
    background: linear-gradient(135deg, var(--black), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== Card Tilt Effect ===== */
.pricing-card {
    transform-style: preserve-3d;
    perspective: 1000px;
}

.pricing-card:hover {
    transform: rotateY(5deg) rotateX(-5deg) translateY(-10px);
}

/* ===== Animations ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

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

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ===== Admin Dashboard Preview ===== */
.dashboard-preview {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    margin-top: 60px;
}

/* Moved to enhanced section above */

.dashboard-header h3 {
    font-size: 1.3rem;
}

.dashboard-body {
    padding: 30px;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

/* Moved to enhanced section above */

.stat-card h4 {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.stat-card .stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.dashboard-preview-image {
    width: 100%;
    min-height: 400px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    padding: 20px;
}

.dashboard-charts {
    position: relative;
    width: 100%;
    height: 100%;
}

.dashboard-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.chart-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.8);
}

/* ===== Special Offer Badge ===== */
.offer-badge {
    position: fixed;
    top: 100px;
    right: 20px;
    background: var(--primary);
    color: var(--white);
    padding: 15px 25px;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(255, 163, 105, 0.4);
    z-index: 100;
    animation: bounce 2s ease-in-out infinite;
    cursor: pointer;
    transition: all 0.3s ease;
}

.offer-badge:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(255, 163, 105, 0.5);
}

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

.rtl .offer-badge {
    right: auto;
    left: 20px;
}

/* ===== Mobile Menu ===== */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--black);
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    .rtl .process-number {
        right: 100%;
        transform: translateX(100%);
    }
    .about-grid {
        display: flex;
        grid-template-columns: 1fr 1fr;
        gap: 60px;
        align-items: center;
        margin-top: 40px;
        align-content: flex-end;
        flex-direction: column;
    }
    .process-number {
        left: 30px;
    }
    .nav-links {
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 100px 30px;
        gap: 20px;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .rtl .nav-links {
        right: auto;
        left: -300px;
    }
    
    .rtl .nav-links.active {
        left: 0;
    }
    
    .dashboard-charts {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .dashboard-charts {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .chart-card {
        padding: 15px;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    .rtl .whatsapp-float {
        right: auto;
        left: 20px;
    }
}