
/* === SUEZWINCH - Main Stylesheet === */
:root {
  --primary: #0057A8;
  --primary-dark: #003d7a;
  --accent: #FF6B00;
  --accent-dark: #cc5500;
  --white: #ffffff;
  --light: #f0f4f8;
  --text: #1a1a2e;
  --muted: #6c757d;
  --border: #dde3ea;
  --card-bg: #f8fbff;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Tajawal', 'Cairo', 'Segoe UI', sans-serif; direction: rtl; background: var(--light); color: var(--text); font-size: 16px; line-height: 1.75; }

/* ====== HEADER ====== */
header { background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, #0080cc 100%); color: #fff; padding: 0; box-shadow: 0 4px 16px rgba(0,0,0,.25); position: sticky; top: 0; z-index: 1000; }
.header-top { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; gap: 16px; }
.brand-name { font-size: 1.55rem; font-weight: 900; letter-spacing: -.5px; color: #fff; text-decoration: none; }
.brand-name span { color: var(--accent); }
.header-phone a { background: var(--accent); color: #fff; padding: 10px 22px; border-radius: 30px; font-weight: 800; font-size: 1.1rem; text-decoration: none; display: flex; align-items: center; gap: 8px; transition: background .2s; white-space: nowrap; }
.header-phone a:hover { background: var(--accent-dark); }
.header-phone a::before { content: "📞"; font-size: 1rem; }

/* ====== NAV ====== */
nav { background: rgba(0,0,0,.18); border-top: 1px solid rgba(255,255,255,.12); }
.nav-inner { display: flex; flex-wrap: wrap; gap: 2px; padding: 4px 20px; }
nav a { color: rgba(255,255,255,.9); text-decoration: none; padding: 8px 14px; font-size: .92rem; font-weight: 600; border-radius: 6px; transition: all .2s; }
nav a:hover, nav a.active { background: var(--accent); color: #fff; }

/* ====== HERO ====== */
.hero { background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%); color: #fff; text-align: center; padding: 56px 24px 48px; }
.hero h1 { font-size: clamp(1.6rem, 4vw, 2.6rem); font-weight: 900; margin-bottom: 14px; line-height: 1.3; }
.hero h1 span { color: var(--accent); }
.hero p { font-size: 1.1rem; opacity: .92; max-width: 640px; margin: 0 auto 28px; }
.hero-cta { display: inline-flex; align-items: center; gap: 10px; background: var(--accent); color: #fff; padding: 16px 36px; border-radius: 40px; font-size: 1.25rem; font-weight: 900; text-decoration: none; box-shadow: 0 6px 24px rgba(255,107,0,.45); transition: transform .2s, box-shadow .2s; }
.hero-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(255,107,0,.5); }
.hero-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.badge { background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.3); color: #fff; padding: 7px 18px; border-radius: 20px; font-size: .9rem; font-weight: 700; }

/* ====== STATS BAR ====== */
.stats-bar { background: var(--accent); color: #fff; }
.stats-inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 0; }
.stat { padding: 16px 28px; text-align: center; border-left: 1px solid rgba(255,255,255,.25); }
.stat:last-child { border-left: none; }
.stat-num { font-size: 1.7rem; font-weight: 900; display: block; }
.stat-label { font-size: .8rem; opacity: .9; }

/* ====== MAIN LAYOUT ====== */
.container { max-width: 1180px; margin: 0 auto; padding: 0 18px; }
main { padding: 32px 0 48px; }

/* ====== CARDS GRID ====== */
.section-title { font-size: 1.45rem; font-weight: 800; color: var(--primary-dark); margin-bottom: 20px; padding-bottom: 10px; border-bottom: 3px solid var(--accent); display: inline-block; }
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; margin-bottom: 40px; }
.card { background: #fff; border-radius: 12px; padding: 22px 20px; box-shadow: 0 2px 10px rgba(0,85,168,.08); border: 1px solid var(--border); transition: transform .2s, box-shadow .2s; text-decoration: none; color: var(--text); display: block; }
.card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,85,168,.15); border-color: var(--primary); }
.card-icon { font-size: 2rem; margin-bottom: 10px; }
.card h3 { font-size: 1.05rem; font-weight: 800; color: var(--primary-dark); margin-bottom: 8px; }
.card p { font-size: .9rem; color: var(--muted); }
.card-arrow { color: var(--accent); font-size: 1.1rem; margin-top: 10px; display: block; font-weight: 700; }

/* ====== AREAS GRID ====== */
.areas-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.area-tag { background: var(--light); border: 1px solid var(--border); color: var(--primary-dark); padding: 6px 14px; border-radius: 20px; font-size: .88rem; font-weight: 600; text-decoration: none; transition: all .2s; }
.area-tag:hover, a.area-tag:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ====== ARTICLE PAGE ====== */
.article-wrap { background: #fff; border-radius: 14px; padding: 36px 40px; box-shadow: 0 2px 12px rgba(0,85,168,.07); border: 1px solid var(--border); }
.article-wrap h1 { font-size: clamp(1.3rem, 3vw, 1.9rem); font-weight: 900; color: var(--primary-dark); margin-bottom: 10px; line-height: 1.35; }
.article-meta { font-size: .88rem; color: var(--muted); margin-bottom: 22px; padding-bottom: 16px; border-bottom: 2px solid var(--light); }
.article-wrap h2 { font-size: 1.25rem; font-weight: 800; color: var(--primary-dark); margin: 28px 0 12px; padding-right: 12px; border-right: 4px solid var(--accent); }
.article-wrap h3 { font-size: 1.05rem; font-weight: 700; color: var(--primary); margin: 20px 0 8px; }
.article-wrap p { margin-bottom: 14px; color: #2d3748; }
.article-wrap ul { padding-right: 22px; margin-bottom: 16px; }
.article-wrap ul li { margin-bottom: 6px; color: #2d3748; }
.article-wrap ul li::marker { color: var(--accent); }
.article-wrap table { width: 100%; border-collapse: collapse; margin: 16px 0 24px; font-size: .93rem; }
.article-wrap table th { background: var(--primary); color: #fff; padding: 11px 14px; text-align: right; font-weight: 700; }
.article-wrap table td { padding: 10px 14px; border-bottom: 1px solid var(--border); }
.article-wrap table tr:nth-child(even) td { background: var(--card-bg); }
.highlight-box { background: linear-gradient(135deg, #e8f0fe, #d0e7ff); border-right: 4px solid var(--primary); border-radius: 10px; padding: 18px 22px; margin: 18px 0 24px; font-size: .97rem; color: var(--primary-dark); line-height: 1.8; }

/* ====== RELATED LINKS ====== */
.related-links { margin-top: 36px; padding-top: 20px; border-top: 2px solid var(--light); }
.related-links h3 { font-size: 1rem; font-weight: 800; color: var(--primary-dark); margin-bottom: 14px; }
.related-links a { display: inline-block; background: var(--light); color: var(--primary-dark); padding: 7px 16px; border-radius: 20px; font-size: .88rem; font-weight: 600; text-decoration: none; margin: 4px; border: 1px solid var(--border); transition: all .2s; }
.related-links a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ====== BREADCRUMB ====== */
.breadcrumb { font-size: .85rem; color: var(--muted); margin-bottom: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.breadcrumb a { color: var(--primary); text-decoration: none; font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { color: #bbb; }

/* ====== CTA STRIP ====== */
.cta-strip { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); color: #fff; text-align: center; padding: 40px 24px; border-radius: 14px; margin: 40px 0; }
.cta-strip h2 { font-size: 1.5rem; font-weight: 900; margin-bottom: 10px; }
.cta-strip p { opacity: .9; margin-bottom: 22px; }
.cta-strip a { background: var(--accent); color: #fff; padding: 14px 40px; border-radius: 30px; font-size: 1.15rem; font-weight: 900; text-decoration: none; transition: background .2s; }
.cta-strip a:hover { background: var(--accent-dark); }

/* ====== FOOTER ====== */
footer { background: var(--primary-dark); color: rgba(255,255,255,.88); padding: 40px 0 0; margin-top: 48px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; padding-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,.12); }
footer h4 { font-size: .95rem; font-weight: 800; color: #fff; margin-bottom: 14px; padding-bottom: 8px; border-bottom: 2px solid var(--accent); display: inline-block; }
footer ul { list-style: none; }
footer ul li { margin-bottom: 8px; }
footer ul li a { color: rgba(255,255,255,.78); text-decoration: none; font-size: .88rem; transition: color .2s; }
footer ul li a:hover { color: var(--accent); }
.footer-bottom { text-align: center; padding: 18px 0; font-size: .82rem; color: rgba(255,255,255,.5); }
.footer-phone { font-size: 1.2rem; font-weight: 900; color: var(--accent); }

/* ====== HOME ARTICLE LIST ====== */
.article-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.article-card { background: #fff; border-radius: 10px; padding: 18px 20px; border: 1px solid var(--border); box-shadow: 0 1px 6px rgba(0,85,168,.06); text-decoration: none; color: var(--text); display: flex; flex-direction: column; transition: all .2s; }
.article-card:hover { border-color: var(--primary); transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,85,168,.12); }
.article-card h3 { font-size: .97rem; font-weight: 700; color: var(--primary-dark); margin-bottom: 6px; line-height: 1.4; }
.article-card .card-meta { font-size: .8rem; color: var(--muted); margin-top: auto; padding-top: 10px; }
.article-card .read-more { color: var(--accent); font-size: .85rem; font-weight: 700; }

/* ====== PAGINATION ====== */
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 30px 0; }
.pagination a, .pagination span { padding: 8px 16px; border-radius: 8px; font-size: .9rem; font-weight: 700; text-decoration: none; border: 1px solid var(--border); color: var(--primary-dark); background: #fff; }
.pagination a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.pagination span.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ====== RESPONSIVE ====== */
@media (max-width: 768px) {
  .header-top { padding: 10px 14px; flex-wrap: wrap; }
  .brand-name { font-size: 1.2rem; }
  .header-phone a { padding: 8px 16px; font-size: .95rem; }
  .hero { padding: 36px 16px 30px; }
  .stats-inner { gap: 0; }
  .stat { padding: 12px 18px; flex: 1 1 50%; }
  .article-wrap { padding: 20px 16px; }
  .nav-inner { padding: 4px 10px; }
  nav a { padding: 6px 10px; font-size: .83rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .cards-grid { grid-template-columns: 1fr; }
  .article-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
