/* Service Dynamic Sections Layout */
    .service-dynamic-wrap {
        padding: 70px 0 30px;
    }
    .service-dynamic-wrap.bg-light-alt {
        background: #f8fafc;
        border-top: 1px solid #e2e8f0;
        border-bottom: 1px solid #e2e8f0;
    }
    .service-section-header {
        text-align: center;
        max-width: 780px;
        margin: 0 auto 46px;
    }
    .service-section-tag {
        display: inline-block;
        background: #85c815;
        color: #ffffff;
        font-size: 13px;
        font-weight: 700;
        letter-spacing: .6px;
        text-transform: uppercase;
        padding: 5px 18px;
        border-radius: 30px;
        margin-bottom: 12px;
    }
    .service-section-header h2 {
        font-size: 32px;
        font-weight: 800;
        color: #1664c0;
        margin-bottom: 12px;
        line-height: 1.25;
    }
    .service-section-header p {
        color: #475569;
        font-size: 16px;
        line-height: 1.7;
        margin-bottom: 0;
        text-align: center !important;
    }

    /* 3-Column Responsive Grid */
    .service-cards-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 28px;
    }
    @media (max-width: 991px) {
        .service-cards-grid {
            grid-template-columns: repeat(2, 1fr);
            gap: 22px;
        }
    }
    @media (max-width: 767px) {
        .service-cards-grid {
            grid-template-columns: 1fr;
            gap: 20px;
        }
        .service-section-header h2 {
            font-size: 26px;
        }
        .service-dynamic-wrap {
            padding: 50px 0 20px;
        }
    }

    /* Common Card Aesthetics */
    .service-dyn-card {
        background: #ffffff;
        border-radius: 16px;
        border: 1.5px solid #e2e8f0;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
        box-shadow: 0 4px 18px rgba(22, 100, 192, 0.05);
        height: 100%;
    }
    .service-dyn-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 30px rgba(22, 100, 192, 0.14);
        border-color: #1664c0;
    }

    /* Media Framing */
    .service-dyn-card-img-wrap {
        position: relative;
        height: 220px;
        overflow: hidden;
        background: #0f172a;
    }
    .service-dyn-card-img-wrap img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform 0.4s ease;
    }
    .service-dyn-card:hover .service-dyn-card-img-wrap img {
        transform: scale(1.06);
    }
    .service-dyn-category-badge {
        position: absolute;
        top: 14px;
        left: 14px;
        background: rgba(22, 100, 192, 0.92);
        color: #ffffff;
        font-size: 12px;
        font-weight: 700;
        padding: 5px 12px;
        border-radius: 20px;
        backdrop-filter: blur(4px);
        letter-spacing: 0.3px;
        z-index: 2;
    }
    .service-dyn-count-badge {
        position: absolute;
        bottom: 14px;
        right: 14px;
        background: rgba(15, 23, 42, 0.85);
        color: #ffffff;
        font-size: 12px;
        font-weight: 700;
        padding: 4px 12px;
        border-radius: 20px;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        z-index: 2;
    }

    /* Card Content */
    .service-dyn-card-body {
        padding: 24px 22px;
        display: flex;
        flex-direction: column;
        flex-grow: 1;
    }
    .service-dyn-meta {
        font-size: 13px;
        color: #64748b;
        margin-bottom: 10px;
        display: flex;
        align-items: center;
        gap: 6px;
    }
    .service-dyn-meta i {
        color: #85c815;
    }
    .service-dyn-card-title {
        font-size: 18.5px;
        font-weight: 700;
        line-height: 1.35;
        margin-bottom: 12px;
        min-height: 50px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .service-dyn-card-title a {
        color: #0f172a;
        text-decoration: none !important;
        transition: color 0.2s ease;
    }
    .service-dyn-card-title a:hover {
        color: #1664c0;
    }
    .service-dyn-card-desc {
        color: #475569;
        font-size: 14.5px;
        line-height: 1.6;
        margin-bottom: 18px;
        text-align: justify !important;
        text-justify: inter-word !important;
        min-height: 70px;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        flex-grow: 1;
    }
    .service-dyn-card-btn {
        display: inline-flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 18px;
        background: #f1f5f9;
        color: #1664c0 !important;
        font-size: 14px;
        font-weight: 700;
        border-radius: 8px;
        text-decoration: none !important;
        transition: all 0.2s ease;
        margin-top: auto;
    }
    .service-dyn-card:hover .service-dyn-card-btn {
        background: #1664c0;
        color: #ffffff !important;
    }
    .service-dyn-view-all-wrap {
        text-align: center;
        margin-top: 36px;
    }
    .service-dyn-view-all-btn {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 11px 28px;
        border-radius: 30px;
        border: 2px solid #1664c0;
        color: #1664c0;
        font-weight: 700;
        font-size: 14.5px;
        text-decoration: none !important;
        transition: all 0.25s ease;
        background: transparent;
    }
    .service-dyn-view-all-btn:hover {
        background: #1664c0;
        color: #ffffff !important;
    }

    /* Latest Project Gallery: click opens a same-page preview (no page change) */
    .service-gal-item {
        display: block;
        width: 100%;
        height: 100%;
        padding: 0;
        margin: 0;
        border: 0;
        background: none;
        cursor: zoom-in;
        font: inherit;
    }
    .service-gal-item:focus-visible { outline: 3px solid #85c815; outline-offset: -3px; }

    .svc-lb {
        position: fixed;
        inset: 0;
        z-index: 99999;
        display: none;
        align-items: center;
        justify-content: center;
        padding: 20px;
        background: rgba(11, 47, 92, .92);
    }
    .svc-lb.open { display: flex; }
    .svc-lb-stage {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        max-width: 100%;
        max-height: 100%;
    }
    .svc-lb img {
        max-width: 100%;
        max-height: 80vh;
        border-radius: 8px;
        border: 3px solid #85c815;
        display: block;
        transition: opacity .2s ease;
    }
    .svc-lb img.is-changing { opacity: 0; }
    .svc-lb-caption {
        margin-top: 14px;
        color: #fff;
        font-size: 15px;
        font-weight: 600;
        text-align: center;
        max-width: 90vw;
    }
    .svc-lb-counter {
        margin-top: 4px;
        color: #85c815;
        font-size: 13px;
        font-weight: 700;
        letter-spacing: .5px;
    }
    .svc-lb-close {
        position: absolute;
        top: 14px;
        right: 18px;
        width: 44px;
        height: 44px;
        border-radius: 50%;
        background: #85c815;
        border: 0;
        color: #0b2f5c;
        font-size: 28px;
        line-height: 1;
        cursor: pointer;
        z-index: 2;
    }
    .svc-lb-nav {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 50px;
        height: 50px;
        border-radius: 50%;
        background: #85c815;
        border: 0;
        color: #0b2f5c;
        font-size: 18px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
        transition: background .2s ease, transform .2s ease;
        z-index: 2;
    }
    .svc-lb-nav:hover { background: #fff; transform: translateY(-50%) scale(1.08); }
    .svc-lb-nav:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
    .svc-lb-nav.prev { left: 18px; }
    .svc-lb-nav.next { right: 18px; }
    .svc-lb-nav[disabled] { opacity: .4; cursor: default; }
    @media (max-width: 767px) {
        .svc-lb-nav { width: 42px; height: 42px; font-size: 15px; }
        .svc-lb-nav.prev { left: 8px; }
        .svc-lb-nav.next { right: 8px; }
    }
    @media (prefers-reduced-motion: reduce) {
        .svc-lb img { transition: none; }
    }
