/* Nava Jagran Foundation Custom Styles */
:root {
  --primary-color: #004B93;
  --secondary-color: #D92525;
  --light-bg: #f8f9fa;
  --dark-bg: #222;
}
body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background: var(--light-bg);
  color: #222;
}
.topbar {
  background: var(--primary-color);
  color: #fff;
  font-size: 0.95rem;
  padding: 0.3rem 0;
}
.topbar .contact-info {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  justify-content: flex-end;
}
.logo {
  max-height: 60px;
}
.enquiry-btn {
  background: var(--secondary-color);
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 0.5rem 1.5rem;
  font-weight: 600;
  transition: background 0.2s;
}
.enquiry-btn:hover {
  background: #b71c1c;
}
.navbar {
  /* Remove default white background for gradient nav */
  background: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.nav-gradient {
  background: linear-gradient(90deg, var(--primary-color) 60%, var(--secondary-color) 100%) !important;
}
.nav-gradient .nav-link,
.nav-gradient .navbar-brand {
  color: #fff !important;
}
.nav-gradient .nav-link.active, .nav-gradient .nav-link:focus, .nav-gradient .nav-link:hover {
  color: #FFD600 !important;
}
.section-title {
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.card-objective {
  border: none;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  transition: transform 0.2s;
}
.card-objective:hover {
  transform: translateY(-6px) scale(1.03);
}
.president-img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.member-card {
  text-align: center;
  border: none;
  background: rgba(255,255,255,0.18);
  border-radius: 18px;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.18);
  margin-bottom: 1.5rem;
  padding: 1.5rem 0.5rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.25);
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}
.member-card:hover {
  transform: translateY(-6px) scale(1.04);
  box-shadow: 0 12px 32px 0 rgba(31, 38, 135, 0.22);
}
.member-img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 0.5rem;
  border: 3px solid var(--primary-color);
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}
.donation-section {
  background: var(--primary-color);
  color: #fff;
  border-radius: 12px;
  padding: 2rem 1rem;
  text-align: center;
}
.testimonial {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.blog-card {
  border: none;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(0,75,147,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
  overflow: hidden;
  background: #fff;
}
.blog-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 8px 32px rgba(217,37,37,0.13);
}
.blog-card .card-img-top {
  border-radius: 16px 16px 0 0;
  height: 200px;
  object-fit: cover;
}
.blog-card .card-title {
  color: var(--primary-color);
  font-weight: 700;
}
.blog-card .btn-attractive {
  background: linear-gradient(90deg, #004B93 60%, #D92525 100%);
  color: #fff;
  border: none;
  border-radius: 25px;
  padding: 0.5rem 1.7rem;
  font-weight: 600;
  margin-top: 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  transition: background 0.2s, transform 0.2s;
  letter-spacing: 1px;
}
.blog-card .btn-attractive:hover {
  background: linear-gradient(90deg, #D92525 60%, #004B93 100%);
  color: #fff;
  transform: scale(1.07);
}
.blog-section-viewall {
  text-align: center;
  margin-top: 2.5rem;
}
.gallery-img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
footer {
  background: var(--dark-bg);
  color: #fff;
  padding: 2rem 0 1rem 0;
  text-align: center;
  font-size: 1rem;
}
@media (max-width: 767px) {
  .topbar .contact-info {
    flex-direction: column;
    gap: 0.3rem;
    align-items: flex-start;
  }
  .about-section, .president-section {
    flex-direction: column !important;
  }
  .about-section img, .president-img {
    margin-top: 1rem;
  }
}
/* Objectives Section Background with Overlay */
.objectives-bg {
  position: relative;
  background: url('../images/bgvector.png') center center/cover no-repeat;
  z-index: 1;
  border-radius: 18px;
  overflow: hidden;
}
.objectives-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(0,75,147,0.85) 60%, rgba(217,37,37,0.7) 100%);
  z-index: 2;
}
.objectives-bg > * {
  position: relative;
  z-index: 3;
}

.objectives-bg .section-title,
.objectives-bg .card-objective,
.objectives-bg .btn-view-all {
  color: #fff;
}

.btn-view-all {
  background: var(--secondary-color);
  color: #fff;
  border: none;
  border-radius: 25px;
  padding: 0.6rem 2rem;
  font-weight: 600;
  margin-top: 2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  transition: background 0.2s;
}
.btn-view-all:hover {
  background: #b71c1c;
  color: #fff;
}

.btn-become-member {
  background: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: 25px;
  padding: 0.6rem 2rem;
  font-weight: 600;
  margin-top: 2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  transition: background 0.2s;
}
.btn-become-member:hover {
  background: var(--secondary-color);
  color: #fff;
}

/* Testimonial Parallax Section */
.testimonial-parallax {
  position: relative;
  background: url('../images/bgvector.png') center center/cover no-repeat fixed;
  min-height: 400px;
  padding: 4rem 0;
  z-index: 1;
  overflow: hidden;
}
.testimonial-parallax::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,75,147,0.80);
  z-index: 2;
}
.testimonial-parallax > * {
  position: relative;
  z-index: 3;
}

.testimonial-slider {
  max-width: 700px;
  margin: 0 auto;
}

.testimonial {
  background: rgba(255,255,255,0.18);
  border-radius: 18px;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.18);
  padding: 2rem 1.5rem;
  margin-bottom: 1.5rem;
  color: #fff;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.25);
  text-align: center;
  font-size: 1.15rem;
}

.testimonial .fw-bold {
  color: #fff;
  margin-top: 1rem;
}

.testimonial-slider .carousel-indicators [data-bs-target] {
  background-color: #D92525;
}

/* Event Section */
.event-section {
  background: #fff;
  padding: 4rem 0 3rem 0;
}
.event-card {
  border: none;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(0,75,147,0.08);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  background: #f8f9fa;
}
.event-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 8px 32px rgba(217,37,37,0.13);
}
.event-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.event-date {
  background: var(--primary-color);
  color: #fff;
  font-weight: 600;
  border-radius: 0 0 12px 0;
  padding: 0.3rem 1rem;
  position: absolute;
  top: 0;
  left: 0;
}
.event-title {
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.event-desc {
  color: #333;
  font-size: 1rem;
}
/* Gallery Owl Carousel */
.gallery-carousel .owl-stage-outer {
  padding: 1rem 0;
}
.gallery-carousel .owl-item img {
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.gallery-carousel .owl-nav button.owl-prev,
.gallery-carousel .owl-nav button.owl-next {
  background: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  font-size: 1.5rem;
  margin: 0 0.5rem;
  transition: background 0.2s;
}
.gallery-carousel .owl-nav button.owl-prev:hover,
.gallery-carousel .owl-nav button.owl-next:hover {
  background: var(--secondary-color);
}
.gallery-carousel .owl-dots .owl-dot span {
  background: var(--secondary-color);
  width: 12px;
  height: 12px;
  margin: 0 4px;
}
.gallery-carousel .owl-dots .owl-dot.active span {
  background: var(--primary-color);
}
/* Modern Footer */
.site-footer {
  background: #3a3a3a;
  color: #fff;
  padding: 3rem 0 1.5rem 0;
  font-size: 1.08rem;
}
.site-footer a {
  color: #FFD600;
  text-decoration: underline;
  transition: color 0.2s;
}
.site-footer a:hover {
  color: #D92525;
}
.site-footer .footer-title {
  font-size: 1.1rem;
  letter-spacing: 2px;
  font-weight: 600;
  margin-bottom: 1.2rem;
  color: #fff;
}
.site-footer .footer-blog-img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 6px;
  margin-right: 0.8rem;
}
.site-footer .footer-blog-meta {
  font-size: 0.92rem;
  color: #bbb;
}
.site-footer .footer-icon {
  color: #FFD600;
  font-size: 1.2rem;
  margin-right: 0.7rem;
  vertical-align: middle;
}
.site-footer .footer-bottom {
  border-top: 1px solid #555;
  margin-top: 2.5rem;
  padding-top: 1.2rem;
  text-align: center;
  color: #fff;
  font-size: 1rem;
} 
.overlay{
  background-color: #004c935b;
 
}