/* ==========================================================================
   Shreeji Electricals LTD - Custom Optimizations Stylesheet
   Extracted page-level and inline styles for performance, caching & cleanliness
   Preserves 100% of existing visual design, specificity, and responsiveness
   ========================================================================== */

/* Breadcrumb & Section Backgrounds */
.breadcrumb-bg-default {
    background-image: url('../img/breadcroumb-img.webp');
}

.footer-bg-default {
    background-image: url('../img/home-1/footer-bg-img.jpg');
}

/* Testimonial Author Avatar */
.testimonial-author-avatar {
    width: 55px;
    height: 55px;
    object-fit: cover;
    border-radius: 50%;
}

/* Product Card Alignment & Centering */
.product-card-centered-content {
    display: block !important;
    text-align: center !important;
    justify-content: center !important;
    width: 100% !important;
}

.product-title-box-centered {
    max-width: 100% !important;
    width: 100% !important;
    text-align: center !important;
    margin: 0 auto !important;
}

.product-title-link-centered {
    text-align: center !important;
}

/* Service Details Image */
.service-details-cover-img {
    max-height: 480px;
    object-fit: cover;
}

/* Blog Sidebar Recent Post Thumbnail */
.blog-recent-thumb-img {
    width: 70px;
    height: 70px;
    object-fit: cover;
}

/* Contact Map Iframe */
.contact-map-iframe {
    border: 0;
}

/* ==========================================================================
   Private Certificate Badge & Access Restricted Modal Styling
   ========================================================================== */
.certificate-card-private {
    border-color: rgba(18, 22, 41, 0.12);
}

.certificate-card .pdf-top-badge-private {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(18, 22, 41, 0.88);
    color: #ffffff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    z-index: 2;
    letter-spacing: 0.5px;
    backdrop-filter: blur(4px);
}

.certificate-card .thumb-overlay-private {
    background: rgba(18, 22, 41, 0.65);
    cursor: pointer;
}

.certificate-card .pdf-btn-action-private {
    background: #121629 !important;
    box-shadow: 0 6px 20px rgba(18, 22, 41, 0.45) !important;
    cursor: pointer;
}

.certificate-card:hover .pdf-btn-action-private {
    background: var(--theme-color, #e31d23) !important;
    box-shadow: 0 6px 20px rgba(227, 29, 35, 0.45) !important;
}

.cert-private-trigger {
    cursor: pointer;
}

/* Modal Custom Styles */
.restricted-cert-modal .restricted-modal-content {
    border-radius: 20px;
    border: none;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.22);
    overflow: hidden;
    background: #ffffff;
}

.restricted-modal-icon-wrap {
    display: flex;
    justify-content: center;
}

.restricted-icon-circle {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: rgba(227, 29, 35, 0.1);
    color: var(--theme-color, #e31d23);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    transition: transform 0.3s ease;
}

.restricted-cert-modal.show .restricted-icon-circle {
    animation: restrictedPulse 1.8s infinite;
}

@keyframes restrictedPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.08);
    }
    100% {
        transform: scale(1);
    }
}

.restricted-modal-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--header-color, #121629);
    margin-bottom: 8px;
    line-height: 1.35;
}

.restricted-modal-desc {
    font-size: 15px;
    line-height: 1.6;
    color: #64748b !important;
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
}

.restricted-cta-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.restricted-cta-card:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.restricted-cta-label {
    letter-spacing: 0.6px;
    font-size: 11px;
}

.restricted-phone-link {
    color: var(--header-color, #121629);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.restricted-phone-link:hover {
    color: var(--theme-color, #e31d23);
}

.btn-call-now {
    background: var(--theme-color, #e31d23);
    color: #ffffff !important;
    font-weight: 600;
    font-size: 16px;
    padding: 13px 28px;
    border-radius: 30px;
    box-shadow: 0 6px 20px rgba(227, 29, 35, 0.35);
    transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.btn-call-now:hover {
    background: #c4141a;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(227, 29, 35, 0.45);
    color: #ffffff !important;
}

@media (max-width: 575px) {
    .restricted-cert-modal .modal-dialog {
        margin: 16px;
    }

    .restricted-modal-title {
        font-size: 19px;
    }

    .restricted-modal-desc {
        font-size: 14px;
    }

    .restricted-phone-link {
        font-size: 17px !important;
    }
}

