

/* Card Styles */
.card {
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
}

.card-body {
    padding: 25px;
}

/* Image Styles */
.card-img-top {
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    transition: transform 0.3s ease;
}

.card-img-top:hover {
    transform: scale(1.03);
    filter: brightness(1.05);
}

/* Button Styles */
.btn-primary {
    background-color: #ff6b6b;
    border-color: #ff6b6b;
    border-radius: 50px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    padding: 10px 20px;
}

.btn-primary:hover {
    background-color: #ff4757;
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(255, 107, 107, 0.3);
}

/* Text Styles */
.card-title {
    font-weight: 700;
    color: #333;
    font-size: 1.5em;
}

.card-text {
    color: #555;
    line-height: 1.8;
}

.small.text-muted {
    font-size: 0.9em;
    color: #b0b0b0;
}

/* Search Card Styles */
.card-header {
    font-weight: bold;
    background-color: #f1f1f1;
    border-bottom: 3px solid #e0e0e0;
}

.input-group .form-control {
    border-radius: 30px 0 0 30px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.input-group .btn {
    border-radius: 0 30px 30px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Categories Card Styles */
.list-unstyled a {
    color: #ff6b6b;
    font-weight: 500;
    transition: color 0.3s ease, text-decoration 0.3s ease;
}

.list-unstyled a:hover {
    color: #ff4757;
    text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .card-body {
        padding: 20px;
    }
    .card-title {
        font-size: 1.3em;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 1200px;
    }
}

/* Article Page Specific Styles */
.container {
    padding-top: 50px;
}

.card-title {
    font-size: 1.8em;
    margin-bottom: 15px;
}

.card-text {
    font-size: 1em;
    color: #666;
}

.card-body {
    background-color: #f9f9f9;
    border-radius: 16px;
    padding: 30px;
}

/* Card Footer */
.card-footer {
    background-color: transparent;
    border-top: none;
    padding-top: 15px;
    text-align: center;
}