@import url('variables.css');
@import url('flexbox.css');
@import url('styles.css');

/* =========================================
            DEMO PAGE STYLES
========================================== */
.demo-header-content h5 {
    margin-top: -30px;
}

.demo-layout {
    width: 90%;
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 1rem;
    gap: 2rem;
    min-height: calc(100vh - 200px);
    align-items: stretch;
}

.demo-left-column {
    flex: 0 0 58.33%;
    display: flex;
    flex-direction: column;
}

.demo-right-column {
    flex: 0 0 41.67%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1rem;
}

.demo-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0;
    margin: 0;
}

.top-image {
    text-align: center;
    margin-bottom: 30px;
}

    .top-image img {
        width: 100%;
        max-width: 350px;
        height: auto;
    }

.benefits-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 0;
    padding: 0;
    justify-content: center;
    align-items: center;
}

.benefit-card {
    background-color: #d9effc;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    padding: 20px;
    display: flex;
    align-items: center;
    width: 70%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .benefit-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    }

    .benefit-card .icon {
        margin-right: 15px;
        flex-shrink: 0;
        background-color: #F4B425;
        border-radius: 12px;
        width: 50px;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

        .benefit-card .icon img {
            width: 30px;
            height: 30px;
        }

    .benefit-card .text h4 {
        font-family: var(--font-family-body);
        font-weight: 700;
        margin: 0;
        font-size: 1rem;
        color: black;
    }

    .benefit-card .text p {
        font-family: var(--font-family-body);
        margin: 4px 0 0;
        color: #444;
        font-size: 0.8rem;
    }

.iframe-demo {
    width: 100%;
    flex: 1;
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
    min-height: 700px;
    overflow: hidden;
}

    .iframe-demo:hover {
        box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
    }

/* Responsive Design */
@media (max-width: 768px) {
    .demo-layout {
        flex-direction: column;
        min-height: auto;
        gap: 1rem;
    }
    
    .demo-left-column,
    .demo-right-column {
        flex: none;
    }
    
    .benefits-grid {
        flex-direction: column;
        gap: 10px;
    }
    
    .iframe-demo {
        min-height: 600px;
    }
}