/* =======================
   GLOBAL
======================= */
*{
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f4f5f9;
}

/* =======================
   HERO SECTION
======================= */
.hero-section {
    text-align: center;
    padding: 70px 20px;
    background: #f8eff2;
}

.hero-section h1 {
    font-size: 34px;
    margin-bottom: 10px;
    color: #2d2d2d;
}

.hero-section p {
    color: #555;
    font-size: 16px;
    max-width: 800px;
    margin: auto;
}

/* =======================
   CATEGORY TABS
======================= */
.category-tabs {
    text-align: center;
    margin: 25px 0;
}

.category-tabs button {
    padding: 8px 16px;
    margin: 5px;
    border: 1px solid #ccc;
    border-radius: 20px;
    background: white;
    cursor: pointer;
    transition: 0.3s;
}

.category-tabs .active,
.category-tabs button:hover {
    background: #222;
    color: white;
}

/* =======================
   TOOLS GRID
======================= */
.tools-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    padding: 30px 40px;
    max-width: 1200px;
    margin: auto;
}

/* =======================
   TOOL CARD (ANCHOR SAFE)
======================= */
.tool-card {
    display: block;
    text-decoration: none !important;
    color: #333 !important;
    background: #ffffff;
    padding: 25px;
    border-radius: 14px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

.tool-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(37,99,235,0.15);
}

/* =======================
   CARD CONTENT
======================= */
.tool-card .icon {
    font-size: 40px;
    margin-bottom: 12px;
}

.tool-card h3 {
    margin: 10px 0;
    font-size: 18px;
    font-weight: 600;
}

.tool-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

/* =======================
   HEADER
======================= */
.header {
    display: flex;
    justify-content: space-between;
    padding: 15px 40px;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

/* NAV LINKS */
.nav a {
    margin-left: 15px;
    text-decoration: none;
    color: #333;
}

/* =======================
   FOOTER
======================= */
.footer {
    text-align: center;
    padding: 20px;
    background: white;
    margin-top: 40px;
}