/* Title Main Component Styles */
.title-main-wrapper {
    text-align: left;
    margin-bottom: 40px;
}

.title-subtitle {
    font-size: 16px;
    font-weight: 700;
    color: var(--secondary-color, #B89B33); /* Secondary color with fallback */
    margin-bottom: 10px;
    text-transform: uppercase;
}

.title-main {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color, #2046a1); /* Primary color with fallback */
    margin: 0;
    text-transform: uppercase;
}

/* List Services Component Styles */
.list-services-section {
    padding: 60px 0;
}

.services-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}

/* Grid View */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.service-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.service-image {
    height: 350px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-content {
    padding: 20px;
}

.service-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 15px;
    color: #000;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.service-details {
    margin-bottom: 20px;
}

.service-detail {
    display: flex;
    align-items: flex-start;
    margin-bottom: 8px;
    font-size: 14px;
}

.service-detail svg {
    margin-right: 8px;
    color: var(--secondary-color, #B89B33);
    flex-shrink: 0;
    margin-top: 3px;
}

.detail-label {
    font-weight: 600;
    margin-right: 5px;
    color: #000;
}

.detail-value {
    color: #000;
    flex: 1;
}

.service-price {
    margin-bottom: 20px;
}

.price-label {
    font-size: 14px;
    color: #555;
}

.regular-price {
    text-decoration: line-through;
    color: #000;
}

.sale-price {
    font-size: 20px;
    font-weight: 700;
    color: #FF0505;
    margin: 5px 0;
}

.price-unit {
    font-size: 14px;
    font-weight: 400;
}

.price-note {
    font-size: 12px;
    color: #000;
}

.btn-view-more {
    display: inline-block;
    background-color: var(--primary-color, #2046a1);
    color: white;
    padding: 10px 20px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
    text-align: center;

}

.btn-view-more:hover {
    background-color: var(--primary-color-dark, #173a87);
    color:#fff;
}

/* List View */
.services-list {
    flex-direction: column;
}

.service-item-list {
    display: flex;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff;
}

.service-item-list:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.service-item-image {
    width: 300px;
    flex-shrink: 0;
    overflow: hidden;
}

.service-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-item-list:hover .service-item-image img {
    transform: scale(1.05);
}

.service-item-content {
    padding: 20px;
    flex: 1;
}

.service-item-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 15px;
    color: var(--primary-color, #2046a1);
}

.service-item-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.service-item-detail {
    display: flex;
    align-items: flex-start;
    font-size: 14px;
}

.service-item-detail svg {
    margin-right: 8px;
    color: var(--secondary-color, #B89B33);
    flex-shrink: 0;
    margin-top: 3px;
}

.service-item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.service-item-price {
    margin-right: 20px;
}

.btn-view-more-list {
    display: inline-block;
    background-color: var(--primary-color, #2046a1);
    color: white;
    padding: 10px 20px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.btn-view-more-list:hover {
    background-color: var(--primary-color-dark, #173a87);
    color:#fff;
}

/* View All Link */
.view-all-container {
    text-align: center;
}

.view-all-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color, #2046a1);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.view-all-link svg {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.view-all-link:hover {
    color: var(--secondary-color, #B89B33);
}

.view-all-link:hover svg {
    transform: translateX(5px);
}
.service-item-list .service-item-image {
    height: 350px;
    width: 400px;
}
/* Responsive Styles */
@media (max-width: 991px) {
    .service-item-image {
        width: 250px;
    }
}

@media (max-width: 767px) {
    .service-item-list {
        flex-direction: column;
    }
    
    .service-item-list .service-item-image {
        width: 100%;
        height: 200px;
    }
    
    .service-item-details {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .title-subtitle {
        font-size: 14px;
    }
    
    .title-main {
        font-size: 24px;
    }
} 