* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 1200px;
    padding: 20px;
    margin: 0 auto;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #2299ff;
}

.logo-icon {
    font-size: 24px;
    margin-bottom: 2px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
}

.menu-icon {
    display: flex;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.menu-icon span {
    width: 20px;
    height: 2px;
    background-color: #333;
}

/* Title */
.main-title {
    font-size: 28px;
    color: #1a2b48;
    font-weight: 800;
    margin-bottom: 20px;
}

/* Search Bar */
.search-container {
    position: relative;
    margin-bottom: 20px;
}

.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 18px;
}

.search-input {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    color: #333;
}

/* Categories */
.categories-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.category-btn {
    padding: 8px 16px;
    border-radius: 20px;
    border: none;
    background-color: #e9ecef;
    color: #495057;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
  
}

.category-btn {
      text-decoration: none !important;
}

.category-btn.active {
    background-color: #1b7363;
    color: white;
}

/* Campaigns Grid */
.campaigns-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

@media (min-width: 768px) {
    .campaigns-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .campaigns-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Campaign Card */
.campaign-card {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #f0f0f0;
    background: white;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s;
}

.campaign-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.card-image-container {
    position: relative;
    height: 220px;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 8px 12px;
    color: white;
    font-size: 10px;
    font-weight: 800;
    text-align: center;
    line-height: 1.2;
}

.image-overlay-center {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.4);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

.emoji-sad {
    font-size: 40px;
    margin-bottom: 10px;
}

.image-overlay-center p {
    background: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 14px;
}

.card-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-tag {
    align-self: flex-start;
    background-color: #1b7363;
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
}

.card-title {
    font-size: 18px;
    color: #1a2b48;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
    min-height: 48px;
}

.card-description {
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.4;
}

.heart-emoji { color: #ff4d6d; margin-right: 4px; }
.pray-emoji { margin-right: 4px; }

/* Progress Bar */
.progress-container {
    margin-top: auto;
    margin-bottom: 15px;
}

.progress-bar {
    height: 8px;
    background-color: #e9ecef;
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: #1b7363;
    border-radius: 10px;
}

/* Stats */
.card-stats {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 13px;
    font-weight: 700;
    color: #333;
}

.stat-label {
    font-size: 11px;
    color: #888;
}

.text-right {
    text-align: right;
}

.card-footer {
    border-top: 1px solid #f0f0f0;
    padding-top: 15px;
    font-size: 12px;
    color: #999;
    text-align: center;
}

