/* ========================================
     جمعية سخاء - ملف الأنماط الرئيسي
     Sakhaa Charity - Main Stylesheet
     ======================================== */

  @import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700;800;900&display=swap');

  /* ========= CSS Variables ========= */
  :root {
    --green-primary: #1a7a3c;
    --green-dark: #0f5227;
    --green-light: #28a745;
    --green-xlight: #e8f5ed;
    --gold: #c9a227;
    --gold-light: #f0d080;
    --text-dark: #1a1a1a;
    --text-muted: #6c757d;
    --bg-light: #f8f9fa;
    --bg-section: #f4f8f5;
    --white: #ffffff;
    --border: #e0e0e0;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s ease;
  }

  /* ========= Base ========= */
  *, *::before, *::after { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    font-family: 'Tajawal', sans-serif;
    direction: rtl;
    text-align: right;
    color: var(--text-dark);
    background: var(--white);
    margin: 0; padding: 0;
    overflow-x: hidden;
  }
  a { text-decoration: none; color: inherit; }
  img { max-width: 100%; }
  ul { padding: 0; margin: 0; list-style: none; }
  .section-padding { padding: 80px 0; }
  .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

  /* =========================================================
     ISLAMIC ANIMATED BACKGROUND — visible on all pages
     ========================================================= */
  .islamic-bg-canvas {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
  }
  .islamic-bg-canvas svg {
    width: 100%; height: 100%;
    opacity: 1;
  }
  /* Floating geometric elements */
  .islamic-star {
    position: absolute;
    opacity: 0.07;
    animation: islamicFloat 12s ease-in-out infinite;
    transform-origin: center;
  }
  .islamic-star:nth-child(1)  { top: 5%;  left: 3%;   width:120px; animation-duration:14s; animation-delay:0s;   }
  .islamic-star:nth-child(2)  { top: 15%; right: 5%;  width: 80px; animation-duration:18s; animation-delay:2s;   }
  .islamic-star:nth-child(3)  { top: 45%; left: 1%;   width:100px; animation-duration:16s; animation-delay:4s;   }
  .islamic-star:nth-child(4)  { top: 65%; right: 3%;  width: 90px; animation-duration:20s; animation-delay:1s;   }
  .islamic-star:nth-child(5)  { top: 80%; left: 8%;   width:110px; animation-duration:13s; animation-delay:3s;   }
  .islamic-star:nth-child(6)  { top: 30%; left: 50%;  width: 70px; animation-duration:22s; animation-delay:5s;   }
  .islamic-star:nth-child(7)  { top: 55%; right: 10%; width: 85px; animation-duration:17s; animation-delay:6s;   }
  .islamic-star:nth-child(8)  { top: 10%; left: 35%;  width: 65px; animation-duration:19s; animation-delay:7s;   }

  @keyframes islamicFloat {
    0%   { transform: translateY(0px)   rotate(0deg)   scale(1);   }
    25%  { transform: translateY(-18px) rotate(22.5deg) scale(1.05); }
    50%  { transform: translateY(-8px)  rotate(45deg)  scale(0.95); }
    75%  { transform: translateY(-22px) rotate(67.5deg) scale(1.08); }
    100% { transform: translateY(0px)   rotate(90deg)  scale(1);   }
  }
  @keyframes islamicSpin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
  }

  /* Tiled pattern overlay */
  /* islamic-tile-overlay is now handled by body::before — no HTML needed */
  @keyframes tileDrift {
    0%   { background-position: 0 0; }
    100% { background-position: 320px 320px; }
  }

  /* Islamic tile pattern via body::before — applies to every page */
  body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.045;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cg fill='none' stroke='%231a7a3c' stroke-width='1'%3E%3Cpolygon points='80,10 93,45 130,45 101,67 112,102 80,82 48,102 59,67 30,45 67,45'/%3E%3Cpolygon points='80,28 89,53 115,53 95,69 103,95 80,80 57,95 65,69 45,53 71,53' stroke-width='0.5'/%3E%3Ccircle cx='80' cy='80' r='55' stroke-width='0.5'/%3E%3Ccircle cx='80' cy='80' r='38' stroke-width='0.5'/%3E%3Cline x1='80' y1='0' x2='80' y2='160' stroke-width='0.4'/%3E%3Cline x1='0' y1='80' x2='160' y2='80' stroke-width='0.4'/%3E%3Cline x1='0' y1='0' x2='160' y2='160' stroke-width='0.3'/%3E%3Cline x1='160' y1='0' x2='0' y2='160' stroke-width='0.3'/%3E%3Crect x='27' y='27' width='106' height='106' rx='4' transform='rotate(45 80 80)' stroke-width='0.6'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 160px 160px;
    animation: tileDrift 80s linear infinite;
  }

  /* All content above backgrounds */
  .top-bar, .navbar, .hero-slider, section, footer,
  .mobile-menu, .floating-btns, .scroll-top-btn, .page-header {
    position: relative; z-index: 1;
  }

  /* ========================================================
     PROFESSIONAL ICON ANIMATIONS
     ======================================================== */
  @keyframes iconPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 4px 15px rgba(26,122,60,0.2); }
    50%       { transform: scale(1.06); box-shadow: 0 8px 25px rgba(26,122,60,0.35); }
  }
  @keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-6px); }
  }
  @keyframes iconBounce {
    0%, 100% { transform: translateY(0) scale(1); }
    30%       { transform: translateY(-8px) scale(1.05); }
    60%       { transform: translateY(-3px) scale(0.98); }
  }
  @keyframes iconRotatePulse {
    0%   { transform: rotate(0deg) scale(1); }
    25%  { transform: rotate(-8deg) scale(1.05); }
    75%  { transform: rotate(8deg) scale(1.05); }
    100% { transform: rotate(0deg) scale(1); }
  }
  @keyframes iconGlow {
    0%, 100% { filter: drop-shadow(0 0 0px rgba(26,122,60,0)); }
    50%       { filter: drop-shadow(0 0 8px rgba(26,122,60,0.5)); }
  }
  @keyframes statIconAnim {
    0%, 100% { transform: scale(1) rotate(0deg); }
    20%       { transform: scale(1.2) rotate(-10deg); }
    40%       { transform: scale(1.1) rotate(10deg); }
    60%       { transform: scale(1.15) rotate(-5deg); }
    80%       { transform: scale(1.05) rotate(5deg); }
  }
  @keyframes contactIconPulse {
    0%, 100% { transform: scale(1); background: rgba(255,255,255,0.15); }
    50%       { transform: scale(1.1); background: rgba(255,255,255,0.25); }
  }
  @keyframes socialHover {
    0%   { transform: translateY(0) rotate(0deg); }
    50%  { transform: translateY(-4px) rotate(10deg); }
    100% { transform: translateY(0) rotate(0deg); }
  }
  @keyframes featureIconPop {
    0%, 100% { transform: scale(1); }
    50%       { transform: scale(1.12) rotate(5deg); }
  }

  /* ========= Apply animations to icons ========= */
  .goal-icon {
    animation: iconFloat 4s ease-in-out infinite;
  }
  .goal-card:nth-child(2) .goal-icon { animation-delay: 0.5s; }
  .goal-card:nth-child(3) .goal-icon { animation-delay: 1s; }
  .goal-card:nth-child(4) .goal-icon { animation-delay: 1.5s; }
  .goal-card:nth-child(5) .goal-icon { animation-delay: 0.3s; }
  .goal-card:nth-child(6) .goal-icon { animation-delay: 0.8s; }
  .goal-card:nth-child(7) .goal-icon { animation-delay: 1.2s; }
  .goal-card:nth-child(8) .goal-icon { animation-delay: 0.7s; }

  .stat-icon {
    display: block;
    animation: statIconAnim 5s ease-in-out infinite;
  }
  .stat-item:nth-child(1) .stat-icon { animation-delay: 0s; }
  .stat-item:nth-child(2) .stat-icon { animation-delay: 0.8s; }
  .stat-item:nth-child(3) .stat-icon { animation-delay: 1.6s; }
  .stat-item:nth-child(4) .stat-icon { animation-delay: 2.4s; }

  .contact-icon {
    animation: contactIconPulse 3s ease-in-out infinite;
  }
  .contact-item:nth-child(1) .contact-icon { animation-delay: 0s; }
  .contact-item:nth-child(2) .contact-icon { animation-delay: 0.5s; }
  .contact-item:nth-child(3) .contact-icon { animation-delay: 1s; }
  .contact-item:nth-child(4) .contact-icon { animation-delay: 1.5s; }

  .feature-icon {
    animation: featureIconPop 4s ease-in-out infinite;
  }
  .feature-item:nth-child(2) .feature-icon { animation-delay: 0.6s; }
  .feature-item:nth-child(3) .feature-icon { animation-delay: 1.2s; }
  .feature-item:nth-child(4) .feature-icon { animation-delay: 1.8s; }

  .social-btn, .top-bar-social a, .float-btn {
    transition: all 0.3s ease;
  }
  .social-btn:hover  { animation: socialHover 0.5s ease; }
  .float-btn:hover   { animation: socialHover 0.5s ease; }

  .activity-img { 
    animation: iconGlow 4s ease-in-out infinite;
  }
  .activity-card:nth-child(2) .activity-img { animation-delay: 1s; }
  .activity-card:nth-child(3) .activity-img { animation-delay: 2s; }

  /* Partner logo animation */
  .partner-logo-icon {
    animation: iconPulse 4s ease-in-out infinite;
  }
  .partner-static-card:nth-child(2) .partner-logo-icon { animation-delay: 0.6s; }
  .partner-static-card:nth-child(3) .partner-logo-icon { animation-delay: 1.2s; }
  .partner-static-card:nth-child(4) .partner-logo-icon { animation-delay: 1.8s; }
  .partner-static-card:nth-child(5) .partner-logo-icon { animation-delay: 2.4s; }
  .partner-static-card:nth-child(6) .partner-logo-icon { animation-delay: 3.0s; }

  /* ========= Top Bar ========= */
  .top-bar {
    background: var(--green-dark);
    color: var(--white);
    padding: 8px 0;
    font-size: 13px;
  }
  .top-bar .container {
    display: flex; align-items: center;
    justify-content: center;
    flex-wrap: wrap; gap: 20px;
  }
  .top-bar a { color: rgba(255,255,255,0.85); }
  .top-bar a:hover { color: var(--gold-light); }
  .top-bar-social a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 28px; height: 28px; background: rgba(255,255,255,0.15);
    border-radius: 50%; margin-right: 4px; transition: var(--transition);
  }
  .top-bar-social a:hover { background: var(--gold); color: var(--white) !important; }

  /* ========= Navbar ========= */
  .navbar {
    background: var(--white);
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    position: sticky; top: 0; z-index: 1000;
    transition: var(--transition);
  }
  .navbar .container { display: flex; align-items: center; justify-content: space-between; padding: 6px 20px; }
  .navbar-brand { display: flex; align-items: center; gap: 12px; }
  .navbar-brand img {
    height: 85px; width: auto;
    filter: drop-shadow(0 2px 8px rgba(26,122,60,0.3));
    transition: var(--transition);
  }
  .navbar-brand img:hover { transform: scale(1.05); filter: drop-shadow(0 4px 12px rgba(26,122,60,0.4)); }
  .navbar-brand-text h2 { font-size: 18px; font-weight: 800; color: var(--green-dark); margin: 0; line-height: 1.2; }
  .navbar-brand-text span { font-size: 12px; color: var(--text-muted); display: block; }
  .nav-menu { display: flex; align-items: center; gap: 4px; }
  .nav-item { position: relative; }
  .nav-link {
    display: flex; align-items: center; gap: 4px;
    padding: 8px 14px; border-radius: 8px;
    color: var(--text-dark) !important; font-size: 15px; font-weight: 500;
    transition: var(--transition); white-space: nowrap;
  }
  .nav-link:hover, .nav-link.active {
    color: var(--green-primary) !important; background: var(--green-xlight);
  }
  .nav-link svg { transition: transform 0.2s; }
  .nav-item:hover .nav-link svg { transform: rotate(180deg); }
  .dropdown-menu {
    position: absolute; top: calc(100% + 8px); right: 0;
    background: var(--white); border-radius: var(--radius);
    box-shadow: var(--shadow-lg); border: 1px solid var(--border);
    min-width: 200px; opacity: 0; visibility: hidden;
    transform: translateY(-10px); transition: var(--transition); z-index: 9999;
  }
  .nav-item:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
  .dropdown-menu a {
    display: block; padding: 10px 18px; color: var(--text-dark); font-size: 14px;
    border-bottom: 1px solid var(--bg-light); transition: var(--transition);
  }
  .dropdown-menu a:last-child { border-bottom: none; }
  .dropdown-menu a:hover { background: var(--green-xlight); color: var(--green-primary); padding-right: 24px; }
  .navbar-toggler {
    display: none; background: none; border: 2px solid var(--green-primary);
    border-radius: 8px; padding: 6px 10px; cursor: pointer; color: var(--green-primary);
  }

  /* ========= Hero Slider ========= */
  .hero-slider { position: relative; overflow: hidden; height: 550px; }
  .slide {
    position: absolute; inset: 0; opacity: 0;
    transition: opacity 0.8s ease;
    display: flex; align-items: center; justify-content: center;
  }
  .slide.active { opacity: 1; z-index: 1; }
  /* NO hover zoom on slides - intentionally removed */
  .slide:hover { transform: none; }
  .slide * { pointer-events: auto; }

  .slide-1 { background: linear-gradient(135deg, rgba(10,30,15,0.20) 0%, rgba(15,82,39,0.25) 100%), url('../images/slider/slider1.png') center/cover no-repeat; }
  .slide-2 { background: linear-gradient(135deg, rgba(10,30,15,0.20) 0%, rgba(15,82,39,0.25) 100%), url('../images/slider/slider2.png') center/cover no-repeat; }
  .slide-3 { background: linear-gradient(135deg, rgba(10,30,15,0.20) 0%, rgba(15,82,39,0.25) 100%), url('../images/slider/slider3.png') center/cover no-repeat; }
  .slide-4 { background: linear-gradient(135deg, rgba(10,30,15,0.20) 0%, rgba(15,82,39,0.25) 100%), url('../images/slider/slider4.png') center/cover no-repeat; }
  .slide-decor { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
  .slide-decor::before {
    content: ''; position: absolute; width: 600px; height: 600px;
    border-radius: 50%; border: 2px solid rgba(255,255,255,0.06);
    top: -200px; left: -200px;
  }
  .slide-decor::after {
    content: ''; position: absolute; width: 400px; height: 400px;
    border-radius: 50%; border: 2px solid rgba(255,255,255,0.06);
    bottom: -150px; right: -100px;
  }
  .slide-content {
    position: relative; z-index: 2; text-align: center;
    color: var(--white); padding: 40px 20px; max-width: 800px;
    animation: slideUp 0.8s ease forwards;
  }
  @keyframes slideUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
  .slide-badge {
    display: inline-block; background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px); padding: 6px 20px;
    border-radius: 50px; font-size: 13px; margin-bottom: 20px;
    border: 1px solid rgba(255,255,255,0.2);
  }
  .slide-icon { font-size: 50px; margin-bottom: 16px; display: block; }
  .slide-title { font-size: 48px; font-weight: 900; line-height: 1.2; margin-bottom: 16px; text-shadow: 0 2px 20px rgba(0,0,0,0.3); }
  .slide-desc { font-size: 18px; opacity: 0.9; margin-bottom: 32px; line-height: 1.7; }
  .slide-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
  .btn-hero-primary {
    background: var(--white); color: var(--green-dark);
    padding: 14px 36px; border-radius: 50px; font-size: 16px; font-weight: 700;
    transition: var(--transition); box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  }
  .btn-hero-primary:hover { background: var(--gold); color: var(--white); transform: translateY(-2px); }
  .btn-hero-outline {
    background: transparent; color: var(--white);
    padding: 14px 36px; border-radius: 50px; font-size: 16px; font-weight: 700;
    border: 2px solid rgba(255,255,255,0.6); transition: var(--transition);
  }
  .btn-hero-outline:hover { background: rgba(255,255,255,0.15); transform: translateY(-2px); }
  .slider-nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(255,255,255,0.15); backdrop-filter: blur(10px);
    width: 46px; height: 46px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--white); cursor: pointer; transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.2); z-index: 10;
  }
  .slider-nav:hover { background: var(--green-primary); }
  .slider-prev { right: 20px; }
  .slider-next { left: 20px; }
  .slider-dots {
    position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 8px; z-index: 10;
  }
  .dot {
    width: 10px; height: 10px; border-radius: 50%;
    background: rgba(255,255,255,0.4); cursor: pointer; transition: var(--transition);
  }
  .dot.active { background: var(--white); width: 28px; border-radius: 5px; }

  /* ========= Section Header ========= */
  .section-header { text-align: center; margin-bottom: 50px; }
  .section-label {
    display: inline-block; background: var(--green-xlight);
    color: var(--green-primary); padding: 5px 18px;
    border-radius: 50px; font-size: 13px; font-weight: 700;
    margin-bottom: 12px; border: 1px solid rgba(26,122,60,0.2);
  }
  .section-title { font-size: 36px; font-weight: 900; color: var(--text-dark); margin-bottom: 12px; line-height: 1.3; }
  .section-title span { color: var(--green-primary); }
  .section-desc { font-size: 16px; color: var(--text-muted); max-width: 600px; margin: 0 auto; line-height: 1.8; }
  .section-divider {
    width: 60px; height: 4px;
    background: linear-gradient(to right, var(--green-primary), var(--gold));
    border-radius: 2px; margin: 16px auto 0;
  }

  /* ========= About / Goals ========= */
  .about-section { background: var(--bg-section); }
  .about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
  .about-image-wrap { position: relative; }
  .about-image-main {
    width: 100%; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--green-dark), var(--green-light));
    display: flex; align-items: center; justify-content: center; font-size: 80px;
  }
  .about-stats-badge {
    position: absolute; bottom: -20px; left: -20px;
    background: var(--white); border-radius: var(--radius);
    padding: 16px 24px; box-shadow: var(--shadow-lg);
    text-align: center; border-right: 4px solid var(--green-primary);
  }
  .about-stats-badge strong { font-size: 28px; color: var(--green-primary); font-weight: 900; display: block; }
  .about-stats-badge span { font-size: 13px; color: var(--text-muted); }
  .about-content h2 { font-size: 34px; font-weight: 900; margin-bottom: 16px; color: var(--text-dark); }
  .about-content p { color: var(--text-muted); line-height: 1.9; margin-bottom: 20px; font-size: 15px; }
  .about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 28px; }
  .feature-item { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; }
  .feature-icon {
    width: 36px; height: 36px; background: var(--green-xlight);
    border-radius: 8px; display: flex; align-items: center; justify-content: center;
    color: var(--green-primary); font-size: 16px; flex-shrink: 0;
  }
  .btn-primary {
    background: var(--green-primary); color: var(--white);
    padding: 12px 32px; border-radius: 50px; font-size: 15px; font-weight: 700;
    border: none; cursor: pointer; transition: var(--transition); display: inline-block;
  }
  .btn-primary:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: var(--shadow); }
  .btn-outline {
    background: transparent; color: var(--green-primary);
    padding: 12px 32px; border-radius: 50px; font-size: 15px; font-weight: 700;
    border: 2px solid var(--green-primary); transition: var(--transition); display: inline-block;
  }
  .btn-outline:hover { background: var(--green-primary); color: var(--white); }

  /* ========= Goals / Services ========= */
  .goals-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .goal-card {
    background: var(--white); border-radius: var(--radius-lg);
    padding: 32px 24px; text-align: center;
    box-shadow: var(--shadow); transition: var(--transition);
    border-bottom: 4px solid transparent; position: relative; overflow: hidden;
  }
  .goal-card::before {
    content: ''; position: absolute; top: 0; right: 0; left: 0; height: 4px;
    background: linear-gradient(to right, var(--green-primary), var(--gold));
    transform: scaleX(0); transition: var(--transition);
  }
  .goal-card:hover::before { transform: scaleX(1); }
  .goal-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
  .goal-icon {
    width: 90px; height: 90px; border-radius: 18px;
    display: flex; align-items: center; justify-content: center;
    font-size: 32px; margin: 0 auto 20px;
    background: var(--green-xlight);
    overflow: hidden;
  }
  .goal-icon img {
    width: 100%; height: 100%; object-fit: cover;
    border-radius: 18px;
    /* NO hover zoom on service images */
    transition: none;
  }
  .goal-title { font-size: 17px; font-weight: 800; margin-bottom: 10px; color: var(--text-dark); }
  .goal-desc { font-size: 13px; color: var(--text-muted); line-height: 1.7; }

  /* ========= Stats Counter ========= */
  .stats-section {
    background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-primary) 100%);
    position: relative; overflow: hidden;
  }
  .stats-section::before {
    content: ''; position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  }
  .stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; position: relative; }
  .stat-item {
    text-align: center; padding: 24px 20px;
    border-left: 1px solid rgba(255,255,255,0.1);
  }
  .stat-item:last-child { border-left: none; }
  .stat-icon { font-size: 32px; margin-bottom: 8px; display: block; }
  .stat-number { font-size: 42px; font-weight: 900; color: var(--white); line-height: 1; margin-bottom: 6px; }
  .stat-number span { font-size: 22px; }
  .stat-label { font-size: 13px; color: rgba(255,255,255,0.8); font-weight: 500; }

  /* ========= Projects ========= */
  .projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .project-card {
    background: var(--white); border-radius: var(--radius-lg);
    box-shadow: var(--shadow); overflow: hidden; transition: var(--transition);
  }
  .project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
  .project-img {
    height: 200px; display: flex; align-items: center; justify-content: center;
    font-size: 64px; position: relative;
    animation: iconGlow 5s ease-in-out infinite;
  }
  .project-card:nth-child(2) .project-img { animation-delay: 1s; }
  .project-card:nth-child(3) .project-img { animation-delay: 2s; }
  .project-category {
    position: absolute; top: 16px; right: 16px;
    background: var(--white); color: var(--green-primary);
    padding: 4px 14px; border-radius: 50px; font-size: 12px; font-weight: 700;
  }
  .project-body { padding: 24px; }
  .project-title { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
  .project-desc { color: var(--text-muted); font-size: 14px; line-height: 1.7; margin-bottom: 20px; }
  .progress-wrap { margin-bottom: 14px; }
  .progress-label { display: flex; justify-content: space-between; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
  .progress-bar { height: 8px; background: var(--bg-light); border-radius: 4px; overflow: hidden; }
  .progress-fill { height: 100%; background: linear-gradient(to left, var(--green-light), var(--green-primary)); border-radius: 4px; transition: width 1s ease; }
  .project-meta { display: flex; justify-content: space-between; font-size: 13px; color: var(--text-muted); }

  /* ========= Activities ========= */
  .activities-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .activity-card {
    background: var(--white); border-radius: var(--radius-lg);
    overflow: hidden; box-shadow: var(--shadow); transition: var(--transition);
  }
  .activity-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
  .activity-img {
    height: 180px; display: flex; align-items: center; justify-content: center; font-size: 60px;
  }
  .activity-body { padding: 20px; }
  .activity-date { font-size: 12px; color: var(--text-muted); margin-bottom: 8px; }
  .activity-title { font-size: 16px; font-weight: 800; margin-bottom: 8px; }
  .activity-desc { font-size: 13px; color: var(--text-muted); line-height: 1.7; }
  .activity-link { color: var(--green-primary); font-size: 13px; font-weight: 700; display: inline-block; margin-top: 12px; }
  .activity-link:hover { color: var(--green-dark); }

  /* ========= Partners (Static 6 with Logos) ========= */
  .partners-section { background: var(--bg-section); }
  .partners-grid-static {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 960px;
    margin: 0 auto;
  }
  .partner-static-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px 20px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 16px;
    border: 1.5px solid var(--border);
    transition: var(--transition);
  }
  .partner-static-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--green-primary);
    transform: translateY(-4px);
  }
  .partner-logo-icon {
    width: 60px; height: 60px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  }
  .partner-logo-icon svg { width: 100%; height: 100%; }
  .partner-name {
    font-size: 13px; font-weight: 700; color: var(--text-dark); line-height: 1.5;
  }

  /* ========= Contact ========= */
  .contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: stretch; }
  .contact-info-card {
    background: linear-gradient(135deg, var(--green-dark), var(--green-primary));
    border-radius: var(--radius-lg); padding: 40px; color: var(--white);
    display: flex; flex-direction: column;
  }
  .contact-info-card h3 { font-size: 26px; font-weight: 800; margin-bottom: 8px; }
  .contact-info-card p { opacity: 0.85; margin-bottom: 32px; line-height: 1.7; }
  .contact-item { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
  .contact-icon {
    width: 44px; height: 44px; background: rgba(255,255,255,0.15);
    border-radius: 10px; display: flex; align-items: center; justify-content: center;
    font-size: 20px; flex-shrink: 0;
  }
  .contact-item-title { font-size: 13px; opacity: 0.75; margin-bottom: 4px; }
  .contact-item-value { font-size: 15px; font-weight: 600; }
  .contact-form-card {
    background: var(--white); border-radius: var(--radius-lg);
    padding: 40px; box-shadow: var(--shadow-lg);
    display: flex; flex-direction: column;
  }
  .contact-form-card h3 { font-size: 24px; font-weight: 800; margin-bottom: 8px; }
  .contact-form-card p { color: var(--text-muted); margin-bottom: 28px; font-size: 14px; }
  .contact-form-card form { flex: 1; display: flex; flex-direction: column; }
  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .form-group { margin-bottom: 18px; }
  .form-group label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; color: var(--text-dark); }
  .form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 12px 16px; border: 1.5px solid var(--border);
    border-radius: 10px; font-family: 'Tajawal', sans-serif;
    font-size: 14px; transition: var(--transition); background: var(--white);
    color: var(--text-dark); direction: rtl;
  }
  .form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none; border-color: var(--green-primary);
    box-shadow: 0 0 0 3px rgba(26,122,60,0.1);
  }
  .form-group textarea { resize: vertical; min-height: 120px; }
  .btn-submit {
    background: var(--green-primary); color: var(--white);
    width: 100%; padding: 14px; border: none; border-radius: 10px;
    font-family: 'Tajawal', sans-serif; font-size: 16px; font-weight: 700;
    cursor: pointer; transition: var(--transition); margin-top: auto;
  }
  .btn-submit:hover { background: var(--green-dark); transform: translateY(-2px); }

  /* ========= Footer ========= */
  .footer { background: #0d2016; color: rgba(255,255,255,0.8); }
  .footer-map-full { width: 100%; line-height: 0; }
  .footer-map-full iframe { width: 100%; height: 280px; border: none; display: block; filter: grayscale(20%) brightness(0.9); }
  .footer-top { padding: 60px 0 40px; }
  .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
  .footer-brand img {
    height: 95px; margin-bottom: 0px;
    filter: brightness(0) invert(1) drop-shadow(0 2px 8px rgba(255,255,255,0.2));
  }
  .footer-brand p { font-size: 14px; line-height: 1.8; opacity: 0.75; margin-bottom: 20px; }
  .footer-social { display: flex; gap: 10px; }
  .social-btn {
    width: 38px; height: 38px; border-radius: 10px;
    background: rgba(255,255,255,0.08); display: flex;
    align-items: center; justify-content: center;
    color: rgba(255,255,255,0.7); transition: var(--transition); font-size: 16px;
  }
  .social-btn:hover { background: var(--green-primary); color: var(--white) !important; transform: translateY(-3px); }
  .footer-heading {
    font-size: 16px; font-weight: 800; color: var(--white);
    margin-bottom: 20px; padding-bottom: 10px;
    border-bottom: 2px solid var(--green-primary); display: inline-block;
  }
  .footer-links a { display: block; color: rgba(255,255,255,0.65); font-size: 14px; padding: 5px 0; transition: var(--transition); }
  .footer-links a:hover { color: var(--gold-light); padding-right: 8px; }
  .footer-links a::before { content: '← '; font-size: 10px; opacity: 0.5; }
  .footer-contact-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; }
  .footer-contact-item span:first-child { font-size: 16px; margin-top: 2px; }
  .footer-contact-item a { color: rgba(255,255,255,0.65); font-size: 14px; line-height: 1.6; }
  .footer-contact-item a:hover { color: var(--gold-light); }
  .footer-bottom {
    background: rgba(0,0,0,0.3); padding: 18px 0;
    text-align: center; font-size: 13px; opacity: 0.65;
    border-top: 1px solid rgba(255,255,255,0.05);
  }

  /* ========= Floating Buttons ========= */
  .floating-btns {
    position: fixed; left: 20px; bottom: 30px;
    display: flex; flex-direction: column; gap: 12px; z-index: 9999;
  }
  .float-btn {
    width: 52px; height: 52px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    transition: var(--transition); cursor: pointer; border: none; text-decoration: none;
  }
  .float-btn:hover { transform: scale(1.1) translateY(-2px); }
  .float-whatsapp { background: #25D366; color: var(--white) !important; }
  .float-call { background: var(--green-primary); color: var(--white) !important; }
  .scroll-top-btn {
    position: fixed; right: 20px; bottom: 30px;
    width: 48px; height: 48px; background: var(--green-primary);
    color: var(--white); border-radius: 50%; border: none;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; cursor: pointer; z-index: 9999;
    box-shadow: var(--shadow); transition: var(--transition);
    opacity: 0; visibility: hidden;
  }
  .scroll-top-btn.visible { opacity: 1; visibility: visible; }
  .scroll-top-btn:hover { background: var(--green-dark); transform: translateY(-3px); }

  /* ========= Page Header ========= */
  .page-header {
    background: linear-gradient(135deg, var(--green-dark), var(--green-primary));
    padding: 60px 0; color: var(--white); text-align: center; position: relative; overflow: hidden;
  }
  .page-header::before {
    content: ''; position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M20 20c0-5.5-4.5-10-10-10s-10 4.5-10 10 4.5 10 10 10 10-4.5 10-10zm10 0c0-5.5-4.5-10-10-10s-10 4.5-10 10 4.5 10 10 10 10-4.5 10-10z'/%3E%3C/g%3E%3C/svg%3E");
  }
  .page-header h1 { font-size: 38px; font-weight: 900; margin-bottom: 12px; position: relative; }
  .breadcrumb { display: flex; justify-content: center; gap: 8px; font-size: 14px; opacity: 0.8; list-style: none; position: relative; }
  .breadcrumb a { color: var(--white); }
  .breadcrumb .sep { opacity: 0.5; }

  /* ========= Mobile Menu ========= */
  .mobile-menu {
    display: none; position: fixed; inset: 0;
    background: rgba(0,0,0,0.5); z-index: 9998;
  }
  .mobile-menu-panel {
    position: fixed; right: 0; top: 0; bottom: 0;
    width: 300px; background: var(--white); padding: 24px;
    overflow-y: auto; z-index: 9999;
    transform: translateX(100%); transition: transform 0.3s ease;
  }
  .mobile-menu.open { display: block; }
  .mobile-menu.open .mobile-menu-panel { transform: translateX(0); }
  .mobile-close {
    position: absolute; top: 16px; left: 16px; background: var(--bg-light);
    border: none; width: 36px; height: 36px; border-radius: 50%; cursor: pointer; font-size: 18px;
  }
  .mobile-nav a {
    display: block; padding: 12px 0; border-bottom: 1px solid var(--bg-light);
    font-size: 15px; font-weight: 600; color: var(--text-dark);
  }
  .mobile-nav a:hover { color: var(--green-primary); }
  .mobile-submenu { padding-right: 16px; }
  .mobile-submenu a { font-size: 14px; font-weight: 500; color: var(--text-muted); }

  /* ========= Animations ========= */
  .animate-on-scroll { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
  .animate-on-scroll.visible { opacity: 1; transform: translateY(0); }
  .animate-delay-1 { transition-delay: 0.1s; }
  .animate-delay-2 { transition-delay: 0.2s; }
  .animate-delay-3 { transition-delay: 0.3s; }
  .animate-delay-4 { transition-delay: 0.4s; }

  /* ========= Responsive ========= */
  @media (max-width: 1024px) {
    .goals-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .partners-grid-static { grid-template-columns: repeat(2, 1fr); }
  }
  @media (max-width: 768px) {
    .slide-title { font-size: 30px; }
    .section-title { font-size: 26px; }
    .projects-grid, .activities-grid { grid-template-columns: 1fr; }
    .goals-grid { grid-template-columns: 1fr 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .nav-menu, .top-bar-links { display: none; }
    .navbar-toggler { display: flex !important; }
    .hero-slider { height: 480px; }
    .partners-grid-static { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .footer-map-full iframe { height: 220px; }
    .islamic-star { opacity: 0.05; }
  }
  @media (max-width: 480px) {
    .goals-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .slide-title { font-size: 24px; }
    .section-padding { padding: 50px 0; }
    .about-features { grid-template-columns: 1fr; }
    .partners-grid-static { grid-template-columns: 1fr; }
  }
  