/* Base reset */
*{box-sizing:border-box}
html{scroll-behavior:smooth}
html,body{margin:0;padding:0}
body{
  font-family: 'Cairo', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans Arabic', 'Noto Sans', 'Tahoma', sans-serif; 
  color:#0f172a; 
  background:#ffffff;
  line-height: 1.6;
}

:root{
  --brand:#1e88e5;
  --accent:#0ea5e9;
  --whatsapp:#25D366;
  --dark:#0f172a;
  --muted:#475569;
  --bg:#f8fafc;
  --radius:16px;
}

/* Layout */
.container, .wrap{width:min(1100px, 92%); margin-inline:auto}

/* Header */
.site-header{
  position:sticky; 
  top:0; 
  z-index:50; 
  background:#fff; 
  border-bottom:1px solid #e2e8f0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.site-header .wrap{
  display:flex; 
  align-items:center; 
  justify-content:space-between; 
  gap:16px; 
  padding:12px 0;
}
.brand{
  display:flex; 
  align-items:center; 
  gap:14px;
  text-decoration: none;
  color: inherit;
}
.brand img{width:48px; height:48px}
.brand span{
  font-weight:800; 
  font-size:22px; 
  color:#1e293b;
}

/* Buttons */
.cta{display:flex; align-items:center; gap:10px}
.btn{
  appearance:none; 
  border:none; 
  cursor:pointer; 
  text-decoration:none; 
  border-radius:14px; 
  padding:12px 18px; 
  font-weight:700; 
  display:inline-flex; 
  align-items:center; 
  gap:8px;
  transition: all 0.3s ease;
  font-size: 14px;
}
.btn:hover{transform: translateY(-2px); box-shadow: 0 4px 15px rgba(0,0,0,0.2);}
.btn-wa{background:#25D366; color:#fff}
.btn-call{background:#10b981; color:#fff}
.btn.ghost{background:transparent; border:2px solid currentColor}

/* Hero Section */
.hero{
  background:linear-gradient(135deg, #e0f2fe 0%, #f8fafc 50%, #ffffff 100%); 
  padding:40px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  min-height: 500px;
}
.hero-text{padding: 0 20px;}
.hero h1{
  font-size:42px; 
  line-height:1.2; 
  margin:0 0 20px; 
  color:#0f172a;
  font-weight: 700;
}
.hero p{
  color:#334155; 
  font-size:20px;
  margin: 0 0 30px;
}
.hero-cta{display:flex; gap:15px; flex-wrap: wrap;}
.hero picture, .hero img{
  display:block; 
  width:100%; 
  height:400px; 
  object-fit:cover;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(15,23,42,.15);
}

/* Client Banner */
.client-banner{
  margin: 40px 0;
  text-align: center;
}
.client-banner img{
  width: 100%;
  max-width: 1200px;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Sections */
.section{padding:60px 0; background:#fff}
.section.alt{background:var(--bg)}
.section h2{
  font-size:36px; 
  margin:0 0 40px;
  text-align: center;
  color: #0f172a;
  font-weight: 700;
}

/* Services Grid */
.services-grid{
  display:grid; 
  grid-template-columns:repeat(auto-fit, minmax(280px, 1fr)); 
  gap:30px;
  margin-bottom: 50px;
}
.service-card{
  border:1px solid #e2e8f0; 
  border-radius:var(--radius); 
  overflow:hidden; 
  background:#fff; 
  box-shadow:0 8px 25px rgba(2, 6, 23, .08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover{
  transform: translateY(-5px);
  box-shadow:0 15px 40px rgba(2, 6, 23, .15);
}
.service-card img{
  width:100%; 
  height:200px; 
  object-fit:cover; 
  display:block;
}
.service-card h3{
  margin:20px 20px 15px; 
  font-size:24px;
  color: #0f172a;
  font-weight: 600;
}
.service-card ul{
  margin:0 20px 20px; 
  padding:0;
  list-style: none;
}
.service-card li{
  padding: 8px 0;
  color:#475569; 
  font-size:15px;
  position: relative;
  padding-right: 20px;
}
.service-card li:before{
  content: "✓";
  position: absolute;
  right: 0;
  color: var(--brand);
  font-weight: bold;
}
.mini-cta{
  padding: 0 20px 20px;
  display:flex; 
  gap:10px;
}

/* Feature List */
.feature-list{
  display:grid; 
  grid-template-columns:repeat(auto-fit, minmax(250px, 1fr)); 
  gap:20px;
}
.feature{
  display:flex; 
  align-items:flex-start; 
  gap:15px; 
  background:#fff; 
  border:1px solid #e2e8f0; 
  padding:20px; 
  border-radius:12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.feature .icon{
  width:28px; 
  height:28px; 
  border-radius:8px; 
  background:linear-gradient(135deg, var(--brand), var(--accent)); 
  display:inline-flex; 
  align-items:center; 
  justify-content:center; 
  color:#fff; 
  font-weight:900;
  flex-shrink: 0;
}

/* Blog Grid */
.blog-grid{
  display:grid; 
  grid-template-columns:repeat(auto-fit, minmax(300px, 1fr)); 
  gap:25px;
}
.blog-card{
  border:1px solid #e2e8f0; 
  border-radius:16px; 
  overflow:hidden; 
  background:#fff;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}
.blog-card:hover{
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}
.blog-card img{
  height:180px; 
  width:100%; 
  object-fit:cover;
}
.blog-card .content{padding:20px}
.blog-card h3{
  margin:0 0 10px; 
  font-size:20px;
  color: #0f172a;
  font-weight: 600;
}
.blog-card p{
  margin:0; 
  color:#475569; 
  font-size:15px;
  line-height: 1.5;
}

/* Footer */
.site-footer{
  background:#0b1220; 
  color:#cbd5e1; 
  padding:40px 0;
}
.site-footer .wrap{
  text-align: center;
}
.site-footer p{
  margin: 0 0 20px;
  font-size: 16px;
}
.legal{
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 20px 0;
  flex-wrap: wrap;
}
.legal a{
  color:#e2e8f0; 
  text-decoration:none;
  font-size: 14px;
  transition: color 0.3s ease;
}
.legal a:hover{color: var(--accent);}
.footer-cta{
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

/* Sticky CTA */
.sticky-cta{
  position:fixed; 
  bottom:20px; 
  left:50%;
  transform: translateX(-50%);
  display:flex; 
  gap:10px; 
  background:#ffffff; 
  border:1px solid #e2e8f0; 
  padding:12px; 
  border-radius:50px; 
  box-shadow:0 10px 40px rgba(2,6,23,.2);
  z-index: 100;
}

/* Contact Section */
#contact{
  text-align: center;
}
#contact p{
  font-size: 18px;
  margin: 0;
}
#contact a{
  color: var(--brand);
  text-decoration: none;
  font-weight: 600;
}
#contact a:hover{
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px){
  .hero{
    grid-template-columns: 1fr;
    padding: 30px 0;
    gap: 30px;
  }
  .hero h1{font-size: 32px;}
  .hero p{font-size: 18px;}
  .hero-text{padding: 0 10px;}
  
  .services-grid{grid-template-columns: 1fr;}
  .blog-grid{grid-template-columns: 1fr;}
  .feature-list{grid-template-columns: 1fr;}
  
  .site-header .wrap{padding: 10px 0;}
  .brand span{font-size: 18px;}
  .cta{gap: 8px;}
  .btn{padding: 10px 14px; font-size: 13px;}
  
  .section{padding: 40px 0;}
  .section h2{font-size: 28px; margin-bottom: 30px;}
  
  .legal{
    flex-direction: column;
    gap: 10px;
  }
  .footer-cta{
    flex-direction: column;
    align-items: center;
  }
  
  .sticky-cta{
    bottom: 10px;
    left: 10px;
    right: 10px;
    transform: none;
    justify-content: center;
  }
}

@media (max-width: 480px){
  .hero h1{font-size: 28px;}
  .hero p{font-size: 16px;}
  .hero-cta{flex-direction: column;}
  
  .client-banner{margin: 20px 0;}
  .service-card h3{font-size: 20px;}
  .blog-card h3{font-size: 18px;}
}


/* Article Styles */
.article{
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
}
.article h1{
  font-size: 36px;
  line-height: 1.3;
  margin: 0 0 15px;
  color: #0f172a;
  font-weight: 700;
}
.article .meta{
  color: #64748b;
  font-size: 14px;
  margin: 0 0 30px;
  padding: 0 0 20px;
  border-bottom: 1px solid #e2e8f0;
}
.article img{
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 16px;
  margin: 20px 0 30px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}
.article p{
  line-height: 1.8;
  color: #334155;
  margin: 0 0 20px;
  font-size: 16px;
}
.article h2{
  font-size: 28px;
  margin: 40px 0 20px;
  color: #0f172a;
  font-weight: 600;
}
.article h3{
  font-size: 22px;
  margin: 30px 0 15px;
  color: #1e293b;
  font-weight: 600;
}
.article h4{
  font-size: 18px;
  margin: 20px 0 10px;
  color: #1e293b;
  font-weight: 600;
}
.article ul, .article ol{
  margin: 20px 0;
  padding-right: 20px;
}
.article li{
  margin: 8px 0;
  line-height: 1.6;
  color: #334155;
}

/* Comparison Table */
.comparison-table{
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 25px;
  margin: 30px 0;
}
.comparison-table h3{
  margin: 20px 0 15px;
  color: #0f172a;
  font-size: 20px;
  border-bottom: 2px solid var(--brand);
  padding-bottom: 8px;
}
.comparison-table p{
  margin: 10px 0;
  padding: 10px;
  border-radius: 8px;
}
.comparison-table p strong{
  color: var(--brand);
  font-weight: 700;
}

/* CTA Section */
.cta-section{
  background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 100%);
  border: 1px solid #bae6fd;
  border-radius: 16px;
  padding: 40px 30px;
  margin: 50px 0;
  text-align: center;
}
.cta-section h2{
  margin: 0 0 15px;
  color: #0f172a;
  font-size: 28px;
}
.cta-section p{
  margin: 0 0 25px;
  color: #334155;
  font-size: 18px;
}

/* Additional Article Elements */
.article .feature h4{
  margin: 0 0 8px;
  font-size: 16px;
}
.article .feature p{
  margin: 0;
  font-size: 14px;
  color: #64748b;
}

/* Responsive for Articles */
@media (max-width: 768px){
  .article{
    padding: 30px 15px;
  }
  .article h1{
    font-size: 28px;
  }
  .article h2{
    font-size: 24px;
    margin: 30px 0 15px;
  }
  .article h3{
    font-size: 20px;
    margin: 25px 0 12px;
  }
  .article img{
    height: 200px;
    margin: 15px 0 20px;
  }
  .comparison-table{
    padding: 20px 15px;
  }
  .cta-section{
    padding: 30px 20px;
    margin: 30px 0;
  }
  .cta-section h2{
    font-size: 24px;
  }
  .cta-section p{
    font-size: 16px;
  }
}

@media (max-width: 480px){
  .article h1{
    font-size: 24px;
  }
  .article h2{
    font-size: 22px;
  }
  .article h3{
    font-size: 18px;
  }
  .article img{
    height: 180px;
  }
}

