.web-development-bg {
    background: transparent !important;
}

.webdev-hero-shell::before {
    content: "";
    position: absolute;
    inset: 10% 2% auto;
    height: 72%;
    border-radius: 26px;
    background: linear-gradient(130deg,
            rgba(var(--bs-body-bg-rgb), 0.9),
            rgba(var(--bs-body-bg-rgb), 0.68));
    box-shadow: 0 20px 46px rgba(0, 0, 0, 0.15);
    z-index: -2;
}

.webdev-hero-shell::after {
    content: "";
    position: absolute;
    width: 560px;
    height: 560px;
    right: -160px;
    top: -220px;
    border-radius: 50%;
    background: radial-gradient(circle,
            rgba(var(--bs-primary-rgb), 0.2) 0%,
            rgba(var(--bs-secondary-rgb), 0.1) 34%,
            transparent 70%);
    z-index: -1;
}

.webdev-hero-content {
    position: relative;
}

.webdev-hero-content::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    left: -120px;
    bottom: -120px;
    border-radius: 50%;
    background: radial-gradient(circle,
            rgba(var(--bs-secondary-rgb), 0.16) 0%,
            rgba(var(--bs-primary-rgb), 0.08) 40%,
            transparent 72%);
    z-index: -1;
}

.webdev-hero-title {
    font-size: clamp(2.2rem, 5.2vw, 4.5rem);
    line-height: 1.06;
    margin: 0;
    color: var(--bs-primary);
    letter-spacing: -0.02em;
    text-wrap: balance;
    text-shadow: 0 10px 32px rgba(var(--bs-primary-rgb), 0.28);
}

.webdev-hero-subtitle {
    margin: 1.15rem auto 0;
    font-size: clamp(1.12rem, 1.9vw, 1.5rem);
    line-height: 1.7;
    color: rgba(var(--bs-body-color-rgb), 0.92);
    max-width: 60ch;
    text-wrap: pretty;
}

@media (max-width: 991.98px) {


    .webdev-hero-shell::before {
        inset: 6% 0.8rem 6%;
        height: auto;
        border-radius: 20px;
    }

    .webdev-hero-shell::after {
        right: -220px;
        top: -240px;
    }

    .webdev-hero-content::before {
        left: -180px;
        bottom: -170px;
    }
}

@media (max-width: 575.98px) {


    .webdev-hero-shell::before {
        inset: 5% 0.5rem 5%;
    }

    .webdev-hero-title {
        font-size: clamp(1.85rem, 9.2vw, 2.6rem);
    }

    .webdev-hero-subtitle {
        font-size: 1.06rem;
        line-height: 1.6;
    }
}

.client-image {
    transition: transform 0.3s ease-in-out;
}

.client-logo-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    color: var(--bs-primary);
    z-index: 10;
    font-size: 5rem;
}

.client-image:hover img {
    transform: scale(1.05);
    opacity: 0.3;
}

.client-image:hover .client-logo-overlay {
    opacity: 1;
}

.client-modal {
    max-height: 80vh;
    overflow-y: scroll;
}

.client-modal-content {
    border: none !important;
}

.profile-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-card-container {
    position: relative;
    width: min(92vw, 700px);
    height: min(92vw, 700px);
    margin: auto;
}

.profile-item {
    border: none;
    cursor: pointer;
    transition: all 0.5s ease;
    position: absolute;
    width: clamp(92px, 18vw, 190px);
    height: clamp(92px, 18vw, 190px);
    padding: 0;
    border-radius: 0;
    color: #ff7a00;
}

.profile-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.profile-item--sm {
    width: clamp(52px, 7vw, 86px);
    height: clamp(52px, 7vw, 86px);
}

.profile-item.is-active {
    filter: drop-shadow(0 0 10px rgba(var(--bs-primary-rgb), 0.55));
    z-index: 2;
}

.profile-item.is-active .service-shape-path {
    stroke-width: 6;
}


.service-drawn-shape {
    position: relative;
    width: 100%;
    height: 100%;
    transform: rotate(var(--service-shape-rotate, 0deg));
}

.service-drawn-shape svg {
    width: 100%;
    height: 100%;
    display: block;
}

.service-shape-path {
    fill: none;
    stroke: currentColor;
    stroke-width: 4.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: stroke-width 0.3s ease;
}

.service-drawn-icon,
.service-drawn-title {
    position: absolute;
    left: 50%;
    color: currentColor;
    pointer-events: none;
    transform: translateX(-50%);
}

.service-drawn-icon {
    top: 46%;
    transform: translate(-50%, -50%) rotate(calc(-1 * var(--service-shape-rotate, 0deg)));
    font-size: clamp(1.2rem, 2.2vw, 2rem);
    line-height: 1;
}

.service-drawn-title {
    width: 90%;
    top: -1.35rem;
    text-align: center;
    font-weight: 700;
    font-size: clamp(0.72rem, 1.5vw, 1.05rem);
    line-height: 1.15;
    overflow-wrap: anywhere;
}


.profile-main img {
    width: clamp(72px, 18vw, 300px);
    height: clamp(72px, 18vw, 300px);
    object-fit: contain;
    display: block;
}

.profile-main img {
    animation: rotate 20s linear infinite;
}

.profile-main {
    position: relative;
    z-index: 0;
    width: clamp(88px, 22vw, 220px);
    height: clamp(88px, 22vw, 220px);
    padding: 4px;
    border-radius: 50%;
}

.profile-main>div {
    width: 100%;
    height: 100%;
    padding: 8px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;
}

.services-showcase-section {
    position: relative;
}

.service-card-container {
    position: fixed;
    inset: 0;
    width: 100vw;
    max-width: none;
    margin: 0;
    z-index: 1060;
    display: none;
    align-items: center;
    justify-content: center;
    padding: clamp(0.75rem, 2.4vw, 1.4rem);
}

.service-card-container.is-active {
    display: flex;
    animation: serviceCardReveal 0.28s ease;
}

.service-card-container::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(8, 14, 24, 0.56);
    backdrop-filter: blur(3px);
}

.service-card-container .row {
    position: relative;
    z-index: 1;
    width: min(94vw, 1080px);
    max-height: calc(100vh - 2.8rem);
    overflow: auto;
    margin: 0;
    background: rgba(var(--bs-body-bg-rgb), 0.96);
    border: 1px solid rgba(var(--bs-primary-rgb), 0.35);
    border-radius: 1.35rem;
    box-shadow: 0 22px 46px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(var(--bs-primary-rgb), 0.06) inset;
    backdrop-filter: blur(4px);
    overflow: hidden;
    padding: clamp(1rem, 2.2vw, 1.75rem);
    row-gap: 0.65rem;
    align-items: center;
}

.service-title {
    margin: 0 0 0.7rem;
    color: var(--bs-primary);
    font-weight: 800;
    font-size: clamp(1.2rem, 2.2vw, 1.85rem);
    line-height: 1.2;
}

.service-content {
    color: rgba(var(--bs-body-color-rgb), 0.92);
    font-size: 0.98rem;
    line-height: 1.62;
}

.service-content p {
    margin-bottom: 0.72rem;
}

.service-benefits-list {
    margin: 0.6rem 0 0;
    padding-left: 1.15rem;
}

.service-benefits-list li {
    margin-bottom: 0.42rem;
}

.service-cta .btn {
    border-radius: 999px;
    padding-inline: 1.1rem;
    font-weight: 600;
}

.service-image {
    width: min(100%, 280px);
    max-height: 220px;
    object-fit: cover;
}

@keyframes serviceCardReveal {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media screen and (max-width: 1200px) and (min-width: 993px) {
    .profile-main img {
        width: clamp(56px, 12vw, 120px);
        height: clamp(56px, 12vw, 120px);
    }

    .profile-main>div {
        padding: 6px;
    }
}

@media screen and (max-width: 992px) {
    .service-card-container {
        padding: 1rem;
    }

    .service-card-container .row {
        width: min(95vw, 900px);
    }
}

@media screen and (max-width: 768px) {
    .service-card-container {
        padding: 0.8rem;
    }

    .service-card-container.is-active {
        animation: serviceCardRevealMobile 0.24s ease;
    }

    .service-card-container .row {
        width: min(96vw, 640px);
        max-height: calc(100vh - 1.6rem);
        padding: 1rem;
        border-radius: 1rem;
    }

    .service-image {
        width: min(100%, 180px);
        max-height: 160px;
    }

    .btn-close-service {
        top: 0.75rem;
        right: 0.75rem;
    }
}

@media screen and (max-width: 500px) {
    .service-card-container .row {
        padding: 0.9rem;
    }

    .service-title {
        font-size: 1.1rem;
    }
}

@keyframes serviceCardRevealMobile {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.brand-iframe {
    overflow: hidden;
    box-shadow: 0 4px 8px var(--bs-primary);
    padding: 0px !important;
    border: 2px solid var(--bs-primary);
    border-radius: 20px;
}

.brand-iframe iframe {
    display: block;
    width: 100%;
    overflow: hidden;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.brand-iframe iframe::-webkit-scrollbar {
    display: none;
}

.btn-close-service {
    position: absolute;
    top: 0.9rem;
    right: 0.9rem;
    width: 2.2rem;
    height: 2.2rem;
    border: 1px solid rgba(var(--bs-primary-rgb), 0.46);
    border-radius: 50%;
    background: rgba(var(--bs-body-bg-rgb), 0.95);
    color: var(--bs-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.14);
    cursor: pointer;
    z-index: 3;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.btn-close-service:hover,
.btn-close-service:focus-visible {
    background-color: var(--bs-primary);
    color: var(--bs-light);
    transform: scale(1.06);
    box-shadow: 0 10px 24px rgba(var(--bs-primary-rgb), 0.35);
}

.btn-close-service i {
    font-size: 0.9rem;
    line-height: 1;
}

html.service-card-open,
body.service-card-open {
    overflow: hidden;
}

.service-details-modal .modal-content {
    background: rgba(var(--bs-body-bg-rgb), 0.96);
    border: 1px solid rgba(var(--bs-primary-rgb), 0.28);
    border-radius: 1.1rem;
    box-shadow: 0 20px 46px rgba(0, 0, 0, 0.24);
}

.service-details-modal .modal-header,
.service-details-modal .modal-body {
    padding-inline: clamp(1rem, 2.2vw, 1.65rem);
}

.service-details-modal .btn-close-service {
    position: static;
    margin-left: auto;
    width: 2rem;
    height: 2rem;
    border: 0;
    border-radius: 999px;
    background-color: rgba(var(--bs-primary-rgb), 0.12);
    box-shadow: none;
    color: var(--bs-primary);
    opacity: 1;
    transform: none;
}

.service-details-modal .btn-close-service:hover,
.service-details-modal .btn-close-service:focus-visible {
    background-color: rgba(var(--bs-primary-rgb), 0.2);
    box-shadow: none;
    color: var(--bs-primary);
    transform: none;
}

.service-details-modal .btn-close-service span {
    display: inline-block;
    font-size: 1.45rem;
    line-height: 1;
    font-weight: 500;
}

.service-details-modal .service-image {
    width: min(100%, 300px);
    max-height: 240px;
}


.profile-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
}

.profile-card-container {
    position: relative;
    width: 100%;
    min-height: 540px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.services-hexagon-wrapper {
    position: relative;
    width: min(100%, 620px);
    aspect-ratio: 1 / 1;
    margin-inline: auto;
}

.services-hexagon-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    z-index: 1;
}

.service-shape-path {
    stroke: var(--bs-primary);
    stroke-width: 3;
    stroke-linejoin: round;
    cursor: pointer;
    transition:
        fill 0.3s ease,
        stroke 0.3s ease,
        filter 0.3s ease;
}


.service-piece-content {
    width: 100%;
    height: auto;
    min-height: 0;
    border: 0;
    background: transparent;
    padding: 0;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    color: var(--bs-primary);
    text-align: center;
    cursor: pointer;
    transition: color 0.3s ease;
}

.service-piece-fo {
    overflow: visible;
}

.service-piece-html {
    width: 100%;
    height: 100%;
}

.service-piece-content:hover,
.service-piece-content.is-active {
    color: var(--bs-light);
}

.service-drawn-icon {
    font-size: 1.8rem;
    line-height: 1;
    margin-bottom: 0.68rem;
    pointer-events: none;
}

.service-drawn-title {
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.2;
    pointer-events: none;
}

.profile-main {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 5;
    transform: translate(-50%, -50%);
    width: 155px;
    height: 155px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
}

.profile-main>div {
    width: 115px;
    height: 115px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.profile-main img {
    width: min(100%, 100px);
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

@media (max-width: 768px) {
    .profile-card-container {
        min-height: 520px;
    }

    .services-hexagon-wrapper {
        width: min(100%, 500px);
    }

    .profile-main {
        width: 125px;
        height: 125px;
    }

    .profile-main>div {
        width: 90px;
        height: 90px;
    }

    .service-piece-content {
        width: 100px;
        min-height: 80px;
    }

    .service-drawn-icon {
        font-size: 1.45rem;
    }

    .service-drawn-title {
        font-size: 0.82rem;
    }
}

@media (max-width: 576px) {
    .profile-card-container {
        min-height: 390px;
    }

    .services-hexagon-wrapper {
        width: min(100%, 360px);
    }

    .profile-main {
        width: 90px;
        height: 90px;
    }

    .profile-main>div {
        width: 68px;
        height: 68px;
    }

    .service-piece-content {
        width: 74px;
        min-height: 62px;
    }

    .service-drawn-icon {
        font-size: 1.15rem;
        margin-bottom: 0.38rem;
    }

    .service-drawn-title {
        font-size: 0.66rem;
        line-height: 1.1;
    }

    .service-shape-path {
        stroke-width: 4;
    }
}

/* Constellation / Network Map Services System */
.profile-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
}

.profile-card-container {
    position: relative;
    width: 100%;
    min-height: 620px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.services-constellation-wrapper {
    position: relative;
    width: min(100%, 720px);
    aspect-ratio: 1 / 1;
    margin-inline: auto;
    isolation: isolate;
    display: flex;
    align-items: center;
    justify-content: center;
}

.services-constellation-wrapper::before,
.services-constellation-wrapper::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.services-constellation-wrapper::before {
    inset: 10%;
    background:
        radial-gradient(circle at center, rgba(var(--bs-primary-rgb), 0.16) 0%, rgba(var(--bs-primary-rgb), 0.06) 28%, transparent 62%),
        radial-gradient(circle at 20% 25%, rgba(var(--bs-primary-rgb), 0.12), transparent 24%),
        radial-gradient(circle at 82% 72%, rgba(var(--bs-primary-rgb), 0.1), transparent 26%);
    filter: blur(4px);
}

.services-constellation-wrapper::after {
    inset: 18%;
    border: 1px solid rgba(var(--bs-primary-rgb), 0.13);
    box-shadow: inset 0 0 45px rgba(var(--bs-primary-rgb), 0.08), 0 0 55px rgba(var(--bs-primary-rgb), 0.08);
}

.constellation-map {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    z-index: 1;
}

.constellation-orbit {
    fill: none;
    stroke: rgba(var(--bs-primary-rgb), 0.24);
    stroke-width: 0.65;
    stroke-dasharray: 2.5 2.8;
    transform-origin: 50% 50%;
}

.constellation-orbit-inner {
    stroke: rgba(var(--bs-primary-rgb), 0.16);
    stroke-dasharray: 1.4 3.2;
    animation: constellationRotateReverse 32s linear infinite;
}

.constellation-orbit-outer {
    animation: constellationRotate 45s linear infinite;
}

.constellation-web-line,
.constellation-link {
    stroke-linecap: round;
    transition: stroke 0.25s ease, stroke-width 0.25s ease, opacity 0.25s ease, filter 0.25s ease;
}

.constellation-web-line {
    stroke: rgba(var(--bs-primary-rgb), 0.19);
    stroke-width: 0.42;
    stroke-dasharray: 1.8 2.4;
}

.constellation-link {
    stroke: rgba(var(--bs-primary-rgb), 0.34);
    stroke-width: 0.7;
    stroke-dasharray: 2.2 2.2;
    cursor: pointer;
}

.constellation-link:hover,
.constellation-link.is-active {
    stroke: var(--bs-primary);
    stroke-width: 1.15;
    opacity: 1;
    filter: drop-shadow(0 0 6px rgba(var(--bs-primary-rgb), 0.65));
}

.constellation-center-card {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 4;
    width: clamp(130px, 19vw, 180px);
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    border: 1px solid rgba(var(--bs-primary-rgb), 0.65);
    background:
        radial-gradient(circle at 50% 35%, rgba(var(--bs-primary-rgb), 0.24), transparent 48%),
        rgba(var(--bs-body-bg-rgb), 0.78);
    box-shadow:
        0 0 0 12px rgba(var(--bs-primary-rgb), 0.035),
        0 0 38px rgba(var(--bs-primary-rgb), 0.32),
        inset 0 0 26px rgba(var(--bs-primary-rgb), 0.12);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    text-align: center;
    padding: 1rem;
}

.constellation-center-pulse {
    position: absolute;
    inset: -14px;
    border-radius: 50%;
    border: 1px solid rgba(var(--bs-primary-rgb), 0.22);
    animation: constellationPulse 2.8s ease-in-out infinite;
}

.constellation-center-logo {
    width: clamp(46px, 8vw, 72px);
    height: clamp(46px, 8vw, 72px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(var(--bs-body-bg-rgb), 0.72);
    box-shadow: inset 0 0 18px rgba(var(--bs-primary-rgb), 0.12);
    overflow: hidden;
}

.constellation-center-logo img {
    max-width: 78%;
    max-height: 78%;
    object-fit: contain;
}

.constellation-center-title {
    max-width: 120px;
    color: var(--bs-primary);
    font-size: clamp(0.68rem, 1.1vw, 0.84rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.constellation-node {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 3;
    --orbit-angle: 0deg;
    --orbit-radius: 230px;
    --node-scale: 1;
    width: clamp(130px, 17vw, 168px);
    min-height: clamp(86px, 10vw, 106px);
    transform: translate(-50%, -50%) rotate(var(--orbit-angle)) translateY(calc(var(--orbit-radius) * -1)) rotate(calc(var(--orbit-angle) * -1)) scale(var(--node-scale));
    border: 1px solid rgba(var(--bs-primary-rgb), 0.42);
    border-radius: 1.4rem;
    background:
        linear-gradient(135deg, rgba(var(--bs-primary-rgb), 0.15), rgba(var(--bs-body-bg-rgb), 0.74)),
        rgba(var(--bs-body-bg-rgb), 0.62);
    color: var(--bs-primary);
    padding: 1rem 0.85rem 0.9rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    text-align: center;
    overflow: hidden;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.16), inset 0 0 20px rgba(var(--bs-primary-rgb), 0.04);
    backdrop-filter: blur(8px);
    cursor: pointer;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
    animation: constellationNodeOrbit 30s linear infinite;
}

.constellation-node-0 {
    --orbit-angle: 0deg;
}

.constellation-node-1 {
    --orbit-angle: 60deg;
}

.constellation-node-2 {
    --orbit-angle: 120deg;
}

.constellation-node-3 {
    --orbit-angle: 180deg;
}

.constellation-node-4 {
    --orbit-angle: 240deg;
}

.constellation-node-5 {
    --orbit-angle: 300deg;
}

.constellation-node-image {
    width: 75%;
    height: auto;
    max-height: 56px;
    object-fit: contain;
    flex-shrink: 0;
}

.constellation-node::before {
    content: "";
    position: absolute;
    inset: -8px;
    border-radius: inherit;
    border: 1px solid rgba(var(--bs-primary-rgb), 0.08);
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none;
}

.constellation-node-dot {
    position: absolute;
    left: 50%;
    top: -8px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    transform: translateX(-50%);
    background: var(--bs-primary);
    box-shadow: 0 0 0 6px rgba(var(--bs-primary-rgb), 0.13), 0 0 18px rgba(var(--bs-primary-rgb), 0.68);
}

.constellation-node-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 24px;
    border-radius: 999px;
    margin-bottom: 0.45rem;
    background-color: rgba(var(--bs-primary-rgb), 0.14);
    color: var(--bs-primary);
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1;
}

.constellation-node-title {
    display: block;
    width: 100%;
    color: currentColor;
    font-size: clamp(0.76rem, 1.08vw, 0.95rem);
    font-weight: 800;
    line-height: 1.16;
    text-align: center;
    overflow-wrap: anywhere;
}

.constellation-node:hover,
.constellation-node:focus-visible,
.constellation-node.is-active {
    color: var(--bs-light);
    --node-scale: 1.07;
    border-color: rgba(var(--bs-primary-rgb), 0.92);
    background:
        linear-gradient(135deg, rgba(var(--bs-primary-rgb), 0.34), rgba(var(--bs-primary-rgb), 0.11)),
        rgba(var(--bs-body-bg-rgb), 0.74);
    box-shadow: 0 18px 42px rgba(var(--bs-primary-rgb), 0.33), inset 0 0 26px rgba(var(--bs-primary-rgb), 0.08);
}

.constellation-node:hover::before,
.constellation-node:focus-visible::before,
.constellation-node.is-active::before {
    opacity: 1;
    transform: scale(1);
}

.constellation-node:hover .constellation-node-number,
.constellation-node:focus-visible .constellation-node-number,
.constellation-node.is-active .constellation-node-number {
    background-color: rgba(var(--bs-primary-rgb), 0.32);
    color: var(--bs-light);
}

@keyframes constellationPulse {

    0%,
    100% {
        opacity: 0.34;
        transform: scale(0.96);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.06);
    }
}

@keyframes constellationRotate {
    to {
        transform: rotate(360deg);
    }
}

@keyframes constellationRotateReverse {
    to {
        transform: rotate(-360deg);
    }
}

@keyframes constellationNodeOrbit {
    from {
        transform: translate(-50%, -50%) rotate(var(--orbit-angle)) translateY(calc(var(--orbit-radius) * -1)) rotate(calc(var(--orbit-angle) * -1)) scale(var(--node-scale));
    }

    to {
        transform: translate(-50%, -50%) rotate(calc(var(--orbit-angle) + 360deg)) translateY(calc(var(--orbit-radius) * -1)) rotate(calc((var(--orbit-angle) + 360deg) * -1)) scale(var(--node-scale));
    }
}

@media (prefers-reduced-motion: reduce) {

    .constellation-orbit,
    .constellation-center-pulse,
    .constellation-node {
        animation: none;
    }
}

@media (max-width: 992px) {
    .profile-card-container {
        min-height: 560px;
    }

    .services-constellation-wrapper {
        width: min(100%, 590px);
    }

    .constellation-node {
        --orbit-radius: 190px;
        width: clamp(116px, 19vw, 142px);
        min-height: 86px;
        padding-inline: 0.7rem;
    }
}

@media (max-width: 576px) {
    .profile-card-container {
        min-height: 390px;
    }

    .services-constellation-wrapper {
        width: min(100%, 360px);
        aspect-ratio: 1 / 1;
        display: flex;
        align-items: center;
        justify-content: center;
        padding-block: 0;
    }

    .constellation-center-card {
        width: 108px;
        height: 108px;
        padding: 0.7rem;
        gap: 0.25rem;
    }

    .constellation-node {
        --orbit-radius: 138px;
        width: 90px;
        min-height: 66px;
        padding: 0.5rem 0.45rem;
        border-radius: 0.85rem;
        gap: 0.3rem;
    }

    .constellation-node-image {
        width: 75%;
        max-width: 40px;
        height: auto;
        max-height: 40px;
        border-radius: 0.45rem;
    }

    .constellation-node-title {
        font-size: 0.6rem;
        line-height: 1.12;
    }

    .constellation-link {
        stroke-width: 0.95;
    }

    .constellation-link:hover,
    .constellation-link.is-active {
        stroke-width: 1.25;
    }

    .constellation-node:hover,
    .constellation-node:focus-visible,
    .constellation-node.is-active {
        --node-scale: 1.05;
    }
}