/* ==========================================================================
   MASJIDUL AQSA, POTHANUR - ISLAMIC & MASJID WEBSITE THEME
   Author: Masjidul Aqsa Charitable Trust / Antigravity Web
   Description: Premium, Modern, Responsive HTML5 & WordPress / Elementor Theme
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS VARIABLES & DESIGN SYSTEM (Theme Tokens)
   -------------------------------------------------------------------------- */
:root {
  /* Islamic Theme Primary Palettes */
  --primary-950: #041712;
  --primary-900: #07251d;
  --primary-800: #0d382d;
  --primary-700: #124d3e;
  --primary-600: #176450;
  --primary-500: #1d7b63;
  --primary-400: #299b7e;
  --primary-300: #42be9f;
  --primary-100: #e2f4ef;
  --primary-50:  #f0faf6;

  /* Luxurious Gold & Warm Accents */
  --gold-700: #9e7512;
  --gold-600: #b88a18;
  --gold-500: #d4af37;
  --gold-400: #e5c158;
  --gold-300: #f1d78a;
  --gold-100: #fbf5e2;
  --gold-50:  #fdfbf3;

  /* Neutral & Base Shades */
  --dark-950: #04140f;
  --dark-900: #091a15;
  --dark-800: #112821;
  --dark-700: #1c3830;
  --dark-600: #2b4c42;
  
  --light-50:  #ffffff;
  --light-100: #fbfbf9;
  --light-200: #f4f3ed;
  --light-300: #e9e7dc;
  --light-400: #d6d3c3;

  --text-main: #1f2937;
  --text-muted: #4b5563;
  --text-light: #9ca3af;
  --text-white: #ffffff;
  --text-gold:  #d4af37;

  /* Alert / Highlights */
  --accent-red: #d94343;
  --accent-blue: #2563eb;
  --accent-green: #10b981;

  /* Typography */
  --font-heading: 'Cinzel', 'Playfair Display', serif;
  --font-arabic: 'Amiri', 'Traditional Arabic', serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Elevations & Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 14px rgba(7, 37, 29, 0.08);
  --shadow-lg: 0 10px 30px rgba(7, 37, 29, 0.12);
  --shadow-xl: 0 20px 40px rgba(7, 37, 29, 0.18);
  --shadow-gold: 0 8px 25px rgba(212, 175, 55, 0.35);
  --shadow-emerald: 0 10px 30px rgba(18, 77, 62, 0.25);

  /* Transitions & Radii */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;
  --radius-full: 9999px;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-slow: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* --------------------------------------------------------------------------
   2. GLOBAL RESETS & BASE STYLES
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--light-100);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
  border: none;
}

button {
  cursor: pointer;
  background: none;
}

/* --------------------------------------------------------------------------
   3. TYPOGRAPHY & ARABIC CALLIGRAPHY
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--primary-900);
  font-weight: 700;
  line-height: 1.25;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.8rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 0.95rem; }

.arabic-verse {
  font-family: var(--font-arabic);
  font-size: 1.55rem;
  line-height: 2.1;
  direction: rtl;
  text-align: center;
  color: var(--gold-600);
  margin-bottom: 0.75rem;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.arabic-verse.verse-large {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 2.2;
}

.arabic-verse.verse-white {
  color: #ffd700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

/* --------------------------------------------------------------------------
   4. LAYOUT & CONTAINER UTILITIES
   -------------------------------------------------------------------------- */
.aqsa-container, .elementor-container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.aqsa-container-fluid {
  width: 100%;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.aqsa-section {
  padding: 5.5rem 0;
  position: relative;
  width: 100%;
}

.aqsa-section-sm {
  padding: 3.5rem 0;
}

.aqsa-section-lg {
  padding: 7rem 0;
}

/* Islamic Pattern Backgrounds */
.bg-islamic-pattern {
  background-color: var(--primary-900);
  background-image: radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.08) 1px, transparent 1px),
                    radial-gradient(circle at 0% 0%, rgba(255, 255, 255, 0.03) 2px, transparent 2px);
  background-size: 32px 32px, 64px 64px;
}

.bg-pattern-light {
  background-color: var(--light-200);
  background-image: radial-gradient(rgba(18, 77, 62, 0.05) 1px, transparent 0);
  background-size: 24px 24px;
}

.bg-emerald-gradient {
  background: linear-gradient(135deg, #041712 0%, #07251d 40%, #0d382d 100%);
  color: var(--light-50);
}

.bg-gold-gradient {
  background: linear-gradient(135deg, var(--gold-600) 0%, var(--gold-500) 50%, var(--gold-400) 100%);
  color: var(--primary-900);
}

/* Section Header Motif */
.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 3.5rem;
  position: relative;
}

.section-subtitle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold-600);
  background: rgba(212, 175, 55, 0.12);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.section-subtitle.subtitle-light {
  color: #ffd700;
  background: rgba(212, 175, 55, 0.22);
  border: 1.5px solid #e5c158;
  font-weight: 800;
}

.section-title {
  margin-bottom: 1rem;
  position: relative;
}

.section-title.title-white {
  color: #ffffff !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.section-desc.desc-white {
  color: rgba(255, 255, 255, 0.9);
}

.islamic-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 1.25rem 0;
}

.islamic-divider::before,
.islamic-divider::after {
  content: '';
  height: 1px;
  width: 60px;
  background: linear-gradient(90deg, transparent, var(--gold-500));
}

.islamic-divider::after {
  background: linear-gradient(90deg, var(--gold-500), transparent);
}

.islamic-divider i, .islamic-divider svg {
  color: var(--gold-500);
  font-size: 1.1rem;
}

/* --------------------------------------------------------------------------
   5. BUTTONS & INTERACTIVE ELEMENTS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius-md);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
  color: var(--primary-900);
  box-shadow: var(--shadow-gold);
  border: 1px solid rgba(255, 255, 255, 0.4);
  font-weight: 700;
}

.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-600), var(--gold-500));
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(212, 175, 55, 0.45);
  color: var(--primary-950);
}

.btn-emerald {
  background: linear-gradient(135deg, var(--primary-700), var(--primary-600));
  color: var(--light-50);
  box-shadow: var(--shadow-emerald);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-emerald:hover {
  background: linear-gradient(135deg, var(--primary-800), var(--primary-700));
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(18, 77, 62, 0.35);
  color: var(--light-50);
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold-400);
  border: 2px solid var(--gold-400);
}

.btn-outline-gold:hover {
  background: var(--gold-500);
  color: var(--primary-900);
  transform: translateY(-2px);
}

.btn-outline-emerald {
  background: transparent;
  color: var(--primary-700);
  border: 2px solid var(--primary-700);
}

.btn-outline-emerald:hover {
  background: var(--primary-700);
  color: var(--light-50);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.08);
  color: var(--light-50);
  border: 2px solid rgba(255, 255, 255, 0.6);
}

.btn-outline-white:hover {
  background: var(--light-50);
  color: var(--primary-900);
  border-color: var(--light-50);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.55rem 1.15rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 1rem 2.2rem;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

/* --------------------------------------------------------------------------
   6. TOP BAR & NAVIGATION (Masjidul Aqsa strictly ONE line)
   -------------------------------------------------------------------------- */
.top-bar {
  background-color: var(--primary-900);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.top-bar-item i {
  color: var(--gold-400);
}

.top-bar-ticker {
  background: rgba(212, 175, 55, 0.15);
  border-radius: var(--radius-full);
  padding: 0.15rem 0.75rem;
  color: var(--gold-300);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.main-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

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

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  gap: 1.5rem;
}

/* Brand Logo with STRICT ONE-LINE TITLE */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
  flex-shrink: 0;
  white-space: nowrap;
}

.brand-logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
  transition: var(--transition);
  flex-shrink: 0;
}

.brand-info {
  display: flex;
  flex-direction: column;
  white-space: nowrap;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary-900);
  letter-spacing: 0.5px;
  line-height: 1.15;
  white-space: nowrap !important;
  display: block;
}

.brand-subtitle {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold-600);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  white-space: nowrap !important;
  display: block;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  flex-wrap: nowrap;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--dark-800);
  padding: 0.5rem 0.2rem;
  position: relative;
  transition: var(--transition);
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2.5px;
  background: var(--gold-500);
  border-radius: var(--radius-full);
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-700);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--primary-900);
  padding: 0.3rem;
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   7. HERO SECTION
   -------------------------------------------------------------------------- */
.aqsa-hero {
  position: relative;
  background: linear-gradient(135deg, rgba(4, 23, 18, 0.95), rgba(7, 37, 29, 0.9)),
              url('../images/hero-masjid.jpg') center/cover no-repeat;
  color: var(--light-50);
  padding: 6.5rem 0 5.5rem;
  overflow: hidden;
}

.aqsa-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.18) 0%, transparent 60%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 680px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(212, 175, 55, 0.16);
  border: 1px solid rgba(212, 175, 55, 0.4);
  padding: 0.45rem 1.15rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-300);
  margin-bottom: 1.25rem;
  backdrop-filter: blur(8px);
}

.hero-title {
  color: var(--light-50);
  margin-bottom: 1.25rem;
  font-weight: 800;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-title .highlight {
  color: var(--gold-400);
  position: relative;
}

.hero-verse-box {
  background: rgba(4, 23, 18, 0.7);
  border-left: 4px solid var(--gold-500);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.75rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.hero-verse-box .translation {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.95);
  font-style: italic;
  margin-top: 0.4rem;
}

.hero-verse-box .ref {
  font-size: 0.8rem;
  color: var(--gold-400);
  font-weight: 600;
  margin-top: 0.3rem;
  display: block;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.hero-highlights {
  display: flex;
  gap: 2rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-stat {
  display: flex;
  flex-direction: column;
}

.hero-stat .num {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--gold-400);
  line-height: 1;
}

.hero-stat .label {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 0.35rem;
}

/* Hero Live Prayer Time Card */
.hero-prayer-card {
  background: rgba(7, 37, 29, 0.92);
  border: 1.5px solid rgba(212, 175, 55, 0.45);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-xl);
  backdrop-filter: blur(16px);
  color: var(--light-50);
  position: relative;
  overflow: hidden;
}

.hero-prayer-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.25), transparent 70%);
  pointer-events: none;
}

.prayer-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
}

.prayer-header-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--gold-300);
  font-weight: 700;
}

.hijri-date-badge {
  font-size: 0.8rem;
  color: var(--gold-400);
  background: rgba(212, 175, 55, 0.15);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-weight: 600;
}

.current-time-display {
  text-align: center;
  background: rgba(4, 23, 18, 0.7);
  padding: 1rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.current-time-clock {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--light-50);
  letter-spacing: 1px;
}

.next-prayer-tag {
  font-size: 0.85rem;
  color: var(--gold-400);
  font-weight: 600;
  margin-top: 0.25rem;
}

.prayer-list-mini {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.prayer-row-mini {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0.9rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  transition: var(--transition);
  font-size: 0.92rem;
}

.prayer-row-mini.active-prayer {
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.35), rgba(212, 175, 55, 0.15));
  border: 1px solid var(--gold-500);
  font-weight: 700;
}

.prayer-row-mini.active-prayer .p-name {
  color: var(--gold-300);
}

.prayer-row-mini .p-name {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.prayer-row-mini .p-time {
  font-weight: 700;
  color: var(--light-50);
}

/* --------------------------------------------------------------------------
   8. PRAYER TIMES TIMETABLE SECTION
   -------------------------------------------------------------------------- */
.prayer-timetable-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.prayer-card-item {
  background: var(--light-50);
  border-radius: var(--radius-md);
  padding: 1.6rem 1.2rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(18, 77, 62, 0.08);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.prayer-card-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary-700);
  transition: var(--transition);
}

.prayer-card-item:hover, .prayer-card-item.is-current {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-500);
}

.prayer-card-item.is-current::before {
  background: var(--gold-500);
  height: 6px;
}

.prayer-card-item.is-current {
  background: linear-gradient(180deg, #fffbf0 0%, #ffffff 100%);
}

.prayer-card-item .prayer-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 0.75rem;
  background: rgba(18, 77, 62, 0.08);
  color: var(--primary-700);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  transition: var(--transition);
}

.prayer-card-item.is-current .prayer-icon {
  background: var(--gold-500);
  color: var(--primary-900);
}

.prayer-card-item .prayer-name-ar {
  font-family: var(--font-arabic);
  font-size: 1.15rem;
  color: var(--gold-600);
  line-height: 1;
}

.prayer-card-item .prayer-name-en {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-900);
  margin: 0.2rem 0 0.5rem;
}

.prayer-card-item .athan-time {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.prayer-card-item .iqamah-time {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary-800);
  margin-top: 0.25rem;
}

/* Jumah Highlight Banner */
.jumah-alert-box {
  background: linear-gradient(135deg, #041712, #07251d);
  border: 1.5px solid var(--gold-500);
  border-radius: var(--radius-md);
  padding: 1.5rem 2rem;
  margin-top: 2.5rem;
  color: var(--light-50);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.jumah-info-text h4 {
  color: var(--gold-400);
  margin-bottom: 0.25rem;
}

.jumah-info-text p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
}

/* --------------------------------------------------------------------------
   9. ABOUT SECTION & STRATEGIC POSITION
   -------------------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.about-image-stack {
  position: relative;
}

.about-img-main {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  width: 90%;
  border: 4px solid var(--light-50);
}

.about-img-sub {
  position: absolute;
  bottom: -20px;
  right: 0;
  width: 55%;
  border-radius: var(--radius-md);
  border: 4px solid var(--light-50);
  box-shadow: var(--shadow-xl);
}

.experience-badge {
  position: absolute;
  top: 25px;
  left: -20px;
  background: var(--gold-500);
  color: var(--primary-900);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-gold);
  text-align: center;
  font-weight: 800;
  line-height: 1.2;
}

.experience-badge .years {
  font-size: 2rem;
  font-family: var(--font-heading);
  display: block;
}

.experience-badge .text {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.feature-check-list {
  margin: 1.75rem 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.feature-check-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.95rem;
  color: var(--dark-800);
  font-weight: 500;
}

.feature-check-item i {
  color: var(--gold-600);
  font-size: 1.1rem;
  margin-top: 0.2rem;
}

/* --------------------------------------------------------------------------
   10. TIMELINE SECTION (1998 to 2026+)
   -------------------------------------------------------------------------- */
.timeline-track {
  position: relative;
  max-width: 960px;
  margin: 3rem auto 0;
  padding: 2rem 0;
}

.timeline-track::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: linear-gradient(180deg, var(--gold-400), var(--primary-600), var(--gold-500));
  transform: translateX(-50%);
}

.timeline-card {
  position: relative;
  width: 50%;
  padding: 1.5rem 2.5rem;
  box-sizing: border-box;
}

.timeline-card.left {
  left: 0;
  text-align: right;
}

.timeline-card.right {
  left: 50%;
  text-align: left;
}

.timeline-dot {
  position: absolute;
  top: 2rem;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold-500);
  border: 4px solid var(--light-50);
  box-shadow: 0 0 0 3px var(--primary-700);
  z-index: 2;
}

.timeline-card.left .timeline-dot {
  right: -11px;
}

.timeline-card.right .timeline-dot {
  left: -11px;
}

.timeline-content-box {
  background: var(--light-50);
  padding: 1.75rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(18, 77, 62, 0.08);
  transition: var(--transition);
}

.timeline-content-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-500);
}

.timeline-year-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--gold-600);
  background: var(--gold-50);
  padding: 0.25rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
  border: 1px solid var(--gold-300);
}

.timeline-img {
  border-radius: var(--radius-sm);
  margin-top: 1rem;
  height: 160px;
  width: 100%;
  object-fit: cover;
}

/* --------------------------------------------------------------------------
   11. ACTIVITIES & HUB OF LEARNING (Tabs & Cards)
   -------------------------------------------------------------------------- */
.activity-tabs {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.activity-tab-btn {
  padding: 0.75rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  background: var(--light-50);
  color: var(--dark-700);
  border: 1px solid rgba(18, 77, 62, 0.15);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.activity-tab-btn:hover, .activity-tab-btn.active {
  background: var(--primary-700);
  color: var(--light-50);
  border-color: var(--primary-700);
  box-shadow: var(--shadow-emerald);
}

.activity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
}

.activity-card {
  background: var(--light-50);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(18, 77, 62, 0.08);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.activity-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.activity-card-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.activity-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.activity-card:hover .activity-card-img img {
  transform: scale(1.06);
}

.activity-category-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(7, 37, 29, 0.85);
  color: var(--gold-300);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.activity-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.activity-card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--primary-900);
  margin-bottom: 0.75rem;
}

.activity-card-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.activity-card-points {
  margin-bottom: 1.25rem;
}

.activity-card-points li {
  font-size: 0.88rem;
  color: var(--dark-800);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

.activity-card-points li i {
  color: var(--primary-600);
  font-size: 0.85rem;
}

/* --------------------------------------------------------------------------
   12. GRAND EXPANSION PROJECT SECTION (High Visibility & Rich Emerald Contrast)
   -------------------------------------------------------------------------- */
.expansion-section {
  background-color: #061f18 !important;
  background: radial-gradient(circle at 85% 15%, rgba(212, 175, 55, 0.15) 0%, transparent 60%),
              radial-gradient(circle at 10% 85%, rgba(18, 77, 62, 0.35) 0%, transparent 50%),
              linear-gradient(145deg, #041712 0%, #07251d 40%, #0d382d 100%) !important;
  color: #ffffff !important;
  position: relative;
  overflow: hidden;
  border-top: 3px solid #d4af37;
  border-bottom: 3px solid #d4af37;
}

.expansion-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.expansion-info p {
  color: #e5edf0 !important;
  font-size: 1.02rem;
  line-height: 1.75;
}

.urgency-card {
  background: rgba(4, 23, 18, 0.85) !important;
  border: 2px solid rgba(212, 175, 55, 0.45) !important;
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(12px);
}

.fund-goal-banner {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.28) 0%, rgba(7, 37, 29, 0.95) 100%) !important;
  border: 2px solid #d4af37 !important;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 2rem;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.fund-goal-banner .target-amount {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 900;
  color: #ffd700 !important;
  display: block;
  text-shadow: 0 2px 10px rgba(212, 175, 55, 0.5);
}

.fund-goal-banner .target-label {
  font-size: 0.95rem;
  color: #ffffff !important;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
}

.progress-track {
  width: 100%;
  height: 18px;
  background: rgba(0, 0, 0, 0.6) !important;
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: var(--radius-full);
  margin: 1.25rem 0 0.5rem;
  overflow: hidden;
  position: relative;
}

.progress-fill {
  height: 100%;
  width: 65%;
  background: linear-gradient(90deg, #d4af37, #ffe066) !important;
  border-radius: var(--radius-full);
  position: relative;
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.7);
  transition: width 1.5s ease-in-out;
}

.progress-stats-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: #ffffff !important;
  font-weight: 700;
}

/* High Visibility Giving Action Buttons */
.expansion-giving-btn {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1.5px solid rgba(212, 175, 55, 0.55) !important;
  color: #ffffff !important;
  padding: 0.95rem 1.25rem !important;
  border-radius: 10px !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  transition: var(--transition) !important;
  cursor: pointer;
  width: 100%;
}

.expansion-giving-btn:hover {
  background: rgba(212, 175, 55, 0.28) !important;
  border-color: #ffd700 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.35) !important;
}

.expansion-giving-btn strong {
  color: #ffd700 !important;
  font-size: 1.15rem !important;
}

.expansion-features-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.exp-feat-box {
  background: rgba(4, 23, 18, 0.8) !important;
  border: 1.5px solid rgba(212, 175, 55, 0.35) !important;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: var(--transition);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

.exp-feat-box:hover {
  background: rgba(212, 175, 55, 0.18) !important;
  border-color: #ffd700 !important;
  transform: translateY(-4px);
}

.exp-feat-box .feat-icon {
  font-size: 1.8rem;
  color: #ffd700 !important;
  margin-bottom: 0.75rem;
}

.exp-feat-box h4 {
  color: #ffffff !important;
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
}

.exp-feat-box p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9) !important;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   13. DONATION PACKAGES & GIVING TIERS (Sadaqah Jariyah Calculator)
   -------------------------------------------------------------------------- */
.giving-tiers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.giving-card {
  background: var(--light-50);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(18, 77, 62, 0.1);
  transition: var(--transition);
  position: relative;
}

.giving-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: var(--gold-500);
}

.giving-card.featured-tier {
  border: 2px solid var(--gold-500);
  background: linear-gradient(180deg, #fdfbf3 0%, #ffffff 100%);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold-500);
  color: var(--primary-900);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.25rem 0.85rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
}

.giving-card .tier-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--primary-900);
  margin-bottom: 0.5rem;
}

.giving-card .tier-amount {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-700);
  margin-bottom: 0.75rem;
}

.giving-card .tier-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* --------------------------------------------------------------------------
   14. GALLERY SECTION & LIGHTBOX
   -------------------------------------------------------------------------- */
.gallery-filter-bar {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.gallery-filter-btn {
  padding: 0.6rem 1.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  background: var(--light-50);
  color: var(--dark-800);
  border: 1px solid rgba(18, 77, 62, 0.12);
  transition: var(--transition);
}

.gallery-filter-btn:hover, .gallery-filter-btn.active {
  background: var(--gold-500);
  color: var(--primary-900);
  border-color: var(--gold-500);
}

.gallery-masonry {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 260px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(7, 37, 29, 0.92) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  opacity: 0;
  transition: var(--transition);
}

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

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

.gallery-item-title {
  color: var(--light-50);
  font-size: 1.05rem;
  font-weight: 700;
}

.gallery-item-tag {
  color: var(--gold-400);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   15. FAQ ACCORDION
   -------------------------------------------------------------------------- */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.faq-item {
  background: var(--light-50);
  border-radius: var(--radius-md);
  border: 1px solid rgba(18, 77, 62, 0.08);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition);
}

.faq-question {
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 700;
  color: var(--primary-900);
  font-size: 1.02rem;
  user-select: none;
}

.faq-question i {
  color: var(--gold-600);
  transition: var(--transition);
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.3s ease;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.faq-item.active .faq-answer {
  padding: 0 1.5rem 1.25rem;
  max-height: 300px;
}

/* --------------------------------------------------------------------------
   16. FOOTER & BANK ACCOUNT DETAILS
   -------------------------------------------------------------------------- */
.main-footer {
  background: var(--dark-950);
  color: rgba(255, 255, 255, 0.85);
  padding: 5rem 0 2rem;
  border-top: 4px solid var(--gold-500);
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 0.9fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-widget-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--gold-400);
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.6rem;
}

.footer-widget-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 2px;
  background: var(--gold-500);
}

.footer-about-text {
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer-links li {
  margin-bottom: 0.65rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--gold-400);
  transform: translateX(4px);
}

.footer-bank-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  font-size: 0.88rem;
}

.footer-bank-card .bank-name {
  color: var(--gold-300);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

/* --------------------------------------------------------------------------
   17. MODALS (Donation, Bank Details & Lightbox)
   -------------------------------------------------------------------------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 20, 15, 0.85);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-window {
  background: var(--light-50);
  border-radius: var(--radius-lg);
  max-width: 620px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  border: 2px solid var(--gold-500);
  transform: translateY(20px) scale(0.96);
  transition: var(--transition);
  position: relative;
}

.modal-backdrop.active .modal-window {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.06);
  color: var(--dark-800);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: var(--transition);
  z-index: 10;
}

.modal-close-btn:hover {
  background: var(--accent-red);
  color: var(--light-50);
}

.modal-header {
  padding: 2rem 2rem 1.25rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.modal-body {
  padding: 2rem;
}

.bank-detail-box {
  background: var(--gold-50);
  border: 1px solid var(--gold-300);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-top: 1.25rem;
}

.bank-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.45rem 0;
  border-bottom: 1px dashed rgba(212, 175, 55, 0.4);
  font-size: 0.92rem;
}

.bank-row:last-child {
  border-bottom: none;
}

.copy-btn {
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  background: var(--primary-700);
  color: var(--light-50);
}

/* Lightbox Image Preview */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.94);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

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

.lightbox-img-wrapper {
  max-width: 900px;
  max-height: 80vh;
}

.lightbox-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: var(--radius-md);
}

/* --------------------------------------------------------------------------
   18. RESPONSIVE MEDIA QUERIES
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-grid, .about-grid, .expansion-grid, .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .timeline-track::before {
    left: 20px;
  }

  .timeline-card {
    width: 100%;
    left: 0 !important;
    padding-left: 55px;
    padding-right: 0;
    text-align: left !important;
  }

  .timeline-card .timeline-dot {
    left: 9px !important;
    right: auto !important;
  }

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

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

  .mobile-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--light-50);
    flex-direction: column;
    padding: 2rem;
    box-shadow: var(--shadow-xl);
    transform: translateY(-120%);
    transition: var(--transition);
    border-bottom: 3px solid var(--gold-500);
    z-index: 999;
  }

  .nav-menu.active {
    transform: translateY(0);
  }

  .nav-actions {
    display: none;
  }

  .aqsa-section {
    padding: 3.5rem 0;
  }

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

  .giving-tiers-grid {
    grid-template-columns: 1fr;
  }

  .expansion-features-list {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   ELEMENTOR FULL-WIDTH BLEED & LAYOUT RESET
   ========================================================================== */
html, body {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: hidden !important;
}

#primary, #content, .site-main, .elementor-fullwidth-main, .entry-content {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.elementor-section.elementor-section-boxed > .elementor-container {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
}

.elementor-column-gap-default > .elementor-column > .elementor-element-populated {
  padding: 0 !important;
}

/* Edge-to-Edge Bleed for All Custom Aqsa Blocks */
.aqsa-hero,
.aqsa-section,
.expansion-section,
.top-bar,
.main-header,
.main-footer,
.aqsa-header-elementor-wrapper {
  width: 100vw !important;
  position: relative !important;
  left: 50% !important;
  right: 50% !important;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
  box-sizing: border-box !important;
}

.aqsa-hero .aqsa-container,
.aqsa-section .aqsa-container,
.expansion-section .aqsa-container,
.top-bar .aqsa-container,
.main-header .aqsa-container,
.main-footer .aqsa-container {
  max-width: 1240px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 1.5rem !important;
  padding-right: 1.5rem !important;
  width: 100% !important;
  position: static !important;
  left: auto !important;
  right: auto !important;
}

