/* ======================================== 
   CHARITY CATALYST — WARM SANDY CHARITY THEME
   Serif body (Lora) · Sans-serif headings (DM Sans)
   Sandy / Teal / Navy palette
   ======================================== */

:root {
  /* Primary Accent — Teal */
  --accent: #2aa198;
  --accent-dark: #1a7872;
  --accent-light: #7dd3cb;
  --accent-gradient: linear-gradient(135deg, #2aa198 0%, #1a7872 100%);

  /* Secondary Accent — Navy */
  --navy: #1b365d;
  --navy-dark: #0f1f3a;
  --navy-light: #2e5090;
  --navy-gradient: linear-gradient(135deg, #1b365d 0%, #2e5090 100%);

  /* Warm Sandy Palette */
  --sand: #f5f0e6;
  --sand-dark: #e8dfd0;
  --sand-light: #faf7f1;
  --cream: #fffcf6;
  --coral: #e87461;
  --sunset-orange: #f09860;

  /* Backgrounds */
  --bg: #faf7f1;
  --bg-light: #f7f3eb;
  --bg-sand: #f5f0e6;
  --bg-wave: linear-gradient(135deg, rgba(42, 161, 152, 0.04) 0%, rgba(245, 240, 230, 0.6) 100%);

  /* Text Colors */
  --text: #3d3530;
  --text-light: #6b5e54;
  --text-dark: #1e1916;

  /* UI Elements */
  --border: #e5ddd2;
  --border-light: #f0ebe3;
  --shadow-sm: 0 2px 8px rgba(42, 161, 152, 0.07);
  --shadow-md: 0 4px 20px rgba(27, 54, 93, 0.08);
  --shadow-lg: 0 8px 36px rgba(27, 54, 93, 0.12);
  --shadow-hover: 0 14px 44px rgba(27, 54, 93, 0.16);

  /* Status Colors */
  --success: #4caf50;
  --success-light: #66bb6a;
  --error: #e53935;
  --error-light: #ef5350;
  --warning: #f59e0b;
  --info: #2196f3;

  /* Spacing */
  --spacing-xs: 8px;
  --spacing-sm: 16px;
  --spacing-md: 24px;
  --spacing-lg: 32px;
  --spacing-xl: 48px;
  --spacing-xxl: 72px;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 50px;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Font stacks */
  --font-body: 'Alegreya Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.85;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-size: 18px;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  margin-top: 0;
  color: var(--navy);
}

h1 {
  font-size: 2.8em;
  font-weight: 800;
  margin-bottom: var(--spacing-lg);
  color: var(--navy);
  letter-spacing: -0.02em;
}

h2 {
  font-size: 2.2em;
  margin-bottom: var(--spacing-md);
  color: var(--navy);
}

h3 {
  font-size: 1.55em;
  margin-bottom: var(--spacing-sm);
}

p {
  margin-bottom: var(--spacing-md);
  line-height: 1.85;
}

a {
  transition: all var(--transition-base);
}

.lead {
  font-size: 1.3em;
  color: var(--text-light);
  margin-bottom: var(--spacing-lg);
  line-height: 1.8;
  font-weight: 400;
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */

.site-header {
  background: var(--sand-light);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 12px rgba(27, 54, 93, 0.06);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
}

.header-inner {
  max-width: 100%;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-lg);
  padding: var(--spacing-sm) var(--spacing-xl);
}

.logo img {
  height: 48px;
  display: block;
  transition: transform var(--transition-base);
}

.logo a {
  display: block;
  line-height: 0;
}

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

/* Navigation */
.main-nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-xs);
}

.nav-auth {
  display: flex;
  gap: var(--spacing-sm);
  align-items: center;
  margin-left: auto;
}

.user-info-header {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  margin-left: auto;
  background: none;
  box-shadow: none;
  border: none;
  padding: 0;
}

.user-info {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  margin-left: var(--spacing-md);
}

.username {
  color: var(--navy);
  font-weight: 600;
  font-size: 1em;
  font-family: var(--font-heading);
}

.main-nav > a {
  color: var(--text);
  text-decoration: none;
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
  font-weight: 600;
  font-size: 0.95em;
  font-family: var(--font-heading);
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav > a::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%;
  height: 2px;
  background: var(--accent);
  transition: transform var(--transition-base);
}

.main-nav > a:hover {
  color: var(--accent-dark);
  background: rgba(42, 161, 152, 0.06);
}

.main-nav > a:hover::after {
  transform: translateX(-50%) scaleX(1);
}

.main-nav > a.nav-active {
  color: var(--accent-dark);
}

.main-nav > a.nav-active::after {
  transform: translateX(-50%) scaleX(1);
  background: var(--accent);
}

.btn-login,
.btn-register {
  background: var(--accent-gradient);
  color: white !important;
  padding: 10px 24px !important;
  border-radius: var(--radius-pill);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  font-size: 1em;
}

.btn-login::after,
.btn-register::after {
  display: none;
}

.btn-login:hover,
.btn-register:hover {
  background: var(--accent-dark) !important;
  color: white !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-hub {
  display: inline-block;
  background: var(--accent-gradient);
  color: white;
  padding: 10px 28px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
  font-size: 1em;
}

.btn-hub:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.logout-link {
  color: var(--text-light) !important;
  font-size: 1em;
}

/* ========================================
   PAGE LAYOUT
   ======================================== */

.page-wrapper {
  display: flex;
  min-height: calc(100vh - 180px);
  background: var(--bg);
}

.sidebar {
  width: 280px;
  background: var(--sand);
  border-right: 1px solid var(--border);
  padding: var(--spacing-lg) 0;
  position: sticky;
  top: 60px;
  height: calc(100vh - 60px);
  overflow-y: auto;
  box-shadow: none;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  padding: 0 var(--spacing-sm);
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-md) var(--spacing-md);
  color: var(--text);
  text-decoration: none;
  transition: all var(--transition-base);
  font-weight: 500;
  font-family: var(--font-heading);
  border-left: 3px solid transparent;
  border-radius: var(--radius-sm);
  margin-bottom: var(--spacing-xs);
  font-size: 1em;
}

.sidebar-link:hover {
  background: rgba(42, 161, 152, 0.06);
  color: var(--accent-dark);
  transform: translateX(4px);
}

.sidebar-link.active {
  background: rgba(42, 161, 152, 0.1);
  color: var(--accent-dark);
  border-left-color: var(--accent);
  font-weight: 600;
}

.sidebar-divider {
  height: 1px;
  background: var(--border);
  margin: var(--spacing-md) var(--spacing-md);
}

.sidebar-section-title {
  font-size: 0.82em;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-light);
  padding: var(--spacing-sm) var(--spacing-md) var(--spacing-xs);
  letter-spacing: 0.08em;
  font-family: var(--font-heading);
}

.main-content {
  flex: 1;
  padding: var(--spacing-md) var(--spacing-xl);
  max-width: 100%;
}

.main-content.with-sidebar {
  max-width: calc(100% - 280px);
}

/* ========================================
   LOGOUT BUTTON
   ======================================== */

.logout-btn {
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 1em;
  font-family: var(--font-heading);
  font-weight: 500;
  padding: var(--spacing-sm) var(--spacing-md);
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
}

.logout-btn:hover {
  color: var(--accent-dark);
  background: rgba(42, 161, 152, 0.06);
}

/* ========================================
   COMPACT HEADER (logged-in dashboard)
   ======================================== */

.header-compact .header-inner {
  padding: 6px var(--spacing-xl);
}

.header-compact .logo img {
  height: 44px;
}

.header-compact .username {
  font-size: 0.9em;
}

.header-compact .logout-btn {
  font-size: 0.9em;
  padding: var(--spacing-xs) var(--spacing-sm);
}

/* ========================================
   FORMS
   ======================================== */

form {
  background: var(--sand-light);
  padding: var(--spacing-xl);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  max-width: 500px;
}

form p {
  margin-bottom: var(--spacing-md);
}

form label {
  display: block;
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
  color: var(--navy);
  font-size: 1em;
  font-family: var(--font-heading);
}

form input[type="text"],
form input[type="email"],
form input[type="password"],
form input[type="file"],
form textarea,
form select {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 1em;
  font-family: var(--font-body);
  transition: all var(--transition-base);
  background: #ffffff;
  color: var(--text);
}

form input:focus,
form textarea:focus,
form select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(42, 161, 152, 0.1);
  background: #ffffff;
}

form button[type="submit"] {
  background: var(--accent-gradient);
  color: white;
  padding: 14px 32px;
  border: none;
  border-radius: var(--radius-pill);
  font-size: 1em;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
  font-family: var(--font-heading);
}

form button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

form button[type="submit"]:active {
  transform: translateY(0);
}

form .helptext {
  display: block;
  font-size: 0.95em;
  color: var(--text-light);
  margin-top: 6px;
  line-height: 1.5;
}

form .errorlist {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--spacing-sm) 0;
  color: var(--error);
  font-size: 1em;
}

/* ========================================
   MESSAGES & ALERTS
   ======================================== */

.messages {
  list-style: none;
  padding: 0;
  margin-bottom: var(--spacing-lg);
}

.message {
  background: rgba(42, 161, 152, 0.08);
  border-left: 4px solid var(--accent);
  padding: var(--spacing-md) var(--spacing-lg);
  margin-bottom: var(--spacing-sm);
  border-radius: var(--radius-md);
  box-shadow: none;
  font-weight: 500;
  color: var(--text);
}

/* ========================================
   LISTS & CONTENT
   ======================================== */

ul {
  margin: var(--spacing-md) 0;
}

li {
  margin-bottom: var(--spacing-sm);
}

/* ========================================
   FOOTER
   ======================================== */

.site-footer {
  background: var(--navy-dark);
  border-top: 3px solid var(--accent);
  margin-top: 0;
  padding: var(--spacing-xxl) var(--spacing-lg) var(--spacing-lg);
  color: rgba(255, 255, 255, 0.75);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
}

.footer-section h4 {
  color: #ffffff;
  margin-top: 0;
  margin-bottom: var(--spacing-md);
  font-size: 1.2em;
  font-family: var(--font-heading);
}

.footer-section p {
  margin: var(--spacing-xs) 0;
  font-size: 1em;
  line-height: 1.7;
}

.footer-section a {
  color: var(--accent-light);
  text-decoration: none;
  transition: all var(--transition-base);
}

.footer-section a:hover {
  text-decoration: underline;
  color: #ffffff;
}

.footer-acnc {
  display: flex;
  align-items: center;
  justify-content: center;
}

.acnc-logo {
  max-width: 160px;
  height: auto;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.footer-bottom {
  text-align: center;
  padding-top: var(--spacing-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom p {
  margin: 0;
  font-size: 1em;
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
  padding: var(--spacing-xl) var(--spacing-xl);
  background: linear-gradient(160deg, #0d4f4a 0%, #1a7872 40%, #0f3d3a 100%);
  border-radius: 0;
  margin-bottom: 0;
  position: relative;
  overflow: hidden;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xxl);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-left {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.hero-right {
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  padding-left: var(--spacing-xxl);
  padding-top: var(--spacing-xl);
  align-self: end;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(125, 211, 203, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 153, 102, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero h1 {
  font-size: 4.2em;
  margin-bottom: 0;
  position: relative;
  z-index: 1;
  color: white;
  -webkit-text-fill-color: white;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.3);
  line-height: 1.05;
}

.hero .lead {
  font-size: 1.55em;
  margin-bottom: 0;
  position: relative;
  z-index: 1;
  color: white;
  line-height: 1.6;
  background: rgba(255, 255, 255, 0.1);
  border-left: 4px solid var(--accent-light);
  border-radius: 0;
  padding: var(--spacing-sm) var(--spacing-md);
  text-align: left;
}

.hero p {
  margin-bottom: var(--spacing-sm);
  position: relative;
  z-index: 1;
  font-size: 1.3em;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
  text-align: left;
}

.hero ul {
  text-align: left;
  margin: var(--spacing-xs) 0;
  position: relative;
  z-index: 1;
  font-size: 1.1em;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.9);
  padding-left: var(--spacing-md);
}

.hero .cta-buttons {
  position: relative;
  z-index: 1;
  justify-content: flex-start;
  margin-top: var(--spacing-sm);
}

.hero li {
  margin-bottom: 6px;
}

/* ========================================
   PAGE HEADER (light variant for inner pages)
   ======================================== */

.page-header {
  padding: var(--spacing-lg) var(--spacing-xl);
  background: var(--sand);
  border-bottom: 1px solid var(--border);
  position: relative;
}

.page-header h1 {
  font-size: 2.8em;
  margin-bottom: var(--spacing-sm);
  color: var(--navy);
  line-height: 1.1;
}

.page-header .lead {
  font-size: 1.25em;
  color: var(--text);
  line-height: 1.7;
  max-width: 900px;
  border-left: 4px solid var(--accent);
  background: rgba(42, 161, 152, 0.06);
  padding: var(--spacing-sm) var(--spacing-md);
  margin-bottom: var(--spacing-sm);
}

.page-header p {
  font-size: 1.1em;
  color: var(--text-light);
  line-height: 1.75;
  max-width: 800px;
  margin-bottom: var(--spacing-xs);
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
  display: inline-block;
  padding: 16px 36px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-weight: 700;
  transition: all var(--transition-base);
  border: none;
  cursor: pointer;
  font-size: 1.05em;
  font-family: var(--font-heading);
  box-shadow: var(--shadow-md);
  letter-spacing: 0.02em;
}

.btn-primary {
  background: var(--accent-gradient);
  color: white;
  position: relative;
  overflow: hidden;
}

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

.btn-primary:hover::after {
  left: 100%;
}

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

.btn-secondary {
  background: transparent;
  color: var(--accent);
  border: 3px solid var(--accent);
  box-shadow: none;
}

.btn-secondary:hover {
  background: var(--accent);
  color: white;
  box-shadow: var(--shadow-md);
}

.cta-buttons {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  margin-top: var(--spacing-md);
}

/* ========================================
   FEATURE CARDS
   ======================================== */

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--spacing-xl);
  margin-top: var(--spacing-xxl);
}

.feature-card {
  background: var(--cream);
  padding: var(--spacing-xl) var(--spacing-lg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  border-left: 3px solid var(--accent);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--accent-gradient);
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent);
}

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

.feature-card h3 {
  color: var(--accent-dark);
  margin-top: 0;
  margin-bottom: var(--spacing-md);
  font-size: 1.5em;
}

.feature-card p {
  margin-bottom: var(--spacing-md);
  color: var(--text);
  line-height: 1.85;
  font-size: 1.05em;
}

.feature-card a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-base);
  padding: var(--spacing-xs) 0;
  font-size: 1.05em;
}

.feature-card a:hover {
  color: var(--accent-dark);
  gap: 14px;
}

/* ========================================
   CONTENT PAGES
   ======================================== */

.content-page {
  max-width: 1800px;
  width: 95%;
  margin: 0 auto;
  padding: 0;
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--cream);
  border-radius: var(--radius-md);
}

.content-wide {
  max-width: 1800px;
  width: 95%;
  margin: 0 auto;
  padding: 0;
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--cream);
  border-radius: var(--radius-md);
}

/* Dashboard header */
.dash-header {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  padding: var(--spacing-md) var(--spacing-xl);
  background: var(--sand);
  border-bottom: 1px solid var(--border);
}

.dash-header-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2em;
  flex-shrink: 0;
}

.dash-header h1 {
  margin: 0;
  font-size: 1.5em;
}

.dash-header .lead {
  margin: var(--spacing-xs) 0 0;
  font-size: 1.05em;
}

.dash-body {
  padding: var(--spacing-xl);
}

.content-wide > h1,
.content-page > h1 {
  background: var(--sand);
  padding: var(--spacing-lg) var(--spacing-xl);
  margin: 0 0 var(--spacing-lg);
  border-bottom: 1px solid var(--border);
  font-size: 2em;
}

.content-wide > .lead,
.content-page > .lead {
  padding: 0 var(--spacing-xl);
  margin-top: calc(-1 * var(--spacing-md));
}

.form-container {
  max-width: 600px;
}

.content-section {
  margin-bottom: 0;
  padding: var(--spacing-xl);
  background: var(--cream);
  border-radius: 0;
  box-shadow: none;
  border-top: 1px solid var(--border);
}

.content-section:first-of-type {
  margin-top: var(--spacing-lg);
  border-top: none;
}

.content-section h2 {
  color: var(--navy);
  margin-top: 0;
  padding-bottom: var(--spacing-sm);
  border-bottom: 3px solid var(--border);
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-lg);
  font-size: 1.9em;
  font-weight: 700;
}

.content-section ul,
.content-section ol {
  padding-left: var(--spacing-lg);
  margin: var(--spacing-md) 0;
}

.content-section li {
  margin-bottom: var(--spacing-sm);
  color: var(--text);
  line-height: 1.85;
  font-size: 1.05em;
}

/* ========================================
   CTA BOX
   ======================================== */

.cta-box {
  background: linear-gradient(160deg, rgba(42, 161, 152, 0.07) 0%, rgba(255, 153, 102, 0.05) 50%, rgba(255, 138, 107, 0.07) 100%);
  border: none;
  border-radius: 0;
  border-top: 3px solid var(--accent);
  padding: var(--spacing-xxl);
  text-align: center;
  margin-top: 0;
  box-shadow: none;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(42, 161, 152, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-box h3 {
  margin-top: 0;
  color: var(--accent-dark);
  font-size: 2.2em;
  margin-bottom: var(--spacing-md);
}

.cta-box p {
  font-size: 1.15em;
  color: var(--text);
  margin-bottom: var(--spacing-lg);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* ======================================== 
   FORM PAGES
   ======================================== */

.form-page {
  max-width: 500px;
  margin: 0 auto;
}

.form-page h1 {
  text-align: center;
}

.form-page > p {
  text-align: center;
  color: var(--text-light);
  margin-bottom: var(--spacing-lg);
}

.upload-form-container,
.notice-form-container {
  max-width: 800px;
  margin: 0 auto;
  background: var(--sand-light);
  padding: var(--spacing-xxl);
  border-radius: var(--radius-md);
  box-shadow: none;
  border: 1px solid var(--border);
}

.upload-form-container h1,
.notice-form-container h1 {
  margin-top: 0;
}

.upload-form,
.notice-form {
  background: none;
  padding: 0;
  border: none;
  box-shadow: none;
  max-width: none;
}

/* Custom File Upload */
.custom-file-upload {
  margin-bottom: var(--spacing-lg);
  padding: var(--spacing-xl);
  background: var(--sand-light);
  border: 2px dashed var(--border);
  border-radius: 0;
  text-align: center;
  transition: all var(--transition-base);
}

.custom-file-upload:hover {
  border-color: var(--accent);
  background: rgba(42, 161, 152, 0.06);
  border-style: solid;
}

.file-label {
  display: inline-block;
  padding: 14px 36px;
  background: var(--accent-gradient);
  color: white;
  border-radius: var(--radius-pill);
  cursor: pointer;
  font-weight: 600;
  transition: all var(--transition-base);
  margin-bottom: var(--spacing-md);
  box-shadow: var(--shadow-sm);
  font-family: var(--font-heading);
}

.file-label:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.custom-file-upload input[type="file"] {
  display: none;
}

.file-name {
  display: block;
  color: var(--text-light);
  font-size: 0.95em;
  margin-top: var(--spacing-sm);
}

.btn-large {
  padding: 18px 48px;
  font-size: 1.15em;
  width: 100%;
  margin-top: var(--spacing-lg);
}

.form-footer {
  text-align: center;
  margin-top: var(--spacing-lg);
  color: var(--text-light);
}

.form-footer a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.form-footer a:hover {
  text-decoration: underline;
}

/* Info Box */
.info-box {
  background: rgba(33, 150, 243, 0.08);
  border-left: 4px solid var(--info);
  padding: var(--spacing-md);
  margin-top: var(--spacing-lg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.info-box p {
  margin: 0;
  font-size: 0.95em;
  color: var(--navy);
}

/* ========================================
   SUCCESS PAGE
   ======================================== */

.success-page {
  text-align: center;
  padding: var(--spacing-xxl) var(--spacing-lg);
  background: var(--cream);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  max-width: 600px;
  margin: var(--spacing-xl) auto;
}

.success-page h1 {
  font-size: 2.5em;
  color: var(--success);
  margin-bottom: var(--spacing-md);
}

.success-page p {
  color: var(--text);
  font-size: 1.15em;
  margin-bottom: var(--spacing-lg);
}

.success-page .cta-buttons {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  flex-wrap: wrap;
}

/* ========================================
   NOTICE CARDS
   ======================================== */

.notices-list {
  margin-top: var(--spacing-lg);
}

.notice-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-md);
  padding: var(--spacing-lg);
  margin-bottom: var(--spacing-md);
  box-shadow: none;
  transition: all var(--transition-base);
}

.notice-card:hover {
  box-shadow: var(--shadow-sm);
}

.notice-card h3 {
  margin-top: 0;
  color: var(--navy);
  margin-bottom: var(--spacing-sm);
}

.notice-card p {
  margin-bottom: var(--spacing-sm);
  line-height: 1.85;
  color: var(--text);
}

.notice-meta {
  display: flex;
  gap: var(--spacing-md);
  padding-top: var(--spacing-sm);
  border-top: 1px solid var(--border);
  margin-top: var(--spacing-sm);
}

.notice-meta small {
  color: var(--text-light);
  font-size: 0.95em;
}

.attachment-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.attachment-link:hover {
  text-decoration: underline;
  color: var(--accent-dark);
}

/* ========================================
   EMPTY STATE
   ======================================== */

.empty-state {
  text-align: center;
  padding: var(--spacing-xxl) var(--spacing-lg);
  color: var(--text-light);
  background: var(--sand-light);
  border-radius: var(--radius-lg);
  border: 2px dashed var(--border);
}

/* ========================================
   ADMIN SECTION
   ======================================== */

.admin-section {
  margin-bottom: var(--spacing-xxl);
}

.admin-section h2 {
  color: var(--accent-dark);
  margin-bottom: var(--spacing-md);
}

.uploads-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-lg);
}

.user-uploads-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 0;
  box-shadow: none;
  overflow: hidden;
  transition: all var(--transition-base);
}

.user-uploads-card:hover {
  box-shadow: var(--shadow-sm);
}

.user-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--sand);
  padding: var(--spacing-md) var(--spacing-lg);
  border-bottom: 1px solid var(--border);
}

.user-header h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1.3em;
}

.upload-count {
  background: var(--accent);
  color: white;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.85em;
  font-weight: 600;
}

.upload-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.upload-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-md) var(--spacing-lg);
  border-bottom: 1px solid var(--border-light);
  transition: background var(--transition-base);
}

.upload-list li:hover {
  background: var(--sand-light);
}

.upload-list li:last-child {
  border-bottom: none;
}

.file-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  flex: 1;
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  transition: all var(--transition-base);
}

.file-icon {
  font-size: 1.5em;
}

.file-name {
  word-break: break-all;
}

.file-link:hover {
  color: var(--accent-dark);
  text-decoration: underline;
}

.upload-date {
  color: var(--text-light);
  font-size: 0.95em;
  white-space: nowrap;
  margin-left: var(--spacing-md);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 992px) {
  .sidebar {
    width: 240px;
  }
  
  .main-content.with-sidebar {
    max-width: calc(100% - 240px);
  }
  
  .hero h1 {
    font-size: 2.5em;
  }
}

@media (max-width: 768px) {
  :root {
    --spacing-xl: 32px;
    --spacing-xxl: 48px;
  }
  
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
  }
  
  .main-nav {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    margin-left: 0;
    gap: var(--spacing-xs);
  }
  
  .main-nav > a {
    width: 100%;
  }
  
  .nav-auth,
  .user-info {
    width: 100%;
    margin-left: 0;
    padding-top: var(--spacing-sm);
    border-top: 1px solid var(--border);
  }
  
  .page-wrapper {
    flex-direction: column;
  }
  
  .sidebar {
    width: 100%;
    position: static;
    height: auto;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  
  .main-content,
  .main-content.with-sidebar {
    max-width: 100%;
    padding: var(--spacing-lg) var(--spacing-md);
  }
  
  .hero {
    padding: var(--spacing-xl) var(--spacing-md);
  }
  
  .hero h1 {
    font-size: 2em;
  }
  
  .lead {
    font-size: 1.15em;
  }
  
  .cta-buttons {
    flex-direction: column;
  }
  
  .features {
    grid-template-columns: 1fr;
  }
  
  .upload-list li {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--spacing-sm);
  }
  
  .upload-date {
    margin-left: 0;
  }
  
  .detail-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  
  .detail-row strong {
    color: var(--accent);
  }
  
  .application-header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--spacing-sm);
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .content-section {
    padding: var(--spacing-lg);
  }
  
  h1 {
    font-size: 2.2em;
  }
  
  h2 {
    font-size: 1.7em;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.75em;
  }
  
  .stat-number {
    font-size: 2.5em;
  }
  
  .partners-track {
    gap: var(--spacing-lg);
  }
  
  .partner-logo {
    min-width: 140px;
    height: 90px;
  }
}

/* ========================================
   UPLOAD DETAIL PAGE
   ======================================== */

.upload-detail-header {
  margin-bottom: var(--spacing-lg);
}

.back-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  transition: all var(--transition-base);
}

.back-link:hover {
  color: var(--accent-dark);
  gap: var(--spacing-md);
}

.upload-detail-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--spacing-xl);
  box-shadow: none;
}

.upload-info {
  background: var(--sand-light);
  padding: var(--spacing-lg);
  border-radius: var(--radius-md);
  margin: var(--spacing-lg) 0;
}

.info-row {
  display: flex;
  justify-content: space-between;
  padding: var(--spacing-sm) 0;
  border-bottom: 1px solid var(--border-light);
}

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

.info-row .label {
  color: var(--text-light);
  font-weight: 600;
}

.info-row .value {
  color: var(--text);
  font-weight: 500;
}

.status-pending {
  color: var(--warning);
  font-weight: 600;
}

.status-approved {
  color: var(--success);
  font-weight: 600;
}

.status-rejected {
  color: var(--error);
  font-weight: 600;
}

.file-preview {
  margin: var(--spacing-xl) 0;
}

.file-preview h2 {
  margin-top: 0;
  margin-bottom: var(--spacing-md);
}

.preview-image {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  margin-bottom: var(--spacing-md);
  display: block;
  box-shadow: var(--shadow-sm);
}

.file-info {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-lg);
  background: var(--sand-light);
  border-radius: var(--radius-md);
  margin-bottom: var(--spacing-md);
}

.file-info .file-icon {
  font-size: 2em;
}

.file-info .file-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.file-info .file-link:hover {
  text-decoration: underline;
  color: var(--accent-dark);
}

.action-buttons {
  margin-top: var(--spacing-xl);
  padding-top: var(--spacing-xl);
  border-top: 1px solid var(--border);
}

.action-buttons h2 {
  margin-top: 0;
  margin-bottom: var(--spacing-md);
}

.button-group {
  display: flex;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.inline-form {
  display: inline;
}

.btn-approve {
  background: var(--success);
  color: white;
  border-radius: var(--radius-sm);
}

.btn-approve:hover {
  opacity: 0.9;
  box-shadow: var(--shadow-sm);
}

.btn-reject {
  background: var(--error);
  color: white;
  border-radius: var(--radius-sm);
}

.btn-reject:hover {
  opacity: 0.9;
  box-shadow: var(--shadow-sm);
}

#reject-form {
  background: var(--sand-light);
  padding: var(--spacing-lg);
  border-radius: var(--radius-md);
  margin-top: var(--spacing-md);
}

#reject-form .form-group {
  margin-bottom: var(--spacing-md);
}

#reject-form label {
  display: block;
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
}

#reject-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  background: #ffffff;
  color: var(--text);
  font-family: inherit;
  font-size: 1em;
  resize: vertical;
  transition: all var(--transition-base);
}

#reject-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(42, 161, 152, 0.08);
}

/* ========================================
   LOG PAGES
   ======================================== */

.log-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
}

.stat-card {
  background: var(--sand-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--spacing-lg);
  text-align: center;
  box-shadow: none;
  transition: all var(--transition-base);
}

.stat-card:hover {
  box-shadow: var(--shadow-sm);
}

.stat-card.approved {
  border-color: rgba(76, 175, 80, 0.3);
  background: rgba(76, 175, 80, 0.08);
}

.stat-card.rejected {
  border-color: rgba(244, 67, 54, 0.3);
  background: rgba(244, 67, 54, 0.08);
}

.stat-number {
  font-size: 3.5em;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: var(--spacing-sm);
  font-family: var(--font-heading);
}

.stat-card.approved .stat-number {
  color: var(--success);
}

.stat-card.rejected .stat-number {
  color: var(--error);
}

.stat-label {
  color: var(--text-light);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.95em;
  letter-spacing: 0.06em;
  font-family: var(--font-heading);
}

.log-list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.log-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-left: 3px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--spacing-lg);
  box-shadow: none;
  transition: all var(--transition-base);
}

.log-card:hover {
  box-shadow: var(--shadow-sm);
}

.log-card.status-approved {
  border-left-color: var(--success);
}

.log-card.status-rejected {
  border-left-color: var(--error);
}

.log-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing-md);
  padding-bottom: var(--spacing-md);
  border-bottom: 1px solid var(--border-light);
}

.log-file {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  flex: 1;
}

.log-file .file-name {
  font-weight: 600;
  color: var(--text);
}

.status-badge {
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.9em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.status-badge.status-approved {
  background: var(--success);
  color: white;
}

.status-badge.status-rejected {
  background: var(--error);
  color: white;
}

.status-badge.status-pending {
  background: var(--warning);
  color: white;
}

.log-details {
  display: flex;
  gap: var(--spacing-lg);
  flex-wrap: wrap;
  margin-bottom: var(--spacing-md);
}

.detail-item {
  display: flex;
  gap: var(--spacing-sm);
}

.detail-label {
  color: var(--text-light);
  font-weight: 600;
}

.log-message {
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  margin-top: var(--spacing-md);
  font-weight: 600;
}

.success-message {
  background: rgba(76, 175, 80, 0.08);
  color: #2e7d32;
  border-left: 4px solid var(--success);
}

.error-message {
  background: rgba(229, 57, 53, 0.06);
  color: #c62828;
  border-left: 4px solid var(--error);
}

.pending-message {
  background: rgba(255, 183, 77, 0.1);
  color: #e65100;
  border-left: 4px solid #ffb74d;
}

.rejection-reason {
  margin-top: var(--spacing-sm);
  padding-top: var(--spacing-sm);
  border-top: 1px solid var(--border-light);
  font-weight: normal;
}

.view-file-link {
  display: inline-block;
  margin-top: var(--spacing-md);
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.view-file-link:hover {
  text-decoration: underline;
  color: var(--accent-dark);
}

/* ======================================== 
   PARTNER SLIDER (SCROLLING GALLERY)
   ======================================== */

.partners-section {
  margin-top: var(--spacing-xxl);
  padding: var(--spacing-xxl) var(--spacing-lg);
  border-top: 3px solid var(--accent);
  background: linear-gradient(180deg, rgba(42, 161, 152, 0.03) 0%, transparent 100%);
}

.partners-section h2 {
  text-align: center;
  color: var(--accent-dark);
  margin-bottom: var(--spacing-xl);
  font-size: 2.4em;
  position: relative;
}

.partners-section h2::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--coral) 100%);
  margin: var(--spacing-md) auto 0;
  border-radius: 2px;
}

.partners-slider {
  overflow: hidden;
  padding: var(--spacing-xl) 0;
  background: var(--sand-light);
  border-radius: var(--radius-xl);
  position: relative;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.partners-slider::before,
.partners-slider::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}

.partners-slider::before {
  left: 0;
  background: linear-gradient(90deg, var(--sand-light) 0%, transparent 100%);
}

.partners-slider::after {
  right: 0;
  background: linear-gradient(270deg, var(--sand-light) 0%, transparent 100%);
}

.partners-track {
  display: flex;
  gap: var(--spacing-xxl);
  animation: slide 30s linear infinite;
}

.partner-logo {
  min-width: 200px;
  height: 130px;
  background: var(--cream);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--text-light);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  font-size: 1.1em;
}

.partner-logo:hover {
  transform: scale(1.08) translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent);
  color: var(--accent);
}

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

.partners-slider:hover .partners-track {
  animation-play-state: paused;
}

/* ========================================
   CONTACT PAGE
   ======================================== */

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.contact-item h3 {
  color: var(--accent-dark);
  margin-top: 0;
  margin-bottom: var(--spacing-sm);
  font-size: 1.2em;
}

.contact-item p {
  margin: 4px 0;
  line-height: 1.7;
}

.contact-item a {
  color: var(--accent);
  text-decoration: none;
  transition: all var(--transition-base);
}

.contact-item a:hover {
  text-decoration: underline;
  color: var(--accent-dark);
}

.contact-form {
  max-width: 600px;
}

.form-note {
  margin-top: var(--spacing-md);
  color: var(--text-light);
  font-size: 0.9em;
  font-style: italic;
}

/* ========================================
   VOLUNTEER REGISTRATION FORM
   ======================================== */

.volunteer-form {
  max-width: 700px;
}

.form-section {
  margin-bottom: var(--spacing-xl);
  padding: var(--spacing-lg);
  background: var(--sand-light);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.form-section h3 {
  margin-top: 0;
  margin-bottom: var(--spacing-lg);
  color: var(--accent-dark);
  font-size: 1.3em;
  border-bottom: 2px solid var(--accent);
  padding-bottom: var(--spacing-sm);
}

.volunteer-reason-group ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.volunteer-reason-group li {
  margin-bottom: var(--spacing-sm);
}

.volunteer-reason-group input[type="radio"] {
  margin-right: var(--spacing-sm);
  cursor: pointer;
}

.volunteer-reason-group label {
  cursor: pointer;
  font-weight: normal;
  color: var(--text);
}

.error-message {
  color: var(--error);
  font-size: 0.9em;
  margin-top: 6px;
  display: block;
  font-weight: 500;
}

/* ========================================
   APPLICATIONS PAGE
   ======================================== */

.applications-section {
  margin-bottom: var(--spacing-xxl);
}

.applications-section h2 {
  color: var(--navy);
  margin-bottom: var(--spacing-lg);
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.applications-section .badge {
  background: var(--accent-gradient);
  color: white;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.85em;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

.applications-grid {
  display: grid;
  gap: var(--spacing-lg);
}

.application-card {
  background: var(--cream);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.unseen-card {
  border-color: var(--accent);
  background: rgba(42, 161, 152, 0.04);
  box-shadow: var(--shadow-md);
}

.seen-card {
  border-color: var(--border-light);
  opacity: 0.85;
}

.application-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.application-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing-lg);
  padding-bottom: var(--spacing-md);
  border-bottom: 2px solid var(--border);
}

.application-header h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1.4em;
}

.status-badge {
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.75em;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.unseen-badge {
  background: var(--accent-gradient);
  color: white;
  box-shadow: var(--shadow-sm);
}

.seen-badge {
  background: var(--text-light);
  color: white;
}

.application-details {
  margin-bottom: var(--spacing-lg);
}

.detail-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-sm);
  padding: var(--spacing-sm) 0;
  border-bottom: 1px solid var(--border-light);
}

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

.detail-row strong {
  color: var(--text-light);
  font-weight: 600;
}

.detail-row span,
.detail-row a {
  color: var(--text);
}

.detail-row a {
  text-decoration: none;
  color: var(--accent);
  font-weight: 500;
}

.detail-row a:hover {
  color: var(--accent-dark);
  text-decoration: underline;
}

.other-reason {
  grid-template-columns: 1fr;
  background: var(--sand-light);
  padding: var(--spacing-md);
  border-radius: var(--radius-sm);
}

.other-reason strong {
  display: block;
  margin-bottom: var(--spacing-sm);
  color: var(--accent-dark);
}

.other-reason p {
  margin: 0;
  line-height: 1.85;
  color: var(--text);
}

.application-action {
  margin-top: var(--spacing-md);
}

.application-action button {
  width: 100%;
}

.seen-section {
  margin-top: var(--spacing-xxl);
  padding-top: var(--spacing-xxl);
  border-top: 3px solid var(--border);
}

.empty-message {
  text-align: center;
  color: var(--text-light);
  padding: var(--spacing-xl);
  background: var(--sand-light);
  border-radius: var(--radius-md);
  font-style: italic;
}

/* ========================================
   BOOTSTRAP ICONS STYLING
   ======================================== */

.bi {
  vertical-align: middle;
  margin-right: 4px;
}

.feature-card h3 i,
.content-section h2 i {
  color: var(--accent);
  margin-right: var(--spacing-sm);
  font-size: 1.1em;
}

.sidebar-link i {
  font-size: 1.2em;
  margin-right: var(--spacing-sm);
  color: var(--accent);
  transition: all var(--transition-base);
}

.sidebar-link:hover i,
.sidebar-link.active i {
  color: var(--accent-dark);
  transform: scale(1.1);
}

.btn i {
  margin-right: 6px;
}

.main-nav > a i {
  font-size: 1.1em;
}

/* ========================================
   ALTERNATING SECTIONS & IMAGE LAYOUTS
   ======================================== */

.section-split {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: var(--spacing-lg);
  align-items: center;
  margin-bottom: 0;
  padding: var(--spacing-md) 0;
}

.section-split.reverse {
  direction: rtl;
}

.section-split.reverse > * {
  direction: ltr;
}

.section-content {
  padding: var(--spacing-md);
}

.section-content h2 {
  margin-top: 0;
  color: var(--accent-dark);
  font-size: 2.5em;
  margin-bottom: var(--spacing-lg);
  line-height: 1.15;
  position: relative;
}

.section-content h2::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--accent-gradient);
  border-radius: 2px;
  margin-top: var(--spacing-sm);
}

.section-content p {
  font-size: 1.3em;
  line-height: 1.85;
  color: var(--text);
  margin-bottom: var(--spacing-sm);
}

.section-content ul {
  list-style: none;
  padding: 0;
  margin: var(--spacing-sm) 0;
}

.section-content ul li {
  padding: 8px var(--spacing-md);
  padding-left: calc(var(--spacing-lg) + var(--spacing-md));
  position: relative;
  font-size: 1.2em;
  line-height: 1.65;
  margin-bottom: 4px;
  background: linear-gradient(90deg, rgba(42, 161, 152, 0.04) 0%, transparent 100%);
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
}

.section-content ul li:hover {
  background: linear-gradient(90deg, rgba(42, 161, 152, 0.08) 0%, transparent 100%);
  transform: translateX(4px);
}

.section-content ul li::before {
  content: "✓";
  position: absolute;
  left: var(--spacing-sm);
  top: var(--spacing-sm);
  color: white;
  font-weight: bold;
  font-size: 0.85em;
  background: var(--accent-gradient);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.section-image {
  border-radius: 0;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  border: 2px solid var(--border);
  max-width: 510px;
  margin-left: auto;
}

.section-image:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

.section-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 330px;
  max-height: 420px;
}

.section-bg-light {
  background: var(--sand-light);
  padding: var(--spacing-lg) var(--spacing-xl);
  border-radius: 0;
  margin: 0;
  border: none;
  border-top: 1px solid var(--border);
}

.section-bg-white {
  background: var(--cream);
  padding: var(--spacing-lg) var(--spacing-xl);
  border-radius: 0;
  margin: 0;
  border: none;
  border-top: 1px solid var(--border);
}

.section-bg-gradient {
  background: var(--sand);
  padding: var(--spacing-lg) var(--spacing-xl);
  border-radius: 0;
  margin: 0;
  border: none;
  border-top: 1px solid var(--border);
}

.full-width-section {
  padding: var(--spacing-xl) var(--spacing-xl);
  margin: 0;
  border-top: 1px solid var(--border);
}

.full-width-section.dark {
  background: linear-gradient(135deg, var(--text-dark) 0%, #1a3a4a 100%);
  color: white;
  border-top: none;
}

.full-width-section.dark h2 {
  color: white;
}

.full-width-section.dark p {
  color: rgba(255, 255, 255, 0.9);
}

.content-wrapper {
  max-width: 1600px;
  width: 95%;
  margin: 0 auto;
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }

  .hero-right {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-left: 0;
    padding-top: var(--spacing-lg);
  }

  .section-split {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
  }
  
  .section-split.reverse {
    direction: ltr;
  }
  
  .section-image {
    max-width: 100%;
  }
}

/* ========================================
   SITEWIDE ANIMATIONS & MICRO-INTERACTIONS
   ======================================== */

/* --- Scroll Reveal --- */
.anim-fade-up {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.anim-fade-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.anim-fade-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.anim-scale-in {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* Stagger delays for children */
.anim-delay-1 { transition-delay: 0.1s; }
.anim-delay-2 { transition-delay: 0.2s; }
.anim-delay-3 { transition-delay: 0.3s; }
.anim-delay-4 { transition-delay: 0.4s; }
.anim-delay-5 { transition-delay: 0.5s; }

/* --- Hover lift for interactive items --- */
.hover-lift {
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.35s ease;
}

.hover-lift:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 40px rgba(27, 54, 93, 0.1);
}

/* --- Gentle tilt on hover --- */
.hover-tilt {
  transition: transform 0.4s ease;
}

.hover-tilt:hover {
  transform: perspective(600px) rotateY(-3deg) rotateX(2deg);
}

/* --- Underline grow on links --- */
.link-underline-grow {
  position: relative;
  text-decoration: none;
}

.link-underline-grow::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.4s ease;
}

.link-underline-grow:hover::after {
  width: 100%;
}

/* --- Pulsing dot (for labels, badges) --- */
@keyframes animPulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.15); }
}

.pulse-dot::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: animPulse 2.5s ease-in-out infinite;
  margin-right: 8px;
  vertical-align: middle;
}

/* --- Floating keyframes --- */
@keyframes animFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes animFloatSlow {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(1.5deg); }
}

.float-gentle {
  animation: animFloat 5s ease-in-out infinite;
}

.float-slow {
  animation: animFloatSlow 7s ease-in-out infinite;
}

/* --- Shimmer / loading effect --- */
@keyframes animShimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.shimmer-bg {
  background: linear-gradient(
    90deg,
    var(--sand-light) 25%,
    var(--sand) 50%,
    var(--sand-light) 75%
  );
  background-size: 200% 100%;
  animation: animShimmer 3s ease-in-out infinite;
}

/* --- Icon spin on hover --- */
.icon-spin-hover i {
  transition: transform 0.4s ease;
}

.icon-spin-hover:hover i {
  transform: rotate(15deg) scale(1.1);
}

/* --- Counter animation helper (used via JS) --- */
.count-up {
  font-variant-numeric: tabular-nums;
}

/* --- Smooth section transitions for page scroll --- */
html {
  scroll-behavior: smooth;
}

/* Nav underline animation is handled in the original .main-nav > a::after rule */

/* --- Page header subtle gradient animation --- */
@keyframes pgHeaderShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* --- Footer link hover --- */
.site-footer a {
  transition: color 0.3s ease, padding-left 0.3s ease;
}

.site-footer a:hover {
  padding-left: 4px;
}

/* --- Enhanced sidebar active state --- */
.sidebar-link.active {
  position: relative;
}

.sidebar-link.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 3px;
  background: var(--accent);
  border-radius: 0 3px 3px 0;
  animation: animPulse 3s ease-in-out infinite;
}

/* --- Card ribbon shimmer on hover --- */
.feature-card::after,
.notice-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.08),
    transparent
  );
  transition: left 0.6s ease;
  pointer-events: none;
}

.feature-card:hover::after,
.notice-card:hover::after {
  left: 100%;
}

/* --- Button icon nudge on hover --- */
.btn i,
.v2-btn i {
  transition: transform 0.3s ease;
}

.btn:hover i,
.v2-btn:hover i {
  transform: translateX(3px);
}
