/* ==========================================================================
   ÂSAR İNSANİ YARDIM DERNEĞİ - DESIGN SYSTEM & CSS
   Matched 100% pixel-perfect with user's official logo (#1F4A47 & #C59B47)
   Full Ultra-Responsive Layout System (All Devices Compatible)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  /* Exact Logo Dark Petrol Teal Palette (#1F4A47) */
  --emerald-900: #0D2120;
  --emerald-800: #153432;
  --emerald-700: #1F4A47; /* Exact Logo Main Text Color */
  --emerald-600: #2B625E;
  --emerald-500: #377B76;
  --emerald-100: #E5EEED;
  --emerald-50:  #F3F7F7;

  /* Exact Logo Accent Gold Palette (#C59B47) */
  --gold-500: #C59B47; /* Exact Logo Accent Gold Roof Color */
  --gold-400: #D6AC57;
  --gold-300: #E2BB69;
  --gold-200: #ECCE89;
  --gold-100: #F8F2E4;
  --gold-gradient: linear-gradient(135deg, #B08636 0%, #E2BB69 35%, #C59B47 70%, #9C7226 100%);
  --gold-glow: 0 0 20px rgba(197, 155, 71, 0.35);

  /* Backgrounds & Neutrals */
  --bg-dark: #0A1B1A;
  --bg-dark-card: rgba(31, 74, 71, 0.25);
  --bg-light: #F8FAF9;
  --bg-surface: #FFFFFF;
  --text-dark: #0D2120;
  --text-muted: #4B6361;
  --text-light: #F3F7F7;

  /* Borders & Shadows */
  --border-light: rgba(31, 74, 71, 0.12);
  --border-gold: rgba(197, 155, 71, 0.35);
  --shadow-sm: 0 2px 8px rgba(13, 33, 32, 0.06);
  --shadow-md: 0 10px 30px rgba(13, 33, 32, 0.10);
  --shadow-lg: 0 20px 40px rgba(10, 27, 26, 0.18);
  --shadow-gold: 0 10px 25px rgba(197, 155, 71, 0.25);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-light);
  font-size: 16px;
  line-height: 1.6;
  width: 100%;
  overflow-x: hidden;
}

body {
  width: 100%;
  overflow-x: hidden;
  position: relative;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  color: var(--emerald-800);
  line-height: 1.25;
  font-weight: 700;
  word-wrap: break-word;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Badge System */
.badge-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  background: rgba(197, 155, 71, 0.12);
  border: 1px solid var(--gold-500);
  color: #B08636;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.badge-emerald {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  background: var(--emerald-100);
  color: var(--emerald-700);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
}

.badge-danger {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  background: rgba(220, 53, 69, 0.12);
  border: 1px solid #DC3545;
  color: #DC3545;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
}

/* Button System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.8rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  user-select: none;
  white-space: nowrap;
}

.btn-gold {
  background: var(--gold-gradient);
  color: #151004;
  box-shadow: var(--shadow-gold);
  font-weight: 700;
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(197, 155, 71, 0.4);
  filter: brightness(1.05);
}

.btn-qurban-submit {
  width: 100%;
  font-size: 1.1rem;
  padding: 1rem;
  white-space: normal !important;
  word-wrap: break-word;
  hyphens: auto;
  line-height: 1.3;
}

.btn-emerald {
  background: var(--emerald-700);
  color: #FFFFFF;
  box-shadow: var(--shadow-sm);
}
.btn-emerald:hover {
  background: var(--emerald-800);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline-gold {
  background: transparent;
  border: 2px solid var(--gold-500);
  color: var(--gold-500);
}
.btn-outline-gold:hover {
  background: var(--gold-500);
  color: var(--emerald-900);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
}
.btn-glass:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
}

/* Header & Top Bar */
.top-bar {
  background: var(--emerald-900);
  color: var(--emerald-100);
  padding: 0.5rem 0;
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(197, 155, 71, 0.2);
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar-info {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}
.top-bar-info .item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.top-bar-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}
.admin-demo-trigger {
  background: rgba(197, 155, 71, 0.2);
  border: 1px dashed var(--gold-400);
  color: var(--gold-300);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  cursor: pointer;
  transition: var(--transition);
}
.admin-demo-trigger:hover {
  background: var(--gold-500);
  color: var(--emerald-900);
}

/* Main Navigation */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
}
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.brand-logo-img {
  height: 52px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  list-style: none;
}
.nav-link {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.95rem;
  transition: var(--transition);
  position: relative;
}
.nav-link:hover, .nav-link.active {
  color: var(--emerald-700);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--gold-500);
  transition: var(--transition);
}
.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--emerald-800);
  cursor: pointer;
}

/* ==========================================================================
   CANLI KURBAN 5 GÜNLÜK RANDEVU SİSTEMİ (MHRS TİPİ SEÇİCİ)
   ========================================================================== */
.qurban-section {
  background: linear-gradient(135deg, #0A1B1A 0%, #153432 50%, #1F4A47 100%);
  color: #FFFFFF;
  padding: 4.5rem 0;
  position: relative;
  overflow: hidden;
  border-bottom: 4px solid var(--gold-500);
}
.qurban-section::before {
  content: '';
  position: absolute;
  top: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(197, 155, 71, 0.15) 0%, rgba(0,0,0,0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.qurban-card-box {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
  border: 2px solid var(--gold-500);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  margin-top: 2rem;
}

.qurban-notice-bar {
  display: flex;
  gap: 1.5rem;
  background: rgba(197, 155, 71, 0.15);
  border: 1px dashed var(--gold-400);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  margin-bottom: 2rem;
  align-items: center;
}
.qurban-notice-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.95rem;
}
.qurban-notice-item strong {
  color: var(--gold-300);
}

/* 5 Günlük Tarih Seçici Grid */
.day-selector-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.8rem;
  margin: 1rem 0 1.5rem 0;
}
.day-tab-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  padding: 1rem 0.5rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}
.day-tab-btn .day-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
}
.day-tab-btn .day-sub {
  font-size: 0.75rem;
  color: var(--gold-300);
  text-transform: uppercase;
}
.day-tab-btn:hover, .day-tab-btn.active {
  background: var(--gold-gradient);
  color: #151004;
  border-color: var(--gold-400);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}
.day-tab-btn.active .day-sub {
  color: #151004;
  font-weight: 700;
}

.time-slots-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.8rem;
  margin: 1rem 0 1.8rem 0;
}
.time-slot-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  padding: 0.8rem 0.5rem;
  border-radius: var(--radius-md);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}
.time-slot-btn .slot-status {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--gold-300);
  text-transform: uppercase;
}
.time-slot-btn:hover, .time-slot-btn.selected {
  background: var(--gold-gradient);
  color: #151004;
  border-color: var(--gold-400);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}
.time-slot-btn.selected .slot-status {
  color: #151004;
}

/* HERO SECTION */
.hero {
  position: relative;
  background: linear-gradient(135deg, #0A1B1A 0%, #1F4A47 60%, #153432 100%);
  color: #FFFFFF;
  padding: 5.5rem 0 6.5rem 0;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(197, 155, 71, 0.22) 0%, rgba(31, 74, 71, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
  align-items: center;
}
.hero-content h1 {
  color: #FFFFFF;
  font-size: 3.2rem;
  margin: 1.2rem 0;
  letter-spacing: -1px;
}
.hero-content h1 span {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-description {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 2rem;
  max-width: 580px;
}
.hero-cta-group {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}

/* Quick Hero Donation Box */
.hero-donate-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(197, 155, 71, 0.4);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.hero-donate-card h3 {
  color: #FFFFFF;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.hero-donate-card h3 svg {
  color: var(--gold-400);
}
.quick-donate-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  margin: 1.2rem 0;
}
.amount-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  padding: 0.6rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}
.amount-btn:hover, .amount-btn.selected {
  background: var(--gold-500);
  color: var(--emerald-900);
  border-color: var(--gold-400);
}

/* LIVE STATS BANNER */
.stats-banner {
  background: var(--emerald-900);
  border-top: 2px solid var(--gold-500);
  border-bottom: 1px solid rgba(197, 155, 71, 0.2);
  padding: 2.5rem 0;
  margin-top: -2rem;
  position: relative;
  z-index: 10;
  box-shadow: var(--shadow-lg);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat-item {
  border-right: 1px solid rgba(197, 155, 71, 0.25);
  padding-right: 1rem;
}
.stat-item:last-child {
  border-right: none;
}
.stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-label {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  font-weight: 500;
  margin-top: 0.2rem;
}

/* FEATURED CAMPAIGNS SECTION */
.section {
  padding: 5.5rem 0;
}
.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 3.5rem auto;
}
.section-title {
  font-size: 2.4rem;
  margin-top: 0.5rem;
  margin-bottom: 0.8rem;
}
.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.campaigns-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.campaign-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.campaign-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-500);
}
.campaign-img-wrapper {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.campaign-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.campaign-card:hover .campaign-img-wrapper img {
  transform: scale(1.08);
}
.campaign-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--emerald-800);
  color: var(--gold-300);
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}
.campaign-content {
  padding: 1.6rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.campaign-title {
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
  color: var(--emerald-900);
}
.campaign-text {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
  flex-grow: 1;
}

/* Progress Bar Component */
.progress-container {
  margin-bottom: 1.4rem;
}
.progress-stats {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}
.progress-raised {
  color: var(--emerald-700);
}
.progress-goal {
  color: var(--text-muted);
}
.progress-track {
  width: 100%;
  height: 10px;
  background: var(--emerald-100);
  border-radius: var(--radius-full);
  overflow: hidden;
}
.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--emerald-700) 0%, var(--gold-500) 100%);
  border-radius: var(--radius-full);
  transition: width 1s ease-in-out;
}

/* ONLINE DONATION SECTION */
.donation-section {
  background: linear-gradient(180deg, #F3F7F7 0%, #FFFFFF 100%);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}
.donation-box {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-gold);
  overflow: hidden;
}
.donation-tabs-header {
  display: flex;
  background: var(--emerald-900);
  border-bottom: 2px solid var(--gold-500);
}
.donation-tab-btn {
  flex: 1;
  padding: 1.2rem;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}
.donation-tab-btn.active, .donation-tab-btn:hover {
  color: var(--gold-400);
  background: rgba(255, 255, 255, 0.08);
}
.donation-tab-btn.active {
  border-bottom: 3px solid var(--gold-400);
}

.donation-body {
  padding: 2.5rem;
}
.category-selector-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}
.cat-card {
  background: var(--bg-light);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1rem 0.5rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.cat-card svg {
  color: var(--emerald-700);
  transition: var(--transition);
}
.cat-card span {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--emerald-900);
}
.cat-card:hover, .cat-card.selected {
  border-color: var(--gold-500);
  background: rgba(197, 155, 71, 0.08);
}
.cat-card.selected svg {
  color: var(--gold-500);
  transform: scale(1.1);
}

.payment-method-selector {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.pay-method-btn {
  flex: 1;
  padding: 0.8rem;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  background: var(--bg-light);
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.pay-method-btn.active {
  border-color: var(--emerald-600);
  background: var(--emerald-100);
  color: var(--emerald-800);
}

/* Form Controls */
.form-group {
  margin-bottom: 1.2rem;
}
.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: var(--emerald-900);
}
.form-input {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition);
}
.form-input:focus {
  outline: none;
  border-color: var(--emerald-600);
  box-shadow: 0 0 0 3px rgba(31, 74, 71, 0.15);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* BANK ACCOUNTS & IBAN LIST */
.banks-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.bank-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-left: 5px solid var(--emerald-700);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.bank-card:hover {
  box-shadow: var(--shadow-md);
  border-left-color: var(--gold-500);
}
.bank-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}
.bank-name {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--emerald-900);
}
.iban-box {
  background: var(--bg-light);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-family: monospace;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 1px;
  color: var(--emerald-800);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid var(--border-light);
}
.copy-btn {
  background: var(--emerald-700);
  color: #FFFFFF;
  border: none;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.copy-btn:hover {
  background: var(--gold-500);
  color: var(--emerald-900);
}

/* VOLUNTEER & MEMBERSHIP */
.volunteer-section {
  background: var(--emerald-900);
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}
.volunteer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.volunteer-content h2 {
  color: #FFFFFF;
  font-size: 2.6rem;
  margin-bottom: 1rem;
}
.volunteer-content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}
.volunteer-form-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(197, 155, 71, 0.3);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}
.volunteer-form-card label {
  color: #FFFFFF;
}

/* FOOTER */
footer {
  background: #071716;
  color: rgba(255, 255, 255, 0.75);
  padding: 4rem 0 2rem 0;
  border-top: 2px solid var(--gold-500);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
.footer-col h4 {
  color: #FFFFFF;
  font-size: 1.2rem;
  margin-bottom: 1.2rem;
  position: relative;
  padding-bottom: 0.5rem;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--gold-500);
}
.footer-links {
  list-style: none;
}
.footer-links li {
  margin-bottom: 0.6rem;
}
.footer-links a:hover {
  color: var(--gold-400);
}
.copyright-bar {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
}

/* MODAL & TOAST NOTIFICATION SYSTEM */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(7, 23, 22, 0.8);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.modal-overlay.active {
  display: flex;
}
.modal-box {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  max-width: 650px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gold-500);
  animation: modalSlide 0.3s ease-out;
}
@keyframes modalSlide {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.modal-header {
  background: var(--emerald-900);
  color: #FFFFFF;
  padding: 1.2rem 1.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--gold-500);
}
.modal-close {
  background: none;
  border: none;
  color: #FFFFFF;
  font-size: 1.5rem;
  cursor: pointer;
}
.modal-body {
  padding: 2rem;
}

/* Toast */
.toast-notification {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--emerald-800);
  color: var(--gold-300);
  border: 1px solid var(--gold-400);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 10000;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.toast-notification.show {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================================================
   COMPREHENSIVE RESPONSIVE MEDIA QUERIES (100% DEVICE COMPATIBILITY)
   ========================================================================== */

/* Universal text & container guards */
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: nowrap;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
  max-width: 65%;
}

.brand-logo-img {
  height: 48px;
  max-width: 100%;
  object-fit: contain;
}

/* Prevent navbar buttons from expanding to 100% width */
.navbar .btn,
.navbar a.btn {
  width: auto !important;
  max-width: max-content;
  white-space: nowrap;
  padding: 0.55rem 0.9rem !important;
  font-size: 0.82rem !important;
  flex-shrink: 0;
}

.qurban-card-box {
  word-break: break-word;
  overflow-wrap: break-word;
}

@media (max-width: 1200px) {
  .hero-content h1 {
    font-size: 2.8rem;
  }
  .category-selector-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .day-selector-grid {
    grid-template-columns: repeat(5, 1fr);
  }
  .time-slots-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .campaigns-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(197, 155, 71, 0.2);
    padding-bottom: 1rem;
    padding-right: 0;
  }
  .stat-item:last-child {
    border-bottom: none;
  }
  .volunteer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  .nav-links {
    display: none;
  }
  .mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .top-bar-info {
    flex-wrap: wrap;
    gap: 0.8rem;
  }
  .day-selector-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .time-slots-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .qurban-notice-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }
  .qurban-notice-bar div[style*="width: 1px"] {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 3rem 0 4rem 0;
  }
  .hero-content h1 {
    font-size: 2.2rem;
  }
  .qurban-section h2 {
    font-size: 1.85rem !important;
  }
  .campaigns-grid {
    grid-template-columns: 1fr;
  }
  .banks-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .category-selector-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .quick-donate-options {
    grid-template-columns: repeat(3, 1fr);
  }
  .top-bar .container {
    flex-direction: column;
    gap: 0.4rem;
    text-align: center;
  }
  .top-bar-info {
    justify-content: center;
    font-size: 0.78rem;
  }
  .donation-body {
    padding: 1.2rem;
  }
  .qurban-card-box {
    padding: 1.2rem;
  }
  .modal-box {
    max-width: 95vw;
    margin: 0.5rem;
  }
  .day-selector-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
  .time-slots-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
  .day-tab-btn {
    padding: 0.75rem 0.3rem;
  }
  .time-slot-btn {
    padding: 0.65rem 0.3rem;
  }
  .time-slot-btn .slot-status {
    font-size: 0.62rem;
  }
}

@media (max-width: 480px) {
  .brand-logo-img {
    height: 38px;
  }
  .navbar .container {
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
  }
  .navbar .btn span,
  .navbar a.btn {
    font-size: 0.78rem !important;
    padding: 0.45rem 0.7rem !important;
  }
  .hero-content h1 {
    font-size: 1.65rem;
  }
  .section-title {
    font-size: 1.5rem;
  }
  .qurban-section h2 {
    font-size: 1.55rem !important;
  }
  .qurban-section p {
    font-size: 0.92rem !important;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .quick-donate-options {
    grid-template-columns: repeat(2, 1fr);
  }
  /* Scope 100% width ONLY to content/action buttons, NOT header navbar */
  .hero-cta-group .btn,
  .campaign-content .btn,
  .donation-body .btn,
  #qurban-appointment-form .btn {
    width: 100%;
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
  }
  .payment-method-selector {
    flex-direction: column;
  }
  .iban-box {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
    word-break: break-all;
  }
  .day-selector-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.4rem;
  }
  .time-slots-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.4rem;
  }
  .time-slot-btn {
    font-size: 0.9rem;
    padding: 0.55rem 0.2rem;
  }
  .time-slot-btn .slot-status {
    font-size: 0.6rem;
    line-height: 1.1;
  }
  .top-bar-info .item:last-child {
    display: none; /* Hide address in top bar on very small phones to prevent overflow */
  }
}

