
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    background: #f5f7fc;
    color: #172033;
    line-height: 1.6;
}

.navbar {
    background: #ffffff;
    padding: 18px 7%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.logo {
    font-size: 27px;
    font-weight: bold;
    color: #2563eb;
}

.logo span {
    color: #10b981;
}

nav {
    display: flex;
    gap: 25px;
}

nav a {
    text-decoration: none;
    color: #334155;
    font-weight: 600;
}

nav a:hover {
    color: #2563eb;
}

.hero {
    text-align: center;
    padding: 85px 20px 75px;
    background: linear-gradient(135deg, #eaf1ff, #f5f7fc);
}

.tagline {
    color: #2563eb;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 2px;
}

.hero h1 {
    font-size: 48px;
    line-height: 1.2;
    margin: 20px 0;
}

.hero p {
    color: #64748b;
    font-size: 18px;
    margin-bottom: 30px;
}

.search-box {
    display: flex;
    max-width: 550px;
    margin: auto;
    background: white;
    padding: 7px;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
}

.search-box input {
    flex: 1;
    min-width: 0;
    border: none;
    outline: none;
    padding: 14px;
    font-size: 15px;
}

.search-box button {
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 22px;
    font-weight: bold;
    cursor: pointer;
}

.tools-section {
    padding: 65px 7%;
}

.section-heading {
    text-align: center;
    margin-bottom: 35px;
}

.section-heading span {
    color: #2563eb;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 2px;
}

.section-heading h2 {
    font-size: 34px;
    margin: 10px 0;
}

.section-heading p {
    color: #64748b;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 22px;
}

.tool-card {
    background: white;
    padding: 28px 22px;
    border-radius: 15px;
    border: 1px solid #e5eaf2;
    transition: 0.2s;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.07);
}

.tool-icon {
    font-size: 35px;
    margin-bottom: 15px;
}

.tool-card h3 {
    font-size: 21px;
    margin-bottom: 8px;
}

.tool-card p {
    color: #64748b;
    font-size: 14px;
    margin-bottom: 18px;
}

.tool-card a {
    color: #2563eb;
    text-decoration: none;
    font-weight: bold;
}

.categories {
    margin: 20px 7%;
    padding: 30px;
    background: white;
    border-radius: 14px;
    border: 1px solid #e5eaf2;
}

.categories h2 {
    margin-bottom: 8px;
}

.categories p {
    color: #64748b;
}

.about {
    text-align: center;
    padding: 65px 20px;
}

.about p {
    color: #64748b;
    margin-top: 10px;
}

footer {
    background: #172033;
    color: white;
    text-align: center;
    padding: 35px 20px;
}

footer p {
    color: #cbd5e1;
    font-size: 14px;
    margin-top: 8px;
}

@media (max-width: 600px) {
    .navbar {
        padding: 15px 5%;
        flex-wrap: wrap;
        gap: 12px;
    }

    nav {
        gap: 14px;
        font-size: 13px;
    }

    .hero {
        padding: 65px 18px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 16px;
    }

    .tools-section {
        padding: 45px 5%;
    }

    .section-heading h2 {
        font-size: 28px;
    }

    .tools-grid {
        grid-template-columns: 1fr;
    }
}
