    
    /* General Styles */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;	
	letter-spacing: 0.6px;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
    transition: background 0.3s, color 0.3s;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Navbar */
.navbar {
    background: #0047E0;
    color: #fff;
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 1000; /* Ensure navbar stays on top */
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Space out logo, search bar, and theme toggle */
}

.navbar .logo {
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
    color: #fff;
    margin-right: 20px; /* Space between logo and search bar */
}

/* Search Bar Styles */
.search-bar {
    flex-grow: 1; /* Allow search bar to take up remaining space */
    margin: 0 20px; /* Space between search bar and theme toggle */
    max-width: 600px; /* Limit search bar width */
}

.search-bar form {
    display: flex;
    align-items: center;
    width: 100%;
}

.search-bar input[type="text"] {
    width: 100%;
    padding: 10px 15px;
    border: 2px solid #ccc;
    border-radius: 25px 0 0 25px; /* Rounded left corners */
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.search-bar input[type="text"]:focus {
    border-color: #0047E0; /* Highlight border on focus */
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.5); /* Add a glow effect */
}

.search-bar button {
    padding: 10px 15px;  /* Kam padding takay icon centered rahe */
    border: 2px solid #ccc;
    border-left: none;
    border-radius: 0 25px 25px 0; /* Rounded right corners */
    background-color: #0047E0;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-bar button:hover {
    background-color: #0056b3; /* Darker blue on hover */
    transform: scale(1.05); /* Slight zoom effect */
}

.search-bar button i {
    font-size: 18px;
}

    .cont-c {
        width: 99%;
    max-width: 1200px;
    margin: auto;
    }
    

/* Theme Toggle Button */
#theme-toggle {
    background: none;
    border: none;
    font-size: 18px;
    color: #fff;
    cursor: pointer;
    margin-left: 20px; /* Space between search bar and theme toggle */
}

/* Main Content */
main {
    padding: 100px 0 50px;
    text-align: center;
}

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

p {
    font-size: 18px;
    line-height: 1.6;
}

/* Tools Section */
.tools {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
}

.tools h2 {
    font-size: 24px;
}

.tools ul {
    list-style: none;
    padding: 0;
}

.tools ul li {
    margin: 10px 0;
}

.tools ul li a {
    text-decoration: none;
    color: #0047E0;
    font-size: 18px;
    font-weight: bold;
}

.tools ul li a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 20px; /* Slightly increased padding */
    margin-top: 30px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    display: inline-block; /* Changed from inline to inline-block */
    margin: 5px 15px; /* Increased spacing between links */
}

.footer-links li a {
    color: #fff;
    text-decoration: none;
    display: inline-block; /* Ensures larger clickable area */
    padding: 12px 16px; /* Adds touch-friendly padding */
    font-size: 16px; /* Increases readability */
}

.footer-links li a:hover {
    text-decoration: underline;
}

/* Dark Mode */
.dark-mode {
    background-color: #222;
    color: #ddd;
}

.dark-mode .navbar {
    background: #444;
}

.dark-mode .tools {
    background: #333;
    color: #ddd;
}

.dark-mode footer {
    background: #111;
}

/* Grid Layout for Tools */
.tool-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Responsive grid */
    gap: 20px; /* Space between cards */
    padding: 20px 0;
}

/* Tool Card Styling */
.tool-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.tool-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.tool-card i {
        font-size: 50px; /* Stylish icon size */
        color: #0047E0;
        margin-bottom: 8px;
        transition: transform 0.3s ease-in-out;
    }

.tool-card h3 {
    margin: 10px 0;
    font-size: 1.2rem;
    color: #333;
}

.tool-card p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
}

.tool-card a {
    color: #ffffff; /* Bright white text */
    background: #0047E0; /* Darker blue for higher contrast */
    font-weight: bold;
    padding: 10px 20px; /* Increased padding for better visibility */
    border-radius: 5px;
    display: inline-block;
    text-decoration: none;
}

.tool-card a:hover {
    background: #003f8c;
    color: #ffffff;
}

    @media (max-width: 768px) {
    .tools {
        background: transparent !important; /* Background remove */
        box-shadow: none !important;
        padding: 0 !important;
        border-radius: 0 !important;
        margin-top: 0 !important;
    }

    .tool-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
        padding: 10px;
        width: 95%;
    }

    .tool-card {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background: #fff; /* White Background */
        border-radius: 15px;
        padding: 25px; /* Compact padding */
        width: 100%;
        max-width: 360px;
        min-height: 140px; /* Reduced height */
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        text-align: center;
        position: relative;
        
    }

    .tool-card:hover {
        transform: translateY(-4px) scale(1.02);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    }

    .tool-card i {
        font-size: 50px; /* Stylish icon size */
        color: #0047E0;
        margin-bottom: 8px;
        transition: transform 0.3s ease-in-out;
    }

    .tool-card:hover i {
        transform: rotate(8deg) scale(1.1);
    }

    .tool-card h3 {
        font-size: 22px;
        color: #333;
        font-weight: bold;
        margin-bottom: 6px;
    }

    .tool-card p {
        font-size: 14px;
        color: #666;
        line-height: 1.4;
        margin-bottom: 10px;
    }

    .tool-card a {
        text-decoration: none;
        color: #fff;
        background: #0047E0;
        padding: 10px 20px;
        border-radius: 8px;
        font-size: 16px;
        font-weight: bold;
        transition: background 0.3s, transform 0.3s;
    }

    .tool-card a:hover {
        background: #0056b3;
        transform: scale(1.05);
    }
}

     
        /* Grid Layout for Tools */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Responsive grid */
    gap: 20px; /* Space between cards */
    padding: 20px 0;
    text-align: center;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Tool Card Styling */
.tools-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.tools-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.tools-card i {
        font-size: 50px; /* Stylish icon size */
        color: #0047E0;
        margin-bottom: 8px;
        transition: transform 0.3s ease-in-out;
    }

.tools-card h3 {
    margin: 10px 0;
    font-size: 1.2rem;
    color: #333;
}

.tools-card p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
}

.tools-card a {
    color: #ffffff; /* Bright white text */
    background: #0047E0; /* Darker blue for higher contrast */
    font-weight: bold;
    padding: 10px 20px; /* Increased padding for better visibility */
    border-radius: 5px;
    display: inline-block;
    text-decoration: none;
}

.tools-card a:hover {
    background: #003f8c;
    color: #ffffff;
}

    @media (max-width: 768px) {
    .tools {
        background: transparent !important; /* Background remove */
        box-shadow: none !important;
        padding: 0 !important;
        border-radius: 0 !important;
        margin-top: 0 !important;
    }

    .tools-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
        padding: 10px;
        width: 95%;
    }

    .tools-card {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background: #fff; /* White Background */
        border-radius: 15px;
        padding: 25px; /* Compact padding */
        width: 100%;
        max-width: 360px;
        min-height: 140px; /* Reduced height */
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        text-align: center;
        position: relative;
        
    }

    .tools-card:hover {
        transform: translateY(-4px) scale(1.02);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    }

    .tools-card i {
        font-size: 50px; /* Stylish icon size */
        color: #0047E0;
        margin-bottom: 8px;
        transition: transform 0.3s ease-in-out;
    }

    .tools-card:hover i {
        transform: rotate(8deg) scale(1.1);
    }

    .tools-card h3 {
        font-size: 22px;
        color: #333;
        font-weight: bold;
        margin-bottom: 6px;
    }

    .tools-card p {
        font-size: 14px;
        color: #666;
        line-height: 1.4;
        margin-bottom: 10px;
    }

    .tools-card a {
        text-decoration: none;
        color: #fff;
        background: #0047E0;
        padding: 10px 20px;
        border-radius: 8px;
        font-size: 16px;
        font-weight: bold;
        transition: background 0.3s, transform 0.3s;
    }

    .tools-card a:hover {
        background: #0056b3;
        transform: scale(1.05);
    }
}

 