:root {
  --primary: #e63946;
  --primary-dark: #c1121f;
  --secondary: #f4a261;
  --dark: #1a1a2e;
  --light-grey: #f8f9fa;
  --text-muted: #6c757d;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 40px rgba(230,57,70,0.18);
}

* { box-sizing: border-box; }
body { font-family: 'DM Sans', sans-serif; color: #2d3436; overflow-x: hidden; }
h1,h2,h3,h4,h5,h6 { font-family: 'DM Sans', sans-serif; font-weight: 700; }

/* Override Bootstrap primary */
.btn-primary { background: var(--primary); border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); }
.btn-outline-primary { color: var(--primary); border-color: var(--primary); }
.btn-outline-primary:hover { background: var(--primary); border-color: var(--primary); }
.bg-primary { background: var(--primary) !important; }
.text-primary { color: var(--primary) !important; }
.badge.bg-primary { background: var(--primary) !important; }
.progress-bar.bg-primary { background: var(--primary) !important; }

/* Top Bar */
.top-bar { font-size: 13px; }

/* Navbar */
.navbar { transition: all 0.3s ease; padding: 12px 0; }
.navbar.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.12) !important; }
.navbar .nav-link { font-weight: 500; color: #2d3436; padding: 8px 14px; border-radius: 6px; transition: all 0.2s; }
.navbar .nav-link:hover, .navbar .nav-link.active { color: var(--primary); background: rgba(230,57,70,0.06); }
.brand-name { font-family: 'Playfair Display', serif; font-size: 22px; color: var(--primary); line-height: 1; }
.brand-icon { font-size: 28px; }
.brand-tag { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--text-muted); }
/* Dropdown - clean minimal like screenshot */
.nav-dropdown {
  border: none;
  border-radius: 0;
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
  padding: 10px 0;
  min-width: 200px;
  margin-top: 0;
}
.nav-dropdown .dropdown-item {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #555;
  padding: 12px 24px;
  background: white;
  border-bottom: 1px solid #f0f0f0;
  transition: color 0.2s, padding-left 0.2s;
}
.nav-dropdown .dropdown-item:last-child {
  border-bottom: none;
}
.nav-dropdown .dropdown-item:hover {
  background: white;
  color: #216f9d;
  padding-left: 30px;
}
.navbar .dropdown-toggle::after {
  margin-left: 5px;
}

/* Hero */
/* =====================
   HERO CAROUSEL
   ===================== */
.hero-carousel-section { position: relative; }

.hero-slide {
  width: 100%;
  height: 92vh;
  min-height: 560px;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
}

/* Dark left-to-right gradient overlay — matches screenshot */
.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.70) 0%,
    rgba(0,0,0,0.40) 55%,
    rgba(0,0,0,0.05) 100%
  );
}

.hero-slide-content {
  position: relative;
  z-index: 2;
}

/* Hero text — visible by default, animated via JS on each slide */
.hero-sub-tag {
  font-size: 1.1rem;
  font-weight: 600;
  color: #f4731c;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.hero-slide-title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 20px;
}

.text-orange { color: #f4731c; }

.hero-slide-desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.80);
  line-height: 1.75;
  max-width: 560px;
  margin-bottom: 34px;
}

/* Animation classes added/removed by JS */
.hero-anim {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.hero-anim.hero-anim-in {
  opacity: 1;
  transform: translateY(0);
}

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

/* Buttons — match screenshot exactly */
.btn-hero-orange {
  display: inline-block;
  background: #f4731c;
  color: #fff;
  border: 2px solid #f4731c;
  padding: 12px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  margin-right: 10px;
  transition: all 0.25s;
}
.btn-hero-orange:hover {
  background: transparent;
  color: #f4731c;
}

.btn-hero-outline {
  display: inline-block;
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.75);
  padding: 12px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.25s;
}
.btn-hero-outline:hover {
  background: #fff;
  color: #1a1a2e;
  border-color: #fff;
}

/* Arrow buttons — dark circle, match screenshot */
.hero-arrow {
  width: 50px !important;
  height: 50px !important;
  background: rgba(0,0,0,0.50) !important;
  border-radius: 50% !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  opacity: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: none !important;
  position: absolute !important;
  z-index: 10 !important;
  bottom: auto !important;
  transition: background 0.2s !important;
}
.hero-arrow:hover { background: #f4731c !important; }
.hero-arrow-prev { left: 18px !important; right: auto !important; }
.hero-arrow-next { right: 18px !important; left: auto !important; }

.hero-arrow-icon {
  color: #fff;
  font-size: 2rem;
  font-weight: 300;
  line-height: 1;
}

/* Hide Bootstrap's default arrow icons */
.hero-arrow .carousel-control-prev-icon,
.hero-arrow .carousel-control-next-icon { display: none !important; }

/* Smooth slide transition (not fade) */
.carousel-item { transition: transform 0.6s ease-in-out; }

@media (max-width: 768px) {
  .hero-slide { height: 68vh; min-height: 380px; }
  .hero-slide-title { font-size: 2rem; }
  .btn-hero-orange, .btn-hero-outline { padding: 10px 22px; font-size: 0.8rem; margin-bottom: 8px; }
  .hero-arrow { width: 38px !important; height: 38px !important; }
  .hero-arrow-icon { font-size: 1.6rem; }
  .brand-name { font-family: 'Playfair Display', serif; font-size: 14px!important; color: var(--primary); line-height: 1; }

}
/* =====================
   END HERO CAROUSEL
   ===================== */


/* Sections */
.section-pad { padding: 80px 0; }
.bg-light-grey { background: #f8f9fa; }
.section-label { font-size: 13px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--primary); display: block; margin-bottom: 10px; }
.section-label-white { font-size: 13px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: rgba(255,255,255,0.6); display: block; margin-bottom: 10px; }
.section-title { font-family: 'Playfair Display', serif; font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 16px; line-height: 1.2; }

/* About */
.about-img-grid { position: relative; padding-bottom: 30px; }
.img-main { width: 80%; height: 420px; object-fit: cover; box-shadow: var(--shadow); }
.img-secondary { width: 50%; height: 200px; object-fit: cover; position: absolute; right: 0; bottom: 0; border: 6px solid white; box-shadow: var(--shadow); }
.exp-badge { position: absolute; top: 30px; right: 0; background: var(--primary); color: white; padding: 20px; border-radius: 12px; text-align: center; }
.exp-badge strong { display: block; font-family: 'Playfair Display', serif; font-size: 2rem; }
.exp-badge span { font-size: 11px; }
.feature-icon { font-size: 28px; flex-shrink: 0; }

/* Stats Bar */
.stats-bar h4 { font-family: 'Playfair Display', serif; font-size: 1.8rem; }

/* Cause Cards */
.cause-card { border-radius: 16px !important; overflow: hidden; transition: transform 0.3s, box-shadow 0.3s; }
.cause-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover) !important; }
.cause-img-wrap { position: relative; overflow: hidden; }
.cause-img { height: 200px; object-fit: cover; width: 100%; transition: transform 0.4s; }
.cause-card:hover .cause-img { transform: scale(1.06); }
.cause-badge { position: absolute; top: 14px; right: 14px; background: white; padding: 8px 12px; border-radius: 10px; font-size: 20px; box-shadow: var(--shadow); }
.progress { border-radius: 50px; }

/* Steps */
.step-card { background: rgba(255,255,255,0.08); border-radius: 20px; position: relative; transition: all 0.3s; }
.step-card:hover { background: rgba(255,255,255,0.15); transform: translateY(-4px); }
.step-number { font-family: 'Playfair Display', serif; font-size: 4rem; color: rgba(255,255,255,0.08); line-height: 1; margin-bottom: -20px; }
.step-icon { font-size: 2.5rem; }

/* Volunteer CTA */
.volunteer-cta { background: linear-gradient(135deg, #fff5f5, #fff0e8); border: 2px solid rgba(230,57,70,0.1); }

/* Events */
.event-card { border-radius: 16px !important; transition: all 0.3s; }
.event-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.12) !important; }
.event-img-wrap { position: relative; overflow: hidden; }
.event-img { width: 100%; height: 200px; object-fit: cover; transition: transform 0.4s; }
.event-card:hover .event-img { transform: scale(1.05); }
.event-date-badge { position: absolute; top: 14px; left: 14px; background: var(--primary); color: white; padding: 10px 14px; border-radius: 12px; text-align: center; line-height: 1.2; }
.event-date-badge strong { display: block; font-size: 1.2rem; }
.event-date-badge span { font-size: 11px; opacity: 0.85; }

/* Testimonials */
.testimonials-section { background: linear-gradient(135deg, #fff5f5 0%, #fff 100%); }
.testimonial-card { border-radius: 16px !important; background: white; box-shadow: var(--shadow); transition: all 0.3s; }
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover) !important; }
.testimonial-avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 3px solid var(--primary); }

/* Blog */
.blog-card { border-radius: 16px !important; transition: all 0.3s; }
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.1) !important; }
.blog-img { width: 100%; height: 200px; object-fit: cover; transition: transform 0.4s; }
.blog-card:hover .blog-img { transform: scale(1.04); }
.badge.bg-primary-soft { background: rgba(230,57,70,0.1) !important; }

/* Partners */
.partner-logo-box { padding: 14px 28px; border: 2px solid #e9ecef; border-radius: 12px; font-weight: 700; color: #6c757d; font-size: 14px; letter-spacing: 1px; transition: all 0.2s; }
.partner-logo-box:hover { border-color: var(--primary); color: var(--primary); }

/* Newsletter */
.newsletter-form .form-control { border-radius: 50px 0 0 50px; border: none; padding-left: 20px; }
.newsletter-form .btn { border-radius: 0 50px 50px 0; font-weight: 700; }

/* Page Banner */
.page-banner { background: linear-gradient(135deg, #1a1a2e, #0f3460); padding: 80px 0 60px; }
.page-banner h1 { font-family: 'Playfair Display', serif; color: white; }
.breadcrumb-item, .breadcrumb-item a, .breadcrumb-item.active { color: rgba(255,255,255,0.65); text-decoration: none; }
.breadcrumb-item+.breadcrumb-item::before { color: rgba(255,255,255,0.4); }

/* Footer */
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: rgba(255,255,255,0.55); text-decoration: none; font-size: 14px; transition: color 0.2s; }
.footer-links a:hover { color: var(--primary); }
.footer-contact li { margin-bottom: 12px; font-size: 14px; color: rgba(255,255,255,0.65); }
.footer-social { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.08); display: inline-flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.6); text-decoration: none; font-size: 14px; transition: all 0.2s; }
.footer-social:hover { background: var(--primary); color: white; }

/* Back to top */
.back-to-top { position: fixed; bottom: 24px; right: 24px; width: 44px; height: 44px; background: var(--primary); color: white; border: none; border-radius: 50%; display: none; align-items: center; justify-content: center; cursor: pointer; z-index: 999; box-shadow: 0 4px 16px rgba(230,57,70,0.4); transition: all 0.3s; }
.back-to-top.show { display: flex; }
.back-to-top:hover { transform: translateY(-3px); }

/* Donate Page */
.donate-card { border-radius: 20px; box-shadow: var(--shadow); }
.amount-btn { border: 2px solid #e9ecef; background: white; border-radius: 10px; padding: 12px 20px; cursor: pointer; font-weight: 600; transition: all 0.2s; }
.amount-btn:hover, .amount-btn.active { border-color: var(--primary); background: rgba(230,57,70,0.06); color: var(--primary); }
.cause-radio-card { border: 2px solid #e9ecef; border-radius: 12px; padding: 16px; cursor: pointer; transition: all 0.2s; }
.cause-radio-card:hover, .cause-radio-card.selected { border-color: var(--primary); background: rgba(230,57,70,0.04); }

/* Team Cards */
.team-card { border-radius: 16px; overflow: hidden; transition: all 0.3s; }
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover) !important; }
.team-img { width: 100%; height: 260px; object-fit: cover; }
.team-social { opacity: 0; transition: opacity 0.3s; }
.team-card:hover .team-social { opacity: 1; }

/* Gallery */
.gallery-item { overflow: hidden; border-radius: 12px; cursor: pointer; }
.gallery-img { width: 100%; height: 220px; object-fit: cover; transition: transform 0.4s; }
.gallery-item:hover .gallery-img { transform: scale(1.08); }

/* Contact */
.contact-card { border-radius: 16px; border: none; box-shadow: var(--shadow); }
.contact-info-item { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid #f0f0f0; }
.contact-info-icon { width: 48px; height: 48px; background: rgba(230,57,70,0.1); color: var(--primary); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }

/* Form Styles */
.form-control, .form-select { border-radius: 10px; border: 1.5px solid #e9ecef; padding: 12px 16px; transition: all 0.2s; }
.form-control:focus, .form-select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(230,57,70,0.1); }

/* Volunteer Form */
.volunteer-section { background: linear-gradient(135deg, #fff5f5, #fff); }

/* Responsive */
@media (max-width: 768px) {
  .hero-title { font-size: 2.2rem; }
  .section-pad { padding: 50px 0; }
  .about-img-grid { display: none; }
  .hero-card-float { left: 10px; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form .form-control { border-radius: 50px; }
  .newsletter-form .btn { border-radius: 50px; }
}
/* ── Mega / Nested Dropdown ─────────────────────────── */
.nav-dropdown {
  border: none;
  border-radius: 0;
  box-shadow: 0 6px 24px rgba(0,0,0,0.13);
  padding: 6px 0;
  min-width: 220px;
  margin-top: 0;
  background: #2d3954;
}
.nav-dropdown .dropdown-item {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #d0d8e8;
  padding: 4px 22px;
  background: transparent;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: background 0.2s, color 0.2s, padding-left 0.2s;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-dropdown .dropdown-item:last-child { border-bottom: none; }
.nav-dropdown .dropdown-item:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
  padding-left: 28px;
}

/* Active bullet like screenshot */
.dropdown-submenu > .dropdown-item::before {
  content: '•';
  color: #f4731c;
  margin-right: 8px;
  font-size: 1rem;
}

.submenu-arrow {
  font-size: 1.1rem;
  opacity: 0.6;
  margin-left: auto;
}

/* ── Second level submenu ── */
.dropdown-submenu { position: relative; }
.dropdown-submenu .submenu {
  display: none;
  position: absolute;
  top: 0;
  left: 100%;
  min-width: 210px;
  background: #2d3954;
  border: none;
  border-radius: 0;
  box-shadow: 6px 6px 24px rgba(0,0,0,0.15);
  padding: 6px 0;
  z-index: 9999;
}
.dropdown-submenu:hover .submenu { display: block; }
.submenu .dropdown-item::before { content: none; }

/* Toggle arrow */
.navbar .dropdown-toggle::after {
  margin-left: 5px;
  vertical-align: middle;
}

@media (max-width: 991px) {
  .dropdown-submenu .submenu {
    position: static;
    box-shadow: none;
    background: rgba(0,0,0,0.15);
    display: none;
  }
  .dropdown-submenu.open .submenu { display: block; }
}

