/* Category Cards Styling */
.category-card {
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.category-card-inner {
    background: #ffffff;
    border: 2px solid #ffc326;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 500px;
}

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

.category-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #ffc326;
    flex-shrink: 0;
}

.category-icon-wrapper {
    margin-bottom: 20px;
}

.category-icon-wrapper img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.category-title {
    font-size: 26px;
    font-weight: bold;
    color: #333333;
    margin-bottom: 10px;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-description {
    font-size: 16px;
    color: #666666;
    margin-bottom: 0;
    min-height: 50px;
}

/* Services List within Category */
.services-list {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.services-list li {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 16px;
    color: #333333;
    position: relative;
    padding-left: 25px;
    line-height: 1.6;
}

.services-list li:last-child {
    border-bottom: none;
}

.services-list li a {
    color: #333333;
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
}

.services-list li a:hover {
    color: #ffc326;
}

.services-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #ffc326;
    font-weight: bold;
    font-size: 18px;
}

.services-list li:hover {
    padding-left: 30px;
    transition: all 0.3s ease;
}

/* Get Service Button for Category Cards */
.category-button {
    display: block !important;
    background-color: #ffc326 !important;
    color: white !important;
    padding: 15px 30px !important;
    border-radius: 5px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    margin-top: auto !important;
    text-align: center !important;
    font-size: 18px !important;
    flex-shrink: 0 !important;
}

.category-button:hover {
    background-color: #e6b023 !important;
    transform: translateY(-2px) !important;
}

/* Equal height cards for services category row only */
.services-category-row {
    display: flex;
    flex-wrap: wrap;
}

.services-category-row > [class*='col-'] {
    display: flex;
    flex-direction: column;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .category-card {
        margin-bottom: 30px;
    }
    
    .category-card-inner {
        padding: 30px;
    }
}

@media (max-width: 767px) {
    .category-card {
        margin-bottom: 25px;
    }
    
    .category-card-inner {
        padding: 25px 20px;
    }
    
    .category-icon-wrapper img {
        width: 60px;
        height: 60px;
    }
}

