@font-face {
    font-family: "Font Awesome 6 Free";
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/webfonts/fa-solid-900.woff2") format("woff2");
}
@font-face {
    font-family: "Font Awesome 6 Brands";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/webfonts/fa-brands-400.woff2") format("woff2");
}

.guide-card { transition: transform 0.2s ease, box-shadow 0.2s ease; border: 1px solid var(--glass-border); }
.guide-card:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.05) !important; border-color: rgba(0, 113, 227, 0.3); }

.guide-badge { font-size: 0.6rem; padding: 0.2rem 0.4rem; }
.guide-title { font-size: 0.85rem; }
.guide-desc { font-size: 0.7rem; line-height: 1.2; }

@media (min-width: 576px) {
    .guide-badge { font-size: 0.65rem; }
    .guide-title { font-size: 0.95rem; }
    .guide-desc { font-size: 0.75rem; line-height: 1.3; }
}

@media (min-width: 768px) {
    .guide-badge { font-size: 0.7rem; padding: 0.2rem 0.4rem; }
    .guide-title { font-size: 1.05rem; }
    .guide-desc { font-size: 0.85rem; line-height: 1.2; }
}

@media (min-width: 992px) {
    .guide-badge { font-size: 0.75rem; }
    .guide-title { font-size: 1.15rem; }
    .guide-desc { font-size: 0.9rem; line-height: 1.2; }
}

.tool-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.5rem 1rem;
    height: 100%;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

body.dark-mode .tool-card {
    background: rgba(0, 0, 0, 0.2);
    color: #f8f9fa;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(25, 135, 84, 0.1);
    border-color: rgba(25, 135, 84, 0.366);
    color: inherit;
}

.tool-icon-wrapper {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(25, 135, 84, 0.1);
    border-radius: 50%;
    margin-bottom: 1rem;
    color: var(--bs-success);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

body.dark-mode .tool-icon-wrapper {
    color: #20c578;
}

.tool-card:hover .tool-icon-wrapper {
    background: var(--bs-success);
    color: white;
}

.tool-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.tool-desc {
    font-size: 0.75rem;
    color: #495057; 
    margin-bottom: 0;
    line-height: 1.4;
}

body.dark-mode .tool-desc {
    color: #adb5bd;
}

@media (min-width: 1400px) {
    .row-cols-xxl-5 > * {
        flex: 0 0 auto;
        width: 20%;
    }
}