@charset "utf-8";
/* CSS Document */
body, html{
  height: 100%;
}
body{
  background: #fff;
}

h1, h2, h3, h4, h5, h6{
  font-family: 'Montserrat', sans-serif;
}
p{
  font-family: 'Roboto', sans-serif;
}
h1, h2, h3, h4, h5, h6, p, a, ul, li{
  -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
a {
  text-decoration: none !important;
  transition: all 0.5s;
}
.carousel-item img {
    width: 100%;
}
ul {
  padding: 0;
  margin: 0;
}
div#navbarCollapse {
    flex-direction: row-reverse;
}


a{text-decoration:none;color:inherit;}
  ul{list-style:none;margin:0;padding:0;}
  img{max-width:100%;display:block;}
  button{font-family:inherit;}
  .container{max-width:1180px;}

  /* Placeholder image slots -- drop real files at these relative paths later
     (e.g. /images/find-the-fact.jpg) and they'll appear automatically.
     Until then the coloured card + label underneath shows through. */
  .img-slot{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    border-radius:inherit;
    display:block;
    z-index:1;
    transform: rotate(-10deg);
  }

  .reveal{
    opacity:0;transform:translateY(40px) rotateX(8deg);transform-origin:top center;
    transition:opacity .8s cubic-bezier(.22,1,.36,1), transform .8s cubic-bezier(.22,1,.36,1);
  }
  .reveal.in-view{opacity:1;transform:translateY(0) rotateX(0);}
  .reveal-scale{opacity:0;transform:scale(.85) translateZ(-60px);transition:opacity .7s ease, transform .7s cubic-bezier(.22,1,.36,1);}
  .reveal-scale.in-view{opacity:1;transform:scale(1) translateZ(0);}

  /* ---------- HEADER ----------
     Starts as a full-width white bar (flush with the very top of the page).
     Past a small scroll threshold, header.scrolled shrinks .nav-wrap down to
     a bordered, container-width pill that floats with a gap from the top --
     and it reverts instantly back to full width the moment you scroll back
     up to the very top. Header itself is transparent/out-of-flow (fixed) so
     the transition never causes a layout jump; .nav-wrap carries all the
     actual visual states. */
  header{position:fixed;top:0;left:0;right:0;z-index:1000;background:transparent;pointer-events:none;z-index: 99999;}
  .nav-wrap{
    display:flex;align-items:center;justify-content:space-between;gap:18px;
    width:100%;max-width:100%;margin:0 auto;padding:16px 32px;
    background:#315FAE;border-radius:0;box-shadow:none;border:1px solid transparent;
    pointer-events:auto;
    transition:max-width .4s cubic-bezier(.22,1,.36,1), padding .4s ease,
      border-radius .4s ease, box-shadow .4s ease, border-color .4s ease, margin-top .4s ease;
  }
  header.scrolled .nav-wrap{
    max-width:1180px;margin-top:14px;padding:10px 50px;border-radius:999px;
    border-color:rgba(14,47,122,0.12);
    box-shadow:0 15px 40px rgba(14,47,122,0.18);
  }
  .logo{display:flex;align-items:center;gap:10px;font-weight:700;font-size:1.05rem;color:var(--blue-deep);white-space:nowrap;}
  .logo-mark{
    width:34px;height:34px;border-radius:8px;
    background:linear-gradient(135deg,var(--blue-mid),var(--blue-deep));
    display:flex;align-items:center;justify-content:center;color:#fff;font-size:1.1rem;flex-shrink:0;
  }
  .logo small{display:block;font-size:0.55rem;font-weight:500;letter-spacing:1.5px;color:#6b7690;text-transform:uppercase;}
  nav.primary-nav{display:flex;align-items:center;}
  nav.primary-nav > ul{display:flex;gap:2px;align-items:center;}
  nav.primary-nav > ul > li{position:relative;}
  .nav-item-row{display:flex;align-items:center;}
  nav.primary-nav a{
    display:inline-block;
    padding:10px 14px;
    font-size: 18px;
    font-weight: 400;
    color:#fff;
    border-radius:8px;
    transition:color .2s ease, background .2s ease;
    font-family: "Inter", sans-serif;
  }
  nav.primary-nav > ul > li > a.active,
  nav.primary-nav > ul > li > a:hover,
  nav.primary-nav .nav-item-row a:hover{color:#FE222F}

  /* Services dropdown -- a single JS-controlled class (.dropdown-open) is the
     ONLY thing that shows/hides the menu, on hover (desktop) or tap (icon
     button, all sizes). No competing CSS :hover rule, so there's nothing left
     to fight it or leave it stuck. */
  .has-dropdown{position:relative;}
  .dropdown-icon-btn{
    background:none;border:none;cursor:pointer;width:34px;height:34px;border-radius:8px;
    display:flex;align-items:center;justify-content:center;color:#33405e;flex-shrink:0;
    transition:background .2s ease, color .2s ease;
  }
  .dropdown-icon-btn:hover{background:rgba(28,79,176,0.08);color:var(--blue-mid);}
  .dropdown-caret{display:inline-block;font-size:0.65rem;transition:transform .25s ease;}
  .has-dropdown.dropdown-open .dropdown-caret{transform:rotate(180deg);}

 .dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-4px);

  min-width: 260px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(14, 47, 122, 0.18);
  border: 1px solid rgba(14, 47, 122, 0.06);
  padding: 10px;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 1100;
}

/* Desktop: open on hover/focus or through the JS-controlled class. */
@media (min-width: 992px) {
  .has-dropdown:hover > .dropdown-menu,
  .has-dropdown:focus-within > .dropdown-menu,
  .has-dropdown.dropdown-open > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }

  /* Invisible hover bridge between Services and the dropdown. */
  .has-dropdown > .dropdown-menu::after {
    content: "";
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 10px;
    background: transparent;
  }
}

  .dropdown-menu::before{
    content:"";position:absolute;top:-6px;left:50%;transform:translateX(-50%) rotate(45deg);
    width:12px;height:12px;background:#fff;border-left:1px solid rgba(14,47,122,0.06);border-top:1px solid rgba(14,47,122,0.06);
  }
  .dropdown-menu a{
    display:flex;flex-direction:column;gap:2px;padding:10px 12px;border-radius:8px;
    font-size:0.88rem;font-weight:600;color:#26314f;transition:background .15s ease, color .15s ease;
  }
  section.gallery-sec img {
    width: 217px;
    padding-bottom: 100px;
}

section.gallery-sec {
    text-align: center;
}

section.gallery-sec .slick-slide {
    text-align: center;
    margin: 0 auto;
}
  .dropdown-menu a span{font-size:0.75rem;font-weight:400;color:#7c85a0;}
  .dropdown-menu a:hover{background:rgba(47,111,224,0.08);color:var(--blue-mid);}

  .btn-submit-nav{
    background: #BF0712;
    color:#fff !important;
    padding:11px 26px !important;
    border-radius:999px;
    font-weight: 400 !important;
    box-shadow:0 8px 20px rgba(192,57,43,0.35);
    transition:transform .2s ease, box-shadow .2s ease !important;
    white-space:nowrap;
    font-size: 18px;
  }
  .btn-submit-nav:hover{transform:translateY(-2px);box-shadow:0 12px 26px rgba(192,57,43,0.45);}

  .menu-toggle{display:none;flex-direction:column;gap:5px;background:none;border:none;cursor:pointer;padding:6px;flex-shrink:0;}
  .menu-toggle span{width:24px;height:2.5px;background:var(--blue-deep);border-radius:2px;transition:transform .25s ease, opacity .25s ease;}

  /* ---------- HERO ---------- */
.hero {
    position: relative;
    background-color: #0d438d;
    background-image: url(../images/banner-image.png);
    padding: 160px 16px 280px;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    background-position: center top;
}
a.logo img {
    width: 206px;
}
  .hero-content{position:relative;z-index:2;max-width:900px;margin:0 auto;text-align:center;color:#fff;}
  .hero-content h1{font-size:60px;line-height:1.18;font-family: "Inter", sans-serif;font-weight: 600;letter-spacing:-0.5px;}
.hero-content .script {
    font-size: 130px;
    font-weight: 400;
    font-family: "Mr Dafoe", cursive;
    -webkit-background-clip: text;
    background-clip: text;
    background-image: linear-gradient(to left bottom, #ffe7ab, #ebcc84, #d7b15e, #c39737, #af7d00);
    color: transparent;
    line-height: 1.05;
    display: block;
}
.hero-content p.lead {
    font-size: 22px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    max-width: 100%;
    margin: 0 auto 34px;
    font-weight: 500;
}
  .hero-content p.lead b{color:#fff;font-weight:700;}
  .hero-ctas{display:flex;justify-content:center;gap:16px;flex-wrap:wrap;margin-bottom:60px;}
  .btn{padding:14px 34px;border-radius:999px;font-weight: 400;font-size: 18px;cursor:pointer;border:none;transition:transform .2s ease, box-shadow .2s ease, background .2s ease;}
  .btn-red{background:linear-gradient(180deg,var(--red) 0%, var(--red-dark) 100%);color:#fff;box-shadow:0 10px 24px rgba(192,57,43,0.4);font-size: 18px;font-weight: 400;}
  .btn-red:hover{transform:translateY(-3px);box-shadow:0 14px 30px rgba(192,57,43,0.5);}
  .btn-outline{background:transparent;color:#fff;border:1.5px solid rgba(255,255,255,0.7);}
  .btn-outline:hover{background:rgba(255,255,255,0.12);transform:translateY(-3px);}
  .btn-white{background:#fff;color:var(--red);box-shadow:0 10px 24px rgba(0,0,0,0.15);}
  .btn-white:hover{transform:translateY(-3px);box-shadow:0 14px 30px rgba(0,0,0,0.2);}

 /* .books{
    position:relative;z-index:2;display:flex;justify-content:center;align-items:flex-end;
    max-width:900px;margin:0 auto;padding-bottom:0;transform-style:preserve-3d;
  }
.book {
    width: 200px;
    height: 260px;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0 0px;
    color: #fff;
    position: relative;
    overflow: hidden;
    margin: 0px -14px;
    transition: transform .35s ease, box-shadow .35s ease;
    transform-style: preserve-3d;
}
  .book:hover{transform:translateY(-14px) scale(1.03) rotateY(6deg);}
  .book:nth-child(1){transform:rotate(-10deg) translateY(30px);}
  .book:nth-child(2){transform:rotate(-5deg) translateY(6px);}
  .book:nth-child(3){transform:translateY(-14px);z-index:3;}
  .book:nth-child(4){color:#26314f;transform:rotate(5deg) translateY(6px);}
  .book:nth-child(5){transform:rotate(10deg) translateY(30px);}
  .book:nth-child(1):hover{transform:rotate(-10deg) translateY(16px) scale(1.03);}
  .book:nth-child(2):hover{transform:rotate(-5deg) translateY(-8px) scale(1.03);}
  .book:nth-child(3):hover{transform:translateY(-28px) scale(1.03);}
  .book:nth-child(4):hover{transform:rotate(5deg) translateY(-8px) scale(1.03);}
  .book:nth-child(5):hover{transform:rotate(10deg) translateY(16px) scale(1.03);}
  .book .title{font-weight:800;font-size:1.15rem;line-height:1.1;text-transform:uppercase;position:relative;z-index:2;}
  .book .author{font-size:0.6rem;text-transform:uppercase;letter-spacing:1px;opacity:0.85;position:relative;z-index:2;}
  .book.sideways .title{writing-mode:vertical-rl;transform:rotate(180deg);align-self:flex-start;}
  .books-fade{height:60px;background:linear-gradient(180deg, transparent, var(--cream));margin-top:-40px;position:relative;z-index:1;}
*/
     /* Banner Container */
.banner-container {
  width: 100%;
  display: flex;
  justify-content: space-around;
  align-items: flex-end; /* Align bottom to form upper arc */
  padding: 170px 0px 120px;
  perspective: 1200px; /* 3D depth */
  position: relative;
  margin-top: -320px;
}

/* Base Image Styling */
.book {
  width: 16vw;
  height: auto;
  object-fit: contain;
  cursor: pointer;
  position: relative;
  z-index: 1;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.4s ease, z-index 0.2s;
  left: 0px;
}

/* --- Upper Half-Circle (Arc) Geometry --- */

/* 1. Far Left (Bottom of arc) */
.book-1 {
  transform: translateY(110px) rotate(-12deg) rotateY(18deg);
}

/* 2. Mid Left (Rising along arc) */
.book-2 {
  transform: translateY(-20px) rotate(9deg) rotateY(9deg);
}

/* 3. Center (Peak of the arc) */
.book-3 {
  transform: translateY(-80px) rotate(0deg);
  z-index: 2;
}

/* 4. Mid Right (Descending along arc) */
.book-4 {transform: translateY(-20px) rotate(-2deg) rotateY(0);}

/* 5. Far Right (Bottom of arc) */
.book-5 {transform: translateY(100px) rotate(8deg) rotateY(0);left: -30px;}

/* --- 3D Hover Animation & Effects --- */

.book:hover {
  z-index: 20; /* Bring hovered image above all */
  transform: translateY(-35px) scale(1.18) translateZ(60px) rotate(0deg) rotateY(0deg);
  filter: drop-shadow(0 25px 30px rgba(0, 0, 0, 0.75));
}

/* --- Responsive Scaling --- */
@media (max-width: 1200px) {
  .hero-content h1 {
      font-size: 50px;
  }

  .hero-content .script {
      font-size: 90px;
  }

  .banner-container {
      padding: 110px 0px 60px;
  }

  .stat-number {
      font-size: 40px;
  }

  .stat-label {
      font-size: 15px;
  }

  .services-dark h2 {
      max-width: 100%;
  }

  .gallery-service-header h2 {
      font-size: 16px;
  }

  .services-dark h2 {}

  h2.reveal.in-view {
      font-size: 25px;
  }

  .step-4 .bg-number {
      right: 0 !important;
  }

  .col-lg-6.why-copy {
      margin-bottom: 50px;
  }

  .choose-book-sticky img {
      width: 140px !important;
  }

  .card-multiple {
      height: 1050px;
      margin-bottom: 60px;
  }
}
@media (max-width: 768px) {
  .banner-container {
    min-height: 300px;
    padding: 40px 1vw 20px 1vw;
  }

  .book {
    width: 18vw;
    min-width: 60px;
  }
  section.process-section::after {
    display: none;
}

section.process-section::before {
    display: none;
}
section.ip-section::after {
    display: none;
}

section.ip-section::before {
    display: none;
}
section.manuscript-hero::before {
    display: none;
}


  /* Tighter vertical offsets for mobile screens */
  .book-1 { transform: translateY(20px) rotate(-14deg); }
  .book-2 { transform: translateY(5px) rotate(-7deg); }
  .book-3 { transform: translateY(-10px) rotate(0deg); }
  .book-4 { transform: translateY(5px) rotate(7deg); }
  .book-5 { transform: translateY(20px) rotate(14deg); }

  .book:hover {
    transform: translateY(-15px) scale(1.15) translateZ(30px) rotate(0deg);
  }
}
  /* ---------- STATS ---------- */
  .stats-section {
    background: var(--cream);
    padding: 100px 0 110px;
    position: relative;
    z-index: 3;
}
  .stats-section .row{perspective:1200px;}
  .stat-card{
    background:#fff;border-radius:16px;padding:28px 20px;text-align:center;height:100%;
    box-shadow:0 16px 40px rgba(14,47,122,0.1);position:relative;transform-style:preserve-3d;
    transition:transform .5s cubic-bezier(.22,1,.36,1), box-shadow .3s ease;
  }
  .stat-card:hover{transform:rotateX(6deg) translateY(-6px);box-shadow:0 24px 50px rgba(14,47,122,0.16);}
.stat-card.highlight {
    background: #2071F1;
    color: #fff;
    box-shadow: 0 20px 44px rgba(28, 79, 176, 0.4);
}
.stat-icon {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 26px;
    border-radius: 50%;
    background: rgba(14, 47, 122, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
}
  .stat-card.highlight .stat-icon{background:rgba(255,255,255,0.2);}
.stat-number {
    font-size: 60px;
    font-weight: 500;
    color: #000000;
    text-align: left;
    padding-top: 60px;
    font-family: "Inter", sans-serif;
}
  .stat-card.highlight .stat-number{color:#fff;}
.stat-label {
    font-size: 20px;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-top: 6px;
    text-align: left;
    font-weight: 400;
    font-family: "Inter", sans-serif;
}
  .stat-card.highlight .stat-label{color:rgba(255,255,255,0.85);}

  /* ---------- SERVICES (dark) ----------
     Heading + card grid are centered in the container; the book is a purely
     decorative element that pokes up out of the top-left corner of the section. */
  .services-dark{
    background: #06132d;
    color:#fff;
    padding:130px 0 120px;
    position:relative;
    overflow:hidden;
    text-align:center;
  }
  .services-book-decor{position:absolute;top:0;left:0;transform:translateY(-42%);z-index:5;perspective:1200px;}
.floating-book
 {
    width: 280px;
    height: 310px;
    max-width: 100%;
    border-radius: 6px 10px 10px 6px;
    overflow: hidden;
    transform: rotate(356deg) rotateY(10deg);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px 18px;
    transition: transform .6s cubic-bezier(.22, 1, .36, 1);
    animation: floatBook 6s ease-in-out infinite;
    transform-style: preserve-3d;
}
  .floating-book .fb-title{font-weight:800;font-size:1.3rem;letter-spacing:1px;color:#eef1fb;text-transform:uppercase;line-height:1.15;position:relative;z-index:2;text-align:left;}
  .floating-book .fb-sub{font-size:0.65rem;letter-spacing:2px;text-transform:uppercase;color:#9aa6cf;margin-top:8px;position:relative;z-index:2;text-align:left;}
  @keyframes floatBook{
    0%,100%{transform:rotate(-16deg) rotateY(10deg) translateY(0);}
    50%{transform:rotate(-13deg) rotateY(16deg) translateY(-16px);}
  }
  .eyebrow{
    display:inline-block;
    font-size: 14px;
    letter-spacing:1.4px;
    color: #fff;
    background:rgba(232,182,74,0.12);
    padding:6px 16px;
    border-radius:999px;
    margin-bottom:16px;
    font-weight: 400;
    font-family: "Inter", sans-serif;
  }
  .services-dark h2{
    font-size: 55px;
    font-weight: 400;
    line-height:1.25;
    margin: 0 auto 0;
    max-width: 70%;
    font-family: "Inter", sans-serif;
  }
  .service-cards{perspective:1400px;max-width:100%;margin: 40px auto 0;}
  .service-card{
    background:rgba(255,255,255,0.04);border:1px solid rgba(255,255,255,0.08);
    border-radius:16px;padding:22px;display:flex;gap:16px;height:100%;text-align:left;
    transform-style:preserve-3d;transition:transform .25s ease, background .25s ease, box-shadow .25s ease;
    cursor:pointer;
  }
  .service-card:hover{background:rgba(255,255,255,0.07);box-shadow:0 20px 40px rgba(0,0,0,0.35);}
.service-thumb {
    position: relative;
    width: 158px;
    height: 158px;
    border-radius: 12px;
    flex-shrink: 0;
    overflow: hidden;
    background: linear-gradient(135deg, var(--blue-mid), var(--blue-deep));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}
  .service-cards .col-12:nth-child(2) .service-thumb{background:linear-gradient(135deg,#e07a1f,#c0392b);}
  .service-cards .col-12:nth-child(3) .service-thumb{background:linear-gradient(135deg,#3aa146,#1f6b32);}
  .service-cards .col-12:nth-child(4) .service-thumb{background:linear-gradient(135deg,#e6b93a,#b8862a);}
  .service-card h3{font-size: 20px;margin-bottom:6px;font-weight: 500;font-family: "Inter", sans-serif;color: #fff;}
  .service-card p{font-size: 14px;color: #fff;line-height:1.6;margin-bottom:10px;font-weight: 400;opacity: 0.6;}
  .service-card .view-more{font-size: 14px;font-weight: 400;color:#fff;text-decoration: underline !important;}
  .services-footer{text-align:center;margin-top:48px;}

  /* ---------- ROADMAP ----------
     The connecting line is drawn by JS from the *actual* on-screen position of
     each dot (see drawRoadmapLine()), so it is always exactly as wide as the
     content column it lives in -- it can never drift to full viewport width. */
  .roadmap{position:relative;background:#fff;padding:110px 0 80px;overflow:hidden;}
  .roadmap-watermark{
    position:absolute;bottom:-10px;left:50%;transform:translateX(-50%);
    font-size:clamp(4rem,14vw,10rem);font-weight:800;color:rgba(14,47,122,0.05);
    letter-spacing:6px;white-space:nowrap;pointer-events:none;user-select:none;
  }
  .roadmap-head{position:relative;z-index:2;margin-bottom:80px;}
  .roadmap-head .eyebrow{display:block;width:fit-content;color: #030505;background:rgba(28,79,176,0.08);font-size: 14px;font-weight: 400;padding: 6px 16px;border-radius: 999px;}
  .roadmap-head .row{align-items:center;}
  .roadmap-head h2{font-size: 55px;font-weight: 400;color: #030505;line-height:1.3;margin:0;font-family: "Inter", sans-serif;}
  .roadmap-head p{font-size: 16px;color:var(--muted);line-height:1.7;margin:0;font-weight: 400;}

  .roadmap-path{position:relative;max-width:1000px;margin:0 auto;z-index:2;}
  /* The line lives at the SECTION level (full width, edge to edge) while the
     numbered content stays inside .container -- matches the reference design,
     where the wave bleeds full-bleed but the text column stays readable-width. */
  .roadmap-svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none;z-index:1;}
  .roadmap-line{
    fill:none;stroke:var(--blue-mid);stroke-width:3;stroke-linecap:round;
    transition:stroke-dashoffset 1.8s cubic-bezier(.22,1,.36,1);
  }

  /* Full-amplitude zigzag: pos-high pins its dot to the TOP of the row and
     lets its text fall below; pos-low pins its dot to the BOTTOM (via
     column-reverse) and lets its text sit above -- the classic alternating
     roadmap-timeline pattern, matching the reference wave shape. The line
     drawn in JS reads these exact dot positions, so it always traces the
     real zigzag rather than a flatter approximation. */
  .roadmap-row{display:flex;align-items:stretch;gap:24px;position:relative;z-index:2;padding:0 10px;height:400px;}
  .roadmap-point{flex:1;min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:14px;}
  .roadmap-point.pos-high{justify-content:flex-start;}
  .roadmap-point.pos-low{justify-content:flex-end;flex-direction:column-reverse;}
  .roadmap-dot{
    width:16px;height:16px;border-radius:50%;background:var(--blue-mid);flex-shrink:0;
    box-shadow:0 0 0 6px rgba(28,79,176,0.15);transform:scale(0);
    transition:transform .5s cubic-bezier(.34,1.56,.64,1);
  }
  .roadmap-dot.in-view{transform:scale(1);}
  .roadmap-num{font-size:2.4rem;font-weight:800;color:rgba(28,79,176,0.18);line-height:1;}
  .roadmap-point h3{font-size:1rem;color:var(--ink);margin:0;}
  .roadmap-point p{font-size:0.85rem;color:var(--muted);line-height:1.6;margin:0;}

  /* ---------- WHY CHOOSE (vertical slider) ---------- */
.why-choose {
    padding: 100px 0 0;
    overflow: hidden;
    width: 100%;
    position: relative;
}

.why-choose::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../images/choose-us-bg.png") center right / cover no-repeat;
    animation: bgPulse 4s ease-in-out infinite;
    z-index: 0;
}

.why-choose > * {
    position: relative;
    z-index: 1;
}

@keyframes bgPulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}
.choose-book-sticky {
    position: absolute;
    bottom: 0;
    left: 0;
}

.choose-book-sticky img {
    width: 390px;
}
  .why-copy .eyebrow{color:var(--blue-mid);background:rgba(28,79,176,0.1);}
  .why-copy h2{font-size: 55px;font-weight: 400;color:var(--ink);line-height:1.25;margin-bottom:20px;width: 90%;}
  .why-copy p{color:var(--muted);line-height:1.7;max-width:420px;margin-bottom:28px;}
  .stack-books{position:relative;height:280px;perspective:1000px;margin-top:50px;max-width:280px;}
  .stack-book{
    position:absolute;left:0;bottom:0;border-radius:6px;overflow:hidden;
    box-shadow:0 20px 40px rgba(14,47,122,0.25);transform-style:preserve-3d;transition:transform .4s ease;
  }
  .stack-book:nth-child(1){width:220px;height:60px;background:#1c4fb0;bottom:0;}
  .stack-book:nth-child(2){width:210px;height:60px;background:#0e2f7a;bottom:55px;left:6px;}
  .stack-book:nth-child(3){width:150px;height:210px;background:linear-gradient(160deg,#111c3d,#04070f);bottom:110px;left:30px;transform:rotate(-8deg);}
  .stack-book:nth-child(3):hover{transform:rotate(-11deg) translateY(-10px);}

  .vslider{display:flex;flex-direction:column;align-items:center;gap:16px;}
  .vslide-btn{
    width:44px;height:44px;border-radius:50%;border:none;background:#fff;color:var(--blue-mid);
    box-shadow:0 10px 24px rgba(28,79,176,0.22);cursor:pointer;font-size:0.95rem;
    transition:transform .2s ease, background .2s ease, color .2s ease;
  }
  .vslide-btn:hover{background:var(--blue-mid);color:#fff;transform:translateY(-2px);}
  /* Cross-fade slider: only the .active item ever has opacity/visibility on,
     so it is structurally impossible for two slides to be visible together
     -- no scroll or transform math involved at all. */
  .vslide-viewport{width:100%;max-width:400px;height:240px;border-radius:18px;position:relative;}
  .vslide-track{position:relative;width:100%;height:100%;}
  .vslide-item{
    position:absolute;inset:0;width:100%;height:100%;padding:2px;
    opacity:0;visibility:hidden;transform:translateY(12px);z-index:1;pointer-events:none;
    transition:opacity .45s ease, transform .45s ease, visibility .45s ease;
  }
  .vslide-item.active{opacity:1;visibility:visible;transform:translateY(0);z-index:2;pointer-events:auto;}
  .vslide-item .compare-card{height:100%;margin:0;}
  .vslide-dots{display:flex;gap:8px;}
  .vslide-dots span{width:8px;height:8px;border-radius:50%;background:rgba(28,79,176,0.25);cursor:pointer;transition:background .2s ease, transform .2s ease;display:inline-block;}
  .vslide-dots span.active{background:var(--blue-mid);transform:scale(1.3);}

  .compare-card{
    background:linear-gradient(150deg,#2f6fe0,#123a92);color:#fff;border-radius:18px;padding:24px 26px;
    position:relative;overflow:hidden;box-shadow:0 20px 44px rgba(28,79,176,0.35);
    transform-style:preserve-3d;transition:transform .4s cubic-bezier(.22,1,.36,1), box-shadow .3s ease;
  }
  .compare-card:hover{transform:rotateX(3deg) translateY(-6px);box-shadow:0 28px 54px rgba(28,79,176,0.45);}
  .compare-card .big-num{position:absolute;right:14px;bottom:-6px;font-size:5rem;font-weight:800;color:rgba(255,255,255,0.12);line-height:1;}
  .compare-card h3{font-size:1rem;margin-bottom:14px;display:flex;align-items:center;gap:8px;}
  .compare-row{display:flex;justify-content:space-between;font-size:0.85rem;padding:7px 0;border-bottom:1px solid rgba(255,255,255,0.14);}
  .compare-row:last-child{border-bottom:none;}
  .compare-row span:first-child{color:rgba(255,255,255,0.75);}
  .compare-row span:last-child{font-weight:700;}
  .compare-row.win span:last-child{color:var(--gold-light);}

  /* ---------- MOMENTS / GALLERY CAROUSEL ---------- */
  .moments{background:var(--cream);padding: 100px 0 13px;text-align:center;overflow:hidden;}
  .moments .eyebrow{color: #030505;background:rgba(28,79,176,0.08);}
  .moments h2{font-size: 55px;font-weight: 400;color:var(--ink);margin-bottom:50px;font-family: "Inter", sans-serif;width: 40%;margin: 0 auto 80px;}
  .gallery-row{display:flex;align-items:center;justify-content:center;gap:14px;}
  .gallery-arrow{
    width:46px;height:46px;border-radius:50%;border:none;background:#fff;color:var(--blue-deep);
    box-shadow:0 12px 26px rgba(14,47,122,0.16);cursor:pointer;font-size:1rem;flex-shrink:0;
    transition:transform .2s ease, background .2s ease, color .2s ease;
  }
  .gallery-arrow:hover{background:var(--blue-mid);color:#fff;transform:translateY(-2px);}
  .carousel-track-wrap{perspective:1600px;overflow:hidden;padding:20px 0 10px;flex:1;min-width:0;}
  .carousel-track{display:flex;justify-content:center;transform-style:preserve-3d;}
  .carousel-book{
    width:150px;height:220px;border-radius:6px;margin:0 -8px;flex-shrink:0;position:relative;overflow:hidden;
    box-shadow:0 20px 36px rgba(0,0,0,0.3);display:flex;flex-direction:column;justify-content:flex-end;
    padding:16px;color:#fff;transition:transform .5s cubic-bezier(.22,1,.36,1), opacity .5s ease;
    cursor:pointer;
  }
  .carousel-book .ct{font-weight:800;font-size:1rem;text-transform:uppercase;line-height:1.15;position:relative;z-index:2;}
  .carousel-book .ca{font-size:0.55rem;opacity:0.8;text-transform:uppercase;letter-spacing:1px;margin-top:4px;position:relative;z-index:2;}
  .gallery-dots{display:flex;justify-content:center;gap:8px;margin-top:26px;}
  .gallery-dots span{width:8px;height:8px;border-radius:50%;background:rgba(14,47,122,0.2);cursor:pointer;transition:background .2s ease, transform .2s ease;display:inline-block;}
  .gallery-dots span.active{background:var(--blue-mid);transform:scale(1.3);}

  /* two marquee lines under the gallery: one drifts right, one drifts left */
  .marquee-row{
    overflow:hidden;
    white-space:nowrap;
    padding:15px 0;
    margin:16px 0 0;
    background: #D93F48;
    transform: rotate(-3.1deg);
    box-shadow:0 14px 30px rgba(192,57,43,0.3);
    }
  .marquee-row.blue{
    background: #139FF3;
    transform: rotate(
358deg);
    box-shadow:0 14px 30px rgba(28,79,176,0.3);
    margin-top: 7px;
    }
  .marquee-track{display:inline-flex;width:max-content;will-change:transform;}
  .marquee-track.right{animation:marqueeRight 22s linear infinite;}
  .marquee-track.left{animation:marqueeLeft 22s linear infinite;}
  .marquee-item{color:#fff;font-weight: 800;font-size:50px;padding:0 30px;display:inline-block;font-family: "Inter", sans-serif;}
  @keyframes marqueeRight{from{transform:translateX(-50%);}to{transform:translateX(0);}}
  @keyframes marqueeLeft{from{transform:translateX(0);}to{transform:translateX(-50%);}}
  @media (prefers-reduced-motion:reduce){.marquee-track.right,.marquee-track.left{animation:none;}}

  /* ---------- CTA MANUSCRIPT ---------- */
.cta-manuscript { position: relative; color: #fff; padding: 100px 0 90px; overflow: hidden; } .cta-manuscript::before { content: ""; position: absolute; inset: 0; background: url("../images/manuscript-bg.png") center center / 100% 100% no-repeat; animation: manuscriptBgPulse 4s ease-in-out infinite; z-index: 0; } .cta-manuscript > * { position: relative; z-index: 1; } @keyframes manuscriptBgPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.02); } }
  .cta-inner{max-width: 100%;margin:0 auto;text-align:center;position:relative;z-index:2;}
  .cta-inner h2{font-size: 55px;font-weight: 400;margin-bottom:14px;margin-top:0;color: #fff;}
  .cta-inner p{color: #fff;margin: 0 auto 50px;line-height:1.7;font-size: 22px;font-weight: 400;}
  .cta-inner p b{color:#fff;font-weight:700;}
  .cta-pills{margin:0 auto 40px;}
  .cta-pill{
    background:#fff;
    color:var(--ink);
    border-radius:16px;
    padding: 60px 14px;
    text-align: center;
    height:100%;
    box-shadow:0 18px 36px rgba(0,0,0,0.2);
    position:relative;
    transform-style:preserve-3d;
    transition:transform .4s ease;
  }
  .cta-pill:hover{transform:translateY(-6px) rotateX(4deg);}
  .cta-pill .pill-icon{width:30px;height:30px;border-radius:8px;display:flex;align-items:center;justify-content:center;margin-bottom:10px;font-size:0.9rem;margin: 0 auto 30px;}
  .cta-pill.mid{color:#fff;background-image: linear-gradient(to bottom, #d06b7a, #d06da0, #bc79c8, #8d8ceb, #009fff);}
.cta-pill.mid.reveal.in-view .pill-label {
    color: #fff;
}

.cta-pill.mid.reveal.in-view .pill-value {
    color: #fff !important;
}
  .cta-pill .pill-label{font-size: 18px;text-transform: capitalize;letter-spacing:0.6px;opacity: 1;margin-bottom:4px;font-weight: 700;font-family: "Inter", sans-serif;color: #012056;}
  .cta-pill .pill-value{font-weight: 400;font-size: 18px;color: #012056;}
  .cta-side-book{
    position:absolute;right:5%;bottom:-40px;width:160px;height:230px;border-radius:6px;overflow:hidden;
    background:linear-gradient(160deg,#132244,#050a18);box-shadow:0 30px 60px rgba(0,0,0,0.4);
    transform:rotate(14deg);display:none;
  }
  @media(min-width:900px){.cta-side-book{display:block;}}

  /* ---------- FAQ ---------- */
.faq-section {
    padding: 100px 0 0;
    position: relative;
    width: 100%;
    overflow: hidden;
}

.faq-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../images/faq-bg.png") center left / 100% 100% no-repeat;
    animation: faqBgPulse 4s ease-in-out infinite;
    z-index: 0;
}

.faq-section > * {
    position: relative;
    z-index: 1;
}

@keyframes faqBgPulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }
}
.faq-inner { max-width: 1010px; margin: 0 auto; }
.faq-inner .eyebrow { display: block; text-align: center; margin: 0 auto 14px; width: fit-content; color: #030505; background: rgba(28,79,176,0.08); font-size: 14px; font-weight: 400; padding: 6px 16px; border-radius: 999px; }
.faq-inner h2 { text-align: center; font-size: 55px; font-weight: 400; color: #030505; margin-bottom: 44px; }
.faq-item { border: 1px solid rgba(14,47,122,0.1); border-radius: 14px; margin-bottom: 14px; overflow: hidden; background: #fbfcff; }

.faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    cursor: pointer;
    font-size: 22px;
    color: #030505;
    font-weight: 600;
    font-family: "Inter", sans-serif;
}
.faq-q .faq-toggle {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform .3s ease, background .3s ease, color .3s ease;
}
.faq-item.open .faq-toggle {
    transform: rotate(45deg);
    background: var(--blue-mid, #1c4fb0);
    color: #fff;
}

/* Fixed Animated Accordion CSS */
.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0, 1, 0, 1);
}
.faq-item.open .faq-a {
    transition: max-height 0.35s ease-in-out;
}
.faq-a-inner {
    padding: 0 22px 20px;
}
.faq-a p {
    color: var(--muted, #666);
    font-size: 0.88rem;
    line-height: 1.7;
    margin: 0;
}

.brand-watermark {
    text-align: center;
    padding: 10px 16px 70px;
    overflow: hidden;
    z-index: 999999999;
    position: relative;
}
  .brand-watermark svg{width:100%;max-width:820px;height:auto;display:block;margin:0 auto;}
.brand-watermark-text {
    font-size: 64px;
    fill: #139FF3;
    text-transform: uppercase;
    font-weight: 800;
}
  /* ---------- FOOTER ---------- */
  footer{background:var(--navy);color:rgba(255,255,255,0.75);padding:80px 0 30px;position:relative;overflow:hidden;}
  .footer-top{padding-bottom:50px;}
  .footer-label{font-size:0.75rem;color:#8b95bd;margin-bottom:8px;}
  .footer-email{font-size:1.3rem;font-weight:700;color:#fff;word-break:break-word;}
  .newsletter h3 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 14px;
    text-align: right;
}
.newsletter-form {
    display: flex;
    gap: 10px;
    width: 420px;
    float: right;
}
  .newsletter-form input{flex:1;padding:13px 18px;border-radius:999px;border:1px solid rgba(255,255,255,0.2);background:rgba(255,255,255,0.05);color:#fff;font-size:0.85rem;min-width:0;}
  .newsletter-form input::placeholder{color:#8b95bd;}
  .newsletter-form button{padding:13px 26px;border-radius:999px;background:#fff;color:var(--navy);font-weight:700;border:none;cursor:pointer;transition:transform .2s ease;flex-shrink:0;}
  .newsletter-form button:hover{transform:translateY(-2px);}
  .footer-bottom{position:relative;align-items:start;}
  .footer-links li{margin-bottom:10px;font-size:0.9rem;}
  .footer-links li a:hover{color:#fff;}
  .footer-social {
    display: flex;
    gap: 10px;
    margin-bottom: 26px;
    flex-direction: row-reverse;
}
  .footer-social a{width:36px;height:36px;border-radius:50%;background:rgba(255,255,255,0.08);display:flex;align-items:center;justify-content:center;font-size:0.85rem;transition:background .2s ease, transform .2s ease;}
  .footer-social a:hover{background:var(--red);transform:translateY(-3px);}
 .footer-office h4 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 10px;
    text-align: right;
}
.footer-office {
    float: right;
}
.footer-office p {
    font-size: 0.88rem;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 10px;
    max-width: 230px;
    text-align: right;
}
  .footer-office p .icon{flex-shrink:0;}
  /* Book floats centred over the boundary between the two footer columns,
     matching the design, instead of being pinned to the far edge. */
.footer-book
 {
    position: absolute;
    left: 46%;
    bottom: -280px;
    transform: translateX(-50%) rotate(10deg);
    z-index: 2;
    width: 330px;
    height: 410px;
    border-radius: 6px;
    overflow: hidden;
    display: none;
    animation: footFloat 7s ease-in-out infinite;
}
  @keyframes footFloat{
    0%,100%{transform:translateX(-50%) rotate(10deg) translateY(0);}
    50%{transform:translateX(-50%) rotate(7deg) translateY(-14px);}
  }
  @media(min-width:992px){.footer-book{display:block;}}
  .footer-rule{border-top:1px solid rgba(255,255,255,0.1);margin-top:50px;padding-top:22px;display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;font-size:0.8rem;color:#8b95bd;}
  .footer-rule a{margin-left:18px;}
  .footer-rule a:hover{color:#fff;}

  /* ---------- RESPONSIVE ---------- */
  @media (max-width:991px){
    nav.primary-nav > ul{display:none;}
    .menu-toggle{display:flex;}
    .nav-wrap{position:relative;}
    nav.primary-nav.mobile-open > ul{
      display:flex;flex-direction:column;position:absolute;top:calc(100% + 10px);left:0;right:0;
      background:#fff;padding:14px;gap:2px;border-radius:20px;box-shadow:0 18px 30px rgba(14,47,122,0.18);
    }
    .process-line {
    display: none;
}
    nav.primary-nav.mobile-open > ul > li{width:100%;}
    .nav-item-row{justify-content:space-between;}
    .dropdown-menu{
      position:static;transform:none;box-shadow:none;border:none;opacity:1;visibility:visible;
      pointer-events:auto;display:none;min-width:100%;padding:0 0 0 12px;
    }
    .has-dropdown.dropdown-open .dropdown-menu{display:flex;flex-direction:column;}
    .dropdown-menu::before{display:none;}
    .btn-submit-nav{display:none;}
    .book{width:160px;height:190px;padding:12px 10px;}
    .book .title{font-size:0.85rem;}
    .books{gap:0;}
    .services-book-decor{display:none;}
    .services-dark{padding-top:100px;}
    .roadmap-svg{display:none;}
    .roadmap-row{flex-direction:column;gap:36px;height:auto;}
    .roadmap-point{flex-direction:column !important;justify-content:flex-start !important;}
    .roadmap-head .row{text-align:center;}
    .roadmap-head p{margin-top:10px;}

  }
  @media (max-width:560px){
    .nav-wrap{padding:12px 14px;}
    .hero{
      padding:70px 12px 240px;
      background-position: center top;
      background-size: auto 100%;
    }
    .book{width:1100px;height:160px;padding:8px;border-radius:4px;}
    .book .title{font-size:0.6rem;}
    .book .author{display:none;}
    .hero-ctas{margin-bottom:40px;}
    .carousel-book{width:100px;height:150px;}
    .gallery-arrow{width:38px;height:38px;font-size:0.85rem;}
    .vslide-viewport{max-width:100%;}
    .nav-wrap.container {
    padding: 10px 21px !important;
}
.newsletter-form {
    display: inline-block;
    width: 100%;
}

.newsletter h3 {
    text-align: left;
    margin-top: 50px;
}

.footer-rule {
    justify-content: center;
}
h2.reveal.in-view {
        max-width: 100%;
    }

    span.marquee-item {
        font-size: 14px;
    }

a.logo img {
    width: 126px;
}

.hero-content h1 {
    font-size: 40px;
}

section#home {
    padding: 110px 12px 240px;
}
  }

    @media (max-width:426px){
      .hero-content h1 {
        font-size: 32px;
    }

    .hero-content .script {
        font-size: 70px;
    }

    .hero-content p.lead {
        font-size: 16px;
    }

    h2.reveal.in-view {
        max-width: 100%;
    }

    span.marquee-item {
        font-size: 14px;
    }

    .cta-inner p {
        font-size: 16px;
    }

    .faq-q {
        font-size: 17px;
    }

    }
  .brand-watermark img {
    width: 80%;
    margin: 0 auto;
}
.banner-books {
    text-align: center;
}

.banner-books img {
    width: 100%;
}
.card-multiple {
    height: 1070px;
    overflow-y: auto;
    scrollbar-width: none;
}

.card-multiple::-webkit-scrollbar {
    display: none;
}
.card-multiple .card
 {
    position: relative;
    width: 100%;
    height: auto;
    background-color: rgb(140 195 242 / 58%);
    border-radius: 28px;
    padding: 35px;
    overflow: hidden;
    box-shadow: 0px 0px 5px #00000054;
    display: flex;
    flex-direction: column;
    margin-bottom: 40px;
}

/* Background Abstract Waves */
.card-multiple .bg-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(2px);
    mix-blend-mode: overlay;
    pointer-events: none;
}

.card-multiple .shape-1 {
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0) 70%);
    top: -20%;
    right: -30%;
    border-radius: 43% 57% 41% 59% / 40% 45% 55% 60%; /* Organic wave curvature */
}

.card-multiple .shape-2 {
    width: 450px;
    height: 450px;
    background: linear-gradient(180deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 80%);
    bottom: -10%;
    right: -10%;
    border-radius: 50% 50% 30% 70% / 50% 60% 40% 50%;
}

/* Large Background Number */
.card-multiple .bg-number {
    position: absolute;
    bottom: -15px;
    right: 25px;
    font-size: 210px;
    font-weight: 800;
    color: #AEE1FF;
    line-height: 1;
    pointer-events: none;
    user-select: none;
    letter-spacing: -5px;
    z-index: 1;
}

/* Header Action Row */
.card-multiple .card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
    background: no-repeat;
    border-bottom: none;
}

/* Left Isometric Box Icon container */
.card-multiple .icon-box {
    width: 54px;
    height: 54px;
    background: linear-gradient(135deg, #6366f1 0%, #3b82f6 100%);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

.card-multiple .icon-box svg {
    width: 24px;
    height: 24px;
}

/* Right Arrow Action Button */
.card-multiple .arrow-btn {
    width: 55px;
    height: 55px;
    background-color: rgba(255, 255, 255, 0.35);
    border: none;
    border-radius: 50%;
    color: #0c2340;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.card-multiple .arrow-btn:hover {
    background-color: rgba(255, 255, 255, 0.6);
    transform: translate(2px, -2px);
}

.card-multiple .arrow-btn svg {
    width: 24px;
}

/* Main Section Heading */
.card-multiple .main-title {
    color: #020E26;
    font-size: 30px;
    font-weight: 500;
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
    letter-spacing: -0.5px;
    font-family: "Inter", sans-serif;
}

/* Features List Container */
.card-multiple .feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative;
    z-index: 2;
}

/* List Item Rows Layout */
.card-multiple .list-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    color: #0c2340;
}

/* Circle Checked Icon Wrapper */
.card-multiple .check-icon {
    width: 18px;
    height: 18px;
    border: 1.5px solid #0052cc;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 10px;
    font-weight: bold;
    color: #0052cc;
    margin-top: 3px;
    flex-shrink: 0;
}

/* Structure Inside List Item Texts */
.card-multiple .item-content {
    display: flex;
    flex-direction: column;
}

.card-multiple .list-item .label {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    font-family: "Inter", sans-serif;
}

.card-multiple .list-item .subtext {
    font-size: 15px;
    font-weight: 400;
    color: rgba(12, 35, 64, 0.85);
    margin-top: 2px;
}

/* Top Active Blue Highlight Row Modification */
.card-multiple .item-highlight {
    color: #0052cc !important;
}
.card-multiple .item-highlight .check-icon {
    border-color: #0052cc;
    color: #0052cc;
}
.gallery-service-card
 {
    display: flex;
    width: 100%;
    max-width: 820px;
    background: transparent;
    border: transparent;
    border-radius: 24px;
    padding: 16px;
    margin-bottom: 40px;
    gap: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid rgb(255 255 255 / 16%);
}


/* Left Image Column */
.gallery-service-image-wrapper {
    flex: 0 0 37%;
    min-height: auto;
    border-radius: 20px;
    overflow: hidden;
}

.gallery-service-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Right Content Column */
.gallery-service-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 12px 16px 12px 0;
}

/* Title & Arrow Header Row */
.gallery-service-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.gallery-service-header h2 {
    color: #ffffff;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.25;
    text-align: left;
    margin: 0;
}

/* Arrow Button */
.gallery-service-arrow-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #060d1d;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.gallery-service-arrow-btn:hover {
  background-color: #0e1e3b;
  transform: translateX(3px);
}

/* Body Text */
.gallery-service-description {
    color: white;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    margin: 6px 0 14px 0;
    opacity: 0.6;
    text-align: left;
    font-family: "Inter", sans-serif;
}

/* "View More" Red Underlined Link */
.gallery-service-link {
  color: #d60000;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 4px;
  width: fit-content;
  transition: opacity 0.2s ease;
}

.gallery-service-link:hover {
  opacity: 0.8;
}

/* Responsive Mobile Layout */
@media (max-width: 680px) {
  .gallery-service-card {
    flex-direction: column;
    padding: 12px;
  }

  .gallery-service-image-wrapper {
    width: 100%;
    height: 240px;
    min-height: auto;
  }

  .gallery-service-content {
    padding: 12px;
  }

  .gallery-service-header h2 {
    font-size: 1.4rem;
  }
}
.road-map-line-section {
    position: relative;
    width: 100%;
    min-height: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url(../images/line.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100% auto;
}

/* 2. INNER TEXT BOUNDING CONTAINER */
.roadmap-container {
    position: relative;
    width: 100%;
    max-width: 1200px; /* Constrains content width layout cleanly */
    height: 450px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Absolute Step Cards Setup */
.step-wrapper {
    position: absolute;
    width: 270px;
}

/* Dot Trackers over the line */
.node-dot {
    position: absolute;
    width: 22px;
    height: 22px;
    background-color: #1e70f0;
    border: 5px solid #ffffff;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(30, 112, 240, 0.4);
    z-index: 5;
}

/* Text Element Layout styling rules */
.step-content {
    position: relative;
}

.bg-number {
    position: absolute;
    font-size: 90px;
    font-weight: 800;
    color: #dae7f6;
    line-height: 0.8;
    z-index: -1;
    user-select: none;
}

.step-content h3 {
    font-size: 16px;
    font-weight: 700;
    color: #1a56be;
    margin-bottom: 8px;
}

.step-content p {
    font-size: 13px;
    color: #667085;
    line-height: 1.5;
}

.step-content p strong {
    color: #1e70f0;
}


/* ==========================================================================
   COORDINATE STATION
   Adjust values below up, down, left, or right to match your image curve spots
   ========================================================================== */

/* Step 01 (Bottom Left) */
.step-1 {
    left: 5%;
    top: 100%;
}
.step-2 {
    left: 100px;
    top: 30%;
}
.step-1 .step-content {
    padding-top: 32px;
}
.step-1 .bg-number {
    top: -15px;
    left: 200px;
}

.step-2 .node-dot {
    left: 75px;
    top: 145px;
}
.step-2 .step-content {
    padding-bottom: 30px;
}
.step-2 .bg-number {
    top: -50px;
    left: 200px;
}

/* Step 03 (Bottom Middle-Right) */
.step-3 {
    left: 54%;
    top: 72%;
}
.step-3 .node-dot {
    left: 50px;
    top: -10px;
}
.step-3 .step-content {
    padding-top: 28px;
}
.step-3 .bg-number {
    top: -15px;
    left: 160px;
}

/* Step 04 (Top Right) */
.step-4 {
    right: 5%;
    top: -20%;
}
.step-4 .node-dot {
    right: 70px;
    top: 110px;
}
.step-4 .step-content {
    padding-bottom: 30px;
}
.step-4 .bg-number {
    top: -50px;
    right: -90px;
}


/* ==========================================================================
   RESPONSIVE DESIGN (Removes lines/dots below 768px)
   ========================================================================== */
@media (max-width: 768px) {
    /* Kill background-image line completely */
    .road-map-line-section {
        background-image: none !important;
        min-height: auto;
        padding: 40px 20px;
    }
    span.marquee-item {
    font-size: 30px;
}
nav.primary-nav a {
    color: #000;
}

    /* Kill dots and backdrop numbers */
    .node-dot, 
    .bg-number {
        display: none !important;
    }

    /* Unhinge coordinate layouts into a native vertical grid stack flow */
    .roadmap-container {
        display: flex;
        flex-direction: column;
        gap: 30px;
        height: auto;
        padding: 0;
    }

    .step-wrapper {
        position: relative;
        width: 100%;
        left: 0 !important;
        right: 0 !important;
        top: 0 !important;
        background: #ffffff;
        padding: 24px;
        border-radius: 16px;
        box-shadow: 0 4px 20px rgba(0,0,0,0.03);
        border-left: 4px solid #1e70f0; /* Accent indicator replace */
    }

    .step-content {
        padding: 0 !important;
    }
}
.roadmap-header-section {
    background-color: #f3f6fa;
    padding: 80px 0 50px 0;
    width: 100%;
}

/* Small pill badge container styling */
.badge-roadmap {
    display: inline-block;
    background-color: #e5eaf2;
    color: #030505;
    font-size: 14px;
    font-weight: 400;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 24px;
    letter-spacing: -0.1px;
}

/* Primary Section Bold Typography Title */
.main-heading {
    color: #030505;
    font-size: 55px;
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -1.2px;
    font-family: "Inter", sans-serif;
}

/* Subtle secondary side text content block layout */
.desc-text {
    color: #030505;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 8px; /* Clean baseline balancing with bottom alignment row */
    font-weight: 400;
}

/* Responsive typography updates targeting clean scaling across screen bounds */
@media (max-width: 991px) {
    .main-heading {
        font-size: 40px;
        letter-spacing: -0.8px;
    }
    section.stats-section .col-12.col-md-4 {
      margin-bottom: 20px;
  }
  .cta-pills.row.g-3 .col-12 {
    margin-bottom: 30px;
}
}

/* ========================================================================== 
   Market-ready publishing services (Services page only)
   ========================================================================== */
.cp-market-services {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(0px, 9vw, 130px) 0;
  background: #dfe7f1;
}

.cp-market-services-inner { position: relative; z-index: 1; }

.cp-market-orb {
  position: absolute;
  z-index: 0;
  width: clamp(220px, 28vw, 450px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(191, 215, 250, .5);
}

.cp-market-orb-left { left: clamp(-210px, -13vw, -90px); bottom: clamp(-180px, -12vw, -70px); }
.cp-market-orb-right { right: clamp(-220px, -11vw, -80px); top: clamp(-160px, -8vw, -55px); }

.cp-market-heading { width: min(100%, 790px); margin: 0 auto clamp(32px, 5vw, 58px); padding: 0 16px; text-align: center; }
.cp-market-heading h2 {max-width: 100%;margin: 0 0 15px;overflow-wrap: anywhere;color: #101b30;letter-spacing: -.045em;text-wrap: balance;font-size: 55px;font-family: "Inter", sans-serif;}
.cp-market-heading p {max-width: 100%;margin: auto;color: #696969;font-family: "Inter", sans-serif;font-size: 22px;font-weight: 400;}

.cp-market-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); max-width: 1080px; margin: 0 auto; }
.cp-market-card { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(135px, .92fr); min-height: 215px; overflow: hidden; border: 8px solid #fff; border-radius: 15px; background: #fff; box-shadow: 0 15px 32px rgba(25, 71, 133, .08); transition: transform .25s ease, box-shadow .25s ease; }
.cp-market-card:hover { transform: translateY(-5px); box-shadow: 0 22px 38px rgba(25, 71, 133, .16); }
.cp-market-card-copy { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(18px, 2.1vw, 30px) clamp(15px, 2.1vw, 28px); }
.cp-market-card h3 {margin: 0 0 11px;color: #13213a;letter-spacing: -.025em;font-size: 22px;font-family: "Inter", sans-serif;}
.cp-market-card p {margin: 0 0 18px;color: #696969;font-size: 14px;font-family: "Inter", sans-serif;}
.cp-market-button { display: inline-flex; align-items: center; justify-content: center; min-width: 102px; min-height: 34px; margin-top: auto; padding: 8px 17px; border-radius: 999px; background: #bf0712; color: #fff !important; font: 600 12px/1 "Inter", sans-serif; text-decoration: none !important; transition: background .2s ease, transform .2s ease; }
.cp-market-button:hover { background: #99101a; transform: translateY(-1px); }
.cp-market-image { min-height: 100%; overflow: hidden; background: linear-gradient(135deg, #d5e3f8, #9cb8df); }
.cp-market-image img { display: block; width: 100%; height: 100%; min-height: 199px; object-fit: cover; }

@media (max-width: 767px) {
  .cp-market-services { padding: 62px 0; }
  .cp-market-heading { max-width: 410px; margin-bottom: 30px; }
  .cp-market-heading h2 { font-size: clamp(24px, 7.6vw, 33px); }
  .cp-market-heading p { padding: 0 8px; font-size: 13px; }
  .cp-market-grid {gap: 10px;padding: 0 5px;display: inline-block;}
  .cp-market-card {grid-template-columns: minmax(0, 1.18fr) minmax(102px, .82fr);min-height: 174px;border-width: 5px;border-radius: 10px;margin-bottom: 20px;}
  .cp-market-card-copy { padding: 14px 10px; }
  .cp-market-card h3 { margin-bottom: 7px; font-size: 13px; }
  .cp-market-card p { margin-bottom: 10px; font-size: 10px; line-height: 1.35; }
  .cp-market-button { min-width: 72px; min-height: 25px; padding: 6px 10px; font-size: 9px; }
  .cp-market-image img { min-height: 164px; }
}

@media (max-width: 430px) {
  .cp-market-services .container { padding-right: 12px; padding-left: 12px; }
  .cp-market-card { grid-template-columns: minmax(0, 1.23fr) minmax(90px, .77fr); }
}

/* ========================================================================== 
   Services page: scroll depth and 3D interaction layer
   Applied only when services.php enables the page-specific motion class.
   ========================================================================== */
body.cp-services-motion-ready .cp-services-reveal {
    opacity: 0;
    transform: translate3d(0, 34px, 0) rotateX(-5deg);
    transform-origin: center bottom;
    filter: blur(3px);
    transition: opacity .65s ease var(--cp-reveal-delay, 0ms),
                transform .75s cubic-bezier(.22, 1, .36, 1) var(--cp-reveal-delay, 0ms),
                filter .55s ease var(--cp-reveal-delay, 0ms);
}

body.cp-services-motion-ready .cp-services-reveal.cp-services-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotateX(0);
    filter: blur(0);
}

body.cp-services-motion-ready .services-book {
    animation: cpServicesBookFloat 5.5s ease-in-out infinite;
    transform-origin: center;
}

@media (hover: hover) and (pointer: fine) {
    body.cp-services-motion-ready .services-book {
        cursor: pointer;
        perspective: 1000px;
    }

    body.cp-services-motion-ready .services-book img {
        transform-style: preserve-3d;
        will-change: transform;
        transition: transform .18s ease-out;
    }
}

@keyframes cpServicesBookFloat {
    0%, 100% { transform: translate3d(0, 0, 0) rotateY(-3deg); }
    50% { transform: translate3d(0, -12px, 18px) rotateY(3deg); }
}

@media (hover: hover) and (pointer: fine) {
    body.cp-services-motion-ready .cp-services-tilt {
        transform-style: preserve-3d;
        will-change: transform;
        transition: transform .2s ease, box-shadow .25s ease;
    }

    body.cp-services-motion-ready .cp-services-tilt .cp-market-card-copy,
    body.cp-services-motion-ready .cp-services-tilt .pill-icon {
        transform: translateZ(16px);
    }

    body.cp-services-motion-ready .cp-services-tilt .cp-market-image {
        transform: translateZ(8px);
    }
}

@media (max-width: 767.98px), (prefers-reduced-motion: reduce) {
    body.cp-services-motion-ready .cp-services-reveal {
        filter: none;
        transform: translate3d(0, 20px, 0);
    }

    body.cp-services-motion-ready .services-book {
        animation: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.cp-services-motion-ready .cp-services-reveal,
    body.cp-services-motion-ready .cp-services-reveal.cp-services-visible {
        transition: none;
        transform: none;
    }
}

/* Services banner actions */
.cp-services-hero-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 34px;
    flex-wrap: wrap;
}

.cp-services-hero-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 13px 26px;
    overflow: hidden;
    border-radius: 999px;
    color: #fff !important;
    font-size: 13px;
    letter-spacing: .01em;
    text-align: center;
    text-decoration: none !important;
    isolation: isolate;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    font-family: "Inter", sans-serif;
}

.cp-services-hero-button::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    content: "";
    background: linear-gradient(110deg, transparent 20%, rgba(255,255,255,.34) 45%, transparent 70%);
    transform: translateX(-130%);
    transition: transform .55s ease;
}

.cp-services-hero-button-primary {
    background: linear-gradient(135deg, #d70918, #aa0010);
    box-shadow: 0 14px 27px rgba(132, 0, 13, .35);
    animation: cpServicesButtonGlow 2.8s ease-in-out infinite;
}

.cp-services-hero-button-secondary {
    border: 1px solid rgba(255,255,255,.85);
    background: rgba(255,255,255,.06);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}

.cp-services-hero-button:hover {
    color: #fff !important;
    transform: translateY(-4px) scale(1.02);
}

.cp-services-hero-button:hover::before { transform: translateX(130%); }
.cp-services-hero-button-primary:hover { box-shadow: 0 19px 34px rgba(132, 0, 13, .52); }
.cp-services-hero-button-secondary:hover { border-color: #fff; background: rgba(255,255,255,.16); box-shadow: 0 12px 28px rgba(5, 17, 48, .25); }

@keyframes cpServicesButtonGlow {
    0%, 100% { box-shadow: 0 14px 27px rgba(132, 0, 13, .35); }
    50% { box-shadow: 0 17px 34px rgba(217, 9, 24, .60); }
}

@media (max-width: 767.98px) {
    .cp-services-hero-actions {
        justify-content: center;
        gap: 12px;
        margin-top: 25px;
    }

    .cp-services-hero-button {
        min-height: 47px;
        padding: 12px 18px;
        font-size: 13px;
    }
}

@media (max-width: 430px) {
    .cp-services-hero-actions { align-items: stretch; flex-direction: column; }
    .cp-services-hero-button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    .cp-services-hero-button,
    .cp-services-hero-button::before { transition: none; }
    .cp-services-hero-button-primary { animation: none; }
}
.faq-section::before {
    background: none !important;
}

}
.roadmap-img {
    text-align: center;
    width: 100%;
    overflow: hidden;
}

.roadmap-img img {
    margin: 0 auto;
}

@media (max-width: 767px) {
    .roadmap-header-section {
        padding: 50px 0;
    }
    .moments h2 {
    width: 100%;
}
.banner-container {
    overflow-x: hidden;
}
    .main-heading {
        font-size: 32px;
        letter-spacing: -0.5px;
    }
    .badge-roadmap {
        margin-bottom: 16px;
    }
}
  /* just scroll space so you can actually scroll the stage in/out of view */
  .spacer{ height: 100vh; display:flex; align-items:center; justify-content:center; color:#aaa; }

  .cp-arc-section { width: 100%; overflow: hidden; } .cp-arc-svg { width: 100%; height: auto; display: block; overflow: visible; } .cp-arc-text { font-size: 105px; font-weight: 800; font-style: italic; letter-spacing: 2px; opacity: 0; transform: translateX(-180px); transition: opacity 1s ease, transform 1.4s cubic-bezier(.22, .61, .36, 1); } .cp-arc-section.cp-arc-show .cp-arc-text { opacity: 1; transform: translateX(0); } @media (max-width: 768px) { .cp-arc-text { font-size: 65px; } }
.faq-section::before { content: ''; position: absolute; background: url('../images/faq-img.png') no-repeat center; background-size: contain; width: 470px; height: 550px; top: -300px; right: 0; animation: faqFloat 6s ease-in-out infinite; transform-origin: center; } /* Floating / random movement */ @keyframes faqFloat { 0% { transform: translate(0, 0) rotate(0deg); } 20% { transform: translate(-12px, 8px) rotate(1deg); } 40% { transform: translate(8px, -10px) rotate(-1.5deg); } 60% { transform: translate(-8px, -5px) rotate(1deg); } 80% { transform: translate(10px, 10px) rotate(-0.8deg); } 100% { transform: translate(0, 0) rotate(0deg); } }
.gallery-service-card:hover {
    transform: scale(1.1);
    transition: all 0.5s;
    box-shadow: 0px 0px 2px #fff;
}
.card-multiple .card:hover {
    background-image: linear-gradient(to right top, #88cff8, #9cd6f9, #aedefa, #c0e5fb, #d1ecfc);
}
.book-card:hover {
    box-shadow: 0 0 22px #6c94da;
}
.footer-line {
    position: absolute;
    bottom: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    width: 100%;
}
.hello-img {
    position: absolute;
    width: 560px;
    height: 170px;
    top: 28%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    opacity: 0.1;
}
@media (max-width:560px){
  .hello-img {
      width: 100%;
      height: 100%;
      top: 58%;
  }
}
.glass-btn {
  position: relative;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50px;
  color: white;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 400;
  display: inline-block;
  margin-bottom: 10px;
  background: linear-gradient(
    110deg,
    rgba(255, 255, 255, 0.09),
    rgba(255, 255, 255, 0.025) 55%,
    rgba(255, 255, 255, 0.07)
  );
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.18),
    inset 0 1px 2px rgba(255, 255, 255, 0.18),
    inset 0 -2px 4px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

/* Soft highlight */
.glass-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;

  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.20),
    transparent 25%,
    transparent 70%,
    rgba(255, 255, 255, 0.04)
  );

  pointer-events: none;
}

/* Keeps text above the highlight */
.glass-btn {
  isolation: isolate;
}

.glass-btn {
  z-index: 0;
}

.glass-btn::before {
  z-index: -1;
}
.roadmap-img { opacity: 0; transform: translateY(100px); transition: all 1s ease; } .roadmap-img.show { opacity: 1; transform: translateY(0); }
@media only screen and (min-device-width:520px) and (max-device-width:767px) and (orientation:portrait) {}
@media only screen and (min-device-width:120px) and (max-device-width:750px) and (orientation:landscape) {}
@media only screen and (min-device-width:751px) and (max-device-width:999px) and (orientation:portrait) {}
@media only screen and (min-device-width:751px) and (max-device-width:999px) and (orientation:landscape) {}
@media only screen and (min-device-width:1000px) and (max-device-width:1030px) and (orientation:portrait) {}
@media only screen and (min-device-width:1000px) and (max-device-width:1030px) and (orientation:landscape) {}

@media only screen and (min-width: 1366px) and (max-width: 1920px){}
@media only screen and (min-width: 1200px) and (max-width: 1365px){}
@media only screen and (min-width: 992px) and (max-width: 1199px){}
@media only screen and (min-width: 768px) and (max-width: 991px){}
@media only screen and (min-width: 520px) and (max-width: 767px){}
@media only screen and (min-width: 300px) and (max-width: 519px){}  


/* ==========================================================================
   FINAL SERVICES NAV FIX
   Isolated names intentionally avoid Bootstrap/.dropdown-menu conflicts.
   Desktop = hover. Mobile = + button.
   ========================================================================== */
.cp-services-item {
  position: relative;
}

.cp-services-row {
  display: flex;
  align-items: center;
  gap: 2px;
}

.cp-services-link {
  display: inline-flex !important;
  align-items: center;
}

.cp-services-toggle {
  width: 34px;
  height: 34px;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 8px;
}

.cp-services-toggle span {
  display: block;
  font-size: 22px;
  line-height: 1;
  font-weight: 300;
  transform: translateY(-1px);
  transition: transform .2s ease;
}

.cp-services-toggle:hover {
  background: rgba(255,255,255,.10);
}

.cp-services-menu {
  position: absolute;
  top: calc(100% + 0px);
  left: 0;

  width: 300px;
  min-width: 300px;
  padding: 10px;

  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(14, 47, 122, 0.08);
  border-radius: 16px;

  box-shadow:
    0 24px 55px rgba(14, 47, 122, 0.18),
    0 8px 20px rgba(0, 0, 0, 0.06);

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transform: translateY(-10px) scale(0.96);
  transform-origin: top left;

  transition:
    opacity 0.25s ease,
    transform 0.3s cubic-bezier(.22, 1, .36, 1),
    visibility 0.25s ease;

  z-index: 10000;
}

/* Small pointer under Services */
.cp-services-menu::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 24px;

  width: 14px;
  height: 14px;

  background: #fff;
  transform: rotate(45deg);

  border-left: 1px solid rgba(14, 47, 122, 0.08);
  border-top: 1px solid rgba(14, 47, 122, 0.08);
}

/* Vertical accent */
.cp-services-menu::after {
  content: "";
  position: absolute;
  left: 10px;
  top: 16px;
  bottom: 16px;

  width: 3px;
  border-radius: 10px;

  background: linear-gradient(
    180deg,
    #2f6fe0 0%,
    #1c4fb0 50%,
    #bf0712 100%
  );

  opacity: 0.9;
}

/* Dropdown items */
.cp-services-menu a {
  position: relative;

  display: flex !important;
  align-items: center;
  gap: 8px;

  margin: 3px 0;
  padding: 14px 14px 14px 24px;

  border-radius: 10px;

  color: #17254d !important;
  background: transparent;

  font-family: "Inter", sans-serif;
  font-size: 15px !important;
  font-weight: 500 !important;
  line-height: 1.35;
  text-decoration: none !important;

  transform: translateX(0);
  transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

/* Arrow at the right of each option */
.cp-services-menu a::after {
  content: "→";
  margin-left: auto;

  font-size: 16px;
  font-weight: 600;
  color: #9ba6bd;

  opacity: 0;
  transform: translateX(-6px);

  transition:
    opacity 0.2s ease,
    transform 0.25s ease,
    color 0.25s ease;
}

.cp-services-menu a:hover {
  color: #1c4fb0 !important;
  background: linear-gradient(
    90deg,
    rgba(47, 111, 224, 0.10),
    rgba(47, 111, 224, 0.04)
  );

  transform: translateX(4px);
  box-shadow: inset 3px 0 0 #2f6fe0;
}

.cp-services-menu a:hover::after {
  opacity: 1;
  transform: translateX(0);
  color: #2f6fe0;
}

/* Opening animation for each item */
@keyframes cpServicesItemIn {
  from {
    opacity: 0;
    transform: translateX(-8px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* DESKTOP */
@media (min-width: 992px) {
  .cp-services-toggle {
    display: none;
  }

  .cp-services-item:hover > .cp-services-menu,
  .cp-services-item:focus-within > .cp-services-menu,
  .cp-services-item.cp-services-open > .cp-services-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .cp-services-item:hover > .cp-services-menu a,
  .cp-services-item:focus-within > .cp-services-menu a,
  .cp-services-item.cp-services-open > .cp-services-menu a {
    animation: cpServicesItemIn 0.28s ease both;
  }

  .cp-services-item:hover > .cp-services-menu a:nth-child(1),
  .cp-services-item:focus-within > .cp-services-menu a:nth-child(1),
  .cp-services-item.cp-services-open > .cp-services-menu a:nth-child(1) {
    animation-delay: 0.03s;
  }

  .cp-services-item:hover > .cp-services-menu a:nth-child(2),
  .cp-services-item:focus-within > .cp-services-menu a:nth-child(2),
  .cp-services-item.cp-services-open > .cp-services-menu a:nth-child(2) {
    animation-delay: 0.08s;
  }

  .cp-services-item:hover > .cp-services-menu a:nth-child(3),
  .cp-services-item:focus-within > .cp-services-menu a:nth-child(3),
  .cp-services-item.cp-services-open > .cp-services-menu a:nth-child(3) {
    animation-delay: 0.13s;
  }

  /* Keep the menu attached to Services while the mouse moves down. */
  .cp-services-menu::marker {
    display: none;
  }
}

/* MOBILE / TABLET */
@media (max-width: 991px) {
  .cp-services-row {
    width: 100%;
    justify-content: space-between;
  }

  .cp-services-toggle {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    color: #0e2f7a;
    background: transparent;
    font-size: 22px;
    border-radius: 10px;
  }

  .cp-services-toggle span {
    font-size: 24px;
    transition: transform 0.25s ease;
  }

  .cp-services-open > .cp-services-row .cp-services-toggle span {
    transform: rotate(45deg);
  }

  .cp-services-menu {
    position: static;
    width: 100%;
    min-width: 100%;

    margin-top: 5px;
    padding: 6px 0 6px 12px;

    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;

    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    display: none;

    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .cp-services-menu::before,
  .cp-services-menu::after {
    display: none;
  }

  .cp-services-open > .cp-services-menu {
    display: flex;
    flex-direction: column;
  }

  .cp-services-menu a {
    padding: 11px 12px 11px 18px;
    margin: 2px 0;
    font-size: 14px !important;
    background: rgba(47, 111, 224, 0.04);
    border-radius: 8px;
  }

  .cp-services-menu a::after {
    opacity: 1;
    transform: none;
    color: #a1abc0;
  }

  .cp-services-menu a:hover {
    transform: translateX(3px);
  }

  /* Do not lock page scrolling when the menu is open. */
  html,
  body {
    overflow-x: hidden;
    overflow-y: auto;
    touch-action: pan-y;
  }

  nav.primary-nav.mobile-open > ul {
    max-height: calc(100vh - 90px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    touch-action: pan-y;
  }
}

/* =========================================================
   MANUSCRIPT PAGE
   Bootstrap 4 compatible
========================================================= */

.manuscript-page {
    font-family: Arial, Helvetica, sans-serif;
    color: #111;
    overflow: hidden;
    background: #edf5fa;
}

.manuscript-page *,
.manuscript-page *::before,
.manuscript-page *::after {
    box-sizing: border-box;
}


/* =========================================================
   HERO
========================================================= */

.manuscript-hero {
    position: relative;
    overflow: hidden;
    padding: 145px 0 155px;
    color: #fff;
    background: url('../images/manu-bg.jpeg');
    background-size: 100% 100%;
    background-position: center center;
}


/*
    STATIC BACKGROUND DECORATION

    Replace this section with your actual image:

    .hero-decoration {
        background-image: url("assets/hero-lines.png");
    }

    No animation is being used.
*/

.hero-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    opacity: .35;
    pointer-events: none;

    background-image:
        linear-gradient(
            90deg,
            transparent 0,
            rgba(255,255,255,.05) 25%,
            transparent 50%
        );

    background-size: 300px 100%;
}


.hero-decoration::before {
    content: "";
    background: url('../images/manu-banner-line.png');
    position: absolute;
    width: 1040px;
    height: 430px;
    right: 0;
    bottom: 0;
}

section.manuscript-hero::before {
    content: '';
    background: url('../images/manu-banner-line.png');
    position: absolute;
    width: 1370px;
    height: 710px;
    right: -570px;
    bottom: 220px;
    opacity: 0.4;
}
.manuscript-hero-content {
}


.hero-text {
    position: relative;
    z-index: 2;
}


.hero-text h1 {
    margin: 0 0 25px;
    color: #fff;
    font-size: 43px;
    line-height: 1.08;
    font-weight: 600;
}


.hero-text p {
    max-width: 480px;
    margin: 0;
    color: rgba(255,255,255,.92);
    font-size: 22px;
    line-height: 1.55;
    font-weight: 400;
}


.hero-book {
    position: relative;

    height: 360px;

    display: flex;
    align-items: center;
    justify-content: center;

    /* Creates the 3D depth */
    perspective: 1000px;

    /* Smooth return when mouse leaves */
    transform-style: preserve-3d;

    transition: transform 0.15s ease-out;

    will-change: transform;
}


.hero-book img {
    width: 320px;
    max-width: 100%;

    display: block;

    /*
       Important:
       The image itself keeps your pulse animation.
       The parent .hero-book handles the 3D mouse movement.
    */
    transform-origin: center center;

    animation: bookFloat 4s ease-in-out infinite;

    transform-style: preserve-3d;

    filter:
        drop-shadow(
            0 25px 20px rgba(0, 0, 0, 0.30)
        );

    will-change: transform;
}


/* =========================================================
   YOUR EXISTING ZOOM + FLOAT ANIMATION
========================================================= */

@keyframes bookFloat {

    0% {
        transform:
            rotate(-14deg)
            scale(1)
            translateY(0);
    }

    50% {
        transform:
            rotate(-14deg)
            scale(1.06)
            translateY(-8px);
    }

    100% {
        transform:
            rotate(-14deg)
            scale(1)
            translateY(0);
    }

}


/* =========================================================
   HERO FEATURES
========================================================= */

.hero-features {
    position: relative;
    z-index: 3;
    margin-top: 95px;
}


.hero-feature {
    position: relative;

    min-height: 95px;

    padding: 10px 10px;

    text-align: center;
}


.hero-feature-icon {
    width: 38px;
    height: 38px;

    margin: 0 auto 10px;
}


.hero-feature-icon svg {
    width: 100%;
    height: 100%;

    fill: none;
    stroke: #fff;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}


.hero-feature h4 {
    margin: 0;
    color: #fff;
    font-size: 22px;
    line-height: 1.35;
    font-weight: 400;
    font-family: "Inter", sans-serif;
}


/* =========================================================
   GENERAL SECTION HEADING
========================================================= */

.section-heading h2 {
    margin: 0 0 15px;
    font-size: 55px;
    line-height: 1.12;
    font-weight: 400;
    font-family: "Inter", sans-serif;
    color: #030505;
}


.section-heading p {
    margin: 0 auto;
    max-width: 100%;
    color: #696969;
    font-size: 22px;
    line-height: 1.5;
    font-weight: 400;
}


/* =========================================================
   IP SECTION
========================================================= */

.ip-section {
    position: relative;
    padding: 0px 0 95px;
    background: #e0e9f2;
}


.guarantee-row {
    margin-top: 35px;
}


.guarantee-card {
    position: relative;
    height: 100%;
    min-height: 255px;
    padding: 25px 20px;
    text-align: center;
    border-radius: 8px;
    background: #fff;
    box-shadow:
        0 5px 20px rgba(0,0,0,.03);
    z-index: 999;
     transform-style: preserve-3d;

    perspective: 1000px;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;

    will-change: transform;
}
.guarantee-card:hover {
    transform:
        translateY(-8px)
        rotateX(3deg)
        rotateY(-3deg);

    box-shadow:
        0 20px 35px rgba(20, 70, 150, 0.15);
}

.guarantee-card-active {
    color: #fff;
    background: #2979FC;
    box-shadow:
        0 12px 30px rgba(37,111,225,.20);
}
.guarantee-card-active:hover {
    transform:
        translateY(-8px)
        rotateX(3deg)
        rotateY(3deg);

    box-shadow:
        0 20px 40px rgba(20, 100, 230, 0.30);
}

.guarantee-icon {
    width: 75px;
    height: 75px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #B8C6E0;
}


.guarantee-card-active .guarantee-icon {
    background: #B8C6E0;
}


.guarantee-icon svg {
    width: 24px;
    height: 24px;

    fill: none;

    stroke: #1470f7;

    stroke-width: 1.4;

    stroke-linecap: round;
    stroke-linejoin: round;
}


.guarantee-card-active .guarantee-icon svg {
    stroke: #fff;
}


.guarantee-card h3 {
    margin: 0 0 12px;
    font-size: 22px;
    line-height: 1.35;
    font-weight: 500;
    font-family: "Inter", sans-serif;
}


.guarantee-card p {
    margin: 0;
    color: #696969;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 400;
}


.guarantee-card-active p {
    color: rgba(255,255,255,.90);
}


/* =========================================================
   SUBMISSION SECTION
========================================================= */

.submission-section {
    padding: 15px 0 55px;
    background: #e0e9f2;
}


.submission-box {
    position: relative;
    padding: 65px 30px 60px;
    border-radius: 20px;
    color: #fff;
    background: url('../images/manu-form-bg.png');
    box-shadow:
        0 15px 35px rgba(30,99,200,.10);
    background-color: #2979FC;
    background-size: 100% 100%;
    background-position: center center;
}


/*
    Optional texture.

    If you have the actual image, use:

    .submission-box {
        background:
            url("assets/form-bg.jpg") center/cover no-repeat;
    }
*/


.submission-title {
    margin-bottom: 28px;
}


.submission-title h2 {
    margin: 0 0 10px;
    font-size: 55px;
    line-height: 1.1;
    font-weight: 400;
    font-family: "Inter", sans-serif;
}


.submission-title p {
    margin: 0;
    font-size: 28px;
    font-weight: 400;
    font-family: "Inter", sans-serif;
}


.form-section-label {
    margin-bottom: 10px;

    font-size: 10px;
    font-weight: 500;
}


.manuscript-page .form-group {
    margin-bottom: 22px;
}


.manuscript-page .form-control {
    height: 60px;
    padding: 7px 10px;
    border: 0;
    border-radius: 5px;
    color: #333;
    font-size: 16px;
    background: #fff;
    box-shadow: none;
}


.manuscript-page textarea.form-control {
    height: auto;
    min-height: 75px;

    resize: vertical;
}


.manuscript-page .form-control::placeholder {
    color: #8d8d8d;
}


.manuscript-page .form-control:focus {
    border: 0;

    outline: none;

    box-shadow:
        0 0 0 2px rgba(255,255,255,.35);
}


.manuscript-page select.form-control {
    cursor: pointer;
}


.manuscript-page label {
    margin-bottom: 7px;
    font-size: 22px;
}


.manuscript-status {
    padding-left: 5px;
}


.manuscript-status > label {
    display: block;

    margin-bottom: 5px;
}


.custom-radio label {
    display: block;
    position: relative;
    margin-bottom: 4px;
    cursor: pointer;
    color: #fff;
    font-size: 16px;
}


.custom-radio input {
    margin-right: 5px;

    vertical-align: middle;
}


.synopsis-input {
    min-height: 75px !important;
}


/* =========================================================
   FILE UPLOAD
========================================================= */

.file-upload-box {
    position: relative;

    min-height: 115px;

    border: 1px solid rgba(255,255,255,.35);
    border-radius: 6px;

    background: rgba(255,255,255,.98);

    transition:
        border-color .2s ease,
        background .2s ease;
}


.file-upload-box.drag-over {
    border-color: #fff;

    background: rgba(255,255,255,.90);
}


.file-upload-label {
    display: flex;

    width: 100%;
    min-height: 115px;

    margin: 0;

    padding: 20px;

    flex-direction: column;

    justify-content: center;
    align-items: center;

    cursor: pointer;

    color: #555;
}


.upload-icon {
    width: 30px;
    height: 30px;

    margin-bottom: 5px;
}


.upload-icon svg {
    width: 100%;
    height: 100%;

    fill: none;
    stroke: #111;

    stroke-width: 1.4;

    stroke-linecap: round;
    stroke-linejoin: round;
}


.file-upload-label strong {
    font-size: 16px;
    font-weight: 500;
}


.file-upload-label small {
    margin-top: 5px;
    color: #777;
    text-align: center;
    font-size: 16px;
    line-height: 1.4;
}


.selected-file {
    display: block;

    margin-top: 5px;

    color: #1470f7;

    font-size: 8px;
    font-weight: 600;

    word-break: break-all;
}


.upload-note {
    margin-top: 5px;
    text-align: center;
    font-size: 16px;
}


.legal-check {
    margin: 16px 0;
}


.legal-check label {
    display: flex;
    align-items: flex-start;
    color: rgba(255,255,255,.9);
    font-size: 16px;
    line-height: 1.45;
    cursor: pointer;
}


.legal-check input {
    flex: 0 0 auto;

    margin-top: 2px;
    margin-right: 7px;
}


.submit-button {
    width: 100%;
    max-width: 100%;
    margin-top: 40px;
    padding: 9px 15px;
    border: 0;
    border-radius: 30px;
    color: #fff;
    font-size: 18px;
    background: #BF0712;
    transition:
        background .2s ease,
        transform .2s ease;
}


.submit-button:hover {
    color: #fff;

    background: #c90000;

    transform: translateY(-1px);
}


.form-message {
    display: none;

    margin-top: 12px;

    padding: 8px;

    border-radius: 5px;

    text-align: center;

    font-size: 9px;
}


.form-message.success {
    display: block;

    background: rgba(0,180,90,.25);
}


.form-message.error {
    display: block;

    background: rgba(255,0,0,.20);
}


/* =========================================================
   PROCESS
========================================================= */

.process-section {
    position: relative;
    padding: 40px 0 55px;
    overflow: visible;
    background: #e0e9f2;
}

.process-heading {
    margin-bottom: 35px;
}


.process-row {
    position: relative;
}


.process-step {
    position: relative;
    padding: 0 20px;
    text-align: center;
    z-index: 9999;
}


.process-icon {
    position: relative;
    z-index: 2;
    display: flex;
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #B8C6E0;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;

    transform-style: preserve-3d;
}
.process-step:hover .process-icon {
    transform:
        rotateY(180deg)
        translateZ(10px);

    box-shadow:
        0 10px 25px rgba(20, 100, 230, 0.20);
}

.process-icon svg {
    width: 21px;
    height: 21px;

    fill: none;

    stroke: #1470f7;

    stroke-width: 1.3;

    stroke-linecap: round;
    stroke-linejoin: round;
}


.process-line {
    position: absolute;
    z-index: 1;
    top: 37px;
    left: calc(57% + 20px);
    width: calc(94% - 40px);
    border-top: 3px dashed #a7b2c3;
}


.process-step h3 {
    margin: 0 0 12px;
    font-size: 22px;
    line-height: 1.4;
    font-weight: 500;
    font-family: "Inter", sans-serif;
}


.process-step p {
    max-width: 100%;
    margin: 0 auto;
    color: #696969;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 400;
}


.process-button-wrap {
    margin-top: 35px;
}


.process-button {
    padding: 8px 25px;
    border-radius: 30px;
    color: #fff;
    font-size: 18px;
    background: #BF0712;
    font-weight: 400;
}


.process-button:hover {
    color: #fff;

    background: #bd0000;
}


/* =========================================================
   LARGE DESKTOP
========================================================= */

@media (min-width: 1200px) {

    .manuscript-hero {
    }

    .hero-text h1 {
        font-size: 54px;
    }

    .hero-book img {
        width: 320px;
    }

    .submission-box {
        padding-left: 70px;
        padding-right: 70px;
    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991.98px) {

    .manuscript-hero {
        padding-top: 45px;
    }


    .manuscript-hero-content {
        min-height: auto;
    }


    .hero-text h1 {
        font-size: 35px;
        padding-top: 80px;
    }


    .hero-text p {
        font-size: 16px;
    }


    .hero-book {
        height: 300px;
        padding-top: 120px;
    }


    .hero-book img {
        width: 250px;
    }


    .guarantee-card {
        min-height: 280px;
    }


    .submission-box {
        padding: 30px 25px;
    }


    .process-step {
        padding: 0 10px;
    }

}


/* =========================================================
   MOBILE / SMALL TABLET
========================================================= */

@media (max-width: 767.98px) {

    .manuscript-hero {
        padding: 105px 0 30px;
    }


    .hero-text {
        text-align: center;
        padding-top: 50px;
    }


    .hero-text h1 {
        font-size: 37px;
        line-height: 1.12;
        padding-top: 30px;
    }


    .hero-text p {
        max-width: 550px;
        margin: 0 auto;
        font-size: 14px;
    }


    .hero-book {
        height: 260px;

        margin-top: 15px;
    }


    .hero-book img {
        width: 220px;
    }


    .hero-features {
        margin-top: 15px;
    }


    .hero-feature {
        margin-bottom: 15px;
    }


    .ip-section {
        padding: 0px 0 35px;
    }


    .section-heading h2 {
        font-size: 25px;
    }


    .guarantee-card {
        min-height: auto;

        padding: 25px 30px;
    }


    .guarantee-card p {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        font-size: 14px;
    }


    .submission-section {
        padding-top: 10px;
    }


    .submission-box {
        padding: 30px 20px;
    }


    .submission-title h2 {
        font-size: 24px;
    }


    .process-row {
        margin-top: 15px;
    }


    .process-step {
        margin-bottom: 40px;
    }


    .process-line {
        display: none;
    }


    .process-step p {
        max-width: 100%;
        font-size: 17px;
    }


    .process-button-wrap {
        margin-top: 0;
    }

}


/* =========================================================
   EXTRA SMALL MOBILE
========================================================= */

@media (max-width: 575.98px) {

    .manuscript-hero {
        padding-top: 65px;
        padding-bottom: 170px;
    }


    .hero-text h1 {
        font-size: 29px;
    }


    .hero-text p {
        font-size: 17px;
    }


    .hero-book {
        height: 230px;
    }


    .hero-book img {
        width: 190px;
    }


    .hero-feature h4 {
        font-size: 15px;
    }


    .hero-feature-icon {
        width: 32px;
        height: 32px;
    }


    .section-heading h2 {
        font-size: 23px;
    }


    .section-heading p {
        padding: 0 10px;
        font-size: 14px;
    }


    .guarantee-card {
        padding: 25px 20px;
    }


    .submission-box {
        padding: 25px 15px;
    }


    .submission-title h2 {
        font-size: 21px;
    }


    .manuscript-page .form-control {
        height: 36px;

        font-size: 10px;
    }


    .manuscript-page .form-group label {
        font-size: 13px;
    }


    .file-upload-box,
    .file-upload-label {
        min-height: 130px;
    }


    .legal-check label {
        font-size: 13px;
    }


    .submit-button {
        font-size: 8px;
    }


    .process-section {
        padding-bottom: 45px;
    }


    .process-step {
        margin-bottom: 35px;
    }

}


/* =========================================================
   VERY SMALL DEVICES
========================================================= */

@media (max-width: 380px) {

    .hero-text h1 {
        font-size: 24px;
    }


    .hero-text p {
        font-size: 14px;
    }


    .hero-book img {
        width: 175px;
    }


    .submission-title h2 {
        font-size: 20px;
    }


    .hero-feature h4 {
        font-size: 12px;
    }

}
section.ip-section::before {
    content: '';
    background: url('../images/property-before.png');
    position: absolute;
    width: 390px;
    height: 390px;
    right: 0;
    bottom: 260px;
    opacity: 0.1;
    background-repeat: no-repeat;
}
section.ip-section::after {
    content: '';
    background: url(../images/property-after.png);
    position: absolute;
    width: 390px;
    height: 310px;
    left: 0;
    bottom: 0;
    opacity: 0.1;
    background-repeat: no-repeat;
}
section.process-section::before {
    content: '';
    background: url('../images/happen-after.png');
    width: 250px;
    height: 580px;
    position: absolute;
    right: -50px;
    bottom: 470px;
    background-repeat: no-repeat;
}
.genre-select {position: relative;width: 100%;height: 130px;border: 1px solid #ddd;border-radius: 10px;background: white;}
.hero-feature:hover img {transform: scale(1.1);transition: all 0.5s;}
section.process-section::after {
    content: '';
    background: url('../images/happen-before.png');
    width: 480px;
    height: 240px;
    position: absolute;
    bottom: 0;
    left: 0;
    background-repeat: no-repeat;
    right: 100%;
}
.services-book img {
    width: 100%;
}

/* ========================================================================== 
   Services page: responsive finishing layer
   Kept separate so the current page markup and existing styles remain intact.
   ========================================================================== */
.services-book {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 360px;
}

.services-book img {
    width: min(100%, 520px);
    height: auto;
    max-height: 470px;
    object-fit: contain;
}

@media (max-width: 991.98px) {
    .services-book {
        min-height: 300px;
        padding-top: 35px;
    }

    .services-book img {
        width: min(100%, 380px);
        max-height: 360px;
    }

    .cp-market-grid {
        max-width: 760px;
    }

    .cp-market-card {
        min-height: 195px;
    }
}

@media (max-width: 767.98px) {
    .services-book {
        min-height: 245px;
        padding-top: 0;
        margin-top: 18px;
    }
section.ip-section::before {
    display: none;
}
section.manuscript-hero::before {
    display: none;
}

    .services-book img {
        width: min(100%, 290px);
        max-height: 270px;
    }

    .manuscript-hero-content:has(.services-book) + .hero-features {
        margin-top: 25px;
    }

    .manuscript-hero-content:has(.services-book) + .hero-features .hero-feature {
        min-height: 110px;
        padding: 12px 5px;
    }

    .manuscript-hero-content:has(.services-book) + .hero-features .hero-feature h4 {
        font-size: clamp(12px, 3.7vw, 15px);
        line-height: 1.3;
    }

    .cp-market-card {
        min-height: 170px;
    }

    .cp-market-image img {
        min-height: 160px;
    }
}

@media (max-width: 430px) {
    .services-book {
        min-height: 210px;
    }

    .services-book img {
        width: min(100%, 245px);
        max-height: 225px;
    }

    .cp-market-grid {
        gap: 9px;
        padding-right: 0;
        padding-left: 0;
    }

    .cp-market-card {
        grid-template-columns: minmax(0, 1.14fr) minmax(88px, .86fr);
        min-height: 166px;
    }

    .cp-market-card-copy {
        padding: 12px 8px;
    }

    .cp-market-card h3 {
        font-size: 12px;
    }

    .cp-market-card p {
        font-size: 9px;
    }

    .cp-market-image img {
        min-height: 156px;
    }
}

section.cp-market-services::before {
    content: '';
    background: url('../images/property-before.png');
    position: absolute;
    width: 390px;
    height: 390px;
    right: 0;
    top: 30px;
    opacity: 0.1;
    background-repeat: no-repeat;
}
section.cp-market-services::after {
    content: '';
    background: url(../images/property-after.png);
    position: absolute;
    width: 440px;
    height: 350px;
    left: 0;
    bottom: 0;
    opacity: 0.1;
    background-repeat: no-repeat;
}
.cta-pill.mid.reveal.in-view {}

.cta-manuscript.cta-services .cta-pill.mid.reveal.in-view {
    background: #fff;
    color: #E23F49;
}
.cta-manuscript.cta-services .cta-pill.mid.reveal.in-view .pill-label{
    color: #E23F49;
}
    .cta-manuscript.cta-services .cta-pill.mid.reveal.in-view .pill-value{
    color: #E23F49 !important;
}
.road-map-line-section-service{
  margin-bottom: 110px;
}
.faq-service {
    margin-bottom: 100px;
}

.cp-honeypot {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    white-space: nowrap !important;
}

.newsletter-error,
.form-error {
    margin: 10px 0 0;
    color: #d81723;
    font-size: 14px;
    font-weight: 600;
}

.form-error {
    max-width: 900px;
    margin: 0 auto 18px;
    padding: 12px 16px;
    border-radius: 8px;
    background: #fff1f2;
    border: 1px solid #f7b3b8;
}

.cp-thank-you-page {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 8% 88%, rgba(115, 196, 255, .26) 0 115px, transparent 116px),
        radial-gradient(circle at 92% 14%, rgba(42, 116, 221, .15) 0 165px, transparent 166px),
        linear-gradient(135deg, #e7f2ff 0%, #f7fbff 52%, #e2efff 100%);
}
.cp-thank-you-page::before,
.cp-thank-you-page::after {
    content: '';
    position: absolute;
    pointer-events: none;
    border: 38px solid rgba(58, 131, 226, .09);
    border-radius: 50%;
}
.cp-thank-you-page::before { width: 360px; height: 360px; top: 100px; left: -220px; }
.cp-thank-you-page::after { width: 480px; height: 480px; right: -300px; bottom: 60px; }
.cp-thank-you-simple {
    position: relative;
    z-index: 1;
    display: grid;
    min-height: 620px;
    padding: 150px 20px 90px;
    place-items: center;
}
.cp-thank-you-card {
    width: min(100%, 650px);
    padding: 58px 44px;
    text-align: center;
    border: 1px solid #e2e9f2;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 16px 45px rgba(20, 53, 91, .1);
}
.cp-thank-you-mark {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    margin: 0 auto 19px;
    border: 0;
    border-radius: 50%;
    background: #e7f7ec;
    color: #248a4b;
    font-size: 31px;
    font-weight: 700;
}
.cp-thank-you-eyebrow {
    margin: 0 0 11px;
    color: #d40a13;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
}
.cp-thank-you-card h1 { margin: 0 0 18px; color: #173653; font-size: clamp(31px, 5vw, 46px); font-weight: 700; line-height: 1.12; }
.cp-thank-you-card > p { max-width: 540px; margin: 0 auto; color: #5f6e7d; font-size: 17px; line-height: 1.7; }
.cp-thank-you-button {
    display: inline-block;
    margin-top: 28px;
    padding: 14px 28px;
    border-radius: 999px;
    background: #d40a13;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 9px 22px rgba(98, 0, 0, .28);
}
.cp-thank-you-button:hover { color: #fff; background: #ad070e; transform: translateY(-2px); }

@media (max-width: 991px) {
    .cp-thank-you-simple { padding-top: 180px; }
}
@media (max-width: 575px) {
    .cp-thank-you-simple { min-height: 520px; padding: 155px 16px 65px; }
    .cp-thank-you-card { padding: 42px 24px; }
    .cp-thank-you-card > p { font-size: 16px; }
}
