* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Admin Quick Links (Temple Manager) */
.tm-admin-cards {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.tm-admin-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px 22px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(255, 243, 224, 0.9));
    border-radius: 18px;
    text-decoration: none;
    color: #4e342e;
    box-shadow: 0 14px 32px rgba(90, 46, 20, 0.16);
    border: 1px solid rgba(255, 171, 64, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tm-admin-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(90, 46, 20, 0.22);
}

.tm-admin-card .material-icons {
    font-size: 32px;
    color: #ff7043;
    background: rgba(255, 112, 67, 0.18);
    border-radius: 16px;
    padding: 10px;
}

.tm-admin-card strong {
    font-size: 18px;
    color: #bf360c;
    display: block;
    margin-bottom: 6px;
}

.tm-admin-card p {
    margin: 0;
    font-size: 14px;
    color: rgba(62, 39, 35, 0.76);
}

body.dark-mode .tm-admin-card {
    background: linear-gradient(145deg, rgba(141, 110, 99, 0.95), rgba(109, 76, 65, 0.9));
    border-color: rgba(255, 171, 64, 0.3);
    color: #fff;
}

body.dark-mode .tm-admin-card .material-icons {
    color: #ffab40;
    background: rgba(255, 171, 64, 0.2);
}

body.dark-mode .tm-admin-card strong {
    color: #ffab40;
}

body.dark-mode .tm-admin-card p {
    color: rgba(255, 255, 255, 0.76);
}

.tm-quick-tools {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}

.tm-tool-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 22px;
    border-radius: 16px;
    text-decoration: none;
    color: #4e342e;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 236, 204, 0.9));
    box-shadow: 0 12px 28px rgba(90, 46, 20, 0.14);
    border: 1px solid rgba(255, 171, 64, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tm-tool-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(90, 46, 20, 0.18);
}

.tm-tool-card .material-icons {
    font-size: 30px;
    color: #ff7043;
    background: rgba(255, 112, 67, 0.18);
    border-radius: 14px;
    padding: 8px;
}

.tm-tool-card strong {
    font-size: 18px;
    color: #bf360c;
    display: block;
    margin-bottom: 4px;
}

.tm-tool-card p {
    margin: 0;
    font-size: 13px;
    color: rgba(62, 39, 35, 0.7);
}

/* Volunteer Snapshot */
.tm-volunteer-summary {
    background: linear-gradient(135deg, rgba(216, 67, 21, 0.12), rgba(255, 171, 64, 0.18));
    border-radius: 22px;
    padding: 28px 32px;
    border: 1px solid rgba(216, 67, 21, 0.25);
    box-shadow: 0 16px 32px rgba(90, 46, 20, 0.12);
}

.tm-volunteer-summary header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.tm-volunteer-summary h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: 22px;
    color: #bf360c;
}

.tm-volunteer-summary h2 .material-icons {
    font-size: 26px;
    color: #ff7043;
}

.tm-volunteer-summary .tm-link {
    font-weight: 600;
    color: #bf360c;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.7);
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 171, 64, 0.4);
    transition: background 0.2s ease, transform 0.2s ease;
}

.tm-volunteer-summary .tm-link:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

.tm-stat-row {
    margin-top: 26px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 18px;
}

.tm-stat-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 20px;
    padding: 18px 20px;
    border: 1px solid rgba(255, 171, 64, 0.35);
    box-shadow: 0 14px 28px rgba(90, 46, 20, 0.14);
}

.tm-stat-card .material-icons {
    font-size: 30px;
    color: #ff7043;
}

.tm-stat-card strong {
    display: block;
    font-size: 28px;
    color: #d84315;
    line-height: 1.2;
}

.tm-stat-card p {
    margin: 0;
    font-size: 13px;
    color: rgba(62, 39, 35, 0.7);
}

@media (max-width: 640px) {
    .tm-volunteer-summary {
        padding: 24px;
    }

    .tm-volunteer-summary header {
        flex-direction: column;
        align-items: flex-start;
    }
}

body {
    /* font-family: 'Roboto', sans-serif; */
    background: #fafafa;
    background-attachment: fixed;
    color: #3e2723;
    font-family: "Forum", serif;
    font-weight: 900;
    animation: fadeIn 0.8s ease-in;
    position: relative;
}

.forum-regular {
    font-family: "Forum", serif;
    font-weight: 800;
    font-style: normal;
}

.menu-arrow-btn {
    background: none;
    border: none;
    padding: 8px;
    border-radius: 50%;
    cursor: pointer;
    color: #fff;
    transition: all 0.3s ease;
}

.menu-arrow-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 22px;
    font-weight: 500;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3), 0 0 10px rgba(255, 255, 255, 0.3);
    }

    to {
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3), 0 0 20px rgba(255, 255, 255, 0.6);
    }
}

.logo-icon {
    font-size: 24px;
}

.search-container {
    flex: 1;
    max-width: 720px;
    margin: 0 64px;
}

.search-box {
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 24px;
    padding: 0 16px;
    height: 48px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.search-box:focus-within {
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-color: #ffab40;
    transform: translateY(-1px);
}

.search-icon {
    color: #d84315;
    margin-right: 12px;
}

.search-input {
    flex: 1;
    border: none;
    background: none;
    outline: none;
    font-size: 16px;
    color: #3e2723;
}

.search-om {
    background: none;
    border: none;
    opacity: 0.7;
    padding: 8px;
}

.search-om img {
    height: 31px;
    width: 31px;
}

.search-om:hover {
    transition: all 0.7s ease-in-out;
    opacity: 0.9;
    /* background-color: #f1f3f4; */
}


.profile-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffab40, #ff8f00);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    letter-spacing: 0.4px;
    cursor: pointer;
    border: 2px solid rgba(255, 255, 255, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: pulse 3s ease-in-out infinite;
}

.profile-avatar:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(255, 171, 64, 0.35);
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(255, 171, 64, 0.4);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(255, 171, 64, 0);
    }
}

/* Main Container */
.main-container {
    display: flex;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    position: fixed;
}

/* Sidebar */
.sidebar {
    width: 256px;
    background: linear-gradient(180deg, #fff 0%, #fafafa 100%);
    border-right: 2px solid #ffab40;
    padding: 16px 0;
    overflow-y: auto;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);
    animation: slideInLeft 0.6s ease-out;

}

@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
    }

    to {
        transform: translateX(0);
    }
}

.compose-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "forum", serif;
    font-size: 16px;
    gap: 12px;
    background: linear-gradient(135deg, #d84315 0%, #ff5722 50%, #ffab40 100%);
    color: white;
    border: none;
    border-radius: 24px;
    padding: 12px 24px;
    margin: 24px;
    cursor: pointer;
    font-weight: 900;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(216, 67, 21, 0.3);
}

.compose-btn img {
    height: 24px;
    width: 24px;
}

.compose-btn:hover {
    box-shadow: 0 6px 16px rgba(216, 67, 21, 0.4);
    transform: translateY(-2px);
}

.sidebar-profile {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    position: relative;
    padding: 8px 16px;
    margin: 158px 16px 0 24px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(255, 171, 64, 0.12) 0%, rgba(255, 143, 0, 0.08) 100%);
    box-shadow: inset 0 0 0 1px rgba(255, 171, 64, 0.15);
}

.sidebar.collapsed .sidebar-profile {
    justify-content: center;
    padding: 24px 0;
    margin: 100px 0 24px;
    background: none;
    box-shadow: none;
}

.sidebar-profile .profile-avatar {
    width: 56px;
    height: 56px;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.6px;
    background: linear-gradient(135deg, #ff8f00 0%, #ffab40 55%, #ffd180 100%);
    border: 3px solid rgba(255, 255, 255, 0.65);
    box-shadow: 0 8px 18px rgba(255, 143, 0, 0.3);
}

.sidebar.collapsed .sidebar-profile .profile-avatar {
    width: 44px;
    height: 44px;
    font-size: 18px;
    border-width: 2px;
    box-shadow: 0 6px 14px rgba(255, 143, 0, 0.28);
}

#nav-menu-toggle {
    margin: 16px 16px 16px 20px;
}

.menu-toggle {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.menu-toggle img {
    cursor: pointer;
    height: 12px;
    width: 20px;
    margin-left: 20px;
    margin-bottom: 16px;
    margin-right: 8px;
    transition: all 0.3s ease;
    position: relative;
}



.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px 8px 16px;
    text-decoration: none;
    color: #3e2723;
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
    border-radius: 0 24px 24px 0;
    margin-right: 8px;
}

.nav-item:hover {
    background: linear-gradient(135deg, #fff3e0, #ffe0b2);
    transform: translateX(4px);
}

.nav-item.active {
    background: linear-gradient(135deg, #ffab40, #ff8f00);
    color: white;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(255, 171, 64, 0.3);
}

.nav-item.active::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #ff8f00, #ffab40);
    border-radius: 2px 0 0 2px;
}

.nav-text {
    flex: 1;
    font-size: 16px;
}

.count {
    font-size: 12px;
    color: #5f6368;
}

.nav-item.active .count {
    color: #d93025;
}

/* Live Badge */
.live-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: rgba(255, 87, 34, 0.1);
    border: 1px solid rgba(255, 87, 34, 0.3);
    border-radius: 12px;
    margin-left: auto;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: #ff5722;
    border-radius: 50%;
    animation: livePulse 1.5s ease-in-out infinite;
}

@keyframes livePulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

.live-text {
    font-size: 12px;
    font-weight: 500;
    color: #ff5722;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-item:hover .live-badge {
    background: rgba(255, 87, 34, 0.15);
    border-color: rgba(255, 87, 34, 0.4);
}

/* Main Content */
.main-content {
    flex: 1;
    overflow-y: auto;
    animation: fadeIn 0.5s ease-out;
    padding: 0;
    /* Remove default padding */
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Promotional Banner */
.promo-banner {
    background: #fafafa;
    margin: 0;
    border-radius: 0;
    position: relative;
    overflow: hidden;
    box-shadow: none;
    height: 100vh;
}

.promo-banner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to bottom,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.3) 50%,
            rgba(255, 255, 255, 0.7) 100%);
    pointer-events: none;
    z-index: 5;
}

.promo-slider-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.promo-slides-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.promo-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    pointer-events: none;
}

.promo-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.promo-image {
    width: 100%;
    height: 100vh;
    min-height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.promo-nav {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #ffab40;
    z-index: 15;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.promo-nav.prev-btn {
    left: 32px;
}

.promo-nav.next-btn {
    right: 32px;
}

.promo-nav:hover {
    background: white;
    transform: scale(1.15);
    box-shadow: 0 6px 24px rgba(255, 171, 64, 0.5);
    border: 2px solid #ffab40;
}

.promo-nav:active {
    transform: scale(1.05);
}

.promo-indicators {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    z-index: 15;
    max-width: 90%;
}

.promo-indicators .indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.4s ease;
    border: 2px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.promo-indicators .indicator:hover {
    background-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
    border-color: #ffab40;
}

.promo-indicators .indicator.active {
    background-color: #ffab40;
    width: 32px;
    border-radius: 6px;
    transform: scale(1.1);
    box-shadow: 0 0 12px rgba(255, 171, 64, 0.6);
    border-color: #ffab40;
}

/* Quick Access and Quick Access Two*/
.quick-access {
    margin: 48px 90px 48px 90px;
    border-radius: 16px;
    padding: 0;
    animation: slideUp 0.8s ease-out;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
}

.quick-hr {
    margin: 24px 16px;
    height: 1px;
    border: none;
    background: linear-gradient(90deg,
            transparent 0%,
            #ffe0b2 10%,
            #ffab40 30%,
            #ff5722 50%,
            #ffab40 70%,
            #ffe0b2 90%,
            transparent 100%);
    position: relative;
    animation: dividerGlow 3s ease-in-out infinite;
}

@keyframes dividerGlow {

    0%,
    100% {
        opacity: 0.6;
        box-shadow: 0 0 10px rgba(255, 171, 64, 0.3);
    }

    50% {
        opacity: 1;
        box-shadow: 0 0 20px rgba(255, 171, 64, 0.5);
    }
}

.quick-access-two {
    margin: 0 90px;
    border-radius: 16px;
    padding: 0;
    animation: slideUp 0.8s ease-out;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(0);
        opacity: 1;
    }

    to {
        transform: translateY(30px);
        opacity: 0;
    }
}

.section-header {
    display: flex;
    align-items: center;
    padding: 0;
    border-radius: 0;
    background: none;
    border: none;
    justify-content: center;
    margin: 40px 0 50px 0;
}

.section-header h3 {
    font-size: 28px;
    font-weight: 600;
    color: #d84315;
    text-shadow: 0 1px 2px rgba(216, 67, 21, 0.2);
    text-align: center;
}

.expand-btn {
    display: none;
    background: none;
    border: none;
    color: #5f6368;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s;
    text-decoration: none;
}

.expand-btn:hover {
    background-color: #f1f3f4;
}

.quick-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Temple Card Styles */
.temple-card {
    background: linear-gradient(90deg, #fff 0%, #fafafa 100%);
    border-radius: 0;
    display: flex;
    flex-direction: column;
    min-height: 380px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s ease;
    text-decoration: none;
    color: inherit;
    position: relative;
}

.temple-card:hover {
    transform: translateY(0);
    box-shadow: none;
    border-color: transparent;
}

.temple-card .temple-card-content {
    padding: 18px 20px 24px;
    display: grid;
    gap: 8px;
}

.temple-card-admin .card-footer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
}

.temple-card-admin .card-footer-row .status-pill {
    margin-right: 12px;
}

.temple-card-admin .edit-inline-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(216, 67, 21, 0.12);
    border: 1px solid rgba(216, 67, 21, 0.3);
    color: #bf360c;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.temple-card-admin .edit-inline-btn .material-icons {
    font-size: 18px;
}

.temple-card-admin .edit-inline-btn:hover {
    background: rgba(216, 67, 21, 0.18);
    border-color: rgba(191, 54, 12, 0.5);
    transform: translateY(-1px);
}

.temple-image-container {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, #ffe0b2, #fff3e0);
    flex-shrink: 0;
}

.temple-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.temple-card:hover .temple-main-image {
    transform: scale(1.1);
}

.temple-details {
    padding: 20px 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
    background: white;
    position: relative;
    z-index: 1;
}

.temple-details::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, #d84315 0%, #ff5722 50%, #ffab40 100%);
    transition: width 0.4s ease;
    z-index: -1;
}

.temple-card:hover .temple-details::before {
    width: 100%;
}

.temple-card:hover .temple-details {
    color: white;
}

.temple-card:hover .temple-name {
    color: #fff;
}

.temple-card:hover .temple-location {
    color: #fafafa;
}

.temple-name {
    font-size: 16px;
    font-weight: 600;
    color: #3e2723;
    margin: 0 0 6px 0;
    line-height: 1.3;
}

.temple-location {
    font-size: 13px;
    color: #8d6e63;
    margin: 0 0 12px 0;
}

.explore-btn {
    background: transparent;
    color: #d84315;
    border: 2px solid #d84315;
    border-radius: 0;
    padding: 10px 32px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    text-transform: capitalize;
}

.temple-card:hover .explore-btn {
    color: white;
    border-color: white;
}

.explore-btn:hover {
    background: transparent;
    opacity: 1;
}



/* Activity Grid */
.activity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.activity-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: linear-gradient(135deg, #fff8e1, #fff3e0);
    border-radius: 12px;
    border: 1px solid #ffe0b2;
    transition: all 0.3s ease;
}

.activity-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 171, 64, 0.2);
}

.activity-card .material-icons {
    color: #d84315;
    font-size: 24px;
}

.activity-card strong {
    color: #3e2723;
    font-size: 14px;
}

.activity-card p {
    color: #8d6e63;
    font-size: 12px;
    margin: 4px 0 0 0;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.stat-card {
    padding: 24px;
    background: linear-gradient(135deg, #fff3e0, #ffe0b2);
    border-radius: 16px;
    text-align: center;
    border: 2px solid #ffab40;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(255, 171, 64, 0.3);
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: #d84315;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(216, 67, 21, 0.2);
}

.stat-label {
    font-size: 14px;
    color: #8d6e63;
    font-weight: 500;
}

/* Events List */
.events-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.event-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: linear-gradient(135deg, #fff8e1, #fff3e0);
    border-radius: 12px;
    border-left: 4px solid #ffab40;
    transition: all 0.3s ease;
}

.event-item:hover {
    transform: translateX(8px);
    box-shadow: 0 4px 16px rgba(255, 171, 64, 0.2);
}

.event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(135deg, #d84315, #ff5722);
    color: white;
    border-radius: 12px;
    padding: 12px;
    min-width: 60px;
    text-align: center;
}

.event-date .day {
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
}

.event-date .month {
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
}

.event-details strong {
    color: #d84315;
    font-size: 16px;
    display: block;
    margin-bottom: 4px;
}

.event-details p {
    color: #8d6e63;
    font-size: 14px;
    margin: 0;
}

/* --- Temple at Sight Section --- */

/* OLD TEMPLE AT SIGHT - DISABLED
.temple-at-sight-section {
    display: grid;
    gap: 32px;
    padding: 48px 0;
    height: 150%;
}
*/

.temple-at-sight-card {
    position: relative;
    background: none;
    background-color: transparent;
    overflow: hidden;
}

.tas-background-layer {
    position: relative;
    height: fit-content;
}

.temple-at-sight-card .tas-container {
    position: absolute;
    inset: 0;
    height: 100%;
    z-index: 1;
}

.temple-view-container {
    display: flex;
    flex-wrap: wrap;
}

.temple-view-container.reverse-order {
    flex-direction: row-reverse;
}

.temple-image-block {
    flex: 1 1 45%;
    min-width: 280px;
    position: relative;
    background: none;
}

.temple-at-sight-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 250px;
}

.temple-view-video {
    position: relative;
    padding-top: 56.25%;
}

.temple-view-video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 0 0 20px 20px;
}

.temple-details-view-container {
    flex: 1 1 55%;
    min-width: 250px;
    padding: 32px 36px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.temple-at-sight-title {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    color: #bf360c;
}

.temple-at-sight-location {
    font-size: 16px;
    color: rgba(62, 39, 35, 0.75);
    margin: 0;
}

.temple-at-sight-description {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(62, 39, 35, 0.85);
    margin: 0;
}

.read-more-link {
    color: #ff7043;
    font-weight: 600;
    text-decoration: none;
}

.read-more-link:hover {
    text-decoration: underline;
}

.temple-view-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: auto;
}

.action-view-button-one,
.action-view-button-two {
    flex: 1 1 180px;
    padding: 12px 16px;
    border-radius: 999px;
    border: 2px solid rgba(216, 67, 21, 0.35);
    background: white;
    color: #bf360c;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.action-view-button-one .material-icons,
.action-view-button-two .material-icons {
    font-size: 20px;
}

.action-view-button-one:hover,
.action-view-button-two:hover {
    background: linear-gradient(135deg, #ffab40, #ff7043);
    color: white;
    border-color: transparent;
    box-shadow: 0 12px 24px rgba(216, 67, 21, 0.25);
}

.action-view-button-two {
    background: rgba(216, 67, 21, 0.08);
}

.temple-view-actions button {
    border: none;
}

@media (max-width: 992px) {
    .temple-view-container {
        flex-direction: column;
    }

    .temple-view-container.reverse-order {
        flex-direction: column;
    }

    .temple-view-video iframe {
        border-radius: 0;
    }
}

@media (max-width: 640px) {
    .temple-details-view-container {
        padding: 24px;
    }

    .temple-view-actions {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .temple-at-sight-title {
        font-size: 24px;
    }

    .temple-at-sight-description {
        font-size: 13px;
    }

    .action-view-button-one,
    .action-view-button-two {
        font-size: 13px;
        padding: 10px 12px;
    }
}

/* Finance Overview */
.finance-overview {
    margin-top: 20px;
}

.finance-card.total {
    text-align: center;
    padding: 32px;
    background: linear-gradient(135deg, #d84315, #ff5722, #ffab40);
    border-radius: 16px;
    margin-bottom: 24px;
    color: white;
    box-shadow: 0 8px 24px rgba(216, 67, 21, 0.3);
}

/* Volunteer History (Profile) */
.volunteer-history {
    margin-top: 48px;
    background: linear-gradient(180deg, rgba(255, 248, 225, 0.65) 0%, rgba(255, 236, 204, 0.85) 100%);
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 18px 36px rgba(92, 50, 24, 0.18);
    border: 1px solid rgba(255, 171, 64, 0.35);
}

.volunteer-history__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.volunteer-history__title {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 700;
    color: #bf360c;
}

.volunteer-history__title .material-icons {
    font-size: 26px;
    color: #ff7043;
}

.volunteer-history__grid {
    margin-top: 28px;
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
}

.volunteer-history__card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 18px;
    padding: 22px 24px;
    box-shadow: 0 12px 24px rgba(90, 46, 20, 0.12);
    border: 1px solid rgba(255, 171, 64, 0.25);
    display: flex;
    flex-direction: column;
    gap: 18px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.volunteer-history__card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 32px rgba(90, 46, 20, 0.18);
}

.volunteer-history__card-header {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 14px;
}

.volunteer-history__card-header .material-icons {
    font-size: 32px;
    color: #ff7043;
    background: rgba(255, 112, 67, 0.15);
    border-radius: 16px;
    padding: 10px;
}

.volunteer-history__card-header h3 {
    margin: 0;
    font-size: 19px;
    color: #d84315;
    line-height: 1.3;
}

.volunteer-history__temple {
    margin: 4px 0 0;
    color: rgba(93, 64, 55, 0.78);
    font-size: 14px;
}

.volunteer-history__status {
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    background: rgba(255, 171, 64, 0.16);
    color: #bf360c;
}

.volunteer-history__status--active {
    background: rgba(76, 175, 80, 0.15);
    color: #2e7d32;
}

.volunteer-history__status--inactive {
    background: rgba(255, 193, 7, 0.16);
    color: #b26a00;
}

.volunteer-history__status--closed {
    background: rgba(33, 150, 243, 0.18);
    color: #1565c0;
}

.volunteer-history__meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px 18px;
    font-size: 13px;
    color: rgba(62, 39, 35, 0.85);
}

.volunteer-history__meta dt {
    font-weight: 600;
    margin-bottom: 4px;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.6px;
    color: rgba(62, 39, 35, 0.6);
}

.volunteer-history__meta dd {
    margin: 0;
    font-weight: 600;
}

.volunteer-history__card-footer {
    display: flex;
    justify-content: flex-end;
}

.volunteer-history__action {
    border: none;
    background: linear-gradient(135deg, #ffab40, #ff7043);
    color: white;
    border-radius: 999px;
    padding: 10px 18px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.volunteer-history__action .material-icons {
    font-size: 18px;
}

.volunteer-history__action:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(255, 112, 67, 0.25);
}

.volunteer-history__empty {
    margin-top: 32px;
    display: none;
    text-align: center;
    padding: 40px 20px;
    border-radius: 18px;
    border: 1px dashed rgba(255, 171, 64, 0.45);
    background: rgba(255, 243, 224, 0.55);
    color: #5d4037;
}

.volunteer-history__empty.active {
    display: block;
}

.volunteer-history__empty .material-icons {
    font-size: 36px;
    color: #ff7043;
    margin-bottom: 12px;
}

.volunteer-history__empty h3 {
    margin: 0 0 10px;
    color: #d84315;
    font-weight: 700;
}

.volunteer-history__empty p {
    margin: 0 0 16px;
    font-size: 14px;
}

.volunteer-history__empty .filter-btn {
    border-radius: 999px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #d84315, #ff7043);
    color: white;
}

@media (max-width: 640px) {
    .volunteer-history {
        padding: 24px;
    }

    .volunteer-history__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .volunteer-history__card-header {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .volunteer-history__card-header .material-icons {
        margin: 0 auto;
    }

    .volunteer-history__status {
        justify-self: center;
    }

    .volunteer-history__card-footer {
        justify-content: center;
    }
}

.finance-amount {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.finance-label {
    font-size: 16px;
    opacity: 0.9;
}

.finance-breakdown {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: linear-gradient(135deg, #fff8e1, #fff3e0);
    border-radius: 8px;
    border-left: 3px solid #ffab40;
}

.breakdown-category {
    color: #3e2723;
    font-weight: 500;
}

.breakdown-amount {
    color: #d84315;
    font-weight: 600;
    font-size: 16px;
}

/* Slider Indicators */
.slider-indicators {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 20px;
    background: linear-gradient(135deg, #fff3e0, #ffe0b2);
}

.slider-indicators .indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(216, 67, 21, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.slider-indicators .indicator.active {
    background-color: #d84315;
    transform: scale(1.2);
    box-shadow: 0 0 12px rgba(216, 67, 21, 0.5);
}

.slider-indicators .indicator:hover {
    background-color: #ff5722;
    transform: scale(1.1);
}

/* Email List */
.email-list {
    margin: 16px;
    background: linear-gradient(135deg, #fff 0%, #fafafa 100%);
    border-radius: 16px;
    min-height: 400px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border: 1px solid #ffab40;
    animation: slideUp 1s ease-out;
}

/* Compose Modal */
.compose-modal {
    position: fixed;
    bottom: 0;
    right: 48px;
    width: 500px;
    background: linear-gradient(135deg, #fff 0%, #fafafa 100%);
    border-radius: 16px 16px 0 0;
    box-shadow: 0 12px 32px rgba(216, 67, 21, 0.2);
    z-index: 1001;
    display: none;
    border: 2px solid #ffab40;
    animation: modalSlideUp 0.4s ease-out;
}

@keyframes modalSlideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.compose-modal.active {
    display: block;
}

.compose-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: linear-gradient(135deg, #ffab40, #ff8f00);
    border-bottom: 2px solid #ff8f00;
    font-weight: 500;
    font-size: 14px;
    color: white;
    border-radius: 14px 14px 0 0;
}

.compose-actions {
    display: flex;
    gap: 4px;
}

.compose-action {
    background: none;
    border: none;
    padding: 4px;
    border-radius: 4px;
    cursor: pointer;
    color: white;
    transition: all 0.3s ease;
}

.compose-action:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.compose-body {
    padding: 16px;
}

.compose-field {
    margin-bottom: 8px;
}

.compose-input {
    width: 100%;
    border: none;
    border-bottom: 2px solid #ffe0b2;
    padding: 8px 0;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
    background: transparent;
    color: #3e2723;
}

.compose-input:focus {
    border-color: #ffab40;
    transform: translateY(-1px);
}

.compose-content {
    margin: 16px 0;
}

.compose-textarea {
    width: 100%;
    min-height: 200px;
    border: 2px solid #ffe0b2;
    border-radius: 8px;
    outline: none;
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
    padding: 12px;
    transition: all 0.3s ease;
    background: rgba(255, 248, 225, 0.5);
    color: #3e2723;
}

.compose-textarea:focus {
    border-color: #ffab40;
    background: rgba(255, 248, 225, 0.8);
    box-shadow: 0 0 8px rgba(255, 171, 64, 0.3);
}

.compose-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
}

.send-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #d84315 0%, #ff5722 50%, #ffab40 100%);
    color: white;
    border: none;
    border-radius: 24px;
    padding: 10px 24px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(216, 67, 21, 0.3);
}

.send-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(216, 67, 21, 0.4);
}

.compose-options {
    display: flex;
    gap: 8px;
}

.option-btn {
    background: none;
    border: none;
    padding: 8px;
    border-radius: 50%;
    cursor: pointer;
    color: #d84315;
    transition: all 0.3s ease;
}

.option-btn:hover {
    background: linear-gradient(135deg, #fff3e0, #ffe0b2);
    transform: scale(1.1);
}

/* Fixed Game Icon */
.game-icon {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(255, 171, 64, 0.2), rgba(216, 67, 21, 0.2));
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(255, 143, 0, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 171, 64, 0.5);
}

.game-icon:hover {
    background: linear-gradient(135deg, rgba(255, 171, 64, 0.4), rgba(216, 67, 21, 0.4));
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 143, 0, 0.5);
}

#game-icon-3d {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
}

.game-icon-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Additional Temple-themed Animations */
@keyframes templeGlow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(255, 171, 64, 0.3),
            0 0 40px rgba(216, 67, 21, 0.2);
    }

    50% {
        box-shadow: 0 0 30px rgba(255, 171, 64, 0.5),
            0 0 60px rgba(216, 67, 21, 0.3);
    }
}

@keyframes devotionalFloat {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    25% {
        transform: translateY(-3px) rotate(1deg);
    }

    50% {
        transform: translateY(-6px) rotate(0deg);
    }

    75% {
        transform: translateY(-3px) rotate(-1deg);
    }
}

/* Enhanced hover effects for temple elements */
.quick-card:nth-child(1) {
    animation-delay: 0.1s;
}

.quick-card:nth-child(2) {
    animation-delay: 0.2s;
}

.quick-card:nth-child(3) {
    animation-delay: 0.3s;
}

.quick-card:nth-child(4) {
    animation-delay: 0.4s;
}

.quick-card:nth-child(5) {
    animation-delay: 0.5s;
}

.logo:hover {
    animation: templeGlow 1.5s ease-in-out infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
    .sidebar {
        width: 200px;
    }

    .search-container {
        margin: 0 16px;
    }

    .compose-modal {
        width: 90%;
        right: 5%;
    }

    .quick-cards {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    }

    .promo-text h3 {
        font-size: 22px;
    }

    .card-icon {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .sidebar {
        position: fixed;
        left: -256px;
        top: 64px;
        height: calc(100vh - 64px);
        z-index: 999;
        transition: left 0.3s;
    }

    .sidebar.open {
        left: 0;
    }

    .main-content {
        margin-left: 0;
    }

    .right-panel {
        display: none;
    }

    .header-left .logo-text {
        display: none;
    }
}

/* ===================================
   Mobile Navigation Styles
   =================================== */

/* Mobile Top Navigation */
.mobile-top-nav {
    display: none;
    position: relative;
    width: 100%;
    min-height: 56px;
    background: linear-gradient(135deg, #d84315 0%, #ff5722 100%);
    box-shadow: 0 2px 12px rgba(216, 67, 21, 0.3);
    z-index: 10;
    margin: 0;
}

.mobile-top-nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    height: 100%;
    width: 100%;
}

.mobile-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
}

.mobile-logo-icon {
    font-size: 28px;
    animation: logoGlow 2s ease-in-out infinite;
}

.mobile-logo-text {
    font-family: "Forum", serif;
    font-size: 20px;
    font-weight: 700;
    white-space: nowrap;
}

.mobile-menu-btn {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover,
.mobile-menu-btn:active {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
}

/* Mobile Dropdown Menu */
.mobile-dropdown-menu {
    position: absolute;
    top: 60px;
    right: 16px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    min-width: 220px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
}

.mobile-dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mobile-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    color: #3e2723;
    text-decoration: none;
    font-size: 15px;
    transition: background 0.2s ease;
    border-bottom: 1px solid rgba(216, 67, 21, 0.1);
}

.mobile-dropdown-item:last-child {
    border-bottom: none;
}

.mobile-dropdown-item:hover {
    background: linear-gradient(135deg, #fff3e0, #ffe0b2);
}

.mobile-dropdown-item .material-icons,
.mobile-dropdown-item .material-icons-outlined {
    font-size: 22px;
    color: #d84315;
}

.mobile-dropdown-icon {
    width: 22px;
    height: 22px;
    object-fit: contain;
}


/* Animation for logo glow */
@keyframes logoGlow {

    0%,
    100% {
        filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.4));
    }

    50% {
        filter: drop-shadow(0 0 16px rgba(255, 255, 255, 0.6));
    }
}

/* --- GLOBAL: Hide volunteer modal when it escapes to body without styles --- */
/* This prevents the unstyled modal from appearing during navigation */
body>.volunteer-modal:not(.active),
body>#volunteerModal:not(.active) {
    display: none !important;
}

/* --- GLOBAL: Hide logout modal when not active --- */
/* Prevents modal flash during page navigation/reload */
#logoutModal:not(.active),
.modal#logoutModal:not(.active) {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

/* --- MOBILE BANNER FIXES (320px - 767px) --- */
@media screen and (max-width: 767px) {

    /* Prevent horizontal scroll */
    html,
    body {
        overflow-x: hidden !important;
        max-width: 100vw !important;
    }

    body {
        width: 100% !important;
    }

    /* Ensure all containers fit viewport */
    .page-content,
    .mandapam-page,
    .main-container,
    .main-content {
        overflow-x: hidden !important;
        max-width: 100vw !important;
        width: 100% !important;
    }

    /* FIX: Banner container height - remove 100vh */
    .promo-banner {
        height: auto !important;
        min-height: auto !important;
        max-height: none !important;
    }

    .promo-nav.prev-btn {
        left: 6px !important;
    }

    .promo-nav.next-btn {
        right: 6px !important;
    }

    /* FIX: Slider wrapper height */
    .promo-slider-wrapper {
        position: relative !important;
        height: 200px !important;
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    /* FIX: Slides container height */
    .promo-slides-container {
        height: 200px !important;
    }

    /* FIX: Individual slide height - keep absolute positioning for slider to work */
    .promo-slide {
        height: 200px !important;
    }

    /* FIX: Banner images - ensure proper display */
    .promo-slide img,
    .promo-image,
    img.promo-image {
        height: 200px !important;
        width: 100% !important;
        object-fit: cover !important;
        display: block !important;
    }

    /* Remove background from banner navigation buttons */
    #promoPrev,
    #promoNext,
    button[id*="promo"] {
        background: transparent !important;
        box-shadow: none !important;
        border: none !important;
        backdrop-filter: none !important;
    }

    /* Fix indicator positioning - closer to banner */
    #promoIndicators,
    .promo-indicators {
        position: relative !important;
        margin-top: 70px !important;
        margin-bottom: -50px !important;
        z-index: 10 !important;
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 8px !important;
    }

    /* Remove banner gradient overlay on mobile */
    .promo-banner::after {
        display: none !important;
    }

    /* AGGRESSIVE: Pull next section closer to banner */
    .promo-banner+*,
    .promo-banner~section,
    .quick-access,
    .quick-access-two,
    section:first-of-type,
    main>section:first-child,
    .main-content>section:first-child,
    .main-content>div:first-child {
        margin-top: -20px !important;
        padding-top: 10px !important;
    }

    /* Remove any extra spacing from banner itself */
    .promo-banner {
        margin-bottom: 0 !important;
        margin-top: 20px;
        padding-bottom: 0 !important;
    }

    /* ===== FEATURED MANDIRA & PILGRIMS SECTIONS ===== */

    /* Section containers */
    .quick-access,
    .quick-access-two {
        margin: 0 0 30px 0 !important;
    }

    /* Section titles - left aligned, smaller */
    .section-header {
        padding: 0 20px !important;
        margin-bottom: 15px !important;
        text-align: left !important;
    }

    .section-header h3 {
        font-size: 20px !important;
        text-align: left !important;
        margin: 0 !important;
    }

    /* Cards container - horizontal swipe */
    .quick-cards {
        display: flex !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scroll-snap-type: x mandatory !important;
        gap: 15px !important;
        padding: 0 20px 15px 20px !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
    }

    /* Hide scrollbar */
    .quick-cards::-webkit-scrollbar {
        display: none !important;
    }

    /* Individual cards - smaller size */
    .quick-cards>div,
    .quick-cards .temple-card,
    .quick-cards>* {
        flex: 0 0 250px !important;
        min-width: 250px !important;
        max-width: 250px !important;
        scroll-snap-align: start !important;
        height: auto !important;
    }

    /* Card image - smaller */
    .quick-cards img,
    .quick-cards .temple-image,
    .quick-cards .card-image {
        object-fit: cover !important;
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Remove gap between image and content */
    .quick-cards .temple-info,
    .quick-cards .card-content,
    .quick-cards .temple-details {
        padding-top: 16px !important;
        margin-top: 0 !important;
    }

    /* Card content - compact */
    .quick-cards .temple-name,
    .quick-cards h4,
    .quick-cards .card-title {
        font-size: 16px !important;
        line-height: 1.3 !important;
    }

    .quick-cards .temple-location,
    .quick-cards p,
    .quick-cards .card-description {
        font-size: 13px !important;
        line-height: 1.4 !important;
    }

    /* Explore more buttons */
    .quick-access button,
    .quick-access-two button {
        font-size: 14px !important;
        padding: 10px 24px !important;
    }

    /* ===== TEMPLE AT SIGHT OVERLAY CONTENT - SMALLER & LEFT ALIGNED ===== */

    /* Content container - left aligned with margin */
    #templeAtSightContainer [class*="slide-content-"] {
        left: 20px !important;
        top: 25% !important;
        max-width: 300px !important;
        transform: translateY(0) !important;
    }

    /* Header label - smaller */
    #templeAtSightContainer [class*="slide-content-"]>div:first-child {
        font-size: 0.6rem !important;
        padding: 4px 10px !important;
        margin-bottom: 8px !important;
    }

    /* Main title - 50% smaller */
    #templeAtSightContainer [class*="slide-content-"] h2 {
        font-size: 2rem !important;
        margin: 0 0 10px 0 !important;
        line-height: 1.2 !important;
    }

    /* Subtitle - 50% smaller */
    #templeAtSightContainer [class*="slide-content-"] p {
        font-size: 0.85rem !important;
        margin: 0 0 12px 0 !important;
        line-height: 1.4 !important;
    }

    /* CTA Button - smaller */
    #templeAtSightContainer [class*="slide-content-"] a {
        font-size: 0.9rem !important;
        padding: 8px 18px !important;
        gap: 6px !important;
    }

    #templeAtSightContainer [class*="slide-content-"] a span {
        font-size: 1.1rem !important;
    }

    /* ===== TEMPLE AT SIGHT THUMBNAILS - LARGER & SWIPEABLE ===== */

    /* Thumbnail container - horizontal swipe */
    #templeAtSightContainer #thumbnailContainer,
    #thumbnailContainer {
        display: flex !important;
        grid-template-columns: none !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scroll-snap-type: x mandatory !important;
        gap: 12px !important;
        padding: 10px 20px !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        max-width: 100% !important;
    }

    /* Hide scrollbar */
    #thumbnailContainer::-webkit-scrollbar {
        display: none !important;
    }

    /* Individual thumbnails - much larger */
    #thumbnailContainer>div,
    #thumbnailContainer [class*="thumb-"] {
        flex: 0 0 200px !important;
        min-width: 100px !important;
        max-width: 100px !important;
        height: 70px !important;
        aspect-ratio: auto !important;
        scroll-snap-align: start !important;
        display: block !important;
    }

    /* Thumbnail images */
    #thumbnailContainer img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    /* Bottom section container */
    #templeAtSightContainer>div>div:last-child {
        padding: 0 !important;
        height: auto !important;
        min-height: 140px !important;
    }

    /* Hide Temple at Sight navigation arrows on mobile */
    #templeAtSightContainer button[onclick*="changeThumbnailPage"],
    #templeAtSightContainer button[onclick*="changeTempleSlide"],
    #templeAtSightContainer .prev-btn,
    #templeAtSightContainer .next-btn,
    #templeAtSightContainer button[class*="prev"],
    #templeAtSightContainer button[class*="next"],
    .temple-nav-btn,
    .carousel-nav-btn {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }
}