/* =======================================
   CLIENTS PAGE CSS
   ======================================= */

/* SECTION 1 — PAGE HEADER */
.clients-page-header {
    background: linear-gradient(180deg, #f4f9ff 0%, #ffffff 100%);
    padding-top: 260px;
    padding-bottom: 3.5rem;
    border-bottom: 1px solid rgba(15, 76, 129, 0.06);
    text-align: center;
}

.clients-page-header .breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    padding: 0.5rem 1rem;
    background: var(--color-surface-alt);
    border-radius: 999px;
}

.clients-page-header .breadcrumb a {
    color: var(--color-primary);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.25s ease;
}

.clients-page-header .breadcrumb a:hover {
    color: var(--color-primary-hover);
}

.clients-page-header .breadcrumb .separator {
    color: var(--color-black);
    font-size: 0.7rem;
}

.clients-page-header .breadcrumb .current {
    color: var(--color-black);
}

.clients-page-header .page-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 900;
    background: linear-gradient(135deg, #071e3d 0%, #0f4c81 50%, #1a83df 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.clients-page-header .page-subtitle {
    font-size: 1.05rem;
    color: var(--color-black);
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.8;
}

/* SECTION 2 — OVERVIEW STATS */
.clients-overview-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #f4f9ff 100%);
}

.clients-overview-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.clients-overview-card {
    position: relative;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(15, 76, 129, 0.08);
    border-radius: 32px;
    padding: 2.5rem 2rem;
    text-align: center;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(15, 76, 129, 0.04);
}

.clients-overview-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.clients-overview-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(15, 76, 129, 0.2);
    box-shadow: 0 24px 50px rgba(15, 76, 129, 0.12);
    background: #ffffff;
}

.clients-overview-card:hover::before {
    transform: scaleX(1);
}

.clients-overview-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1.25rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: var(--color-primary);
    background: color-mix(in srgb, var(--color-primary) 10%, transparent);
}

.clients-overview-value {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
    letter-spacing: -0.02em;
}

.clients-overview-label {
    margin-top: 0.75rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-black);
    line-height: 1.4;
}

.clients-overview-note {
    margin-top: 0.35rem;
    font-size: 0.8rem;
    color: var(--color-black);
}

/* SECTION HEADINGS (shared) */
.clients-section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 3rem;
}

.clients-section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--color-primary) 10%, transparent);
    color: var(--color-primary);
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.clients-section-badge .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-primary);
}

.clients-section-title {
    font-size: clamp(2.25rem, 4vw, 3rem);
    font-weight: 900;
    background: linear-gradient(135deg, #071e3d 0%, #0f4c81 50%, #1a83df 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.clients-section-desc {
    margin-top: 1rem;
    font-size: 1.05rem;
    color: var(--color-black);
    line-height: 1.75;
}

/* SECTION 3 — FEATURED PARTNERS */
.clients-partners-section {
    padding: 4.5rem 0;
    background: #fff;
}

.clients-partners-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1.5rem;
}

.partner-showcase-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(15, 76, 129, 0.08);
    border-radius: 28px;
    padding: 1.5rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 24px rgba(15, 76, 129, 0.03);
}

.partner-showcase-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: color-mix(in srgb, var(--color-primary) 20%, transparent);
    box-shadow: 0 24px 50px rgba(15, 76, 129, 0.1);
    background: #ffffff;
}

.partner-showcase-logo {
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    padding: 0.75rem;
    background: var(--color-surface-alt);
    border-radius: 16px;
    border: 1px solid var(--color-border);
}

.partner-showcase-logo img {
    max-height: 150px;
    max-width: 100%;
    object-fit: contain;
    transition: all 0.35s ease;
}

.partner-showcase-card:hover .partner-showcase-logo img {
    opacity: 1;
}

.partner-showcase-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-black);
    margin-bottom: 0.75rem;
}

.partner-showcase-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: auto;
}

.partner-meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    background: var(--color-surface-alt);
    color: var(--color-black);
    border: 1px solid var(--color-border);
}

.partner-meta-pill i {
    color: var(--color-primary);
    font-size: 0.7rem;
}

.partner-meta-pill.industry {
    background: color-mix(in srgb, var(--color-primary) 8%, transparent);
    color: var(--color-primary);
    border-color: color-mix(in srgb, var(--color-primary) 20%, transparent);
}

/* SECTION 4 — INDUSTRIES */
.clients-industries-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, #f4f9ff 0%, #ffffff 100%);
}

.clients-industries-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.clients-industry-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(15, 76, 129, 0.08);
    border-radius: 28px;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    min-height: 100%;
    box-shadow: 0 8px 24px rgba(15, 76, 129, 0.03);
}

.clients-industry-card:hover {
    transform: translateY(-8px);
    border-color: color-mix(in srgb, var(--color-primary) 20%, transparent);
    box-shadow: 0 20px 48px rgba(15, 76, 129, 0.08);
    background: #ffffff;
}

.clients-industry-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.clients-industry-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    color: var(--color-primary);
    background: color-mix(in srgb, var(--color-primary) 10%, transparent);
    flex-shrink: 0;
}

.clients-industry-count {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
}

.clients-industry-count span {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--color-black);
    margin-top: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.clients-industry-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-black);
    margin-bottom: 1rem;
}

.clients-industry-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px dashed var(--color-border);
}

.clients-industry-logos img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    padding: 4px;
    background: var(--color-surface-alt);
    border-radius: 8px;
    border: 1px solid var(--color-border);
    filter: grayscale(100%);
    opacity: 0.75;
    transition: all 0.3s ease;
}

.clients-industry-card:hover .clients-industry-logos img {
    filter: grayscale(0%);
    opacity: 1;
}

/* SECTION 5 — COUNTRIES */
.clients-countries-section {
    padding: 4.5rem 0;
    background: #fff;
}

.clients-countries-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.clients-country-card {
    position: relative;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(15, 76, 129, 0.08);
    border-radius: 28px;
    padding: 2.25rem 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(15, 76, 129, 0.03);
}

.clients-country-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background: var(--color-primary);
    border-radius: 3px 3px 0 0;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.clients-country-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: color-mix(in srgb, var(--color-primary) 20%, transparent);
    box-shadow: 0 24px 50px rgba(15, 76, 129, 0.1);
    background: #ffffff;
}

.clients-country-card:hover::after {
    opacity: 1;
}

.clients-country-flag {
    width: 72px;
    height: 52px;
    margin: 0 auto 1.25rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--color-border);
}

.clients-country-flag img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.clients-country-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-black);
    margin-bottom: 0.5rem;
}

.clients-country-partners {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-primary);
}

/* SECTION 6 — PARTNERSHIP HIGHLIGHTS */
.clients-highlights-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f4f9ff 0%, #ffffff 50%, #f4f9ff 100%);
    border-top: 1px solid rgba(15, 76, 129, 0.06);
    border-bottom: 1px solid rgba(15, 76, 129, 0.06);
}

.clients-highlights-mosaic {
    display: grid;
    grid-template-columns: 1.15fr 1fr 1fr;
    grid-auto-rows: minmax(0, auto);
    gap: 1.25rem;
}

.clients-highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2.25rem;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(15, 76, 129, 0.08);
    border-radius: 28px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 24px rgba(15, 76, 129, 0.03);
}

.clients-highlight-item:hover {
    border-color: color-mix(in srgb, var(--color-primary) 20%, transparent);
    box-shadow: 0 20px 48px rgba(15, 76, 129, 0.08);
    transform: translateY(-6px);
    background: #ffffff;
}

.clients-highlight-item.featured {
    grid-column: 1;
    grid-row: 1 / span 2;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 3rem 2.5rem;
    background: linear-gradient(135deg, var(--color-primary) 0%, #1a83df 100%);
    border: none;
    color: #fff;
    box-shadow: 0 20px 48px rgba(15, 76, 129, 0.15);
}

.clients-highlight-item.featured .clients-highlight-icon {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    width: 72px;
    height: 72px;
    font-size: 1.75rem;
    margin: 0 auto;
}

.clients-highlight-item.featured .clients-highlight-text h3,
.clients-highlight-item.featured .clients-highlight-text p {
    color: #fff;
}

.clients-highlight-item.featured .clients-highlight-text p {
    opacity: 0.9;
}

.clients-highlight-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--color-primary);
    background: color-mix(in srgb, var(--color-primary) 10%, transparent);
    flex-shrink: 0;
}

.clients-highlight-text h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-black);
    line-height: 1.35;
    margin-bottom: 0.35rem;
}

.clients-highlight-text p {
    font-size: 0.875rem;
    color: var(--color-black);
    line-height: 1.5;
}

.clients-highlight-item.featured .clients-highlight-value {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    margin: 1rem 0 0.5rem;
}

.clients-highlights-mosaic .clients-highlight-item:nth-child(6) {
    grid-column: 2 / 4;
}

/* SECTION 7 — TESTIMONIALS */
.clients-testimonials-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #f4f9ff 100%);
}

.clients-testimonial-nav {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.employer-testimonial-prev,
.employer-testimonial-next {
    width: 48px;
    height: 48px;
    border-radius: 999px;
    border: 1px solid var(--color-border);
    background: var(--color-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.employer-testimonial-prev:hover,
.employer-testimonial-next:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}

.employer-testimonial-swiper {
    overflow: hidden;
}

.employer-testimonial-swiper .swiper-slide {
    height: auto;
}

.employer-testimonial-card {
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(15, 76, 129, 0.08);
    border-radius: 36px;
    padding: 2.5rem 2.5rem 3rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(15, 76, 129, 0.04);
}

.employer-testimonial-card:hover {
    border-color: color-mix(in srgb, var(--color-primary) 20%, transparent);
    transform: translateY(-8px);
    box-shadow: 0 24px 50px rgba(15, 76, 129, 0.08);
    background: #ffffff;
}

.employer-testimonial-quote {
    font-size: 2.5rem;
    color: color-mix(in srgb, var(--color-primary) 25%, transparent);
    line-height: 1;
    margin-bottom: 1.25rem;
}

.employer-testimonial-message {
    font-size: 1.05rem;
    color: var(--color-black);
    line-height: 1.8;
    font-style: italic;
}

.employer-testimonial-footer {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border);
}

.employer-testimonial-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.employer-testimonial-footer h4 {
    font-weight: 700;
    color: var(--color-black);
    font-size: 1rem;
}

.employer-testimonial-footer span {
    display: block;
    font-size: 0.875rem;
    color: var(--color-black);
    margin-top: 0.15rem;
}

.employer-testimonial-footer small {
    display: block;
    font-size: 0.8rem;
    color: var(--color-primary);
    font-weight: 600;
    margin-top: 0.25rem;
}

/* SECTION 8 — CTA */
.clients-cta-section {
    padding: 7rem 0;
    background: #ffffff;
    border-top: 1px solid rgba(15, 76, 129, 0.06);
}

.clients-cta-wrapper {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 5rem 4rem;
    background: linear-gradient(145deg, #ffffff 0%, color-mix(in srgb, var(--color-primary) 4%, #ffffff) 100%);
    border: 1px solid rgba(15, 76, 129, 0.1);
    border-radius: 48px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 32px 80px rgba(15, 76, 129, 0.08), inset 0 2px 0 #fff;
}

.clients-cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--color-primary) 10%, transparent);
    color: var(--color-primary);
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.clients-cta-heading {
    font-size: clamp(2.25rem, 4vw, 2.75rem);
    font-weight: 900;
    color: var(--color-black);
    line-height: 1.15;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.clients-cta-sub {
    font-size: 1.05rem;
    color: var(--color-black);
    line-height: 1.8;
    margin-bottom: 2.25rem;
}

.clients-cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.clients-cta-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.875rem 1.875rem;
    border-radius: 999px;
    background: var(--color-primary);
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(15, 76, 129, 0.2);
}

.clients-cta-btn-primary:hover {
    background: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(15, 76, 129, 0.3);
}

.clients-cta-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.875rem 1.875rem;
    border-radius: 999px;
    background: #fff;
    color: var(--color-primary);
    font-weight: 700;
    font-size: 0.95rem;
    border: 2px solid var(--color-primary);
    transition: all 0.3s ease;
    text-decoration: none;
}

.clients-cta-btn-outline:hover {
    background: color-mix(in srgb, var(--color-primary) 8%, transparent);
    transform: translateY(-2px);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .clients-overview-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .clients-partners-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .clients-industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .clients-highlights-mosaic {
        grid-template-columns: repeat(2, 1fr);
    }

    .clients-highlight-item.featured {
        grid-column: 1 / -1;
        grid-row: auto;
        flex-direction: row;
        text-align: left;
    }

    .clients-highlight-item.featured .clients-highlight-icon {
        margin: 0;
    }

    .clients-highlights-mosaic .clients-highlight-item:nth-child(6) {
        grid-column: auto;
    }
}

@media (max-width: 768px) {
    .clients-page-header .page-title {
        font-size: 1.875rem;
    }

    .clients-section-title {
        font-size: 1.625rem;
    }

    .clients-overview-grid,
    .clients-industries-grid,
    .clients-countries-grid {
        grid-template-columns: 1fr;
    }

    .clients-partners-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .clients-highlights-mosaic {
        grid-template-columns: 1fr;
    }

    .clients-highlight-item.featured {
        grid-column: auto;
        grid-row: auto;
        flex-direction: column;
        text-align: center;
    }

    .clients-highlight-item.featured .clients-highlight-icon {
        margin: 0 auto;
    }

    .clients-highlights-mosaic .clients-highlight-item:nth-child(6) {
        grid-column: auto;
    }

    .clients-cta-heading {
        font-size: 1.75rem;
    }

    .clients-cta-wrapper {
        padding: 2rem 1.5rem;
    }

    .clients-cta-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .clients-cta-btn-primary,
    .clients-cta-btn-outline {
        justify-content: center;
    }

    .clients-testimonial-nav {
        justify-content: center;
    }
}

@media (min-width: 640px) and (max-width: 768px) {
    .clients-countries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .clients-partners-grid {
        grid-template-columns: 1fr;
    }
}

/* Simple responsive padding for headers */
@media (max-width: 1024px) {
    .clients-page-header {
        padding-top: 115px;
        padding-bottom: 2rem;
    }
}