/* Clean CSS for Partner Section - No Conflicts */
.section-title {
    position: relative;
    padding-bottom: 15px;
    font-weight: 700;
    color: #424242;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #CC0000;
}

/* Catalog cards styling */
.catalog-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    padding: 25px;
    height: 100%;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid #e0e0e0;
    text-align: center;
}

.catalog-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
}

.catalog-card i {
    font-size: 2.5rem;
    color: #CC0000;
    margin-bottom: 15px;
}

.catalog-card h4 {
    font-weight: 600;
    margin-bottom: 15px;
    color: #424242;
}

.catalog-card p {
    flex-grow: 1;
    margin-bottom: 20px;
    color: #616161;
    line-height: 1.6;
}

/* Button styling */
.btn-outline-danger {
    color: #CC0000;
    border-color: #CC0000;
    padding: 10px 25px;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.btn-outline-danger:hover {
    background-color: #CC0000;
    border-color: #CC0000;
    color: white;
    transform: translateY(-2px);
}

.btn-danger {
    background-color: #CC0000;
    border-color: #CC0000;
    padding: 10px 25px;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.btn-danger:hover {
    background-color: #990000;
    border-color: #990000;
    transform: translateY(-2px);
}

/* Career highlights section */
.career-highlights {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
}

.benefit-item i {
    color: #28a745;
    margin-right: 0.75rem;
}

.benefit-item span {
    color: #424242;
}

/* Position cards in career modal */
.position-card {
    transition: all 0.3s ease;
}

.position-card:hover {
    background-color: #f8f9fa;
    transform: translateX(5px);
}

/* Modal header styling only */
.modal-header.bg-danger {
    background-color: #CC0000 !important;
    border-bottom: 1px solid #990000;
}

.modal-header.bg-danger .modal-title {
    font-weight: 600;
}

.text-danger {
    color: #CC0000 !important;
}

/* MINIMAL MODAL FIX - Only if needed */
/* Remove any custom modal positioning that conflicts with Bootstrap */
#distributorModal,
#supplierModal,
#careerModal {
    position: fixed !important;
    left: 0 !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
}

/* Ensure modal backdrop works */
.modal-backdrop {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    z-index: 1040 !important;
    width: 100vw !important;
    height: 100vh !important;
    background-color: #000 !important;
}

/* Fix for modal dialog centering */
.modal-dialog {
    margin: 1.75rem auto !important;
}
