/*==================================================
    Google Font
==================================================*/
@import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@300;400;500;600;700&display=swap');

/*==================================================
    Root Variables
==================================================*/
:root{

    --primary:#8B1E12;
    --primary-dark:#6e140b;
    --secondary:#F4E5C2;
    --gold:#D4A017;

    --white:#ffffff;
    --black:#222222;

    --gray:#777;
    --light:#F8F8F8;
    --border:#e6e6e6;

    --shadow:0 10px 30px rgba(0,0,0,.08);

    --radius:12px;

    --transition:.3s ease;
}

/*==================================================
    Reset
==================================================*/

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

html{
    scroll-behavior:smooth;
}

body{

    font-family:'Hind Siliguri',sans-serif;

    background:#FFFDF8;

    color:var(--black);

    line-height:1.7;

    overflow-x:hidden;

}

a{
    text-decoration:none;
    transition:var(--transition);
}

img{

    width:100%;

    display:block;

}

ul{
    list-style:none;
}

/*==================================================
    Section
==================================================*/

/*==========================
        HEADER
==========================*/

.header-area{

    background:#fff;

    box-shadow:0 5px 20px rgba(0,0,0,.05);

}

.navbar{

    padding:15px 0;

}

.logo{
    width:60px;
    height:auto;
    flex-shrink:0;
}

.navbar-brand h4{

    font-size:22px;

    color:#7b1d14;

    margin:0;

    font-weight:650;

}

.navbar-brand small{
    display:block;
    font-size:14px;
    color:#666;
}

.nav-link{

    color:#444;

    margin:0 12px;

    font-weight:600;

}

.nav-link.active{

    background:#8b1d13;

    color:#fff!important;

    border-radius:30px;

    padding:8px 20px;

}

.nav-link:hover{

    color:#8b1d13;

}

.language-btn{

    display:flex;

    border:1px solid #ddd;

    border-radius:30px;

    overflow:hidden;

}

.language-btn a{

    padding:8px 18px;

    color:#444;

    text-decoration:none;

    font-weight:600;

}

.language-btn .active{

    background:#8b1d13;

    color:#fff;

}

/*==========================
        HERO
==========================*/

.hero-section{

    background:linear-gradient(90deg,#fff8ec,#fef2dd);

    padding:70px 0;

}

.hero-temple{

    max-height:450px;

}

.hero-guru{

    max-height:420px;

}

.hero-content{

    padding:20px;

}

.om-icon{

    font-size:34px;

    color:#d9a441;

}

.hero-content h1{

    font-size:52px;

    color:#5f180f;

    font-weight:700;

    margin:15px 0;

}

.hero-content h5{

    color:#8d5d24;

    margin-bottom:20px;

}

.hero-content p{

    font-size:18px;

    color:#555;

    line-height:32px;

}

.hero-btn{

    margin-top:35px;

}

.hero-btn .btn{

    padding:14px 30px;

    border-radius:10px;

    margin:5px;

    font-weight:600;

}

.hero-btn .donate{

    background:#8b1d13;

    color:#fff;

}

.hero-btn .about{

    background:#fff;

    border:2px solid #d9b37a;

    color:#7b1d14;

}

.hero-btn .about:hover{

    background:#8b1d13;

    color:#fff;

}

/*==========================
Responsive
==========================*/

@media(max-width:991px){

.hero-section{

text-align:center;

}

.hero-temple,
.hero-guru{

margin-bottom:30px;

}

.hero-content h1{

font-size:36px;

}

.language-btn{

margin-top:20px;

justify-content:center;

}

}


/*slider*/

.hero-slide{

    background-size:cover;

    background-position:center;

    background-repeat:no-repeat;

    min-height:430px;

    display:flex;

    align-items:center;

    position:relative;

}

.hero-slide::before{

    content:"";

    position:absolute;

    inset:0;

    /*background:rgba(255,248,235,.45);*/

}

.hero-slide .container{

    position:relative;

    z-index:2;

}

.hero-temple{

    max-height:340px;

}

.hero-guru{

    max-height:360px;

}

.hero-content{

    padding:10px 20px;

}

.hero-content h1{

    font-size:48px;

    font-weight:700;

    color:#61180d;

}

.hero-content h5{

    color:#8d5c25;

    margin:15px 0;

}

.hero-content p{

    font-size:18px;

    line-height:30px;

    color:#444;

}

.carousel-control-prev,
.carousel-control-next{

    width:55px;

}

.carousel-control-prev-icon,
.carousel-control-next-icon{

    background-color:#8b1d13;

    border-radius:50%;

    padding:18px;

}

.carousel-indicators button{

    width:10px;

    height:10px;

    border-radius:50%;

    background:#8b1d13;

}

/* ===============================
   Mobile Hero
================================= */

@media (max-width:991px){

.hero-slide{

    min-height:300px;
    padding:25px 0;

}

.hero-slide .row{

    flex-direction:column;

}

.hero-temple{

    display:none;          /* Hide left image on mobile */

}

.hero-guru{

    display:none;          /* Hide right image on mobile */

}

.hero-content{

    padding:10px 15px;
    max-width:100%;

}

.hero-content h1{

    font-size:28px;
    margin-bottom:10px;

}

.hero-content h5{

    font-size:18px;
    margin-bottom:12px;

}

.hero-content p{

    font-size:15px;
    line-height:24px;
    margin-bottom:15px;

}

.hero-btn{

    display:flex;
    flex-direction:column;
    gap:10px;

}

.hero-btn .btn{

    width:100%;

}

.carousel-control-prev,
.carousel-control-next{

    width:35px;

}

.carousel-control-prev-icon,
.carousel-control-next-icon{

    padding:12px;

}

}

/*==================================================
    QR Card
==================================================*/

/*==========================
    Donation Card
==========================*/

.donation-card{

    background:#fffdf8;

    border:1px solid #ead8c3;

    border-radius:18px;

    overflow:hidden;

    box-shadow:0 8px 20px rgba(0,0,0,.06);

}

.donation-header{

    background:#8B1E12;

    color:#fff;

    text-align:center;

    padding:18px;

    font-size:22px;

    font-weight:700;

}

.donation-body{

    padding:30px 25px;

    text-align:center;

}

.scan-title{

    color:#5b2d18;

    font-size:22px;

    font-weight:700;

    margin-bottom:20px;

}

.qr-placeholder{

    width:220px;

    height:220px;

    margin:auto;

    border:2px dashed #d8d8d8;

    border-radius:12px;

    display:flex;

    align-items:center;

    justify-content:center;

    margin-bottom:20px;

    background:#fff;

}

.qr-placeholder i{

    font-size:90px;

    color:#8B1E12;

}

.upi-id{

    color:#6b2315;

    font-weight:700;

    margin-bottom:5px;

}

.bank-name{

    display:block;

    color:#777;

    margin-bottom:20px;

}

.amount-title{

    font-weight:600;

    margin-bottom:15px;

    color:#444;

}

.amount-btn{

    width:100%;

    background:#fff;

    border:2px solid #d5b6a0;

    color:#7b2417;

    font-weight:600;

    border-radius:10px;

    padding:10px;

    transition:.3s;

}

.amount-btn:hover{

    background:#8B1E12;

    color:#fff;

    border-color:#8B1E12;

}

.donate-btn{

    width:100%;

    background:#8B1E12;

    color:#fff;

    padding:14px;

    border-radius:10px;

    font-size:18px;

    font-weight:700;

}

.donate-btn:hover{

    background:#6d140c;

    color:#fff;

}

.donation-note{

    display:block;

    margin-top:15px;

    color:#777;

    font-size:13px;

}

/* Responsive */

@media(max-width:768px){

.qr-placeholder{

    width:180px;

    height:180px;

}

.donation-header{

    font-size:18px;

}

.scan-title{

    font-size:18px;

}

}
/*==========================
    Donation Form
==========================*/

.donation-form{

    background:#fff;

    padding:35px;

    border-radius:12px;

    box-shadow:0 10px 30px rgba(0,0,0,.06);

}

.form-title{

    color:#8B1E12;

    font-size:24px;

    font-weight:700;

    margin-bottom:30px;

}

.form-title i{

    color:#d7a13b;

    margin-right:8px;

}

.donation-form label{

    /* display:block; */

    font-size:15px;

    font-weight:600;

    margin-bottom:8px;

    color:#333;

}

.donation-form label span{

    color:red;

}

.form-control{

    height:50px;

    border-radius:8px;

    border:1px solid #ddd;

    box-shadow:none;

}

.form-control:focus{

    border-color:#8B1E12;

    box-shadow:none;

}

.form-select{

    border-radius:8px;

    /* min-height:170px; */

}

.upload-box{

    width:100%;

    height:170px;

    border:2px dashed #d4d4d4;

    border-radius:10px;

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

    cursor:pointer;

    transition:.3s;

}

.upload-box:hover{

    border-color:#8B1E12;

}

.upload-box i{

    font-size:55px;

    color:#222;

}

.upload-box h6{

    margin-top:10px;

    margin-bottom:6px;

    font-weight:600;

}

.upload-box small{

    color:#777;

}

.submit-btn{

    width:100%;

    background:#8B1E12;

    color:#fff;

    padding:13px;

    border-radius:8px;

    font-size:18px;

    font-weight:600;

}

.submit-btn:hover{

    background:#6d150d;

    color:#fff;

}

.secure-box{

    background:#FFF8EC;

    border-radius:8px;

    padding:12px;

    text-align:center;

    color:#8b6d35;

    font-size:14px;

}

.secure-box i{

    margin-right:6px;

    color:#d7a13b;

}

/*=========================
        About
==========================*/

.about-section{

    background:#fff;
}

.section-subtitle{

    color:#c49036;

    font-weight:600;

    margin-bottom:10px;

}

.section-subtitle i{

    margin-right:8px;
}

.about-title{

    color:#7b1d14;

    font-weight:700;

    font-size:42px;

    margin-bottom:8px;

}

.about-subtitle{

    color:#9b6d2c;

    font-size:24px;

    margin-bottom:25px;

}

.about-section p{

    color:#555;

    line-height:32px;

    font-size:17px;

}

.about-btn{

    background:#8b1d13;

    color:#fff;

    border-radius:8px;

    padding:10px 28px;

    margin-top:15px;
}

.about-btn:hover{

    background:#6b120b;

    color:#fff;
}

.about-image{

    border-radius:10px;

    overflow:hidden;

    box-shadow:0 8px 20px rgba(0,0,0,.12);
}

.about-image img{

    width:100%;

    height:420px;

    object-fit:cover;

    transition:.4s;
}

.about-image:hover img{

    transform:scale(1.04);
}


/*=========================
        Gallery
==========================*/

.gallery-section{

    background:#fff;
}

.section-heading{

    display:flex;

    align-items:center;

    justify-content:center;

    gap:18px;

}

.section-heading span{

    width:90px;

    height:2px;

    background:#d6b16b;
}

.section-heading h2{

    color:#7b1d14;

    font-weight:700;

    margin:0;
}

.gallery-card{

    overflow:hidden;

    border-radius:8px;

    box-shadow:0 4px 15px rgba(0,0,0,.08);

    cursor:pointer;
}

.gallery-card img{

    width:100%;

    height:130px;

    object-fit:cover;

    transition:.4s;
}

.gallery-card:hover img{

    transform:scale(1.08);
}

.gallery-btn{

    background:#fff;

    border:2px solid #8b1d13;

    color:#8b1d13;

    padding:10px 35px;

    border-radius:8px;

    font-weight:600;
}

.gallery-btn:hover{

    background:#8b1d13;

    color:#fff;
}


/*=========================
    Responsive
==========================*/

@media(max-width:991px){

.about-title{

    font-size:34px;
}

.about-image img{

    height:320px;
}

}

@media(max-width:767px){

.about-section{

    text-align:center;
}

.about-title{

    font-size:28px;
}

.about-subtitle{

    font-size:20px;
}

.about-image{

    margin-top:30px;
}

.gallery-card img{

    height:110px;
}

.section-heading span{

    width:40px;
}

}

/*==================================================
    Events
==================================================*/

.events-section{
background:#fffdf8;
}

.section-title{
display:flex;
justify-content:center;
align-items:center;
gap:20px;
}

.section-title span{
width:80px;
height:2px;
background:#d8b36b;
}

.section-title h2{
color:#7b1e13;
font-weight:700;
margin:0;
}

.event-card{
background:#fff;
border:1px solid #f1e7d8;
border-radius:12px;
padding:20px;
text-align:center;
transition:.3s;
height:100%;
}

.event-card:hover{
transform:translateY(-8px);
box-shadow:0 10px 25px rgba(0,0,0,.08);
}

.event-card img{
height:75px;
margin-bottom:15px;
object-fit:contain;
}

.event-card h5{
font-size:18px;
font-weight:700;
color:#7b1e13;
}

.event-card p{
font-size:14px;
color:#666;
margin-bottom:15px;
}

.contact-section{
background:#fff;
}

.contact-box{
background:#fff;
height:100%;
}

.contact-item{
display:flex;
gap:15px;
margin-bottom:25px;
}

.contact-item .icon{
width:55px;
height:55px;
background:#7b1e13;
color:#fff;
border-radius:50%;
display:flex;
justify-content:center;
align-items:center;
font-size:22px;
flex-shrink:0;
}

.contact-item h6{
font-weight:700;
color:#7b1e13;
margin-bottom:5px;
}

.contact-item p{
margin:0;
color:#555;
}

.map-box iframe{
width:100%;
height:280px;
border:0;
border-radius:10px;
}

.temple-image img{
width:100%;
height:280px;
border-radius:10px;
object-fit:cover;
}

/*==================================================
    About
==================================================*/

.about-image{

    border-radius:15px;

    overflow:hidden;

}

.about-content h2{

    color:var(--primary);

    font-weight:700;

}

.about-content p{

    color:#666;

}

/*==================================================
    Footer
==================================================*/

/*=========================
        Footer
==========================*/

.temple-footer{

    background:#8d1b10;

    color:#fff;

    padding:35px 0 15px;

    font-family:'Hind Siliguri',sans-serif;

}

.footer-logo-box{

    display:flex;

    gap:15px;

}

.footer-logo img{

    width:60px;

}

.footer-logo-box h5{

    font-size:22px;

    margin-bottom:2px;

    font-weight:700;

}

.footer-logo-box h6{

    color:#f6d690;

    margin-bottom:8px;

    font-size:15px;

}

.footer-logo-box p{

    font-size:14px;

    margin:0;

    color:#f3e4d3;

}

.footer-title{

    color:#fff;

    margin-bottom:15px;

    font-weight:600;

}

.footer-links{

    margin:0;

    padding:0;

    list-style:none;

}

.footer-links li{

    margin-bottom:8px;

}

.footer-links li a{

    color:#f8f2ec;

    text-decoration:none;

    transition:.3s;

    font-size:15px;

}

.footer-links li a:hover{

    color:#ffd56b;

    padding-left:5px;

}

.footer-links li::before{

    content:"›";

    color:#ffd56b;

    margin-right:8px;

}

/*=========================
    Social
==========================*/

.social-icons{

    display:flex;

    justify-content:flex-end;

    gap:15px;

    margin-top:15px;

}

.social-icons a{

    width:42px;

    height:42px;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    color:#fff;

    font-size:20px;

    transition:.3s;

}

.facebook{

    background:#1877F2;

}

.youtube{

    background:#FF0000;

}

.whatsapp{

    background:#25D366;

}

.instagram{

    background:linear-gradient(45deg,#f9ce34,#ee2a7b,#6228d7);

}

.social-icons a:hover{

    transform:translateY(-5px);

}

/*=========================
    Divider
==========================*/

.temple-footer hr{

    border-color:rgba(255,255,255,.15);

    margin:25px 0 15px;

}

/*=========================
    Bottom
==========================*/

.footer-bottom{

    display:flex;

    justify-content:space-between;

    align-items:center;

    color:#f2d7cf;

    font-size:14px;

}

.footer-bottom span{

    color:#ffb4b4;

}

/*=========================
    Responsive
==========================*/

@media(max-width:991px){

.footer-bottom{

    flex-direction:column;

    text-align:center;

    gap:10px;

}

.social-icons{

    justify-content:center;

}

}

@media(max-width:768px){

.footer-logo-box{

    flex-direction:column;

    text-align:center;

}

.footer-title{

    margin-top:15px;

}

}

/*==================================================
    Utility
==================================================*/

.shadow-custom{

    box-shadow:var(--shadow);

}

.rounded-custom{

    border-radius:var(--radius);

}

.bg-light-custom{

    background:#FFF8F0;

}

.title{

    font-size:38px;

    font-weight:700;

    color:var(--primary);

}

.subtitle{

    color:#777;

    max-width:650px;

    margin:auto;

}

/*==================================================
    Responsive
==================================================*/

@media(max-width:991px){

.hero{

    min-height:500px;

    text-align:center;

}

.hero h1{

    font-size:42px;

}

.navbar-nav{

    margin-top:20px;

    text-align:center;

}

.nav-link{

    margin:8px 0;

}

section{

    padding:60px 0;

}

}

@media(max-width:768px){

.hero{

    min-height:450px;

}

.hero h1{

    font-size:34px;

}

.hero p{

    font-size:18px;

}

.title{

    font-size:30px;

}

.btn{

    width:100%;

    margin-bottom:10px;

}

.gallery{

    height:200px;

}

}

@media(max-width:576px){

.hero{

    min-height:420px;

    padding:60px 20px;

}

.hero h1{

    font-size:28px;

}

.hero p{

    font-size:16px;

}

.navbar-brand{
    display:flex;
    align-items:center;
    max-width:260px;
}

.card{

    margin-bottom:20px;

}

}

/* ==================================================
   TOP HERO SLIDER - RESPONSIVE FIX
   ================================================== */
.hero-section {
    padding: 0;
    overflow: hidden;
}

#heroSlider,
#heroSlider .carousel-inner,
#heroSlider .carousel-item {
    width: 100%;
}

#heroSlider .carousel-item {
    min-height: 430px;
}

.hero-slide {
    min-height: 430px;
    width: 100%;
    padding: 45px 70px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-slide > .container {
    position: relative;
    z-index: 2;
}

.hero-slide .row {
    min-height: 340px;
}

.hero-slide .col-lg-4 {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-temple,
.hero-guru {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
}

.hero-temple { max-height: 360px; }
.hero-guru { max-height: 350px; }

.hero-content {
    max-width: 520px;
    margin: 0 auto;
    padding: 15px 10px;
}

.hero-content h1 {
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.25;
    margin-bottom: 10px;
}

.hero-content h5 {
    font-size: clamp(17px, 1.5vw, 22px);
}

.hero-content p {
    font-size: clamp(15px, 1.3vw, 18px);
    line-height: 1.7;
    margin-bottom: 22px;
}

.hero-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-btn .btn {
    width: auto;
    margin: 0;
    white-space: nowrap;
}

#heroSlider .carousel-control-prev,
#heroSlider .carousel-control-next {
    width: 58px;
    z-index: 5;
}

#heroSlider .carousel-control-prev-icon,
#heroSlider .carousel-control-next-icon {
    width: 38px;
    height: 38px;
    padding: 0;
    background-size: 55% 55%;
    background-color: rgba(139, 29, 19, .92);
    border-radius: 50%;
}

#heroSlider .carousel-indicators {
    z-index: 6;
    margin-bottom: 12px;
}

#heroSlider .carousel-indicators button {
    width: 10px;
    height: 10px;
    margin: 0 5px;
}

@media (max-width: 991.98px) {
    .hero-slide {
        min-height: 620px;
        padding: 35px 55px 55px;
    }

    #heroSlider .carousel-item {
        min-height: 620px;
    }

    .hero-slide .row {
        min-height: auto;
    }

    .hero-slide .col-lg-4:first-child {
        order: 1;
    }

    .hero-slide .col-lg-4:nth-child(2) {
        order: 2;
    }

    .hero-slide .col-lg-4:last-child {
        order: 3;
    }

    .hero-temple { max-height: 190px; }
    .hero-guru { max-height: 180px; }

    .hero-content {
        padding: 10px 20px 20px;
    }
}

@media (max-width: 767.98px) {
    .hero-slide {
        min-height: 650px;
        padding: 25px 42px 45px;
        background-position: center center;
    }

    #heroSlider .carousel-item {
        min-height: 650px;
    }

    .hero-slide .row {
        row-gap: 2px;
    }

    .hero-temple { max-height: 145px; }
    .hero-guru { max-height: 140px; }

    .hero-content {
        padding: 4px 10px 10px;
    }

    .hero-content h1 {
        font-size: 27px;
    }

    .hero-content h5 {
        font-size: 17px;
        margin: 8px 0;
    }

    .hero-content p {
        font-size: 15px;
        line-height: 1.55;
        margin-bottom: 14px;
    }

    .hero-btn .btn {
        font-size: 14px;
        padding: 9px 14px;
    }

    #heroSlider .carousel-control-prev,
    #heroSlider .carousel-control-next {
        width: 38px;
    }

    #heroSlider .carousel-control-prev-icon,
    #heroSlider .carousel-control-next-icon {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 480px) {
    .hero-slide {
        min-height: 610px;
        padding: 20px 32px 38px;
    }

    #heroSlider .carousel-item {
        min-height: 610px;
    }

    .hero-temple { max-height: 115px; }
    .hero-guru { max-height: 110px; }

    .hero-content h1 {
        font-size: 23px;
    }

    .hero-content h5 {
        font-size: 15px;
    }

    .hero-content p {
        font-size: 14px;
    }

    .hero-btn {
        flex-direction: column;
        width: 100%;
    }

    .hero-btn .btn {
        width: 100%;
        max-width: 220px;
    }
}


/*==================================================
    v2 additions (inner pages, donation logic, account)
==================================================*/
.header-area{ z-index:1030; }
.nav-account{ font-size:26px; color:#8b1d13; line-height:1; }
.nav-account:hover{ color:#5f180f; }

/* inner page banner */
.page-banner{
    background:linear-gradient(90deg,#fff8ec,#fef2dd);
    padding:38px 0 30px;
    border-bottom:1px solid #f0e0c4;
}
.page-banner .section-title{ display:flex; align-items:center; justify-content:center; gap:18px; }
.page-banner h1{ font-size:34px; font-weight:700; color:#5f180f; margin:0; }
.page-banner p{ color:#8d5d24; }
.section-title span{ display:inline-block; }

/* donation card extras */
.qr-placeholder.border-solid{ border-style:solid; border-color:#ead8c3; padding:8px; }
#upiQr{ display:flex; justify-content:center; }
#upiQr img, #upiQr canvas{ width:100% !important; height:auto !important; max-width:200px; }
.copy-btn{ border:0; background:none; color:#8B1E12; padding:0 4px; font-size:16px; }
.amount-btn.active{ background:#8B1E12; color:#fff; border-color:#8B1E12; }
.upi-app-btn{ width:100%; background:#fff; border:2px solid #8B1E12; color:#8B1E12; font-weight:700; border-radius:10px; padding:10px; }
.hp-field{ position:absolute !important; left:-9999px; width:1px; height:1px; opacity:0; }

/* form states */
.form-control.is-invalid, .form-select.is-invalid{ border-color:#dc3545; background-image:none; }
.upload-box.has-file{ border-color:#198754; background:#f3fbf6; }
.upload-box.has-file i{ color:#198754; }
.submit-btn:disabled{ opacity:.7; cursor:wait; }
textarea.form-control{ resize:vertical; }

/* cards for results / content */
.result-card{
    background:#fffdf8; border:1px solid #ead8c3; border-radius:18px;
    padding:28px; box-shadow:0 8px 20px rgba(0,0,0,.05);
}
.result-icon i{ font-size:64px; color:#198754; }
.result-card h3{ color:#5f180f; font-size:22px; }
.result-table th{ color:#7b2417; width:38%; font-weight:600; background:transparent; }
.result-table td, .result-table th{ padding:12px 10px; background:transparent; }
.post-hero{ width:100%; max-height:420px; object-fit:cover; border-radius:14px; }
.post-body{ line-height:1.9; }
.post-body img{ max-width:100%; height:auto; border-radius:10px; }
.side-post{ display:flex; gap:12px; align-items:center; color:#333; padding:10px 0; border-bottom:1px solid #f0e4d2; }
.side-post:last-child{ border-bottom:0; }
.side-post img{ width:72px; height:56px; object-fit:cover; border-radius:8px; }
.side-post:hover{ color:#8B1E12; }

/* gallery */
.gallery-card{ position:relative; cursor:zoom-in; }
.gallery-caption{
    position:absolute; left:0; right:0; bottom:0; padding:8px 12px; color:#fff; font-size:14px;
    background:linear-gradient(transparent,rgba(0,0,0,.7)); border-radius:0 0 12px 12px;
}
.lb-modal .modal-content{ background:transparent; border:0; }
.lb-modal img{ max-height:80vh; object-fit:contain; border-radius:10px; }
.lb-modal .lb-cap{ color:#fff; text-align:center; margin-top:10px; }
.lb-close{ position:absolute; right:10px; top:-6px; z-index:5; }

.contact-item p a{ color:inherit; }

/* account */
.account-nav a{ display:block; padding:10px 12px; border-radius:10px; color:#444; font-weight:600; }
.account-nav a i{ margin-right:8px; }
.account-nav a:hover, .account-nav a.active{ background:#8b1d13; color:#fff; }
.account-nav .avatar{ width:80px; height:80px; border-radius:50%; object-fit:cover; margin:auto; border:3px solid #ead8c3; }
.stat-card{ display:flex; align-items:center; gap:16px; background:#fffdf8; border:1px solid #ead8c3; border-radius:16px; padding:20px; }
.stat-card i{ font-size:34px; color:#8B1E12; }
.stat-card h3{ margin:0; color:#5f180f; }
.pagination .page-link{ color:#8B1E12; }
.pagination .active .page-link{ background:#8B1E12; border-color:#8B1E12; color:#fff; }

/* back to top */
#backToTop{
    position:fixed; right:20px; bottom:22px; width:44px; height:44px; border:0; border-radius:50%;
    background:#8B1E12; color:#fff; font-size:20px; display:none; z-index:1040; box-shadow:0 6px 16px rgba(0,0,0,.25);
}

/* scroll reveal */
.animate{ opacity:0; transform:translateY(24px); transition:.6s ease; }
.animate.show{ opacity:1; transform:none; }

@media(max-width:767px){
    .page-banner h1{ font-size:24px; }
    .result-card{ padding:18px; }
    .page-banner .section-title span{ display:none; }
}
@media print{ .header-area, .temple-footer, #backToTop{ display:none !important; } }


/*==================================================
    v3  BANNER = full picture, never cropped
    desktop image 1920 x 640 (3:1)  |  mobile image 1080 x 1080 (1:1, optional)
==================================================*/
.hero-section{ background:#fffdf8; padding:0; }
#heroSlider .hero-banner-item{ min-height:0 !important; }
#heroSlider .hero-img{
    display:block;
    width:100%;
    height:auto;          /* keeps the real ratio -> nothing is cut */
    object-fit:contain;
}
/* donate / learn-more buttons sit UNDER the picture, so they never cover the text inside it */
.hero-actions{
    display:flex; justify-content:center; align-items:center; flex-wrap:wrap; gap:12px;
    padding:16px 12px; background:linear-gradient(90deg,#fff8ec,#fef2dd);
    border-bottom:1px solid #f0e0c4;
}
.hero-actions .btn{ padding:11px 30px; border-radius:10px; font-weight:600; width:auto; margin:0; }
.hero-actions .donate{ background:#8b1d13; color:#fff; }
.hero-actions .donate:hover{ background:#6d140c; color:#fff; }
.hero-actions .about{ background:#fff; border:2px solid #d9b37a; color:#7b1d14; }
.hero-actions .about:hover{ background:#8b1d13; color:#fff; }
#heroSlider .carousel-control-prev, #heroSlider .carousel-control-next{ width:48px; }
@media (max-width:767.98px){
    .hero-actions{ gap:8px; padding:12px 10px; }
    .hero-actions .btn{ flex:1 1 40%; padding:9px 12px; font-size:14px; }
    #heroSlider .carousel-control-prev, #heroSlider .carousel-control-next{ width:34px; }
    #heroSlider .carousel-control-prev-icon, #heroSlider .carousel-control-next-icon{ width:28px; height:28px; }
}
