/* Services Section (Home) */
.services-section {
    padding: 80px 0;
    background-color: #f2f6dd;
    text-align: center;
}

.services-header h2 {
    font-size: 42px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-family: var(--font-primary);
}

.services-header h2 span {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 400;
}

.services-desc {
    color: #666;
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.btn-view-services {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--text-dark);
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    margin-bottom: 60px;
}

.btn-view-services:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    color: var(--text-dark);
    text-decoration: none;
}

/* Service Card (Home) */
.service-card {
    background: #fff;
    border: 1px solid #eee;
    padding: 40px 30px;
    border-radius: 8px;
    text-align: left;
    height: 100%;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
    border-color: transparent;
}

.service-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.service-card h4 {
    font-size: 20px;
    font-weight: 600;
    margin: 0;
    color: var(--text-dark);
}

.icon-arrow {
    width: 32px;
    height: 32px;
    background: #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-size: 14px;
    transition: all 0.3s;
}

.service-card:hover .icon-arrow {
    color: #333;
    text-decoration: none;
    background: var(--primary-color);
}

.service-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
    flex-grow: 1;
    /* Limit lines for summary */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.service-img-wrapper {
    width: 100%;
    height: 200px;
    border-radius: 8px;
    overflow: hidden;
    margin-top: auto;
}

.service-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-img-wrapper img {
    transform: scale(1.05);
}

/* Detailed Services Page */
.page-header {
    padding: 120px 0 60px;
    background-color: var(--bg-light);
    text-align: center;
}

.page-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-dark);
    font-family: var(--font-primary);
}

.detailed-service-section {
    padding: 80px 0;
}

.service-row {
    display: flex;
    align-items: center;
    margin-bottom: 100px;
    gap: 60px;
}

.service-row:last-child {
    margin-bottom: 0;
}

.service-row.reverse {
    flex-direction: row-reverse;
}

.service-image-col {
    flex: 1;
}

.service-content-col {
    flex: 1;
}

.service-detail-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.service-content-col h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.service-content-col p {
    color: #555;
    line-height: 1.8;
    font-size: 16px;
    margin-bottom: 20px;
}

/* Highlight Badge (Services Page) */
.highlight-badge {
    display: inline-block;
    background-color: var(--primary-color);
    color: #000;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.highlight-badge i {
    margin-right: 8px;
}

/* Text Highlight */
.text-highlight {
    background-color: rgba(192, 255, 0, 0.3);
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 500;
}

/* Find out More Button */
.btn-find-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    margin-top: 15px;
}

.btn-find-more:hover {
    background-color: var(--primary-color);
    color: #000;
    transform: translateX(5px);
    text-decoration: none;
}

.btn-find-more i {
    transition: transform 0.3s;
}

.btn-find-more:hover i {
    transform: translateX(5px);
}

/* Responsive */
@media (max-width: 991px) {

    .services-section,
    .detailed-service-section {
        padding: 33px 0;
    }

    .service-row,
    .service-row.reverse {
        flex-direction: column;
        gap: 30px;
        margin-bottom: 60px;
    }

    .service-detail-img {
        height: 300px;
    }

    .services-header h2 {
        font-size: 32px;
    }
}