/* RFQ Page Styles */
.rfq-hero {
    background-color: #003366; /* Fallback color */
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 100px 20px;
    position: relative;
    margin-bottom: 50px;
}

.rfq-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 51, 102, 0.85); /* Dark blue overlay */
}

.rfq-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.rfq-hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.rfq-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.rfq-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 80px;
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

.rfq-left {
    flex: 2;
    min-width: 300px;
}

.rfq-right {
    flex: 1;
    min-width: 300px;
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    height: fit-content;
}

/* Form Styles */
.rfq-form-section {
    margin-bottom: 40px;
}

.rfq-form-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #007bff;
    display: inline-block;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #555;
}

.form-group label span {
    color: #e74c3c; /* Required asterisk color */
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
    box-sizing: border-box; /* Important for padding */
}

.form-control:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

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

.rfq-submit-btn {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    width: 100%;
}

.rfq-submit-btn:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

/* Sidebar Styles */
.rfq-info-box {
    margin-bottom: 30px;
}

.rfq-info-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #003366;
}

/* FAQ Styles */
.rfq-faq-list {
    margin-top: 10px;
}

.faq-item {
    margin-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 15px;
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.faq-question {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 1rem;
}

.faq-answer {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
}

.contact-mini {
    font-size: 0.95rem;
    color: #666;
}

.contact-mini p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.contact-mini i {
    margin-right: 10px;
    color: #007bff;
    width: 20px;
    text-align: center;
}

@media (max-width: 768px) {
    .rfq-container {
        flex-direction: column;
    }
    
    .rfq-hero {
        padding: 60px 20px;
    }
    
    .rfq-hero h1 {
        font-size: 2rem;
    }
}