/* 
 * Ike Mbama Destitute Foundation - Custom Responsive Design System
 * Primary: Official Logo Deep Navy (#002855 / #0F2C59)
 * Accent 1: Official Logo Cyan/Teal (#00B4D8)
 * Accent 2: Official Logo Warm Orange (#FF9800 / #F59E0B)
 */

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

:root {
  --primary-navy: #002855;
  --primary-navy-dark: #001D40;
  --primary-navy-light: #0A3D78;
  --accent-teal: #00B4D8;
  --accent-teal-dark: #0077B6;
  --accent-teal-light: #E0F7FA;
  --accent-orange: #FF9800;
  --accent-orange-dark: #E67E22;
  --accent-orange-light: #FFF3E0;
  --bg-light: #F8FAFC;
  --bg-sky: #F0F9FF;
  --text-dark: #0F172A;
  --text-muted: #64748B;
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
  --glass-bg: rgba(0, 40, 85, 0.96);
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 24px rgba(0, 40, 85, 0.12);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.18);
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* STRICT ZERO-OVERFLOW RESPONSIVE LOCKOUT */
html, body {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: hidden !important;
  position: relative !important;
  margin: 0 !important;
  padding: 0 !important;
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container, .container-fluid {
  max-width: 100% !important;
  overflow-x: hidden !important;
}

.row {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

[class*="col-"] {
  padding-left: 12px;
  padding-right: 12px;
}

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary-navy-dark);
  word-wrap: break-word;
  overflow-wrap: break-word;
}

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

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

/* Topbar Notification Bar */
.topbar {
  background-color: #001A38;
  color: #E2E8F0;
  font-size: 0.875rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(0, 180, 216, 0.25);
  width: 100%;
}

.topbar a {
  color: #80E3F7;
}

.topbar a:hover {
  color: #FFF;
}

/* Sticky Glassmorphism Navbar */
.navbar-ngo {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
  padding: 10px 0;
  transition: var(--transition);
  z-index: 1050;
  width: 100%;
}

.navbar-ngo .navbar-brand {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  color: #FFFFFF !important;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 80%;
}

.brand-logo-img {
  height: 52px;
  max-width: 100%;
  object-fit: contain;
  background: #FFFFFF;
  padding: 4px 8px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  transition: var(--transition);
}

.navbar-ngo .nav-link {
  color: #F1F5F9 !important;
  font-weight: 500;
  padding: 8px 14px !important;
  border-radius: 6px;
  transition: var(--transition);
}

.navbar-ngo .nav-link:hover,
.navbar-ngo .nav-link.active {
  color: var(--accent-teal) !important;
  background: rgba(255, 255, 255, 0.1);
}

/* Buttons */
.btn-gold, .btn-orange {
  background: linear-gradient(135deg, #FF9800 0%, #E67E22 100%);
  color: #FFFFFF !important;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: 50px;
  border: none;
  box-shadow: 0 4px 15px rgba(255, 152, 0, 0.4);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 100%;
}

.btn-gold:hover, .btn-orange:hover {
  background: linear-gradient(135deg, #FFA726 0%, #FF9800 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 152, 0, 0.55);
  color: #FFFFFF !important;
}

.btn-emerald, .btn-teal {
  background: linear-gradient(135deg, #00B4D8 0%, #0077B6 100%);
  color: #FFF !important;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 50px;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 180, 216, 0.35);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 100%;
}

.btn-emerald:hover, .btn-teal:hover {
  background: linear-gradient(135deg, #38BDF8 0%, #00B4D8 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 180, 216, 0.5);
}

.btn-outline-gold, .btn-outline-teal {
  border: 2px solid var(--accent-teal);
  color: var(--accent-teal) !important;
  font-weight: 600;
  padding: 8px 22px;
  border-radius: 50px;
  background: transparent;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 100%;
}

.btn-outline-gold:hover, .btn-outline-teal:hover {
  background: var(--accent-teal);
  color: #001A38 !important;
}

/* Hero Section */
.hero-section {
  position: relative;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 130px 0 90px;
  color: #FFFFFF;
  min-height: 75vh;
  display: flex;
  align-items: center;
  width: 100%;
  overflow: hidden;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 180, 216, 0.2);
  border: 1px solid var(--accent-teal);
  color: #80E3F7;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  max-width: 100%;
}

.hero-title {
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1.15;
  color: #FFFFFF;
  margin-bottom: 18px;
}

.text-gradient-gold {
  background: linear-gradient(135deg, #FFF 20%, #80E3F7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: #E2E8F0;
  margin-bottom: 32px;
  max-width: 680px;
}

/* Photo Gallery Slider Carousel */
.gallery-slider-wrapper {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid #FFFFFF;
}

.gallery-carousel .carousel-item {
  height: 480px;
  background: #000;
}

.gallery-carousel .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}

.gallery-carousel .carousel-caption {
  background: linear-gradient(0deg, rgba(0,29,64,0.92) 0%, rgba(0,29,64,0) 100%);
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 30px 20px;
  text-align: left;
}

/* Cards & Components */
.card-ngo {
  background: #FFFFFF;
  border: 1px solid rgba(0, 40, 85, 0.08);
  border-radius: 16px;
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
}

.card-ngo:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 180, 216, 0.35);
}

.icon-box-gold {
  width: 56px;
  height: 56px;
  background: rgba(255, 152, 0, 0.15);
  color: var(--accent-orange-dark);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 18px;
}

.icon-box-emerald {
  width: 56px;
  height: 56px;
  background: rgba(0, 180, 216, 0.15);
  color: var(--accent-teal-dark);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 18px;
}

/* Impact Statistics Section */
.stat-card {
  background: rgba(255, 255, 255, 0.95);
  border-left: 4px solid var(--accent-orange);
  border-radius: 12px;
  padding: 16px 8px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--primary-navy);
  line-height: 1.1;
}

.stat-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 4px;
}

/* Section Header styling */
.section-subtitle {
  color: var(--accent-teal-dark);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.85rem;
  display: block;
  margin-bottom: 8px;
}

.section-title {
  font-size: 2.2rem;
  margin-bottom: 14px;
}

/* Blog Cards */
.blog-card {
  background: #FFF;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.blog-img-wrapper {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.blog-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.category-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--primary-navy);
  color: #FFF;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
  text-transform: uppercase;
}

/* Donation Form Styling */
.donation-box {
  background: #FFF;
  border-radius: 20px;
  padding: 32px 24px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 180, 216, 0.25);
  max-width: 100%;
}

.amount-btn-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(85px, 1fr));
  gap: 8px;
  margin-bottom: 20px;
}

.btn-amount {
  border: 2px solid #E2E8F0;
  background: #FFF;
  color: var(--text-dark);
  font-weight: 700;
  padding: 10px 4px;
  border-radius: 10px;
  transition: var(--transition);
  font-size: 0.9rem;
}

.btn-amount:hover,
.btn-amount.active {
  border-color: var(--accent-orange);
  background: rgba(255, 152, 0, 0.1);
  color: var(--primary-navy-dark);
}

/* Footer Styling */
.footer-ngo {
  background: #00152E;
  color: #94A3B8;
  padding: 60px 0 24px;
  font-size: 0.95rem;
  width: 100%;
}

.footer-ngo h5 {
  color: #FFFFFF;
  font-size: 1.1rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-ngo h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 3px;
  background: var(--accent-orange);
  border-radius: 2px;
}

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

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #94A3B8;
}

.footer-links a:hover {
  color: var(--accent-teal);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
  margin-top: 40px;
}

/* ========================================================
   RESPONSIVE MEDIA QUERIES (TABLETS, MOBIES, FOLDS)
   ======================================================== */

@media (max-width: 991.98px) {
  .hero-section {
    padding: 95px 0 50px;
    min-height: auto;
    text-align: center;
  }

  .hero-title {
    font-size: 2.3rem;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
    font-size: 1rem;
  }

  .hero-section .d-flex {
    justify-content: center;
  }

  .gallery-carousel .carousel-item {
    height: 340px;
  }

  .section-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 575.98px) {
  .brand-logo-img {
    height: 40px;
    padding: 2px 4px;
  }

  .hero-section {
    padding: 80px 0 40px;
  }

  .hero-title {
    font-size: 1.8rem;
    line-height: 1.25;
  }

  .hero-tag {
    font-size: 0.72rem;
    padding: 4px 10px;
    white-space: normal;
    text-align: center;
  }

  .gallery-carousel .carousel-item {
    height: 260px;
  }

  .gallery-carousel .carousel-caption {
    padding: 20px 15px 10px;
  }

  .gallery-carousel .carousel-caption h4 {
    font-size: 1rem;
  }

  .btn-gold, .btn-orange, .btn-emerald, .btn-teal, .btn-outline-gold, .btn-outline-teal {
    width: 100%;
    margin-bottom: 6px;
    padding: 10px 16px;
    font-size: 0.9rem;
  }

  .section-title {
    font-size: 1.55rem;
  }

  .stat-card {
    padding: 12px 6px;
  }

  .stat-number {
    font-size: 1.6rem;
  }

  .stat-label {
    font-size: 0.7rem;
  }

  .donation-box {
    padding: 24px 14px;
  }

  .footer-ngo {
    padding: 40px 0 20px;
    text-align: center;
  }

  .footer-ngo h5::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-ngo .d-flex {
    justify-content: center;
  }
}

@media (max-width: 380px) {
  .hero-title {
    font-size: 1.55rem;
  }

  .stat-number {
    font-size: 1.45rem;
  }

  .amount-btn-group {
    grid-template-columns: repeat(2, 1fr);
  }
}
