:root{--projects-border-radius:12px;--projects-transition-speed:0.4s;--projects-accent-color:#667eea;--projects-shadow:0 10px 30px rgba(0,0,0,0.12);--projects-shadow-hover:0 15px 40px rgba(0,0,0,0.18)}.projects-carousel-section{position:relative;padding:80px 0;background:linear-gradient(135deg,#f8f9ff 0%,#ffffff 100%);overflow:hidden}.projects-carousel-section::before{content:'';position:absolute;top:0;left:0;width:100%;height:100%;background:radial-gradient(circle at 20% 50%,rgba(102,126,234,0.08) 0%,transparent 50%),radial-gradient(circle at 80% 80%,rgba(118,75,162,0.08) 0%,transparent 50%);pointer-events:none}.darkmode .projects-carousel-section{background:linear-gradient(135deg,#1a1d2a 0%,#2a2d3a 100%)}.projects-carousel-section .container{position:relative;z-index:1}.projects-carousel-section .section-header{text-align:center;margin-bottom:60px}.projects-carousel-section .section-title{font-size:2.5rem;font-weight:700;color:#1a1a1a;margin:0 0 20px 0;letter-spacing:-0.5px;line-height:1.2}.darkmode .projects-carousel-section .section-title{color:#e9ecef}.projects-carousel-container{position:relative;width:100%;padding:20px;background:rgba(255,255,255,0.8);border-radius:16px;backdrop-filter:blur(10px);border:1px solid rgba(102,126,234,0.1);box-shadow:0 8px 32px rgba(0,0,0,0.08)}.darkmode .projects-carousel-container{background:rgba(42,45,58,0.8);border-color:rgba(102,126,234,0.2)}.projects-carousel-wrapper{position:relative;overflow:hidden;padding-top:20px;margin-bottom:30px}.projects-carousel-track{display:flex;transition:transform 0.6s cubic-bezier(0.25,0.46,0.45,0.94);width:100%;will-change:transform}.projects-carousel-slide{flex:0 0 100%;padding:10px;display:flex;align-items:stretch;justify-content:center;box-sizing:border-box}.projects-carousel-slide.is-center .project-card{transform:translateY(-8px) scale(1.03);box-shadow:0 18px 48px rgba(102,126,234,0.35),0 0 0 3px rgba(102,126,234,0.25);z-index:2000;border:5px solid #667eea}@media (min-width:1200px){.projects-carousel-slide.is-center .project-card{transform:translateY(-10px) scale(1.05);box-shadow:0 22px 56px rgba(102,126,234,0.4),0 0 0 3px rgba(102,126,234,0.3)}}.project-card{width:100%;max-width:100%;background:white;border-radius:var(--projects-border-radius);overflow:hidden;box-shadow:var(--projects-shadow);transition:all var(--projects-transition-speed) cubic-bezier(0.25,0.46,0.45,0.94);display:flex;flex-direction:column;height:100%;cursor:pointer;border:1px solid rgba(0,0,0,0.05)}.darkmode .project-card{background:#2a2d3a;border-color:rgba(255,255,255,0.05)}.project-card:hover{box-shadow:var(--projects-shadow-hover);transform:translateY(-6px)}.project-card-image{position:relative;width:100%;min-height:180px;background:#f5f5f5;flex-shrink:0;display:flex;align-items:center;justify-content:center;overflow:hidden}.project-card-image img{width:100%;height:100%;object-fit:cover;object-position:center;transition:transform 0.3s ease}.project-card:hover .project-card-image img{transform:none}.project-image-placeholder{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,var(--projects-accent-color) 0%,#764ba2 100%);color:rgba(255,255,255,0.5);font-size:48px}.project-card-body{padding:20px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:12px;direction:rtl;flex-grow:1}.project-card-title{font-size:16px;font-weight:700;color:#1a1a1a;margin:0 0 10px 0;line-height:1.4;transition:color var(--projects-transition-speed) ease;word-wrap:break-word;text-align:right}.darkmode .project-card-title{color:#e9ecef}.project-card:hover .project-card-title{color:var(--projects-accent-color)}.btn-view{display:inline-flex;color:white;align-items:center;justify-content:center;gap:8px;padding:10px 20px;background:linear-gradient(135deg,#2d3748 0%,#3498db 100%);border:none;border-radius:6px;font-size:13px;font-weight:600;text-decoration:none;cursor:pointer;transition:all var(--projects-transition-speed) ease;width:100%;direction:rtl}.btn-view:hover{background:linear-gradient(135deg,#3498db 0%,#2d3748 100%);transform:translateY(-2px);box-shadow:0 4px 12px rgba(52,152,219,0.3)}.btn-view:active{transform:translateY(0)}.btn-view i{font-size:12px;transition:transform var(--projects-transition-speed) ease}.btn-view:hover i{transform:translateX(3px)}.projects-carousel-btn{position:absolute;top:100px;transform:translateY(-50%);width:50px;height:50px;border-radius:50%;background:white;border:2px solid var(--projects-accent-color);color:var(--projects-accent-color);font-size:18px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all var(--projects-transition-speed) ease;z-index:5;box-shadow:0 4px 12px rgba(0,0,0,0.1)}.darkmode .projects-carousel-btn{background:#2a2d3a;box-shadow:0 4px 12px rgba(0,0,0,0.3)}.projects-carousel-btn:hover{background:var(--projects-accent-color);color:white;transform:translateY(-50%) scale(1.1);box-shadow:0 6px 20px rgba(102,126,234,0.4)}.projects-carousel-btn-prev{left:auto;right:10px}.projects-carousel-btn-next{right:auto;left:10px}.projects-carousel-dots{display:flex;justify-content:center;gap:8px;flex-wrap:wrap}.projects-carousel-dot{width:10px;height:10px;border-radius:50%;background:rgba(0,0,0,0.2);border:none;cursor:pointer;transition:all var(--projects-transition-speed) ease;padding:0}.darkmode .projects-carousel-dot{background:rgba(255,255,255,0.2)}.projects-carousel-dot:hover{background:var(--projects-accent-color);transform:scale(1.2)}.projects-carousel-dot.active{background:var(--projects-accent-color);width:28px;border-radius:5px}@media (min-width:1200px){.projects-carousel-slide{flex:0 0 calc(20% - 12px);padding:8px}.project-card-image{min-height:220px}.project-card-body{padding:24px}.projects-carousel-btn{width:55px;height:55px;font-size:20px}.projects-carousel-section .section-title{font-size:2.8rem}}@media (min-width:992px) and (max-width:1199px){.projects-carousel-slide{flex:0 0 calc(25% - 12px);padding:8px}.project-card-image{min-height:200px}.project-card-body{padding:20px}.projects-carousel-section{padding:70px 0}.projects-carousel-section .section-title{font-size:2.4rem}}@media (min-width:768px) and (max-width:991px){.projects-carousel-slide{flex:0 0 calc(33.333% - 10px);padding:8px}.project-card-image{min-height:180px}.project-card-body{padding:18px}.projects-carousel-btn{width:48px;height:48px;font-size:18px}.projects-carousel-section{padding:60px 0}.projects-carousel-section .section-header{margin-bottom:50px}.projects-carousel-section .section-title{font-size:2.2rem}.projects-carousel-container{padding:12px}.project-card-title{font-size:15px}}@media (min-width:576px) and (max-width:767px){.projects-carousel-slide{flex:0 0 calc(50% - 10px);padding:8px}.project-card-image{min-height:160px}.project-card-body{padding:16px}.projects-carousel-btn{width:44px;height:44px;font-size:16px}.projects-carousel-section{padding:50px 0}.projects-carousel-section .section-header{margin-bottom:40px}.projects-carousel-section .section-title{font-size:2rem}.projects-carousel-container{padding:12px}.project-card-title{font-size:15px;margin-bottom:10px}.project-card-meta{margin-bottom:10px;font-size:11px}.project-meta-item{font-size:11px}.project-card-btn{padding:9px 12px;font-size:11px;width:100%}}@media (max-width:575px){.projects-carousel-slide{flex:0 0 calc(100%);padding:8px}.project-card-image{min-height:200px}.project-card-body{padding:16px}.projects-carousel-btn{width:40px;height:40px;font-size:14px;border-width:1px;top:80px}.projects-carousel-btn-prev{left:auto;right:5px}.projects-carousel-btn-next{right:auto;left:5px}.projects-carousel-section{padding:40px 0}.projects-carousel-section .section-header{margin-bottom:30px}.projects-carousel-section .section-title{font-size:1.8rem}.projects-carousel-container{padding:12px;border-radius:12px}.project-card-title{font-size:14px;margin-bottom:8px}.project-card-meta{margin-bottom:8px;gap:6px;font-size:10px}.project-meta-item{font-size:10px}.project-card-btn{padding:8px 10px;font-size:11px;width:100%}.projects-carousel-dots{gap:6px;margin-top:15px}.projects-carousel-dot{width:8px;height:8px}.projects-carousel-dot.active{width:20px}}.projects-carousel-btn:disabled{opacity:0.45;cursor:not-allowed;pointer-events:none}@media (max-width:375px){.projects-carousel-section{padding:30px 0}.projects-carousel-section .section-title{font-size:1.6rem}.project-card-title{font-size:14px}.project-meta-item{font-size:11px}.project-card-btn{font-size:11px}}.projects-carousel-btn:focus,.projects-carousel-dot:focus{outline:2px solid var(--projects-accent-color);outline-offset:2px}@keyframes fadeIn{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.projects-carousel-slide{animation:fadeIn 0.6s ease-out}.darkmode .project-card{box-shadow:0 10px 30px rgba(0,0,0,0.3)}.darkmode .project-card:hover{box-shadow:0 15px 40px rgba(0,0,0,0.4)}