/* === GENERAL STYLING & MODERN BACKGROUND === */
body {
    /* Hum ne Google se Poppins font apply kiya */
    font-family: 'Poppins', sans-serif; 
    
    /* Plain color ki jagah aik acha sa gradient background */
    background: linear-gradient(135deg, #1f2937, #111827);
    
    color: #e5e7eb; /* Light text color for dark background */
    margin: 0;
    padding: 40px 20px;
    text-align: center;
    min-height: 100vh;
}

/* === HEADER STYLING === */
header {
    margin-bottom: 50px;
}

header h1 {
    font-size: 2.5rem; /* Thora bara title */
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3); /* Text ke peeche shadow */
}

header p {
    font-size: 1.1rem;
    color: #9ca3af;
    max-width: 600px;
    margin: 10px auto 0; /* Center me lane ke liye */
}

/* === TOOLS CONTAINER === */
.tools-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px; /* Cards ke darmiyan zyada space */
}

/* === NEW STYLISH CARD DESIGN === */
.tool-card {
    background: rgba(31, 41, 55, 0.7); /* Semi-transparent dark background */
    border: 1px solid #374151;
    border-radius: 12px;
    padding: 30px;
    width: 320px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    backdrop-filter: blur(10px); /* Peeche ke background ko blur karega (Glass effect) */
    display: flex;
    flex-direction: column;
}

.tool-card:hover {
    transform: translateY(-10px); /* Hover per card ooper uthega */
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
    border-color: #3b82f6; /* Hover per border color change hoga */
}

/* Icon ki styling */
.tool-card i {
    font-size: 2.5rem;
    color: #3b82f6; /* Icon ka color blue rakha hai */
    margin-bottom: 20px;
}

.tool-card h2 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
}

.tool-card p {
    color: #d1d5db;
    font-weight: 300;
    flex-grow: 1; /* Yeh description ko space fill karne dega */
    margin-bottom: 20px;
}

/* === STYLISH BUTTON === */
.btn {
    display: inline-block;
    background-color: #3b82f6;
    color: #fff;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 8px;
    margin-top: auto; /* Button ko hamesha card ke neechay rakhega */
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn:hover {
    background-color: #2563eb;
    transform: scale(1.05); /* Hover per button thora sa bara hoga */
}