*,::before,::after{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ======== base ========= */
ul{
    margin:0;
    padding:0;
    list-style: none;
}

a{
    text-decoration: none;
}

.container{
    max-width: 80%;
    margin:0 auto;
}



.navList .navItem{
    width: max-content;
}

.mainContent{
    margin-top:2%;
    font-family: Roboto, "Sans-serif";
}

.welcome{
    display: flex;
    gap: 70px;
    font-size:20px;
    text-decoration: none solid rgb(51,51,51);
    word-spacing: 0px;
}

/* CARDS DEFAULTER */
.cardsRow {
    display: flex;
  }
  
  .cardsRow {
    width: 100%;
  }
  
  .card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2); /* this adds the "card" effect */
    width: clamp(250px, 30vw, 300px);
    height: 390px;
    margin: 2%;
    padding-top: 0;
    text-align: center;
    background-color: #e4d3d3;
    border-radius: 15px;
    transition: 0.4s;
    align-self: center;
  }
  .card h3 {
    letter-spacing: 3px;
  }
  .card:hover {
    background-color: #bb3939;
    color: #fff;
    cursor: pointer;
  }
  
  .card .topImg img{
    width: 100%;
    border-radius: 15px 15px 0 0;
  
    /* height:70%; */
  }

  .ytVideo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2); /* this adds the "card" effect */
    width: clamp(900px, 30vw, 600px);
    height: 390px;
    margin: 2%;
    padding-top: 0;
    text-align: center;
    background-color: #e4d3d3;
    border-radius: 15px;
    transition: 0.4s;
    align-self: center;
  }
  
/* END CARDS DEFAULTER */



.iskconFounder{
    margin-top:2%;
    display: flex;
    gap: 70px;
    font-size:20px;
    text-decoration: none solid rgb(51,51,51);
    word-spacing: 0px;
}
#readMoreBtn {
    position: relative;
    font-size: 14px;
    letter-spacing: 3px;
    height: 3em;
    padding: 0 3em;
    border: none;
    background-color: #c41b54;
    color: #fff;
    text-transform: uppercase;
    overflow: hidden;
    border-radius: 5px
}

#readMoreBtn:hover{
    cursor: pointer;
}
   
#readMoreBtn::before {
    content: '';
    display: block;
    position: absolute;
    z-index: 0;
    bottom: 0;
    left: 0;
    height: 0px;
    width: 100%;
    background: rgb(196,27,84);
    background: linear-gradient(90deg, rgba(196,27,84,1) 20%, rgba(124,7,46,1) 100%);
    transition: 0.2s;
}
   
#readMoreBtn .label {
    position: relative;
}
   
#readMoreBtn .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 3em;
    width: 3em;
    position: absolute;
    top: 3em;
    right: 0;
    opacity: 0;
    transition: 0.4s;
}
   
#readMoreBtn:hover::before {
    height: 100%;
}
   
#readMoreBtn:hover .icon {
    top: 0;
    opacity: 1;
}

/* END FOUNDER ACHARYA */
.about{
    background-color:#EFDCB6;
}
.aboutContainer{
    display:flex;
    padding:10px;
    padding-right: 61px;
    gap:50px;
}
/* end about */
.iyf{
    text-align: center;
    display:flex;
    margin-top:2%;
    gap:30px;
    font-size: 1.2rem;
}
/* Leaders */
.leaders{
    margin-top: 3%;
    display:flex;
    width:80%;
    gap:70px;
    text-align:center;
}

/* founder-acharya */
.founder-acharya{
    margin-top: 3%;
    background-image:url('../img/bg.jpeg');
    height: 60vh;
}
.founderA{
    display: flex;
    padding:18px 0px;
    min-height: 70vh;
}

/* media */

.media{
    background-color:#EFDCB6;
    min-height: 90vh;
    padding: 25px 0px;
}
.media .container{
    padding:10px 0px;
    margin-top:3%;
    display: flex;
    flex-wrap: wrap;
    justify-content:space-around;
}

.contact{
    background-color:#bb3939;
    min-height:30vh;
}
.contact .container{
    display: flex;
}


/* FOR DESKTOP AND LARGE SCREENS */
@media screen and (min-width: 901px) {
    body{
        margin:0;
    }

    #topBanner{
        display: flex;
        justify-content:space-between;
        width: 100%;
        height:90px;
    }
    #topBanner img{
        height: 95%;
        width: auto;
    }
    #topBanner .brand{
        align-self: center;
        color: rgb(97, 27, 27);
        font-weight: bold;
        font-size: clamp(1rem,4vw,4rem);
        width:max-content;
    }
    #topBanner .menuBtn{
        display:none;
    }

    .nav{
        width: 100%;
        background-color:rgb(97, 27, 27);
        z-index: 10; 
    }
    .navList{
        display:flex;
        justify-content:space-between;
        transition:.5s;
    }
    .navList .prabhupadaImg{
        display:none;
    }
    .navItem {
        margin: 0 0.9rem;
        padding: 1.4rem 0;
    }
    
    .navLink{
        color: white;
    }
    .dropdown{
        position: relative;
        transition:.5s;
    }
    .dropdownLink{
        display:flex;
        align-items: center;
        justify-content: space-between;
    }
    .dropdownIcon{
        font-size: 1rem;
    }
    .dropdownItem {
        margin: 1rem 0;
      }
    .dropdownMenu{
        position:fixed;
        margin:0;
        /* display:none; */
        opacity: 0;
        padding: .5rem 1.5rem;
        background-color: rgb(143, 67, 67);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        border-radius: .7rem;
    }
    .dropdown:hover > .dropdownMenu{
        /* display: block; */
        opacity:1;
        z-index: 100;
    }



    


    .swiper a{
        width: 100%;
        /* height: 60vh; */
    }
    
    .swiper-slide {
        text-align: center;
        font-size: 18px;
        background: #fff;

        /* Center slide text vertically */
        display: -webkit-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        -webkit-justify-content: center;
        justify-content: center;
        -webkit-box-align: center;
        -ms-flex-align: center;
        -webkit-align-items: center;
        align-items: center;
    }

    .swiper-slide img {
    display: block;
    width: 100%;
    height: 20%;
    object-fit: cover;
    }

    .welcome{
        flex-direction: row;
    }
    .welcome .left{
        max-width:90%;
    }

    .welcome .right img{
        height:200px;
        width:200px;
    }

    .cardsRow{
        flex-direction: row;
        justify-content: space-between;
    }

    .iskconFounder .right img{
    height:300px;
    width:350px;
    }

    .about{
        height:60vh;
    }
    .aboutContainer{
        flex-direction: row;
    }
    .aboutContainer .left{
        height:90%;
        width: 80%;
    }
    .aboutContainer .left img{
        height:auto;
        width:85%;
    }

    .aboutContainer .right{
        font-family: Verdana, Geneva, Tahoma, sans-serif;
        font-weight: bold;    
    }
    .aboutContainer .right h1{
        font-size: 3rem;
        font-family: 'Pacifico', cursive;
    }
    .aboutContainer .right p{
        font-size: 1.2rem;
        font-family: 'Pacifico', cursive;
    }

    /* IYF */

    .iyf{
        flex-direction: row;
        justify-content: space-between;
    }
    .iyf .left{
        width:50%;
    }
    .iyf .mid img{
        width:100%;
    }
    /* leaders */
    .leaders{
        font-size:1rem;
        font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
        justify-content: space-between;
    }

    /* founder -acharya */

    .founderA{
        font-size:2rem;
        font-family:Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    }
    /* contact */
    .contact .container{
        color: #fff;
    }
    .contact .container .left{
        width:20%;
        justify-content:center;
        padding:30px;
        flex-direction:column;
    }
    .contact .container .left img{
        width:90%;
        align-self: center;
    }
    .contact .container .left ul{
        display: flex;
        flex-direction:row;
        /* justify-content: left; */
    }
    .contact .container .left ul li{
        font-size:20px;
        letter-spacing: 20px;
    }
    .contact .container .middle{
        display: flex;
        width:50%;
        justify-content:center;
        padding:25px 0px;
        font-size:1rem;
    }
    .contact .container .middle input{
        outline: none;
        color:palevioletred;
    }
    .contact .container .middle button{
        outline: none;
        height:20%;
        /* font-size: 25px; */
        text-align: center;
        border-color:none;        
    }
    .contact .container .right {
        height:100%;
        width:40%;
        font-size: 1.5rem;
    }


}

/*  FOR TABLETS */

@media screen and (max-width: 900px) {

    body {
        margin:0;
    }

    /* TODO : work on container and box shadow */

    /* #topBanner{
        position:sticky;
        box-shadow: 0px 1px 5px 5px #4a4a4a;
    } */
    #topBanner{
        display: flex;
        justify-content:space-between;
        position:sticky;
        width: 100%;
        height:60px;
        top: 0px;
        background-color: white;
        box-shadow: 0px 1px 5px 5px #4a4a4a;
        z-index: 10;
    }
    #topBanner .iskconLogo img{
        height: 95%;
        width: auto;
    }
    #topBanner .brand{
        align-self: center;
        color: rgb(97, 27, 27);
        font-weight: bold;
        font-size: 1.4rem;
        width:max-content;
    }

    #topBanner .prabhupadaImage img{
        visibility: hidden;
        display:none;
    }

    #topBanner .menuBtn{
        align-self: center;
        font-size:2rem;
    }
    #topBanner .closeMenuBtn{
        align-self: center;
        font-size:2rem;
    }

   .nav{
       position: absolute;
       height:100vh;
       background-color: rgb(97,27,27);
       width:35vh;
       padding: 1rem 1rem;
       transition:.5s;
       left:-500px;

   }
   .navList{
       display:flex;
       flex-direction:column;
   }
   .navList .prabhupadaImg{
       align-self: center;
       padding-bottom: 2rem;
   }
   .navList .prabhupadaImg img{
       border-radius:5090px;
   }
   .navLink{
       color:white;
   }
   .navItem{
    text-transform: uppercase;
    padding: .5rem;
    }
    .dropdownMenu{
        display:none;
        background-color: rgb(143, 67, 67);
        padding: .5rem .5rem;
        border-radius: .7rem;
        transition:.7s;
    }
    .dropdownItem{
        margin: 1.3rem 0;
    }
    .dropdown:hover > .dropdownMenu{
        display: block;
    }

    .swiper a{
        width: 100%;
        /* height: 90vh; */
      }
    
      .swiper-slide {
        text-align: center;
        font-size: 18px;
        background: #fff;
    
        /* Center slide text vertically */
        display: -webkit-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        -webkit-justify-content: center;
        justify-content: center;
        -webkit-box-align: center;
        -ms-flex-align: center;
        -webkit-align-items: center;
        align-items: center;
      }
    
      .swiper-slide img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
      }

    .welcome{
        flex-direction: column;
    }
    .welcome .left{
        max-width:90%;
    }

    .welcome .right{
        align-self: center;
    }
    .welcome .right img{
        height:200px;
        width:200px;
    }

    .cardsRow{
        flex-direction: column;
    }

    .iskconFounder{
        flex-direction: column;
    }
    .iskconFounder .left{
        max-width:90%;
    }

    .iskconFounder .right{
        align-self: center;
    }
    .iskconFounder .right img{
        height:200px;
        width:250px;
    }

    
    /* about */

    .aboutContainer{
        flex-direction: column;
    }
    .aboutContainer .left{
        height:70%;
        /* width: 40%; */
        align-self: center;
    }
    .aboutContainer .left img{
        height:90%;
        width:90%;
    }
    
    .aboutContainer .right{
        font-family: Verdana, Geneva, Tahoma, sans-serif;
        font-weight: bold;    
    }
    .aboutContainer .right h1{
        font-size: 1rem;
        font-family: 'Pacifico', cursive;
    }

    /* IYF */

    .iyf{
        flex-direction: column;
        padding-right: 65px;
    }
    .iyf .mid img{
        width:90%;
        
    }
    /* leaders */
    .leaders{
        align-self: center;
        padding-right: 63px;
        flex-direction:column;
        font-size:1rem;
        font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    }
    .leaders img{
        width:90%;
        padding-right: 63px;
    }
    
    .headers{
        padding:10px 3px ;
    }
    .founderA{
        flex-direction:column;
    }
    .founderA .right{
        align-self:center;
    }
    /* media */

    .media{
        margin-top:45%;
    }
    /* .ytVideo{
        width: clamp(650px, 30vw, 300px);
    } */

    /* contact */
    .contact{
        min-height:60vh;
        padding:10px 0px;
    }
    .contact .container{
        flex-direction:column;
        color: #fff;
        gap: 40px;
    }
    .contact .container .left{
        align-self: center;
        display: flex;
        justify-content:center;
        padding:30px;
        flex-direction:column;
    }
    .contact .container .left ul{
        display: flex;
        flex-direction:row;
        /* justify-content: space-between; */
    }
    .contact .container .left ul li{
        font-size:20px;
        letter-spacing:15px;
    }
    .contact .container .middle{
        align-self: center;
        display: flex;
        justify-content:center;
        flex-direction:column;
    }
    .contact .container .middle input{
        outline: none;
        color:palevioletred;
    }
    .contact .container .middle button{
        outline: none;
        /* height:20%; */
        /* font-size: 25px; */
        text-align: center;
        border-color:none;        
    }

   
    
}

/* FOR MOBILE PHONES */

@media screen and (max-width: 768px) {
    body {
        margin:0;
    }
    .nav{
        width: 35vh;
    }
    #topBanner {
        z-index: 10;
    }
    #topBanner .brand{
        font-size: 16px;
    }
}

.show{
    top: 0;
    left:0;
    z-index: 10;
}
.fixed{
    position: fixed;
    top:0;
    box-shadow: 0px 1px 5px 5px #4a4a4a;
}

#btn-back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
  }


/* ===================PRELOADER============================ */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #fff;
    /* change if the mask should have another color then white */
    z-index: 99;
    /* makes sure it stays on top */
  }
  
  #status {
    width: 100%;
    height: 100%;
    position: sticky;
    left: 50%;
    top: 50%;
    background-image: url('../img/logo1.png');
    background-repeat: no-repeat;
    background-position: center;
    margin: -100px 0 0 -100px;
  }

  /* ================ END PRELOADER ======================= */

  /* Submit Button Footer Form */
  #submitBtn{
    font-family: inherit;
    font-size: 20px;
    background: royalblue;
    color: white;
    padding: 0.7em 1em;
    padding-left: 0.9em;
    display: flex;
    align-items: center;
    border: none;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.2s;
}

#submitBtn span {
    display: block;
    margin-left: 0.3em;
    transition: all 0.3s ease-in-out;
}
#submitBtn:hover{
    cursor: pointer;
}
#submitBtn svg {
    display: block;
    transform-origin: center center;
    transition: transform 0.3s ease-in-out;
}

#submitBtn:hover .svg-wrapper {
    animation: fly-1 0.6s ease-in-out infinite alternate;
}

#submitBtn:hover svg {
    transform: translateX(1.2em) rotate(45deg) scale(1.1);
}

#submitBtn:hover span {
    transform: translateX(5em);
}

#submitBtn:active {
    transform: scale(0.95);
}

@keyframes fly-1 {
    from {
        transform: translateY(0.1em);
    }

    to {
        transform: translateY(-0.1em);
    }
}   
/* CONTACT FORM DESIGN */

.input-group {
    position: relative;
   }
   
   .input {
    border: solid 1.5px #9e9e9e;
    border-radius: 1rem;
    background: none;
    padding: 1rem;
    font-size: 1rem;
    color: #ffffff !important;
    transition: border 150ms cubic-bezier(0.4,0,0.2,1);
   }
   
   .user-label {
    position: absolute;
    left: 15px;
    color: #fffefe;
    pointer-events: none;
    transform: translateY(1rem);
    transition: 150ms cubic-bezier(0.4,0,0.2,1);
   }
   
   .input:focus, input:valid {
    outline: none;
    border: 1.5px solid #1a73e8;
   }
   
   .input:focus ~ label, input:valid ~ label {
    transform: translateY(-50%) scale(0.8);
    background-color: #BB3939;
    padding: 0 .2em;
    font-size: 1.3rem;
    color: #ffffff;
   }

   /* READ MORE BUTTON */

   .cssbuttons-io-button {
    background: #BB3939;
    color: white;
    font-family: inherit;
    padding: 0.35em;
    padding-left: 1.2em;
    font-size: 17px;
    font-weight: 500;
    border-radius: 0.9em;
    border: none;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    box-shadow: inset 0 0 1.6em -0.6em #714da6;
    overflow: hidden;
    position: relative;
    height: 2.8em;
    padding-right: 3.3em;
   }
   
   .cssbuttons-io-button .icon {
    background: white;
    margin-left: 1em;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 2.2em;
    width: 2.2em;
    border-radius: 0.7em;
    box-shadow: 0.1em 0.1em 0.6em 0.2em #7b52b9;
    right: 0.3em;
    transition: all 0.3s;
   }
   
   .cssbuttons-io-button:hover .icon {
    width: calc(100% - 0.6em);
   }
   
   .cssbuttons-io-button .icon svg {
    width: 1.1em;
    transition: transform 0.3s;
    color: #7b52b9;
   }
   
   .cssbuttons-io-button:hover .icon svg {
    transform: translateX(0.1em);
   }
   
   .cssbuttons-io-button:active .icon {
    transform: scale(0.95);
   }
   /* YOUTUBE CHANNEL BUTTON */
   #youtubeBtn {
    border-radius: 999px;
    padding: 1em 2em;
    background: linear-gradient(117deg, rgb(254, 145, 80), rgb(254, 100, 70));
    border: none;
    color: rgb(255, 255, 255);
    font-size: 1rem;
    text-transform: uppercase;
    font-family: inherit;
    font-weight: 500;
    cursor: pointer;
    transition: box-shadow 0.25s ease 0s;
    letter-spacing: 0.08rem;
   }
   
   #youtubeBtn:hover,
   #youtubeBtn:focus {
    background: linear-gradient(117deg, rgb(248, 137, 73), rgb(248, 82, 49));
    box-shadow: 0 0.1rem 0.8rem rgb(254, 100, 70);
   } 