/* Hero vertical centering - ADD ONLY THESE 2 RULES */
#hero {
    height: calc(100dvh - 150px);
}

@media (max-width: 991.98px) {
    #hero {
        padding-top: 0px;
    }
    #hero {
        height: calc(100dvh - 71px);
    }
    #hero {
        padding: 0px !important;
        margin: 0px !important;
    }
}
.icon-green {
    background: rgba(107, 167, 97, 0.1);
    color: var(--primary-green);
}

.icon-blue {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.icon-purple {
    background: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
}

.icon-orange {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.icon-red {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.icon-teal {
    background: rgba(20, 184, 166, 0.1);
    color: #14b8a6;
}
.tool-icon-box {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 0.7rem;
    flex-shrink: 0;
}
/* Hover effects */
.card.hover-shadow {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

    .card.hover-shadow:hover {
        transform: translateY(-6px);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1) !important;
        border: 1px solid var(--bs-success, #6ba761) !important;
    }

.card .hover-opacity-100 {
    opacity: 0;
    transform: translateX(-8px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.card:hover .hover-opacity-100 {
    opacity: 1 !important;
    transform: translateX(0);
}

.transition {
    transition: all 0.3s ease;
}
/* ============ TOOL CARD HOVER EFFECTS ============ */

/* Smooth transition for all card properties */
.card.hover-shadow {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

    /* Hover: lift card + green border + stronger shadow */
    .card.hover-shadow:hover {
        transform: translateY(-6px);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1) !important;
        border: 1px solid var(--bs-success, #6ba761) !important;
    }

/* "Open Tool" link - hidden by default */
.card .hover-opacity-100 {
    opacity: 0;
    transform: translateX(-8px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* "Open Tool" link - visible on hover */
.card:hover .hover-opacity-100 {
    opacity: 1 !important;
    transform: translateX(0);
}

/* Smooth transition helper */
.transition {
    transition: all 0.3s ease;
}