/* =======================
   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{
    position: sticky;      /* ya relative agar sticky nahi chahiye */
    top:0;
    z-index:1000;

    display:flex;
    align-items:center;
    justify-content:space-between;

    padding:16px 60px;

    background:#ffffff;
    border-bottom:1px solid #e5e7eb;
    box-shadow:0 4px 20px rgba(0,0,0,.06);
}

.logo{
    font-size:28px;
    font-weight:700;
    color:#2563eb;
}

.nav{
    display:flex;
    align-items:center;
    gap:28px;
}

.nav a{
    text-decoration:none;
    color:#374151;
    font-weight:500;
    transition:.25s;
}

.nav a:hover{
    color:#2563eb;
}

.nav a:last-child{
    background:#2563eb;
    color:#fff;
    padding:10px 20px;
    border-radius:8px;
}

/* NAV LINKS */
.nav a {
    margin-left: 15px;
    text-decoration: none;
    color: #333;
}

/* =======================
   FOOTER
======================= */
.footer {
    text-align: center;
    padding: 20px;
    background: white;
    margin-top: 40px;
}

