/* General Styles */
body {
    font-family: 'Cairo', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Header Styles */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
}

.nav-link:hover {
    color: #0d6efd !important;
}

/* Search Form */
.form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Main Content */
main {
    min-height: calc(100vh - 300px);
}

/* Footer Styles */
footer {
    background-color: #212529;
}

footer h5 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

footer a {
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #0d6efd !important;
}

.social-links a {
    font-size: 1.5rem;
    margin-right: 1rem;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1.2rem;
    }

    .social-links a {
        font-size: 1.2rem;
        margin-right: 0.5rem;
    }
}

/* Custom Utilities */
.text-primary {
    color: #0d6efd !important;
}

.bg-primary {
    background-color: #0d6efd !important;
}

.btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
}

/* Card Styles */
.card {
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

/* Post Styles */
.post-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.post-meta {
    color: #6c757d;
    font-size: 0.9rem;
}

.post-content {
    margin-top: 1rem;
}

/* Pagination Styles */
.pagination {
    margin-top: 2rem;
}

.page-link {
    color: #0d6efd;
}

.page-item.active .page-link {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

/* Form Styles */
.form-label {
    font-weight: 500;
}

.form-control {
    border-radius: 0.25rem;
}

/* Alert Styles */
.alert {
    border-radius: 0.25rem;
    margin-bottom: 1rem;
}

/* Loading Spinner */
.spinner-border {
    width: 1.5rem;
    height: 1.5rem;
    border-width: 0.2em;
}
