﻿/* ============================================
   جمعية البر الخيرية بوادي ليه - Main Stylesheet
   Based on thageefberr.org.sa Design System
   ============================================ */

/* === CSS Variables === */
:root {
  --primary: #225e78;
  --primary-dark: #1a4b60;
  --primary-light: #2d7a9e;
  --primary-lighter: #3d94b8;
  --primary-bg: rgba(34, 94, 120, 0.1);
  --gold: #D8B44A;
  --gold-light: #F0D97A;
  --gold-dark: #B8922A;
  --bg-light: #F7F8FA;
  --bg-white: #FFFFFF;
  --text-dark: #222222;
  --text-muted: #6B7280;
  --text-light: #9CA3AF;
  --white: #FFFFFF;
  --black: #000000;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 24px 64px rgba(0, 0, 0, 0.16);
  --glass-bg: rgba(255, 255, 255, 0.92);
  --glass-border: rgba(255, 255, 255, 0.25);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.2s ease;
  --font-primary: 'Tajawal', 'Cairo', sans-serif;
  --border-color: #E2E8F0;
  --header-height: 80px;
  --top-bar-height: 40px;
}

/* === Reset & Base === */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Tajawal', 'Cairo', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark);
  background: var(--bg-white);
  direction: rtl;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
}

/* === Scrollbar === */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

* {
  scrollbar-width: thin;
  scrollbar-color: var(--primary) var(--bg-light);
}

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

/* === Utility Classes === */
.text-center {
  text-align: center;
}

.section-padding {
  padding: 100px 0;
}

.section-title {
  font-size: 36px;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 10px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.title-underline {
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--gold));
  margin: 12px auto 16px;
  border-radius: 2px;
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 30px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  border: 2px solid transparent;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 4px 15px rgba(34, 94, 120, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(34, 94, 120, 0.4);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-lighter) 100%);
  color: var(--white);
  border-color: var(--primary-light);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(42, 143, 74, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
  transform: translateY(-3px);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--text-dark);
  border-color: var(--gold);
  box-shadow: 0 4px 15px rgba(216, 180, 74, 0.3);
}

.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(216, 180, 74, 0.4);
}

.btn-sm {
  padding: 8px 20px;
  font-size: 14px;
}

/* ============================================
   TOP BAR
   ============================================ */
.top-bar {
  background: var(--primary-dark);
  color: var(--white);
  font-size: 13px;
  height: var(--top-bar-height);
  display: flex;
  align-items: center;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.top-bar-info {
  display: flex;
  gap: 20px;
  align-items: center;
}

.top-bar-info a {
  color: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
}

.top-bar-info a:hover {
  color: var(--gold);
}

.top-bar-social {
  display: flex;
  gap: 12px;
}

.top-bar-social a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
}

.top-bar-social a:hover {
  color: var(--gold);
}

/* ============================================
   SIDE SOCIAL BAR - Fixed Left Side
   ============================================ */
.side-social-bar {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.side-social-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #225e78;
  color: #fff !important;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: var(--transition);
  border-right: 3px solid transparent;
  min-width: 50px;
  overflow: hidden;
  white-space: nowrap;
}

.side-social-link i {
  font-size: 16px;
  min-width: 20px;
  text-align: center;
  color: #fff !important;
}

.side-social-link span {
  display: inline-block;
  max-width: 0;
  overflow: hidden;
  transition: max-width 0.3s ease, padding 0.3s ease;
  font-size: 12px;
}

.side-social-link:hover {
  padding-right: 20px;
  border-right-color: var(--gold);
}

.side-social-link:hover span {
  max-width: 120px;
}

.side-social-link:hover i {
  color: var(--gold) !important;
}

.side-social-link.side-donate-link {
  background: #B8922A;
}

.side-social-link.side-donate-link:hover {
  background: #9a7a22;
}

.side-social-link.side-donate-link i,
.side-social-link.side-donate-link span {
  color: #fff !important;
}

.side-social-link.side-donate-link:hover i {
  color: #fff !important;
}

@media (max-width: 992px) {
  .side-social-bar {
    display: none;
  }
}

/* ============================================
   HEADER / NAV - Glass Morphism
   ============================================ */
.main-header {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
  transition: var(--transition);
}

.main-header.scrolled {
  box-shadow: var(--shadow);
  background: rgba(255, 255, 255, 0.95);
}

.main-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo img {
  height: 50px;
  width: 50px;
  object-fit: contain;
  border-radius: 50%;
  border: 2px solid var(--primary);
}

.logo-text h1 {
  font-size: 18px;
  font-weight: 800;
  color: var(--gold);
  line-height: 1.2;
}

.logo-text span {
  font-size: 11px;
  color: var(--text-muted);
}

.nav-wrapper {
  display: flex;
  align-items: center;
}

.nav-wrapper nav {
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-menu > li {
  position: relative;
}

.nav-menu > li > a {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  transition: var(--transition);
  white-space: nowrap;
  position: relative;
}

.nav-menu > li > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 14px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--gold));
  transition: width 0.3s ease;
  border-radius: 1px;
}

.nav-menu > li > a:hover::after,
.nav-menu > li.current > a::after {
  width: calc(100% - 28px);
}

.nav-menu > li > a:hover,
.nav-menu > li.current > a {
  color: var(--primary);
}

.nav-menu > li > a .arrow {
  font-size: 10px;
  transition: var(--transition);
}

.nav-menu > li:hover > a .arrow {
  transform: rotate(180deg);
}

/* Dropdown */
.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--white);
  min-width: 260px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 1000;
  padding: 8px 0;
  border: 1px solid var(--border-color);
}

.nav-menu > li:hover > .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  color: var(--text-dark);
  transition: var(--transition);
}

.dropdown-menu li a:hover {
  background: var(--primary-bg);
  color: var(--primary);
  padding-right: 25px;
}

.btn-donate {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%) !important;
  color: var(--text-dark) !important;
  padding: 10px 24px !important;
  border-radius: 50px !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 15px rgba(216, 180, 74, 0.3) !important;
}

.btn-donate:hover {
  background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 100%) !important;
  transform: translateY(-2px) !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--text-dark);
  border-radius: 3px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* ============================================
   HERO SLIDER
   ============================================ */
.hero-slider {
  position: relative;
  width: 100%;
  height: 85vh;
  min-height: 500px;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease, transform 6s ease;
  transform: scale(1);
}

.hero-slide.active {
  opacity: 1;
  z-index: 1;
  transform: scale(1.05);
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to left,
    rgba(26, 75, 96, 0.92) 0%,
    rgba(34, 94, 120, 0.8) 40%,
    rgba(0, 0, 0, 0.4) 100%
  );
  z-index: 1;
}

.hero-overlay::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 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");
  opacity: 0.6;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  max-width: 700px;
  color: var(--white);
  text-align: center;
}

.hero-content h2 {
  font-size: 42px;
  font-weight: 900;
  margin-bottom: 16px;
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-content p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 24px;
  opacity: 0.9;
  color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-content .btn {
  margin-left: 10px;
}

/* Hero Arrows */
.hero-arrows {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  pointer-events: none;
}

.hero-arrows button {
  pointer-events: all;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: var(--white);
  font-size: 18px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-arrows button:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: scale(1.1);
}

/* Hero Dots */
.hero-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 10px;
}

.hero-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: var(--transition);
}

.hero-dots .dot.active {
  background: var(--gold);
  transform: scale(1.2);
  box-shadow: 0 0 10px rgba(216, 180, 74, 0.5);
}

/* Hero Particles */
.hero-slider::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(2px 2px at 20% 30%, rgba(216, 180, 74, 0.4), transparent),
    radial-gradient(2px 2px at 40% 70%, rgba(255, 255, 255, 0.3), transparent),
    radial-gradient(2px 2px at 60% 20%, rgba(216, 180, 74, 0.3), transparent),
    radial-gradient(2px 2px at 80% 50%, rgba(255, 255, 255, 0.2), transparent),
    radial-gradient(1px 1px at 10% 80%, rgba(216, 180, 74, 0.3), transparent),
    radial-gradient(1px 1px at 70% 90%, rgba(255, 255, 255, 0.2), transparent),
    radial-gradient(1px 1px at 90% 10%, rgba(216, 180, 74, 0.2), transparent),
    radial-gradient(1px 1px at 50% 50%, rgba(255, 255, 255, 0.15), transparent);
  background-size: 250px 250px;
  animation: heroParticles 20s linear infinite;
  z-index: 2;
  pointer-events: none;
  opacity: 0.7;
}

@keyframes heroParticles {
  0% {
    transform: translateY(0) translateX(0);
  }
  100% {
    transform: translateY(-250px) translateX(-250px);
  }
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section {
  background: var(--bg-white);
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-content h2 {
  font-size: 32px;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 20px;
}

.about-content p {
  color: var(--text-muted);
  margin-bottom: 15px;
  line-height: 1.8;
}

.license-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--primary-bg);
  color: var(--gold);
  padding: 12px 20px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  margin-top: 15px;
  border: 1px solid rgba(34, 94, 120, 0.15);
}

.about-image {
  position: relative;
}

.about-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.about-image::before {
  content: '';
  position: absolute;
  top: -15px;
  right: -15px;
  width: 100%;
  height: 100%;
  border: 3px solid var(--primary);
  border-radius: var(--radius-lg);
  z-index: -1;
}

.about-image::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: 50%;
  z-index: -1;
  opacity: 0.3;
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 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='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M50 50c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10s-10-4.477-10-10 4.477-10 10-10zM10 10c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10S0 25.523 0 20s4.477-10 10-10z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  animation: patternDrift 30s linear infinite;
}

@keyframes patternDrift {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(80px, 80px);
  }
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
  z-index: 1;
}

.stat-item {
  text-align: center;
  padding: 30px 15px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.stat-item:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-8px);
}

.stat-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 15px;
  background: linear-gradient(135deg, rgba(216, 180, 74, 0.2), rgba(216, 180, 74, 0.1));
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: var(--gold);
}

.stat-number {
  font-size: 36px;
  font-weight: 900;
  margin-bottom: 5px;
  color: var(--white);
}

.stat-label {
  font-size: 14px;
  opacity: 0.9;
}

/* ============================================
   PROJECTS SECTION
   ============================================ */
.projects-section {
  background: var(--bg-light);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.project-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.project-image {
  height: 220px;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.1);
}

.project-info {
  padding: 25px;
}

.project-info h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 10px;
}

.project-info p {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 20px;
  line-height: 1.7;
}

/* ============================================
   DONATION METHODS
   ============================================ */
.donation-methods {
  background: var(--bg-white);
  position: relative;
}

.donation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.donation-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 35px 25px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.donation-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--gold));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.donation-card:hover::before {
  transform: scaleX(1);
}

.donation-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
}

.donation-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: var(--primary-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: var(--primary);
  transition: var(--transition);
}

.donation-card:hover .donation-icon {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  transform: scale(1.1);
}

.donation-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 10px;
}

.donation-card p {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 20px;
  line-height: 1.7;
}

/* ============================================
   GALLERY
   ============================================ */
.gallery-section {
  background: var(--bg-light);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  height: 200px;
  aspect-ratio: 1/1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(34, 94, 120, 0.8), rgba(26, 75, 96, 0.9));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.gallery-overlay span {
  color: var(--white);
  font-size: 24px;
  width: 50px;
  height: 50px;
  border: 2px solid var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.5);
  transition: var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-item:hover .gallery-overlay span {
  transform: scale(1);
}

/* Gallery video wrapper removed - photo gallery only */

/* ============================================
   PARTNERS (old marquee removed - see bottom of file for grid version)
   ============================================ */

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
  background: var(--bg-light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
}

.contact-info h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 25px;
}

.contact-item {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  align-items: flex-start;
}

.contact-item-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  background: var(--primary-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--primary);
  transition: var(--transition);
}

.contact-item:hover .contact-item-icon {
  background: var(--primary);
  color: var(--white);
  transform: scale(1.1);
}

.contact-item-text h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 3px;
}

.contact-item-text p {
  color: var(--text-muted);
  font-size: 14px;
}

.contact-item-text a {
  color: var(--primary);
}

.contact-item-text a:hover {
  text-decoration: underline;
}

/* Contact Form */
.contact-form h3 {
  font-size: 22px;
  font-weight: 700;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  font-family: inherit;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  background: var(--white);
  color: var(--text-dark);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-bg);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

/* Map */
.map-container {
  margin-top: 40px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.map-container iframe {
  width: 100%;
  height: 350px;
  border: none;
}

/* ============================================
   FOOTER (thageefberr style)
   ============================================ */
.main-footer {
  background: linear-gradient(180deg, #0d2a38 0%, #081c26 100%);
  color: rgba(255, 255, 255, 0.8);
  position: relative;
}

.main-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(to left, var(--primary), var(--gold), var(--primary));
  z-index: 1;
}

.main-footer .footer-top {
  padding: 80px 0 40px;
}

.main-footer .footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.2fr 1.5fr;
  gap: 40px;
}

.main-footer h5 {
  color: var(--white);
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 12px;
}

.main-footer h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(to left, var(--gold), var(--gold-light));
  border-radius: 3px;
}

.main-footer .footer-about p {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.6);
}

.main-footer .footer-social {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.main-footer .footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  transition: var(--transition);
  text-decoration: none;
}

.main-footer .footer-social a:hover {
  background: var(--gold);
  color: var(--primary-dark);
  transform: translateY(-3px);
}

.main-footer .footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.main-footer .footer-links li {
  margin-bottom: 10px;
}

.main-footer .footer-links li a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.main-footer .footer-links li a:hover {
  color: var(--gold);
  padding-right: 5px;
}

.main-footer .footer-links li a i {
  font-size: 10px;
  color: var(--gold);
}

.main-footer .footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  align-items: flex-start;
}

.main-footer .footer-contact-item .contact-icon {
  width: 36px;
  height: 36px;
  background: rgba(216, 180, 74, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 14px;
  flex-shrink: 0;
}

.main-footer .footer-contact-item .contact-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

.main-footer .footer-newsletter p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 16px;
}

.main-footer .footer-newsletter .input-group {
  direction: rtl;
}

.main-footer .footer-newsletter .form-control {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px 0 0 50px;
  padding: 10px 16px;
  color: var(--white);
  font-family: var(--font-primary);
  font-size: 14px;
}

.main-footer .footer-newsletter .form-control::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.main-footer .footer-newsletter .form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(216, 180, 74, 0.1);
  background: rgba(255, 255, 255, 0.1);
}

.main-footer .footer-newsletter .btn-sub {
  background: var(--gold);
  color: var(--primary-dark);
  border: none;
  border-radius: 0 50px 50px 0;
  padding: 10px 20px;
  font-weight: 700;
  font-size: 14px;
  transition: var(--transition);
  font-family: var(--font-primary);
}

.main-footer .footer-newsletter .btn-sub:hover {
  background: var(--gold-light);
}

.main-footer .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 20px 0;
  text-align: center;
}

.main-footer .footer-bottom p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  margin: 0;
}

.main-footer .footer-bottom p a {
  color: var(--gold);
  text-decoration: none;
}

.main-footer .footer-bottom p a:hover {
  text-decoration: underline;
}

/* ============================================
   VIDEO SECTION (thageefberr style)
   ============================================ */
.video-section {
  padding: 100px 0;
  background: var(--white);
}

.video-embed-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.video-embed-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: var(--radius);
}

/* ============================================
   TWITTER FEED SECTION (thageefberr style)
   ============================================ */
.twitter-feed-section {
  padding: 0 0 80px;
  background: var(--bg-light);
}

.twitter-feed-section .section-title-wrapper {
  padding: 60px 0 40px;
}

.twitter-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.twitter-card-static {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  direction: ltr;
  text-align: left;
}

.twitter-card-static:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.twitter-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.twitter-avatar {
  width: 38px;
  height: 38px;
  background: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  flex-shrink: 0;
}

.twitter-user-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  line-height: 1.3;
  min-width: 0;
}

.twitter-user-info strong {
  font-size: 13px;
  color: #14171a;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.twitter-user-info span {
  font-size: 11px;
  color: #657786;
}

.twitter-link-out {
  color: #657786;
  font-size: 13px;
  transition: var(--transition);
}

.twitter-link-out:hover {
  color: var(--primary);
}

.twitter-card-body p {
  font-size: 14px;
  line-height: 1.75;
  color: #14171a;
  margin: 0 0 12px;
  word-wrap: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.twitter-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid rgba(0,0,0,0.06);
  margin-top: auto;
}

.twitter-date {
  font-size: 11px;
  color: #657786;
}

.twitter-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

.twitter-view-btn:hover {
  color: #000;
}

.twitter-follow {
  text-align: center;
  margin-top: 32px;
}

.twitter-follow-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: #000;
  color: #fff;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: var(--transition);
}

.twitter-follow-btn:hover {
  background: #333;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

/* ============================================
   WHATSAPP FLOAT
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  left: 25px;
  width: 60px;
  height: 60px;
  background: #25d366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  z-index: 999;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
  animation: whatsappPulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

@keyframes whatsappPulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: 90%;
  max-height: 85vh;
  border-radius: var(--radius);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  left: 20px;
  color: var(--white);
  font-size: 36px;
  cursor: pointer;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* ============================================
   PAGE HERO (Subpages)
   ============================================ */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  color: var(--white);
  padding: 80px 0 50px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 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");
  animation: patternDrift 30s linear infinite;
}

.page-hero h1 {
  font-size: 36px;
  font-weight: 900;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.page-hero p {
  font-size: 16px;
  opacity: 0.9;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
  position: relative;
  z-index: 1;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.8);
}

.breadcrumb a:hover {
  color: var(--gold);
}

.breadcrumb i {
  font-size: 10px;
  color: var(--gold);
}

.breadcrumb span {
  color: var(--gold);
  font-weight: 600;
}

/* ============================================
   CONTENT SECTIONS (Subpages)
   ============================================ */
.content-section {
  padding: 60px 0;
  background: var(--bg-white);
}

.content-section.section-alt {
  background: var(--bg-light);
}

.content-section .section-title {
  text-align: center;
  margin-bottom: 40px;
}

.content-section .section-title p {
  color: var(--text-muted);
  font-size: 15px;
  margin-top: 10px;
}

/* ============================================
   DOCUMENT CARDS (Subpages) - thageefberr style
   ============================================ */
.document-card {
  display: flex;
  align-items: center;
  gap: 15px;
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 18px 20px;
  transition: var(--transition);
}

.document-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.doc-icon {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  background: linear-gradient(135deg, #fee2e2, #fecaca);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #dc2626;
}

.doc-info {
  flex: 1;
  min-width: 0;
}

.doc-info h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 3px;
}

.doc-info span {
  font-size: 12px;
  color: var(--text-muted);
}

.doc-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.doc-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  text-decoration: none;
  transition: var(--transition);
  border: 2px solid transparent;
}

.doc-btn-view {
  background: var(--primary-light);
  color: var(--primary);
  border-color: var(--primary-light);
}

.doc-btn-view:hover {
  background: var(--primary);
  color: var(--white);
  transform: scale(1.1);
}

.doc-btn-download {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.doc-btn-download:hover {
  background: var(--primary-dark);
  color: var(--white);
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(34, 94, 120, 0.3);
}

/* PDF Viewer Modal */
.pdf-viewer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
}

.pdf-viewer-overlay.active {
  display: flex;
}

.pdf-viewer-container {
  width: 90%;
  height: 90%;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.pdf-viewer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: var(--primary);
  color: var(--white);
}

.pdf-viewer-header h5 {
  font-size: 15px;
  font-weight: 600;
  margin: 0;
}

.pdf-viewer-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  border: none;
  color: var(--white);
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.pdf-viewer-close:hover {
  background: rgba(255,255,255,0.3);
}

.pdf-viewer-body {
  flex: 1;
}

.pdf-viewer-body iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ============================================
   FORM COMPONENTS
   ============================================ */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.form-submit {
  width: 100%;
}

.form-container {
  max-width: 700px;
  margin: 0 auto;
}

.required {
  color: #e74c3c;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
  color: var(--text-muted);
}

.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--primary);
}

/* ============================================
   MULTI-STEP FORM
   ============================================ */
.multi-step-form {
  max-width: 700px;
  margin: 0 auto;
}

.multi-step-form .step {
  display: none;
}

.multi-step-form .step.active {
  display: block;
}

.step-indicators {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
}

.step-indicators .step-indicator {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
  transition: var(--transition);
}

.step-indicators .step-indicator.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  box-shadow: 0 4px 15px rgba(34, 94, 120, 0.3);
}

.step-indicators .step-indicator.completed {
  background: linear-gradient(135deg, var(--primary-light), var(--primary-lighter));
  color: var(--white);
}

/* ============================================
   TABS
   ============================================ */
.tabs {
  display: flex;
  gap: 5px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 10px 20px;
  border: none;
  background: var(--bg-light);
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  box-shadow: 0 4px 15px rgba(34, 94, 120, 0.3);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* ============================================
   ALERTS
   ============================================ */
.alert {
  padding: 15px 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: 500;
}

.alert-success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.alert-error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.alert-warning {
  background: #fff3cd;
  color: #856404;
  border: 1px solid #ffeeba;
}

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  box-shadow: 0 4px 15px rgba(34, 94, 120, 0.3);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(34, 94, 120, 0.4);
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-up {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.scale-in {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* Hero entrance animations */
@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.hero-content h2 {
  animation: fadeDown 0.8s ease 0.2s both;
}

.hero-content p {
  animation: fadeUp 0.8s ease 0.4s both;
}

.hero-content .btn {
  animation: fadeUp 0.8s ease 0.6s both;
}

/* Gold glow animation */
@keyframes goldGlow {
  0%, 100% {
    box-shadow: 0 0 5px rgba(216, 180, 74, 0.3);
  }
  50% {
    box-shadow: 0 0 20px rgba(216, 180, 74, 0.6);
  }
}

/* ============================================
   RESPONSIVE - 992px
   ============================================ */
@media (max-width: 992px) {
  .hamburger {
    display: flex;
  }

  .nav-wrapper nav {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background: var(--white);
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: right 0.3s ease;
    overflow-y: auto;
    padding: 80px 0 20px;
  }

  .nav-wrapper nav.active {
    right: 0;
  }

  .nav-menu {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0;
  }

  .nav-menu > li > a {
    padding: 14px 20px;
    border-bottom: 1px solid var(--border-color);
    justify-content: space-between;
  }

  .nav-menu > li > a::after {
    display: none;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    display: none;
    background: var(--bg-light);
    min-width: auto;
    border-radius: 0;
    padding: 0;
    border: none;
  }

  .dropdown-menu.open {
    display: block;
  }

  .dropdown-menu li a {
    padding: 12px 35px;
    font-size: 13px;
  }

  .btn-donate {
    margin: 10px 20px !important;
    text-align: center;
    justify-content: center;
  }

  .hero-content h2 {
    font-size: 28px;
  }

  .hero-content p {
    font-size: 15px;
  }

  .hero-slider {
    height: 60vh;
    min-height: 400px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .about-image {
    order: -1;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================
   RESPONSIVE - 768px
   ============================================ */
@media (max-width: 768px) {
  .top-bar {
    display: none;
  }

  .hero-slider {
    height: 50vh;
    min-height: 350px;
  }

  .hero-content {
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: none;
    text-align: center;
  }

  .hero-content h2 {
    font-size: 24px;
  }

  .hero-arrows button {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }

  .section-padding {
    padding: 50px 0;
  }

  .section-title {
    font-size: 24px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .stat-number {
    font-size: 28px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .donation-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .page-hero h1 {
    font-size: 26px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   RESPONSIVE - 480px
   ============================================ */
@media (max-width: 480px) {
  .hero-content h2 {
    font-size: 20px;
  }

  .hero-content p {
    font-size: 13px;
  }

  .hero-content .btn {
    display: block;
    margin: 5px 0;
    text-align: center;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-item {
    height: 150px;
  }

  .top-bar-info {
    gap: 10px;
    font-size: 11px;
  }

  .btn {
    padding: 10px 22px;
    font-size: 14px;
  }

  .about-content h2 {
    font-size: 24px;
  }

  .stat-icon {
    width: 55px;
    height: 55px;
    font-size: 24px;
  }

  .donation-card {
    padding: 25px 20px;
  }

  .donation-icon {
    width: 65px;
    height: 65px;
    font-size: 26px;
  }
}

/* ============================================
   SECTION TITLE WRAPPER (thageefberr style)
   ============================================ */
.section-title-wrapper {
  text-align: center;
  margin-bottom: 50px;
}

.section-title-wrapper .section-subtitle {
  color: var(--gold);
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 8px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.section-title-wrapper .section-subtitle i {
  margin-left: 6px;
}

.section-title-wrapper .section-title {
  font-size: 36px;
  font-weight: 900;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-title-wrapper .section-divider {
  width: 80px;
  height: 4px;
  background: linear-gradient(to left, var(--primary), var(--gold));
  border-radius: 4px;
  margin: 0 auto 16px;
}

.section-title-wrapper .section-description {
  color: var(--text-muted);
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   CHARITY PROGRAMS GRID
   ============================================ */
.charity-programs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.charity-card {
  position: relative;
  border-radius: 20px;
  padding: 32px 24px;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  text-decoration: none;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  cursor: pointer;
  border: 2px solid rgba(255, 255, 255, 0.15);
  background: linear-gradient(135deg, rgba(34, 94, 120, 0.75), rgba(26, 75, 96, 0.85));
  background-size: cover;
  background-position: center;
}

.charity-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(34, 94, 120, 0.75), rgba(26, 75, 96, 0.85));
  z-index: 0;
}

.charity-card::after {
  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.05'%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");
  z-index: 1;
  opacity: 0.15;
}

.charity-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 50px rgba(34, 94, 120, 0.5);
  border-color: rgba(255, 255, 255, 0.35);
}

.charity-card-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.charity-card-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: rgba(34, 94, 120, 0.85);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.charity-card-icon i {
  font-size: 32px;
  color: var(--gold);
}

.charity-card:hover .charity-card-icon {
  background: rgba(34, 94, 120, 1);
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(34, 94, 120, 0.4);
}

.charity-card-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.3;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4), 0 1px 3px rgba(0, 0, 0, 0.3);
}

.charity-card-desc {
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  max-width: 220px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.charity-card-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  margin-top: 4px;
}

.charity-card-arrow i {
  font-size: 14px;
  color: var(--white);
  transition: transform 0.3s ease;
}

.charity-card:hover .charity-card-arrow {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
}

.charity-card:hover .charity-card-arrow i {
  transform: translateX(-3px);
}

.charity-card.card-zakat::before    { background: linear-gradient(135deg, rgba(34, 94, 120, 0.75), rgba(26, 75, 96, 0.85)); }
.charity-card.card-sadaqah::before  { background: linear-gradient(135deg, rgba(34, 94, 120, 0.70), rgba(26, 75, 96, 0.80)); }
.charity-card.card-water::before    { background: linear-gradient(135deg, rgba(30, 100, 130, 0.75), rgba(20, 80, 110, 0.85)); }
.charity-card.card-food::before     { background: linear-gradient(135deg, rgba(34, 94, 120, 0.70), rgba(26, 75, 96, 0.80)); }
.charity-card.card-orphan::before   { background: linear-gradient(135deg, rgba(34, 94, 120, 0.75), rgba(26, 75, 96, 0.85)); }
.charity-card.card-iftar::before    { background: linear-gradient(135deg, rgba(34, 94, 120, 0.70), rgba(26, 75, 96, 0.80)); }
.charity-card.card-winter::before   { background: linear-gradient(135deg, rgba(34, 94, 120, 0.75), rgba(26, 75, 96, 0.85)); }
.charity-card.card-renovation::before { background: linear-gradient(135deg, rgba(34, 94, 120, 0.70), rgba(26, 75, 96, 0.80)); }

/* ============================================
   PARTNERS GRID (thageefberr style)
   ============================================ */
.partners-section {
  padding: 80px 0;
  background: var(--bg-light);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.partner-logo {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 20px 15px 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 150px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.04);
  gap: 10px;
  cursor: default;
}

.partner-logo:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.partner-logo img {
  width: 85px;
  height: 85px;
  object-fit: contain;
  border-radius: 50%;
  border: 3px solid var(--gold);
  transition: var(--transition);
  flex-shrink: 0;
}

.partner-logo:hover img {
  transform: scale(1.05);
}

.partner-logo .partner-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  width: 100%;
  height: 100%;
}

.partner-logo .partner-initial {
  width: 85px;
  height: 85px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 30px;
  font-weight: 800;
  flex-shrink: 0;
}

.partner-name-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
  text-align: center;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 100%;
}

/* ============================================
   BOARD SECTION (thageefberr style)
   ============================================ */
.board-section {
  padding: 60px 0 80px;
  background: var(--bg-white);
}

.board-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.board-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
  height: 100%;
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.04);
  padding: 32px 20px;
}

.board-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.board-card .board-image {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px;
  border: 4px solid var(--gold);
  box-shadow: 0 4px 15px rgba(216, 180, 74, 0.25);
}

.board-card .board-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.board-card .board-image .board-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 36px;
  font-weight: 900;
}

.board-card .board-image .board-placeholder i {
  font-size: 40px;
  color: var(--white);
}

.board-card .board-body {
  padding: 0;
}

.board-card .board-body h5 {
  font-size: 17px;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 6px;
  line-height: 1.4;
}

.board-card .board-body .board-position {
  font-size: 14px;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 12px;
}

.board-card .board-body .board-divider {
  width: 40px;
  height: 2px;
  background: var(--gold);
  margin: 0 auto 14px;
}

.board-card .board-body p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.8;
  margin: 0;
}

/* ============================================
   DONATION CTA SECTION (thageefberr style)
   ============================================ */
.donation-cta {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, #1a4b60 100%);
  position: relative;
  overflow: hidden;
}

.donation-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cpath d='M40 5 L75 40 L40 75 L5 40 Z' fill='none' stroke='rgba(216,180,74,0.06)' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 100px 100px;
}

.donation-cta .cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.donation-cta .cta-icon {
  width: 80px;
  height: 80px;
  background: rgba(216, 180, 74, 0.15);
  border: 2px solid rgba(216, 180, 74, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 34px;
  color: var(--gold);
}

.donation-cta h2 {
  font-size: 38px;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 16px;
}

.donation-cta p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  max-width: 650px;
  margin: 0 auto 32px;
  line-height: 1.8;
}

.donation-cta .btn-cta {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--primary-dark);
  border: none;
  padding: 18px 48px;
  border-radius: 50px;
  font-weight: 900;
  font-size: 22px;
  transition: var(--transition);
  box-shadow: 0 8px 30px rgba(216, 180, 74, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-primary);
}

.donation-cta .btn-cta:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(216, 180, 74, 0.5);
  color: var(--primary-dark);
}

/* ============================================
   BTN VIEW ALL
   ============================================ */
.btn-view-all {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  border-radius: 50px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-top: 20px;
}

.btn-view-all:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(34, 94, 120, 0.3);
}

.btn-view-all i:first-child {
  font-size: 14px;
}

.btn-view-all i:last-child {
  transition: transform 0.3s ease;
}

.btn-view-all:hover i:last-child {
  transform: translateX(-5px);
}

/* ============================================
   RESPONSIVE - NEW SECTIONS
   ============================================ */
@media (max-width: 1199.98px) {
  .charity-programs-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .charity-card {
    min-height: 180px;
    padding: 24px 18px;
  }

  .charity-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
  }

  .charity-card-icon i {
    font-size: 26px;
  }

  .charity-card-title {
    font-size: 17px;
  }

  .charity-card-desc {
    font-size: 12px;
  }

  .partners-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 991.98px) {
  .section-title-wrapper .section-title {
    font-size: 26px;
  }

  .charity-programs-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }

  .charity-card {
    min-height: 160px;
    padding: 20px 14px;
    border-radius: 16px;
  }

  .charity-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
  }

  .charity-card-icon i {
    font-size: 22px;
  }

  .charity-card-title {
    font-size: 15px;
  }

  .charity-card-desc {
    font-size: 11px;
    display: none;
  }

  .charity-card-arrow {
    display: none;
  }

  .partners-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .board-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .donation-cta h2 {
    font-size: 28px;
  }

  .donation-cta .btn-cta {
    font-size: 18px;
    padding: 14px 32px;
  }
}

@media (max-width: 767.98px) {
  .charity-programs-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .charity-card {
    min-height: 140px;
    padding: 18px 12px;
    border-radius: 14px;
  }

  .charity-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
  }

  .charity-card-icon i {
    font-size: 20px;
  }

  .charity-card-title {
    font-size: 14px;
  }

  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .board-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .donation-cta h2 {
    font-size: 24px;
  }
}

@media (max-width: 575.98px) {
  .section-title-wrapper .section-title {
    font-size: 22px;
  }

  .charity-programs-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .charity-card {
    min-height: 120px;
    padding: 16px 10px;
  }

  .charity-card-icon {
    width: 42px;
    height: 42px;
  }

  .charity-card-icon i {
    font-size: 18px;
  }

  .charity-card-title {
    font-size: 13px;
  }

  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .partner-logo {
    height: 130px;
    padding: 15px 10px 10px;
  }

  .partner-logo img,
  .partner-logo .partner-initial {
    width: 65px;
    height: 65px;
  }

  .board-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .donation-cta {
    padding: 60px 0;
  }

  .donation-cta h2 {
    font-size: 22px;
  }

  .donation-cta p {
    font-size: 15px;
  }
}

/* ============================================
   RESPONSIVE - TWITTER & VIDEO
   ============================================ */
@media (max-width: 991.98px) {
  .twitter-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575.98px) {
  .twitter-grid-3 {
    grid-template-columns: 1fr;
  }

  .twitter-card-static {
    padding: 20px;
  }

  .video-section {
    padding: 60px 0;
  }

  .main-footer .footer-top {
    padding: 50px 0 20px;
  }

  .main-footer .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* ============================================
   HERO BADGE
   ============================================ */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(216, 180, 74, 0.2);
  border: 1px solid rgba(216, 180, 74, 0.4);
  color: var(--gold);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
  backdrop-filter: blur(10px);
}
