@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');

.hf-section {
    position: relative;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    min-height: 600px;
    overflow: visible;
}

.hf-column-text {
    background-color: #ffffff;
    padding: 80px 20% 80px 16%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 1;
}

.hf-column-image {
    flex: 1;
    position: relative;
    min-height: 400px;
}

.hf-bg-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hf-bg-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@keyframes hfFloatImg {
    0% { transform: translate(-50%, -50%) translateY(0px); }
    50% { transform: translate(-50%, -50%) translateY(-15px); }
    100% { transform: translate(-50%, -50%) translateY(0px); }
}

.hf-floating-img-wrapper {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(-50%, -50%);
    width: 40%;
    max-width: 300px;
    z-index: 10;
    pointer-events: none;
    animation: hfFloatImg 5s ease-in-out infinite;
}

.hf-floating-img-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

.hf-title {
    font-family: 'Rubik', sans-serif;
    font-size: 40px;
    font-weight: 700;
    margin: 0 0 20px 0;
    color: #000000;
    line-height: 1.1;
}

.hf-subtitle {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 30px;
    color: #000000;
}

.hf-content {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 16px;
    line-height: 1.6;
    color: #666666;
    margin-bottom: 40px;
}

.hf-bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
}

.hf-bullet-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 16px;
    color: #666666;
}

.hf-bullet-icon {
    width: 20px;
    height: 20px;
    margin-right: 15px;
    flex-shrink: 0;
    margin-top: 4px;
}

.hf-button {
    display: inline-block;
    font-family: 'IBM Plex Mono', monospace;
    font-weight: 400;
    font-size: 16px;
    text-decoration: none;
    color: #000000;
    border: 1px solid #000000;
    padding: 15px 40px;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    width: fit-content;
}

.hf-button:hover {
    background-color: #000000;
    color: #ffffff !important;
}

@media (max-width: 1024px) {
    .hf-column-text {
        padding: 60px 10% 60px 5%;
    }

    .hf-title {
        font-size: 38px;
    }

    .hf-floating-img-wrapper {
        width: 35%;
        left: 0;
    }
}

@media (max-width: 768px) {
    .hf-section {
        display: flex;
        flex-direction: column;
        min-height: auto;
    }

    .hf-column-text {
        padding: 60px 7% 80px 7%;
        order: 1;
        text-align: center;
        align-items: center;
    }

    .hf-column-image {
        order: 2;
        min-height: 400px;
    }

    .hf-floating-img-wrapper {
        top: 0;
        left: 50%;
        transform: translate(-50%, -30%);
        width: 180px;
        max-width: 50%;
        display: none;
    }

    .hf-title {
        font-size: 32px;
        margin-bottom: 15px;
    }

    .hf-subtitle {
        font-size: 13px;
        margin-bottom: 20px;
    }

    .hf-content {
        font-size: 15px;
        margin-bottom: 30px;
    }

    .hf-bullets {
        margin-bottom: 30px;
        text-align: left;
        width: 100%;
        max-width: fit-content;
    }

    .hf-button {
        text-align: center;
    }
}