:root {
    --primary: #2980b9;    /* Clinical Blue */
    --secondary: #27ae60;  /* Success Green */
    --accent: #f1641e;    /* Etsy Orange */
    --yt-red: #ff0000;     /* YouTube Red */
    --text: #2c3e50;
    --bg: #f4f7f6;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    margin: 0;
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
}

header {
    text-align: center;
    margin-bottom: 50px;
}

/* TAB STYLING */
.tabs-header {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 10px 20px;
    border: none;
    background: white;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.tab-btn:hover, .tab-btn.active {
    background: var(--primary);
    color: white;
}

/* THE GRID SYSTEM */
.tool-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

/* CARD STYLING */
.tool-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-top: 5px solid var(--primary);
    transition: transform 0.3s ease;
}

.tool-card:hover {
    transform: translateY(-5px);
}

.tool-card h3 {
    margin: 15px 0;
    font-size: 1.25rem;
}

.tool-card p {
    font-size: 0.9rem;
    color: #666;
    height: 50px; /* Keeps cards uniform */
}

.btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 25px;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

/* CATEGORY COLORS */
.tool-card.wealth { border-top-color: var(--secondary); }
.tool-card.digital { border-top-color: var(--accent); }
.tool-card.health { border-top-color: #9b59b6; }

/* PHARMACIST BADGE */
.pharmacist-badge {
    display: inline-block;
    background: #e74c3c;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 10px;
}