/* ==========================================
   OfficeMitra - Professional CSS v2.0
========================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Segoe UI',Tahoma,Geneva,Verdana,sans-serif;
}

html{
    scroll-behavior:smooth;
}

body{
    background:#f5f7fb;
    color:#222;
    line-height:1.6;
}

/* ================= NAVBAR ================= */

nav{
    width:100%;
    background:#0f172a;
    color:#fff;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:15px 60px;
    position:sticky;
    top:0;
    z-index:999;
    box-shadow:0 5px 15px rgba(0,0,0,.15);
}

.logo{
    font-size:30px;
    font-weight:bold;
}

nav ul{
    display:flex;
    list-style:none;
    gap:30px;
}

nav ul li a{
    text-decoration:none;
    color:white;
    font-size:17px;
    transition:.3s;
}

nav ul li a:hover{
    color:#60a5fa;
}

.login-btn{
    background:#2563eb;
    color:white;
    border:none;
    padding:10px 22px;
    border-radius:8px;
    cursor:pointer;
    transition:.3s;
}

.login-btn:hover{
    background:#1d4ed8;
}

/* ================= HEADER ================= */

header{
    background:linear-gradient(135deg,#2563eb,#4f46e5);
    color:white;
    text-align:center;
    padding:70px 20px;
}

header h1{
    font-size:60px;
    margin-bottom:10px;
}

header p{
    font-size:22px;
}

/* ================= HERO ================= */

.hero{
    max-width:1200px;
    margin:60px auto;
    padding:20px;
    text-align:center;
}

.hero h2{
    font-size:46px;
    margin-bottom:25px;
}

.search{
    width:100%;
    max-width:550px;
    padding:15px;
    border-radius:10px;
    border:1px solid #ccc;
    font-size:18px;
    margin-bottom:45px;
}

/* ================= TOOL GRID ================= */

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

.card{
    background:white;
    padding:30px;
    border-radius:15px;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    transition:.3s;
}

.card:hover{
    transform:translateY(-8px);
}

.card h3{
    font-size:24px;
    margin-bottom:15px;
}

.card p{
    color:#666;
    margin-bottom:20px;
}

.card button{
    background:#2563eb;
    color:white;
    border:none;
    padding:12px 25px;
    border-radius:8px;
    cursor:pointer;
    transition:.3s;
}

.card button:hover{
    background:#1d4ed8;
}

/* ================= CATEGORIES ================= */

.categories{
    max-width:1200px;
    margin:80px auto;
    padding:20px;
    text-align:center;
}

.categories h2{
    font-size:42px;
    margin-bottom:40px;
}

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

.category{
    background:white;
    padding:30px;
    border-radius:15px;
    font-size:20px;
    font-weight:bold;
    box-shadow:0 10px 20px rgba(0,0,0,.08);
    transition:.3s;
    cursor:pointer;
}

.category:hover{
    background:#2563eb;
    color:white;
    transform:translateY(-8px);
}

/* ================= FOOTER ================= */

footer{
    background:#0f172a;
    color:white;
    text-align:center;
    padding:30px;
    margin-top:80px;
}

/* ================= MOBILE ================= */

@media(max-width:768px){

nav{
    flex-direction:column;
    padding:20px;
    gap:15px;
}

nav ul{
    flex-wrap:wrap;
    justify-content:center;
    gap:15px;
}

.logo{
    font-size:24px;
}

header h1{
    font-size:40px;
}

header p{
    font-size:18px;
}

.hero h2{
    font-size:32px;
}

.search{
    max-width:100%;
}

.categories h2{
    font-size:30px;
}

.category{
    font-size:18px;
    padding:20px;
}

}