.grid-banner {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    margin-top: 125px;
    background-color: var(--white-color) !important;
}

.text-section p {
    max-width: 600px;
}

.text-section h2 {
    font-size: 30px;
    font-weight: bold;
    color: var(--secondary-color);
}

.text-section p {
    color: var(--primary-color);
    margin: 10px 0;
}

.buttons {
    display: flex;
    gap: 15px;
    margin-top: 50px;
}

.discover-btn {
    border: 1px solid var(--primary-color);
    color: var(--gray-color);
    background-color: var(--primary-color);
}

.learn-more {
    color: var(--primary-color);
    margin-top: 5px;
}

.image-section {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-placeholder {
    width: 100%;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .image-placeholder img {
        border-radius: 10px;
        width: auto;
        object-fit: contain;
    }

.grid-banner .content {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.grid-banner .image-section,
.grid-banner .text-section {
    flex: 1;
}


@media (max-width: 576px) {
    .grid-banner .content {
        flex-direction: column;
    }

    .grid-banner .image-section {
        order: 1;
    }

    .grid-banner .text-section {
        order: 2;
        text-align: center;
        padding: 20px;
    }

    .grid-banner .buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

        .grid-banner .buttons .btn,
        .grid-banner .buttons .btn-outline-linked {
            width: 100%;
            max-width: 200px;
            margin-bottom: 10px;
        }


    .image-section {
        margin-top: 20px;
    }

    .btn-outline-linked {
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

.steps {
    padding: 2rem 0;
}

    .steps h3 {
        margin-bottom: 1rem;
    }

    .steps .circle-number {
        width: 40px;
        height: 40px;
        background-color: var(--secondary-color);
        color: var(--white-color);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.25rem;
        font-weight: bold;
        margin: 0 auto;
    }

.step-card {
    background-color: var(--white-color) !important;
    border-radius: 10px;
    padding: 16px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 250px;
    max-height: 350px;
    border: 1px solid var(--gray-color);
}


.steps h4 {
    margin-top: 10px;
    font-weight: 600;
    color: var(--secondary-color);
}

.steps p {
    color: var(--text-color);
    font-size: 1rem;
}

.icon-placeholder {
    margin: 0 auto;
    margin-top: -60px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .icon-placeholder img {
        width: 50%;
        height: 50%;
    }

@media (min-width: 767px) and (max-width: 900px) {
    .step-card {
        margin-top: 30px;
        height: 200px;
    }

    .grid-banner {
        margin-top: 160px !important;
        margin-bottom: 100px !important;
    }

    .image-section {
        margin-top: 20px;
    }
}

@media (max-width: 767px) {
    .content {
        flex-direction: column;
        text-align: center;
    }

    .text-section {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .buttons {
        justify-content: center;
        margin-top: 20px;
    }
}

@media (max-width: 767px) {
    .grid-banner {
        height: auto;
        padding: 40px 20px;
    }

    .text-section h2 {
        font-size: 20px;
    }

    .text-section p {
        font-size: 14px;
    }

    .discover-btn, .learn-more {
        font-size: 14px;
    }

    .step-card {
        margin-top: 15px;
        padding: 1.5rem;
        height: auto;
        max-height: none;
    }
}

.floating-text {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    pointer-events: none;
    white-space: nowrap;
}

    .floating-text.show {
        opacity: 1;
    }

@media (max-width: 395px) {
    .grid-banner {
        margin-top: 220px !important;
    }
}
