/* ============================================
   Islamic Center of Jarrell - Modern Design System
   ============================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600;9..40,700&display=swap');

/* CSS Custom Properties */
:root {
  /* Primary Colors - Deep Emerald & Gold */
  --primary: #0d4a3e;
  --primary-light: #1a6b5a;
  --primary-dark: #083028;
  --accent: #c9a227;
  --accent-light: #e3c04b;
  --accent-dark: #9a7b1d;
  
  /* Neutrals */
  --white: #ffffff;
  --off-white: #faf9f7;
  --cream: #f5f2eb;
  --gray-100: #f0ede6;
  --gray-200: #e5e0d5;
  --gray-300: #c9c4b8;
  --gray-400: #9a948a;
  --gray-500: #706b62;
  --gray-600: #4a4640;
  --gray-700: #2d2a26;
  --gray-800: #1a1816;
  --black: #0a0908;
  
  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(10, 9, 8, 0.05);
  --shadow-md: 0 4px 12px rgba(10, 9, 8, 0.08);
  --shadow-lg: 0 12px 32px rgba(10, 9, 8, 0.12);
  --shadow-xl: 0 24px 48px rgba(10, 9, 8, 0.16);
  
  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
  --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--gray-700);
  background-color: var(--white);
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--gray-800);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: var(--space-md);
  color: var(--gray-600);
}

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

a:hover {
  color: var(--primary-light);
}

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

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container-wide {
  max-width: 1400px;
}

.container-narrow {
  max-width: 800px;
}

/* Modern Preloader */
.preloader-modern {
  position: fixed;
  inset: 0;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader-modern.hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader-modern .loader {
  width: 48px;
  height: 48px;
  border: 3px solid var(--accent);
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background var(--transition-base), box-shadow var(--transition-base);
}

.header--scrolled {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg) 0;
  transition: padding var(--transition-base);
}

.header--scrolled .header__inner {
  padding: var(--space-md) 0;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.header__logo img {
  height: 56px;
  width: auto;
  transition: height var(--transition-base);
}

.header--scrolled .header__logo img {
  height: 44px;
}

.header__logo-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
  transition: color var(--transition-base);
}

.header--scrolled .header__logo-text {
  color: var(--gray-800);
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  gap: var(--space-2xl);
}

.nav__list {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  list-style: none;
}

.nav__link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  padding: var(--space-sm) 0;
  position: relative;
  transition: color var(--transition-fast);
}

.header--scrolled .nav__link {
  color: var(--gray-700);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition-base);
}

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

.nav__link:hover {
  color: var(--white);
}

.header--scrolled .nav__link:hover {
  color: var(--primary);
}

/* CTA Button */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
}

.btn--primary {
  background: var(--accent);
  color: var(--gray-800);
}

.btn--primary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--gray-800);
}

.btn--secondary {
  background: var(--white);
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn--secondary:hover {
  background: var(--primary);
  color: var(--white);
}

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

.btn--outline-light:hover {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}

.btn--lg {
  padding: var(--space-lg) var(--space-2xl);
  font-size: 1rem;
}

/* Mobile Menu Toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
}

.nav__toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all var(--transition-base);
}

.header--scrolled .nav__toggle span {
  background: var(--gray-800);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  overflow: hidden;
}

.hero__bg-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  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='1'%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");
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  animation: fadeInUp 1s ease;
}

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

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: rgba(255, 255, 255, 0.1);
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-full);
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: var(--space-xl);
  backdrop-filter: blur(8px);
}

.hero__title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: var(--white);
  margin-bottom: var(--space-lg);
  line-height: 1.1;
}

.hero__title span {
  color: var(--accent);
}

.hero__description {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-2xl);
  line-height: 1.7;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

/* Hero decorative element */
.hero__decoration {
  position: absolute;
  right: -10%;
  top: 50%;
  transform: translateY(-50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.15) 0%, transparent 70%);
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: translateY(-50%) scale(1); opacity: 0.5; }
  50% { transform: translateY(-50%) scale(1.1); opacity: 0.8; }
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
  padding: var(--space-5xl) 0;
}

.section--cream {
  background: var(--cream);
}

.section--dark {
  background: var(--gray-800);
}

.section--dark h2,
.section--dark h3,
.section--dark p {
  color: var(--white);
}

.section--dark p {
  color: rgba(255, 255, 255, 0.7);
}

.section__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--space-4xl);
}

.section__eyebrow {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-md);
}

.section__title {
  margin-bottom: var(--space-lg);
}

.section__description {
  font-size: 1.125rem;
  color: var(--gray-500);
}

/* ============================================
   PRAYER TIMES CARD
   ============================================ */
.prayer-times {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  max-width: 500px;
  margin: 0 auto;
}

.prayer-times__header {
  background: var(--primary);
  color: var(--white);
  padding: var(--space-xl);
  text-align: center;
}

.prayer-times__header h3 {
  color: var(--white);
  margin-bottom: var(--space-sm);
}

.prayer-times__date {
  color: var(--accent);
  font-size: 0.9375rem;
}

.prayer-times__body {
  padding: var(--space-lg);
}

.prayer-times__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  transition: background var(--transition-fast);
}

.prayer-times__item:hover {
  background: var(--gray-100);
}

.prayer-times__item--active {
  background: var(--primary);
  color: var(--white);
}

.prayer-times__item--active:hover {
  background: var(--primary-light);
}

.prayer-times__name {
  font-weight: 600;
  font-size: 1rem;
}

.prayer-times__time {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
}

.prayer-times__item--active .prayer-times__name,
.prayer-times__item--active .prayer-times__time {
  color: var(--white);
}

/* Jummah Card */
.jummah-card {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  text-align: center;
  color: var(--gray-800);
  max-width: 400px;
  margin: var(--space-2xl) auto 0;
}

.jummah-card h4 {
  color: var(--gray-800);
  margin-bottom: var(--space-lg);
}

.jummah-times {
  display: flex;
  justify-content: center;
  gap: var(--space-3xl);
}

.jummah-time {
  text-align: center;
}

.jummah-time__label {
  font-size: 0.875rem;
  font-weight: 500;
  opacity: 0.8;
  margin-bottom: var(--space-xs);
}

.jummah-time__value {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
}

/* ============================================
   ABOUT / WELCOME SECTION
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.about__image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about__image img {
  width: 100%;
  height: auto;
  transition: transform var(--transition-slow);
}

.about__image:hover img {
  transform: scale(1.05);
}

.about__image::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 3px solid var(--accent);
  border-radius: var(--radius-xl);
  pointer-events: none;
  transform: translate(12px, 12px);
  z-index: -1;
}

.about__content h2 {
  margin-bottom: var(--space-lg);
}

.about__content p {
  margin-bottom: var(--space-md);
}

.about__list {
  list-style: none;
  margin: var(--space-xl) 0;
}

.about__list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-sm) 0;
}

.about__list li::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: var(--accent);
  color: var(--gray-800);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* ============================================
   CONSTRUCTION PROGRESS
   ============================================ */
.construction-progress {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-md);
}

.progress-phase {
  margin-bottom: var(--space-2xl);
}

.progress-phase:last-child {
  margin-bottom: 0;
}

.progress-phase__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-md);
}

.progress-phase__title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gray-800);
}

.progress-phase__status {
  font-size: 0.875rem;
  font-weight: 600;
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
}

.progress-phase__status--complete {
  background: #dcfce7;
  color: #15803d;
}

.progress-phase__status--in-progress {
  background: #fef3c7;
  color: #b45309;
}

.progress-phase__status--pending {
  background: var(--gray-100);
  color: var(--gray-500);
}

.progress-bar {
  height: 8px;
  background: var(--gray-200);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: var(--space-lg);
}

.progress-bar__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: var(--radius-full);
  transition: width 1s ease;
}

.progress-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-md);
}

.progress-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md);
  background: var(--gray-100);
  border-radius: var(--radius-md);
}

.progress-item__icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
}

.progress-item--complete .progress-item__icon {
  background: #dcfce7;
  color: #15803d;
}

.progress-item--pending .progress-item__icon {
  background: var(--gray-200);
  color: var(--gray-500);
}

.progress-item__text {
  font-size: 0.9375rem;
}

/* Construction Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-lg);
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}

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

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

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition-base);
}

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

/* ============================================
   PILLARS OF ISLAM
   ============================================ */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-xl);
}

.pillar-card {
  text-align: center;
  padding: var(--space-2xl) var(--space-lg);
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all var(--transition-base);
}

.pillar-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-8px);
  border-color: var(--accent);
}

.pillar-card__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--accent);
  border: 2px solid var(--accent);
  border-radius: 50%;
  transition: all var(--transition-base);
}

.pillar-card:hover .pillar-card__icon {
  background: var(--accent);
  color: var(--gray-800);
}

.pillar-card__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: var(--space-xs);
}

.pillar-card__subtitle {
  color: var(--accent);
  font-size: 0.9375rem;
}

/* ============================================
   DONATION SECTION
   ============================================ */
.donate-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  position: relative;
  overflow: hidden;
}

.donate-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.donate-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.donate-content h2 {
  color: var(--white);
}

.donate-content p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.125rem;
  margin-bottom: var(--space-2xl);
}

.donate-methods {
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
  margin-top: var(--space-2xl);
}

.donate-method {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  min-width: 200px;
  transition: all var(--transition-base);
}

.donate-method:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-4px);
}

.donate-method__icon {
  font-size: 2rem;
  margin-bottom: var(--space-md);
}

.donate-method__title {
  color: var(--white);
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.donate-method__desc {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  margin-bottom: 0;
}

/* Hadith Quote */
.hadith-quote {
  background: rgba(201, 162, 39, 0.1);
  border-left: 4px solid var(--accent);
  padding: var(--space-xl);
  margin-top: var(--space-3xl);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.hadith-quote p {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--white);
  margin-bottom: var(--space-sm);
}

.hadith-quote cite {
  color: var(--accent);
  font-size: 0.9375rem;
}

/* ============================================
   CONTACT FORM
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
}

.contact-form {
  background: var(--white);
  padding: var(--space-2xl);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  color: var(--gray-700);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(13, 74, 62, 0.1);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-info {
  padding: var(--space-2xl);
}

.contact-info h3 {
  margin-bottom: var(--space-xl);
}

.contact-info__list {
  list-style: none;
}

.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-lg);
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--gray-200);
}

.contact-info__item:last-child {
  border-bottom: none;
}

.contact-info__icon {
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-info__content h4 {
  font-size: 1rem;
  margin-bottom: var(--space-xs);
}

.contact-info__content p,
.contact-info__content a {
  color: var(--gray-600);
  margin-bottom: 0;
}

.social-links {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-2xl);
}

.social-link {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-100);
  border-radius: var(--radius-md);
  color: var(--gray-600);
  font-size: 1.25rem;
  transition: all var(--transition-fast);
}

.social-link:hover {
  background: var(--primary);
  color: var(--white);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--gray-800);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--space-4xl) 0 var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
}

.footer__brand {
  max-width: 300px;
}

.footer__logo {
  height: 60px;
  width: auto;
  margin-bottom: var(--space-lg);
}

.footer__brand p {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: var(--space-lg);
}

.footer h5 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: var(--space-lg);
}

.footer__links {
  list-style: none;
}

.footer__links li {
  margin-bottom: var(--space-sm);
}

.footer__links a {
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition-fast);
}

.footer__links a:hover {
  color: var(--accent);
}

.footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.footer__contact i {
  color: var(--accent);
  margin-top: 4px;
}

.footer__bottom {
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__copyright {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

.footer__social {
  display: flex;
  gap: var(--space-md);
}

.footer__social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  color: var(--white);
  transition: all var(--transition-fast);
}

.footer__social a:hover {
  background: var(--accent);
  color: var(--gray-800);
}

/* Newsletter */
.newsletter-form {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.newsletter-form input {
  flex: 1;
  padding: var(--space-md);
  border: none;
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
}

.newsletter-form button {
  padding: var(--space-md) var(--space-lg);
  background: var(--accent);
  border: none;
  border-radius: var(--radius-md);
  color: var(--gray-800);
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.newsletter-form button:hover {
  background: var(--accent-light);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
  .pillars-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav__list {
    display: none;
  }
  
  .nav__toggle {
    display: flex;
  }
  
  .hero__content {
    max-width: 100%;
    text-align: center;
  }
  
  .hero__cta {
    justify-content: center;
  }
  
  .hero__decoration {
    display: none;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }
  
  .about__image::after {
    display: none;
  }
  
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }
  
  .pillar-card {
    padding: var(--space-lg);
  }
  
  .pillar-card__icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer__brand {
    max-width: 100%;
  }
  
  .footer__bottom {
    flex-direction: column;
    gap: var(--space-lg);
  }
  
  .section {
    padding: var(--space-3xl) 0;
  }
}

@media (max-width: 480px) {
  .pillars-grid {
    grid-template-columns: 1fr;
  }
  
  .jummah-times {
    flex-direction: column;
    gap: var(--space-lg);
  }
  
  .donate-methods {
    flex-direction: column;
  }
  
  .btn--lg {
    padding: var(--space-md) var(--space-xl);
    width: 100%;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
}

/* Mobile Navigation */
.nav--mobile {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 320px;
  height: 100vh;
  background: var(--gray-800);
  padding: var(--space-4xl) var(--space-xl);
  transition: right var(--transition-slow);
  z-index: 1001;
}

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

.nav--mobile .nav__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.nav--mobile .nav__link {
  color: var(--white);
  font-size: 1.125rem;
}

.nav__close {
  position: absolute;
  top: var(--space-lg);
  right: var(--space-lg);
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
  z-index: 1000;
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--space-md); }
.mb-2 { margin-bottom: var(--space-lg); }
.mb-3 { margin-bottom: var(--space-xl); }
.mb-4 { margin-bottom: var(--space-2xl); }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--space-md); }
.mt-2 { margin-top: var(--space-lg); }
.mt-3 { margin-top: var(--space-xl); }
.mt-4 { margin-top: var(--space-2xl); }

.hidden { display: none; }

/* Animation utilities */
.fade-in {
  animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.slide-up {
  animation: slideUp 0.6s ease forwards;
}

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

/* Staggered animations */
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }

