* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #ffffff;
    color: #1a1a2e;
    line-height: 1.5;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

:root {
    --primary: #0a6e5e;
    --primary-dark: #075a4c;
    --primary-light: #e6f4f2;
    --secondary: #f5a623;
    --secondary-dark: #e09612;
    --accent: #2c3e66;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #cbd5e1;
    --gray-600: #4b5563;
    --gray-800: #1f2937;
    --success: #10b981;
    --danger: #ef4444;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navigation */
.navbar {
    background: white;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background: rgba(255,255,255,0.95);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    max-width: 1280px;
    margin: 0 auto;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.logo p {
    font-size: 0.75rem;
    color: var(--gray-600);
    letter-spacing: 0.5px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--gray-800);
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--gray-800);
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--primary);
}

.donate-btn-nav {
    background: var(--secondary);
    color: white !important;
    padding: 8px 20px;
    border-radius: 50px;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    font-weight: 600;
}

.donate-btn-nav:hover {
    background: var(--secondary-dark);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 100px 0;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.1)" fill-opacity="1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 32px;
    opacity: 0.95;
}

.global-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    margin-bottom: 20px;
}

/* Impact Stats */
.impact-stats {
    background: white;
    margin-top: -40px;
    position: relative;
    z-index: 10;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    padding: 40px;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}

.stat-item {
    text-align: center;
    flex: 1;
    min-width: 120px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
}

.stat-label {
    color: var(--gray-600);
    font-size: 0.9rem;
    margin-top: 8px;
}

/* Section Common */
.section {
    padding: 60px 0;
}

.section-light {
    background: var(--gray-50);
}

.section-white {
    background: white;
}

.section-dark {
    background: var(--gray-800);
    color: white;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--gray-800);
}

.section-dark .section-title {
    color: white;
}

.section-subtitle {
    text-align: center;
    color: var(--gray-600);
    margin-bottom: 48px;
    font-size: 1.1rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-dark .section-subtitle {
    color: rgba(255,255,255,0.9);
}

/* Carousel Container */
.carousel-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 50px;
}

.carousel-wrapper {
    overflow: hidden;
    position: relative;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    flex-shrink: 0;
    width: 100%;
    padding: 10px;
}

/* Responsive Grid System */
.campaigns-grid,
.stories-grid {
    display: grid;
    gap: 30px;
    width: 100%;
}

/* Default: 3 columns for desktop */
.campaigns-grid,
.stories-grid {
    grid-template-columns: repeat(3, 1fr);
}

/* Campaign Card */
.campaign-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.campaign-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.campaign-image {
    height: 240px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.campaign-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--secondary);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.campaign-location {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
}

.campaign-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.campaign-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--gray-800);
}

.campaign-description {
    color: var(--gray-600);
    margin-bottom: 20px;
    line-height: 1.6;
    flex: 1;
}

.progress-bar {
    background: var(--gray-200);
    height: 8px;
    border-radius: 10px;
    overflow: hidden;
    margin: 16px 0;
}

.progress-fill {
    background: var(--primary);
    height: 100%;
    transition: width 0.3s;
}

.campaign-stats {
    display: flex;
    justify-content: space-between;
    margin: 12px 0;
    font-size: 0.9rem;
    flex-wrap: wrap;
    gap: 8px;
}

.raised {
    font-weight: 700;
    color: var(--primary);
}

/* Story Card */
.story-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    transition: all 0.3s;
    box-shadow: var(--shadow-md);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.story-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.story-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.story-quote {
    font-style: italic;
    color: var(--gray-600);
    margin-bottom: 20px;
    line-height: 1.6;
    flex: 1;
}

.story-author {
    font-weight: 700;
    color: var(--primary);
    margin-top: 16px;
}

.story-location {
    font-size: 0.85rem;
    color: var(--gray-600);
    margin-top: 8px;
}

/* Carousel Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    z-index: 20;
    transition: all 0.2s;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: var(--primary);
    color: white;
}

.carousel-btn.prev {
    left: 0;
}

.carousel-btn.next {
    right: 0;
}

/* Carousel Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gray-300);
    cursor: pointer;
    transition: all 0.2s;
}

.dot.active {
    background: var(--primary);
    width: 30px;
    border-radius: 10px;
}

/* Transparency Grid */
.transparency-grid {
    display: grid;
    gap: 32px;
    margin-top: 40px;
}

/* Default: 4 columns for desktop */
.transparency-grid {
    grid-template-columns: repeat(4, 1fr);
}

.transparency-item {
    text-align: center;
    padding: 32px 24px;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s;
}

.transparency-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.transparency-item i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 16px;
}

.transparency-item h3 {
    margin-bottom: 12px;
    color: var(--gray-800);
    font-size: 1.2rem;
}

.transparency-item p {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    gap: 32px;
    margin-top: 40px;
}

/* Default: 4 columns for desktop */
.benefits-grid {
    grid-template-columns: repeat(4, 1fr);
}

.benefit-card {
    text-align: center;
    padding: 32px;
    background: rgba(255,255,255,0.1);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    transition: all 0.3s;
}

.benefit-card:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.15);
}

.benefit-card i {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 16px;
}

.benefit-card h3 {
    margin: 16px 0;
    font-size: 1.2rem;
}

.benefit-card p {
    color: rgba(255,255,255,0.8);
}

/* Buttons */
.btn-primary {
    background: var(--primary);
    color: white;
    padding: 12px 32px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.view-more-btn {
    text-align: center;
    margin-top: 40px;
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 20px;
    overflow-y: auto;
}

.modal-content {
    background: white;
    border-radius: 20px;
    max-width: 550px;
    width: 100%;
    margin: auto;
    position: relative;
    animation: slideUp 0.3s;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-body {
    padding: 32px;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-modal {
    position: sticky;
    top: 16px;
    right: 24px;
    float: right;
    font-size: 28px;
    cursor: pointer;
    color: var(--gray-600);
    background: white;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    z-index: 10;
}

.close-modal:hover {
    background: var(--gray-100);
}

.donation-amounts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 24px 0;
}

.amount-btn {
    padding: 12px;
    border: 2px solid var(--gray-200);
    background: white;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
}

.amount-btn:hover,
.amount-btn.active {
    border-color: var(--primary);
    background: var(--primary-light);
    color: var(--primary);
}

.custom-amount {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--gray-200);
    border-radius: 10px;
    margin: 12px 0;
    font-size: 1rem;
}

.donor-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.donor-form input,
.donor-form select,
.donor-form textarea {
    padding: 12px;
    border: 2px solid var(--gray-200);
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
}

.donor-form input:focus,
.donor-form select:focus,
.donor-form textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.submit-donation {
    background: var(--secondary);
    color: white;
    padding: 14px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.submit-donation:hover {
    background: var(--secondary-dark);
    transform: translateY(-2px);
}

/* Campaign Selection Modal */
.campaign-selection-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 2000;
    overflow-y: auto;
    padding: 40px 20px;
}

.campaign-selection-content {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    padding: 32px;
    animation: slideUp 0.3s;
}

.campaign-selection-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--gray-200);
    flex-wrap: wrap;
    gap: 16px;
}

.campaign-selection-header h2 {
    font-size: 1.8rem;
    color: var(--gray-800);
}

.close-selection-modal {
    font-size: 32px;
    cursor: pointer;
    color: var(--gray-600);
    transition: all 0.2s;
}

.close-selection-modal:hover {
    color: var(--danger);
}

.campaigns-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-height: 60vh;
    overflow-y: auto;
}

.campaign-option {
    display: flex;
    gap: 20px;
    padding: 20px;
    border: 2px solid var(--gray-200);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s;
    background: white;
}

.campaign-option:hover {
    border-color: var(--primary);
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.campaign-option-image {
    width: 120px;
    height: 120px;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

.campaign-option-details {
    flex: 1;
}

.campaign-option-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 8px;
}

.campaign-option-location {
    font-size: 0.85rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.campaign-option-description {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin-bottom: 12px;
    line-height: 1.5;
}

.campaign-option-stats {
    display: flex;
    gap: 20px;
    font-size: 0.85rem;
    flex-wrap: wrap;
}

.campaign-option-stats span {
    color: var(--gray-600);
}

.campaign-option-stats strong {
    color: var(--primary);
}

/* Footer */
.footer {
    background: var(--gray-800);
    color: white;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    gap: 40px;
    margin-bottom: 40px;
}

/* Default: 4 columns for desktop */
.footer-grid {
    grid-template-columns: repeat(4, 1fr);
}

.footer h4 {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer a {
    color: var(--gray-200);
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: color 0.2s;
}

.footer a:hover {
    color: var(--secondary);
}

.social-links {
    display: flex;
    gap: 16px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.social-links a {
    font-size: 1.5rem;
    display: inline-block;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: var(--gray-200);
    font-size: 0.9rem;
}

/* Toast */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--success);
    color: white;
    padding: 16px 24px;
    border-radius: 10px;
    display: none;
    z-index: 2200;
    animation: slideIn 0.3s;
    max-width: 90%;
    word-wrap: break-word;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.loading {
    text-align: center;
    padding: 40px;
    font-size: 1.2rem;
    color: var(--gray-600);
}

/* ============================================ */
/* RESPONSIVE BREAKPOINTS */
/* ============================================ */

/* Tablet (768px - 1024px) - Show 2 items */
@media (min-width: 768px) and (max-width: 1024px) {
    .campaigns-grid,
    .stories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .transparency-grid,
    .benefits-grid,
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .campaign-card .campaign-title,
    .story-card .story-quote {
        font-size: 1.1rem;
    }
    
    .transparency-item {
        padding: 24px 20px;
    }
    
    .transparency-item h3 {
        font-size: 1.1rem;
    }
}

/* Mobile (up to 767px) - Show 1 item */
@media (max-width: 767px) {
    .hero {
        padding: 60px 0;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        gap: 16px;
        box-shadow: var(--shadow-lg);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .campaigns-grid,
    .stories-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .transparency-grid,
    .benefits-grid,
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .carousel-container {
        padding: 0 35px;
    }
    
    .carousel-btn {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 32px;
        padding: 0 16px;
    }
    
    .impact-stats {
        padding: 24px;
        gap: 20px;
        margin-top: -30px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    .campaign-card .campaign-image {
        height: 200px;
    }
    
    .campaign-content {
        padding: 20px;
    }
    
    .campaign-title {
        font-size: 1.2rem;
    }
    
    .campaign-description {
        font-size: 0.9rem;
    }
    
    .story-card {
        padding: 24px;
    }
    
    .story-icon {
        font-size: 2.5rem;
    }
    
    .story-quote {
        font-size: 0.95rem;
    }
    
    .transparency-item {
        padding: 24px 20px;
    }
    
    .transparency-item i {
        font-size: 2rem;
    }
    
    .transparency-item h3 {
        font-size: 1.1rem;
    }
    
    .transparency-item p {
        font-size: 0.9rem;
    }
    
    .benefit-card {
        padding: 24px;
    }
    
    .benefit-card i {
        font-size: 2rem;
    }
    
    .benefit-card h3 {
        font-size: 1.1rem;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .donation-amounts {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .amount-btn {
        padding: 10px;
        font-size: 0.9rem;
    }
    
    .campaign-selection-content {
        padding: 20px;
    }
    
    .campaign-selection-header h2 {
        font-size: 1.3rem;
    }
    
    .campaign-option {
        flex-direction: column;
        gap: 16px;
        padding: 16px;
    }
    
    .campaign-option-image {
        width: 100%;
        height: 160px;
    }
    
    .campaign-option-title {
        font-size: 1.1rem;
    }
    
    .campaign-option-stats {
        gap: 12px;
    }
    
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer h4 {
        margin-bottom: 16px;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .container {
        padding: 0 16px;
    }
    
    .carousel-dots {
        margin-top: 30px;
    }
    
    .dot {
        width: 8px;
        height: 8px;
    }
    
    .dot.active {
        width: 24px;
    }
    
    .view-more-btn {
        margin-top: 30px;
    }
    
    .btn-primary {
        padding: 10px 24px;
        font-size: 0.9rem;
    }
    
    .toast {
        bottom: 20px;
        right: 20px;
        left: 20px;
        text-align: center;
        font-size: 0.9rem;
    }
}

/* Small Mobile (up to 480px) */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .hero p {
        font-size: 0.9rem;
    }
    
    .global-badge {
        font-size: 0.7rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
    }
    
    .impact-stats {
        flex-direction: column;
        gap: 16px;
    }
    
    .stat-item {
        text-align: center;
    }
    
    .campaign-card .campaign-image {
        height: 180px;
    }
    
    .campaign-location {
        font-size: 0.7rem;
        padding: 3px 10px;
    }
    
    .campaign-badge {
        font-size: 0.7rem;
        padding: 3px 10px;
    }
    
    .story-card {
        padding: 20px;
    }
    
    .story-quote {
        font-size: 0.85rem;
    }
    
    .story-author {
        font-size: 0.9rem;
    }
    
    .transparency-item {
        padding: 20px 16px;
    }
    
    .benefit-card {
        padding: 20px;
    }
    
    .donation-amounts {
        grid-template-columns: 1fr;
    }
    
    .campaign-selection-header h2 {
        font-size: 1.2rem;
    }
    
    .close-selection-modal {
        font-size: 28px;
    }
    
    .footer-bottom {
        font-size: 0.8rem;
    }
}

/* Large Desktop (1200px and above) */
@media (min-width: 1200px) {
    .container {
        max-width: 1280px;
    }
    
    .campaigns-grid,
    .stories-grid {
        gap: 30px;
    }
}

/* Touch Device Optimization */
@media (hover: none) and (pointer: coarse) {
    .carousel-btn {
        width: 44px;
        height: 44px;
    }
    
    .campaign-card:hover,
    .story-card:hover,
    .transparency-item:hover,
    .benefit-card:hover {
        transform: none;
    }
    
    button,
    .campaign-option,
    .donate-btn-nav,
    .btn-primary {
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }
}

/* PayPal specific styles */
.paypal-info {
    background: #f6f9fc;
    border-radius: 10px;
    padding: 16px;
    margin: 16px 0;
    text-align: center;
}

.paypal-info i {
    color: #0070ba;
    font-size: 24px;
    margin-right: 8px;
    vertical-align: middle;
}

.paypal-info span {
    color: #1f2937;
    font-size: 0.9rem;
}

.submit-donation:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Campaign Card Donate Button */
.donate-btn-card {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: auto;
}

.donate-btn-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 166, 35, 0.3);
}

.donate-btn-card i {
    font-size: 1rem;
}

/* Card hover effect */
.campaign-card {
    cursor: default;
}

/* Ensure button stays at bottom of card */
.campaign-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.donate-btn-card {
    margin-top: auto;
}
/* Modal close button styles */
.close-modal {
    position: sticky;
    top: 16px;
    right: 24px;
    float: right;
    font-size: 28px;
    cursor: pointer;
    color: var(--gray-600);
    background: white;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    z-index: 10;
}

.close-modal:hover {
    background: var(--gray-100);
    color: var(--danger);
}
/* Campaign Card Donate Button */
.donate-btn-card {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: auto;
}

.donate-btn-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 166, 35, 0.3);
}

.donate-btn-card i {
    font-size: 1rem;
}

/* Make card content flexible so button stays at bottom */
.campaign-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.donate-btn-card {
    margin-top: auto;
}