@import url('https://fonts.googleapis.com/css2?family=Mukta:wght@200;300;400;500;600;700;800&display=swap');
body{
	font-family: "Mukta", sans-serif;
}
body {
      margin: 0;
      padding: 0;
      transition: background-color 0.3s, color 0.3s;
      background-color:#f5f5f5;
      color: #000000;
    }
img{
  object-fit: cover;
}
    body.dark-mode {
      background-color: #121212;
    }
body.dark-mode a{
    color: #ffffff;
}
body.dark-mode .text9{
    color: #ffffff !important;
}
body.dark-mode .text0 p{
    color: #ffffff !important;
}
body.dark-mode .text0 li{
    color: #ffffff !important;
}
body.dark-mode .navbar{
    background: #000 !important;
}
body.dark-mode .navbar-nav .nav-link{
    color: #fff !important;
}
body.dark-mode .breadcrumb-item+.breadcrumb-item::before{
   color: #ffffff !important;
}
    .night-light-btn {
          padding: 2px 12px;
    font-size: 28px;
    border: none;
    border-radius: 5px;
      cursor: pointer;
      background: #eee;
      transition: background 0.3s;
    }

    body.dark-mode .night-light-btn {
      background: #333;
      color: #fff;
    }
    .btn-3{
          background: #f0f0f0cc;
    border-radius: 8px;
    color: #333;
    font-size: 14px;
    width: 100%;
    font-weight: 600;
    padding: 1px 5px;
    margin-top: 5px;
    border: none;
    }
      /* Floating buttons */
      .floting-btn {
        position: fixed;
        top: 70px;
        right: 5px;
        z-index: 1000;
      }

      .night-light-btn {
        background: #ffffff;
        border: none;
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        border-radius: 50%;
        width: 45px;
        height: 45px;
        font-size: 20px;
        transition: all 0.3s;
      }
      .night-light-btn:hover {
        background: #FEBE10;
        color: #fff;
        transform: scale(1.1);
      }

      /* Top bar */
      .top-bar {
        background: #146900;
        color: #fff;
        font-size: 14px;
        padding: 6px 0;
      }
      .top-bar p, .top-bar div {
        margin: 0;
        font-weight: 500;
      }
.text-primary{
    color: #FEBE10 !important;
}
.text-success{
    color: #FEBE10 !important;
}
      marquee {
        font-weight: 600;
        color: #fff8e1;
      }

      /* Navbar */
      .navbar {
        background: #ffffff;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
      }
      .navbar-nav .nav-link {
        font-weight: 600;
        font-size: 16px;
        padding: 12px 18px;
        color: #333 !important;
        position: relative;
        transition: color 0.3s;
      }
      .navbar-nav .nav-link::after {
        content: "";
        position: absolute;
        bottom: 6px;
        left: 50%;
        width: 0;
        height: 2px;
        background: #FEBE10;
        transition: all 0.3s;
        transform: translateX(-50%);
      }
      .navbar-nav .nav-link:hover {
        color: #FEBE10 !important;
      }
      .navbar-nav .nav-link:hover::after {
        width: 50%;
      }
      .nav-link.active {
        color: #FEBE10 !important;
      }
    .breadcrumb-item a{
      color: #000;
      text-decoration: none;
    }

    .date-time{
      color: #a9a9a9;
    font-size: small;
    text-align: right;
    }
    .card-img-top{
      height: 300px;
          border-radius: 6px;
    }
    .bg-yellow{
      background:  #ffe082; 
    }
    footer{
      position: fixed;
      bottom: 0px;
          box-shadow: 0px 0px 20px 0px #838383a6;
         border-radius: 30px 30px 0 0;
    }
    .footer-links li{
      list-style: none;
    }
    .border-color{
      border-bottom: 1px solid;
    }
    .footer-links ul{
      display: flex;
      padding: 0;
          align-items: center;
      justify-content: space-between;
    }
    .footer-links ul li{
       /*min-width: 22%;*/
    }   
    .footer-links{
      /*overflow-y: hidden;*/
    /*overflow-x: scroll;*/
    /*scrollbar-width: thin;*/
    padding: 10px 20px;
    }
    .bg-green{
      background:#9bce33;
    }
    .mb-200{
      margin-bottom: 200px;
    }
    .footer-links ul li a{
      text-decoration: none;
      color: #000;
    }
    @media only screen and (max-width: 600px){
      .footer-links ul li a{
        /*font-size: 12px;*/
      }
      .footer-links ul li{
            /*min-width: 28%;*/
      }
    }
    header{
     /* position: sticky;
      top: 0px;
      background: #fff;
          z-index: 1;*/
          /*padding: 10px 0;*/
    }

    .nav-link{
      font-size: 17px;
    }


    /* Card */
.card {
  border: none;
  border-radius: 16px;
  transition: all 0.3s ease;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 20px rgba(0,0,0,0.15);
}
.card-title {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 12px;
}
.card img {
  border-radius: 12px;
  margin-bottom: 15px;
  transition: transform 0.3s;
}
.card:hover img {
  transform: scale(1.05);
}
.card-text {
  color: #555;
  font-size: 15px;
  line-height: 1.6;
}
.date-time {
 font-size: 15px;
    color: #000000;
    margin-top: 10px;
    text-align: right;
    background: #ffbb9b;
    display: inline;
    margin-left: auto;
    text-align: end;
    padding: 5px 6px;
    border-radius: 19px;
    font-weight: 700;
}

.announcement {
      background: #f1f8e9;
      padding: 15px;
      border-left: 5px solid #FEBE10;
      margin-bottom: 10px;
      color: #000;
      list-style: none;
    }
    
    .text7{
        font-size: 20px;
            font-weight: 100;
    }
    .text-justify{
        text-align: justify;
        line-height: 28px;
    }
     .text-8{
             font-size: 20px;
             font-weight: 100;
     }
     .footer-links i{
          font-size: 28px;
    color: #000000;
     }
     .btn-center a{
        background: #FEBE10;
    color: #fff !important;
    padding: 8px;
    border-radius: 50%;
     }
     .extra-item{
      display: block !important;
    position: absolute;
    /*background: #fff;*/
        top: -168%;
     }
     .btn-center i{
      color: #fff !important;
     }
     .extra-item li{
padding: 6px 12px;
    margin-top: 10px;
    background: #fdfdfd;
    border-radius: 50%;
    font-size: 12px;
        box-shadow: 0px 0px 20px 0px #838383a6;
     }
.navigation li.active a{
     color:#FEBE10 !important;
}
.navigation li.active a i{
     color:#FEBE10;
}
@media only screen and (max-width: 900px){
.navbar{
  display: none
}
}
@media only screen and (max-width: 700px){
  .mt-33{
        margin-bottom: 150px !important;
  }
  }
  
  .bg-orange{
      background: #FEBE10;
  }
.team-card img{
    height: 300px;
}
.text-orange{
    color:  #FEBE10;
}
.links i{
        background:#FEBE10;
    color: #fff;
    padding: 8px;
    font-size: 23px;
    border-radius: 50%;
    box-shadow: 0px 0px 20px 0px #ff74445e;
}

.nav-pills .nav-link.active{
    background-color: #FEBE10 !important;
    color: #fff !important;
    border-color: #FEBE10;
    box-shadow: 0px 3px 20px rgba(0, 0, 0, 0.075);
}
.nav-pills .nav-link {
     background-color: #fff !important;
    color: #FEBE10 !important;
    border-color: #fff;
    box-shadow: 0px 3px 20px rgba(0, 0, 0, 0.075);
}

.nav-pills .nav-link {
    position: relative; /* Needed for ::after positioning */
}

.nav-pills .nav-link::after {
    content: "";
    position: absolute;
    bottom: -6px; /* places arrow just below the link */
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background-color: #FEBE10;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-pills .nav-link.active::after {
    opacity: 1;
}

.form-control{
    padding: 12px 15px;
    background-color: #fff;
    color: #000;
    border-radius: 0.375rem;
}
.form-select{
    padding: 12px 15px;
    background-color: #fff;
    color: #000;
    border-radius: 0.375rem;
}

.theme-btn{
    background: #FEBE10;
    border-color: #FEBE10;
    padding: 10px 25px 10px 30px;
    font-size: 16px;
    align-items: center;
    color: #fff;
}
.theme-btn:hover{
    background: #000;
    border-color: #000;
    padding: 10px 25px 10px 30px;
    font-size: 16px;
    align-items: center;
    color: #fff;
}
.horizontal-bar{
    display: inline-block;
    width: 150px;
    height: 2px;
    background: #000;
    margin: 0 auto;
}


.error{
    color:red!important;
}
.bg-orange{
    background: #FEBE10;
}



 .hover-card {
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #FEBE10;
  }
  .hover-card:hover {
    transform: translateY(-8px);
    box-shadow: 0px 8px 20px rgba(0,0,0,0.15);
  }
  .card-body a {
    color: #fff;
    font-size: 1rem;
    line-height: 1.5;
    text-decoration: none;
    color: #fff;
  }
  .pdf-link {
    display: block;
    font-weight: bold;
    font-size: 1rem;
    text-decoration: none;
    color: #FEBE10;
    transition: color 0.3s ease;
  }
  .pdf-link:hover {
    color: #000;
    text-decoration: underline;
  }
  
  
  
   /* --- Scanner Hero Section --- */
.scanner-hero-section {
    
    padding: 70px 15px;
    color: #333;
    overflow: hidden; /* For any potential animations */
}

.scanner-hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    color: #000; /* Dark blue */
    margin-bottom: 10px;
    position: relative;
    padding-bottom: 15px; /* Space for underline effect */
}

.scanner-hero-title span {
    display: block;
    font-size: 1.5rem;
    font-weight: 500;
    color: #ff7935;
    margin-top: 5px;
}

.scanner-hero-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: #fe7935;
    border-radius: 5px;
}

.scanner-hero-subtitle {
    font-size: 1.25rem;
    color: #000;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* --- Scanner Display Box (Replaces Cards) --- */
.scanner-display-box {
    background-color: #ffffff;
    border-radius: 20px; /* More rounded corners */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    padding: 40px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    height: 100%; /* Ensure equal height if content varies slightly */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.scanner-display-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: linear-gradient(to right, #007bb6, #29abe2); /* Top border gradient */
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    transition: height 0.3s ease;
}



.scanner-display-box:hover::before {
    height: 15px; /* Slightly expand top border on hover */
}

/* Specific Box Colors */
.water-fund-box::before {
    background: linear-gradient(to right, #ff7631, #ff7631a8);
}
.gram-nidhi-box::before {
    background: linear-gradient(to right, #27ae60, #2ecc71); /* Green gradient */
}


.scanner-content {
    flex-grow: 1; /* Allows content to push button to bottom */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.scanner-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1a5276; /* Darker blue for title */
    margin-bottom: 15px;
}

.scanner-description {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 30px;
    max-width: 350px;
    line-height: 1.5;
}



.qr-image {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 8px; /* Slightly rounded QR image */
    transition: transform 0.3s ease;
}

.scanner-display-box:hover .qr-image {
    transform: scale(1.05); /* Subtle zoom on QR */
}

/* --- Action Buttons --- */
.scanner-action-btn {
    padding: 15px 35px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: auto; /* Pushes button to the bottom */
}

.water-btn {
    background: linear-gradient(45deg, #007bb6, #29abe2); /* Blue gradient button */
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(0, 123, 182, 0.3);
}

.water-btn:hover {
    background: linear-gradient(45deg, #29abe2, #007bb6);
    box-shadow: 0 10px 25px rgba(0, 123, 182, 0.4);
    transform: translateY(-3px);
}

.gram-nidhi-btn {
    background: linear-gradient(45deg, #27ae60, #2ecc71); /* Green gradient button */
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(46, 204, 113, 0.3);
}

.gram-nidhi-btn:hover {
    background: linear-gradient(45deg, #2ecc71, #27ae60);
    box-shadow: 0 10px 25px rgba(46, 204, 113, 0.4);
    transform: translateY(-3px);
}

/* --- Scanner Tag (New Element) --- */
.scanner-tag {
    position: absolute;
    top: 25px;
    right: 25px;
    background-color: rgba(255, 255, 255, 0.9);
    color: #007bb6;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    opacity: 0.9;
}

.gram-nidhi-box .scanner-tag {
    color: #27ae60;
}

.scanner-display-box:hover .scanner-tag {
    opacity: 1;
    transform: scale(1.05);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .scanner-hero-title {
        font-size: 2.5rem;
    }
    .scanner-hero-title span {
        font-size: 1.2rem;
    }
    .scanner-hero-subtitle {
        font-size: 1rem;
    }
    .scanner-display-box {
        padding: 30px;
    }
    .scanner-title {
        font-size: 1.8rem;
    }
    .scanner-description {
        font-size: 0.95rem;
    }
    .qr-code-wrapper {
        width: 180px;
        height: 180px;
     
    }
    .qr-image {
        width: 180px;
        height: 180px;
    }
    .scanner-action-btn {
        padding: 12px 25px;
        font-size: 1rem;
    }
    .scanner-tag{
        display: none;
    }
}   
  
  #page {
    display: none;
}
#loading {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    width: 100%;
    height: 100vh;
    background-color: #fff;
    background-image: url("../img/loader.gif");
    background-repeat: no-repeat;
    background-size: 350px;
    background-position: center;
}

@media (max-width: 500px){
    .team-card{
            padding: 7px !important;
    }
    .team-card img{
        height: 190px;
    }
    .team-card h5{
        font-size: 15px;
    }
}
