/* ================================================================
   company_profile.css  —  Vividhity Ventures
   Light, clean, professional — matches homepage aesthetic
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Sora:wght@400;600;700;800&display=swap');

/* ── Variables ── */
:root {
    --blue: #2563EB;
    --blue-dark: #1D4ED8;
    --blue-light: #EFF6FF;
    --blue-mid: #DBEAFE;
    --teal: #0EA5E9;
    --teal-light: #E0F7FF;
    --ink: #0F172A;
    --ink-2: #1E293B;
    --body-text: #475569;
    --muted: #94A3B8;
    --border: #E2E8F0;
    --surface: #F8FAFC;
    --surface-2: #F1F5F9;
    --white: #FFFFFF;
    --font-body: 'Inter', sans-serif;
    --font-head: 'Sora', sans-serif;
    --radius: 14px;
    --radius-lg: 22px;
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 8px 28px rgba(15, 23, 42, 0.09);
    --shadow-lg: 0 20px 60px rgba(15, 23, 42, 0.12);
    --tr: 0.38s cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background: var(--white);
    color: var(--body-text);
    font-family: var(--font-body);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

/* ── Layout ── */
.cp-container {
    max-width: 95%;
    margin: 0 auto;
    padding: 0 32px;
}

/* ── Typography helpers ── */
.cp-eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 10px;
}

.cp-eyebrow--light {
    color: rgba(255, 255, 255, 0.55);
}

.cp-section-title {
    font-family: var(--font-head);
    font-size: clamp(1.85rem, 3vw, 2.65rem);
    font-weight: 800;
    color: var(--ink);
    line-height: 1.18;
}

.cp-section-desc {
    color: var(--muted);
    font-size: 1rem;
    max-width: 560px;
    margin: 14px auto 0;
}

.cp-body-text {
    color: var(--body-text);
    font-size: 0.97rem;
    line-height: 1.8;
    margin-bottom: 16px;
}

.cp-section-head {
    text-align: left;
    margin-bottom: 40px;
}

/* ── Scroll Reveal ── */
.cp-reveal-up,
.cp-reveal-left,
.cp-reveal-right {
    opacity: 0;
    transition: opacity 0.6s var(--tr), transform 0.6s var(--tr);
}

.cp-reveal-up {
    transform: translateY(30px);
}

.cp-reveal-left {
    transform: translateX(-30px);
}

.cp-reveal-right {
    transform: translateX(30px);
}

.cp-reveal-up.cp-visible,
.cp-reveal-left.cp-visible,
.cp-reveal-right.cp-visible {
    opacity: 1;
    transform: none;
}

/* ══════════════════════════════
   HERO
══════════════════════════════ */
.cp-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(155deg, #EFF6FF 0%, #E0F2FE 50%, #F8FAFF 100%);
    padding: 72px 0 60px;
    text-align: center;
}

/* Subtle dot-grid texture */
.cp-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, #bfdbfe 1px, transparent 1px);
    background-size: 38px 38px;
    opacity: 0.4;
    pointer-events: none;
}

.cp-hero__blob {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(80px);
}

.cp-hero__blob--1 {
    width: 500px;
    height: 500px;
    background: rgba(37, 99, 235, 0.1);
    top: -120px;
    right: -80px;
}

.cp-hero__blob--2 {
    width: 380px;
    height: 380px;
    background: rgba(14, 165, 233, 0.08);
    bottom: -60px;
    left: -60px;
}

.cp-hero__inner {
    position: relative;
    z-index: 2;
    max-width: 820px;
    margin: 0 auto;
}

.cp-hero__tag {
    display: inline-flex;
    align-items: center;
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 50px;
    padding: 7px 20px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--blue);
    margin-bottom: 28px;
    animation: cpFadeDown 0.7s ease both;
}

.cp-hero__title {
    font-family: var(--font-head);
    font-size: clamp(2.6rem, 5vw, 4.4rem);
    font-weight: 800;
    color: var(--ink);
    line-height: 1.1;
    margin-bottom: 22px;
    animation: cpFadeUp 0.8s 0.1s ease both;
}

.cp-hero__title-accent {
    color: var(--blue);
}

.cp-hero__sub {
    font-size: 1.05rem;
    color: var(--body-text);
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.75;
    animation: cpFadeUp 0.8s 0.2s ease both;
}

/* ══════════════════════════════
   STATS BAR
══════════════════════════════ */
.cp-stats-bar {
    background: var(--white);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 24px 0;
}

.cp-stats-bar__grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}

.cp-stat-item {
    text-align: center;
    padding: 8px 52px;
}

.cp-stat-item__top {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
}

.cp-stat-item__num {
    font-family: var(--font-head);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--ink);
    line-height: 1;
}

.cp-stat-item__plus {
    font-family: var(--font-head);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--blue);
}

.cp-stat-item p {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--muted);
    font-weight: 600;
    margin-top: 5px;
}

.cp-stat-divider {
    width: 1px;
    height: 48px;
    background: var(--border);
    flex-shrink: 0;
}

/* ══════════════════════════════
   WHO WE ARE
══════════════════════════════ */
.cp-about {
    padding: 70px 0;
    background: linear-gradient(160deg, #d0dcff 0%, #eef2ff 50%, #f5f7ff 100%);
}

.cp-about__grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    /* wider left column for image */
    gap: 64px;
    align-items: center;
}

/* ── Image wrapper: taller, full-height stretch ── */
.cp-about__img-wrap {
    position: relative;
    border-radius: var(--radius-lg);
    /* stretch to match the right-column text height */
    align-self: stretch;
    display: flex;
    flex-direction: column;
}

.cp-about__img-wrap img.cp-about__img {
    width: 100%;
    height: 100%;
    /* fill the wrapper's full height */
    min-height: 480px;
    /* floor so it never collapses */
    object-fit: cover;
    object-position: center top;
    border-radius: var(--radius-lg);
    display: block;
    box-shadow: var(--shadow-lg);

    /* ── Entrance animation ── */
    animation: cpImgReveal 0.9s 0.15s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Subtle floating / breathing loop */
.cp-about__img-wrap {
    animation: cpImgFloat 7s ease-in-out infinite;
}

/* Shimmer-glow ring around the image on hover */
.cp-about__img-wrap::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: calc(var(--radius-lg) + 6px);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.18) 0%, rgba(14, 165, 233, 0.12) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
    pointer-events: none;
}

.cp-about__img-wrap:hover::before {
    opacity: 1;
}

/* Keep img and badge above the ring */
.cp-about__img-wrap img.cp-about__img,
.cp-about__badge {
    position: relative;
    z-index: 1;
}

/* ── Keyframes ── */
@keyframes cpImgReveal {
    from {
        opacity: 0;
        transform: translateX(-28px) scale(0.97);
        clip-path: inset(0 100% 0 0 round 22px);
    }

    to {
        opacity: 1;
        transform: translateX(0) scale(1);
        clip-path: inset(0 0% 0 0 round 22px);
    }
}

@keyframes cpImgFloat {

    0%,
    100% {
        transform: translateY(0px);
    }

    45% {
        transform: translateY(-7px);
    }

    90% {
        transform: translateY(3px);
    }
}

/* Placeholder when no image */
.cp-about__img-placeholder {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 420px;
    background: var(--surface-2);
    border: 2px dashed var(--border);
    border-radius: var(--radius-lg);
    text-align: center;
    padding: 40px;
}

.cp-about__img-placeholder p {
    font-size: 0.87rem;
    color: var(--muted);
    font-weight: 500;
}

.cp-about__img-placeholder code {
    font-size: 0.72rem;
    color: var(--blue);
    background: var(--blue-light);
    padding: 4px 12px;
    border-radius: 6px;
    font-family: monospace;
    word-break: break-all;
}

.cp-no-img img.cp-about__img {
    display: none;
}

.cp-no-img .cp-about__img-placeholder {
    display: flex;
}

/* Badge */
.cp-about__badge {
    position: absolute;
    bottom: -18px;
    right: -18px;
    background: #085394;
    color: #fff;
    border-radius: 16px;
    padding: 18px 24px;
    text-align: center;
    box-shadow: 0 10px 32px rgba(37, 99, 235, 0.32);
    z-index: 2;
}

.cp-about__badge strong {
    display: block;
    font-family: var(--font-head);
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.cp-about__badge span {
    font-size: 0.77rem;
    font-weight: 500;
    opacity: 0.9;
    line-height: 1.4;
}

/* Body */
.cp-about__body .cp-eyebrow {
    display: block;
}

.cp-about__body .cp-section-title {
    margin-bottom: 20px;
}

.cp-about__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 26px;
}

.cp-about__tags span {
    background: var(--surface-2);
    border: 1px solid var(--border);
    color: var(--ink-2);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 50px;
    transition: var(--tr);
}

.cp-about__tags span:hover {
    background: var(--blue-light);
    border-color: rgba(37, 99, 235, 0.3);
    color: var(--blue);
}

/* ══════════════════════════════
   MISSION & VISION
   Left: text  |  Right: larger stacked images
══════════════════════════════ */
.cp-mv {
    padding: 68px 0 76px;
    background: var(--white);
    border-top: 1px solid var(--border);
}

/* Section head — centered */
.cp-mv .cp-section-head {
    text-align: left;
    margin-bottom: 40px;
}

/* Two-column layout: text LEFT, images RIGHT */
.cp-mv__layout {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 72px;
    align-items: flex-start;
}

/* ── RIGHT: stacked image slots (larger) ── */
.cp-mv__images {
    position: relative;
    height: 540px;
}

.cp-mv__img-slot {
    position: absolute;
    border-radius: 22px;
    overflow: hidden;
    background: var(--surface-2);
    border: 1.5px dashed #C7D7F0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Back image — large, top-left */
.cp-mv__img-slot--back {
    width: 68%;
    height: 380px;
    top: 0;
    left: 0;
    z-index: 1;
    border-radius: 22px;
}

/* Front image — overlaps bottom-right, slightly smaller */
.cp-mv__img-slot--front {
    width: 58%;
    height: 320px;
    bottom: 0;
    right: 0;
    z-index: 2;
    border-radius: 22px;
    box-shadow: 0 20px 56px rgba(15, 23, 42, 0.13);
    background: var(--white);
    border: 3px solid var(--white);
}

.cp-mv__img-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    height: 100%;
    text-align: center;
    padding: 24px;
}

.cp-mv__img-placeholder span {
    font-size: 0.82rem;
    color: var(--muted);
    font-weight: 500;
}

.cp-mv__img-slot img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

/* Float animations for MV images */
@keyframes mvFloatSlow {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes mvFloatFast {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-14px);
    }
}

.cp-mv-float-slow {
    animation: mvFloatSlow 5s ease-in-out infinite;
}

.cp-mv-float-fast {
    animation: mvFloatFast 3.8s ease-in-out infinite;
    animation-delay: 0.6s;
}

/* ── LEFT: text content — richer styling ── */
.cp-mv__body {
    padding-top: 4px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Mission block */
.cp-mv__block {
    position: relative;
    padding: 28px 28px 28px 32px;
    border-radius: 16px;
    margin-bottom: 16px;
    transition: var(--tr);
}

.cp-mv__block::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20px;
    bottom: 20px;
    width: 4px;
    border-radius: 4px;
    background: linear-gradient(180deg, #085394, #2563EB);
}

.cp-mv__block:hover {
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.cp-mv__block-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.cp-mv__block-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--blue-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cp-mv__heading {
    font-family: var(--font-head);
    font-size: 1.15rem;
    font-weight: 700;
}

.cp-mv__heading--blue {
    color: #085394;
}

.cp-mv__text {
    color: var(--body-text);
    font-size: 0.93rem;
    line-height: 1.8;
}

/* Bullet list — styled as tag-like items */
.cp-mv__list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 16px;
    margin: 20px 0 4px;
    padding: 0 0 4px;
}

.cp-mv__list li {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 0.87rem;
    color: var(--ink-2);
    font-weight: 600;
    line-height: 1.4;
    background: var(--blue-light);
    border: 1px solid rgba(8, 83, 148, 0.12);
    border-radius: 8px;
    padding: 9px 14px;
}

.cp-mv__list li::before {
    content: '';
    width: 7px;
    height: 7px;
    min-width: 7px;
    background: #085394;
    border-radius: 50%;
    opacity: 0.7;
}

/* Phone CTA widget */
.cp-mv__contact {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: 14px;
    padding: 14px 20px;
    margin-top: 20px;
    width: fit-content;
    transition: var(--tr);
    box-shadow: var(--shadow-sm);
}

.cp-mv__contact:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(8, 83, 148, 0.25);
    transform: translateY(-2px);
}

.cp-mv__contact-icon {
    width: 44px;
    height: 44px;
    background: var(--blue-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cp-mv__contact-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cp-mv__contact-text strong {
    font-family: var(--font-head);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--ink);
    line-height: 1;
}

.cp-mv__contact-text span {
    font-size: 0.76rem;
    color: #085394;
    font-weight: 600;
}

/* ══════════════════════════════
   OBJECTIVES — completely redesigned
   Light blue-gray background, larger cards,
   icon + gradient accent, clean typography
══════════════════════════════ */
.cp-objectives {
    padding: 68px 0 76px;
    background: #F0F6FF;
    border-top: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

/* Subtle top-right blob */
.cp-objectives::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(8, 83, 148, 0.07) 0%, transparent 70%);
    pointer-events: none;
}

/* Section head — split layout: title+eyebrow LEFT, desc RIGHT */
.cp-objectives .cp-section-head {
    margin-bottom: 36px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    text-align: left;
}

/* Left side: eyebrow + title stacked */
.cp-objectives .cp-section-head__left {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.cp-objectives .cp-section-head .cp-eyebrow {
    margin-bottom: 6px;
}

.cp-objectives .cp-section-head .cp-section-title {
    color: var(--ink);
}

/* Right side: desc text, bottom-aligned with the title */
.cp-objectives .cp-section-head .cp-section-desc {
    margin: 0;
    text-align: left;
    font-size: 0.93rem;
    color: var(--muted);
    line-height: 1.7;
    max-width: 340px;
    padding-bottom: 4px;
    flex-shrink: 0;
}

/* 3-col grid — all 6 cards including highlight */
.cp-obj-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* Base card */
.cp-obj-card {
    background: var(--white);
    border: 1px solid rgba(8, 83, 148, 0.08);
    border-radius: 18px;
    padding: 36px 30px 32px;
    transition: var(--tr);
    position: relative;
    overflow: hidden;
}

/* Left accent bar on hover */
.cp-obj-card::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    border-radius: 18px 0 0 18px;
    background: linear-gradient(180deg, #085394, #2563EB);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.35s var(--tr);
}

.cp-obj-card:hover {
    box-shadow: 0 12px 40px rgba(8, 83, 148, 0.11);
    border-color: rgba(8, 83, 148, 0.18);
    transform: translateY(-5px);
}

.cp-obj-card:hover::after {
    transform: scaleY(1);
}

/* Icon box */
.cp-obj-card__icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #EFF6FF, #DBEAFE);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    transition: var(--tr);
}

.cp-obj-card:hover .cp-obj-card__icon {
    background: linear-gradient(135deg, #DBEAFE, #BFDBFE);
}

/* Number label */
.cp-obj-card__num {
    font-family: var(--font-head);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: #085394;
    margin-bottom: 10px;
    display: block;
    opacity: 0.65;
}

.cp-obj-card h3 {
    font-family: var(--font-head);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 12px;
    line-height: 1.3;
}

.cp-obj-card p {
    font-size: 0.875rem;
    color: var(--body-text);
    line-height: 1.72;
}

/* ── Highlight / commitment card ── */
.cp-obj-card--highlight {
    background: linear-gradient(145deg, #085394 0%, #1D4ED8 100%);
    border-color: transparent;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 16px 48px rgba(8, 83, 148, 0.28);
}

/* Remove accent bar on highlight card */
.cp-obj-card--highlight::after {
    display: none;
}

.cp-obj-card--highlight:hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 56px rgba(8, 83, 148, 0.38);
    border-color: transparent;
}

.cp-obj-card__trophy {
    font-size: 3rem;
    margin-bottom: 16px;
    line-height: 1;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.15));
}

.cp-obj-card--highlight h3 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.cp-obj-card--highlight p {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.85rem;
    line-height: 1.65;
}

.cp-obj-card__mini-stats {
    display: flex;
    gap: 0;
    justify-content: center;
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    width: 100%;
}

.cp-obj-card__mini-stats div {
    text-align: center;
    flex: 1;
    padding: 0 10px;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.cp-obj-card__mini-stats div:last-child {
    border-right: none;
}

.cp-obj-card__mini-stats strong {
    display: block;
    font-family: var(--font-head);
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin-bottom: 4px;
}

.cp-obj-card__mini-stats span {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 600;
}

/* ══════════════════════════════
   GALLERY
══════════════════════════════ */
.cp-gallery {
    padding: 56px 0 64px;
    background: var(--surface);
    border-top: 1px solid var(--border);
}

.cp-gallery__grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 20px;
    align-items: stretch;
}

.cp-gallery__col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cp-gallery__slot {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--white);
    border: 1.5px dashed #C7D7F0;
    transition: var(--tr);
    position: relative;
    min-height: 220px;
    display: flex;
    align-items: stretch;
}

.cp-gallery__slot--tall {
    min-height: 460px;
}

.cp-gallery__col .cp-gallery__slot {
    flex: 1;
    min-height: 200px;
}

.cp-gallery__slot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    inset: 0;
}

.cp-gallery__placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    min-height: inherit;
    padding: 32px;
    text-align: center;
    position: relative;
    z-index: 1;
}

/* Hide placeholder when real image loads successfully */
.cp-gallery__slot img:not([data-error])+.cp-gallery__placeholder {
    display: none;
}

.cp-gallery__placeholder p {
    font-size: 0.82rem;
    color: #94A3B8;
    font-weight: 500;
}

.cp-gallery__placeholder code {
    font-size: 0.7rem;
    color: var(--blue);
    background: var(--blue-light);
    padding: 3px 10px;
    border-radius: 5px;
    font-family: monospace;
    word-break: break-all;
}

/* When image errors — show placeholder, hide broken img */
.cp-no-img img {
    display: none;
}

.cp-no-img .cp-gallery__placeholder {
    display: flex;
}

.cp-gallery__slot:hover {
    border-color: rgba(8, 83, 148, 0.3);
    box-shadow: var(--shadow-sm);
}

/* ══════════════════════════════
   CTA  — two-column: text left, floating cards right
══════════════════════════════ */
.cp-cta {
    position: relative;
    overflow: hidden;
    padding: 72px 0 80px;
    background: var(--white);
    border-top: 1px solid var(--border);
}

/* subtle top gradient band */
/* .cp-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #085394, #2563EB, #38BDF8);
} */

/* soft background blobs */
.cp-cta__blob {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(90px);
}

.cp-cta__blob--1 {
    width: 520px;
    height: 520px;
    background: rgba(8, 83, 148, 0.06);
    bottom: -160px;
    right: -80px;
}

.cp-cta__blob--2 {
    width: 320px;
    height: 320px;
    background: rgba(56, 189, 248, 0.07);
    top: -80px;
    left: 60px;
}

/* Two-column inner layout */
.cp-cta__inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* ── Left: text column ── */
.cp-cta__text-col {
    text-align: left;
}

.cp-eyebrow--cta {
    color: #085394;
    opacity: 0.75;
}

.cp-cta__inner h2 {
    font-family: var(--font-head);
    font-size: clamp(2rem, 3.8vw, 3rem);
    font-weight: 800;
    color: var(--ink);
    line-height: 1.15;
    margin: 10px 0 18px;
}

.cp-cta__inner h2 span {
    color: #085394;
}

.cp-cta__desc {
    color: var(--body-text);
    font-size: 0.98rem;
    max-width: 560px;
    margin: 0 0 14px;
    line-height: 1.78;
}

.cp-cta__tagline {
    color: #085394;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 36px;
    opacity: 0.85;
}

.cp-cta__btns {
    display: flex;
    gap: 12px;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

/* Contact info row */
.cp-cta__contact-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.84rem;
    color: var(--muted);
    font-weight: 500;
    padding-top: 28px;
    border-top: 1px solid var(--border);
}

/* ── Right: floating image cards scene ── */
.cp-cta__cards-col {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cp-cta__cards-scene {
    position: relative;
    width: 100%;
    height: 460px;
}

/* ── Individual cards ── */
.cp-cta__card {
    position: absolute;
    border-radius: 20px;
    overflow: hidden;
    background: var(--white);
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.10);
    border: 1.5px solid var(--border);
}

/* Real image fills the card */
.cp-cta__card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 20px;
}

/* Placeholder shown when image is missing */
.cp-cta__card-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--surface-2);
    border-radius: 20px;
    padding: 24px;
    text-align: center;
}

.cp-cta__card-placeholder span {
    font-size: 0.7rem;
    color: var(--blue);
    background: var(--blue-light);
    padding: 3px 10px;
    border-radius: 5px;
    font-family: monospace;
}

/* Hide placeholder when real image loads */
.cp-cta__card img:not([data-error])+.cp-cta__card-placeholder {
    display: none;
}

.cp-card-no-img img {
    display: none;
}

.cp-card-no-img .cp-cta__card-placeholder {
    display: flex;
}

/* Card 1 — large, back-left */
.cp-cta__card--1 {
    width: 66%;
    height: 245px;
    top: 28px;
    left: 0;
    z-index: 1;
}

/* Card 2 — medium, front-right, slightly overlapping */
.cp-cta__card--2 {
    width: 60%;
    height: 215px;
    bottom: 38px;
    right: 0;
    z-index: 2;
    box-shadow: 0 20px 56px rgba(15, 23, 42, 0.13);
    border: 3px solid var(--white);
}

/* Floating stats badge */
.cp-cta__float-badge {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 3;
    background: var(--blue);
    color: #fff;
    border-radius: 14px;
    padding: 14px 20px;
    text-align: center;
    box-shadow: 0 8px 28px rgba(37, 99, 235, 0.3);
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cp-cta__float-badge strong {
    font-family: var(--font-head);
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1;
}

.cp-cta__float-badge span {
    font-size: 0.72rem;
    font-weight: 600;
    opacity: 0.85;
    white-space: nowrap;
}

/* Float animations */
@keyframes ctaFloatSlow {

    0%,
    100% {
        transform: translateY(0px) rotate(-1deg);
    }

    50% {
        transform: translateY(-12px) rotate(-1deg);
    }
}

@keyframes ctaFloatFast {

    0%,
    100% {
        transform: translateY(0px) rotate(1.5deg);
    }

    50% {
        transform: translateY(-16px) rotate(1.5deg);
    }
}

@keyframes ctaFloatMed {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-8px);
    }
}

.cp-float-slow {
    animation: ctaFloatSlow 5.5s ease-in-out infinite;
}

.cp-float-fast {
    animation: ctaFloatFast 3.8s ease-in-out infinite;
    animation-delay: 0.7s;
}

.cp-float-medium {
    animation: ctaFloatMed 4.5s ease-in-out infinite;
    animation-delay: 1.2s;
}

.cp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--tr);
    cursor: pointer;
    border: none;
}

/* Primary solid blue */
.cp-btn--primary {
    background: #085394;
    color: #fff;
    box-shadow: 0 4px 18px rgba(8, 83, 148, 0.22);
}

.cp-btn--primary:hover {
    background: #063f72;
    box-shadow: 0 6px 24px rgba(8, 83, 148, 0.32);
    transform: translateY(-2px);
}

/* Secondary outline blue */
.cp-btn--outline-blue {
    background: transparent;
    color: #085394;
    border: 1.5px solid rgba(8, 83, 148, 0.3);
}

.cp-btn--outline-blue:hover {
    border-color: #085394;
    background: rgba(8, 83, 148, 0.05);
    transform: translateY(-2px);
}

/* keep old classes as aliases so HTML doesn't need changes */
.cp-btn--white {
    background: #085394;
    color: #fff;
    box-shadow: 0 4px 18px rgba(8, 83, 148, 0.22);
}

.cp-btn--white:hover {
    background: #063f72;
    box-shadow: 0 6px 24px rgba(8, 83, 148, 0.32);
    transform: translateY(-2px);
}

.cp-btn--outline-white {
    background: transparent;
    color: #085394;
    border: 1.5px solid rgba(8, 83, 148, 0.28);
}

.cp-btn--outline-white:hover {
    border-color: #085394;
    background: rgba(8, 83, 148, 0.05);
    transform: translateY(-2px);
}

/* ── Keyframes ── */
@keyframes cpFadeUp {
    from {
        opacity: 0;
        transform: translateY(24px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

@keyframes cpFadeDown {
    from {
        opacity: 0;
        transform: translateY(-14px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

/* ══════════════════════════════
   RESPONSIVE
══════════════════════════════ */
@media (max-width: 1024px) {
    .cp-obj-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Collapse objectives head to stacked on tablet */
    .cp-objectives .cp-section-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .cp-objectives .cp-section-head .cp-section-desc {
        max-width: 100%;
        padding-bottom: 0;
    }

    .cp-mv__layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .cp-mv__images {
        height: 400px;
        order: -1;
    }

    .cp-mv .cp-section-head {
        text-align: center;
    }

    .cp-cta__inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .cp-cta__cards-col {
        order: -1;
    }

    .cp-cta__cards-scene {
        height: 360px;
    }

    .cp-cta__text-col {
        text-align: center;
    }

    .cp-cta__btns {
        justify-content: center;
    }

    .cp-cta__contact-row {
        justify-content: center;
    }
}

@media (max-width: 820px) {
    .cp-about__grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .cp-gallery__grid {
        grid-template-columns: 1fr;
    }

    .cp-gallery__slot--tall {
        min-height: 300px;
    }

    .cp-about__badge {
        bottom: -12px;
        right: -10px;
    }

    .cp-mv__images {
        height: 340px;
    }

    .cp-mv__img-slot--back {
        width: 65%;
        height: 280px;
    }

    .cp-mv__img-slot--front {
        width: 56%;
        height: 240px;
    }

    .cp-cta__cards-scene {
        height: 300px;
    }

    .cp-cta__card--1 {
        height: 190px;
    }

    .cp-cta__card--2 {
        height: 170px;
    }
}

@media (max-width: 640px) {
    .cp-obj-grid {
        grid-template-columns: 1fr;
    }

    .cp-mv__list {
        grid-template-columns: 1fr;
    }

    .cp-stats-bar__grid {
        gap: 24px;
        justify-content: center;
    }

    .cp-stat-divider {
        display: none;
    }

    .cp-stat-item {
        padding: 4px 24px;
    }

    .cp-cta__btns {
        flex-direction: column;
        align-items: center;
    }

    .cp-hero {
        padding: 80px 0 70px;
    }

    .cp-mv__images {
        height: 280px;
    }

    .cp-mv__img-slot--back {
        width: 70%;
        height: 230px;
    }

    .cp-mv__img-slot--front {
        width: 60%;
        height: 200px;
    }

    .cp-mv__contact {
        width: 100%;
    }

    .cp-cta__cards-scene {
        height: 260px;
    }

    .cp-cta__card--1 {
        width: 70%;
        height: 160px;
    }

    .cp-cta__card--2 {
        width: 62%;
        height: 145px;
    }

    .cp-cta__float-badge {
        top: -10px;
        right: -5px;
        padding: 10px 14px;
    }

    .cp-cta__float-badge strong {
        font-size: 1.3rem;
    }
}