:root {
    /* Warm, Modern Color Palette */
    /* Background Colors */
    --background-color: #F9F9F7;
    --accent-bg: #F9F9F7;
    --accent-bg-light: #F9F9F7;
    --accent-light: #F9F9F7;
    
    /* Text Colors */
    --text-color: #2d3748;
    --secondary-color: #2d3748;
    
    /* Primary and Action Colors */
    --primary-color: #1A2332;
    --action-color: #1A2332;
    --accent-color: #1A2332;
    --accent-dark: #1A2332;
    
    /* Supporting colors */
    --light-gray: #EDF2F7;
    --border-color: #E2E8F0;
    --success-color: #48BB78;
    --error-color: #EF5350;
    
    /* Border thickness settings */
    --border-thin: 1px;
    --border-normal: 2px;
    --border-thick: 3px;
    --border-card: 1px;
    --border-button: 2px;
    --border-input: 2px;
    
    /* Shadows updated for new palette */
    --shadow: 0 4px 12px rgba(26, 35, 50, 0.1);
    --shadow-hover: 0 8px 25px rgba(26, 35, 50, 0.15);
    --shadow-card: 0 6px 20px rgba(26, 35, 50, 0.08);
    --shadow-card-hover: 0 12px 35px rgba(26, 35, 50, 0.12);
    --shadow-action: 0 4px 12px rgba(26, 35, 50, 0.2);
    --shadow-action-hover: 0 8px 25px rgba(26, 35, 50, 0.3);
    
    /* Glass effects */
    --glassmorphism: rgba(242, 242, 242, 0.95);
    --glassmorphism-border: rgba(26, 35, 50, 0.1);
    
    /* Unified shadow */
    --accent-shadow: rgba(26, 35, 50, 0.1);
    
    /* Modal z-index */
    --z-modal-backdrop: 9999;
    --z-modal-content: 10000;
}


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

html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

/* Smooth theme transitions */
body * {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}


/* Animation Library */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Food Bank Opening Hours */
.opening-hours h4 {
    background: linear-gradient(135deg, var(--primary-color), #e67e22);
    color: white;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 1rem 0;
    box-shadow: var(--shadow);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Brand Patterns */
.brand-pattern-bg {
    position: relative;
}

.brand-pattern-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(243, 156, 18, 0.05) 25%, transparent 25%), 
                linear-gradient(225deg, rgba(243, 156, 18, 0.05) 25%, transparent 25%), 
                linear-gradient(45deg, rgba(243, 156, 18, 0.05) 25%, transparent 25%), 
                linear-gradient(315deg, rgba(243, 156, 18, 0.05) 25%, transparent 25%);
    background-size: 40px 40px;
    background-position: 0 0, 0 20px, 20px -20px, -20px 0px;
    pointer-events: none;
    z-index: 0;
}

/* Loading Spinner */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(243, 156, 18, 0.3);
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Lora:wght@700&family=Inter:wght@400;500;600;700&display=swap');

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #2d3748;
    background-color: #F9F9F7;
    background-image: url("data:image/svg+xml,%3Csvg width='6' height='6' viewBox='0 0 6 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23d2d6dc' fill-opacity='0.4' fill-rule='evenodd'%3E%3Cpath d='M5 0h1L0 6V5zM6 5v1H5z'/%3E%3C/g%3E%3C/svg%3E");
    font-size: clamp(14px, 2.5vw, 16px);
    line-height: clamp(1.5, 2vw, 1.6);
    padding-top: 80px;
    transition: background-color 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: var(--accent-bg);
    box-shadow: var(--accent-shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--primary-color)) 1;
}

.navbar.scrolled {
    background: rgba(242, 242, 242, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(243, 156, 18, 0.1);
    box-shadow: var(--shadow-elevated);
}

.navbar.scrolled .nav-content {
    padding: 0.75rem 0;
}

/* Breadcrumb Navigation */
.breadcrumb {
    background: linear-gradient(135deg, rgba(243, 156, 18, 0.05) 0%, rgba(243, 156, 18, 0.02) 100%);
    border-bottom: 1px solid rgba(243, 156, 18, 0.1);
    padding: 0.75rem 0;
    margin-top: 80px;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.9rem;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item:not(:last-child)::after {
    content: '/';
    margin: 0 0.75rem;
    color: var(--primary-color);
    font-weight: 500;
}

.breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.breadcrumb-item a:hover {
    background: rgba(243, 156, 18, 0.1);
    color: var(--secondary-color);
}

.breadcrumb-item.active {
    color: var(--secondary-color);
    font-weight: 500;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    display: block;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-dark);
    background-color: var(--accent-light);
}

.nav-links a:focus {
    outline: none;
    color: var(--accent-dark);
    background-color: var(--accent-light);
}

.outreach-nav-link i {
    margin-right: 0.5rem;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--secondary-color);
}

/* Hero Section */
.hero {
    background: #F9F9F7;
    background-image: url("data:image/svg+xml,%3Csvg width='6' height='6' viewBox='0 0 6 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23d2d6dc' fill-opacity='0.4' fill-rule='evenodd'%3E%3Cpath d='M5 0h1L0 6V5zM6 5v1H5z'/%3E%3C/g%3E%3C/svg%3E");
    padding: 3rem 0;
    text-align: center;
    position: relative;
}


.hero-brand {
    font-family: 'Lora', serif;
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 0.5rem;
    text-align: center;
}

.hero h1 {
    font-family: 'Lora', serif;
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    color: #2d3748;
    margin-bottom: 1.5rem;
}

.emergency-hotline {
    text-align: center;
    margin-bottom: 2rem;
}

.help-text {
    color: var(--text-color);
    font-size: clamp(0.95rem, 3vw, 1.1rem);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.hotline-link {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: var(--primary-color);
    color: var(--background-color);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: clamp(1.2rem, 4vw, 1.5rem);
    font-weight: 700;
    box-shadow: var(--shadow);
    text-decoration: none;
    transition: all 0.3s;
}

.hotline-link:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #48BB78, #38A169);
    color: white;
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #38A169, #2F855A);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background: white;
    color: #2d3748;
    border: 2px solid #E2E8F0;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #F9F9F7;
    border-color: #2d3748;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--background-color);
}

/* Sections */
section {
    padding: 2rem 0;
}

.about {
    background: var(--accent-bg-light);
    position: relative;
    overflow: hidden;
    transition: background-color 0.3s ease;
}

.about::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(135deg, rgba(243, 156, 18, 0.02) 25%, transparent 25%), 
                linear-gradient(225deg, rgba(243, 156, 18, 0.02) 25%, transparent 25%);
    background-size: 80px 80px;
    animation: float 8s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.about .container {
    position: relative;
    z-index: 1;
}

.about h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
    text-align: center;
}

.about p {
    max-width: 800px;
    margin: 0 auto 1rem;
    text-align: center;
    line-height: 1.8;
}

/* Impact Section */
.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.impact-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05), 0 1px 3px 1px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.impact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(243, 156, 18, 0.02) 0%, transparent 100%);
    pointer-events: none;
    z-index: 0;
}

.impact-card > * {
    position: relative;
    z-index: 1;
}

.impact-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.impact-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: pulse 2s ease-in-out infinite;
    color: var(--accent-color);
}

.impact-card h3 {
    font-size: clamp(1.25rem, 3.5vw, 1.5rem);
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

/* Feeding Schedule */
.feeding-schedule {
    background: var(--background-color);
    position: relative;
}

.feeding-schedule h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
    text-align: center;
}

/* Search Functionality */
.search-container {
    margin: 2rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.search-box {
    position: relative;
    max-width: 500px;
    width: 100%;
}

.near-me-btn {
    background: var(--action-color);
    color: var(--background-color);
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-action);
    white-space: nowrap;
}

.near-me-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-action-hover);
    background: linear-gradient(135deg, var(--action-color), #E89A00);
}

.near-me-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.near-me-btn.loading {
    opacity: 0.8;
}

.near-me-btn.loading i {
    animation: spin 1s linear infinite;
}

.search-input {
    width: 100%;
    padding: 1rem 3rem 1rem 3.5rem;
    border: 2px solid black;
    border-radius: 50px;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    background: var(--glassmorphism);
    backdrop-filter: blur(10px);
    color: var(--text-color);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-light);
}

.search-input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px var(--accent-light);
    transform: translateY(-1px);
}

.search-input::placeholder {
    color: rgba(52, 73, 94, 0.6);
    font-weight: bold;
}

.search-icon {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--action-color);
    font-size: 1.1rem;
    pointer-events: none;
}

.clear-search {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(52, 73, 94, 0.5);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.clear-search:hover {
    background: rgba(243, 156, 18, 0.1);
    color: var(--primary-color);
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1rem;
    background: white;
    border: 2px solid black;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
    font-size: clamp(0.8rem, 2.5vw, 0.9rem);
    color: black;
}

.filter-btn.active,
.filter-btn:hover {
    border-color: black;
    background: white;
    color: black;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.feeding-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* ==========================================================================
   Event Schedule Styles - Corrected & Consistent Version
   ========================================================================== */

.day-section {
    margin-bottom: 2rem;
}

/* --- Day Header --- */
.day-header {
    position: sticky;
    top: 80px; /* Below navbar */
    font-family: 'Lora', serif;
    background: white;
    color: #2d3748;
    padding: 16px;
    border-radius: 8px;
    border: 2px solid #E2E8F0;
    margin-bottom: 20px;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    z-index: 100;
    transition: all 0.3s ease;
}

/* Enhanced shadow when stuck */
.day-header:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* --- Cards Grid Layout --- */
.day-cards,
.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
    width: 100%;
    overflow: hidden;
}

/* --- Event Card Base Style --- */
.feeding-card,
.event-card {
    position: relative; /* For distance badge positioning */
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05), 0 1px 3px 1px rgba(0, 0, 0, 0.04);
    border: 1px solid #E2E8F0;
    display: flex;
    flex-direction: column;
    min-height: 300px;
    font-size: clamp(0.8rem, 2.3vw, 0.9rem);
    transition: all 0.3s cubic-bezier(.25,.8,.25,1);
}

.feeding-card:hover,
.event-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border-color: #CBD5E0;
}

/* --- Card Content Sections --- */
.card-header {
    margin-bottom: 16px;
}

.card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-footer {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 16px;
}

/* --- Card Header Components --- */
.event-type {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.event-type .town {
    color: #2d3748;
    font-size: 16px;
    font-weight: 700;
}

.event-category-tag {
    font-size: 11px;
    font-weight: 600;
    color: #4A5568;
    background-color: #EDF2F7;
    padding: 4px 8px;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.venue-name {
    font-family: 'Lora', serif;
    font-size: 24px;
    font-weight: 700;
    color: #1a202c;
    line-height: 1.3;
}

/* --- Address & Time Sections --- */
.address-section {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: #F7FAFC;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
    border: 1px solid #EDF2F7;
    margin-bottom: 12px;
}

.address-section:hover {
    background: #EDF2F7;
    border-color: #CBD5E0;
}

.time-section {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: #2d3748;
    color: white;
    border-radius: 8px;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
}

/* --- Badges & Status Indicators --- */
.card-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.referral-badge,
.walk-badge,
.calendar-available {
    color: white;
    padding: 10px;
    border-radius: 8px;
    font-size: clamp(11px, 2.5vw, 13px);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
}

.referral-badge {
    background: linear-gradient(135deg, #EF5350, #E53E3E);
}

.walk-badge,
.calendar-available {
    background: linear-gradient(135deg, #48BB78, #38A169);
}

.calendar-not-available {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13px;
    justify-content: center;
    background: #FED7D7;
    color: #C53030;
    border: 1px solid #FEB2B2;
}

/* --- Buttons --- */
.add-calendar-btn {
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: clamp(12px, 2.5vw, 14px);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #4A5568, #2d3748);
}

.add-calendar-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.add-calendar-btn.btn-added {
    background: linear-gradient(135deg, #48BB78, #38A169);
    cursor: default;
}

.add-calendar-btn:disabled {
    cursor: not-allowed;
    opacity: 0.8;
}


/* Mobile responsive */
@media (max-width: 768px) {
    .day-header {
        top: 70px; /* Adjust for mobile navbar height */
        font-size: 1.3rem;
        padding: 0.875rem;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--background-color);
        flex-direction: column;
        padding: 1rem;
        box-shadow: var(--shadow);
        gap: 0.5rem;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .emergency-hotline {
        font-size: 1.2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .page-hero h1 {
        font-size: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .giving-examples {
        grid-template-columns: 1fr;
    }
    
    .filter-buttons {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 0.5rem;
        gap: 8px;
    }
    
    .filter-btn {
        font-size: 0.85rem;
        padding: 0.5rem 0.875rem;
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    .search-container {
        flex-direction: column;
        gap: 12px;
    }
    
    .near-me-btn {
        width: 100%;
        justify-content: center;
    }
    
    /* Remove conflicting grid rules - handled by specific breakpoints below */
    
    .event-card {
        min-height: 260px;
        font-size: 0.9rem;
    }
    
    .venue-name {
        font-size: 1.15rem;
    }
    
    .card-header,
    .card-body {
        padding: 1rem;
    }
    
    .card-footer {
        padding: 0.875rem 1rem;
    }
    
    .logo-img {
        height: 40px;
    }
    
    .footer-logo-img {
        height: 32px;
    }
    
    .click-hint {
        font-size: 0.8rem;
    }
}

/* ===== ENHANCED MOBILE RESPONSIVE BREAKPOINTS ===== */

/* Large mobile/small tablet (640px-767px) - 2 columns with proper spacing */
@media (min-width: 640px) and (max-width: 767px) {
    .day-cards {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
    }
    
    .event-card {
        min-height: 280px;
        padding: 18px;
    }
}

/* Medium mobile (480px-639px) - 2 columns optimized */
@media (min-width: 480px) and (max-width: 639px) {
    body {
        font-size: clamp(13px, 3.5vw, 15px);
    }
    
    .container {
        padding: 0 16px;
    }
    
    .day-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 14px !important;
        width: 100% !important;
    }
    
    .event-card {
        min-height: 280px;
        padding: 16px;
        font-size: 0.85rem;
    }
    
    .venue-name {
        font-size: clamp(0.95rem, 4vw, 1.1rem);
        line-height: 1.3;
    }
    
    .time-section,
    .address-section {
        font-size: clamp(0.75rem, 3vw, 0.85rem);
        padding: 10px;
        margin-bottom: 8px;
    }
    
    .calendar-badge,
    .notes-badge,
    .more-info-btn {
        font-size: 0.8rem;
        padding: 8px 12px;
    }
    
    .card-actions {
        gap: 8px;
    }
}

/* Small mobile (375px-479px) - 2 columns compact */
@media (min-width: 375px) and (max-width: 479px) {
    body {
        font-size: clamp(13px, 3.5vw, 14px);
    }
    
    .container {
        padding: 0 12px;
    }
    
    .day-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
        width: 100% !important;
    }
    
    .event-card {
        min-height: 260px;
        padding: 14px;
        font-size: 0.8rem;
    }
    
    .venue-name {
        font-size: clamp(0.9rem, 4vw, 1rem);
        line-height: 1.2;
    }
    
    .time-section,
    .address-section {
        font-size: clamp(0.7rem, 3vw, 0.8rem);
        padding: 8px;
        margin-bottom: 6px;
    }
    
    .calendar-badge,
    .notes-badge,
    .more-info-btn {
        font-size: 0.75rem;
        padding: 6px 10px;
    }
    
    .card-actions {
        gap: 6px;
    }
}

/* Very small mobile (under 375px) - Single column */
@media (max-width: 374px) {
    body {
        font-size: clamp(12px, 4vw, 14px);
    }
    
    .container {
        padding: 0 10px;
    }
    
    .day-cards {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
        width: 100% !important;
    }
    
    .event-card {
        min-height: 240px;
        padding: 14px;
        font-size: 0.8rem;
    }
    
    .venue-name {
        font-size: clamp(0.85rem, 4.5vw, 1rem);
    }
    
    .time-section,
    .address-section {
        font-size: clamp(0.7rem, 3.5vw, 0.8rem);
        padding: 8px;
    }
    
    .calendar-badge,
    .notes-badge,
    .more-info-btn {
        font-size: 0.75rem;
        padding: 6px 10px;
    }
    
    .hero h1 {
        font-size: clamp(1.25rem, 7vw, 1.75rem);
    }
    
    .hero-brand {
        font-size: clamp(1.25rem, 7vw, 1.75rem);
    }
    
    section {
        padding: 3rem 0;
    }
    
    .impact-grid,
    .help-grid,
    .donation-grid {
        grid-template-columns: 1fr;
    }
}

/* Floating Call Button */
.floating-call-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
    animation: float 3s ease-in-out infinite;
}

.call-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--action-color);
    color: var(--background-color);
    padding: 1rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: var(--shadow-action);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.call-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.call-btn:hover::before {
    left: 100%;
}

.call-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 10px 30px rgba(243, 156, 18, 0.4);
    background: var(--secondary-color);
    border-color: var(--primary-color);
}

.call-btn:active {
    transform: translateY(0) scale(1);
}

.call-btn i {
    font-size: 1.2rem;
    animation: pulse 2s infinite;
}

.call-text {
    font-weight: 700;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .floating-call-btn {
        bottom: 1rem;
        right: 1rem;
    }
    
    .call-btn {
        padding: 0.875rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .call-text {
        display: none;
    }
    
    .call-btn {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        justify-content: center;
        padding: 0;
    }
    
    .call-btn i {
        font-size: 1.5rem;
    }
}

/* FAQ Accordion */
.faq-section {
    padding: 2rem 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    margin-top: 2rem;
}

.faq-item {
    background: var(--glassmorphism);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glassmorphism-border);
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    overflow: hidden;
}

.faq-item:hover {
    box-shadow: var(--shadow-card);
    transform: translateY(-2px);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.5rem;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: clamp(0.95rem, 3vw, 1.1rem);
    font-weight: 600;
    color: var(--secondary-color);
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(243, 156, 18, 0.05);
}

.faq-question i {
    color: var(--primary-color);
    transition: transform 0.3s ease;
    font-size: 1rem;
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(243, 156, 18, 0.02);
}

.faq-answer.active {
    padding: 0 1.5rem 1.5rem;
    max-height: 1000px;
}

.faq-answer p {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: var(--text-color);
}

.faq-answer ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.faq-answer li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
    color: var(--text-color);
}

.faq-answer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.faq-answer a:hover {
    text-decoration: underline;
}

/* Useful Links Section */
.useful-links-section {
    padding: 2rem 0;
    background: var(--light-gray);
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.links-category {
    background: var(--glassmorphism);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glassmorphism-border);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
}

.links-category:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.links-category h3 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-size: clamp(1rem, 3vw, 1.2rem);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.links-category h3 i {
    color: var(--primary-color);
    font-size: 1.3rem;
}

.external-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.external-links li {
    margin-bottom: 0.75rem;
}

.external-links a {
    color: var(--text-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(243, 156, 18, 0.1);
    transition: all 0.3s ease;
}

.external-links a:hover {
    color: var(--primary-color);
    padding-left: 0.5rem;
}

.external-links a i {
    font-size: 0.8rem;
    opacity: 0.6;
}

/* Calendar Integration */
.calendar-dropdown {
    margin-top: 1rem;
    position: relative;
}

/* --- Buttons --- */
.calendar-btn,
.add-calendar-btn {
    color: white;
    border: none;
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: linear-gradient(135deg, #4A5568, #2d3748);
    width: 100%;
    line-height: 1.2;
}

@media (max-width: 768px) {
    .calendar-btn,
    .add-calendar-btn {
        padding: 8px 10px;
        font-size: 10px;
        gap: 4px;
    }
}

.calendar-btn:hover,
.add-calendar-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.calendar-btn.btn-added,
.add-calendar-btn.btn-added {
    background: linear-gradient(135deg, #48BB78, #38A169);
    cursor: default;
}

.calendar-btn:disabled,
.add-calendar-btn:disabled {
    cursor: not-allowed;
    opacity: 0.8;
}

.calendar-btn i {
    font-size: 1.1rem;
}

/* Calendar Modal */
.calendar-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.calendar-modal-backdrop.modal-visible {
    display: flex;
    animation: modalFadeIn 0.3s ease;
}

.calendar-modal {
    background: var(--background-color);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    width: 90%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.7) translateY(20px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.calendar-modal-backdrop.modal-visible .calendar-modal {
    transform: scale(1) translateY(0);
}

.calendar-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem 1rem;
    border-bottom: 1px solid rgba(243, 156, 18, 0.1);
}

.calendar-modal-header h3 {
    margin: 0;
    color: var(--secondary-color);
    font-size: 1.5rem;
}

.calendar-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-color);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.calendar-modal-close:hover {
    background: rgba(243, 156, 18, 0.1);
    color: var(--primary-color);
}

.calendar-modal-content {
    padding: 1.5rem 2rem 2rem;
}

.calendar-modal-event-details {
    background: rgba(243, 156, 18, 0.05);
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    line-height: 1.6;
}

.calendar-modal-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.calendar-modal-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    text-decoration: none;
    color: var(--text-color);
    border: 2px solid rgba(243, 156, 18, 0.1);
    border-radius: 8px;
    transition: all 0.2s ease;
    background: var(--light-gray);
}

.calendar-modal-option:hover {
    background: rgba(243, 156, 18, 0.1);
    border-color: var(--primary-color);
    transform: translateX(5px);
}

.calendar-modal-option i {
    font-size: 1.5rem;
    width: 30px;
    text-align: center;
}

.calendar-modal-option .fab-google {
    color: #4285F4;
}

.calendar-modal-option .fab-microsoft {
    color: #00A4EF;
}

.calendar-modal-option .fas-download {
    color: var(--success-color);
}

.calendar-option-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.calendar-option-text strong {
    font-size: 1rem;
    color: var(--secondary-color);
}

.calendar-option-text span {
    font-size: 0.85rem;
    color: var(--text-color);
    opacity: 0.8;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Mobile responsive */
@media (max-width: 768px) {
    .calendar-modal {
        width: 95%;
        height: 90vh;
        margin: 1rem;
        max-height: none;
    }
    
    .calendar-modal-header,
    .calendar-modal-content {
        padding: 1rem;
    }
    
    .calendar-modal-header h3 {
        font-size: 1.25rem;
    }
    
    .calendar-modal-options {
        gap: 1rem;
    }
    
    .calendar-modal-option {
        padding: 1.25rem;
        font-size: 1.1rem;
    }
    
    .search-container {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .near-me-btn {
        width: 100%;
        justify-content: center;
        padding: 1.25rem;
    }
    
    .feeding-distance {
        top: 0.5rem;
        right: 0.5rem;
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
    }
    
    .feeding-card {
        min-height: 280px;
    }
    
    .feeding-location-header {
        font-size: 1rem;
        padding: 0.75rem;
        min-height: 50px;
    }
    
    .feeding-address {
        font-size: 1rem;
        margin: 0.75rem 0 0.5rem 0;
        padding: 0 0.75rem;
        min-height: 40px;
    }
}

/* Touch-friendly interactions */
@media (hover: none) and (pointer: coarse) {
    .feeding-card:hover {
        transform: none;
        box-shadow: var(--shadow-card);
        border-color: rgba(243, 156, 18, 0.3);
    }
    
    .feeding-card:active {
        transform: translateY(-4px) scale(1.01);
    }
    
    .calendar-modal-option:hover {
        background: var(--light-gray);
        transform: none;
    }
    
    .calendar-modal-option:active {
        background: rgba(243, 156, 18, 0.1);
        transform: scale(0.98);
    }
}

/* Modal Styles */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: var(--z-modal-backdrop);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-backdrop.modal-visible {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    box-shadow: var(--shadow-card-hover);
}

.modal-backdrop.modal-visible .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-color);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s ease;
}

.modal-close:hover {
    background: var(--light-gray);
}

#info-modal-title,
#calendar-modal-title {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-size: 1.5rem;
    padding-right: 2rem;
}

.modal-info-section {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.modal-info-section:last-of-type {
    border-bottom: none;
}

.modal-info-section h3 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.modal-info-section p {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.modal-notes {
    background: #FFF3CD;
    padding: 0.75rem;
    border-radius: 6px;
    border-left: 4px solid #FFC107;
}

.modal-actions {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.modal-actions .btn {
    flex: 1;
    min-width: 150px;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-action-hover);
}

.btn-success {
    background: var(--success-color);
    color: white;
}

.btn-success:hover {
    background: #38a169;
    transform: translateY(-2px);
    box-shadow: var(--shadow-action-hover);
}

/* Calendar Options Styles */
.calendar-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.calendar-option {
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1rem;
}

.calendar-option:hover {
    background: var(--light-gray);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.calendar-option i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

/* Updated Card Styles */
.venue-name {
    font-size: 1.2rem;
    margin-top: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
}

/* Distance Badge Styling */
.feeding-distance {
    position: absolute !important;
    top: 0.75rem !important;
    right: 0.75rem !important;
    background: var(--success-color) !important;
    color: white !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    padding: 0.375rem 0.75rem !important;
    border-radius: 20px !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15) !important;
    z-index: 10 !important;
    display: block !important;
    white-space: nowrap !important;
}

.address-text {
    flex: 1;
    line-height: 1.4;
}

.calendar-badge {
    background: var(--success-color);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.calendar-badge:hover {
    background: #38a169;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.notes-badge {
    background: #FFF3CD;
    color: #856404;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.more-info-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.more-info-btn:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

/* Mobile Responsive Modal Styles */
@media (max-width: 640px) {
    .modal-content {
        width: 95%;
        padding: 1.5rem;
        max-height: 90vh;
    }
    
    #info-modal-title,
    #calendar-modal-title {
        font-size: 1.25rem;
    }
    
    .modal-actions {
        flex-direction: column;
    }
    
    .modal-actions .btn {
        width: 100%;
    }
}

/* ===== COMPREHENSIVE FOOTER STYLING ===== */

footer {
    background: var(--primary-color);
    color: white;
    margin-top: 4rem;
    padding: 3rem 0 1rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-section h4 {
    color: white;
    font-size: clamp(1rem, 3vw, 1.2rem);
    font-weight: 600;
    margin-bottom: 0.5rem;
    border-bottom: 2px solid var(--success-color);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(0.85rem, 2.5vw, 1rem);
    line-height: 1.6;
    margin: 0.25rem 0;
}

/* Footer Logo Section */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo-img {
    height: 48px;
    width: auto;
    border-radius: 6px;
}

.footer-logo h4 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
    border: none;
    padding: 0;
}

/* Footer Navigation Lists */
.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-section ul li {
    margin: 0;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-weight: 400;
    transition: all 0.3s ease;
    display: block;
    padding: 0.25rem 0;
    border-left: 3px solid transparent;
    padding-left: 0.75rem;
}

.footer-section ul li a:hover {
    color: white;
    border-left-color: var(--success-color);
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(4px);
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.social-link {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    transition: all 0.3s ease;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.social-link:hover {
    background: var(--success-color);
    border-color: var(--success-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(72, 187, 120, 0.3);
}

.social-link:before {
    content: "📘";
    font-size: 1.1rem;
}

/* Footer Contact Section Enhancement */
.footer-section p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
}

.footer-section p:hover {
    color: white;
    cursor: pointer;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}

/* Footer Mobile Responsiveness */
@media (max-width: 768px) {
    footer {
        padding: 2rem 0 1rem 0;
        margin-top: 3rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer-section ul li a {
        text-align: center;
        border-left: none;
        border-bottom: 1px solid transparent;
        padding: 0.5rem;
        margin: 0.25rem 0;
        border-radius: 4px;
    }
    
    .footer-section ul li a:hover {
        transform: none;
        border-bottom-color: var(--success-color);
        background: rgba(255, 255, 255, 0.1);
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer-content {
        gap: 1.5rem;
    }
    
    .footer-section h4 {
        font-size: 1.1rem;
    }
    
    .footer-logo h4 {
        font-size: 1.2rem;
    }
    
    .footer-bottom p {
        font-size: 0.8rem;
        line-height: 1.6;
    }
    
    .social-link {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
}
/* CRITICAL FIXES FOR MOBILE AND NEAR ME FUNCTIONALITY */

/* Fix 1: Restore sticky headers */
.day-header {
    position: sticky !important;
    top: 70px !important; /* Reduced for mobile navbar */
    z-index: 500 !important; /* High but below modals */
    background: white !important;
}

@media (min-width: 769px) {
    .day-header {
        top: 80px !important;
    }
}

/* Fix 2: Ensure event cards are positioned correctly for distance badges */
.event-card,
.feeding-card {
    position: relative !important;
}

/* Fix 3: Ensure distance badge is always visible */
.feeding-distance {
    position: absolute !important;
    top: 8px !important;
    right: 8px !important;
    background: #48BB78 !important;
    color: white !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    padding: 4px 8px !important;
    border-radius: 12px !important;
    z-index: 20 !important;
    display: inline-block !important;
    line-height: 1 !important;
}

/* Fix 4: Prevent horizontal scroll issues */
#feeding-times {
    width: 100%;
    overflow-x: hidden;
}

.container {
    overflow-x: hidden;
    width: 100%;
    max-width: 1200px;
}

/* Fix 5: Adjust mobile menu button */
.mobile-menu-btn {
    display: block !important;
}

@media (min-width: 769px) {
    .mobile-menu-btn {
        display: none !important;
    }
}

/* Fix 6: Ensure cards have consistent aspect ratios on mobile */
@media (max-width: 767px) {
    .event-card {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    
    .card-body {
        flex-grow: 1;
        display: flex;
        flex-direction: column;
    }
    
    .card-footer {
        margin-top: auto;
    }
    
    .venue-name {
        word-wrap: break-word;
        hyphens: auto;
        overflow-wrap: break-word;
    }
}

/* Fix 7: Better text wrapping and overflow handling */
.event-card * {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.address-text {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

/* Fix for consistent card heights and better spacing */
.event-card,
.feeding-card {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important; /* Ensures the card fills the entire grid cell */
}

.card-body {
    flex-grow: 1 !important; /* Allows the main content area to expand, pushing the footer down */
    display: flex !important;
    flex-direction: column !important;
}

.card-footer {
    margin-top: auto !important; /* Pushes footer to bottom of card */
}

/* Better spacing between filter buttons and first section */
.day-section:first-child {
    margin-top: 2.5rem;
}

.day-section {
    margin-bottom: 2.5rem;
}

/* Improved filter button spacing */
.filter-buttons {
    margin-bottom: 2.5rem !important;
}

/* ==============================================
   NEW CARD DESIGN - BLACK HEADER BADGES
   ============================================== */

/* Remove day sections completely */
.day-section,
.day-header {
    display: none !important;
}

/* Fix 1: Make header pill full width with rounded top corners */
.day-time-badge {
    background: #1A2332;
    color: white;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    text-align: left;
    letter-spacing: 0.3px;
    margin: 0;
    position: relative;
    
    /* CRITICAL FIXES */
    width: 100% !important; /* Override 95% width */
    margin-left: 0 !important;
    margin-right: 0 !important;
    border-radius: 12px 12px 0 0 !important; /* Rounded top corners only */
}

/* Fix 2: Ensure card-content has proper width but NOT the header */
.card-content {
    padding: 20px;
    width: 100% !important; /* Full width container */
}

/* Apply 95% width ONLY to content children, not header */
.card-content > * {
    width: 95%;
    margin-left: auto;
    margin-right: auto;
}

/* Fix 3: Remove bottom spacing from cards */
.event-card {
    position: relative;
    background: white;
    border-radius: 12px;
    padding: 0 !important;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #E2E8F0;
    transition: all 0.3s ease;
    margin: 0 !important; /* No margins */
    display: flex;
    flex-direction: column;
}

/* Fix 4: Tighter card grid spacing */
#feeding-times {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 14px !important; /* Reduced gap */
    padding: 15px 0;
}

/* Desktop: 3-4 cards per row */
@media (min-width: 1200px) {
    #feeding-times {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

/* Tablet: 2-3 cards per row */
@media (min-width: 768px) and (max-width: 1199px) {
    #feeding-times {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

/* Mobile venue header - stack elements vertically */
@media (max-width: 767px) {
    #feeding-times {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px !important;
        padding: 10px 5px;
    }
    
    .day-time-badge {
        padding: 10px 15px;
        font-size: 13px;
    }
    
    .card-content {
        padding: 15px;
    }
    
    .card-actions {
        gap: 8px;
    }
    
    .calendar-badge,
    .more-info-btn {
        font-size: 12px;
        padding: 8px;
        min-height: 38px;
    }
    
    .venue-header {
        display: flex;
        flex-direction: column !important; /* Stack vertically */
        align-items: flex-start;
        gap: 8px;
        margin-bottom: 12px;
        width: 100%;
    }
    
    .venue-header .venue-name {
        font-size: clamp(1rem, 4vw, 1.2rem);
        line-height: 1.2;
        width: 100%;
        margin: 0;
    }
    
    .venue-header .event-category-tag {
        background: #2d3748;
        color: white;
        padding: 4px 10px;
        border-radius: 20px;
        font-size: 11px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        align-self: flex-start;
        margin: 0;
    }
}

/* Small mobile screens - further adjustments */
@media (max-width: 480px) {
    .venue-header .venue-name {
        font-size: 0.95rem;
    }
    
    .venue-header .event-category-tag {
        font-size: 10px;
        padding: 3px 8px;
    }
}

/* Very small screens: allow 1 column if needed */
@media (max-width: 380px) {
    #feeding-times {
        grid-template-columns: 1fr;
    }
    
    .day-time-badge {
        font-size: 11px;
        padding: 8px 12px;
    }
    
    .card-content {
        padding: 12px;
    }
    
    .venue-name {
        font-size: 1rem;
    }
}

/* Desktop - keep horizontal layout */
@media (min-width: 768px) {
    .venue-header {
        display: flex;
        flex-direction: row; /* Side by side on desktop */
        justify-content: space-between;
        align-items: flex-start;
        gap: 10px;
        margin-bottom: 15px;
    }
}

/* ==============================================
   CARD WIDTH OPTIMIZATION - 95% WIDTH IMPLEMENTATION
   ============================================== */

/* Impact card content width optimization */
.impact-card h3,
.impact-card p {
    width: 95%;
    margin-left: auto;
    margin-right: auto;
}

/* Event card content sections with 95% width */
.event-card .card-header,
.event-card .card-body,
.event-card .card-footer {
    width: 95%;
    margin-left: auto;
    margin-right: auto;
}

/* Direct children of event cards - excluding absolute positioned elements */
.event-card > *:not(.feeding-distance) {
    width: 95%;
    margin-left: auto;
    margin-right: auto;
}

/* Venue header layout for new design */
.venue-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
}

.venue-header .venue-name {
    margin: 0;
    flex: 1;
}

.venue-header .event-category-tag {
    background: var(--secondary-color);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: clamp(10px, 2.5vw, 12px);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

/* Ensure venue name and event type use full available width */
.venue-name,
.event-type {
    width: 100%;
}

/* Time and address sections with proper width */
.time-section,
.address-section {
    width: 100%;
    box-sizing: border-box;
}

/* Fix 5: Remove any bottom padding from last elements */
.card-actions {
    display: flex;
    flex-direction: row !important;
    gap: 10px;
    margin-top: 16px;
    margin-bottom: 0 !important;
    align-items: stretch;
    min-height: 44px;
    width: 100%;
}

.card-content > *:last-child {
    margin-bottom: 0 !important;
}

/* Calendar button styling */
.calendar-badge {
    background: #48BB78;
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
    flex: 1;
    min-height: 44px;
}

/* More Info button styling */
.more-info-btn {
    background: #2D3748;
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
    flex: 1;
    min-height: 44px;
}

/* Notes badge when inline with buttons */
.notes-badge-inline {
    background: #FFF3CD;
    color: #856404;
    padding: 10px 16px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    flex: 1;
    text-align: center;
    min-height: 44px;
}

/* Remove old notes-badge styles */
.notes-badge {
    display: none !important;
}

/* Distance badge positioned in header */
.feeding-distance {
    position: absolute !important;
    top: 12px !important;
    right: 20px !important;
    background: #48BB78 !important;
    color: white !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    padding: 4px 8px !important;
    border-radius: 12px !important;
    z-index: 20 !important;
}

/* Ensure all cards use border-box sizing */
.feeding-card,
.event-card,
.impact-card {
    box-sizing: border-box;
}

/* Additional spacing for better visual breathing room */
.card-body > * {
    margin-bottom: 2px;
}

/* Maintain proper spacing in responsive layouts */
@media (max-width: 767px) {
    .event-card > *:not(.feeding-distance) {
        width: 95%;
    }
    
    .referral-badge,
    .walk-badge,
    .calendar-available,
    .notes-badge,
    .more-info-btn {
        width: calc(100% - 4px);
    }
}

/* Styling for the new "Near Me" distance badge in header */
.distance-badge {
    background-color: var(--success-color);
    color: white;
    padding: 0.25rem 0.6rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-left: auto; /* Pushes the badge to the right */
    flex-shrink: 0; /* Prevents the badge from shrinking */
}

.venue-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px; /* Adds space between title and badge */
    margin-top: 8px;
}

.venue-header .venue-name {
    margin: 0; /* Remove default margins */
    flex-grow: 1; /* Allow venue name to take available space */
}

/* ===== MODERN PAGE STYLES ===== */

/* Page Hero Section */
.page-hero {
    background: linear-gradient(135deg, #1a2332 0%, #2d3748 100%);
    color: white;
    padding: 4rem 0 3rem;
    text-align: center;
}

.page-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-hero .hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Modern Card Grid System */
.donation-grid,
.volunteer-grid,
.contact-grid,
.details-grid,
.info-grid,
.ways-grid,
.contact-cards {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    margin-top: 2rem;
}

/* Modern Card Design */
.donation-card,
.volunteer-card,
.contact-card,
.detail-card,
.info-card,
.way-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.donation-card:hover,
.volunteer-card:hover,
.contact-card:hover,
.detail-card:hover,
.info-card:hover,
.way-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* Card Icons */
.card-icon,
.detail-icon,
.info-icon,
.contact-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

/* Card Titles */
.donation-card h3,
.volunteer-card h3,
.contact-card h3,
.detail-card h3,
.info-card h3,
.way-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1a2332;
}

/* Card Content */
.donation-card p,
.volunteer-card p,
.contact-card p,
.detail-card p,
.info-card p,
.way-card p {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Button Styles for Cards */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #007a74 0%, #005c57 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 122, 116, 0.3);
}

.btn-secondary {
    background: white;
    color: #007a74;
    border: 2px solid #007a74;
}

.btn-secondary:hover {
    background: #007a74;
    color: white;
    transform: translateY(-2px);
}

/* Form Modernization */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.2s ease;
    background: white;
    font-family: 'Inter', sans-serif;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #007a74;
    box-shadow: 0 0 0 3px rgba(0, 122, 116, 0.1);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

/* Special Card Styles */
.bank-transfer {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border-left: 4px solid #007a74;
}

.paypal {
    background: linear-gradient(135deg, #fff5f5 0%, #fed7d7 100%);
    border-left: 4px solid #e53e3e;
}

.wishlist {
    background: linear-gradient(135deg, #fffaf0 0%, #feebc8 100%);
    border-left: 4px solid #dd6b20;
}

/* Bank Details Styling */
.bank-details {
    background: rgba(255, 255, 255, 0.8);
    padding: 1.5rem;
    border-radius: 12px;
    margin-top: 1rem;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-row .label {
    font-weight: 600;
    color: #4a5568;
}

.detail-row .value {
    font-weight: 700;
    color: #1a2332;
    font-family: 'Courier New', monospace;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: background 0.2s ease;
}

.detail-row .value:hover {
    background: #f7fafc;
}

/* Reference Note */
.reference-note {
    margin-top: 1rem;
    padding: 1rem;
    background: #f0fff4;
    border-radius: 8px;
    border-left: 4px solid #38a169;
}

.reference-note p {
    margin: 0.5rem 0;
    color: #2f855a;
}

/* Contact Link Styling */
.contact-link {
    font-size: 1.2rem;
    font-weight: 700;
    color: #007a74;
    text-decoration: none;
    margin-bottom: 0.5rem;
    display: block;
}

.contact-link:hover {
    color: #005c57;
}

/* Call Now Button */
.call-now-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #38a169 0%, #2f855a 100%);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    margin-top: 1rem;
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px rgba(56, 161, 105, 0.3);
}

.call-now-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(56, 161, 105, 0.4);
}

.phone-number {
    display: block;
    font-size: 1.2rem;
    font-family: 'Courier New', monospace;
}

/* Important Notice */
.important-notice,
.appointment-notice {
    background: linear-gradient(135deg, #fffaf0 0%, #feebc8 100%);
    border: 1px solid #f6ad55;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.important-notice h3,
.appointment-notice h3 {
    color: #c05621;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.opening-hours {
    background: #2b77ad !important;
    border: 2px solid #1a365d;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    text-align: center;
    box-shadow: 0 4px 15px rgba(43, 119, 173, 0.2);
}

.opening-hours h4 {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
}

/* Giving Examples */
.giving-examples {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.example {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    text-align: center;
    transition: all 0.2s ease;
}

.example:hover {
    border-color: #007a74;
    transform: translateY(-3px);
}

.example strong {
    display: block;
    font-size: 1.3rem;
    color: #007a74;
    margin-bottom: 0.5rem;
}

.example span {
    color: #4a5568;
    font-size: 0.9rem;
}

/* Social Buttons */
.social-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.social-btn.facebook {
    background: #4267b2;
    color: white;
}

.social-btn.facebook:hover {
    background: #365899;
    transform: translateY(-2px);
}

/* Section Spacing */
.donation-options,
.volunteer-main,
.food-bank-info,
.food-bank-details,
.contact-main {
    padding: 4rem 0;
}

.donation-info,
.regular-giving,
.other-ways {
    padding: 3rem 0;
    background: #f7fafc;
}

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

@media (max-width: 768px) {
    /* Page Hero Mobile */
    .page-hero {
        padding: 2.5rem 0 2rem;
    }
    
    .page-hero h1 {
        font-size: 2.2rem;
    }
    
    .page-hero .hero-subtitle {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
    
    /* Card Grids Mobile */
    .donation-grid,
    .volunteer-grid,
    .contact-grid,
    .details-grid,
    .info-grid,
    .ways-grid,
    .contact-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 1.5rem;
    }
    
    /* Cards Mobile */
    .donation-card,
    .volunteer-card,
    .contact-card,
    .detail-card,
    .info-card,
    .way-card {
        padding: 1.5rem;
        border-radius: 12px;
    }
    
    /* Button Mobile */
    .btn {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        width: 100%;
        justify-content: center;
    }
    
    .call-now-btn {
        padding: 1.2rem 2rem;
        font-size: 1rem;
        width: 100%;
        justify-content: center;
        text-align: center;
    }
    
    /* Form Mobile */
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 1rem;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    /* Giving Examples Mobile */
    .giving-examples {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* Section Spacing Mobile */
    .donation-options,
    .volunteer-main,
    .food-bank-info,
    .food-bank-details,
    .contact-main {
        padding: 2.5rem 0;
    }
    
    .donation-info,
    .regular-giving,
    .other-ways {
        padding: 2rem 0;
    }
    
    /* Social Buttons Mobile */
    .social-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .social-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    /* Extra small mobile adjustments */
    .page-hero h1 {
        font-size: 1.8rem;
    }
    
    .page-hero .hero-subtitle {
        font-size: 1rem;
    }
    
    .donation-card,
    .volunteer-card,
    .contact-card,
    .detail-card,
    .info-card,
    .way-card {
        padding: 1.25rem;
    }
    
    .card-icon,
    .detail-icon,
    .info-icon,
    .contact-icon {
        font-size: 2.5rem;
    }
    
    .call-now-btn {
        padding: 1rem 1.5rem;
        font-size: 0.95rem;
    }
}

/* Food Bank opening hours - dark grey background */
.appointment-notice .opening-hours h4 {
    background: #2D3748 !important; /* Dark grey background */
    color: white;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 1rem 0;
    box-shadow: 0 4px 12px rgba(26, 35, 50, 0.1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Cookie Consent Banner */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(26, 35, 50, 0.95);
    backdrop-filter: blur(10px);
    color: white;
    padding: 1rem 2rem;
    z-index: 10001;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    border-top: 3px solid var(--primary-color);
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.cookie-consent-text {
    flex: 1;
    min-width: 250px;
    font-size: 0.9rem;
    line-height: 1.4;
}

.cookie-consent-text h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
}

.cookie-consent-text p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
}

.cookie-consent-text a {
    color: #48BB78;
    text-decoration: underline;
}

.cookie-consent-text a:hover {
    color: #68D391;
}

.cookie-consent-buttons {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
}

.cookie-consent-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cookie-consent-btn.accept {
    background: #48BB78;
    color: white;
}

.cookie-consent-btn.accept:hover {
    background: #38A169;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(72, 187, 120, 0.3);
}

.cookie-consent-btn.decline {
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cookie-consent-btn.decline:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: rgba(255, 255, 255, 0.5);
}

.cookie-consent-btn.settings {
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(255, 255, 255, 0.3);
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
}

.cookie-consent-btn.settings:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: rgba(255, 255, 255, 0.5);
}

/* Cookie Settings Modal */
.cookie-settings-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 10002;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.cookie-settings-modal.show {
    display: flex;
}

.cookie-settings-content {
    background: white;
    border-radius: 12px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.cookie-settings-header {
    padding: 2rem 2rem 1rem 2rem;
    border-bottom: 1px solid #E2E8F0;
}

.cookie-settings-header h3 {
    margin: 0;
    color: var(--text-color);
    font-size: 1.4rem;
}

.cookie-settings-body {
    padding: 1.5rem 2rem;
}

.cookie-category {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #EDF2F7;
}

.cookie-category:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.cookie-category h4 {
    margin: 0;
    color: var(--text-color);
    font-size: 1.1rem;
}

.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 24px;
}

.cookie-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

input:checked + .cookie-slider {
    background-color: #48BB78;
}

input:checked + .cookie-slider:before {
    transform: translateX(26px);
}

.cookie-slider.disabled {
    background-color: #48BB78;
    cursor: not-allowed;
}

.cookie-category p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
}

.cookie-settings-footer {
    padding: 1rem 2rem 2rem 2rem;
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    border-top: 1px solid #E2E8F0;
}

.cookie-settings-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-settings-btn.primary {
    background: var(--primary-color);
    color: white;
}

.cookie-settings-btn.primary:hover {
    background: #0F1A27;
    transform: translateY(-2px);
}

.cookie-settings-btn.secondary {
    background: transparent;
    color: var(--text-color);
    border: 2px solid #E2E8F0;
}

.cookie-settings-btn.secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .cookie-consent {
        padding: 1rem;
    }
    
    .cookie-consent-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .cookie-consent-text {
        min-width: auto;
    }
    
    .cookie-consent-buttons {
        justify-content: center;
        width: 100%;
    }
    
    .cookie-consent-btn {
        flex: 1;
        min-width: 120px;
    }
    
    .cookie-settings-content {
        margin: 1rem;
        max-height: 90vh;
    }
    
    .cookie-settings-header,
    .cookie-settings-body,
    .cookie-settings-footer {
        padding: 1.5rem;
    }
    
    .cookie-settings-footer {
        flex-direction: column;
    }
    
    .cookie-settings-btn {
        width: 100%;
    }
}

/* ========================================
   GREATER MANCHESTER FOOD BANKS STYLES
   ======================================== */

/* Status Colors */
:root {
    --status-open: #48BB78;
    --status-opening-soon: #ED8936;
    --status-closed: #9CA3AF;
    --distance-color: #6B7280;
}

/* Food Bank Header */
.foodbank-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #2A3B4D 100%);
    color: white;
    padding: 3rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.foodbank-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M30 30c0-11.046-8.954-20-20-20s-20 8.954-20 20 8.954 20 20 20 20-8.954 20-20zm0 0c0-11.046 8.954-20 20-20s20 8.954 20 20-8.954 20-20 20-20-8.954-20-20z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
    pointer-events: none;
}

.header-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.header-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, #ffffff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header-description {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Region Switcher */
.region-switcher {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    justify-content: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.region-btn {
    flex: 1;
    max-width: 280px;
    padding: 1rem 1.5rem;
    border: var(--border-button) solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    font-family: inherit;
    position: relative;
    overflow: hidden;
}

.region-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.region-btn:hover::before {
    left: 100%;
}

.region-btn.active {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

.region-btn:hover:not(.active) {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.region-name {
    display: block;
    font-weight: 600;
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    margin-bottom: 0.25rem;
    line-height: 1.2;
}

.region-count {
    display: block;
    font-size: clamp(0.8rem, 2vw, 0.875rem);
    opacity: 0.8;
    line-height: 1.2;
}

.header-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 1;
    color: #FFF;
}

.stat-label {
    display: block;
    font-size: clamp(0.875rem, 2vw, 1rem);
    opacity: 0.8;
    margin-top: 0.25rem;
}

/* Search and Filters */
.search-filters-section {
    background: var(--background-color);
    padding: 2rem 0;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 80px;
    z-index: 900;
}

.search-container {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: center;
}

.search-bar {
    flex: 1;
    position: relative;
    max-width: 500px;
}

.search-bar input {
    width: 100%;
    padding: 0.875rem 1rem 0.875rem 3rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    background: white;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.search-bar input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: var(--shadow-hover);
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--secondary-color);
    opacity: 0.6;
    pointer-events: none;
}

.clear-search {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--secondary-color);
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    transition: all 0.2s ease;
}

.clear-search:hover {
    background: var(--light-gray);
}

.location-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.875rem 1.5rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    white-space: nowrap;
}

.location-btn:hover {
    background: #0F1A27;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.location-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.location-btn.location-active {
    background: var(--success-color);
}

.location-btn.location-active:hover {
    background: #38A169;
}

/* Quick Filters */
.quick-filters {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.quick-filter {
    background: white;
    border: 2px solid var(--border-color);
    color: var(--text-color);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.quick-filter:hover {
    border-color: var(--primary-color);
    transform: translateY(-1px);
}

.quick-filter.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* Advanced Filters */
.advanced-filters {
    display: none;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.filter-group {
    flex: 1;
    min-width: 180px;
}

.filter-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.filter-group select {
    width: 100%;
    padding: 0.625rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background: white;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.filter-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.filters-toggle {
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.filters-toggle:hover {
    background: var(--light-gray);
}

/* Results Section */
.results-section {
    padding: 2rem 0;
    min-height: 60vh;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.results-count {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-color);
}

.location-status {
    font-size: 0.875rem;
    color: var(--secondary-color);
    font-weight: 400;
    margin-left: 0.5rem;
}

.view-toggle {
    background: white;
    border: 2px solid var(--border-color);
    padding: 0.5rem;
    border-radius: 8px;
    cursor: pointer;
    color: var(--secondary-color);
    transition: all 0.3s ease;
}

.view-toggle:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Loading State */
.loading-container {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 0;
    color: var(--secondary-color);
}

.loading-container .loading-spinner {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 3rem 0;
    color: var(--secondary-color);
}

.no-results-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.no-results h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.no-results p {
    margin-bottom: 2rem;
}

/* Food Banks Grid */
.foodbanks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* Food Bank Card */
.foodbank-card {
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
    overflow: hidden;
    border: 1px solid var(--border-color);
    position: relative;
}

.foodbank-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem 0;
}

.status-badge {
    padding: 0.375rem 0.875rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.open {
    background: rgba(72, 187, 120, 0.15);
    color: var(--status-open);
    border: 1px solid var(--status-open);
}

.status-badge.opening-soon {
    background: rgba(237, 137, 54, 0.15);
    color: var(--status-opening-soon);
    border: 1px solid var(--status-opening-soon);
}

.status-badge.closed {
    background: rgba(156, 163, 175, 0.15);
    color: var(--status-closed);
    border: 1px solid var(--status-closed);
}

.distance {
    font-size: 0.75rem;
    color: var(--distance-color);
    font-weight: 600;
    background: var(--light-gray);
    padding: 0.25rem 0.625rem;
    border-radius: 12px;
}

.card-content {
    padding: 0 1.25rem 1.25rem;
}

.foodbank-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0.75rem 0 0.5rem;
    line-height: 1.3;
}

.foodbank-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--secondary-color);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.foodbank-location i {
    opacity: 0.6;
}

.card-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-color);
}

.detail-item i {
    width: 16px;
    opacity: 0.6;
    color: var(--secondary-color);
}

/* Service Icons */
.services-icons {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.service-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.service-icon.active {
    background: rgba(26, 35, 50, 0.1);
    color: var(--primary-color);
}

.service-icon.inactive {
    background: var(--light-gray);
    color: var(--status-closed);
    opacity: 0.5;
}

.card-address {
    font-size: 0.875rem;
    color: var(--secondary-color);
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

.next-opening {
    font-size: 0.75rem;
    color: var(--status-opening-soon);
    font-weight: 600;
    background: rgba(237, 137, 54, 0.1);
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    text-align: center;
    margin-bottom: 1rem;
}

/* Card Actions */
.card-actions {
    display: flex;
    gap: 0.75rem;
    padding: 0 1.25rem 1.25rem;
}

.card-actions .btn {
    flex: 1;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: none;
    cursor: pointer;
}

.btn.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn.btn-primary:hover {
    background: #0F1A27;
    transform: translateY(-1px);
}

.btn.btn-outline {
    background: transparent;
    color: var(--text-color);
    border: 2px solid var(--border-color);
}

.btn.btn-outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-1px);
}

.btn.btn-link {
    background: transparent;
    color: var(--primary-color);
    border: none;
    text-decoration: none;
}

.btn.btn-link:hover {
    text-decoration: underline;
}

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

.load-more-container .btn {
    padding: 1rem 2rem;
    font-size: 1rem;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: var(--z-modal-backdrop);
    padding: 1rem;
}

.modal-content {
    background: white;
    border-radius: 16px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-hover);
    animation: fadeInUp 0.3s ease;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--light-gray);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1;
}

.modal-close:hover {
    background: var(--border-color);
    transform: scale(1.1);
}

.modal-body {
    padding: 2rem;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding-right: 3rem;
}

.modal-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0;
    line-height: 1.3;
}

.modal-section {
    margin-bottom: 2rem;
}

.modal-section h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--light-gray);
}

.modal-section h3 i {
    color: var(--primary-color);
}

.modal-address {
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.contact-item i {
    width: 20px;
    color: var(--primary-color);
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact-item a:hover {
    text-decoration: underline;
}

.distance-info {
    background: var(--light-gray);
    padding: 0.75rem;
    border-radius: 8px;
    font-size: 0.875rem;
    color: var(--text-color);
    margin-top: 1rem;
}

/* Opening Hours */
.opening-hours {
    background: var(--light-gray);
    border-radius: 8px;
    overflow: hidden;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid white;
}

.hours-row:last-child {
    border-bottom: none;
}

.hours-row.open {
    background: rgba(72, 187, 120, 0.1);
}

.hours-row.closed {
    opacity: 0.6;
}

.day {
    font-weight: 600;
    color: var(--text-color);
}

.times {
    color: var(--secondary-color);
    font-weight: 500;
}

.time-notes {
    margin-top: 1rem;
    padding: 0.75rem;
    background: rgba(237, 137, 54, 0.1);
    border-radius: 8px;
    font-size: 0.875rem;
    color: var(--text-color);
}

/* Services List */
.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--light-gray);
    border-radius: 8px;
}

.service-item i {
    color: var(--success-color);
}

.service-description {
    margin-top: 1rem;
    padding: 1rem;
    background: var(--light-gray);
    border-radius: 8px;
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--text-color);
}

/* Access Info */
.access-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.info-item {
    display: flex;
    gap: 0.75rem;
    font-size: 0.875rem;
}

.info-item strong {
    min-width: 120px;
    color: var(--text-color);
}

/* Modal Actions */
.modal-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.modal-actions .btn {
    flex: 1;
    min-width: 120px;
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow-hover);
    z-index: 10001;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Error Message */
.error-message {
    text-align: center;
    padding: 3rem 0;
    color: var(--secondary-color);
}

.error-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--error-color);
}

.error-message h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.error-message p {
    margin-bottom: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .foodbank-header {
        padding: 2rem 0 1.5rem;
    }
    
    .header-stats {
        gap: 2rem;
    }
    
    .region-switcher {
        flex-direction: column;
        gap: 0.75rem;
        margin-bottom: 1.5rem;
    }
    
    .region-btn {
        max-width: none;
        padding: 0.875rem 1rem;
    }
    
    .region-name {
        font-size: 1rem;
    }
    
    .region-count {
        font-size: 0.8rem;
    }
    
    .search-container {
        flex-direction: column;
        align-items: stretch;
    }
    
    .location-btn {
        justify-content: center;
    }
    
    .quick-filters {
        justify-content: center;
    }
    
    .advanced-filters {
        flex-direction: column;
    }
    
    .filter-group {
        min-width: auto;
    }
    
    .results-header {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .foodbanks-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .card-actions {
        flex-direction: column;
    }
    
    .modal-content {
        margin: 0;
        max-height: 100vh;
        border-radius: 0;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
    
    .modal-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding-right: 3rem;
    }
    
    .modal-actions {
        flex-direction: column;
    }
    
    .modal-actions .btn {
        flex: none;
    }
    
    .services-list {
        grid-template-columns: 1fr;
    }
    
    .access-info .info-item {
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .access-info .info-item strong {
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .search-filters-section {
        padding: 1.5rem 0;
    }
    
    .header-stats {
        gap: 1.5rem;
    }
    
    .stat-item {
        flex: 1;
        min-width: 80px;
    }
    
    .foodbank-card {
        border-radius: 12px;
    }
    
    .card-content,
    .card-actions {
        padding: 0 1rem 1rem;
    }
    
    .services-icons {
        gap: 0.5rem;
    }
    
    .service-icon {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .search-filters-section,
    .modal-close,
    .card-actions,
    .modal-actions {
        display: none !important;
    }
    
    body {
        padding-top: 0;
        background: white;
    }
    
    .foodbank-card,
    .modal-content {
        box-shadow: none;
        border: 1px solid #ccc;
        break-inside: avoid;
        margin-bottom: 1rem;
    }
    
    .foodbanks-grid {
        display: block;
    }
    
    .status-badge {
        background: transparent !important;
        border: 1px solid #333;
        color: #333 !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --border-color: #000;
        --text-color: #000;
        --secondary-color: #333;
        --background-color: #fff;
    }
    
    .foodbank-card {
        border: 2px solid #000;
    }
    
    .status-badge {
        border-width: 2px;
    }
    
    .btn {
        border-width: 2px;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        transition-delay: 0ms !important;
    }
    
    .foodbank-card:hover {
        transform: none;
    }
    
    .btn:hover {
        transform: none;
    }
}
