/* ==========================================================================
   1. BASE RESETS & GLOBAL STYLES
   ========================================================================== */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}
body { 
    font-family: 'Segoe UI', Arial, sans-serif; 
    background-color: #eaedf2; 
    color: #333; 
    text-align: center; 
}
/* ==========================================================================
   3. DASHBOARD & HERO SECTION (Grid Boxes)
   ========================================================================== */
.hero-section { 
    text-align: center; 
    padding: 60px 20px 40px 20px; 
    background-color: #fff; 
    border-bottom: 1px solid #eee; 
}
.hero-section h1 { 
    font-size: 36px; 
    font-weight: 700; 
    color: #1a202c; 
    margin-bottom: 15px; 
}
.hero-section p { 
    font-size: 18px; 
    color: #666; 
    max-width: 700px; 
    margin: 0 auto; 
    line-height: 1.6; 
}
.tools-container { 
    max-width: 1200px; 
    margin: 40px auto; 
    padding: 0 20px; 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); 
    gap: 25px; 
}
.tool-card { 
    background-color: #ffffff; 
    border: 1px solid #e2e8f0; 
    border-radius: 12px; 
    padding: 30px; 
    text-decoration: none; 
    color: inherit; 
    transition: all 0.3s ease; 
    display: flex; 
    flex-direction: column; 
    align-items: flex-start; 
    text-align: left; 
}
.tool-card:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 10px 20px rgba(0,0,0,0.05); 
    border-color: #cbd5e0;
}
.tool-card h3 { 
    font-size: 20px; 
    font-weight: 600; 
    color: #2d3748; 
    margin-bottom: 10px; 
}
.tool-card p { 
    font-size: 14px; 
    color: #718096; 
    line-height: 1.6; 
}

/* ==========================================================================
   5. SEO ARTICLE STYLING (For AdSense Approval)
   ========================================================================== */
.article-container { 
    max-width: 800px; 
    margin: 40px auto; 
    padding: 35px; 
    background: #fff; 
    border-radius: 12px; 
    text-align: left; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.05); 
    line-height: 1.8; 
    color: #333;
}
.article-container h2 {
    color: #1a202c;
    font-size: 24px;
    margin-top: 30px;
    margin-bottom: 15px;
    border-bottom: 2px solid #28a745;
    padding-bottom: 8px;
    display: inline-block;
}
.article-container h3 {
    color: #2d3748;
    font-size: 20px;
    margin-top: 20px;
    margin-bottom: 10px;
}
.article-container p {
    margin-bottom: 15px;
    font-size: 16px;
}
.article-container ul, .article-container ol {
    margin-left: 20px;
    margin-bottom: 20px;
}
.article-container li {
    margin-bottom: 10px;
}
.faq-box {
    background: #f8f9fa;
    padding: 15px 20px;
    border-left: 4px solid #007bff;
    margin-bottom: 15px;
    border-radius: 0 5px 5px 0;
}
.faq-box strong {
    color: #007bff;
    display: block;
    margin-bottom: 5px;
}

/* ==========================================================================
   6. RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 768px) {
    .custom-header { padding: 15px 20px; }
    .hero-section h1 { font-size: 28px; }
    .hero-section p { font-size: 16px; }
    .menu-toggle { display: flex; }
    .nav-links { 
        display: none; 
        flex-direction: column; 
        width: 100%; 
        background-color: #ffffff; 
        position: absolute; 
        top: 100%; 
        left: 0; 
        border-bottom: 1px solid #ddd; 
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        padding: 10px 0;
        z-index: 999; 
    }
    .nav-links.active { display: flex; }
    .nav-links a { 
        margin: 0; 
        padding: 12px 20px; 
        width: 100%; 
        border-bottom: 1px solid #f5f5f5; 
        box-sizing: border-box;
    }
    .nav-links a:last-child { border-bottom: none; }
    .article-container { padding: 20px; }
}


