/* ======================================
   CORPORATE SERVICES - "Corporate Intelligence" (dark section: heading + two cards)
   used by corporate.html - every rule is scoped under .ci
   Design from the supplied snippet: black section, dark gradient cards, red icon, red glow + underline on hover
====================================== */

.ci {
    --ci-red: #ef4444;
    --ci-line: #262626;
    --ci-line-2: #404040;
    --ci-ease: ease;
    position: relative;
    padding: clamp(64px, 7vw, 96px) 0;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: #000000;
    color: #d1d5db;
    font-family: "DM Sans", sans-serif;
}

/* a faint red glow at the top, so the black does not look flat */
.ci::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 380px;
    background: radial-gradient(ellipse 60% 100% at 50% 0%, rgba(239, 68, 68, 0.1), transparent 70%);
    pointer-events: none;
}

.ci *,
.ci *::before,
.ci *::after {
    box-sizing: border-box;
    font-style: normal;
}

.ci > .container {
    position: relative;
}

/* ---- heading ---- */
.ci-head {
    margin-bottom: clamp(40px, 5vw, 64px);
    text-align: center;
}

/* the small red line above "Corporate Intelligence" is the page's H1 (for search) */
.ci .ci-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 14px;
    font-family: "DM Sans", sans-serif;
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ci-red);
}

.ci .ci-eyebrow::before,
.ci .ci-eyebrow::after {
    content: "";
    width: 38px;
    height: 2px;
    background: var(--ci-red);
}

/* phones: the text needs the full width, so drop the side lines */
@media (max-width: 575px) {
    .ci .ci-eyebrow::before,
    .ci .ci-eyebrow::after {
        display: none;
    }
}

.ci .ci-title {
    margin: 0 0 16px;
    font-family: "DM Sans", sans-serif;
    font-size: clamp(34px, 4vw, 48px);
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: -0.01em;
    color: #ffffff;
}

.ci-title span {
    font-weight: 500;
    color: var(--ci-red);
}

.ci-sub {
    max-width: 672px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.6;
    color: #8a8f98;
}

/* ---- cards ---- */
.ci-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
}

.ci-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
    overflow: hidden;
    padding: clamp(28px, 3vw, 40px);
    border: 1px solid var(--ci-line);
    border-radius: 16px;
    background: linear-gradient(145deg, #111111 0%, #050505 100%);
    transition: transform 0.4s var(--ci-ease), border-color 0.4s var(--ci-ease), box-shadow 0.4s var(--ci-ease);
}

/* red line that draws along the bottom edge on hover */
.ci-card::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 3px;
    background: var(--ci-red);
    transition: width 0.4s var(--ci-ease);
}

.ci-card:hover {
    border-color: var(--ci-red);
    box-shadow: 0 10px 40px -10px rgba(239, 68, 68, 0.25);
    transform: translateY(-5px);
}

.ci-card:hover::after {
    width: 100%;
}

/* icon and title on one row: the icon on the left, the title beside it */
.ci-card-head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.ci-icon {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 56px;
    height: 56px;
    border: 1px solid var(--ci-line-2);
    border-radius: 50%;
    background: #171717;
    color: var(--ci-red);
}

.ci-icon svg {
    display: block;
    width: 24px;
    height: 24px;
}

.ci .ci-card-title {
    min-width: 0;
    margin: 0;
    font-family: "DM Sans", sans-serif;
    font-size: clamp(21px, 2vw, 24px);
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: 0;
    color: #ffffff;
}

.ci-card p {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    color: #9ca3af;
}

.ci-card p + p {
    margin-top: 16px;
}

.ci-media {
    margin-top: 32px;
    overflow: hidden;
    border: 1px solid var(--ci-line-2);
    border-radius: 8px;
    background: #171717;
}

.ci-media img {
    display: block;
    width: 100%;
    height: 128px;
    max-width: none;
    object-fit: cover;
    object-position: 50% 45%;
}

@media (max-width: 767px) {
    .ci-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ci-card,
    .ci-card::after {
        transition: none;
    }

    .ci-card:hover {
        transform: none;
    }
}

/* ======================================
   CORPORATE INVESTIGATION AGENCY IN MUMBAI (local SEO, after Due Diligence)
   left: heading, intro and a 4-step timeline; right: business hubs + a dark call card.
   Scoped under .crl; uses the site's plain .container for the navbar edges.
====================================== */

.crl {
    --crl-red: #ef4444;
    --crl-ink: #111111;
    --crl-muted: #5f6672;
    --crl-line: #ececec;
    --crl-pink: #fdf1f1;
    padding: clamp(64px, 7vw, 96px) 0;
    background: #ffffff;
    color: var(--crl-ink);
    font-family: "DM Sans", sans-serif;
}

.crl-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: clamp(36px, 5vw, 80px);
    align-items: start;
}

.crl-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--crl-red);
}

.crl-eyebrow i {
    display: block;
    width: 38px;
    height: 2px;
    background: var(--crl-red);
}

.crl-title {
    margin: 0 0 18px;
    font-family: "DM Sans", sans-serif;
    font-size: clamp(32px, 3.6vw, 48px);
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: -0.01em;
    color: var(--crl-ink);
}

.crl-title em {
    font-style: normal;
    font-weight: 500;
    color: var(--crl-red);
}

.crl-lead {
    margin: 0 0 34px;
    max-width: 640px;
    font-size: 16px;
    line-height: 1.7;
    color: var(--crl-muted);
}

.crl-sub {
    margin: 0 0 18px;
    font-family: "DM Sans", sans-serif;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--crl-ink);
}

/* ---- vertical timeline ---- */
.crl-steps {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: crl-step;
}

.crl-steps li {
    position: relative;
    padding: 0 0 26px 56px;
    counter-increment: crl-step;
}

.crl-steps li:last-child {
    padding-bottom: 0;
}

.crl-steps li::before {
    content: counter(crl-step, decimal-leading-zero);
    position: absolute;
    left: 0;
    top: 0;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--crl-red);
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
}

/* the line joining one number to the next */
.crl-steps li:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 18px;
    top: 44px;
    bottom: 6px;
    width: 2px;
    background: #f6d4d4;
}

.crl-steps strong {
    display: block;
    margin: 7px 0 6px;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--crl-ink);
}

.crl-steps span {
    display: block;
    max-width: 560px;
    font-size: 15px;
    line-height: 1.65;
    color: var(--crl-muted);
}

/* ---- hubs ---- */
.crl-hubs {
    padding: 30px 30px 26px;
    border: 1px solid var(--crl-line);
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 14px 34px -26px rgba(17, 17, 17, 0.35);
}

.crl-hub-list {
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
}

.crl-hub > strong,
.crl-hub > a {
    display: block;
}

.crl-hub {
    position: relative;
    padding: 11px 0 11px 24px;
    border-bottom: 1px solid var(--crl-line);
}

.crl-hub:last-child {
    border-bottom: 0;
}

.crl-hub::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 18px;
    width: 9px;
    height: 9px;
    border: 2px solid var(--crl-red);
    border-radius: 50%;
    background: #ffffff;
}

.crl-hub-hq::before {
    background: var(--crl-red);
}

.crl-hub strong {
    display: block;
    font-size: 15.5px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--crl-ink);
}

.crl-hub span {
    display: block;
    font-size: 14px;
    line-height: 1.5;
    color: var(--crl-muted);
}

.crl-hub a {
    color: inherit;
}

.crl-hub a strong {
    text-decoration: underline;
    text-decoration-color: rgba(239, 68, 68, 0.55);
    text-underline-offset: 3px;
}

.crl-hub a:hover strong,
.crl-hub a:focus strong {
    color: var(--crl-red);
}

.crl-all {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding-bottom: 2px;
    border-bottom: 1px solid currentColor;
    font-size: 15px;
    font-weight: 600;
    color: var(--crl-red);
}

.crl-all:hover,
.crl-all:focus {
    color: #c92b2b;
}

/* ---- call card ---- */
.crl-call {
    margin-top: 18px;
    padding: 26px 30px;
    border-radius: 10px;
    background: #000000;
    color: rgba(255, 255, 255, 0.7);
}

.crl-call-h {
    display: block;
    margin-bottom: 12px;
    font-size: 19px;
    font-weight: 600;
    line-height: 1.3;
    color: #ffffff;
}

.crl-call-lines {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 14.5px;
    line-height: 2;
}

.crl-call-lines i {
    width: 16px;
    margin-right: 10px;
    color: var(--crl-red);
}

.crl-call-lines a {
    color: #ffffff;
    word-break: break-word;
}

.crl-call-lines a:hover,
.crl-call-lines a:focus {
    color: var(--crl-red);
}

@media (max-width: 991px) {
    .crl-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 575px) {
    .crl-hubs,
    .crl-call {
        padding: 24px 22px;
    }
    .crl-steps li {
        padding-left: 50px;
    }
}
