/* ========================================
   HOMEPAGE LAST SECTION - LOGO REFINEMENT
   Trust & Credibility Section Logo Adjustment
   ======================================== */

/* ====================
   TRUST SECTION LOGO - REFINED POSITIONING
   ==================== */

/* Trust visual container - better structure */
.trust-visual {
    position: relative;
    background: linear-gradient(135deg, #1a1730 0%, #272147 50%, #3a316a 100%);
    border-radius: 15px;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trust-visual-overlay {
    position: relative;
    width: 100%;
    padding: 3rem;
    text-align: center;
}

.trust-visual-content {
    max-width: 500px;
    margin: 0 auto;
}

.trust-visual-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
    line-height: 1.3;
}

.trust-visual-content p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.5rem;
}

/* Logo showcase - refined and elegant */
.trust-visual .logo-showcase {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
    padding: 2rem 0;
}

.trust-visual .logo-item {
    position: relative;
    display: inline-block;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(212, 175, 55, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.trust-visual .logo-item::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.4), rgba(77, 109, 184, 0.4));
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.4s;
    z-index: -1;
}

.trust-visual .logo-item:hover::before {
    opacity: 1;
}

.trust-visual .logo-item:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.3);
    border-color: rgba(212, 175, 55, 0.6);
}

.trust-visual .logo-item img {
    height: 120px !important;
    width: auto !important;
    max-width: 100%;
    filter: brightness(0) invert(1) drop-shadow(0 8px 25px rgba(212, 175, 55, 0.5));
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.trust-visual .logo-item:hover img {
    filter: brightness(0) invert(1) drop-shadow(0 12px 35px rgba(212, 175, 55, 0.8));
    transform: scale(1.08);
}

/* Decorative elements around logo */
.trust-visual .logo-item::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140%;
    height: 140%;
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 25px;
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.trust-visual .logo-item:hover::after {
    opacity: 1;
    width: 160%;
    height: 160%;
}

/* ====================
   RESPONSIVE ADJUSTMENTS
   ==================== */

@media (max-width: 991px) {
    .trust-visual {
        min-height: 350px;
    }
    
    .trust-visual-overlay {
        padding: 2.5rem 2rem;
    }
    
    .trust-visual-content h3 {
        font-size: 1.75rem;
    }
    
    .trust-visual .logo-item img {
        height: 100px !important;
    }
}

@media (max-width: 767px) {
    .trust-visual {
        min-height: 300px;
    }
    
    .trust-visual-overlay {
        padding: 2rem 1.5rem;
    }
    
    .trust-visual-content h3 {
        font-size: 1.5rem;
    }
    
    .trust-visual-content p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .trust-visual .logo-item {
        padding: 1.5rem;
    }
    
    .trust-visual .logo-item img {
        height: 80px !important;
    }
}

@media (max-width: 479px) {
    .trust-visual .logo-item img {
        height: 70px !important;
    }
}

/* ====================
   SUBTLE ANIMATION
   ==================== */

@keyframes logoGlowPulse {
    0%, 100% {
        filter: brightness(0) invert(1) drop-shadow(0 8px 25px rgba(212, 175, 55, 0.5));
    }
    50% {
        filter: brightness(0) invert(1) drop-shadow(0 10px 30px rgba(212, 175, 55, 0.7));
    }
}

.trust-visual .logo-item img {
    animation: logoGlowPulse 4s ease-in-out infinite;
}

/* Pause animation on hover for interaction */
.trust-visual .logo-item:hover img {
    animation: none;
}
