/* Legacy Book Publisher: brand colours and small additions. Edit colours here. */
:root{
  --clr-1:0,58,110;      /* navy */
  --clr-2:248,158,0;     /* orange */
  --clr-3:224,236,248;
  --dark-color:8,24,48;
  --light-color:248,250,255;
}
.logo-icon{width:auto;max-height:62px;height:auto}
.mobile-logo,.popup-logo{width:auto;max-height:54px;height:auto}
.mobile-menu-logo{filter:none!important;width:auto;max-height:50px}
.invalid-feedback{display:none;width:100%;margin-top:.25rem;font-size:.8rem;color:#dc3545}
.is-invalid ~ .invalid-feedback,.is-invalid + .invalid-feedback,.formFields:has(.is-invalid) .invalid-feedback{display:block}
.form-control.is-invalid,.form-select.is-invalid{border-color:#dc3545}
.lbp-form-msg{margin-top:.75rem;padding:.65rem .9rem;border-radius:8px;font-size:.9rem}
.lbp-form-msg.lbp-ok{background:#e6eff7;color:#0c3154}
.lbp-form-msg.lbp-err{background:#fdeaea;color:#8a1c1c}
.lbp-selected-package{color:rgb(var(--clr-1))}

section.py-5.thankyousec {
    padding-top: 150px !important;
    padding-bottom: 100px !important;
}

.lbp-thanks-actions {
    margin-top: 30px !important;
    margin-bottom: 10px;
}

.lbp-thanks-actions a.quotation.btn.rounded-pill.px-4.py-2 {
    font-family: 'Poppins';
    display: flex;
    align-items: center;
    background-color: #f89e00;
    color: #000000;
    font-weight: 700;
    font-size: 0.72rem;
    padding: 9px 18px;
    border-radius: 30px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: pulse-glow 2.5s infinite;
}

.lbp-thanks-actions a.btn.btn-outline-dark.rounded-pill.px-4.py-2 {
    font-family: 'Poppins';
    font-size: 14px;
    font-weight: 600;
}

/* Responsive fixes */
html,body{overflow-x:hidden!important;max-width:100%!important}
@media (max-width:991.98px){
  .row.g-5,.row.gx-5{--bs-gutter-x:1.5rem!important}  /* 3rem gutter pushed rows 12px past the screen edge */
  img,video,iframe{max-width:100%!important}
}

/* Header: one tidy row on every desktop width (logo no longer overlaps the menu) */
@media (min-width:992px){
  .header-main .row{flex-wrap:nowrap!important;align-items:center!important}
  .header-main .row > div:nth-child(1){flex:1 1 0!important;min-width:0!important;width:auto!important}
  .header-main .row > div:nth-child(2){flex:0 0 auto!important;width:auto!important;padding:0 12px!important}
  .header-main .row > div:nth-child(3){flex:1 1 0!important;min-width:0!important;width:auto!important}
  .header-main .logo-icon{width:auto!important;height:auto!important;max-height:62px!important;max-width:100%!important}
  .header-main .nav-left{flex-wrap:nowrap!important;white-space:nowrap!important}
  .header-main .nav-link-custom{white-space:nowrap!important}
  .header-main .header-phone,.header-main .header-phone *{white-space:nowrap!important}
  .header-main .btn-quote{white-space:nowrap!important}
}
@media (min-width:992px) and (max-width:1399.98px){
  .header-main .logo-icon{max-height:48px!important}
  .header-main .nav-link-custom{font-size:.8rem!important;padding:6px 2px!important}
  .header-main .btn-quote{padding:.55rem 1rem!important;font-size:.78rem!important}
  .header-main .header-phone .phone-number{font-size:.8rem!important}
  .header-main .header-phone .phone-icon-wrap{width:38px!important;height:38px!important}
  .header-main .row > div:nth-child(3) .d-flex{gap:.6rem!important}
}
@media (min-width:992px) and (max-width:1199.98px){
  .header-main .header-phone{display:none!important}   /* phone shows in the popup, footer and contact page; keeps the row clean */
}

/* ===== Modern select (service dropdown) ===== */
.lbp-select-wrap{position:relative}
.lbp-select-native{position:absolute!important;opacity:0!important;pointer-events:none!important;height:1px!important;width:1px!important;left:0;bottom:0}
.lbp-select-btn{width:100%;display:block;text-align:left;cursor:pointer;-webkit-appearance:none;appearance:none}
.lbp-select-btn .lbp-select-label{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lbp-select-btn .is-placeholder{opacity:.65}
.lbp-select-list{position:absolute;left:0;right:0;top:calc(100% + 6px);z-index:30;margin:0;padding:6px;list-style:none;max-height:240px;overflow-y:auto;background:#fff;border:1px solid #e1e9f2;border-radius:14px;box-shadow:0 14px 34px rgba(0,58,110,.18);display:none}
.lbp-select-wrap.open .lbp-select-list{display:block;animation:lbpPop .16s ease-out}
.lbp-select-wrap.up .lbp-select-list{top:auto;bottom:calc(100% + 6px)}
.lbp-select-list li{padding:.6rem .85rem;border-radius:9px;font-size:.92rem;color:#1c2b3a;cursor:pointer;outline:0}
.lbp-select-list li:hover,.lbp-select-list li:focus{background:rgba(var(--clr-1),.08)}
.lbp-select-list li.is-selected{background:rgb(var(--clr-1));color:#fff}
.lbp-select-list::-webkit-scrollbar{width:6px}.lbp-select-list::-webkit-scrollbar-thumb{background:#c9d6e4;border-radius:6px}
@keyframes lbpPop{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}
.has-error .form-control,.has-error .lbp-select-btn{border-color:#dc3545}
.has-error .invalid-feedback{display:block}
.popup-modal,.popup-modal .popup-right{overflow:visible}
button.is-loading{opacity:.7;pointer-events:none}

/* ===== Thank-you + payment pages ===== */
.lbp-card{max-width:620px;margin:0 auto;background:#fff;border-radius:20px;padding:40px 36px;box-shadow:0 12px 40px rgba(0,58,110,.12);border:1px solid #e6edf5}
.lbp-thanks h2,.lbp-pay h2{color:rgb(var(--clr-1));font-weight:700;margin-bottom:14px}
.lbp-check{width:84px;height:84px;border-radius:50%;background:#e4f6ea;color:#0a7d34;display:flex;align-items:center;justify-content:center;font-size:34px;margin:0 auto 20px}
.lbp-thanks-actions{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;margin-top:26px}
.lbp-pay-summary{background:linear-gradient(135deg,rgb(var(--clr-1)),#0b5394);color:#fff;border-radius:16px;padding:22px 24px;margin-bottom:24px}
.lbp-pay-label{font-size:.78rem;letter-spacing:1.3px;text-transform:uppercase;font-weight:700;opacity:.8}
.lbp-pay-item{font-size:1.05rem;font-weight:600;margin-top:4px}
.lbp-pay-amount{font-size:2.2rem;font-weight:800;margin-top:6px;color:#ffc457}
.lbp-card .lbp-pay-label{color:#6b7c8f;opacity:1}
.lbp-pay-summary .lbp-pay-label{color:#fff}
.lbp-methods{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}
.lbp-method{position:relative;cursor:pointer;margin:0}
.lbp-method input{position:absolute;opacity:0}
.lbp-method span{display:flex;align-items:center;justify-content:center;gap:10px;padding:14px;border:2px solid #d5dfeb;border-radius:12px;font-weight:600;color:#1c2b3a;transition:all .2s}
.lbp-method input:checked + span{border-color:rgb(var(--clr-2));background:rgba(var(--clr-2),.1)}
.lbp-secure{color:#6b7c8f}
@media (max-width:575.98px){.lbp-card{padding:28px 20px}}
.popup-left{border-radius:20px 0 0 20px}
@media (max-width:991.98px){.popup-modal{overflow:hidden}.lbp-select-list{max-height:180px}}