/* General Styles */
body {
    background: linear-gradient(to bottom right, #48b9e2, #7ed349, #bbdb2f, #e4951e, #e62d09);
    font-family: 'Arial', sans-serif;
}

/* Navigation Bar */
.navbar {
    background: linear-gradient(45deg, #1e1e2f, #343a40);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 10px;
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.7rem;
    color: #ffffff;
    display: flex;
    align-items: center;
}

.navbar-brand img {
    width: 40px;
    margin-right: 10px;
}

.navbar-nav .nav-link {
    color: #f8f9fa;
    font-weight: 500;
    margin: 0 10px;
    display: flex;
    align-items: center;
}

.navbar-nav .nav-link i {
    margin-right: 8px;
    font-size: 1.2rem;
}

.navbar-nav .nav-link:hover {
    color: #ffeb3b;
}

/* Cards */
.featured-card {
    border: none;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    overflow: hidden;
}

.featured-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.featured-card img {
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    height: 200px;
    object-fit: cover;
}

.card-body {
    text-align: center;
    padding: 15px;
}

.card-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #343a40;
}

.card-text {
    font-size: 0.9rem;
    color: #495057;
    margin-bottom: 15px;
}

.btn-primary {
    background: linear-gradient(45deg, #007bff, #0056b3);
    border: none;
    font-size: 0.9rem;
}

.btn-primary:hover {
    background: linear-gradient(45deg, #0056b3, #003f8a);
}

/* Sidebar */
.sidebar {
    background: linear-gradient(to bottom, #ffffff, #f8f9fa);
    padding: 10px;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.category-link {
    text-decoration: none;
    width: 100px;
    color: #343a40;
    font-weight: bold;
    text-align: center;
    padding: 10px 0;
    display: block;
    transition: color 0.3s ease, transform 0.3s ease;
}

.category-link:hover {
    color: #fefefe;
    transform: scale(1.1);
}

.sidebar .btn-outline-warning {
    background: linear-gradient(to right, #f65151, #ffc107);
    border: none;
    margin-bottom: 10px;
}

.sidebar .btn-outline-warning:hover {
    background: linear-gradient(to right, #ffc107, #ff9800);
}

/* Footer */
footer {
    background: linear-gradient(45deg, #343a40, #495057);
    color: #ffffff;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.2);
}

footer p {
    margin: 0;
    font-size: 0.9rem;
}

footer a {
    color: #ffc107;
    text-decoration: none;
    font-weight: bold;
}

footer a:hover {
    color: #ffeb3b;
}

/* Comment Section */
.comment-section {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
}

.comment-section h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    text-align: center;
    color: #343a40;
}

.comment-section input,
.comment-section textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ced4da;
    border-radius: 5px;
}

.comment-section button {
    background: linear-gradient(45deg, #007bff, #0056b3);
    color: #ffffff;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
}

.comment-section button:hover {
    background: linear-gradient(45deg, #0056b3, #003f8a);
}
