@media (max-width: 1200px) {
  .menu-toggle {
    display: block;
  }

  .nav-links div {
    display: flex;
  }

  header .navbar .nav-links {
    display: none;
    position: fixed;
    background: #fff;
    left: 0;
    top: 0;
    flex-direction: column;
    width: 100%;
    padding: 24px;
    z-index: 9;
  }

  header .navbar .nav-links.show {
    display: flex;
  }

  header .navbar .lets-Connect-btn a {
    padding: 6px 20px;
  }

  header .inner-container a img {
    width: 140px;
  }

  header .navbar .lets-Connect-btn {
    display: none;
  }
}

@media (max-width: 992px) {
  .conversation-wrapped .sets-us-apart .first-part {
    width: calc(50% - 15px);
    height: auto;
  }

  .pubmaxx-custom-publishers .app-publishers-pubmaxx {
    display: flex;
    flex-direction: column;
  }

  .app-publishers-pubmaxx .publishers-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    order: 2;
  }

  .publishers-content div span {
    display: block;
  }

  .head-section > div{
    width: calc(100% - 30px);
  }

  .circle-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    order: 1;
  }

  .app-publishers-pubmaxx .circle-wrapper img {
    width: 500px;
  }

  .pubmaxx-custom-publishers h2 {
    margin-bottom: 50px;
  }

  .circle-wrapper {
    margin-bottom: 30px;
  }

  .faq-pubmaxx-sec {
    width: 90%;
    margin: 0 auto;
  }

  .pubmaxx-works-data .container {
    display: block;
  }

  /* .pubmaxx-works-data .container {
        padding: 65px 20px 70px;
    } */

  .pubmaxx-works-data .add-work-modal {
    width: 100%;
  }

  .pubmaxx-works-data .add-work-modal h4 {
    text-align: center;
  }

  .pubmaxx-works-data .add-work-modal p {
    text-align: center;
  }

  .pubmaxx-works-data .add-work-modal .maximize-revenue-btn {
    display: flex;
    justify-content: center;
  }

  .pubmaxx-works-data .ad-model-sec {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 65px;
  }

  .pubmaxx-works-data .ad-model-sec img {
    width: 500px;
  }

  .popup-container {
    width: 90%;
  }

  .container .ai-driven-pubmaxx {
    flex-direction: column;
  }

  .container .ai-driven-pubmaxx .left-sec {
    width: 100%;
    text-align: center;
  }

  .ai-driven-pubmaxx .right-sec {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 50px;
  }

  .ai-driven-pubmaxx .right-sec .pubmaxx-optimization-image img {
    width: 327px;
  }
}

@media (max-width: 768px) {
  .conversation-wrapped h2 {
    text-align: center;
  }

  .conversation-wrapped h5 {
    text-align: center;
  }

  .conversation-wrapped .sets-us-apart .first-part {
    width: 100%;
    height: auto;
  }

  .app-publishers-pubmaxx .circle-wrapper img {
    width: 400px;
  }

  .pubmaxx-works-data .ad-model-sec img {
    width: 400px;
  }

  .popup-overlay {
    overflow: scroll;
  }

  .popup-container {
    display: block;
    position: absolute;
    top: 0;
    max-height: none;
  }

  .boost-your-ad-revenue {
    display: none;
  }

  .boost-your-ad-revenue-mobile {
    display: block;
    width: 100%;
  }

  .boost-your-ad-revenue-mobile img {
    width: 100%;
    height: 100%;
  }

  .register-form-revenue {
    padding: 20px 20px;
    width: 100%;
    /* height: 335px; */
  }

  .testimonial-section {
    padding: 40px 0 90px;
  }

  .testimonial-section .container {
    flex-direction: column;
    width: 100%;
    gap: 0;
  }

  .testimonial-left p,
  .testimonial-left h5 {
    font-size: 14px;
    text-align: center;
  }

  .testimonial-left p {
    margin-bottom: 8px;
  }

  .testimonial-slider {
    flex: 1;
  }

  .testimonial-left h2 {
    font-size: 20px;
    text-align: center;
    margin-bottom: 6px;
  }

  .slider-controls {
    position: absolute;
    bottom: 34px;
    left: 50%;
    transform: translateX(-50%);
  }

  .testimonial-card p,
  .testimonial-card h4 {
    font-size: 14px;
    line-height: 20px;
  }

  .testimonial-left {
    width: 100%;
  }

  .cards {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .card {
    width: 90%;
  }

  .cta h3 {
    font-size: 20px;
    margin-bottom: 22px;
  }

  .maximize-ad-revenue button {
    padding: 10px 54px;
  }
}

@media (max-width: 576px) {
  .app-publishers-pubmaxx .circle-wrapper img {
    width: 90%;
  }

  .pubmaxx-works-data .ad-model-sec img {
    width: 90%;
  }

  .conversation-wrapped h2 {
    font-size: 20px;
    line-height: 32px;
    margin-bottom: 16px;
  }

  .conversation-wrapped .para-game {
    font-size: 14px;
    line-height: 20px;
  }

  .conversation-wrapped h5 {
    font-size: 18px;
    line-height: 60px;
  }

  .conversation-wrapped .sets-us-apart .first-part .conventional-innovative h3 {
    font-size: 16px;
    line-height: 24px;
  }

  .conversation-wrapped .sets-us-apart .first-part .conventional-innovative div img {
    width: 102px;
    height: auto;
  }

  .conversation-wrapped .sets-us-apart .first-part p {
    font-size: 14px;
    line-height: 24px;
  }

  .maximize-ad-revenue h3 {
    font-size: 20px;
    line-height: 30px;
  }

  .maximize-ad-revenue p {
    font-size: 14px;
    line-height: 20px;
  }

  .maximize-ad-revenue .certified-Publishing-Partner img {
    width: 211px;
  }

  .faq-pubmaxx-sec h2 {
    font-size: 20px;
    line-height: 26px;
    padding-bottom: 20px;
  }

  .faq {
    padding: 14px 20px;
  }

  .faq-question {
    font-size: 16px;
    line-height: 28px;
  }

  .faq-answer {
    font-size: 14px;
  }

  .faq-question .click-btn img {
    width: 18px;
  }

  .pubmaxx-custom-publishers h2 {
    font-size: 20px;
    line-height: 30px;
  }

  .publishers-content h3 {
    font-size: 16px;
    line-height: 22px;
  }

  .publishers-content p {
    font-size: 14px;
    line-height: 22px;
  }

  .pubmaxx-works-data .add-work-modal h4 {
    font-size: 20px;
    line-height: 26px;
    margin-bottom: 20px;
  }

  .pubmaxx-works-data .add-work-modal p {
    font-size: 14px;
    line-height: 20px;
  }

  .maximize-ad-revenue .maximize-revenue-btn a {
    font-size: 18px;
    line-height: 32px;
  }

  .pubmaxx-works-data .add-work-modal .maximize-revenue-btn a {
    font-size: 18px;
    line-height: 32px;
  }

  .demand-partner-pubmaxx h2 {
    font-size: 20px;
    line-height: 26px;
    margin-bottom: 25px;
  }

  .slide-track {
    animation: none;
    flex-wrap: wrap;
    display: flex;
    justify-content: center;
  }

  .slide-track .copy-slide {
    display: none;
  }

  .slide {
    padding: 4px 10px;
  }

  .slide img {
    width: fit-content;
    padding: 10px;
  }

  .pubmaxx-performance .policy-faq-address a {
    font-size: 14px;
    line-height: 32px;
    width: calc(50% - 15px);
  }

  .footer-sec p {
    font-size: 10px;
  }

  .container .ai-driven-pubmaxx .left-sec h2 {
    font-size: 28px;
    line-height: 35px;
    width: 260px;
    margin: 0 auto;
  }

  .container .ai-driven-pubmaxx .left-sec h4 {
    font-size: 18px;
    line-height: 24px;
    width: 250px;
    margin: 0 auto;
  }

  .ai-driven-pubmaxx .left-sec .maximize-revenue-btn a {
    font-size: 20px;
    line-height: 32px;
    margin-top: 24px;
  }

  .ai-driven-pubmaxx .left-sec p {
    font-size: 14px;
    line-height: 20px;
    padding-top: 24px;
  }

  .container .ai-driven-pubmaxx {
    padding: 100px 0 0;
  }

  .ai-driven-pubmaxx .certified-Publishing-Partner img {
    width: 65%;
  }

  .ai-driven-pubmaxx .right-sec {
    margin-top: 30px;
  }

  .register-form-revenue h2 {
    font-size: 16px;
    line-height: 18px;
  }

  .register-form-revenue p {
    color: #000000;
    font-size: 10px;
    line-height: 12px;
  }

  .form-group label {
    font-size: 12px;
  }

  .form-group input,
  .form-group select {
    font-size: 10px;
    padding: 0 10px;
  }

  .submit-btn button {
    width: 100%;
    padding: 4px 0;
    font-size: 14px;
    line-height: 28px;
  }

  .cards {
    width: 100%;
  }

  .popup-submission-box {
    width: 340px;
  }

  .publishers-content div span {
    margin-top: 5px;
  }

}

@media (max-width: 350px) {
  .ai-driven-pubmaxx .right-sec .pubmaxx-optimization-image img {
    width: 100%;
  }

  .popup-submission-box {
    width: 90%;
  }

  .popup-submission-box p {
    font-size: 11px;
  }
}

@media (max-width: 320px) {
  .container .ai-driven-pubmaxx .left-sec h2 {
    font-size: 21px;
    line-height: 26px;
    width: 100%;
  }

  .container .ai-driven-pubmaxx .left-sec h4 {
    font-size: 16px;
    line-height: 22px;
    width: 100%;
  }

  .ai-driven-pubmaxx .left-sec .maximize-revenue-btn a {
    padding: 12px 22px;
    font-size: 16px;
    line-height: 16px;
  }
}

@media (max-height: 447px) {
  header .navbar .nav-links {
    height: 300px;
    overflow: auto;
  }
}