/* ============================================================
   RESPONSIVE.CSS — Novella Publishers
   Breakpoints: 1799, 1399, 1199, 991, 767, 575
   ============================================================ */

/* ---- Large Desktops (max 1799) ---- */
@media only screen and (max-width: 1799px) {
    .hero_title_refined {
        font-size: 5rem;
    }

    .modern_img {
        height: 600px;
    }

    .path_visuals {
        top: 70%;
    }

    .path_badge {
        max-width: 300px;
    }
}

/* ---- XL Desktops (max 1399) ---- */
@media only screen and (max-width: 1399px) {
    .hero_title_refined {
        font-size: 4.5rem;
    }

    .section_title,
    .section_title_large {
        font-size: 2rem;
    }

    .expertise_cta_title {
        font-size: 2rem;
    }

    .journey_title,
    .cta_title,
    .modern_title,
    .workflow_title {
        font-size: 2rem;
    }

    .path_card {
        height: 375px;
        padding: 30px 15px 30px 15px !important;
    }

    .path_title {
        font-size: 1.5rem;
    }

    .path_visuals {
        top: 70%;
    }

    .path_badge {
        max-width: 250px;
    }

    .path_text {
        font-size: 0.95rem;
        margin-top: 10px !important;
    }

    .path_subtitle {
        font-size: 1rem;
        margin-bottom: 10px;
    }

    .path_card.bg-main.p-5.position-relative.center_path_card {
        height: 450px;
    }

    .hero_title_refined {
        font-size: 3rem;
    }

    .hero_title_refined br {
        display: none;
    }

    .hero_subtitle_refined {
        font-size: 1rem;
    }

    .heroLogosSwiper img {
        height: 25px;
    }

    .testimonial_text {
        font-size: 0.9rem;
    }

    .expertise_card {
        padding: 20px !important;
    }

    .expertise_text {
        font-size: 14px;
        line-height: 1.5;
    }

    .expertise_title {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }

    .modern_text {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 15px;
    }

    .modern_content p {
        font-size: 14px;
    }

    .modern_subtitle {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }

    .workflow_step_badge {
        padding: 8px 60px 10px 60px;
        font-size: 1rem;
        margin: 0px 0px 20px 0px;
    }

    .workflow_card {
        padding: 20px 20px 20px;
    }

    .workflow_card_text {
        font-size: 14px;
        line-height: 1.5;
    }

    .inquiry_form_wrapper .form-control,
    .inquiry_form_wrapper .form-select {
        font-size: 0.88rem;
    }

    .workflow_card_title {
        font-size: 22px;
    }

    .form_check_text {
        font-size: 0.79rem;
        line-height: 1.7;
    }

    .faq_accordion .accordion-button {
        font-size: 0.85rem;
        padding: 15px 15px;
    }

    .inquiry_form_wrapper {
        padding: 30px 25px;
    }

    .portfolio_content img {
        width: 250px;
    }

    .journey_subtitle {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }

    .journey_text {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 10px;
    }

    .journey_list_title {
        font-size: 1.3rem;
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .journey_list li::before {
        font-size: 6px;
    }

    .journey_list li {
        margin-bottom: 10px;
        font-size: 14px;
    }

    .faq_accordion .accordion-body {
        font-size: 14px;
    }

    .header_logo {
        max-width: 200px;
    }

    .navbar-nav .nav-link {
        font-size: 0.85rem;
        padding: 0 10px !important;
    }

    .dropdown-item {
        font-size: 0.89rem;
    }

    .btn-main {
        font-size: 0.89rem;
    }
}

/* ---- Desktops (max 1199) ---- */
@media only screen and (max-width: 1199px) {

    .hero_logos_bar {
        max-width: 650px;
    }

    .logos_slider_wrapper {
        padding: 20px 50px;
    }

    .section_title,
    .section_title_large {
        font-size: 2.5rem;
    }

    .journey_title,
    .modern_title,
    .workflow_title {
        font-size: 1.7rem;
    }

    .modern_img {
        height: 700px;
    }

    .expertise_cta_title {
        font-size: 1.8rem;
    }

    .deep_dive_vid {
        width: 70%;
    }
}

/* ---- Tablets (max 991) ---- */
@media only screen and (max-width: 991px) {

    /* NAVBAR — mobile hamburger layout */
    .header_wrapper {
        position: fixed;
        background: rgba(0, 0, 0, 0.95);
        padding: 8px 0;
    }

    /* Fix hero overlap due to fixed header */
    .hero_section {
        margin-top: 0;
    }

    .ghostwriting_hero,
    .page_hero_banner {
        padding-top: 130px !important;
    }

    .header_logo {
        max-width: 150px;
    }

    .navbar-nav .nav-link {
        padding: 10px 15px !important;
        margin: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .navbar-collapse {
        background: #111;
        padding: 10px 15px 20px;
        border-radius: 0 0 10px 10px;
    }

    .dropdown-menu {
        background-color: #222;
    }

    .dropdown-item {
        color: var(--white);
    }

    .dropdown-item:hover {
        background-color: var(--main-color);
    }

    .header_main_f .d-flex {
        margin-top: 10px;
        padding: 0 15px;
    }

    .btn-main.py-2.px-4 {
        width: 100%;
        text-align: center;
        display: block;
    }

    /* HERO */
    .hero_section {
        height: 100vh;
    }

    .hero_title_refined {
        font-size: 2.8rem;
        letter-spacing: -1px;
    }

    .hero_subtitle_refined {
        font-size: 1rem;
    }

    .hero_btns .btn {
        padding: 10px 20px;
        font-size: 0.95rem;
    }

    .hero_logos_bar {
        bottom: 15px;
        max-width: 100%;
        padding: 0 15px;
    }

    .logos_slider_wrapper {
        padding: 15px 40px;
        border-radius: 20px;
    }

    /* SECTIONS titles */
    .section_title,
    .section_title_large,
    .workflow_title {
        font-size: 2rem;
    }

    .journey_title,
    .modern_title,
    .cta_title {
        font-size: 2rem;
    }

    .journey_subtitle,
    .modern_subtitle {
        font-size: 1.3rem;
    }

    /* PATH GRID */
    .path_card {
        height: auto !important;
        min-height: 220px;
    }

    .path_card.bg-main.p-5.position-relative.center_path_card {
        height: auto !important;
    }

    .path_title {
        font-size: 1.8rem;
    }

    /* PORTFOLIO MARQUEE */
    .portfolio_content img {
        width: 220px;
    }

    /* MODERN SECTION */
    .modern_img {
        height: 350px;
        margin-bottom: 30px;
    }

    /* EXPERTISE CTA */
    .expertise_cta_container {
        flex-direction: column;
        align-items: flex-start;
    }

    .expertise_cta_title {
        font-size: 1.6rem;
    }

    .expertise_cta_form {
        width: 100%;
        flex-wrap: wrap;
        gap: 12px;
    }

    .expertise_cta_form .form-group {
        flex: 1 1 45%;
    }

    /* DEEP DIVE */
    .deep_dive_vid {
        width: 90%;
    }

    /* FOOTER */
    .footer_wrapper .text-md-end {
        text-align: left !important;
    }

    .footer_separator {
        margin: 0 10px;
    }

    .footer_bottom .d-flex {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .footer_bottom a {
        margin-left: 0;
        margin-right: 10px;
    }

    /* GHOSTWRITING HERO */
    .ghostwriting_hero {
        padding: 120px 0 80px;
        min-height: auto;
    }

    .ghostwriting_hero .hero_title_refined {
        font-size: 2rem;
    }

    /* PRICING */
    .pricing_card {
        margin-bottom: 20px;
    }

    /* WORKFLOW CARDS */
    .workflow_card {
        padding: 30px 20px;
    }

    /* INQUIRY FORM */
    .inquiry_form_wrapper {
        padding: 25px;
    }

    /* QUOTE MODAL */
    .quote-modal-header {
        padding: 20px 20px 15px;
    }

    .quote-modal-body {
        padding: 20px 20px 25px;
    }

    .ghostwriting_hero .hero_text {
        font-size: 0.89rem;
    }
}

/* ---- Small Tablets / Large Phones (max 767) ---- */
@media only screen and (max-width: 767px) {

    /* HERO */
    .hero_title_refined {
        font-size: 2.3rem;
        letter-spacing: 0;
    }

    .hero_btns {
        display: flex;
        gap: 10px;
        align-items: center;
    }

    .hero_btns .btn {
        width: 80%;
    }

    /* SECTIONS */
    .section_title,
    .section_title_large,
    .workflow_title {
        font-size: 1.8rem;
    }

    .journey_title,
    .modern_title,
    .cta_title {
        font-size: 1.8rem;
    }

    .sub_header_black {
        font-size: 1rem;
    }

    .story_p_black {
        font-size: 1rem;
    }

    /* TESTIMONIAL CARD */
    .testimonial_card {
        padding: 25px 20px;
    }

    /* PATH GRID */
    .path_title {
        font-size: 1.5rem;
    }

    .path_text {
        font-size: 0.9rem;
    }

    /* EXPERTISE CARDS */
    .expertise_card {
        padding: 30px 20px !important;
    }

    /* WORKFLOW */
    .workflow_step_badge {
        padding: 8px 40px 14px;
        font-size: 1.6rem;
    }

    .workflow_card_title {
        font-size: 1.3rem;
    }

    /* FORM SECTION */
    .custom_form_wrapper {
        padding: 25px 20px !important;
    }

    .journey_list_title {
        font-size: 1.4rem;
    }

    /* DEEP DIVE */
    .deep_dive_vid {
        width: 100%;
    }

    /* GHOSTWRITING SERVICE PAGES */
    .ghostwriting_hero {
        padding: 100px 0 60px;
        text-align: center;
    }

    .ghostwriting_hero .hero_title_refined {
        font-size: 1.8rem;
    }

    .ghostwriting_hero .hero_btns {
        justify-content: center;
    }

    /* PRICING */
    .price_amount {
        font-size: 2rem;
    }

    /* APPEARED / LOGOS */
    .appeared_section img,
    .distributorsSwiper img {
        max-height: 30px;
    }

    /* PORTFOLIO */
    .portfolio_content img {
        width: 180px;
        margin: 0 10px;
    }

    /* FOOTER */
    .footer_logo_side img {
        height: 60px;
    }

    .footer_contact_item {
        font-size: 0.8rem;
    }

    /* STICKER / SPREAD IMAGE (comic/children pages) */
    .spread_img1 {
        height: 400px;
    }
}

/* ---- Mobile Phones (max 575) ---- */
@media only screen and (max-width: 575px) {

    /* NAVBAR */
    .header_logo {
        max-width: 130px;
    }

    /* HERO */
    .hero_section {
        height: 100svh;
    }

    .hero_title_refined {
        font-size: 2.4rem;
    }

    .hero_subtitle_refined {
        font-size: 0.9rem;
    }

    .hero_logos_bar {
        display: none;
    }

    /* GENERAL TYPOGRAPHY */
    .section_title,
    .section_title_large,
    .workflow_title {
        font-size: 1.6rem;
    }

    .journey_title,
    .modern_title,
    .cta_title,
    .reason_title {
        font-size: 1.5rem;
    }

    .journey_subtitle,
    .modern_subtitle {
        font-size: 1.1rem;
    }

    .expertise_cta_title {
        font-size: 1.3rem;
    }

    .expertise_cta_form .form-group {
        flex: 1 1 100%;
    }

    .btn-send-cta {
        width: 100%;
        justify-content: center;
    }

    /* PATH GRID */
    .path_card.p-5 {
        padding: 25px !important;
    }

    .path_title {
        font-size: 1.3rem;
    }

    /* EXPERTISE CARDS */
    .expertise_card {
        padding: 20px 15px !important;
    }

    /* INQUIRY FORM */
    .inquiry_form_wrapper {
        padding: 20px 15px;
    }

    /* PORTFOLIO */
    .portfolio_content img {
        width: 150px;
        margin: 0 8px;
    }

    /* WORKFLOW */
    .workflow_card {
        padding: 25px 15px;
    }

    .workflow_step_badge {
        padding: 6px 30px 10px;
        font-size: 1.4rem;
    }

    /* VIDEO */
    .video_placeholder {
        height: 220px;
    }

    /* DEEP DIVE */
    .deep_dive_vid {
        width: 100%;
    }

    /* SERVICE BOXES */
    .service_box {
        padding: 1.5rem !important;
    }

    .believe_card {
        padding: 1.5rem !important;
    }

    .process_card {
        padding: 1.5rem !important;
    }

    /* MODERN SECTION */
    .modern_img {
        height: 250px;
    }

    .modern_btn_group {
        flex-direction: column;
        gap: 10px;
    }

    .modern_btn_group .btn {
        width: 100%;
        text-align: center;
    }

    /* FOOTER */
    .footer_wrapper {
        text-align: center;
    }

    .footer_logo_side {
        text-align: center;
        margin-bottom: 20px;
    }

    .footer_contact_item {
        justify-content: center;
    }

    .footer_separator {
        display: none;
    }

    .footer_bottom {
        text-align: center;
    }

    /* STICKER / SPREAD */
    .spread_img1 {
        height: 250px;
    }

    /* GHOSTWRITING HERO */
    .ghostwriting_hero {
        padding: 90px 0 50px;
    }

    .ghostwriting_hero .hero_title_refined {
        font-size: 1.6rem;
    }

    /* PRICING */
    .pricing_card {
        border-radius: 12px;
    }

    .price_amount {
        font-size: 1.8rem;
    }

    /* HERO BTNS */
    .hero_btns .btn {
        width: 100%;
        display: block;
    }

    /* MODAL */
    .quote-modal-header .modal-title {
        font-size: 1.6rem;
    }

    .quote-modal-header {
        padding: 15px 15px 12px;
    }

    .quote-modal-body {
        padding: 15px 15px 20px;
    }

    .btn-quote-submit {
        width: 100%;
        justify-content: center;
    }

    /* SECTION PADDING */
    section.py-5 {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }
}