/* ================================
   ToolMitra - Main Styles
================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f7f9fc;
    color: #1f2937;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}


/* ================================
   Header
================================ */

.header {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    text-decoration: none;
    font-size: 28px;
    font-weight: 800;
    color: #111827;
}

.logo span {
    color: #2563eb;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav a {
    text-decoration: none;
    color: #374151;
    font-weight: 600;
    transition: 0.3s;
}

.nav a:hover {
    color: #2563eb;
}


/* ================================
   Hero Section
================================ */

.hero {
    background: linear-gradient(135deg, #eef5ff, #ffffff);
    padding: 90px 20px;
    text-align: center;
}

.hero-content {
    max-width: 850px;
}

.hero h1 {
    font-size: 48px;
    line-height: 1.15;
    color: #111827;
    margin-bottom: 20px;
}

.hero p {
    font-size: 19px;
    color: #6b7280;
    margin-bottom: 35px;
}

.search-box {
    max-width: 650px;
    margin: auto;
    display: flex;
    background: #ffffff;
    padding: 7px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.search-box input {
    flex: 1;
    border: none;
    outline: none;
    padding: 15px;
    font-size: 16px;
    min-width: 0;
}

.search-box button {
    border: none;
    background: #2563eb;
    color: white;
    padding: 0 25px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.search-box button:hover {
    background: #1d4ed8;
}


/* ================================
   Tools Section
================================ */

.tools-section {
    padding: 75px 0;
}

.tools-section h2,
.about-section h2 {
    text-align: center;
    font-size: 34px;
    color: #111827;
    margin-bottom: 10px;
}

.section-description {
    text-align: center;
    color: #6b7280;
    margin-bottom: 40px;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.tool-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    transition: 0.3s;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.tool-icon {
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef5ff;
    color: #2563eb;
    border-radius: 12px;
    font-weight: 800;
    margin-bottom: 20px;
}

.tool-card h3 {
    font-size: 21px;
    margin-bottom: 10px;
    color: #111827;
}

.tool-card p {
    color: #6b7280;
    margin-bottom: 20px;
}

.tool-card button {
    border: none;
    background: #2563eb;
    color: #ffffff;
    padding: 11px 20px;
    border-radius: 7px;
    cursor: pointer;
    font-weight: 600;
}

.tool-card button:hover {
    background: #1d4ed8;
}


/* ================================
   About / Features
================================ */

.about-section {
    background: #ffffff;
    padding: 75px 0;
}

.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.feature {
    padding: 25px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
}

.feature h3 {
    margin-bottom: 10px;
    color: #111827;
}

.feature p {
    color: #6b7280;
}


/* ================================
   Footer
================================ */

.footer {
    background: #111827;
    color: #ffffff;
    text-align: center;
    padding: 45px 20px;
}

.footer h3 {
    font-size: 24px;
    margin-bottom: 8px;
}

.footer p {
    color: #d1d5db;
}

.copyright {
    margin-top: 20px;
    font-size: 14px;
}


/* ================================
   Tablet
================================ */

@media (max-width: 900px) {

    .hero h1 {
        font-size: 40px;
    }

    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features {
        grid-template-columns: 1fr;
    }
}


/* ================================
   Mobile
================================ */

@media (max-width: 600px) {

    .navbar {
        min-height: 60px;
    }

    .logo {
        font-size: 24px;
    }

    .nav {
        gap: 15px;
    }

    .nav a {
        font-size: 14px;
    }

    .hero {
        padding: 65px 15px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

    .search-box {
        flex-direction: column;
        padding: 8px;
        gap: 8px;
    }

    .search-box input {
        width: 100%;
    }

    .search-box button {
        width: 100%;
        padding: 13px;
    }

    .tools-section,
    .about-section {
        padding: 55px 0;
    }

    .tools-section h2,
    .about-section h2 {
        font-size: 28px;
    }

    .tools-grid {
        grid-template-columns: 1fr;
    }

    .tool-card {
        padding: 25px;
    }
    .tool-button {
    display: inline-block;
    text-decoration: none;
    background: #2563eb;
    color: #ffffff;
    padding: 11px 20px;
    border-radius: 7px;
    font-weight: 600;
    transition: 0.3s;
}

.tool-button:hover {
    background: #1d4ed8;
}
}
/* Tool Categories */

.tool-categories {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 30px 0;
}

.tool-categories button {
    padding: 10px 18px;
    border: 1px solid #ddd;
    border-radius: 25px;
    background: #ffffff;
    color: #333;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tool-categories button:hover {
    background: #111827;
    color: #ffffff;
    border-color: #111827;
    transform: translateY(-2px);
}

.tool-categories button:active {
    transform: scale(0.97);
}
/* Active Category */

.tool-categories .category-btn.active {
    background: #111827;
    color: #ffffff;
    border-color: #111827;
}