/* General Styles */
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background-color: #f8f9fa;
    color: #333;
}

h1, h2 {
    color: #333;
    font-weight: 600;
}

.container {
    max-width: 1200px;
}

/* Navbar Customization */
.navbar {
    border-bottom: 1px solid #e9ecef;
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.5rem;
    color: #007bff !important;
}

.nav-link {
    color: #555 !important;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #007bff !important;
}

/* Card Styles */
.card {
    border: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

.card:hover {
    transform: translateY(-5px);
}

.card-title {
    font-size: 1.2rem;
    color: #007bff;
}

.card-text {
    font-size: 0.9rem;
    color: #666;
}

.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
    padding: 0.5rem 1rem;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

.btn-success {
    background-color: #28a745;
    border-color: #28a745;
}

.btn-success:hover {
    background-color: #218838;
    border-color: #218838;
}

/* Tool Page Specific */
textarea, input[type="number"], input[type="file"] {
    border-radius: 5px;
}

/* Ad Space */
.ad-space {
    min-height: 100px;
    background-color: #f1f1f1;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Footer */
footer {
    background-color: #343a40;
}

footer a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: #007bff;
    text-decoration: underline;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .navbar-nav {
        text-align: center;
        margin-top: 10px;
    }

    .ad-space {
        margin-top: 20px;
    }

    .card {
        margin-bottom: 15px;
    }

    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .navbar-brand {
        font-size: 1.2rem;
    }

    .btn-primary, .btn-success {
        width: 100%;
    }

    .form-control {
        font-size: 0.9rem;
    }
}