/* hero section */
@media (max-width: 1024px) {

  .nav,
  .actions {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .menu_main_wrap {

    padding-top: 1.5rem;

    padding-left: 10px;

    padding-right: 10px;

    padding-bottom: 1.5rem;
  }

  .hero {
    height: 82vh;
    /* padding: 19px 0; */
    padding-top: 48px;
    padding-bottom: 18px;
  }

  .hero-container {
    flex-direction: column;
    text-align: center;
  }

  .hero-left,
  .hero-right {
    width: 100%;
  }

  .hero-title {
    font-size: 42px;
  }

  .hero-subtitle {
    margin: 0 auto;
    padding-bottom: 1rem;
    padding-top: 1rem;
  }

  .btn-primary {
    margin: 0 auto;
  }

  .logo-item svg {
    width: 60px;
  }

  #tab {
    padding: 10px 20px;
    gap: 17px;

  }

  #logo {
    width: 78px;
    height: 64px;

  }

  .hero-right .animation-frame {
    width: 100%;
    height: 463px;
  }

  .hero-small-text {
    font-size: 11px;
    letter-spacing: 18%;
    line-height: 150%;
  }

  .container {
    flex-direction: column;
    padding: 0 15px;
    ;

  }


  /* testimonials style  */

  .t_boxes {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 15px;
    gap: 15px;
    justify-content: flex-start;
    padding-bottom: 1.5rem;
  }

  .testimonial-card {
    max-width: 40%;
    /* Each card takes most of the viewport width */
    scroll-snap-align: start;
    flex-shrink: 0;
    padding: 1.5rem;
  }

  .testimonial-card p {
    font-size: 12px;
    line-height: 18px;
  }

  .t_header {

    padding: 2.5rem 0px 2rem;
  }


  .star-rating {
    color: rgb(76, 175, 80);
    font-size: .8rem;
    margin: .5rem 0px;
  }

  .testimonial-card .logo {
    margin-top: 1rem;
  }

  .testimonial-card h3 {
    font-size: 1rem;
  }

  .testimonial {
    margin-top: 0px;
  }

  .logo-slider {
    padding: 10px 0;
  }



  .popup_card_section .popup_container {

    flex-direction: column;

    margin: 0 15px;

    padding: 0;

    gap: 60px;
  }


  .feature_wrap {
    background: var(--secondary-color);
    border-radius: 24px;
    /* padding: 80px 56px; */
    display: flex;
    flex-direction: column-reverse;
  }

  .visual.feature_animation_wrap .feature_animation {
    height: 385px;
  }

  /* .container { padding: 0 15px } removes vertical padding from .feature_wrap — restore
     for every feature card (enriched data, attribution, etc.). Pop-ups overrides below. */
  .container.feature_wrap {
    padding-top: 48px;
    padding-bottom: 3rem;
    padding-left: clamp(20px, 4vw, 48px);
    padding-right: clamp(20px, 4vw, 48px);
    box-sizing: border-box;
  }

  .container.feature_wrap.attribution_analysis_feature_wrap {
    display: flex;
  }

  .attribution_analysis_feature .container.feature_wrap.attribution_analysis_feature_wrap {
    flex-direction: column;
  }

  .attribution_analysis_feature .visual.feature_animation_wrap .feature_animation {
    height: 270px;
  }

  .pupup_feature .feature_wrap *,
  .pupup_feature .feature_wrap .tags {
    text-align: center;
    justify-content: center;

  }

  /* Pop-ups band: style.css sets align-items:flex-start — without overriding it here,
     the column layout keeps the card + copy left-aligned below 1024px. */
  section.feature.pupup_feature.common_feature_styles {
    padding-bottom: 2.5rem;
  }

  .pupup_feature .feature_wrap {
    align-items: center;
    padding: 60px clamp(16px, 4vw, 40px) 4rem;
    flex-direction: column;
    gap: 0;
    box-sizing: border-box;
  }

  .pupup_feature .feature_wrap .content {
    width: 100%;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
  }

  /* .description has max-width:500px but no horizontal auto margins — block sits left in the column */
  .pupup_feature .feature_wrap p.description {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    padding-left: 0;
    padding-right: 0;
  }

  .pupup_feature .popup_card {
    min-width: 0;
    width: 100%;
    max-width: 600px;
    height: auto;
    margin-left: auto;
    margin-right: auto;
  }

  .unified_style_wrap {
    position: relative;
    min-height: 655px;
  }


  .unified_system_content h2 span,
  .unified_system_content h2 {
    font-size: 32px;

  }

  .unified_system_content {

    padding: 040px;
  }

  .unified_container_wrap {
    background: var(--primary-color);
    border-radius: 16px;
    margin: 0 1rem;
  }

  .try_kluvos_content_wrap {

    padding: 4rem 1rem;
  }

  .try_kluvos_free_section_wrap {
    padding-bottom: 4.5rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }



  section.testimonial .container {
    flex-direction: row;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 10px;
    font-size: 14px;
  }

  .popup_split_section .popup_container_wrap {
    flex-direction: column;
    text-align: left;
    padding: 24px;
    gap: 30px;
  }

  .popup_split_section .popup_visual {
    order: -1;
  }

  .popup_split_section .popup_animation_box {
    height: auto;
  }

  .popup_animation_box--lottie {
    max-height: 420px;
  }

  .popup_split_section .popup_content {
    max-width: 100%;
  }

  .grow_stat_container {
    min-width: 100%;
    max-width: 100%;
  }

  .pricing_tab_main_wrap .tab-content {
    display: none;
    max-width: 650px;
    margin: 0 auto;
    padding: 0 15px;
  }

}

@media(max-width: 840px) {




  section.logo_slider_main {
    padding-top: 22px;
    padding-bottom: 10px;
  }

  .container {}

  .hero-right .animation-frame {
    height: 300px;
  }


  #tab {
    padding: 14px 20px;
    gap: 16px;

  }


  .logo-slider .logo img {
    width: 85%;
    height: auto;
    object-fit: contain;
  }


  h1,
  h2,
  h2 span {
    font-size: 32px;
  }

  .description {
    margin: 0 auto 20px;
    font-size: 16px;
    padding-right: 28px;
  }

  .tags {
    justify-content: start;
  }



  .feature_wrap {
    background: var(--secondary-color);
    border-radius: 24px;
    padding: 6px 28px;
    margin: 0 1rem;
    padding-bottom: 3rem;
    display: flex;
    flex-direction: column-reverse;
  }

  .features_benefits_title {
    display: block;
    margin-bottom: 2.2rem;
    text-align: center;
  }

  .features_benefits_title span {
    font-size: 15px;
    letter-spacing: 3px;
    color: var(--secondary-color);
    text-transform: uppercase;
    text-align: center;
    padding: 1rem 0;
    font-weight: 600;
  }

  .testimonial-card {
    max-width: 45%;
    scroll-snap-align: start;
    flex-shrink: 0;
    padding: 1.5rem;
    height: 309px;
  }

  .container.feature_wrap.attribution_analysis_feature_wrap {

    display: flex;
  }

  .common_feature_styles {
    padding-bottom: 0;
  }

  .attribution_analysis_feature .container.feature_wrap.attribution_analysis_feature_wrap {
    flex-direction: column;
  }

  .pupup_feature .feature_wrap .content {
    padding: 1rem;
  }

  .unified_system_animation_wrap {
    min-height: 550px;

    top: 116px;
  }

  .section_title_main {
    font-size: 32px;
  }

  .unified_system_section_wrap {
    margin-bottom: 2.5rem;
    padding-top: 1.5rem;
    padding-bottom: 1rem;
  }

  .logo-slider .logo {
    flex: 0 0 calc((100% - 3 * 20px) / 5);
    /* 4 logos + 3 gaps */
    max-width: 188px;
    height: 117px;
  }

  .logo-track {
    gap: 20px;
  }


  /* pricing range tab  */

  .pricing_tab_main_wrap .pricing {
    max-width: 90%;

  }


  .comparison_table_main_wrap .container {
    flex-direction: row;
  }

  table.comparison-table thead tr th img {
    width: 90%;
    object-fit: contain;
  }

  .comparison-table thead tr th {
    min-width: 0;
  }


  .stats_sectionmain_wrap .container {
    flex-direction: column;
    gap: 60px;
  }

  .stats_sectionmain_wrap .stat h2 {
    font-size: 64px;
  }

  .stats_sectionmain_wrap .stat p {
    font-size: 13px;
  }

  .footer_section_wrap.footer {
    padding: 40px 20px 20px;
  }

  .footer_section_wrap .footer_content_wrap {
    flex-direction: column;
    flex-wrap: wrap;
    gap: 40px;
  }

  .footer_section_wrap .footer-right {
    flex-direction: column;
    gap: 30px;
  }

  .footer_section_wrap .footer-bottom {
    flex-direction: row;
    gap: 15px;
    align-items: center;
    text-align: center;
  }

  .footer_section_wrap .socials {
    order: 1;
  }

  .footer_section_wrap .copyright {
    order: 2;
  }

  .footer_section_wrap .footer-left {
    max-width: 100%;
    padding-right: 0;
  }


  /* popup feature cards  */


  .popup_card_section .popup_feature_card {
    padding: 24px;
  }

  .popup_card_section .popup_animation_box {
    /* height: 330px; */
  }

  .popup_split_section {
    padding: 31px 0px;
  }

  .popup_split_section .popup_animation_box {
    /* height: 260px; */
  }

  .grow_stat_content {
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    flex-direction: row;
  }

  .grow_stat_content h2 {
    font-size: 24px;
  }

  .grow_stat_content img {
    width: 18px;
  }

  .grow_stat_container {

    padding: 39px;
    border-radius: 32px;
  }

  .grow_stat_container .label {

    margin-bottom: 29px;
  }



  .section_heading .highlight,
  .section_heading {
    font-size: 32px;
    line-height: 125%;

  }

  .popup_hero_section_main_wrapper .popup_heading,
  .popup_hero_section_main_wrapper .popup_heading .highlight {
    font-size: 42px;
    line-height: 125%;
  }

  .popup_hero_section_main_wrapper .popup_container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-direction: column;
    align-content: center;
    text-align: center;
  }

  .popup_hero_section_main_wrapper {

    padding: 40px 32px;

    max-height: 100%;

    padding-bottom: 61px;
  }

  .popup_hero_section_main_wrapper {
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
  }

  .popup_card {
    min-width: auto;
    max-width: 600px;
    height: 100%;
    margin: 0 auto;
    width: 100%;
  }

  .vertical-animation .small {
    position: absolute;
    top: 23%;
    left: -41%;
    max-width: 143px;
  }

  .visual.feature_animation_wrap {
    width: 100%;
  }

  .why_works_main_wrapper .popup_content {

    text-align: center;
    padding: 51px 0;

  }

  .why_works_main_wrapper .popup_content .paragraph {
    max-width: 100%;
  }

 
.why_works_main_wrapper .popup_container_wrap{
  padding: 0;
}

.why_works_main_wrapper{
  padding: 0;
}

.popup_animation_box .floating_image_why_work{
  width: 80%;
}

  .why_works_integrations_tab {
    padding: 10px 20px;
    gap: 17px;
  }

  .popup_animation_box img.half_cropped_image {
    left: 50%;
    transform: translateX(-50%);
  }

}




@media(max-width: 575px) {

  .unified_system_section_wrap .s_description,
  .hero-subtitle,
  .popup_hero_section_main_wrapper .paragraph,
  .why_works_main_wrapper .popup_container_wrap .paragraph,
  .pricing_tab_main_wrap .desc,
  .footer_section_wrap .footer-text {
    font-size: 14px;
  }

  /* Pricing display under slider: slightly tighter spacing on mobile */
  .pricing_tab_main_wrap .price-box {
    margin-top: 10px;
  }

  .custom-animation .animation-wrapper {

    height: 260px;

  }

  .logo-slider .logo {
    max-width: 188px;
    height: 93px;
  }

  .testimonial-card {
    max-width: 75%;

  }

  section.logo_slider_main {
    padding-top: 0;
    padding-bottom: 10px;
  }

  iframe.conversion_card_animation {
    width: 80%;
  }

  .conversion_lift_wrap .popup_animation_box {
    height: 280px;
    margin-bottom: 10px;
    margin-top: 5px;
  }

  .popup_card_section .popup_card_content {
    max-width: 100%;
  }

  .popup_hero_section_main_wrapper {
    padding: 40px 5px;
    padding-bottom: 61px;
  }

  .try_kluvos_content_wrap p.s_description {
    color: rgba(255, 255, 255, 0.75);
    font-size: 16px;
  }

  .paragraph {
    font-size: 14px;
    line-height: 150%;
  }

  .why_works_main_wrapper {

    margin-top: 2rem;
    margin-bottom: 3rem;
  }

  .feature h2,
  .feature h2 span {
    font-size: 32px;
  }

  .description {
    padding-right: 0px;
  }

  .unified_system_content .section_lable {
    font-size: 11px;
  }

  .homepage_wrap {
    overflow: hidden;
  }

  .hero {
    height: 100%;
    min-height: auto;

  }

  .features_benefits_title span {
    font-size: 11px;
  }

  .testimonial {
    margin-top: 0px;
    padding-left: 11px;
  }

  .vertical-animation .small {
    position: absolute;
    top: 23%;
    left: -24%;
    max-width: 113px;
  }

  #logo-wrapper {

    gap: 60px;
  }

  #tab {
    padding: 10px 20px;
    gap: 10px;
  }

  .label {
    font-size: 11px;
  }

  .feature_wrap {
    gap: 10px;
  }
  .common_feature_styles {
        padding-bottom: 0;
        padding-top: .8rem;
    }
    .attribution_analysis_main_wrap{
      padding-bottom: 1rem;
    }

  .popup_animation_box img.half_cropped_image {
    position: absolute;
    top: -330px;
    object-fit: contain;
    width: 258px;
    left: 50%;
    transform: translateX(-50%);
  }
  
}

