@media (max-width: 768px) {
    /* --- Hero Section Fix --- */
    section.elementor-element-f2b4067 > div[style*="position: absolute"] {
        right: 20px !important;
        top: 20px !important;
        left: 20px !important;
        text-align: right !important;
        width: auto !important;
    }
    section.elementor-element-f2b4067 > div[style*="position: absolute"] h2 {
        font-size: 28px !important;
    }
    section.elementor-element-f2b4067 > div[style*="position: absolute"] p {
        font-size: 16px !important;
    }

    /* --- About Us Section Fix --- */
    .about-us-section p[style*="white-space: nowrap"] {
        white-space: normal !important;
    }

    /* --- Services Section Fix --- */
    .services-section div[style*="grid-template-columns: repeat(2, 1fr)"] {
        grid-template-columns: 1fr !important;
    }

    /* --- Footer Fix --- */
    footer div[style*="grid-template-columns: 1.2fr 2fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 2.5rem !important;
    }
    footer div[style*="justify-content: space-between"] {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    /* Further refine hero text for very small screens */
    section.elementor-element-f2b4067 > div[style*="position: absolute"] h2 {
        font-size: 22px !important;
    }
    section.elementor-element-f2b4067 > div[style*="position: absolute"] p {
        font-size: 14px !important;
    }

    /* Adjust section paddings */
    .about-us-section, .services-section, .expertise-section {
        padding: 3rem 1rem !important;
    }
}
