/* === CSS VARIABLES === */
:root {
    --font-color: #242424;
    --content-color: #353232;
    --theme-color: #a56d38;
    --heading-font: "Roboto Condensed", sans-serif;
    --body-font: "Roboto", sans-serif;
  }
  
  *{
    padding: 0;
    margin:0;
    font-family: var(--body-font);
    color: var(--content-color);
    box-sizing: border-box;
  }
  body {
    scroll-behavior: smooth;
    background-color: #fff;
  }
  section {
      padding: 2% 4%;
  }

  h1,h2,h3,h4,h5,h6{
    font-family: var(--heading-font);
    margin: 0;
  }
  p{
    color: var(--content-color);
    font-size: 18px;
    line-height: 30px;
  }
  a{
    color: var(--font-color);
    text-decoration: none;
  }
  a:hover{
    color: var(--theme-color);
  }

  .video-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
  }

  /* Hide video on small screens */
  @media (max-width: 1580px) {
    .video-bg {
      display: none;
    }
  }
  main {
    width: 100%;
    margin: 0 auto;
    box-shadow: 0 0 9px #00000080;
    box-sizing: border-box;
    overflow: hidden;
    max-width: 1650px;
    position: relative;
    background-color: #fff;
}

 


main.home .banner {
    background: url('images/main-banner-min.png') no-repeat center center;
    background-size: cover;
    width: 100vw;
    color: white;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-position: right;
    aspect-ratio: 5/2;
    max-width: 100%;
  }
  .banner-overlay {
    background: linear-gradient(177deg, #fff 70%, transparent);
    padding: 2rem;
    border-radius: 0 0 10px 10px;
    display: flex;
    position: absolute;
    align-items: center;
    left: 12%;
    top: -20px;
    flex-direction: column;
    max-width: 400px;
  }
* {
    padding: 0;
    margin: 0;
    font-family: var(--body-font);
    color: var(--content-color);
    box-sizing: border-box;
}
  
  .logo {
    width: 250px;
    margin-bottom: 1rem;
  }

  .navbar .container {
    align-items: flex-end;
    max-width: 1500px;
  }
  .navbar {
    background-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 0 5px #777;
    z-index: 9;
  }
  .navbar-brand img {
    height: 40px;
  }
  .navbar-nav a.nav-link{
    font-size: 18px;
  }
  .navbar-nav a.nav-link.active{
    color: #000;
  }


  a.navbar-brand:not(.mobile) {
    display: flex;
}
  .navbar-brand:not(.mobile)>img {
    height: 150px;
}


a.navbar-brand.mobile {
    display: none;
}

.title-box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}
 

  .puri .block {
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #fff;
    position: relative;
    min-height: 325px;
}

.place {
    position: relative;
  }
  .puri .place .block img {
    position: absolute;
    max-width: 55%;
    bottom: -5%;
    right: -5%;
}

.puri .place .block {
    background: linear-gradient(45deg, #001021, #00419f);
    display: flex;
    flex-direction: column;
    color: #fff;
}
.puri .place .block h2, .temple .block h2, .visit .block h2 {
    width: fit-content;
    border-bottom: 1px dashed #e2e2e2;
    color: #fff;
}
.puri .place .block p, .temple .block p, .visit .block p {
    color: #ffffff;
    width: 60%;
    line-height: 25px;
    font-size: 16px;
}
.temple .block p {
    width: 90%;
}
.puri .place .block a, .visit .block a{
    background-color: #bcd7ff;
    width: max-content;
    padding: 2px 20px;
    border-radius: 40px;
    display: block;
    margin-bottom: 8px;
}
.visit .block a{
    background-color: #ebffbc;
}
.visit .block a:hover{
    background-color: #b1ca77;
}
.temple .block a {
    background-color: #66230e;
    color: #f5ba92;
    width: max-content;
    padding: 2px 20px;
    border-radius: 40px;
    display: block;
    margin-bottom: 8px;
}
.puri .block a:hover {
    background-color: #fff;
    color: #001021;
}

.temple .block {
    background-image: url(images/puri-temple.png);
    background-repeat: no-repeat;
    background-color: #bb6a6a;
    background-size: 70%;
    padding-left: 40%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.visit .block {
    background: linear-gradient(270deg, #729138, #12543e);
}
.visit .block img {
    position: absolute;
    width: 70%;
    right: -8%;
    bottom: -5%;
}


.slider.activity {
    background-color: #fff;
    padding: 10px;
    border-radius: 10px;
    width: 45%;
    max-height: 525px;
    position: absolute;
    left: 8%;
    box-shadow: 0 0 15px #333;
    overflow: hidden;
}

.carousel-control-next, .carousel-control-prev {
  height: 88%;
}


.carousel-item img {
    width: 100%;
    object-fit: cover;
    border-radius: 6px;
}
.activity .details {
    display: flex
;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px 4px 20px;
}


a.btn-link {
  padding: 8px 20px;
  font-size: 20px;
  text-decoration: none;
  border-radius: 40px;
  border: 1px solid #ddd;
  margin: 8px auto;
  display: inline-block;
}
a.btn-link.light, a.btn-link.dark:hover {
  background-color: #efefef;
  color: #061f3a;
}
a.btn-link.dark, a.btn-link.light:hover {
  background-color: #061f3a;
  color: #efefef;
}

section.parallax.donate {
  background-image: url(../images/banners/home-donate-banner.jpg);
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 30px;
  margin: 30px auto;
  display: flex;
  justify-content: flex-end;
}
section.parallax.donate .text-area {
  width: 35%;
  padding: 30px;
  color: #fff;
}
section.parallax.donate .text-area  h2, section.parallax.donate .text-area  p{
  color: #fff;
}

.news-card .card-body {
  position: relative;
  padding-top: 50px;
}
dt.news-date {
  position: absolute;
  background-color: #3e6c93;
  padding: 2px 20px;
  font-size: 14px;
  color: #fff;
  border-radius: 0 0 5px 5px;
  right: 14px;
  top: 0;
}
.bank-details p {
    margin: 3px 0;
    display: flex;
    padding: 3px;
    border-top: 1px solid #ccc;
    justify-content: flex-start;
}
.bank-details strong {
    margin-right: 10px;
}


footer {
  background-color: #244052;
  margin-top: 50px;
}



content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    position: relative;
    max-width: 1500px;
    margin: 0 auto;
}
content p {
    text-align: justify;
    margin: 20px 0;
}


  .banner {
    background-size: cover;
    width: 100vw;
    color: white;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-position: right;
    aspect-ratio: 5/1.3;
    max-width: 100%;
    flex-direction:column;
    padding: 25px 10px;
  }

/* +++++++++++++++++++++++ Page banners +++++++++++++++++++++++ */

  .banner.sankhakshetra {
    background-image: url('../images/banners/banner-sankhakshetra.jpg');
  }
  .banner.temples {
    background-image: url('../images/banners/banner-temples.jpg');
  }
  .banner.sojourn {
    background-image: url('../images/banners/banner-sojourn.jpg');
  }
  .banner.srk {
    background-image: url('../images/banners/banner-srk.jpg');
  }
  .banner.hm {
    background-image: url('../images/banners/banner-hm.jpg');
  }
  .banner.library {
    background-image: url('../images/banners/banner-library.jpg');
  }
  .banner.hostel {
    background-image: url('../images/banners/banner-hostel.jpg');
  }
  .banner.medical {
    background-image: url('../images/banners/banner-medical.jpg');
  }
  .banner.educational {
    background-image: url('../images/banners/banner-educational.jpg');
  }
  .banner.spiritual {
    background-image: url('../images/banners/banner-spiritual.jpg');
  }
  .banner.welfare {
    background-image: url('../images/banners/banner-welfare.jpg');
  }
  .banner.cultural {
    background-image: url('../images/banners/banner-cultural.jpg');
  }
  .banner.guest-house {
    background-image: url('../images/banners/banner-guesthouse.jpg');
  }
  .banner.genesis {
    background-image: url('../images/banners/banner-genesis.jpg');
  }
  .banner.anecdotes {
    background-image: url('../images/banners/banner-anecdotes.jpg');
  }
  .banner.donate {
    background-image: url('../images/banners/banner-donate.jpg');
  }
  .banner.photo-gallery {
    background-image: url('../images/banners/banner-gallery.jpg');
  }
  .banner.news {
    background-image: url('../images/banners/banner-news.jpg');
  }
  .banner.youth {
    background-image: url('../images/banners/banner-youth.jpg');
  }

/* +++++++++++++++++++++++ Page banners +++++++++++++++++++++++ */




  .inside-page .banner h2 {
      font-size: 4.2rem;
      text-shadow: 0px 4px 15px #080808;
  }
  .inside-page .banner h3 {
    font-size: 3rem;
    text-shadow: 0px 4px 15px #080808;
  }



.highlights {
    width: 70%;
    margin: 30px auto;
    border-top: 3px solid #198754;
    border-bottom: 3px solid #198754;
    padding: 10px 30px;
    min-width: 200px;
}
.highlights p {
    font-size: 24px;
    line-height: 36px;
    font-weight: bold;
    text-align: center;
}

span.picbox {
    width: 35%;
    display: flex;
    flex-direction: column;
    margin: 1% auto;
    align-items: center;
    border: 1px solid #999;
    max-width: 380px;
}
span.picbox.left {
    float: left;
    margin: 1%;
}
span.picbox.right {
    float: right;
    margin: 1%;
}
span.picbox img {width:100%;}

span.picbox em {
    font-size: 14px;
    font-style: normal;
    margin: 5px auto;
}

.for-donor {
    background-color: #fbfbfb;
    padding: 20px;
    border: 1px solid #dddd;
    border-radius: 8px;
}
.for-donor p {
    font-size: 16px;
    margin: 10px auto;
    line-height: 24px;
}


  .picture-row {
      display: flex;
      justify-content: center;
      align-items: flex-start;
      flex-wrap: wrap;
  }
  .picture-row span.picbox {
      width: fit-content;
      margin: 10px;
      max-width: unset;
  }
  .picture-row span.picbox img {
    width: auto;
    max-height: 300px;
  }


/* +++++++++++++++++++++++ Gallery Styles +++++++++++++++++++++++ */

                .portfolio-img {
                    display: flex;
                    flex-wrap: wrap;
                    margin: 20px auto;
                    justify-content: center;
                }
                .portfolio-img .block>img {
                    width: 100%;
                }
                
                .portfolio-img .block {
                    width: 300px;
                    overflow: hidden;
                    margin: 0;
                    border: 1px solid #ededed;
                    position: relative;
                    cursor: pointer;
                }
                .portfolio-img .block img {
                    filter: unset;
                    background-position: top center;
                    transition-property: filter;
                    transition-duration: 0.6s;
                    transition-timing-function: ease-in;
                }
                
                .portfolio-img .block .details {
                    position: absolute;
                    width: 100%;
                    height: 100%;
                    /*background-color: #000000cf;*/
                    color: #fff;
                    display: flex;
                    align-items: center;
                    transition-property: bottom;
                    transition-duration: 0.6s;
                    transition-timing-function: ease-in;
                    bottom: -100%;
                    flex-direction: column;
                    justify-content: center;
                }
                .portfolio-img .block:hover .details {
                    bottom: 0;      
                }
                .portfolio-img .block:hover img {
                    filter: brightness(0.25);
                }
                .portfolio-img .block .details>h3 {
                    font-size: 20px;
                    text-align: center;
                    padding: 20px;
                }
                .portfolio-img .block .details>p {
                    text-align: center;
                    width: 80%;
                    line-height: 20px;
                    margin: 0 auto;
                    font-size: 14px;
                    max-height: 200px;
                }
                .portfolio-img .block .details>p>a {
                    color: fff;
                    background-color: var(--brandgreen);
                    text-decoration: none;
                    display: block;
                    width: fit-content;
                    padding: 2px 12px;
                    border-radius: 20px;
                    margin: 6px auto;
                }
                .portfolio-img .block .details>p>a:hover {
                    background-color: var(--brandblue);
                }
                .lightbox {
                  position: fixed;
                  width: 100%;
                  height: 100%;
                  top: 0;
                  left:0;
                  display: none;
                  background: #7f8c8d;
                  perspective: 1000;
                  z-index: 2000;
                }

                .filter {
                  position: absolute;
                  width: 100%;
                  height: 100%;
                  filter: blur(20px);
                  opacity: 0.5;
                  background-position: center;
                  background-size: cover;
                }

                .lightbox img {
                  position: absolute;
                  top: 50%;
                  left: 50%;
                  width: auto;
                  transform: translate(-50%, -50%) rotateY(0deg);
                  max-height: 90vh;
                  max-width: calc(90vw - 100px);
                  transition: 0.8s cubic-bezier(0.7, 0, 0.4, 1);
                  transform-style: preserve-3d;
                }


                /*.lightbox:hover img{
                  transform: translate(-50%, -50%) rotateY(180deg);
                }*/

                [class^="arrow"] {
                  height: 200px;
                  width: 50px;
                  background: rgba(0, 0, 0, 0.4);
                  position: absolute;
                  top: 50%;
                  transform: translateY(-50%);
                  cursor: pointer;
                }

                [class^="arrow"]:after {
                  content: '';
                  position: absolute;
                  top: 50%;
                  left: 50%;
                  transform: translate(-50%, -50%) rotate(-45deg);
                  width: 15px;
                  height: 15px;
                }

                .arrowr {
                  right: 0;
                }

                .arrowr:after {
                  border-right: 1px solid white;
                  border-bottom: 1px solid white;
                }

                .arrowl {
                  left: 0;
                }

                .arrowl:after {
                  border-left: 1px solid white;
                  border-top: 1px solid white;
                }

                .close {
                  position: absolute;
                  right: 0;
                  width: 50px;
                  height: 50px;
                  background: rgba(0, 0, 0, 0.5);
                  margin: 20px;
                  cursor: pointer;
                }

                .close:after,
                .close:before {
                  content: '';
                  position: absolute;
                  top: 50%;
                  left: 50%;
                  width: 1px;
                  height: 100%;
                  background: #f9f9f9;
                }

                .close:after {
                  transform: translate(-50%, -50%) rotate(-45deg);
                }

                .close:before {
                  transform: translate(-50%, -50%) rotate(45deg);
                }

                .title {
                  font-size: 20px;
                  color: #000;
                  z-index: 1000;
                  position: absolute;
                  bottom: 6%;
                  left: 50%;
                  transform: translateX(-50%);
                  margin: 20px 0;
                }

/* +++++++++++++++++++++++ Gallery Styles +++++++++++++++++++++++ */



/*-------- Mobile view css -------------------- */

@media only screen and (max-width: 767px) {


  .navbar-brand:not(.mobile)>img {
    height: 60px;
  }
  a.navbar-brand:not(.mobile) {
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin: 0 auto;
  }
  .title-box {
    align-items: center;
  }

  .slider.activity {
    margin-bottom: 25px;
    border-radius: 0;
    width: 100%;
    max-height: unset;
    position: unset;
    box-shadow: 0 0 5px #ccc;
  }
  .home .banner {
    background: unset;
  }

  .inside-page .banner h2 {
    font-size: 3.6rem;
  }
  .inside-page .banner h3 {
    font-size: 1.3rem;
  }

  .puri .block {
    padding: 15px;
    min-height: unset;
    margin: 10px auto;
  }

  .temple .block {
    background-size: cover;
    background-position: -75px 0;
  }
  .temple .block p {
    width: 60%;
  }

  section.parallax.donate {
    padding: 10px;
  }
  section.parallax.donate .text-area {
    width: 100%;
    padding: 150px 10px 10px 10px;
  }
  section.parallax.donate .text-area p {
    line-height: 24px;
  }
  .d-flex {
    flex-wrap: wrap;
  }

  span.picbox, .highlights, .picture-row span.picbox img { width:100%;}

  span.picbox.left, span.picbox.right{
    float: none;
    margin: 1% auto;
  }

}