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

body.dark-theme {
    background-color: #0b0f19; /* Dark background */
    color: #ffffff;
}

.navbar {
    display: flex;
    justify-content: space-between;
    padding: 20px 5%;
    background-color: #161b28;
    border-bottom: 1px solid #1e293b;
}

.logo {
    font-size: 22px;
    font-weight: bold;
    color: #3b82f6; /* Blue Color */
}

.container {
    max-width: 1000px;
    margin: 50px auto;
    padding: 0 20px;
    text-align: center;
}

h1 {
    margin-bottom: 40px;
    font-size: 2rem;
}

/* Loop එකෙන් එන Grid එක */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.tool-card {
    background-color: #1e293b;
    padding: 30px;
    border-radius: 12px;
    text-decoration: none;
    color: white;
    transition: transform 0.3s, background-color 0.3s;
    border: 1px solid transparent;
}

.tool-card:hover {
    transform: translateY(-5px);
    background-color: #262f45;
    border-color: #3b82f6;
}

.tool-icon {
    font-size: 40px;
    color: #3b82f6; /* Iconic Blue */
    margin-bottom: 15px;
}

.tool-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.tool-card p {
    color: #94a3b8;
    font-size: 14px;
}

/* Mobile Responsive */
@media (max-width: 600px) {
    .tools-grid {
        grid-template-columns: 1fr;
    }
}