/*
 * Contact Page Fixes
 * Improves the layout and styling of contact information
 */

/* Main container improvements */
.os-contact-container {
    max-width: 1000px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    padding: 30px;
}

.os-contact-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #283848;
}

.os-divider {
    border: none;
    height: 2px;
    background-color: #d9a442;
    margin: 0 0 25px 0;
    width: 80px;
}

/* Improve contact info section */
.os-contact-info {
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Improve contact item layout */
.os-contact-item {
    margin-bottom: 0;
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 12px 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border-left: 3px solid #d9a442;
}

.os-contact-item:hover {
    background-color: #f5f5f5;
    box-shadow: 0 4px 8px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

/* Fix contact row layout */
.os-contact-row {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0;
}

/* Style contact labels */
.os-contact-label {
    font-size: 16px;
    font-weight: 600;
    color: #283848;
    display: flex;
    align-items: center;
    min-width: 100px;
    margin-right: 15px;
}

.os-contact-label i {
    color: #d9a442;
    font-size: 18px;
    margin: 20px; /* Increased from 10px to create more space */
    width: 24px;
    text-align: center;
}

/* Style contact values */
.os-contact-value {
    font-size: 16px;
    font-weight: 400;
    color: #555;
    flex: 1;
}

.os-contact-value a {
    color: #555;
    text-decoration: none;
    transition: color 0.3s ease;
}

.os-contact-value a:hover {
    color: #d9a442;
}

/* Remove dividers */
.os-divider-light {
    display: none;
}

/* Map improvements */
.os-map-wrapper {
    margin: 25px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.os-location-indicator {
    background-color: #283848;
    color: white;
    padding: 12px 15px;
    border-radius: 8px 8px 0 0;
    width: 100%;
    max-width: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

.os-map-container {
    width: 100%;
    max-width: 700px;
    height: 350px;
    overflow: hidden;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    position: relative;
    border: 1px solid #eee;
}

/* Social media section improvements */
.os-social-section {
    margin: 25px 0;
}

.os-social-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background-color: #f9f9f9;
    border-radius: 8px;
    border-left: 3px solid #d9a442;
}

.os-social-label {
    font-size: 16px;
    font-weight: 600;
    color: #283848;
    display: flex;
    align-items: center;
}

.os-social-links {
    display: flex;
    gap: 15px;
}

.os-social-link {
    font-size: 22px;
    transition: transform 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.os-social-link:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* Form section improvements */
.os-form-section {
    margin-top: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.os-form-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #283848;
    text-align: center;
}

.os-form-container {
    display: flex;
    gap: 25px;
    background-color: #f9f9f9;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.os-logo-column {
    flex: 0 0 180px;
}

.os-form-column {
    flex: 1;
    min-width: 280px;
}

.os-form-group {
    margin-bottom: 15px;
}

.os-form-group input,
.os-form-group select,
.os-form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    transition: all 0.3s ease;
    background-color: #fff;
}

.os-form-group input:focus,
.os-form-group select:focus,
.os-form-group textarea:focus {
    border-color: #d9a442;
    outline: none;
    box-shadow: 0 0 0 3px rgba(217, 164, 66, 0.1);
}

.os-submit-btn {
    background-color: #283848;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.os-submit-btn:hover {
    background-color: #d9a442;
}

/* Responsive styles */
@media (max-width: 992px) {
    .os-contact-container {
        padding: 25px 20px;
    }

    .os-form-container {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .os-contact-row {
        flex-direction: row;
        align-items: center;
    }

    .os-contact-label {
        min-width: 90px;
        font-size: 15px;
    }

    .os-contact-value {
        font-size: 15px;
    }

    .os-form-container {
        flex-direction: column;
        padding: 15px;
    }

    .os-logo-column {
        margin-bottom: 20px;
        flex: 0 0 auto;
        display: flex;
        justify-content: center;
    }

    .os-company-logo {
        max-width: 150px;
    }
}

@media (max-width: 576px) {
    .os-contact-container {
        padding: 20px 15px;
    }

    .os-contact-title {
        font-size: 28px;
    }

    .os-contact-item {
        padding: 10px 12px;
    }

    .os-contact-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .os-contact-label {
        margin-bottom: 5px;
        font-size: 15px;
    }

    .os-contact-value {
        padding-left: 44px; /* Increased from 34px to align with the new icon spacing */
        font-size: 14px;
    }

    .os-social-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .os-social-links {
        align-self: center;
    }

    .os-map-container {
        height: 250px;
    }
}

@media (max-width: 400px) {
    .os-contact-title {
        font-size: 24px;
    }

    .os-contact-item {
        padding: 8px 10px;
    }

    .os-contact-label {
        font-size: 14px;
    }

    .os-contact-label i {
        font-size: 16px;
        margin-right: 15px; /* Increased from 8px to maintain spacing on small screens */
    }

    .os-contact-value {
        font-size: 13px;
        padding-left: 35px; /* Increased from 28px to align with the new icon spacing */
    }

    .os-map-container {
        height: 200px;
    }
}
