﻿@media (max-width: 1399.98px) {
  .ctm-btn-arrow {
    padding: 14px 17px;
    font-size: 1rem;
  }

  .mobile-description {
    display: none;
  }

  h1 {
    font-size: 2.5rem;
  }

  p.para-title {
    margin: 1rem 0px 1rem;
  }

  .rating-stars i {
    color: var(--Sec-Color);
    font-size: 14px;
  }

  .rating-number {
    font-size: 1rem;
  }

  .rating-icon {
    width: 25px;
    height: 25px;
    font-size: 10px;
  }

  .brand-text h5 {
    padding: 0 1rem 0 0px;
  }

  section {
    padding: 4rem 0;
  }

  .ctm-heading1 {
    padding: 0 0rem;
  }

  .scrolled__featured {
    position: sticky;
    top: 7%;
  }

  .tabb-gapp {
    margin: 1rem 0 0 0;
  }

  .marketing-content p {
    padding: 0 0rem 0 0;
  }

  .tm-title {
    font-size: 2rem;
  }

  .tm-price-title {
    font-size: 2rem;
    font-weight: 500;
  }

  .tm-card h4 {
    font-size: 20px;
    margin-bottom: 10px;
  }

  .tm-card p {
    margin-bottom: 1rem;
    font-size: 14px;
  }

  .tm-card h2 {
    font-size: 36px;
    font-weight: 500;
    margin: 10px 0 6px;
  }

  .tm-card small {
    margin-bottom: 10px;
  }

  .tm-btn {
    height: 45px;
    font-size: 14px;
  }

  .tm-card ul li {
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 500;
  }

  .tm-review p {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1rem;
  }

  .tm-review p {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .tm-footer-widget ul li a {
    font-size: 12px;
    font-weight: 500;
  }
}

@media (max-width: 1199.98px) {
  h1 {
    font-size: 2.1rem;
  }

  .brand-text h5 {
    padding: 0 0rem 0 0px;
  }

  h2 {
    font-size: 28px;
  }

  span.trademark-span {
    font-size: 0.875rem;
    color: #feb61b;
    font-weight: 500;
  }

  .ctm-heading {
    margin-bottom: 2rem;
  }

  h3 {
    font-size: 1.75rem;
  }

  .about-text h3 {
    font-weight: 500;
    margin-bottom: 10px;
  }

  .about-text p {
    margin-bottom: 1rem;
    padding: 0 0rem 0 0;
  }

  .link-btn {
    font-size: 14px;
  }

  .tm-process {
    padding: 0px 12px 20px 12px;
  }

  .tm-process h5 {
    font-size: 18px;
    margin-bottom: 8px;
  }

  .tm-title {
    font-size: 28px;
  }

  .tm-price-title {
    font-size: 28px;
    margin-bottom: 10px;
  }

  .tm-packages p {
    font-size: 14px;
  }

  .tm-card {
    margin-top: 1.5rem;
  }

  .tm-btn {
    min-width: 0px;
    height: 45px;
  }

  .tm-btn {
    min-width: 0px;
    height: 40px;
    font-size: 13px;
  }

  .tm-packages p {
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 12px;
  }

  .tm-card h2 {
    font-size: 28px;
    font-weight: 500;
    margin: 10px 0 6px;
  }

  .tm-card small {
    margin-bottom: 0px;
    font-size: 13px;
    font-weight: 500;
  }

  .tm-card h4 {
    font-size: 18px;
    margin-bottom: 8px;
  }

  .tm-card {
    margin-top: 1rem;
    padding: 20px 10px;
  }

  .about-text2 {
    padding: 0 0rem 0 0rem;
  }

  .about-text {
    padding: 0 0rem 0 0rem;
  }

  br {
    display: none;
  }

  .tm-brevo-accordion-item:first-child.tm-brevo-active .tm-brevo-accordion-btn {
    min-height: 50px;
    color: #163a43;
    font-size: 20px;
    font-weight: 600;
  }

  .tm-brevo-accordion-content p {
    padding: 0 0 16px 0;
    font-size: 14px;
    font-weight: 500;
  }

  .tm-brevo-accordion-item:not(:first-child).tm-brevo-active
    .tm-brevo-accordion-btn {
    min-height: 50px;
    color: #173b44;
    font-size: 20px;
    font-weight: 600;
  }

  .case-accordion {
    max-width: 95%;
  }

  .case-card {
    flex-basis: 130px;
  }

  .case-quote {
    font-size: 14px;
  }

  .main-stat strong {
    font-size: 33px;
  }

  .closed-stat strong {
    margin: 0;
    font-size: 36px;
    line-height: 1;
    font-weight: 700;
    white-space: nowrap;
  }

  .mobile-description {
    display: none;
  }
  .ctm-slider-dots {
    display: none;
  }
}

@media (min-width: 1200px) {
  .case-card {
    flex-basis: 170px;
  }

  .mobile-description {
    display: none;
  }
}

@media (max-width: 991.98px) {
  .banner-text p {
    font-size: 15px;
    margin: 1rem 0 1rem;
    font-weight: 500;
  }

  .rating-badge {
    display: none;
  }

  .banner-text {
    text-align: center;
    max-width: 70%;
    margin: 0 auto 2.5rem;
  }

  .banner-text p {
    font-size: 15px;
  }

  .brand-text h5 {
    width: 42%;
    margin: 0 auto;
  }

  .brand-text {
    text-align: center;
    margin: 0 0 2rem 0;
  }

  section {
    padding: 3rem 0;
  }

  .tab-btn {
    padding: 12px 2rem;
    font-size: 14px;
  }

  .ctm-btn-arrow {
    padding: 14px 14px;
    font-size: 14px;
  }

  .btn-svg-icon1 {
    width: 12px;
    height: 12px;
  }

  .ctm-reverse {
    display: flex;
    flex-direction: column-reverse;
  }

  .about-text {
    margin-bottom: 2rem;
  }

  .trademark-list li {
    margin-bottom: 6px;
    font-size: 14px;
  }

  .trademark-list {
    margin-bottom: 1.3rem;
    padding: 0 0 0 0rem;
  }

  .marketing-content {
    margin-bottom: 1.5rem;
  }

  .tm-card h4 {
    font-size: 20px;
    margin-bottom: 8px;
  }

  .tm-packages p {
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 15px;
  }

  .tm-card h2 {
    font-size: 40px;
    font-weight: 500;
    margin: 10px 0 6px;
  }

  .tm-card small {
    margin-bottom: 1px;
    font-size: 15px;
    font-weight: 400;
  }

  .tm-btn {
    min-width: 0px;
    height: 45px;
    font-size: 15px;
  }

  .tm-card ul li {
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 500;
  }

  .tm-left-content {
    text-align: center;
    margin-bottom: 2rem;
  }

  .tm-left-content h2 {
    width: 70%;
    margin: 0 auto 1rem;
  }

  .tm-slider-controls {
    justify-content: center;
  }

  .tm-left-content {
    text-align: center;
    margin-bottom: 2rem;
  }

  .tm-left-content h2 {
    width: 70%;
    margin: 0 auto 1rem;
  }

  .tm-client {
    text-align: center;
  }

  .tm-review p {
    text-align: center;
  }

  .cta-text {
    max-width: 500px;
    margin: 0 auto;
  }

  /* section.cta-sec {
        background: var(--background);
        padding: 3rem 0;
        color: white;
        border-top-left-radius: var(--brand-rounded-x20, 2rem);
        border-top-right-radius: var(--brand-rounded-x20, 2rem);
    } */

  .tm-brevo-accordion {
    margin-bottom: 1rem;
  }

  .tm-aura-content {
    max-width: 620px;
    margin-left: auto;
    padding: 0 10px 0 0px;
  }

  .trade-btn {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .card-image img {
    display: none;
  }

  .case-card {
    height: 70%;
  }

  .modal-body .col-lg-6:first-child {
    min-height: 260px;
  }

  .modal-body .col-lg-6:first-child img {
    min-height: 100%;
    max-height: 100%;
  }

  .modal-body .p-5 {
    padding: 35px 25px !important;
  }

  .modal-body h3 {
    font-size: 25px;
    padding-right: 30px;
  }

  .news-section {
    padding: 50px 0;
  }

  .featured-image {
    height: 280px;
  }

  .banner-sec .tm-reverse {
    display: flex;
    flex-direction: column-reverse;
    gap: 2rem;
  }
  .tm-about-img img {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .foonav {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 9px;
  }

  .tm-footer-widget h5 {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 500;
    color: #111111;
    line-height: 1.3;
  }

  .tm-footer-widget ul li a {
    font-size: 13px;
    font-weight: 500;
  }

  .banner-text {
    max-width: 87%;
  }

  h2 {
    font-size: 24px;
  }

  p {
    color: var(--secondary-color);
    font-size: 14px;
    margin-bottom: 0;
  }

  h1 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 24px;
  }

  .about-text h3 {
    font-weight: 500;
    margin-bottom: 8px;
  }

  .about-text p {
    margin-bottom: 1rem;
    padding: 0 0rem 0 0;
    font-size: 14px;
  }

  .marketing-content p {
    padding: 0 0rem 0 0;
    font-size: 14px;
  }

  .tm-tabs .nav-link {
    padding: 12px 14px;
    font-size: 14px;
  }

  .tm-title {
    font-size: 24px;
    margin-top: 10px;
  }

  .tm-subtitle {
    font-size: 14px;
  }

  .tm-price-title {
    font-size: 24px;
    margin-bottom: 10px;
  }

  .tm-card {
    margin-top: 1rem;
    padding: 20px;
  }

  .tm-testimonial-wrapper {
    width: 100%;
    position: relative;
    /* padding-left: 50px; */
  }

  .tm-slider-controls {
    margin-top: 1rem;
  }

  .ctm-btn-arrow2 {
    display: none;
  }

  .trade-btn {
    flex-direction: column;
    width: 100%;
  }

  .trade-btn .ctm-btn-arrow {
    width: 100%;
    justify-content: center;
  }

  .tm-aura-prev svg,
  .tm-aura-next svg {
    width: 16px;
    height: 16px;
  }

  .tm-detail-card-arrow {
    display: none;
  }

  .case-study-section {
    padding: 25px 12px 45px;
  }

  /* Desktop hide */
  .case-accordion {
    display: none;
  }

  /* Mobile Swiper show */
  .case-mobile-swiper {
    display: block;
  }

  .news-section {
    padding: 30px 0;
    background: #b8ff9d;
  }

  .featured-card {
    display: none;
  }

  .news-items {
    width: 100%;
    gap: 8px;
    height: auto;
  }

  .news-item {
    position: relative;
    padding: 14px 45px 14px 17px;
    border-radius: 9px;
    overflow: hidden;
    transform: none !important;
    box-shadow: none;
    transition:
      padding 0.35s ease,
      box-shadow 0.35s ease;
  }

  .news-item:hover {
    transform: none;
    box-shadow: none;
  }

  .news-item::before {
    display: none;
  }

  .news-category {
    margin-bottom: 5px;
    font-size: 9px;
    line-height: 1.2;
  }

  .news-item h3 {
    margin: 0;
    padding: 0;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 500;
  }

  .accordion-icon {
    position: absolute;
    top: 50%;
    right: -30px;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
    font-size: 21px;
    line-height: 1;
    font-weight: 300;
    color: #163a43;
    transition: transform 0.35s ease;
  }

  .news-item.active .accordion-icon {
    transform: translateY(-50%) rotate(180deg);
  }

  .mobile-content {
    display: block;
    max-height: 0;
    margin-top: 0;
    padding-top: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-8px);
    border-top: 1px solid transparent;
    font-size: 13px;
    line-height: 1.55;
    color: #667477;
    transition:
      max-height 0.45s ease,
      margin-top 0.35s ease,
      padding-top 0.35s ease,
      opacity 0.3s ease,
      transform 0.35s ease,
      border-color 0.35s ease;
  }

  .news-item.active .mobile-content {
    max-height: 150px;
    margin-top: 11px;
    padding-top: 11px;
    opacity: 1;
    transform: translateY(0);
    border-top-color: #e8eeeb;
  }

  .news-item.active {
    padding-top: 15px;
    padding-bottom: 16px;
    box-shadow: 0 5px 16px rgba(0, 0, 0, 0.05);
  }
}

@media (max-width: 575.98px) {
  .banner-text {
    max-width: 100%;
  }

  .brand-text h5 {
    width: 100%;
    margin: 0 auto;
  }

  .banner-text p {
    font-size: 14px;
  }

  h2 {
    font-size: 21px;
  }

  .tab-btn {
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 500;
    width: 100%;
    background: wheat;
    border-radius: 8px;
  }

  h3 {
    font-size: 21px;
  }

  section {
    padding: 2rem 0;
  }

  .section-subtitle {
    display: inline-block;
    color: #007a5a;
    font-size: 12px;
  }

  .nav-pills {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .nav-pills .nav-item {
    width: 100%;
  }

  .nav-pills .nav-link {
    width: 100%;
    display: block;
    text-align: center;
    border-radius: 5px;
  }

  .tm-tabs {
    background: white;
  }

  .tm-card {
    margin-top: -2rem;
    padding: 20px 20px 50px;
  }

  .tm-price-title {
    font-size: 20px;
    margin-bottom: 10px;
  }

  .tm-title {
    font-size: 20px;
    margin-top: 10px;
  }

  .tm-testimonial-wrapper {
    padding-left: 0;
  }

  /* section.cta-sec {
        background: var(--background);
        padding: 2rem 0;
    } */

  .banner-sec {
    background: var(--background);
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 1rem;
  }

  .tm-card ul {
    max-height: 210px;
  }

  .tm-brevo-accordion-item:first-child.tm-brevo-active .tm-brevo-accordion-btn {
    min-height: 40px;
    color: #163a43;
    font-size: 18px;
    font-weight: 600;
  }

  .tm-brevo-accordion-item:not(:first-child).tm-brevo-active
    .tm-brevo-accordion-btn {
    min-height: 50px;
    color: #173b44;
    font-size: 1rem;
    font-weight: 600;
  }

  .ctm-btn-arrow1 {
    padding: 12px 14px;
    font-size: 13px;
  }

  .tm-aura-card {
    margin: 10px;
  }

  .banner-btn-sec {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    width: 100%;
  }

  .banner-btn-sec .ctm-btn-arrow {
    width: 100%;
    justify-content: center;
  }

  .tm-brevo-accordion-btn {
    min-height: 60px;
    font-size: 16px;
    font-weight: 500;
  }

  .tm-process {
    margin-bottom: 0rem;
  }

  .ctm-navbar {
    padding: 8px 4px;
  }

  .navbar > .container {
    padding: 5px;
  }

  .navbar-brand img {
    width: 160px;
  }

  .ma5menu__toggle {
    background-color: transparent;
    width: 40px;
    height: 38px;
  }

  .tab-content .col-md-6 {
    padding: 0;
  }

  .tab-content {
    padding: 0;
  }

  .tm-process {
    padding-left: 0;
    padding-bottom: 0;
  }

  .tm-footer-logo {
    margin-bottom: 16px;
  }

  .tm-footer-bottom {
    margin-top: 28px;
    border-top: 1px solid #dcdcdc;
    padding: 12px 0;
  }

  h1 {
    font-size: 1.4rem;
  }

  .mj-bottom {
    flex-direction: column;
    align-items: center;
    gap: 9px;
  }

  .col-auto {
    flex: 1;
    width: 100%;
  }

  .business-tabs {
    display: flex;
    align-items: center;
    background: transparent;
    border: 1px solid #f0f0f0;
    border-radius: 60px;
    padding: 4px;
    gap: 4px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    flex-direction: column;
  }

  .brand-sec {
    padding: 0;
    margin-top: -40px;
  }

  .brand-sec > .container {
    padding: 1.25rem 1.25rem;
    border-radius: 14px;
  }

  .link-btn {
    font-size: 11px;
  }

  .modal-body {
    border-radius: 12px;
  }

  .modal-body .col-lg-6:first-child {
    min-height: 200px;
  }

  .modal-body .col-lg-6:first-child img {
    min-height: 100%;
    max-height: 100%;
  }

  .modal-body .p-5 {
    padding: 30px 18px !important;
  }

  .modal-body h3 {
    font-size: 23px;
    margin-bottom: 22px !important;
  }

  .modal-body .form-control {
    height: 50px;
    font-size: 14px;
  }

  .modal-body textarea.form-control {
    height: 100px;
  }

  .banner-text {
    margin: 0px auto 1.5rem;
  }

  .tm-mlp-banner {
    padding: 0;
  }
  .navbar-brand img {
    width: 110px;
  }
  .tm-mlp-about {
    padding: 0;
  }

  section.cta-sec {
    padding: 1.5rem 0 1rem;
    border-radius: 0;
  }
  .cta-sec .ctm-btn-arrow1 {
    height: 45px;
  }
  .tets {
    font-size: 14px;
    margin-top: 12px;
    font-weight: 600;
  }

  .tm-mlp-header .ctm-header .navbar {
    padding: 0px 0 8px;
  }

  .row.mt-5.mt-sm-0 {
    margin-top: 1rem !important;
  }
  .ma5menu__logo {
    display: none;
  }
}

@media only screen and (max-width: 768px) {
  .scroll__links .scroll__view {
    min-height: auto;
  }
}

/* Tablet + Mobile */
@media (max-width: 991.98px) {
  .ctm-box-slider.swiper {
    overflow: hidden;
  }

  .ctm-box-slider .swiper-wrapper {
    display: flex;
    flex-wrap: nowrap;
  }

  .ctm-box-slider .ctm-box-slide {
    width: 100%;
    flex-shrink: 0;
  }
}
/* ============================================================
   Homepage responsive fixes (hero form, banner, cta, sliders)
   ============================================================ */

@media (max-width: 991.98px) {
  /* fixed navbar overlaps stacked hero content without top padding;
       bottom stays fluid so the overlapping brand card never crowds mobile */
  section.banner-sec.home_bnr {
    padding-top: clamp(100px, 14vw, 120px);
    padding-bottom: clamp(70px, 10vw, 90px);
  }

  /* sticky-scroll items shouldn't keep 100vh rows when stacked */
  .scroll__links .scroll__view {
    min-height: auto;
    opacity: 1;
  }

  .scrolled__featured {
    position: static;
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 575.98px) {
  section.banner-sec.home_bnr {
    padding-top: clamp(90px, 26vw, 100px);
    padding-bottom: clamp(60px, 15vw, 75px);
  }

  .hero-form {
    padding: 24px 16px 20px;
  }

  .hero-form-head {
    gap: 10px;
    margin-bottom: 18px;
  }

  /* edge fades were wider than the visible slider on phones */
  .brand-slider::before,
  .brand-slider::after {
    width: 40px;
  }

  /* stack CTA buttons full-width */
  .cta-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .cta-text .ctm-btn-arrow1 {
    width: 100%;
    margin-bottom: 0 !important;
  }

  .cta-text .ctm-btn-arrow + .ctm-btn-arrow {
    margin-left: 0;
  }

  /* about-one gradient card padding */
  .tw-p-10 {
    padding: 1.25rem;
  }

  .seo7-footer-main {
    margin-inline: 10px;
  }
}
