/* ============================================
   UNIVERSAL TEXT WRAPPING RULES (All Breakpoints)
   ============================================ */
p, .text-muted, .c-555, .ttext, .card-body {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: manual;
    max-width: 100%;
}

/* Prevent horizontal overflow */
.container, .row, [class*="col-"] {
    max-width: 100%;
    overflow-x: hidden;
}

/* Image responsiveness */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

.hero-imgi,
.workflow-img img,
.avatar-sm,
.feature-image {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* More Features Card Layout - Responsive */
.bg-warning .d-flex {
    flex-direction: column;
    gap: 0.5rem;
}

@media (min-width: 576px) {
    .bg-warning .d-flex {
        flex-direction: row;
        justify-content: space-between;
        gap: 1rem;
    }
}

.bg-warning .fitem-body .d-flex > div {
    flex: 1 1 auto;
    min-width: 0;
}

/* Feature Cards Section - Responsive Organization */
.fitem-lg.h-100 {
    display: flex;
    flex-direction: column;
}

.fitem-lg.h-100 .fitem-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Ensure consistent card heights on larger screens */
@media (min-width: 768px) {
    .row > [class*="col-"] .fitem-lg.h-100 {
        display: flex;
        flex-direction: column;
    }
}

/* Better spacing for smaller breakpoints */
@media (max-width: 575.98px) {
    .row > [class*="col-"] .fitem-lg {
        margin-bottom: 1.5rem !important;
    }
}

/* ============================================
   BREAKPOINT-SPECIFIC MEDIA QUERIES
   ============================================ */

/* A. Extra Small Mobile (320px - 374px) */
@media (min-width: 320px) and (max-width: 374.98px) {
    /* Header adjustments */
    .fs-heading {
        font-size: 1.5rem !important;
        line-height: 1.3;
    }
    
    .fs-20 {
        font-size: 0.875rem !important;
    }
    
    /* Section headings */
    .display-5 {
        font-size: 1.25rem !important;
    }
    
    /* Width constraints */
    .w-90, .w-80, .w-md-80, .w-lg-50, .w-lg-60, .w-lg-70 {
        width: 100% !important;
    }
    
    /* Container padding */
    .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    
    /* Buttons */
    .btn {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
        display: block;
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    /* Spacing */
    .mb-4, .mb-5, .mb-md-5 {
        margin-bottom: 1rem !important;
    }
    
    .py-4, .py-5, .py-md-5 {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }
    
    .px-3, .px-4, .px-5, .px-md-5 {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }
    
    /* Text sizes */
    p, .text-muted, .c-555 {
        font-size: 0.8rem;
        line-height: 1.5;
    }
    
    h1, h2, h3, h4 {
        font-size: 1.1rem;
        line-height: 1.3;
    }
    
    /* Workflow section */
    .workflow-img img {
        max-width: 60px !important;
        max-height: 60px !important;
    }
    
    /* Feature cards */
    .fitem-lg {
        min-height: auto !important;
        height: auto !important;
        padding: 1rem !important;
        padding-bottom: 1rem !important;
        margin-bottom: 1rem !important;
    }

    .row > [class*="col-"] .fitem-lg {
        margin-bottom: 1rem !important;
    }

    .fitem-body {
        min-height: auto !important;
        height: auto !important;
    }
    
    .fitem-body h4 {
        font-size: 1rem;
    }
    
    .fitem-body p {
        font-size: 0.8rem;
        overflow: visible !important;
        text-overflow: unset !important;
        white-space: normal !important;
        line-height: 1.5 !important;
        margin-bottom: 0 !important;
    }

    .bg-navy .fitem-body,
    .bg-navy .fitem-body p {
        min-height: auto !important;
        height: auto !important;
        padding-bottom: 0.75rem !important;
        overflow: visible !important;
    }
    
    /* Hero images */
    .hero-imgi {
        max-width: 100% !important;
        max-height: 200px !important;
    }
    
    /* Testimonial avatars */
    .avatar-sm {
        width: 60px !important;
        height: 60px !important;
    }
    
    /* Feature section images */
    .feature-image {
        max-width: 100% !important;
        height: auto !important;
        width: auto !important;
    }
    
    /* Testimonial */
    .testimonial-box {
        padding: 0.75rem !important;
    }
    
    .ttext {
        font-size: 0.8rem;
        line-height: 1.4;
    }
    
    /* FAQ */
    .card-header .card-title {
        font-size: 0.85rem;
    }
    
    .card-body {
        font-size: 0.8rem;
        padding: 0.75rem !important;
    }
}

/* B. Standard Mobile (375px - 424px) */
@media (min-width: 375px) and (max-width: 424.98px) {
    /* Header adjustments */
    .fs-heading {
        font-size: 1.75rem !important;
        line-height: 1.35;
    }
    
    .fs-20 {
        font-size: 0.95rem !important;
    }
    
    /* Section headings */
    .display-5 {
        font-size: 1.5rem !important;
    }
    
    /* Width constraints */
    .w-90 {
        width: 100% !important;
    }
    
    .w-80, .w-md-80 {
        width: 95% !important;
    }
    
    .w-lg-50, .w-lg-60, .w-lg-70 {
        width: 100% !important;
    }
    
    /* Container padding */
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    /* Buttons */
    .btn {
        font-size: 0.875rem;
        padding: 0.5rem 1rem;
    }
    
    .nav .btn {
        display: inline-block;
        width: auto;
        margin-right: 0.5rem;
    }
    
    /* Spacing */
    .mb-4, .mb-5 {
        margin-bottom: 1.5rem !important;
    }
    
    .py-4, .py-5 {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }
    
    .px-3, .px-4 {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    
    .px-5, .px-md-5 {
        padding-left: 1.25rem !important;
        padding-right: 1.25rem !important;
    }
    
    /* Text sizes */
    p, .text-muted, .c-555 {
        font-size: 0.875rem;
        line-height: 1.6;
    }
    
    h1, h2 {
        font-size: 1.5rem;
    }
    
    h3, h4 {
        font-size: 1.25rem;
    }
    
    /* Workflow section */
    .workflow-img img {
        max-width: 70px !important;
        max-height: 70px !important;
    }
    
    /* Feature cards */
    .fitem-lg {
        min-height: auto !important;
        height: auto !important;
        padding: 1.25rem !important;
        padding-bottom: 1.25rem !important;
        margin-bottom: 1.25rem !important;
    }

    .row > [class*="col-"] .fitem-lg {
        margin-bottom: 1.25rem !important;
    }

    .fitem-body {
        min-height: auto !important;
        height: auto !important;
    }
    
    .fitem-body h4 {
        font-size: 1.1rem;
    }
    
    .fitem-body p {
        font-size: 0.875rem;
        overflow: visible !important;
        text-overflow: unset !important;
        white-space: normal !important;
        line-height: 1.55 !important;
        margin-bottom: 0 !important;
    }

    .bg-navy .fitem-body,
    .bg-navy .fitem-body p {
        min-height: auto !important;
        height: auto !important;
        padding-bottom: 0.75rem !important;
        overflow: visible !important;
    }
    
    /* Hero images */
    .hero-imgi {
        max-width: 100% !important;
        max-height: 220px !important;
    }
    
    /* Testimonial avatars */
    .avatar-sm {
        width: 70px !important;
        height: 70px !important;
    }
    
    /* Feature section images */
    .feature-image {
        max-width: 100% !important;
        height: auto !important;
        width: auto !important;
    }
    
    /* Testimonial */
    .testimonial-box {
        padding: 1rem !important;
    }
    
    .ttext {
        font-size: 0.875rem;
        line-height: 1.5;
    }
    
    /* FAQ */
    .card-header .card-title {
        font-size: 0.9rem;
    }
    
    .card-body {
        font-size: 0.875rem;
        padding: 1rem !important;
    }
}

/* C. Large Mobile (425px - 767px) */
@media (min-width: 425px) and (max-width: 767.98px) {
    /* Header adjustments */
    .fs-heading {
        font-size: 2rem !important;
    }
    
    .fs-20 {
        font-size: 1rem !important;
    }
    
    /* Section headings */
    .display-5 {
        font-size: 1.75rem !important;
    }
    
    /* Width constraints */
    .w-90 {
        width: 100% !important;
    }
    
    .w-80, .w-md-80 {
        width: 90% !important;
    }
    
    .w-lg-50, .w-lg-60 {
        width: 85% !important;
    }
    
    .w-lg-70 {
        width: 90% !important;
    }
    
    /* Container */
    .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    
    /* Buttons */
    .btn {
        font-size: 0.9rem;
        padding: 0.55rem 1.1rem;
    }
    
    /* Text sizes */
    p, .text-muted, .c-555 {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    h1, h2 {
        font-size: 1.75rem;
    }
    
    h3, h4 {
        font-size: 1.35rem;
    }
    
    /* Workflow section */
    .workflow-img img {
        max-width: 90px !important;
        max-height: 90px !important;
    }
    
    /* Feature cards */
    .fitem-lg {
        min-height: auto !important;
        height: auto !important;
        padding: 1.5rem !important;
        padding-bottom: 1.5rem !important;
        margin-bottom: 1.5rem !important;
    }

    .row > [class*="col-"] .fitem-lg {
        margin-bottom: 1.5rem !important;
    }

    .fitem-body {
        min-height: auto !important;
        height: auto !important;
    }
    
    .fitem-body h4 {
        font-size: 1.15rem;
    }
    
    .fitem-body p {
        font-size: 0.9rem;
        overflow: visible !important;
        text-overflow: unset !important;
        white-space: normal !important;
        line-height: 1.6 !important;
        margin-bottom: 0 !important;
    }

    .bg-navy .fitem-body,
    .bg-navy .fitem-body p {
        min-height: auto !important;
        height: auto !important;
        padding-bottom: 0.75rem !important;
        overflow: visible !important;
    }
    
    /* Hero images */
    .hero-imgi {
        max-width: 100% !important;
        max-height: 280px !important;
    }
    
    /* Testimonial avatars */
    .avatar-sm {
        width: 80px !important;
        height: 80px !important;
    }
    
    /* Feature section images */
    .feature-image {
        max-width: 100% !important;
        height: auto !important;
        width: auto !important;
    }
    
    /* Testimonial */
    .ttext {
        font-size: 0.9rem;
        line-height: 1.55;
    }
    
    /* FAQ */
    .card-header .card-title {
        font-size: 0.95rem;
    }
    
    .card-body {
        font-size: 0.9rem;
    }
}

/* D. Tablet (768px - 991px) */
@media (min-width: 768px) and (max-width: 991.98px) {
    /* Header adjustments */
    .fs-heading {
        font-size: 2.25rem !important;
    }
    
    .fs-20 {
        font-size: 1.05rem !important;
    }
    
    /* Section headings */
    .display-5 {
        font-size: 2rem !important;
    }
    
    /* Width constraints */
    .w-90 {
        width: 95% !important;
    }
    
    .w-80 {
        width: 85% !important;
    }
    
    .w-md-80 {
        width: 80% !important;
    }
    
    .w-lg-50 {
        width: 75% !important;
    }
    
    .w-lg-60 {
        width: 85% !important;
    }
    
    .w-lg-70 {
        width: 90% !important;
    }
    
    /* Container */
    .container {
        max-width: 720px;
    }

    /* Feature Cards - Optimized for Tablet (768px) */
    .row > [class*="col-"] .fitem-lg {
        margin-bottom: 1.5rem !important;
    }

    /* Ensure proper spacing between card rows at tablet */
    .row > .col-md-6:first-child,
    .row > .col-md-6:nth-child(2) {
        margin-bottom: 1.5rem !important;
    }

    .row > .col-md-6:nth-child(3),
    .row > .col-md-6:nth-child(4) {
        margin-bottom: 1.5rem !important;
    }

    .row > .col-md-12:last-child {
        margin-bottom: 0 !important;
    }
    
    /* Text sizes */
    p, .text-muted, .c-555 {
        font-size: 0.95rem;
        line-height: 1.65;
    }
    
    /* Feature cards */
    .fitem-lg {
        min-height: auto !important;
        height: auto !important;
        padding-bottom: 2rem !important;
        margin-bottom: 2rem !important;
    }

    .row > [class*="col-"] .fitem-lg {
        margin-bottom: 2rem !important;
    }

    .fitem-body {
        min-height: auto !important;
        height: auto !important;
    }

    /* Feature section text */
    .fitem-body p {
        font-size: 0.95rem;
        line-height: 1.7 !important;
        overflow: visible !important;
        text-overflow: unset !important;
        white-space: normal !important;
        margin-bottom: 0 !important;
    }

    .bg-navy .fitem-body,
    .bg-navy .fitem-body p {
        min-height: auto !important;
        height: auto !important;
        padding-bottom: 0.75rem !important;
        overflow: visible !important;
    }
    
    /* Workflow section text */
    .workflow-img + h4 {
        font-size: 1.3rem;
    }
    
    .workflow-img + h4 + p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .workflow-img img {
        max-width: 100px !important;
        max-height: 100px !important;
    }
    
    /* Features detail section */
    .section-headings h1 {
        font-size: 2rem !important;
    }
    
    .c-555 {
        font-size: 0.95rem;
        line-height: 1.7;
    }
    
    /* Testimonial text */
    .ttext {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .avatar-sm {
        width: 90px !important;
        height: 90px !important;
    }
    
    /* FAQ text */
    .card-body.text-muted {
        font-size: 0.95rem;
        line-height: 1.7;
    }
    
    /* Button text */
    .btn {
        font-size: 0.95rem;
        padding: 0.6rem 1.2rem;
    }

    /* Hero images */
    .hero-imgi {
        max-width: 90% !important;
        max-height: 350px !important;
    }
    
    /* Feature section images */
    .feature-image {
        max-width: 100% !important;
        max-height: 400px !important;
        height: auto !important;
        width: auto !important;
    }
}

/* E. Medium Desktop/Tablet Landscape (992px - 1199px / 1024px) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    /* Header text adjustments */
    .fs-heading {
        font-size: 2.5rem !important;
    }
    
    .fs-20 {
        font-size: 1.1rem !important;
    }
    
    /* Section heading adjustments */
    .display-5 {
        font-size: 2.25rem !important;
    }
    
    /* Width constraints for text containers */
    .w-90 {
        width: 95% !important;
    }
    
    .w-80 {
        width: 90% !important;
    }
    
    .w-md-80 {
        width: 85% !important;
    }
    
    .w-lg-50 {
        width: 70% !important;
    }
    
    .w-lg-60 {
        width: 80% !important;
    }
    
    .w-lg-70 {
        width: 85% !important;
    }
    
    /* Container max-width adjustments */
    .container {
        max-width: 960px;
    }
    
    /* Feature cards */
    .fitem-lg {
        min-height: auto !important;
        height: auto !important;
        padding-bottom: 1.5rem !important;
        margin-bottom: 1.5rem !important;
    }

    .row > [class*="col-"] .fitem-lg {
        margin-bottom: 1.5rem !important;
    }

    .fitem-body {
        min-height: auto !important;
        height: auto !important;
    }

    /* Feature section text */
    .fitem-body p {
        font-size: 0.95rem;
        line-height: 1.65 !important;
        overflow: visible !important;
        text-overflow: unset !important;
        white-space: normal !important;
        margin-bottom: 0 !important;
    }

    .bg-navy .fitem-body,
    .bg-navy .fitem-body p {
        min-height: auto !important;
        height: auto !important;
        padding-bottom: 0.75rem !important;
        overflow: visible !important;
    }
    
    /* Workflow section text */
    .workflow-img + h4 {
        font-size: 1.25rem;
    }
    
    .workflow-img + h4 + p {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .workflow-img img {
        max-width: 120px !important;
        max-height: 120px !important;
    }
    
    /* Features detail section */
    .section-headings h1 {
        font-size: 2rem !important;
    }
    
    .c-555 {
        font-size: 0.95rem;
        line-height: 1.7;
    }
    
    /* Testimonial text */
    .ttext {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .avatar-sm {
        width: 100px !important;
        height: 100px !important;
    }
    
    /* FAQ text */
    .card-body.text-muted {
        font-size: 0.9rem;
        line-height: 1.7;
    }
    
    /* Blog section text */
    .link-grey {
        font-size: 0.95rem;
    }
    
    /* Button text */
    .btn {
        font-size: 0.95rem;
        padding: 0.6rem 1.2rem;
    }

    /* Hero images */
    .hero-imgi {
        max-width: 85% !important;
        max-height: 450px !important;
    }
    
    /* Feature section images */
    .feature-image {
        max-width: 100% !important;
        max-height: 500px !important;
        height: auto !important;
        width: auto !important;
    }
    
    /* Ensure text doesn't overflow */
    p, .text-muted, .c-555 {
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: manual;
    }
}

/* F. Large Desktop (1200px - 1399px / 1140px) */
@media (min-width: 1200px) and (max-width: 1399.98px) {
    /* Header text adjustments */
    .fs-heading {
        font-size: 2.75rem !important;
    }
    
    .fs-20 {
        font-size: 1.15rem !important;
    }
    
    /* Section heading adjustments */
    .display-5 {
        font-size: 2.5rem !important;
    }
    
    /* Width constraints for text containers */
    .w-90 {
        width: 90% !important;
    }
    
    .w-80 {
        width: 85% !important;
    }
    
    .w-md-80 {
        width: 80% !important;
    }
    
    .w-lg-50 {
        width: 65% !important;
    }
    
    .w-lg-60 {
        width: 75% !important;
    }
    
    .w-lg-70 {
        width: 80% !important;
    }
    
    /* Container max-width adjustments */
    .container {
        max-width: 1140px;
    }
    
    /* Feature cards */
    .fitem-lg {
        min-height: auto !important;
        height: auto !important;
        padding-bottom: 1.5rem !important;
        margin-bottom: 1.5rem !important;
    }

    .row > [class*="col-"] .fitem-lg {
        margin-bottom: 1.5rem !important;
    }

    .fitem-body {
        min-height: auto !important;
        height: auto !important;
    }

    /* Feature section text */
    .fitem-body p {
        font-size: 1rem;
        line-height: 1.65 !important;
        overflow: visible !important;
        text-overflow: unset !important;
        white-space: normal !important;
        margin-bottom: 0 !important;
    }

    .bg-navy .fitem-body,
    .bg-navy .fitem-body p {
        min-height: auto !important;
        height: auto !important;
        padding-bottom: 0.75rem !important;
        overflow: visible !important;
    }
    
    /* Workflow section text */
    .workflow-img + h4 {
        font-size: 1.35rem;
    }
    
    .workflow-img + h4 + p {
        font-size: 0.95rem;
        line-height: 1.65;
    }

    .workflow-img img {
        max-width: 140px !important;
        max-height: 140px !important;
    }
    
    /* Features detail section */
    .section-headings h1 {
        font-size: 2.25rem !important;
    }
    
    .c-555 {
        font-size: 1rem;
        line-height: 1.75;
    }
    
    /* Testimonial text */
    .ttext {
        font-size: 0.95rem;
        line-height: 1.65;
    }

    .avatar-sm {
        width: 110px !important;
        height: 110px !important;
    }
    
    /* FAQ text */
    .card-body.text-muted {
        font-size: 0.95rem;
        line-height: 1.75;
    }
    
    /* Blog section text */
    .link-grey {
        font-size: 1rem;
    }
    
    /* Button text */
    .btn {
        font-size: 1rem;
        padding: 0.65rem 1.3rem;
    }

    /* Hero images */
    .hero-imgi {
        max-width: 80% !important;
        max-height: 500px !important;
    }
    
    /* Feature section images */
    .feature-image {
        max-width: 100% !important;
        max-height: 550px !important;
        height: auto !important;
        width: auto !important;
    }
    
    /* Text sizing */
    p, .text-muted {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    /* Ensure text doesn't overflow */
    p, .text-muted, .c-555 {
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: manual;
    }
}

/* G. Ultra-Wide/4K Displays (1400px - 2559px) */
@media (min-width: 1400px) and (max-width: 2559.98px) {
    /* Container max-width to prevent content from being too wide */
    .container {
        max-width: 1320px;
    }
    
    /* Header text adjustments */
    .fs-heading {
        font-size: 3rem !important;
    }
    
    .fs-20 {
        font-size: 1.2rem !important;
    }
    
    /* Section heading adjustments */
    .display-5 {
        font-size: 2.75rem !important;
    }
    
    /* Width constraints for text containers - maintain readability */
    .w-90 {
        width: 85% !important;
    }
    
    .w-80 {
        width: 80% !important;
    }
    
    .w-md-80 {
        width: 75% !important;
    }
    
    .w-lg-50 {
        width: 60% !important;
    }
    
    .w-lg-60 {
        width: 70% !important;
    }
    
    .w-lg-70 {
        width: 75% !important;
    }
    
    /* Feature cards */
    .fitem-lg {
        min-height: auto !important;
        height: auto !important;
        padding-bottom: 1.5rem !important;
        margin-bottom: 1.5rem !important;
    }

    .row > [class*="col-"] .fitem-lg {
        margin-bottom: 1.5rem !important;
    }

    .fitem-body {
        min-height: auto !important;
        height: auto !important;
    }

    /* Feature section text */
    .fitem-body p {
        font-size: 1.05rem;
        line-height: 1.65 !important;
        overflow: visible !important;
        text-overflow: unset !important;
        white-space: normal !important;
        margin-bottom: 0 !important;
    }

    .bg-navy .fitem-body,
    .bg-navy .fitem-body p {
        min-height: auto !important;
        height: auto !important;
        padding-bottom: 0.75rem !important;
        overflow: visible !important;
    }
    
    /* Workflow section text */
    .workflow-img + h4 {
        font-size: 1.4rem;
    }
    
    .workflow-img + h4 + p {
        font-size: 1rem;
        line-height: 1.7;
    }

    .workflow-img img {
        max-width: 160px !important;
        max-height: 160px !important;
    }
    
    /* Features detail section */
    .section-headings h1 {
        font-size: 2.5rem !important;
    }
    
    .c-555 {
        font-size: 1.05rem;
        line-height: 1.8;
    }
    
    /* Testimonial text */
    .ttext {
        font-size: 1rem;
        line-height: 1.7;
    }

    .avatar-sm {
        width: 120px !important;
        height: 120px !important;
    }
    
    /* FAQ text */
    .card-body.text-muted {
        font-size: 1rem;
        line-height: 1.8;
    }
    
    /* Blog section text */
    .link-grey {
        font-size: 1.05rem;
    }
    
    /* Button text */
    .btn {
        font-size: 1.05rem;
        padding: 0.7rem 1.4rem;
    }

    /* Hero images */
    .hero-imgi {
        max-width: 75% !important;
        max-height: 600px !important;
    }
    
    /* Feature section images */
    .feature-image {
        max-width: 100% !important;
        max-height: 600px !important;
        height: auto !important;
        width: auto !important;
    }
    
    /* Text sizing */
    p, .text-muted {
        font-size: 1.05rem;
        line-height: 1.75;
    }
    
    /* Ensure text doesn't overflow */
    p, .text-muted, .c-555 {
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: manual;
    }
}

/* H. 4K/Ultra-Wide Displays (2560px and above) */
@media (min-width: 2560px) {
    /* Container max-width to prevent content from stretching too wide */
    .container {
        max-width: 1600px;
        margin: 0 auto;
    }
    
    /* Header text adjustments - don't scale too large */
    .fs-heading {
        font-size: 3.5rem !important;
        max-width: 1200px;
    }
    
    .fs-20 {
        font-size: 1.3rem !important;
    }
    
    /* Section heading adjustments */
    .display-5 {
        font-size: 3rem !important;
    }
    
    /* Width constraints for text containers - maintain optimal reading width */
    .w-90 {
        width: 80% !important;
        max-width: 1200px;
    }
    
    .w-80 {
        width: 75% !important;
        max-width: 1100px;
    }
    
    .w-md-80 {
        width: 70% !important;
        max-width: 1000px;
    }
    
    .w-lg-50 {
        width: 55% !important;
        max-width: 800px;
    }
    
    .w-lg-60 {
        width: 65% !important;
        max-width: 900px;
    }
    
    .w-lg-70 {
        width: 70% !important;
        max-width: 950px;
    }
    
    /* Feature cards */
    .fitem-lg {
        min-height: auto !important;
        height: auto !important;
        padding-bottom: 1.5rem !important;
        margin-bottom: 1.5rem !important;
    }

    .row > [class*="col-"] .fitem-lg {
        margin-bottom: 1.5rem !important;
    }

    .fitem-body {
        min-height: auto !important;
        height: auto !important;
    }

    /* Feature section text */
    .fitem-body p {
        font-size: 1.1rem;
        line-height: 1.65 !important;
        max-width: 600px;
        overflow: visible !important;
        text-overflow: unset !important;
        white-space: normal !important;
        margin-bottom: 0 !important;
    }

    .bg-navy .fitem-body,
    .bg-navy .fitem-body p {
        min-height: auto !important;
        height: auto !important;
        padding-bottom: 0.75rem !important;
        overflow: visible !important;
    }
    
    /* Workflow section text */
    .workflow-img + h4 {
        font-size: 1.5rem;
    }
    
    .workflow-img + h4 + p {
        font-size: 1.05rem;
        line-height: 1.75;
    }

    .workflow-img img {
        max-width: 180px !important;
        max-height: 180px !important;
    }
    
    /* Features detail section */
    .section-headings h1 {
        font-size: 2.75rem !important;
    }
    
    .c-555 {
        font-size: 1.1rem;
        line-height: 1.85;
        max-width: 800px;
    }
    
    /* Testimonial text */
    .ttext {
        font-size: 1.05rem;
        line-height: 1.75;
        max-width: 700px;
    }

    .avatar-sm {
        width: 130px !important;
        height: 130px !important;
    }
    
    /* FAQ text */
    .card-body.text-muted {
        font-size: 1.05rem;
        line-height: 1.85;
        max-width: 900px;
    }
    
    /* Blog section text */
    .link-grey {
        font-size: 1.1rem;
    }
    
    /* Button text */
    .btn {
        font-size: 1.1rem;
        padding: 0.75rem 1.5rem;
    }

    /* Hero images */
    .hero-imgi {
        max-width: 70% !important;
        max-height: 700px !important;
    }
    
    /* Feature section images */
    .feature-image {
        max-width: 100% !important;
        max-height: 700px !important;
        height: auto !important;
        width: auto !important;
    }
    
    /* Text sizing */
    p, .text-muted {
        font-size: 1.1rem;
        line-height: 1.8;
    }
    
    /* Ensure text doesn't overflow and maintain readability */
    p, .text-muted, .c-555 {
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: manual;
    }
    
    /* Center content on ultra-wide screens */
    .row {
        justify-content: center;
    }
    
    /* Limit column widths for better readability */
    [class*="col-"] {
        max-width: 100%;
    }
    
    .col-lg-6 {
        max-width: 600px;
    }
    
    .col-md-4 {
        max-width: 400px;
    }
}

