/* Children Book Publishing page - page-specific styles (scoped with .cbp-) */
.cbp-hero {
  background:
    linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
    url("../images/hero-bg-img.webp") center bottom/cover no-repeat,
    #8fd3f4;
  padding: 140px 0 90px;
  position: relative;
  overflow: hidden;
  color: #fff;
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.cbp-hero > .container {
  width: 100%;
}
.cbp-hero .container {
  position: relative;
  z-index: 1;
}
.cbp-hero .cbp-eyebrow {
  display: block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.cbp-hero h1 {
  font-family: "Montserrat", sans-serif;
  font-size: 50px;
  line-height: 1.1;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  text-transform: none;
}
.cbp-hero h1 span {
  color: #d4af6a;
  display: block;
}
.cbp-hero p.cbp-lead {
  color: #fff;
  font-size: 17px;
  max-width: 420px;
  margin-bottom: 24px;
}
.cbp-steps {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 30px;
  max-width: 470px;
}
.cbp-steps li {
  position: relative;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
}
.cbp-steps li + li::before {
  content: "";
  position: absolute;
  left: -24px;
  top: 14px;
  width: 18px;
  border-top: 2px dashed #b8863688;
}
.cbp-steps li i {
  display: block;
  font-size: 26px;
  color: #d4af6a;
  margin-bottom: 8px;
}
.cbp-hero .cbp-form h2 {
  position: relative;
  padding-right: 90px;
  min-height: 64px;
}

.cbp-hero-cta .cbp-btn-o {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #d4af6a;
  color: #17111f;
  font-weight: 700;
  border-radius: 50px;
  padding: 14px 26px;
  text-decoration: none;
  transition: 0.3s;
  box-shadow: 0 8px 20px rgba(212, 175, 106, 0.45);
}
.cbp-hero-cta .cbp-btn-o:hover {
  background: #c79b4f;
  color: #17111f;
}
.cbp-hero-call {
  display: block;
  margin-top: 16px;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}
.cbp-hero-call i {
  color: #d4af6a;
  margin-right: 6px;
}

/* Quote form (white card) */
.cbp-form {
  background: #fff;
  border-radius: 12px;
  padding: 26px 22px;
  box-shadow: 0 15px 40px rgba(23, 17, 31, 0.25);
  color: #17111f;
}
.cbp-form h2 {
  font-family: "Montserrat", sans-serif;
  color: #b88636;
  font-size: 30px;
  line-height: 1.1;
  font-weight: 700;
  margin-bottom: 6px;
  text-align: left;
}
.cbp-form .cbp-form-note {
  color: #5b5266;
  font-size: 13px;
  margin-bottom: 14px;
}
.cbp-form .form-control,
.cbp-form select,
.cbp-form textarea {
  width: 100%;
  background: #fff;
  border: 1px solid #cfd8e1;
  color: #17111f;
  border-radius: 4px;
  padding: 11px 12px;
  font-size: 14px;
  outline: 0;
  margin-bottom: 10px;
  box-sizing: border-box;
}
.cbp-form select {
  appearance: auto;
}
.cbp-form textarea {
  height: 80px;
  resize: vertical;
}
.cbp-form .form-control::placeholder,
.cbp-form textarea::placeholder {
  color: #6b7c8d;
}
.cbp-form .form-control:focus,
.cbp-form select:focus,
.cbp-form textarea:focus {
  border-color: #b88636;
  box-shadow: 0 0 0 2px rgba(184, 134, 54, 0.25);
}
.cbp-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: #17111f;
  font-size: 12px;
  margin-bottom: 14px;
}
.cbp-consent input {
  margin-top: 3px;
  accent-color: #b88636;
  flex: none;
  width: fit-content;
}
.cbp-consent a {
  color: #8a5f1a;
  text-decoration: underline;
}
.cbp-form button[type="submit"] {
  width: 100%;
  background: #d4af6a;
  border: 0;
  color: #17111f;
  padding: 13px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 4px;
  cursor: pointer;
  transition: 0.3s;
}
.cbp-form button[type="submit"]:hover {
  background: #c79b4f;
}
.cbp-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

/* Generic sections */
.cbp-section {
  padding: 90px 0;
  position: relative;
}
.cbp-section h2.cbp-title {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 14px;
}
.cbp-section .cbp-intro {
  max-width: 820px;
  margin: 0 auto 10px;
}
.cbp-head {
  text-align: center;
  margin-bottom: 46px;
}

/* Service cards */
.cbp-card {
  background: #17111f;
  border: 1px solid #271f35;
  border-radius: 12px;
  padding: 32px 26px;
  height: 100%;
  transition: 0.3s;
  display: flex;
  flex-direction: column;
}
.cbp-card:hover {
  transform: translateY(-6px);
  border-color: #b88636;
  box-shadow: 0 12px 30px rgba(184, 134, 54, 0.2);
}
.cbp-card .cbp-ico {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: linear-gradient(135deg, #b88636, #8d6728);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #fff;
  margin-bottom: 18px;
}
.cbp-card h3 {
  font-size: 21px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
}
.cbp-card p {
  color: #d1c8e2;
  font-size: 15px;
  flex: 1;
  margin-bottom: 16px;
}
.cbp-card a {
  color: #d4af6a;
  font-weight: 600;
  text-decoration: none;
}
.cbp-card a i {
  transition: 0.3s;
}
.cbp-card a:hover i {
  transform: translateX(5px);
}

/* CTA band */
.cbp-band{position:relative;min-height:320px;background:url('../images/banner-bg-hd.webp') center bottom/cover no-repeat,linear-gradient(90deg,#bceafb,#e7f8fc,#bfeaff);display:flex;align-items:center;justify-content:space-between;gap:10px;text-align:center;overflow:hidden}
.cbp-band-copy{padding:64px 0;position:relative;z-index:2;flex:1}
.cbp-band h2{font-size:36px;line-height:1.15;font-weight:700;color:#17111f;margin-bottom:14px}
.cbp-band p{color:#3b3347;font-size:17px;font-weight:500;margin:0 auto 26px}
.cbp-band .btn{margin:0 8px}
.cbp-hand{position:absolute;right:4%;bottom:16%;z-index:2;margin:0!important;font-family:"Montserrat",sans-serif;font-size:19px!important;font-weight:700!important;line-height:1.25;color:#17111f!important;transform:rotate(-8deg);text-align:center}
.cbp-scribble{display:block;width:92px;margin:6px auto 0 -10px;fill:none;stroke:#17111f;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}
.cbp-clouds{position:absolute;inset:0 0 45% 0;pointer-events:none;z-index:0}
.cbp-cloud{position:absolute;left:0;fill:#fff;opacity:.85;animation:cbpDrift linear infinite;will-change:transform}
.cbp-cloud.c1{top:12%;width:120px;animation-duration:70s;animation-delay:-10s}
.cbp-cloud.c2{top:34%;width:78px;opacity:.65;animation-duration:95s;animation-delay:-55s}
.cbp-cloud.c3{top:6%;width:96px;opacity:.75;animation-duration:82s;animation-delay:-38s}
@keyframes cbpDrift{from{transform:translateX(-160px)}to{transform:translateX(100vw)}}
@media (max-width:991px){.cbp-hand{display:none}.cbp-band h2{font-size:28px}.cbp-band-copy{padding:56px 20px}}
@media (prefers-reduced-motion:reduce){.cbp-cloud{animation:none;left:20%}}

/* Process */
.cbp-step{position:relative;text-align:center;padding:10px 18px;height:100%}
.cbp-step .cbp-num{position:relative;width:70px;height:70px;border-radius:50%;background:#f6edd9;color:#b88636;font-size:26px;display:flex;align-items:center;justify-content:center;margin:0 auto 18px;transition:.3s}
.cbp-step .cbp-num::after{content:"";position:absolute;inset:-8px;border:2px dashed currentColor;border-radius:50%;opacity:0;transition:opacity .3s}
.cbp-step:hover .cbp-num::after{opacity:.35}
.cbp-step .cbp-num b{position:absolute;top:-2px;right:-4px;width:22px;height:22px;border-radius:50%;background:#17111f;color:#fff;font-size:12px;font-weight:700;display:flex;align-items:center;justify-content:center}
.cbp-process .col-lg-3:nth-child(2) .cbp-num{background:#ece8f3;color:#5a4a78}
.cbp-process .col-lg-3:nth-child(3) .cbp-num{background:#f3e9e4;color:#a8613c}
.cbp-process .col-lg-3:nth-child(4) .cbp-num{background:#e8efe6;color:#4f7a52}
.cbp-process .col-lg-3:not(:last-child) .cbp-step::after{content:"";position:absolute;top:45px;left:calc(50% + 52px);width:calc(100% - 104px + 36px);border-top:2px dashed #d4af6a99}
.cbp-step h3{font-size:17px;font-weight:700;color:#17111f;margin-bottom:8px}
.cbp-step p{color:#5b5266;font-size:14px;margin:0 auto;max-width:225px}
@media (max-width:991px){.cbp-process .col-lg-3 .cbp-step::after{display:none}}

/* Benefits */
.cbp-why{background:linear-gradient(180deg,#f7f3ea 0%,#fff 100%);overflow:hidden}
.cbp-why h2.cbp-title{font-size:34px;color:#17111f}
.cbp-kicker{display:block;font-family:"Montserrat",sans-serif;font-size:15px;font-weight:600;font-style:italic;color:#b88636;margin-bottom:8px}
.cbp-spark{position:absolute;color:#d4af6a;line-height:1;pointer-events:none}
.cbp-spark.s1{top:56px;left:7%;font-size:18px}
.cbp-spark.s2{top:90px;right:7%;font-size:14px;color:#c9bfe0}
.cbp-spark.s3{bottom:60px;left:14%;font-size:10px;opacity:.6}
.cbp-benefit{display:flex;flex-direction:column;align-items:center;text-align:center;background:#fff;border:1px solid #efe8dc;border-radius:16px;padding:28px 22px;height:100%;box-shadow:0 10px 30px rgba(23,17,31,.05);transition:.3s}
.cbp-benefit:hover{transform:translateY(-5px);box-shadow:0 16px 36px rgba(23,17,31,.09)}
.cbp-benefit i{width:70px;height:70px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#f6edd9;color:#b88636;font-size:26px;margin-bottom:16px}
.cbp-why .col-md-6:nth-child(2) .cbp-benefit i{background:#ece8f3;color:#5a4a78}
.cbp-why .col-md-6:nth-child(3) .cbp-benefit i{background:#f3e9e4;color:#a8613c}
.cbp-why .col-md-6:nth-child(4) .cbp-benefit i{background:#e8efe6;color:#4f7a52}
.cbp-benefit h3{font-size:16px;font-weight:700;color:#17111f;margin-bottom:8px}
.cbp-benefit p{color:#5b5266;font-size:14px;margin:0}

/* Portfolio slider */
.cbp-portfolio h2.cbp-title{font-size:34px;margin-bottom:14px}
.cbp-portfolio .cbp-intro{margin:0;max-width:430px}
.cbp-book-slider{width:100%;padding:26px 8px 34px}
.cbp-book-slider img{display:block;width:100%;height:auto;filter:drop-shadow(0 14px 14px rgba(23,17,31,.2));transition:transform .5s,filter .5s}
.cbp-book-slider .tilt-a{transform:rotate(-4deg)}
.cbp-book-slider .tilt-b{transform:rotate(3deg) translateY(6px)}
.cbp-book-slider img:hover{transform:rotate(0) translateY(-10px) scale(1.04);filter:drop-shadow(0 22px 20px rgba(23,17,31,.28))}
@media (max-width:991px){.cbp-portfolio{text-align:center}.cbp-portfolio .cbp-intro{margin:0 auto}.cbp-portfolio h2.cbp-title{font-size:28px}}

/* Testimonials */
/* Testimonial slider */
.cbp-review-slider{padding:6px 4px 26px}
.cbp-review{margin:0;height:auto;background:#fff;border:1px solid #efe8dc;border-radius:16px;padding:30px 28px 24px;box-shadow:0 10px 30px rgba(23,17,31,.05);display:flex;flex-direction:column}
.cbp-review>i{font-size:26px;color:#e6d6b5;margin-bottom:16px}
.cbp-review blockquote{margin:0 0 22px;flex:1;color:#3b3347;font-size:15px;line-height:1.75}
.cbp-review figcaption{display:flex;align-items:center;gap:12px;border-top:1px solid #efe8dc;padding-top:18px}
.cbp-avatar{width:42px;height:42px;border-radius:50%;background:linear-gradient(135deg,#f6edd9,#ece8f3);color:#17111f;font-weight:700;font-size:16px;display:flex;align-items:center;justify-content:center;flex:none}
.cbp-review strong{display:block;color:#17111f;font-size:14px}
.cbp-review small{display:block;color:#8a5f1a;font-size:12px}
.cbp-review-controls{display:flex;align-items:center;justify-content:center;gap:16px;margin-top:10px}
.cbp-review-controls button{display:flex;align-items:center;justify-content:center;padding:0;flex:none;width:36px;height:36px;line-height:1;border-radius:50%;border:1px solid #e6d6b5;background:#fff;color:#8a5f1a;font-size:12px;cursor:pointer;transition:.3s}
.cbp-review-controls button:hover{background:#d4af6a;border-color:#d4af6a;color:#17111f}
.cbp-review-controls .cbp-review-pagination{position:static;transform:none;width:auto;bottom:auto;left:auto;display:flex;align-items:center;justify-content:center;gap:7px;height:36px}
.cbp-review-pagination .swiper-pagination-bullet{width:8px;height:8px;border-radius:8px;background:#e6d6b5;opacity:1;margin:0!important;transition:.3s}
.cbp-review-pagination .swiper-pagination-bullet-active{width:24px;background:#d4af6a}

/* FAQ */
.cbp-faq{display:grid;grid-template-columns:1fr 1fr;gap:12px 24px;align-items:start}
.cbp-faq details{background:#fff;border:1px solid #efe8dc;border-radius:12px;transition:border-color .3s,box-shadow .3s}
.cbp-faq details:hover{border-color:#e6d6b5}
.cbp-faq details[open]:not(.is-closing){border-color:#e6d6b5;box-shadow:0 6px 18px rgba(23,17,31,.07)}
.cbp-faq summary{display:flex;align-items:center;justify-content:space-between;gap:16px;cursor:pointer;list-style:none;padding:17px 20px;font-size:16px;font-weight:700;color:#17111f;transition:color .25s}
.cbp-faq summary::-webkit-details-marker{display:none}
.cbp-faq summary:hover{color:#8a5f1a}
.cbp-faq summary::after{content:"+";flex:none;font-size:22px;line-height:1;font-weight:700;color:#b88636;transition:transform .35s}
.cbp-faq details[open]:not(.is-closing) summary::after{transform:rotate(45deg)}
.cbp-faq details p{margin:0;padding:0 20px 18px;font-size:15px;line-height:1.65;color:#5b5266}
@media (max-width:767px){.cbp-faq{grid-template-columns:1fr;gap:10px}.cbp-faq summary{font-size:15px;padding:15px 16px}.cbp-faq details p{padding:0 16px 16px}}

.cbp-call{display:block;margin-top:16px;font-size:15px;font-weight:700;color:#17111f;text-decoration:none;transition:color .3s}
.cbp-call i{color:#b88636;margin-right:6px}
.cbp-call:hover{color:#8a5f1a}

/* Services section - light variant */
.cbp-light{background:#fff}
.cbp-light .cbp-head{margin-bottom:50px}
.cbp-light h2.cbp-title{font-size:36px;color:#17111f}
.cbp-hl{position:relative;display:inline-block;color:#b88636}
.cbp-hl::after{content:"";position:absolute;left:0;right:0;bottom:-8px;height:8px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 8' preserveAspectRatio='none'%3E%3Cpath d='M2 5 Q50 0 100 4 T198 3' fill='none' stroke='%23d4af6a' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E") center/100% 100% no-repeat}
.cbp-light .cbp-intro{color:#5b5266;font-size:15px;margin-top:14px}
.cbp-light .cbp-card{position:relative;background:#fdfcfa;border:1px solid #efe8dc;box-shadow:none}
.cbp-light .cbp-card:hover{background:#fff;border-color:#e6d6b5;box-shadow:0 14px 34px rgba(23,17,31,.08)}
.cbp-light .cbp-no{position:absolute;top:18px;right:24px;font-family:"Montserrat",sans-serif;font-size:22px;font-weight:800;color:#efe8dc;transition:.3s}
.cbp-light .cbp-card:hover .cbp-no{color:#d4af6a}
.cbp-light .cbp-card .cbp-ico{width:68px;height:68px;font-size:26px;background:#f6edd9;color:#b88636}
.cbp-light .col-lg-4:nth-child(3n+2) .cbp-ico{background:#ece8f3;color:#5a4a78}
.cbp-light .col-lg-4:nth-child(3n) .cbp-ico{background:#f3e9e4;color:#a8613c}
.cbp-light .cbp-card h3{color:#17111f;font-size:18px;font-weight:700}
.cbp-light .cbp-card p{color:#5b5266;font-size:14px;line-height:1.7}
.cbp-light .cbp-card a{color:#8a5f1a;font-size:13px}
@media (max-width:991px){.cbp-light h2.cbp-title{font-size:28px}}

/* Responsive */
@media (max-width:991px){
  .cbp-hero{padding:120px 0 50px;min-height:0;background:linear-gradient(rgba(0,0,0,.6),rgba(0,0,0,.6)),url('../images/hero-bg-img.webp') 50% bottom/cover no-repeat,#8fd3f4}
  .cbp-hero h1{font-size:38px}
  .cbp-hero p.cbp-lead{max-width:none}
  .cbp-steps{justify-content:center;margin-left:auto;margin-right:auto}
  .cbp-steps li+li::before{display:none}
  .cbp-section{padding:60px 0}
}
@media (max-width:575px){
  .cbp-hero h1{font-size:30px}
  .cbp-form{padding:22px 16px}
}
