/********** Template CSS **********/
:root {
    --bs-tertiary: #797E88;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

.fw-bold {
    font-weight: 700 !important;
}

.fw-medium {
    font-weight: 600 !important;
}

.fw-normal {
    font-weight: 400 !important;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    transition: .5s;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Top Bar ***/
.top-bar {
    height: 90px;
    padding: 0 90px;
}

.top-bar h6 {
    letter-spacing: 1px;
}


/*** Nav Bar ***/
.nav-bar {
    padding: 0 90px;
    transition: .5s;
}

.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 20px 0;
    color: var(--bs-dark);
    font-size: 18px;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--bs-white);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        margin-top: 20px;
        border-top: 1px solid var(--bs-white);
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header Carousel ***/
.header-carousel {
    position: relative;
    background: url(../img/bg.jpg) center center no-repeat;
    background-size: cover;
}

.header-carousel .carousel-img {
    position: relative;
}

.header-carousel .owl-nav {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    width: 45px;
    height: 45px;
    margin: 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--bs-dark);
    background: var(--bs-primary);
}

.page-header {
    background: url(../img/bg.jpg) center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--bs-tertiary);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 18px;
    color: var(--bs-primary);
}

.page-header .breadcrumb-item.active {
    color: var(--bs-dark);
}


/*** Video ***/
.btn-play {
    position: relative;
    display: block;
    box-sizing: content-box;
    width: 16px;
    height: 26px;
    border: none;
    outline: none !important;
    padding: 18px 20px 20px 28px;
    background: var(--bs-dark);
}

.btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 60px;
    height: 60px;
    background: var(--bs-dark);
    animation: pulse-border 1500ms ease-out infinite;
}

.btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 60px;
    height: 60px;
    background: var(--bs-dark);
    transition: all 200ms;
}

.btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    left: -1px;
    border-left: 16px solid var(--bs-white);
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(2);
        opacity: 0;
    }
}

#videoModal .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

#videoModal .modal-body {
    position: relative;
    padding: 0px;
}

#videoModal .close {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0px;
    top: -30px;
    z-index: 999;
    font-size: 30px;
    font-weight: normal;
    color: var(--bs-white);
    background: #000000;
    opacity: 1;
}


/*** Section Title ***/
.section-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
}

.section-title::before {
    position: absolute;
    content: "";
    width: calc(100% + 80px);
    height: 0px;
    top: 5px;
    left: -40px;
    border-top: 2px solid var(--bs-primary);
    z-index: -1;
}

.section-title::after {
    position: absolute;
    content: "";
    width: calc(100% + 120px);
    height: 0px;
    bottom: 6px;
    left: -60px;
    border-bottom: 2px solid var(--bs-primary);
    z-index: -1;
}

.section-title.text-start::before {
    width: calc(100% + 40px);
    left: 0;
}

.section-title.text-start::after {
    width: calc(100% + 60px);
    left: 0;
}


/*** About ***/
.about-img {
    position: relative;
}

.about-img::before,
.about-img::after {
    position: absolute;
    content: "";
    width: 33%;
    height: 90px;
    background: var(--bs-white);
}

.about-img::before {
    top: 0px;
    left: 0px;
}

.about-img::after {
    right: 0px;
    bottom: 0px;
}


/*** Service ***/
.service-title {
    height: 100%;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: url(../img/bg.jpg) center center no-repeat;
    background-size: cover;
}

.service-item {
    overflow: hidden;
}

.service-item .btn-square {
    width: 65px;
    height: 65px;
}

.service-item a {
    position: relative;
    padding: 0;
    font-size: 14px;
    line-height: 14px;
    text-transform: uppercase;
    transition: .5s;
}

.service-item a::after {
    position: absolute;
    content: "";
    width: 500%;
    height: 0;
    left: 100%;
    bottom: 3px;
    margin-left: 10px;
    border-bottom: 2px solid var(--bs-primary);
}


/*** Donation ***/
.donation-item {
    box-shadow: 0 0 30px rgba(0, 0, 0, .05);
    transition: .5s;
}

.donation-item:hover {
    box-shadow: 0 0 30px rgba(0, 0, 0, .1);
}

.donation-item .donation-progress {
    width: 80px;
}

.donation-item .progress .progress-bar {
    height: 20px;
    overflow: visible;
    transition: 3s;
}
//----donmap
/* Make all cards same height */
.donation-item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  border-radius: 15px;
  box-sizing: border-box;
}

/* Make sure inner content uses full height */
.donation-detail {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

/* ✅ Image: Fit properly without cropping */
.donation-detail img {
  width: 100%;
  height: 220px;
  object-fit: contain;         /* 👈 Shows the full image */
  object-position: center;     /* 👈 Keeps it centered */
  background: #f8f9fa;         /* 👈 Light background if aspect ratio differs */
  border-radius: 10px;
  padding: 5px;                /* 👈 Adds a clean margin inside container */
  box-sizing: border-box;
}

/* Text alignment & spacing */
.donation-detail p {
  flex-grow: 1;
  margin-bottom: 20px;
  text-align: justify;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Keep button aligned at bottom */
.donation-detail .btn-primary {
  margin-top: auto;
  width: 100%;
}

/* Fix spacing between cards */
.row.g-4 > [class*="col-"] {
  display: flex;
}

.row.g-4 > [class*="col-"] > .donation-item {
  width: 100%;
}

/* Optional: Slightly adjust progress section */
.donation-progress {
  min-width: 80px;
  text-align: center;
}

/*** Banner Section ***/
.banner .banner-inner {
  position: relative;
  background: url("../img/bg.jpg") center center no-repeat;
  background-size: cover;
  min-height: 600px; /* ⬆️ Increased height of banner */
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  padding: 3rem 2rem;
}

/* Decorative corners */
.banner .banner-inner::before,
.banner .banner-inner::after {
  position: absolute;
  content: "";
  width: 0;
  height: 0;
}

.banner .banner-inner::before {
  top: 0;
  left: 0;
  border-top: 150px solid var(--bs-primary);
  border-right: 150px solid transparent;
}

.banner .banner-inner::after {
  right: 0;
  bottom: 0;
  border-bottom: 150px solid var(--bs-secondary);
  border-left: 150px solid transparent;
}

/* Inner text styling */
.banner h1 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #222;
  line-height: 1.4;
  margin-bottom: 1.5rem;
}

.banner p {
  font-size: 1.2rem;
  color: #444;
  margin-bottom: 2rem;
}

/* Responsive image inside banner */
/* ✅ Banner Image - Force full width */
.banner .person-img {
  width: 100% !important;       /* Force image to use full width of its column */
  max-width: 800px !important;  /* Allow larger image */
  height: auto !important;      /* Maintain aspect ratio */
  object-fit: cover !important; /* Crop nicely if needed */
  display: block;
  margin: 0 auto;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

/* ✅ Make column itself take more space */
.banner .col-4 {
  flex: 0 0 60% !important;     /* Make column 60% width instead of 33% */
  max-width: 60% !important;
  margin: 0 auto;
}

.person-img:hover {
  transform: scale(1.03); /* Slight zoom on hover */
}

/* Responsive layout tweaks */
@media (max-width: 992px) {
  .banner .banner-inner {
    min-height: 500px;
    padding: 2rem 1rem;
  }
  .banner h1 {
    font-size: 1.8rem;
  }
  .banner p {
    font-size: 1rem;
  }
  .person-img {
    max-height: 400px;
  }
}

@media (max-width: 768px) {
  .banner .banner-inner {
    min-height: 450px;
  }
  .banner h1 {
    font-size: 1.6rem;
  }
  .banner p {
    font-size: 0.95rem;
  }
}


/*******************************
 EVENT SECTION STYLING
*******************************/

/* Overall Event Item */
.event-item {
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.05);
  transition: 0.5s;
  border-radius: 15px;
  background: #fff;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.event-item:hover {
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

/* Image Styling - clean crop and alignment */
.event-item img {
  width: 100%;
  height: 250px;                  /* same height for all images */
  object-fit: contain;           /* ✅ shows the whole image without cutting */
  object-position: center;       /* centers image nicely */
  background: #f4f4f4;           /* light background to fill empty space */
  padding: 10px;                 /* small padding to avoid touching edges */
  border-radius: 12px;
  display: block;
}

.event-item img:hover {
  transform: scale(1.03);
}

/* Title and Text */
.event-item a.h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 5px;
  text-decoration: none;
  display: block;
}

.event-item a.h3:hover {
  color: var(--bs-primary);
}

.event-item p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 15px;
}

/* Info Box Inside Card */
.event-item .bg-light {
  background: #f8f9fa !important;
  border-radius: 10px;
  padding: 15px;
  margin-top: auto; /* pushes it to the bottom */
}

.event-item .bg-light p {
  margin: 5px 0;
  font-size: 0.95rem;
  color: #444;
}

.event-item .bg-light i {
  margin-right: 8px;
  color: var(--bs-primary);
}

/* Row Spacing */
.row.g-4 > [class*="col-"] {
  display: flex;
}

.row.g-4 > [class*="col-"] > .event-item {
  width: 100%;
}

/*******************************
 RESPONSIVE DESIGN
*******************************/
@media (max-width: 992px) {
  .event-item img {
    height: 220px;
  }

  .event-item a.h3 {
    font-size: 1.4rem;
  }
}

@media (max-width: 768px) {
  .event-item img {
    height: 200px;
  }

  .event-item a.h3 {
    font-size: 1.3rem;
  }
}

@media (max-width: 576px) {
  .event-item img {
    height: 180px;
  }

  .event-item a.h3 {
    font-size: 1.2rem;
  }
}


/*** Donate ***/
.donate .donate-text {
    position: relative;
    background: url(../img/bg.jpg) center center no-repeat;
    background-size: cover;
}

.donate .donate-text::before,
.donate .donate-text::after {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
}

.donate .donate-text::before {
    top: 0;
    left: 0;
    border-top: 150px solid var(--bs-primary);
    border-right: 150px solid transparent;
}

.donate .donate-text::after {
    right: 0;
    bottom: 0;
    border-bottom: 150px solid var(--bs-secondary);
    border-left: 150px solid transparent;
}

.donate .donate-form .form-control {
    border: none;
    background: rgba(255, 255, 255, .5);
}

.donate .donate-form .btn-group {
    display: flex;
}

.donate .donate-form .btn-group .btn {
    margin: 0;
    padding: 0;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    color: var(--bs-tertiary);
    background: rgba(255, 255, 255, .5);
}

.donate .donate-form .btn-group .btn-check:checked+.btn {
    border: none;
    background: var(--bs-white);
}
.donate-img {
    width: 100%;          /* full width घेईल */
    height: 450px;        /* Desktop height */
    overflow: hidden;     /* extra भाग कट होईल */
    border-radius: 10px;  /* optional */
}

.donate-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;    /* फोटो stretch न होता container मध्ये fit होईल */
    object-position: center;
}

/* Responsive */
@media (max-width: 992px) {
    .donate-img {
        height: 320px;
    }
}
@media (max-width: 576px) {
    .donate-img {
        height: 220px;
    }
}
/*** Team ***/
.team-item {
    box-shadow: 0 0 30px rgba(0, 0, 0, .05);
    transition: .5s;
}

.team-item:hover {
    box-shadow: 0 0 30px rgba(0, 0, 0, .1);
}

.team-item .team-detail span {
    letter-spacing: 2px;
}
.team-item .team-detail img {
    width: 100%;            /* बॉक्सच्या रुंदीप्रमाणे */
    height: 250px;          /* सर्वांसाठी समान उंची */
    object-fit: cover;      /* फोटो box मध्ये नीट बसतो */
    object-position: top;   /* वरचा भाग कायम दिसेल */
    border-radius: 10px;
}


/*** Testimonial ***/
.testimonial-title {
    height: 100%;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: url(../img/bg.jpg) center center no-repeat;
    background-size: cover;
}

.testimonial-img {
    position: relative;
    padding: 45px 0 45px 90px;
}

.testimonial-img::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: calc(50% + 45px);
    height: 100%;
    background: var(--bs-primary);
    z-index: -1;
}

.testimonial-carousel .owl-nav {
    position: absolute;
    top: 50%;
    left: 1.5rem;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
}

.testimonial-carousel .owl-prev,
.testimonial-carousel .owl-next {
    width: 45px;
    height: 45px;
    margin: 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--bs-white);
    background: var(--bs-secondary);
    transition: .5s;
}

.testimonial-carousel .owl-prev:hover,
.testimonial-carousel .owl-next:hover {
    color: var(--bs-secondary);
    background: var(--bs-white);
}

@media (max-width: 768px) {
    .testimonial-carousel .owl-nav {
        top: 6.3rem;
    }
}

.testimonial-img img {
    width: 100%;
    height: 300px;
    object-fit: contain;     /* पूर्ण फोटो दिसेल */
    object-position: center;
    background-color: #f8f9fa; /* gap भरायला हलका background */
    border-radius: 10px;
}


/*** Footer ***/
.footer {
    color: var(--bs-tertiary);
    background: linear-gradient(rgba(5, 19, 17, .95), rgba(5, 19, 17, .95)), url(../img/bg-footer.jpg) center center no-repeat;
    background-size: cover;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--bs-tertiary);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--bs-light);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    border-top: 1px solid rgba(255, 255, 255, .1);
}


//---------------------------------------------------------------------
.feature-box {
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 15px;
}

/* 👤 Person Card */
.person-card {
  padding: 10px;
  transition: transform 0.3s ease-in-out;
}
.person-card:hover {
  transform: translateY(-5px);
}

/* ✨ Background Box for Image */
.person-bg {
  background: linear-gradient(135deg, #f0f4ff, #e6ebff); /* हलका निळा background */
  padding: 10px;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: all 0.3s ease-in-out;
}
.person-card:hover .person-bg {
  background: linear-gradient(135deg, #d8e3ff, #cbd9ff);
  transform: scale(1.02);
}

/* 📸 Image */
.person-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
}

/* 📄 Title */
.person-title {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  line-height: 1.4;
  margin-top: 8px;
}

/* 📱 Responsive */
@media (max-width: 768px) {
  .person-img {
    height: 200px;
  }
}
@media (max-width: 576px) {
  .person-img {
    height: 180px;
  }
}

//----------4box
/* Overall feature section */
.feature-section {
  background: #f9f9f9; /* हलका बॅकग्राउंड */
  border-radius: 15px;
  padding: 20px;
}

/* Feature Box Styling */
.feature-box {
  padding: 30px 20px;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: all 0.3s ease-in-out;
  border-radius: 15px;
}

.feature-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Text adjustments */
.feature-box h1 {
  font-size: 2.8rem;
  font-weight: bold;
}

.feature-box span {
  font-size: 1.1rem;
  margin-top: 8px;
}

/* Responsive tweaks */
@media (max-width: 992px) {
  .feature-box {
    min-height: 180px;
    padding: 25px 15px;
  }
}

@media (max-width: 576px) {
  .feature-box {
    min-height: 160px;
    padding: 20px 10px;
  }
  .feature-box h1 {
    font-size: 2rem;
  }
}
//---------------4box

/* Section background */
.feature-section {
  background: #f9f9f9;
  border-radius: 15px;
  padding: 40px 20px;
}

/* Feature Box */
.feature-box {
  padding: 30px 20px;
  min-height: 230px;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease-in-out;
  box-sizing: border-box;
  margin: 10px; /* ✅ प्रत्येक बॉक्समध्ये gap */
}

.feature-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Typography */
.feature-box h1 {
  font-size: 2.8rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.feature-box span {
  font-size: 1.1rem;
  line-height: 1.4;
  text-align: center;
}

/* Responsive */
@media (max-width: 992px) {
  .feature-box {
    min-height: 200px;
    margin: 8px; /* ✅ Responsive gap */
  }
  .feature-box h1 {
    font-size: 2.3rem;
  }
}

@media (max-width: 576px) {
  .feature-box {
    min-height: 180px;
    margin: 6px;
  }
  .feature-box h1 {
    font-size: 2rem;
  }
}
