
/* ========================================
   Navigation Phone & Quiz Form Styles
   ======================================== */

.nav-phone {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    transition: all 0.3s ease !important;
}

.nav-phone:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    opacity: 1 !important;
}

/* ========================================
   Quiz Form Styles - RESPONSIVE FIX
   ======================================== */

#contact {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 140px 40px 80px 40px !important;
    min-height: 100vh !important;
}

#contact .section-content {
    max-width: 900px;
    width: 100%;
    padding: 40px 24px;
    margin: 0 auto;
}

#contact .section-title {
    font-size: clamp(32px, 5vw, 64px) !important;
    margin-bottom: 32px !important;
    line-height: 1.2 !important;
    padding-top: 0 !important;
    margin-top: 0 !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
}

#contact .section-subtitle {
    font-size: clamp(13px, 1.8vw, 16px) !important;
    margin-bottom: 56px !important;
    line-height: 1.6 !important;
}

.quote-form {
    max-width: 700px;
    margin: 0 auto;
    padding: 40px 0;
    width: 100%;
}

.form-progress {
    margin-bottom: 40px;
    text-align: center;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 12px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #0066CC, #00aaff);
    transition: width 0.4s ease;
    width: 20%;
}

.progress-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
}

.form-step {
    display: none;
    animation: fadeInStep 0.4s ease;
}

.form-step.active {
    display: block;
}

@keyframes fadeInStep {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-question {
    font-size: clamp(24px, 4vw, 32px);
    font-weight: 700;
    margin-bottom: 32px;
    text-align: center;
    line-height: 1.3;
}

.form-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 40px;
}

.option-card {
    position: relative;
    cursor: pointer;
}

.option-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.option-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
    min-height: 140px;
    text-align: center;
}

.option-card:hover .option-content {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-4px);
}

.option-card input[type="radio"]:checked + .option-content {
    background: rgba(0, 102, 204, 0.2);
    border-color: #0066CC;
    box-shadow: 0 0 20px rgba(0, 102, 204, 0.3);
}

.option-icon {
    font-size: 48px;
    margin-bottom: 12px;
    display: block;
}

.option-label {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
}

/* Form Inputs */
.form-input-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #ffffff;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: #0066CC;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 20px rgba(0, 102, 204, 0.2);
}

.form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='white' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    padding-right: 48px;
}

.form-select option {
    background: #1d1d1f;
    color: #ffffff;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* Form Navigation */
.form-navigation {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 40px;
}

.form-btn {
    padding: 16px 48px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.form-btn-back {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.form-btn-back:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.form-btn-next,
.form-btn-submit {
    background: #0066CC;
    color: #ffffff;
}

.form-btn-next:hover,
.form-btn-submit:hover {
    background: #0055b3;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 102, 204, 0.4);
}

.form-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

/* Footer Call Box */
.footer-call-box {
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-call-btn {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 20px 40px;
    background: rgba(0, 102, 204, 0.2);
    border: 2px solid #0066CC;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-call-btn:hover {
    background: rgba(0, 102, 204, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 102, 204, 0.3);
}

.call-icon {
    font-size: 32px;
}

.call-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.call-label {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 1px;
}

.call-number {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
}

/* Responsive Form */
@media (max-width: 1024px) {
    #contact {
        padding: 120px 32px 60px 32px !important;
    }

    #contact .section-content {
        padding: 32px 20px;
    }

    #contact .section-title {
        font-size: clamp(28px, 6vw, 48px) !important;
        margin-bottom: 24px !important;
    }

    #contact .section-subtitle {
        font-size: clamp(12px, 2vw, 15px) !important;
        margin-bottom: 40px !important;
    }
}

@media (max-width: 768px) {
    #contact {
        padding: 100px 20px 60px 20px !important;
        min-height: auto !important;
    }

    #contact .section-content {
        padding: 20px 16px;
    }

    #contact .section-title {
        font-size: 32px !important;
        margin-bottom: 20px !important;
        line-height: 1.25 !important;
    }

    #contact .section-subtitle {
        font-size: 14px !important;
        margin-bottom: 32px !important;
        line-height: 1.5 !important;
    }

    .quote-form {
        padding: 24px 0;
    }

    .form-question {
        font-size: 22px !important;
        margin-bottom: 24px;
    }

    .form-options {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .option-content {
        padding: 24px 20px;
        min-height: 100px;
    }

    .option-icon {
        font-size: 36px;
        margin-bottom: 8px;
    }

    .option-label {
        font-size: 14px;
    }

    .form-navigation {
        flex-direction: column;
        gap: 12px;
    }

    .form-btn {
        width: 100%;
        padding: 14px 32px;
    }

    .footer-call-btn {
        padding: 16px 24px;
        width: 100%;
        justify-content: center;
    }

    .call-number {
        font-size: 20px;
    }

    .nav-phone {
        display: none;
    }

    .footer-info {
        padding-top: 32px;
    }
}

@media (max-width: 480px) {
    #contact {
        padding: 90px 16px 50px 16px !important;
    }

    #contact .section-title {
        font-size: 28px !important;
        margin-bottom: 16px !important;
    }

    #contact .section-subtitle {
        font-size: 13px !important;
        margin-bottom: 24px !important;
    }

    .form-question {
        font-size: 20px !important;
        margin-bottom: 20px;
    }

    .option-content {
        padding: 20px 16px;
        min-height: 90px;
    }

    .option-icon {
        font-size: 32px;
    }

    .form-input,
    .form-select,
    .form-textarea {
        padding: 14px 16px;
        font-size: 15px;
    }

    .form-btn {
        padding: 12px 24px;
        font-size: 13px;
    }

    .call-number {
        font-size: 18px;
    }

    .call-icon {
        font-size: 28px;
    }
}
