/* Quote Modal Styles */
/* Get Your Quote Modal for Product Inquiry */

.quote-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.quote-modal.show {
    display: flex;
    opacity: 1;
    animation: fadeIn 0.3s ease;
}

.quote-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 76, 129, 0.85);
    backdrop-filter: blur(5px);
}

.quote-modal-box {
    position: relative;
    background: var(--off-white);
    border-radius: 24px;
    padding: 3rem;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 70px rgba(15, 76, 129, 0.3);
    animation: slideUp 0.4s ease;
    z-index: 1;
}

.quote-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(15, 76, 129, 0.1);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 18px;
    color: var(--midnight-blue);
    z-index: 10;
}

.quote-modal-close:hover {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    transform: rotate(90deg);
}

.quote-modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.quote-modal-header i {
    font-size: 3.5rem;
    color: var(--midnight-blue);
    margin-bottom: 1rem;
    display: block;
}

.quote-modal-header h3 {
    font-size: 2rem;
    color: var(--midnight-blue);
    margin-bottom: 0.5rem;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
}

.quote-modal-header p {
    font-size: 1rem;
    color: var(--text-secondary);
}

.quote-modal-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.quote-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.quote-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.quote-form-group label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--midnight-blue);
    font-family: 'Montserrat', sans-serif;
}

.quote-form-group input,
.quote-form-group select,
.quote-form-group textarea {
    padding: 0.875rem 1.25rem;
    border: 2px solid rgba(15, 76, 129, 0.15);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: 'Open Sans', sans-serif;
    background: var(--white);
    color: var(--text-primary);
}

.quote-form-group input:focus,
.quote-form-group select:focus,
.quote-form-group textarea:focus {
    outline: none;
    border-color: var(--midnight-blue);
    box-shadow: 0 0 0 4px rgba(15, 76, 129, 0.1);
}

.quote-form-group textarea {
    resize: vertical;
    min-height: 120px;
    font-family: 'Open Sans', sans-serif;
}

.quote-form-group 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='%230f4c81' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.quote-submit-btn {
    padding: 1rem 2rem;
    background: var(--midnight-blue);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 0.5rem;
    min-height: 52px;
}

.quote-submit-btn:hover {
    background: var(--deep-forest-green);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(15, 76, 129, 0.3);
}

.quote-submit-btn:active {
    transform: translateY(0);
}

.quote-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.quote-form-privacy {
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.quote-form-privacy i {
    color: var(--midnight-blue);
}

/* Success Message */
.quote-success-message {
    text-align: center;
    padding: 2rem 1rem;
}

.quote-success-message i {
    font-size: 4.5rem;
    color: #10b981;
    margin-bottom: 1.5rem;
    display: block;
    animation: scaleIn 0.5s ease;
}

.quote-success-message h3 {
    font-size: 1.75rem;
    color: var(--midnight-blue);
    margin-bottom: 1rem;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
}

.quote-success-message p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.quote-success-email {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 1rem;
}

.quote-success-email strong {
    color: var(--midnight-blue);
}

.quote-close-btn {
    padding: 0.875rem 2rem;
    background: var(--midnight-blue);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1.5rem;
}

.quote-close-btn:hover {
    background: var(--deep-forest-green);
    transform: translateY(-2px);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .quote-modal-box {
        padding: 2rem 1.5rem;
        border-radius: 20px;
        max-width: 95%;
    }
    
    .quote-modal-header h3 {
        font-size: 1.5rem;
    }
    
    .quote-modal-header i {
        font-size: 2.5rem;
    }
    
    .quote-form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .quote-submit-btn {
        font-size: 1rem;
        padding: 0.875rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .quote-modal-box {
        padding: 1.5rem 1.25rem;
    }
    
    .quote-modal-close {
        top: 15px;
        right: 15px;
        width: 35px;
        height: 35px;
    }
}

/* Scrollbar Styles */
.quote-modal-box::-webkit-scrollbar {
    width: 8px;
}

.quote-modal-box::-webkit-scrollbar-track {
    background: rgba(15, 76, 129, 0.05);
    border-radius: 10px;
}

.quote-modal-box::-webkit-scrollbar-thumb {
    background: var(--midnight-blue);
    border-radius: 10px;
}

.quote-modal-box::-webkit-scrollbar-thumb:hover {
    background: var(--deep-forest-green);
}

/* Loading State */
.quote-submit-btn.loading {
    pointer-events: none;
    opacity: 0.8;
}

.quote-submit-btn i.fa-spinner {
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

