/* Shared homepage and header UX styles moved from inline blocks for better caching. */

#preloader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: #fff;
    display: none;
    align-items: center;
    justify-content: center;
}

#preloader .spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

#preloader .spinner img {
    width: 110px;
    height: 110px;
    object-fit: contain;
}

#preloader .dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

#preloader .dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ffc107;
    opacity: 0.2;
    animation: dot-pulse 1s infinite both;
}

#preloader .dots .dot:nth-child(1) {
    animation-delay: 0s;
}

#preloader .dots .dot:nth-child(2) {
    animation-delay: 0.2s;
}

#preloader .dots .dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes dot-pulse {
    0%, 80%, 100% {
        opacity: 0.2;
        transform: translateY(0);
    }

    40% {
        opacity: 1;
        transform: translateY(-6px);
    }
}

/* Scrollable dropdown with left scrollbar alignment */
.navbar .dropdown ul {
    max-height: 550px;
    overflow-y: auto;
    overflow-x: hidden;
    direction: rtl;
    scrollbar-width: thin;
    scrollbar-color: #888 transparent;
}

.navbar .dropdown ul li,
.navbar .dropdown ul a {
    direction: ltr;
}

.navbar .dropdown ul::-webkit-scrollbar {
    width: 6px;
}

.navbar .dropdown ul::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 6px;
}

.navbar .dropdown ul::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* WhatsApp floating widget */
.wa-box {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 240px;
    background: #fff;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    font-family: Arial, sans-serif;
    z-index: 999;
}

.wa-header {
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    margin-bottom: 8px;
}

.wa-header button {
    border: none;
    background: none;
    cursor: pointer;
}

.wa-btn {
    width: 100%;
    padding: 8px;
    background: #25d366;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#wa-icon {
    position: fixed;
    bottom: 15px;
    right: 80px;
    cursor: pointer;
    display: none;
}

/* Services section CTA block */
.services-cta-wrap {
    text-align: center;
    margin-top: 40px;
}

.services-offer-badge {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 12px;
    border-radius: 999px;
    background: #fff8e8;
    border: 1px solid #ffe2a8;
    color: #8a5a00;
    font-size: 13px;
    font-weight: 600;
}

.service-proof-list {
    margin: 22px 0 8px;
    padding-left: 18px;
}

.service-proof-list li {
    margin-bottom: 8px;
    color: #44596f;
}

.contact-fast-response {
    color: #556b82;
    font-size: 14px;
    margin-bottom: 8px;
}

.hero-cta-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.hero-trust-points {
    list-style: none;
    margin: 18px 0 0;
    padding: 0;
}

.hero-trust-points li {
    margin-bottom: 8px;
    color: #545454;
    font-size: 15px;
}

.hero-trust-points li::before {
    content: "\2713";
    color: #ffc107;
    margin-right: 8px;
    font-weight: 700;
}

.homepage-proof {
    background: linear-gradient(180deg, #f9fbff 0%, #ffffff 100%);
}

.proof-panel,
.proof-offer {
    background: #ffffff;
    border: 1px solid #e6edf6;
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 12px 28px rgba(12, 42, 78, 0.08);
}

.proof-panel h2 {
    font-size: 30px;
    line-height: 1.3;
    margin-bottom: 12px;
    color: #0d2e4f;
}

.proof-panel p,
.proof-offer p {
    color: #4e5f73;
    line-height: 1.65;
    margin-bottom: 16px;
}

.proof-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.proof-card {
    background: #f7faff;
    border: 1px solid #e5edf7;
    border-radius: 10px;
    padding: 14px;
}

.proof-card strong {
    display: block;
    color: #0b355c;
    margin-bottom: 6px;
}

.proof-card span {
    color: #576b83;
    font-size: 14px;
}

.proof-offer h3 {
    color: #0b355c;
    margin-bottom: 8px;
}

.proof-offer ul {
    padding-left: 18px;
    margin-bottom: 16px;
}

.proof-offer ul li {
    margin-bottom: 8px;
    color: #3f5873;
}

.proof-primary-btn,
.proof-secondary-btn {
    display: block;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    padding: 11px 14px;
    font-weight: 600;
}

.proof-primary-btn {
    background: #ffb703;
    color: #102a43;
    margin-bottom: 10px;
}

.proof-primary-btn:hover {
    background: #ffa600;
    color: #102a43;
}

.proof-secondary-btn {
    border: 1px solid #d4deea;
    color: #0d2e4f;
    background: #fff;
}

.proof-secondary-btn:hover {
    border-color: #0d2e4f;
    color: #0d2e4f;
}

@media (max-width: 991px) {
    .proof-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .hero-cta-group {
        flex-direction: column;
        align-items: flex-start;
    }

    .proof-panel h2 {
        font-size: 24px;
    }
}
