/* Superb Human Foundation — Professional NGO Theme */
:root {
  --ngo-primary: #0d7a5f;
  --ngo-primary-dark: #065a46;
  --ngo-primary-light: #12a67f;
  --ngo-accent: #f4a261;
  --ngo-accent-dark: #e76f51;
  --ngo-dark: #0f172a;
  --ngo-dark-soft: #1e293b;
  --ngo-text: #475569;
  --ngo-text-light: #64748b;
  --ngo-bg: #f8fafc;
  --ngo-white: #ffffff;
  --ngo-radius: 16px;
  --ngo-radius-sm: 10px;
  --ngo-shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
  --ngo-shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.12);
  --ngo-transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --ngo-font: "Plus Jakarta Sans", "Ubuntu", sans-serif;
}

.ngo-site {
  font-family: var(--ngo-font) !important;
  background-color: var(--ngo-bg) !important;
  color: var(--ngo-text);
  overflow-x: hidden;
}

.ngo-site h1,
.ngo-site h2,
.ngo-site h3,
.ngo-site h4,
.ngo-site h5 {
  color: var(--ngo-dark);
  font-family: var(--ngo-font);
  font-weight: 700;
}

/* Decorative background shapes */
.ngo-site::before {
  content: "";
  position: fixed;
  top: -120px;
  right: -120px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(13, 122, 95, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Header */
.ngo-site header {
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.06);
  background: var(--ngo-white);
  position: relative;
  z-index: 1000;
}

.ngo-site header .header-top {
  background: linear-gradient(135deg, var(--ngo-primary-dark) 0%, var(--ngo-primary) 100%);
  border-bottom: none;
  padding: 8px 0;
}

.ngo-site header .header-top .ulleft li,
.ngo-site header .header-top .ulleft li a {
  color: rgba(255, 255, 255, 0.92) !important;
  font-size: 0.85rem;
  font-weight: 500;
}

.ngo-site header .header-top .ulleft li i {
  color: var(--ngo-accent) !important;
}

.ngo-site header .header-top .ulright li small,
.ngo-site header .header-top .ulright li a {
  color: rgba(255, 255, 255, 0.9) !important;
}

.ngo-site header .header-top .ulright li a:hover {
  color: var(--ngo-accent) !important;
  transform: translateY(-2px);
  display: inline-block;
  transition: var(--ngo-transition);
}

.ngo-site header .header-bottom {
  padding: 12px 0;
  background: var(--ngo-white);
}

.ngo-site header .logo img {
  max-height: 72px;
  transition: var(--ngo-transition);
}

.ngo-site header .nav-col .navbad li {
  padding: 8px 6px;
}

.ngo-site header .nav-col .navbad li a.nav-link {
  border: none !important;
  border-radius: 8px !important;
  padding: 10px 18px !important;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  color: var(--ngo-dark-soft) !important;
  transition: var(--ngo-transition);
  position: relative;
}

.ngo-site header .nav-col .navbad li a.nav-link:hover,
.ngo-site header .nav-col .navbad li.active a.nav-link {
  background: rgba(13, 122, 95, 0.1) !important;
  color: var(--ngo-primary) !important;
}

.ngo-site header .nav-col .navbad li.nav-donate a {
  background: linear-gradient(135deg, var(--ngo-accent) 0%, var(--ngo-accent-dark) 100%) !important;
  color: var(--ngo-white) !important;
  box-shadow: 0 4px 14px rgba(231, 111, 81, 0.35);
}

.ngo-site header .nav-col .navbad li.nav-donate a:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(231, 111, 81, 0.45);
  color: var(--ngo-white) !important;
}

.ngo-site header .small-menu {
  color: var(--ngo-primary);
  transition: var(--ngo-transition);
}

.ngo-site header .small-menu:hover {
  color: var(--ngo-accent-dark);
}

@media (max-width: 991px) {
  .ngo-site #menu.nav-col {
    background: var(--ngo-white);
    padding: 16px;
    border-radius: var(--ngo-radius);
    box-shadow: var(--ngo-shadow-lg);
    margin-top: 12px;
  }

  .ngo-site header .nav-col .navbad li {
    float: none;
    width: 100%;
    padding: 4px 0;
  }

  .ngo-site header .nav-col .navbad li a.nav-link {
    display: block;
    text-align: center;
  }
}

/* Slider / Hero */
.ngo-site .slider {
  position: relative;
  overflow: hidden;
}

.ngo-site .slider .slider-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(6, 90, 70, 0.85) 0%,
    rgba(15, 23, 42, 0.55) 50%,
    rgba(15, 23, 42, 0.25) 100%
  );
  z-index: 1;
}

.ngo-site .slider .item {
  position: relative;
}

.ngo-site .slider-hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  text-align: center;
  width: 90%;
  max-width: 800px;
  padding: 0 20px;
}

.ngo-site .slider-hero-content h1 {
  color: var(--ngo-white);
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
  animation: ngoFadeUp 0.8s ease-out;
}

.ngo-site .slider-hero-content p {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1rem, 2vw, 1.15rem);
  margin-bottom: 28px;
  line-height: 1.6;
}

.ngo-site .btn-ngo-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--ngo-accent) 0%, var(--ngo-accent-dark) 100%);
  color: var(--ngo-white) !important;
  font-weight: 700;
  border-radius: 50px;
  border: none;
  box-shadow: 0 8px 24px rgba(231, 111, 81, 0.4);
  transition: var(--ngo-transition);
  text-decoration: none !important;
}

.ngo-site .btn-ngo-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(231, 111, 81, 0.5);
  color: var(--ngo-white) !important;
}

.ngo-site .btn-ngo-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: transparent;
  color: var(--ngo-white) !important;
  font-weight: 600;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 50px;
  margin-left: 12px;
  transition: var(--ngo-transition);
  text-decoration: none !important;
}

.ngo-site .btn-ngo-outline:hover {
  background: var(--ngo-white);
  color: var(--ngo-primary) !important;
}

.ngo-site .slider .owl-nav button {
  background: rgba(255, 255, 255, 0.15) !important;
  backdrop-filter: blur(8px);
  border: 2px solid rgba(255, 255, 255, 0.5) !important;
  transition: var(--ngo-transition);
}

.ngo-site .slider .owl-nav button:hover {
  background: var(--ngo-white) !important;
  color: var(--ngo-primary) !important;
}

/* Section titles */
.ngo-section-head {
  text-align: center;
  margin-bottom: 48px;
}

.ngo-section-head .ngo-label {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(13, 122, 95, 0.1);
  color: var(--ngo-primary);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 50px;
  margin-bottom: 12px;
}

.ngo-section-head h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin-bottom: 12px;
}

.ngo-section-head p {
  max-width: 640px;
  margin: 0 auto;
  color: var(--ngo-text-light);
  line-height: 1.7;
}

/* About section */
.ngo-site .about-us {
  background: var(--ngo-white);
  padding: 80px 0;
  position: relative;
}

.ngo-site .about-us .text-part h2 {
  font-size: 1.75rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.ngo-site .about-us .text-part h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--ngo-primary), var(--ngo-accent));
  border-radius: 2px;
}

.ngo-site .about-us .text-part p {
  text-indent: 0;
  line-height: 1.8;
  color: var(--ngo-text);
  margin-bottom: 16px;
}

/* Team cards */
.ngo-team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.ngo-team-card {
  background: var(--ngo-white);
  border-radius: var(--ngo-radius);
  padding: 24px 20px;
  text-align: center;
  box-shadow: var(--ngo-shadow);
  border: 1px solid rgba(15, 23, 42, 0.06);
  transition: var(--ngo-transition);
}

.ngo-team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--ngo-shadow-lg);
  border-color: rgba(13, 122, 95, 0.2);
}

.ngo-team-card .ngo-avatar {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ngo-primary) 0%, var(--ngo-primary-light) 100%);
  color: var(--ngo-white);
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ngo-team-card h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.ngo-team-card span {
  font-size: 0.8rem;
  color: var(--ngo-primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Impact pillars */
.ngo-pillars {
  padding: 60px 0;
  background: var(--ngo-bg);
}

.ngo-pillar-card {
  background: var(--ngo-white);
  border-radius: var(--ngo-radius);
  padding: 32px 24px;
  height: 100%;
  text-align: center;
  box-shadow: var(--ngo-shadow);
  transition: var(--ngo-transition);
  border: 1px solid transparent;
}

.ngo-pillar-card:hover {
  transform: translateY(-8px);
  border-color: rgba(13, 122, 95, 0.15);
  box-shadow: var(--ngo-shadow-lg);
}

.ngo-pillar-card .ngo-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(13, 122, 95, 0.12) 0%, rgba(13, 122, 95, 0.05) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--ngo-primary);
  transition: var(--ngo-transition);
}

.ngo-pillar-card:hover .ngo-icon {
  background: linear-gradient(135deg, var(--ngo-primary) 0%, var(--ngo-primary-light) 100%);
  color: var(--ngo-white);
  transform: scale(1.05) rotate(-3deg);
}

.ngo-pillar-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.ngo-pillar-card p {
  font-size: 0.9rem;
  color: var(--ngo-text-light);
  margin: 0;
  line-height: 1.6;
}

/* Mission vision */
.ngo-site .mission-vision {
  background: var(--ngo-white);
  padding: 40px 0 80px;
}

.ngo-site .mission-vision .mission,
.ngo-site .mission-vision .vision {
  padding: 40px 0;
  align-items: center;
}

.ngo-site .mission-vision .mv-det h1 {
  font-size: 2rem;
  margin-bottom: 16px;
  color: var(--ngo-primary);
}

.ngo-site .mission-vision .mv-det p {
  line-height: 1.8;
  color: var(--ngo-text);
}

.ngo-site .mission-vision .mv-img img {
  border-radius: var(--ngo-radius);
  box-shadow: var(--ngo-shadow-lg);
  transition: var(--ngo-transition);
}

.ngo-site .mission-vision .mv-img:hover img {
  transform: scale(1.02);
}

/* Stats */
.ngo-site .doctor-message {
  background-image: url("../images/slider/slider-2.jpg");
  background-attachment: fixed;
  position: relative;
}

.ngo-site .doctor-message .inner-lay {
  background: linear-gradient(135deg, rgba(6, 90, 70, 0.92) 0%, rgba(15, 23, 42, 0.88) 100%);
  padding: 80px 0;
}

.ngo-site .doctor-message .session-title h2,
.ngo-site .doctor-message .session-title p {
  color: var(--ngo-white);
}

.ngo-site .doctor-message .session-title h2 {
  font-size: 2rem;
}

@media (max-width: 576px) {
  .ngo-site .slider-hero-content .btn-ngo-outline {
    display: none;
  }

  .ngo-site .slider-hero-content h1 {
    font-size: 1.4rem;
  }

  .ngo-site .slider-hero-content p {
    font-size: 0.9rem;
    margin-bottom: 16px;
  }

  .ngo-site .btn-ngo-primary {
    padding: 12px 24px;
    font-size: 0.9rem;
  }
}

.ngo-site .doctor-message .numb {
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--ngo-radius);
  margin: 10px;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: var(--ngo-transition);
}

.ngo-site .doctor-message .numb:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-4px);
}

.ngo-site .doctor-message .numb h3 {
  font-size: 3rem;
  font-weight: 800;
  border: none;
  color: var(--ngo-accent);
}

.ngo-site .doctor-message .numb span {
  font-size: 0.95rem;
  font-weight: 500;
  opacity: 0.9;
}

/* Gallery preview & page */
.ngo-site .our-blog {
  background: var(--ngo-bg);
  padding: 80px 0;
}

.ngo-site .our-blog .single-blog {
  border-radius: var(--ngo-radius);
  overflow: hidden;
  transition: var(--ngo-transition);
}

.ngo-site .our-blog .single-blog:hover {
  transform: translateY(-8px);
  box-shadow: var(--ngo-shadow-lg);
}

.ngo-site .our-blog .single-blog figure {
  overflow: hidden;
  margin: 0;
}

.ngo-site .our-blog .single-blog figure img {
  transition: transform 0.5s ease;
}

.ngo-site .our-blog .single-blog:hover figure img {
  transform: scale(1.08);
}

.ngo-site .gallery {
  padding: 60px 0 80px;
  background: var(--ngo-bg);
}

.ngo-site .gallery_product {
  border-radius: var(--ngo-radius);
  overflow: hidden;
  box-shadow: var(--ngo-shadow);
  transition: var(--ngo-transition);
  cursor: pointer;
}

.ngo-site .gallery_product:hover {
  transform: translateY(-6px);
  box-shadow: var(--ngo-shadow-lg);
}

.ngo-site .gallery_product img {
  width: 100%;
  height: 260px;
  max-width: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

.ngo-site .gallery_product:hover img {
  transform: scale(1.06);
}

/* Page hero */
.ngo-site .page-nav {
  background: linear-gradient(135deg, var(--ngo-primary-dark) 0%, var(--ngo-primary) 60%, var(--ngo-primary-light) 100%);
  padding: 60px 0 50px;
  position: relative;
  overflow: hidden;
}

.ngo-site .page-nav::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.ngo-site .page-nav h2 {
  color: var(--ngo-white) !important;
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.ngo-site .page-nav ul li,
.ngo-site .page-nav ul li a,
.ngo-site .page-nav ul li i {
  color: rgba(255, 255, 255, 0.85) !important;
  float: none;
  display: inline-block;
}

.ngo-site .page-nav ul {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* CTA band */
.ngo-cta-band {
  background: linear-gradient(135deg, var(--ngo-primary-dark) 0%, var(--ngo-primary) 100%);
  padding: 56px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.ngo-cta-band::after {
  content: "";
  position: absolute;
  bottom: -40px;
  left: -40px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

.ngo-cta-band h2 {
  color: var(--ngo-white);
  font-size: 1.75rem;
  margin-bottom: 12px;
}

.ngo-cta-band p {
  color: rgba(255, 255, 255, 0.88);
  max-width: 560px;
  margin: 0 auto 24px;
}

/* Donate page */
.ngo-donate-section {
  padding: 80px 0;
}

.ngo-donate-card {
  background: var(--ngo-white);
  border-radius: var(--ngo-radius);
  box-shadow: var(--ngo-shadow-lg);
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}

.ngo-donate-card .ngo-donate-visual {
  flex: 1 1 320px;
  min-height: 320px;
  background: linear-gradient(135deg, rgba(13, 122, 95, 0.08) 0%, rgba(244, 162, 97, 0.12) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.ngo-donate-card .ngo-donate-visual img {
  max-height: 280px;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.1));
}

.ngo-donate-card .ngo-donate-info {
  flex: 1 1 380px;
  padding: 48px 40px;
}

.ngo-donate-card .ngo-donate-info h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.ngo-bank-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.ngo-bank-detail:last-child {
  border-bottom: none;
}

.ngo-bank-detail i {
  width: 44px;
  height: 44px;
  background: rgba(13, 122, 95, 0.1);
  color: var(--ngo-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ngo-bank-detail strong {
  display: block;
  color: var(--ngo-dark);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.ngo-bank-detail span {
  color: var(--ngo-text);
  font-weight: 500;
}

/* Contact */
.ngo-contact-section {
  padding: 60px 0 80px;
}

.ngo-contact-card {
  background: var(--ngo-white);
  border-radius: var(--ngo-radius);
  padding: 32px;
  box-shadow: var(--ngo-shadow);
  height: 100%;
  margin-bottom: 24px;
  transition: var(--ngo-transition);
}

.ngo-contact-card:hover {
  box-shadow: var(--ngo-shadow-lg);
}

.ngo-contact-card i {
  font-size: 2rem;
  color: var(--ngo-primary);
  margin-bottom: 16px;
}

.ngo-contact-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.ngo-site .contact-rooo {
  padding-bottom: 80px;
}

.ngo-site .contact-rooo .form-control {
  border-radius: var(--ngo-radius-sm);
  border: 1px solid #e2e8f0;
  padding: 12px 16px;
  background: var(--ngo-white);
}

.ngo-site .contact-rooo .btn-primary {
  background: linear-gradient(135deg, var(--ngo-primary) 0%, var(--ngo-primary-light) 100%) !important;
  border: none !important;
  border-radius: 50px;
  padding: 12px 36px;
  font-weight: 700;
}

.ngo-map-wrap {
  border-radius: 0;
  overflow: hidden;
  box-shadow: var(--ngo-shadow);
}

.ngo-map-wrap iframe {
  display: block;
  width: 100%;
  min-height: 380px;
  border: 0;
}

/* Footer */
.ngo-site .footer {
  background: var(--ngo-dark);
  padding: 64px 0 40px;
  position: relative;
}

.ngo-site .footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--ngo-primary), var(--ngo-accent), var(--ngo-primary-light));
}

.ngo-site .footer h2 {
  font-size: 1.25rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.ngo-site .footer h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  background: var(--ngo-accent);
  border-radius: 2px;
}

.ngo-site .footer p {
  text-indent: 0;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
}

.ngo-site .footer .link-list li {
  border-color: rgba(255, 255, 255, 0.1);
  transition: var(--ngo-transition);
}

.ngo-site .footer .link-list li:hover {
  padding-left: 8px;
  border-color: var(--ngo-primary-light);
}

.ngo-site .footer .link-list li a:hover {
  color: var(--ngo-accent) !important;
}

.ngo-site .copy {
  background: #0a0f1a;
  padding: 20px 0;
}

.ngo-site .copy span a {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  margin-left: 8px;
  transition: var(--ngo-transition);
}

.ngo-site .copy span a:hover {
  background: var(--ngo-primary);
  transform: translateY(-3px);
}

/* Scroll animations */
.ngo-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.ngo-reveal.ngo-visible {
  opacity: 1;
  transform: translateY(0);
}

.ngo-reveal-delay-1 { transition-delay: 0.1s; }
.ngo-reveal-delay-2 { transition-delay: 0.2s; }
.ngo-reveal-delay-3 { transition-delay: 0.3s; }

@keyframes ngoFadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes ngoPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.ngo-float-icon {
  animation: ngoPulse 3s ease-in-out infinite;
}

/* Back to top */
.ngo-back-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  background: var(--ngo-primary);
  color: var(--ngo-white);
  border: none;
  border-radius: 50%;
  box-shadow: var(--ngo-shadow-lg);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--ngo-transition);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.ngo-back-top.show {
  opacity: 1;
  visibility: visible;
}

.ngo-back-top:hover {
  background: var(--ngo-accent-dark);
  transform: translateY(-4px);
}

/* Lightbox */
.ngo-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.92);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: var(--ngo-transition);
}

.ngo-lightbox.active {
  opacity: 1;
  visibility: visible;
}

.ngo-lightbox img {
  max-width: 95%;
  max-height: 90vh;
  border-radius: var(--ngo-radius);
  box-shadow: var(--ngo-shadow-lg);
}

.ngo-lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: var(--ngo-white);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.25rem;
  cursor: pointer;
  color: var(--ngo-dark);
}

/* Session title override */
.ngo-site .session-title {
  padding: 0;
  margin-bottom: 48px;
}

.ngo-site .session-title h2 {
  font-size: 2rem;
  font-weight: 800;
}

/* ========== Responsive — all devices ========== */
.ngo-site img {
  max-width: 100%;
  height: auto;
}

.ngo-site .container {
  width: 100%;
  padding-left: 16px;
  padding-right: 16px;
}

/* Mobile navigation */
.ngo-site .ngo-nav-panel .navbad {
  float: none;
  width: 100%;
}

@media (max-width: 991.98px) {
  .ngo-site .ngo-nav-panel {
    display: none;
    flex: 0 0 100%;
    max-width: 100%;
    order: 3;
  }

  .ngo-site .ngo-nav-panel.ngo-menu-open {
    display: block;
  }

  .ngo-site .nav-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }

  .ngo-site header .logo {
    flex: 1;
    position: relative;
  }

  .ngo-site header .small-menu {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    padding: 8px;
    min-width: 44px;
    min-height: 44px;
    display: flex !important;
    align-items: center;
    justify-content: center;
  }

  .ngo-site header .header-top .col-det {
    justify-content: center;
  }

  .ngo-site header .header-top .folouws {
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
  }

  .ngo-site header .header-top .ulright {
    float: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0;
  }

  .ngo-site header .logo img {
    max-height: 56px;
  }

  body.ngo-menu-open {
    overflow: hidden;
  }
}

@media (min-width: 992px) {
  .ngo-site .ngo-nav-panel {
    display: block !important;
  }
}

/* Hero / slider */
.ngo-site .slider .owl-carousel,
.ngo-site .slider .owl-stage-outer,
.ngo-site .slider .owl-item,
.ngo-site .slider .item {
  min-height: clamp(300px, 50vh, 520px);
}

.ngo-site .slider .slider-img {
  min-height: clamp(300px, 50vh, 520px);
  overflow: hidden;
}

.ngo-site .slider .slider-img img {
  position: relative;
  z-index: 0;
  width: 100%;
  height: clamp(300px, 50vh, 520px);
  object-fit: cover;
  object-position: center;
  display: block;
}

.ngo-site .slider-hero-content {
  padding: 0 16px;
}

.ngo-site .slider-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
}

.ngo-site .slider-hero-content .btn-ngo-outline {
  margin-left: 0;
}

.ngo-site .slider .owl-nav .owl-prev {
  left: 8px;
}

.ngo-site .slider .owl-nav .owl-next {
  right: 8px;
}

/* Sections spacing */
@media (max-width: 767.98px) {
  .ngo-site .about-us,
  .ngo-site .our-blog,
  .ngo-donate-section,
  .ngo-contact-section {
    padding: 48px 0;
  }

  .ngo-site .mission-vision {
    padding: 24px 0 48px;
  }

  .ngo-site .mission-vision .mission,
  .ngo-site .mission-vision .vision {
    padding: 24px 0;
  }

  .ngo-site .mission-vision .mv-img {
    margin-bottom: 20px;
  }

  .ngo-site .mission-vision .vision .mv-img {
    order: -1;
  }

  .ngo-site .doctor-message .inner-lay {
    padding: 48px 0;
    background-attachment: scroll;
  }

  .ngo-site .doctor-message {
    background-attachment: scroll;
  }

  .ngo-site .doctor-message .numb {
    margin-bottom: 12px;
  }

  .ngo-site .doctor-message .numb h3 {
    font-size: 2.25rem;
  }

  .ngo-section-head {
    margin-bottom: 32px;
  }

  .ngo-team-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
  }

  .ngo-team-card {
    padding: 16px 12px;
  }

  .ngo-site .page-nav {
    padding: 40px 0 32px;
  }

  .ngo-site .page-nav h2 {
    font-size: 1.65rem;
  }

  .ngo-cta-band {
    padding: 40px 16px;
  }

  .ngo-cta-band h2 {
    font-size: 1.35rem;
  }

  .ngo-donate-card .ngo-donate-info {
    padding: 28px 20px;
  }

  .ngo-donate-card .ngo-donate-info h2 {
    font-size: 1.5rem;
  }

  .ngo-donate-card .ngo-donate-visual {
    min-height: 200px;
    padding: 24px;
  }

  .ngo-contact-card {
    padding: 24px 20px;
  }

  .ngo-site .gallery {
    padding: 40px 0 56px;
  }

  .ngo-site .gallery_product img {
    height: 200px;
  }

  .ngo-site .footer {
    padding: 40px 0 24px;
    text-align: center;
  }

  .ngo-site .footer h2::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .ngo-site .footer .map-img {
    padding-left: 0;
    font-size: 15px;
  }

  .ngo-site .copy .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
  }

  .ngo-site .copy span {
    float: none;
  }

  .ngo-back-top {
    bottom: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
  }

  .ngo-site .btn-ngo-primary,
  .ngo-site .btn-ngo-outline {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .ngo-site .about-us .row > [class*="col-"] + [class*="col-"] {
    margin-top: 24px;
  }
}

@media (max-width: 575.98px) {
  .ngo-site .slider-hero-content .btn-ngo-outline {
    display: inline-flex;
    width: 100%;
    max-width: 280px;
  }

  .ngo-site header .header-top .ulleft li span {
    display: none;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .ngo-site .gallery_product img {
    height: 220px;
  }
}

/* Tablet landscape / small laptop */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .ngo-site header .nav-col .navbad li a.nav-link {
    padding: 10px 14px !important;
    font-size: 0.85rem !important;
  }
}

/* Prevent horizontal overflow */
.ngo-site .row {
  margin-left: -15px;
  margin-right: -15px;
}

.ngo-site [class*="col-"] {
  padding-left: 15px;
  padding-right: 15px;
}

.ngo-responsive-img {
  width: 100%;
  height: auto;
  border-radius: var(--ngo-radius);
  box-shadow: var(--ngo-shadow-lg);
  display: block;
}

/* Global fixes (override legacy style.css) */
.ngo-site,
.ngo-site * {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

.ngo-site .container-fluid {
  max-width: 100%;
  overflow-x: hidden;
}

.ngo-site .about-us.container-fluid,
.ngo-site .mission-vision.container-fluid {
  padding-left: 0;
  padding-right: 0;
}

.ngo-site .about-us .container,
.ngo-site .mission-vision .container,
.ngo-site .gallery > .container {
  max-width: 1170px;
  margin-left: auto;
  margin-right: auto;
}

/* Mobile contact bar */
.ngo-mobile-contact {
  display: none;
  background: rgba(0, 0, 0, 0.12);
  padding: 8px 16px;
  text-align: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.ngo-mobile-contact a {
  color: rgba(255, 255, 255, 0.95) !important;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none !important;
  white-space: nowrap;
}

.ngo-mobile-contact a i {
  margin-right: 6px;
  color: var(--ngo-accent);
}

@media (max-width: 991.98px) {
  .ngo-mobile-contact {
    display: flex;
  }
}

/* Menu button (outside logo link) */
.ngo-site .ngo-menu-btn {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  background: transparent;
  border: 2px solid var(--ngo-primary);
  border-radius: 8px;
  color: var(--ngo-primary);
  width: 44px;
  height: 44px;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.ngo-site .ngo-menu-btn:hover {
  background: var(--ngo-primary);
  color: var(--ngo-white);
}

.ngo-site header .logo {
  position: relative;
  padding-right: 52px;
}

.ngo-site .slider {
  max-width: 100vw;
  overflow: hidden;
}

.ngo-site .owl-carousel {
  width: 100% !important;
}

.ngo-site .page-nav .container .row {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.ngo-site .page-nav ul {
  padding-left: 0;
  list-style: none;
}

.ngo-site .mission-vision .row > [class*="col-"],
.ngo-site .doctor-message .row > [class*="col-"],
.ngo-site .our-blog .row > [class*="col-"],
.ngo-site .footer .row > [class*="col-"] {
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .ngo-site .mission-vision .row > [class*="col-"],
  .ngo-site .footer .row > [class*="col-"] {
    margin-bottom: 0;
  }
}

@media (max-width: 767.98px) {
  .ngo-site .doctor-message .numb {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .ngo-site .our-blog .single-blog {
    margin-bottom: 24px;
  }

  .ngo-site .ngo-section-head[style],
  .ngo-site .ngo-contact-card .ngo-section-head h2 {
    text-align: center !important;
  }

  .ngo-site .ngo-contact-card .ngo-section-head {
    text-align: center;
    margin-bottom: 24px !important;
  }
}

/* Safe area for notched phones */
@supports (padding: max(0px)) {
  .ngo-site .copy,
  .ngo-site header .header-bottom {
    padding-left: max(16px, env(safe-area-inset-left));
    padding-right: max(16px, env(safe-area-inset-right));
  }

  .ngo-back-top {
    bottom: max(16px, env(safe-area-inset-bottom));
    right: max(16px, env(safe-area-inset-right));
  }
}
