/* =========================================
   assets/css/services.css
========================================= */

/* --- PAGE HEADER & BREADCRUMBS --- */
.page-header {
    background-color: #f4f7f6;
    padding: 120px 0 60px;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
}

.page-header__title {
    font-size: 2.5rem;
    color: #176f91; /* iHerd Theme Color */
    margin-bottom: 15px;
    font-weight: 700;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    font-size: 0.95rem;
}

.breadcrumb__list {
    list-style: none;
    display: flex;
    padding: 0;
    margin: 0;
    align-items: center;
}

.breadcrumb__item {
    display: flex;
    align-items: center;
    color: #666;
}

.breadcrumb__item a {
    color: #176f91;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.breadcrumb__item a:hover {
    color: #0f4c64;
    text-decoration: underline;
}

.breadcrumb__item + .breadcrumb__item::before {
    content: ">";
    margin: 0 10px;
    color: #999;
    font-size: 0.8rem;
}

.breadcrumb__item--active {
    color: #333;
    font-weight: 600;
}

/* --- SERVICES SECTION --- */
.services-section {
    padding: 80px 0 100px;
    background-color: #ffffff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

/* --- SERVICE CARD --- */
.service-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 40px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(23, 111, 145, 0.1);
    border-color: #176f91;
}

/* Accent line on hover */
.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 4px;
    background-color: #176f91;
    transition: width 0.3s ease;
}

.service-card:hover::after {
    width: 100%;
}

.service-card__icon {
    width: 70px;
    height: 70px;
    background-color: #f4f7f6;
    color: #176f91;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.service-card:hover .service-card__icon {
    background-color: #176f91;
    color: #ffffff;
}

.service-card__icon svg {
    width: 32px;
    height: 32px;
}

.service-card__content {
    flex-grow: 1;
}

.service-card__title {
    font-size: 1.35rem;
    color: #333;
    margin-bottom: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-card__desc {
    font-size: 1rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 25px;
}

.service-card__action {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #176f91;
    font-weight: 600;
    font-size: 0.95rem;
    margin-top: auto;
}

.service-card__action svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.service-card:hover .service-card__action svg {
    transform: translateX(5px);
}

/* --- ANIMATION CLASSES --- */
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 992px) {
    .services-grid {
        gap: 20px;
    }
    
    .service-card {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 100px 0 50px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        padding: 35px 25px;
    }
}