.hero {
    position: relative;
    aspect-ratio: 10/4.5;
    overflow: hidden;
    width: 100%;
}
.hero img {
    width: 100%;
    object-fit: cover;
    aspect-ratio: 10/4.5;
    object-position: bottom;
}
.hero::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(0deg, rgba(240, 239, 235, 1) 0%, rgba(255, 255, 255, 0) 100%);
}
.hero-text {
    position: absolute;
    bottom: 6rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 3.5rem;
    font-weight: 800;
    text-align: center;
    line-height: 1.1;
}
.hero-pointer{
    position: absolute;
}
.hero-pointer .dot {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 1.75rem;
    height: 1.75rem;
    background: var(--light-color);
    border-radius: 50%;
    opacity: 1;
    transition: transform .25s ease-in-out;
}

/* Add pulsing circle around the dot */
.hero-pointer .dot::before {
    position: absolute;
    content: "";
    top: -0.5rem;
    right: -0.5rem;
    left: -0.5rem;
    bottom: -0.5rem;
    border: 2px solid var(--light-color);
    border-radius: 50%;
    animation: pulse-circle 2s infinite;
}

.hero-pointer .dot::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 14px;
    background: var(--main-color);
    border-radius: 50%;
    z-index: 1;
}

.hero-pointer .tooltip{
    display: grid;
    background: var(--light-color);
    color: var(--text-color);
    padding: .4rem;
    border-radius: var(--border-radius-sm);
    text-decoration: none;
    z-index: 1;
    position: absolute;
    grid-template-columns: 116px auto;
    gap: 1rem;
    font-family: var(--font-family);
    transition: opacity .2s ease-in-out .1s, visibility .2s ease-in-out .1s;
    opacity: 0;
    visibility: hidden;
}
.hero-pointer .tooltip img {
    width: 116px;
    height: 116px;
    object-fit: cover;
    border-radius: var(--border-radius-xs);
}
.hero-pointer .tooltip .short-description {
    width: 250px;
    text-align: left;
    display: flex;
    flex-flow: column;
    padding: 1rem .5rem 1rem 0;
    font-size: .95rem;
    line-height: 1.1;
}
.hero-pointer .tooltip-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: .3rem;
}
.hero-pointer .tooltip-link {
    font-weight: 600;
    margin-top: auto;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: .5rem;
    color: var(--text-color);
    text-decoration: none;
}
.hero-pointer .tooltip-link.show {
    color: var(--text-color);
}
.hero-pointer .tooltip-link::after {
    content: "";
    width: 19px;
    height: 10px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url("data:image/svg+xml,%3Csvg width='19' height='10' viewBox='0 0 19 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M14.566 0.187478L18.6395 4.26099C18.8895 4.51096 18.8895 4.91625 18.6395 5.16622L14.566 9.23973C14.316 9.48971 13.9107 9.48971 13.6607 9.23973C13.4108 8.98976 13.4108 8.58448 13.6607 8.33451L16.6416 5.3537L0.640093 5.3537C0.286579 5.3537 0 5.06712 0 4.71361C0 4.36009 0.286579 4.07351 0.640093 4.07351L16.6416 4.07351L13.6607 1.0927C13.4108 0.842733 13.4108 0.43745 13.6607 0.187478C13.9107 -0.0624928 14.316 -0.0624928 14.566 0.187478Z' fill='black'/%3E%3C/svg%3E");
    margin-top: 3px;
}
.tooltip.show {
    opacity: 1;
    visibility: visible;
}
.tooltip.position-left {
    right: 3rem;
    left: unset;
}
.tooltip.position-right {
    left: 3rem;
    right: unset;
}
.tooltip.position-top {
    bottom: unset;
    top: 3rem;
}
.tooltip.position-bottom {
    top: unset;
    bottom: 0;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.7;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes pulse-circle {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.3);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}