#feature-god{
    background: linear-gradient(180deg, #FFEEB1 19.07%, #FFFFFF 100%);
    padding-top: 0px;
}

#feature-god-img {
    width: 100%;
    max-width: 720px;
    animation: featureGodImgAnimation 12s ease-in-out infinite;
}

@keyframes featureGodImgAnimation {
    0% { content: url('../images/hanumanji.png'); alt: "Hanuman";}
    33% { content: url('../images/ramji.png'); alt: "Ram";}
    66% { content: url('../images/shiva.png'); alt: "Shiva";}
    100% { content: url('../images/hanumanji.png'); alt: "Hanuman";}
}

h1{
    font: var(--sn_display_small);
    color: var(--neutral0);
    margin-bottom: 24px;
    text-align: center;
}

.download-section > p {
    font: var(--sn_title_medium);
    color: var(--neutral30);
    padding-bottom: 16px;
}

#play-store-button img{
    width: 135px;
    height: 40px;
}

#mantra-box{
    position: relative;
}

#mantra-box #background-text {
    fill: var(--orange40);
    font: var(--sn_title_medium);
}

#mantra-box #background-svg {
    display: block;
    width: 100vw; 
    height: 48px;
    background-color: var(--orange90);
}

#mantra-box #pattern {
    animation: scroll 100s linear infinite;
}

@keyframes scroll {
    0% { transform: translateX(0);}
    100% {transform: translateX(-400%);}
}

#features-section >.section-title {
    position: relative;
}

#features{
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    flex-wrap: wrap;
    margin-top: 48px;
}

.feature-box{
    width: 250px;
    height: 354px;
    border-radius: 16px;
    overflow: hidden;
    margin: 16px;
    border: solid 1px var(--neutral80);
    transition: transform 0.3s ease;
}

.feature-box:hover {
    transform: scale(1.1);
}

.feature-caption{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 16px;
}

.feature-caption > h2{
    font: var(--sn_title_large);
    color: rgba(10, 10, 10, 1);
}

.feature-caption > p{
    font: var(--sn_body_large);
    color: rgba(126, 126, 126, 1);
}

.feature-box > img {
    width: 250px;
    height: 250px;
}

#temple-decoration{
    height: 107px;
    background-image: url("../res/decorations/bg_temple.webp");
    background-repeat: repeat-x;
}

#gyan-section{
    margin-bottom: 0px;
    padding-bottom: 0px;
}

.video-container #youtube-video{
    width: 100%;
    max-width: 560px;
    margin-top: 48px;
}

#vip-section{
    background-color: rgba(254, 244, 228, 1)
}

#vip-card{
    margin-bottom: 32px;
    width: 100%;
    max-width: 350px;
    transform-style: preserve-3d;
    perspective: 1000px;
    animation: infiniteRotation 3s linear infinite; /* Apply infinite rotation animation */
}

/* Keyframes for the infinite rotation */
@keyframes infiniteRotation {
    0% {
        transform: rotateZ(-5deg);
    }
    50% {
        transform: rotateZ(5deg);
    }
    100% {
        transform: rotateZ(-5deg);
    }
}

#vip-features{
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    max-width: 700px;
}

.vip-feature-box{
    background-color: #FFFFFF;
    border-radius: 16px;
    width: initial;
    align-items: flex-start;
    max-width: 200px;
    min-height: 220px;
    padding: 8px;
    margin: 16px;transition: transform 0.3s ease;
}

.vip-feature-box:hover {
    transform: scale(1.1);
}

.vip-feature-box > img{
    width: 32px;
    height: 32px;
    margin-bottom: 8px;
}

.vip-feature-box > h3{
    font: var(--sn_title_large);
    color: rgba(10, 10, 10, 1);
    margin-bottom: 8px;
}

.vip-feature-box > p{
    font: var(--sn_body_large);
    color: rgba(126, 126, 126, 1);
}

#download-section-bottom{
    background: linear-gradient(180deg, rgba(255, 175, 0, 0) 34.67%, rgba(255, 175, 0, 0.22) 100%); 
    padding-bottom: 72px;
}


#review-box-container{
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    max-width: 1280px;
    flex-wrap: nowrap;
    overflow-x: hidden;
}


.review-box{
    min-width: 288px;
    height: 250px;
    border-radius: 16px;
    border: 1px solid #DFDFDF;
    padding: 16px;
    margin: 16px;
    animation: scroll-content 20s linear infinite;
}

@keyframes scroll-content {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-1280px);
    }
}

.review-box-profile{
    display: flex;
    flex-direction: row;
    font: var(--sn_body_large);
    padding-bottom: 16px;
}

.review-box-profile > img {
    padding-right: 16px;
}

.review-box-text{
    font: var(--sn_body_medium);
}

footer{
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1280px;
    align-items: center;
    justify-content: space-evenly;
    margin-bottom: 32px;
}


#copyright-text{
    margin: 8px 8px;
    text-align: center;
}


a:link, a:visited{
    color: var(--hyperlink);
    text-decoration: none;
}

#page-links{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin: 16px;
    flex-wrap: wrap;
}

#page-links > * {
    margin: 8px 8px;
}

.divider{
    width: 1px;
    height: 1rem;
    border: solid 1px #D9D9D9;
    background-color: #D9D9D9;
}

#bottom-logo{
    max-width: 317px;
    width: 100%;
    margin-bottom: 16px;
}

#follow-us-container{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-bottom: 16px;
}

#follow-us-container > p{
    margin: 8px;
}

#social-media-links{
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 300px;
}

#social-media-links > *{
    margin: 16px;
}


@media screen and (min-width: 1200px) {
    #features{
        width: 1280px;
    }

    #feature-god {
        flex-direction: row;
        justify-content: center;
    }

    #feature-god-img {
        /* height: 100%;
        width: auto; */
        width: 912px;
        height: 467px;
        max-width: none;
        margin-left: 64px;
        margin-right: 64px;
    }

    @keyframes featureGodImgAnimation {
        0%  { content: url('../images/hanumanji.png'); alt: "Hanuman";}
        33% { content: url('../images/ramji.png'); alt: "Ram";}
        66% { content: url('../images/shiva.png'); alt: "Shiva";}
        100% { content: url('../images/hanumanji.png'); alt: "Hanuman";}
    }

    #mantra-box::before {
        content: url('../res/decorations/flower.webp'); /* Replace with the path to your flower image */
        position: absolute;
        bottom: 80%; /* Adjust this value to control how much it overlaps the div */
        transform: translateX(-520px);
        width: 120px;
        height: 72px; /* Center the flower image horizontally */
    }
    
    #mantra-box::after {
        content: url('../res/decorations/flower.webp'); /* Replace with the path to your flower image */
        position: absolute;
        bottom: 80%; /* Adjust this value to control how much it overlaps the div */
        transform: translateX(520px);
        width: 120px;
        height: 72px; /* Center the flower image horizontally */
    }

    #features-section > .section-title::before{
        content: url('../res/decorations/title_design.webp'); /* Replace with the path to your flower image */
        position: absolute;
        left:-96px;
        width: 80px;
        height: 20px; /* Center the flower image horizontally */
    }
    
    #features-section > .section-title::after{
        content: url('../res/decorations/title_design.webp'); /* Replace with the path to your flower image */
        position: absolute;
        right:-96px;
        width: 80px;
        height: 20px; /* Center the flower image horizontally */
    }

    #vip-card-container{
        flex-direction: row;
        justify-content: center;
    }

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

    #page-links {
        margin: 8px 8px;
        width: 400px;
        flex-wrap: nowrap;
    }
    
    #follow-us-container{
        width: 400px;
    }
}

















.fade-gallery-slider {
  width: 100%;
  max-width: 600px;
  height: auto;
  overflow: hidden;
}

.fade-gallery-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  object-fit: cover;
  z-index: 0;
}

.fade-gallery-img.active {
  opacity: 1;
  z-index: 1;
}
