@media (max-width: 1199.98px) {
  .navbar-toggler {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    height: 40px;
    width: 40px;
    font-size: 19px;
    color: white;
  }
}

@media (max-width: 991.98px) {
  .hero-content {
    align-items: center;
    text-align: center;
    margin-bottom: 20px;
  }

  section.hero {
    /* background: navajowhite; */
    background-position: top left;
    background-size: 100%;
  }

  .hero-form-main img {
    display: none;
  }

  .sec-02-content {
    flex-direction: column;
    display: flex;
    align-items: center;
    text-align: center;
    margin-top: 30px;
  }

  .sec-02-bottom {
    margin: 0;
    background: none;
    box-shadow: none;
    padding: 0;
  }

  .sec-02-bottom-card {
    background: #ffffff;
    box-shadow: 0px 4px 48px rgba(0, 0, 0, 0.1);
    border-radius: 16px;
    margin-bottom: 20px;
  }

  section.sec-01 .sec-02-content {
    margin-bottom: 20px;
  }

  .main-heading {
    font-size: 51px;
  }

  .sec-03-tabs {
    flex-wrap: wrap;
    justify-content: unset;
    gap: 15px;
    justify-content: center;
  }

  .sec-tabs-card-content {
    flex-direction: column;
    display: flex;
    align-items: center;
    text-align: center;
  }

  .sec-tabs-card-content {
    margin-bottom: 40px;
  }

  section.sec-04 {
    padding: 20px;
  }

  .sec-04-content {
    flex-direction: column;
    display: flex;
    align-items: center;
    text-align: center;
  }

  .btn-main {
    justify-content: center;
  }
  .resp-row {
    display: flex;
  }
  .desktop-row {
    display: none;
  }
  .sec-06-card {
    padding: 15px;
    box-shadow: 0 3px 9px 4px #00000026;
    border-radius: 8px;
    margin-bottom: 20px;
    border-bottom: 5px solid var(--primary);
  }
  .sec-04-content .main-heading {
    font-size: 51px;
  }

  .faqs:after {
    width: calc(100% + 80px);
  }

  .footer .img-box-content {
    margin: 0 auto;
  }

  .contact-info-wrapper {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 5px 22px;
    justify-content: center;
  }

  .social-links {
    justify-content: center;
    margin-top: 20px;
  }

  .ready-card-content a {
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    word-break: break-word;
    -webkit-line-clamp: 1;
  }

  .ready-top .row {
    gap: 15px 0;
  }

  .hero-form-container {
    margin: 0 auto;
  }

  section.faqs .hero-form-container {
    margin-top: 20px;
  }

  .faq-container .main-heading {
    text-align: center;
  }
  section.sec-01 .row {
    flex-direction: column-reverse;
  }
  /* Hide the complex desktop image layout */
  section.img-sec.img-box-content {
    display: none !important;
  }

  /* Display the grid layout for mobile/tablets */
  .marketing-grid-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columns on tablets */
    gap: 20px;
    padding: 10px;
    display: none;
  }

  /* Individual Card styling mimicking image colors */
  .marketing-card {
    background: #ffede5;
    border-radius: 12px;
    padding: 25px 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
    position: relative;
    border: 2px solid var(--primary);
  }

  .marketing-card h3 {
    font-size: 1.25rem;
    margin: 15px 0 10px 0;
    color: #222;
    font-family: var(--font-main);
    font-size: 28px;
    margin-top: 42px;
    color: var(--primary);
  }

  .marketing-card p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
    margin: 0;
  }

  /* Dynamic Icon Settings mimicking image backgrounds */
  .icon-box {
    width: 50px;
    height: 50px;
    margin: 0 auto;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
  }

  /* Specific Image-Matched Background Gradients */
  .web2 {
    background-color: #e3f2fd;
  }
  .social {
    background-color: #e8f5e9;
  }
  .influencer {
    background-color: #e8eaf6;
  }
  .video {
    background-color: #ffebee;
  }
  .amazon {
    background-color: #f3e5f5;
  }
  .email {
    background-color: #fffde7;
  }
  .pr {
    background-color: #e0f7fa;
  }
  .paid {
    background-color: #fce4ec;
  }
  .img-sec .img-box-content {
    /* display: none; */
}
}

@media (max-width: 767.98px) {
  .main-heading {
    font-size: 50px;
    letter-spacing: 1px;
    word-spacing: -1px;
  }
  .hero-content h1 {
    font-family: var(--font-main);
    text-transform: uppercase;
    font-size: 58px;
  }
}

@media (max-width: 575.98px) {
  .marketing-grid-content {
    grid-template-columns: 1fr; /* 1 column on mobile phones */
  }
}
