/*==================================================
                    HERO
==================================================*/

.services-hero{
    position:relative;
    min-height:90vh;
    display:flex;
    align-items:center;
    background:linear-gradient(rgba(22,39,87,.90),rgba(22,39,87,.90)),
               url("../images/service-hero.jpg") center/cover no-repeat;
    overflow:hidden;
}

.hero-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:60px;
    align-items:center;
}

.hero-content{
    color:#fff;
}

.hero-badge{
    display:inline-block;
    padding:10px 22px;
    border-radius:40px;
    background:rgba(212,160,23,.18);
    color:var(--secondary);
    border:1px solid rgba(212,160,23,.35);
    font-size:15px;
    font-weight:700;
    margin-bottom:25px;
}

.hero-content h1{
    font-size:60px;
    line-height:1.25;
    margin-bottom:25px;
    color:#fff;
}

.hero-content p{
    font-size:18px;
    line-height:2;
    color:rgba(255,255,255,.88);
    max-width:620px;
    margin-bottom:40px;
}

.hero-buttons{
    display:flex;
    gap:20px;
    flex-wrap:wrap;
}

.hero-image{
    text-align:center;
}

.hero-image img{
    width:100%;
    max-width:560px;
    margin:auto;
}

@media(max-width:992px){

.hero-grid{
    grid-template-columns:1fr;
    text-align:center;
}

.hero-content p{
    margin:0 auto 40px;
}

.hero-buttons{
    justify-content:center;
}

.hero-image{
    order:-1;
}

.hero-content h1{
    font-size:46px;
}

}

@media(max-width:768px){

.services-hero{
    min-height:auto;
    padding:120px 0 80px;
}

.hero-content h1{
    font-size:36px;
}

.hero-content p{
    font-size:16px;
}

.hero-image img{
    max-width:360px;
}

}
/*==============================
        SERVICES WRAPPER
==============================*/

.services-wrapper{
    display:flex;
    flex-direction:column;
    gap:60px;
}

/*==============================
    FEATURED SERVICE
==============================*/

.featured-service{
    display:grid;
    grid-template-columns:1.2fr 1fr;
    gap:40px;
    align-items:center;
    background:#fff;
    border-radius:24px;
    overflow:hidden;
    box-shadow:var(--shadow);
}

.featured-image img{
    width:100%;
    height:520px;
    object-fit:cover;
}

.featured-content{
    padding:50px;
}

.featured-content span{
    color:var(--secondary);
    font-weight:700;
}

.featured-content h2{
    font-size:42px;
    color:var(--primary);
    margin:20px 0;
}

.featured-content p{
    color:var(--light);
    line-height:2;
    margin-bottom:35px;
}

/*==============================
        SERVICES GRID
==============================*/

.services-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:30px;
}

.service-card{
    background:#fff;
    border-radius:22px;
    overflow:hidden;
    box-shadow:var(--shadow);
    transition:var(--transition);
}

.service-card:hover{
    transform:translateY(-10px);
}

.service-card img{
    width:100%;
    height:220px;
    object-fit:cover;
    transition:.5s;
}

.service-card:hover img{
    transform:scale(1.08);
}

.service-content{
    padding:25px;
}

.service-content h3{
    color:var(--primary);
    margin-bottom:12px;
}

.service-content p{
    color:var(--light);
    margin-bottom:18px;
    line-height:1.8;
}

.service-content a{
    color:var(--secondary);
    font-weight:700;
}

/*==============================
        RESPONSIVE
==============================*/

@media(max-width:992px){

.featured-service{
grid-template-columns:1fr;
}

.featured-image img{
height:340px;
}

.featured-content{
padding:35px;
}

}
/* ===== خدمات الصفحة - الأقسام الإضافية ===== */
.services-section{padding:90px 0;background:var(--section)}
.section-title{text-align:center;max-width:760px;margin:0 auto 45px}
.section-title span{color:var(--secondary);font-weight:800}
.section-title h2{font-size:42px;color:var(--primary);margin:10px 0 14px}
.section-title p{color:var(--light);line-height:1.9}

.why-us,.featured-projects{padding:90px 0;background:#fff}
.why-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
.why-card{background:#fff;border-radius:20px;padding:30px 22px;text-align:center;box-shadow:var(--shadow);border:1px solid rgba(0,0,0,.03);transition:var(--transition)}
.why-card:hover{transform:translateY(-8px)}
.why-icon{width:58px;height:58px;margin:0 auto 16px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:rgba(212,160,23,.12);color:var(--secondary);font-size:21px}
.why-card h3{color:var(--primary);margin-bottom:10px}
.why-card p{color:var(--light);line-height:1.8;margin:0}

.featured-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.featured-card{overflow:hidden;background:#fff;border-radius:20px;box-shadow:var(--shadow)}
.featured-card img{width:100%;height:240px;object-fit:cover;display:block;transition:.5s}
.featured-card:hover img{transform:scale(1.04)}
.featured-card>div{padding:20px}
.featured-card h3{color:var(--primary);margin:0 0 12px}
.featured-card a{color:var(--secondary);font-weight:800}
.center-action{text-align:center;margin-top:35px}

.services-cta{padding:75px 0;background:var(--primary);color:#fff}
.cta-inner{display:flex;align-items:center;justify-content:space-between;gap:30px}
.cta-inner span{color:var(--secondary);font-weight:800}
.cta-inner h2{font-size:38px;margin:8px 0}
.cta-inner p{margin:0;color:rgba(255,255,255,.8);line-height:1.8}

body.dark-theme .services-section,
body.dark-theme .why-us,
body.dark-theme .featured-projects{background:#111827}
body.dark-theme .why-card,
body.dark-theme .featured-card{background:#1b2435}
body.dark-theme .why-card h3,
body.dark-theme .featured-card h3,
body.dark-theme .section-title h2{color:#fff}

@media(max-width:992px){
 .why-grid{grid-template-columns:repeat(2,1fr)}
 .featured-grid{grid-template-columns:1fr 1fr}
 .cta-inner{flex-direction:column;text-align:center}
}
@media(max-width:600px){
 .why-grid,.featured-grid{grid-template-columns:1fr}
 .section-title h2{font-size:32px}
 .cta-inner h2{font-size:30px}
 .featured-card img{height:220px}
}
