/* ═══════════════════════════════════════════════════════════════
   ANIMATIONS PRO — Classy professional enhancements
   Color theme & fonts unchanged. Only adds hover effects,
   decorative shapes, before/after pseudo elements & motion.
   Primary:   #4792e3 (var(--p-clr))
   Secondary: #0f335e (var(--second-clr))
   ═══════════════════════════════════════════════════════════════ */

/* ── Base reveal helper ───────────────────────────────────────── */
.reveal-up,
.reveal-left,
.reveal-right,
.reveal-zoom {
    opacity: 0;
    transition: opacity .9s cubic-bezier(.22, .68, 0, 1.2),
                transform .9s cubic-bezier(.22, .68, 0, 1.2);
    will-change: transform, opacity;
}
.reveal-up      { transform: translateY(40px); }
.reveal-left    { transform: translateX(-40px); }
.reveal-right   { transform: translateX(40px); }
.reveal-zoom    { transform: scale(.92); }

.reveal-up.is-visible,
.reveal-left.is-visible,
.reveal-right.is-visible,
.reveal-zoom.is-visible {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}

/* ═══════════════════════════════════════════════════════════════
   1. SECTION HEADINGS — animated underline & gradient hover
   ═══════════════════════════════════════════════════════════════ */
.font-h2-size {
    position: relative;
    display: inline-block;
    padding-bottom: 18px;
}
.font-h2-size::before,
.font-h2-size::after {
    content: '';
    position: absolute;
    bottom: 0;
    height: 3px;
    border-radius: 3px;
    transition: width .6s cubic-bezier(.22, .68, 0, 1.2);
}
.font-h2-size::before {
    left: 50%;
    width: 60px;
    background: linear-gradient(90deg, #4792e3, #0f335e);
    transform: translateX(-50%);
}
.font-h2-size::after {
    left: 50%;
    width: 10px;
    height: 10px;
    bottom: -3.5px;
    background: #4792e3;
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 0 4px rgba(71, 146, 227, 0.18);
    animation: pulseHeading 2.2s ease-in-out infinite;
}
.text-center .font-h2-size::before,
.text-center .font-h2-size::after {
    left: 50%;
}
.cta-content .font-h2-size::before,
.cta-content .font-h2-size::after {
    left: 50%;
}
.bg-grey .font-h2-size::before {
    background: linear-gradient(90deg, #4792e3, #ffffff);
}
.bg-grey .font-h2-size::after {
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.25);
}

@keyframes pulseHeading {
    0%, 100% { box-shadow: 0 0 0 4px rgba(71, 146, 227, 0.18); }
    50%      { box-shadow: 0 0 0 9px rgba(71, 146, 227, 0); }
}

/* ═══════════════════════════════════════════════════════════════
   2. SERVICE BOXES — porto-sicon-box (What We Do For You)
   classy 3D tilt, glow ring, before/after shapes
   ═══════════════════════════════════════════════════════════════ */
.row.lan-ser-ic .porto-sicon-box {
    overflow: hidden;
    transition: transform .55s cubic-bezier(.22, .68, 0, 1.2),
                box-shadow .55s ease,
                background .55s ease !important;
    z-index: 1;
}
.row.lan-ser-ic .porto-sicon-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%),
                rgba(71, 146, 227, 0.45) 0%,
                rgba(71, 146, 227, 0) 55%);
    opacity: 0;
    transition: opacity .55s ease;
    z-index: 0;
    pointer-events: none;
}
.row.lan-ser-ic .porto-sicon-box::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 60px;
    height: 200%;
    background: linear-gradient(120deg,
                transparent 0%,
                rgba(255, 255, 255, 0.08) 45%,
                rgba(255, 255, 255, 0.18) 50%,
                rgba(255, 255, 255, 0.08) 55%,
                transparent 100%);
    transform: rotate(20deg) translateX(-200%);
    transition: transform .9s cubic-bezier(.22, .68, 0, 1.2);
    pointer-events: none;
    z-index: 0;
}
.row.lan-ser-ic .porto-sicon-box > * {
    position: relative;
    z-index: 2;
}
.row.lan-ser-ic .porto-sicon-box:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 25px 60px -10px rgba(71, 146, 227, 0.55),
                0 0 0 1px rgba(71, 146, 227, 0.45) inset,
                0 0 80px -20px rgba(71, 146, 227, 0.6) !important;
    background: linear-gradient(145deg, #002a5c 0%, #001f44 100%) !important;
}
.row.lan-ser-ic .porto-sicon-box:hover::before {
    opacity: 1;
}
.row.lan-ser-ic .porto-sicon-box:hover::after {
    transform: rotate(20deg) translateX(450%);
}
.row.lan-ser-ic .porto-sicon-box:hover .porto-just-icon-wrapper {
    transform: translateY(-4px) scale(1.08);
}
.row.lan-ser-ic .porto-sicon-box:hover h3.porto-sicon-title {
    color: #cce3ff;
    letter-spacing: .6px;
}
.vc_column_container .porto-just-icon-wrapper {
    transition: all .55s cubic-bezier(.22, .68, 0, 1.2) !important;
}
.row.lan-ser-ic h3.porto-sicon-title {
    transition: color .35s ease, letter-spacing .35s ease;
}

/* corner ribbons on service boxes */
.row.lan-ser-ic .porto-sicon-box .porto-sicon-top {
    position: relative;
}
.row.lan-ser-ic .porto-sicon-box .porto-sicon-top::before,
.row.lan-ser-ic .porto-sicon-box .porto-sicon-top::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(71, 146, 227, 0);
    transition: all .55s ease;
}
.row.lan-ser-ic .porto-sicon-box .porto-sicon-top::before {
    top: -28px;
    left: -18px;
    border-right: none;
    border-bottom: none;
}
.row.lan-ser-ic .porto-sicon-box .porto-sicon-top::after {
    bottom: -28px;
    right: -18px;
    border-left: none;
    border-top: none;
}
.row.lan-ser-ic .porto-sicon-box:hover .porto-sicon-top::before {
    border-color: #4792e3;
    top: -34px;
    left: -28px;
}
.row.lan-ser-ic .porto-sicon-box:hover .porto-sicon-top::after {
    border-color: #4792e3;
    bottom: -34px;
    right: -28px;
}

/* Background floating particles inside service section */
.main-boxess {
    position: relative;
}
.main-boxess::before,
.main-boxess::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}
.main-boxess::before {
    width: 180px;
    height: 180px;
    top: -40px;
    left: -60px;
    background: radial-gradient(circle, rgba(71, 146, 227, 0.18), transparent 70%);
    animation: floatShape 9s ease-in-out infinite;
}
.main-boxess::after {
    width: 130px;
    height: 130px;
    bottom: -30px;
    right: -40px;
    background: radial-gradient(circle, rgba(15, 51, 94, 0.15), transparent 70%);
    animation: floatShape 11s ease-in-out infinite reverse;
}

/* ═══════════════════════════════════════════════════════════════
   3. WORK PROCESS — Our Process step cards
   ═══════════════════════════════════════════════════════════════ */
.work-process {
    padding: 30px 22px;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid rgba(71, 146, 227, 0.08);
    transition: transform .5s cubic-bezier(.22, .68, 0, 1.2),
                box-shadow .5s ease,
                border-color .4s ease;
    overflow: hidden;
}
.work-process::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #4792e3, #0f335e, #4792e3);
    background-size: 200% 100%;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .55s cubic-bezier(.22, .68, 0, 1.2);
}
.work-process::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(71, 146, 227, 0.12), transparent 65%);
    opacity: 0;
    transition: opacity .55s ease, transform .7s ease;
}
.work-process:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px -15px rgba(15, 51, 94, 0.25);
    border-color: rgba(71, 146, 227, 0.35);
}
.work-process:hover::before {
    transform: scaleX(1);
    animation: shimmerLine 2.5s linear infinite;
}
.work-process:hover::after {
    opacity: 1;
    transform: scale(1.4);
}
.work-process:hover .step-icon {
    transform: rotateY(360deg);
    box-shadow: 0 10px 25px rgba(71, 146, 227, 0.35);
}
.work-process:hover .step-icon span::after {
    transform: scale(1.3) translateX(-4px);
}
.work-process:hover .step-icon span::before {
    transform: scale(1.3) translateX(4px);
}
.work-process:hover .step-num {
    background: #4792e3;
    color: #ffffff;
    transform: rotate(-8deg) scale(1.1);
}
.work-process:hover .st-ic {
    transform: scale(1.05);
}
.step-icon {
    transition: transform .8s cubic-bezier(.22, .68, 0, 1.2),
                box-shadow .5s ease !important;
}
.step-icon span::after,
.step-icon span::before {
    transition: transform .5s ease !important;
}
.step-num {
    transition: all .45s cubic-bezier(.22, .68, 0, 1.2) !important;
}
.step-desc h4 {
    transition: color .35s ease;
}
.work-process:hover .step-desc h4 {
    color: #4792e3;
}

/* connector dots between process steps */
.work-process .step-num-box::before {
    content: '';
    position: absolute;
    top: 50%;
    right: -40%;
    width: 30%;
    height: 2px;
    background-image: linear-gradient(90deg, rgba(71, 146, 227, 0.4) 50%, transparent 50%);
    background-size: 10px 2px;
    opacity: 0;
    transition: opacity .5s ease;
}
@media (min-width: 992px) {
    .work-process:hover .step-num-box::before {
        opacity: 1;
    }
}

@keyframes shimmerLine {
    0%   { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

/* ═══════════════════════════════════════════════════════════════
   4. CHAPTER ITEMS — Genre list
   ═══════════════════════════════════════════════════════════════ */
.chapter-item {
    padding: 10px 14px;
    border-radius: 8px;
    transition: background .35s ease, transform .35s ease, padding-left .35s ease;
    position: relative;
}
.chapter-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 3px;
    height: 0;
    background: #4792e3;
    transform: translateY(-50%);
    transition: height .35s ease;
    border-radius: 3px;
}
.chapter-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(6px);
    padding-left: 22px;
}
.chapter-item:hover::before {
    height: 70%;
}
.chapter-item .ti-check {
    transition: transform .45s cubic-bezier(.22, .68, 0, 1.2);
}
.chapter-item:hover .ti-check {
    transform: rotate(360deg) scale(1.1);
}
.chapter-item:hover .ti-check:before {
    background: #4792e3;
    color: #fff !important;
}
.ti-check:before {
    transition: background .35s ease, color .35s ease, border-color .35s ease;
}

/* ═══════════════════════════════════════════════════════════════
   5. ABOUT FEATURES — Quality Publishing solutions text blocks
   ═══════════════════════════════════════════════════════════════ */
.about-item {
    position: relative;
    padding: 18px 22px;
    border-radius: 10px;
    border-left: 3px solid transparent;
    transition: all .45s cubic-bezier(.22, .68, 0, 1.2);
    background: transparent;
}
.about-item::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(71, 146, 227, 0.06), rgba(15, 51, 94, 0.03));
    opacity: 0;
    transition: opacity .4s ease;
    z-index: -1;
}
.about-item::after {
    content: '';
    position: absolute;
    top: 22px;
    right: 18px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px dashed rgba(71, 146, 227, 0.35);
    opacity: 0;
    transform: scale(.6) rotate(-90deg);
    transition: all .55s cubic-bezier(.22, .68, 0, 1.2);
}
.about-item:hover {
    border-left-color: #4792e3;
    transform: translateX(8px);
    box-shadow: 0 18px 40px -20px rgba(15, 51, 94, 0.25);
}
.about-item:hover::before {
    opacity: 1;
}
.about-item:hover::after {
    opacity: 1;
    transform: scale(1) rotate(0deg);
    animation: spinSlow 6s linear infinite;
}
.about-item h5 {
    position: relative;
    display: inline-block;
    transition: color .35s ease, padding-left .35s ease;
}
.about-item h5::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 0;
    height: 2px;
    background: #4792e3;
    transform: translateY(-50%);
    transition: width .4s ease;
}
.about-item:hover h5 {
    color: #4792e3;
    padding-left: 22px;
}
.about-item:hover h5::before {
    width: 14px;
}

@keyframes spinSlow {
    to { transform: scale(1) rotate(360deg); }
}

/* ═══════════════════════════════════════════════════════════════
   6. BOOK PREVIEW — Owl carousel book covers
   ═══════════════════════════════════════════════════════════════ */
.book-preview {
    perspective: 1200px;
}
.owl-book .book-item {
    transition: transform .7s cubic-bezier(.22, .68, 0, 1.2),
                box-shadow .55s ease !important;
    border-radius: 6px;
}
.owl-book .book-item::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 6px;
    background: linear-gradient(135deg,
                rgba(71, 146, 227, 0) 0%,
                rgba(71, 146, 227, 0.25) 50%,
                rgba(255, 255, 255, 0.15) 100%);
    opacity: 0;
    transition: opacity .55s ease;
    z-index: 2;
    pointer-events: none;
}
.owl-book .book-item:hover {
    transform: rotateY(-12deg) rotateX(4deg) translateY(-8px) scale(1.04);
    box-shadow: -20px 30px 60px -15px rgba(15, 51, 94, 0.5);
}
.owl-book .book-item:hover::before {
    opacity: 1;
}
.owl-book .book-item img {
    transition: filter .55s ease !important;
}
.owl-book .book-item:hover img {
    filter: brightness(1.05) saturate(1.15);
}

/* ═══════════════════════════════════════════════════════════════
   7. BUTTONS — PREMIUM CLASSY POLISH
   - Gradient sheen built INTO the background (does not break the
     existing arrow :before SVG on .btn-arrow buttons)
   - Layered shadow for depth, 3D press effect on :active
   - Animated arrow box on hover
   ═══════════════════════════════════════════════════════════════ */

/* ─── PRIMARY (filled) Button — btn-main-2 ─── */
.btn.btn-main-2 {
    position: relative !important;
    isolation: isolate;
    border: none !important;
    border-radius: 8px !important;
    padding: 12px 40px !important;
    font-weight: 700 !important;
    letter-spacing: 1.2px !important;
    text-transform: uppercase !important;

    background-image:
        linear-gradient(120deg,
            transparent 0%,
            transparent 38%,
            rgba(255, 255, 255, 0.35) 50%,
            transparent 62%,
            transparent 100%),
        linear-gradient(135deg, #4792e3 0%, #1e6cc1 60%, #0f335e 130%) !important;
    background-color: #4792e3 !important;
    background-size: 240% 100%, 100% 100%;
    background-position: 200% 0, 0 0;
    background-repeat: no-repeat;

    color: #fff !important;
    text-shadow: 0 2px 4px rgba(15, 51, 94, 0.5) !important;

    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.25) inset,
        0 -2px 0 rgba(0, 0, 0, 0.18) inset,
        0 8px 18px -6px rgba(71, 146, 227, 0.55),
        0 4px 10px -4px rgba(15, 51, 94, 0.35);

    transition:
        background-position .9s cubic-bezier(.22, .68, 0, 1.2),
        transform .35s cubic-bezier(.22, .68, 0, 1.2),
        box-shadow .35s ease,
        letter-spacing .35s ease !important;
}
.btn.btn-main-2:hover {
    background-position: -200% 0, 0 0;
    transform: translateY(-3px);
    letter-spacing: 1.6px !important;
    color: #fff !important;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.3) inset,
        0 -2px 0 rgba(0, 0, 0, 0.2) inset,
        0 18px 35px -10px rgba(71, 146, 227, 0.75),
        0 8px 18px -6px rgba(15, 51, 94, 0.45),
        0 0 0 4px rgba(71, 146, 227, 0.15);
}
.btn.btn-main-2:active {
    transform: translateY(-1px) scale(.98);
    transition-duration: .12s !important;
}

/* btn-arrow needs extra right padding for the arrow box */
.btn.btn-main-2.btn-arrow {
    padding: 12px 70px 12px 32px !important;
    overflow: hidden !important;
}

/* arrow box on btn-arrow — slide / glow on hover (the :before is the SVG arrow) */
.btn.btn-main-2.btn-arrow:before {
    background-color: #0f335e !important;
    box-shadow: -2px 0 14px -4px rgba(0, 0, 0, 0.35) inset !important;
    border-top-right-radius: 8px !important;
    border-bottom-right-radius: 8px !important;
    transition: background-color .35s ease,
                width .4s cubic-bezier(.22, .68, 0, 1.2),
                background-size .4s ease !important;
}
.btn.btn-main-2.btn-arrow:hover:before {
    background-color: #4792e3 !important;
    background-size: 24px !important;
    width: 52px !important;
}

/* ─── OUTLINE / WHITE Button — btn-main-1 ─── */
.btn.btn-main-1 {
    position: relative !important;
    isolation: isolate;
    border-radius: 8px !important;
    padding: 12px 40px !important;
    font-weight: 700 !important;
    letter-spacing: 1.2px !important;
    text-transform: uppercase !important;

    background-image:
        linear-gradient(120deg,
            transparent 0%,
            transparent 38%,
            rgba(71, 146, 227, 0.12) 50%,
            transparent 62%,
            transparent 100%),
        linear-gradient(135deg, #ffffff 0%, #f4f9ff 100%) !important;
    background-color: #fff !important;
    background-size: 240% 100%, 100% 100%;
    background-position: 200% 0, 0 0;
    background-repeat: no-repeat;

    color: #4792e3 !important;
    border: 2px solid #4792e3 !important;

    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.6) inset,
        0 6px 14px -6px rgba(71, 146, 227, 0.3);

    transition:
        background-position .9s cubic-bezier(.22, .68, 0, 1.2),
        transform .35s cubic-bezier(.22, .68, 0, 1.2),
        box-shadow .35s ease,
        color .3s ease,
        background-color .3s ease,
        letter-spacing .35s ease !important;
}
.btn.btn-main-1:hover {
    background-position: -200% 0, 0 0;
    background-color: #4792e3 !important;
    background-image:
        linear-gradient(120deg,
            transparent 0%,
            transparent 38%,
            rgba(255, 255, 255, 0.3) 50%,
            transparent 62%,
            transparent 100%),
        linear-gradient(135deg, #4792e3 0%, #1e6cc1 100%) !important;
    color: #fff !important;
    transform: translateY(-3px);
    letter-spacing: 1.6px !important;
    border-color: #4792e3 !important;
    box-shadow:
        0 18px 35px -10px rgba(71, 146, 227, 0.7),
        0 0 0 4px rgba(71, 146, 227, 0.15);
}
.btn.btn-main-1:active {
    transform: translateY(-1px) scale(.98);
    transition-duration: .12s !important;
}

/* arrow on btn-main-1 if present */
.btn.btn-main-1.btn-arrow:before {
    transition: background-color .35s ease !important;
}
.btn.btn-main-1:hover.btn-arrow:before {
    background-color: #0f335e !important;
}

/* ─── BANNER buttons (.btn-primary / .btn-outline inside .banner-wrap) ─── */
.banner-wrap .btn-primary {
    padding: 14px 30px !important;
    border-radius: 8px !important;
    background-image:
        linear-gradient(120deg,
            transparent 0%,
            transparent 38%,
            rgba(255, 255, 255, 0.35) 50%,
            transparent 62%,
            transparent 100%),
        linear-gradient(135deg, #4792e3 0%, #1a6dd4 60%, #0f335e 130%) !important;
    background-size: 240% 100%, 100% 100%;
    background-position: 200% 0, 0 0;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.25) inset,
        0 -2px 0 rgba(0, 0, 0, 0.2) inset,
        0 12px 24px -8px rgba(71, 146, 227, 0.6);
    transition: background-position .9s cubic-bezier(.22, .68, 0, 1.2),
                transform .3s ease,
                box-shadow .35s ease !important;
}
.banner-wrap .btn-primary:hover {
    background-position: -200% 0, 0 0 !important;
    transform: translateY(-3px);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.3) inset,
        0 -2px 0 rgba(0, 0, 0, 0.22) inset,
        0 22px 40px -12px rgba(71, 146, 227, 0.8),
        0 0 0 5px rgba(71, 146, 227, 0.18) !important;
}
.banner-wrap .btn-primary:active {
    transform: translateY(-1px) scale(.98);
}
.banner-wrap .btn-primary .btn-arrow {
    display: inline-block;
    transition: transform .35s cubic-bezier(.22, .68, 0, 1.2);
}
.banner-wrap .btn-primary:hover .btn-arrow {
    transform: translateX(6px);
}

.banner-wrap .btn-outline {
    padding: 14px 28px !important;
    border-radius: 8px !important;
    border: 1.5px solid rgba(255, 255, 255, 0.35) !important;
    background: rgba(255, 255, 255, 0.04) !important;
    backdrop-filter: blur(6px);
    transition: all .35s cubic-bezier(.22, .68, 0, 1.2) !important;
    position: relative;
    overflow: hidden;
}
.banner-wrap .btn-outline::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(71, 146, 227, 0.18), rgba(255, 255, 255, 0.08));
    opacity: 0;
    transition: opacity .35s ease;
    z-index: 0;
}
.banner-wrap .btn-outline > * { position: relative; z-index: 1; }
.banner-wrap .btn-outline:hover {
    border-color: #4792e3 !important;
    color: #fff !important;
    transform: translateY(-3px);
    box-shadow: 0 16px 30px -10px rgba(71, 146, 227, 0.4),
                0 0 0 4px rgba(71, 146, 227, 0.12);
}
.banner-wrap .btn-outline:hover::before { opacity: 1; }

/* ─── FORM SUBMIT Button (.fc-submit) ─── */
.fc-submit {
    background-image:
        linear-gradient(120deg,
            transparent 0%,
            transparent 38%,
            rgba(255, 255, 255, 0.3) 50%,
            transparent 62%,
            transparent 100%),
        linear-gradient(135deg, #4792e3 0%, #1a6dd4 60%, #0f335e 130%) !important;
    background-size: 240% 100%, 100% 100% !important;
    background-position: 200% 0, 0 0 !important;
    background-repeat: no-repeat !important;
    border-radius: 8px !important;
    padding: 13px !important;
    letter-spacing: 1px !important;
    text-transform: uppercase;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.25) inset,
        0 -2px 0 rgba(0, 0, 0, 0.18) inset,
        0 10px 22px -8px rgba(71, 146, 227, 0.6) !important;
    transition: background-position .9s cubic-bezier(.22, .68, 0, 1.2),
                transform .3s ease,
                box-shadow .35s ease !important;
}
.fc-submit:hover {
    background-position: -200% 0, 0 0 !important;
    transform: translateY(-2px) !important;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.3) inset,
        0 -2px 0 rgba(0, 0, 0, 0.22) inset,
        0 20px 38px -12px rgba(71, 146, 227, 0.75),
        0 0 0 4px rgba(71, 146, 227, 0.18) !important;
}
.fc-submit:active {
    transform: translateY(0) scale(.98) !important;
}

/* navbar Get-a-Quote / Call Now buttons get a slimmer premium look */
.navbar-btn .btn.btn-main-2 {
    padding: 8px 50px 8px 30px !important;
    font-size: 13px !important;
}

/* Cookie buttons subtle polish */
.cookie-btn {
    transition: transform .25s, background .3s, color .3s, border-color .3s, box-shadow .3s !important;
}
.cookie-btn:hover {
    box-shadow: 0 8px 18px -6px rgba(200, 168, 75, 0.35);
}

/* ═══════════════════════════════════════════════════════════════
   8. CTA SECTIONS — cta-2 polish
   ═══════════════════════════════════════════════════════════════ */
.cta-2 {
    position: relative;
    overflow: hidden;
}
.cta-2::before,
.cta-2::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}
.cta-2::before {
    width: 240px;
    height: 240px;
    top: -80px;
    left: -80px;
    background: radial-gradient(circle, rgba(71, 146, 227, 0.12), transparent 70%);
    animation: floatShape 10s ease-in-out infinite;
}
.cta-2::after {
    width: 180px;
    height: 180px;
    bottom: -60px;
    right: -50px;
    background: radial-gradient(circle, rgba(15, 51, 94, 0.1), transparent 70%);
    animation: floatShape 13s ease-in-out infinite reverse;
}
.cta-2 .container {
    position: relative;
    z-index: 1;
}
.cta-content > span {
    display: inline-block;
    position: relative;
    padding: 4px 14px;
    background: rgba(71, 146, 227, 0.1);
    border: 1px solid rgba(71, 146, 227, 0.25);
    border-radius: 30px;
    color: #4792e3;
    font-weight: 600;
    letter-spacing: 1.5px;
    margin-bottom: 18px;
}
.cta-content > span::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #4792e3;
    border-radius: 50%;
    margin-right: 8px;
    vertical-align: middle;
    animation: blinkDot 1.4s ease-in-out infinite;
}

@keyframes blinkDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%      { opacity: .3; transform: scale(.6); }
}

/* ═══════════════════════════════════════════════════════════════
   9. FEATURED CLIENT / GREY SECTIONS — decorative shapes
   ═══════════════════════════════════════════════════════════════ */
.featured-client.bg-grey,
.small-banner.bg-grey,
.bg-grey {
    position: relative;
    overflow: hidden;
}
.featured-client.bg-grey::before,
.small-banner.bg-grey::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -120px;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(71, 146, 227, 0.18), transparent 65%);
    pointer-events: none;
    animation: floatShape 14s ease-in-out infinite;
    z-index: 0;
}
.featured-client.bg-grey::after,
.small-banner.bg-grey::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -80px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    border: 1px dashed rgba(255, 255, 255, 0.12);
    pointer-events: none;
    animation: spinSlow 30s linear infinite;
    z-index: 0;
}
.featured-client.bg-grey > .container,
.small-banner.bg-grey > .container {
    position: relative;
    z-index: 1;
}

/* small-banner punchier CTA */
.small-banner .btn-con {
    position: relative;
}
.small-banner .btn-con::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(71, 146, 227, 0.18), transparent 60%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    animation: pulseBlob 3.5s ease-in-out infinite;
    z-index: 0;
}
.small-banner .btn-con > * {
    position: relative;
    z-index: 1;
}

@keyframes pulseBlob {
    0%, 100% { opacity: .6; transform: translate(-50%, -50%) scale(.85); }
    50%      { opacity: 1;  transform: translate(-50%, -50%) scale(1.1); }
}

/* ═══════════════════════════════════════════════════════════════
   10. NAV / HEADER POLISH
   ═══════════════════════════════════════════════════════════════ */
.navbar-brand .logo {
    transition: transform .5s cubic-bezier(.22, .68, 0, 1.2), filter .4s ease;
}
.navbar-brand:hover .logo {
    transform: scale(1.04);
    filter: drop-shadow(0 6px 14px rgba(71, 146, 227, 0.35));
}

/* ═══════════════════════════════════════════════════════════════
   11. UNIVERSAL FLOAT SHAPE KEYFRAME
   ═══════════════════════════════════════════════════════════════ */
@keyframes floatShape {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%      { transform: translate(15px, -10px) scale(1.05); }
    66%      { transform: translate(-10px, 15px) scale(.97); }
}

/* ═══════════════════════════════════════════════════════════════
   12. IMAGE / CARD FANCY HOVER for chapter-inner & main-boxess
   ═══════════════════════════════════════════════════════════════ */
.chapter-inner {
    position: relative;
    z-index: 1;
}

/* book-info section accents */
.book-info .about-features {
    position: relative;
}
.book-info .about-features::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    width: 38px;
    height: 38px;
    border-top: 2px solid #4792e3;
    border-left: 2px solid #4792e3;
    border-radius: 4px 0 0 0;
    opacity: .45;
}
.book-info .about-features::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 38px;
    height: 38px;
    border-bottom: 2px solid #4792e3;
    border-right: 2px solid #4792e3;
    border-radius: 0 0 4px 0;
    opacity: .45;
}

/* ═══════════════════════════════════════════════════════════════
   13. RESPONSIVE — soften effects on small screens
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 991px) {
    .row.lan-ser-ic .porto-sicon-box:hover {
        transform: translateY(-6px) scale(1.02);
    }
    .owl-book .book-item:hover {
        transform: translateY(-6px) scale(1.02);
    }
    .work-process:hover {
        transform: translateY(-5px);
    }
}

@media (max-width: 576px) {
    .featured-client.bg-grey::before,
    .small-banner.bg-grey::before,
    .featured-client.bg-grey::after,
    .small-banner.bg-grey::after,
    .main-boxess::before,
    .main-boxess::after,
    .cta-2::before,
    .cta-2::after {
        display: none;
    }
    .font-h2-size {
        padding-bottom: 14px;
    }
}

/* respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }
}
