/* * NobleHeart Children Foundation - Custom UI Layer
 * A bespoke enhancement over Bootstrap 4.3.1
 */

:root {
  /* Refined Color Palette */
  --primary-color: #dc3545;       /* Warm Heart Red */
  --primary-hover: #c82333;
  --secondary-color: #002d5b;     /* Deep Trust Blue */
  --accent-color: #ffc107;        /* Joyous Yellow */
  --bg-soft: #f8f9fa;
  --text-main: #2d3436;
  --text-muted: #636e72;
  
  /* Modern UI Elements */
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --shadow-md: 0 10px 30px rgba(0,0,0,0.08);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --border-radius: 12px;
}

/* --- 1. Typography Perfection --- */
body {
  font-family: 'Work Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
  line-height: 1.7;
}

h1, h2, h3, h4, .navbar-brand {
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
}

/* --- 2. Navigation Beauty --- */
.navbar {
  padding: 1.2rem 0;
  transition: var(--transition);
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(10px); /* Modern glass effect */
}

.nav-link {
  font-weight: 500;
  color: var(--secondary-color) !important;
  position: relative;
  transition: var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background: var(--primary-color);
  transition: var(--transition);
  transform: translateX(-50%);
}

.nav-link:hover::after {
  width: 70%;
}

/* --- 3. Buttons with "Lift" --- */
.btn {
  border-radius: 50px; /* Pill shape is more friendly/modern */
  padding: 12px 30px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background-color: var(--primary-color);
  box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(220, 53, 69, 0.4);
}

/* --- 4. Cards and Sections --- */
.card, .blog-entry {
  border: none;
  border-radius: var(--border-radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.card:hover, .blog-entry:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-md);
}

.section-padding {
  padding: 100px 0;
}

/* --- 5. Hero & Overlays --- */
.hero-wrap {
  position: relative;
  overflow: hidden;
}

.hero-wrap .overlay {
  background: linear-gradient(45deg, rgba(0,45,91,0.7) 0%, rgba(220,53,69,0.4) 100%);
}

.slider-text h1 {
  text-shadow: 2px 4px 10px rgba(0,0,0,0.2);
}

/* --- 6. Helper Classes (The "Perfectors") --- */
.text-gradient {
  background: linear-gradient(to right, var(--primary-color), #ff6b6b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.soft-bg { background-color: var(--bg-soft); }

.underline-center {
  height: 4px;
  width: 60px;
  background: var(--primary-color);
  margin: 20px auto;
  border-radius: 2px;
}

/* Custom Scrollbar for a polished feel */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { 
  background: var(--primary-color); 
  border-radius: 10px; 
}