/********** Template CSS **********/
:root {
    --bs-tertiary: #797E88;
}
html , body{
    height: auto;
    width: 100%;
    overflow-x: hidden;
}
.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

.top-bar-new{
        position: relative;
    background: url(../img/back.jpg) center center no-repeat;
    background-size: cover;
}
.service-heading{
    font-size: 1.5rem !important;
}

.read-more-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 22px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
     background-color: #1a685b !important;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.read-more-btn::before {
    content: "";
    position: absolute;
    left: -100%;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.2);
    transition: all 0.4s ease;
    transform: skewX(-20deg);
}

.read-more-btn:hover::before {
    left: 100%;
}

.read-more-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
        background-color:  var(--bs-primary);
}
.img-fluid-service {
    max-width: 100%;
    height: 218px;
}
.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;
}


/*** Banner ***/
.banner .banner-inner {
    position: relative;
    background: url(../img/bg.jpg) center center no-repeat;
    background-size: cover;
}

.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;
}


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

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


/*** 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);
}



/*** 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;
}



/*** 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;
    }
}



/*** 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);
}
    .vm-container {
      max-width: 1200px;
      margin: 9px auto;
      padding: 0 20px;
      position: relative;
    }

    /* === Header === */
    .vm-header {
      text-align: center;
      margin-bottom: 80px;
    }

  

    .vm-header p {
      font-size: 1rem;
      color: #555;
      font-weight: 500;
    }

    /* === Section === */
  .vm-section {
  display: flex;
  align-items: stretch; /* ensures equal height */
  justify-content: space-between;
  flex-wrap: wrap;
  position: relative;
}

.vm-card {
  width: 38%;
    background: linear-gradient(194deg, #ece6e6, #d2f6d5);
  padding: 30px 25px;
  border-radius: 25px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

    .vm-card:hover {
      transform: translateY(-10px);
      box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
    }

    .vm-card h2 {
      font-size: 1.6rem;
      display: flex;
      align-items: center;
      color: #ffac00 ;
      margin-bottom: 15px;
      font-weight: 700;
    }

    .vm-card h2 img {
      width: 28px;
      height: 28px;
      margin-right: 12px;
      filter: drop-shadow(1px 1px 2px rgba(0,0,0,0.2));
    }

    .vm-card vi-mi-p{
      font-size: 1rem;
      color: #333;
      line-height: 1.7;
    }

    /* === Center Circle === */
    .vm-circle-wrapper {
      position: relative;
      width: 260px;
      height: 260px;
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 3;
      margin: 30px 0;
      border-radius: 50%;
      background:#ffac00 ;
      padding: 10px;
      box-shadow: 0 15px 40px rgba(0,0,0,0.15);
      animation: float 4s ease-in-out infinite;
    }

    .vm-circle {
      width: 100%;
      height: 100%;
      border-radius: 50%;
      overflow: hidden;
      border: 6px solid #ffffff;
      background: #fff;
      box-shadow: 0 8px 20px rgba(0,0,0,0.1);
      transition: transform 0.5s ease;
    }

    .vm-circle img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: 50%;
      transition: transform 0.5s ease;
    }

    .vm-circle:hover img {
      transform: scale(1.05);
    }

    @keyframes float {
      0%, 100% { transform: translateY(0); }
      50% { transform: translateY(-15px); }
    }

    /* === Curves (Animated) === */
    .vm-curve-left, .vm-curve-right {
      position: absolute;
      width: 220px;
      height: 120px;
      border: 4px solid #ffac00 ;
      border-color: #ffac00  transparent transparent transparent;
      border-radius: 180px 180px 0 0;
      z-index: 1;
      animation: curveRotate 6s linear infinite;
    }

    .vm-curve-left {
      left: 33%;
      top: 50%;
      transform: translate(-50%, -50%) rotate(90deg);
    }

    .vm-curve-right {
      right: 33%;
      top: 50%;
      transform: translate(50%, -50%) rotate(-90deg);
    }

    @keyframes curveRotate {
      0%, 100% { transform: rotate(0deg); }
      50% { transform: rotate(5deg); }
    }

    /* === Responsive === */
    @media (max-width: 992px) {
      .vm-section {
        flex-direction: column;
        text-align: center;
      }

      .vm-card {
        width: 100%;
        margin-bottom: 40px;
      }

      .vm-circle-wrapper {
        width: 220px;
        height: 220px;
      }

      .vm-curve-left, .vm-curve-right {
        display: none;
      }
    }

    @media (max-width: 600px) {
      .vm-header h1 {
        font-size: 2rem;
      }
      .header-carousel .owl-nav {
    position: absolute;
    top: 56% !important;
    display:  flex !important;
    left: 0;
    transform: translateY(-50%);
    gap: 20px;
    
}
    }
#dummy-p {
    margin-bottom: 18px;
}
 .gallery-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
  }

  .gallery-section h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 50px;
    font-weight: 600;
    color: #111;
    letter-spacing: 1px;
  }

  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
  }

  .gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    cursor: pointer;
  }

  .gallery-item img {
    width: 100%;
    height: 256px;
    display: block;
    border-radius: 20px;
    transition: transform 0.6s ease;
  }

  .gallery-item:hover img {
    transform: scale(1.15) rotate(2deg);
  }

  .gallery-title {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 18px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0));
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
    transition: background 0.3s ease, transform 0.3s ease;
    border-radius: 0 0 20px 20px;
  }

  .gallery-item:hover .gallery-title {
    background: linear-gradient(to top, rgba(0,0,0,0.95), rgba(0,0,0,0.2));
    transform: translateY(-5px);
       color: #ffac00;
  }

  /* Optional: Animated shine effect */
  .gallery-item::after {
    content: '';
    position: absolute;
    top: -75%;
    left: -75%;
    width: 150%;
    height: 150%;
    background: linear-gradient(120deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0.1) 100%);
    transform: rotate(25deg);
    pointer-events: none;
    transition: all 0.7s ease;
     
  }

  .gallery-item:hover::after {
    top: -50%;
    left: -50%;
    color: #ffac00;
    transition: all 0.7s ease;
  }

  @media (max-width: 768px) {
    .gallery-section h2 {
      font-size: 2rem;
    }

    .gallery-title {
      font-size: 1rem;
    }
  }
  #btn-square i {
    font-size: 40px; /* Icon size */
    color: #4CAF50;  /* Green color */
    transition: transform 0.3s, color 0.3s; /* smooth hover animation */
}

#btn-square i:hover {
    color: #FFC107;  /* Change color on hover (yellow) */
    transform: scale(1.2); /* Slight zoom on hover */
}

#btn-square {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;      /* Background box size */
    height: 70px;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    margin-bottom: 15px;
    background-color: #f8f9fa; /* Light background */
}

        .donation-info {
            background-color: #f0f0f0;
            padding: 25px 20px;
            border-radius: 15px;
            text-align: left;
        }

       

        .donation-info ul {
            list-style-type: disc;
            padding-left: 20px;
            color: #333;
        }

        .donation-info ul li {
            margin-bottom: 10px;
            font-size: 16px;
        }

      @media (min-width: 300px) and (max-width: 600px) {
   .text-heading-all{
    text-align: justify;
   }
   .img-fluid-about {
    max-width: 100%;
    height: 240px;
}
.fadeIn{
    text-align: justify;
}
}



.h1-introword {
    font-size: 1.4rem;
    font-weight: 700;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s ease forwards;
  }
#heading{
    font-size: 1.4rem !important;
}
  /* Fade-up effect */
  @keyframes fadeUp {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Typing effect */
  .typed-text::after {
    content: "";
    display: inline-block;
    width: 2px;
    height: 1.2em;
    background: #fff;
    margin-left: 4px;
    animation: blink 0.8s steps(2, start) infinite;
    vertical-align: middle;
  }

  @keyframes blink {
    50% { opacity: 0; }
  }