
body { margin:0; padding-left:0; padding-right:0; padding-bottom:0; font-family: Arial,sans-serif; box-sizing:border-box; }

/* ===== Main content full width (no side margins) ===== */
/* .main-content {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    max-width: 100% !important;
    position: relative !important;
    top: 0 !important;
    clear: both !important;
} */

/* MOBILE GAP FIX - Forced Negative Margin to Pull Banner Up */
@media (max-width: 768px) {
    #redCrisisBanner {
        position: relative !important;
        z-index: 995 !important;
    }
    #mainHeader {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }
}
@media (max-width:1024px){
    .main-content {
        width: 100% !important;
        padding: 15px 0 !important;
    }
}
@media (max-width:768px){
    .main-content {
        width: 100% !important;
        padding: 10px 0 !important;
    }
}

/* --- Carousel & Grid Styles --- */
.banner-carousel { position:relative; width:100%; height:380px; overflow:hidden; border-radius:8px; margin-bottom:25px; }
.carousel-slide { position:absolute; width:100%; height:100%; opacity:0; transition: opacity 1s ease-in-out; }
.carousel-slide.active { opacity:1; z-index:1; }
.carousel-slide img { width:100%; height:100%; object-fit:cover; }
.carousel-caption { position:absolute; bottom:20px; left:30px; color:#fff; font-size:1.5em; font-weight:bold; text-shadow:2px 2px 5px rgba(0,0,0,0.7); }
.carousel-nav span { position:absolute; top:50%; transform:translateY(-50%); font-size:2em; color:#fff; background:rgba(0,0,0,0.3); padding:5px 12px; cursor:pointer; border-radius:50%; user-select:none; }
.carousel-prev{left:15px;} .carousel-next{right:15px;}
.carousel-dots{position:absolute;bottom:12px;width:100%;text-align:center;}
.carousel-dots span{display:inline-block;width:12px;height:12px;margin:0 3px;background:#ccc;border-radius:50%;cursor:pointer;}
.carousel-dots span.active{background:#004080;}


/* ===== Card Rows (Simple Grid - No Carousel) ===== */
.card-row-wrapper { 
    margin-bottom: 40px; 
}
.card-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin: 0 auto;
    max-width: 1200px;
    padding: 10px 5px;
}

.auction-item{
    flex: 0 0 calc(25% - 15px);
    max-width: 260px;
    min-width: 220px;
    height:auto;
    min-height:450px;
    background:#fff;
    border-radius:12px;
    padding:0;
    text-align:left;
    box-shadow:0 4px 20px rgba(0,0,0,0.08);
    transition:all 0.3s ease;
    display:flex;
    flex-direction:column;
    align-items:stretch;
    vertical-align:top;
    overflow:hidden;
    position:relative;
}
.auction-item:hover{
    transform:translateY(-8px);
    box-shadow:0 12px 35px rgba(0,0,0,0.15);
}
.auction-item .card-image{
    width:100% !important;
    height:220px !important;
    min-height:220px !important;
    object-fit:cover !important;
    flex-shrink:0 !important;
    display:block !important;
    background:#f0f0f0 !important;
    visibility: visible !important;
    opacity: 1 !important;
}
.auction-item .card-content{
    padding:20px;
    flex:1;
    display:flex;
    flex-direction:column;
}
.auction-item h3{
    font-size:1.15em;
    margin-bottom:12px;
    color:#1a202c;
    font-weight:700;
    line-height:1.3;
}
.auction-item p{
    font-size:0.9em;
    color:#4a5568;
    line-height:1.6;
    margin-bottom:15px;
    flex:1;
    overflow:hidden;
    display:-webkit-box;
    -webkit-line-clamp:4;
    line-clamp:4;
    -webkit-box-orient:vertical;
}
.auction-item .card-action{
    margin-top:auto;
    padding-top:12px;
    border-top:1px solid #e2e8f0;
    display:flex;
    align-items:center;
    justify-content:space-between;
    color:#667eea;
    font-weight:600;
    font-size:0.9em;
}
.auction-item .card-action i{
    transition:transform 0.3s ease;
}
.auction-item:hover .card-action i{
    transform:translateX(4px);
}


/* Carousel Arrows - Minimal Thin Capsule Style - Updated 2026-01-12 18:15 */
.row-arrow {
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:32px;
    height:60px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:rgba(255,255,255,0.95);
    color:#000;
    font-size:14px;
    font-weight:bold;
    cursor:pointer;
    z-index:100;
    opacity:0;
    transition:opacity 0.3s ease, background 0.3s ease;
    border:1px solid rgba(0,0,0,0.1);
    border-radius:30px; /* Thin capsule shape */
    box-shadow:0 2px 8px rgba(0,0,0,0.15);
    backdrop-filter:blur(10px);
    line-height:1;
    text-align:center;
    padding:0;
    margin:0;
}
.card-row-wrapper:hover .row-arrow {
    opacity:1;
}
.row-arrow:hover {
    background:rgba(0,123,255,0.95);
    color:#fff;
    box-shadow:0 3px 10px rgba(0,123,255,0.3);
    /* No size change - no bulge */
}
/* Position arrows very close to sidebar edges for maximum slide room */
.row-arrow.left { left:5px; }
.row-arrow.right { right:5px; }

@media(max-width:1024px){
    .auction-item{flex:0 0 240px; width:240px; height:380px;}
    .auction-item .card-image{height:140px;}
    .card-row{margin-left:260px !important; margin-right:260px !important;}
    .row-arrow{width:6px; height:40px; font-size:8px; border-radius:3px;}
    .row-arrow.left{left:calc(50% - 500px);}
    .row-arrow.right{right:calc(50% - 500px);}
    .testimonials-container{margin-left:315px; margin-right:315px; padding:0;}
    .testimonials-arrow{width:6px;height:40px;font-size:8px;border-radius:3px;}
    .testimonials-arrow.left{left:calc(50% - 315px);}
    .testimonials-arrow.right{right:calc(50% - 315px);}
}
@media(max-width:768px){
    /* COMPACT MOBILE - 2 CARDS PER ROW */
    .card-row {
        gap: 12px;
        padding: 8px 12px;
    }
    
    .auction-item{
        flex: 0 0 calc((100% - 12px) / 2);
        width: calc((100% - 12px) / 2);
        min-width: calc(50% - 10px);
        max-width: calc(50% - 10px);
        min-height: 320px;
        height: auto;
    }
    
    .auction-item .card-image{
        height: 140px !important;
        min-height: 140px !important;
    }
    
    .auction-item .card-content{
        padding: 12px;
    }
    
    .auction-item h3 {
        font-size: 0.95em;
        margin-bottom: 8px;
    }
    
    .auction-item p {
        font-size: 0.8em;
        line-height: 1.4;
        -webkit-line-clamp: 3;
        line-clamp: 3;
    }
    
    /* Hide card row arrows on mobile */
    .row-arrow {
        display: none !important;
    }
    
    /* Section titles more compact */
    .card-row-wrapper h2 {
        font-size: 1.1em !important;
        margin: 12px 0 10px 0 !important;
    }
    
    .testimonials-container{flex-wrap:nowrap;overflow-x:auto;margin-left:150px;margin-right:150px;padding:0;}
    .testimonials-arrow{width:6px;height:40px;font-size:8px;border-radius:3px;}
    .testimonials-arrow.left{left:calc(50% - 150px);}
    .testimonials-arrow.right{right:calc(50% - 150px);}
}

/* --- Modern Testimonials Section - Compact, No Heading --- */
.testimonials-section{
    width:100%;
    margin:30px 0;
    padding:20px;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    position:relative;
    overflow:hidden;
}
.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #667eea 100%);
}
.testimonials-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #667eea 100%);
}
.testimonials{
    width:100%;
    overflow:hidden;
    position:relative;
    padding:0 80px; /* Increased padding to push arrows further out */
}
.testimonials-container{
    display:flex;
    flex-wrap:nowrap;
    transition:transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    gap:25px; /* Reduced from 30px */
    padding:10px 0;
    scroll-snap-type: x mandatory;
    overflow-x: auto;
    overflow-y: hidden;
    width: 100%;
    max-width: 100%;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}
.testimonials-container::-webkit-scrollbar {
    display: none;
}
.testimonial-item{
    min-width:320px;
    max-width:320px;
    background:#fff;
    border-radius:16px;
    padding:18px; /* Reduced from 22px for more compact height */
    box-shadow:0 4px 20px rgba(0,0,0,0.08);
    flex-shrink:0;
    display:flex;
    flex-direction:column;
    transition:all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border:1px solid rgba(102, 126, 234, 0.1);
    position:relative;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}
.testimonial-item::before {
    content: '"';
    position: absolute;
    top: 10px; /* Adjusted for reduced padding */
    left: 15px;
    font-size: 60px; /* Reduced from 80px */
    color: rgba(102, 126, 234, 0.1);
    font-family: Georgia, serif;
    line-height: 1;
}
.testimonial-item:hover{
    transform:translateY(-10px) scale(1.02);
    box-shadow:0 12px 40px rgba(102, 126, 234, 0.2);
    border-color:rgba(102, 126, 234, 0.3);
}
.testimonial-header{
    display:flex;
    align-items:center;
    gap:15px;
    margin-bottom:20px;
    position:relative;
    z-index:1;
}
.testimonial-item img{
    width:50px; /* Reduced from 60px */
    height:50px;
    border-radius:50%;
    object-fit:cover;
    border:3px solid #667eea;
    flex-shrink:0;
    box-shadow:0 4px 12px rgba(102, 126, 234, 0.3);
}
.testimonial-info{
    flex:1;
    min-width:0;
}
.testimonial-info h4{
    font-size:1em; /* Slightly reduced */
    color:#1a202c;
    margin:0 0 4px 0; /* Reduced margin */
    font-weight:700;
}
.testimonial-location{
    font-size:0.9em;
    color:#718096;
    display:flex;
    align-items:center;
    gap:6px;
}
.testimonial-location i {
    color:#667eea;
}
.testimonial-stars{
    color:#fbbf24;
    font-size:1em; /* Slightly reduced */
    margin-bottom:12px; /* Reduced from 15px */
    letter-spacing:2px;
}
.testimonial-item p{
    font-size:0.9em; /* Slightly reduced */
    color:#4a5568;
    line-height:1.6; /* Reduced from 1.8 */
    font-style:italic;
    margin:0;
    flex:1;
    position:relative;
    z-index:1;
}
.testimonial-date{
    font-size:0.8em; /* Slightly reduced */
    color:#a0aec0;
    margin-top:15px; /* Reduced from 20px */
    text-align:right;
    font-weight:500;
}
.testimonials-arrow{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:40px; /* Slightly smaller */
    height:40px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:rgba(255,255,255,0.98); /* More opaque */
    color:#667eea;
    font-size:1.2em; /* Slightly smaller icon */
    cursor:pointer;
    z-index:100;
    opacity:0;
    transition:all 0.3s ease;
    border:2px solid #667eea;
    border-radius:50%;
    box-shadow:0 4px 15px rgba(102, 126, 234, 0.2);
}
.testimonials-section:hover .testimonials-arrow{
    opacity:1;
}
.testimonials-arrow:hover{
    background:#667eea;
    color:#fff;
    transform:translateY(-50%) scale(1.1);
    box-shadow:0 6px 20px rgba(102, 126, 234, 0.4);
}
.testimonials-arrow.left{left:20px;} /* Moved further out */
.testimonials-arrow.right{right:20px;} /* Moved further out */
.testimonials-dots{
    text-align:center;
    margin-top:25px;
}
.testimonials-dots span{
    display:inline-block;
    width:10px;
    height:10px;
    margin:0 5px;
    background:rgba(102, 126, 234, 0.3);
    border-radius:50%;
    cursor:pointer;
    transition:all 0.3s ease;
}
.testimonials-dots span:hover{
    background:rgba(102, 126, 234, 0.6);
    transform:scale(1.15);
}
.testimonials-dots span.active{
    background:#667eea;
    width:25px;
    border-radius:5px;
}

/* Testimonials Responsive */
@media(max-width:1024px){
    .testimonials-section{padding:20px 15px;}
    .testimonials{padding:0 50px;}
    .testimonials-container{gap:25px;}
    .testimonial-item{min-width:340px;max-width:340px;padding:22px;}
    .testimonial-item img{width:50px;height:50px;}
    .testimonial-info h4{font-size:1em;}
    .testimonial-item p{font-size:0.95em;}
}
@media(max-width:768px){
    .testimonials-section{padding:15px 10px;}
    .testimonials{padding:0 40px;}
    .testimonials-container{gap:20px;}
    .testimonial-item{min-width:300px;max-width:300px;padding:20px;}
    .testimonial-item img{width:45px;height:45px;}
    .testimonial-info h4{font-size:0.95em;}
    .testimonial-location{font-size:0.85em;}
    .testimonial-stars{font-size:1em;}
    .testimonial-item p{font-size:0.9em;line-height:1.6;}
    .testimonial-date{font-size:0.8em;}
    .testimonials-arrow{width:38px;height:38px;font-size:1.1em;}
}
@media(max-width:480px){
    .testimonials-section{padding:15px 5px;}
    .testimonials{padding:0 30px;}
    .testimonials-container{gap:15px;}
    .testimonial-item{min-width:260px;max-width:260px;padding:18px;}
    .testimonial-item img{width:40px;height:40px;}
    .testimonial-info h4{font-size:0.9em;}
    .testimonial-item p{font-size:0.85em;}
}

/* --- Pagination (Modern Minimal - Google/Amazon Style) --- */
.pagination{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;margin:25px 0;gap:4px;}
.pagination a,.pagination button,.pagination span{margin:0;padding:6px 10px;min-width:32px;height:32px;display:inline-flex;align-items:center;justify-content:center;background:transparent;color:#111;cursor:pointer;border:none;border-radius:4px;font-size:14px;font-weight:400;transition:all 0.2s ease;text-decoration:none;}
.pagination a:hover,.pagination button:hover{background:#f0f0f0;color:#007bff;}
.pagination a.active,.pagination button.active{background:#007bff;color:#fff;font-weight:500;}
.pagination .page-arrow{color:#666;font-size:18px;padding:6px 8px;}
.pagination .page-arrow:hover{color:#007bff;background:#f5f5f5;}
.pagination .page-arrow.disabled{opacity:0.3;cursor:not-allowed;pointer-events:none;}
.pagination .ellipsis{cursor:default;pointer-events:none;color:#999;}
.pagination .page-jump{display:flex;align-items:center;gap:4px;margin-left:8px;padding:4px 8px;background:#f8f8f8;border-radius:6px;}
.pagination .page-jump input{width:50px;padding:4px 6px;border:1px solid #ddd;border-radius:4px;text-align:center;font-size:13px;outline:none;}
.pagination .page-jump input:focus{border-color:#007bff;}
.pagination .page-jump button{padding:4px 10px;background:#007bff;color:#fff;font-size:12px;min-width:auto;height:28px;}
.pagination .page-jump button:hover{background:#0056b3;}

/* ===== Charity Awareness Banner ===== */
.charity-banner {
    background: white;
    padding: 0 30px 50px 30px;
    margin: 0 0 30px 0;
    border-radius: 16px;
}

.charity-banner-title {
    text-align: center;
    font-size: 2em;
    margin: 0 0 40px 0;
    color: #1a202c;
}

.charity-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    max-width: 1600px;
    margin: 0 auto;
}

/* Responsive Grid */
@media (max-width: 1200px) {
    .charity-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .charity-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 cards per row on mobile */
        gap: 12px;
    }
    
    .charity-card {
        padding: 18px 15px;
    }
    
    .charity-icon {
        font-size: 2.5em;
        margin-bottom: 10px;
    }
    
    .charity-card h3 {
        font-size: 1em;
        margin-bottom: 10px;
    }
    
    .charity-card p {
        font-size: 0.8em;
        line-height: 1.4;
        min-height: 60px;
    }
    
    .charity-btn {
        padding: 8px 20px;
        font-size: 0.85em;
    }
}

.charity-card {
    background: #f7fafc;
    color: #2d3748;
    border-radius: 12px;
    padding: 30px 25px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid #e2e8f0;
}

.charity-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.charity-icon {
    font-size: 3.5em;
    margin-bottom: 15px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.charity-card h3 {
    font-size: 1.3em;
    margin-bottom: 15px;
    color: #1a202c;
}

.charity-card p {
    font-size: 0.95em;
    line-height: 1.6;
    color: #4a5568;
    margin-bottom: 20px;
    min-height: 80px;
}

.charity-stats {
    background: #f7fafc;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.9em;
    color: #667eea;
    font-weight: 600;
}

.charity-btn {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.charity-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
}

.charity-footer {
    text-align: center;
    margin-top: 40px;
    font-size: 1.1em;
    font-style: italic;
    color: #4a5568;
}

/* Responsive */
@media (max-width: 1024px) {
    .charity-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== COMPREHENSIVE MOBILE OPTIMIZATIONS ===== */
@media (max-width: 768px) {
    /* Charity Section - 2-card horizontal carousel */
    .charity-banner {
        padding: 30px 15px !important;
        margin: 20px 0 !important;
    }
    
    .charity-banner-title {
        font-size: 1.3em !important;
        margin-bottom: 20px !important;
    }
    
    .charity-grid {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        -webkit-overflow-scrolling: touch !important;
        gap: 12px !important;
        padding: 0 12px 15px 12px !important;
        scrollbar-width: none !important;
        grid-template-columns: none !important;
    }
    
    .charity-grid::-webkit-scrollbar {
        display: none !important;
    }
    
    .charity-card {
        flex: 0 0 calc(50% - 6px) !important;
        min-width: calc(50% - 6px) !important;
        max-width: calc(50% - 6px) !important;
        scroll-snap-align: start !important;
        padding: 18px 15px !important;
    }
    
    .charity-icon {
        font-size: 2.5em !important;
        margin-bottom: 10px !important;
    }
    
    .charity-card h3 {
        font-size: 1em !important;
        margin-bottom: 10px !important;
    }
    
    .charity-card p {
        font-size: 0.8em !important;
        line-height: 1.4 !important;
        min-height: 60px !important;
    }
    
    .charity-stats {
        font-size: 0.75em !important;
        padding: 8px !important;
        margin-bottom: 15px !important;
    }
    
    .charity-btn {
        padding: 8px 20px !important;
        font-size: 0.85em !important;
    }
    
    /* Remove content area constraints for carousels */
    .main-content {
        overflow: visible !important;
        padding: 0 !important;
    }
    
    /* Remove sidebar layout on mobile */
    .main-layout-wrapper {
        display: block !important;
        grid-template-columns: none !important;
        padding: 0 !important;
    }
    
    .sidebar-left,
    .sidebar-right {
        display: none !important;
    }
    
    .content-area {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    /* Card Rows - 2-card horizontal carousels - SHOW ALL 4 CARDS */
    .card-row-wrapper {
        margin-bottom: 25px !important;
        overflow: visible !important;
        width: 100% !important;
    }
    
    .card-row {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow-x: scroll !important;
        overflow-y: hidden !important;
        scroll-snap-type: x mandatory !important;
        -webkit-overflow-scrolling: touch !important;
        gap: 12px !important;
        padding: 8px 0 15px 0 !important;
        margin: 0 12px !important;
        scrollbar-width: none !important;
        /* Ensure container can hold all cards */
        width: calc(100vw - 24px) !important;
        max-width: calc(100vw - 24px) !important;
        min-width: calc(100vw - 24px) !important;
        /* CRITICAL FIX: flex-start prevents cards from being pushed off-screen to the left */
        justify-content: flex-start !important;
    }
    
    .card-row::-webkit-scrollbar {
        display: none !important;
    }
    
    /* Each card: slightly less than 50% to show 2 at a time */
    .auction-item {
        flex: 0 0 calc(50vw - 18px) !important;
        min-width: calc(50vw - 18px) !important;
        max-width: calc(50vw - 18px) !important;
        scroll-snap-align: start !important;
        min-height: 320px !important;
        flex-shrink: 0 !important;
    }
    
    /* Testimonials - 2 at a time, COMPACT */
    .testimonials-section {
        padding: 15px 10px !important;
        margin: 20px 0 !important;
    }
    
    .testimonials {
        padding: 0 !important;
    }
    
    .testimonials-container {
        gap: 12px !important;
        padding: 10px 0 !important;
        justify-content: flex-start !important;
        margin: 0 12px !important;
    }
    
    .testimonial-item {
        flex: 0 0 calc(50vw - 18px) !important;
        min-width: calc(50vw - 18px) !important;
        max-width: calc(50vw - 18px) !important;
        scroll-snap-align: start !important;
        padding: 12px !important;
        min-height: auto !important;
    }
    
    .testimonial-item img {
        width: 35px !important;
        height: 35px !important;
    }
    
    .testimonial-info h4 {
        font-size: 0.85em !important;
    }
    
    .testimonial-item p {
        font-size: 0.75em !important;
        line-height: 1.4 !important;
    }
    
    .testimonial-stars {
        font-size: 0.85em !important;
        margin-bottom: 8px !important;
    }
    
    .testimonial-date {
        font-size: 0.7em !important;
        margin-top: 10px !important;
    }
    
    .testimonials-arrow {
        display: none !important;
    }
}


