/* service-card.css */

/* Define CSS variables for theming */
:root {
    --color-primary: #2A3C54;
    --button-color: #E27B00;
    --text-color-primary: #333;
    --text-color-secondary: #6c757d;
    --card-border-color: rgba(226, 123, 0, 0.08);
    --card-bg-color: #fff;
    --hover-bg-color: #a9cef3;
}

/* Base styles for the service card */
.service-card {
    background-color: var(--card-bg-color);
    padding: 1rem;
    border: 1px solid var(--card-border-color);
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Add a subtle hover effect */
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.1);
}

/* Style the service image */
.service-img {
    width: 120px;
    height: 80px;
    object-fit: contain;
}

/* Style the headings and text */
.service-card h5 {
    color: var(--color-primary);
    font-weight: bold;
    font-size: 1.25rem;
}

.service-card p {
    color: var(--text-color-secondary);
    font-size: 0.875rem;
}

/* Style the "Подробнее" button */
.service-card .btn {
    background-color: var(--button-color) !important;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    text-transform: uppercase;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* The hover effect is here, with standard CSS properties */
.service-card .btn:hover {
    background-color: var(--hover-bg-color) !important;
    color: var(--color-primary) !important; 
}