/* @import url('https://fonts.googleapis.com/css2?family=Cairo:wght@600;700;800;900&family=Tajawal:wght@400;500;700&display=swap'); */

:root{
  --forest-900:#0E241B;
  --forest-800:#153A29;
  --brand-700:#1E6B49;
  --brand-600:#268257;
  --brand-500:#3FA672;
  --brand-300:#8FCBAA;
  --mint-200:#CFEBDD;
  --mint-100:#E4F4EC;
  --mint-50:#F4FAF7;
  --gold:#C79A2E;
  --gold-light:#E4C463;
  --ink:#132A20;
  --ink-soft:#4C6459;
  --white:#FFFFFF;
  --line:#DCEBE2;
  --radius-lg:28px;
  --radius-md:18px;
  --radius-sm:12px;
  --shadow:0 20px 40px -20px rgba(14,36,27,.25);
  --container:1180px;
}

*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth;}
body{
  font-family:'Tajawal', sans-serif;
  color:var(--ink);
  background:var(--mint-50);
  direction:rtl;
  line-height:1.7;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4{
  font-family:'TajawalExtraBold', 'TajawalBold', sans-serif;
  /* color:var(--forest-900); */
  line-height:1.35;
  font-weight:800;
}

h1, h2 {
  color:var(--forest-800);
}
h3, h4 {
  color:var(--brand-700);
}
a.logo img {
    width: 240px;
}
a{color:inherit; text-decoration:none;}
img{max-width:100%; display:block;}
ul{list-style:none;}
button{font-family:'TajawalRegular', sans-serif; cursor:pointer; border:none;}
.container{max-width:var(--container); margin:0 auto; padding:0 28px;}

:focus-visible{outline:3px solid var(--gold); outline-offset:3px;}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; gap:10px;
  padding:15px 28px;
  border-radius:50px;
  font-family:'TajawalRegular', sans-serif;
  font-weight:700;
  font-size:15px;
  transition:transform .2s ease, box-shadow .2s ease;
}
.btn:hover{transform:translateY(-2px);}
.btn-primary{background:var(--forest-900); color:var(--white);}
.btn-primary:hover{box-shadow:0 14px 26px -12px rgba(14,36,27,.55);}
.btn-outline{background:transparent; color:var(--forest-900); border:1.5px solid var(--forest-900);}
.btn-light{background:var(--white); color:var(--forest-900);}
.btn-gold{background:var(--gold); color:var(--forest-900);}
.btn-sm{padding:10px 20px; font-size:13px;}

/* ---------- Header ---------- */
.site-header{
  padding:22px 0 10px;
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  gap:20px;
}
.logo{
  display:flex; align-items:center; gap:10px;
  font-family:'TajawalRegular', sans-serif;
}
.logo .mark{
  width:40px; height:40px; border-radius:50%;
  background:linear-gradient(135deg,var(--brand-700),var(--forest-900));
  display:flex; align-items:center; justify-content:center;
  color:var(--gold-light); font-weight:900; font-size:18px;
}
.logo .word{display:flex; flex-direction:column; line-height:1.1;}
.logo .word b{font-size:19px; color:var(--forest-900); letter-spacing:.5px;}
.logo .word span{font-size:10px; color:var(--gold); letter-spacing:2px; font-family:'Tajawal',sans-serif;}

.main-nav ul{display:flex; gap:34px; font-weight:700; font-family:'TajawalRegular', sans-serif; font-size:15px;}
.main-nav a{color:var(--ink); transition:color .2s;}
.main-nav a:hover, .main-nav a.active{color:var(--brand-700);}

.header-cta{display:flex; align-items:center; gap:14px;}
.header-cta .btn{padding:12px 22px; font-size:14px;}
.nav-toggle{display:none; background:none; border:none; font-size:26px; color:var(--forest-900);}

/* ---------- Hero ---------- */
.hero{
  position:relative;
  padding:20px 0 70px;
  overflow:hidden;
}
.hero-grid{
  display:grid; grid-template-columns:1fr 1fr; gap:40px; align-items:center;
}
.hero-copy h1{font-size:44px; margin-bottom:18px;}
.hero-copy h1 em{color:var(--brand-700); font-style:normal;}
.hero-copy p{color:var(--ink-soft); font-size:17px; max-width:480px; margin-bottom:28px;}
.hero-art{
  position:relative; background:var(--mint-100); border-radius:32px;
  min-height:360px; display:flex; align-items:center; justify-content:center;
  overflow:hidden;
}
.hero-art svg{width:100%; height:auto;}

.hero-stats{
  margin-top:56px;
  display:grid; grid-template-columns:repeat(4,1fr); gap:18px;
}
.stat-card{
  background:var(--white); border:1px solid var(--line); border-radius:var(--radius-md);
  padding:20px 22px; display:flex; align-items:center; justify-content:space-between; gap:12px;
  box-shadow:var(--shadow);
}
.stat-card .txt b{display:block; font-family:'TajawalRegular', sans-serif; font-size:15px; margin-bottom:4px;}
.stat-card .txt span{font-size:12.5px; color:var(--ink-soft);}
.stat-icon{
  width:44px; height:44px; border-radius:50%; flex:0 0 auto;
  background:var(--mint-100); display:flex; align-items:center; justify-content:center; color:var(--brand-700);
}

/* ---------- Section generic ---------- */
.section{padding:80px 0;}
.section-tight{padding:50px 0;}
.section-dark{background:var(--forest-900); color:var(--mint-100);}
.section-dark h2, .section-dark h3{color:var(--white);}
.eyebrow{color:var(--brand-600); font-weight:700; font-family:'TajawalRegular', sans-serif; font-size:14px; margin-bottom:10px; display:block;}
.section-head{max-width:600px; margin-bottom:44px;}
.section-head h2{font-size:32px;}
.section-head p{color:var(--ink-soft); margin-top:14px; font-size:16px;}

/* ---------- Feature grid (why choose us) ---------- */
.why-wrap{display:grid; grid-template-columns:1.1fr 1fr; gap:56px; align-items:center;}
.feature-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:16px;}
.feature-card{
  background:var(--white); border-radius:var(--radius-md); padding:26px 20px;
  border:1px solid var(--line);
  transition:transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.feature-card:hover{transform:translateY(-6px); box-shadow:var(--shadow); background:var(--mint-100);}
.feature-card .ic{
  width:46px; height:46px; border-radius:12px; background:var(--mint-100);
  display:flex; align-items:center; justify-content:center; color:var(--brand-700); margin-bottom:16px;
}
.feature-card h4{font-size:15.5px; margin-bottom:8px;}
.feature-card p{font-size:13.5px; color:var(--ink-soft);}

/* ---------- Simple feature strip ---------- */
.strip{
  background:var(--white); border-radius:var(--radius-lg); padding:34px;
  display:grid; grid-template-columns:repeat(4,1fr); gap:24px;
  box-shadow:var(--shadow); margin-top:56px;
}
.strip-item{display:flex; align-items:center; gap:14px;}
.strip-item .ic{
  width:52px; height:52px; border-radius:50%; background:var(--mint-100);
  display:flex; align-items:center; justify-content:center; color:var(--brand-700); flex:0 0 auto;
}
.strip-item b{display:block; font-family:'TajawalRegular', sans-serif; font-size:14.5px;}
.strip-item span{font-size:12.5px; color:var(--ink-soft);}

/* ---------- About split section ---------- */
.about-wrap{display:grid; grid-template-columns:.9fr 1.1fr; gap:60px; align-items:center;}
.about-art{
  position:relative; background:var(--forest-900); border-radius:36px; min-height:420px;
  display:flex; align-items:center; justify-content:center; overflow:hidden;
}
.wiggle{width:120px; margin-bottom:8px;}
.about-copy p{color:var(--ink-soft); margin:20px 0 28px; font-size:16px; max-width:560px;}

/* ---------- Testimonials ---------- */
.testi-wrap{
  background:var(--forest-900); border-radius:var(--radius-lg); overflow:hidden;
  display:grid; grid-template-columns:repeat(4,1fr) 1.1fr;
}
.testi-card{
  padding:34px 24px; border-left:1px solid rgba(255,255,255,.08); color:var(--mint-100);
}
.testi-card .stars{color:var(--gold-light); font-size:14px; margin-bottom:12px; letter-spacing:2px;}
.testi-card b{font-family:'TajawalRegular', sans-serif; display:block; font-size:16px;}
.testi-card .place{font-size:12px; color:var(--brand-300); margin-bottom:14px; display:block;}
.testi-card p{font-size:13.5px; color:var(--mint-100); opacity:.9;}
.testi-cta{
  background:linear-gradient(160deg,var(--brand-700),var(--forest-900));
  padding:34px; display:flex; flex-direction:column; justify-content:center; gap:14px;
}
.testi-cta h4{color:var(--white); font-size:20px;}
.testi-cta p{color:var(--mint-100); font-size:13.5px; opacity:.85;}

/* ---------- Articles ---------- */
.articles-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:22px;}
.article-card{
  background:var(--white); border-radius:var(--radius-md); overflow:hidden;
  border:1px solid var(--line); transition:transform .25s ease, box-shadow .25s ease;
}
.article-card:hover{transform:translateY(-6px); box-shadow:var(--shadow);}
.article-thumb{height:150px; display:flex; align-items:center; justify-content:center;}
.article-body{padding:20px;}
.article-tag{
  display:inline-block; font-size:11.5px; font-weight:700; font-family:'TajawalRegular', sans-serif;
  padding:4px 12px; border-radius:20px; margin-bottom:10px;
}
.article-body h4{font-size:15.5px;}
.article-meta{margin-top:14px; font-size:12px; color:var(--ink-soft); display:flex; gap:14px;}
.article-meta svg {
    margin-left: 2px;
    margin-bottom: 4px;
}
.article-meta span {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 1px;
}
/* ---------- Footer ---------- */
.site-footer{background:var(--forest-900); color:var(--mint-100); padding:70px 0 0;}
.footer-top{
  display:grid; grid-template-columns:1.2fr 1fr 1fr 1.1fr; gap:40px; padding-bottom:50px;
  border-bottom:1px solid rgba(255,255,255,.1);
}
.footer-logo .logo .word b{color:var(--white);}
.footer-top p{font-size:13.5px; color:var(--brand-300); margin-top:14px; max-width:250px;}
.footer-col h5{font-family:'TajawalRegular', sans-serif; color:var(--white); font-size:15px; margin-bottom:18px;}
.footer-col li{margin-bottom:11px; font-size:13.5px; color:var(--mint-100); opacity:.85;}
.footer-col a:hover{color:var(--gold-light);}
.footer-bottom{
  display:flex; justify-content:space-between; align-items:center;
  padding:24px 0; font-size:12.5px; color:var(--brand-300);
}
.social-row{display:flex; gap:10px;}
.social-row a{
  width:36px; height:36px; border-radius:50%; background:rgba(255,255,255,.08);
  display:flex; align-items:center; justify-content:center; color:var(--white);
}

/* ---------- Page header (inner pages) ---------- */
.page-hero{
  background:var(--forest-900); color:var(--white); padding:60px 0; text-align:center;
  position:relative; overflow:hidden;
}
.page-hero h1{color:var(--white); font-size:36px;}
.breadcrumb{margin-top:12px; font-size:13.5px; color:var(--brand-300);}
.breadcrumb a{color:var(--gold-light);}

/* ---------- Services page ---------- */
.services-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:24px;}
.service-card{
  background:var(--white); border:1px solid var(--line); border-radius:var(--radius-md);
  padding:30px 24px;
}
.service-card .ic{
  width:52px; height:52px; border-radius:14px; background:var(--mint-100);
  display:flex; align-items:center; justify-content:center; color:var(--brand-700); margin-bottom:18px;
}
.service-card h4{font-size:17px; margin-bottom:10px;}
.service-card p{font-size:14px; color:var(--ink-soft); margin-bottom:16px;}
.service-card a{font-size:13.5px; font-weight:700; color:var(--brand-700); font-family:'TajawalRegular', sans-serif;}

.process-list{display:grid; grid-template-columns:repeat(4,1fr); gap:20px; margin-top:20px;}
.process-item{position:relative; padding-right:8px;}
.process-item .num{
  font-family:'TajawalRegular', sans-serif; font-weight:900; font-size:32px; color:var(--mint-200);
  -webkit-text-stroke:1.5px var(--brand-500);
}
.process-item h5{font-size:15px; margin:10px 0 8px;}
.process-item p{font-size:13px; color:var(--ink-soft);}

/* ---------- Contact page ---------- */
.contact-wrap{display:grid; grid-template-columns:.9fr 1.1fr; gap:50px;}
.contact-info-card{
  background:var(--forest-900); color:var(--white); border-radius:var(--radius-lg); padding:36px;
}
.contact-info-card h3{color:var(--white); font-size:22px; margin-bottom:8px;}
.contact-info-card p{color:var(--mint-100); opacity:.85; font-size:14px; margin-bottom:28px;}
.contact-row{display:flex; align-items:center; gap:14px; margin-bottom:20px;}
.contact-row .ic{
  width:42px; height:42px; border-radius:50%; background:rgba(255,255,255,.1);
  display:flex; align-items:center; justify-content:center; flex:0 0 auto;
}
.contact-row b{display:block; font-family:inherit; font-size:14px;}
.contact-row span{font-size:13px; color:var(--brand-300);}

.form-card{background:var(--white); border-radius:var(--radius-lg); padding:36px; border:1px solid var(--line);}
.form-grid{display:grid; grid-template-columns:1fr 1fr; gap:18px;}
.form-grid .full{grid-column:1/-1;}
.field label{display:block; font-size:13.5px; font-weight:700; font-family:inherit; margin-bottom:8px;}
.field input, .field textarea, .field select{
  width:100%; padding:13px 16px; border-radius:12px; border:1.5px solid var(--line);
  font-family:'Tajawal',sans-serif; font-size:14px; background:var(--mint-50);
}
.field input:focus, .field textarea:focus{border-color:var(--brand-500); outline:none;}
.field textarea{resize:vertical; min-height:120px;}
.map-embed{
  margin-top:20px; border-radius:var(--radius-md); overflow:hidden; border:1px solid var(--line);
  height:260px;
}

/* ---------- Blog listing ---------- */
.blog-layout{display:grid; grid-template-columns:2.1fr 1fr; gap:40px;}
.blog-post-card{
  display:grid; grid-template-columns:220px 1fr; gap:22px;
  background:var(--white); border:1px solid var(--line); border-radius:var(--radius-md);
  padding:16px; margin-bottom:20px; align-items:center;
}
.blog-post-card .thumb{height:150px; border-radius:14px; overflow:hidden;}
.blog-post-card h3{font-size:19px; margin:10px 0;}
.blog-post-card p{font-size:14px; color:var(--ink-soft);}
/* .pagination{display:flex; gap:8px; margin-top:30px; justify-content:center;} */

.pagination {
    display: flex;
    gap: 8px;
    margin-top: 30px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    max-width: 100%;
    width: 100%;
}
.recent-mini .thumb img {
    border-radius: 9px;
}
.pagination a {
    flex-shrink: 0;
}

@media (max-width: 576px) {
    .pagination {
        gap: 6px;
        padding: 0 10px;
        box-sizing: border-box;
    }

    .pagination a {
        min-width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}


.pagination a{
  width:40px; height:40px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  background:var(--white); border:1px solid var(--line); font-weight:700; font-family:inherit; font-size:14px;
}
.pagination a.active{background:var(--forest-900); color:var(--white); border-color:var(--forest-900);}
.pagination a {
  padding-top: 6px;
}
.sidebar-card{
  background:var(--white); border:1px solid var(--line); border-radius:var(--radius-md); padding:24px; margin-bottom:22px;
}
.sidebar-card h5{font-family:inherit; font-size:16px; margin-bottom:16px;}
.cat-list li{
  display:flex; justify-content:space-between; padding:10px 0; border-bottom:1px dashed var(--line); font-size:14px;
}
.cat-list li:last-child{border-bottom:none;}
.cat-list a{color:var(--ink);}
.cat-list a:hover{color:var(--brand-700);}
.tag-row{display:flex; flex-wrap:wrap; gap:8px;}
.tag-row a{
  padding:7px 14px; background:var(--mint-100); border-radius:20px; font-size:12.5px; color:var(--forest-900);
}
.tag-row a:hover{background:var(--brand-500); color:var(--white);}
.recent-mini{display:flex; gap:12px; margin-bottom:16px; align-items:center;}
.recent-mini .thumb{width:62px; height:62px; border-radius:10px; overflow:hidden; flex:0 0 auto;}
.recent-mini h6{font-size:13px; line-height:1.5;}
.recent-mini span{font-size:11.5px; color:var(--ink-soft);}
.newsletter-box{background:var(--forest-900); color:var(--white); text-align:center;}
.newsletter-box h5{color:var(--white);}
.newsletter-box input{
  width:100%; padding:12px 14px; border-radius:10px; border:none; margin:14px 0; font-family:'Tajawal',sans-serif;
}

/* ---------- Single post ---------- */
.post-hero-thumb{
  border-radius:var(--radius-lg); overflow:hidden; margin:-40px auto 40px; max-width:var(--container);
  height:340px;
}
.post-content{max-width:760px;}
.post-content h2{font-size:24px; margin:34px 0 14px;}
.post-content h3{font-size:19px; margin:26px 0 12px;}
.post-content p{font-size:16px; color:var(--ink-soft); margin-bottom:18px;}
.post-content ul{margin:0 0 20px; padding-right:20px;}
.post-content li{list-style:disc; font-size:15.5px; color:var(--ink-soft); margin-bottom:8px;}
.post-content blockquote{
  border-right:4px solid var(--brand-500); background:var(--mint-100); padding:20px 24px;
  border-radius:0 var(--radius-sm) var(--radius-sm) 0; font-family:inherit; font-weight:700;
  font-size:16px; margin:26px 0; color:var(--forest-900);
}
.post-meta-row{
  display:flex; align-items:center; gap:20px; margin-bottom:22px; flex-wrap:wrap; font-size:13.5px; color:var(--ink-soft);
}
.author-chip{display:flex; align-items:center; gap:10px;}
.author-chip .av{width:38px; height:38px; border-radius:50%; background:var(--brand-500);}
.post-tags{display:flex; gap:8px; margin:30px 0; flex-wrap:wrap;}
.post-tags a{padding:7px 16px; background:var(--mint-100); border-radius:20px; font-size:12.5px;}
.share-row{display:flex; align-items:center; gap:12px; padding:22px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); margin:28px 0;}
.share-row a{
  width:38px; height:38px; border-radius:50%; background:var(--mint-100); display:flex; align-items:center; justify-content:center; color:var(--forest-900);
}
.author-box{
  display:flex; gap:18px; background:var(--mint-100); border-radius:var(--radius-md); padding:26px; margin:30px 0;
}
.author-box .av{width:64px; height:64px; border-radius:50%; background:var(--brand-500); flex:0 0 auto;}
.comments h4{font-size:19px; margin-bottom:20px;}
.comment{display:flex; gap:16px; margin-bottom:24px;}
.comment .av{width:48px; height:48px; border-radius:50%; background:var(--brand-300); flex:0 0 auto;}
.comment b{font-family:inherit; font-size:14px;}
.comment span{font-size:12px; color:var(--ink-soft);}
.comment p{font-size:14px; color:var(--ink-soft); margin-top:6px;}
.related-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:20px; margin-top:20px;}

/* ---------- Category page ---------- */
.cat-hero-pills{display:flex; gap:10px; justify-content:center; flex-wrap:wrap; margin-top:20px;}
.cat-hero-pills a{
  padding:10px 20px; border-radius:30px; background:rgba(255,255,255,.1); color:var(--white); font-size:13.5px;
}
.cat-hero-pills a.active{background:var(--gold); color:var(--forest-900); font-weight:700;}

/* ---------- CTA banner ---------- */
.cta-banner{
  background:linear-gradient(120deg,var(--brand-700),var(--forest-900));
  border-radius:var(--radius-lg); padding:50px 60px; color:var(--white);
  display:flex; align-items:center; justify-content:space-between; gap:30px; flex-wrap:wrap;
}
.cta-banner h3{color:var(--white); font-size:26px; max-width:460px;}
.cta-banner p{color:var(--mint-100); opacity:.85; margin-top:10px; font-size:14.5px;}

/* ---------- Utility blobs ---------- */
.blob{position:absolute; border-radius:50%; z-index:-1; opacity:.6;}

/* ---------- Responsive ---------- */
@media (max-width: 980px){
  .hero-grid, .why-wrap, .about-wrap, .contact-wrap, .blog-layout{grid-template-columns:1fr;}
  .feature-grid, .strip, .services-grid, .articles-grid, .related-grid{grid-template-columns:repeat(2,1fr);}
  .hero-stats{grid-template-columns:repeat(2,1fr);}
  .testi-wrap{grid-template-columns:repeat(2,1fr);}
  .process-list{grid-template-columns:repeat(2,1fr);}
  .main-nav{display:none;}
  .nav-toggle{display:block;}
  .footer-top{grid-template-columns:1fr 1fr;}
}

@media(max-width: 767px){
    a.logo img {
        width: 174px;
    }
    .header-cta .btn {
        padding: 7px 9px;
        font-size: 13px;
    }
    .about-art {
      position: relative;
      background: none;
    }
}

@media (max-width: 620px){
  .hero-copy h1{font-size:32px;}
  .feature-grid, .strip, .services-grid, .articles-grid, .related-grid, .hero-stats, .testi-wrap, .process-list{grid-template-columns:1fr;}
  .blog-post-card{grid-template-columns:1fr;}
  .form-grid{grid-template-columns:1fr;}
  .footer-top{grid-template-columns:1fr;}
  .footer-bottom{flex-direction:column; gap:10px; text-align:center;}
  .cta-banner{flex-direction:column; text-align:center; padding:36px 26px;}
}
