/* ====== CARD CONTAINER ====== */
.dbt-card {
    position: relative;
    border-radius: 16px;
    padding: 24px 20px 36px;
    color: #fff;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    text-align: center;
    transition: all 0.3s ease;
    overflow: hidden;
    cursor: pointer;
}

.dbt-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

/* ====== CARD CONTENT ====== */
.dbt-card-content {
    position: relative;
    z-index: 2;
}

.dbt-card h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

.dbt-number {
    margin: 12px 0 6px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    text-align: left;
    color: #000000;
}

.dbt-footer-text {
    font-size: 14px;
    opacity: 0.95;
    font-weight: 600;
    text-align: center;
    color: #000000;
}

.dbt-more {
    display: inline-block;
    float: inline-end;
    margin-right: -20px;
    margin-top: 10px;
    color: #fff;
    font-size: 13px;
    text-decoration: none;
    transition: opacity 0.3s ease;
    font-weight: 600;
}

.dbt-more:hover {
    opacity: 0.8;
}

/* ====== CIRCLE ICON ====== */
.dbt-circle-icon {
    position: absolute;
    left: calc(40% - 41px);
    bottom: -14px;
    background: #ffd52e;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 13px;
    line-height: 28px;
    text-align: center;
    font-weight: bold;
    border: 2px solid #fff;
}

/* ====== CARD BACKGROUND COLORS ====== */
.dbt-orange {
    background: linear-gradient(135deg, #ffb878, #ff8143) !important;
}

.dbt-blue {
    background: linear-gradient(135deg, #6fa9ff, #3a73ff) !important;
}

.dbt-green {
    background: linear-gradient(135deg, #5add92, #28b463) !important;
}

.dbt-pink {
    background: linear-gradient(135deg, #ff97d4, #f64aa5) !important;
}

.dbt-brown {
    background: linear-gradient(135deg, #d4a47c, #b2753a) !important;
}

.dbt-purple {
    background: linear-gradient(135deg, #b788ef, #8e44ad) !important;
}

.dbt-teal {
    background: linear-gradient(135deg, #66cfc0, #1abc9c) !important;
}

.dbt-title {
    font-size: 15px;
    font-weight: 600;
    font-family: "Segoe UI", sans-serif;
    text-align: left;
    color: #000000;
    margin-top: 30px;
    margin-bottom: 6px;
}

.dbt-more:hover {
    text-decoration: underline;
    color: #000000;
}

.cards-calc {
    position: relative;
}

.cards-calc .info {
    
}

.cards-calc .extra-info {
    
}

.cards-calc .info:hover .extra-info {
    display: block;
}


/* Make entire card container relative for absolute elements */
.cards-calc {
    position: relative;
    padding: 20px;
    /* padding-top: 55px !important; space so info icon doesn't overlap */
    border-radius: 12px;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Info Icon */
.cards-calc .info {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 10;
    cursor: pointer;
    font-size: 18px;
}

/* Tooltip */
.cards-calc .extra-info {
    display: none;
    position: absolute;
    top: 0;
    left: 25px;
    background: #ffffff;
    padding: 5px 10px;
    border-radius: 6px;
    width: 180px;
    color: #333;
    font-size: 12px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
    line-height: 16px;
}

.cards-calc .info:hover .extra-info {
    display: block;
}

/* Left image block */
.dbt-left-block {
    display: flex;
    justify-content: center;
    align-items: center;
}

.dbt-img {
    width: 40px;
    height: 60px;
    object-fit: contain;
}

/* ---------- 📱 MOBILE RESPONSIVE FIXES ---------- */
@media(max-width: 768px) {

    .cards-calc {
        flex-direction: row;
        padding: 15px;
        padding-top: 60px !important;
    }

    .dbt-left-block {
        margin-bottom: 10px;
    }

    .dbt-img {
        width: 35px;
        height: 50px;
    }

    /* Tooltip moves slightly down for mobile */
    .cards-calc .extra-info {
        top: 20px;
        left: 30px;
        width: 160px;
        font-size: 11px;
    }

    /* Reduce text size for small screens */
    .dbt-title {
        font-size: 15px !important;
        font-weight: 600;
    }

    .dbt-number {
        font-size: 16px !important;
        font-weight: 700;
    }

    .dbt-more {
        font-size: 14px !important;
    }
}

@media(max-width: 480px) {

    .cards-calc {
        padding: 12px;
        padding-top: 55px !important;
    }

    .cards-calc .info {
        font-size: 18px;
    }

    .cards-calc .extra-info {
        width: 140px;
        top: 22px;
    }

    .dbt-img {
        width: 32px;
        height: 45px;
    }
}


/* TOP STRIP */
.footer-top {
    width: 100%;
    background: rgba(0, 0, 0, 0.25);
    padding: 8px 0;
}

.footer-top-inner {
    text-align: center;
    color: #fff;
    font-size: 14px;
}

.footer-top-inner a,
.footer-top-inner span {
    color: #fff;
    text-decoration: none;
}

/* BOTTOM STRIP */
.footer-bottom {
    width: 100%;
    background: rgba(0, 0, 0, 0.50);
    padding: 10px 20px;
    display: flex;
    justify-content: center;
    /* center copyright */
    align-items: center;
    position: relative;
    /* for right logo */
}

/* Center copyright text */
.copyright-text {
    text-align: center;
    color: #fff;
    font-size: 14px;
}

/* NIC logo on right side */
.footer-logo {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.footer-logo img {
    width: 120px;
    opacity: 0.9;
}


/* ====== RESPONSIVE ====== */
@media (max-width: 768px) {
    .dbt-card {
        padding: 20px;
    }

    .dbt-number {
        font-size: 24px;
    }

    .dbt-circle-icon {
        width: 24px;
        height: 24px;
        font-size: 13px;
    }
}