body{
    margin:0;
    padding:0;
    font-family: "K2D", sans-serif;
    color:var(--accent-color);
    font-size: 18px;
    font-weight: 400;
}
a{
    text-decoration: none;
}
ul{
    padding-left:0;
    margin-bottom: 0;
    list-style-type: none;
}
h1{
    font-size:70px;
    font-weight: bold;
    line-height: 1.5;
    color:var(--text-color);
    margin-bottom: 30px;
    text-transform: uppercase;
}
h2{
    font-size: 45px;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 30px;
    color:var(--accent-color);
}
h3{
    font-size: 40px;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 30px;
    color:var(--accent-color);
}
h5{
    font-size: 25px;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 20px;
    color:var(--accent-color);
}
:root {
  --primary-color:#407C3C;
  --secondary-color:#5a9956;
  --accent-color:#222222;
  --text-color:#fff;
  --light-green:#dfe9de;
}
/* header css */
.main-header .navbar-nav li a {
    font-size: 20px;
    color: var(--accent-color);
    padding: 0;
    font-weight: 500;
}

.main-header  .navbar-nav li {
    padding: 0 10px;
}
.main-header .navbar-nav .nav-link.active, .main-header .navbar-nav .nav-link.show, .main-header .navbar-nav .nav-link:hover{
    color: var(--primary-color);
}
html body .main-header .navbar-nav li:last-child {
    background: var(--secondary-color);
    border-radius: 50px;
    padding: 10px 20px;
    transition:all 0.5s ease;
}
html body .main-header .navbar-nav li:last-child a{
color:var(--text-color);
}
html body .main-header .navbar-nav li:last-child:hover{
    background:var(--primary-color);
}
html body .main-header .navbar-nav li:last-child a:hover{
    color:var(--text-color);
}
.main-header.sticky {
    position: fixed;
    width: 100%;
    background: var(--text-color);
    z-index: 999;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}
.main-header{
transition: all 0.4s ease;
}

/* banner css */
html body .banner-content {
    background-image:
    linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.8)),
    url('../images/banner.jpg');
    height: 600px;
    width: 100%;
    background-size: 110%;
    background-repeat: no-repeat;
    border-radius: 50px;
    animation: zoomInfinite 20s ease-in-out infinite;
    overflow:hidden;
    padding: 0 20px;
}
.banner-inner {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    height: 100%;
}

@keyframes zoomInfinite {
  0% {
    background-size: 110%;
  }
  50% {
    background-size: 120%;
  }
  100% {
    background-size: 110%;
  }
}

.banner-inner p{
    color:var(--text-color);
}
.know-btn{
    background: var(--primary-color);
    border-radius: 50px;
    padding: 15px 20px;
    transition:all 0.5s ease;
    color:var(--text-color);
    margin-top: 30px;
    display:inline-block;
    line-height: 1.2;
    font-size: 18px;
}
.know-btn:hover{
    transform: translateY(-3px);
    background: var(--secondary-color);
}
.banner-inner h1 span {
    color: var(--primary-color);
    padding: 0px 20px;
    border-radius: 10px;
}
/* .back-organisation
{
background: #407c3c2b;
    padding: 30px;
    border-radius: 30px;
} */
 .back-organisation ul li {
    width: 23%;
    /* background: #5a9956; */
    padding: 50px 30px;
    border-radius: 30px;
    /* color: #fff; */
    border: 2px solid #5a9956;
    position: relative;
    overflow: hidden;
    transition:all 0.3s ease;
}

  .back-organisation ul li::before{
    content: "";
  position: absolute;
  left: 0;
  bottom: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, var(--primary-color), var(--secondary-color));
  z-index: -1;
  transition: bottom 0.5s ease;
  border-radius: 15px;
  
  opacity: 0;
  }
.back-organisation ul{
    perspective: 1000px; 
}

.back-organisation ul li:hover::before{
  bottom: 0px; 
  opacity: 1;
  
}
 .back-organisation ul li:hover{
color:#fff;
 }
.leading-head {
    display: flex;
    align-items: center;
    gap:30px;
}
.digipin-essential {
    background: #fff8ec;
    border-radius: 30px;
    padding: 30px;
    position: relative;
}
.digipin-essential::before {
    position: absolute;
    content: "";
    background-image: url(../images/footer-bg1.png);
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background-size: cover;
    opacity: 0.1;
    animation: moveBackground 30s linear infinite;
}
@keyframes moveBackground {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 1000px 0; /* adjust value for speed/direction */
    }
}
.digipin-essential ul li span{
width:calc(100% - 30px);
}
.leading-img img {
    width: 100%;
    max-width: 300px;
  
}
section.faq-sec {
    padding-bottom: 100px;
    position: relative;
}

.faq-content .accordion-item {
    margin-bottom: 20px;
}
.faq-content .accordion-button {
    color: var(--primary-color);
    background-color:var(--light-green);
    box-shadow: none;
}
.faq-content .accordion-item
{
    border:none !important;
}
section.footer-sec {
    background: var(--primary-color);
    padding: 80px 0px 20px 0px;
    color:var(--text-color);
    position: relative;
    z-index: 0;
}
.footer-logo img {
    background: var(--text-color);
    border-radius: 20px;
}
.footer ul li a, .footer h5{
color:var(--text-color);
}

.footer-sec::before{
    position: absolute;
    content:"";
    background-image:url(../images/footer-bg.png);
    background-repeat:no-repeat;
    background-size: 100% 100%;
    width:100%;
    height: 100%;
    left:0;
    top:0px;
    opacity: 0.3;
    z-index: -1;
}
.copyright {
    border-top: 1px solid var(--light-green);
    padding-top: 20px;
}
.footer.footer-social ul li a {
    font-size: 20px;
    background:var(--text-color);
    width: 50px;
    height: 50px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition:all 0.3s ease;
     border:2px solid var(--text-color);
}
.footer.footer-social ul li a:hover{
 color: var(--text-color);
 background:var(--primary-color);
}
.footer-link ul li {
    padding-bottom: 10px;
}
/* about us */
.about-banner {
    background-image: url(../images/banner-bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    padding:150px 0px;
    position: relative;
}
.banner-overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: #000;
    opacity: 0.7;
    z-index: 0;
}
.ser-img {
    max-width: 80px;
    margin: 0 auto;
    background: #5a9956;
    padding: 20px;
    border-radius: 50%;
    height: 80px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}
.ser-img img {
    width: 100%;
    filter: invert(1);
}
.ser-img i {
    font-size: 48px;
    color:#fff;
}
.our-service {
    
    background: var(--light-green);
    padding: 30px 20px;
    margin-bottom: 20px;
   border-top-left-radius: 50px;
    border-bottom-right-radius: 50px;
    text-align: center;
    border-bottom: 5px solid transparent;
    transition:all 0.3s ease;
}
.our-service:hover {
    border-bottom: 5px solid #5a9956;
}
.our-service:hover .ser-img {
    transform: translateY(-5px);
}
.about-us-img {
    max-width: 500px;
}
.about-sec, .know-digipin, .contact-sec{
    padding:100px 0px;
}
.about-content ul li i {
    background: var(--primary-color);
    border-radius: 50px;
    width: 30px;
    height: 30px;
    display: flex
;
    align-items: center;
    justify-content: center;
    color: #fff;
}
.about-img img {
    width: 100%;
    background: #407c3c;
    border-radius: 50%;
}
.digipin-map{
    height:600px;
    z-index: 10;
    position: relative;
}
.digipin-map img
{
    width: 100%;
     height:100%;
     object-fit: cover;
}
.digipin-content {
    padding: 30px;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    border-radius: 10px;
}
.know-btn:hover{
    color:#fff;
}
.know-btn.know-btn-loc {
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    text-transform: capitalize;
}
.know-btn.know-btn-loc:hover{
    background: var(--secondary-color);
    color: var(--text-color);
    border:2px solid transparent;
}
.form-control:focus {
   border-color: #5a9956;
    outline: 0;
    box-shadow: 0 0 0 .25rem rgb(90 153 86 / 18%);
    
}
input{
height: 50px;
}
.contact-img {
    background: #ebebeb;
    border-radius: 30px;
}
.contact-form{
    padding-left:50px;
}

/* know you location */

        #map {
            height: 700px;
            width: 100%;
            border: 2px solid #ccc;
            border-radius: 10px;
        }
        .btn-outline-danger {
            border-width: 2px;
        }
.close-btn {
    position: absolute;
    text-align: right;
    right: 0;
    top: 0;
}

.close-btn button {
    border-radius: 0;
    background: var(--primary-color);
    border-color: var(--primary-color);
}
.close-btn button:hover{
  background-color:var(--secondary-color);
  border-color: var(--secondary-color);
}
#autoModal ul li a{
  color:var(--accent-color);
}
#autoModal ul li a:hover{
  color:var(--primary-color);
}
#autoModal .modal-body h3{
  color:var(--primary-color);
}

#autoModal .modal-header img {
    max-width: 26px;
    margin: -7px 3px 0px 0px;
}
#autoModal .modal-footer .know-btn {
    margin-top: 0px;
    padding: 8px 20px;
}
#autoModal .modal-content::before {
    position: absolute;
    content: "";
    background-image: url(../images/leading-img.png);
    width: 100%;
    height: 100%;
    right: 0;
    top: 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0.1;
}
.custom-modal-dialog {
  position: fixed;
  bottom: 20px;
  right: 20px;
  margin: 0;
  transform: translateX(-100%); 
  transition: transform 0.5s ease-out;
  /* width: 100%;  */
  z-index: 1055;
}

.modal.fade .modal-dialog {
    transform: translate(-50%, -50%);
    padding: 0 10px 0px 10px;
    left: 50%;
    top: 50%;
    height: 250px;
}

.custom-modal-dialog .modal-content {
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
.result-show {
    /* background: var(--light-green); */
    padding: 30px;
    border-radius: 30px;
    border: 2px solid var(--primary-color);
    max-width: 800px;
    margin: 50px auto 50px auto;
}
.result-show h2 {
    color: var(--primary-color);
}
.gps-img{
width:100%;
max-width: 100px;
margin:0 auto;
}
.know-location
{
    padding-top:50px;
}
.main-header ul li a sup {
    top: -1em;
    border: 2px solid #e61e14;
    padding: 2px 7px;
    border-radius: 10px;
    color: #e61e14;
}
.now-sup{
top: -1em;
    border: 2px solid #fff;
    padding: 2px 7px;
    border-radius: 10px;
    color: #fff;
}
/* api doc page */
.accordion.api-accordian ul li {
    position: relative;
    padding-left: 15px;
    margin-bottom: 10px;
}

.accordion.api-accordian ul li::before {
    position: absolute;
    content: "";
    background: var(--primary-color
);
    width: 6px;
    height: 6px;
    border-radius: 5px;
    left: 0;
    top: 9px;
}
.image-box img {
      max-width: 100%;
      border-radius: 12px;
      display: none;
    }

    .image-box img.show {
      display: block;
    }
   .accordion.api-accordian h2 button {
    font-size: 30px;
    font-weight: 700;
    color: var(--accent-color);
    padding: 30px 20px;
}
.accordion.api-accordian .accordion-button:not(.collapsed) {
    color: var(--primary-color);
    background-color: var(--light-green);
    box-shadow: none;
}
.accordion.api-accordian .accordion-button:focus {
    box-shadow: none;
}
.show-json-sec, .api-banner-sec {
    padding: 100px 0px;
}
  .code-block {
      background: var(--accent-color);
      color: var(--text-color);
    font-family: monospace;
      font-size: 0.95rem;
      overflow-x: auto;
      padding: 30px;
      border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    height:100%;
    }
    
    .block-first {
    font-family: monospace;
      font-size: 0.95rem;
      overflow-x: auto;
      padding: 30px;
    background: #e5e5e5;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    height:100%;
}
/* pre{
    counter-reset: line;
    height: 50vh;
    
}
pre span {
    display: block;
    line-height: normal;
    
}
    
    pre span::before {
      counter-increment: line;
      content: counter(line);
      display: inline-block;
      padding: 0 .5em;
      margin-right: .5em;
      color: red
    } */

#earth {
    width:100%;
    max-width: 500px;
     aspect-ratio: 1 / 1;
    background: url(https://web.archive.org/web/20150807125159if_/http://www.noirextreme.com/digital/Earth-Color4096.jpg);
    border-radius: 50%;
    background-size: 610px;
    box-shadow: inset 8px 36px 80px 36px rgb(0 0 0 / 34%), inset -6px 0 12px 4px rgba(255, 255, 255, 0.3);
    transform-style: preserve-3d;
      animation: spinTexture 30s linear infinite;
}

  @keyframes spinTexture {
      from {
        background-position: 0 0;
        
      }
      to {
        background-position: -1000px 0;
        
      }
    }

   .api-banner-sec {
    background: linear-gradient(72deg, rgb(67 114 64) 0%, rgb(169 228 241) 125%);
    margin-bottom: 100px;
}
   
/* media query */
@media screen and (min-width:1200px)
{
.banner-sec .container, .know-digipin .container{
    max-width:1500px;
}
}
@media screen and (max-width:1199px)
{
        h1 {
        font-size: 60px;
    }
    .main-header .navbar-nav {
    align-items: start !important;
}
.main-header .navbar-nav li{
    padding:8px 20px;
}
}

@media screen and (max-width:991px)
{
h1 {
    font-size: 50px;
}
h2 {
    font-size: 36px;
}
.about-sec, .know-digipin, .contact-sec {
    padding: 70px 0px;
}
html body .banner-content{
    height:500px;
}
.back-organisation ul li{
    width:48%;
}
section.faq-sec {
    padding-bottom: 70px;
    
}
.footer.footer-link {
    margin: 20px 0px;
}
.footer.footer-social {
    margin-bottom: 20px;
}
.api-banner-content {
    text-align: center;
    margin-bottom: 50px;
}

.earth-globe {
   display: flex;
    justify-content: center;
}
.show-json-sec, .api-banner-sec {
    padding: 80px 0px;
}
.api-banner-sec {
    margin-bottom: 80px;
}
.accordion.api-accordian h2 button{
    font-size: 22px;
}
.block-first {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 0px;
    border-bottom-left-radius: 0px;
}
.code-block {
    border-top-right-radius: 0px;
    border-bottom-left-radius: 10px;
}
}
@media screen and (max-width:767px)
{
        h1 {
        font-size: 38px;
    }
        .about-sec, .know-digipin, .contact-sec {
        padding: 50px 0px;
    }
        h2 {
        font-size: 28px;
    }
    html body .banner-content{
        background-size: cover !important;
    }
        .back-organisation ul li {
        width: 100%;
    }
        section.faq-sec {
        padding-bottom: 50px;
    }
    .about-banner{
        padding:100px 0px;
    }
    .contact-form {
    padding-left: 0px;
    margin-top:30px;
}
.show-json-sec, .api-banner-sec {
    padding: 60px 0px;
}
.api-banner-sec {
    margin-bottom: 60px;
}

}

#latitude_heading, #longitude_heading, #address_heading{
  color: #606060;
  font-size: 25px;
}
@media screen and (max-width:575px)
{
    .leading-head{
        flex-wrap:wrap;
        justify-content: center;
    }
    .main-header .navbar-brand img {
    max-width: 180px;
}
#autoModal .modal-dialog.custom-modal-dialog{
    width:100%;
}
#latitude_heading, #longitude_heading, #address_heading, .result-show h3{
    font-size: 20px;
}
.show-loc{
flex-direction:column;
justify-content: center !important;
}
}

@media screen and (min-width: 576px) {
    #autoModal .modal-dialog {
        max-width: 600px;
        width:100%;
    }
    
}