/* 🔑 الألوان العامة وإعدادات الصفحة */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght=400;600;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: #000102;
    color: #FFFFFF;
    font-family: 'Cairo', sans-serif;
    overflow-x: hidden;
}

/* 🌐 الهيدر (Header) */
.devsmart-header {
    background: rgba(0, 1, 2, 0.85);
    border-bottom: 1px solid rgba(0, 217, 253, 0.1);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
}
.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo-box img { height: 42px; width: auto; }
.nav-list {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 25px;
}
.nav-link {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: color 0.3s;
}
.nav-link:hover, .nav-link.active { color: #00D9FD; }
.btn-contact {
    background: linear-gradient(135deg, #00A8F9, #00D9FD);
    padding: 8px 20px;
    border-radius: 50px;
    color: #000102 !important;
}
.menu-toggle-cb, .hamburger-btn { display: none; }

/* 🌟 واجهة البطل (Hero Section) */
.devsmart-hero {
    padding: 160px 20px 80px 20px;
    min-height: 90vh;
    display: flex;
    align-items: center;
}
.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    width: 100%;
}
.hero-badge {
    background: rgba(0, 219, 253, 0.1);
    color: #00D9FD;
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 13px;
    display: inline-block;
    margin-bottom: 20px;
}
.hero-title { font-size: 40px; line-height: 1.5; margin-bottom: 25px; font-weight: 800;}
.text-highlight { color: #00D9FD; }
.hero-description { color: #b3b3b3; font-size: 16.5px; line-height: 1.9; margin-bottom: 35px; text-align: justify;}
.hero-cta-group { display: flex; gap: 15px; }
.btn-primary {
    background: linear-gradient(135deg, #00A8F9, #00D9FD);
    color: #000102;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: opacity 0.3s;
}
.btn-primary:hover { opacity: 0.9; }
.btn-secondary {
    border: 2px solid rgba(255,255,255,0.1);
    color: #FFF;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    transition: background 0.3s;
}
.btn-secondary:hover { background: rgba(255,255,255,0.05); }
.hero-visual { display: flex; justify-content: center; align-items: center; }
.logo-glow-wrapper { animation: float 4s ease-in-out infinite; position: relative; }
.logo-glow-wrapper::before {
    content: ''; position: absolute; top:50%; left:50%; transform:translate(-50%, -50%);
    width: 180px; height: 180px; background: #00A8F9; filter: blur(80px); opacity: 0.25;
}
.hero-logo-img { max-height: 280px; width: auto; position: relative; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ⚙️ الأقسام العامة */
.devsmart-process, .devsmart-portfolio, .devsmart-ecosystem, .devsmart-contact {
    padding: 100px 20px;
    border-top: 1px solid rgba(255,255,255,0.03);
}
.process-container, .portfolio-container, .ecosystem-container, .contact-container { max-width: 1200px; margin: 0 auto; }
.process-header, .portfolio-header, .contact-header { text-align: center; margin-bottom: 60px; }
.section-title { font-size: 32px; font-weight: 800; margin-bottom: 15px; }
.text-gradient { background: linear-gradient(to right, #00A8F9, #00D9FD); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.section-subtitle { color: #888888; font-size: 15.5px; max-width: 650px; margin: 0 auto; line-height: 1.6; }

/* 📈 ستايل خطوات الخدمة */
.process-steps-wrapper { display: flex; flex-direction: column; gap: 30px; max-width: 900px; margin: 0 auto; }
.step-timeline-card {
    display: flex; gap: 30px; background: rgba(255,255,255,0.01); 
    border: 1px solid rgba(0, 168, 249, 0.08); padding: 35px; border-radius: 20px;
    align-items: flex-start; transition: border-color 0.3s;
}
.step-timeline-card:hover { border-color: #00D9FD; }
.step-number-badge {
    background: linear-gradient(135deg, #00A8F9, #00D9FD); color: #000102;
    font-size: 24px; font-weight: 800; min-width: 60px; height: 60px;
    display: flex; align-items: center; justify-content: center; border-radius: 15px;
}
.step-body-content { flex: 1; }
.step-phase-tag { background: rgba(0, 217, 253, 0.1); color: #00D9FD; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 50px; display: inline-block; margin-bottom: 10px; }
.step-phase-tag-secondary { background: rgba(255, 255, 255, 0.05); color: #FFF; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 50px; display: inline-block; margin-bottom: 10px; }
.step-title { font-size: 22px; font-weight: 700; margin-bottom: 10px; }
.step-price { font-size: 28px; font-weight: 800; color: #FFF; margin-bottom: 15px; }
.step-price .currency { font-size: 15px; color: #888; font-weight: 400; }
.step-text { color: #b3b3b3; font-size: 15px; line-height: 1.8; text-align: justify; }
.step-bonus-badge { background: rgba(37, 211, 102, 0.1); color: #25D366; font-size: 13.5px; font-weight: 600; padding: 8px 15px; border-radius: 10px; display: inline-block; margin-top: 15px; }

/* 🎯 قسم أعمالنا (شبكة مخصصة لمشروعين لتأتي متناسقة ومتوازنة) */
.portfolio-grid.dual-grid { 
    display: grid; 
    grid-template-columns: repeat(2, 1fr); 
    gap: 30px; 
    max-width: 900px; 
    margin: 0 auto;
}
.portfolio-card {
    background: rgba(255,255,255,0.01); border: 1px solid rgba(0, 168, 249, 0.08);
    border-radius: 20px; padding: 35px 20px; text-align: center; transition: all 0.3s ease;
}
.portfolio-card:hover { transform: translateY(-8px); border-color: #00D9FD; box-shadow: 0 10px 25px rgba(0,217,253,0.05); }
.card-image-container { display: flex; justify-content: center; margin-bottom: 20px; }
.circle-frame {
    width: 140px; height: 140px; border-radius: 50%; overflow: hidden;
    border: 3px solid rgba(0,168,249,0.15); transition: all 0.3s;
}
.portfolio-card:hover .circle-frame { border-color: #00D9FD; box-shadow: 0 0 20px rgba(0,217,253,0.3); }
.portfolio-img { width: 100%; height: 100%; object-fit: cover; }
.project-title { font-size: 19px; margin-bottom: 5px; color: #FFF; font-weight: 700; }
.project-tag { color: #00A8F9; font-size: 12.5px; display: block; margin-bottom: 15px; font-weight: 600; }
.project-text { color: #b3b3b3; font-size: 14px; line-height: 1.7; margin-bottom: 25px; min-height: 75px; text-align: justify; }
.btn-visit {
    border: 1px solid rgba(255,255,255,0.1); color: #FFF; text-decoration: none;
    padding: 8px 25px; border-radius: 50px; font-size: 13px; display: inline-block; width: 85%; transition: all 0.3s;
}
.btn-visit:hover { background: #FFFFFF; color: #000102; }

/* 💡 قسم حلول النمو المدمج */
.ecosystem-box {
    background: linear-gradient(135deg, rgba(0,168,249,0.03), rgba(0,217,253,0.01));
    border: 1px solid rgba(0, 217, 253, 0.1); border-radius: 30px; padding: 50px;
}
.ecosystem-badge { background: rgba(0,217,253,0.1); color:#00D9FD; font-size:13px; font-weight:700; padding:5px 15px; border-radius:50px; display:inline-block; margin-bottom:20px;}
.ecosystem-title { font-size: 28px; font-weight: 800; margin-bottom: 15px; line-height: 1.5; }
.ecosystem-desc { color: #b3b3b3; font-size: 15.5px; line-height: 1.8; margin-bottom: 35px; }
.ecosystem-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 25px; }
.eco-item { display: flex; gap: 15px; align-items: flex-start; background: rgba(0,0,0,0.3); padding: 20px; border-radius: 15px; }
.eco-icon { font-size: 22px; }
.eco-item p { color: #e0e0e0; font-size: 14px; line-height: 1.7; text-align: justify; }

/* 📞 فورم اتصل بنا المتطور */
.contact-body { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 30px; }
.contact-info-box { background: rgba(255,255,255,0.01); border: 1px solid rgba(0,168,249,0.05); border-radius: 20px; padding: 30px; }
.contact-info-box h3 { margin-bottom: 15px; font-weight: 700; }
.info-desc { color: #888; font-size: 14px; margin-bottom: 25px; line-height: 1.6; }
.info-item { display: flex; align-items: center; gap: 15px; margin-bottom: 25px; }
.info-icon { font-size: 24px; background: rgba(0,217,253,0.1); width: 45px; height: 45px; display: flex; align-items: center; justify-content: center; border-radius: 50%; }
.info-item h4 { font-size: 15px; font-weight: 700; }
.info-item p { font-size: 13px; color: #888; }
.btn-whatsapp { background: #25D366; color:#FFF; text-decoration:none; display:block; text-align:center; padding:12px; border-radius:50px; font-weight:700; box-shadow: 0 4px 15px rgba(37,211,102,0.2); }
.contact-form-box { background: rgba(255,255,255,0.02); border: 1px solid rgba(0,168,249,0.05); border-radius: 20px; padding: 30px; }
.devsmart-form { display: flex; flex-direction: column; gap: 15px; }
.form-group { display: flex; flex-direction: column; gap: 5px; text-align: right; }
.form-group label { font-size: 14px; font-weight: 600; }
.form-group input, .form-group textarea { background: #08090a; border: 1px solid rgba(255,255,255,0.1); border-radius: 10px; padding: 12px; color: #FFF; font-family: inherit; }
.form-group input:focus, .form-group textarea:focus { border-color: #00D9FD; outline: none; }
.btn-submit-form { background: linear-gradient(135deg, #00A8F9, #00D9FD); border: none; color: #000; padding: 12px; border-radius: 50px; font-weight: 700; font-family: inherit; cursor: pointer; }

/* 👣 الفوتر */
.devsmart-footer { background: #000102; padding: 25px; text-align: center; border-top: 1px solid rgba(255,255,255,0.03); color: #555; font-size: 13px; }

/* 📱 Responsive الشاشات (الموبايل والتابليت) */
@media (max-width: 992px) {
    .portfolio-grid.dual-grid { grid-template-columns: 1fr; max-width: 450px; }
    .ecosystem-grid { grid-template-columns: 1fr; }
    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero-content { display: flex; flex-direction: column; align-items: center; }
    .hero-cta-group { justify-content: center; }
    .hero-description { text-align: center; }
}
@media (max-width: 768px) {
    .contact-body, .step-timeline-card { grid-template-columns: 1fr; flex-direction: column; }
    .hamburger-btn { display: flex; flex-direction: column; gap: 5px; cursor: pointer; }
    .hamburger-btn span { width: 25px; height: 3px; background: #00D9FD; border-radius: 2px; }
    .nav-menu { position: absolute; top: 100%; left: 0; width: 100%; background: #000102; max-height: 0; overflow: hidden; transition: max-height 0.3s; }
    .nav-list { flex-direction: column; padding: 20px; gap: 15px; }
    .menu-toggle-cb:checked ~ .nav-menu { max-height: 300px; }
    .hero-title { font-size: 28px; }
    .ecosystem-box { padding: 30px 20px; }
    .ecosystem-title { font-size: 22px; }
}