/* ============================================
   SERVICES PAGE
   ============================================ */

:root {
    --services-bg: #f8fafb;
    --services-white: #ffffff;
    --services-text: #111827;
    --services-muted: #6b7280;
    --services-border: rgba(15, 23, 42, 0.08);
    --services-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
    --services-shadow-lift: 0 14px 42px rgba(15, 23, 42, 0.12);
    --eu-blue: #0f2793;
    --eu-gold: #c9a227;
    --eu-navy: #0a1a4a;
}

/* ============================================
   BANNER (UNCHANGED)
   ============================================ */

.services-page-banner {
    position: relative;
    min-height: 360px;
    display: flex;
    align-items: center;
    background-image: linear-gradient(90deg, rgba(0, 35, 96, 0.1), rgba(0, 35, 96, 0.22)),
        url("../images/banner-inner.jpg");
    background-position: center;
    background-size: cover;
    overflow: hidden;
}

.services-page-banner::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 42%;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.32));
    pointer-events: none;
}

.services-banner-content {
    position: relative;
    z-index: 1;
    color: #fff;
    padding: 70px 0;
}

.services-banner-content h1 {
    font-family: "Playfair Display", serif;
    font-size: clamp(2.4rem, 5vw, 4.2rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 14px;
    color: #fff;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.services-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: rgba(255, 255, 255, 0.88);
    font-family: "Poppins", sans-serif;
    font-size: 0.86rem;
    font-weight: 500;
}

.services-breadcrumb a {
    color: #fff;
    text-decoration: none;
}

/* ============================================
   SERVICES INTRO (UNCHANGED)
   ============================================ */

.services-intro-section {
    padding: 78px 0 58px;
    background: linear-gradient(180deg, #fff 0%, var(--services-bg) 100%);
    overflow: hidden;
}

.services-intro-section .section-label {
    color: var(--eu-blue);
}

.services-intro-section .section-title {
    max-width: 650px;
    margin-bottom: 0;
}

.services-intro-section .title-underline {
    margin-top: 11px;
}

.services-intro-section .section-title span {
    color: inherit;
}

.services-intro-text {
    max-width: 460px;
    margin: 34px 0 0 auto;
    color: var(--services-text);
    font-weight: 500;
}

/* ============================================
   SERVICE PILLAR SECTIONS
   ============================================ */

.service-pillar {
    position: relative;
    padding: 0 0 60px;
    /* CHANGE 2: Same gradient background as intro section */
    background: linear-gradient(180deg, var(--services-bg) 0%, #fff 30%, #fff 70%, var(--services-bg) 100%);
    overflow: hidden;
}

.service-pillar::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(15, 39, 147, 0.1), transparent);
}

/* Pillar Header */
.pillar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 40px 0 20px;
    position: relative;
}

.pillar-header-left {
    display: flex;
    align-items: flex-start;
    gap: 0;
    flex: 1;
    max-width: 60%;
}

/* CHANGE 1: Number with white circle background */
.pillar-number-wrap {
    position: relative;
    width: 48px;
    height: 48px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
    margin-right: -8px;
    z-index: 2;
}

.pillar-number-wrap::before {
    content: "";
    position: absolute;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    z-index: -1;
}

.pillar-number {
    font-family: "Poppins", sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--eu-yellow);
    line-height: 1;
    letter-spacing: -0.02em;
}

/* CHANGE 1: Header icon - navy circle with white bootstrap icon */
.pillar-header-icon {
    width: 76px;
    height: 76px;
    min-width: 76px;
    border-radius: 50%;
    background: var(--eu-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 20px rgba(10, 26, 74, 0.25);
    margin-left: 4px;
    border: 10px solid #fff;
}

.pillar-header-icon i {
    font-size: 2rem;
    color: #ffffff;
    line-height: 1;
}

.pillar-header-text {
    flex: 1;
    padding-top: 4px;
    margin-left: 18px;
}

.pillar-header-title {
    font-family: "Playfair Display", serif;
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    font-weight: 700;
    color: var(--eu-navy);
    line-height: 1.2;
    margin-bottom: 10px;
}

.pillar-header-underline {
    width: 45px;
    height: 3px;
    background: var(--eu-yellow);
    border-radius: 2px;
    margin-bottom: 14px;
}

.pillar-header-desc {
    font-family: "Poppins", sans-serif;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #4a5568;
    max-width: 460px;
    margin: 0;
}

.pillar-header-right {
    flex: 0 0 auto;
    max-width: 42%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    margin-bottom: -10px;
}

/* CHANGE 3: Wider illustration - reduced bottom gap */
.pillar-illustration {
    max-width: 100%;
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: contain;
    display: block;
    margin-bottom: -10px;
}

/* ============================================
   PILLAR CARDS ROW
   ============================================ */

.pillar-cards-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    background: #ffffff;
    border: 1px solid #e8ecf1;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
}

.pillar-cards-row.pillar-cards-3 {
    grid-template-columns: repeat(3, 1fr);
}

.pillar-card {
    padding: 32px 28px;
    background: #ffffff;
    border-right: 1px solid #e8ecf1;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.pillar-card:last-child {
    border-right: none;
}

.pillar-card:hover {
    background: #fafbfd;
    box-shadow: inset 0 0 0 1px rgba(15, 39, 147, 0.06);
}

/* Card top row: icon + title side by side */
.pillar-card-top {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 16px;
}

/* CHANGE 4: Bootstrap icon in CSS circle */
.pillar-card-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 50%;
    background: #f0f4f8;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pillar-card-icon i {
    font-size: 1.5rem;
    color: var(--eu-navy);
    line-height: 1;
}

.pillar-card-title-wrap {
    flex: 1;
    min-width: 0;
    padding-top: 2px;
}

/* Title in Playfair Display, less bold */
.pillar-card-title-wrap h4 {
    font-family: "Playfair Display", serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--eu-navy);
    line-height: 1.35;
    margin-bottom: 8px;
}

#pillar-card-title-wrap h4 {
    font-family: "Playfair Display", serif;
    font-size: 1.45rem;
    font-weight: 600;
    color: var(--eu-navy);
    line-height: 1.35;
    margin-bottom: 8px;
}

.pillar-card-underline {
    width: 28px;
    height: 2px;
    background: var(--eu-yellow);
    border-radius: 1px;
}

.pillar-card>p {
    font-family: "Poppins", sans-serif;
    font-size: 0.9rem;
    line-height: 1.7;
    color: #5a6578;
    margin: 0;
    text-align: justify;
}

/* ============================================
   TRUST BAR (YELLOW BAND)
   ============================================ */

.services-trust-bar-section {
    padding: 0 0 60px;
    background: linear-gradient(180deg, var(--services-bg) 0%, #fff 100%);
}

.services-trust-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: stretch;
    background: #fcca00;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(252, 202, 0, 0.25);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 28px 24px;
    position: relative;
}

.trust-item:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 50px;
    background: rgba(15, 39, 147, 0.2);
}

.trust-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: 10px;
    background: var(--eu-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(15, 39, 147, 0.2);
}

.trust-icon i {
    color: #ffffff;
    font-size: 1.5rem;
}

.trust-item span {
    font-family: "Poppins", sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--eu-navy);
    line-height: 1.4;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1199px) {
    .pillar-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }

    .pillar-header-left {
        max-width: 100%;
    }

    .pillar-header-right {
        max-width: 100%;
        align-self: flex-end;
    }

    .pillar-illustration {
        max-height: 160px;
    }

    .pillar-cards-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .pillar-cards-row.pillar-cards-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .pillar-card {
        border-right: 1px solid #e8ecf1;
        border-bottom: 1px solid #e8ecf1;
    }

    .pillar-card:nth-child(2n) {
        border-right: none;
    }

    .pillar-card:nth-last-child(-n+2) {
        border-bottom: none;
    }

    .pillar-cards-row.pillar-cards-3 .pillar-card:nth-child(2n) {
        border-right: 1px solid #e8ecf1;
    }

    .pillar-cards-row.pillar-cards-3 .pillar-card:nth-child(3n) {
        border-right: none;
    }

    .services-trust-bar {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-item:not(:last-child)::after {
        display: none;
    }

    .trust-item:nth-child(odd) {
        border-right: 1px solid rgba(15, 39, 147, 0.15);
    }

    .trust-item:nth-last-child(-n+2) {
        border-top: 1px solid rgba(15, 39, 147, 0.15);
    }

    .trust-item:nth-child(1),
    .trust-item:nth-child(2) {
        border-top: none;
    }
}

@media (max-width: 991px) {
    .services-page-banner {
        min-height: 300px;
    }

    .services-intro-section {
        padding: 58px 0 42px;
    }

    .services-intro-text {
        margin: 24px 0 0;
    }

    .pillar-header {
        padding: 30px 0 15px;
    }

    .pillar-number-wrap {
        width: 40px;
        height: 40px;
        min-width: 40px;
    }

    .pillar-number-wrap::before {
        width: 38px;
        height: 38px;
    }

    .pillar-number {
        font-size: 0.95rem;
    }

    .pillar-header-icon {
        width: 64px;
        height: 64px;
        min-width: 64px;
    }

    .pillar-header-icon i {
        font-size: 1.6rem;
    }

    .pillar-header-title {
        font-size: 1.5rem;
    }

    .pillar-card-top {
        flex-direction: column;
        gap: 12px;
    }

    .pillar-card-icon {
        width: 48px;
        height: 48px;
        min-width: 48px;
    }

    .pillar-card-icon i {
        font-size: 1.3rem;
    }
}

@media (max-width: 767px) {
    .services-banner-content {
        padding: 56px 0;
    }

    .pillar-header-left {
        flex-wrap: wrap;
        gap: 0;
    }

    .pillar-number-wrap {
        margin-top: 4px;
        width: 36px;
        height: 36px;
        min-width: 36px;
    }

    .pillar-number-wrap::before {
        width: 34px;
        height: 34px;
    }

    .pillar-number {
        font-size: 0.85rem;
    }

    .pillar-header-icon {
        width: 54px;
        height: 54px;
        min-width: 54px;
    }

    .pillar-header-icon i {
        font-size: 1.4rem;
    }

    .pillar-header-right {
        display: none;
    }

    .pillar-header-title {
        font-size: 1.3rem;
    }

    .pillar-cards-row,
    .pillar-cards-row.pillar-cards-3 {
        grid-template-columns: 1fr;
    }

    .pillar-card {
        border-right: none !important;
        border-bottom: 1px solid #e8ecf1;
        padding: 28px 22px;
    }

    .pillar-card:last-child {
        border-bottom: none;
    }

    .pillar-card-top {
        flex-direction: row;
        gap: 14px;
    }

    .services-trust-bar {
        grid-template-columns: 1fr;
    }

    .trust-item {
        border-right: none !important;
        border-bottom: 1px solid rgba(15, 39, 147, 0.15);
        padding: 22px 20px;
    }

    .trust-item:last-child {
        border-bottom: none;
    }

    .trust-item:nth-last-child(-n+2) {
        border-top: none;
    }
}