


/* ملخص أنيق 3 أسطر */
.news-summary {
  margin: 10px 0;
  font-size: 15px;
  line-height: 1.7;
  color: #ffffff;

  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* زر قراءة المزيد */
.read-more-btn {
  display: inline-block;
  margin-top: 8px;
  padding: 6px 14px;
  background: linear-gradient(135deg, #007bff, #00c3ff);
  color: white;
  border-radius: 20px;
  font-size: 14px;
  text-decoration: none;
  transition: 0.3s ease;
}

.read-more-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.today-count{
  display:inline-block;
  margin-top:12px;
  padding:5px 13px;
  border-radius:14px;
  background: rgba(0,0,0,.22);
  border: 1px solid rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(10px);
  font-weight: 900;
  box-shadow: 0 18px 45px rgba(0,0,0,.45);
}
.today-count b{ color:#1f4068; }

/* ===== NEW Badge Ultra ===== */
.new-badge {
  display: inline-block;
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 1px;
  border-radius: 30px;
  background: linear-gradient(135deg, #ff4b2b, #ff416c);
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(255,65,108,.5);
  animation: pulseNew 1.8s infinite;
}

/* لمعة */
.new-badge::after {
  content: "";
  position: absolute;
  top: 0;
  left: -150%;
  width: 50%;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(255,255,255,.4), transparent);
  transform: skewX(-25deg);
  animation: shineNew 2s infinite;
}

/* نبض خفيف */
@keyframes pulseNew {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

@keyframes shineNew {
  0% { left: -150%; }
  50% { left: 150%; }
  100% { left: -150%; }
}
body {
  font-family: 'Cairo', sans-serif;
  margin: 0;
  padding: 0;
  background: linear-gradient(135deg, #1a1a2e, #162447, #1f4068);
  color: #fff;
  scroll-behavior: smooth;
}


/* ===== الهيدر ===== */
.hero {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, #ff4b2b, #ff416c);
  color: #fff;
  position: relative;
  overflow: hidden;
  border-bottom-left-radius: 50% 15%;
  border-bottom-right-radius: 50% 15%;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 900;
  margin: 0 0 15px 0;
  text-shadow: 2px 2px 15px rgba(0,0,0,0.5);
  animation: fadeInDown 1s ease;
}

.hero p {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0;
  text-shadow: 1px 1px 10px rgba(0,0,0,0.3);
}

@keyframes fadeInDown {
  0% {opacity:0; transform: translateY(-50px);}
  100% {opacity:1; transform: translateY(0);}
}

/* ===== الحاوية ===== */
.container {
  max-width: 1300px;
  margin: 40px auto;
  padding: 0 20px;
}

/* ===== البطاقات ===== */
/* ===== لمعة البطاقة تتحرك تلقائيًا ===== */
.card {
  position: relative;
  overflow: hidden;
}

.card::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    45deg,
    rgba(255, 255, 200, 0) 0%,
    rgba(255, 255, 200, 0.5) 50%,
    rgba(255, 255, 200, 0) 100%
  );
  transform: skewX(-25deg);
  pointer-events: none;
  z-index: 2;
  animation: shineAuto 10s linear forwards;
}

/* حركة اللمعة التلقائية */
@keyframes shineAuto {
  0% { left: -100%; }
  50% { left: 100%; }
  100% { left: -100%; }
}
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.card {
  background: linear-gradient(145deg, #162447, #1f4068);
  border-radius: 25px;
  padding: 25px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.5);
  transition: transform 0.5s ease, box-shadow 0.5s ease, background 0.5s ease;
  position: relative;
  overflow: hidden;
  animation: cardAppear 0.8s ease forwards;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.08), transparent);
  transform: translateX(-100%);
  transition: transform 0.7s;
}

.card:hover::before {
  transform: translateX(100%);
}

.card:hover {
  transform: translateY(-15px) scale(1.05);
  box-shadow: 0 45px 90px rgba(0,0,0,0.7);
  background: linear-gradient(145deg, #1f4068, #e43a15);
}

.card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: #fff;
  text-shadow: 1px 1px 10px rgba(0,0,0,0.4);
}

.card .time {
  font-size: 0.95rem;
  color: #ccc;
  margin-bottom: 15px;
}

.card a {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 35px;
  background: linear-gradient(135deg, #ff4b2b, #ff416c);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 5px 15px rgba(255,75,43,0.6);
}

.card a:hover {
  transform: scale(1.1) rotate(-2deg);
  box-shadow: 0 10px 25px rgba(255,75,43,0.8);
}

@keyframes cardAppear {
  0% {opacity:0; transform: translateY(50px);}
  100% {opacity:1; transform: translateY(0);}
}

#today-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}
#toTop {
  position: fixed;
  bottom: 18px;
  right: 18px;

  width: 38px;
  height: 38px;

  /* 🔴 أحمر فخم */
  background: linear-gradient(135deg, #ff3b3b, #c4161c);
  border-radius: 9px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid rgba(255,255,255,0.25);
  box-shadow: 0 8px 22px rgba(255, 59, 59, 0.55);

  cursor: pointer;
  z-index: 999;

  opacity: 0;
  transform: translateY(12px) scale(0.9);
  pointer-events: none;

  transition:
    opacity 0.45s ease,
    transform 0.45s ease,
    box-shadow 0.3s ease;
}

/* يظهر بهدوء */
#toTop.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* السهم */
#toTop svg path {
  stroke: #fff;
  stroke-width: 2.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* لمسة ولمس */
#toTop:hover,
#toTop:active {
  box-shadow: 0 12px 30px rgba(255, 59, 59, 0.9);
  transform: translateY(-2px) scale(1.08);
}


/* ===== استجابة الهواتف ===== */
@media (max-width: 768px) {
  .hero h1 { font-size: 2.2rem; }
  .hero p { font-size: 1rem; }
}

.footer {
  text-align: center;
  padding: 15px 10px;
  font-size: 0.9rem;
  color: #ccc;
  background: linear-gradient(135deg, #1a1a2e, #162447);
  border-top: 2px solid #ff416c;
  margin-top: 50px;
}

/* ===== Logo صغير وأنيق ===== */
.footer img {
  height: 47px;           /* حجم أصغر */
  width: auto;
  object-fit: contain;
  padding: 4px;           /* تقليل المساحة حول اللوجو */
  background: linear-gradient(135deg, #162447, #162447);
  border-radius: 10px;
  box-shadow: 0 5px 15px #162447, 0 0 10px #162447 inset;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* تأثير عند التحويم */
.footer img:hover {
  transform: scale(1.08); /* يكبر شوي عند المرور */
  box-shadow: 0 11px 25px rgba(0,0,0,0.6), 0 0 15px rgba(255, 255, 255, 0.5) inset;
}


/* ===== Navbar ===== */
/* ===== Glass Navbar ===== */
.glass-navbar {
  position: sticky;
  top: 0;
  width: 100%;
  background: rgba(22, 36, 71, 0.55);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.15);
  z-index: 1000;
}

.nav-wrapper {
  max-width: 1300px;
  margin: auto;
  padding: 10px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo */
.logo {
  font-size: 20px;
  font-weight: 900;
  color: #fff;
}

.logo span {
  color: #ff416c;
}

/* Links */
.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 6px 10px;
  border-radius: 6px;
  transition: 0.3s ease;
}

.nav-links a:hover {
  background: rgba(255,255,255,0.1);
}

/* Button */
.nav-btn {
  background: linear-gradient(135deg, #ff4b2b, #ff416c);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
}

/* Mobile Button */
.menu-btn {
  display: none;
  font-size: 24px;
  color: white;
  cursor: pointer;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {

  .nav-links {
    position: absolute;
    top: 60px;
    right: 0;
    width: 100%;
    background: rgba(22, 36, 71, 0.95);
    backdrop-filter: blur(10px);
    flex-direction: column;
    gap: 18px;
    padding: 20px 0;
    display: none;
  }

  .nav-links.active {
    display: flex;
  }

  .menu-btn {
    display: block;
  }
}
/* ===== Logo صغير وأنيق ===== */
.nav-wrapper img {
  height: 47px;           /* حجم أصغر */
  width: auto;
  object-fit: contain;
  padding: 4px;           /* تقليل المساحة حول اللوجو */
  background: linear-gradient(135deg, #162447, #162447);
  border-radius: 10px;
  box-shadow: 0 5px 15px #162447, 0 0 10px #162447 inset;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* تأثير عند التحويم */
.nav-wrapper img:hover {
  transform: scale(1.08); /* يكبر شوي عند المرور */
  box-shadow: 0 11px 25px rgba(0,0,0,0.6), 0 0 15px rgba(255, 255, 255, 0.5) inset;
}
/* ===== الروابط ===== */
.contact-cards .card a {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 35px;
  background: linear-gradient(135deg, #1f4068, #162447);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 5px 20px rgba(255,255,255,0.15);
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
}

.contact-cards .card a:hover {
  transform: scale(1.12) rotate(-2deg);
  box-shadow: 0 15px 35px rgba(255,65,108,0.6);
  background: linear-gradient(135deg, #ff416c, #ff4b2b);
}

/* ===== لمعة تلقائية تتحرك ===== */
.contact-cards .card::after {
  content: "";
  position: absolute;
  top: 0;
  left: -150%;
  width: 50%;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(255,255,255,0.25), transparent);
  transform: skewX(-25deg);
  pointer-events: none;
  z-index: 2;
  animation: shine 10s linear infinite;
}

@keyframes shine {
  0% { left: -150%; }
  50% { left: 150%; }
  100% { left: -150%; }
}

/* ===== Hover Glow إضافي ===== */
.contact-cards .card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 45px 90px rgba(0,0,0,0.7), 0 0 40px rgba(255,65,108,0.5) inset;
}

/* ===== استجابة الهواتف ===== */
@media (max-width: 768px) {
  .contact-cards {
    gap: 20px;
  }
  .contact-cards .card h3 {
    font-size: 1.4rem;
  }
  .contact-cards .card p {
    font-size: 0.95rem;
  }
  .contact-cards .card a {
    padding: 12px 22px;
    font-size: 0.95rem;
  }
}
/* ===== Pagination ثابتة أسفل الصفحة ===== */
.pagination-container {
  position: fixed; /* ثابتة */
  bottom: 20px; /* مسافة من الأسفل */
  left: 50%; /* توسيط أفقي */
  transform: translateX(-50%);
  z-index: 1000;
  display: flex;
  justify-content: center;
}

.pagination {
  display: flex;
  gap: 10px;
}

.pagination button {
  width: 50px; /* مربع */
  height: 50px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #ff4b2b, #ff416c);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 5px 15px rgba(255,75,43,0.6);
}

.pagination button:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 25px rgba(255,75,43,0.8);
}

.pagination button.active {
  background: linear-gradient(135deg, #1f4068, #e43a15);
  box-shadow: 0 10px 25px rgba(31,64,104,0.8);
}

/* Responsive */
@media(max-width: 480px){
  .pagination button {
    width: 40px;
    height: 40px;
    font-size: 0.9rem;
  }
}
.search-box{
  margin: 20px 0;
  display: flex;
  justify-content: center;
}

.search-box input{
  width: min(500px, 90%);
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(22,36,71,0.6);
  color:#fff;
  font-size: 1rem;
  outline: none;
  backdrop-filter: blur(10px);
  transition: box-shadow .2s ease, border .2s ease;
}

.search-box input:focus{
  border: 1px solid #ff416c;
  box-shadow: 0 0 20px rgba(255,65,108,0.4);
}

/* زر الهامبرغر */
.menu-btn{
  width:44px;height:44px;
  border:0; background:transparent;
  display:none; cursor:pointer;
  position:relative;
  z-index:1201;
}
.menu-btn span{
  display:block;
  height:3px;
  width:26px;
  margin:6px auto;
  background:#fff;
  border-radius:6px;
  transition:transform .25s ease, opacity .2s ease;
}

/* يصير X */
.menu-btn.active span:nth-child(1){
  transform: translateY(9px) rotate(45deg);
}
.menu-btn.active span:nth-child(2){
  opacity:0;
}
.menu-btn.active span:nth-child(3){
  transform: translateY(-9px) rotate(-45deg);
}

/* overlay */
.nav-overlay{
  position:fixed; inset:0;
  background:rgba(0,0,0,.45);
  opacity:0; pointer-events:none;
  transition:.2s ease;
  z-index:1200;
}
.nav-overlay.active{
  opacity:1; pointer-events:auto;
}

/* موبايل */
@media (max-width: 900px){
  .menu-btn{ display:block; }

  .nav-links{
    position:fixed;
    top:0; right:0;
    width:min(320px, 85vw);
    height:100vh;
    background:rgba(22,36,71,.95);
    backdrop-filter: blur(10px);
    display:flex;
    flex-direction:column;
    gap:14px;
    padding:90px 18px 18px;
    transform: translateX(110%);
    transition: transform .25s ease;
    z-index:1201;
  }
  .nav-links.active{
    transform: translateX(0);
  }
}

/* حركة سلسة للروابط */
.nav-links a {
  position: relative;
  transition: all 0.35s ease;
}

/* خط يتحرك تحت الرابط */
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -6px;
  right: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg,#ff4b2b,#ff416c);
  transition: width 0.35s ease;
}

/* عند الضغط أو المرور */
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* حركة ناعمة عند الضغط */
.nav-links a:active {
  transform: scale(0.95);
}
/* ===== Typography Upgrade ===== */
:root{
  --txt: #ffffff;
  --muted: rgba(255,255,255,.78);
  --muted2: rgba(255,255,255,.62);
}

body{
  font-size: 18px;          /* أكبر */
  line-height: 1.9;
  letter-spacing: .2px;
}

.hero h1{
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.15;
}

.hero p{
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: rgba(255,255,255,.92);
}

.card h3{
  font-size: 1.55rem;       /* أكبر */
  line-height: 1.35;
}

.card .summary{
  font-size: 1.05rem;
  color: var(--muted);
}

.card .meta{
  font-size: 1rem;
  color: var(--muted2);
}

.btn, .nav-btn, .card a{
  font-size: 1rem;
  padding: 12px 22px;
}
/* ===== Typography Upgrade ===== */
:root{
  --txt: #ffffff;
  --muted: rgba(255,255,255,.78);
  --muted2: rgba(255,255,255,.62);
}


body{
  font-size: 18px;          /* أكبر */
  line-height: 1.9;
  letter-spacing: .2px;
}

.hero h1{
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.15;
}

.hero p{
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: rgba(255,255,255,.92);
}

.card h3{
  font-size: 1.55rem;       /* أكبر */
  line-height: 1.35;
}

.card .summary{
  font-size: 1.05rem;
  color: var(--muted);
}

.card .meta{
  font-size: 1rem;
  color: var(--muted2);
}

.btn, .nav-btn, .card a{
  font-size: 1rem;
  padding: 12px 22px;
}

