/* ===== Global Styles ===== */
body {
    font-family: "Segoe UI", sans-serif;
    background-color: #f7f9fc;
    margin: 0;
    color: #333;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    text-align: center;
    padding-bottom: 60px;
}

/* ===== Hero Section ===== */
.hero {
    padding: 10px 20px 50px;
    background: linear-gradient(135deg, #0078ff 0%, #00c6ff 100%);
    color: #fff;
    border-radius: 12px;
    margin-top: 30px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.hero p {
    font-size: 1.2rem;
    color: #e0e6f1;
    max-width: 700px;
    margin: 0 auto;
}

/* ===== Tools Grid ===== */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

/* ===== Tool Cards ===== */
.tool-card {
    background: #fff;
    border-radius: 16px;
    padding: 30px 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.tool-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.icon {
    font-size: 45px;
    color: #0078ff;
    margin-bottom: 15px;
}

.tool-card h3 {
    margin: 10px 0 8px;
    font-size: 1.25rem;
}

.tool-card p {
    color: #666;
    font-size: 1rem;
    min-height: 50px; /* Keeps cards uniform */
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    background: #0078ff;
    color: #fff;
    padding: 10px 18px;
    border-radius: 10px;
    font-weight: 500;
    margin-top: 12px;
    transition: all 0.3s ease;
}

.btn:hover {
    background: #005fcc;
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

.btn:focus {
    outline: 2px solid #005fcc;
    outline-offset: 3px;
}

/* ===== Footer ===== */
footer {
    background: #fff;
    padding: 25px 0;
    border-top: 1px solid #eee;
    text-align: center;
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

.footer-links a {
    color: #0078ff;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    .hero p {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    .hero p {
        font-size: 1rem;
    }
    .tools-grid {
        gap: 15px;
    }
    .tool-card {
        padding: 20px 15px;
    }
}

/* Disabled tool styling */
.disabled-tool {
    opacity: 0.5;
    pointer-events: none; /* disable all interaction */
}

.disabled-tool .btn {
    cursor: not-allowed;
    background-color: #ccc;
    color: #666;
}

