/* ========================================
   PK HOME PAGE DESIGN PATTERN ALIGNMENT
   Ensure PK home page matches UK design patterns
   ======================================== */

/* ========================================
   1. FBR COMPLIANCE SECTION - Match UK MTD Style
   ======================================== */

.fbr-compliance-section {
    padding: 6rem 50px !important;
    background: transparent !important;
    overflow: visible !important;
    background-image: url('/lines-bg-header.svg') !important;
    background-repeat: no-repeat !important;
    background-position: right top !important;
    background-size: auto !important;
}

.fbr-compliance-section .container-fluid {
    max-width: 100% !important;
    margin: 0 auto !important;
    padding-left: 50px !important;
    padding-right: 50px !important;
}

.fbr-compliance-section .row {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 4rem !important;
    align-items: center !important;
}

/* Ensure image stays on the side - desktop and tablet */
@media (min-width: 768px) {
    .fbr-image {
        order: 2 !important;
    }
    
    .fbr-content {
        order: 1 !important;
    }
}

/* Keep side-by-side layout on tablets and larger screens */
@media (max-width: 992px) and (min-width: 768px) {
    .fbr-compliance-section .row {
        grid-template-columns: 1fr 1fr !important;
        gap: 2.5rem !important;
    }
    
    .fbr-compliance-section {
        padding: 4rem 30px !important;
    }
    
    .fbr-compliance-section .container-fluid {
        padding-left: 30px !important;
        padding-right: 30px !important;
    }
    
    .fbr-heading {
        font-size: 2rem !important;
    }
    
    .fbr-image-wrapper {
        max-width: 100% !important;
    }
}

/* Only stack on mobile (below 768px) */
@media (max-width: 767px) {
    .fbr-compliance-section .row {
        grid-template-columns: 1fr !important;
        gap: 3rem !important;
    }
    
    .fbr-compliance-section {
        padding: 4rem 20px !important;
    }
    
    .fbr-compliance-section .container-fluid {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    
    .fbr-heading {
        font-size: clamp(1.75rem, 5vw, 2rem) !important;
    }
}

.fbr-content {
    display: flex !important;
    flex-direction: column !important;
    gap: 2rem !important;
}

.fbr-heading {
    font-family: 'Montserrat', 'Inter', sans-serif !important;
    font-size: 2.5rem !important;
    font-weight: 800 !important;
    color: #1e293b !important;
    margin-bottom: 1.5rem !important;
    line-height: 1.2 !important;
    text-align: center !important;
}

.fbr-heading .premium-underline {
    color: #1E5CAA !important;
}

.fbr-description {
    font-family: 'Inter', 'Montserrat', sans-serif !important;
    font-size: 1.125rem !important;
    color: #64748b !important;
    line-height: 1.7 !important;
    margin-bottom: 2rem !important;
    text-align: center !important;
}

.fbr-features {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.5rem !important;
}

.fbr-feature-item {
    display: flex !important;
    gap: 1rem !important;
    align-items: flex-start !important;
}

.fbr-feature-icon {
    width: 3rem !important;
    height: 3rem !important;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%) !important;
    border-radius: 0.75rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.fbr-feature-item:hover .fbr-feature-icon {
    transform: scale(1.05) !important;
    box-shadow: 0 10px 15px -3px rgba(30, 92, 170, 0.2) !important;
}

.fbr-feature-icon svg {
    width: 1.5rem !important;
    height: 1.5rem !important;
    color: #1E5CAA !important;
}

.fbr-feature-content {
    flex: 1 !important;
}

.fbr-feature-title {
    font-family: 'Montserrat', 'Inter', sans-serif !important;
    font-size: 1.125rem !important;
    font-weight: 600 !important;
    color: #111827 !important;
    margin-bottom: 0.5rem !important;
}

.fbr-feature-description {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.9375rem !important;
    color: #6b7280 !important;
    line-height: 1.6 !important;
    margin: 0 !important;
}

.fbr-cta-wrapper {
    margin-top: 1rem !important;
}

.fbr-cta-wrapper .btn-premium {
    padding: 0.75rem 1.5rem !important;
    font-size: 1rem !important;
}

.fbr-cta-wrapper .btn-premium svg {
    width: 1.125rem !important;
    height: 1.125rem !important;
}

.fbr-image {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.fbr-image-wrapper {
    width: 100% !important;
    max-width: 600px !important;
    border-radius: 1rem !important;
    overflow: hidden !important;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
}

.fbr-image-wrapper img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
}

/* ========================================
   2. BENEFITS SECTION - Match UK Style
   ======================================== */

.benefits-wrapper-modern {
    padding: 6rem 0 !important;
    background: transparent !important;
}

.benefits-wrapper-modern .container-fluid {
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding-left: clamp(1rem, 3vw, 3rem) !important;
    padding-right: clamp(1rem, 3vw, 3rem) !important;
}

.benefits-wrapper-modern .text-center {
    margin-bottom: 3rem !important;
}

.benefits-wrapper-modern h2 {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif !important;
    font-size: clamp(1.75rem, 4vw, 2.5rem) !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin-bottom: 1rem !important;
    line-height: 1.25 !important;
    letter-spacing: -0.03em !important;
    text-align: center !important;
}

.benefits-wrapper-modern .row {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 2rem !important;
}

@media (max-width: 1023px) {
    .benefits-wrapper-modern .row {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem !important;
    }
    .benefits-wrapper-modern {
        padding: 3rem 1rem !important;
    }
    .benefits-wrapper-modern .container-fluid {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}

@media (max-width: 767px) {
    .benefits-wrapper-modern .row {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    .benefit-card-modern {
        padding: 2rem 1.5rem !important;
    }
}

.benefit-card-modern {
    background: white !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 1.25rem !important;
    padding: 2.5rem 2rem !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    position: relative !important;
    overflow: hidden !important;
    height: 100% !important;
    z-index: 1 !important;
}

.benefit-card-modern::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 4px !important;
    background: linear-gradient(90deg, #93c5fd 0%, #60a5fa 100%) !important;
    transform: scaleX(0) !important;
    transform-origin: left !important;
    transition: transform 0.3s ease !important;
}

.benefit-card-modern:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
    border-color: #bfdbfe !important;
    z-index: 2 !important;
}

.benefit-card-modern:hover::before {
    transform: scaleX(1) !important;
}

.benefit-icon-wrapper {
    width: 4rem !important;
    height: 4rem !important;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%) !important;
    border-radius: 0.75rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 1.5rem !important;
    transition: all 0.3s ease !important;
}

.benefit-card-modern:hover .benefit-icon-wrapper {
    transform: scale(1.1) rotate(5deg) !important;
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.2) !important;
}

.benefit-icon-img {
    width: 3.5rem !important;
    height: 3.5rem !important;
    object-fit: contain !important;
}

/* Remove background box from benefit icon wrappers when using PNG images - Match UK */
.benefit-icon-wrapper:has(.benefit-icon-img) {
    background: transparent !important;
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
    box-shadow: none !important;
}

.benefit-card-modern:hover .benefit-icon-wrapper {
    transform: scale(1.1) rotate(5deg) !important;
    background: linear-gradient(135deg, #bfdbfe 0%, #93c5fd 100%) !important;
}

.benefit-icon {
    width: 2rem !important;
    height: 2rem !important;
    color: #1E5CAA !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.benefit-title {
    font-family: 'Montserrat', 'Inter', sans-serif !important;
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    color: #111827 !important;
    margin-bottom: 1rem !important;
    line-height: 1.3 !important;
}

.benefit-description {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.9375rem !important;
    color: #6b7280 !important;
    line-height: 1.7 !important;
    margin: 0 !important;
}

/* ========================================
   3. EMPOWERING BUSINESSES SECTION - Match UK Style
   ======================================== */

.empowering-businesses-section {
    padding: clamp(4rem, 8vh, 6rem) clamp(1rem, 4vw, 3rem) !important;
    background: transparent !important;
    position: relative !important;
    overflow: visible !important;
}

.empowering-businesses-section .container-fluid {
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding-left: clamp(1rem, 3vw, 3rem) !important;
    padding-right: clamp(1rem, 3vw, 3rem) !important;
}

/* ========================================
   4. TESTIMONIALS SECTION - Match UK Style
   ======================================== */

.testimonials-growth-section {
    padding: clamp(4rem, 8vh, 5rem) clamp(1rem, 4vw, 3rem) !important;
    background: transparent !important;
    position: relative !important;
    overflow: hidden !important;
}

.testimonials-growth-section .container-fluid {
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding-left: clamp(1rem, 3vw, 3rem) !important;
    padding-right: clamp(1rem, 3vw, 3rem) !important;
}

.testimonials-growth-section .container {
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 0 clamp(1rem, 3vw, 2rem) !important;
}

.testimonials-growth-section h2 {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif !important;
    font-size: clamp(1.75rem, 4vw, 2.5rem) !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin-bottom: 1rem !important;
    line-height: 1.2 !important;
}

.testimonials-growth-section > .container > .text-center > p {
    font-family: 'Inter', sans-serif !important;
    font-size: clamp(1rem, 1.8vw, 1.125rem) !important;
    color: #64748b !important;
    max-width: 800px !important;
    margin: 0 auto !important;
    line-height: 1.6 !important;
}

.testimonials-grid-modern {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 2rem !important;
    margin-top: 3rem !important;
}

.testimonial-card-growth {
    background: white !important;
    border-radius: 1rem !important;
    padding: 2rem !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
    transition: all 0.3s ease !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
}

.testimonial-card-growth img {
    width: 4rem !important;
    height: 4rem !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    margin: 0 auto 1.5rem !important;
    display: block !important;
}

.testimonial-card-growth p {
    font-size: clamp(0.875rem, 1.2vw, 0.95rem) !important;
    color: #374151 !important;
    line-height: 1.6 !important;
    margin-bottom: 1.5rem !important;
    flex-grow: 1 !important;
}

.testimonial-card-growth > div:last-child {
    text-align: center !important;
}

.testimonial-card-growth strong {
    display: block !important;
    color: #111827 !important;
    font-size: 1rem !important;
    margin-bottom: 0.25rem !important;
}

.testimonial-card-growth > div:last-child > p {
    font-size: 0.875rem !important;
    color: #6b7280 !important;
    margin: 0 !important;
}

@media (max-width: 991px) {
    .testimonials-grid-modern {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
}

/* ========================================
   5. CTA SECTION - Match UK Style
   ======================================== */

.cta-growth-section {
    padding: clamp(4rem, 8vh, 6rem) clamp(1rem, 4vw, 3rem) !important;
    background: #ffffff !important;
    position: relative !important;
    overflow: hidden !important;
}

.cta-growth-section .container-fluid {
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding-left: clamp(1rem, 3vw, 3rem) !important;
    padding-right: clamp(1rem, 3vw, 3rem) !important;
}

.cta-growth-section .container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 clamp(1rem, 3vw, 2rem) !important;
    position: relative !important;
    z-index: 1 !important;
}

.cta-growth-section h2 {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif !important;
    font-size: clamp(2rem, 5vw, 3.5rem) !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin-bottom: 1.5rem !important;
    line-height: 1.1 !important;
    letter-spacing: -0.02em !important;
}

.cta-growth-section > .container > .text-center > p {
    font-family: 'Inter', sans-serif !important;
    font-size: clamp(1rem, 2vw, 1.25rem) !important;
    color: #64748b !important;
    max-width: 700px !important;
    margin: 0 auto 3rem !important;
    line-height: 1.6 !important;
}

.cta-cards-grid {
    display: flex !important;
    justify-content: center !important;
    max-width: 500px !important;
    margin: 0 auto !important;
}

.cta-card-growth {
    background: white !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 1.5rem !important;
    padding: 3rem 2rem !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03) !important;
    width: 100% !important;
}

.cta-card-growth > div:first-child {
    width: 5rem !important;
    height: 5rem !important;
    background: #eff6ff !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 2rem !important;
    color: #1E5CAA !important;
}

.cta-card-growth > div:first-child svg {
    width: 2.5rem !important;
    height: 2.5rem !important;
}

.cta-card-growth h3 {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif !important;
    font-size: clamp(1.5rem, 2.5vw, 1.75rem) !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin-bottom: 1rem !important;
}

.cta-card-growth > p {
    font-family: 'Inter', sans-serif !important;
    font-size: clamp(0.9375rem, 1.5vw, 1.05rem) !important;
    color: #64748b !important;
    margin-bottom: 2.5rem !important;
    line-height: 1.6 !important;
}

.cta-card-growth .btn-premium {
    width: 100% !important;
}

.cta-card-growth .btn-premium svg {
    width: 1.5rem !important;
    height: 1.5rem !important;
}

/* ========================================
   6. FAQ SECTION - Match UK Style
   ======================================== */

.faq-growth-section {
    padding: clamp(4rem, 8vh, 6rem) clamp(1rem, 4vw, 3rem) !important;
    background-color: transparent !important;
    position: relative !important;
    overflow: visible !important;
}

.faq-growth-section .container-fluid {
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding-left: clamp(1rem, 3vw, 3rem) !important;
    padding-right: clamp(1rem, 3vw, 3rem) !important;
}

.faq-growth-section {
    background-image: url('/lines-bg-header.svg') !important;
    background-repeat: no-repeat !important;
    background-position: left bottom !important;
    background-size: auto !important;
}

.faq-growth-section .container {
    max-width: 1000px !important;
    margin: 0 auto !important;
    padding: 0 clamp(1rem, 3vw, 2rem) !important;
}

.faq-growth-section h2 {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif !important;
    font-size: clamp(1.75rem, 4vw, 2.5rem) !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin-bottom: 1rem !important;
    line-height: 1.2 !important;
}

.faq-growth-section > .container > .text-center > p {
    font-family: 'Inter', sans-serif !important;
    font-size: clamp(1rem, 1.8vw, 1.125rem) !important;
    color: #64748b !important;
    max-width: 700px !important;
    margin: 0 auto !important;
    line-height: 1.6 !important;
}

/* ========================================
   7. REMOVE INLINE STYLES - Use Classes Instead
   ======================================== */

/* Override inline styles with proper responsive classes */
.mp-pk-home section[style*="padding"],
.mp-pk-home section[style*="background"],
.mp-pk-home section[style*="overflow"] {
    padding: inherit !important;
    background: inherit !important;
    overflow: inherit !important;
}

/* ========================================
   8. RESPONSIVE IMPROVEMENTS
   ======================================== */

@media (max-width: 767px) {
    .fbr-compliance-section,
    .benefits-wrapper-modern,
    .empowering-businesses-section,
    .testimonials-growth-section,
    .cta-growth-section,
    .faq-growth-section {
        padding: 3rem 1rem !important;
    }
    
    .fbr-compliance-section .container-fluid,
    .benefits-wrapper-modern .container-fluid,
    .empowering-businesses-section .container-fluid,
    .testimonials-growth-section .container-fluid,
    .cta-growth-section .container-fluid,
    .faq-growth-section .container-fluid {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    
    .fbr-heading,
    .benefits-wrapper-modern h2 {
        font-size: clamp(1.5rem, 6vw, 2rem) !important;
        margin-bottom: 1rem !important;
    }
    
    .benefit-card-modern {
        padding: 1.5rem 1.25rem !important;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .fbr-compliance-section,
    .benefits-wrapper-modern,
    .empowering-businesses-section,
    .testimonials-growth-section,
    .cta-growth-section,
    .faq-growth-section {
        padding: 4rem 2rem !important;
    }
}

@media (min-width: 992px) {
    .fbr-compliance-section,
    .benefits-wrapper-modern,
    .empowering-businesses-section,
    .testimonials-growth-section,
    .cta-growth-section,
    .faq-growth-section {
        padding: 5rem 3rem !important;
    }
}

/* ========================================
   9. CONSISTENT HEADING STYLES
   ======================================== */

.mp-pk-home h2 {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif !important;
    font-size: clamp(1.75rem, 4vw, 2.5rem) !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    line-height: 1.25 !important;
    letter-spacing: -0.03em !important;
    text-align: center !important;
}

.mp-pk-home h3 {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif !important;
    font-size: clamp(1.25rem, 2vw, 1.5rem) !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    line-height: 1.3 !important;
    letter-spacing: -0.02em !important;
}

/* ========================================
   10. CONSISTENT TEXT STYLES
   ======================================== */

.mp-pk-home p {
    font-family: 'Inter', sans-serif !important;
    font-size: clamp(0.9375rem, 1.5vw, 1.0625rem) !important;
    color: #64748b !important;
    line-height: 1.7 !important;
}

/* ========================================
   11. BUTTON CONSISTENCY
   ======================================== */

.mp-pk-home .btn-premium {
    font-family: 'Inter', sans-serif !important;
    font-size: clamp(0.9375rem, 1.2vw, 1rem) !important;
    padding: clamp(0.75rem, 1.5vw, 1rem) clamp(1.5rem, 3vw, 2rem) !important;
    border-radius: 0.75rem !important;
    transition: all 0.3s ease !important;
}

/* ========================================
   12. CONTAINER CONSISTENCY
   ======================================== */

.mp-pk-home .container-fluid {
    max-width: 1400px !important;
    margin: 0 auto !important;
}

.mp-pk-home .container-fluid.container-md {
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding-left: clamp(1rem, 3vw, 3rem) !important;
    padding-right: clamp(1rem, 3vw, 3rem) !important;
}

