/* Placeholder Images using CSS */

/* BRAC Bank Logo Placeholder */
.logo {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #005BAC 0%, #0066CC 100%);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.logo::before {
    content: 'BRAC';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 8px;
    font-weight: bold;
}

/* Phone Mockup Placeholder
   Use the container for placeholder so it works even if image is missing. */
.phone-mockup {
    width: 300px;
    height: 600px;
    background: linear-gradient(145deg, #f0f0f0 0%, #e0e0e0 100%);
    border-radius: 30px;
    border: 8px solid #333;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 6px;
    background: #333;
    border-radius: 3px;
    z-index: 1;
}

.phone-mockup::after {
    content: 'BRAC Bank\AReminte\AApp Preview';
    white-space: pre;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #005BAC;
    font-weight: bold;
    font-size: 16px;
    z-index: 1;
}

/* Keep image centered on top if provided */
.phone-mockup .phone-img {
    max-width: 85%;
    height: auto;
    display: block;
    z-index: 2;
}

/* Download Button Placeholders */
.download-btn img {
    width: 160px;
    height: 60px;
    background: linear-gradient(145deg, #333 0%, #555 100%);
    border-radius: 12px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-store img::before {
    content: 'Download on the\AApp Store';
    white-space: pre;
    position: absolute;
    color: white;
    font-size: 12px;
    text-align: center;
    line-height: 1.2;
}

.google-play img::before {
    content: 'GET IT ON\AGoogle Play';
    white-space: pre;
    position: absolute;
    color: white;
    font-size: 12px;
    text-align: center;
    line-height: 1.2;
}

/* User Avatar Placeholders */
.testimonial-author img {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #005BAC 0%, #0066CC 100%);
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-author img::before {
    content: attr(alt);
    position: absolute;
    color: white;
    font-size: 10px;
    font-weight: bold;
    text-align: center;
    max-width: 50px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Compliance Badge Placeholders */
.compliance-badge {
    width: 60px;
    height: 40px;
    background: linear-gradient(145deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 8px;
    border: 2px solid #dee2e6;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.compliance-badge::before {
    content: 'CERT';
    position: absolute;
    color: #005BAC;
    font-size: 10px;
    font-weight: bold;
}

/* Footer Logo Placeholder */
.footer-logo img {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #005BAC 0%, #0066CC 100%);
    border-radius: 8px;
    position: relative;
}

.footer-logo img::before {
    content: 'BRAC';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 8px;
    font-weight: bold;
}

/* Responsive adjustments for placeholders */
@media (max-width: 768px) {
    .phone-mockup {
        width: 250px;
        height: 500px;
    }
    
    .phone-mockup::after {
        font-size: 14px;
    }
    
    .download-btn img {
        width: 140px;
        height: 50px;
    }
    
    .app-store img::before,
    .google-play img::before {
        font-size: 10px;
    }
}
