
:root {
    --primary: #4f46e5;
    --secondary: #06b6d4;
    --light-bg: #f9fafb;
    --dark-text: #111827;
    --muted-text: #6b7280;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: "Segoe UI", sans-serif;
    background: var(--light-bg);
    color: var(--dark-text);
    line-height: 1.6;
}
/* Common Navbar */
body { font-family: Arial, sans-serif; margin: 0; padding: 0; background: #f9f9f9; color: #333; }
.navbar { display: flex; justify-content: space-between; align-items: center; padding: 15px 30px; background: #2d89ef; }
.navbar .logo { font-size: 22px; font-weight: bold; color: #fff; }
.nav-links { list-style: none; display: flex; gap: 20px; }
.nav-links li a { color: #fff; text-decoration: none; font-size: 16px; }
.nav-links li a.active { text-decoration: underline; }

/* Header */
header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    text-align: center;
    padding: 2.5rem 1rem;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

header p {
    font-size: 1.1rem;
}

nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

nav a {
    background: white;
    color: var(--primary);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    transition: all 0.3s;
}

nav a:hover {
    background: var(--secondary);
    color: white;
}

/* Sections */
section {
    max-width: 1200px;
    margin: auto;
    padding: 3rem 1rem;
}

section h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    color: var(--primary);
}

/* Tool Cards */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.card {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.card h3 {
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.card p {
    color: var(--muted-text);
    font-size: 0.95rem;
}

/* About Section */
#about {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

#about p {
    text-align: center;
    color: var(--muted-text);
    max-width: 800px;
    margin: auto;
    font-size: 1.05rem;
}

/* Footer */
footer {
    background: #1f2937;
    color: #d1d5db;
    text-align: center;
    padding: 2rem 1rem;
    margin-top: 2rem;
}

footer a {
    color: var(--secondary);
    text-decoration: none;
    margin: 0 0.5rem;
}

footer a:hover {
    text-decoration: underline;
}

/* Responsive Text */
@media (max-width: 768px) {
    header h1 { font-size: 2rem; }
    header p { font-size: 1rem; }
    section h2 { font-size: 1.5rem; }
}
.card {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 20px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.15);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--secondary);
}

.card h3 {
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
    color: var(--primary);
}

.card p {
    color: var(--muted-text);
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
    min-height: 50px;
}

.card a {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background: var(--primary);
    color: white;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s;
}

.card a:hover {
    background: var(--secondary);
}
