body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: white;
}

h1 {
    text-align: center;
    margin-top: 40px;
    color: teal;
}

header {
    display: flex;
    align-items: center;
    background-color: #111;
    padding: 10px 20px;
    position: relative; 
}

header a.home img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    display: block;
}

main {
	text-align: center;
	text-height: 1.6;
}

nav {
    margin-left: 20px;
}
.menu {
    list-style: none;
    display: flex;
    gap: 15px;
    margin: 0;
    padding: 0;
}

.menu > li {
    position: relative; 
}

.menu > li > a {
    text-decoration: none;
    color: white; 
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: block;
}

.menu > li > a:hover {
    background-color: #008080; 
    color: white;
}


.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #f5f5f5;
    list-style: none;
    padding: 0;
    margin: 0;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    min-width: 180px;
    z-index: 100;
}

.dropdown-content li a {
    padding: 10px 16px;
    color: #607d8b; 
    font-weight: 500;
    text-decoration: none;
    display: block;
}

.dropdown-content li a:hover {
    background-color: #008080;
    color: white;
}

.dropdown:hover .dropdown-content {
    display: block;
}
.tools-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    max-width: 1000px;
    margin: 60px auto;
    padding: 0 20px;
}


.tool-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
    border-radius: 14px;
    padding: 30px 20px;
    text-decoration: none;
    color: #607d8b; 
    font-weight: 600;
    font-size: 18px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.08);
    transition: all 0.25s ease;
    min-height: 180px;
}


.tool-card:hover {
    background-color: #008080; 
    color: white;
    transform: translateY(-6px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.2);
}


.tool-card img {
    width: 70px;
    height: 70px;
    margin-bottom: 15px;
}