/* ===============================
   VANT WORKS PAGE
================================= */

:root{
    --bg:#0a0a14;
    --card:#131320;
    --card2:#1b1b2b;
    --mint:#00e5b0;
    --purple:#7b5ef8;
    --white:#ffffff;
    --gray:#b9b9c8;
    --border:rgba(255,255,255,.06);
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}
@font-face {
    font-family: 'cairo';
    src: url('Cairo/Cairo-Regular.ttf') format('woff2');
}

body{
    background:var(--bg);
    color:white;
    font-family:'cairo',sans-serif;
}

/* ================= NAVBAR ================= */

nav{
    position:fixed;
    top:0;
    left:0;
    right:0;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px 8%;
    background:rgba(10,10,20,.92);
    backdrop-filter:blur(18px);
    border-bottom:1px solid var(--border);
    z-index:1000;
}

.logo{
    font-size:28px;
    font-weight:800;
    letter-spacing:4px;
}

.logo span{
    color:var(--mint);
}

nav ul{
    display:flex;
    gap:35px;
    list-style:none;
}

nav a{
    text-decoration:none;
    color:var(--gray);
    transition:.3s;
}

nav a:hover{
    color:var(--mint);
}

/* ================= HERO ================= */

.hero{
    min-height:100vh;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;
    padding:100px 20px;
}

.hero h1{
    font-size:72px;
    margin-bottom:20px;
}

.hero p{
    max-width:700px;
    color:var(--gray);
    line-height:1.8;
    font-size:18px;
}

.btn{
    margin-top:40px;
    text-decoration:none;
    background:var(--mint);
    color:black;
    padding:15px 35px;
    border-radius:10px;
    font-weight:700;
    transition:.3s;
}

.btn:hover{
    transform:translateY(-5px);
    box-shadow:0 10px 30px rgba(0,229,176,.35);
}

/* ================= STATS ================= */

.stats{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;
    padding:100px 8%;
}

.stat{
    background:var(--card);
    border:1px solid var(--border);
    border-radius:18px;
    padding:40px;
    text-align:center;
}

.stat h2{
    font-size:42px;
    color:var(--mint);
}

.stat p{
    margin-top:10px;
    color:var(--gray);
}

/* ================= FILTERS ================= */

.filters{
    display:flex;
    justify-content:center;
    gap:15px;
    flex-wrap:wrap;
    margin-bottom:50px;
}

.filters button{
    background:var(--card);
    color:white;
    border:1px solid var(--border);
    padding:12px 25px;
    border-radius:30px;
    cursor:pointer;
    transition:.3s;
}

.filters button:hover,
.filters .active{
    background:var(--mint);
    color:black;
}

/* ================= PROJECTS ================= */

.projects{
    padding:30px 8% 100px;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:30px;
    /* التأكد من تساوي ارتفاع البطاقات في نفس الصف */
    align-items: stretch;
}

.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 30px;
    transition: .35s;
    /* تحويل البطاقة لحاوية عمودية */
    display: flex;
    flex-direction: column;
}

.card:hover{
    transform:translateY(-8px);
    border-color:var(--mint);
    box-shadow:0 15px 40px rgba(0,229,176,.15);
}

/* تخصيص منطقة الشعار لتبقى ثابتة */
.card .icon {
    height: 80px; 
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 15px;
}

/* تخصيص منطقة العنوان لتكون مستقلة وثابتة */
.card h2 {
    margin-bottom: 15px;
    min-height: 50px; 
    display: flex;
    align-items: center;
}

/* الفقرة تأخذ المساحة المتبقية لدفع الزر للأسفل */
.card p {
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 25px;
    flex-grow: 1; 
}

.tags{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-bottom:25px;
}

.tags span{
    background:#202036;
    padding:8px 14px;
    border-radius:30px;
    font-size:13px;
    color:var(--mint);
}

.card button{
    width:100%;
    padding:14px;
    background:var(--mint);
    border:none;
    border-radius:10px;
    font-weight:700;
    cursor:pointer;
}

/* ================= PROCESS ================= */

.process{
    padding:100px 8%;
    text-align:center;
}

.process h1{
    margin-bottom:60px;
    font-size:42px;
}

.timeline{
    display:flex;
    justify-content:space-between;
    flex-wrap:wrap;
    gap:25px;
}

.step{
    flex:1;
    min-width:150px;
}

.step h2{
    width:70px;
    height:70px;
    margin:auto;
    border-radius:50%;
    background:var(--mint);
    color:black;
    display:flex;
    align-items:center;
    justify-content:center;
    margin-bottom:20px;
}

/* ================= TECH ================= */

.tech{
    padding:100px 8%;
    text-align:center;
}

.tech h1{
    margin-bottom:40px;
}

.tech-list{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:15px;
}

.tech-list span{
    background:var(--card);
    border:1px solid var(--border);
    padding:14px 25px;
    border-radius:40px;
}

/* ================= TESTIMONIAL ================= */

.testimonials{
    padding:100px 8%;
    text-align:center;
}

.testimonial{
    max-width:700px;
    margin:auto;
    background:var(--card);
    padding:40px;
    border-radius:20px;
    border:1px solid var(--border);
    font-size:24px;
}

.testimonial p{
    margin:25px 0;
    line-height:1.8;
    color:var(--gray);
}

/* ================= CONTACT ================= */

.contact{
    text-align:center;
    padding:120px 20px;
}

.contact h1{
    font-size:48px;
    margin-bottom:20px;
}

.contact p{
    color:var(--gray);
    margin-bottom:35px;
}

.contact button{
    background:var(--mint);
    color:black;
    border:none;
    padding:16px 40px;
    border-radius:10px;
    font-size:18px;
    cursor:pointer;
    font-weight:700;
}

/* ================= FOOTER ================= */

footer{
    border-top:1px solid var(--border);
    padding:30px;
    text-align:center;
    color:var(--gray);
}

/* ================= MOBILE ================= */

@media(max-width:900px){
    .stats{
        grid-template-columns:repeat(2,1fr);
    }
    .hero h1{
        font-size:52px;
    }
    .timeline{
        flex-direction:column;
    }
    nav ul{
        display:none;
    }
}

@media(max-width:600px){
    .stats{
        grid-template-columns:1fr;
    }
    .hero h1{
        font-size:42px;
    }
    .hero p{
        font-size:16px;
    }
    .contact h1{
        font-size:34px;
    }
}