/* JO Feature Box Module CSS */

.mod-jo-feature-box {
    transition: all 0.3s ease;
	margin-bottom: 20px;
}

.mod-jo-feature-box .feature-box-title {
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-top: 0;
}

.mod-jo-feature-box .feature-box-media {
    margin-bottom: 20px;
}

.mod-jo-feature-box .feature-box-icon {
    margin-bottom: 15px;
}

.mod-jo-feature-box .feature-box-icon i {
    transition: all 0.3s ease;
}

.mod-jo-feature-box .feature-box-image img {
    border-radius: 4px;
    max-width: 100%;
    height: auto;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	object-fit: cover;
	box-shadow: 0 8px 25px rgba(0,0,0,.12);
}
.mod-jo-feature-box .feature-box-image img:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.mod-jo-feature-box .feature-box-text {
    margin-bottom: 20px;
}

.mod-jo-feature-box .feature-box-text p:last-child {
    margin-bottom: 0;
}

.mod-jo-feature-box .feature-box-button {
    margin-top: 15px;
}

.mod-jo-feature-box .feature-box-button a {
    display: inline-block;
    text-decoration: none;
    transition: all 0.3s ease;
}

.mod-jo-feature-box .feature-box-button a:hover {
    transform: translateY(-2px);
}

/* Text alignment variations */
.mod-jo-feature-box.text-start .feature-box-button a {
    margin-right: auto;
}

.mod-jo-feature-box.text-center .feature-box-button a {
    margin-left: auto;
    margin-right: auto;
}

.mod-jo-feature-box.text-end .feature-box-button a {
    margin-left: auto;
}

/* Responsive design */
@media (max-width: 768px) {
    .mod-jo-feature-box {
        padding: 15px;
    }
    
    .mod-jo-feature-box .feature-box-title {
        font-size: 20px;
    }
}

@media (max-width: 575px) {
    .mod-jo-feature-box .feature-box-flex.align-items-start,
    .mod-jo-feature-box .feature-box-flex.align-items-start.flex-row-reverse {
        flex-direction: column !important;
    }

    .mod-jo-feature-box .feature-box-flex > .flex-shrink-0 {
        margin-right: 0 !important;
        margin-left: 0 !important;
        margin-bottom: 15px;
        width: 100%;
    }
}