:root {
    --primary-color: #8B5CF6;
    --secondary-color: #EC4899;
    --accent-color: #3B82F6;
    --text-color: #1F2937;
    --bg-color: #FFFFFF;
    --section-bg: #F9FAFB;
    
    /* التدرجات */
    --gradient-1: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    --gradient-2: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    --gradient-3: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    

    --shadow-color: rgba(139, 92, 246, 0.2);
    --neon-glow: 0 0 20px rgba(139, 92, 246, 0.3);
    --transition: all 0.3s ease;
    
    --primary-rgb: 139, 92, 246;
    --secondary-rgb: 236, 72, 153;
    --accent-rgb: 59, 130, 246;
    
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1), 0 2px 4px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1), 0 4px 6px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px rgba(0,0,0,0.1), 0 10px 10px rgba(0,0,0,0.04);
    
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* متغيرات الوضع الداكن */
[data-theme="dark"] {
    --primary-color: #A78BFA;
    --secondary-color: #F472B6;
    --accent-color: #60A5FA;
    --text-color: #F3F4F6;
    --bg-color: #111827;
    --section-bg: #1F2937;
}

/* إعادة تعيين وأنماط أساسية */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
      scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    transition: var(--transition);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* التحريكات المشتركة */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* شريط التنقل */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(5px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.064);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    z-index: 1000;
    transition: var(--transition);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    padding: 0 2rem;
}

/* Logo Styles */
.logo {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
}

.logo img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    transition: var(--transition);
}

/* Navigation Links */
.nav-links {
    display: flex;
    gap: 35px;
    align-items: center;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    transition: var(--transition);
    position: relative;
    padding: 8px 0;
}

.nav-links a:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Theme Toggle */
.nav-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transform-origin: right;
    transition: var(--transition);
    border-radius: 2px;
}

.nav-links a:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.nav-links a:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

/* Theme Toggle */
.theme-toggle {
    cursor: pointer;
    font-size: 20px;
    color: var(--text-color);
    transition: var(--transition);
    padding: 10px;
    border-radius: 50%;
    background: rgba(var(--primary-rgb), 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(var(--primary-rgb), 0.2);
}

.theme-toggle:hover {
    background: rgba(var(--primary-rgb), 0.2);
    transform: scale(1.1) rotate(15deg);
    box-shadow: var(--neon-glow);
}

/* Mobile Navigation */
.checkbtn {
    display: none;
    font-size: 22px;
    color: var(--text-color);
    cursor: pointer;
    z-index: 0;
}

#check {
    display: none;
    z-index: 0;
}

/* Responsive Navigation */
@media screen and (max-width: 768px) {
    .navbar .container {
        padding: 0 1rem;
    }

    .logo {
        font-size: 24px;
    }

    .logo img {
        width: 50px;
        height: 50px;
    }

    .checkbtn {
        display: block;
        line-height: 80px;
    }

    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--bg-color);
        flex-direction: column;
        padding: 2rem;
        transition: var(--transition);
    }

    .nav-links a {
        width: 100%;
        text-align: center;
        padding: 1rem;
        opacity: 0;
        transform: translateY(20px);
        transition: var(--transition);
    }

    #check:checked ~ .nav-links {
        left: 0;
    }

    #check:checked ~ .nav-links a {
        opacity: 1;
        transform: translateY(0);
    }

    .nav-links a:nth-child(2) { transition-delay: 0.3s; }
    .nav-links a:nth-child(3) { transition-delay: 0.4s; }
    .nav-links a:nth-child(4) { transition-delay: 0.5s; }
    .nav-links a:nth-child(5) { transition-delay: 0.6s; }
    .nav-links a:nth-child(6) { transition-delay: 0.7s; }
}

@media screen and (max-width: 480px) {
    .navbar .container {
        height: 60px;
    }

    .logo {
        font-size: 20px;
    }

    .logo img {
        width: 40px;
        height: 40px;
    }

    .nav-links {
        top: 60px;
        height: calc(100vh - 60px);
    }

    .checkbtn {
        line-height: 60px;
    }
}

/* Navigation Checkbox Styles */
.nav-checkbox {
    display: none;
}

.nav-toggle {
    display: none;
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
        cursor: pointer;
        padding: 10px;
        z-index: 1001;
    }

    .nav-toggle-icon {
        width: 25px;
        height: 3px;
        background: var(--primary-color);
        position: relative;
        display: block;
        transition: all 0.3s ease;
    }

    .nav-toggle-icon::before,
    .nav-toggle-icon::after {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        background: var(--primary-color);
        transition: all 0.3s ease;
    }

    .nav-toggle-icon::before {
        top: -8px;
    }

    .nav-toggle-icon::after {
        top: 8px;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--bg-color);
        flex-direction: column;
        align-items: center;
        padding: 20px;
        transition: all 0.3s ease;
    }

    .nav-checkbox:checked ~ .nav-links {
        left: 0;
    }

    .nav-checkbox:checked ~ .nav-toggle .nav-toggle-icon {
        background: transparent;
    }

    .nav-checkbox:checked ~ .nav-toggle .nav-toggle-icon::before {
        top: 0;
        transform: rotate(45deg);
    }

    .nav-checkbox:checked ~ .nav-toggle .nav-toggle-icon::after {
        top: 0;
        transform: rotate(-45deg);
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    height: auto;
    padding: 100px 0;
    display: flex;
    align-items: center;
    background: var(--bg-color);
    position: relative;
    overflow: hidden;
}

.wave-1 {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='rgba(139, 92, 246, 0.2)' fill-opacity='1' d='M0,192L48,197.3C96,203,192,213,288,213.3C384,213,480,203,576,197.3C672,192,768,192,864,197.3C960,203,1056,213,1152,213.3C1248,213,1344,203,1392,197.3L1440,192L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: repeat-x;
    background-position: bottom;
    background-size: cover;
    z-index: 1;
    animation: waveMove 10s ease-in-out infinite;
    opacity: 0.9;
}

.wave-2 {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 160px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='rgba(236, 72, 153, 0.15)' fill-opacity='1' d='M0,224L48,229.3C96,235,192,245,288,245.3C384,245,480,235,576,229.3C672,224,768,224,864,229.3C960,235,1056,245,1152,245.3C1248,245,1344,235,1392,229.3L1440,224L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: repeat-x;
    background-position: bottom;
    background-size: cover;
    z-index: 2;
    animation: waveFloat 13s ease-in-out infinite;
    animation: waveMove 10s ease-in-out infinite;
    opacity: 0.7;
}

.wave-3 {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='rgba(59, 130, 246, 0.1)' fill-opacity='1' d='M0,256L48,261.3C96,267,192,277,288,277.3C384,277,480,267,576,261.3C672,256,768,256,864,261.3C960,267,1056,277,1152,277.3C1248,277,1344,267,1392,261.3L1440,256L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: repeat-x;
    background-position: bottom;
    background-size: cover;
    z-index: 3;
    animation: waveRipple 15s ease-in-out infinite;
    animation: waveMove 10s ease-in-out infinite;
    opacity: 0.5;
}

@keyframes waveMove {
    0% {
        transform: translateX(0) translateY(0) scale(1);
    }
    50% {
        transform: translateX(-25px) translateY(-5px) scale(2);
    }
    100% {
        transform: translateX(0) translateY(0) scale(1);
    }
}

@keyframes waveFloat {
    0% {
        transform: translateX(0) translateY(0) scale(1);
    }
    50% {
        transform: translateX(20px) translateY(5px) scale(1.5);
    }
    100% {
        transform: translateX(0) translateY(0) scale(1);
    }
}

@keyframes waveRipple {
    0% {
        transform: translateX(0) translateY(0) scale(1);
    }
    50% {
        transform: translateX(-15px) translateY(3px) scale(1.5);
    }
    100% {
        transform: translateX(0) translateY(0) scale(1);
    }
}



/* Dark Mode Waves */
[data-theme="dark"] .wave-1 {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='rgba(139, 92, 246, 0.2)' fill-opacity='1' d='M0,192L48,197.3C96,203,192,213,288,213.3C384,213,480,203,576,197.3C672,192,768,192,864,197.3C960,203,1056,213,1152,213.3C1248,213,1344,203,1392,197.3L1440,192L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: cover;
    z-index: 1;
    animation: waveMove 10s ease-in-out infinite;
    opacity: 0.9;
}

[data-theme="dark"] .wave-2 {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 160px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='rgba(236, 72, 153, 0.15)' fill-opacity='1' d='M0,224L48,229.3C96,235,192,245,288,245.3C384,245,480,235,576,229.3C672,224,768,224,864,229.3C960,235,1056,245,1152,245.3C1248,245,1344,235,1392,229.3L1440,224L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: cover;
    z-index: 2;
    animation: waveFloat 13s ease-in-out infinite;
    opacity: 0.7;
}

[data-theme="dark"] .wave-3 {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='rgba(59, 130, 246, 0.1)' fill-opacity='1' d='M0,256L48,261.3C96,267,192,277,288,277.3C384,277,480,267,576,261.3C672,256,768,256,864,261.3C960,267,1056,277,1152,277.3C1248,277,1344,267,1392,261.3L1440,256L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: cover;
    z-index: 3;
    animation: waveRipple 15s ease-in-out infinite;
    opacity: 0.5;
}

.hero .container {
    width: 100%;
    padding: 0 20px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 600px;
    color: var(--text-color);
    position: relative;
    z-index: 2;
    animation: fadeInLeft 1s ease-out;
    padding: 20px 0;
}

.hero-subtitle {
    display: inline-block;
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    color: var(--primary-color);
    animation: fadeInUp 0.8s ease-out;
}

.hero h1 {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-color);
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.hero h1 span {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    opacity: 1;
    animation: none;
}

.hero h1 span::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s ease;
}

.hero h1 span:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.hero h2 {
    font-size: 32px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
    position: relative;
    height: 50px;
    overflow: hidden;
}

.hero h2 .word {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateY(30px);
    animation: wordChange 16s infinite;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 0 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
    color: var(--primary-color);
    text-shadow: 0 0 20px rgba(var(--primary-rgb), 0.3);
}

.hero h2 .word::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.hero h2 .word:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.hero h2 .word:nth-child(1) { 
    animation-delay: 0s;
    color: var(--primary-color);
}

.hero h2 .word:nth-child(2) { 
    animation-delay: 4s;
    color: var(--secondary-color);
}

.hero h2 .word:nth-child(3) { 
    animation-delay: 8s;
    color: var(--accent-color);
}

.hero h2 .word:nth-child(4) { 
    animation-delay: 12s;
    color: var(--primary-color);
}

@keyframes wordChange {
    0%, 20% {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }
    25%, 40% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    45%, 100% {
        opacity: 0;
        transform: translateY(-30px) scale(0.9);
    }
}

/* Dark Mode Words */
[data-theme="dark"] .hero h2 .word {
    text-shadow: 0 0 30px rgba(167, 139, 250, 0.4);
}

[data-theme="dark"] .hero h2 .word:nth-child(1) {
    color: var(--primary-color);
}

[data-theme="dark"] .hero h2 .word:nth-child(2) {
    color: var(--secondary-color);
}

[data-theme="dark"] .hero h2 .word:nth-child(3) {
    color: var(--accent-color);
}

[data-theme="dark"] .hero h2 .word:nth-child(4) {
    color: var(--primary-color);
}

.hero p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 30px;
    color: var(--text-color);
    opacity: 0.9;
    animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease-out 0.8s backwards;
    z-index: 100000;
}
.hero-buttons a {
  position: relative;
  z-index: 100000;
}


.cta-button {
    display: inline-block;
    padding: 15px 30px;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    transition: var(--transition);
    font-weight: 500;
    text-align: center;
    z-index: 400;
}

.cta-button.primary {
    background: var(--gradient-1);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.2);
    z-index: 400;
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    z-index: 400;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.25);
}

.cta-button.primary:hover {
    background: var(--gradient-2);
}

.cta-button.secondary:hover {
    background: var(--primary-color);
    color: white;
}

.hero-stats {
    display: flex;
    gap: 40px;
    animation: fadeInUp 0.8s ease-out 1s backwards;
    margin-top: 40px;
}

.hero-stats .stat {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.1);
    transition: var(--transition);
}

.hero-stats .stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.15);
}

.hero-stats .number {
    color: var(--primary-color);
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
}

.hero-stats .label {
    color: var(--text-color);
    opacity: 0.8;
    font-size: 14px;
}

.hero-image {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
    animation: floatImage 12s ease-in-out infinite;
}

.hero-image img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.hero-image img:hover {
    transform: scale(1.02);
}

@keyframes floatImage {
    0% {
        transform: translateY(0) rotate(0deg) scale(1);
    }
    25% {
        transform: translateY(-8px) rotate(0.5deg) scale(1.01);
    }
    50% {
        transform: translateY(0) rotate(0deg) scale(1);
    }
    75% {
        transform: translateY(8px) rotate(-0.5deg) scale(1.01);
    }
    100% {
        transform: translateY(0) rotate(0deg) scale(1);
    }
}

.flying-icons {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    height: calc(100% - 80px);
    pointer-events: none;
    z-index: 10;
}

.flying-icon {
    position: absolute;
    font-size: 32px;
    color: var(--primary-color);
    opacity: 0.7;
    animation: flyIcon 10s ease-in-out infinite;
    text-shadow: 0 0 15px rgba(var(--primary-rgb), 0.4);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    padding: 15px;
    border-radius: 50%;
    border: 1px solid rgba(var(--primary-rgb), 0.2);
    box-shadow: 0 0 20px rgba(var(--primary-rgb), 0.2);
    z-index: 10;
}

.flying-icon:nth-child(1) {
    top: 10%;
    left: -10px;
    animation-delay: 0s;
    z-index: 10;
}

.flying-icon:nth-child(2) {
    top: 30%;
    right: -10px;
    animation-delay: 2s;
    z-index: 10;
}

.flying-icon:nth-child(3) {
    bottom: 20%;
    left: -8px;
    animation-delay: 4s;
    z-index: 10;
}

.flying-icon:nth-child(4) {
    bottom: 10%;
    right: -8px;
    animation-delay: 6s;
    z-index: 10;
}

@keyframes flyIcon {
    0% {
        transform: translate(0, 0) rotate(0deg) scale(1);
        opacity: 0.7;
    }
    25% {
        transform: translate(25px, -25px) rotate(15deg) scale(1.1);
        opacity: 0.9;
    }
    50% {
        transform: translate(0, -35px) rotate(0deg) scale(1);
        opacity: 0.7;
    }
    75% {
        transform: translate(-25px, -25px) rotate(-15deg) scale(1.1);
        opacity: 0.9;
    }
    100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
        opacity: 0.7;
    }
}

/* Dark Mode Flying Icons */
[data-theme="dark"] .flying-icon {
    color: var(--primary-color);
    text-shadow: 0 0 20px rgba(167, 139, 250, 0.5);
    background: rgba(31, 41, 55, 0.3);
    border-color: rgba(167, 139, 250, 0.3);
    box-shadow: 0 0 30px rgba(167, 139, 250, 0.3);
}

[data-theme="dark"] .flying-icon:nth-child(1) {
    background: linear-gradient(135deg, rgba(167, 139, 250, 0.1), rgba(244, 114, 182, 0.1));
}

[data-theme="dark"] .flying-icon:nth-child(2) {
    background: linear-gradient(135deg, rgba(244, 114, 182, 0.1), rgba(96, 165, 250, 0.1));
}

[data-theme="dark"] .flying-icon:nth-child(3) {
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.1), rgba(167, 139, 250, 0.1));
}

[data-theme="dark"] .flying-icon:nth-child(4) {
    background: linear-gradient(135deg, rgba(167, 139, 250, 0.1), rgba(244, 114, 182, 0.1));
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--secondary-color);
    padding: 15px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 20px var(--shadow-color);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.experience-badge .years {
    display: block;
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
}

.experience-badge .text {
    font-size: 14px;
    opacity: 0.9;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.section-subtitle {
    display: inline-block;
    font-size: 18px;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 15px;
    background: rgba(139, 92, 246, 0.08);
    padding: 8px 16px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(139, 92, 246, 0.15);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.1);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    border-radius: 2px;
}


.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
    perspective: 1000px;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(var(--primary-rgb), 0.1);
    border: 1px solid rgba(var(--primary-rgb), 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    margin-bottom: 1rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.3s ease;
}

.stat-label {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

.stat-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(var(--primary-rgb), 0.2);
}

[data-theme="dark"] .stat-item {
    background: rgba(31, 41, 55, 0.2);
    border-color: rgba(var(--primary-rgb), 0.2);
}

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

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

@media (max-width: 768px) {
    .about-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .stat-item {
        padding: 15px;
    }

    .stat-item .number {
        font-size: 36px;
    }
}

/* إضافة الفاصل المهني */
.section-break {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 2rem 0;
    position: relative;
    z-index: 2;
    max-width: 500px;
    margin: 0 auto;
}

.break-line {
    height: 2px;
    width: 120px;
    background: linear-gradient(
        to right,
        transparent,
        var(--primary-color) 50%,
        transparent
    );
    opacity: 0.7;
}

.break-icon {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-1);
    border-radius: 50%;
    color: white;
    font-size: 0.9rem;
    box-shadow: 0 0 20px rgba(var(--primary-rgb), 0.3);
    animation: gentlePulse 2s infinite;
}

@keyframes gentlePulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(var(--primary-rgb), 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 25px rgba(var(--primary-rgb), 0.4);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(var(--primary-rgb), 0.3);
    }
}


/* Contact Section */
.contact-section {
    position: relative;
    background: linear-gradient(120deg, var(--bg-color) 0%, var(--section-bg) 100%);
    overflow: hidden;
    z-index: 1;
}
.contact-section::before {
    content: '';
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 70vw;
    height: 300px;
    background: radial-gradient(circle at 50% 50%, rgba(var(--secondary-rgb), 0.10) 0%, transparent 80%);
    z-index: 0;
    filter: blur(8px);
    opacity: 0.6;
    pointer-events: none;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    margin-top: 50px;
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: rgba(var(--primary-rgb), 0.05);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    background: rgba(var(--primary-rgb), 0.1);
}

.contact-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: var(--bg-color);
    border-radius: 12px;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    transform: scale(1.1);
}

.contact-details h3 {
    color: var(--text-color);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.contact-details p {
    color: var(--text-color);
    opacity: 0.8;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-color);
    color: var(--bg-color);
    transform: translateY(-5px);
}

/* Contact Form */
.contact-form {
    padding: 40px;
    background: rgba(var(--primary-rgb), 0.03);
    border-radius: 20px;
    border: 1px solid rgba(var(--primary-rgb), 0.1);
}

.form-group {
    position: relative;
    margin-bottom: 25px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    background: var(--bg-color);
    border: 1px solid rgba(var(--primary-rgb), 0.2);
    border-radius: 12px;
    color: var(--text-color);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-group label {
    position: absolute;
    left: 20px;
    top: 15px;
    color: var(--text-color);
    opacity: 0.7;
    font-size: 1rem;
    pointer-events: none;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
}

.form-group input:focus ~ label,
.form-group textarea:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
    transform: translateY(-25px) scale(0.9);
    color: var(--primary-color);
}

.submit-btn {
    width: 100%;
    padding: 15px 30px;
    background: var(--primary-color);
    color: var(--bg-color);
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.3);
}

.submit-btn i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.submit-btn:hover i {
    transform: translateX(5px);
}

/* Dark Mode Support */
[data-theme="dark"] .contact-item {
    background: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .contact-form {
    background: rgba(255, 255, 255, 0.03);
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group textarea {
    background: rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-info {
        order: 2;
    }

    .contact-form {
        order: 1;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 60px 0;
    }

    .contact-item {
        padding: 15px;
    }

    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .social-links {
        justify-content: center;
    }

    .contact-form {
        padding: 30px;
    }

    .form-group input,
    .form-group textarea {
        padding: 12px 15px;
        font-size: 0.95rem;
    }

    .submit-btn {
        padding: 12px 25px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .contact-section {
        padding: 40px 0;
    }

    .contact-details h3 {
        font-size: 1rem;
    }

    .contact-details p {
        font-size: 0.9rem;
    }

    .social-link {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .contact-form {
        padding: 20px;
    }
}

/* تحسينات الوضع المظلم */
[data-theme="dark"] .contact-card,
[data-theme="dark"] .contact-form {
    background: var(--dark-card-bg);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.1);
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.15);
}

.contact-form {
    display: grid;
    gap: 20px;
    opacity: 0;
    animation: fadeInRight 0.8s ease-out forwards;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid rgba(139, 92, 246, 0.1);
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    color: var(--text-color);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.submit-btn {
    padding: 15px 30px;
    background: var(--gradient-1);
    color: white;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.2);
}

.submit-btn:hover {
    background: var(--gradient-2);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.25);
}

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Profile Section */
.profile {
    padding: 4rem 0;
    background: linear-gradient(
        to bottom,
        var(--bg-color),
        rgba(var(--primary-rgb), 0.05)
    );
    position: relative;
    overflow: hidden;
}

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

/* تحريكات الخلفية */
@keyframes gradientMove {
    0%, 100% {
        transform: scale(1) rotate(0deg);
    }
    50% {
        transform: scale(1.2) rotate(5deg);
    }
}

@keyframes patternMove {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 60px 60px;
    }
}

/* تحسين مظهر العناصر في الوضع المظلم */
[data-theme="dark"] .profile::before {
    background: 
        radial-gradient(circle at 20% 20%, rgba(var(--primary-rgb), 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(var(--secondary-rgb), 0.2) 0%, transparent 50%);
}

[data-theme="dark"] .profile::after {
    opacity: 0.3;
}

.profile-header {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 2.5rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(var(--primary-rgb), 0.1);
    box-shadow: 0 10px 30px rgba(var(--primary-rgb), 0.1);
    transition: all 0.3s ease;
}

.profile-avatar {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--gradient-1);
    flex-shrink: 0;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.profile-info {
    flex: 1;
}

.profile-title h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.profile-subtitle {
    font-size: 1.1rem;
    color: var(--text-color);
    opacity: 0.9;
    font-weight: 500;
    display: block;
    margin-bottom: 1.5rem;
}

.profile-description {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-color);
    position: relative;
    padding-left: 1rem;
    border-left: 3px solid var(--primary-color);
}

/* التجاوب مع الشاشات */
@media (max-width: 992px) {
    .profile-header {
    padding: 1.5rem;
    }

    .profile-avatar {
        width: 100px;
        height: 100px;
    }

    .profile-title h3 {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .profile-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1.5rem;
    }

    .profile-avatar {
        margin-bottom: 1rem;
    }

    .profile-description {
        padding-left: 0;
        border-left: none;
        border-top: 3px solid var(--primary-color);
        padding-top: 1rem;
        margin-top: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .profile-header {
        padding: 1rem;
    }

    .profile-avatar {
        width: 90px;
        height: 90px;
    }

    .profile-title h3 {
        font-size: 1.5rem;
    }
}

/* تحسينات الوضع المظلم */
[data-theme="dark"] .profile-header {
    background: rgba(255, 255, 255, 0.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* تأثيرات التحويم */
.profile-header:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(var(--primary-rgb), 0.15);
}

.profile-avatar:hover img {
    transform: scale(1.1);
}

/* Hero Section Responsive */
@media (max-width: 992px) {
    .hero {
        padding: 60px 0;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .hero-content {
        max-width: 100%;
        margin: 0 auto;
        order: 2;
        padding: 10px 0;
    }
    
    .hero-image {
        max-width: 400px;
        margin: 0 auto;
        order: 1;
        padding: 10px;
    }
    
    .hero-buttons {
        justify-content: center;
        margin: 20px 0;
        z-index: 50000;
    }
    .hero-buttons a{
                z-index: 50000;
    }
    
    .hero-stats {
        justify-content: center;
        margin-top: 30px;
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 50px 0;
    }
    
    .hero h1 {
        font-size: 36px;
        margin-bottom: 15px;
    }
    
    .hero h2 {
        font-size: 22px;
        margin-bottom: 15px;
    }
    
    .hero p {
        font-size: 15px;
        margin-bottom: 20px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        margin: 50px 0;
    }
      .wave {
    z-index: 1;
  }
  [data-theme="dark"] .wave {
    z-index: 1;
  }

    .hero-stats {
        flex-wrap: wrap;
        gap: 15px;
        margin-top: 25px;
    }
    
    .hero-stats .stat {
        flex: 1 1 calc(50% - 15px);
        min-width: 140px;
        padding: 15px;
    }
    
    .hero-image {
        max-width: 350px;
        margin-bottom: 20px;
        padding: 10px;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 40px 0;
    }
    
    .hero h1 {
        font-size: 30px;
        margin-bottom: 12px;
    }
    
    .hero h2 {
        font-size: 18px;
        margin-bottom: 12px;
    }
    
    .hero p {
        font-size: 14px;
        margin-bottom: 15px;
    }
    
    .hero-stats .stat {
        flex: 1 1 100%;
        padding: 12px;
    }
    
    .hero-image {
        max-width: 280px;
        margin-bottom: 15px;
        padding: 8px;
    }
    
    .hero-buttons {
        margin: 12px 0;
    }
    
    .hero-stats {
        margin-top: 20px;
        gap: 12px;
    }
}

/* Hero Content Spacing */

.hero-buttons {
    margin: 35px 0;
}


.hero-stats {
    margin-top: 40px;
}

/* Hero Image Container */
.hero-image {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
}

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

/* Flying Icons Container */
.flying-icons {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    height: calc(100% - 80px);
    pointer-events: none;
    z-index: 10;
}

@media (max-width: 768px) {
    .flying-icons {
        top: 70px;
        height: calc(100% - 70px);
    }
}

@media (max-width: 576px) {
    .flying-icons {
        top: 60px;
        height: calc(100% - 60px);
    }
}

/* تحديث نمط إحصائيات الملف الشخصي */
.profile-stats {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
}

.stat-item {
    flex: 1;
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(var(--primary-rgb), 0.1);
    border: 1px solid rgba(var(--primary-rgb), 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* التجاوب مع الشاشات الصغيرة */
@media (max-width: 768px) {
    .profile-stats {
        flex-direction: row; /* تأكيد العرض الأفقي */
        flex-wrap: nowrap; /* منع الالتفاف */
        gap: 0.75rem;
    }

    .stat-item {
        padding: 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .profile-stats {
        gap: 0.5rem;
    }

    .stat-item {
        padding: 0.75rem;
    }

    .stat-number {
        font-size: 1.75rem;
    }

    .stat-label {
        font-size: 0.7rem;
    }
}


/* تنسيق زر عرض المزيد */
.show-more-container {
    display: flex;
    justify-content: center;
    margin-top: 50px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.5s ease forwards;
    animation-delay: 0.5s;
}

.show-more-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    background: var(--gradient-1);
    color: white;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.3);
    position: relative;
    overflow: hidden;
}

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

.show-more-btn i {
    transition: transform 0.3s ease;
}

.show-more-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(var(--primary-rgb), 0.4);
}

.show-more-btn:hover::before {
    transform: translateX(100%);
}

.show-more-btn:hover i {
    transform: translateY(3px);
}

/* تنسيق حالة التحميل */
.show-more-btn.loading {
    pointer-events: none;
    opacity: 0.8;
}

.show-more-btn.loading i {
    animation: rotating 1s linear infinite;
}

@keyframes rotating {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

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

/* تحسينات للشاشات المختلفة */
@media (max-width: 768px) {
    .show-more-btn {
        padding: 12px 25px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .show-more-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* الوضع المظلم */
[data-theme="dark"] .show-more-btn {
    background: var(--gradient-2);
}

.skills-section {
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
}

.skills-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.skill-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: var(--blur-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.skill-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-1);
    opacity: 0;
    transition: var(--transition-normal);
    z-index: -1;
}

.skill-card:hover::before {
    opacity: 0.1;
}

.skill-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.skill-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.skill-icon {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-1);
    border-radius: var(--radius-full);
    color: white;
    font-size: 1.5rem;
}

.skill-title {
    font-size: 1.25rem;
    font-weight: 600;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.skill-list {
    display: grid;
    gap: 1rem;
}

.skill-item {
    position: relative;
    padding-left: 1.5rem;
}

.skill-item::before {
    content: '→';
    position: absolute;
    left: 0;
    color: rgb(var(--primary-rgb));
    opacity: 0;
    transform: translateX(-10px);
    transition: var(--transition-normal);
}

.skill-item:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.skill-progress {
    margin-top: 0.5rem;
    height: 6px;
    background: rgba(var(--primary-rgb), 0.1);
    border-radius: var(--radius-full);
    overflow: hidden;
    position: relative;
}

.progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: var(--gradient-1);
    border-radius: var(--radius-full);
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.progress-glow {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 30px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.6),
        transparent
    );
    animation: progressGlow 2s linear infinite;
}

@keyframes progressGlow {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(500%); }
}

/* تحسينات التجاوب */
@media (max-width: 1024px) {
    .skills-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .skills-container {
        grid-template-columns: 1fr;
    }
    
    .skill-card {
        padding: 1.5rem;
    }
}



.contact-section {
    min-height: 100vh;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

/* Particles Effect */
.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, 
        rgba(103, 58, 183, 0.1), 
        rgba(81, 45, 168, 0.05));
}

/* Floating Orbs */
.floating-orbs {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, 
        rgba(147, 112, 219, 0.4), 
        rgba(103, 58, 183, 0.1));
    filter: blur(8px);
    animation: floatingOrb 15s infinite ease-in-out;
}

.orb:nth-child(1) {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 15%;
    animation-delay: 0s;
}

.orb:nth-child(2) {
    width: 200px;
    height: 200px;
    top: 60%;
    right: 10%;
    animation-delay: -5s;
}

.orb:nth-child(3) {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 20%;
    animation-delay: -10s;
}

@keyframes floatingOrb {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(50px, 50px) scale(1.1);
    }
    50% {
        transform: translate(0, 100px) scale(1);
    }
    75% {
        transform: translate(-50px, 50px) scale(0.9);
    }
}

.contact-title {
    color: #fff;
    font-size: 4rem;
    text-align: center;
    margin-bottom: 0.5rem;
    font-weight: 700;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.contact-subtitle {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 4rem;
    background: linear-gradient(45deg, #9c27b0, #673ab7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(156, 39, 176, 0.5);
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 60px;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Social Links */
.social-links {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 80px;
}

.social-link {
    width: 120px;
    height: 120px;
    border-radius: 15px;
    background: rgba(30, 15, 50, 0.6);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.4rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    transform: translateY(-5px);
    background: rgba(40, 20, 65, 0.8);
    box-shadow: 0 0 20px rgba(156, 39, 176, 0.3);
    color: #fff;
    align-items: center;
}

.glow-effect {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, 
        rgba(156, 39, 176, 0.5), 
        transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-link:hover .glow-effect {
    opacity: 1;
}

/* Contact Form */
.contact-form {
    width: 100%;
    max-width: 500px;
    background: rgba(255, 255, 255, 0);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 0 40px rgba(103, 58, 183, 0.2);
}

.form-group {
    position: relative;
    margin-bottom: 30px;
}

.form-input {
    width: 100%;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0);
    border: 1px solid rgba(103, 58, 183, 0.2);
    border-radius: 12px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #9c27b0;
    box-shadow: 0 0 20px rgba(156, 39, 176, 0.3);
    
}

textarea.form-input {
    min-height: 150px;
    resize: vertical;
}

.form-group label {
    position: absolute;
    left: 20px;
    top: 15px;
    font-size: 1rem;
    pointer-events: none;
    transition: all 0.3s ease;
    font-weight: 800;
}

.form-input:focus + label,
.form-input:not(:placeholder-shown) + label {
    transform: translateY(-25px) scale(0.8);
    color: #9c27b0;
    font-weight: 800;
}

.input-glow {
    position: absolute;
    inset: 0;
    border-radius: 12px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), 
        rgba(156, 39, 176, 0.2), 
        transparent 40%);
}

.form-input:focus ~ .input-glow {
    opacity: 1;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(45deg, #673ab7, #9c27b0);
    border: none;
    border-radius: 12px;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 0 30px rgba(156, 39, 176, 0.4);
}

.btn-text {
    position: relative;
    z-index: 1;
}

.btn-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), 
        rgba(255, 255, 255, 0.3), 
        transparent 40%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.submit-btn:hover .btn-glow {
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
        align-items: center;
    }

    .social-links {
        flex-direction: row;
        margin-top: 0;
        margin-bottom: 30px;
    }

    .contact-form {
        padding: 30px;
    }

    .contact-title {
        font-size: 3rem;
    }

    .contact-subtitle {
        font-size: 2rem;
    }
}

/* Animation for form inputs */
@keyframes focusAnimation {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 100% 50%;
    }
}

.form-input:focus {
    animation: focusAnimation 3s ease infinite;
    background-size: 200% 200%;
    background-image: linear-gradient(
        45deg,
        rgba(108, 99, 255, 0.1),
        rgba(255, 82, 182, 0.1),
        rgba(108, 99, 255, 0.1)
    );
}

.services {
    background-color: #1a1a2e;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.services .section-title {
    color: #fff;
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
}

.services-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.service-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 24px;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.service-card.reversed {
    grid-template-columns: 1fr 1fr;
    direction: rtl;
}

.service-card.reversed .service-content {
    direction: ltr;
}

.service-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.service-content h3 {
    color: #fff;
    font-size: 2rem;
    font-weight: 600;
    background: linear-gradient(45deg, #6b46c1, #9333ea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.service-content p {
    color: #cbd5e1;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-actions {
    display: flex;
    gap: 15px;
}

.service-btn {
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(147, 51, 234, 0.5);
    color: #fff;
    background: transparent;
}

.service-btn:hover {
    background: rgba(147, 51, 234, 0.1);
    border-color: #9333ea;
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(147, 51, 234, 0.3);
}

.service-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(147, 51, 234, 0.2));
    transition: all 0.3s ease;
}

.service-card:hover .service-image img {
    transform: translateY(-10px);
    filter: drop-shadow(0 0 30px rgba(147, 51, 234, 0.3));
}

/* Glowing orb effect */
.service-card::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(147, 51, 234, 0.2), transparent 70%);
    border-radius: 50%;
    filter: blur(30px);
    opacity: 0;
    transition: all 0.5s ease;
}

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

/* Responsive Design */
@media (max-width: 992px) {
    .service-card,
    .service-card.reversed {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 30px;
    }

    .service-actions {
        justify-content: center;
    }

    .service-image {
        order: -1;
    }

    .service-image img {
        max-width: 80%;
    }
}

@media (max-width: 768px) {
    .services {
        padding: 60px 0;
    }

    .services .section-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }

    .service-content h3 {
        font-size: 1.75rem;
    }

    .service-content p {
        font-size: 1rem;
    }

    .service-btn {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
}

/* Services Section */
.services {
    background: linear-gradient(to bottom, var(--bg-color), rgba(var(--primary-rgb), 0.05));
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, 
        rgba(var(--primary-rgb), 0.1) 0%,
        transparent 70%);
    opacity: 0.5;
    z-index: 1;
}

.services .container {
    position: relative;
    z-index: 2;
}

.services .section-title {
    color: var(--text-color);
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    position: relative;
}

.services .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    border-radius: 3px;
}



/* تحسينات إضافية للـ Footer */
.footer {
    position: relative;
    background: linear-gradient(to bottom, var(--bg-color), var(--dark-bg));
    padding: 80px 0 30px;
    overflow: hidden;
}

/* تأثير الخلفية */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, 
        rgba(var(--primary-rgb), 0.1) 0%, 
        transparent 60%);
    pointer-events: none;
}

/* تحسين أيقونات وسائل التواصل */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--primary-color);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-link:hover {
    transform: translateY(-5px);
    color: #fff;
}

.social-link:hover::before {
    opacity: 1;
}

.social-link i {
    position: relative;
    z-index: 1;
}

/* تحسين حقل النشرة الإخبارية */
.newsletter-form {
    position: relative;
    margin-top: 20px;
}

.newsletter-input {
    width: 100%;
    padding: 12px 20px;
    border: 2px solid rgba(var(--primary-rgb), 0.1);
    border-radius: 12px;
    background: rgba(var(--primary-rgb), 0.05);
    color: var(--text-color);
    transition: all 0.3s ease;
}

.newsletter-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(var(--primary-rgb), 0.1);
    outline: none;
}

.newsletter-button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    padding: 8px 20px;
    border-radius: 8px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-button:hover {
    background: var(--primary-dark);
    transform: translateY(-50%) scale(1.05);
}

/* تحسين روابط الأقسام */
.footer-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-color);
    transition: all 0.3s ease;
    opacity: 0.8;
}

.footer-link:hover {
    opacity: 1;
    transform: translateX(8px);
    color: var(--primary-color);
}

.footer-link i {
    font-size: 0.8em;
    transition: transform 0.3s ease;
}

.footer-link:hover i {
    transform: translateX(3px);
}

/* تحسين الجزء السفلي */
.footer-bottom {
    position: relative;
    padding-top: 30px;
    margin-top: 50px;
    border-top: 1px solid rgba(var(--primary-rgb), 0.1);
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
}

/* تحسين التجاوب */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 480px) {
    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}

/* Footer Section - Professional & Modern Version */
.footer {
    position: relative;
    background: linear-gradient(
        180deg,
        var(--bg-color) 0%,
        rgba(var(--primary-rgb), 0.03) 100%
    );
    padding: 100px 0 30px;
    overflow: hidden;
    z-index: 1;
}

/* Glowing Background Effect */
.footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at top center,
        rgba(var(--primary-rgb), 0.08),
        transparent 70%
    );
    z-index: -1;
}

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

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 70px;
}

/* Brand Section Styling */
.footer-brand {
    animation: fadeIn 0.8s ease-out;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 25px;
    transition: transform 0.3s ease;
}

.footer-logo:hover {
    transform: translateY(-3px);
}

.footer-logo img {
    height: 80px;
    width: auto;
}

.footer-description {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.8;
    opacity: 0.85;
    margin-bottom: 30px;
}

/* Newsletter Section */
.newsletter-title {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 20px;
    font-weight: 600;
}

.newsletter-form {
    position: relative;
    display: flex;
    gap: 10px;
}

.newsletter-input {
    flex: 1;
    padding: 14px 20px;
    border: 2px solid rgba(var(--primary-rgb), 0.1);
    border-radius: 12px;
    background: rgba(var(--primary-rgb), 0.03);
    color: var(--text-color);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.newsletter-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(var(--primary-rgb), 0.1);
    outline: none;
}

.newsletter-button {
    padding: 12px 25px;
    border-radius: 10px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.newsletter-button::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.newsletter-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.2);
}

.newsletter-button:hover::before {
    transform: translateX(100%);
}

/* Footer Sections */
.footer-section {
    animation: fadeIn 0.8s ease-out forwards;
}

.footer-section-title {
    color: var(--text-color);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}

.footer-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.footer-section:hover .footer-section-title::after {
    width: 50px;
}

/* Footer Links */
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-link {
    color: var(--text-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-link i {
    color: var(--primary-color);
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.footer-link:hover {
    opacity: 1;
    transform: translateX(8px);
    color: var(--primary-color);
}

.footer-link:hover i {
    transform: translateX(3px);
}

/* Social Links */
.social-links {
    display: flex;
    gap: 31px;
    margin-top: 25px;
}

.social-link {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--primary-color);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.social-link:hover {
    transform: translateY(-5px);
}

.social-link:hover::before {
    opacity: 1;
}

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

/* Footer Bottom */
.footer-bottom {
    position: relative;
    padding-top: 30px;
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(var(--primary-rgb), 0.1);
}

.footer-copyright {
    color: var(--text-color);
    opacity: 0.8;
    font-size: 0.9rem;
}

.footer-bottom-links {
    display: flex;
    gap: 25px;
}

.footer-bottom-link {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.9rem;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-bottom-link:hover {
    color: var(--primary-color);
    opacity: 1;
}

/* Dark Mode Support */
[data-theme="dark"] .footer {
    background: linear-gradient(
        180deg,
        var(--dark-bg) 0%,
        rgba(var(--primary-rgb), 0.05) 100%
    );
}

/* Responsive Design */
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .footer-brand {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 70px 0 30px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-brand {
        grid-column: span 1;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-bottom-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

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

/* Footer Separator */
.footer-separator {
    position: relative;
    height: 70px;
    overflow: hidden;

}

.footer-separator::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        -3deg,
        var(--bg-color) 49%,
        transparent 50%
    );
}

.footer-separator::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(var(--primary-rgb), 0.2),
        transparent
    );
}

.footer-separator .separator-dots {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 30px;
    transform: translateY(-50%);
}

.separator-dot {
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: dotPulse 2s infinite;
}

.separator-dot:nth-child(2) {
    animation-delay: 0.3s;
}

.separator-dot:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes dotPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.5);
        opacity: 1;
        box-shadow: 0 0 15px var(--primary-color);
    }
}

/* Dark Mode Support */
[data-theme="dark"] .footer-separator::before {
    background: linear-gradient(
        -3deg,
        var(--dark-bg) 49%,
        transparent 50%
    );
}

[data-theme="dark"] .footer-separator::after {
    background: linear-gradient(
        90deg,
        transparent,
        rgba(var(--primary-rgb), 0.15),
        transparent
    );
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-separator {
        height: 100px;
        margin-top: -30px;
    }

    .footer-separator .separator-dots {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .footer-separator {
        height: 80px;
        margin-top: -20px;
    }

    .separator-dot {
        width: 4px;
        height: 4px;
    }
}

.section-break {
    position: relative;
    height: 150px;
    margin: -75px 0;
    z-index: 10;
    pointer-events: none;
}

.break-line {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(var(--primary-rgb), 0.2),
        transparent
    );
}

.break-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: var(--bg-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    box-shadow: 0 0 20px rgba(var(--primary-rgb), 0.2);
    animation: gentlePulse 2s infinite;
}

@keyframes gentlePulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 0 20px rgba(var(--primary-rgb), 0.2);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        box-shadow: 0 0 30px rgba(var(--primary-rgb), 0.3);
    }
}


/* Social Media Icons */
.social-media-icons {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 100;
}

.social-icon {
    position: relative;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--bg-color);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.social-icon i {
    font-size: 1.2rem;
    color: var(--text-color);
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.social-icon .icon-background {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    opacity: 0;
    transform: scale(0);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-icon:hover {
    transform: translateX(5px) scale(1.1);
}

.social-icon:hover .icon-background {
    opacity: 1;
    transform: scale(1);
}

.social-icon:hover i {
    color: var(--bg-color);
    transform: rotate(360deg);
}

/* Tooltip */
.social-icon::before {
    content: attr(data-tooltip);
    position: absolute;
    left: 120%;
    top: 50%;
    transform: translateY(-50%);
    background: var(--bg-color);
    color: var(--text-color);
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.social-icon:hover::before {
    opacity: 1;
    left: 130%;
}

[data-theme="dark"] .social-icon {
    background: var(--dark-bg);
}

[data-theme="dark"] .social-icon::before {
    background: var(--dark-bg);
    color: var(--dark-text);
}

/* Responsive Design */
@media (max-width: 768px) {
    .social-media-icons {
        position: relative;
        left: 0;
        top: 0;
        transform: none;
        flex-direction: row;
        justify-content: center;
        padding: 20px 0;
        gap: 20px;
    }

    .social-icon:hover {
        transform: translateY(-5px) scale(1.1);
    }

    .social-icon::before {
        top: -40px;
        left: 50%;
        transform: translateX(-50%);
    }

    .social-icon:hover::before {
        left: 50%;
        opacity: 1;
    }
}

@media (max-width: 480px) {
    .social-media-icons {
        gap: 15px;
    }

    .social-icon {
        width: 40px;
        height: 40px;
    }

    .social-icon i {
        font-size: 1rem;
    }
}




.footer-copyright a{
    text-decoration: none;
    font-weight: 600;
}
.footer-copyright a:hover{
    text-decoration: none;
    color: #9c27b0;
}

.services {
    position: relative;
    padding: 110px 0 100px 0;
    background: linear-gradient(120deg, var(--section-bg) 0%, var(--bg-color) 100%);
    overflow: hidden;
    z-index: 1;
}
.services::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 80vw;
    height: 400px;
    background: radial-gradient(circle at 50% 50%, rgba(var(--primary-rgb), 0.13) 0%, transparent 80%);
    z-index: 0;
    filter: blur(10px);
    opacity: 0.7;
    pointer-events: none;
}
.services .section-title {
    color: var(--primary-color);
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 70px;
    letter-spacing: 1px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    z-index: 2;
}
.services .section-title::after {
   content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    border-radius: 2px;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 38px;
    padding: 0 10px;
    position: relative;
    z-index: 2;
}
.service-card {
    position: relative;
    background: rgba(255,255,255,0.95);
    border-radius: 28px;
    box-shadow: 0 8px 32px rgba(var(--primary-rgb),0.10), 0 1.5px 8px rgba(var(--primary-rgb),0.08);
    padding: 48px 32px 40px 32px;
    overflow: hidden;
    border: 1.5px solid rgba(var(--primary-rgb),0.08);
    transition: box-shadow 0.4s, transform 0.4s, border 0.4s;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 420px;
    z-index: 1;
    animation: fadeInUp 0.8s ease-out;
}
.service-card::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, var(--primary-color) 0%, transparent 80%);
    opacity: 0.08;
    z-index: 0;
    pointer-events: none;
}
.service-card:hover {
    box-shadow: 0 16px 48px 0 rgba(var(--primary-rgb),0.18), 0 2px 8px rgba(var(--primary-rgb),0.10);
    border: 1.5px solid var(--primary-color);
    transform: translateY(-8px) scale(1.025);
}
.service-icon {
    font-size: 3.2rem;
    margin-bottom: 22px;
    color: var(--primary-color);
    background: var(--gradient-2);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 12px rgba(var(--primary-rgb),0.10));
    position: relative;
    z-index: 2;
    transition: transform 0.3s;
}
.service-card:hover .service-icon {
    transform: scale(1.12) rotate(-3deg);
}
.service-content {
    position: relative;
    z-index: 2;
    width: 100%;
}
.service-content h3 {
    font-size: 1.45rem;
    margin-bottom: 12px;
    color: var(--text-color);
    font-weight: 800;
    letter-spacing: 0.5px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.service-content p {
    color: var(--text-color);
    margin-bottom: 18px;
    line-height: 1.7;
    font-size: 1.08rem;
    opacity: 0.92;
}
.service-features {
    list-style: none;
    padding: 0;
    margin: 18px 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.service-features li {
    display: flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.01rem;
    gap: 8px;
    transition: color 0.3s;
}
.service-features li i {
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin-right: 6px;
    transition: color 0.3s;
}
.service-features li:hover {
    color: var(--accent-color);
}
.service-actions {
    display: flex;
    gap: 15px;
    margin-top: 28px;
    z-index: 2;
}
.service-btn {
    padding: 13px 32px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    border: none;
    background: var(--gradient-1);
    color: #fff;
    box-shadow: 0 2px 12px rgba(var(--primary-rgb),0.10);
    cursor: pointer;
    transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}
.service-btn.secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: none;
}
.service-btn:hover {
    background: var(--gradient-2);
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 6px 24px rgba(var(--primary-rgb),0.18);
}
.service-btn.secondary:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
    .service-card {
        min-height: 380px;
        padding: 36px 18px 30px 18px;
    }
}
@media (max-width: 768px) {
    .services {
        padding: 60px 0 60px 0;
    }
    .services-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .service-card {
        min-height: 320px;
        padding: 28px 10px 22px 10px;
    }
    .services .section-title {
        font-size: 2rem;
        margin-bottom: 35px;
    }
}
[data-theme="dark"] .service-card {
    background: rgba(31,41,55,0.93);
    border-color: rgba(var(--primary-rgb),0.18);
}
[data-theme="dark"] .service-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 16px 48px 0 rgba(var(--primary-rgb),0.25), 0 2px 8px rgba(var(--primary-rgb),0.18);
}


.achievements-section {
  padding: 60px 20px;
  background: var(--section-bg);
  text-align: center;
  overflow: hidden;
}


.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 20px;
  border-left: 3px solid var(--primary-color);
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
  padding-left: 20px;
  text-align: left;
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.6s ease;
}

.timeline-item.visible {
  opacity: 1;
  transform: translateX(0);
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}


.timeline-dot {
  position: absolute;
  left: -12px;
  top: 0;
  width: 20px;
  height: 20px;
  background: var(--primary-color);
  border-radius: 50%;
  box-shadow: var(--shadow-md);
}

.timeline-content h3 {
  font-size: 1.3rem;
  color: var(--text-color);
  margin-bottom: 5px;
}

.timeline-content p {
  color: #555;
  margin-bottom: 10px;
}

.view-cert-btn {
  display: inline-block;
  padding: 8px 15px;
  font-size: 0.9rem;
  color: #fff;
  background: var(--gradient-2);
  text-decoration: none;
  border-radius: 5px;
  transition: var(--transition);
}

.view-cert-btn:hover {
  background: var(--gradient-1);
  box-shadow: 0 4px 8px var(--shadow-color);
}


.testimonials-section {
  padding: 80px 20px;
  text-align: center;
  position: relative;
}

.testimonial-slider {
  position: relative;
  overflow: hidden;
  max-width: 750px;
  margin: 0 auto;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 40px 35px;
  margin: 0 auto;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  min-width: 100%;
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.7s ease-in-out;
  position: absolute;
  top: 0;
  left: 0;
}

.testimonial-card.active {
  opacity: 1;
  transform: translateX(0);
  position: relative;
}

.testimonial-text {
  font-size: 1.15rem;
  font-style: italic;
  color: #444;
  line-height: 1.6;
  margin-bottom: 25px;
  position: relative;
  padding-left: 40px;
}

.testimonial-text::before {
  content: "“";
  font-size: 3rem;
  position: absolute;
  left: 0;
  top: -10px;
  color: #4e73df;
  opacity: 0.4;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #4e73df;
}

.testimonial-author h4 {
  font-size: 1rem;
  font-weight: bold;
  color: #333;
}

.testimonial-author span {
  font-size: 0.9rem;
  color: #777;
}

.testimonial-rating {
  margin-top: 10px;
  color: #f1c40f;
  font-size: 1.2rem;
}


.testimonial-nav {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
  width: 100%;
  padding: 0 20px; /* padding افتراضي */
}

.nav-btn {
  background: var(--gradient-2);
  border: none;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  pointer-events: auto;
  transition: transform 0.3s ease, background 0.3s ease;
}

.nav-btn:hover {
  transform: scale(1.1);
  background: var(--gradient-1);
}

@media (min-width: 1200px) {
  .testimonial-nav {
    padding: 0 120px; 
  }
}

@media (max-width: 768px) {
  .nav-btn {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 480px) {
  .nav-btn {
    font-size: 1.2rem;
    width: 35px;
    height: 35px;
  }
}

/* النقاط */
.dots-container {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.dot {
  width: 10px;
  height: 10px;
  background: #ccc;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: #4e73df;
  transform: scale(1.2);
}



/* أي عنصر هيدخل بتأثير Fade In */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* تأثير Hover للأزرار */
button, .project-btn, .modal-btn {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

button:hover, .project-btn:hover, .modal-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: var(--shadow-lg);
}
#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.spinner {
  width: 60px;
  height: 60px;
  border: 6px solid #ddd;
  border-top: 6px solid var(--main-color); /* لون الموقع */
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

#loader.hidden {
  opacity: 0;
  visibility: hidden;
}


*::-webkit-scrollbar {
  width: 10px;
}

*::-webkit-scrollbar-track {
  background: transparent;
}

*::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, transparent 10%, #673ab7 50%, transparent 90%);
  border-radius: 6px;
  transition: background 0.3s ease;
}

*::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(to bottom, transparent 10%, #9c27b0 50%, transparent 90%);
}
