/* Partner Section Custom Background Styling */

/* ==================== Partner Section Background ==================== */
.partner-section-bg {
    background: linear-gradient(135deg, var(--primary-color, #8b6179) 0%, var(--secondary-color, #ffbd59) 100%) !important;
    color: var(--bg-white, #ffffff) !important;
    position: relative !important;
    overflow: hidden !important;
    padding: 80px 0 !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15) !important;
    margin: 40px 0 !important;
}

.partner-section-bg::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" fill="white" opacity="0.05"><circle cx="20" cy="20" r="2"/><circle cx="80" cy="20" r="2"/><circle cx="20" cy="80" r="2"/><circle cx="80" cy="80" r="2"/><circle cx="50" cy="50" r="1"/></svg>') !important;
    background-size: 80px 80px !important;
    z-index: 1 !important;
    pointer-events: none !important;
}

.partner-section-bg::after {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%) !important;
    z-index: 2 !important;
    pointer-events: none !important;
}

.partner-section-bg .container {
    position: relative !important;
    z-index: 3 !important;
}

/* ==================== Partner Section Typography ==================== */
.partner-section-bg .main-title {
    color: var(--bg-white, #ffffff) !important;
    font-family: 'Dancing Script', cursive !important;
    font-size: 3rem !important;
    font-weight: 700 !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3) !important;
    margin-bottom: 1.5rem !important;
    position: relative !important;
}

.partner-section-bg .main-title::after {
    content: '' !important;
    position: absolute !important;
    bottom: -10px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 80px !important;
    height: 3px !important;
    background: var(--bg-white, #ffffff) !important;
    border-radius: 2px !important;
    opacity: 0.8 !important;
}

.partner-section-bg .sub-title {
    color: rgba(255, 255, 255, 0.95) !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 1.2rem !important;
    font-weight: 400 !important;
    line-height: 1.6 !important;
    margin-bottom: 3rem !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2) !important;
    display: block !important;
}

/* ==================== Partner Cards ==================== */
.partner-section-bg .simple-service {
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border-radius: 12px !important;
    padding: 20px !important;
    text-align: center !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    position: relative !important;
    overflow: hidden !important;
    min-height: 120px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.partner-section-bg .simple-service::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%) !important;
    opacity: 0 !important;
    transition: all 0.3s ease !important;
    z-index: 1 !important;
}

.partner-section-bg .simple-service:hover::before {
    opacity: 1 !important;
}

.partner-section-bg .simple-service:hover {
    background: rgba(255, 255, 255, 0.25) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
    transform: translateY(-8px) !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2) !important;
}

.partner-section-bg .simple-service img {
    max-width: 100% !important;
    max-height: 80px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    filter: brightness(1.2) contrast(1.1) !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    z-index: 2 !important;
}

.partner-section-bg .simple-service:hover img {
    filter: brightness(1.4) contrast(1.2) !important;
    transform: scale(1.05) !important;
}

/* ==================== Alternative Background Styles ==================== */
/* If you want a different background color, uncomment one of these: */

/* Option 1: Solid Primary Color */
/*
.partner-section-bg {
    background: var(--primary-color, #8b6179) !important;
}
*/

/* Option 2: Solid Secondary Color */
/*
.partner-section-bg {
    background: var(--secondary-color, #ffbd59) !important;
}
*/

/* Option 3: Dark Background */
/*
.partner-section-bg {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%) !important;
}
*/

/* Option 4: Light Gradient */
/*
.partner-section-bg {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
    color: var(--text-dark, #000000) !important;
}

.partner-section-bg .main-title {
    color: var(--primary-color, #8b6179) !important;
}

.partner-section-bg .sub-title {
    color: var(--text-dark, #000000) !important;
}

.partner-section-bg .simple-service {
    background: rgba(139, 97, 121, 0.1) !important;
    border-color: rgba(139, 97, 121, 0.2) !important;
}

.partner-section-bg .simple-service img {
    filter: brightness(1.2) contrast(1.1) !important;
}
*/

/* ==================== Responsive Design ==================== */
@media (max-width: 1199px) {
    .partner-section-bg {
        padding: 60px 0 !important;
    }
    
    .partner-section-bg .main-title {
        font-size: 2.5rem !important;
    }
    
    .partner-section-bg .sub-title {
        font-size: 1.1rem !important;
    }
    
    .partner-section-bg .simple-service {
        min-height: 100px !important;
    }
    
    .partner-section-bg .simple-service img {
        max-height: 70px !important;
    }
}

@media (max-width: 991px) {
    .partner-section-bg {
        padding: 50px 0 !important;
    }
    
    .partner-section-bg .main-title {
        font-size: 2.2rem !important;
    }
    
    .partner-section-bg .sub-title {
        font-size: 1rem !important;
        margin-bottom: 2rem !important;
    }
    
    .partner-section-bg .simple-service {
        min-height: 90px !important;
        padding: 15px !important;
    }
    
    .partner-section-bg .simple-service img {
        max-height: 60px !important;
    }
}

@media (max-width: 767px) {
    .partner-section-bg {
        padding: 40px 0 !important;
    }
    
    .partner-section-bg .main-title {
        font-size: 1.8rem !important;
    }
    
    .partner-section-bg .sub-title {
        font-size: 0.9rem !important;
    }
    
    .partner-section-bg .simple-service {
        min-height: 80px !important;
        padding: 12px !important;
    }
    
    .partner-section-bg .simple-service img {
        max-height: 50px !important;
    }
}

@media (max-width: 480px) {
    .partner-section-bg {
        padding: 30px 0 !important;
    }
    
    .partner-section-bg .main-title {
        font-size: 1.6rem !important;
    }
    
    .partner-section-bg .sub-title {
        font-size: 0.85rem !important;
    }
    
    .partner-section-bg .simple-service {
        min-height: 70px !important;
        padding: 10px !important;
    }
    
    .partner-section-bg .simple-service img {
        max-height: 45px !important;
    }
}

/* ==================== Animation Effects ==================== */
@keyframes partnerFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.partner-section-bg .simple-service {
    animation: partnerFadeIn 0.6s ease-out !important;
}

.partner-section-bg .simple-service:nth-child(1) {
    animation-delay: 0.1s !important;
}

.partner-section-bg .simple-service:nth-child(2) {
    animation-delay: 0.2s !important;
}

.partner-section-bg .simple-service:nth-child(3) {
    animation-delay: 0.3s !important;
}

.partner-section-bg .simple-service:nth-child(4) {
    animation-delay: 0.4s !important;
}

.partner-section-bg .simple-service:nth-child(5) {
    animation-delay: 0.5s !important;
}

.partner-section-bg .simple-service:nth-child(6) {
    animation-delay: 0.6s !important;
}

/* ==================== Hover Effects ==================== */
.partner-section-bg .simple-service {
    will-change: transform !important;
}

.partner-section-bg .simple-service:hover {
    animation: none !important;
}

/* ==================== Accessibility ==================== */
.partner-section-bg .simple-service:focus {
    outline: 2px solid rgba(255, 255, 255, 0.8) !important;
    outline-offset: 2px !important;
}

/* ==================== Print Styles ==================== */
@media print {
    .partner-section-bg {
        background: white !important;
        color: black !important;
    }
    
    .partner-section-bg::before,
    .partner-section-bg::after {
        display: none !important;
    }
    
    .partner-section-bg .main-title {
        color: black !important;
        text-shadow: none !important;
    }
    
    .partner-section-bg .sub-title {
        color: black !important;
        text-shadow: none !important;
    }
    
    .partner-section-bg .simple-service {
        background: white !important;
        border: 1px solid #ddd !important;
    }
    
    .partner-section-bg .simple-service img {
        filter: none !important;
    }
}