/* New Demo Form Styles - Matching Image Design */

.new-demo-form {
    max-width: 420px;
    margin: auto;
    font-family: "Plus Jakarta Sans", Sans-serif;
    background: #363332;
    padding: 40px 35px;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.wortal-demo-form-title {
    margin: 0 0 40px;
    font: 700 26px/1.4 "Plus Jakarta Sans", sans-serif;
    text-align: center;
    color: #ffffff;
}

.new-demo-form-title span {
    background: linear-gradient(135deg, #FF5733 0%, #FF8C61 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.new-demo-form .form-group {
    position: relative;
    margin-bottom: 45px;
}

.new-demo-form label {
    position: absolute;
    left: 0;
    top: -22px;
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
    pointer-events: none;
    transition: all 0.3s ease;
}

.new-demo-form input,
.new-demo-form select {
    width: 100%;
    padding: 12px 18px !important;
    font-size: 16px;
    border: none !important;
    border-radius: 14px !important;
    background-color: #e8e8e8;
    color: #2d2d2d;
    outline: none;
    transition: all 0.3s ease !important;
}

.new-demo-form input::placeholder {
    color: #999;
    opacity: 0.7;
}

.new-demo-form input:focus {
    background-color: #f5f5f5;
    box-shadow: 0 0 0 3px rgba(255, 87, 51, 0.1);
}

.new-demo-form .phone-wrapper {
    position: relative;
    display: flex;
    gap: 12px;
    align-items: center;
}

.new-demo-form .phone-wrapper select {
    width: 100px;
    padding: 12px 12px 14px 40px !important;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('https://stag.wortal.co/wp-content/uploads/2026/01/ind.svg'), url('https://stag.wortal.co/wp-content/uploads/2026/01/drop.png');
    background-repeat: no-repeat, no-repeat;
    background-position: 12px center, right 12px center;
    background-size: 20px auto, 18px;
    cursor: pointer;
    font-weight: 600;
}

.new-demo-form .phone-wrapper select:focus {
    background-color: #f5f5f5;
    box-shadow: 0 0 0 3px rgba(255, 87, 51, 0.1);
}

.new-demo-form .phone-wrapper input {
    flex: 1;
}

.new-demo-form .phone_label {
    left: 0;
    top: -22px;
}

.new-demo-form button[type="submit"] {
    width: 100%;
    background: #FF4000;
    color: #FFFFFF;
    padding: 16px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: Plus Jakarta Sans;
}

/* .new-demo-form button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(255, 87, 51, 0.4);
} */

.new-demo-form button[type="submit"]:active {
    transform: translateY(0);
}

.new-demo-form button[type="submit"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .new-demo-form {
        padding: 30px 25px;
        max-width: 100%;
    }
    
    .new-demo-form-title {
        font-size: 16px;
    }
    
    .new-demo-form label {
        font-size: 13px;
    }
    
    .new-demo-form input,
    .new-demo-form select {
        padding: 14px 16px;
        font-size: 15px;
    }
    
    .new-demo-form .phone-wrapper select {
        width: 100px;
    }
}

/* Animation on load */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.new-demo-form {
    animation: fadeInUp 0.6s ease-out;
}

.new-demo-form .form-group {
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.new-demo-form .form-group:nth-child(2) {
    animation-delay: 0.1s;
}

.new-demo-form .form-group:nth-child(3) {
    animation-delay: 0.2s;
}

.new-demo-form .form-group:nth-child(4) {
    animation-delay: 0.3s;
}

.new-demo-form button[type="submit"] {
    animation: fadeInUp 0.6s ease-out 0.4s both;
}