/* Volunteerly Frontend Styles - Matching app.volunteerly.dk */

/* Custom CSS Variables */
:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --info-color: #0dcaf0;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-family-display: 'Playfair Display', serif;
}

/* Notification Modal Styles */
.notification-modal .modal-content {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.notification-modal .notification-animation-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 120px;
}

.notification-modal .notification-lottie-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.notification-modal .notification-icon-fallback {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(0,0,0,0.05);
}

.notification-modal .notification-icon-large {
    font-size: 3rem;
    font-weight: bold;
}

.notification-modal.notification-success .notification-icon-large {
    color: var(--success-color);
}

.notification-modal.notification-error .notification-icon-large {
    color: var(--danger-color);
}

.notification-modal.notification-warning .notification-icon-large {
    color: var(--warning-color);
}

.notification-modal.notification-info .notification-icon-large {
    color: var(--info-color);
}

/* Full-width image styles */
.entry.event .entry-image {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    /* Safari iOS fixes */
    -webkit-transform: translateZ(0) !important;
    transform: translateZ(0) !important;
}

.entry.event .entry-image img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    /* Safari iOS fixes */
    -webkit-transform: translateZ(0) !important;
    transform: translateZ(0) !important;
}

/* Adjust negative margin based on screen size (number of columns) */
@media (max-width: 1199.98px) {
    .entry.event .position-relative {
        margin: -1rem -1rem 0 -1rem !important;
    }
}

@media (max-width: 991.98px) {
    .entry.event .position-relative {
        margin: -0.75rem -0.75rem 0 -0.75rem !important;
    }
}

@media (max-width: 767.98px) {
    .entry.event .position-relative {
        margin: -0.5rem -0.5rem 0 -0.5rem !important;
    }
}

/* Special fix for wide cards that stack into 1 column */
@media (min-width: 768px) and (max-width: 1199.98px) {
    .entry.event .position-relative {
        /* Use smaller margin for wide cards that don't fit 2 columns */
        margin: -0.5rem -0.5rem 0 -0.5rem !important;
    }
}

/* Ultra-wide cards (like 720px at 819px-862px screen) */
@media (min-width: 800px) and (max-width: 950px) {
    .entry.event .position-relative {
        /* Very conservative margin for ultra-wide cards - move calendar in significantly */
        margin: 0.125rem 0.125rem 0 0.125rem !important;
    }
}

/* Wide cards at xxl breakpoint (like 600px at 1230px-1330px screen) */
@media (min-width: 1200px) and (max-width: 1399px) {
    .entry.event .position-relative {
        /* Conservative margin for wide cards that don't fit 4 columns */
        margin: 0.25rem 0.25rem 0 0.25rem !important;
    }
}

/* Wide cards at xxxl breakpoint (like 600px at 1413px-1570px screen) */
@media (min-width: 1400px) and (max-width: 1600px) {
    .entry.event .position-relative {
        /* Very conservative margin for wide cards that don't fit 5+ columns */
        margin: 0.5rem 0.5rem 0 0.5rem !important;
    }
}

/* Calendar Container Styles */
.entry.event .calendar-container {
    position: absolute !important;
    bottom: 1rem !important;
    right: 1rem !important;
    z-index: 999 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    /* Safari iOS fixes */
    -webkit-transform: translateZ(0) !important;
    transform: translateZ(0) !important;
    -webkit-backface-visibility: hidden !important;
    backface-visibility: hidden !important;
    /* Force visibility */
    visibility: visible !important;
    opacity: 1 !important;
}

/* Event Date Badge Styles */
.entry.event .event-date-badge {
    width: 60px !important;
    height: 75px !important;
    background: #fff !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1) !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    position: relative !important;
    z-index: 10 !important;
}

.entry.event .event-date-badge .month {
    background: #dc3545 !important;
    color: white !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-align: center !important;
    padding: 4px 0 !important;
    line-height: 1 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    margin: 0 !important;
    border: none !important;
    height: 15px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.entry.event .event-date-badge .day {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 28px !important;
    font-weight: 700 !important;
    color: #222 !important;
    line-height: 1 !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    margin: 0 !important;
    border: none !important;
    background: #fff !important;
    height: 28px !important;
}

.entry.event .event-date-badge .day-of-week {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 10px !important;
    font-weight: 500 !important;
    color: #666 !important;
    line-height: 1 !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    margin: 0 !important;
    border: none !important;
    background: #fff !important;
    height: 12px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.3px !important;
}

.entry.event .event-date-badge .year {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 8px !important;
    font-weight: 500 !important;
    color: #888 !important;
    line-height: 1 !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    margin: 0 !important;
    border: none !important;
    background: #fff !important;
    height: 10px !important;
}

/* Event title adjustments */
.entry-title h4 {
    line-height: 1.3;
}

.entry-title a {
    color: var(--dark-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.entry-title a:hover {
    color: var(--primary-color);
}

/* Safari iOS specific fixes */
@supports (-webkit-touch-callout: none) {
    .entry.event .calendar-container {
        bottom: 0.5rem !important;
        right: calc(0.5rem + 3px) !important;
    }
}

/* Additional Safari iOS detection */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
    .entry.event .calendar-container {
        bottom: 0.5rem !important;
        right: calc(0.5rem + 3px) !important;
    }
}

/* iOS Safari specific */
@supports (-webkit-appearance: none) {
    .entry.event .calendar-container {
        bottom: 0.5rem !important;
        right: calc(0.5rem + 3px) !important;
        z-index: 9999 !important;
    }
}

/* Mobile text size improvements (covers iOS and Android) */
@media (max-width: 768px) {
    /* Target the exact HTML structure from JavaScript */
    .entry.event .p-4 .entry-title h4,
    .entry.event .p-4 .entry-title h4 a,
    .entry.event .grid-inner .p-4 .entry-title h4,
    .entry.event .grid-inner .p-4 .entry-title h4 a {
        font-size: 1.8rem !important;
        line-height: 1.3 !important;
        font-weight: 600 !important;
    }
    
    .entry.event .p-4 .entry-content p,
    .entry.event .grid-inner .p-4 .entry-content p {
        font-size: 1.4rem !important;
        line-height: 1.5 !important;
    }
    
    .entry.event .p-4 .entry-meta,
    .entry.event .p-4 .entry-meta a,
    .entry.event .p-4 .entry-meta ul li a,
    .entry.event .grid-inner .p-4 .entry-meta,
    .entry.event .grid-inner .p-4 .entry-meta a,
    .entry.event .grid-inner .p-4 .entry-meta ul li a {
        font-size: 1.2rem !important;
    }
    
    .entry.event .entry-meta .badge {
        font-size: 1.1rem !important;
        padding: 0.4rem 0.6rem !important;
    }
}

/* iOS specific text size improvements */
@supports (-webkit-touch-callout: none) {
    /* Target the exact HTML structure from JavaScript */
    .entry.event .p-4 .entry-title h4,
    .entry.event .p-4 .entry-title h4 a,
    .entry.event .grid-inner .p-4 .entry-title h4,
    .entry.event .grid-inner .p-4 .entry-title h4 a {
        font-size: 2rem !important;
        line-height: 1.3 !important;
        font-weight: 600 !important;
    }
    
    .entry.event .p-4 .entry-content p,
    .entry.event .grid-inner .p-4 .entry-content p {
        font-size: 1.5rem !important;
        line-height: 1.5 !important;
    }
    
    .entry.event .p-4 .entry-meta,
    .entry.event .p-4 .entry-meta a,
    .entry.event .p-4 .entry-meta ul li a,
    .entry.event .grid-inner .p-4 .entry-meta,
    .entry.event .grid-inner .p-4 .entry-meta a,
    .entry.event .grid-inner .p-4 .entry-meta ul li a {
        font-size: 1.3rem !important;
    }
    
    .entry.event .entry-meta .badge {
        font-size: 1.2rem !important;
        padding: 0.4rem 0.6rem !important;
    }
}

/* Additional iOS Safari text improvements */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
    @supports (-webkit-appearance: none) {
        .entry.event .entry-title h4,
        .entry.event .entry-title h4 a {
            font-size: 1.4rem !important;
            line-height: 1.3 !important;
        }
        
        .entry.event .entry-content p {
            font-size: 1.15rem !important;
            line-height: 1.5 !important;
        }
        
        .entry.event .entry-meta,
        .entry.event .entry-meta a {
            font-size: 1.05rem !important;
        }
        
        .entry.event .entry-meta .badge {
            font-size: 0.95rem !important;
            padding: 0.4rem 0.6rem !important;
        }
    }
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .entry.event .calendar-container {
        bottom: 0.75rem !important;
        right: calc(0.75rem + 3px) !important;
    }
    
    .entry.event .event-date-badge {
        width: 50px !important;
        height: 65px !important;
    }
    
    .entry.event .event-date-badge .month {
        font-size: 10px !important;
        padding: 3px 0 !important;
        height: 12px !important;
    }
    
    .entry.event .event-date-badge .day {
        font-size: 20px !important;
        height: 22px !important;
    }
    
    .entry.event .event-date-badge .day-of-week {
        font-size: 9px !important;
        height: 10px !important;
    }
    
    .entry.event .event-date-badge .year {
        font-size: 7px !important;
        height: 8px !important;
    }
}

@media (max-width: 576px) {
    .entry.event .calendar-container {
        bottom: 0.5rem !important;
        right: calc(0.5rem + 3px) !important;
    }
    
    .entry.event .event-date-badge {
        width: 45px !important;
        height: 60px !important;
    }
    
    .entry.event .event-date-badge .month {
        font-size: 9px !important;
        padding: 2px 0 !important;
        height: 11px !important;
    }
    
    .entry.event .event-date-badge .day {
        font-size: 18px !important;
        height: 20px !important;
    }
    
    .entry.event .event-date-badge .day-of-week {
        font-size: 8px !important;
        height: 9px !important;
    }
    
    .entry.event .event-date-badge .year {
        font-size: 6px !important;
        height: 7px !important;
    }
    
}

/* Base Styles */
body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--dark-color);
}

/* Header Styles */
#header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: relative;
    z-index: 1000;
}

.header-row {
    padding: 1rem 0;
}

#logo img,
#logo .logo-default,
.logo-default,
img.logo-default {
    max-height: 53px !important;
    height: 53px !important;
    width: auto !important;
}

.primary-menu .menu-container {
    gap: 1rem;
}

.primary-menu .menu-link {
    color: var(--dark-color);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.primary-menu .menu-link:hover {
    color: var(--primary-color);
}

/* Hamburger Menu */
.cnvs-hamburger {
    background: none;
    border: none;
    padding: 0;
    width: 30px;
    height: 30px;
    position: relative;
    cursor: pointer;
}

.cnvs-hamburger-box {
    width: 100%;
    height: 100%;
    display: block;
    position: relative;
}

.cnvs-hamburger-inner {
    display: block;
    top: 50%;
    margin-top: -2px;
}

.cnvs-hamburger-inner,
.cnvs-hamburger-inner::before,
.cnvs-hamburger-inner::after {
    width: 100%;
    height: 4px;
    background-color: var(--dark-color);
    border-radius: 2px;
    position: absolute;
    transition: transform 0.3s ease;
}

.cnvs-hamburger-inner::before,
.cnvs-hamburger-inner::after {
    content: '';
    display: block;
}

.cnvs-hamburger-inner::before {
    top: -8px;
}

.cnvs-hamburger-inner::after {
    bottom: -8px;
}

/* Hamburger Animation */
.cnvs-hamburger.active .cnvs-hamburger-inner {
    background-color: transparent;
}

.cnvs-hamburger.active .cnvs-hamburger-inner::before {
    top: 0;
    transform: rotate(45deg);
}

.cnvs-hamburger.active .cnvs-hamburger-inner::after {
    bottom: 0;
    transform: rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid #e9ecef;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 999;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-menu a {
    color: var(--dark-color);
    font-weight: 500;
}

.mobile-menu a:hover {
    color: var(--primary-color);
}

/* Hero Section */
#slider {
    position: relative;
    min-height: 40vh;
    display: flex;
    align-items: flex-end;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

.slider-inner {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
}

.promo {
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 2rem;
}

.promo h3 {
    font-family: var(--font-family-display);
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.promo span {
    font-size: 1.2rem;
    opacity: 0.8;
}

/* Content Section */
.content-wrap {
    padding: 4rem 0;
}

/* Ensure proper container spacing */
.container {
    max-width: 1200px;
}

/* Make events container much wider for large screens */
@media (min-width: 2500px) {
    .container {
        max-width: 2500px !important;
    }
}

@media (min-width: 2000px) and (max-width: 2499.98px) {
    .container {
        max-width: 2000px !important;
    }
}

@media (min-width: 1600px) and (max-width: 1999.98px) {
    .container {
        max-width: 1600px !important;
    }
}

@media (min-width: 1200px) and (max-width: 1599.98px) {
    .container {
        max-width: 1200px !important;
    }
}

/* Responsive container padding */
@media (max-width: 767.98px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Event Cards - Uniform Height */
.entry.event {
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
}

.entry.event .grid-inner {
    height: 100%;
    min-height: 450px;
    display: flex !important;
    flex-direction: column !important;
    width: 100%;
}

/* Let Bootstrap handle the grid layout naturally */

/* Remove Bootstrap column overrides - let Bootstrap handle the grid */

/* Responsive minimum heights */
@media (max-width: 768px) {
    .entry.event .grid-inner {
        min-height: 400px;
    }
}

@media (min-width: 769px) and (max-width: 1199px) {
    .entry.event .grid-inner {
        min-height: 450px;
    }
}

@media (min-width: 1200px) {
    .entry.event .grid-inner {
        min-height: 500px;
    }
}

/* Custom 5-column breakpoint at 2500px */
@media (min-width: 2500px) {
    .entry.event.col-xxxl-2 {
        flex: 0 0 20% !important;
        max-width: 20% !important;
        margin-bottom: 1.5rem;
    }
    
    /* Optimize card content for 5-column layout */
    .entry.event .grid-inner {
        padding: 1.5rem !important;
    }
    
    .entry.event .entry-title h4 {
        font-size: 1.1rem;
        line-height: 1.3;
    }
    
    .entry.event .entry-content {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    .entry.event .entry-meta {
        font-size: 0.8rem;
    }
    
    .entry.event .entry-image img {
        height: 160px;
        object-fit: cover;
    }
    
    /* Ensure consistent card heights */
    .entry.event .grid-inner {
        height: 100%;
        display: flex;
        flex-direction: column;
    }
    
    .entry.event .entry-content {
        flex-grow: 1;
        max-height: 160px;
    }
}

/* Custom 4-column breakpoint at 2000px */
@media (min-width: 2000px) and (max-width: 2499.98px) {
    .entry.event.col-xxl-3 {
        flex: 0 0 25% !important;
        max-width: 25% !important;
        margin-bottom: 1.75rem;
    }
    
    /* Optimize card content for 4-column layout */
    .entry.event .grid-inner {
        padding: 2rem !important;
    }
    
    .entry.event .entry-title h4 {
        font-size: 1.25rem;
        line-height: 1.3;
    }
    
    .entry.event .entry-content {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .entry.event .entry-meta {
        font-size: 0.9rem;
    }
    
    .entry.event .entry-image img {
        height: 200px;
        object-fit: cover;
    }
    
    /* Ensure consistent card heights */
    .entry.event .grid-inner {
        height: 100%;
        display: flex;
        flex-direction: column;
    }
    
    .entry.event .entry-content {
        flex-grow: 1;
        max-height: 180px;
    }
}

/* Custom 3-column breakpoint at 1600px */
@media (min-width: 1600px) and (max-width: 1999.98px) {
    .entry.event.col-xl-4 {
        flex: 0 0 33.333333% !important;
        max-width: 33.333333% !important;
        margin-bottom: 1.75rem;
    }
    
    /* Optimize card content for 3-column layout */
    .entry.event .grid-inner {
        padding: 1.75rem !important;
    }
    
    .entry.event .entry-title h4 {
        font-size: 1.2rem;
        line-height: 1.3;
    }
    
    .entry.event .entry-content {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .entry.event .entry-meta {
        font-size: 0.9rem;
    }
    
    .entry.event .entry-image img {
        height: 180px;
        object-fit: cover;
    }
    
    /* Ensure consistent card heights */
    .entry.event .grid-inner {
        height: 100%;
        display: flex;
        flex-direction: column;
    }
    
    .entry.event .entry-content {
        flex-grow: 1;
        max-height: 170px;
    }
}

/* 2-column layout for screens 992px to 1599px */
@media (min-width: 992px) and (max-width: 1599.98px) {
    .entry.event.col-lg-6 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
}

/* Responsive spacing */
@media (min-width: 1200px) and (max-width: 1599.98px) {
    .entry.event {
        margin-bottom: 2rem;
    }
}

@media (max-width: 1199.98px) {
    .entry.event {
        margin-bottom: 2rem;
    }
}

@media (max-width: 991.98px) {
    .entry.event {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 767.98px) {
    .entry.event {
        margin-bottom: 1.25rem;
    }
}

.grid-inner {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    overflow: hidden;
    height: 100%;
}

.grid-inner:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.entry-image {
    display: block;
    overflow: hidden;
}

.entry-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
    background-color: #f8f9fa;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%236c757d" stroke-width="2"><rect x="3" y="3" width="18" height="18" rx="2" ry="2"/><circle cx="8.5" cy="8.5" r="1.5"/><polyline points="21,15 16,10 5,21"/></svg>');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 48px 48px;
}

.entry-image:hover img {
    transform: scale(1.05);
}

.entry-meta {
    margin-bottom: 0.5rem;
}

.entry-meta ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.entry-meta li {
    display: inline;
}

.entry-meta a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
}

.entry-title h4 {
    margin-bottom: 1rem;
}

.entry-title a {
    color: var(--dark-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.25rem;
    line-height: 1.3;
}

.entry-title a:hover {
    color: var(--primary-color);
}

.entry-content {
    color: var(--secondary-color);
    font-size: 0.95rem;
    line-height: 1.6;
    max-height: 280px !important;
    overflow: hidden;
    position: relative;
}

.entry-content::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 20px;
    background: linear-gradient(transparent, white);
    pointer-events: none;
}

.entry-content p {
    margin-bottom: 1rem;
}

.entry-content p:last-child {
    margin-bottom: 0;
}

/* Footer */
#footer {
    background: var(--dark-color);
    color: white;
    padding: 3rem 0 2rem;
}

#footer h5 {
    color: white;
    margin-bottom: 1rem;
}

#footer .text-white-50 {
    color: rgba(255,255,255,0.7) !important;
}

/* Modal Styles */
.modal-content {
    border-radius: 1rem;
    border: none;
    box-shadow: 0 20px 25px rgba(0,0,0,0.15);
}

.modal-header {
    border-bottom: 1px solid #e9ecef;
    padding: 1.5rem;
}

.modal-body {
    padding: 1.5rem;
}

/* Form Styles */
.form-label {
    font-weight: 500;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.form-control,
.form-select {
    border-radius: 0.5rem;
    border: 1px solid #ced4da;
    padding: 0.75rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

/* Button Styles */
.btn {
    border-radius: 0.5rem;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

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

.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
}

.btn-outline-dark {
    border-color: var(--dark-color);
    color: var(--dark-color);
}

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

/* Loading Spinner */
.spinner-border {
    width: 3rem;
    height: 3rem;
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .primary-menu {
        display: none !important;
    }
    
    .primary-menu-trigger {
        display: block !important;
    }
    
    .promo h3 {
        font-size: 2rem;
    }
    
    .promo span {
        font-size: 1rem;
    }
    
    #slider {
        min-height: 35vh;
    }
}

@media (max-width: 767.98px) {
    .content-wrap {
        padding: 2rem 0;
    }
    
    .promo {
        padding: 1.5rem;
    }
    
    .promo h3 {
        font-size: 1.75rem;
    }
    
    .entry-content {
        max-height: 200px;
    }
    
    #slider {
        min-height: 30vh;
    }
}

/* Button Styles for Volunteer Modal */
.button {
    display: inline-block;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: transparent;
}

.button-rounded {
    border-radius: 25px;
}

.button-border {
    border: 2px solid;
}

.button-light {
    color: #ffffff;
    border-color: #ffffff;
    background: transparent;
}

.button-light:hover {
    color: #000000;
    background: #ffffff;
    border-color: #ffffff;
}

/* Volunteer Modal Styles */
#volunteerModal .modal-dialog {
    max-width: 1000px !important;
    width: 1000px !important;
}

/* Responsive modal sizing */
@media (max-width: 1100px) {
    #volunteerModal .modal-dialog {
        max-width: 95vw !important;
        width: 95vw !important;
    }
}

@media (max-width: 768px) {
    #volunteerModal .modal-dialog {
        max-width: 100vw !important;
        width: 100vw !important;
        margin: 0 !important;
    }
}

#volunteerModal .modal-content {
    border-radius: 15px;
    overflow: hidden;
}

#volunteerModal .block {
    position: relative;
}

#volunteerModal .block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

#volunteerModal .row {
    position: relative;
    z-index: 2;
}

#volunteerModal .col-7:first-child {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
}

#volunteerModal .form-control {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
}

#volunteerModal .form-control:focus {
    background: rgba(255, 255, 255, 1);
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

#volunteerModal .form-control.is-valid {
    border-color: #28a745;
    background: rgba(40, 167, 69, 0.1);
}

#volunteerModal .form-control.is-invalid {
    border-color: #dc3545;
    background: rgba(220, 53, 69, 0.1);
}

#volunteerModal .form-control.is-loading {
    border-color: #ffc107;
    background: rgba(255, 193, 7, 0.1);
    position: relative;
}

#volunteerModal .form-control.is-loading::after {
    content: '';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    border: 2px solid #ffc107;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Custom Notification System */
.custom-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    min-width: 350px;
    max-width: 500px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.custom-notification.show {
    transform: translateX(0);
    opacity: 1;
}

.custom-notification.hide {
    transform: translateX(100%);
    opacity: 0;
}

.custom-notification-success {
    border-left: 4px solid #28a745;
}

.custom-notification-error {
    border-left: 4px solid #dc3545;
}

.custom-notification-warning {
    border-left: 4px solid #ffc107;
}

.custom-notification-info {
    border-left: 4px solid #17a2b8;
}

.notification-content {
    display: flex;
    align-items: flex-start;
    padding: 16px 20px;
    position: relative;
}

.notification-icon-container {
    width: 24px;
    height: 24px;
    margin-right: 12px;
    flex-shrink: 0;
    position: relative;
}

.notification-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
}

.notification-lottie {
    width: 24px;
    height: 24px;
    position: absolute;
    top: 0;
    left: 0;
}

.custom-notification-success .notification-icon {
    background: #28a745;
    color: white;
}

.custom-notification-error .notification-icon {
    background: #dc3545;
    color: white;
}

.custom-notification-warning .notification-icon {
    background: #ffc107;
    color: #212529;
}

.custom-notification-info .notification-icon {
    background: #17a2b8;
    color: white;
}

.notification-text {
    flex: 1;
    min-width: 0;
}

.notification-title {
    font-weight: 600;
    font-size: 14px;
    color: #212529;
    margin-bottom: 4px;
}

.notification-message {
    font-size: 13px;
    color: #6c757d;
    line-height: 1.4;
}

.notification-close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: none;
    border: none;
    font-size: 18px;
    color: #6c757d;
    cursor: pointer;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s;
}

.notification-close:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #212529;
}

.notification-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #007bff, #0056b3);
    width: 100%;
    transform: scaleX(1);
    transform-origin: left;
    animation: notificationProgress 5s linear forwards;
}

.custom-notification-success .notification-progress {
    background: linear-gradient(90deg, #28a745, #1e7e34);
}

.custom-notification-error .notification-progress {
    background: linear-gradient(90deg, #dc3545, #c82333);
}

.custom-notification-warning .notification-progress {
    background: linear-gradient(90deg, #ffc107, #e0a800);
}

.custom-notification-info .notification-progress {
    background: linear-gradient(90deg, #17a2b8, #138496);
}

@keyframes notificationProgress {
    from {
        transform: scaleX(1);
    }
    to {
        transform: scaleX(0);
    }
}

/* Mobile responsive */
@media (max-width: 768px) {
    .custom-notification {
        top: 10px;
        right: 10px;
        left: 10px;
        min-width: auto;
        max-width: none;
    }
}

/* Notification Modal Styles */
.notification-modal .modal-dialog {
    max-width: 500px;
}

.notification-modal-content {
    border: none;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.notification-modal-content.notification-success {
    border-top: 4px solid #28a745;
}

.notification-modal-content.notification-error {
    border-top: 4px solid #dc3545;
}

.notification-modal-content.notification-warning {
    border-top: 4px solid #ffc107;
}

.notification-modal-content.notification-info {
    border-top: 4px solid #17a2b8;
}

.notification-animation-container {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.notification-lottie-container {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    overflow: hidden;
}

.notification-lottie-container video {
    background: transparent;
    mix-blend-mode: multiply;
}

.notification-lottie-container img {
    background: transparent;
    border-radius: 50%;
}

.notification-icon-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-icon-large {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: bold;
    color: white;
}

.notification-success .notification-icon-large {
    background: #28a745;
}

.notification-error .notification-icon-large {
    background: #dc3545;
}

.notification-warning .notification-icon-large {
    background: #ffc107;
    color: #212529;
}

.notification-info .notification-icon-large {
    background: #17a2b8;
}

.notification-modal-title {
    font-weight: 600;
    color: #212529;
    margin-bottom: 1rem;
}

.notification-modal-message {
    color: #6c757d;
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 2rem;
}

.notification-modal .btn {
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 500;
    min-width: 120px;
}

.notification-success .btn-primary {
    background: #28a745;
    border-color: #28a745;
}

.notification-success .btn-primary:hover {
    background: #218838;
    border-color: #1e7e34;
}

.notification-error .btn-primary {
    background: #dc3545;
    border-color: #dc3545;
}

.notification-error .btn-primary:hover {
    background: #c82333;
    border-color: #bd2130;
}

.notification-warning .btn-primary {
    background: #ffc107;
    border-color: #ffc107;
    color: #212529;
}

.notification-warning .btn-primary:hover {
    background: #e0a800;
    border-color: #d39e00;
    color: #212529;
}

.notification-info .btn-primary {
    background: #17a2b8;
    border-color: #17a2b8;
}

.notification-info .btn-primary:hover {
    background: #138496;
    border-color: #117a8b;
}

/* Utility Classes */
.min-vh-75 {
    min-height: 75vh;
}

.gutter-40 > * {
    padding-left: 20px;
    padding-right: 20px;
}

.gutter-40 {
    margin-left: -20px;
    margin-right: -20px;
}

/* Animation Classes */
.all-ts {
    transition: all 0.3s ease;
}

.h-shadow:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.15) !important;
}

.h-translate-y-sm:hover {
    transform: translateY(-5px) !important;
}

/* Text Utilities */
.text-uppercase {
    text-transform: uppercase;
}

.fw-medium {
    font-weight: 500;
}

.fw-normal {
    font-weight: 400;
}

.nott {
    font-weight: 600;
}

/* Icon Styles */
.fas, .far, .fab {
    font-size: 0.875rem;
}

/* Custom Scrollbar for Event Content */
.entry-content::-webkit-scrollbar {
    width: 6px;
}

.entry-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.entry-content::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.entry-content::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* FINAL OVERRIDE - Mobile text size for iPhone */
@media (max-width: 768px) {
    .entry.event .p-4 .entry-title h4,
    .entry.event .p-4 .entry-title h4 a {
        font-size: 1.3rem !important;
        line-height: 1.3 !important;
        font-weight: 600 !important;
    }
    
    .entry.event .p-4 .entry-content p {
        font-size: 0.9rem !important;
        line-height: 1.5 !important;
    }
    
    .entry.event .p-4 .entry-meta,
    .entry.event .p-4 .entry-meta a,
    .entry.event .p-4 .entry-meta ul li a {
        font-size: 0.85rem !important;
    }
}

/* FINAL OVERRIDE - Increased description height */
.entry.event .entry-content,
.entry.event .p-4 .entry-content,
.entry.event .grid-inner .p-4 .entry-content {
    max-height: 280px !important;
}

@media (max-width: 768px) {
    .entry.event .entry-content,
    .entry.event .p-4 .entry-content,
    .entry.event .grid-inner .p-4 .entry-content {
        max-height: 200px !important;
    }
}

/* Event Cards - Keep Bootstrap Grid Working */
.entry.event {
    margin-bottom: 2rem;
}

.entry.event .grid-inner {
    height: 100%;
    min-height: 450px;
    display: flex !important;
    flex-direction: column !important;
}

.entry.event .p-4 {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.entry.event .entry-content {
    flex: 1;
}

/* Interest Chips Styles */
.interest-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0;
}

.interest-chip {
    display: inline-block;
    background: #f8f9fa;
    color: #6c757d;
    border: 1px solid #e9ecef;
    padding: 0.15rem 0.5rem;
    border-radius: 0.5rem;
    font-size: 0.65rem;
    font-weight: 400;
    line-height: 1.2;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.interest-chip:hover {
    background: #e9ecef;
    color: #495057;
    border-color: #dee2e6;
}

/* Filter Chips Styles */
.filter-chip {
    display: inline-block;
    background: #f8f9fa;
    color: #6c757d;
    padding: 0.5rem 1rem;
    border-radius: 1.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
    cursor: pointer;
    user-select: none;
}

.filter-chip:hover {
    background: #e9ecef;
    color: #495057;
    border-color: #dee2e6;
    transform: translateY(-1px);
}

.filter-chip.active {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

.filter-chip.active:hover {
    background: #0056b3;
    border-color: #0056b3;
    transform: translateY(-1px);
}

/* Date Filter Styles */
.date-filter-container {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 0.75rem;
    padding: 1rem;
    margin: 0 auto;
    max-width: 600px;
}

.date-filter-container .form-label {
    color: #495057;
    font-size: 0.9rem;
    white-space: nowrap;
}

.date-filter-container .form-control {
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    min-width: 140px;
}

.date-filter-container .form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.date-filter-container .btn {
    border-radius: 0.375rem;
    font-size: 0.875rem;
    padding: 0.375rem 0.75rem;
}

/* Responsive date filter */
@media (max-width: 768px) {
    .date-filter-container {
        flex-direction: column;
        gap: 1rem !important;
    }
    
    .date-filter-container .d-flex {
        justify-content: center;
    }
    
    .date-filter-container .form-control {
        min-width: 160px;
    }
}

/* Date Range Banner Styles */
.date-range-banner {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.4rem;
    padding: 0.15rem 0.4rem;
    margin-top: 0.15rem;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
}

.date-range-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    z-index: -1;
}

.date-range-content {
    display: flex;
    align-items: center;
    color: #6c757d;
    font-size: 0.75rem;
    font-weight: 500;
    text-align: center;
    justify-content: center;
}

.date-range-content i {
    color: #6c757d;
    font-size: 0.7rem;
}

.date-text {
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.025em;
}

/* Responsive interest chips */
@media (max-width: 768px) {
    .interest-chip {
        font-size: 0.6rem;
        padding: 0.1rem 0.4rem;
    }
    
    .interest-chips {
        gap: 0.3rem;
    }
    
    .date-range-banner {
        padding: 0.1rem 0.3rem;
        margin-top: 0.1rem;
        margin-bottom: 0;
    }
    
    .date-range-content {
        font-size: 0.7rem;
    }
}

/* iOS Calendar Badge Text Size Improvements */
@supports (-webkit-touch-callout: none) {
    .entry.event .event-date-badge .month {
        font-size: 14px !important;
        padding: 5px 0 !important;
        height: 18px !important;
    }
    
    .entry.event .event-date-badge .day {
        font-size: 32px !important;
        height: 32px !important;
    }
    
    .entry.event .event-date-badge .day-of-week {
        font-size: 12px !important;
        height: 14px !important;
    }
    
    .entry.event .event-date-badge .year {
        font-size: 10px !important;
        height: 12px !important;
    }
}

/* iOS Mobile Calendar Badge Override */
@media (max-width: 768px) {
    @supports (-webkit-touch-callout: none) {
        .entry.event .event-date-badge {
            width: 65px !important;
            height: 95px !important;
        }
        
        .entry.event .event-date-badge .month {
            font-size: 16px !important;
            padding: 6px 0 !important;
            height: 24px !important;
        }
        
        .entry.event .event-date-badge .day {
            font-size: 36px !important;
            height: 40px !important;
        }
        
        .entry.event .event-date-badge .day-of-week {
            font-size: 14px !important;
            height: 19px !important;
        }
        
        .entry.event .event-date-badge .year {
            font-size: 12px !important;
            height: 17px !important;
        }
    }
}

/* ULTRA-AGGRESSIVE iOS TEXT SIZE OVERRIDE */
@media (max-width: 768px) {
    @supports (-webkit-touch-callout: none) {
        .entry.event .grid-inner .p-4 .entry-title h4,
        .entry.event .grid-inner .p-4 .entry-title h4 a,
        .entry.event .p-4 .entry-title h4,
        .entry.event .p-4 .entry-title h4 a {
            font-size: 1.1rem !important;
            line-height: 1.3 !important;
            font-weight: 600 !important;
        }
        
        .entry.event .grid-inner .p-4 .entry-content p,
        .entry.event .p-4 .entry-content p {
            font-size: 0.9rem !important;
            line-height: 1.5 !important;
        }
        
        .entry.event .grid-inner .p-4 .entry-meta,
        .entry.event .grid-inner .p-4 .entry-meta a,
        .entry.event .grid-inner .p-4 .entry-meta ul li a,
        .entry.event .p-4 .entry-meta,
        .entry.event .p-4 .entry-meta a,
        .entry.event .p-4 .entry-meta ul li a {
            font-size: 0.75rem !important;
        }
    }
}

/* Hero Calendar Badge Styles */
.hero-calendar-container {
    position: relative;
    z-index: 10;
}

.hero-calendar-badge {
    width: 120px !important;
    height: 150px !important;
    background: rgba(255, 255, 255, 0.95) !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    position: relative !important;
    z-index: 10 !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.hero-calendar-badge .month {
    background: #dc3545 !important;
    color: white !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    text-align: center !important;
    padding: 8px 0 !important;
    line-height: 1 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    margin: 0 !important;
    border: none !important;
    height: 28px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.hero-calendar-badge .day {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 48px !important;
    font-weight: 800 !important;
    color: #222 !important;
    line-height: 1 !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    margin: 0 !important;
    border: none !important;
    background: rgba(255, 255, 255, 0.95) !important;
    height: 60px !important;
}

.hero-calendar-badge .day-of-week {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #666 !important;
    line-height: 1 !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    margin: 0 !important;
    border: none !important;
    background: rgba(255, 255, 255, 0.95) !important;
    height: 20px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.hero-calendar-badge .year {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    color: #888 !important;
    line-height: 1 !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    margin: 0 !important;
    border: none !important;
    background: rgba(255, 255, 255, 0.95) !important;
    height: 16px !important;
}

/* Responsive hero calendar badge */
@media (max-width: 768px) {
    .hero-calendar-badge {
        width: 100px !important;
        height: 125px !important;
    }
    
    .hero-calendar-badge .month {
        font-size: 14px !important;
        padding: 6px 0 !important;
        height: 22px !important;
    }
    
    .hero-calendar-badge .day {
        font-size: 36px !important;
        height: 45px !important;
    }
    
    .hero-calendar-badge .day-of-week {
        font-size: 11px !important;
        height: 16px !important;
    }
    
    .hero-calendar-badge .year {
        font-size: 10px !important;
        height: 14px !important;
    }
}

@media (max-width: 576px) {
    .hero-calendar-badge {
        width: 90px !important;
        height: 110px !important;
    }
    
    .hero-calendar-badge .month {
        font-size: 12px !important;
        padding: 5px 0 !important;
        height: 20px !important;
    }
    
    .hero-calendar-badge .day {
        font-size: 32px !important;
        height: 40px !important;
    }
    
    .hero-calendar-badge .day-of-week {
        font-size: 10px !important;
        height: 14px !important;
    }
    
    .hero-calendar-badge .year {
        font-size: 9px !important;
        height: 12px !important;
    }
}

/* Date Filter Quick Buttons */
.date-quick-filters {
    margin-left: 1rem;
}

.date-quick-btn {
    transition: all 0.2s ease;
    border-radius: 20px;
    font-weight: 500;
    padding: 0.375rem 0.75rem;
}

.date-quick-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

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

.date-quick-btn.active:hover {
    background-color: #0b5ed7;
    border-color: #0b5ed7;
}

/* Advanced Date Filter */
#advanced-date-filter {
    background: rgba(248, 249, 250, 0.8);
    border-radius: 10px;
    padding: 1rem;
    margin-top: 1rem;
    border: 1px solid rgba(0,0,0,0.1);
}

.date-filter-container {
    gap: 1rem;
}

.date-filter-container .form-control {
    min-width: 140px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .date-quick-filters {
        margin-left: 0;
        margin-top: 1rem;
        justify-content: center;
    }
    
    .date-quick-btn {
        font-size: 0.875rem;
        padding: 0.25rem 0.5rem;
    }
    
    .date-filter-container {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .date-filter-container .form-control {
        min-width: 200px;
    }
}

/* iOS Small Screen Hero Section Optimizations */
@media screen and (max-width: 768px) and (-webkit-touch-callout: none) {
    /* Remove background image on iOS small screens for better space utilization */
    #slider {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
        background-image: none !important;
        background-attachment: scroll !important;
    }
    
    /* Optimize hero section for small screens */
    .slider-element {
        min-height: 50vh !important;
    }
    
    .landing-promo {
        padding: 2rem 1rem !important;
    }
    
    .landing-promo h3 {
        font-size: 1.5rem !important;
        margin-bottom: 1rem !important;
    }
    
    .landing-promo p {
        font-size: 0.9rem !important;
        margin-bottom: 1.5rem !important;
    }
}