@font-face {
    font-family: 'Qualy Neue';
    src: url('/assets/fonts/qualy-neue-regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-poppins);

}

.feature-section {
    background: #f0f1f3;
    border-radius: 24px;
    /* padding: 0px 0px 0px 90px; */
    max-width: 1200px;
    width: 100%;
    margin: 100px auto 50px auto; /* Changed from top: 100px to margin-top */
    position: relative;
    /* height: 472px; */
    overflow: hidden;
    /* min-height: 500px; */
}

.content-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    width: 90%;
    /* keeps section narrower inside 1200px container */
    margin: 0 auto;
}

.text-content {
    flex: 1.2;
    /* slightly larger portion for text */
    max-width: 600px;
    /* limits text width for readability */
}


.text-content h1 {
    color: #3F3D56;
    font-family: "Qualy Neue";
    font-size: 48px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.features-list {
    list-style: none;
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 24px;
    font-size: 16px;
    color: #6b7280;
}

.checkmark {
    width: 24px;
    height: 24px;
    background: #60a5fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.checkmark::after {
    content: '✓';
    color: white;
    font-size: 14px;
    font-weight: bold;
}

/* Animated Button Styles */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 36px;
    border-radius: 8px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    transition: all 0.3s ease;
    z-index: 999;
}

.cssbuttons-io {
    position: relative;
    font-family: inherit;
    border-radius: 0.8em;
    overflow: hidden;
    background: linear-gradient(to right, #2296f3, #2296f3);
    color: #1a1a1a;
}

.cssbuttons-io span,
.cssbuttons-io svg {
    position: relative;
    z-index: 10;
    transition: color 0.4s ease, transform 0.3s ease;
}

.cssbuttons-io svg {
    width: 1.2em;
    height: 1.2em;
}

.cssbuttons-io::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #fbbf24;
    width: 120%;
    left: -10%;
    transform: skew(30deg);
    transition: transform 0.4s cubic-bezier(0.3, 1, 0.8, 1);
    z-index: 1;
}

.cssbuttons-io:hover::before {
    transform: translate3d(100%, 0, 0);
}

.cssbuttons-io:hover {
    color: #fff;
}

.cssbuttons-io:hover span,
.cssbuttons-io:hover svg {
    color: #fff;
}

.cssbuttons-io:hover svg {
    transform: translateX(4px);
}

.cssbuttons-io:active {
    transform: scale(0.96);
}

.illustration {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
}

.illustration img {
    width: 100%;
    max-width: 400px;
    height: auto;
    object-fit: contain;
    position: relative;
    padding: 20px;
    /* bottom: 32px;. */
}

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

    .text-content {
        max-width: 700px;
    }

    .illustration img {
        max-width: 280px;
        margin-top: 30px;
    }

    .feature-section {
        padding: 50px;
    }

    .content-wrapper {
        gap: 40px;
    }

    .text-content h1 {
        font-size: 40px;
    }
}

@media (max-width: 768px) {
    .feature-section {
        padding: 40px 30px;
        margin-top: 50px; /* Adjusted for mobile */
    }

    .content-wrapper {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .text-content h1 {
        font-size: 36px;
        margin-bottom: 30px;
    }

    .feature-item {
        font-size: 15px;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .feature-section {
        padding: 30px 20px;
        border-radius: 16px;
        min-height: 800px;
        margin-top: 30px; /* Further adjusted for small mobile */
    }

    .text-content h1 {
        font-size: 28px;
        margin-bottom: 24px;
    }

    .feature-item {
        font-size: 14px;
        margin-bottom: 16px;
        gap: 10px;
    }

    .checkmark {
        width: 20px;
        height: 20px;
    }

    .explore-btn {
        padding: 14px 28px;
        font-size: 15px;
        width: 100%;
        justify-content: center;
    }
    .feature-text {
        font-size: 18px !important;
    }

}

.feature-text {
    color: rgba(63, 61, 86, 0.70);
    font-family: var(--font-poppins);
    font-size: 22px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-bottom: 20px;
    margin-top: 20px;
}