*{
  box-sizing:border-box;
}

:root{
  --navy:#06376c;
  --navy2:#0b4d91;
  --cyan:#12a7b8;
  --green:#66ad26;
  --orange:#f29408;
  --pink:#e73770;
  --purple:#67429b;
  --gold:#dba42a;
  --line:#8aa0b0;
  --white:#fff;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  min-height:100vh;
  background:#e9edf1;
  font-family:"Cairo",Tahoma,Arial,sans-serif;
  color:#12355a;
}

.poster{
  position:relative;
  width:1024px;
  min-height:1536px;
  margin:0 auto;
  padding:34px 30px 24px;
  overflow:hidden;
  background:
    linear-gradient(rgba(255,255,255,.92),rgba(255,255,255,.92)),
    radial-gradient(circle,#cfd9e2 1px,transparent 1px);
  background-size:auto, 25px 25px;
  box-shadow:0 8px 35px rgba(0,0,0,.18);
}

/* الزوايا الذهبية والزرقاء */
.corner{
  position:absolute;
  width:190px;
  height:110px;
  pointer-events:none;
}

.corner-tl{
  left:-30px;
  top:-30px;
  background:var(--navy);
  clip-path:polygon(0 0,100% 0,25% 100%,0 100%);
}
.corner-tl:after{
  content:"";
  position:absolute;
  width:170px;
  height:90px;
  top:0;
  left:0;
  background:var(--gold);
  clip-path:polygon(0 0,86% 0,20% 100%,0 100%);
}

.corner-tr{
  right:-30px;
  top:-30px;
  background:var(--navy);
  clip-path:polygon(0 0,100% 0,100% 100%,75% 100%);
}
.corner-tr:after{
  content:"";
  position:absolute;
  width:170px;
  height:90px;
  top:0;
  right:0;
  background:var(--gold);
  clip-path:polygon(14% 0,100% 0,100% 100%,80% 100%);
}

.corner-bl{
  left:-30px;
  bottom:-30px;
  background:var(--navy);
  clip-path:polygon(0 0,25% 0,100% 100%,0 100%);
}
.corner-bl:after{
  content:"";
  position:absolute;
  width:170px;
  height:90px;
  bottom:0;
  left:0;
  background:var(--gold);
  clip-path:polygon(0 0,20% 0,100% 100%,0 100%);
}

.corner-br{
  right:-30px;
  bottom:-30px;
  background:var(--navy);
  clip-path:polygon(75% 0,100% 0,100% 100%,0 100%);
}
.corner-br:after{
  content:"";
  position:absolute;
  width:170px;
  height:90px;
  bottom:0;
  right:0;
  background:var(--gold);
  clip-path:polygon(80% 0,100% 0,100% 100%,0 100%);
}

/* الرأس */
.header{
  position:relative;
  z-index:2;
  height:220px;
}

.title-ribbon{
  width:750px;
  height:122px;
  margin:4px auto 0;
  padding:12px 40px;
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
  background:linear-gradient(135deg,#0a4c89,#062b58);
  color:#fff;
  border:5px solid #d9971c;
  border-radius:30px;
  box-shadow:inset 0 0 0 2px #c28b22, inset 0 0 0 7px rgba(255,255,255,.12),0 4px 10px rgba(0,0,0,.12);
  clip-path:polygon(5% 0,95% 0,100% 50%,95% 100%,5% 100%,0 50%);
}

.title-ribbon span{
  font-size:48px;
  font-weight:900;
  white-space:nowrap;
  text-shadow:0 2px 2px rgba(0,0,0,.35);
}

.folder-icon{
  position:absolute;
  z-index:4;
  left:50%;
  bottom:0;
  transform:translateX(-50%);
  width:112px;
  height:112px;
  border-radius:50%;
  background:#fff;
  border:2px solid #e1a42a;
  box-shadow:0 2px 7px rgba(0,0,0,.14);
}

.folder-tab{
  position:absolute;
  top:29px;
  left:33px;
  width:42px;
  height:18px;
  border-radius:4px 4px 0 0;
  background:#f1a10d;
}

.folder-body{
  position:absolute;
  left:23px;
  top:43px;
  width:66px;
  height:47px;
  border-radius:4px 4px 10px 10px;
  background:linear-gradient(#0a4f92,#06396d);
  color:transparent;
  transform:skew(-4deg);
}

.ornament{
  position:absolute;
  bottom:17px;
  color:#b47d0d;
  font-size:19px;
  font-weight:800;
  letter-spacing:3px;
}

.ornament-left{left:245px}
.ornament-right{right:245px}

/* الأعمدة */
.items{
  position:relative;
  z-index:3;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px 34px;
  padding:0 18px;
}

.column{
  display:flex;
  flex-direction:column;
  gap:8px;
}

.item{
  --accent:var(--navy);
  --accent-dark:#06376c;
  position:relative;
  min-height:74px;
  display:grid;
  grid-template-columns:74px 1fr 76px;
  align-items:center;
  text-decoration:none;
  color:var(--navy);
  background:linear-gradient(90deg,#fff,#fafafa);
  border:1.5px solid var(--accent);
  border-radius:23px;
  overflow:hidden;
  box-shadow:0 3px 5px rgba(0,0,0,.13), inset 0 0 0 1px rgba(255,255,255,.9);
  transition:transform .18s,box-shadow .18s;
}

.item:hover{
  transform:translateY(-2px);
  box-shadow:0 6px 11px rgba(0,0,0,.18);
}

.item:after{
  content:"";
  position:absolute;
  top:7px;
  bottom:7px;
  width:2px;
  background:var(--accent);
  opacity:.75;
}

.right-column .item:after{right:73px}
.left-column .item:after{left:73px}

.right-column .num{
  order:1;
  border-radius:0 20px 20px 0;
}

.right-column .label{order:2}
.right-column .icon{order:3}

.left-column .num{
  order:3;
  border-radius:20px 0 0 20px;
}

.left-column .label{order:2}
.left-column .icon{order:1}

.num{
  height:100%;
  min-height:72px;
  display:grid;
  place-items:center;
  background:linear-gradient(145deg,var(--accent),var(--accent-dark));
  color:#fff;
  font-size:33px;
  font-weight:900;
}

.label{
  text-align:center;
  font-size:19px;
  line-height:1.25;
  font-weight:800;
  padding:5px 8px;
}

.icon{
  width:60px;
  height:60px;
  margin:auto;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:linear-gradient(145deg,#f2f7f9,#fff);
  border:1px solid #d6e0e6;
  font-size:34px;
  filter:drop-shadow(0 2px 2px rgba(0,0,0,.12));
}

/* الألوان */
.c-blue{--accent:#07529a;--accent-dark:#06396f}
.c-cyan{--accent:#13a9b6;--accent-dark:#07828e}
.c-green{--accent:#66ad25;--accent-dark:#43831a}
.c-orange{--accent:#f39a08;--accent-dark:#df7100}
.c-pink{--accent:#e53770;--accent-dark:#c81d55}
.c-purple{--accent:#6c439c;--accent-dark:#512e7d}

/* العنصر 26 */
.bottom-item{
  position:relative;
  z-index:4;
  margin:10px 80px 0;
  grid-template-columns:76px 1fr 76px;
  min-height:68px;
}

.bottom-item .num{
  order:1;
  border-radius:0 20px 20px 0;
}

.bottom-item .icon{
  order:3;
}

.bottom-item .label{
  order:2;
  font-size:18px;
}

/* التذييل */
footer{
  position:relative;
  z-index:4;
  text-align:center;
  margin-top:9px;
  color:#073d79;
  font-size:17px;
  font-weight:800;
}

footer span{
  color:#d29a1a;
  margin:0 12px;
}

/* A4 */
@page{
  size:A4 portrait;
  margin:0;
}

@media print{
  body{background:#fff}
  .poster{
    width:210mm;
    min-height:297mm;
    margin:0;
    box-shadow:none;
  }
}

/* Tablet */
@media(max-width:900px){
  .poster{
    width:100%;
    min-height:100vh;
    margin:0;
    padding:25px 16px;
  }

  .title-ribbon{
    width:80%;
    height:100px;
  }

  .title-ribbon span{font-size:38px}
  .items{padding:0 8px;gap:12px}
  .item{grid-template-columns:62px 1fr 65px;min-height:68px}
  .num{min-height:66px;font-size:28px}
  .label{font-size:16px}
  .icon{width:53px;height:53px;font-size:29px}
  .right-column .item:after{right:61px}
  .left-column .item:after{left:61px}
  .bottom-item{margin-left:40px;margin-right:40px}
}

/* Mobile */
@media(max-width:600px){
  .poster{
    padding:15px 8px 18px;
  }

  .header{
    height:175px;
  }

  .title-ribbon{
    width:96%;
    height:84px;
    border-width:3px;
  }

  .title-ribbon span{
    font-size:27px;
  }

  .folder-icon{
    width:78px;
    height:78px;
  }

  .folder-tab{
    top:19px;
    left:24px;
    width:30px;
    height:13px;
  }

  .folder-body{
    top:32px;
    left:16px;
    width:47px;
    height:34px;
  }

  .ornament{
    bottom:18px;
    font-size:12px;
  }

  .ornament-left{left:35px}
  .ornament-right{right:35px}

  .items{
    grid-template-columns:1fr;
    padding:0;
    gap:8px;
  }

  .column{gap:8px}

  .right-column{order:1}
  .left-column{order:2}

  .item{
    min-height:64px;
    grid-template-columns:56px 1fr 58px;
    border-radius:17px;
  }

  .num{
    min-height:62px;
    font-size:25px;
  }

  .label{
    font-size:14px;
  }

  .icon{
    width:47px;
    height:47px;
    font-size:25px;
  }

  .right-column .item:after{right:55px}
  .left-column .item:after{left:55px}

  .bottom-item{
    margin:8px 0 0;
    min-height:60px;
    grid-template-columns:58px 1fr 58px;
  }

  .bottom-item .label{
    font-size:12px;
  }

  footer{
    font-size:11px;
  }

  .corner{
    width:110px;
    height:70px;
  }
}
