/* development.css - أنماط خاصة بصفحة التصميم والبرمجة */

/* متغيرات ألوان تصميم البرمجة */
:root {
    --dev-primary: #0f172a;
    --dev-secondary: #3b82f6;
    --dev-accent: #8b5cf6;
    --dev-code: #10b981;
    --dev-dark: #1e293b;
    --dev-light: #f8fafc;
    --dev-gray: #64748b;
    --dev-white: #ffffff;
    --dev-black: #0f172a;
    --dev-gradient: linear-gradient(135deg, var(--dev-primary) 0%, var(--dev-dark) 100%);
    --dev-gradient-tech: linear-gradient(135deg, var(--dev-secondary) 0%, var(--dev-accent) 100%);
    --dev-gradient-code: linear-gradient(135deg, var(--dev-code) 0%, #34d399 100%);
}

/* خلفية الصفحة */
.development-page {
    background-color: var(--dev-primary);
    color: var(--dev-white);
}

/* الهيدر الداخلي */
.development-header {
    position: relative;
    padding: 160px 0 80px;
    background: var(--dev-gradient);
    overflow: hidden;
    border-bottom: 4px solid var(--dev-code);
}

.development-header-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.code-background {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    opacity: 0.08;
    overflow: hidden;
}

.code-animation {
    font-family: 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.8;
    color: var(--dev-code);
    padding: 40px;
    animation: codeScroll 30s linear infinite;
}

.code-line {
    display: block;
    margin-bottom: 5px;
}

.code-line.highlight {
    color: var(--dev-code);
    font-weight: bold;
    text-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

@keyframes codeScroll {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}

.development-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.dev-shape {
    position: absolute;
    border-radius: 50%;
    background: var(--dev-gradient-tech);
    opacity: 0.1;
    animation: devFloat 25s ease-in-out infinite;
}

.dev-shape-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    right: 15%;
    animation-delay: 0s;
}

.dev-shape-2 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 10%;
    animation-delay: 5s;
    animation-duration: 20s;
}

.dev-shape-3 {
    width: 100px;
    height: 100px;
    top: 40%;
    left: 20%;
    animation-delay: 10s;
    animation-duration: 30s;
}

@keyframes devFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    33% {
        transform: translateY(-40px) rotate(120deg);
    }
    66% {
        transform: translateY(20px) rotate(240deg);
    }
}

.page-header-content {
    position: relative;
    z-index: 2;
}

.page-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--dev-white);
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.title-line {
    display: block;
    overflow: hidden;
}

.title-line:first-child {
    animation: slideInRight 1s ease 0.3s both;
}

.title-line:last-child {
    animation: slideInRight 1s ease 0.6s both;
    color: var(--dev-code);
}

/* قسم خدمات التصميم */
.design-services {
    padding: 100px 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.design-tabs-header {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

.design-tab {
    padding: 25px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid transparent;
    border-radius: 12px;
    color: var(--dev-white);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

.design-tab:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-5px);
}

.design-tab.active {
    background: var(--dev-gradient-tech);
    color: var(--dev-white);
    border-color: var(--dev-secondary);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2);
}

.design-tab i {
    font-size: 32px;
    transition: transform 0.3s ease;
}

.design-tab:hover i {
    transform: scale(1.2);
}

.design-tabs-content {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.design-tab-pane {
    display: none;
    animation: fadeIn 0.5s ease;
}

.design-tab-pane.active {
    display: block;
}

.design-tab-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.design-visual {
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* أنيميشن تصميم المواقع */
.web-design-animation {
    width: 100%;
    max-width: 400px;
}

.browser-window {
    background: #1e293b;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    animation: browserFloat 6s ease-in-out infinite;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.browser-header {
    background: #334155;
    padding: 15px;
    display: flex;
    align-items: center;
}

.browser-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red {
    background: #ef4444;
    animation: dotPulse 2s ease-in-out infinite;
}

.dot.yellow {
    background: #f59e0b;
    animation: dotPulse 2s ease-in-out infinite 0.5s;
}

.dot.green {
    background: #10b981;
    animation: dotPulse 2s ease-in-out infinite 1s;
}

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

.browser-content {
    padding: 20px;
}

.website-preview {
    background: #f8fafc;
    border-radius: 8px;
    overflow: hidden;
}

.site-header {
    height: 60px;
    background: var(--dev-gradient-tech);
    animation: headerLoad 3s ease-in-out infinite;
}

.site-hero {
    height: 150px;
    background: #e2e8f0;
    margin: 20px;
    border-radius: 8px;
    animation: heroLoad 3s ease-in-out infinite 0.5s;
}

.site-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin: 20px;
}

.feature {
    height: 80px;
    background: #e2e8f0;
    border-radius: 8px;
    animation: featureLoad 3s ease-in-out infinite;
}

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

.feature:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes headerLoad {
    0%, 100% {
        opacity: 0.8;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.02);
    }
}

@keyframes heroLoad {
    0%, 100% {
        opacity: 0.7;
        transform: translateY(0);
    }
    50% {
        opacity: 1;
        transform: translateY(-5px);
    }
}

@keyframes featureLoad {
    0%, 100% {
        opacity: 0.5;
        transform: scale(0.95);
    }
    50% {
        opacity: 1;
        transform: scale(1);
    }
}

/* أنيميشن UI/UX */
.ui-ux-animation {
    width: 100%;
    max-width: 300px;
    position: relative;
}

.ui-artboard {
    width: 100%;
    height: 300px;
    background: #1e293b;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ui-element {
    position: absolute;
    background: var(--dev-gradient-tech);
    border-radius: 8px;
    animation: uiElementFloat 4s ease-in-out infinite;
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
}

.element-1 {
    width: 100px;
    height: 40px;
    top: 50px;
    right: 50px;
    animation-delay: 0s;
}

.element-2 {
    width: 80px;
    height: 120px;
    top: 120px;
    left: 80px;
    animation-delay: 1s;
}

.element-3 {
    width: 150px;
    height: 60px;
    bottom: 50px;
    right: 50px;
    animation-delay: 2s;
}

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

.wireframe {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
}

.wire-line {
    position: absolute;
    background: rgba(139, 92, 246, 0.3);
    border-radius: 2px;
}

.line-1 {
    width: 80%;
    height: 2px;
    top: 30%;
    right: 10%;
    animation: wireDraw 3s linear infinite;
}

.line-2 {
    width: 60%;
    height: 2px;
    top: 50%;
    right: 20%;
    animation: wireDraw 3s linear infinite 0.5s;
}

.line-3 {
    width: 70%;
    height: 2px;
    top: 70%;
    right: 15%;
    animation: wireDraw 3s linear infinite 1s;
}

@keyframes wireDraw {
    0% {
        width: 0;
    }
    50% {
        width: 80%;
    }
    100% {
        width: 0;
    }
}

/* أنيميشن تصميم تطبيقات الجوال */
.mobile-design-animation {
    width: 100%;
    max-width: 250px;
}

.phone-mockup {
    width: 250px;
    height: 500px;
    background: #1e293b;
    border-radius: 40px;
    position: relative;
    padding: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    animation: phoneFloat 6s ease-in-out infinite;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

@keyframes phoneFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-10px) rotate(-5deg);
    }
    75% {
        transform: translateY(10px) rotate(5deg);
    }
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #f8fafc;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.app-header {
    height: 60px;
    background: var(--dev-gradient-tech);
    animation: appHeaderLoad 4s ease-in-out infinite;
}

.app-content {
    padding: 20px;
}

.app-item {
    height: 40px;
    background: #e2e8f0;
    border-radius: 8px;
    margin-bottom: 15px;
    animation: appItemLoad 4s ease-in-out infinite;
}

.app-item:nth-child(2) {
    animation-delay: 0.5s;
}

.app-item:nth-child(3) {
    animation-delay: 1s;
}

.app-nav {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 60px;
    background: #334155;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

@keyframes appHeaderLoad {
    0%, 100% {
        opacity: 0.8;
        transform: scaleY(1);
    }
    50% {
        opacity: 1;
        transform: scaleY(1.02);
    }
}

@keyframes appItemLoad {
    0%, 100% {
        opacity: 0.5;
        transform: translateX(-10px);
    }
    50% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* أنيميشن التصميم الجرافيكي */
.graphic-design-animation {
    width: 100%;
    max-width: 300px;
    position: relative;
}

.artboard {
    width: 100%;
    height: 300px;
    background: #1e293b;
    border-radius: 12px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.graphic-element {
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--dev-gradient-tech);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--dev-white);
    animation: graphicElementFloat 5s ease-in-out infinite;
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
}

.elem-1 {
    top: 50px;
    right: 50px;
    animation-delay: 0s;
}

.elem-2 {
    top: 150px;
    left: 50px;
    animation-delay: 1s;
}

.elem-3 {
    bottom: 50px;
    right: 100px;
    animation-delay: 2s;
}

@keyframes graphicElementFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-20px) scale(1.1);
    }
}

.color-palette {
    position: absolute;
    bottom: 20px;
    right: 50%;
    transform: translateX(50%);
    display: flex;
    gap: 10px;
}

.color {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    animation: colorChange 6s ease-in-out infinite;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.color-1 {
    background: #3b82f6;
    animation-delay: 0s;
}

.color-2 {
    background: #8b5cf6;
    animation-delay: 1s;
}

.color-3 {
    background: #10b981;
    animation-delay: 2s;
}

.color-4 {
    background: #ffffff;
    animation-delay: 3s;
}

.color-5 {
    background: #1e293b;
    animation-delay: 4s;
}

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

/* تفاصيل التصميم */
.design-details {
    color: var(--dev-white);
}

.design-details h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--dev-white);
}

.design-details > p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
    font-size: 1.1rem;
    line-height: 1.7;
}

.design-features {
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.feature-item:hover {
    background: rgba(59, 130, 246, 0.1);
}

.feature-item i {
    color: var(--dev-secondary);
    font-size: 20px;
    margin-top: 3px;
}

.feature-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dev-white);
    margin-bottom: 5px;
}

.feature-item p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.design-pricing {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.price-range {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.from {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dev-code);
}

.to {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* قسم خدمات البرمجة */
.development-services {
    padding: 100px 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dev-tech-stack {
    margin-bottom: 60px;
}

.stack-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dev-white);
    margin-bottom: 30px;
    text-align: center;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.tech-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    backdrop-filter: blur(10px);
}

.tech-item:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: var(--dev-secondary);
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2);
}

.tech-icon {
    font-size: 48px;
    color: var(--dev-secondary);
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.tech-item:hover .tech-icon {
    transform: scale(1.2);
}

.tech-name {
    color: var(--dev-white);
    font-weight: 600;
}

.dev-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.dev-service-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
}

.dev-service-card:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: var(--dev-secondary);
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.2);
}

.dev-service-card .service-icon {
    width: 80px;
    height: 80px;
    background: var(--dev-gradient-tech);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 32px;
    color: var(--dev-white);
    box-shadow: 0 5px 20px rgba(59, 130, 246, 0.3);
}

.dev-service-card .service-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dev-white);
    margin-bottom: 15px;
}

.dev-service-card .service-description {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
    line-height: 1.7;
}

.service-features {
    list-style: none;
}

.service-features li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 15px;
    color: rgba(255, 255, 255, 0.8);
}

.service-features li i {
    color: var(--dev-code);
    font-size: 16px;
}

/* قسم عملية التطوير */
.development-process {
    padding: 100px 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.process-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    position: relative;
}

.process-flow::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--dev-code) 20%, 
        var(--dev-code) 80%, 
        transparent 100%
    );
    z-index: 1;
}

.flow-step {
    position: relative;
    z-index: 2;
    background: #0f172a;
    border-radius: 20px;
    padding: 30px;
    width: 200px;
    text-align: center;
    border: 2px solid var(--dev-code);
    animation: flowStepPulse 3s ease-in-out infinite;
    backdrop-filter: blur(10px);
}

@keyframes flowStepPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
    }
    50% {
        box-shadow: 0 0 0 20px rgba(16, 185, 129, 0);
    }
}

.step-circle {
    width: 80px;
    height: 80px;
    background: var(--dev-gradient-code);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    position: relative;
}

.step-number {
    position: absolute;
    top: -10px;
    left: -10px;
    width: 30px;
    height: 30px;
    background: #0f172a;
    border: 2px solid var(--dev-code);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: var(--dev-code);
}

.step-icon {
    font-size: 32px;
    color: var(--dev-white);
}

.flow-step h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dev-white);
    margin-bottom: 10px;
}

.flow-step p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.5;
}

.flow-arrow {
    color: var(--dev-code);
    font-size: 24px;
    animation: arrowPulse 2s ease-in-out infinite;
}

@keyframes arrowPulse {
    0%, 100% {
        transform: translateX(0);
        opacity: 1;
    }
    50% {
        transform: translateX(-10px);
        opacity: 0.5;
    }
}

/* قسم نماذج الأعمال */
.portfolio-showcase {
    padding: 100px 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.portfolio-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 25px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: rgba(59, 130, 246, 0.1);
    color: var(--dev-secondary);
    border-color: rgba(59, 130, 246, 0.3);
}

.filter-btn.active {
    background: var(--dev-gradient-tech);
    color: var(--dev-white);
    border-color: var(--dev-secondary);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.portfolio-item {
    background: #1e293b;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.portfolio-item:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    border-color: var(--dev-secondary);
}

.portfolio-image {
    height: 250px;
    background: linear-gradient(135deg, #334155, #1e293b);
    position: relative;
    overflow: hidden;
}

.portfolio-image::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(59, 130, 246, 0.8) 0%, 
        rgba(139, 92, 246, 0.6) 50%, 
        transparent 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-image::before {
    opacity: 1;
}

.image-overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 30px;
    text-align: center;
}

.portfolio-item:hover .image-overlay {
    opacity: 1;
}

.image-overlay h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dev-white);
    margin-bottom: 10px;
}

.image-overlay p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
    line-height: 1.5;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.9rem;
    background: var(--dev-gradient-tech);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.btn-sm:hover {
    transform: translateY(-3px);
}

.portfolio-info {
    padding: 25px;
}

.portfolio-info h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dev-white);
    margin-bottom: 5px;
}

.portfolio-info span {
    color: var(--dev-code);
    font-size: 0.9rem;
    font-weight: 600;
}

/* قسم الأسئلة الشائعة */
.development-faq {
    padding: 100px 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.faq-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-question {
    width: 100%;
    padding: 25px 30px;
    background: none;
    border: none;
    text-align: right;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dev-white);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: rgba(59, 130, 246, 0.1);
}

.faq-question i {
    transition: transform 0.3s ease;
    color: var(--dev-code);
}

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

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

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

.faq-answer p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

/* قسم CTA */
.development-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    position: relative;
    overflow: hidden;
}

.development-cta::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
}

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

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dev-white);
    margin-bottom: 20px;
}

.cta-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto 40px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* أزرار مخصصة */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--dev-gradient-tech);
    color: var(--dev-white);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--dev-secondary);
    border-color: var(--dev-secondary);
}

.btn-outline:hover {
    background: rgba(59, 130, 246, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.2);
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* التجاوب مع الشاشات الصغيرة */
@media (max-width: 1200px) {
    .tech-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .dev-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .page-title {
        font-size: 3rem;
    }
    
    .design-tabs-header {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .design-tab-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .design-visual {
        order: 1;
    }
    
    .design-details {
        order: 2;
    }
    
    .tech-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-flow {
        flex-direction: column;
    }
    
    .process-flow::before {
        top: 0;
        right: 50%;
        width: 4px;
        height: 100%;
        background: linear-gradient(to bottom, 
            transparent 0%, 
            var(--dev-code) 20%, 
            var(--dev-code) 80%, 
            transparent 100%
        );
    }
    
    .flow-arrow {
        transform: rotate(90deg);
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 2.5rem;
    }
    
    .design-tabs-header {
        grid-template-columns: 1fr;
    }
    
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .dev-services-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 2rem;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
    }
    
    .design-pricing {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
}