/* ========================================
   جمعية التنمية الاجتماعية بالقونية
   الأنماط الرئيسية
   ======================================== */

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

:root {
  --primary: #1a8c4e;
  --primary-dark: #13693b;
  --primary-light: #27b567;
  --secondary: #ffffff;
  --gray-light: #f5f6fa;
  --gray: #9ea7b4;
  --gray-dark: #5a6476;
  --dark: #1e2430;
  --text: #2d3748;
  --shadow: 0 8px 30px rgba(26, 140, 78, 0.12);
  --shadow-dark: 0 15px 50px rgba(0,0,0,0.15);
  --radius: 12px;
  --transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Tajawal', sans-serif;
  direction: rtl;
  color: var(--text);
  background: #fff;
  overflow-x: hidden;
  line-height: 1.7;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ========================================
   Scrollbar
   ======================================== */
::-webkit-scrollbar { width: 7px; }
::-webkit-scrollbar-track { background: #f0f4f8; }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 10px; }

/* ========================================
   TOP BAR
   ======================================== */
.top-bar {
  background: var(--primary-dark);
  color: #fff;
  padding: 6px 0;
  font-size: 13px;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.top-bar-info { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.top-bar-info span { display: flex; align-items: center; gap: 6px; }
.top-bar-social { display: flex; gap: 10px; }
.top-bar-social a {
  width: 28px; height: 28px;
  background: rgba(255,255,255,0.12);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  transition: var(--transition);
}
.top-bar-social a:hover { background: var(--primary-light); transform: translateY(-2px); }

/* ========================================
   HEADER / NAVBAR
   ======================================== */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  transition: var(--transition);
}
header.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,0.12); }

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 20px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: fit-content;
}
.nav-logo img {
  width: 65px;
  height: 65px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(26,140,78,0.3));
  transition: var(--transition);
}
.nav-logo img:hover { transform: scale(1.05) rotate(2deg); }
.nav-logo-text h2 {
  font-size: 15px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.3;
}
.nav-logo-text span {
  font-size: 11px;
  color: var(--gray-dark);
  font-weight: 400;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: wrap;
}

.nav-item { position: relative; }

.nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  border-radius: 8px;
  transition: var(--transition);
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active {
  color: var(--primary);
  background: rgba(26,140,78,0.08);
}
.nav-link i { font-size: 11px; transition: var(--transition); }
.nav-item:hover .nav-link i { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 220px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: var(--transition);
  border-top: 3px solid var(--primary);
  z-index: 999;
}
.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid #f0f4f0;
  transition: var(--transition);
}
.dropdown a:last-child { border-bottom: none; }
.dropdown a:hover {
  background: rgba(26,140,78,0.06);
  color: var(--primary);
  padding-right: 24px;
}
.dropdown a i { color: var(--primary); font-size: 13px; width: 20px; }

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: var(--transition);
}
.nav-toggle span {
  width: 25px; height: 2.5px;
  background: var(--primary);
  border-radius: 5px;
  transition: var(--transition);
  display: block;
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5.5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5.5px); }

/* ========================================
   HERO SLIDER
   ======================================== */
.hero-slider {
  position: relative;
  height: 600px;
  overflow: hidden;
  background: var(--dark);
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease, transform 1.2s ease;
  transform: scale(1.05);
}
.slide.active { opacity: 1; transform: scale(1); }

.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.slide-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(19,105,59,0.20) 0%, rgba(30,36,48,0.25) 100%);
}

.slide-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 650px;
  padding: 40px 0;
}
.slide-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 18px;
  width: fit-content;
  animation: fadeInDown 0.8s ease 0.2s both;
}
.slide-title {
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 900;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 15px;
  animation: fadeInUp 0.8s ease 0.4s both;
}
.slide-text {
  font-size: 16px;
  color: rgba(255,255,255,0.88);
  margin-bottom: 28px;
  line-height: 1.8;
  animation: fadeInUp 0.8s ease 0.6s both;
}
.slide-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.8s both;
}

.slider-controls {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}
.slider-dot {
  width: 10px; height: 10px;
  background: rgba(255,255,255,0.4);
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}
.slider-dot.active {
  background: #fff;
  width: 28px;
  border-radius: 5px;
}

.slider-arrows {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 10;
  pointer-events: none;
}
.slider-arrow {
  width: 50px; height: 50px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  pointer-events: all;
  transition: var(--transition);
  font-size: 18px;
}
.slider-arrow:hover { background: var(--primary); border-color: var(--primary); transform: scale(1.1); }

/* ========================================
   DECORATIVE SHAPES (Animated)
   ======================================== */
.deco-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}
.deco-shape {
  position: absolute;
  border: 2px solid rgba(255,255,255,0.08);
  border-radius: 50%;
  animation: floatShape 8s ease-in-out infinite;
}
.deco-shape:nth-child(1) { width: 300px; height: 300px; top: -100px; left: -100px; animation-delay: 0s; }
.deco-shape:nth-child(2) { width: 200px; height: 200px; top: 60%; right: 5%; animation-delay: -2s; animation-duration: 6s; }
.deco-shape:nth-child(3) { width: 150px; height: 150px; bottom: 10%; left: 30%; animation-delay: -4s; animation-duration: 10s; }
.deco-shape:nth-child(4) { width: 80px; height: 80px; top: 30%; left: 20%; animation-delay: -1s; background: rgba(255,255,255,0.03); }

@keyframes floatShape {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(10px, -15px) rotate(5deg); }
  66% { transform: translate(-8px, 10px) rotate(-3deg); }
}

/* ========================================
   SECTION GENERAL
   ======================================== */
section { padding: 80px 0; }

.section-header {
  text-align: center;
  margin-bottom: 55px;
}
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(26,140,78,0.08);
  color: var(--primary);
  padding: 6px 18px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 14px;
}
.section-tag i { font-size: 12px; }
.section-title {
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 14px;
  line-height: 1.3;
}
.section-title span { color: var(--primary); }
.section-desc {
  font-size: 15.5px;
  color: var(--gray-dark);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}
.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}
.section-divider::before, .section-divider::after {
  content: '';
  width: 50px; height: 2px;
  background: linear-gradient(to left, transparent, var(--primary));
}
.section-divider::after { background: linear-gradient(to right, transparent, var(--primary)); }
.section-divider span {
  width: 10px; height: 10px;
  background: var(--primary);
  border-radius: 50%;
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about-section { background: var(--gray-light); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-img-wrap {
  position: relative;
}
.about-img-main {
  border-radius: 20px;
  width: 100%;
  height: 400px;
  object-fit: cover;
  box-shadow: var(--shadow-dark);
}
.about-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--primary);
  color: #fff;
  padding: 20px 25px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
}
.about-badge strong { font-size: 32px; font-weight: 900; display: block; }
.about-badge span { font-size: 12px; font-weight: 500; }

.about-content h2 {
  font-size: 28px; font-weight: 900;
  color: var(--dark);
  margin-bottom: 15px;
}
.about-content p {
  font-size: 15px; color: var(--gray-dark);
  line-height: 1.9; margin-bottom: 20px;
}
.about-features {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  margin-top: 20px;
}
.about-feature {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 600; color: var(--text);
}
.about-feature i { color: var(--primary); font-size: 16px; }

/* ========================================
   STATS SECTION
   ======================================== */
.stats-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 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.04'%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: 30px;
  position: relative;
  z-index: 1;
}
.stat-card {
  text-align: center;
  padding: 35px 20px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.stat-card:hover { transform: translateY(-8px); background: rgba(255,255,255,0.18); }
.stat-card::before {
  content: '';
  position: absolute;
  top: -30px; right: -30px;
  width: 100px; height: 100px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}
.stat-icon {
  width: 65px; height: 65px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 15px;
  font-size: 26px;
  color: #fff;
  transition: var(--transition);
  animation: iconPulse 3s ease-in-out infinite;
}
.stat-card:hover .stat-icon { background: rgba(255,255,255,0.25); transform: scale(1.1) rotate(10deg); }
.stat-num {
  font-size: 42px; font-weight: 900;
  color: #fff;
  display: block; line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 14px; font-weight: 600;
  color: rgba(255,255,255,0.85);
}

/* ========================================
   GOALS SECTION
   ======================================== */
.goals-section { background: #fff; }
.goals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.goal-card {
  padding: 35px 28px;
  border-radius: var(--radius);
  background: var(--gray-light);
  border: 1px solid #eaeff5;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.goal-card::before {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 80px; height: 80px;
  background: rgba(26,140,78,0.05);
  border-radius: 50% 0 0 0;
  transition: var(--transition);
}
.goal-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: var(--primary-light);
}
.goal-card:hover::before { width: 150px; height: 150px; }
.goal-icon {
  width: 70px; height: 70px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  font-size: 28px;
  color: #fff;
  transition: var(--transition);
  box-shadow: 0 8px 25px rgba(26,140,78,0.25);
}
.goal-card:hover .goal-icon { transform: scale(1.1) rotate(-5deg); }
.goal-card h3 { font-size: 17px; font-weight: 800; color: var(--dark); margin-bottom: 10px; }
.goal-card p { font-size: 14px; color: var(--gray-dark); line-height: 1.8; }

/* ========================================
   ACTIVITIES SECTION
   ======================================== */
.activities-section { background: var(--gray-light); }
.activities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.activity-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 15px rgba(0,0,0,0.05);
  transition: var(--transition);
}
.activity-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.activity-img {
  height: 200px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex; align-items: center; justify-content: center;
  font-size: 55px;
  color: rgba(255,255,255,0.7);
  position: relative;
  overflow: hidden;
}
.activity-img::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 40px;
  background: linear-gradient(to top, rgba(0,0,0,0.3), transparent);
}
.activity-img-overlay {
  position: absolute;
  bottom: 12px; right: 12px;
  background: var(--primary);
  color: #fff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  z-index: 1;
}
.activity-body { padding: 22px; }
.activity-body h3 { font-size: 17px; font-weight: 800; color: var(--dark); margin-bottom: 8px; }
.activity-body p { font-size: 14px; color: var(--gray-dark); line-height: 1.7; }
.activity-footer {
  padding: 15px 22px;
  border-top: 1px solid #f0f4f0;
  display: flex; justify-content: space-between; align-items: center;
}
.activity-footer span { font-size: 13px; color: var(--gray); display: flex; align-items: center; gap: 5px; }
.activity-footer a { font-size: 13px; font-weight: 700; color: var(--primary); }
.activity-footer a:hover { text-decoration: underline; }

/* ========================================
   PROJECTS SECTION
   ======================================== */
.projects-section { background: #fff; }
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.project-card {
  display: flex;
  gap: 20px;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--gray-light);
  border: 1px solid #eaeff5;
  transition: var(--transition);
  align-items: flex-start;
}
.project-card:hover {
  transform: translateX(-5px);
  box-shadow: var(--shadow);
  border-right: 3px solid var(--primary);
}
.project-icon-wrap {
  width: 60px; height: 60px; min-width: 60px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; color: #fff;
  transition: var(--transition);
  box-shadow: 0 6px 20px rgba(26,140,78,0.2);
}
.project-card:hover .project-icon-wrap { transform: scale(1.1) rotate(5deg); }
.project-info h3 { font-size: 17px; font-weight: 800; color: var(--dark); margin-bottom: 8px; }
.project-info p { font-size: 14px; color: var(--gray-dark); line-height: 1.7; margin-bottom: 12px; }
.project-progress { width: 100%; background: #e0e8e3; border-radius: 5px; height: 6px; }
.project-progress-bar {
  height: 100%;
  background: linear-gradient(to left, var(--primary-light), var(--primary));
  border-radius: 5px;
  transition: width 1.5s ease;
}
.project-status {
  display: flex; justify-content: space-between;
  font-size: 12px; color: var(--gray-dark);
  margin-top: 6px;
}

/* ========================================
   PARTNERS SECTION
   ======================================== */
.partners-section { background: var(--gray-light); overflow: hidden; }
.partners-track-wrap { overflow: hidden; position: relative; }
.partners-track-wrap::before, .partners-track-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 100px;
  z-index: 2;
}
.partners-track-wrap::before { right: 0; background: linear-gradient(to left, var(--gray-light), transparent); }
.partners-track-wrap::after { left: 0; background: linear-gradient(to right, var(--gray-light), transparent); }
.partners-track {
  display: flex;
  gap: 25px;
  animation: scrollPartners 25s linear infinite;
  width: max-content;
}
.partners-track:hover { animation-play-state: paused; }
.partner-item {
  flex-shrink: 0;
  width: 160px; height: 80px;
  background: #fff;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  padding: 15px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  border: 1px solid #eaeff5;
  transition: var(--transition);
  font-size: 13px; font-weight: 700;
  color: var(--gray-dark);
  text-align: center;
  gap: 8px;
  flex-direction: column;
}
.partner-item:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
  color: var(--primary);
  border-color: var(--primary-light);
}
.partner-item i { font-size: 28px; color: var(--primary); }

@keyframes scrollPartners {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact-section {
  background: linear-gradient(135deg, #1a2030 0%, #1e2d1e 100%);
  position: relative;
  overflow: hidden;
}
.contact-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%231a8c4e' fill-opacity='0.05'%3E%3Cpath d='M40 40c0-22.09 17.91-40 40-40v80C57.91 80 40 62.09 40 40z'/%3E%3C/g%3E%3C/svg%3E");
}
.contact-section .section-title { color: #fff; }
.contact-section .section-desc { color: rgba(255,255,255,0.7); }
.contact-section .section-tag { background: rgba(255,255,255,0.1); color: #fff; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 50px;
  position: relative;
  z-index: 1;
}
.contact-info-item {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 16px;
  transition: var(--transition);
}
.contact-info-item:hover { background: rgba(255,255,255,0.1); transform: translateX(-5px); }
.contact-info-icon {
  width: 50px; height: 50px; min-width: 50px;
  background: var(--primary);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: #fff;
  transition: var(--transition);
  animation: iconPulse 3s ease-in-out infinite;
}
.contact-info-item:hover .contact-info-icon { transform: scale(1.1) rotate(5deg); }
.contact-info-text h4 { font-size: 14px; font-weight: 700; color: rgba(255,255,255,0.6); margin-bottom: 5px; }
.contact-info-text p { font-size: 15px; font-weight: 600; color: #fff; }

.contact-form {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 35px;
  backdrop-filter: blur(10px);
}
.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: 600;
  color: rgba(255,255,255,0.7); margin-bottom: 8px;
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 13px 16px;
  background: rgba(255,255,255,0.07);
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  color: #fff;
  font-size: 14px;
  font-family: 'Tajawal', sans-serif;
  transition: var(--transition);
  outline: none;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(255,255,255,0.35); }
.form-group input:focus, .form-group textarea:focus {
  border-color: var(--primary-light);
  background: rgba(255,255,255,0.1);
  box-shadow: 0 0 0 3px rgba(26,140,78,0.15);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-group select option { background: var(--dark); color: #fff; }

/* ========================================
   MAP SECTION
   ======================================== */
.map-section {
  background: var(--dark);
  padding: 0;
}
.map-wrapper {
  position: relative;
  height: 380px;
  overflow: hidden;
}
.map-wrapper iframe {
  width: 100%; height: 100%;
  border: none;
  filter: grayscale(20%) contrast(1.05);
}
.map-overlay {
  position: absolute;
  top: 30px; right: 30px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  padding: 18px 22px;
  box-shadow: var(--shadow-dark);
  max-width: 250px;
}
.map-overlay h4 { font-size: 15px; font-weight: 800; color: var(--dark); margin-bottom: 5px; }
.map-overlay p { font-size: 13px; color: var(--gray-dark); line-height: 1.6; }
.map-overlay-icon {
  width: 40px; height: 40px;
  background: var(--primary);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 18px;
  margin-bottom: 10px;
}

/* ========================================
   FOOTER
   ======================================== */
footer {
  background: #111820;
  color: rgba(255,255,255,0.75);
  padding: 70px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}
.footer-brand {}
.footer-brand .logo-wrap {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 18px;
}
.footer-brand img { width: 55px; height: 55px; object-fit: contain; filter: brightness(1.1); }
.footer-brand h3 { font-size: 16px; font-weight: 800; color: #fff; line-height: 1.4; }
.footer-brand p { font-size: 14px; line-height: 1.9; margin-bottom: 22px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 16px;
  transition: var(--transition);
}
.footer-social a:hover { background: var(--primary); color: #fff; border-color: var(--primary); transform: translateY(-3px); }

.footer-col h4 {
  font-size: 16px; font-weight: 800;
  color: #fff; margin-bottom: 20px;
  position: relative; padding-bottom: 10px;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 35px; height: 2px;
  background: var(--primary);
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  display: flex; align-items: center; gap: 8px;
  transition: var(--transition);
}
.footer-col ul li a:hover { color: var(--primary-light); padding-right: 5px; }
.footer-col ul li a i { font-size: 11px; color: var(--primary); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 22px 0;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 10px;
}
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.4); }
.footer-bottom p span { color: var(--primary-light); }

/* ========================================
   FLOATING BUTTONS
   ======================================== */
.float-buttons {
  position: fixed;
  left: 20px;
  bottom: 80px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.float-btn {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  color: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
  position: relative;
}
.float-btn::before {
  content: attr(data-tooltip);
  position: absolute;
  left: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.8);
  color: #fff;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}
.float-btn:hover::before { opacity: 1; }
.float-btn:hover { transform: scale(1.12); }
.float-btn-whatsapp { background: #25d366; }
.float-btn-call { background: var(--primary); }

.scroll-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 50px; height: 50px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  box-shadow: var(--shadow);
  cursor: pointer;
  z-index: 999;
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
}
.scroll-top.show { opacity: 1; visibility: visible; }
.scroll-top:hover { background: var(--primary-dark); transform: translateY(-4px); }

/* ========================================
   BUTTONS
   ======================================== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px;
  border-radius: 10px;
  font-size: 14px; font-weight: 700;
  font-family: 'Tajawal', sans-serif;
  cursor: pointer;
  transition: var(--transition);
  border: none; outline: none;
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 6px 20px rgba(26,140,78,0.35);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(26,140,78,0.45); }
.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.btn-white {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}
.btn-white:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0,0,0,0.15); }

/* ========================================
   PAGE HERO (inner pages)
   ======================================== */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--dark) 100%);
  padding: 70px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::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.04'%3E%3Cpath d='M20 20.5V18H0v5h5v5H0v5h20v-9.5zm-2 4.5h-4v-4h4v4zm0-8h-4v-4h4v4zm14-4H26V0H14v14H0v14h2v-4h4v4h2v-4h4v4h2v-4h4v4h2v-4h4v4h2v-4h4v4h2V0z'/%3E%3C/g%3E%3C/svg%3E");
}
.page-hero-deco { position: absolute; inset: 0; pointer-events: none; }
.page-hero h1 {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 900; color: #fff;
  position: relative; z-index: 1;
}
.breadcrumb {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; margin-top: 12px;
  font-size: 14px; color: rgba(255,255,255,0.6);
  position: relative; z-index: 1;
}
.breadcrumb a { color: rgba(255,255,255,0.6); }
.breadcrumb a:hover { color: var(--primary-light); }
.breadcrumb i { font-size: 11px; }
.breadcrumb .current { color: var(--primary-light); font-weight: 600; }

/* ========================================
   CONTAINER
   ======================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ========================================
   GOVERNANCE PAGE
   ======================================== */
.governance-tabs {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-bottom: 40px;
  background: var(--gray-light);
  padding: 8px;
  border-radius: var(--radius);
}
.gov-tab {
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px; font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  color: var(--gray-dark);
  border: none; background: transparent;
  font-family: 'Tajawal', sans-serif;
  display: flex; align-items: center; gap: 8px;
}
.gov-tab.active, .gov-tab:hover {
  background: var(--primary);
  color: #fff;
}
.gov-panel { display: none; }
.gov-panel.active { display: block; }
.doc-item {
  display: flex; align-items: center; gap: 15px;
  padding: 18px 22px;
  background: var(--gray-light);
  border-radius: var(--radius);
  margin-bottom: 12px;
  border: 1px solid #eaeff5;
  transition: var(--transition);
}
.doc-item:hover { border-color: var(--primary-light); transform: translateX(-3px); }
.doc-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 20px; min-width: 48px;
}
.doc-info h4 { font-size: 15px; font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.doc-info p { font-size: 13px; color: var(--gray-dark); }
.doc-actions { margin-right: auto; }
.doc-actions a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px;
  background: rgba(26,140,78,0.08);
  color: var(--primary);
  border-radius: 8px;
  font-size: 13px; font-weight: 600;
  transition: var(--transition);
}
.doc-actions a:hover { background: var(--primary); color: #fff; }

/* ========================================
   TEAM CARDS
   ======================================== */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }
.team-card {
  text-align: center;
  padding: 30px 20px;
  background: var(--gray-light);
  border-radius: var(--radius);
  border: 1px solid #eaeff5;
  transition: var(--transition);
}
.team-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: var(--primary-light); }
.team-avatar {
  width: 90px; height: 90px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 15px;
  font-size: 36px; color: rgba(255,255,255,0.8);
  box-shadow: 0 8px 25px rgba(26,140,78,0.25);
  transition: var(--transition);
}
.team-card:hover .team-avatar { transform: scale(1.08); }
.team-card h3 { font-size: 16px; font-weight: 800; color: var(--dark); margin-bottom: 5px; }
.team-card span { font-size: 13px; color: var(--primary); font-weight: 600; }

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(25px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes iconPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(26,140,78,0.3); }
  50% { box-shadow: 0 0 0 8px rgba(26,140,78,0); }
}
@keyframes countUp {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .goals-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .about-img-main { height: 300px; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  section { padding: 60px 0; }
  .nav-menu {
    position: fixed;
    top: 0; right: -100%;
    width: 80%; max-width: 320px; height: 100vh;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 20px 30px;
    box-shadow: -5px 0 30px rgba(0,0,0,0.15);
    transition: right 0.4s cubic-bezier(0.4,0,0.2,1);
    overflow-y: auto;
    z-index: 998;
    gap: 0;
  }
  .nav-menu.open { right: 0; }
  .nav-item { width: 100%; }
  .nav-link { padding: 12px 16px; width: 100%; justify-content: space-between; }
  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: var(--gray-light);
    border-radius: 8px;
    margin-top: 5px;
    display: none;
    border-right: 3px solid var(--primary);
  }
  .nav-item.open .dropdown { display: block; }
  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 997;
    display: none;
  }
  .nav-overlay.show { display: block; }
  .nav-toggle { display: flex; }
  .top-bar .container { flex-direction: column; gap: 6px; }
  .hero-slider { height: 500px; }
  .slide-title { font-size: 22px; }
  .activities-grid, .goals-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .about-features { grid-template-columns: 1fr; }
  .slider-arrows { display: none; }
  .governance-tabs { gap: 6px; }
  .gov-tab { padding: 8px 14px; font-size: 13px; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero-slider { height: 420px; }
  .contact-form { padding: 22px 18px; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .float-buttons { left: 12px; }
  .scroll-top { right: 12px; }
}
