/* scroll image css */

.slide .item {
    width: 200px;
    height: 250px;
    position: absolute;
    top: 75%;
    transform: translate(0, -50%);
    border-radius: 20px;
    box-shadow: 0 30px 50px #505050;
    background-position: 50% 50%;
    background-size: cover;
    display: inline-block;
    transition: all 0.5s;
}



.slide .item:nth-child(1),
.slide .item:nth-child(2) {
    top: 170px;
    left: 0;
    transform: translate(0, 0);
    border-radius: 0;
    width: 100%;
    height: 100%;
    transition: all .5s;
}

.slide .item:nth-child(3) {
    left: 50%;
}

.slide .item:nth-child(4) {
    left: calc(50% + 220px);
}

.slide .item:nth-child(5) {
    left: calc(50% + 440px);
}

.slide .item:nth-child(n + 6) {
    left: calc(50% + 660px);
    opacity: 0;
}

.item .content {
    position: absolute;
    top: 50%;
    left: 100px;
    width: 300px;
    text-align: left;
    color: #eee;
    transform: translate(0, -50%);
    font-family: system-ui;
    display: none;
}

.slide .item:nth-child(2) .content {
    display: block;
}

.content .name {
    font-size: 40px;
    text-transform: uppercase;
    font-weight: bold;
    opacity: 0;
    animation: animate 1s ease-in-out 1 forwards;
}

.content .des {
    margin-top: 10px;
    margin-bottom: 20px;
    opacity: 0;
    animation: animate 1s ease-in-out 0.3s 1 forwards;
}

.content button {
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    opacity: 0;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.673);
    transition: all 0.5s;
    animation: animate 1s ease-in-out 0.6s 1 forwards;
}

.content button:hover {
    background-color: rgb(255, 255, 255);
}

@keyframes animate {
    from {
        opacity: 0;
        transform: translate(0, 100px);
        filter: blur(33px);
    }

    to {
        opacity: 1;
        transform: translate(0);
        filter: blur(0);
    }
}

.button {
    display: flex;
    flex-direction: row;
    gap: 20px;
    /* left: 45%; */
    right: 40%;
    /* width: 100%; */
    align-items: center;
    text-align: center;
    position: absolute;
    bottom: 20px;
}

.button button {
    width: 40px;
    height: 35px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    margin: 0 5px;
    border: 2px solid #000000bd;
    transition: 0.3s;
    background: rgba(255, 255, 255, 0.578);
}

.button button:hover {
    color: #000000;
    border: 2px solid #ffffffbd;
    transform: scale(1.1);
}

.button button:focus {
    transform: scale(1.1);
    background: #ffffff;
    border: 2px solid #ffffffbd;
}

.button button:active {
    transform: scale(1.02);
}

.next {
    padding: 0 0 0 3px;
}

.prev {
    padding: 0 3px 0 0;
}



@media (max-width: 1200px) {
    .slide .item:nth-child(4) {
        left: calc(50% + 180px);
    }

    .slide .item:nth-child(5) {
        left: calc(50% + 360px);
    }

    .slide .item:nth-child(n + 6) {
        left: calc(50% + 540px);
        opacity: 0;
    }
}

@media (max-width: 992px) {
    .slide .item {
        width: 160px;
        height: 200px;
    }

    .slide .item:nth-child(3) {
        left: 50%;
    }

    .slide .item:nth-child(4) {
        left: calc(50% + 160px);
    }

    .slide .item:nth-child(5) {
        left: calc(50% + 320px);
    }

    .slide .item:nth-child(n + 6) {
        left: calc(50% + 480px);
        opacity: 0;
    }

    .item .content {
        width: 250px;
        left: 60px;
    }

    .content .name {
        font-size: 30px;
    }
}

@media (max-width: 768px) {
    .slide .item {
        width: 140px;
        height: 180px;
    }

    .slide .item:nth-child(4),
    .slide .item:nth-child(5),
    .slide .item:nth-child(n + 6) {
        opacity: 0;
        pointer-events: none;
    }

    .item .content {
        width: 200px;
        left: 40px;
    }

    .content .name {
        font-size: 24px;
    }

    .content button {
        font-size: 14px;
        padding: 8px 16px;
    }

    .button {
        right: 30%;
        gap: 10px;
    }

    .button button {
        width: 35px;
        height: 30px;
    }
}

@media (max-width: 576px) {
    .slide .item {
        width: 120px;
        height: 160px;
    }

    .item .content {
        width: 180px;
        left: 30px;
    }

    .content .name {
        font-size: 20px;
    }

    .content .des {
        font-size: 14px;
    }

    .content button {
        font-size: 12px;
        padding: 6px 12px;
    }

    .button {
        right: 25%;
    }

    .button button {
        width: 30px;
        height: 25px;
    }

    .item .content {
        position: absolute;
        top: 17%;
        left: 100px;
        text-align: left;
        color: #eee;
        transform: translate(0, -50%);
        font-family: system-ui;
        display: none;
    }


    .slide .item:nth-child(1),
    .slide .item:nth-child(2) {
        top: 110px;
        left: 0;
        transform: translate(0, 0);
        border-radius: 0;
        width: 100%;
        height: 100%;
        transition: all .5s;
    }

    .timer {
        margin-top: 850px !important;
    }

}

.open-mobile-menu .mobile-menu-area {
    visibility: visible;
    -webkit-visibility: visible;
    -ms-visibility: visible;
    opacity: 1;
    width: 80%;
    border-top: 2px solid #fff;
    height: 600px;
    overflow-y: auto;
    background: #180e0e;
}

.post img {
    margin-bottom: 15px;
    width: 100%;
    height: 220px;
}

.timer {
    margin-top: 1025px;
}

.item {
    position: relative;
    width: 100%;
    height: 500px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.textwidget {
    display: flex;
    align-items: center;
    gap: 10px;
}

.textwidget a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
}

.textwidget a:hover {
    transform: scale(1.05);
}

.footer-logo {
    width: 130px;
    height: 130px;
}

.footer-logo-text {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    color: orange;
    margin-left: -17px;
}

/* Sermon */
/* Sermons Section Styling */
.Sermons {
    padding: 60px 20px;
    background-color: #f9f9f9;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-align: center;
}

/* Section Title */
.Sermons .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: darkred;
    position: relative;
    display: inline-block;
}

.Sermons .section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: darkred;
    margin: 10px auto 0;
    border-radius: 2px;
}

/* Section Detail */
.Sermons .section-detail {
    font-size: 1.1rem;
    color: orange;
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

/* Sermon Box */
.Sermons .portal {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    text-align: left;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    margin: 20px auto;
    max-width: 500px;
}

.Sermons .portal:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* Sermon Image */
img.sermons-image {
    width: 100%;
    height: 300px;
    padding-bottom: 20px;
}

/* Sermon Content */
.Sermons .portal .content {
    font-size: 1rem;
    color: darkred;
    font-weight: 600;
    overflow: hidden;
    margin-bottom: 10px;
}

.Sermons .portal .content a {
    color: darkred;
    text-decoration: none;
    transition: color 0.3s ease;
}

/* Post Date */
.Sermons .portal .post-date {
    font-size: 0.9rem;
    color: orange;
    font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
    .Sermons .portal img {
        float: none;
        display: block;
        margin: 0 auto 15px;
    }

    .Sermons .portal {
        text-align: center;
    }
}



/* pandit ji details */
h2.title-name {
    text-align: center;
    font-size: 40px;
    font-weight: bold;
    color: darkred;
    margin: 40px 0px 40px 0px;
}

img.panditji-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    background-size: cover;
}

h2.name {
    color: darkred;
}

.book-btn {
    display: inline-block;
    background-color: darkred;
    /* WhatsApp green */
    color: #fff;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.book-btn:hover {
    transform: translateY(-2px);
}

.book-btn:active {
    transform: translateY(0);
    box-shadow: none;
}

.whatsapp-icon {
    color: #25D366;
    font-size: 20px;
    margin-right: 5px;
}

span.whatsapp.lang {
    color: white;
}

span.whatsapp.lang:hover {
    color: orange;
}



/* top button section css */
section.top-pooja {
    text-align: center;
}

.frame {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

/* === Neumorphic Buttons === */
.custom-btn {
    padding: 10px 15px;
    border: none;
    border-radius: 30px;
    background: darkred;
    color: white;
    font-weight: 600;
    font-size: 23px;
    box-shadow: 8px 8px 15px #a3b1c6,
        -8px -8px 15px #ffffff;
    transition: all 0.3s ease;
    cursor: pointer;
}

.custom-btn:hover {
    transform: translateY(-5px);
    box-shadow: inset 4px 4px 8px #c1c9d6,
        inset -4px -4px 8px #ffffff;
    background: orange;
}

/* === Language Toggle Buttons === */
.language-toggle {
    margin-top: 30px;
}

.lang-btn {
    padding: 10px 20px;
    margin: 0 10px;
    border: none;
    border-radius: 10px;
    background: #dce3ed;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 6px 6px 10px #b8c3d6,
        -6px -6px 10px #ffffff;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background: #cdd6e3;
}





/* Outer container column */
.rotating-bg {
    position: relative;
    width: 400px;
    height: 400px;
    background: darkred;
    border-radius: 50%;
}

.bg-spinner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('./image/chakr-img-2.png');
    /* yahan apni ghoomti image ka path dein */
    background-size: cover;
    background-position: center;
    border-radius: 50%;
    /* Optional: Gol banane ke liye */
    animation: rotate360 8s linear infinite;
    z-index: 1;
}

.thumb {
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
    height: 100%;
}

.scroll-img {
    width: 100%;
    height: 450px;
    display: block;
}

/* Rotation animation */
@keyframes rotate360 {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}