/* Fix for Bootstrap sections - Resolves conflicts with Tailwind */
.py-5 h6.text-primary,
.py-5 h6.text-uppercase,
.py-5 h2.h2,
.py-5 p.lead {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

.text-primary {
    color: #3B82F6 !important;
}

.text-uppercase {
    text-transform: uppercase !important;
}

.fw-bold {
    font-weight: 700 !important;
}

.mb-3 {
    margin-bottom: 1rem !important;
}

.mb-4 {
    margin-bottom: 1.5rem !important;
}

.h2 {
    font-size: 2rem !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
}

.lead {
    font-size: 1.25rem !important;
    font-weight: 300 !important;
    line-height: 1.5 !important;
}

/* Process Steps Fix */
.process-steps .section-title {
    font-size: 2rem !important;
    font-weight: 700 !important;
    margin-bottom: 1rem !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.process-steps .text-muted {
    color: #6c757d !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Service Levels Fix */
.py-5 h6.text-primary.text-uppercase.fw-bold,
.py-5 h2.h2,
.py-5 p.lead {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Card Fix */
.card {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
    word-wrap: break-word !important;
    background-color: #fff !important;
    background-clip: border-box !important;
    border-radius: 0.25rem !important;
}

.card-body {
    flex: 1 1 auto !important;
    padding: 1rem 1rem !important;
}

.card-header {
    padding: 0.75rem 1.25rem !important;
    margin-bottom: 0 !important;
    background-color: rgba(0,0,0,.03) !important;
    border-bottom: 1px solid rgba(0,0,0,.125) !important;
}

.icon-circle {
    width: 3rem !important;
    height: 3rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: rgba(59, 130, 246, 0.1) !important;
    color: #3B82F6 !important;
    border-radius: 50% !important;
}

.btn {
    display: inline-block !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    color: #212529 !important;
    text-align: center !important;
    text-decoration: none !important;
    vertical-align: middle !important;
    cursor: pointer !important;
    border: 1px solid transparent !important;
    padding: 0.375rem 0.75rem !important;
    font-size: 1rem !important;
    border-radius: 0.25rem !important;
    transition: color 0.15s ease-in-out, 
                background-color 0.15s ease-in-out, 
                border-color 0.15s ease-in-out, 
                box-shadow 0.15s ease-in-out !important;
}

.btn-outline-primary {
    color: #3B82F6 !important;
    border-color: #3B82F6 !important;
}

.btn-outline-primary:hover {
    color: #fff !important;
    background-color: #3B82F6 !important;
    border-color: #3B82F6 !important;
}

.btn-primary {
    color: #fff !important;
    background-color: #3B82F6 !important;
    border-color: #3B82F6 !important;
}

.btn-primary:hover {
    background-color: #2563EB !important;
    border-color: #2563EB !important;
}

/* Bootstrap Grid Fixes */
.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.col-md-4, .col-md-6, .col-lg-4, .col-lg-8 {
    position: relative;
    width: 100%;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
}

.mx-auto {
    margin-right: auto !important;
    margin-left: auto !important;
}

.text-center {
    text-align: center !important;
}

.mt-4 {
    margin-top: 1.5rem !important;
}

.mb-5 {
    margin-bottom: 3rem !important;
}

.py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}

.bg-light {
    background-color: #f8f9fa !important;
}

.bg-white {
    background-color: #fff !important;
}

.h-100 {
    height: 100% !important;
}

.border-0 {
    border: 0 !important;
}

.shadow-sm {
    box-shadow: 0 .125rem .25rem rgba(0,0,0,.075) !important;
}

.d-flex {
    display: flex !important;
}

.align-items-center {
    align-items: center !important;
}

.me-3 {
    margin-right: 1rem !important;
}

.h5 {
    font-size: 1.25rem !important;
    margin-bottom: 0.5rem !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
}

.mb-0 {
    margin-bottom: 0 !important;
}

.p-4 {
    padding: 1.5rem !important;
}

/* Bootstrap Responsive Fixes */
@media (min-width: 768px) {
    .col-md-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
    
    .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (min-width: 992px) {
    .col-lg-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
    
    .col-lg-8 {
        flex: 0 0 66.666667%;
        max-width: 66.666667%;
    }
}

/* Additional element fixes */
.fst-italic {
    font-style: italic !important;
}

.list-unstyled {
    padding-left: 0 !important;
    list-style: none !important;
}

.badge {
    display: inline-block !important;
    padding: 0.35em 0.65em !important;
    font-size: 0.75em !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    text-align: center !important;
    white-space: nowrap !important;
    vertical-align: baseline !important;
    border-radius: 0.25rem !important;
}

.bg-warning {
    background-color: #ffc107 !important;
}

.text-dark {
    color: #212529 !important;
}

.rounded-circle {
    border-radius: 50% !important;
}

.small {
    font-size: 0.875em !important;
}

.text-muted {
    color: #6c757d !important;
} 