   /* --- CSS Variables --- */
        :root {
            --bg: #f3f4f7;
            --card-bg: #ffffff;
            --primary-color: #4834d4;
            --text: #2d3436;
            --text-sub: #636e72;
            --border: #eee;
        }

        /* --- Dark Mode Variables (Names must match :root) --- */
        [data-theme="dark"] {
            --bg: #121212;
            --card-bg: #1e1e1e;
            --primary-color: #00d2ff;
            --text: #f8f9fa;
            --text-sub: #b2bec3;
            --border: #333;
        }

        * { 
            margin: 0; 
            padding: 0; 
            box-sizing: border-box; 
            font-family: 'Segoe UI', sans-serif; 
            transition: all 0.3s ease; /* Smooth transition for dark mode */
        }

        body { 
            background-color: var(--bg); /* Yeh ab change hoga */
            /* padding: 40px 20px;  */
            color: var(--text); 
        }

        .header { text-align: center; margin-bottom: 50px; }
        .header h1 { font-size: 2.5rem; color: var(--primary-color); }
        .header p { color: var(--text-sub); }

        .controls {
            display: flex;
            justify-content: flex-end;
            max-width: 1200px;
            margin: 0 auto 20px;
        }

        .theme-toggle {
            padding: 10px 20px;
            cursor: pointer;
            border-radius: 25px;
            border: none;
            background: var(--primary-color);
            color: white;
            font-weight: bold;
        }

        /* Grid Layout */
        .tool-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 25px;
            max-width: 1200px;
            margin: 0 auto;
            padding: 40px 20px;
        }

        /* Card Design */
        .card {
            background: var(--card-bg);
            border-radius: 18px;
            padding: 30px;
            text-align: center;
            box-shadow: 0 10px 20px rgba(0,0,0,15);
            text-decoration: none;
            color: inherit;
            display: flex;
            flex-direction: column;
            align-items: center;
            border: 1px solid var(--border);
            
        }

        .card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 30px rgba(0,0,0,0.2);
            border-color: var(--primary-color);
        }
        /* Sunrise light */


        .tool-logo {
            width: 70px;
            height: 70px;
            margin-bottom: 20px;
            object-fit: contain;
            filter: drop-shadow(0 2px 5px rgba(0,0,0,0.1));
        }

        /* Dark mode mein logos thode bright dikhen */
        [data-theme="dark"] .tool-logo {
            filter: brightness(1.2);
        }

        .card h3 { margin-bottom: 12px; font-size: 1.3rem; color: var(--text); }
        .card p { font-size: 0.9rem; color: var(--text-sub); line-height: 1.5; }
        .card img{border-radius: 12px;}

        .btn {
            margin-top: 20px;
            background: var(--primary-color);
            color: white;
            padding: 8px 25px;
            border-radius: 50px;
            font-size: 0.85rem;
            font-weight: bold;
        }
        /* Header Styling */
header {
    background: #fff;
      padding: 15px 5%;  
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
   
}
.header-container { display: flex; justify-content: space-between; align-items: center;}
.logo-area { display: flex; align-items: center; gap: 15px; }
.logo-img { width: 50px; height: 50px; border-radius: 50%; }
.brand-name { font-size: 24px; font-weight: bold; color: #333; }

nav ul { display: flex; list-style: none; gap: 20px; }
nav ul li a { text-decoration: none; color: #333; font-weight: 600; }

/* Footer */
footer { background: #1a1a1a; color: white; padding: 40px 5% 10px; }
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}
.footer-box h3 { margin-bottom: 0; border-bottom: 2px solid #e44d26; display: inline-block; }
.social-icons { display: flex; gap: 20px; font-size: 24px; margin-top: 15px; }
.social-icons a { color: rgb(252, 250, 250); transition: 0.3s; }
.social-icons a:hover { color: #e44d26; }
.footer-bottom { text-align: center; border-top: 1px solid #333; padding-top: 20px; font-size: 14px; }
.hero{
    padding: 20px 40px;
    font-size: 30px;
    color: rgb(109, 28, 237);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font: 700;
    margin-bottom: 15px;
    text-align: center;
}
.diff{
    text-align: center;
    color: rgb(109, 28, 237);
    font-size: 30px;
    font-weight: 900px;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    border: black 1px solid;
    border-radius: 12px;
    padding: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
    align-items: center;
    background-color: #00d2ff;
}
.dif{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}



        @media (max-width: 600px) {
            .header h1 { font-size: 1.8rem; }
            .tool-grid { grid-template-columns: 1fr; margin-top: 10px; padding: 10px; }
        }
/* Mobile Responsive */
@media (max-width: 768px) {
    header .header-container { flex-direction: column; gap: 10px; }
    .hero { height: 300px; }
   




    .tool-logo {
            width: 40px;
            height: 40px;
            margin-bottom: 10px;
            object-fit: contain;
            filter: drop-shadow(0 2px 5px rgba(0,0,0,0.1));
            display: flex;
            flex-direction: row;
        }

        /* Dark mode mein logos thode bright dikhen */
        [data-theme="dark"] .tool-logo {
            filter: brightness(1.2);
        }

        .card-top h3 { margin-bottom: 10px; font-size: 1rem; color: var(--text); }
        .card p { font-size: 0.8rem; color: var(--text-sub); line-height: 1.5; font-weight: 600; color: #000;
           
            
        
        }



         .card {
            background: var(--card-bg);
            border-radius: 12px;
            padding: 10px;
            text-align: center;
            box-shadow: 0 10px 20px rgba(0,0,0,15);
            text-decoration: none;
            color: inherit;
            /* display: flex;
            flex-direction: column; */
            align-items: self-start;
            border: 1px solid var(--border);}
            
            
.card-top{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
     justify-items: auto; 
    margin: 3px;
    padding: 2px;
    align-items: center;
    gap: 5px;
    
    
}
.card-top h3{
    align-items: center;
    
    
    
    justify-content: space-between;
   
}
}
    
    

    

        

        