@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@400;500;600;700&family=Noto+Kufi+Arabic:wght@500;700&display=swap');
/* Ring carousel styling (kept minimal to not affect previous slider) */
.team-ring-wrap { position:relative; display:grid; grid-template-rows: 500px; grid-template-columns: 1fr; align-items:center; justify-items:center; margin: 10px auto; max-width: 1100px; --items:10; }
#carousel { grid-column:1; grid-row:1; width:100%; height:500px; display:flex; align-items:center; justify-content:center; overflow:hidden; transform-style:preserve-3d; perspective:600px; --items:10; --position:1; }
.ring-btn { position:absolute; top:50%; transform:translateY(-50%); z-index:3; width:44px; height:44px; border-radius:50%; border:0; background:rgba(0,0,0,0.35); color:#fff; cursor:pointer; display:flex; align-items:center; justify-content:center; }
.ring-btn.prev { left:10px; }
.ring-btn.next { right:10px; }
.ring-btn:hover { background:rgba(0,0,0,0.5); }
.no-controls .ring-btn { display: none; }
.no-controls .hover-zone { display: none; }
/* RTL: swap arrow button sides for Arabic */
html[lang="ar"] .ring-btn.prev { right:10px; left:auto; }
html[lang="ar"] .ring-btn.next { left:10px; right:auto; }
#carousel { position: relative; --position: 0; --step: 18deg; --radius: 260px; --centerShift: 0px; transform-style: preserve-3d; perspective: 800px; perspective-origin: 50% 50%; margin: 0 auto; direction: ltr; }
#carousel .item { position:absolute; left:50%; top:50%; width:230px; height:310px; border-radius:16px; background:#fff; box-shadow:0 10px 30px rgba(0,0,0,0.2); display:block; transition: transform 0.35s ease, opacity 0.35s ease; transform: translate(calc(-50% + var(--centerShift)), -50%) rotateY(calc((var(--i) - var(--position)) * var(--step))) translateZ(var(--radius)) rotateY(calc((var(--position) - var(--i)) * var(--step))); z-index: 1; opacity: 1; overflow:hidden; }
#carousel .item::before { content:""; position:absolute; top:0; left:0; right:0; height:72%; border-top-left-radius:16px; border-top-right-radius:16px; background:var(--photo, url('../images/night.jpg')); background-size:140%; background-position:center; filter:saturate(1.05); }

/* Special positioning for Sarah Abu's photo */
#carousel .item[data-portrait="../assets/images/dr.sara.jpg"]::before {
    background-position: center -15px !important;
    transform: translateY(-15px) !important;
}

/* Reduce text size for Sarah Abu only */
#carousel .item[data-portrait="../assets/images/dr.sara.jpg"] .caption {
    font-size: 0.8rem !important;
    padding: 2px 6px !important;
}

#carousel .item[data-portrait="../assets/images/dr.sara.jpg"] .caption strong {
    font-size: 0.9rem !important;
}

#carousel .item[data-portrait="../assets/images/dr.sara.jpg"] .caption em {
    font-size: 0.75rem !important;
}

/* Alternative approach using nth-child if data-portrait doesn't work */
#carousel .item:nth-child(10)::before {
    background-position: center -15px !important;
    transform: translateY(-15px) !important;
}

#carousel .item:nth-child(10) .caption {
    font-size: 0.8rem !important;
    padding: 2px 6px !important;
}

#carousel .item:nth-child(10) .caption strong {
    font-size: 0.9rem !important;
}

#carousel .item:nth-child(10) .caption em {
    font-size: 0.75rem !important;
}

/* Ensure it works on all screen sizes */
@media(max-width:900px){
    #carousel .item[data-portrait="../assets/images/dr.sara.jpg"]::before,
    #carousel .item:nth-child(10)::before {
        background-position: center -15px !important;
        transform: translateY(-15px) !important;
    }
    
    #carousel .item[data-portrait="../assets/images/dr.sara.jpg"] .caption,
    #carousel .item:nth-child(10) .caption {
        font-size: 0.75rem !important;
        padding: 1px 4px !important;
    }
    
    #carousel .item[data-portrait="../assets/images/dr.sara.jpg"] .caption strong,
    #carousel .item:nth-child(10) .caption strong {
        font-size: 0.85rem !important;
    }
    
    #carousel .item[data-portrait="../assets/images/dr.sara.jpg"] .caption em,
    #carousel .item:nth-child(10) .caption em {
        font-size: 0.7rem !important;
    }
}

@media(max-width:600px){
    #carousel .item[data-portrait="../assets/images/dr.sara.jpg"]::before,
    #carousel .item:nth-child(10)::before {
        background-position: center -15px !important;
        transform: translateY(-15px) !important;
    }
    
    #carousel .item[data-portrait="../assets/images/dr.sara.jpg"] .caption,
    #carousel .item:nth-child(10) .caption {
        font-size: 0.7rem !important;
        padding: 1px 3px !important;
    }
    
    #carousel .item[data-portrait="../assets/images/dr.sara.jpg"] .caption strong,
    #carousel .item:nth-child(10) .caption strong {
        font-size: 0.8rem !important;
    }
    
    #carousel .item[data-portrait="../assets/images/dr.sara.jpg"] .caption em,
    #carousel .item:nth-child(10) .caption em {
        font-size: 0.65rem !important;
    }
}
#carousel .item .caption { position:absolute; bottom:4px; left:0; right:0; z-index:2; background:rgba(255,255,255,0.7); border-bottom-left-radius:16px; border-bottom-right-radius:16px; padding:4px 8px; text-align:center; backdrop-filter: blur(4px); }
#carousel .item strong { display:block; color:#000; font-weight:800; }
#carousel .item em { display:block; color:#000; font-style:normal; font-weight:600; font-size:0.95rem; }
.team-ring-wrap input:nth-of-type(1):checked ~ #carousel { --position:1; }
.team-ring-wrap input:nth-of-type(2):checked ~ #carousel { --position:2; }
.team-ring-wrap input:nth-of-type(3):checked ~ #carousel { --position:3; }
.team-ring-wrap input:nth-of-type(4):checked ~ #carousel { --position:4; }
.team-ring-wrap input:nth-of-type(5):checked ~ #carousel { --position:5; }
.team-ring-wrap input:nth-of-type(6):checked ~ #carousel { --position:6; }
.team-ring-wrap input:nth-of-type(7):checked ~ #carousel { --position:7; }
.team-ring-wrap input:nth-of-type(8):checked ~ #carousel { --position:8; }
.team-ring-wrap input:nth-of-type(9):checked ~ #carousel { --position:9; }
.team-ring-wrap input:nth-of-type(10):checked ~ #carousel { --position:10; }
@media(max-width:900px){ .team-ring-wrap{ grid-template-rows: 420px 56px; } #carousel{ height:420px; --radius: 220px; --centerShift: 0px; perspective-origin: 50% 50%; } #carousel .item{ width:220px; height:300px; } #carousel .item .caption{ padding: 3px 6px; background: rgba(255,255,255,0.65); } #carousel .item::before{ background-size: 150%; } }
@media(max-width:600px){ .team-ring-wrap{ grid-template-rows: 360px 52px; } #carousel{ height:360px; --radius: 160px; --centerShift: 0px; perspective-origin: 50% 50%; } #carousel .item{ width:160px; height:220px; } #carousel .item .caption{ padding: 2px 4px; font-size: 0.7rem; background: rgba(255,255,255,0.6); backdrop-filter: blur(3px); } #carousel .item .caption strong{ font-size: 0.8rem; } #carousel .item .caption em{ font-size: 0.65rem; } #carousel .item::before{ background-size: 160%; } .ring-btn{ top:auto; bottom:10px; transform:none; width:36px; height:36px; } .ring-btn.prev{ left: calc(50% - 68px); right:auto; } .ring-btn.next{ right: calc(50% - 68px); left:auto; } }
/* Centering for coming-soon hero using global stylesheet */
.coming-hero {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
}
.sk-folding-cube { margin: 20px auto; width: 40px; height: 40px; position: relative; transform: rotateZ(45deg); }
.sk-folding-cube .sk-cube { float: left; width: 50%; height: 50%; position: relative; transform: scale(1.1);} 
.sk-folding-cube .sk-cube:before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, #b67e00, #ffd87a); animation: sk-foldCubeAngle 2.4s infinite linear both; transform-origin: 100% 100%; border-radius: 2px; }
.sk-folding-cube .sk-cube2 { transform: scale(1.1) rotateZ(90deg);} 
.sk-folding-cube .sk-cube3 { transform: scale(1.1) rotateZ(180deg);} 
.sk-folding-cube .sk-cube4 { transform: scale(1.1) rotateZ(270deg);} 
.sk-folding-cube .sk-cube2:before { animation-delay: 0.3s; }
.sk-folding-cube .sk-cube3:before { animation-delay: 0.6s; }
.sk-folding-cube .sk-cube4:before { animation-delay: 0.9s; }
@keyframes sk-foldCubeAngle { 0%, 10% { transform: perspective(140px) rotateX(-180deg); opacity: 0;} 25%, 75% { transform: perspective(140px) rotateX(0deg); opacity: 1;} 90%, 100% { transform: perspective(140px) rotateY(180deg); opacity: 0;}}

/* Pyramids loader (CSS-only, no external assets) */
.pyramids-loader { position: relative; width: 140px; height: 110px; margin: 22px auto 0; }
.pyramids-loader .pyr { position: absolute; bottom: 8px; width: 0; height: 0; border-left: 26px solid transparent; border-right: 26px solid transparent; border-bottom: 42px solid #b67e00; filter: drop-shadow(0 2px 6px rgba(0,0,0,0.25)); }
.pyramids-loader .pyr.mid { left: 50%; transform: translateX(-50%); border-bottom-color: #c59100; animation: shimmerGold 2.6s linear infinite; }
.pyramids-loader .pyr.left { left: 18px; opacity: 0.9; animation: shimmerGold 3s linear infinite 0.2s; }
.pyramids-loader .pyr.right { right: 18px; opacity: 0.9; animation: shimmerGold 3s linear infinite 0.4s; }
.pyramids-loader .sun { position: absolute; top: 2px; left: 50%; width: 16px; height: 16px; border-radius: 50%; transform: translateX(-50%); background: radial-gradient(circle, #ffd87a 0%, #ffecb0 60%, #ffd87a 100%); box-shadow: 0 0 10px rgba(255,216,122,0.9); animation: sunArc 3.6s ease-in-out infinite; transform-origin: -38px 54px; }
@keyframes shimmerGold { 0%{ border-bottom-color:#b67e00;} 50%{ border-bottom-color:#ffd87a;} 100%{ border-bottom-color:#b67e00;} }
@keyframes sunArc { 0%{ transform: translateX(-50%) rotate(-15deg);} 50%{ transform: translateX(-50%) rotate(200deg);} 100%{ transform: translateX(-50%) rotate(345deg);} }
/* Reset et styles de base */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
body {
	font-family: 'Cairo', Arial, sans-serif;
	background: linear-gradient(135deg, rgba(197, 145, 0, 0.3) 0%, rgba(255, 224, 138, 0.4) 50%, rgba(197, 145, 0, 0.3) 100%), url('../images/night.jpg') center/cover fixed no-repeat;
	background-size: 100% 100%;
	background-attachment: fixed;
	background-position: center;
	padding-top: 0px ; /* تقليل المسافة العلوية لرفع المحتوى */
	opacity: 0;
	animation: pageLoad 1s ease-out forwards;
		text-align: center;
		position: relative;
		z-index: 1; /* Keep it above the menu when closed */
}

/* Official Arabic typography across all pages (without !important) */
html[lang="ar"] body {
	font-family: 'IBM Plex Sans Arabic', 'Cairo', Tahoma, Arial, sans-serif;
}
html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3,
html[lang="ar"] h4,
html[lang="ar"] h5,
html[lang="ar"] h6,
html[lang="ar"] .section-title {
	font-family: 'Noto Kufi Arabic', 'IBM Plex Sans Arabic', 'Cairo', system-ui, sans-serif;
}

/* iPhone/iOS specific fixes - only for iOS devices */
@supports (-webkit-touch-callout: none) {
  body {
    background-attachment: scroll;
    background-size: cover;
    -webkit-background-size: cover;
  }
}
@keyframes pageLoad {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}

	
}


.main-logo {
    position: relative;
    display: block; /* منع فراغ السطر أسفل وأعلى العنصر */
    line-height: 0; /* إزالة فراغ السطر العمودي حول الشكل */
    overflow: hidden; /* قص أي توهج يتجاوز الحدود عمودياً */
  }
  
  /* News page specific logo placement */
 .main-logo {
    display: block;
    margin: 50px auto 15px auto;
    text-align: center;
  }
  
  /* Subtle golden sun glow behind the logo */
  .main-logo::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 224, 138, 0.22) 0%, rgba(197, 145, 0, 0.18) 35%, rgba(197, 145, 0, 0) 70%);
    filter: blur(2px); /* تقليل إضافي للتوهج */
    opacity: 0.06;
    z-index: 0;
    pointer-events: none;
    transform: scaleY(0.6); /* ضغط أكبر عمودياً لتقليل الارتفاع */
    transform-origin: center;
    animation: none; /* إيقاف أي نبض، سيتم استبداله بتمرير اللمعان */
  }
  
  /* Border glow emanating from the logo edges */
  .main-logo::after {
    content: '';
    position: absolute;
    inset: 0; /* align glow to exact logo bounds */
    border-radius: 18px; /* match rounded rectangle */
    box-shadow: 0 0 8px rgba(197, 145, 0, 0.18), 0 0 18px rgba(255, 224, 138, 0.12);
    opacity: 0.12;
    z-index: 0;
    pointer-events: none;
    will-change: transform, opacity;
    animation: none; /* إيقاف وميض الحدود */
    transform: scaleY(0.6); /* ضغط أكبر عمودياً */
    transform-origin: center;
  }
  
  @keyframes borderGlow {
    0%   { opacity: 0.24; transform: scale(0.985); }
    50%  { opacity: 0.42; transform: scale(1.005); }
    100% { opacity: 0.24; transform: scale(0.985); }
  }
  
  @keyframes sunPulse {
    0% { opacity: 0.22; transform: scale(0.98); }
    100% { opacity: 0.32; transform: scale(1.03); }
  }
  /* Home logo badge redesign (circular golden medallion) */
  .main-logo .logo-bg {
    /* Match menu golden gradient */
    --gold1: #c59100;
    --gold2: #ffe08a;
    --gold3: #c59100;
    position: relative;
    display: inline-block;
    padding: 0; /* إزالة الحشوة ليطابق الشكل حجم الصورة */
    border: 0; /* إلغاء الحد حتى لا يزيد الحجم عن الصورة */
    line-height: 0; /* إزالة أي مساحة عمودية داخل الحاوية */
    background: linear-gradient(135deg, var(--gold1) 0%, var(--gold2) 50%, var(--gold3) 100%);
    border-radius: 14px; /* حواف ناعمة مخففة */
    box-shadow: 0 3px 6px rgba(0,0,0,0.10), inset 0 1px 2px rgba(255,255,255,0.10), inset 0 -3px 6px rgba(0,0,0,0.10);
    overflow: hidden;
    z-index: 1;
    /* تقليل الارتفاع الظاهر من الأعلى والأسفل بقصّ بسيط */
    clip-path: inset(15% 0 15% 0 round 14px);
  }
  
  .main-logo .logo-bg::before {
    content: '';
    position: absolute;
    inset: 0; /* محاذاة التأثير تماماً مع حواف الصورة بدون فراغ علوي/سفلي */
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255,255,255,0.10), rgba(255,255,255,0.05));
    border: 1px solid rgba(255, 224, 138, 0.25);
    opacity: 0.6; /* تخفيف لمعان الحدود الداخلية */
    transform: scaleY(0.85); /* ضغط أكبر عمودياً */
    transform-origin: center;
    pointer-events: none;
  }
  
  .main-logo .logo-animate {
    max-width: 340px; /* تكبير الشعار ليتطابق حجم الصورة مع الشكل */
    width: 100%;
    height: auto; /* الحفاظ على نسبة الأبعاد لمنع فراغ رأسي */
    display: block;
    margin: 0 auto;
    image-rendering: auto;
    filter: drop-shadow(0 2px 10px rgba(0,0,0,0.25));
    transition: transform 0.25s ease;
  }
  
  .main-logo .logo-animate:hover {
    transform: scale(1.03);
  }
  
  /* Responsive sizing for the logo image */
  @media (max-width: 600px) {
    .main-logo::after { opacity: 0.22; box-shadow: 0 0 18px rgba(197,145,0,0.34), 0 0 42px rgba(255,224,138,0.2); }
    .main-logo::before { opacity: 0.16; filter: blur(8px); }
    .main-logo .logo-animate { width: 60vw; max-width: 240px; max-height: 20vh; }
    .main-logo .logo-bg { padding: 0; border-radius: 12px; clip-path: inset(10% 0 10% 0 round 12px); }
    .main-logo .logo-bg::after { opacity: 0.6; filter: blur(5px); animation: goldenShineSweep 8s cubic-bezier(0.45, 0.05, 0.2, 1) infinite; width: 80%; left: -160%; height: 150%; top: -25%; }
  }
  @media (max-width: 400px) {
    .main-logo::after { opacity: 0.18; box-shadow: 0 0 16px rgba(197,145,0,0.3), 0 0 34px rgba(255,224,138,0.16); }
    .main-logo::before { opacity: 0.14; filter: blur(7px); }
    .main-logo .logo-animate { width: 66vw; max-width: 190px; max-height: 18vh; }
    .main-logo .logo-bg { padding: 0; border-radius: 10px; clip-path: inset(8% 0 8% 0 round 10px); }
    .main-logo .logo-bg::after { opacity: 0.55; filter: blur(5px); animation: goldenShineSweep 9s cubic-bezier(0.45, 0.05, 0.2, 1) infinite; width: 85%; left: -170%; height: 160%; top: -30%; }
  }
  
  /* Golden light pass over the logo */
  .main-logo .logo-bg::after {
    content: '';
    position: absolute;
    top: -20%;
    left: -150%;
    width: 75%;
    height: 140%;
    background: linear-gradient(120deg, rgba(255,215,0,0) 0%, rgba(255,215,0,0.40) 35%, rgba(255, 240, 170, 0.75) 50%, rgba(255,215,0,0.40) 65%, rgba(255,215,0,0) 100%);
    filter: blur(5px);
    opacity: 0.65;
    will-change: transform, left;
    animation: goldenShineSweep 6.5s cubic-bezier(0.45, 0.05, 0.2, 1) infinite;
    mix-blend-mode: screen;
    pointer-events: none;
  }
  
  @keyframes logoShimmer {
    0%   { left: -120%; opacity: 0.0; }
    20%  { opacity: 0.35; }
    50%  { left: 130%; opacity: 0.25; }
    70%  { opacity: 0.0; }
    100% { left: 130%; opacity: 0.0; }
  }
  
  @media (prefers-reduced-motion: reduce) {
    .main-logo .logo-bg::after { animation: none; opacity: 0.25; }
  }
  /* Removed legacy logo size constraints to allow larger logos on small screens */
  .logo-bg::after {
      content: '';
      position: absolute;
      top: -10%;
      left: -120%;
      width: 60%;
      height: 120%;
      background: linear-gradient(120deg, rgba(255,215,0,0) 0%, rgba(255,215,0,0.25) 35%, rgba(255, 240, 170, 0.55) 50%, rgba(255,215,0,0.25) 65%, rgba(255,215,0,0) 100%);
      mix-blend-mode: screen;
      pointer-events: none;
      filter: blur(6px);
      opacity: 0.45;
      animation: goldenShineSweep 3.8s ease-in-out infinite; /* تمرير لمعان ذهبي أنيق */
      z-index: 2;
  }
  .logo-bg {
      display: inline-block;
      background: radial-gradient(circle at 50% 50%, rgba(255, 224, 138, 0.25), rgba(197, 145, 0, 0.15) 40%, rgba(197, 145, 0, 0.35) 70%), linear-gradient(135deg, #c59100 0%, #ffe08a 50%, #c59100 100%);
      border-radius: 50%;
      box-shadow: 0 8px 25px rgba(197, 145, 0, 0.35);
      padding: 15px;
      border: 3px solid #b8860b;
      position: relative;
      overflow: hidden;
      animation: logoBgPulse 4s ease-in-out infinite, goldHeartbeat 2.8s ease-in-out infinite;
  }
  .logo-bg::before {
      content: '';
      position: absolute;
      inset: -15%;
      background: conic-gradient(from 0deg, rgba(255, 224, 138, 0.15), transparent 25%, rgba(255, 224, 138, 0.15) 50%, transparent 75%, rgba(255, 224, 138, 0.15));
      border-radius: 50%;
      pointer-events: none;
      animation: goldSunRays 12s linear infinite;
      filter: blur(0.6px);
  }
  /* Removed legacy media queries that shrank the logo on small screens */
  
  /* Strong mobile overrides to ensure larger logo image */
  @media (max-width: 600px) {
    .hero-titles .main-logo .logo-bg { padding: 0; border-radius: 12px; }
    .hero-titles .main-logo .logo-animate {
      width: 60vw;
      max-width: 240px;
      max-height: 20vh;
    }
  }
  @media (max-width: 400px) {
    .hero-titles .main-logo .logo-bg { padding: 0; border-radius: 10px; }
    .hero-titles .main-logo .logo-animate {
      width: 66vw;
      max-width: 190px;
      max-height: 18vh;
    }
  }
  
  
  @keyframes logoShineSweep {
      0% { left: -60%; opacity: 0.0; }
      20% { left: -20%; opacity: 0.25; }
      50% { left: 110%; opacity: 0.0; }
      100% { left: 110%; opacity: 0.0; }
  }
  
  @keyframes sparkleTwinkle {
      0% { transform: rotate(0deg) scale(1); opacity: 0.5; }
      25% { transform: rotate(8deg) scale(1.02); opacity: 0.8; }
      50% { transform: rotate(0deg) scale(1.03); opacity: 0.65; }
      75% { transform: rotate(-6deg) scale(1.01); opacity: 0.85; }
      100% { transform: rotate(0deg) scale(1); opacity: 0.6; }
  }
  
  /* Reintroduce golden glow animation for the logo */
  @keyframes logoGlow {
      0% {
          filter: drop-shadow(0 6px 28px rgba(0,0,0,0.18)) drop-shadow(0 0 0px #c59100) drop-shadow(0 0 0px #ffd700);
          transform: scale(1);
      }
      50% {
          filter: drop-shadow(0 6px 28px rgba(0,0,0,0.18)) drop-shadow(0 0 28px #c59100) drop-shadow(0 0 40px #ffd700) drop-shadow(0 0 55px #ffed4e);
          transform: scale(1.02);
      }
      100% {
          filter: drop-shadow(0 6px 28px rgba(0,0,0,0.18)) drop-shadow(0 0 0px #c59100) drop-shadow(0 0 0px #ffd700);
          transform: scale(1);
      }
  }
  
  @keyframes logoBgPulse {
      0% { box-shadow: 0 8px 25px rgba(197,145,0,0.25); transform: scale(1); }
      50% { box-shadow: 0 10px 30px rgba(197,145,0,0.4); transform: scale(1.02); }
      100% { box-shadow: 0 8px 25px rgba(197,145,0,0.25); transform: scale(1); }
  }
  @keyframes goldHeartbeat {
      0% { transform: scale(1); box-shadow: 0 8px 24px rgba(255, 215, 0, 0.25), inset 0 0 10px rgba(255, 224, 138, 0.15); }
      50% { transform: scale(1.035); box-shadow: 0 10px 34px rgba(255, 215, 0, 0.35), inset 0 0 16px rgba(255, 224, 138, 0.25); }
      100% { transform: scale(1); box-shadow: 0 8px 24px rgba(255, 215, 0, 0.25), inset 0 0 10px rgba(255, 224, 138, 0.15); }
  }
  @keyframes goldSunRays {
      0% { transform: rotate(0deg); opacity: 0.45; }
      50% { opacity: 0.6; }
      100% { transform: rotate(360deg); opacity: 0.45; }
  }
  @keyframes logoShimmer {
      0%, 100% {
          box-shadow:
              0 8px 40px rgba(0, 0, 0, 0.6),
              0 0 30px rgba(197, 145, 0, 0.3),
              0 0 60px rgba(255, 224, 138, 0.2),
              0 0 90px rgba(255, 215, 0, 0.1),
              inset 0 0 15px rgba(197, 145, 0, 0.1);
      }
      50% {
          box-shadow:
              0 8px 40px rgba(0, 0, 0, 0.6),
              0 0 50px rgba(197, 145, 0, 0.4),
              0 0 90px rgba(255, 224, 138, 0.3),
              0 0 120px rgba(255, 215, 0, 0.2),
              inset 0 0 20px rgba(197, 145, 0, 0.2);
      }
  }
  
  /* Golden shine sweep animation */
  @keyframes goldenShineSweep {
    0%   { left: -150%; opacity: 0.0; }
    15%  { opacity: 0.55; }
    45%  { left: 120%; opacity: 0.50; }
    60%  { left: 150%; opacity: 0.0; }
    100% { left: 150%; opacity: 0.0; }
  }
  @keyframes logoRotate {
      0% { transform: rotate(0deg); }
      100% { transform: rotate(360deg); }
  }
  @keyframes fadeInPage {
      from { opacity: 0; }
      to { opacity: 1; }
  }
  
  
  
  
  






/* Golden Section Box Styling */
.section-box {
	background: linear-gradient(135deg, #c59100 0%, #ffe08a 50%, #c59100 100%);
	box-shadow: 0 5px 15px rgba(197, 145, 0, 0.3);
	border: 1px solid rgba(197, 145, 0, 0.5);
	color: #333;
	padding: 25px;
	border-radius: 15px;
	margin: 20px 0;
	transition: all 0.4s ease;
	position: relative;
	overflow: hidden;
}

/* About Content Golden Styling */
.about-content {
	background: linear-gradient(135deg, #c59100 0%, #ffe08a 50%, #c59100 100%);
	box-shadow: 0 5px 15px rgba(197, 145, 0, 0.3);
	border: 1px solid rgba(197, 145, 0, 0.5);
	color: #333;
	padding: 20px;
	border-radius: 10px;
	margin: 15px 0;
}

.box {
	flex: 1;
	min-width: 300px;
	background: rgba(255, 255, 255, 0.1);
	padding: 25px;
	border-radius: 15px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	transition: all 0.4s ease;
	position: relative;
	overflow: hidden;
	transform: translateY(50px);
	opacity: 0;
	animation: boxAppear 0.8s forwards;
}
.box:nth-child(1) {
	animation-delay: 0.2s;
}
.box:nth-child(2) {
	animation-delay: 0.4s;
}
.box:nth-child(3) {
	animation-delay: 0.6s;
}
@keyframes boxAppear {
	to {
		opacity: 1;
		transform: translateY(0);
	}
}
.box::before {
	content: '';
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: radial-gradient(circle, rgba(255,255,255,0.8), transparent);
	opacity: 0;
	transition: all 0.5s ease;
}
.box:hover {
	transform: translateY(-10px);
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}
.box:hover::before {
	opacity: 1;
	transform: scale(1.2) rotate(45deg);
}
/* Statistiques */
.statistics {
	background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
	padding: 60px 0;
	margin: 40px 0;
	border-radius: 15px;
	color: white;
}
.stats-container {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 30px;
	padding: 40px 20px;
}
.stat-box {
	text-align: center;
	padding: 30px;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 15px;
	backdrop-filter: blur(5px);
	transition: transform 0.3s ease;
}
.stat-box:nth-child(1) {
	animation-delay: 0.2s;
}
.stat-box:nth-child(2) {
	animation-delay: 0.4s;
}
.stat-box:nth-child(3) {
	animation-delay: 0.6s;
}
.stat-box:nth-child(4) {
	animation-delay: 0.8s;
}
@keyframes statAppear {
	to {
		transform: scale(1);
		opacity: 1;
	}
}
/* Contenu principal */
.content {
	max-width: 100%;
	padding: 20px 60px;
	margin: 0;
	background: transparent;
	border-radius: 15px;
	box-shadow: none;
	min-height: calc(100vh - 200px);
}

/* Body text wrapper used on About page */
.body-text {
    max-width: 1200px;
    margin: 0 auto;
}
/* Textes et titres */
h1, h2, h3 {
	color: #000000;
	margin-bottom: 15px;
	font-weight: 600;
	position: relative;
	padding-bottom: 10px;
	margin-bottom: 25px;
}
h1 {
	font-size: 2.5em;
}
h2 {
	font-size: 2em;
}
h3 {
	font-size: 1.6em;
}
p {
	font-size: 1.4em;
	line-height: 1.6;
	color: #333;
	margin-bottom: 15px;
	text-align: justify;
	word-spacing: normal;
	hyphens: auto;
	-webkit-hyphens: auto;
	-ms-hyphens: auto;
}









  

/* Boîtes ICOMOS Statement */
.statement-container {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px;
	padding: 20px 0;
}
.statement-box {
	background: rgba(255, 255, 255, 0.95);
	padding: 30px;
	border-radius: 15px;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
	transform: translateY(50px);
	opacity: 0;
	transition: all 0.6s ease;
}
.statement-box.visible {
	transform: translateY(0);
	opacity: 1;
}
.statement-box h3 {
	color: #B8860B;
	font-size: 1.8em;
	margin-bottom: 20px;
}
/* Section Achievements/Numbers */
.achievements-section {
	padding: 50px 0;
	background: linear-gradient(135deg, rgba(184, 134, 11, 0.1), rgba(255, 255, 255, 0.9));
	margin: 40px 0;
	border-radius: 15px;
}
.achievements-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 30px;
	padding: 20px;
}
.achievement-box {
    background: linear-gradient(120deg, #fffbe6 0%, #f7e7b4 100%);
	padding: 30px;
	border-radius: 15px;
	text-align: center;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	transform: scale(0.9);
	opacity: 0;
	transition: all 0.5s ease;
}
.achievement-box.visible {
	transform: scale(1);
	opacity: 1;
}
.achievement-box:hover {
	transform: translateY(-10px);
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}
.achievement-number {
	font-size: 3.5em;
	color: #B8860B;
	font-weight: bold;
	margin-bottom: 15px;
}
.achievement-text {
	font-size: 1.2em;
	color: #333;
}
/* Amélioration des sections de texte */

/* Timeline container */
.timeline {
	position: relative;
	max-width: 900px;
	margin: 20px auto;
	padding: 10px;
	overflow: hidden;
}
/* Center the vertical line */
.timeline::after {
	content: '';
	position: absolute;
	width: 2px;
	background: #c59100;
	/* لون رئيسي */
	top: 0;
	bottom: 0;
	left: 20px;
	transform: translateX(-50%);
	border-radius: 2px;
}
/* Timeline items */
.timeline-item {
	padding: 10px 40px;
	position: relative;
	width: 50%;
	opacity: 0;
	transform: translateX(-50px);
	transition: all 0.5s ease;
}
.timeline-item.visible {
	opacity: 1;
	transform: translateX(0);
}
/* Adjust positions for odd and even items */
.timeline-item:nth-child(odd) {
	left: 0;
	text-align: right;
}
.timeline-item:nth-child(even) {
	left: 50%;
	text-align: left;
}
/* Styling for timeline content */
.timeline-content {
    background: linear-gradient(120deg, #fffbe6 0%, #f7e7b4 100%);
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    position: relative;
    z-index: 1;
    margin-bottom: 10px;
    border: 1px solid rgba(197, 145, 0, 0.35);
}
/* Styling for the date */
.timeline-date {
	font-weight: bold;
	color: var(--primary-color);
	margin-bottom: 10px;
	font-size: 1.2em;
}
/* Styling for the text */
.timeline-text {
	color: #333;
	line-height: 1.6;
	margin: 0;
	font-size: 1em;
	word-spacing: normal;
	hyphens: auto;
	-webkit-hyphens: auto;
	-ms-hyphens: auto;
}
/* RTL support */
[dir="rtl"] .timeline::after {
	left: auto;
	right: 20px;
	transform: translateX(50%);
}
[dir="rtl"] .timeline-item:nth-child(odd) {
	left: auto;
	right: 0;
	text-align: left;
}
[dir="rtl"] .timeline-item:nth-child(even) {
	left: auto;
	right: 50%;
	text-align: right;
}
/* Responsive design */
@media (max-width: 768px) {
	.timeline::after {
		left: 20px;
		width: 2px;
	}
	.timeline-item {
		width: calc(100% - 40px);
		padding: 0 0 0 30px;
		margin-bottom: 15px;
	}
	.timeline-item:nth-child(odd),.timeline-item:nth-child(even) {
		left: 0;
		text-align: left;
	}
	[dir="rtl"] .timeline-item {
		padding: 0 30px 0 0;
	}
	[dir="rtl"] .timeline-item:nth-child(odd),
	[dir="rtl"] .timeline-item:nth-child(even) {
		right: 0;
		text-align: right;
	}
}

/* About page top-section responsive fixes (exclude team and below) */
@media (max-width: 768px) {
  /* Header title under the logo */
  header .about-content h1 {
    font-size: 1.6em;
    line-height: 1.3;
    margin: 10px 0 0 0;
    padding: 0 8px;
    text-align: center;
  }
  /* Section headings before team */
  #vision-section h2,
  #mission-section h2,
  #hope-for-sudan-section h2,
  .core-values-new h2 {
    font-size: 1.3em;
    line-height: 1.25;
    margin-bottom: 10px;
  }
  /* Paragraphs in the top sections */
  #vision-section .about-content p,
  #mission-section .about-content p,
  #hope-for-sudan-section .about-content p {
    font-size: 1em;
    line-height: 1.7;
    padding: 0 8px;
    text-align: left;
  }
  [dir="rtl"] #vision-section .about-content p,
  [dir="rtl"] #mission-section .about-content p,
  [dir="rtl"] #hope-for-sudan-section .about-content p {
    text-align: right;
  }
  /* Core values block and list items */
  .core-values-new { padding: 12px; }
  .values-list-new li { font-size: 0.95em; padding: 10px; }
}

@media (max-width: 480px) {
  header .about-content h1 { font-size: 1.4em; line-height: 1.25; padding: 0 6px; }
  #vision-section h2,
  #mission-section h2,
  #hope-for-sudan-section h2,
  .core-values-new h2 { font-size: 1.1em; }
  #vision-section .about-content p,
  #mission-section .about-content p,
  #hope-for-sudan-section .about-content p { font-size: 0.95em; padding: 0 6px; }
  .values-list-new li { font-size: 0.9em; padding: 8px; }
}


/* Animation Classes */
.animate-on-scroll {
	opacity: 0;
	transform: translateY(20px);
	transition: all 0.6s ease;
}
.animate-on-scroll.visible {
	opacity: 1;
	transform: translateY(0);
}
/* Responsive Design */
@media (max-width: 768px) {
	.timeline::after {
		right: 31px;
	}
	.timeline-item {
		width: 100%;
		padding-right: 70px;
		padding-left: 25px;
	}
	.timeline-item:nth-child(even),.timeline-item:nth-child(odd) {
		right: 0;
	}
	[dir="rtl"] .timeline::after {
		right: auto;
		left: 31px;
	}
	[dir="rtl"] .timeline-item {
		padding-right: 25px;
		padding-left: 70px;
	}
}
/* Animation du texte de bienvenue */

/* Style de la section équipe avec photos de profil */
.team-section {
	padding: 40px 0;
	background:  #c59100 white;
	border-radius: 15px;
	margin: 40px 0;
}
.team-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 250px));
	/* Plus petit et fixe */
	gap: 30px;
	justify-content: center;
	/* Centre les cartes */
	padding: 20px;
	max-width: 1200px;
	margin: 0 auto;
}
.team-member {
	background:   #c59100 rgba(255, 255, 255, 0.801);
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
	text-align: center;
	transition: transform 0.3s ease;
}
.member-image {
	width: 150px;
	/* Taille fixe pour l'image */
	height: 150px;
	/* Taille fixe pour l'image */
	margin: 20px auto 10px;
	/* Centre l'image */
	border-radius: 50%;
	/* Rend l'image circulaire */
	overflow: hidden;
	border: 3px solid #c59100;
	/* Bordure dorée */
}
.member-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}
.member-info {
	padding: 15px;
}
.member-name {
	color: #B8860B;
	font-size: 1.2em;
	margin-bottom: 5px;
}
.member-title {
	color: #666;
	font-size: 0.9em;
	margin-bottom: 10px;
}
.member-description {
	color: #333;
	font-size: 0.8em;
	line-height: 1.4;
	padding: 0 10px;
	word-spacing: normal;
	hyphens: auto;
	-webkit-hyphens: auto;
	-ms-hyphens: auto;
}
/* Effet de survol */
.team-member:hover {
	transform: translateY(-5px);
}
.team-member:hover .member-image {
	border-color: #d4a017;
}
/* Responsive */
@media (max-width: 768px) {
	.team-grid {
		grid-template-columns: repeat(auto-fit, minmax(150px, 200px));
		gap: 20px;
	}
	.member-image {
		width: 120px;
		height: 120px;
	}
}

/* تحسين الرؤية في الوضع العربي */
[dir="rtl"] .timeline-content {
	text-align: right;
}
/* تحسين التباين */
.timeline-content {
    background: linear-gradient(120deg, #fffbe6 0%, #f7e7b4 100%);
}

.fade-in {
	opacity: 0;
	transform: translateY(20px);
	animation: fadeInUp 0.8s forwards;
}

/* Animations générales */
.fade-in {
	opacity: 0;
	animation: fadeIn 1s ease-out forwards;
}
@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}
/* Effets de survol pour les liens */
a {
	transition: all 0.3s ease;
}
a:hover {
	color: #d4a017;
}
/* Animations pour les boîtes */
.box {
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.box:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}
/* Nouvelles animations pour les textes */
.fade-in-text {
	opacity: 0;
	transform: translateY(20px);
	animation: textFadeIn 0.8s ease forwards;
}
@keyframes textFadeIn {
	to {
		opacity: 1;
		transform: translateY(0);
	}
}
/* Animation pour les icônes dans les boîtes */
.icon-wrapper {
	position: relative;
	width: 80px;
	height: 80px;
	margin: 0 auto 20px;
}
.icon-bg {
	position: absolute;
	width: 100%;
	height: 100%;
	background: linear-gradient(45deg, #c59100, #d4a017);
	border-radius: 50%;
	animation: pulse 2s infinite;
}
@keyframes pulse {
	0% {
		transform: scale(1);
		opacity: 1;
	}
	50% {
		transform: scale(1.1);
		opacity: 0.8;
	}
	100% {
		transform: scale(1);
		opacity: 1;
	}
}
/* ... existing code ... */

/* Adjustments for smaller screens */
@media (max-width: 768px) {
    
    .content {
        padding: 10px 15px; /* Réduit le padding */
        margin: 0;
    }
    .timeline {
        margin: 10px auto; /* Réduit la marge */
    }
    .timeline-item {
        padding: 5px 10px; /* Réduit le padding */
    }
    .timeline-date {
        font-size: 0.9em; /* Réduit la taille de la police */
    }
    .timeline-text {
        font-size: 0.8em; /* Réduit la taille de la police */
    }
    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 10px; /* Réduit l'espacement entre les éléments */
    }
    .member-image {
        width: 80px; /* Réduit la taille de l'image */
        height: 80px;
    }
    .member-info {
        padding: 5px; /* Réduit le padding */
    }
    .member-name {
        font-size: 0.9em; /* Réduit la taille de la police */
    }
    .member-title {
        font-size: 0.7em; /* Réduit la taille de la police */
    }
    .box {
        margin-bottom: 15px; /* Réduit la marge inférieure */
    }
    p {
        margin-bottom: 15px; /* Réduit la marge entre les paragraphes */
    }
}

/* ... existing code ... */

/* Ajustement des espacements de texte */
p, .timeline-text, .member-description, .history-intro, .history-conclusion {
    /* Réduire l'espacement des mots */
    word-spacing: normal; /* Au lieu de l'espacement par défaut */
    text-align: justify;
    /* Éviter les grands espaces entre les mots */
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
}

/* Media queries pour les petits écrans */
@media (max-width: 768px) {
    p, .timeline-text, .member-description, .history-intro, .history-conclusion {
        /* Ajustements pour petits écrans */
        word-spacing: 0.05em; /* Espacement minimal entre les mots */
        letter-spacing: normal; /* Espacement normal entre les lettres */
        text-align: left; /* Alignement à gauche pour éviter les grands espaces */
        padding: 0 10px; /* Petit padding pour éviter que le texte touche les bords */
    }

    /* Support RTL */
    [dir="rtl"] p,
    [dir="rtl"] .timeline-text,
    [dir="rtl"] .member-description,
    [dir="rtl"] .history-intro,
    [dir="rtl"] .history-conclusion {
        text-align: right;
    }
}



/* Fast Links Grid */
.fast-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.fast-link-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  background: linear-gradient(135deg, #c59100 0%, #ffe08a 50%, #c59100 100%);
  border-radius: 15px;
  text-decoration: none;
  color: #333;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(197, 145, 0, 0.2);
  border: 2px solid #b8860b;
  font-weight: bold;
}

.fast-link-item i {
  font-size: 1.5em;
  color: #333;
  transition: transform 0.3s ease;
}

.fast-link-item span {
  font-size: 1.1em;
  font-weight: bold;
}

.fast-link-item:hover {
  transform: translateY(-5px);
  background: #333;
  color: #DAA520;
  box-shadow: 0 10px 25px rgba(197, 145, 0, 0.4);
}

.fast-link-item:hover i {
  color: #DAA520;
  transform: scale(1.2);
}

.fast-links-grid {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
}


        
.core-values-new {
    background: linear-gradient(135deg, #c59100 0%, #ffe08a 50%, #c59100 100%);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(197, 145, 0, 0.3);
    border: 1px solid rgba(197, 145, 0, 0.5);
    margin: 20px 0;
}

.core-values-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
}

.core-values-header h2 {
	margin: 0;
	color: #333;
}

/* Toggle button styles */
.toggle-button {
    background: linear-gradient(135deg, #c59100 0%, #e67e22 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(197, 145, 0, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.toggle-button:hover {
    background: linear-gradient(135deg, #e67e22 0%, #c59100 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(197, 145, 0, 0.4);
}

.toggle-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(197, 145, 0, 0.3);
}

.toggle-button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(197, 145, 0, 0.3);
}


/* Style de la liste */
.values-list-new {
	display: none;
	list-style: none;
	padding: 0;
	margin: 0;
}

.values-list-new.visible {
	display: block;
}

.values-list-new li {
    padding: 15px;
    margin: 10px 0;
    background: linear-gradient(120deg, #fffbe6 0%, #f7e7b4 100%);
    border-radius: 5px;
    border-left: 4px solid #c59100;
}

/* Support RTL */
[dir="rtl"] .values-list-new li {
	border-left: none;
	border-right: 4px solid #c59100;
}

/* Responsive toggle button */
@media (max-width: 768px) {
    .toggle-button {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
    
    .core-values-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .toggle-button {
        padding: 6px 12px;
        font-size: 0.75rem;
    }
}
/* History Section Styles */
.history-section {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
    background: linear-gradient(135deg, #c59100 0%, #ffe08a 50%, #c59100 100%);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(197,145,0,0.25);
    border: 1px solid rgba(197, 145, 0, 0.5);
}

.section-title {
text-align: center;
color: var(--primary-color);
font-size: 2.5em;
margin-bottom: 30px;
}

.history-intro {
    font-size: 1.2em;
    line-height: 1.8;
    color: #333;
    margin: 30px 0;
    text-align: right;
    padding: 20px;
    background: linear-gradient(120deg, #fffbe6 0%, #f7e7b4 100%);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border: 1px solid rgba(197, 145, 0, 0.35);
}

.history-conclusion {
    font-size: 1.1em;
    line-height: 1.7;
    color: #333;
    margin: 40px 0 20px;
    padding: 20px;
    background: linear-gradient(120deg, #fffbe6 0%, #f7e7b4 100%);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: right;
    border-right: 4px solid var(--primary-color);
    border: 1px solid rgba(197, 145, 0, 0.35);
}

/* Animation for text elements */
.history-intro, .history-conclusion {
opacity: 0;
transform: translateY(20px);
animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
from {
	opacity: 0;
	transform: translateY(20px);
}
to {
	opacity: 1;
	transform: translateY(0);
}
}

/* RTL Support */
[dir="rtl"] .history-intro,
[dir="rtl"] .history-conclusion {
text-align: right;
border-right: 4px solid var(--primary-color);
border-left: none;
}

[dir="ltr"] .history-intro,
[dir="ltr"] .history-conclusion {
text-align: left;
border-left: 4px solid var(--primary-color);
border-right: none;
}

/* Responsive Design */
@media (max-width: 768px) {
.section-title {
	font-size: 2em;
}

.history-intro,
.history-conclusion {
	font-size: 1em;
	padding: 15px;
	margin: 20px 0;
}

.history-section {
	padding: 20px 15px;
}
}



/* Footer Styles */
.footer {
  background: linear-gradient(135deg, #c59100 0%, #ffe08a 50%, #c59100 100%);
  color: #333;
  padding: 50px 20px;
  margin-top: 50px;
  text-align: center;
  border-top: 3px solid #b8860b;
  box-shadow: 0 -5px 15px rgba(197, 145, 0, 0.2);
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-section {
  flex: 1;
  min-width: 250px;
  text-align: center;
}

/* ضبط أحجام عناوين ونصوص الفوتر لتوحيدها بين الصفحات */
.footer-section h3 {
  font-size: 1.3em;
  margin-bottom: 10px;
  color: #333;
  font-weight: 700;
}

.footer-section p {
  font-size: 1em;
  line-height: 1.6;
  margin: 0;
  color: #333;
}

/* توحيد نمط الفوتر للنص الأخير والحقوق */
.footer-bottom p, .copyright p {
margin: 5px 0;
}

.footer-title {
  font-size: 1.8em;
  color: #333;
  margin-bottom: 20px;
  text-transform: none;
  letter-spacing: 2px;
  font-weight: 700;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin: 10px 0;
  color: #333;
  font-size: 1.1em;
}

.footer-links i {
  margin-right: 10px;
  color: #b8860b;
}

.copyright {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 2px solid rgba(184, 134, 11, 0.3);
  color: #333;
  font-size: 1em;
  text-align: center;
}

.creator-credit {
  font-size: 0.8em;
  margin-top: 5px;
  opacity: 0.8;
  text-align: center;
}

/* دعم توافقي للفوتر الذي يستخدم footer-bottom بدلاً من copyright */
.footer-bottom {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 2px solid rgba(184, 134, 11, 0.3);
  color: #333;
  font-size: 1em;
  text-align: center;
}

@media (max-width: 768px) {
  .footer-content {
      flex-direction: column;
      gap: 16px;
  }
  
  .footer-section {
      min-width: auto;
      padding: 0 8px;
  }
  
  .footer {
      padding: 20px 12px;
  }
  
  .footer-title {
      font-size: 1.3em;
  }

  .footer-section h3 { font-size: 1.15em; }
  .footer-section p { font-size: 0.95em; }
}

@media (max-width: 600px) {
.footer { padding: 16px 10px; }
.footer-content { gap: 12px; }
.footer-section { padding: 0 6px; }
.footer-links li { margin: 6px 0; font-size: 1em; }
.copyright, .footer-bottom { font-size: 0.9em; }
}


  /* تحسين الفوتر */
  .footer-content {
      grid-template-columns: 1fr;
      gap: 20px;
      padding: 20px 15px;
  }

  .footer-section h3 {
      font-size: 1.1rem;
      margin-bottom: 10px;
  }

  .footer-section p {
      font-size: 0.85rem;
      margin-bottom: 8px;
  }

  .social-links {
      gap: 15px;
  }

  .social-link {
      width: 35px;
      height: 35px;
      font-size: 1rem;
  }

  .footer-bottom {
      padding: 15px;
      font-size: 0.8rem;
  }
  .footer i,
  .fast-link-item i {
      font-family: 'Font Awesome 6 Free', 'Font Awesome 5 Free', sans-serif;
      font-weight: 900;
  }


/* Duplicate font import and body override removed (consolidated at file top) */



 
/* Small screens typography already handled above; removed duplicates */




/* History Achievements Styling */
.history-achievements {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.achievement-item {
    background: linear-gradient(120deg, #fffbe6 0%, #f7e7b4 100%);
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #c59100;
    box-shadow: 0 2px 8px rgba(197, 145, 0, 0.2);
    transition: all 0.3s ease;
}

.achievement-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(197, 145, 0, 0.3);
}

.achievement-item h4 {
    color: #c59100;
    font-size: 1.3em;
    margin-bottom: 10px;
    font-weight: 600;
}

.achievement-item p {
    color: #333;
    line-height: 1.6;
    margin: 0;
}

/* Quick Links Grid Styling */
.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.quick-link {
    display: block;
    padding: 15px 20px;
    background: linear-gradient(135deg, #c59100, #ffe08a);
    color: #333;
    text-decoration: none;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(197, 145, 0, 0.2);
}

.quick-link:hover {
    background: linear-gradient(135deg, #ffe08a, #c59100);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(197, 145, 0, 0.4);
    color: #1a1a1a;
}

@media (max-width: 768px) {
    .history-achievements {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .quick-links-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 10px;
    }
    
    .achievement-item {
        padding: 15px;
    }
    
    .quick-link {
        padding: 12px 15px;
        font-size: 0.9em;
    }
}

/* Style for unordered lists */
ul {
    list-style-type: disc; /* Use disc bullets */
    padding-left: 20px; /* Add padding to the left for indentation */
    margin: 1em 0; /* Add margin above and below the list */
    color: #585858; /* Set text color */
}

/* Style for list items */
ul li {
    margin: 0.5em 0; /* Add margin between list items */
    line-height: 1.5; /* Improve line height for readability */
}

/* Responsive adjustments for smaller screens */
@media screen and (max-width: 768px) {
    ul {
        padding-left: 15px; /* Reduce padding on smaller screens */
    }

    ul li {
        font-size: 14px; /* Adjust font size for smaller screens */
    }
}

/* Committees Section Styles */
.committees-section {
  max-width: 1100px;
  margin: 40px auto;
  padding: 20px;
  background: rgba(255,255,255,0.97);
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}
.committees-title {
  text-align: center;
  color: #c59100;
  font-size: 2.2em;
  margin-bottom: 30px;
}
.committee-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}
.committee-card {
  background: linear-gradient(120deg, #fffbe6 0%, #f7e7b4 100%);
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  padding: 24px 20px 18px 20px;
  width: 320px;
  max-width: 95vw;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.2s;
  position: relative;
}
.committee-card:hover {
  box-shadow: 0 8px 32px rgba(197,145,0,0.13);
}
.committee-name {
  font-size: 1.2em;
  font-weight: bold;
  color: #c59100;
  margin-bottom: 8px;
}
.committee-chair {
  font-size: 1em;
  color: #333;
  margin-bottom: 8px;
}
.committee-desc {
  font-size: 0.98em;
  color: #444;
  margin-bottom: 14px;
}
.committee-link {
  margin-top: auto;
  align-self: flex-end;
  background: #c59100;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 7px 18px;
  font-size: 1em;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
}
.committee-link:hover {
  background: #a87d00;
}
/* Accordion (optional alternative) */
.committee-accordion {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 18px;
  background: linear-gradient(120deg, #fffbe6 0%, #f7e7b4 100%);
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}
.committee-accordion-header {
  padding: 18px 20px;
  font-size: 1.1em;
  font-weight: bold;
  color: #c59100;
  cursor: pointer;
  border-bottom: 1px solid #f7e7b4;
  background: none;
  outline: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.committee-accordion-content {
  padding: 16px 20px;
  display: none;
  color: #444;
  font-size: 1em;
}
.committee-accordion.active .committee-accordion-content {
  display: block;
}
@media (max-width: 900px) {
  .committee-list {
    flex-direction: column;
    align-items: center;
    gap: 18px;
  }
  .committee-card {
    width: 98vw;
    max-width: 420px;
  }
}
@media (max-width: 600px) {
  .committees-section {
    padding: 8px;
  }
  .committee-card {
    padding: 16px 8px 12px 8px;
    font-size: 0.98em;
  }
  .committee-accordion-header, .committee-accordion-content {
    padding-left: 10px;
    padding-right: 10px;
  }
}

/* Team Section Styling */
.team-ring {
    text-align: center;
    padding: 40px 20px;
}

.team-intro {
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #333;
    text-align: center;
    padding: 0 20px;
}

.team-intro.translate {
    font-weight: 400;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .team-intro {
        font-size: 1rem;
        padding: 0 15px;
        margin-bottom: 30px;
    }
}



