/* CSS Variables for Color Palette */
:root {
    --primary: #F57C00;
    /* Saffron / Kesari */
    --base: #FFFFFF;
    /* White */
    --base-alt: #FAFAFA;
    /* Off-white for sections */
    --accent: #E6C767;
    /* Light Gold */
    --text: #3E2723;
    /* Temple Brown */
    --text-light: #5D4037;
    /* Lighter brown for secondary text */
    --shadow: 0 4px 6px rgba(62, 39, 35, 0.1);
}

/* Base Reset & Typography */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Mukta', sans-serif;
    /* Primary Marathi Font */
    color: var(--text);
    background-color: var(--base);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Mukta', sans-serif;
    font-weight: 700;
    color: var(--primary);
}

p,
span,
li,
a {
    font-family: 'Mukta', sans-serif;
}

/* English fallback for numbers or specific texts if needed */
.en-text {
    font-family: 'Poppins', sans-serif;
}

/* Header Styles */
.site-header {
    background-color: var(--base);
    position: relative;
    z-index: 1000;
}

.header-top {
    padding: 1rem 0;
    background-color: #ffffff;
    border-bottom: 2px solid #f0f0f0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.main-logo {
    height: 120px;
    /* Increased from 80px */
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.org-name {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.org-name h1 {
    font-size: 2.2rem;
    /* Slightly larger */
    line-height: 1.1;
    margin-bottom: 0.5rem;
    color: #8B0000;
    font-weight: 700;
    text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.1);
}

.blessing {
    font-size: 1.1rem;
    color: var(--text-light);
    font-weight: 500;
}

.trust-badge {
    opacity: 0.8;
}

/* Navigation */
.main-nav {
    background-color: #D35400;
    /* Burnt Orange / Rust Red */
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: center;
    /* Centered nav items */
}

.nav-links {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-links li {
    margin: 0;
}

.nav-links a {
    display: block;
    padding: 1rem 2rem;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-links a:first-child {
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-links a:hover,
.nav-links a.active {
    background-color: #A04000;
    /* Darker shade on hover */
    color: #FFD700;
    /* Gold text */
}

.nav-links a i {
    margin-right: 5px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    padding: 1rem;
    cursor: pointer;
    width: 100%;
    text-align: left;
    font-weight: bold;
}

/* Floating Social Widget */
.social-float {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2000;
    display: flex;
    flex-direction: column;
}

.float-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    color: white;
    font-size: 1.2rem;
    text-decoration: none;
    transition: width 0.3s;
}

.float-icon:hover {
    width: 55px;
    /* Expand slightly on hover */
}

.facebook {
    background-color: #3b5998;
}

.instagram {
    background-color: #E1306C;
}

.youtube {
    background-color: #FF0000;
}

.whatsapp {
    background-color: #25D366;
}

/* Wrapper to fix float causing horizontal scroll on mobile */
body {
    overflow-x: hidden;
}

/* Marquee */
.marquee-container {
    background-color: var(--text);
    color: var(--accent);
    padding: 0.5rem 0;
    overflow: hidden;
    white-space: nowrap;
}

.marquee-content {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 20s linear infinite;
    font-weight: 500;
}

@keyframes marquee {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(-100%, 0);
    }
}

/* Info Section (Updates & Appeal) */
.info-section {
    background-color: #FFF3E0;
    /* Light Orange/Peach tint */
    padding: 3rem 1rem;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.info-col {
    background-color: #fff;
    padding: 20px;
    border-top: 4px solid #D35400;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.updates-col {
    background-color: #FFF8E1;
    /* Slightly different tint */
    border-top-color: #E65100;
}

.appeal-col {
    background-color: #FFFDE7;
    border-top-color: #FF8F00;
}

.info-title {
    background-color: #E65100;
    color: white;
    padding: 10px 15px;
    margin: -20px -20px 20px -20px;
    /* Flush with edges */
    font-size: 1.4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.marathi-title {
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 400;
}

.update-list {
    list-style: none;
    padding: 0;
}

.update-list li {
    border-bottom: 1px dashed #ddd;
    padding: 10px 0;
}

.update-date {
    display: block;
    font-size: 0.85rem;
    color: #D35400;
    font-weight: bold;
    margin-bottom: 2px;
}

.btn-read-more {
    display: inline-block;
    margin-top: 10px;
    color: #D35400;
    font-weight: 600;
    text-decoration: none;
}

.appeal-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
}

.download-links {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-download {
    background-color: #fff;
    border: 1px solid #D35400;
    color: #D35400;
    padding: 8px 15px;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.btn-download:hover {
    background-color: #D35400;
    color: white;
}


/* Services Section (Red Background) */
.services-section {
    background-color: #D32F2F;
    /* Deep Red */
    background-image: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.05) 0px, rgba(255, 255, 255, 0.05) 10px, transparent 10px, transparent 20px);
    padding: 4rem 1rem;
    color: white;
    text-align: center;
}

.section-heading-white {
    color: white;
    font-size: 2.2rem;
    margin-bottom: 3rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    position: relative;
    display: inline-block;
}

.section-heading-white::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: #FFD700;
    margin: 10px auto 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s;
}

.service-icon {
    width: 100px;
    height: 100px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #D32F2F;
    margin-bottom: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-item:hover .service-icon {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    color: #B71C1C;
}

.service-name {
    color: white;
    font-weight: 500;
    font-size: 1.1rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.btn-gold {
    display: inline-block;
    background-color: #FFD700;
    color: #8B0000;
    padding: 12px 30px;
    margin-top: 2rem;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s;
}

.btn-gold:hover {
    transform: scale(1.05);
    background-color: #FFC107;
}

/* Highlight Card */
.highlight-card {
    background-color: #fffde7;
    /* Light yellow tint */
    border-color: var(--primary);
}

/* Live Aarti */
.video-container {
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 1rem;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.offline-placeholder {
    text-align: center;
    padding: 2rem;
}

.offline-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

/* About / Spiritual Text */
.spiritual-bg {
    background-color: var(--base-alt);
}

.info-content {
    text-align: left;
}

.info-block {
    margin-bottom: 1.5rem;
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.info-block h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.quote-box {
    text-align: center;
    font-style: italic;
    font-size: 1.2rem;
    color: var(--text-light);
    margin-top: 2rem;
    position: relative;
    padding: 1rem;
}

.quote-box::before {
    content: "❝";
    font-size: 2rem;
    color: var(--accent);
    position: absolute;
    top: -10px;
    left: 45%;
}

/* Donation */
.donation-box {
    background: linear-gradient(to right bottom, #fff, #fff8e1);
    border: 2px dashed var(--accent);
    border-radius: 12px;
    padding: 2rem;
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.qr-placeholder {
    width: 200px;
    height: 200px;
    background: #f0f0f0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
    border-radius: 8px;
    color: #666;
}

.qr-placeholder i {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.payment-details {
    text-align: center;
}

/* Contact */
.contact-details {
    text-align: left;
    display: inline-block;
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.contact-details p {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-details i {
    color: var(--primary);
    width: 20px;
    text-align: center;
}

.map-placeholder {
    margin-top: 2rem;
    height: 250px;
    background: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #666;
    flex-direction: column;
}

.map-placeholder i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

/* Footer */
/* Footer */
.site-footer {
    background-color: #8B0000;
    /* Dark Red */
    color: white;
    padding: 3rem 0 0;
    border-top: 4px solid #FFD700;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding-bottom: 2rem;
}

.footer-col h3 {
    color: #FFD700;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.3);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.footer-links,
.social-footer-list {
    list-style: none;
    padding: 0;
}

.footer-links li,
.social-footer-list li {
    margin-bottom: 0.8rem;
}

.footer-links a,
.social-footer-list a {
    color: #fff;
    text-decoration: none;
    transition: padding-left 0.2s;
    display: block;
}

.footer-links a:hover,
.social-footer-list a:hover {
    padding-left: 5px;
    color: #FFD700;
}

.social-footer-list i {
    width: 25px;
}

.footer-bottom {
    background-color: #5d0000;
    /* Darker red for bottom bar */
    text-align: center;
    padding: 1rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Improved Contact Footer */
.contact-list {
    list-style: none;
    padding: 0;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.contact-list i {
    font-size: 1.1rem;
    min-width: 20px;
    text-align: center;
}

.footer-col.contact-col {
    background: transparent;
    /* Remove boxy background */
    padding: 0;
    /* Remove extra padding */
    border-radius: 0;
}

.footer-blessing {
    margin-top: 1rem;
    font-size: 1.4rem;
    font-weight: 700;
    color: #FFD700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    left: 20px;
    /* Moved to left to avoid conflict with right-side social bar */
    background-color: #25D366;
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 2000;
    font-weight: 500;
    transition: transform 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.05);
}

.wa-text {
    display: inline-block;
}

/* Responsive Design */
/* Responsive Design */
@media (max-width: 1024px) {
    .header-flex {
        flex-direction: column !important;
        text-align: center !important;
        padding-top: 20px !important;
        padding-bottom: 15px !important;
    }

    .logo-section {
        flex-direction: row !important;
        /* Side-by-side */
        align-items: center !important;
        justify-content: center !important;
        gap: 15px !important;
        width: 100% !important;
        margin-top: 0 !important;
        padding: 0 10px !important;
    }

    .main-logo {
        height: 75px !important;
        /* Smaller for shared row */
        width: auto !important;
        margin: 0 !important;
        /* Remove centering */
        object-fit: contain !important;
    }

    .org-name {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        text-align: left !important;
    }

    .org-name h1 {
        font-size: 1.4rem !important;
        margin-bottom: 2px !important;
        line-height: 1.2 !important;
        padding: 0 !important;
    }

    .blessing {
        font-size: 0.95rem !important;
        margin-top: 0 !important;
        align-self: flex-start !important;
    }

    .info-grid {
        grid-template-columns: 1fr !important;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .desktop-only {
        display: none !important;
    }

    .nav-links {
        display: none !important;
        flex-direction: column !important;
        background-color: #D35400 !important;
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        width: 100% !important;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
    }

    .nav-links.active {
        display: flex !important;
    }

    .mobile-menu-btn {
        display: block !important;
        text-align: center !important;
        background-color: transparent !important;
        color: #fff !important;
        border: 2px solid #fff !important;
        padding: 10px !important;
        font-size: 1.3rem !important;
        margin: 10px auto !important;
        width: 95% !important;
        border-radius: 8px !important;
        font-weight: 700 !important;
        cursor: pointer !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 10px !important;
    }

    .mobile-menu-btn:hover {
        background-color: rgba(255, 255, 255, 0.1) !important;
    }

    .logo-section {
        gap: 5px !important;
    }

    .social-float {
        display: none !important;
    }

    /* Banner Fixes for Mobile */
    .hero-slider {
        height: auto !important;
        /* Remove fixed height */
        min-height: 250px !important;
        background: transparent !important;
        /* Remove black bg */
        display: flex !important;
        align-items: center !important;
    }

    .carousel-slide img {
        height: auto !important;
        object-fit: contain !important;
        max-height: 350px !important;
        /* Cap height on mobile */
    }


    .whatsapp-float {
        padding: 8px 12px !important;
        bottom: 15px !important;
        left: 15px !important;
        width: auto !important;
    }

    .whatsapp-float i {
        font-size: 1.2rem !important;
    }

    .wa-text {
        font-size: 0.8rem !important;
        display: inline-block !important;
    }
}




/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.gallery-item {
    background: #fff;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.gallery-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
}

.caption {
    margin-top: 8px;
    font-size: 0.9rem;
    color: #666;
}

/* Carousel / Banner */
.hero-slider {
    position: relative;
    max-width: 100%;
    overflow: hidden;
    height: 550px;
    /* Fixed height for consistency */
    background: #000;
    /* Dark background for better contrast with contained images */
}

.carousel-slide {
    display: none;
    height: 100%;
    /* Ensure slide takes full height of container */
    text-align: center;
}

.carousel-slide.active {
    display: block;
    animation: fade 1.5s;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    /* Force image to fit container height */
    object-fit: contain;
    /* Shows full image without cropping */
    display: block;
}

.carousel-caption {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    text-align: center;
    color: white;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px;
    font-size: 1.2rem;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.4);
    color: white;
    border: none;
    padding: 15px;
    cursor: pointer;
    font-size: 18px;
}

.carousel-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.prev {
    left: 0;
}

.next {
    right: 0;
}

@keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}

.static-banner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    background: #fff3e0;
    color: var(--primary);
}

/* active link */
.nav-links a.active {
    background-color: rgba(255, 255, 255, 0.2);
    font-weight: bold;
}

.highlight-text {
    font-size: 1.2rem;
    color: var(--primary);
    font-weight: 700;
}