/********** Responsive **********/
@media only screen and (max-width:1600px){
    ul.child-tab-book li{padding:32px 10px;}
    ul.child-tab-book li img{width:100%;}
    .home-banner.black-banner{padding-top:100px;}
    .home-banner.black-banner .black-wrap img.one{width:15%;top:-300px;}
    .home-banner.black-banner .black-wrap img.two{top:-250px;width:15%;right:60px;}
    .home-banner.black-banner .black-wrap img.three{width:14%;}
    .home-banner.black-banner .img-wrap img{width:50%;}
    .home-banner.black-banner .img-wrap{margin-top:30px;}
    .casestudy-first-wrap-text p {
        font-family: Roboto;
        font-size: 15px;
        font-weight: 400;
        color: #575757;
        margin: 0px 0px 15px 0px;
    }
    .casestudy-second-wrap-text p {
        font-size: 15px;
    }
    .casestudy-second-wrap-box p {
        font-size: 15px;
        line-height: 1.5;
    }
    .casestudy-second-wrap-bt h6 {
        font-size: 24px;
    }
    .casestudy-fifth-wrap-text ul li {
        font-size: 15px;
    }
    .casestudy-fifth-wrap-text h5 {
        font-size: 22px;
    }
    .casestudy-seventh-wrap-text p {
        font-size: 16px;
    }
    .casestudy-seventh-wrap-text h6 {
        font-size: 24px;    
    }
    .casestudy-seventh-wrap-text h5 {
        font-size: 40px;
    }
    .casestudy-fourth-wrap-box-text h6 {
        font-size: 20px;
    }
    .casestudy-fourth-wrap-box-text p {
        font-size: 16px; 
    }
    .casestudy-fourth-wrap-text p {
        font-size: 16px;    
    }
    .casestudy-banner-wrapper h6 {
        font-size: 50px;    
    }
    .casestudy-banner-wrapper {
        height: 500px;
    }
    .casestudy-second-wrap-text p {
        font-size: 16px;
    }
    .casestudy-third-wrap-text p {
        font-size: 16px;
    }
    .casestudy-sixth-wrap-text p {
        font-size: 16px;
    }
}
@media only screen and (max-width:1500px){
    ul.child-tab-book li{padding:40px 10px;}
    .marketing-boxes:before{left:0;}
    .childern-book-sec .main-heading{width:90%;}
    .wiki-cta-purple .img-wrap img{left:50px;}
    .about-banner:after{width:400px;height:450px;background-size:cover;}
    .about-banner:before{width:300px;height:220px;background-size:cover;}
    .sec2_bg_left {width: 340px;}
    .halloween_popup_box {
        width: 320px !important;    
        padding: 10px 20px 10px 20px !important;   
        left: 15px !important;    
    }
    .halloween_popup_box_img {
        max-width: 220px !important;
    }
    .halloween_popup_box_text {
        margin: 0px 0px 15px 0px !important;    
    }
    .halloween_popup_box_text h6 {
        font-size: 20px !important;
    }
    .halloween_popup_box_text p {
        width: 90% !important;
        font-size: 15px;
    }
    .halloween_popup_box_text {
        margin: 0px 0px 20px 0px !important;    
    }
    .halloween_popup_box_form_input input {
        height: 45px !important;
        font-size: 14px !important;  
    }
    button.btn-style {
        width: 140px !important;
        height: 40px !important;
        font-size: 14px !important;    
    }
    .openModal {
        bottom: 5px !important;
    }
    
}
@media only screen and (max-width:1400px){
    .tab-box-sec.cover-tab-sec{padding-bottom:80px;}
    .tab-box-sec.cover-tab-sec:after{bottom:0;width:125px;height:150px;background-size:cover;}
    .faq-sec.new-faq .img-wrap img{width:85%;}
    .faq-sec.new-faq .img-wrap{left:0;}
    .tab-box-sec ul.book-tabs li .content{height:320px;}
    .tab-box-sec ul.book-tabs li .content p{height:auto;}
    .review-sec ul.img-box li .img-wrap span.two{right:0;top:-40px;}
    .sec2 p.main-pera{width:100%;}
    .book-header h4.main-heading{font-size:35px;line-height:40px;}
    .books-tabs-sec .parent-book-sec .chil-tab .img-wrap{padding-left:30px;}
    ul.child-tab-book li img{width:65%;}
    ul.child-tab-book li{padding:35px 5px;}
    .about-banner .content{width:75%;}
    .about-counter .img-wrap{padding-right:60px;}
    .about-counter p.main-pera.pera-2{padding-right:50px;padding-left:50px;}
    .about-banner:before{width:350px;height:270px;top:150px;}
    .about-banner{background-position:right;}
    .about-banner .content p{width:70%;margin:auto;}
    .about-counter p.main-pera{width:90%;}
    .about-counter ul.counter-box{width:95%;}
    .about-counter ul.counter-box li .wrap p{width:80%;}    
    .contact-banner .img-wrap img{right:0;width:50%}
    .inner-banner-form-sec.wiki-banner .content a.btn-size{font-size:15px;}
    .hightligh-wiki:after{width:178px;height:166px;}
    .sec2{background-position:left;}
    .client-logos ul li img{width:80%;}
    .client-logos{height:100px;}
    .books-tabs-sec .parent-book-sec .chil-tab{padding-right:0;}
    .book-header h4.main-heading:before{left:20px;}
    .process-sec .img-wrap:before{right:00;}
    .contact-banner .content{padding:140px 0 250px;}
    .sec2_bg_left {
        width: 340px;
        left: -70px;
    }
    .sec2_bg_right {
        right: -200px;
        width: 500px;
    }
}
@media only screen and (max-width:1300px){
    .process-sec ul.process-wrap{margin-top:40px;}
    ul.child-tab-book li{padding:40px 5px;}
    .home-banner{padding-top:100px;}
    .about-banner:after{width:350px;}
    .sec2_bg_left {
        width: 250px;
        top: 100px;
    }
    .sec2_bg_right {
        top: 0px;
        right: 0px;
        width: 350px;
    }
    .menu-item {
        margin-right: 0.4rem;
    }
    .bookslider-sec {
        padding: 60px 0;    
    }
}
@media (min-width: 1200px) {
    /*.container, .container-lg, .container-md, .container-sm, .container-xl {*/
    /*    max-width: 1350px;*/
    /*}*/
}
@media only screen and (max-width:1190px){    
    .tab-box-sec ul.book-tabs li .content{height:auto;}
    .tab-box-sec ul.book-tabs{align-items:baseline;}
    .sec5 ul.boxes li .box-wrap{height:auto;}
    .about-banner:before{width:300px;height:220px;top:0;}
    .main-pera{width:100%!important;}
    .home-banner .content p{width:100%;}
    .home-banner .content:before{left:0;}
    .home-banner .content:after{right:0;bottom:-30px;}
    .home-banner .img-wrap:before{left:0;}
    .client-logos ul li img{width:65%;margin:auto;}
    .client-logos ul{width:100%;}
    .sec2 h3{font-size:45px;line-height:55px;}
    .sec2 .img-wrap:before{right:0px;}
    .book-header h4.main-heading{font-size:30px;line-height:40px;}
    ul.child-tab-book li{padding:55px 10px;}
    .sec5 ul.boxes li{flex:0 0 20%;}
    .sec5 ul.boxes{justify-content:space-between;}
    .sec6 .box-wrap{height:200px;padding:30px 15px;margin:10px;}
    .sec7 .box-wrap{padding:30px 15px;}
    .sec7 .box-wrap h4{font-size:15px;}
    .process-sec ul.process-wrap li .content-wrap span p{font-size:12px;}
    .review-sec ul.img-box li .img-wrap span.two{right:-10px;}
    .footer-form .contact-info h5{font-size:30px;line-height:30px;}
    .footer-form .main-heading{font-size:45px;line-height:50px;}
    footer h5{font-size:16px}
    .sec5 ul.boxes li:nth-child(2){top:0;}
    .pink-cta h2{font-size:30px;}
    .pink-cta{height:380px;}
    .navbar ul.header-button li a.btn-size{font-size:12px;padding:8px 10px;line-height:12px;}
    .menu-item{margin-right:1rem;}
    .menu-link{font-size:12px;}
    .bookslider-sec .main-wrap span p{font-size:12px;}
    .faq-sec .accordion button .accordion-title{font-size:18px;}
    .about-banner{background-position:0 -280px;}
    .about-banner:after{width:255px;height:320px;}
    .values-sec .box-wrap{padding:30px 10px;}
    .values-sec .box-wrap p{font-size:13px;}
    .contact-banner:after{display:none;}
    .contact-banner .img-wrap img{width:55%;}
    .inner-banner-form-sec .btn-size{padding:10px 15px;}
    .inner-banner-form-sec .content p{width:100%;}
    .inner-banner-form-sec .banner-form form{padding:25px;}
    .marketing-boxes .main-heading{width:100%;}
    .marketing-boxes .box-wrap{height:350px;}
    .inner-banner-image-sec a.btn-size{padding:10px 15px;font-size:13px;}
    .childern-book-sec .main-heading{width:100%;}
    .wiki-sec2 .wrap{width:200px;height:200px;margin:auto;}
    .hightligh-wiki:after{bottom:unset;top:0;}
    .wiki-sec3 .img-wrap:before{right:0;top:0;bottom:0;}
    .book-header p.main-pera{width:80%!important;}
    .book-header h4.main-heading:before{left:0;}
    .footer-form .contact-info:after{right:-120px;}
    .books-tabs-sec .parent-book-sec .chil-tab .img-wrap span:last-child img{right:30px;width:60%;}
    .books-tabs-sec .parent-book-sec .chil-tab .img-wrap span:first-child img{width:70%;}
    .marketing-boxes .box-wrap .img-wrap h2{font-size:16px;line-height:24px;}
    .inner-banner-form-sec.wiki-banner .content a.btn-size{font-size:12px;}
    .wiki-cta-purple:before{width:95%;}
    .wiki-cta-purple .img-wrap img{left:0;}
    .wiki-cta-purple h3{font-size:26px;}
    .wiki-cta-purple p{font-size:16px;}
    .wiki-cta-pink:before{width:95%;}
    .wiki-cta-pink h3{font-size:26px;}
    .wiki-cta-pink p{font-size:16px;}
}
@media only screen and (max-width:991px){
    .tab-box-sec:before{display: none}
    .tab-box-sec{padding-bottom:60px;}
    .tab-box-sec:after{display:none;}
    .home-banner.black-banner .black-wrap img.one{left:0;top:0;}
    .home-banner.black-banner .black-wrap img.two{right:0;top:0;}
    .home-banner.black-banner .content p{width:80%;}
    .home-banner.black-banner .img-wrap:after{display:none;}
    .home-banner.black-banner .black-wrap img.three{right:0;bottom:50px;width:20%;}
    .wiki-services .col-md-4.my-auto,.process-sec .col-md-4.my-auto,.home-banner .content:after,.home-banner .content:before,.home-banner .img-wrap:before,.home-banner .img-wrap:after{display:none;}
    .home-banner .content h3:before{width:120px;left:-90px;background-size:cover;height:18px;}
    .home-banner .content h3:after{right:0;top:-100px;}
    .home-banner .content .heading1:before{width:120px;left:-90px;background-size:cover;height:18px;}
    .home-banner .content .heading1:after{right:0;top:-100px;}
    .sec2 h3{line-height:40px;font-size:30px;}
    .sec2 .col-md-6:first-child{position:relative;padding-left:20px;}
    .sec2 .row{align-items:center;}
    .client-logos{padding-right:80px;}
    .sec2{padding:100px 0 50px;}
    .bookslider-sec{padding:60px 0;}
    .bookslider-sec .main-wrap span:first-child{width:auto;}
    .sec5:after{width:135px;height:132px;left:0;background-size:cover;}
    .sec5 ul.boxes li{flex:0 0 46%;top:unset!important;bottom:unset;}
    .sec5 ul.boxes{justify-content:center;margin-bottom:60px;}
    .main-heading{font-size:30px;line-height:42px;}
    .sec6 .box-wrap{padding:20px 10px;margin:10px;}
    .sec6 .box-wrap p{font-size:13px;line-height:19px;}
    .sec7:before{left:0;}
    .sec7 .box-wrap{margin:0 0 30px 0;}
    .sec7{padding:50px 0 30px;}
    .process-sec ul.process-wrap li{left:0!important;right:0!important;}
    .process-sec ul.process-wrap.right-wrap .content-wrap{gap:20px;}
    .process-sec ul.process-wrap.right-wrap li span{text-align:end;}
    .process-sec:after{width:135px;height:145px;left:0;background-size:cover;}
    .bookslider-sec .main-wrap-parent {
        width: 100%;
        margin: auto;
    }
    .pink-cta{padding:40px 0;height:auto;}
    .pink-cta ul.btn-wrap.d-flex{flex-wrap:wrap;justify-content:center;gap:0;}
    .pink-cta:before{display:none;}
    .pink-cta .row{align-items:center;}
    .pink-cta .img-wrap{position:unset;}
    .faq-sec .img-wrap img{position:unset;}
    .faq-sec .img-wrap{text-align:center;margin-bottom:20px;}
    .faq-sec .main-heading{font-size:45px;line-height:55px;}
    .footer-form .contact-info{width:100%;margin-top:70px;}
    .footer-form .contact-info:before{background-size:cover;width:100%;top:-40px;height:400px;}
    .footer-form{padding-bottom:120px;}
    .footer-form .contact-info ul li:before{width:80%;}
    .navbar ul.header-button{display:none!important;}
    .book-header h4.main-heading{font-size:20px;line-height:30px;}
    .book-header h4.main-heading:before{display:none;}
    .book-header p.main-pera{width:75%!important;font-size:13px;}
    ul.parent-tab li{font-size:15px;margin-right:20px;}    
    .books-tabs-sec .parent-book-sec .chil-tab .img-wrap span img{width:30%;margin-right:140px;}
    .books-tabs-sec .parent-book-sec .chil-tab .img-wrap{text-align:center;padding:0 0 30px 0;}
    .books-tabs-sec .parent-book-sec .chil-tab .img-wrap span:last-child img{top:20px;right:-80px;left:0;margin:auto;}
    .books-tabs-sec .parent-book-sec .chil-tab h5{font-size:30px;line-height:40px;}
    .books-tabs-sec .parent-book-sec .chil-tab{padding-left:50px;}
    ul.child-tab-book li{padding:70px 10px;}
    .books-tabs-sec .parent-book-sec .chil-tab p.main-pera{padding-right:20px;}
    .review-sec ul.img-box li .img-wrap span.two img{width:55%;}
    .review-sec ul.img-box li .img-wrap span.two{right:-120px;top:0;}
    .review-sec ul.img-box li .img-wrap span.one img{width:80%;}
    .review-sec h5{font-size:18px;}
    .review-sec ul.reviews-wrap li .content-wrap p{font-size:13px;}
    .process-sec ul.process-wrap li .content-wrap span h4{font-size:16px;line-height:22px;}
    .process-sec ul.process-wrap li .content-wrap span p{height:auto;padding:10px 0;}
    .about-banner .content{width:100%;}
    .about-banner:before{display:none;}
    .about-banner:after{display:none;}
    .about-banner{background-position:center;}
    .contact-banner .content{padding:120px 0;}
    .contact-banner .offset-1{margin-left:0;}
    .contact-banner .content h3{font-size:50px;line-height:50px;}
    .contact-banner:before{display:none;}
    .inner-banner-form-sec.wiki-banner .content h6{font-size:20px;}
    .wiki-sec2 .wrap{width:100%;height:220px;}
    .wiki-sec2 .wrap h6{font-size:14px;line-height:20px;}
    .hightligh-wiki:before{left:-30%;}
    .hightligh-wiki .alig{align-items:center;}
    .hightligh-wiki .offset-1{margin-left:0!important;width:55%;}
    ul.btn-wrap{flex-wrap:wrap;gap:20px;}
    .hightligh-wiki:after{top:-40px;right:-20px;}
    .wiki-sec3 .img-wrap{display:none;}
    .wiki-cta-purple:before{width:95%;}
    .wiki-cta-purple .btn-wrap{justify-content:center;margin-top:20px;}
    .wiki-cta-purple h3{font-size:30px;line-height:30px;padding:15px 0;}
    .wiki-cta-purple p{font-size:18px;line-height:26px;}
    .process-wiki .slider-process li{margin-top:30px;}
    .process-wiki .slider-process{margin-top:100px;}
    .process-wiki{padding-bottom:0;}
    .wiki-cta-pink:before{width:95%;}
    .wiki-cta-pink .btn-wrap{justify-content:center;margin-bottom:20px;}
    .wiki-cta-pink h3{font-size:25px;line-height:25px;padding:15px 0;}
    .wiki-cta-pink p{font-size:18px;line-height:26px;}
    .inner-banner-form-sec.wiki-banner .content{width:100%;margin-bottom:100px;}
    .inner-banner-form-sec .content ul.banner-bullets li{font-size:14px;line-height:26px;}
    .process-wiki .slider-process li .content-box h5{font-size:30px;line-height:34px;}
    .process-wiki .slider-process li .img-box figure img{width:80%;margin:auto;float:right;}
    .process-wiki .slider-process li .img-box figure:before{width:250px;height:200px;}
    .process-wiki .slider-process li .img-box figure{text-align:right;}    
    .process-wiki .slider-process li .content-box{width:50%;}
}
@media only screen and (min-width:993px){
    .menu-dropdown:hover > .submenu{display:block;opacity:1;visibility:visible;transform:translateY(0);}
}
@media screen and (max-width:992px){
    .header .navbar{position:fixed;top:0;left:-100%;width:40%;height:100%;z-index:10;opacity:0;overflow-y:auto;visibility:hidden;box-shadow:0 4px 6px -1px rgba(0,0,0,0.1),0 2px 4px -1px rgba(0,0,0,0.06);background-color:#000000c2;transition:all 0.5s ease;display:initial;}
    .header .navbar.active{left:0rem;opacity:1;visibility:visible;}
    .menu{width:100%;height:auto;padding:1rem 0;}
    .menu-item{display:block;margin:0 auto;margin-bottom:20px;}
    .menu-link,.submenu-link{justify-content:space-between;padding:0.5rem 1.25rem;font-size:15px;color:#fff;}
    .submenu{position:relative;top:-0.5rem;left:2.5rem;width:100%;max-height:0;padding:0px;border:none;outline:none;opacity:1;overflow:hidden;visibility:visible;transform:translateY(0px);box-shadow:none;background:transparent;}
    .burger{display:block;opacity:1;visibility:visible;}
    .overlay.active{display:block;opacity:1;visibility:visible;}
    .about-counter .img-wrap img{width:40%;margin-bottom:20px;}
    .about-counter{padding:60px 0;}
    .about-counter .col-lg-4{padding:0 10px;}
    .about-counter .col-lg-4:first-child{padding:0;}
    .about-counter p.main-pera.pera-2{padding:10px 0;}
    .about-counter ul.counter-box{width:100%;margin:15px 0;}
    .about-counter ul.counter-box li .wrap p{width:100%;}
    .inner-banner-form-sec .offset-2{margin-left:0;width:50%;}
    .marketing-boxes .box-wrap{padding:30px 10px;margin:15px 5px;height:300px;}
    .marketing-boxes:before{width:100px;height:180px;background-size:cover;bottom:60px;}
    .childern-book-sec .img-wrap{padding:0 0 30px 0;text-align:center;}
    .inner-banner-form-sec .content{padding:20px 0 120px 0;}
    .inner-banner-form-sec .content h3{font-size:50px;line-height:50px;}
    .inner-banner-form-sec .content .heading1{font-size:50px;line-height:50px;}
    .inner-banner-form-sec .content p{padding-top:15px;}
    ul.child-tab-book{width:100%;}
    .book-header{margin:0;background:#fff;width:auto;padding:20px 0;}
    .book-header p.main-pera{width:100%!important;}
    ul.parent-tab{flex-wrap:wrap;justify-content:space-around;}
    ul.parent-tab li{margin-right:30px;}
    .books-tabs-sec .parent-book-sec .row.g-0{flex-direction:column-reverse;}
    .books-tabs-sec .parent-book-sec .chil-tab{padding-top:40px;overflow:hidden;}
    .books-tabs-sec .parent-book-sec .chil-tab h5{font-size:22px;line-height:30px;}
    .books-tabs-sec .parent-book-sec .chil-tab p.main-pera{font-size:12px;}
    ul.child-tab-book li{padding:30px 10px;}
    ul.child-tab-book li img{width:80%;}
    ul.child-tab-book{display:flex;flex-wrap:nowrap;box-shadow:none;width:100%;}
    .books-tabs-sec .parent-book-sec .chil-tab .img-wrap span:last-child img{width:30%;position:inherit;}
    .books-tabs-sec .parent-book-sec .chil-tab .img-wrap span img{width:;}
    .books-tabs-sec .parent-book-sec .chil-tab .img-wrap span:first-child{display:none;}
    .footer-form .contact-info:after{right:0;}
    .pink-cta .img-wrap:before{left:0;top:0;}
    .pink-cta h2{font-size:25px;line-height:35px;}
    .about-banner .content p{width:100%;}

    /* OUR SERVICES (Table Hover List) Responsiveness */
    .table-hover-list-section {
        padding: 80px 0 60px;
    }
    .thl-header h2 {
        font-size: 32px !important;
        line-height: 1.3 !important;
    }
    .th-list-container {
        gap: 15px;
    }
    .th-row {
        flex-direction: column;
        align-items: flex-start;
        padding: 25px 25px;
        margin-bottom: 0;
        gap: 15px;
    }
    .th-icon {
        margin-right: 0;
        margin-bottom: 5px;
        width: 60px;
        height: 60px;
        font-size: 26px;
        border-radius: 14px;
    }
    .th-content {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }
    .th-title {
        width: 100%;
        font-size: 20px;
        padding-right: 0;
        margin-bottom: 8px;
    }
    .th-desc {
        width: 100%;
        padding-right: 0;
        font-size: 14px;
        line-height: 1.6;
    }
    .th-action {
        width: 100%;
        justify-content: flex-start;
        margin-top: 5px;
    }
    .th-btn {
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
    .th-bg-num {
        display: none;
    }
    .th-hover-img {
        display: none !important;
    }

    /* STEP-BY-STEP ROADMAP (reference-process-sec) Responsiveness */
    .reference-process-sec {
        padding: 60px 0 50px !important;
    }
    .ref-main-title {
        font-size: 32px !important;
        line-height: 1.3 !important;
    }
    .ref-header p {
        font-size: 14.5px !important;
    }
    .ref-accordion-list {
        gap: 12px;
    }
    .ref-accordion-item {
        padding: 16px 20px !important;
        border-radius: 16px;
    }
    .ref-accordion-item:hover, .ref-accordion-item.active {
        transform: none !important; /* Disable translate shift on mobile/tablet to avoid jitter */
    }
    .ref-step-num {
        font-size: 20px !important;
        min-width: 30px !important;
    }
    .ref-step-title {
        font-size: 16px !important;
    }
    .ref-arrow-btn {
        width: 36px !important;
        height: 36px !important;
        font-size: 13px !important;
    }
    .ref-accordion-body {
        padding-top: 12px !important;
        padding-left: 48px !important;
    }
    .ref-accordion-body p {
        font-size: 14px !important;
        line-height: 1.6 !important;
    }
    .ref-preview-card {
        height: auto !important;
        padding: 30px 20px !important;
        border-radius: 20px !important;
        margin-top: 40px !important;
    }
    .ref-preview-card:hover {
        transform: none !important;
    }
    .ref-card-inner {
        height: auto !important; /* Overrides the fixed 940px height */
    }
    .ref-card-badge {
        margin-bottom: 25px !important;
        padding: 8px 16px !important;
        font-size: 11px !important;
    }
    .ref-preview-card .ref-card-img {
        height: 240px !important;
        min-height: 200px !important;
        max-height: 260px !important;
        object-fit: cover !important;
        margin-bottom: 25px !important;
    }
    .ref-card-stats-row {
        padding-top: 25px !important;
        gap: 20px !important;
        flex-wrap: wrap !important;
    }

    /* WHY CHOOSE US (Accordion Panes) mobile responsiveness */
    .whychoose-flex-container {
        flex-direction: column !important;
        height: auto !important;
        gap: 12px !important;
    }
    .wc-pane {
        flex: none !important;
        height: 70px !important;
        padding: 0 !important;
        transition: all 0.4s ease !important;
    }
    .wc-pane-inner {
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-start !important;
        padding: 0 15px !important;
        height: 100% !important;
    }
    .wc-pane-header {
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-start !important;
        width: 100% !important;
        gap: 12px !important;
        opacity: 1 !important;
    }
    .wc-pane-num {
        margin: 0 !important;
        font-size: 16px !important;
        display: block !important;
        opacity: 1 !important;
    }
    .wc-pane-icon {
        margin: 0 !important;
        width: 40px !important;
        height: 40px !important;
        font-size: 16px !important;
    }
    .wc-pane-title-vertical {
        writing-mode: horizontal-tb !important;
        transform: none !important;
        margin: 0 !important;
        font-size: 15px !important;
        font-weight: 700 !important;
        color: #1e293b !important;
        white-space: normal !important;
        max-height: none !important;
        opacity: 1 !important;
        display: block !important;
    }
    .wc-pane-content {
        display: none !important;
    }
    
    /* Active State on Mobile */
    .wc-pane.active {
        height: auto !important;
        background: linear-gradient(135deg, #fffaf7 0%, #ffffff 100%) !important;
    }
    .wc-pane.active .wc-pane-inner {
        flex-direction: column !important;
        align-items: flex-start !important;
        padding: 20px 15px !important;
    }
    .wc-pane.active .wc-pane-header {
        margin-bottom: 12px !important;
    }
    .wc-pane.active .wc-pane-num,
    .wc-pane.active .wc-pane-title-vertical {
        display: block !important;
        opacity: 1 !important;
        color: #1e293b !important;
    }
    .wc-pane.active .wc-pane-content {
        display: block !important;
        position: relative !important;
        width: 100% !important;
        padding: 0 !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
    }
    .wc-pane.active .wc-pane-content p {
        font-size: 13.5px !important;
        margin-bottom: 12px !important;
    }
    .wc-pane-features {
        gap: 8px !important;
        margin-bottom: 15px !important;
    }
    .wc-pane-features li {
        font-size: 13px !important;
    }
    .wc-pane-btn {
        width: 100% !important;
        max-width: 260px !important;
        justify-content: center !important;
        padding: 10px 15px !important;
        font-size: 13px !important;
    }
}
@media only screen and (max-width:767px){
    .home-banner .content .heading2{font-size:35px;line-height:45px;}
    .home-banner .content .heading2:before{display:none;}
    .home-banner .content .heading2:after{display:none;}
    .tab-box-sec ul.book-tabs li{flex:100%;}
    .tab-box-sec .row.m-5{margin:20px 0!important;}
    .tab-box-sec ul.book-tabs li .content{height:auto;}
    ul.btn-wrap li{margin-right:0;}
    .home-banner .container:after{display:none;}
    .home-banner .content h3{font-size:35px;line-height:45px;}
    .home-banner:before{left:-120px;top:-110px;}
    .home-banner:after{display:none;}
    .home-banner .content h3:before{display:none;}
    .home-banner .content p{font-size:15px;padding:10px 0;}
    .home-banner ul.btn-wrap:before{display:none;}
    .btn-size{padding:10px 15px;font-size:13px;line-height:20px;}
    .home-banner {
        padding-top: 120px;
        background-size: cover;
    }
    .home-banner .content h3:after{display:none;}
    .sec2 .img-wrap{margin-top:60px;}
    .sec2 .img-wrap:before{top:-20px;right:20px;}
    .main-heading{font-size:25px;line-height:35px;}
    .book-header{margin-bottom:-180px;}
    .book-header h4.main-heading{left:0;text-align:left;}    
    .sec5:before{display:none;}
    .sec5 ul.boxes li .box-wrap{height:auto;border:1px solid rgb(0 0 0 / 18%);margin:0;}
    .sec5 ul.boxes li:before{display:none;}
    .sec5 ul.boxes{display:block;margin:30px 0;}
    .sec5{padding:40px 0 120px;}
    .client-logos{padding-right:40px;}
    .bookslider-sec h4.main-heading:before{display:none;}
    .sec7 .lines-shape h6{display:none}
    .sec7 p.main-pera{font-size:15px;line-height:18px;}
    .sec7:before{display:none;}
    .process-sec ul.process-wrap.right-wrap li span{text-align:left;}
    .process-sec ul.process-wrap.right-wrap .content-wrap span:first-child{order:0;}
    .process-sec ul.process-wrap.right-wrap{padding-left:0;}
    .process-sec ul.btn-wrap{margin:50px 0 60px;}
    .review-sec ul.img-box .slick-track{margin:30px 0;}
    .review-sec .slick-dots{bottom:-350px;left:0;}
    .review-sec h5{font-size:15px;line-height:20px;}
    .review-sec{padding-top:0;}
    .pink-cta h2{font-size:25px;line-height:35px;}
    .pink-cta .img-wrap:before{display:none;}
    .pink-cta{padding:40px 0 0;}
    .pink-cta .img-wrap{position:relative;top:30px;}
    .faq-sec .accordion button .accordion-title{font-size:15px;padding-right:15px;}
    .faq-sec .accordion .accordion-content p{font-size:13px;line-height:23px;}
    .footer-form .main-heading{font-size:35px;line-height:45px;}
    .footer-form form{margin:auto;}
    .footer-form form ul{margin:25px 0;}
    .copy-rights ul.terms{justify-content:center;}
    .copy-rights{text-align:center;}
    .header .navbar{width:70%;}
    footer h5.footer-menu-head{position:relative;}
    footer h5.footer-menu-head.clicked{margin-bottom:0;}
    footer h5.footer-menu-head.clicked:before{content:'\f056';}
    ul.footer-menu{display:none;}
    footer ul.social-icons{margin-bottom:40px;}
    header.header.darkHeader{background:#ffffff;}
    .about-banner:before{display:none;}
    .about-banner:after{display:none;}
    .about-banner{padding:100px 0;background-position:-360px 0;}
    .about-banner .content{width:100%;}
    .about-banner .content h3{font-size:55px;line-height:65px;}
    .c-border{border:0;}
    .values-sec .row:last-child:before{display:none;}
    .values-sec .box-wrap{padding:20px 10px;border:1px solid rgba(0,0,0,0.12);margin-bottom:10px;}
    .values-sec{padding:50px 0;}    
    .values-sec h2.main-heading{padding-bottom:20px;}
    .counter-cta .img-wrap{margin-top:30px;}
    .contact-banner .content{padding:60px 0 200px;}
    .inner-banner-form-sec .offset-3{margin-left:0;}
    .inner-banner-form-sec .content{padding:100px 0;}
    .inner-banner-form-sec .content p{width:100%;}
    .inner-banner-form-sec .content h3{font-size:35px;line-height:45px;}
    .inner-banner-form-sec .content .heading1{font-size:35px;line-height:45px;}
    .inner-banner-form-sec .offset-2{width:100%;margin-bottom:100px;padding-right:0;}
    .marketing-boxes:before{display:none;}
    .marketing-boxes{padding-bottom:30px;}
    .inner-banner-image-sec{padding:80px 0;}
    .inner-banner-image-sec figure{padding-top:50px;}
    .childern-book-sec .img-wrap:before{right:0;}
    .cta-black{z-index:11;position:relative;}
    .inner-banner-image-sec .content h3{font-size:50px;}
    .faq-sec .img-wrap:before{right:0;top:0;}
    .wiki-sec2 .wrap{margin-bottom:20px;}
    .hightligh-wiki .offset-1{width:100%;}
    .hightligh-wiki:before{display:none;}
    .hightligh-wiki:after{display:none;}
    .wiki-services ul.process-wrap.right-wrap{padding-left:0;}    
    .wiki-services{padding-bottom:0;}
    .wiki-cta-purple:before{width:100%;border-radius:0;}
    .wiki-cta-purple .img-wrap{display:none;}
    .process-wiki ul.slick-dots{gap:10px;}
    .process-wiki .slider-process li .content-box{width:100%;}
    .process-wiki .slider-process li .content-box h5{font-size:30px;}
    .process-wiki .slider-process li{display:block;}
    .process-wiki .slider-process li .img-box figure:before{display:none;}
    .process-wiki ul.slick-dots li:before{display:none;}
    .wiki-cta-pink:before{width:100%;border-radius:0;}
    .wiki-cta-pink .img-wrap{display:none;}
    .book-header{margin:0;background:#fff;width:auto;padding:20px 0;}
    .book-header p.main-pera{width:100%!important;}
    ul.parent-tab{flex-wrap:wrap;justify-content:space-around;}
    ul.parent-tab li{margin-right:30px;}
    .books-tabs-sec .parent-book-sec .row.g-0{flex-direction:column-reverse;}
    .books-tabs-sec .parent-book-sec .chil-tab{padding-top:40px;overflow:hidden;padding-left:20px;}
    .books-tabs-sec .parent-book-sec .chil-tab h5{font-size:22px;line-height:30px;}
    .books-tabs-sec .parent-book-sec .chil-tab p.main-pera{font-size:12px;}
    ul.child-tab-book li{padding:30px 10px;}
    ul.child-tab-book li img{width:80%;}
    ul.child-tab-book{display:flex;flex-wrap:nowrap;box-shadow:none;width:100%;}
    .books-tabs-sec .parent-book-sec .chil-tab .img-wrap span:last-child img{position:inherit;}
    .books-tabs-sec .parent-book-sec .chil-tab .img-wrap span img{width:;}
    .books-tabs-sec .parent-book-sec .chil-tab .img-wrap span:first-child{display:none;}
    .sec5 ul.boxes li{margin-bottom:30px;}
    .process-wiki .slider-process li .img-box figure img{width:100%}
    .tab-box-sec:before,.tab-box-sec .container:before,.faq-sec.new-faq .img-wrap img{display:none;}

    /* OUR SERVICES mobile adjustments */
    .th-row {
        padding: 20px 15px;
        gap: 10px;
    }
    .thl-header h2 {
        font-size: 26px !important;
    }
    .th-title {
        font-size: 18px;
    }

    /* Services CTA Banner responsiveness */
    .services-cta-banner {
        flex-direction: column !important;
        align-items: stretch !important;
        text-align: center !important;
        padding: 30px 20px !important;
        gap: 20px !important;
        margin-top: 30px !important;
    }
    .cta-banner-left {
        flex-direction: column !important;
        align-items: center !important;
        gap: 12px !important;
    }
    .cta-banner-text {
        text-align: center !important;
    }
    .cta-banner-text h4 {
        font-size: 20px !important;
        margin-bottom: 6px !important;
    }
    .cta-banner-text p {
        font-size: 15px !important;
    }
    .cta-banner-right {
        flex-direction: column !important;
        width: 100% !important;
        gap: 12px !important;
    }
    .cta-banner-right a {
        width: 100% !important;
        justify-content: center !important;
        text-align: center !important;
        margin: 0 !important;
    }

    /* Slider & Genre Cards Mobile responsiveness */
    .custom-slider-container {
        position: relative !important;
        flex-direction: column !important;
        padding: 0 10px !important;
        overflow: hidden !important;
    }
    .custom-slider-track-wrap {
        max-width: 100% !important;
        padding: 10px 0 !important;
        overflow: hidden !important;
        width: 100% !important;
    }
    .custom-slider-arrow {
        position: absolute !important;
        top: 35% !important;
        transform: translateY(-50%) !important;
        margin: 0 !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15) !important;
        width: 40px !important;
        height: 40px !important;
        font-size: 14px !important;
    }
    .custom-slider-arrow.prev {
        left: 0 !important;
    }
    .custom-slider-arrow.next {
        right: 0 !important;
    }
    
    .custom-slider-track .genre-slide-card {
        width: 280px !important;
        height: 500px !important;
        transform: scale(0.9) !important;
        opacity: 0.5 !important;
    }
    
    .custom-slider-track .genre-slide-card.slick-center {
        width: 280px !important;
        height: 500px !important;
        flex-direction: column !important;
        align-items: stretch !important;
        opacity: 1 !important;
        transform: scale(1) !important;
        padding: 0 !important;
    }
    
    .custom-slider-track .genre-slide-card.slick-center .genre-book-cover {
        width: 100% !important;
        height: 180px !important;
        margin-bottom: 0 !important;
        padding: 15px !important;
    }
    
    .custom-slider-track .genre-slide-card.slick-center .genre-book-cover img {
        height: 150px !important;
    }
    
    .custom-slider-track .genre-slide-card.slick-center .genre-info-col {
        width: 100% !important;
        padding: 20px 15px 25px 15px !important;
        align-items: center !important;
        text-align: center !important;
    }
    
    .custom-slider-track .genre-slide-card.slick-center .genre-info-col h3 {
        font-size: 20px !important;
        margin-bottom: 8px !important;
    }
    
    .custom-slider-track .genre-slide-card.slick-center .genre-info-col p {
        font-size: 13.5px !important;
        line-height: 1.5 !important;
        margin-bottom: 16px !important;
    }
    
    .custom-slider-track .genre-slide-card.slick-center .btn-popup-submit {
        width: 100% !important;
        max-width: 180px !important;
        height: 40px !important;
        font-size: 13.5px !important;
    }

    .genre-badge {
        top: 15px !important;
        right: 15px !important;
    }

    /* Roadmap Mobile adjustments */
    .ref-main-title {
        font-size: 28px !important;
    }
    .ref-preview-card {
        padding: 24px 15px !important;
    }
    .ref-card-stats-row {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 15px !important;
    }
    .ref-stat-box {
        gap: 12px !important;
    }
    .ref-stat-box i {
        font-size: 28px !important;
    }
    .ref-stat-box strong {
        font-size: 18px !important;
    }

    /* Newsletter Form Mobile stacking */
    .newsletter-form-col form {
        flex-direction: column !important;
        background: transparent !important;
        border: none !important;
        gap: 10px !important;
        padding: 0 !important;
        max-width: 100% !important;
    }
    .newsletter-form-col input {
        border: 1px solid #cbd5e1 !important;
        border-radius: 12px !important;
        background: #ffffff !important;
        width: 100% !important;
        padding: 12px 18px !important;
        box-sizing: border-box !important;
    }
    .newsletter-form-col button {
        width: 100% !important;
        justify-content: center !important;
        text-align: center !important;
        padding: 12px 28px !important;
        border-radius: 12px !important;
        height: auto !important;
    }

    /* Bottom Copyright Center Align on mobile */
    .bottom-copyright-dark p {
        text-align: center !important;
    }
    .bottom-copyright-dark ul.terms {
        justify-content: center !important;
        margin-top: 12px !important;
        flex-wrap: wrap !important;
        gap: 8px 15px !important;
    }
    /* Hide separator pipes on mobile to prevent wrapping issues, use flex-gap instead */
    .bottom-copyright-dark ul.terms li:nth-child(2),
    .bottom-copyright-dark ul.terms li:nth-child(4) {
        display: none !important;
    }
}
@media only screen and (max-width:575px){
    .home-banner .content .heading1 {
        font-size: 32px;    
        line-height: 40px;
    }
    .sec2_bg_right {
        display: none;    
    }
    .sec2_bg_left {
        display: none;
    }
    .sec2 {
        padding: 50px 0 50px;
    }
    .sec2 .heading2 {
        font-size: 40px;
        line-height: 40px;
    }
    .main-heading {
        font-size: 20px;
        line-height: 30px;
    }
    .bookslider-sec {
        padding: 50px 0;
    }
    .bookslider-sec .slider-wrap .slick-list.draggable {
        padding: 30px 0 !important;
    }
    .book-header p.main-pera {
        color: #ffffff;
    }
    .book-header .main-heading {
        color: #FFF;
    }
    .book-header .main-heading span {
        color: #FFF;
    }
    ul.parent-tab li.current, ul.parent-tab li:hover {
        border-color: #ffffff;
    }
    ul.parent-tab li {
        color: #ffffff;
    }
    .bookslider-sec .main-heading span {
        color: #000000;
    }
    .faq-sec .img-wrap {
        display: none;
    }
    .faq-sec .main-heading {
        font-size: 24px;
        line-height: 30px;
        padding: 0px 0px 0px 0px;
    }
    .faq-sec {
        padding: 50px 0 50px;
    }
    .cta-black {
        padding: 50px 0;
    }
    .process-sec {
        padding: 50px 0;
    }
    .process-sec p.main-pera {
        margin: 0 auto 0px auto;    
    }
    .sec7 .box-wrap {
        height: 240px;x
    }
    .home-banner:before {
        display: none;
    }
    .process-sec ul.process-wrap li .content-wrap span h6 {
        font-size: 50px;
    }
    .process-sec ul.process-wrap li {
        margin-bottom: 30px;
    }
    .marketing-boxes {
        padding: 50px 0px;
    }
    .my-tabs.current.tab-01 {
        display: none;
    }
    .pink-cta .img-wrap {
        display: none;
    }
    .book-parent {
        padding: 50px 0px;
    }
    .sec2 .img-wrap {
        margin-top: 60px;
        display: none;
    }
    .footer-form .contact-info {
        margin-top: 0px;        
    }
    .footer-form {
        padding-bottom: 50px;
        padding-top: 50px;
    }
    .footer-form .contact-info .img-wrap img {
        animation: none;    
    }
    .footer-form .contact-info ul li {
        margin-left: 0px;
        margin-bottom: 15px;
    }
    .footer-form .main-heading {
        font-size: 25px;
        line-height: 35px;
    }
    .footer-form form ul li label span {
        font-size: 12px;    
    }
    .footer-form form ul li button {
        font-size: 15px;
        padding: 12px 20px;
    }
    .footer-form form ul li i {
        color: #000000;
    }
    footer .footer-logo {
        width: 80%;
    }
    .casestudy-banner-1 {
        display: none;
    }
    .casestudy-banner-wrapper h6 {
        font-size: 30px;
    }
    .casestudy-banner-wrapper {
        height: 350px;
    }
    .casestudy-first-wrap-text h6 {
        font-size: 40px;    
    }
    .home-banner {
        padding: 80px 0px 80px 0px;
    }
    .sec2 p.main-pera {
        padding: 15px 0px 15px 0px;
    }
    ul.parent-tab li {
        margin-right: 0px;
    }
    .sec5 {
        padding: 40px 0 40px;
    }
    .sec6 {
        padding: 40px 0 40px;
    }
    .review-sec ul.img-box .slick-track {
        margin: 0px 0;
    }
    .form_box_bg {
        display: none;
    }
    .form_box:after {
        left: 0px;
    }
    .form_box {
        padding: 45px 30px 10px 30px;
    }
    .footer-form form ul li {
        margin-bottom: 15px;    
    }
    .publish_book_img {
        height: auto;
    }
    footer .footer-logo {
        width: 90%;        
    }
    footer {
        padding: 50px 0 20px 0;
    }
    body.ghost_pg .content h3 {
        font-size: 38px;
        line-height: 40px;
    }
    body.ghost_pg .content p {
        width: 100%;
        font-size: 15px;
        line-height: 22px;
    }
    .inner-banner-form-sec .content {
        padding: 0px 0px 50px 0px;        
    }
    .inner-banner-form-sec .offset-2 {
        margin-bottom: 0px;
    }
    .inner-banner-form-sec {
        padding: 50px 0px;
    }
    .sec2 h3 {
        color: #000;
    }
    .portfolio-new {
        padding: 50px 0;    
    }
    .halloween_popup_box {
        width: 290px !important;
    }

    /* OUR SERVICES ultra-mobile adjustments */
    .th-row {
        padding: 16px 12px;
        gap: 8px;
    }
    .thl-header h2 {
        font-size: 24px !important;
    }
    .th-title {
        font-size: 16px;
    }
    .th-desc {
        font-size: 13px;
        line-height: 1.5;
    }

    /* Services CTA Banner ultra-mobile responsiveness */
    .services-cta-banner {
        padding: 24px 16px !important;
        gap: 15px !important;
    }
    .cta-banner-text h4 {
        font-size: 18px !important;
    }
    .cta-banner-text p {
        font-size: 13px !important;
    }
}

/*keyframes*/
@keyframes border_change{
    0%{border-color:#EE3074}
    50%{border-color:#2e234f}
    100%{border-color:#EE3074}
}
@-webkit-keyframes bummer{
    100%{-webkit-transform:scale(1,1);}
}
@keyframes bummer{
    100%{transform:scale(1,1);}
}
@keyframes cube{
    0%{transform:rotate(0deg);}
    100%{transform:rotate(360deg);}
}
@keyframes hmebannr_floatinglftrght{
    0%{transform:translatex(0px);}
    50%{transform:translatex(-25px);}
    100%{transform:translatex(0px);}
}
@keyframes shake{
    10%,90%{-webkit-transform:translate3d(-1px,0,0);transform:translate3d(-1px,0,0);}
    20%,80%{-webkit-transform:translate3d(2px,0,0);transform:translate3d(2px,0,0);}
    30%,50%,70%{-webkit-transform:translate3d(-4px,0,0);transform:translate3d(-4px,0,0);}
    40%,60%{-webkit-transform:translate3d(4px,0,0);transform:translate3d(4px,0,0);}
}
@keyframes flash{
    0%{opacity:0;}
    15%{opacity:0;}
    20%{opacity:1;}
    25%{opacity:0;}
    30%{opacity:0;}
    35%{opacity:1;}
    40%{opacity:0;}
    45%{opacity:0;}
    50%{opacity:1;}
    100%{opacity:1;}
}
@-webkit-keyframes ballPulseDouble{
    0%,100%{-webkit-transform:scale(0);transform:scale(0);}
    50%{-webkit-transform:scale(1);transform:scale(1);}
}
@keyframes ballPulseDouble{
    0%,100%{-webkit-transform:scale(0);transform:scale(0);}
    50%{-webkit-transform:scale(1);transform:scale(1);}
}

/* ============================================================
   PRESTIGE PUBLISHING HOUSE — NEW SECTION RESPONSIVE RULES
   Covers: ghostwriting/index, fiction, non-fiction pages
   Breakpoints: 991px tablet | 767px large mobile | 480px small mobile
   ============================================================ */

/* ── 991px — Tablet ─────────────────────────────────────── */
@media only screen and (max-width: 991px) {

    /* Split-panel include sections (fiction / non-fiction) */
    .col-lg-4[style*="background: #010082"],
    .col-lg-4[style*="background:#010082"] {
        min-height: auto !important;
        padding: 50px 30px !important;
    }
    .col-lg-8[style*="background: #f8fafc"],
    .col-lg-8[style*="background:#f8fafc"] {
        padding: 40px 30px !important;
    }
    .col-lg-8[style*="background: #f8fafc"] > div,
    .col-lg-8[style*="background:#f8fafc"] > div {
        grid-template-columns: 1fr 1fr !important;
    }

    /* Series Ghostwriting split panel (fiction page) */
    .col-lg-5[style*="text-center"] {
        margin-bottom: 30px;
    }

    /* Banner inner pages — reduce padding */
    .inner-banner-image-sec {
        padding: 80px 0 50px !important;
    }
    .inner-banner-image-sec h3 {
        font-size: 32px !important;
    }
    .inner-banner-image-sec p {
        font-size: 14px !important;
    }

    /* ghostwriting index hero */
    section[style*="padding: 120px 0 80px"] {
        padding: 80px 0 50px !important;
    }

    /* Narrative Columns — Plot + Character sections */
    section[style*="padding: 90px 0"] .row.align-items-center.mb-5 h3,
    section[style*="padding: 90px 0"] .row.align-items-center h3 {
        font-size: 26px !important;
    }

    /* Non-fiction step timeline rows */
    .nf-step-row,
    .nf-step-row-2 {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .nf-step-row::after,
    .nf-step-row-2::after {
        display: none !important;
    }
    .nf-step-row > div:nth-child(2) ~ div .nf-step-circle,
    .nf-step-row-2 > div:nth-child(2) ~ div .nf-step-circle {
        margin-top: 0;
    }

    /* Genre support 3-col → 2-col already handled by Bootstrap col-md-6 */

    /* Services include grid on ghostwriting index */
    .services-include-grid {
        grid-template-columns: 1fr 1fr !important;
    }

    /* Gather/Verify cards: 4-col → 2-col (Bootstrap g-4 row already handles) */

    /* Quote callout padding */
    div[style*="background: #010082"][style*="border-radius: 16px"] {
        padding: 28px 28px !important;
    }
}

/* ── 767px — Large Mobile ───────────────────────────────── */
@media only screen and (max-width: 767px) {

    /* Split-panel — stack vertically */
    .row.g-0 > .col-lg-4[style*="background: #010082"],
    .row.g-0 > .col-lg-4[style*="background:#010082"] {
        padding: 40px 24px !important;
    }
    .row.g-0 > .col-lg-8[style*="background: #f8fafc"],
    .row.g-0 > .col-lg-8[style*="background:#f8fafc"] {
        padding: 30px 20px !important;
    }
    /* Include grid cells → single column */
    .row.g-0 > .col-lg-8 > div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }
    /* Remove right borders when single column */
    .row.g-0 > .col-lg-8 > div > div[style*="border-right"] {
        border-right: none !important;
        border-bottom: 1px solid #e2e8f0 !important;
    }
    /* Fix last items in single column — restore bottom padding */
    .row.g-0 > .col-lg-8 > div > div:last-child {
        border-bottom: none !important;
        padding-bottom: 0 !important;
    }
    /* Remove padding-left / padding-right alternation — all same padding */
    .row.g-0 > .col-lg-8 > div > div {
        padding: 22px 0 !important;
    }

    /* Stat block inside navy panel */
    div[style*="font-size: 56px"] {
        font-size: 44px !important;
    }

    /* Series ghostwriting floating badge — adjust position on mobile */
    div[style*="bottom: -20px"][style*="background: #f15a25"] {
        bottom: -10px !important;
        right: 0 !important;
        padding: 10px 14px !important;
    }
    div[style*="bottom: -20px"][style*="background: #f15a25"] div:first-child {
        font-size: 14px !important;
    }

    /* Inner banner — reduce further */
    .inner-banner-image-sec {
        padding: 60px 0 40px !important;
    }
    .inner-banner-image-sec h3 {
        font-size: 26px !important;
        line-height: 1.3 !important;
    }
    .inner-banner-image-sec figure {
        display: none;
    }

    /* Heading sizes — all main-heading inline overrides */
    h2[style*="font-size: 34px"],
    h2[style*="font-size: 36px"],
    h3[style*="font-size: 32px"],
    h3[style*="font-size: 36px"] {
        font-size: 26px !important;
        line-height: 1.3 !important;
    }

    /* Ghostwriting index — service strip boxes */
    div[style*="grid-template-columns: repeat(3, 1fr)"] {
        grid-template-columns: 1fr 1fr !important;
    }

    /* Non-fiction step timeline rows → 1 column */
    .nf-step-row,
    .nf-step-row-2 {
        grid-template-columns: 1fr !important;
    }
    .nf-step {
        padding: 0 20px 30px !important;
    }

    /* Process step connector line — hide on mobile */
    div[style*="justify-content: flex-end"][style*="padding-right: calc"] {
        display: none !important;
    }

    /* Gather section card grid — 2-col → 1-col handled by Bootstrap col-md-6 */

    /* Quote callout — stack icon bar on top */
    div[style*="background: #010082"][style*="border-radius: 16px"][style*="display: flex"][style*="align-items: center"] {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 16px !important;
        padding: 28px 20px !important;
    }
    div[style*="background: #010082"][style*="border-radius: 16px"] div[style*="width: 5px"] {
        width: 40px !important;
        height: 4px !important;
    }

    /* Ghostwriting hero CTA buttons */
    ul.btn-wrap.d-flex {
        flex-wrap: wrap !important;
        gap: 12px !important;
    }
    ul.btn-wrap.d-flex.flex-column {
        flex-direction: column !important;
    }

    /* Section padding normalization */
    .childern-book-sec,
    .genre-support-sec,
    .process-steps-sec,
    .comparison-table-sec {
        padding: 50px 0 !important;
    }
    section[style*="padding: 90px 0"] {
        padding: 50px 0 !important;
    }
    section[style*="padding: 0; background-color: #ffffff"] {
        padding: 0 !important;
    }

    /* Narrative columns — image and text stacking */
    section[style*="padding: 90px 0"] img[style*="border-radius: 16px"] {
        margin-top: 30px;
    }
    section[style*="padding: 90px 0"] .order-lg-1 {
        order: 2 !important;
    }
    section[style*="padding: 90px 0"] .order-lg-2 {
        order: 1 !important;
    }

    /* FAQ sections */
    .faq-sec {
        padding: 50px 0 !important;
    }
    .footer-newsletter-card {
        padding: 30px 20px;
    }
    .newsletter-right p {
        width: unset;
    }
}

/* ── 480px — Small Mobile ───────────────────────────────── */
@media only screen and (max-width: 480px) {

    /* Split-panel include grid — single column, tight padding */
    .row.g-0 > .col-lg-8 > div > div {
        padding: 18px 0 !important;
    }

    /* Banner headings */
    .inner-banner-image-sec h3 {
        font-size: 22px !important;
    }

    /* Ghostwriting index — strip boxes single column */
    div[style*="grid-template-columns: repeat(3, 1fr)"],
    div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }

    /* Hero stat numbers */
    div[style*="font-size: 56px"],
    div[style*="font-size: 48px"] {
        font-size: 36px !important;
    }

    /* Genre cards — reduce padding */
    .genre-card {
        padding: 22px 18px !important;
    }

    /* Process circle */
    .nf-step-circle {
        width: 44px !important;
        height: 44px !important;
        font-size: 14px !important;
    }

    /* Series section floating badge — hide on small mobile to avoid overflow */
    div[style*="position: absolute"][style*="background: #f15a25"][style*="bottom"] {
        display: none !important;
    }

    /* Quote callout text size */
    div[style*="background: #010082"][style*="border-radius: 16px"] p {
        font-size: 14px !important;
        line-height: 1.6 !important;
    }

    /* Gather section icon cards padding */
    div[style*="border-radius: 16px"][style*="padding: 32px 26px"] {
        padding: 22px 18px !important;
    }

    /* Eyebrow pill labels */
    div[style*="border-radius: 50px"][style*="letter-spacing"] {
        font-size: 10px !important;
        padding: 5px 12px !important;
    }

    /* Reduce section gaps */
    .row.g-4 {
        gap: 0 !important;
    }

    /* CTA buttons stack */
    ul.btn-wrap a.btn-size {
        width: 100% !important;
        text-align: center !important;
        display: block !important;
    }
    .ghostwriting-trust-ribbon {
        padding: 25px 10px;
    }
}