/* ============================
   Calculators Hub
   ============================ */

body {
    background-color: #f4f6f8;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.divider-orange {
    width: 50px;
    margin: 15px auto;
    border-top: 2px solid #f7931a;
    opacity: 1;
}

/* --- Calculator Hub Cards --- */
.calc-hub-card {
    display: block;
    background: #ffffff;
    padding: 35px 30px 30px;
    border-radius: 16px;
    height: 100%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
    border: 1px solid transparent;
    position: relative;
    text-decoration: none;
    color: inherit;
    text-align: center;
}

.calc-hub-card:hover {
    transform: translateY(-5px);
    border-color: #f7931a;
    box-shadow: 0 8px 25px rgba(247, 147, 26, 0.18);
    text-decoration: none;
    color: inherit;
}


/* Icon container */
.calc-hub-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #fff4e1 0%, #ffecd2 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    transition: transform 0.3s, box-shadow 0.3s;
}

.calc-hub-icon i {
    font-size: 1.5rem;
    color: #f7931a;
}

.calc-hub-card:hover .calc-hub-icon {
    transform: scale(1.08);
    box-shadow: 0 4px 12px rgba(247, 147, 26, 0.2);
}

/* Title */
.calc-hub-title {
    font-weight: 700;
    color: #212529;
    margin-bottom: 12px;
    font-size: 1.1rem;
}

/* Description */
.calc-hub-desc {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 18px;
}

/* Tags */
.calc-hub-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
}

.calc-tag {
    display: inline-block;
    background: #f8f9fa;
    color: #6c757d;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 50px;
    letter-spacing: 0.3px;
    transition: background 0.3s, color 0.3s;
}

.calc-hub-card:hover .calc-tag {
    background: #fff4e1;
    color: #d48806;
}

/* --- Mobile Responsive --- */
@media (max-width: 576px) {
    .calc-hub-card {
        padding: 25px 20px 20px;
    }

    .calc-hub-icon {
        width: 50px;
        height: 50px;
    }

    .calc-hub-icon i {
        font-size: 1.25rem;
    }

    .calc-hub-title {
        font-size: 1rem;
    }

    .calc-hub-desc {
        font-size: 0.85rem;
    }
}
