/* Siddhgiri Tubes - Enquiry Page Styles */

/* Main Container */
.st-enquiry-container {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
}

/* Headings */
.st-enquiry-heading {
    text-align: center;
    color: #2a3990;
    margin-bottom: 20px;
    font-size: 32px;
    font-weight: 600;
}

.st-enquiry-intro {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Layout */
.st-enquiry-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

/* Sidebar with Contact Details */
.st-enquiry-sidebar {
    flex: 1;
    min-width: 300px;
    background-color: #2a3990;
    color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.st-sidebar-title {
    font-size: 24px;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.st-sidebar-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: white;
}

.st-contact-item {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
}

.st-contact-item i {
    margin-right: 15px;
    font-size: 18px;
    margin-top: 3px;
    width: 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

.st-contact-item:hover i {
    transform: translateY(-3px);
}

.st-contact-item p {
    margin: 0;
    line-height: 1.5;
    flex: 1;
}

.st-sidebar-image {
    width: 100%;
    margin-top: 30px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.st-sidebar-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.st-sidebar-image:hover img {
    transform: scale(1.03);
}

/* Form Styles */
.st-form-wrapper {
    flex: 2;
    min-width: 300px;
}

.st-form-content {
    background-color: #f9f9f9;
    padding: 35px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.st-form-intro {
    margin-bottom: 15px;
    color: #555;
    line-height: 1.6;
}

.st-form-note {
    margin-bottom: 25px;
    color: #555;
    line-height: 1.6;
    font-size: 15px;
    border-left: 3px solid #2a3990;
    padding-left: 15px;
}

.st-form-field {
    margin-bottom: 25px;
}

.st-form-field label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: #333;
    font-size: 15px;
}

.st-required {
    color: red;
}

.st-form-field input[type="text"],
.st-form-field input[type="tel"],
.st-form-field input[type="email"],
.st-form-field textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    transition: all 0.3s ease;
    background-color: #fff;
}

.st-form-field input:focus,
.st-form-field textarea:focus {
    border-color: #2a3990;
    box-shadow: 0 0 0 3px rgba(42, 57, 144, 0.1);
    outline: none;
}

.st-name-fields {
    display: flex;
    gap: 15px;
}

.st-name-fields input {
    flex: 1;
}

.st-form-field textarea {
    height: 120px;
    resize: vertical;
}

/* Product Categories */
.st-product-categories {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 10px;
}

.st-category-option {
    display: flex;
    align-items: center;
}

.st-category-option input[type="checkbox"] {
    margin-right: 8px;
    width: 18px;
    height: 18px;
    accent-color: #2a3990;
}

.st-category-option label {
    margin-bottom: 0;
    font-size: 14px;
    cursor: pointer;
}

/* Range Slider */
.st-range-slider {
    margin-top: 10px;
}

/* Add this to the existing enquiry-styles.css file */

/* Anything Categories section */
.st-anything-categories {
    margin-bottom: 25px;
    border-left: 3px solid #2a3990;
    padding-left: 15px;
}

.st-anything-categories input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    transition: all 0.3s ease;
    background-color: #fff;
}

.st-anything-categories input:focus {
    border-color: #2a3990;
    box-shadow: 0 0 0 3px rgba(42, 57, 144, 0.1);
    outline: none;
}

/* Update the range slider max value */
.st-range-slider input[type="range"] {
    max-width: 100%;
}

#stMOQValue {
    font-size: 16px;
    font-weight: 600;
    margin-top: 5px;
}

.st-range-slider input[type="range"] {
    width: 100%;
    height: 8px;
    -webkit-appearance: none;
    background: #ddd;
    border-radius: 5px;
    outline: none;
    margin-bottom: 10px;
}

.st-range-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: #2a3990;
    border-radius: 50%;
    cursor: pointer;
}

.st-range-slider input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #2a3990;
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

#stMOQValue {
    display: block;
    text-align: center;
    font-weight: 500;
    color: #2a3990;
}

/* Submit Button */
.st-submit-button {
    background-color: #000;
    color: white;
    border: none;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.st-submit-button:hover {
    background-color: #2a3990;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.st-submit-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .st-enquiry-layout {
        gap: 40px;
    }
    
    .st-enquiry-sidebar,
    .st-form-wrapper {
        flex: 100%;
        min-width: 100%;
    }
    
    .st-enquiry-sidebar {
        order: 2;
    }
    
    .st-form-wrapper {
        order: 1;
    }
}

@media (max-width: 768px) {
    .st-enquiry-container {
        margin: 30px auto;
    }
    
    .st-enquiry-heading {
        font-size: 28px;
    }
    
    .st-enquiry-intro {
        font-size: 15px;
    }
    
    .st-form-content {
        padding: 25px 20px;
    }
    
    .st-product-categories {
        grid-template-columns: 1fr;
    }
    
    .st-name-fields {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .st-enquiry-sidebar {
        padding: 25px 20px;
    }
    
    .st-contact-item i {
        font-size: 16px;
    }
    
    .st-contact-item p {
        font-size: 14px;
    }
    
    .st-form-field input,
    .st-form-field textarea {
        padding: 10px 12px;
    }
    
    .st-submit-button {
        padding: 12px 20px;
    }
}