/*
Main CSS
Anwar Services Pro
*/


/* =====================
   Global
===================== */


*{
    box-sizing:border-box;
}


html{
    scroll-behavior:smooth;
}


body{

    margin:0;
    background:#fff;
    color:#333;
    font-family:Tajawal, sans-serif;

}


img{

    max-width:100%;
    height:auto;

}


a{

    text-decoration:none;

}


.container{

    width:90%;
    max-width:1200px;
    margin:auto;

}




/* =====================
   Sections
===================== */


section{

    padding:90px 0;

}




/* =====================
   Titles
===================== */


.section-title{

    text-align:center;
    color:#0b2d5c;
    font-size:40px;
    font-weight:800;
    margin-bottom:55px;
    position:relative;

}


.section-title::after{

    content:"";
    display:block;
    width:80px;
    height:4px;
    background:#c9a227;
    margin:18px auto 0;
    border-radius:20px;

}





/* =====================
   Buttons
===================== */


.btn-primary{

    background:#0d5cab;
    color:#fff;
    padding:16px 32px;
    border-radius:10px;
    display:inline-block;
    font-weight:700;
    transition:.3s;

}


.btn-primary:hover{

    background:#c9a227;
    color:#fff;

}




.btn-secondary{

    background:#fff;
    color:#0d5cab;
    border:2px solid #0d5cab;
    padding:14px 30px;
    border-radius:10px;
    display:inline-block;
    font-weight:700;
    transition:.3s;

}


.btn-secondary:hover{

    background:#0d5cab;
    color:#fff;

}





/* =====================
   Services
===================== */


.services-section{

    background:#fff;

}



.services-grid{

    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;

}



.service-card{

    background:#fff;
    padding:35px 25px;
    border-radius:20px;
    text-align:center;
    border:1px solid #edf1f5;
    box-shadow:0 10px 30px rgba(0,0,0,.07);
    transition:.3s;

}



.service-card:hover{

    transform:translateY(-10px);
    box-shadow:0 15px 40px rgba(0,0,0,.12);

}




.service-icon{

    width:75px;
    height:75px;
    margin:0 auto 20px;
    background:#f2f7ff;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#0d5cab;
    font-size:35px;

}



.service-card h3{

    color:#0b2d5c;
    font-size:24px;
    margin-bottom:15px;

}



.service-card p{

    color:#555;
    line-height:1.9;
    margin-bottom:20px;

}



.service-card a{

    color:#c9a227;
    font-weight:700;

}

/* =====================
   Stats Section
===================== */


.stats-section{

    background:#0d5cab;
    padding:90px 0;

}



.stats-grid{

    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;

}



.stat-box{

    background:rgba(255,255,255,.15);
    padding:35px 20px;
    border-radius:20px;
    text-align:center;
    color:#fff;
    backdrop-filter:blur(8px);
    border:1px solid rgba(255,255,255,.25);
    transition:.3s;

}



.stat-box:hover{

    transform:translateY(-8px);

}



.stat-box i{

    font-size:38px;
    margin-bottom:15px;

}



.stat-box h3{

    font-size:42px;
    margin:10px 0;
    font-weight:800;

}



.stat-box p{

    font-size:18px;

}






/* =====================
   Why Choose Us
===================== */


.about-section{

    background:#f8fbff;

}



.features{

    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;

}



.feature-box{

    background:#fff;
    padding:40px 25px;
    text-align:center;
    border-radius:20px;
    box-shadow:0 10px 30px rgba(0,0,0,.06);
    transition:.3s;

}



.feature-box:hover{

    transform:translateY(-8px);

}



.feature-box i{

    font-size:40px;
    color:#0d5cab;
    margin-bottom:20px;

}



.feature-box h3{

    color:#0b2d5c;
    font-size:24px;
    margin-bottom:15px;

}



.feature-box p{

    color:#555;
    line-height:1.9;

}





/* =====================
   Areas Section
===================== */


.areas-section{

    background:#fff;

}



.areas-grid{

    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;

}



.area-box{

    background:#fff;
    padding:35px 20px;
    text-align:center;
    border-radius:18px;
    border:1px solid #edf1f5;
    box-shadow:0 8px 25px rgba(0,0,0,.06);
    transition:.3s;

}



.area-box:hover{

    transform:translateY(-8px);
    background:#0d5cab;

}



.area-box i{

    font-size:35px;
    color:#c9a227;
    margin-bottom:15px;

}



.area-box h3{

    color:#0b2d5c;
    font-size:22px;
    margin:0;

}



.area-box:hover h3{

    color:#fff;

}





/* =====================
   Testimonials
===================== */


.testimonials-section{

    background:#f8fbff;

}



.testimonials-grid{

    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;

}



.testimonial-box{

    background:#fff;
    padding:35px 25px;
    border-radius:20px;
    text-align:center;
    box-shadow:0 8px 25px rgba(0,0,0,.06);

}



.client-icon{

    width:65px;
    height:65px;
    margin:0 auto 20px;
    background:#0d5cab;
    color:#fff;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:25px;

}



.testimonial-box p{

    color:#555;
    line-height:1.9;

}



.testimonial-box h3{

    color:#0b2d5c;
    margin-top:20px;

}

/* =====================
   FAQ Section
===================== */


.faq-section{

    background:#fff;

}



.faq-grid{

    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:25px;

}



.faq-box{

    background:#f8fbff;
    padding:35px;
    border-radius:18px;
    border-right:5px solid #0d5cab;

}



.faq-box h3{

    color:#0b2d5c;
    font-size:22px;
    margin-bottom:15px;

}



.faq-box p{

    color:#555;
    line-height:1.9;

}





/* =====================
   Latest Posts
===================== */


.latest-section{

    background:#f7f9fc;

}



.latest-posts-grid{

    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;

}



.post-card{

    background:#fff;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,.07);
    transition:.3s;

}



.post-card:hover{

    transform:translateY(-8px);

}



.post-image img{

    width:100%;
    height:240px;
    object-fit:cover;

}



.post-content{

    padding:25px;

}



.post-content h2{

    font-size:24px;
    line-height:1.5;
    margin-bottom:15px;

}



.post-content h2 a{

    color:#0b2d5c;

}



.post-content p{

    color:#555;
    line-height:1.9;

}



.post-meta{

    color:#777;
    font-size:14px;
    margin-bottom:15px;

}



.read-more{

    color:#c9a227;
    font-weight:700;

}





/* =====================
   CTA Section
===================== */


.cta-section{

    padding:90px 0;

}



.cta-box{

    background:#0d5cab;
    color:#fff;
    padding:60px 40px;
    border-radius:30px;
    text-align:center;

}



.cta-box h2{

    font-size:40px;
    margin-bottom:20px;

}



.cta-box p{

    font-size:18px;
    line-height:1.9;
    margin-bottom:35px;

}



.cta-buttons{

    display:flex;
    justify-content:center;
    gap:15px;
    flex-wrap:wrap;

}



.cta-box .btn-secondary{

    background:#fff;

}





/* =====================
   Archive Page
===================== */


.archive-header{

    text-align:center;
    padding:60px 0;

}



.archive-header h1{

    color:#0b2d5c;
    font-size:45px;
    font-weight:800;

}



.archive-description{

    color:#666;
    font-size:18px;

}



.archive-grid{

    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;

}




/* =====================
   Pagination
===================== */


.pagination{

    text-align:center;
    margin-top:50px;

}





/* =====================
   404 Page
===================== */


.error-page{

    padding:120px 0;
    text-align:center;

}



.error-box{

    background:#fff;
    padding:60px 30px;
    border-radius:20px;
    box-shadow:0 10px 35px rgba(0,0,0,.08);

}



.error-number{

    font-size:100px;
    font-weight:900;
    color:#0d5cab;

}





/* =====================
   Responsive
===================== */


@media(max-width:1100px){


.services-grid,
.latest-posts-grid,
.archive-grid{

    grid-template-columns:repeat(2,1fr);

}



.areas-grid{

    grid-template-columns:repeat(2,1fr);

}



.stats-grid{

    grid-template-columns:repeat(2,1fr);

}


}





@media(max-width:768px){


section{

    padding:60px 0;

}



.hero-wrapper{

    flex-direction:column;

}



.hero-text h1{

    font-size:34px;

}



.services-grid,
.features,
.areas-grid,
.testimonials-grid,
.faq-grid,
.latest-posts-grid,
.archive-grid,
.stats-grid{

    grid-template-columns:1fr;

}



.section-title{

    font-size:30px;

}



.cta-box{

    padding:40px 20px;

}



.cta-box h2{

    font-size:28px;

}



.archive-header h1{

    font-size:32px;

}


}

/* =========================
   Single Article
========================= */


.article-box{

    background:#fff;
    padding:45px;
    border-radius:25px;
    box-shadow:0 10px 35px rgba(0,0,0,.08);
    margin:60px 0;

}



.article-title{

    color:#0b2d5c;
    font-size:42px;
    font-weight:800;
    line-height:1.5;
    margin-bottom:20px;

}



.article-meta{

    color:#777;
    font-size:15px;
    margin-bottom:30px;

}



.article-image img{

    width:100%;
    height:450px;
    object-fit:cover;
    border-radius:20px;
    margin-bottom:35px;

}



.article-content{

    color:#444;
    font-size:18px;
    line-height:2.1;

}



.article-content h2,
.article-content h3{

    color:#0b2d5c;
    margin-top:35px;

}





/* =========================
   Related Posts Cards
========================= */


.related-posts{

    padding:70px 0;

}



.related-grid{

    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;

}




.post-card{

    background:#fff;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    transition:.3s;

}



.post-card:hover{

    transform:translateY(-8px);

}



.post-image img{

    width:100%;
    height:230px;
    object-fit:cover;

}



.post-content{

    padding:25px;

}



.post-content h3{

    font-size:23px;
    line-height:1.5;
    margin-bottom:15px;

}



.post-content h3 a{

    color:#0b2d5c;

}



.post-content p{

    color:#666;
    line-height:1.8;
    margin-bottom:20px;

}



.read-more{

    display:inline-block;
    color:#c9a227;
    font-weight:700;

}



.read-more:hover{

    color:#0d5cab;

}




/* =========================
   Responsive Articles
========================= */


@media(max-width:992px){


.related-grid{

    grid-template-columns:repeat(2,1fr);

}


.article-title{

    font-size:34px;

}


}




@media(max-width:600px){


.article-box{

    padding:25px;

}



.article-title{

    font-size:28px;

}



.article-image img{

    height:250px;

}



.related-grid{

    grid-template-columns:1fr;

}


}

/* =========================
   SINGLE POST DESIGN
========================= */


.single-layout{

    display:grid;
    grid-template-columns:1fr 330px;
    gap:35px;
    align-items:start;
    margin:70px 0;

}




/* المقال الرئيسي */


.single-article{

    background:#fff;
    padding:45px;
    border-radius:25px;
    box-shadow:0 15px 40px rgba(0,0,0,.08);

}




.article-title{

    font-size:42px;
    line-height:1.5;
    color:#0b2d5c;
    font-weight:800;
    margin-bottom:20px;

}



.article-meta{

    display:flex;
    gap:25px;
    color:#777;
    margin-bottom:35px;
    font-size:15px;

}



.article-meta i{

    color:#0d5cab;
    margin-left:5px;

}





.article-featured-image img{

    width:100%;
    height:450px;
    object-fit:cover;
    border-radius:20px;
    margin-bottom:35px;

}





/* محتوى المقال */


.article-content{

    font-size:18px;
    line-height:2.1;
    color:#444;

}




.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5,
.article-content h6{

    color:#0b2d5c;
    font-weight:800;
    background:#f8fbff;
    padding:18px 22px;
    border-radius:15px;
    border-right:5px solid #c9a227;
    margin:40px 0 20px;
    box-shadow:0 8px 20px rgba(0,0,0,.06);
    transition:.3s;

}



.article-content h2:hover,
.article-content h3:hover,
.article-content h4:hover,
.article-content h5:hover,
.article-content h6:hover{

    transform:translateX(-8px);

}



.article-content p{

    margin-bottom:25px;

}



.article-content img{

    border-radius:18px;

}






/* مشاركة المقال */


.article-share{

    margin-top:50px;
    padding-top:30px;
    border-top:1px solid #eee;

}



.share-buttons{

    display:flex;
    gap:12px;

}



.share-buttons a{

    width:45px;
    height:45px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    color:#fff;
    font-size:20px;

}


.facebook{

    background:#1877f2;

}


.whatsapp{

    background:#25d366;

}


.twitter{

    background:#000;

}






/* المقالات المشابهة */


.related-posts{

    margin-top:60px;

}



.related-grid{

    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:25px;

}



.related-card{

    background:#fff;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    transition:.35s;

}



.related-card:hover{

    transform:translateY(-10px);

}



.related-image img{

    width:100%;
    height:220px;
    object-fit:cover;

}



.related-content{

    padding:25px;

}



.related-content h3 a{

    color:#0b2d5c;
    font-size:22px;

}



.related-content p{

    color:#666;
    line-height:1.8;

}





/* Sidebar */


.article-sidebar{

    position:sticky;
    top:100px;

}



.sidebar-box{

    background:#fff;
    padding:30px;
    border-radius:20px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    margin-bottom:25px;

}



.sidebar-box h3{

    color:#0b2d5c;
    font-size:24px;
    margin-bottom:20px;

}



.sidebar-box ul{

    padding:0;
    list-style:none;

}



.sidebar-box ul li{

    padding:12px 0;
    border-bottom:1px solid #eee;
    color:#555;

}



.contact-box a{

    display:block;
    background:#0d5cab;
    color:#fff;
    text-align:center;
    padding:15px;
    border-radius:10px;
    font-weight:700;

}



.contact-box a:hover{

    background:#c9a227;

}







/* الموبايل */


@media(max-width:992px){


.single-layout{

    grid-template-columns:1fr;

}



.article-sidebar{

    position:static;

}



.related-grid{

    grid-template-columns:repeat(2,1fr);

}



}





@media(max-width:600px){


.single-article{

    padding:25px;

}



.article-title{

    font-size:30px;

}



.article-featured-image img{

    height:250px;

}



.related-grid{

    grid-template-columns:1fr;

}



.article-meta{

    flex-direction:column;
    gap:10px;

}


}