/* Tablet-specific fixes */
@media (min-width: 577px) and (max-width: 992px) {
    /* Fix for contact section layout on tablet */
    .contact-section {
        margin-left: 0 !important; 
        width: 100% !important;
        box-sizing: border-box;
        position: relative;
        z-index: 2;
    }

    .contact-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
        padding-right: 30px;
    }

    .contact-left {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 30px !important;
        width: 100% !important;
        max-width: 600px !important;
    }

    .logo-footer {
        margin: 0 !important;
        width: auto !important;
        max-width: 160px !important;
        flex-shrink: 0;
    }

    .contact-info {
        margin: 0 !important;
        padding: 0 !important;
        flex: 1 !important;
        min-width: 0;
    }

    .contact-info p {
        margin-bottom: 10px !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }

    /* Ensure the background pattern doesn't interfere with contact info */
    .pattern-bottom-left {
        z-index: 1 !important;
    }

    /* Adjust container on tablet */
    .container {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        padding: 0 30px !important;
        box-sizing: border-box !important;
    }

    /* Fix heading alignment */
    .contact-section h2 {
        padding-right: 30px !important;
    }
}
