/* ============================================================
   CORPORATE CLIENTELE PAGE STYLES  —  LIGHT THEME
   Home/Contact page ke same fonts + pink brand
   Scoped under .cc-page so global header/footer stay untouched
   ============================================================ */

/* ---------- Tokens ---------- */
.cc-page {
    /* brand */
    --cc-brand: #e11d2e;
    --cc-brand-dark: #b3121f;
    --cc-brand-soft: #fdf3f3;

    /* text */
    --cc-heading: #14161d;
    --cc-text: #3d4250;
    --cc-muted: #6b7280;

    /* surfaces (sab light) */
    --cc-bg: #ffffff;
    --cc-bg-soft: #f7f8fa;
    --cc-bg-tint: #fdf9f8;
    --cc-line: #ececf1;

    --cc-radius: 16px;
    --cc-radius-sm: 12px;
    --cc-shadow: 0 14px 40px rgba(20, 22, 29, .07);
    --cc-shadow-sm: 0 6px 18px rgba(20, 22, 29, .05);

    /* fonts (same as home/contact page) */
    --cc-font: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --cc-font-accent: 'Playfair Display', Georgia, serif;

    font-family: var(--cc-font);
    color: var(--cc-text);
    background: var(--cc-bg);
    -webkit-font-smoothing: antialiased;
}

.cc-page * {
    box-sizing: border-box;
}

/* accent italic serif words (jaise "next certification", "suits you") */
.cc-page em {
    font-family: var(--cc-font-accent);
    font-style: italic;
    font-weight: 600;
    color: var(--cc-brand);
}

/* ---------- Layout helpers ---------- */
.cc-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---------- Section headings ---------- */
.cc-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 44px;
}

.cc-head__kicker {
    display: inline-block;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--cc-brand);
    margin-bottom: 12px;
}

.cc-head__title {
    font-family: var(--cc-font);
    font-size: clamp(26px, 3.4vw, 40px);
    line-height: 1.22;
    font-weight: 700;
    letter-spacing: -.02em;
    color: var(--cc-heading);
    margin: 0 0 14px;
}

.cc-head__sub {
    font-size: 15px;
    line-height: 1.8;
    font-weight: 400;
    color: var(--cc-muted);
    margin: 0;
}

/* ---------- Buttons (pill, home page jaise) ---------- */
.cc-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: 999px;
    font-family: var(--cc-font);
    font-size: 14.5px;
    font-weight: 600;
    text-decoration: none;
    transition: .25s ease;
    white-space: nowrap;
}

.cc-btn--solid {
    background: var(--cc-brand);
    color: #fff;
    box-shadow: 0 10px 24px rgba(225, 29, 46, .22);
}

.cc-btn--solid:hover {
    background: var(--cc-brand-dark);
    transform: translateY(-2px);
}

.cc-btn--line {
    border: 1px solid var(--cc-line);
    background: #fff;
    color: var(--cc-heading);
}

.cc-btn--line:hover {
    border-color: var(--cc-brand);
    color: var(--cc-brand);
}

/* ============================================================
   SECTION 1 : HERO (light + subtle grid pattern)
   ============================================================ */
.cc-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #fff 0%, var(--cc-bg-tint) 100%);
    padding: clamp(104px, 11vw, 150px) 0 clamp(46px, 6vw, 76px);
    border-bottom: 1px solid var(--cc-line);
}
.cc-hero__inner {
    position: relative;
    z-index: 1;
}

.cc-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    background: var(--cc-brand-soft);
    color: var(--cc-brand);
    border: 1px solid rgba(225, 29, 46, .18);
}

.cc-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--cc-brand);
    display: inline-block;
}

.cc-hero__title {
    font-size: 3.3rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -.03em;
    color: var(--cc-heading);
    margin: 18px 0 14px;
}

.cc-hero__text {
    max-width: 620px;
    font-size: 15.5px;
    line-height: 1.85;
    color: var(--cc-muted);
    margin: 0;
}

.cc-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

/* stats — light cards */
.cc-stats {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin: 40px 0 0;
    padding: 0;
}

.cc-stats li {
    background: #fff;
    border: 1px solid var(--cc-line);
    border-radius: var(--cc-radius-sm);
    padding: 18px 20px;
    box-shadow: var(--cc-shadow-sm);
}

.cc-stats strong {
    display: block;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -.02em;
    color: var(--cc-heading);
}

.cc-stats span {
    font-size: 12.5px;
    color: var(--cc-muted);
    letter-spacing: .02em;
}

/* ============================================================
   SECTION 2 : CLIENT LOGO GRID (white bg)
   ============================================================ */
.cc-clients {
    padding: 76px 0;
    background: var(--cc-bg);
}

.cc-logos {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.cc-logo {
    margin: 0;
    padding: 18px 14px;
    background: #fff;
    border: 1px solid var(--cc-line);
    border-radius: var(--cc-radius-sm);
    text-align: center;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.cc-logo:hover {
    transform: translateY(-4px);
    box-shadow: var(--cc-shadow);
    border-color: rgba(225, 29, 46, .28);
}

.cc-logo img {
    width: 100%;
    height: 56px;
    object-fit: contain;
    display: block;
}

/* hover effect sirf card lift karega, image hamesha colored rahegi */
.cc-logo:hover img {
    transform: scale(1.02);
}


.cc-logo figcaption {
    margin-top: 12px;
    font-size: 12px;
    font-weight: 500;
    color: var(--cc-muted);
    line-height: 1.45;
}

/* ============================================================
   SECTION 3 : INDUSTRIES (soft light bg + checks pattern)
   ============================================================ */
.cc-industries {
    position: relative;
    padding: 76px 0;
    background: var(--cc-bg-soft);
    border-top: 1px solid var(--cc-line);
    border-bottom: 1px solid var(--cc-line);
}
.cc-industries .cc-container {
    position: relative;
    z-index: 1;
}

.cc-ind-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.cc-ind {
    position: relative;
    background: #fff;
    border: 1px solid var(--cc-line);
    border-radius: var(--cc-radius);
    padding: 26px 24px;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease;
}

.cc-ind::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: var(--cc-brand);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform .3s ease;
}

.cc-ind:hover {
    transform: translateY(-4px);
    box-shadow: var(--cc-shadow);
}

.cc-ind:hover::after {
    transform: scaleY(1);
}

/* Industry card icon */
.cc-ind__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 1px solid color-mix(in srgb,
            var(--cc-brand) 18%,
            transparent);
    border-radius: 12px;
    color: var(--cc-brand);
    background: var(--cc-brand-soft);
    transition:
        color .25s ease,
        background-color .25s ease,
        border-color .25s ease,
        transform .25s ease;
}

.cc-ind__icon svg {
    width: 23px;
    height: 23px;
    display: block;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
}

/* Icon interaction */
.cc-ind:hover .cc-ind__icon {
    color: #fff;
    background: var(--cc-brand);
    border-color: var(--cc-brand);
    transform: translateY(-2px);
}


.cc-ind h3 {
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -.01em;
    color: var(--cc-heading);
    margin: 16px 0 8px;
}

.cc-ind p {
    font-size: 14px;
    line-height: 1.75;
    color: var(--cc-muted);
    margin: 0;
}

/* ============================================================
   SECTION 4 : WHY US (white)
   ============================================================ */
.cc-why {
    padding: 76px 0;
    background: var(--cc-bg);
}

.cc-why__inner {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 48px;
    align-items: center;
}

.cc-why__copy .cc-head__title,
.cc-why__copy .cc-head__sub {
    text-align: left;
}

.cc-why__copy .cc-head__title {
    margin-top: 8px;
}

.cc-why__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 14px;
}

.cc-why__list li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: var(--cc-bg-soft);
    border: 1px solid var(--cc-line);
    border-radius: var(--cc-radius);
    padding: 18px 20px;
    transition: background .25s ease, border-color .25s ease, transform .25s ease;
}

.cc-why__list li:hover {
    background: var(--cc-brand-soft);
    border-color: rgba(225, 29, 46, .20);
    transform: translateX(4px);
}

.cc-check {
    flex: 0 0 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--cc-brand);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
}

.cc-why__list h4 {
    margin: 0 0 5px;
    font-size: 15.5px;
    font-weight: 600;
    color: var(--cc-heading);
}

.cc-why__list p {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    color: var(--cc-muted);
}

/* ============================================================
   SECTION 5 : CTA BANNER (light card, not dark)
   ============================================================ */
.cc-cta {
    padding: 0 0 84px;
    background: var(--cc-bg);
}

.cc-cta__inner {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
    flex-wrap: wrap;
    background: linear-gradient(120deg, #fff 0%, #fdf6f5 100%);
    border: 1px solid var(--cc-line);
    border-radius: 22px;
    padding: 40px 42px;
    box-shadow: var(--cc-shadow);
}

.cc-cta__inner::after {
    content: "";
    position: absolute;
    right: -80px;
    bottom: -110px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(225, 29, 46, .07), transparent 72%);
    pointer-events: none;
}

.cc-cta__copy {
    position: relative;
    z-index: 1;
}

.cc-cta h2 {
    margin: 0 0 8px;
    font-size: clamp(21px, 2.7vw, 29px);
    font-weight: 700;
    letter-spacing: -.02em;
    color: var(--cc-heading);
    line-height: 1.28;
}

.cc-cta p {
    margin: 0;
    color: var(--cc-muted);
    font-size: 15px;
}

.cc-cta__actions {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width:1100px) {
    .cc-logos {
        grid-template-columns: repeat(4, 1fr);
    }

    .cc-ind-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cc-why__inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width:820px) {
    .cc-hero {
        padding: 115px 0 56px;
    }

    .cc-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .cc-clients,
    .cc-industries,
    .cc-why {
        padding: 54px 0;
    }

    .cc-cta {
        padding-bottom: 60px;
    }

    .cc-cta__inner {
        padding: 30px 26px;
    }
}

@media (max-width:600px) {
    .cc-logos {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .cc-ind-grid {
        grid-template-columns: 1fr;
    }

    .cc-logo img {
        height: 48px;
    }

    .cc-head {
        margin-bottom: 32px;
    }

    .cc-hero__actions,
    .cc-cta__actions {
        width: 100%;
    }

    .cc-btn {
        flex: 1 1 auto;
        justify-content: center;
    }
}

@media (max-width:380px) {
    .cc-stats {
        grid-template-columns: 1fr;
    }
}

/* ======================================================
   CORPORATE — TITLE, DARK POINTS & FINAL CTA FIXES
   Existing global heading shimmer remains unchanged
   ====================================================== */

/* Hero decorations no longer take up layout space */
.cc-page .cc-hero {
    min-height: 0;
}

/* Keep content above the decorative sparks */
.cc-page :is(.cc-hero, .cc-why) > .cc-container {
    position: relative;
    z-index: 1;
}

/* Right-side points: their own old colors were still dark */
.cc-page .cc-why .cc-why__list h4 {
    color: var(--cc-bg) !important;
    -webkit-text-fill-color: currentColor;
}

.cc-page .cc-why .cc-why__list p {
    color: var(--pg-dark-text) !important;
}

.cc-page .cc-why .cc-check {
    color: var(--cc-bg) !important;
}

/* Allow point text to wrap without pushing the layout */
.cc-page .cc-why__inner > *,
.cc-page .cc-why__list li > div {
    min-width: 0;
}

.cc-page .cc-why__list :is(h4, p) {
    overflow-wrap: anywhere;
}

/* Restore the missing space ABOVE the final CTA */
.cc-page .cc-cta {
    padding: 76px 0 84px;
}

.cc-page .cc-cta__copy {
    flex: 1 1 360px;
    min-width: 0;
}

.cc-page .cc-cta__actions {
    max-width: 100%;
    min-width: 0;
}

.cc-page .cc-cta p {
    line-height: 1.8;
}

@media (max-width: 820px) {
    .cc-page .cc-hero__title {
        font-size: 2.8rem;
    }

    .cc-page .cc-cta {
        padding: 54px 0 60px;
    }
}

@media (max-width: 639px) {
    .cc-page .cc-hero__title {
        font-size: 2.5rem;
    }
}

@media (max-width: 600px) {
    .cc-page .cc-cta__copy {
        flex-basis: 100%;
    }

    .cc-page .cc-cta__actions {
        width: 100%;
    }

    .cc-page :is(.cc-hero__actions, .cc-cta__actions) .cc-btn {
        min-width: 0;
        max-width: 100%;
        white-space: normal;
        overflow-wrap: anywhere;
        text-align: center;
    }
}

@media (max-width: 380px) {
    .cc-page .cc-hero__title {
        font-size: 1.9rem;
    }

    .cc-page .cc-cta {
        padding-top: 44px;
    }
}
