.service-hero {
    padding: 40px 0;
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.service-hero-text {
    flex: 1;
}

.service-hero-text h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);

    margin-bottom: 16px;
}

.service-hero-text p {
    font-size: 1.1rem;
    margin-top: 12px;
    color: var(--text-main);
}

.service-hero img {
    width: 400px;
    height: 300px;
    object-fit: cover;
    max-width: 100%;
    border-radius: 14px;
    box-shadow: var(--shadow-lg);
    border: 4px solid white;
}

.service-details {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 14px;
    margin-top: 25px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-details h2 {
    color: var(--primary);
    margin-bottom: 16px;
    font-size: 1.8rem;
}

.service-features {
    background: var(--bg-card);
    padding: 30px;
    margin-top: 25px;
    border-radius: 14px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-features h2 {
    color: var(--primary);
    margin-bottom: 16px;
}

.feature-list {
    margin-top: 15px;
    padding-left: 18px;
}

.feature-list li {
    margin-bottom: 10px;
    font-size: 1.05rem;
    color: var(--text-main);
}

.feature-list li strong {
    color: var(--secondary);

}


.demo-section {
    margin-top: 60px;
    margin-bottom: 40px;
}

.demo-section h2 {
    text-align: center;
    color: var(--primary);
    font-size: 2rem;
}

.demo-form {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 14px;
    margin: 30px auto 0 auto;
    box-shadow: var(--shadow-lg);
    max-width: 800px;
    width: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
    margin-bottom: 20px;
}

.field {
    flex: 1 1 300px;
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

label {
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
    color: var(--dark);
}

input,
textarea {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 1rem;
    box-sizing: border-box;
    font-family: inherit;
    transition: all 0.3s;
}

input:focus,
textarea:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 128, 128, 0.1);
}

textarea {
    height: 130px;
}

.submit-btn {
    background: var(--primary);
    color: white;
    padding: 14px 30px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    width: 100%;
    max-width: 250px;
    display: block;
    margin: 10px auto 0 auto;
    font-size: 1.1rem;
    font-weight: 600;
    transition: background 0.3s;
}

.submit-btn:hover {
    background: var(--primary-dark);
}


.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    backdrop-filter: blur(4px);
}

.popup-content {
    background: white;
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    width: 320px;
    box-shadow: var(--shadow-lg);
}

.popup-content h2 {
    color: var(--secondary);
    margin-bottom: 10px;
}

.popup-content button {
    padding: 10px 24px;
    background: var(--primary);
    border: none;
    border-radius: 50px;
    color: white;
    cursor: pointer;
    font-weight: 600;
    margin-top: 15px;
}


@media (max-width: 900px) {
    .service-hero {
        flex-direction: column;
        text-align: left;
        gap: 24px;
    }

    .service-hero img {
        margin: 0 auto;
    }

    .row {
        flex-direction: column;
        gap: 0;
    }

    .field {
        width: 100%;
    }

    .demo-form {
        padding: 24px;
    }
}