/* =========================================================
   DHIRAJ SINGH CONSULTANCY — BUSINESS CONSULTANCY PAGE
   Page-specific styling. Uses the existing style.css system.
   ========================================================= */

.business-page {
    background: #05091d;
}

.consultancy-hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 76% 48%,
            rgba(85, 99, 245, 0.15),
            transparent 32%
        ),
        linear-gradient(180deg, #05091d, #080d29);
}
.consultancy-grid {
    position: absolute;
    inset: 0;
    opacity: 0.25;
    background-image:
        linear-gradient(rgba(98, 108, 246, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(98, 108, 246, 0.08) 1px, transparent 1px);
    background-size: 55px 55px;
    mask-image: linear-gradient(#000, transparent 88%);
}
.consultancy-glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.consultancy-glow-one {
    width: 620px;
    height: 620px;
    right: -280px;
    top: -190px;
    background: radial-gradient(
        circle,
        rgba(91, 101, 244, 0.17),
        transparent 68%
    );
}
.consultancy-glow-two {
    width: 380px;
    height: 380px;
    left: -210px;
    bottom: -180px;
    background: radial-gradient(
        circle,
        rgba(242, 186, 67, 0.09),
        transparent 68%
    );
}
.consultancy-hero-row {
    padding-top: 115px;
    padding-bottom: 55px;
}
.consultancy-title {
    max-width: 850px;
}
.consultancy-intro {
    max-width: 650px;
}
.consultancy-stats {
    display: flex;
    gap: 30px;
    margin-top: 38px;
}
.consultancy-stats div {
    display: flex;
    gap: 9px;
    align-items: flex-end;
    border-left: 1px solid rgba(255, 255, 255, 0.16);
    padding-left: 12px;
}
.consultancy-stats strong {
    font-family: var(--display);
    font-size: 20px;
}
.consultancy-stats span {
    font-size: 8px;
    line-height: 1.4;
    text-transform: uppercase;
    color: #727d9e;
}

.consultancy-visual {
    height: 550px;
    position: relative;
    display: grid;
    place-items: center;
}
.consultancy-halo {
    position: absolute;
    width: 310px;
    height: 310px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(239, 184, 63, 0.13),
        rgba(91, 101, 244, 0.08) 45%,
        transparent 70%
    );
    animation: consultancyGlow 3.5s ease-in-out infinite;
}
.consultancy-ring {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(112, 126, 255, 0.34);
    border-radius: 50%;
    animation: consultancySpin 22s linear infinite;
}
.ring-one {
    width: 250px;
    height: 250px;
}
.ring-two {
    width: 365px;
    height: 365px;
    border-style: dashed;
    animation-direction: reverse;
    animation-duration: 29s;
}
.ring-three {
    width: 480px;
    height: 480px;
    opacity: 0.48;
    animation-duration: 40s;
}
.consultancy-core {
    width: 142px;
    height: 142px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    align-content: center;
    text-align: center;
    background: radial-gradient(circle at 35% 30%, #303b89, #101633 65%);
    border: 1px solid rgba(255, 216, 106, 0.5);
    box-shadow: 0 0 65px rgba(91, 101, 244, 0.25);
    z-index: 3;
    color: var(--gold2);
}
.consultancy-core i {
    font-size: 29px;
    margin-bottom: 5px;
}
.consultancy-core strong {
    font-size: 13px;
    letter-spacing: 0.16em;
}
.consultancy-core span {
    font-size: 9px;
    letter-spacing: 0.2em;
    color: #9aa5c8;
    margin-top: 3px;
}
.consultancy-node {
    position: absolute;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #0b1230;
    border: 1px solid rgba(91, 101, 244, 0.6);
    color: var(--gold2);
    box-shadow: 0 0 22px rgba(91, 101, 244, 0.2);
    z-index: 4;
    animation: consultancyFloat 4s ease-in-out infinite;
}
.node-one {
    left: 12%;
    top: 25%;
}
.node-two {
    right: 10%;
    top: 18%;
    animation-delay: -1s;
}
.node-three {
    left: 12%;
    bottom: 21%;
    animation-delay: -2s;
}
.node-four {
    right: 11%;
    bottom: 28%;
    animation-delay: -3s;
}
.consultancy-label {
    position: absolute;
    padding: 8px 10px;
    background: rgba(5, 10, 32, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.11);
    backdrop-filter: blur(10px);
    font-size: 9px;
    letter-spacing: 0.14em;
    color: #c8cde0;
    z-index: 5;
}
.label-one {
    left: 7%;
    top: 6%;
}
.label-two {
    right: 5%;
    bottom: 7%;
    color: var(--gold2);
}

.consultancy-overview {
    padding-top: 125px;
}
.support-model {
    min-height: 430px;
    padding: 28px;
    border-radius: 20px;
    background: linear-gradient(145deg, #fff, #e2e7ef);
    border: 1px solid rgba(17, 21, 43, 0.08);
    box-shadow: 0 25px 65px rgba(16, 21, 43, 0.1);
    color: var(--ink);
}
.support-model-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--display);
    font-weight: 700;
    font-size: 17px;
}
.support-model-top i {
    color: #a27b18;
    font-size: 20px;
}
.support-step {
    display: grid;
    grid-template-columns: 30px 46px 1fr;
    align-items: center;
    gap: 12px;
    padding: 19px 0;
}
.support-step > b {
    color: #98731b;
    font-size: 10px;
}
.support-step > i {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: #111735;
    color: var(--gold2);
    font-size: 18px;
}
.support-step strong {
    display: block;
    font-family: var(--display);
    font-size: 21px;
}
.support-step span {
    display: block;
    color: #707a8e;
    font-size: 10px;
    line-height: 1.5;
    margin-top: 2px;
}
.support-connector {
    width: 1px;
    height: 18px;
    background: #b4bbc7;
    margin-left: 52px;
}

.consultancy-services {
    background:
        radial-gradient(
            circle at 80% 25%,
            rgba(98, 108, 246, 0.09),
            transparent 32%
        ),
        #080e29;
}
.consultancy-card {
    height: 100%;
    min-height: 265px;
    position: relative;
    padding: 28px;
    border-radius: 15px;
    background: #0f1636;
    border: 1px solid rgba(126, 135, 255, 0.12);
    overflow: hidden;
    transition: 0.35s;
    color: #fff;
}
.consultancy-card:hover {
    transform: translateY(-8px);
    border-color: rgba(242, 186, 67, 0.34);
    box-shadow: 0 25px 55px rgba(0, 0, 0, 0.2);
}
.consultancy-card:after {
    content: "";
    position: absolute;
    width: 170px;
    height: 170px;
    right: -90px;
    bottom: -90px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(98, 108, 246, 0.12),
        transparent 68%
    );
}
.card-number {
    position: absolute;
    right: 20px;
    top: 17px;
    color: #596388;
    font-size: 9px;
    letter-spacing: 0.12em;
}
.consultancy-card > i {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border-radius: 13px;
    background: #111c42;
    color: var(--gold2);
    font-size: 19px;
    margin-bottom: 26px;
}
.consultancy-card h3 {
    font-family: var(--display);
    font-size: 29px;
    line-height: 1.05;
    margin-bottom: 10px;
}
.consultancy-card p {
    color: #828dac;
    font-size: 11px;
    line-height: 1.75;
    margin-bottom: 22px;
    max-width: 480px;
}
.card-link {
    color: var(--gold2);
    font-size: 8px;
    letter-spacing: 0.1em;
    font-weight: 800;
}
.card-link i {
    margin-left: 5px;
}
.featured-card {
    background: linear-gradient(145deg, #151e49, #0e1535);
    border-color: rgba(242, 186, 67, 0.2);
}
.horizontal-card {
    min-height: 205px;
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 20px;
    align-items: start;
}
.horizontal-card > i {
    margin: 0;
}
.horizontal-card h3 {
    margin-top: 0;
}

.approach-section {
    overflow: hidden;
}
.approach-points {
    display: grid;
    gap: 0;
    margin-top: 28px;
    max-width: 600px;
}
.approach-points div {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 13px 0;
    border-bottom: 1px solid rgba(17, 21, 43, 0.09);
}
.approach-points i {
    color: #6470eb;
}
.approach-points span {
    color: #717b91;
    font-size: 11px;
}
.approach-board {
    height: 470px;
    position: relative;
    border-radius: 20px;
    background: #fff;
    border: 1px solid rgba(17, 21, 43, 0.08);
    box-shadow: 0 25px 65px rgba(16, 21, 43, 0.1);
    overflow: hidden;
    color: var(--ink);
}
.board-grid {
    position: absolute;
    inset: 0;
    opacity: 0.4;
    background-image:
        linear-gradient(rgba(98, 108, 246, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(98, 108, 246, 0.07) 1px, transparent 1px);
    background-size: 42px 42px;
}
.board-core {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 145px;
    height: 145px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    align-content: center;
    text-align: center;
    background: #111735;
    color: var(--gold2);
    box-shadow: 0 0 55px rgba(98, 108, 246, 0.2);
    z-index: 4;
}
.board-core i {
    font-size: 28px;
    margin-bottom: 5px;
}
.board-core strong {
    font-size: 9px;
    letter-spacing: 0.14em;
    line-height: 1.5;
}
.board-card {
    position: absolute;
    width: 150px;
    padding: 15px;
    border-radius: 12px;
    background: #f7f9fc;
    border: 1px solid rgba(17, 21, 43, 0.08);
    box-shadow: 0 12px 28px rgba(17, 21, 43, 0.08);
    z-index: 5;
}
.board-card i {
    color: #6470eb;
    font-size: 18px;
}
.board-card strong {
    display: block;
    font-family: var(--display);
    font-size: 18px;
    margin-top: 5px;
}
.board-card span {
    display: block;
    color: #788296;
    font-size: 9px;
    margin-top: 2px;
}
.board-one {
    left: 25px;
    top: 40px;
}
.board-two {
    right: 25px;
    top: 55px;
}
.board-three {
    right: 35px;
    bottom: 45px;
}
.board-four {
    left: 25px;
    bottom: 55px;
}

.consultancy-cta {
    padding: 60px 0;
    background: #060a20;
}
.consultancy-final-panel {
    padding: 72px 30px;
    text-align: center;
    border: 1px solid rgba(98, 108, 246, 0.2);
    border-radius: 18px;
    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(55, 67, 153, 0.28),
            transparent 58%
        ),
        #080d29;
}
.consultancy-final-panel h2 {
    font-family: var(--display);
    font-size: clamp(48px, 6vw, 76px);
    line-height: 0.95;
    letter-spacing: -0.035em;
    margin: 0 0 17px;
}
.consultancy-final-panel h2 em {
    font-style: normal;
    color: var(--gold2);
}
.consultancy-final-panel p {
    max-width: 690px;
    margin: 0 auto 27px;
    color: #8994b4;
    font-size: 13px;
    line-height: 1.8;
}
.business-page .nav-link.active {
    color: #fff !important;
}
.business-page .nav-link.active::after {
    content: "";
    display: block;
    height: 2px;
    width: 18px;
    margin: 4px auto 0;
    background: var(--gold);
    border-radius: 10px;
}

@media (max-width: 991px) {
    .consultancy-hero-row {
        padding-top: 130px;
    }
    .consultancy-visual {
        height: 470px;
    }
    .consultancy-card {
        min-height: 245px;
    }
    .approach-board {
        height: 420px;
    }
}
@media (max-width: 767px) {
    .consultancy-hero-row {
        padding-top: 120px;
        padding-bottom: 70px;
    }
    .consultancy-title {
        font-size: 52px;
    }
    .consultancy-stats {
        gap: 17px;
        flex-wrap: wrap;
    }
    .consultancy-visual {
        height: 370px;
    }
    .ring-one {
        width: 190px;
        height: 190px;
    }
    .ring-two {
        width: 280px;
        height: 280px;
    }
    .ring-three {
        width: 350px;
        height: 350px;
    }
    .consultancy-core {
        width: 105px;
        height: 105px;
    }
    .consultancy-core i {
        font-size: 22px;
    }
    .consultancy-core strong {
        font-size: 10px;
    }
    .consultancy-node {
        width: 38px;
        height: 38px;
    }
    .consultancy-label {
        font-size: 7px;
    }
    .support-model {
        min-height: 390px;
    }
    .horizontal-card {
        display: block;
        min-height: 245px;
    }
    .horizontal-card > i {
        margin-bottom: 22px;
    }
    .approach-board {
        height: 390px;
    }
    .board-card {
        width: 125px;
        padding: 12px;
    }
    .board-card strong {
        font-size: 15px;
    }
    .board-card span {
        font-size: 8px;
    }
    .board-one {
        left: 15px;
        top: 25px;
    }
    .board-two {
        right: 15px;
        top: 35px;
    }
    .board-three {
        right: 15px;
        bottom: 25px;
    }
    .board-four {
        left: 15px;
        bottom: 35px;
    }
    .board-core {
        width: 115px;
        height: 115px;
    }
    .consultancy-final-panel {
        padding: 52px 20px;
    }
}
@media (max-width: 575px) {
    .consultancy-hero-row {
        padding-top: 115px;
    }
    .consultancy-title {
        font-size: 45px;
    }
    .consultancy-visual {
        height: 310px;
    }
    .ring-one {
        width: 155px;
        height: 155px;
    }
    .ring-two {
        width: 220px;
        height: 220px;
    }
    .ring-three {
        width: 285px;
        height: 285px;
    }
    .consultancy-core {
        width: 88px;
        height: 88px;
    }
    .consultancy-core i {
        font-size: 17px;
    }
    .consultancy-core strong {
        font-size: 8px;
    }
    .consultancy-core span {
        font-size: 6px;
    }
    .consultancy-node {
        width: 32px;
        height: 32px;
        font-size: 11px;
    }
    .label-one {
        left: 0;
        top: 3%;
    }
    .label-two {
        right: 0;
        bottom: 3%;
    }
    .consultancy-stats div {
        padding-left: 9px;
    }
    .consultancy-stats strong {
        font-size: 17px;
    }
    .consultancy-stats span {
        font-size: 7px;
    }
    .support-model {
        padding: 22px;
    }
    .support-step {
        grid-template-columns: 24px 40px 1fr;
        gap: 8px;
    }
    .support-step > i {
        width: 40px;
        height: 40px;
    }
    .approach-board {
        height: 340px;
    }
    .board-core {
        width: 96px;
        height: 96px;
    }
    .board-core i {
        font-size: 20px;
    }
    .board-core strong {
        font-size: 7px;
    }
    .board-card {
        width: 105px;
    }
    .board-card strong {
        font-size: 13px;
    }
    .board-one {
        left: 8px;
    }
    .board-two {
        right: 8px;
    }
    .board-three {
        right: 8px;
    }
    .board-four {
        left: 8px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .consultancy-ring,
    .consultancy-halo,
    .consultancy-node {
        animation: none !important;
    }
}
@keyframes consultancySpin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}
@keyframes consultancyFloat {
    50% {
        transform: translateY(-10px);
    }
}
@keyframes consultancyGlow {
    50% {
        transform: scale(1.08);
        opacity: 1;
    }
}
