.qa-page {
    background-color: #ffffff;
    font-family: 'Outfit', 'Inter', sans-serif;
    padding: 0;
    overflow-x: hidden;
}

.qa-hero {
    position: relative;
    height: 955px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #ffffff;
    border-radius: 0 0 20px 20px;
    margin-bottom: 0;
}

.qa-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.qa-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.qa-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4));
    z-index: 2;
}

.qa-hero-content {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.qa-hero-title {
    font-size: 72px;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: 0px;
    font-family: 'Outfit';
    margin-bottom: 20px;
}

.qa-hero-description {
    font-size: 22px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
    margin-bottom: 50px;
}

.qa-hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.qa-btn {
    font-family: 'Outfit';
    font-size: 16px;
    font-weight: 400;
    line-height: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    padding: 16px 24px 16px 24px;
    justify-content: center;
    align-items: center;
    border-radius: 90px;
}

.qa-btn-primary {
    background: #1989FB;
    color: #FFF;
    border: none;
}

.qa-btn-primary:hover {
    background: #0d6efd;
    color: #FFF;
    transform: translateY(-2px);
}

.qa-btn-secondary {
    background: #FFF;
    color: #0D0100;
}

.qa-btn-secondary:hover {
    background: #f8f9fa;
    color: #0D0100;
    transform: translateY(-2px);
}

.qa-expertise-section .container {
    max-width: 1280px;
}

.qa-expertise-section{
    padding-top: 80px;
    padding-bottom: 128px;
}
.qa-expertise-section .section-title{
    font-size: 48px;
    font-weight: 500;
    line-height: 48px;
    font-family: 'Outfit';
    letter-spacing: 2px;
    color: #0D0100;
}

.qa-expertise-flex {
    display: flex;
    gap: 84px;
    margin-bottom: 3rem;
}

.qa-expertise-image-col {
    flex: 0 0 504px;
    width: 504px;
    height: 600px;
}

.qa-expertise-image {
    width: 100%;
    height: 100%;
    object-position: center;
    object-fit: cover;
    border-radius: 16px;
}

.qa-expertise-text-col {
    flex: 1;
}
.qa-expertise-text-col .expertise-content h3 {
font-size: 34px;
font-weight: 500;
line-height: 34px;
font-family: 'Outfit';
letter-spacing: 2px;
color: #0D0100;
}
.qa-expertise-text-col .expertise-content p{
    font-size: 24px !important;
    font-weight: 400;
    line-height: 37px;
    font-family: 'Outfit';
    color: #0D0100;
    max-width: 670px;
}

.hover-shadow:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.transition-all {
    transition: all 0.3s ease;
}

@media (max-width: 991px) {
    .qa-hero {
        height: 600px;
    }
    
    .qa-hero-title {
        font-size: clamp(40px, 8vw, 56px);
    }
    
    .qa-hero-description {
        font-size: 18px;
    }
    
    .qa-expertise-flex {
        flex-direction: column;
        gap: 40px;
    }
    
    .qa-expertise-image-col {
        flex: auto;
        width: 100%;
        max-width: 504px;
        height: auto;
    }
    
    .qa-expertise-image {
        height: auto;
    }
}

@media (max-width: 768px) {
    .qa-hero {
        height: 500px;
    }
    
    .qa-hero-title {
        font-size: 27px; 
        line-height: 32px; 
        margin-bottom: 20px;
    }
    
    .qa-hero-description {
        font-size: 16px; 
        line-height: 18px; 
        margin-bottom: 35px;
    }
    
    .qa-hero-buttons {
        gap: 15px;
    }
    
    .qa-btn {
        margin: 0; 
        font-size: 12px; 
        line-height: 16px;
        padding: 11px 14px;
        height: unset;
    }
    
    .qa-expertise-image-col {
        max-width: 100%;
    }
    
    .qa-expertise-image {
        max-height: 400px;
    }

    .hire-container .section-title,
    .qa-expertise-section .section-title,
    .smart-process-section .process-title,
    .how-works-title,
    .contractor-billing-section .section-title {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .qa-hero {
        height: 480px;
        border-radius: 0 0 16px 16px;
    }
    
    .qa-hero-title {
        font-size: 32px;
    }
    
    .qa-expertise-image {
        max-height: 300px;
    }
}

.hire-container .section-title {
    font-size: 48px;
    font-weight: 500;
    line-height: 62px;
    font-family: 'Outfit';
}
.cards-grid{
    margin-top: 75px;
}
.hire-card h3{
    width: 230px;
    height: 160px;
}
.process-card-content p {
    font-size: 16px;
}
.step-icon {
    width: 60px;
    height: 60px;
}

.step-icon img {
    width: 60px;
    height: 60px;
}

.smart-process-section .process-title {
    margin-bottom: 60px;
}

.qa-cta-card {
    min-height: 400px;
    padding: 0;
}

.qa-cta-pattern {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/shape.png');
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0.1;
}

.qa-cta-image {
    max-height: 450px;
}

.ready-strengthen-content {
    padding-right: 0;
}

.ready-strengthen-text {
    width: 80%;
}

/* Uniform Sections Wrapper - Only for screens 767px and above */
@media (min-width: 767px) {
    .uniform-sections-wrapper {
        margin: 0 auto;
        padding-left: 20px;
        padding-right: 20px;
        max-width: 1270px;
    }

    .uniform-sections-wrapper .qa-expertise-section,
    .uniform-sections-wrapper .why-choose-section,
    .uniform-sections-wrapper .smart-process-section,
    .uniform-sections-wrapper .how-works-section,
    .uniform-sections-wrapper .ready-strengthen-section,
    .uniform-sections-wrapper .container-custom,
    .uniform-sections-wrapper .hire-container,
    .uniform-sections-wrapper .process-container,
    .uniform-sections-wrapper .how-works-container {
        padding-left: 0;
        padding-right: 0;
        max-width: unset;
    }

    .how-step:first-child {
        padding-left: 0;
    }
    
    .how-step:last-child {
        padding-right: 0;
    }

    .how-works-grid {
        margin: 0;
    }

    .cards-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        justify-content: stretch;
        gap: 20px;
    }

    .process-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        justify-content: stretch;
        gap: 20px;
    }

    .hire-card {
        max-width: unset;
    }

    .hire-card h3 {
        max-width: 216px;
    }
}

/* ================= RESPONSIVE ADJUSTMENTS ================= */

@media (max-width: 768px) {
    .qa-expertise-section {
        padding-top: 40px;
        padding-bottom: 60px;
    }

    .qa-expertise-text-col .expertise-content h3 {
        font-size: 28px;
    }

    .qa-expertise-text-col .expertise-content p {
        font-size: 18px !important;
        line-height: 1.5;
    }

    .hire-container .section-title {
        font-size: 32px;
        line-height: 1.3;
    }

    .cards-grid {
        margin-top: 40px;
    }

    .smart-process-section .process-title {
        margin-bottom: 30px;
        font-size: 32px;
    }

    .qa-cta-card {
        min-height: auto;
        text-align: center;
    }

    .qa-cta-card h2.display-5 {
        font-size: 36px;
    }

    .qa-cta-image {
        max-height: 300px;
    }

    .hire-card h3 {
        font-size: clamp(18px, 4.2vw, 24px);
        line-height: 1.35;
    }
}

@media (max-width: 480px) {
    /* 375px and 480px unified for most mobile screens */
    .qa-expertise-text-col .expertise-content h3 {
        font-size: 24px;
    }

    .qa-expertise-text-col .expertise-content p {
        font-size: 16px !important;
    }

    .hire-container .section-title,
    .qa-expertise-section .section-title,
    .smart-process-section .process-title,
    .how-works-title,
    .contractor-billing-section .section-title {
        font-size: 26px;
        line-height: 34px;
    }

    .cards-grid {
        margin-top: 25px;
    }

    .hire-card h3 {
        width: 100%;
        height: auto;
    }
    
    .qa-cta-card h2.display-5 {
        font-size: 32px;
    }

    .qa-cta-image {
        max-height: 250px;
    }
}