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

body {
    background-color: #0A0C10;
    font-family: 'Inter', sans-serif;
    color: #EFF3F6;
    height: 100vh;
    overflow: hidden;
}

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: #1E1F2A; border-radius: 10px; }
::-webkit-scrollbar-thumb { background: #4B4F6E; border-radius: 10px; }

.app-container {
    display: flex;
    height: 100vh;
    width: 100%;
    background: #0A0C10;
}

/* Sidebar overlay for mobile */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 95;
    display: none;
    backdrop-filter: blur(2px);
}
.sidebar-overlay.active { display: block; }

/* Sidebar */
.sidebar {
    width: 280px;
    background: #0F1117;
    border-right: 1px solid #23252F;
    display: flex;
    flex-direction: column;
    padding: 2rem 1.25rem;
    transition: transform 0.3s ease;
    z-index: 100;
    overflow-y: auto;
}

@media (max-width: 1198px) {
    .sidebar {
        position: fixed;
        top: 0;
        left: 0;
        height: 100%;
        transform: translateX(-100%);
        box-shadow: none;
    }
    .sidebar.mobile-visible {
        transform: translateX(0);
        box-shadow: 4px 0 20px rgba(0, 0, 0, 0.5);
    }
}

@media (min-width: 1198px) {
    .sidebar {
        transform: translateX(0) !important;
        position: relative;
    }
    .sidebar-overlay { display: none !important; }
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 2rem;
}

.logo-icon {
    background: linear-gradient(135deg, #2A6DFF, #9C4DFF);
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.logo-icon i { font-size: 1.3rem; }

.logo-text h2 {
    font-size: 1.35rem;
    font-weight: 600;
    background: linear-gradient(to right, #FFFFFF, #B9C8FF);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.logo-text p { font-size: 0.7rem; color: #8B8EAB; }

.sidebar-auth-section {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #23252F;
}

.sidebar-auth-btn {
    width: 100%;
    background: linear-gradient(135deg, #2A6DFF, #5E3AFF);
    border: none;
    padding: 12px 16px;
    border-radius: 40px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.sidebar-auth-btn.profile-mode { background: #202433; border: 1px solid #3F445C; }

.filter-section { margin-bottom: 1.5rem; }
.filter-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 1.5rem 0 1rem 0;
    font-size: 0.8rem;
    color: #9EA2BE;
    text-transform: uppercase;
}
.filter-list { display: flex; flex-direction: column; gap: 6px; }
.filter-btn {
    background: transparent;
    border: none;
    color: #CCD0E6;
    text-align: left;
    padding: 8px 12px;
    border-radius: 12px;
    font-weight: 500;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}
.filter-btn i { width: 20px; color: #6F759B; text-align: center; }
.filter-btn.active { background: #202433; color: white; border-left: 3px solid #2A6DFF; }
.filter-count { margin-left: auto; font-size: 0.7rem; background: #1A1D26; padding: 2px 8px; border-radius: 30px; }
.sidebar-footer { margin-top: auto; font-size: 0.7rem; color: #4F536E; padding-top: 1rem; border-top: 1px solid #23252F; }

/* Mood Filter Icons Styling */
.filter-btn[data-mood="very-healthy"] i {
    color: #2ECC71;
}

.filter-btn[data-mood="moderate"] i {
    color: #F39C12;
}

.filter-btn[data-mood="critical"] i {
    color: #E53E3E;
}

.filter-btn.active[data-mood="very-healthy"] {
    border-left-color: #2ECC71;
}

.filter-btn.active[data-mood="moderate"] {
    border-left-color: #F39C12;
}

.filter-btn.active[data-mood="critical"] {
    border-left-color: #E53E3E;
}



.main-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    padding: 1rem;
    position: relative;
}
@media (min-width: 1198px) { .main-panel { padding: 1.5rem; } }

/* Floating Toggle Button */
.floating-toggle {
    position: fixed;
    top: 16px;
    left: 16px;
    z-index: 200;
    background: #1A1D26;
    border: 1px solid #2F3548;
    color: white;
    width: 44px;
    height: 44px;
    border-radius: 30px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: 0.2s;
}
.floating-toggle:hover {
    background: #2A2D3E;
    border-color: #2A6DFF;
}
.floating-toggle.hidden {
    display: none;
}


/* Hero Slider */
.hero-slider {
    position: relative;
    width: 100%;
    height: 600px;
    border-radius: 24px;
    margin-top: 20px;
    margin-bottom: 1.5rem;
    flex-shrink: 0;
}
.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    background-size: cover;
    border-radius: 24px;
}
.slide.active { opacity: 1; }
.slider-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}
.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
}
.dot.active { background: #2A6DFF; width: 20px; border-radius: 4px; }

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}
.left-controls, .right-controls { display: flex; gap: 10px; align-items: center; }

.welcome-tag h3 { font-size: 1.2rem; font-weight: 600; }
.welcome-tag p { font-size: 0.7rem; color: #9196B5; }

.search-box {
    background: #13151E;
    border-radius: 44px;
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border: 1px solid #282C3C;
    min-width: 200px;
}
.search-box input {
    background: transparent;
    border: none;
    outline: none;
    color: white;
    width: 100%;
    margin-left: 8px;
    font-size: 0.9rem;
}

.stats-row { display: flex; gap: 0.75rem; margin-bottom: 1.25rem; flex-wrap: wrap; }
.stat-card {
    background: #101218;
    border-radius: 20px;
    padding: 0.4rem 1rem;
    font-size: 0.75rem;
    border: 1px solid #282C3C;
}

/* Skeleton Loading */
.skeleton-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
}
.skeleton-card {
    background: #11131C;
    border-radius: 20px;
    border: 1px solid #282D3C;
    padding: 1rem;
}
.skeleton-line {
    height: 12px;
    background: linear-gradient(90deg, #1A1D2A 25%, #2A2D3E 50%, #1A1D2A 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 8px;
    margin-bottom: 10px;
}
.skeleton-line.title { width: 60%; height: 16px; }
.skeleton-line.badge { width: 40%; height: 20px; }
.skeleton-line.progress { width: 100%; height: 8px; margin: 15px 0; }
@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
}

.member-card {
    background: #11131C;
    border-radius: 20px;
    border: 1px solid #282D3C;
    padding: 1rem;
    transition: 0.2s;
    cursor: pointer;
}
.member-card:hover { transform: translateY(-2px); border-color: #3F445C; }

.card-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 8px;
}
.member-name { font-weight: 700; font-size: 1rem; }
.city-badge {
    background: #1C202E;
    padding: 4px 12px;
    border-radius: 40px;
    font-size: 0.7rem;
}

.progress-bar-bg {
    background: #262A3A;
    border-radius: 40px;
    height: 8px;
    margin: 8px 0;
}
.progress-fill {
    height: 100%;
    border-radius: 40px;
    transition: width 0.3s;
}

.empty-state {
    text-align: center;
    padding: 3rem;
    color: #8E92B3;
}

.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #2A6DFF;
    padding: 12px 24px;
    border-radius: 40px;
    z-index: 2000;
    animation: slideIn 0.3s ease;
}
@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Mood option styling */
.mood-option {
    cursor: pointer;
    padding: 8px 16px;
    background: #1A1D2A;
    border-radius: 40px;
    text-align: center;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    border: 1px solid transparent;
}

.mood-option:hover {
    background: #2A6DFF !important;
    transform: scale(1.02);
}

.mood-option.selected {
    background: #2A6DFF !important;
    border-color: #ffffff;
    box-shadow: 0 0 0 2px rgba(42, 109, 255, 0.3);
}

/* Loading spinner */
.loading-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid white;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-right: 6px;
    vertical-align: middle;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Copy address styling */
.copy-address {
    background: #1A1D2A;
    padding: 8px 12px;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 5px;
}
.copy-address:hover { background: #2A2D3E; }
.copy-feedback {
    font-size: 11px;
    color: #2ECC71;
    margin-left: 8px;
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(3, 5, 12, 0.92);
    backdrop-filter: blur(6px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: 0.2s;
}
.modal-overlay.active { visibility: visible; opacity: 1; }

.modal-container {
    background: #11141F;
    border-radius: 32px;
    width: 90%;
    max-width: 500px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    border: 1px solid #2E3249;
}
.modal-header {
    padding: 1.2rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #262B3E;
}
.modal-body {
    padding: 1.5rem;
    overflow-y: auto;
    flex: 1;
}

.form-group { margin-bottom: 1rem; }
.form-group label {
    display: block;
    font-size: 0.75rem;
    margin-bottom: 5px;
    color: #A8ADCE;
}
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    background: #1A1D2A;
    border: 1px solid #2F3548;
    padding: 10px 14px;
    border-radius: 16px;
    color: white;
    font-family: inherit;
}
.form-group textarea { resize: vertical; min-height: 80px; }

.btn-primary {
    background: #2A6DFF;
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 40px;
    color: white;
    font-weight: bold;
    margin-top: 10px;
    cursor: pointer;
    transition: opacity 0.2s;
}
.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.mood-slider { width: 100%; margin: 15px 0; }
.mood-value { text-align: center; font-weight: bold; margin-top: 8px; }

.tab-buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}
.tab-btn {
    flex: 1;
    padding: 10px;
    background: #1A1D2A;
    border: none;
    border-radius: 30px;
    color: white;
    cursor: pointer;
}
.tab-btn.active { background: #2A6DFF; }

.close-modal {
    background: none;
    border: none;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    color: #9DA3C5;
}
.close-modal:hover { color: white; }

hr { border-color: #2F3548; margin: 15px 0; }

/* Counselling Button Styles */
.counselling-btn {
    display: inline-block;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 500;
    transition: 0.3s;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
    width: 100%;
    letter-spacing: 0.3px;
    cursor: pointer;
}

.counselling-btn:hover {
    background: rgba(42, 109, 255, 0.25);
    border-color: rgba(42, 109, 255, 0.5);
    transform: translateY(-1px);
}

.counselling-btn i {
    margin-right: 6px;
}

/* Optional: Add a subtle glow effect on hover */
.counselling-btn:hover {
    box-shadow: 0 4px 12px rgba(42, 109, 255, 0.2);
}


/* Main Footer Styles */
.main-footer {
    margin-top: 2rem;
    padding: 1.5rem 0 1rem;
    background: rgba(15, 17, 23, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 0 1.5rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #B9C8FF;
}

.footer-logo i {
    font-size: 1.2rem;
    color: #2A6DFF;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: #8E92B3;
    text-decoration: none;
    font-size: 0.8rem;
    transition: 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.footer-links a:hover {
    color: #2A6DFF;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    color: #8E92B3;
    text-decoration: none;
    font-size: 1.1rem;
    transition: 0.2s;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
}

.footer-social a:hover {
    color: #2A6DFF;
    background: rgba(42, 109, 255, 0.1);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding: 1rem 1.5rem 0.5rem;
    font-size: 0.7rem;
    color: #6F759B;
    margin-bottom: 20px;
}

.footer-bottom p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    flex-wrap: wrap;
}


/* Navigation Tabs */
.nav-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #23252F;
    padding-bottom: 10px;
}

.nav-tab {
    background: transparent;
    border: none;
    color: #8E92B3;
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: 0.2s;
    border-radius: 30px;
}

.nav-tab:hover {
    color: #2A6DFF;
    background: rgba(42, 109, 255, 0.1);
}

.nav-tab.active {
    color: #2A6DFF;
    background: rgba(42, 109, 255, 0.15);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Prayer Wall Styles */
.pray-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.prayer-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.prayer-header h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.prayer-header p {
    color: #8E92B3;
    font-size: 0.85rem;
}

.add-prayer-btn {
    background: linear-gradient(135deg, #2A6DFF, #5E3AFF);
    border: none;
    padding: 10px 24px;
    border-radius: 40px;
    color: white;
    font-weight: 500;
    cursor: pointer;
    margin-top: 12px;
    transition: 0.2s;
}

.add-prayer-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.prayer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
}

.prayer-card {
    background: #11131C;
    border-radius: 20px;
    border: 1px solid #282D3C;
    padding: 1rem;
    transition: 0.2s;
}

.prayer-card:hover {
    transform: translateY(-2px);
    border-color: #2A6DFF;
}

.prayer-card .prayer-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: #2A6DFF;
    margin-bottom: 8px;
}

.prayer-card .prayer-text {
    font-size: 0.85rem;
    color: #CCD0E6;
    line-height: 1.4;
    margin-bottom: 12px;
}

.prayer-card .prayer-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.7rem;
    color: #6F759B;
}

.prayer-card .prayer-actions button {
    background: rgba(42, 109, 255, 0.1);
    border: none;
    padding: 5px 12px;
    border-radius: 30px;
    color: #2A6DFF;
    cursor: pointer;
    font-size: 0.7rem;
    transition: 0.2s;
}

.prayer-card .prayer-actions button:hover {
    background: rgba(42, 109, 255, 0.3);
}

/* Birthdays Grid */
.birthdays-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.birthdays-header h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.birthdays-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.birthday-card {
    background: #11131C;
    border-radius: 20px;
    border: 1px solid #282D3C;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: 0.2s;
}

.birthday-card:hover {
    transform: translateY(-2px);
    border-color: #2A6DFF;
}

.birthday-icon {
    font-size: 2.5rem;
}

.birthday-info h4 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.birthday-info p {
    font-size: 0.75rem;
    color: #8E92B3;
}

.birthday-type {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.65rem;
    font-weight: 500;
    margin-top: 5px;
}

.birthday-type.birthday {
    background: rgba(46, 204, 113, 0.2);
    color: #2ECC71;
}

.birthday-type.anniversary {
    background: rgba(243, 156, 18, 0.2);
    color: #F39C12;
}

/* Load More Button */
.load-more-container {
    text-align: center;
    margin-top: 2rem;
    padding: 1rem;
}

.load-more-btn {
    background: rgba(42, 109, 255, 0.15);
    border: 1px solid rgba(42, 109, 255, 0.3);
    padding: 12px 28px;
    border-radius: 40px;
    color: #2A6DFF;
    font-weight: 500;
    cursor: pointer;
    transition: 0.2s;
    font-size: 0.9rem;
}

.load-more-btn:hover {
    background: rgba(42, 109, 255, 0.3);
    transform: translateY(-2px);
}

.load-more-btn i {
    margin-right: 8px;
}

/* Emergency Alert Banner */
.emergency-alert {
    background: linear-gradient(135deg, #E53E3E, #C0392B);
    border-radius: 16px;
    padding: 12px 20px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(229, 62, 62, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(229, 62, 62, 0); }
    100% { box-shadow: 0 0 0 0 rgba(229, 62, 62, 0); }
}

.emergency-alert span {
    font-size: 0.85rem;
}

.emergency-alert a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    background: rgba(255,255,255,0.2);
    padding: 6px 16px;
    border-radius: 30px;
    transition: 0.2s;
}

.emergency-alert a:hover {
    background: rgba(255,255,255,0.3);
}


/* Persistent Emergency Alert */
.emergency-alert.persistent {
    background: linear-gradient(135deg, #E53E3E, #C0392B);
    border-radius: 16px;
    padding: 14px 20px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    animation: pulseRed 1.5s infinite;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

@keyframes pulseRed {
    0% {
        box-shadow: 0 0 0 0 rgba(229, 62, 62, 0.7);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 0 12px rgba(229, 62, 62, 0);
        transform: scale(1.01);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(229, 62, 62, 0);
        transform: scale(1);
    }
}

.emergency-content {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.emergency-content i {
    font-size: 1.5rem;
    animation: shake 0.5s ease-in-out infinite;
}

@keyframes shake {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(5deg); }
    75% { transform: rotate(-5deg); }
}

.emergency-text {
    font-size: 0.9rem;
    line-height: 1.4;
}

.emergency-actions {
    display: flex;
    gap: 10px;
}

.emergency-view-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    padding: 8px 18px;
    border-radius: 30px;
    color: white;
    font-weight: 500;
    cursor: pointer;
    transition: 0.2s;
}

.emergency-view-btn:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: scale(1.02);
}

.emergency-dismiss-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 8px 18px;
    border-radius: 30px;
    color: white;
    font-weight: 500;
    cursor: pointer;
    transition: 0.2s;
}

.emergency-dismiss-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}


/* Activity Toast Notification */
.activity-toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(15, 17, 23, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #CCD0E6;
    padding: 10px 20px;
    border-radius: 40px;
    font-size: 0.85rem;
    z-index: 2000;
    animation: fadeInOut 3s ease-in-out;
    pointer-events: none;
    border: 1px solid rgba(42, 109, 255, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.activity-toast i {
    font-size: 1rem;
}

.activity-toast i.fa-praying-hands { color: #9C4DFF; }
.activity-toast i.fa-chart-line { color: #2A6DFF; }
.activity-toast i.fa-user-plus { color: #2ECC71; }
.activity-toast i.fa-birthday-cake { color: #F39C12; }
.activity-toast i.fa-headset { color: #E53E3E; }
.activity-toast i.fa-star { color: #FFD700; }

@keyframes fadeInOut {
    0% { opacity: 0; transform: translateX(-50%) translateY(20px); }
    15% { opacity: 1; transform: translateX(-50%) translateY(0); }
    85% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(-20px); }
}






/* Mobile Responsive Footer */
@media (max-width: 768px) {
    .activity-toast {
        font-size: 0.7rem;
        white-space: normal;
        text-align: center;
        max-width: 90%;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-bottom p {
        flex-direction: column;
        gap: 5px;
    }

    .emergency-alert.persistent {
        flex-direction: column;
        text-align: center;
    }
    
    .emergency-content {
        justify-content: center;
    }
    
    .emergency-actions {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 1198px) {
    .floating-toggle {
        display: flex;
    }

    .hero-slider {
        height: 600px;
    }
}


@media (max-width: 898px) {
    .hero-slider {
        height: 500px;
    }
}


@media (max-width: 758px) {
    .hero-slider {
        height: 400px;
    }
}


@media (max-width: 611px) {
    .hero-slider {
        height: 300px;
    }
}

@media (max-width: 468px) {
    .hero-slider {
        height: 200px;
    }
}