/* ============================================================
   SERVICES PAGE - services.css
   ============================================================ */

/* Page Hero */
.page-hero {
    position: relative;
    height: 400px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.page-hero-content {
    position: relative;
    z-index: 2;
    text-align: left;
    color: #fff;
    padding: 0 1rem;
}

.page-hero-content h1 {
    font-size: clamp(2.5rem, 6vw, 4.25rem);
    font-weight: 800;
    letter-spacing: -.5px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .4);
    margin-bottom: .5rem;
}

.page-hero-content .breadcrumb {
    justify-content: flex-start;
}

.page-hero-content .breadcrumb-item,
.page-hero-content .breadcrumb-item.active,
.page-hero-content .breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, .85);
    font-size: .9rem;
}

.page-hero-content .breadcrumb-item a {
    color: #fff;
    text-decoration: none;
}

/* Shared */

.section-title {
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.4rem);
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(90deg, #1e40af, #dc2626);
    margin: .5rem auto 0;
}

/* Services List Section */
.svc-list-section {
    padding: 90px 0 80px;
    background: #fff;
}

.svc-card {
    border-radius: 20px;
    background: #fff;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    transition: transform .35s, box-shadow .35s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.svc-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 64px rgba(30, 64, 175, .14);
    border-color: transparent;
}

/* Card image header */
.svc-card-img {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.svc-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.svc-card:hover .svc-card-img img {
    transform: scale(1.06);
}

/* Icon-only fallback (no image) */
.svc-card-icon-only {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4.5rem;
    color: rgba(255, 255, 255, .9);
}

/* Badge on image */
.svc-card-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #1e40af;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .9rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .25);
}

/* Card body */
.svc-card-body {
    padding: 1.75rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.svc-card-body h4 {
    font-weight: 800;
    font-size: 1.15rem;
    color: #1f2937;
    margin-bottom: .35rem;
}

.svc-sub {
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: #1e40af;
    margin-bottom: .9rem;
}

.svc-card-body p {
    font-size: .88rem;
    color: #6b7280;
    line-height: 1.65;
    margin-bottom: 1.2rem;
    flex: 1;
}

.svc-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .82rem;
    font-weight: 700;
    color: #1e40af;
    text-decoration: none;
    letter-spacing: .04em;
    text-transform: uppercase;
    transition: color .2s, gap .2s;
}

.svc-cta-btn:hover {
    color: #dc2626;
    gap: .6rem;
}

/* Why Choose */
.svc-why-section {
    padding: 90px 0 80px;
    background: #f8faff;
}

.svc-why-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 2rem 1.5rem;
    height: 100%;
    transition: transform .3s, box-shadow .3s;
}

.svc-why-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(30, 64, 175, .12);
    border-color: transparent;
}

.svc-why-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--wb, #eff6ff);
    color: var(--wc, #1e40af);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 1.25rem;
}

.svc-why-card h5 {
    font-weight: 700;
    color: #1f2937;
    font-size: 1.05rem;
    margin-bottom: .5rem;
}

.svc-why-card p {
    color: #6b7280;
    font-size: .88rem;
    line-height: 1.6;
    margin: 0;
}

/* CTA */
.svc-cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(30, 64, 175, .92), rgba(220, 38, 38, .85)),
        url('../images/hero/Services%201.png') center/cover no-repeat;
}

/* Scroll reveal */
[data-animate] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .65s ease, transform .65s ease;
}

[data-animate].animated {
    opacity: 1;
    transform: none;
}

/* Responsive */
@media (max-width: 576px) {
    .page-hero {
        height: 280px;
    }

    .svc-list-section,
    .svc-why-section,
    .svc-cta-section {
        padding: 60px 0 50px;
    }

    .svc-card-img {
        height: 160px;
    }
}
@media (max-width: 768px) {
    .svc-card {
        margin-bottom: 1rem;
    }
    .svc-why-section .row {
        row-gap: 1.25rem;
    }
    .svc-cta-section .d-flex {
        flex-direction: column;
        align-items: stretch !important;
    }
    .svc-cta-section .btn {
        width: 100%;
        text-align: center;
    }
    .svc-list-section {
        padding: 3.5rem 0;
    }
}
