.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 20px 0;
    justify-content: center;
}

.card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    width: 100%;
    max-width: 350px;
}

.card-header {
    padding: 12px 16px;
    font-size: 18px;
    font-weight: bold;
    color: #000;
    display: flex;
    align-items: center;
    gap: 6px;
}

.card-green {
    background-color: #d1fae5; /* Light green */
}

.card-red {
    background-color: #fee2e2; /* Light red */
}

.card-blue {
    background-color: #dbeafe; /* Light blue */
}

.card-body {
    padding: 16px;
}

.icon {
    font-size: 18px;
}

.stock {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.stock-symbol {
    font-weight: 600;
    color: #ffffff;
}

.stock-name {
    font-size: 14px;
    color: #ffffff;
}

.stock-info {
    text-align: right;
}

.stock-price {
    font-weight: 500;
    color: #ffffff;
}

.stock-change {
    font-weight: 500;
}

.gain {
    color: #16a34a; /* green */
}

.loss {
    color: #dc2626; /* red */
}

.stock-volume {
    font-size: 13px;
    color: #666;
}

.ticker-wrapper {
    width: 100%;
    overflow: hidden;
    background-color: #12a89d;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 8px;
}

.stock-carousel {
    display: flex;
    animation: scrollTicker 30s linear infinite;
    gap: 15px;
    white-space: nowrap;
    font-size: 14px;
    align-items: center;
}

.stock-item {
    display: flex;
    gap: 8px;
    align-items: center;
    padding: 0 10px;
    flex-shrink: 0;
}

.stock-logo {
    width: 24px;
    height: 24px;
    margin-right: 6px;
    vertical-align: middle;
}
.stock-symbol {
    vertical-align: middle;
}

.stock-symbol {
    font-weight: 600;
    color: #ffffff;
}

.stock-name {
    color: #ffffff;
}

.stock-price {
    color: #ffffff;
    font-weight: 500;
}

.stock-change {
    font-weight: 500;
}

.stock-change.gain {
    color: #004b23; /* green */
}

.stock-change.loss {
    color: #dc2626; /* red */
}

.stock-vol {
    color: #ffffff;
}

.divider {
    width: 1px;
    height: 20px;
    background-color: #ddd;
    flex-shrink: 0;
}

@keyframes scrollTicker {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-50%);
    }
}





.particle-bg {
    position: relative;
    background-color: #0b0b0b;
    height: 100%;
    background-size: cover;
    z-index: 1;
}


.why-img{
    width: 64px;
    height: 64px;
}
