@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Noto+Serif+Devanagari:wght@400;500;600;700;800&display=swap');
:root{--navy:#34495e;--ink:#354052;--muted:#687586;--blue:#6f91b5;--blue-light:#eaf1f8;--sky:#f3f7fb;--white:#fff;--cream:#fbfaf7;--gold:#d5b477;--line:#dce4ec;--lavender:#f0eef8;--sage:#eaf1ed}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--cream);color:var(--ink);font-family:'DM Sans','Noto Serif Devanagari',Arial,sans-serif}body:lang(hi){font-family:'Noto Serif Devanagari','DM Sans',sans-serif}a{color:inherit;text-decoration:none}img{max-width:100%;display:block}.topline{height:3px;background:linear-gradient(90deg,#c7d6e6,#e8d9b9,#c7d6e6)}.site-header{position:sticky;top:0;z-index:20;background:#ffffffed;backdrop-filter:blur(14px);border-bottom:1px solid var(--line);box-shadow:0 4px 18px #34495e0b}.nav{width:92%;max-width:1220px;margin:auto;min-height:82px;display:flex;align-items:center;gap:25px}.brand{display:flex;align-items:center;gap:12px;flex-shrink:0;margin-right: 50px;}.logo-placeholder{width:54px;height:54px; border-radius:0%;background: transparent;display:flex;align-items:center;justify-content:center;overflow:hidden}.logo-placeholder img{width:100%;height:100%;object-fit:contain}.logo-placeholder.logo-empty:after{content:'LOGO';font:600 10px 'DM Sans',sans-serif;letter-spacing:1px;color:#9aa9ba}.brand-copy b{display:block;font-size:16px;color:var(--navy);font-weight:700}.brand-copy small{display:block;font:11px 'DM Sans',sans-serif;color:var(--muted);margin-top:4px}.nav-right{order:3;margin-left:auto;display:flex;align-items:center;gap:9px}.language-toggle{background:var(--blue-light);border:1px solid #cfdae7;color:#3e5e7e;padding:10px 15px;border-radius:24px;font:700 12px 'DM Sans',sans-serif;cursor:pointer;white-space:nowrap;transition:.2s}.language-toggle:hover{background:#dce8f4}.menu{display:none;background:white;color:var(--navy);border:1px solid var(--line);padding:8px 11px;border-radius:8px;font-size:20px;cursor:pointer}nav{display:flex;align-items:center;gap:18px;font:500 13px 'DM Sans',sans-serif;order:2}nav a{padding:8px 0;color:#596779;white-space:nowrap}nav a:hover{color:#527ba4}.hero{min-height:840px;position:relative;display:flex;align-items:center;overflow:hidden;background:#52677d}.hero-slide{position:absolute;inset:0;background-position:center;background-size:cover;opacity:0;transition:opacity 1s}.hero-slide.active{opacity:1}.shade{position:absolute;inset:0;background:linear-gradient(90deg,#23364bc9,#34495e88 48%,#34495e12)}.heroText{position:relative;z-index:2;width:86%;max-width:1150px;margin:auto;color:white;padding:75px 0}.heroText label,.split label,.jyot label,.panchang label{color:#f1dcae;font:700 11px 'DM Sans',sans-serif;letter-spacing:2px}.hero h1{font-size:clamp(40px,6vw,70px);color:#fff;margin:15px 0;font-weight:700;letter-spacing:-1px}.hero h2{color:#f6f8fb;font-size:clamp(18px,2.4vw,26px);font-weight:500}.hero p{max-width:580px;line-height:1.9;color:#f4f7fa;font-size:16px}.btn{display:inline-block;background:#e9d8b4;color:#35495e;padding:12px 20px;border:1px solid #e9d8b4;border-radius:6px;font-weight:700;font-size:13px;cursor:pointer;transition:.2s}.btn:hover{background:#f4e8cf;transform:translateY(-1px)}.ghost{background:#ffffff17;color:white;border-color:#ffffffa8;margin-left:8px}.dots{position:absolute;bottom:20px;z-index:3;left:0;right:0;text-align:center}.dots button{border:0;background:transparent;color:#fff;cursor:pointer}.quick{display:grid;grid-template-columns:repeat(4,1fr);background:#fff;border-bottom:1px solid var(--line)}.quick a{padding:24px 8px;text-align:center;border-right:1px solid var(--line);font-size:24px;color:#7898b8}.quick b,.quick small{display:block}.quick b{font-size:14px;color:var(--navy);margin:7px}.quick small{font:12px 'DM Sans',sans-serif;color:var(--muted)}section:not(.hero){padding:66px 5%}.split,.jyot{display:grid;grid-template-columns:1fr 1fr;gap:42px;align-items:center;background:var(--white)}.split>img,.jyot>img{width:100%;height:360px;object-fit:cover;border:7px solid white;border-radius:12px;box-shadow:0 8px 28px #35495e13}.split h2,.jyot h2{font-size:clamp(27px,4vw,40px);color:var(--navy);line-height:1.35}.split p,.jyot p{line-height:1.9;color:var(--muted);font-size:15px}.split label,.panchang label{color:#7794b2}.textlink{color:#527ba4;font-weight:700;font-size:14px}.jyot{background:linear-gradient(120deg,#eaf1f8,#f4f1e8);color:var(--ink)}.jyot h2{color:#34495e}.jyot p{color:#5f6e7d}.jyot label{color:#8e784e}.center{text-align:center;color:var(--navy)}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:28px}.cards a{border:1px solid var(--line);border-radius:10px;overflow:hidden;background:white;box-shadow:0 5px 18px #34495e08;transition:.2s}.cards a:hover{transform:translateY(-3px);box-shadow:0 12px 25px #34495e12}.cards img{height:230px;width:100%;object-fit:cover}.cards b{display:block;padding:14px;color:var(--navy);font-size:14px}.pagehero{min-height:260px;background-size:cover;background-position:center;display:flex;flex-direction:column;justify-content:center;padding:50px 6%!important;color:white;position:relative}.pagehero:before{content:"";position:absolute;inset:0;background:#34495e9e}.pagehero h1,.pagehero p{position:relative;z-index:1}.pagehero h1{font-size:clamp(34px,5vw,54px);margin:0 0 10px;color:white}.pagehero p{margin:0;color:#f1f4f8}.history{max-width:850px;margin:auto;display:grid;gap:14px}.history article{display:flex;gap:18px;padding:20px;background:white;border:1px solid var(--line);border-radius:10px}.history article>b{background:var(--blue-light);color:#5b7da1;border-radius:50%;min-width:42px;height:42px;display:grid;place-items:center}.history h3{margin:0;color:var(--navy)}.history p{color:var(--muted);margin-bottom:0;line-height:1.7}.panchang{max-width:1050px;margin:auto;display:grid;grid-template-columns:1.7fr .8fr;gap:25px}.panchang>div,.panchang aside,form{background:white;border:1px solid var(--line);border-radius:12px;padding:25px;box-shadow:0 6px 20px #34495e08}.panchang h2,.panchang h3{color:var(--navy)}.notice{background:#f4f6fa;padding:12px;border-left:3px solid #8ca8c7;font-size:13px;line-height:1.8;color:#596779}.rows{display:grid;grid-template-columns:1fr 1fr;gap:0 15px}.rows div{padding:12px 2px;border-bottom:1px solid #edf0f4;font-size:13px;display:flex;flex-direction:column;gap:6px}.rows b{color:#64758a}.filters{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin:20px}.filters button{border:1px solid #cfdae7;background:white;color:#536f8d;padding:9px 16px;border-radius:22px;cursor:pointer;font:500 13px 'DM Sans',sans-serif}.filters button.active{background:#e5edf6;color:#344f6d;border-color:#c1d2e4}.gallery{columns:3 240px;column-gap:16px}.gallery a{display:block;position:relative;break-inside:avoid;margin-bottom:16px;overflow:hidden;border:1px solid var(--line);border-radius:9px}.gallery img{width:100%;height:auto;min-height:170px;object-fit:cover}.gallery span{position:absolute;bottom:0;left:0;right:0;padding:28px 12px 11px;color:white;background:linear-gradient(transparent,#26384bc9);font-weight:600;font-size:13px}#lightbox{display:none;position:fixed;inset:0;z-index:99;background:#1e2b3be8;align-items:center;justify-content:center;padding:25px}#lightbox.open{display:flex}#lightbox img{max-width:90vw;max-height:85vh;border-radius:8px}#closeBox{position:absolute;right:25px;top:15px;font-size:40px;color:white;background:none;border:0;cursor:pointer}.contactgrid{display:grid;grid-template-columns:1fr 1fr;gap:25px;max-width:1100px;margin:25px auto}.contactcard{padding:20px;background:white;border:1px solid var(--line);border-radius:10px;margin-bottom:13px}.contactcard h3{color:var(--navy);margin:0}.contactcard p{line-height:1.8;color:var(--muted)}form{display:grid;gap:9px}form h2{margin:0;color:var(--navy)}form p{font-size:13px;color:var(--muted)}form label{font-size:13px;font-weight:700}input,textarea{width:100%;padding:11px;border:1px solid #d8e0e9;border-radius:6px;background:#fbfcfe;color:var(--ink);font:14px 'DM Sans',sans-serif}input:focus,textarea:focus{outline:2px solid #c6d9ed;border-color:#8ba9c8}textarea{resize:vertical}.mapbox{padding:30px;background:#eef3f8;border:1px solid var(--line);border-radius:10px}.mapbox h3{color:var(--navy)}.site-footer{background:#edf2f7;color:#58687a;border-top:1px solid #dbe4ee;padding:42px 5% 0}.footer-inner{max-width:1150px;margin:auto;display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:40px;padding-bottom:30px}.footer-logo-slot{width: 78px;px;height:78px; background-color: transparent;border:none;border-radius: 0px;display:flex;align-items:center;justify-content:center;overflow:hidden}.footer-logo-slot img{width:100%;height:100%;object-fit:contain}.footer-brand h2{font-size:19px;color:#34495e;margin:12px 0 5px}.footer-brand p,.footer-note p{font-size:13px;color:#6c7b8d}.footer-links,.footer-note{display:flex;flex-direction:column;align-items:flex-start;gap:10px}.footer-links h3,.footer-note h3{margin:0 0 4px;color:#34495e;font-size:15px}.footer-links a,.footer-contact-link{font-size:13px;color:#61768d}.footer-links a:hover,.footer-contact-link:hover{color:#365d85}.footer-note h3{font-size:20px}.copyright{border-top:1px solid #dbe4ee;text-align:center;padding:17px 5%;font-size:12px;color:#788697}.year{font-variant-numeric:tabular-nums}
@media(max-width:1050px){.nav{gap:14px}.nav-right{margin-left:auto}nav{gap:12px;font-size:12px}.brand-copy b{font-size:14px}}
@media(max-width:900px){.nav{flex-wrap:wrap;padding:12px 0}.nav-right{margin-left:auto;order:2}nav{display:none;position:absolute;top:82px;left:0;right:0;background:white;padding:18px 5%;flex-direction:column;gap:13px;border-bottom:1px solid var(--line);box-shadow:0 8px 18px #34495e10}nav.open{display:flex}.menu{display:block}.quick{grid-template-columns:repeat(2,1fr)}.quick a:nth-child(2){border-right:0}.split,.jyot,.panchang,.contactgrid{grid-template-columns:1fr}.hero{min-height:540px}.cards{grid-template-columns:1fr 1fr}.gallery{columns:2 180px}.footer-inner{grid-template-columns:1fr 1fr}.footer-brand{grid-column:1/-1}}
@media(max-width:520px){.brand-copy b{font-size:13px}.brand>span,.logo-placeholder{width:44px;height:44px}.language-toggle{padding:8px 11px;font-size:11px}.nav{width:94%}.heroText{padding:60px 0}.hero h1{font-size:39px}.cards{grid-template-columns:1fr}.cards img{height:220px}.rows{grid-template-columns:1fr}.gallery{columns:1}.split>img,.jyot>img{height:270px}section:not(.hero){padding:45px 5%}.footer-inner{grid-template-columns:1fr;gap:25px}.footer-brand{grid-column:auto}.site-footer{padding-top:30px}}

/* SOCIAL MEDIA LINKS IN FOOTER */
.footer-social {
    margin-top: 20px;
}

.footer-social h3 {
    color: #34495e;
    font-size: 15px;
    margin-bottom: 14px;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.social-icon {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #dce4ec;
    color: #34495e;
    font-family: Arial, sans-serif;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
}

.social-icon:hover {
    transform: translateY(-4px);
    box-shadow: 0 5px 14px #34495e20;
}

.facebook:hover {
    background: #1877F2;
    color: #ffffff;
}

.instagram:hover {
    background: #E4405F;
    color: #ffffff;
}

.youtube:hover {
    background: #FF0000;
    color: #ffffff;
}

.whatsapp:hover {
    background: #25D366;
    color: #ffffff;
}

/* TEMPLE HISTORY SECTION */

.temple-history {
    max-width: 1100px;
    margin: 0 auto;
    padding: 35px 24px;
    color: #354052;
    line-height: 1.95;
    font-size: 16px;
}

.temple-history h2 {
    color: #34495e;
    font-size: 30px;
    line-height: 1.5;
    text-align: center;
    margin: 0 0 28px;
    padding-bottom: 16px;
    border-bottom: 2px solid #d5b477;
}

.temple-history h3 {
    color: #526f91;
    font-size: 22px;
    line-height: 1.6;
    margin: 32px 0 12px;
    padding-left: 14px;
    border-left: 4px solid #d5b477;
}

.temple-history p {
    margin: 0 0 20px;
    text-align: justify;
}

.temple-history strong {
    color: #34495e;
    font-weight: 700;
}

.temple-history .temple-blessing {
    margin-top: 32px;
    text-align: center;
    color: #a77b35;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

/* MOBILE RESPONSIVE */

@media (max-width: 768px) {
    .temple-history {
        padding: 24px 16px;
        font-size: 15px;
        line-height: 1.85;
    }

    .temple-history h2 {
        font-size: 24px;
    }

    .temple-history h3 {
        font-size: 19px;
        margin-top: 26px;
    }

    .temple-history .temple-blessing {
        font-size: 19px;
    }
}


        /* ABOUT PAGE */
        .about-history {
            max-width: 1200px;
            margin: 0 auto;
            padding: 35px 24px;
        }

        .history-point {
            display: grid;
            grid-template-columns: 1fr 1fr;
            align-items: center;
            gap: 42px;
            margin-bottom: 65px;
        }

        .history-photo {
            width: 100%;
            overflow: hidden;
            border-radius: 16px;
            background: #eaf1f8;
            box-shadow: 0 10px 28px rgba(52, 73, 94, 0.12);
        }

        .history-photo img {
            display: block;
            width: 100%;
            height: 360px;
            object-fit: cover;
            object-position: center;
            transition: transform 0.4s ease;
        }

        .history-photo:hover img {
            transform: scale(1.035);
        }

        /* Alternate image and text */
        .history-point.reverse .history-photo {
            order: 2;
        }

        .history-point.reverse .history-text {
            order: 1;
        }

        .history-label {
            display: inline-block;
            margin-bottom: 12px;
            color: #a77b35;
            font-size: 12px;
            font-weight: 700;
            letter-spacing: 1.5px;
        }

        .history-text h2 {
            color: #34495e;
            font-size: 28px;
            line-height: 1.5;
            margin: 0 0 18px;
        }

        .history-text p {
            color: #586575;
            font-size: 16px;
            line-height: 1.95;
            margin: 0 0 16px;
            text-align: left;
        }

        .history-text strong {
            color: #34495e;
            font-weight: 700;
        }

        /* CLOSING MESSAGE */
        .history-conclusion {
            padding: 55px 25px;
            margin: 10px 0 40px;
            text-align: center;
            background: linear-gradient(135deg, #edf3fa, #fbfaf7);
            border-radius: 18px;
        }

        .history-conclusion h2 {
            color: #34495e;
            font-size: 30px;
            line-height: 1.5;
            margin: 0 0 18px;
        }

        .history-conclusion p {
            max-width: 900px;
            margin: 0 auto;
            color: #586575;
            font-size: 16px;
            line-height: 2;
        }

        .history-blessing {
            margin-top: 28px;
            color: #a77b35;
            font-size: 23px;
            line-height: 1.7;
            font-weight: 700;
        }

        /* MOBILE */
        @media (max-width: 700px) {
            .about-history {
                padding: 25px 16px;
            }

            .history-point {
                grid-template-columns: 1fr;
                gap: 20px;
                margin-bottom: 42px;
            }

            /* On mobile, always show image first */
            .history-point .history-photo,
            .history-point.reverse .history-photo {
                order: 1;
            }

            .history-point .history-text,
            .history-point.reverse .history-text {
                order: 2;
            }

            .history-photo img {
                height: 260px;
            }

            .history-text h2 {
                font-size: 23px;
            }

            .history-text p {
                font-size: 15px;
                line-height: 1.85;
            }

            .history-conclusion {
                padding: 35px 18px;
            }

            .history-conclusion h2 {
                font-size: 24px;
            }

            .history-conclusion p {
                font-size: 15px;
                line-height: 1.85;
            }

            .history-blessing {
                font-size: 19px;
            }
        }
  

    
.panchang-page {
    max-width: 1200px;
    width: calc(100% - 32px);
    margin: 30px auto;
    color: #164f8c;
}

.panchang-heading {
    padding: 28px 15px;
    text-align: center;
    border: 1px solid #e8cf91;
    border-radius: 14px 14px 0 0;
    background: linear-gradient(120deg, #fffdf6, #f6e9c9);
}

.panchang-heading > span {
    color: #a96a13;
    letter-spacing: 2px;
}

.panchang-heading h2 {
    margin: 5px 0;
    font-size: clamp(32px, 5vw, 52px);
    color: #103d6e;
}

.panchang-heading p {
    margin: 5px 0 0;
}

.panchang-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 22px 5px;
}

.panchang-controls button {
    border: 0;
    border-radius: 8px;
    padding: 11px 16px;
    background: #2c70b2;
    color: white;
    cursor: pointer;
}

.panchang-controls button:hover {
    background: #103d6e;
}

.panchang-controls #panchangPrev,
.panchang-controls #panchangNext {
    font-size: 25px;
    min-width: 43px;
}

.panchang-controls input {
    min-height: 42px;
    max-width: 100%;
    border: 1px solid #d4e0ea;
    border-radius: 8px;
    padding: 8px;
    background: white;
    color: #103d6e;
    font: inherit;
}

.panchang-status {
    margin: 0 0 12px;
    text-align: center;
    font-size: 13px;
    color: #718294;
}

.panchang-summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid #edc34f;
    border-radius: 14px;
    background: #fffaf0;
    box-shadow: 0 7px 22px #4157670f;
}

.pc-summary-cell,
.pc-om {
    min-width: 0;
    padding: 22px 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-right: 1px solid #e6bf5b;
    background: linear-gradient(120deg, #fffdf6, #fff8e5);
}

.pc-summary-cell > span {
    font-weight: 700;
}

.pc-summary-cell h3 {
    margin: 7px 0;
    font-size: clamp(20px, 2.5vw, 30px);
    color: #9f2025;
    overflow-wrap: anywhere;
}

.pc-summary-cell p {
    margin: 4px 0;
}

.pc-date strong {
    font-size: clamp(42px, 5vw, 60px);
    color: #9f2025;
    line-height: 1.25;
}

.pc-date p {
    font-weight: 700;
}

.pc-moon {
    width: 90px;
    height: 90px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #e3e6e9, #9ba4ae 62%, #303944);
    box-shadow: inset -8px -4px 14px #0003, 0 5px 15px #c9c5b8;
    color: white;
    font-size: 60px;
}

.pc-moon-row {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.pc-om {
    border-right: 0;
    color: #c8953d;
}

.pc-om strong {
    font-size: 60px;
}

.pc-om span {
    font-weight: 700;
}

.pc-om small {
    margin-top: 8px;
    font-size: 20px;
}

.pc-festival {
    grid-column: 1 / -1;
    padding: 12px 20px;
    background: linear-gradient(90deg, #ffe79b, #fff0b7);
    color: #71551c;
    line-height: 1.8;
}

.pc-festival strong {
    color: #103d6e;
}

.panchang-details-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 18px;
}

.panchang-details-card {
    min-width: 0;
    padding: 8px 18px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 8px 24px #28455b0e;
}

.pc-row {
    display: grid;
    grid-template-columns: 44px minmax(85px, .9fr) minmax(90px, 1.2fr);
    align-items: center;
    gap: 10px;
    min-height: 65px;
    padding: 9px 0;
    border-bottom: 1px solid #e1eaf2;
}

.pc-row:last-child {
    border-bottom: 0;
}

.pc-icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff2d1;
    color: #a96608;
    font-size: 22px;
}

.pc-row > span:nth-child(2) {
    font-weight: 700;
}

.pc-row strong {
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.panchang-message {
    margin-top: 20px;
    padding: 22px;
    border-left: 4px solid #d8a33b;
    border-radius: 8px;
    background: #fffaf0;
}

.panchang-message h3 {
    margin-top: 0;
    color: #103d6e;
}

.panchang-attribution {
    font-size: 12px;
    color: #718294;
    line-height: 1.8;
}

@media (max-width: 850px) {
    .panchang-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pc-summary-cell:nth-child(2) {
        border-right: 0;
    }

    .pc-summary-cell:nth-child(3),
    .pc-om {
        border-top: 1px solid #e6bf5b;
    }
}

@media (max-width: 600px) {
    .panchang-page {
        width: calc(100% - 20px);
        margin: 18px auto;
    }

    .panchang-details-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .panchang-controls {
        gap: 7px;
    }

    .panchang-controls input {
        width: 145px;
        font-size: 13px;
    }

    .panchang-controls button {
        padding: 9px 10px;
        font-size: 13px;
    }

    .pc-summary-cell,
    .pc-om {
        padding: 15px 8px;
    }

    .pc-summary-cell h3 {
        font-size: 21px;
    }

    .pc-moon {
        width: 65px;
        height: 65px;
        font-size: 44px;
    }

    .pc-om strong {
        font-size: 45px;
    }

    .pc-om span {
        font-size: 13px;
    }

    .pc-festival {
        padding: 10px;
        font-size: 13px;
    }

    .panchang-details-card {
        padding: 5px 10px;
    }

    .pc-row {
        grid-template-columns: 35px minmax(75px, .9fr) minmax(80px, 1.2fr);
        gap: 7px;
        min-height: 58px;
    }

    .pc-icon {
        width: 32px;
        height: 32px;
        font-size: 18px;
    }

    .pc-row > span:nth-child(2),
    .pc-row strong {
        font-size: 13px;
    }
}

/* ===== Panchang layout fix ===== */

/* Keep the entire Panchang inside a centered container */
.panchang-page {
    width: min(100% - 32px, 1200px);
    max-width: 1200px;
    margin: 0 auto;
    padding: 28px 0 40px;
    box-sizing: border-box;
}

/* Prevent children from expanding beyond the container */
.panchang-page *,
.panchang-page *::before,
.panchang-page *::after {
    box-sizing: border-box;
    min-width: 0;
}

/* Center the heading */
.panchang-heading {
    text-align: center;
    margin-bottom: 24px;
}

/* Date navigation stays inside the container */
.panchang-controls {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 48px auto;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin: 0 auto 18px;
}

.panchang-controls input[type="date"] {
    width: 100%;
    min-width: 0;
    height: 46px;
    padding: 8px 12px;
}

/* Summary stays within the container */
.panchang-summary {
    display: grid;
    grid-template-columns: 1fr 1fr 1.15fr 0.7fr;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    border-radius: 16px;
}

/* Allow summary cells to shrink instead of overflowing */
.pc-summary-cell,
.pc-om {
    min-width: 0;
    padding: 22px 16px;
    overflow-wrap: anywhere;
}

/* Moon section: dark text, compact layout */
.pc-moon {
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(145deg, #f8f4e9, #c9d1da);
    color: #35445b;
    font-size: 38px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
}

.pc-moon-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    width: 100%;
}

.pc-moon-row > div:last-child {
    min-width: 0;
    text-align: left;
}

.pc-moon-row h3,
.pc-moon-row p,
.pc-summary-cell.pc-moon span {
    color: #29384d !important;
    overflow-wrap: anywhere;
    word-break: normal;
}

.pc-moon-row h3 {
    margin: 0 0 8px;
    font-size: clamp(16px, 2vw, 22px);
    line-height: 1.4;
}

.pc-moon-row p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

/* Details cards stay in two columns */
.panchang-details-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 20px;
    width: 100%;
}

.panchang-details-card {
    min-width: 0;
    overflow: hidden;
    border-radius: 14px;
}

.pc-row {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr) minmax(0, auto);
    align-items: center;
    gap: 10px;
    padding: 13px 16px;
}

.pc-row strong {
    text-align: right;
    overflow-wrap: anywhere;
}

/* Mobile and narrow screens */
@media (max-width: 760px) {
    .panchang-page {
        width: calc(100% - 24px);
        padding-top: 20px;
    }

    .panchang-controls {
        grid-template-columns: 42px minmax(0, 1fr) 42px;
        gap: 8px;
    }

    #panchangToday {
        grid-column: 1 / -1;
        justify-self: center;
    }

    .panchang-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pc-summary-cell,
    .pc-om {
        padding: 18px 12px;
    }

    .pc-moon-row {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .pc-moon-row > div:last-child {
        text-align: center;
    }

    .panchang-details-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
    }
}

@media (max-width: 380px) {
    .panchang-summary {
        grid-template-columns: minmax(0, 1fr);
    }

    .pc-row {
        grid-template-columns: 26px minmax(0, 1fr);
    }

    .pc-row strong {
        grid-column: 2;
        text-align: left;
    }
}

/* Fix moon icon and moon section layout */

.pc-summary-cell.pc-moon {
    display: block !important;
    width: 100% !important;
    padding: 14px 20px !important;
    text-align: center !important;
    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
}

.pc-moon-row {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 14px !important;
    margin-top: 10px !important;
}

.pc-moon-row .pc-moon {
    display: flex !important;
    flex: 0 0 54px !important;
    width: 54px !important;
    height: 54px !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    background: linear-gradient(145deg, #f7f4ec, #c8d0d9) !important;
    color: #34445b !important;
    font-size: 32px !important;
    line-height: 1 !important;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12) !important;
    overflow: visible !important;
}

.pc-moon-row > div:last-child {
    display: block !important;
    flex: 0 1 auto !important;
    min-width: 0 !important;
    text-align: left !important;
}

.pc-moon-row h3,
.pc-moon-row p {
    margin: 3px 0 !important;
    color: #29384d !important;
    font-size: 15px !important;
    line-height: 1.5 !important;
    writing-mode: horizontal-tb !important;
    transform: none !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
}

.pc-moon-row .pc-moon {
    visibility: visible !important;
    opacity: 1 !important;
}

/* Final moon section typography correction */

.panchang-summary .pc-summary-cell.pc-moon {
    padding: 18px 14px !important;
    text-align: center !important;
}

.panchang-summary .pc-summary-cell.pc-moon > span {
    display: block !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1.5 !important;
    color: #29384d !important;
    margin-bottom: 12px !important;
}

.panchang-summary .pc-moon-row {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 12px !important;
    margin-top: 0 !important;
}

.panchang-summary .pc-moon-row h3 {
    font-size: 18px !important;
    line-height: 1.4 !important;
    margin: 0 0 4px !important;
    color: #29384d !important;
}

.panchang-summary .pc-moon-row p {
    font-size: 18px !important;
    line-height: 1.5 !important;
    margin: 0 !important;
    color: #536176 !important;
}

.panchang-summary .pc-moon-row .pc-moon {
    width: 52px !important;
    height: 52px !important;
    flex: 0 0 52px !important;
    font-size: 29px !important;
}

/* Fix: Full-height separator lines in Panchang summary */

.panchang-summary {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    grid-template-rows: minmax(230px, auto) auto !important;
    align-items: stretch !important;
    overflow: hidden !important;
}

.panchang-summary > .pc-summary-cell,
.panchang-summary > .pc-om {
    height: 100% !important;
    min-height: 230px !important;
    align-self: stretch !important;
    border-right: 1px solid #e9c46a !important;
    border-left: 0 !important;
    border-top: 0 !important;
    border-bottom: 0 !important;
    border-radius: 0 !important;
    box-sizing: border-box !important;
}

/* Festival strip spans the entire bottom */
.panchang-summary > .pc-festival {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    min-height: 54px !important;
    height: auto !important;
    border-top: 1px solid #e9c46a !important;
    border-right: 0 !important;
    border-bottom: 0 !important;
    box-sizing: border-box !important;
}

/* Remove separator after the last summary cell */
.panchang-summary > .pc-om {
    border-right: 0 !important;
}

/* Keep moon content centered inside its full-height cell */
.panchang-summary > .pc-summary-cell.pc-moon {
    display: block !important;
    min-height: 230px !important;
    height: 100% !important;
    border-right: 1px solid #e9c46a !important;
}

/* Mobile layout */
@media (max-width: 600px) {
    .panchang-summary {
        grid-template-columns: minmax(0, 1fr) !important;
        grid-template-rows: auto !important;
    }

    .panchang-summary > .pc-summary-cell,
    .panchang-summary > .pc-om {
        min-height: 150px !important;
        height: auto !important;
        border-right: 0 !important;
        border-bottom: 1px solid #e9c46a !important;
    }

    .panchang-summary > .pc-festival {
        grid-column: 1 !important;
    }
}


```css
/* =========================
   MAHANT JI PHOTO SIZE FIX
========================= */

.mahant-section {
    padding: 45px 20px;
    overflow: hidden;
}

.mahant-container {
    max-width: 1000px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    align-items: center;
    gap: 35px;
}

.mahant-photo {
    width: 100%;
    max-width: 300px;
    box-sizing: border-box;
    padding: 8px;
    margin: 0 auto;

    border: 1px solid #d9ad58;
    border-radius: 130px 130px 16px 16px;
    background: #fffdf7;
    overflow: hidden;
}

.mahant-photo img {
    display: block;
    width: 100%;
    height: 320px;
    max-height: 320px;

    object-fit: cover;
    object-position: center top;

    border-radius: 120px 120px 10px 10px;
}

.mahant-photo-caption {
    padding: 10px 5px 3px;
    font-size: 14px;
    text-align: center;
}

.mahant-content {
    min-width: 0;
}

.mahant-content h2 {
    font-size: clamp(24px, 2.5vw, 32px);
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.mahant-content p {
    font-size: 15px;
    line-height: 1.8;
}


/* =========================
   TEMPLE GALLERY CARD FIX
========================= */

.temple-gallery {
    padding: 40px 20px;
}

.temple-gallery .cards {
    width: 100%;
    max-width: 1050px;
    margin: 25px auto 0;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.temple-gallery .cards a {
    display: block;
    min-width: 0;
    overflow: hidden;

    background: #fff;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.09);
}

.temple-gallery .cards a img {
    display: block;
    width: 100%;
    height: 210px;
    max-height: 210px;

    object-fit: cover;
    object-position: center;
}

.temple-gallery .cards a b {
    display: block;
    padding: 14px 10px;
    text-align: center;
    font-size: 16px;
}


/* =========================
   MOBILE RESPONSIVE
========================= */

@media (max-width: 760px) {

    .mahant-section {
        padding: 35px 16px;
    }

    .mahant-container {
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
    }

    .mahant-photo {
        width: 260px;
        max-width: 100%;
    }

    .mahant-photo img {
        height: 280px;
        max-height: 280px;
    }

    .mahant-content {
        text-align: center;
    }

    .mahant-content h2 {
        font-size: 25px;
    }

    .mahant-divider {
        margin: 16px auto;
    }

    .temple-gallery .cards {
        grid-template-columns: 1fr;
        max-width: 360px;
        gap: 18px;
    }

    .temple-gallery .cards a img {
        height: 210px;
        max-height: 210px;
    }
}

@media (min-width: 480px) and (max-width: 760px) {

    .temple-gallery .cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 600px;
    }
}
```

```css
/* =====================================
   SAHITYA DROPDOWN MENU
===================================== */

#navLinks .nav-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

#navLinks .sahitya-toggle {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 8px 0;
    border: none;
    background: transparent;
    color: #596779;
    font: inherit;
    cursor: pointer;
    white-space: nowrap;
}

#navLinks .sahitya-toggle:hover,
#navLinks .nav-dropdown.is-open > .sahitya-toggle {
    color: #527ba4;
}

#navLinks .dropdown-arrow {
    color: #a77b35;
    font-size: 16px;
    transition: transform 0.2s ease;
}

#navLinks .nav-dropdown.is-open > .sahitya-toggle .dropdown-arrow {
    transform: rotate(180deg);
}


/* FIRST DROPDOWN */

#navLinks .sahitya-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: -12px;
    width: 245px;
    padding: 8px;
    background: #ffffff;
    border: 1px solid #dce4ec;
    border-radius: 10px;
    box-shadow: 0 12px 28px rgba(52, 73, 94, 0.14);
    z-index: 100;
}

#navLinks .nav-dropdown:hover > .sahitya-menu,
#navLinks .nav-dropdown:focus-within > .sahitya-menu,
#navLinks .nav-dropdown.is-open > .sahitya-menu {
    display: block;
}


/* CATEGORY ROWS */

#navLinks .sahitya-submenu {
    position: relative;
    width: 100%;
}

#navLinks .sahitya-submenu-toggle {
    width: 100%;
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border: none;
    border-radius: 6px;
    background: transparent;
    color: #34495e;
    text-align: left;
    font: inherit;
    cursor: pointer;
}

#navLinks .sahitya-submenu-toggle:hover,
#navLinks .sahitya-submenu.is-open > .sahitya-submenu-toggle {
    background: #eaf1f8;
    color: #527ba4;
}

#navLinks .submenu-arrow {
    color: #a77b35;
    font-size: 20px;
    line-height: 1;
}


/* SECOND LEVEL MENU */

#navLinks .sahitya-submenu-items {
    display: none;
    position: absolute;
    top: -8px;
    left: calc(100% + 8px);
    width: 235px;
    padding: 8px;
    background: #ffffff;
    border: 1px solid #dce4ec;
    border-radius: 10px;
    box-shadow: 0 12px 28px rgba(52, 73, 94, 0.14);
    z-index: 101;
}

#navLinks .sahitya-submenu:hover > .sahitya-submenu-items,
#navLinks .sahitya-submenu:focus-within > .sahitya-submenu-items,
#navLinks .sahitya-submenu.is-open > .sahitya-submenu-items {
    display: block;
}

#navLinks .sahitya-submenu-items a {
    display: block;
    padding: 11px 12px;
    border-radius: 6px;
    color: #596779;
    font-size: 13px;
    white-space: normal;
    line-height: 1.6;
}

#navLinks .sahitya-submenu-items a:hover {
    background: #f3f7fb;
    color: #527ba4;
}


/* =====================================
   MOBILE NAVIGATION
===================================== */

@media (max-width: 900px) {

    #navLinks.open {
        align-items: stretch;
        max-height: calc(100vh - 90px);
        overflow-y: auto;
    }

    #navLinks .nav-dropdown {
        display: block;
        width: 100%;
    }

    #navLinks .sahitya-toggle {
        width: 100%;
        min-height: 42px;
        justify-content: space-between;
        padding: 10px 0;
        text-align: left;
    }

    #navLinks .sahitya-menu {
        position: static;
        width: 100%;
        margin: 0 0 8px;
        padding: 6px;
        border-radius: 8px;
        box-shadow: none;
        background: #f8fafc;
    }

    /* On mobile, open menus only when tapped */
    #navLinks .nav-dropdown:hover > .sahitya-menu,
    #navLinks .sahitya-submenu:hover > .sahitya-submenu-items {
        display: none;
    }

    #navLinks .nav-dropdown.is-open > .sahitya-menu {
        display: block;
    }

    #navLinks .sahitya-submenu-toggle {
        min-height: 42px;
    }

    #navLinks .sahitya-submenu-items {
        position: static;
        width: 100%;
        margin: 0 0 6px;
        padding: 4px 8px 4px 16px;
        border: none;
        border-left: 2px solid #d5b477;
        border-radius: 0;
        box-shadow: none;
        background: #ffffff;
    }

    #navLinks .sahitya-submenu.is-open > .sahitya-submenu-items {
        display: block;
    }

    #navLinks .submenu-arrow {
        transform: rotate(90deg);
    }
}
```
/* FIX: SAHITYA DROPDOWN POSITION */

#navLinks {
  overflow: visible !important;
}

#navLinks .nav-dropdown {
  position: relative !important;
  display: flex;
  align-items: center;
  overflow: visible !important;
}

#navLinks .sahitya-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: none;
  background: transparent;
  cursor: pointer;
  font: inherit;
  color: #596779;
  padding: 8px 0;
}

#navLinks .sahitya-menu {
  display: none;
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  margin-top: 8px;
  width: 250px;
  padding: 8px;
  background: #fff;
  border: 1px solid #dce4ec;
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(30, 45, 60, .16);
  z-index: 9999;
}

#navLinks .nav-dropdown.is-open > .sahitya-menu {
  display: block !important;
}

#navLinks .sahitya-submenu {
  position: relative;
  display: block;
  width: 100%;
}

#navLinks .sahitya-submenu-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 11px 12px;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: #34495e;
}

#navLinks .sahitya-submenu-items {
  display: none;
  position: absolute;
  top: 0;
  left: 100%;
  width: 235px;
  padding: 8px;
  background: #fff;
  border: 1px solid #dce4ec;
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(30, 45, 60, .16);
  z-index: 10000;
}

#navLinks .sahitya-submenu.is-open > .sahitya-submenu-items {
  display: block !important;
}

#navLinks .sahitya-submenu-items a {
  display: block;
  padding: 10px 12px;
  white-space: normal;
}

/* MOBILE */
@media (max-width: 900px) {
  #navLinks.open {
    overflow-x: visible !important;
    overflow-y: auto;
  }

  #navLinks .nav-dropdown {
    display: block;
    width: 100%;
  }

  #navLinks .sahitya-toggle {
    width: 100%;
    justify-content: space-between;
  }

  #navLinks .sahitya-menu {
    position: static !important;
    width: 100%;
    margin: 0;
    box-shadow: none;
    background: #f8fafc;
  }

  #navLinks .sahitya-submenu-items {
    position: static;
    width: 100%;
    box-shadow: none;
    background: #fff;
  }
}

/* Fix temple logo and name in mobile header */
@media (max-width: 600px) {

  .site-header .nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
  }

  .site-header .brand {
    display: flex;
    align-items: center;
    flex: 1 1 0;
    min-width: 0;
    width: auto;
    gap: 8px;
  }

  .site-header .logo-placeholder {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
  }

  .site-header .logo-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .site-header .brand-copy {
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
  }

  .site-header .brand-copy b {
    display: block;
    font-size: 14px;
    line-height: 1.4;
    white-space: normal;
    overflow-wrap: normal;
    word-break: keep-all;
  }

  .site-header .brand-copy small {
    display: block;
    margin-top: 3px;
    font-size: 11px;
    line-height: 1.4;
    white-space: normal;
    overflow-wrap: normal;
    word-break: keep-all;
  }

  .site-header .nav-right {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 6px;
  }
}

/* Extra-small mobile screens */
@media (max-width: 360px) {

  .site-header .logo-placeholder {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
  }

  .site-header .brand {
    gap: 6px;
  }

  .site-header .brand-copy b {
    font-size: 12px;
  }

  .site-header .brand-copy small {
    font-size: 10px;
  }
}

/* FORCE SPACE BETWEEN HISTORY PARAGRAPHS */
.history-text p,
.about-history .history-text p {
    display: block !important;
    margin: 0 0 15px !important;
    
    line-height: 2 !important;
    text-align: justify;
}

/* Remove extra spacing after the last paragraph */
.history-text p:last-child,
.about-history .history-text p:last-child {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Footer Seva Sahyog button */
.footer-donation-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 24px 0 18px;
  color: #c28a2d;
  font-size: 21px;
}

.footer-donation-divider::before,
.footer-donation-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #c28a2d;
}

.footer-sahyog-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  max-width: 390px;
  min-height: 60px;
  margin: 0 auto;
  padding: 13px 22px;
  border: 2px solid #c28a2d;
  border-radius: 12px;
  background: linear-gradient(110deg, #760f0c, #4c0807);
  color: #fff7e9 !important;
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: inset 0 0 0 2px #e7c77f20;
  transition: background .2s ease, transform .2s ease;
}

.footer-sahyog-btn i {
  color: #f3ca62;
  font-size: 23px;
}

.footer-sahyog-btn .footer-sahyog-arrow {
  margin-left: auto;
}

.footer-sahyog-btn:hover {
  background: #811510;
  transform: translateY(-2px);
}

.footer-sahyog-btn:focus-visible {
  outline: 3px solid #c28a2d;
  outline-offset: 4px;
}

@media (max-width: 560px) {
  .footer-sahyog-btn {
    max-width: 100%;
    min-height: 54px;
    font-size: 18px;
  }

  .footer-donation-divider {
    margin: 20px 0 15px;
  }
}
/* Maa Ka Sachcha Mandir — footer visual fix
   Paste this at the END of your existing stylesheet. */

.site-footer {
  --footer-cream: #fbf3e5;
  --footer-maroon: #68100e;
  --footer-maroon-dark: #4c0807;
  --footer-gold: #c28a2d;
  --footer-gold-light: #e7c77f;
  --footer-text: #302219;

  position: relative;
  overflow: hidden;
  color: var(--footer-text);
  background: var(--footer-cream) !important;
  font-family: "Noto Sans Devanagari", "Mangal", sans-serif;
  border-top: 1px solid rgba(194, 138, 45, .25);
}

.site-footer *,
.site-footer *::before,
.site-footer *::after {
  box-sizing: border-box;
}

.site-footer .footer-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr .95fr 1.12fr;
  gap: 0;
  width: min(100% - 64px, 1360px);
  margin-inline: auto;
  padding: 44px 0 38px;
}

.site-footer .footer-brand,
.site-footer .footer-links,
.site-footer .footer-note {
  min-width: 0;
}

.site-footer .footer-brand {
  padding: 0 36px 10px 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}

.site-footer .footer-links {
  padding: 0 34px;
  border-left: 1px solid var(--footer-gold-light);
  border-right: 1px solid var(--footer-gold-light);
}

.site-footer .footer-note {
  padding: 0 0 0 38px;
}

/* Logo */
.site-footer .footer-logo-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 118px;
  height: 118px;
  margin: 0 0 12px;
  overflow: hidden;
  border: 3px double var(--footer-gold);
  border-radius: 50%;
  background: #fffaf1;
  box-shadow: inset 0 0 0 4px rgba(194, 138, 45, .12);
}

.site-footer .footer-logo-slot img {
  display: block;
  width: 100%;
  height: 100%;
  padding: 4px;
  object-fit: contain;
}

.site-footer .footer-brand h2 {
  margin: 0 0 12px;
  color: var(--footer-maroon);
  font-size: clamp(24px, 2vw, 32px);
  font-weight: 800;
  line-height: 1.45;
}

.site-footer .footer-brand p {
  margin: 5px 0;
  color: #655344;
  font-size: 15px;
  line-height: 1.8;

}

/* Final footer corrections */
.site-footer .footer-social .social-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-footer .footer-social .social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 50%;
  color: #fff !important;
  font-size: 21px;
  text-decoration: none;
}

.site-footer .footer-social .social-icon i {
  display: inline-block;
  font-family: "Font Awesome 6 Brands";
  font-style: normal;
  font-size: 21px;
  color: #fff;
}

.site-footer .social-icon.facebook { background: #1877f2; }
.site-footer .social-icon.instagram {
  background: linear-gradient(35deg, #ffb52e, #e1306c, #833ab4);
}
.site-footer .social-icon.youtube { background: #e62117; }
.site-footer .social-icon.whatsapp { background: #16b967; }

/* Decorative divider */
.site-footer .footer-donation-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 22px 0 16px;
  color: #c28a2d;
  font-size: 20px;
}

.site-footer .footer-donation-divider::before,
.site-footer .footer-donation-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #c28a2d;
}

/* Improve readability */
.site-footer .footer-links a {
  font-size: 16px;
  line-height: 1.8;
}

.site-footer .footer-note > p {
  font-size: 16px;
  line-height: 1.9;
}

/* Hide divider only if the old HTML does not contain it */
.site-footer .footer-note > .old-divider {
  display: none;
}

.site-footer .social-icon i {
  font-family: "Font Awesome 6 Brands";
  font-weight: 400;
  font-style: normal;
  font-size: 22px;
  color: #fff !important;
  display: inline-block;
  line-height: 1;
}

.site-footer .footer-donation-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 22px 0 16px;
  color: #c28a2d;
}

.site-footer .footer-donation-divider::before,
.site-footer .footer-donation-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #c28a2d;
}

/* ===== APPROVED TEMPLE FOOTER — SAFE OVERRIDE ===== */

.site-footer {
  background: #fbf3e5 !important;
  color: #302219;
  padding: 0 !important;
  border-top: 1px solid #e7c77f;
  position: relative;
  overflow: hidden;
}

.site-footer .footer-inner {
  position: relative;
  z-index: 1;
  width: min(100% - 40px, 1240px);
  max-width: 1240px;
  margin: 0 auto;
  padding: 30px 0 28px;
  display: grid;
  grid-template-columns: 1fr .95fr 1.1fr;
  gap: 0;
}

.site-footer .footer-brand {
  padding: 0 28px 10px 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.site-footer .footer-links {
  padding: 0 30px;
  border-left: 1px solid #e7c77f;
  border-right: 1px solid #e7c77f;
}

.site-footer .footer-note {
  padding: 0 0 0 36px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.site-footer .footer-logo-slot {
  width: 112px;
  height: 112px;
  margin-bottom: 8px;
  border: 2px solid #c28a2d;
  border-radius: 50%;
  background: #fffaf1;
}

.site-footer .footer-logo-slot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-footer .footer-brand h2 {
  color: #68100e;
  font-size: clamp(23px, 2vw, 31px);
  line-height: 1.45;
  margin: 4px 0 8px;
}

.site-footer .footer-brand p {
  color: #594638;
  font-size: 15px;
  line-height: 1.8;
  margin: 4px 0;
}

.site-footer .footer-links h3,
.site-footer .footer-note h3 {
  color: #68100e;
  font-size: 24px;
  margin: 0 0 8px;
}

.site-footer .footer-links a {
  width: 100%;
  font-size: 16px;
  line-height: 1.7;
  padding: 5px 0;
  color: #594638;
  border-bottom: 1px solid rgba(194, 138, 45, .2);
}

.site-footer .footer-links a:last-child {
  border-bottom: 0;
}

.site-footer .footer-note > p {
  color: #594638;
  font-size: 15px;
  line-height: 1.8;
  margin: 4px 0 10px;
}

/* Social media circles and actual brand icons */
.site-footer .footer-social {
  width: 100%;
  margin-top: 4px;
}

.site-footer .footer-social .social-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.site-footer .footer-social .social-icon {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  color: #fff !important;
  text-decoration: none;
}

.site-footer .footer-social .social-icon i {
  color: #fff !important;
  font-size: 20px;
  font-style: normal;
}

.site-footer .footer-social .facebook {
  background: #1877f2;
}

.site-footer .footer-social .instagram {
  background: linear-gradient(35deg, #ffb52e, #e1306c, #833ab4);
}

.site-footer .footer-social .youtube {
  background: #e62117;
}

.site-footer .footer-social .whatsapp {
  background: #16b967;
}

/* Decorative divider above Seva Sahyog */
.site-footer .footer-donation-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 12px;
  margin: 18px 0 12px;
  color: #c28a2d;
}

.site-footer .footer-donation-divider::before,
.site-footer .footer-donation-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: #c28a2d;
}

/* Donation button */
.site-footer .footer-sahyog-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  max-width: 390px;
  min-height: 60px;
  padding: 12px 20px;
  border: 2px solid #c28a2d;
  border-radius: 11px;
  background: linear-gradient(110deg, #760f0c, #4c0807);
  color: #fff7e9 !important;
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
}

.site-footer .footer-sahyog-btn i {
  color: #f3ca62;
}

.site-footer .footer-sahyog-btn .footer-sahyog-arrow {
  margin-left: auto;
}

/* Copyright strip */
.site-footer .copyright {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 20px;
  border-top: 4px solid #d6a537;
  background: linear-gradient(100deg, #4c0807, #740e0b, #4c0807);
  color: #fff3df;
  text-align: center;
  font-size: 13px;
  line-height: 1.7;
}

/* Tablet */
@media (max-width: 850px) {
  .site-footer .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 26px 0;
  }

  .site-footer .footer-brand {
    padding-right: 20px;
  }

  .site-footer .footer-links {
    padding-right: 0;
  }

  .site-footer .footer-note {
    grid-column: 1 / -1;
    padding: 24px 0 0;
    border-top: 1px solid #e7c77f;
  }
}

/* Mobile */
@media (max-width: 560px) {
  .site-footer .footer-inner {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: calc(100% - 40px);
    padding: 26px 0;
  }

  .site-footer .footer-brand {
    align-items: center;
    text-align: center;
    padding: 0 0 22px;
    border-bottom: 1px solid #e7c77f;
  }

  .site-footer .footer-logo-slot {
    width: 92px;
    height: 92px;
  }

  .site-footer .footer-links {
    padding: 0;
    border: 0;
  }

  .site-footer .footer-note {
    padding: 22px 0 0;
    border-top: 1px solid #e7c77f;
  }

  .site-footer .footer-links h3,
  .site-footer .footer-note h3 {
    font-size: 23px;
  }

  .site-footer .footer-sahyog-btn {
    max-width: 100%;
    font-size: 18px;
  }
}

/* Decorative golden mandala corners */
.site-footer .footer-inner {
  position: relative;
  z-index: 1;
}

.site-footer .footer-mandala {
  position: absolute;
  z-index: 0;
  top: 0;
  width: 100px;
  height: 100%;
  min-height: 250px;
  opacity: .42;
  pointer-events: none;
  background-image:
    repeating-radial-gradient(
      circle at center,
      transparent 0 8px,
      #d9ad60 9px 10px,
      transparent 11px 17px
    );
  -webkit-mask-image:
    radial-gradient(ellipse at center, #000 15%, transparent 72%);
  mask-image:
    radial-gradient(ellipse at center, #000 15%, transparent 72%);
}

.site-footer .footer-mandala-left {
  left: -42px;
}

.site-footer .footer-mandala-right {
  right: -42px;
}

/* Copyright content layout */
.site-footer .copyright {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding: 14px 5%;
}

.site-footer .copyright-left,
.site-footer .copyright-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer .copyright-om {
  color: #f0c85d;
  font-size: 30px;
}

.site-footer .copyright-divider {
  color: #d6a537;
}

.site-footer .copyright-lotus {
  color: #f0c85d;
  font-size: 20px;
}

.site-footer .copyright-links a {
  color: #fff3df;
  text-decoration: none;
  font-size: 13px;
}

.site-footer .copyright-links a:hover {
  color: #f0c85d;
}

@media (max-width: 700px) {
  .site-footer .footer-mandala {
    width: 55px;
    opacity: .25;
  }

  .site-footer .copyright {
    justify-content: center;
    text-align: center;
  }

  .site-footer .copyright-left,
  .site-footer .copyright-links {
    justify-content: center;
  }

  .site-footer .copyright-lotus {
    display: none;
  }
}

/* Inline SVG icons: no icon font required */
.site-footer .social-links .social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.site-footer .social-links .social-icon svg {
  display: block;
  width: 22px;
  height: 22px;
  fill: #fff;
  color: #fff;
}

.site-footer .footer-sahyog-btn .sahyog-heart-icon {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  color: #f3ca62;
}

.site-footer .footer-sahyog-btn .sahyog-arrow-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  color: #f3ca62;
  margin-left: auto;
}

.site-footer .social-icon.twitter {
  background: #000000;
}

.site-footer .social-icon.twitter svg {
  display: block;
  width: 20px;
  height: 20px;
  color: #ffffff;
}
/* Google Map inside the address card */
.contact-map {
    width: 100%;
    margin-top: 20px;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid #dbe4ee;
    background: #f5f7fa;
}

.contact-map iframe {
    display: block;
    width: 100%;
    height: 280px;
    border: 0;
}

@media (max-width: 600px) {
    .contact-map iframe {
        height: 230px;
    }
}

/* =========================================
   SEVA SAHYOG QR POPUP
========================================= */

.seva-popup {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    padding: 16px;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    background: rgba(35, 20, 20, 0.68);
    backdrop-filter: blur(4px);
}

.seva-popup.is-open {
    display: flex;
}

.seva-popup-box {
    position: relative;
    width: 100%;
    max-width: 360px;
    max-height: 90vh;
    overflow-y: auto;
    box-sizing: border-box;
    padding: 28px 24px 24px;
    text-align: center;
    background: linear-gradient(145deg, #fffdf7, #ffffff);
    border: 1px solid #ead9b4;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
    animation: sevaPopupIn 0.25s ease-out;
}

.seva-close {
    position: absolute;
    top: 9px;
    right: 12px;
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 50%;
    background: #f7eee0;
    color: #792638;
    font-size: 27px;
    line-height: 1;
    cursor: pointer;
}

.seva-close:hover {
    background: #eeddbb;
}

.seva-icon {
    margin-bottom: 8px;
    font-size: 30px;
}

.seva-popup-box h2 {
    margin: 0 0 10px;
    color: #792638;
    font-size: 25px;
}

.seva-popup-box p {
    margin: 0 0 16px;
    color: #6e6256;
    font-size: 14px;
    line-height: 1.7;
}

.seva-qr {
    display: block;
    width: 210px;
    height: 210px;
    max-width: 100%;
    object-fit: contain;
    box-sizing: border-box;
    padding: 8px;
    margin: 0 auto 12px;
    background: #fff;
    border: 1px solid #e9dfce;
    border-radius: 12px;
}

.seva-popup-box .seva-blessing {
    margin-top: 12px;
    margin-bottom: 0;
    color: #9a7029;
    font-size: 16px;
    font-weight: 700;
}

@keyframes sevaPopupIn {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 480px) {
    .seva-popup-box {
        max-width: 330px;
        padding: 26px 18px 22px;
    }

    .seva-qr {
        width: 190px;
        height: 190px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .seva-popup-box {
        animation: none;
    }
}
/* Bigger Seva Sahyog Popup */
.seva-popup-box {
    width: 92%;
    max-width: 520px;
    padding: 36px 32px 32px;
    border-radius: 22px;
}

/* Bigger heading */
.seva-popup-box h2 {
    font-size: 32px;
    margin-bottom: 14px;
}

/* Bigger description text */
.seva-popup-box p {
    font-size: 17px;
    line-height: 1.8;
}

/* Bigger QR image */
.seva-qr {
    width: 320px;
    height: 320px;
    max-width: 100%;
    padding: 10px;
}

/* Bigger closing button */
.seva-close {
    width: 42px;
    height: 42px;
    font-size: 32px;
}

.seva-icon {
    font-size: 38px;
}

.seva-popup-box .seva-blessing {
    font-size: 19px;
}

/* Mobile responsive */
@media (max-width: 600px) {
    .seva-popup-box {
        width: 100%;
        max-width: 420px;
        max-height: 90vh;
        overflow-y: auto;
        padding: 30px 20px 24px;
    }

    .seva-qr {
        width: 260px;
        height: 260px;
    }

    .seva-popup-box h2 {
        font-size: 27px;
    }

    .seva-popup-box p {
        font-size: 15px;
    }
}
/* Footer Quick Links - 2 links per row */
.site-footer .footer-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
    align-content: start;
}

.site-footer .footer-links h3 {
    grid-column: 1 / -1;
}

.site-footer .footer-links a {
    display: block;
    min-width: 0;
    padding: 10px 0;
    border-bottom: 1px solid #eadfc9;
    overflow-wrap: anywhere;
}

/* Mobile layout */
@media (max-width: 600px) {
    .site-footer .footer-links {
        column-gap: 16px;
    }

    .site-footer .footer-links a {
        font-size: 14px;
    }
}

/* ==========================================
   FOOTER BRANDING — CENTERED TEMPLE DESIGN
========================================== */

.site-footer .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: flex-start;
    padding: 12px 18px 20px;
    min-width: 0;
}

/* Temple logo */
.site-footer .footer-brand .footer-logo-slot {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 118px;
    height: 118px;
    margin: 0 auto 14px;
    overflow: hidden;
    border: 2px solid #c99a3d;
    border-radius: 50%;
    background: #fffaf0;
    box-shadow: 0 4px 14px rgba(139, 38, 53, 0.12);
}

.site-footer .footer-brand .footer-logo-slot img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

/* Temple name */
.site-footer .footer-brand h2 {
    margin: 0;
    color: #7b1725;
    font-size: clamp(23px, 2vw, 31px);
    font-weight: 750;
    line-height: 1.45;
    text-align: center;
}

/* Gold lotus divider */
.site-footer .footer-brand-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    max-width: 290px;
    margin: 12px auto 14px;
}

.site-footer .footer-brand-divider > span:not(.footer-brand-lotus) {
    height: 2px;
    flex: 1;
    background: linear-gradient(
        90deg,
        transparent,
        #c99a3d,
        #e5c77f
    );
}

.site-footer .footer-brand-divider > span:first-child {
    background: linear-gradient(
        90deg,
        transparent,
        #c99a3d
    );
}

.site-footer .footer-brand-divider > span:last-child {
    background: linear-gradient(
        90deg,
        #c99a3d,
        transparent
    );
}

.site-footer .footer-brand-lotus {
    color: #c99a3d;
    font-size: 27px;
    line-height: 1;
}

/* Location */
.site-footer .footer-brand .footer-brand-locality {
    margin: 0 0 6px;
    color: #684333;
    font-size: 17px;
    line-height: 1.7;
}

/* Full address */
.site-footer .footer-brand .footer-brand-address {
    margin: 0;
    color: #684333;
    font-size: 15px;
    line-height: 1.8;
    max-width: 100%;
    overflow-wrap: anywhere;
}

/* Mobile */
@media (max-width: 600px) {
    .site-footer .footer-brand {
        padding: 8px 12px 18px;
    }

    .site-footer .footer-brand .footer-logo-slot {
        width: 96px;
        height: 96px;
        margin-bottom: 12px;
    }

    .site-footer .footer-brand h2 {
        font-size: 24px;
    }

    .site-footer .footer-brand-divider {
        max-width: 240px;
        margin: 10px auto 12px;
    }

    .site-footer .footer-brand .footer-brand-locality {
        font-size: 16px;
    }

    .site-footer .footer-brand .footer-brand-address {
        font-size: 14px;
    }
}

/* =========================================
   DEVOTEE SEVA — FINAL CENTERED LAYOUT
========================================= */

/* ==========================================
   DEVOTEE SEVA SECTION
   Same Image Size + Wider Content Area
========================================== */

.devotee-seva-section {
    width: 100%;
    padding: 55px 4%;
    box-sizing: border-box;
}

.devotee-seva-inner {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 380px minmax(0, 1fr);
    gap: 40px;

    align-items: center;
    box-sizing: border-box;
}

/* LEFT IMAGE — SIZE REMAINS THE SAME */

.devotee-seva-image {
    width: 100%;
    max-width: 380px;
    height: 420px;
    overflow: hidden;
    border-radius: 18px;
    flex-shrink: 0;
}

.devotee-seva-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    border-radius: 18px;
}

/* RIGHT CONTENT — INCREASED WIDTH */

.devotee-seva-content {
    width: 100%;
    min-width: 0;
    max-width: none;
    box-sizing: border-box;
}

.devotee-seva-eyebrow {
    margin: 0 0 12px;
    color: #9b6b32;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.8px;
    line-height: 1.6;
}

.devotee-seva-content h2 {
    margin: 0 0 18px;
    color: #672c32;
    font-size: clamp(25px, 2.2vw, 34px);
    line-height: 1.4;
    font-weight: 700;
    overflow-wrap: break-word;
}

/* DECORATIVE DIVIDER */

.devotee-seva-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 180px;
    margin: 18px 0;
}

.devotee-seva-divider span:not(.seva-lotus) {
    height: 1px;
    flex: 1;
    background: #c9a66b;
}

.seva-lotus {
    color: #a57b3d;
    font-size: 22px;
    line-height: 1;
}

/* DESCRIPTION */

.devotee-seva-description {
    margin: 0 0 24px;
    color: #55443c;
    font-size: 16px;
    line-height: 1.9;
    text-align: justify;
    overflow-wrap: break-word;
}

/* SEVA HIGHLIGHTS */

.devotee-seva-highlights {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 24px;
    width: 100%;
}

.seva-highlight {
    display: flex;
    align-items: center;
    gap: 13px;
    min-width: 0;
    padding: 14px 16px;
    background: #fffaf1;
    border: 1px solid #ead9bb;
    border-radius: 12px;
    box-sizing: border-box;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.seva-highlight:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(103, 44, 50, 0.10);
}

.seva-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f4e5c9;
    border-radius: 50%;
}

.seva-emoji {
    font-size: 22px;
    line-height: 1;
}

.seva-highlight h3 {
    margin: 0;
    color: #672c32;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.6;
    overflow-wrap: break-word;
}

/* ==========================================
   TABLET RESPONSIVE
========================================== */

@media (max-width: 1000px) {
    .devotee-seva-section {
        padding: 45px 4%;
    }

    .devotee-seva-inner {
        grid-template-columns: 320px minmax(0, 1fr);
        gap: 28px;
    }

    .devotee-seva-image {
        max-width: 320px;
        height: 400px;
    }

    .devotee-seva-content h2 {
        font-size: 27px;
    }

    .devotee-seva-description {
        font-size: 15px;
        line-height: 1.8;
    }

    .devotee-seva-highlights {
        gap: 12px;
    }

    .seva-highlight {
        padding: 12px;
        gap: 10px;
    }

    .seva-highlight h3 {
        font-size: 14px;
    }
}

/* ==========================================
   MOBILE RESPONSIVE
========================================== */

@media (max-width: 700px) {
    .devotee-seva-section {
        padding: 35px 5%;
    }

    .devotee-seva-inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 25px;
    }

    .devotee-seva-image {
        width: 100%;
        max-width: 100%;
        height: 320px;
    }

    .devotee-seva-content {
        width: 100%;
    }

    .devotee-seva-content h2 {
        font-size: 25px;
        line-height: 1.45;
    }

    .devotee-seva-description {
        font-size: 15px;
        text-align: left;
        line-height: 1.85;
    }

    .devotee-seva-highlights {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .seva-highlight {
        flex-direction: column;
        align-items: flex-start;
        padding: 14px 12px;
    }

    .seva-highlight h3 {
        font-size: 13px;
        line-height: 1.5;
    }
}

/* SMALL MOBILE */

@media (max-width: 400px) {
    .devotee-seva-image {
        height: 270px;
    }

    .devotee-seva-highlights {
        grid-template-columns: 1fr;
    }

    .seva-highlight {
        flex-direction: row;
        align-items: center;
    }
}

.devotee-seva-image {
    width: 100%;
    min-width: 0;
    min-height: 350px;
    overflow: hidden;
    border-radius: 15px;
    background: #f8edda;
}

.devotee-seva-image img {
    display: block;
    width: 100%;
    height: 350px;
    object-fit: cover;
    object-position: center;
    border-radius: 15px;
}

.devotee-seva-content {
    width: 100%;
    min-width: 0;
}

.devotee-seva-content h2 {
    overflow-wrap: break-word;
}

.devotee-seva-highlights {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 30px;
}

/* Tablet */
@media (max-width: 1000px) {
    .devotee-seva-inner {
        width: 94%;
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
        gap: 24px;
        padding: 28px;
    }

    .devotee-seva-highlights {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 22px;
    }
}

/* Mobile */
@media (max-width: 650px) {
    .devotee-seva-section {
        padding: 22px 0;
    }

    .devotee-seva-inner {
        width: 94%;
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
        padding: 18px;
        border-radius: 20px;
    }

    .devotee-seva-image {
        min-height: 250px;
    }

    .devotee-seva-image img {
        height: 250px;
    }

    .devotee-seva-highlights {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 24px;
    }
}
/* DEVOTEE SEVA — WIDER CONTENT, SAME IMAGE SIZE */

.devotee-seva-inner {
    display: grid;
    grid-template-columns: 380px minmax(0, 1fr);
    gap: 40px;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    align-items: center;
    box-sizing: border-box;
}

/* Keep the image dimensions unchanged */
.devotee-seva-image {
    width: 380px;
    max-width: 100%;
    flex-shrink: 0;
}

.devotee-seva-image img {
    display: block;
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 16px;
}

/* Give more width to the text area */
.devotee-seva-content {
    width: 100%;
    min-width: 0;
    max-width: none;
    box-sizing: border-box;
}

/* Keep all four highlight cards within the content width */
.devotee-seva-highlights {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
    margin-top: 28px;
    box-sizing: border-box;
}

.seva-highlight {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    min-width: 0;
    min-height: 100px;
    padding: 14px 10px;
    box-sizing: border-box;
    overflow-wrap: anywhere;
}

.seva-highlight h3 {
    flex: 1;
    min-width: 0;
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    overflow-wrap: break-word;
}

.seva-icon {
    flex-shrink: 0;
}

/* Tablet */
@media (max-width: 1000px) {
    .devotee-seva-inner {
        grid-template-columns: 320px minmax(0, 1fr);
        gap: 28px;
    }

    .devotee-seva-image {
        width: 320px;
    }

    .devotee-seva-highlights {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Mobile */
@media (max-width: 700px) {
    .devotee-seva-inner {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .devotee-seva-image {
        width: 100%;
        max-width: 380px;
        margin: 0 auto;
    }

    .devotee-seva-content {
        width: 100%;
    }

    .devotee-seva-highlights {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .seva-highlight {
        min-height: 90px;
        padding: 12px 8px;
        gap: 8px;
    }

    .seva-highlight h3 {
        font-size: 12px;
    }
}/* FIX: DEVOTEE SEVA HIGHLIGHT CARDS */

.devotee-seva-highlights {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    width: 100%;
    margin-top: 28px;
}

.seva-highlight {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    min-width: 0;
    min-height: 85px;
    padding: 16px;
    box-sizing: border-box;
}

.seva-highlight h3 {
    flex: 1;
    min-width: 0;
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    text-align: left;
    word-break: normal;
    overflow-wrap: break-word;
    hyphens: none;
}

.seva-icon {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Desktop */
@media (min-width: 1001px) {
    .devotee-seva-inner {
        grid-template-columns: 380px minmax(0, 1fr);
        gap: 40px;
        max-width: 1100px;
    }

    .devotee-seva-image {
        width: 380px;
    }

    .devotee-seva-highlights {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Tablet and Mobile */
@media (max-width: 1000px) {
    .devotee-seva-highlights {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .devotee-seva-highlights {
        grid-template-columns: 1fr;
    }
}/* Remove extra background card below the image */

.devotee-seva-image {
    background: transparent !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
    overflow: hidden;
    border-radius: 16px;
}

.devotee-seva-image img {
    display: block;
    width: 100%;
    height: 350px;
    object-fit: cover;
    margin: 0 !important;
    border-radius: 16px;
}

/* Remove any decorative pseudo-elements */
.devotee-seva-image::before,
.devotee-seva-image::after {
    display: none !important;
    content: none !important;
}/* =================================
   Guru-Shishya Parampara Section
================================= */

.guru-section {
    padding: 55px 20px;
    background: #fbf8f1;
}

.guru-container {
    max-width: 1000px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    align-items: center;
    gap: 35px;

    padding: 28px;
    background: linear-gradient(135deg, #fffdf7, #fff5dc);
    border: 1px solid #e4c17a;
    border-radius: 16px;
    box-shadow: 0 8px 28px rgba(91, 58, 17, 0.10);
    position: relative;
    overflow: hidden;
}

/* Decorative top and bottom lines */
.guru-container::before,
.guru-container::after {
    content: "";
    position: absolute;
    left: 25px;
    right: 25px;
    height: 2px;
    background: linear-gradient(
        to right,
        transparent,
        #d8a33e,
        #f1d58b,
        #d8a33e,
        transparent
    );
}

.guru-container::before {
    top: 10px;
}

.guru-container::after {
    bottom: 10px;
}

/* Left Side Image */
.guru-image {
    width: 100%;
    position: relative;
    z-index: 1;
}

.guru-image img {
    display: block;
    width: 100%;
    height: 380px;
    object-fit: cover;
    object-position: center top;

    border: 3px solid #d5a13b;
    border-radius: 12px;
    box-shadow: 0 5px 18px rgba(75, 45, 12, 0.16);
}

/* Right Side Content */
.guru-content {
    text-align: center;
    position: relative;
    z-index: 1;
    color: #54251d;
}

.guru-om {
    font-size: 42px;
    line-height: 1.2;
    color: #a51d1d;
    margin-bottom: 8px;
}

.guru-content h2 {
    font-size: 32px;
    line-height: 1.4;
    font-weight: 700;
    color: #941d19;
    margin: 0;
}

.guru-divider {
    width: 80%;
    max-width: 350px;
    height: 2px;
    margin: 16px auto;

    background: linear-gradient(
        to right,
        transparent,
        #c58b26,
        #e8c16a,
        #c58b26,
        transparent
    );
}

.guru-mantra {
    font-size: 20px;
    line-height: 1.9;
    font-weight: 600;
    color: #203c69;
    margin: 15px 0;
}

.guru-content h3 {
    font-size: 23px;
    line-height: 1.6;
    color: #941d19;
    margin: 18px 0 5px;
    font-weight: 700;
}

.guru-designation {
    font-size: 15px;
    line-height: 1.7;
    color: #79522c;
    margin: 0 0 15px;
}

.guru-description {
    font-size: 16px;
    line-height: 1.9;
    color: #493a2b;
    margin: 12px 0;
}

.guru-blessing {
    font-size: 16px;
    line-height: 1.8;
    font-weight: 600;
    color: #8d261e;
    margin: 12px 0 0;
}

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

@media (max-width: 850px) {
    .guru-container {
        grid-template-columns: 250px minmax(0, 1fr);
        gap: 25px;
        padding: 24px;
    }

    .guru-image img {
        height: 330px;
    }

    .guru-content h2 {
        font-size: 27px;
    }

    .guru-content h3 {
        font-size: 20px;
    }

    .guru-mantra {
        font-size: 17px;
    }

    .guru-description {
        font-size: 15px;
    }
}

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

@media (max-width: 600px) {
    .guru-section {
        padding: 30px 14px;
    }

    .guru-container {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 22px 17px;
    }

    .guru-image {
        max-width: 320px;
        margin: 0 auto;
    }

    .guru-image img {
        height: auto;
        max-height: 420px;
        object-fit: contain;
    }

    .guru-om {
        font-size: 35px;
    }

    .guru-content h2 {
        font-size: 26px;
    }

    .guru-mantra {
        font-size: 17px;
        line-height: 1.9;
    }

    .guru-content h3 {
        font-size: 20px;
    }

    .guru-description {
        font-size: 15px;
        line-height: 1.8;
    }

    .guru-blessing {
        font-size: 15px;
    }
}/* Temple Gallery Layout */
.temple-gallery .cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

/* Equal Card Design */
.temple-gallery .gallery-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #ffffff;
    border: 1px solid #e5dfd2;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.08);
    padding-bottom: 20px;
}

/* Equal Image Size */
.temple-gallery .gallery-card img {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
    object-position: center;
}

/* Card Title */
.temple-gallery .gallery-card b {
    display: block;
    margin: 16px 10px;
    color: #4b3520;
    font-size: 17px;
    line-height: 1.5;
}

/* Darshan Button */
.temple-gallery .darshan-btn {
    display: inline-block;
    margin-top: auto;
    padding: 10px 26px;
    background: linear-gradient(135deg, #b8860b, #dfb65b);
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    border-radius: 30px;
    border: 1px solid #c99a36;
    transition: all 0.3s ease;
}

.temple-gallery .darshan-btn:hover {
    background: #956b08;
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(184, 134, 11, 0.22);
}

/* Tablet */
@media (max-width: 768px) {
    .temple-gallery .cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .temple-gallery .gallery-card img {
        height: 180px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .temple-gallery .cards {
        grid-template-columns: 1fr;
    }

    .temple-gallery .gallery-card img {
        height: 220px;
    }
}/* Total Visitors Counter */
.visitor-counter {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    
    
    color: #ececc9;
    font-size: 14px;
    text-align: center;
}

.visitor-counter  {
    font-size: 18px;
    color: #ececc9 !important;
}
#totalVisitors{
    font-size: 18px;
    color: #ececc9 !important;
}
.visitor-counter strong {
    color: #ececc9;
    font-size: 16px;
    font-weight: 700;
}