/* Quote Container */
.quote-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.quote-header {
    text-align: center;
    margin-bottom: 40px;
}

.quote-header h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
}

.quote-header p {
    font-size: 1.2rem;
    color: #7f8c8d;
    max-width: 700px;
    margin: 0 auto;
}

/* Progress Steps */
.quote-progress {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
}

.quote-progress::before {
    content: "";
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 4px;
    background: #ecf0f1;
    z-index: 1;
}

.progress-step {
    text-align: center;
    position: relative;
    z-index: 2;
    flex: 1;
}

.progress-step span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #bdc3c7;
    color: white;
    border-radius: 50%;
    margin: 0 auto 10px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.progress-step p {
    color: #7f8c8d;
    font-size: 0.9rem;
}

.progress-step.active span {
    background: #3498db;
    transform: scale(1.1);
}

.progress-step.active p {
    color: #2c3e50;
    font-weight: 500;
}

/* Form Steps */
.form-step {
    display: none;
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.form-step.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.form-step h2 {
    color: #2c3e50;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #ecf0f1;
}

/* Form Grid */
.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #3498db;
    outline: none;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.service-card {
    position: relative;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
}

.service-card input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.service-card label {
    display: block;
    cursor: pointer;
    padding-top: 10px;
}

.service-card i {
    font-size: 2rem;
    color: #3498db;
    margin-bottom: 15px;
    display: block;
}

.service-card h3 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.service-card p {
    color: #7f8c8d;
    font-size: 0.95rem;
}

.service-card input[type="checkbox"]:checked + label {
    background: rgba(52, 152, 219, 0.05);
}

.service-card input[type="checkbox"]:checked + label .service-card {
    border-color: #3498db;
    box-shadow: 0 0 10px rgba(52, 152, 219, 0.2);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-color: #3498db;
}

/* File Upload */
.file-upload {
    border: 2px dashed #ddd;
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.file-upload:hover {
    border-color: #3498db;
    background: rgba(52, 152, 219, 0.05);
}

.file-upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    color: #7f8c8d;
}

.file-upload-label i {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #3498db;
}

.file-upload-label span {
    font-size: 1rem;
}

.file-upload input[type="file"] {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
}

.file-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.file-item {
    background: #f8f9fa;
    border-radius: 5px;
    padding: 8px 12px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.file-item i {
    color: #3498db;
}

/* Review Section */
.review-summary {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
}

.review-section {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.review-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.review-section h3 {
    color: #2c3e50;
    margin-bottom: 15px;
}

.review-item {
    display: flex;
    margin-bottom: 8px;
}

.review-label {
    font-weight: 600;
    min-width: 150px;
    color: #7f8c8d;
}

.review-value {
    color: #2c3e50;
}

/* Consent */
.consent {
    display: flex;
    align-items: flex-start;
    margin-top: 30px;
}

.consent input {
    margin-right: 10px;
    margin-top: 5px;
}

.consent label {
    font-size: 0.95rem;
    color: #7f8c8d;
}

.consent a {
    color: #3498db;
    text-decoration: none;
}

.consent a:hover {
    text-decoration: underline;
}

/* Navigation Buttons */
.form-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.btn {
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.prev-btn {
    background: #ecf0f1;
    color: #7f8c8d;
}

.prev-btn:hover {
    background: #d5dbdb;
}

.next-btn {
    background: #3498db;
    color: white;
}

.next-btn:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

.submit-btn {
    background: #27ae60;
    color: white;
}

.submit-btn:hover {
    background: #219653;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(39, 174, 96, 0.3);
}

/* Support Card */
.quote-support {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.support-card {
    text-align: center;
    padding: 20px;
}

.support-card i {
    font-size: 3rem;
    color: #3498db;
    margin-bottom: 20px;
}

.support-card h3 {
    color: #2c3e50;
    margin-bottom: 15px;
}

.support-card p {
    color: #7f8c8d;
    margin-bottom: 20px;
}

.support-card a {
    display: block;
    color: #3498db;
    text-decoration: none;
    margin-bottom: 10px;
    font-weight: 500;
}

.support-card a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .quote-progress {
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
    }

    .quote-progress::before {
        display: none;
    }

    .progress-step {
        display: flex;
        align-items: center;
        gap: 15px;
        text-align: left;
    }

    .progress-step span {
        margin: 0;
    }

    .form-navigation {
        flex-direction: column;
        gap: 15px;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}