
/* Navbar */

/* navbar brand */
.navbar-brand img {
     max-height: 73px;

}


/* navbar toggler */
.navbar-toggler {
     border: none;
     outline: none;
}

/* navbar links */
.navbar-nav .nav-item {
     margin-right: 20px;
}

.navbar-nav .nav-link {
     font-size: 18px;
     color: #333;
}

.navbar-nav .nav-link:hover {
     color: #666;
}
.logo img{
     display: block;
     max-width: 100%;
     height: auto;
     margin: 0 auto;
     border: none;
     outline: none;
}

/* responsive styles */
@media (max-width: 767px) {
     .navbar-collapse {
          background-color: #fff;
          /* change background color */
          padding: 20px;
          border-radius: 10px;
     }
        .custom-box {
          max-width: 90%;
     }

     .navbar-nav .nav-item {
          margin: 10px 0;
     }

     .navbar-nav .nav-link {
          font-size: 16px;
          color: #333;
     }

     .navbar-nav .nav-link:hover {
          color: #666;
     }
          /* Adjust container and image size for tablets */
     .image-bar-container {
         /*height: auto;*/
     }

     .image-bar img {
          /*width: 150px;*/
          /*height: 150px;*/
          /*margin-right: 5px;*/
             /*height: 100%;*/
    /* Set desired width */
    /*width: auto;*/
    object-fit: cover;
    margin-right: 10px;
    width: 200px;
    /* Set desired height */
    height: 200px;
     }
}

/* for more about me btn */
.custom-btn {
     background-color: #f5f542;
     border-color: #42f548;
     color: #000000;
     font-weight: bold;
     font-size: 1.2rem;
     padding: 10px 20px;
     border-radius: 5px;
     transition: all 0.3s ease-in-out;
}

.custom-btn:hover {
     background-color: #28f321;
     border-color: #e5f321;
}

img {
     display: block;
     margin: 0 auto;
     max-width: 100%;
     border-radius: 3px;
     /* box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); */
     padding: 10px;
     background-color: #fff;

}

/* ncp my work */

.ncpwork-setion .d-flex {
     height: 100%;
}

.ncpwork-setion .display-4 {
     margin: 0;
}

.ncpwork-setion .text-center {
     text-align: center;
     text-size-adjust: 12px;
}

/* sewadham */
  .parent-div {
       display: flex;
       justify-content: center;
       align-items: center;
       height: 100%;
  }
  /* ncp leaders  */
  .img-responsive {
          display: block;
               margin: 0 auto;
               max-width: 100%;
               border-radius: 3px;
               box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); 
               padding: 10px;
               background-color: #fff;

  }
  
  .box {
       display: inline-block;
       padding: 10px 20px;
       border: 2px solid #333;
       border-right: 0;
       border-radius: 0 20px 20px 0;
       background-color: #f9f9f9;
       font-size: 20px;
       font-weight: bold;
       position: relative;
       margin-bottom: 20px;
  }

  .box::before {
       content: "";
       position: absolute;
       top: -2px;
       right: -20px;
       width: 0;
       height: 0;
       border-top: 20px solid transparent;
       border-bottom: 20px solid transparent;
       border-left: 20px solid #333;
  }
  .custom-box {
       max-width: 600px;
       border-radius: 10px;
       box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
       position: relative;
  }

  .custom-box::before {
       content: "";
       position: absolute;
       right: -20px;
       top: 0;
       width: 0;
       height: 0;
       border-top: 20px solid transparent;
       border-bottom: 20px solid transparent;
       border-left: 20px solid #007bff;
  }

 .container-tagline1 {
      max-width: 1200px;
      margin: 0 auto;
 }
 
  /* jeevan jyoti gallery */

 .gallery-container {
      max-width: 1200px;
      margin: 0 auto;
 }

 .gallery-row {
      display: flex;
      flex-wrap: wrap;
      margin: 20px 0;
 }

 .gallery-item {
      flex-basis: calc(33.33% - 10px);
      margin: 5px;
      box-sizing: border-box;
 }

 .gallery-item img {
      width: 100%;
      height: auto;
      display: block;
      border-radius: 5px;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
 }
 
  /* jeevan jyoti ek parivar */
 #jeevan-jyoti-box {
      background-color: yellow;
 }
 
 
 
 
  /* scroll view  */

/* Container element */
.image-bar-container {
     position: relative;
     width: 100%;
     height: 200%;
     margin-bottom: 20px;
     overflow: hidden;
}

/* Arrow elements */
.image-bar-arrow {
     position: absolute;
     top: 50%;
     transform: translateY(-50%);
     font-size: 2em;
     color: white;
     cursor: pointer;
     z-index: 1;
     transition: opacity 0.3s;
     border-radius: 50%;
     background-color: rgba(0, 0, 0, 0.8);
     width: 40px;
     height: 40px;
     display: flex;
     justify-content: center;
     align-items: center;
}

.image-bar-arrow:hover {
     opacity: 1;
}

.image-bar-arrow-left {
     left: 0;
}

.image-bar-arrow-right {
     right: 0;
}

/* Image bar element */
.image-bar {
     width: fit-content;
     height: 200%;
    /* Set desired width */
     display: flex;
     animation-name: scroll;
     animation-duration: 15s;
     animation-timing-function: linear;
     animation-iteration-count: infinite;
}

/* Image elements */
/*.image-bar img {*/
     /* width: 200px;
     height: 200px;
     margin-right: 10px; */
     /* opacity: 0.5; */
/*     transition: opacity 0.3s;*/
/*        height: 100%;*/
    /* Set desired width */
/*    width: auto;*/
/*    object-fit: cover;*/
/*    margin-right: 10px;*/
/*}*/

.image-bar img:hover {
     opacity: 100;
}

/* Animation */
@keyframes scroll {
     0% {
          transform: translateX(-100%);
     }

     100% {
          transform: translateX(100%);
     }
}
/* ADD CSS 11-05-2023 AFTER CMS */




.post {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    padding: 10px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

.post-image {
    width: 10%;
    max-width: 30px;
    height: auto;
    margin-bottom: 10px;
    }

.post-description {
    text-align: center;
    font-size: 18px;
    line-height: 1.5;
}
.post-title {
    text-align: center;
    font-size: 18px;
    line-height: 1.5;
    color: blue;
}

 /* jeevan jyoti ek parivar */
 #jeevan-jyoti-box {
    background-color: yellow;
}

/* NCP MY WORK */
.container-fluid {
  padding: 0;
}

.my-card {
  margin-bottom: 30px;
}

.my-card-title {
  text-align: center;
  font-size: 18px;
  line-height: 1.5;
  font-weight: bold;
  margin-bottom: 10px;
  
}

.my-card-text {
  text-align: center;
  font-size: 18px;
  line-height: 1.5;
  
 
}

.my-card-img {
  width: 221px;
  height: 228px;
  object-fit: cover;
  display: block;
  margin: 10px auto 0;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid #fff;
}
.card {
  border: none;
}



/* END */



@media screen and (min-width: 768px) {
    .post {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        padding: 20px;
    }

    .post-image {
        max-width: 50%;
        margin-right: 20px;
        margin-bottom: 0;
    }

    .post-description {
        text-align: left;
        font-size: 20px;
    }
    .my-card-img {
        height: 150px; /* adjust the height for smaller screens */
      }
  
      .my-card-body {
        padding-bottom: 80px; /* adjust the padding for smaller screens */
      }
  
      .my-card-title {
        font-size: 1.1rem; /* adjust the font size of the title */
      }
  
      .my-card-text {
        font-size: 0.9rem; /* adjust the font size of the text */
      }
}

@media (min-width: 576px) {
  .my-card {
    flex-basis: calc(50% - 30px);
  }
}

@media (min-width: 992px) {
  .my-card {
    flex-basis: calc(33.33% - 30px);
  }
}
.highlight:hover {
     color: red;
 }
 
 /*03/05/2023*/
  /* Custom CSS rules for responsiveness */
  .container {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .container-tagline1 {
    margin-bottom: 30px;
  }

  .img-responsive {
    max-width: 100%;
    height: auto;
  }

  hr {
    margin-top: 50px;
    margin-bottom: 50px;
  }

  @media (max-width: 768px) {
    .col-md-6 {
      margin-bottom: 30px;
    }
  }
  /* Default styles */

/* Add your default styles here */

/* Media query for screens smaller than 768px (e.g., mobile devices) */
@media (max-width: 767px) {
  /* Adjust the styles for smaller screens here */

  /* Example: Hide the social icons in the header */
  .social-icons {
    display: none;
  }

  /* Example: Make the banner image smaller */
  .banner img {
    max-width: 100%;
    height: auto;
  }

  /* Example: Adjust the layout of the about section */
  .about-area .about-content {
    width: 100%;
    margin-bottom: 20px;
  }

  /* Example: Adjust the font size in the about section */
  .about-area h3 {
    font-size: 18px;
  }
}

/* Media query for screens larger than 768px (e.g., tablets and desktops) */
@media (min-width: 768px) {
  /* Adjust the styles for larger screens here */

  /* Example: Increase the font size of the navbar links */
  .navbar-nav .nav-link {
    font-size: 16px;
  }

  /* Example: Adjust the layout of the about section */
  .about-area .about-content {
    width: 50%;
    margin-bottom: 0;
  }
}

/*10/06/2023*/
  .card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    background-color: #f9f9f9;
    margin-bottom: 20px;
    padding: 20px;
  }

  .card-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
    text-align: center;
  }

  .card-text {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    text-align: justify;
  }

  /*.card-text::first-letter {*/
  /*  font-size: 30px;*/
  /*  font-weight: bold;*/
  /*  color: #333;*/
  /*}*/
/*END*/