  
  .broker-card {
    list-style: none;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    font-family: sans-serif;
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 10px;
}

.broker-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.broker-logo img {
    width: 120px;
    height: auto;
}

.broker-info {
    flex: 1;
    margin-left: 20px;
}

.features {
    margin: 0;
    padding: 0;
    list-style: none;
    color: black;
    font-size: 14px;
}

.features li {
    margin-bottom: 3px;
    line-height: 1.4;
}

.broker-rating {
    text-align: center;
    min-width: 120px;
}

.broker-rating .stars {
    color: gold;
    font-size: 18px;
}

.broker-rating .score {
    display: block;
    font-weight: bold;
    margin-top: 4px;
    font-size: 16px;
}

.visit-btn {
    display: inline-block;
    margin-top: 7px;
    padding: 10px 14px;
    background-color: #2ecc71;
    color: white;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.3s ease;
}

.visit-btn:hover {
    background-color: #27ae60;
}

.broker-footer {
    display: flex;
    justify-content: space-around;
    font-size: 14px;
    margin-top: 15px;
    color: #333;
    border-top: 1px solid #eee;
    padding-top: 7px;
}

/* ✅ Mobile view adjustments */
@media (max-width: 768px) {
    .broker-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .broker-logo {
        order: -1;
        width: 100%;
        margin-bottom: 10px;
    }

    .broker-logo img {
        width: 100%; /* Full width */
        max-width: 100%;
        height: auto;
        display: block;
    }

    .broker-info {
        margin-left: 0;
    }

    .broker-rating .stars,
    .broker-rating .score {
        display: none;
    }

    .visit-btn {
        display: block;
        width: 100%; /* Full width of card */
        box-sizing: border-box;
        text-align: center;
        margin-top: 8px;
    }

    .broker-footer {
        display: none;
    }

    .features li {
        margin-bottom: 1px;
        line-height: 1; /* tighter spacing */
    }
}

    
    
.custom-bg {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 360px; /* Adjust height as needed */
    overflow: hidden;
    transition: transform 0.3s ease;
}

.custom-bg:hover {
    transform: scale(1.02); /* Slight zoom */
}

/* Hover link styling */
.hover-link {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 8px 16px;
    text-decoration: none;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateY(10px);
    border-radius: 4px;
}

.custom-bg:hover .hover-link {
    opacity: 1;
    transform: translateY(0);
}

  
  
.custom-bg {
    /*background-image: url('img/res/promotion_banner.png'); */
    background-size: cover; /* Makes sure the image covers the entire div */
    background-position: center; /* Center the image */
    background-repeat: no-repeat; /* Prevent image from repeating */
    width: 100%; /* Full width */
    height: 410px; /* Adjust height as needed or use min-height */
}


.counter-box {
    width: 100%;
    background: linear-gradient(135deg, #00c6ff, #0072ff);
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
    padding: 15px;
    color: #ffffff;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}
.counter-box h3 {
    margin: 0 0 10px 0;
    font-size: 1.2rem;
    font-weight: normal;
}

#ibCounter {
    font-size: 2.5rem;
    font-weight: bold;
}


  