/* Siddhgiri Tubes - Contact Page Styles */

/* Main Container */
.st-contact-wrapper {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
}

/* Headings */
.st-contact-heading {
    text-align: center;
    color: #2a3990;
    margin-bottom: 30px;
    font-size: 32px;
    font-weight: 600;
}

.st-contact-intro {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Layout */
.st-contact-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

/* Sidebar with Contact Details */
.st-contact-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-form-container {
    flex: 2;
    min-width: 300px;
}

.st-sidebar-heading {
    margin-top: 0;
    margin-bottom: 30px;
    font-size: 24px;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

.st-sidebar-heading:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: white;
}

/* Contact Items */
.st-contact-item {
    margin-bottom: 25px;
    display: flex;
    align-items: flex-start;
}

.st-contact-item i {
    margin-right: 15px;
    font-size: 20px;
    margin-top: 3px;
    width: 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

.st-contact-item:hover i {
    transform: translateY(-3px);
}

.st-contact-item-content {
    flex: 1;
}

.st-item-title {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 600;
}

.st-item-text {
    margin: 0;
    line-height: 1.5;
}

/* Sidebar Image */
.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);
}

/* Contact Form */
.st-contact-form-wrapper {
    background-color: #f9f9f9;
    padding: 35px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.st-form-intro {
    margin-bottom: 25px;
    color: #555;
    line-height: 1.6;
    font-size: 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,
.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-form-field textarea {
    height: 140px;
    resize: vertical;
}

.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);
}

.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);
}

/* Map */
.st-map-container {
    margin-top: 60px;
    height: 450px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.st-map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .st-contact-layout {
        gap: 40px;
    }
    
    .st-contact-sidebar,
    .st-form-container {
        flex: 100%;
        min-width: 100%;
    }
    
    .st-contact-sidebar {
        order: 2;
    }
    
    .st-form-container {
        order: 1;
    }
    
    .st-map-container {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .st-contact-wrapper {
        margin: 30px auto;
    }
    
    .st-contact-heading {
        font-size: 28px;
    }
    
    .st-contact-intro {
        font-size: 15px;
    }
    
    .st-contact-form-wrapper {
        padding: 25px 20px;
    }
    
    .st-form-field input,
    .st-form-field textarea {
        padding: 10px 12px;
    }
    
    .st-submit-button {
        width: 100%;
        padding: 12px 20px;
    }
    
    .st-map-container {
        height: 350px;
        margin-top: 40px;
    }
}

@media (max-width: 480px) {
    .st-contact-sidebar {
        padding: 25px 20px;
    }
    
    .st-contact-item i {
        font-size: 18px;
    }
    
    .st-item-title {
        font-size: 15px;
    }
    
    .st-item-text {
        font-size: 14px;
    }
    
    .st-map-container {
        height: 300px;
    }
}