@media (max-width: 1919px) {
    .middle-con { top: -9rem; padding: 0 1.5rem;}
    .marketing-con { padding: 8rem 1.5rem; }
    .business-goals-con, .footer-con { padding: 5rem 1.5rem; }
    .blog-con { padding : 0 1.5rem;}
    .main-con { margin: 24rem 0 0; }
    header, footer, #bottom {overflow-x: hidden;}
    header{ overflow-x: clip;}
    .why-choose-us-con { padding: 0 1.5rem; }
}

@media (max-width: 1500px) {
  .header-con, .main-con, .services-con {padding: 0 1.5rem;}
  .banner-con  {padding: 12rem 0 2rem 0;}
}
@media (max-width: 1400px) {
  .testimonials { position: relative; }
  #business-goals { height: auto; }

  /* Blog */
  #blog { margin: 5rem 0 8rem; }
}
@media (max-width: 1200px) {

  /* Bottom */
  .marketing-section section figure { width: 53%; }
  .marketing-section section .sidebar-content { width: 43%; padding: 1.5rem 0rem; }

  .wcuc-top .sidebar-img::after { top: 64.8%; }
  .wcuc-bottom .sidebar-content .business li { width: 48%; width: 47%; }

  /* Testimonial */
  .testimonials-slider { width: 68%; }
  .left-badge {padding: 0 0 0 1.5rem;}

}

@media (min-width: 1025px) {
  .header-con { padding: 0 1.5rem; }
  #nav-menu .menu-item-has-children:hover > .sub-menu { display: block; }
   .header-con {padding: 0 1.5rem; }
  
  .submenu-toggle { display: none !important; }
}

@media (max-width: 1024px) {
  /* HEader */
  .header-con .right-action { display: none ; }
  header { top: 1rem; transform: none; left: 0; right: 0; width: 100%; overflow: visible; overflow-x: visible; overflow-y: visible; }
  .header-con .logo { width: 30%; }
 

  /* Navigation Menu */
  #nav-menu > li { margin-right: 0; width: 100%; border-bottom: 1px solid #dddddd78;line-height: 3; }
  #nav-menu li a { display: block; width: 100%; pointer-events: auto; position: relative; z-index: 10; }
  #nav-menu .menu-item-has-children { position: relative; }
  #nav-menu .menu-item-has-children > a { }
  .submenu-toggle { display: block !important; position: absolute; top: 0; right: 0; background: none; border: none; cursor: pointer; font-size: 1.2rem; padding: 0.5rem; color: var(--whiteColor); width: 50px; transition: transform 0.3s ease; z-index: 10; }

  .sub-menu li { margin: 0 !important; }
  .submenu-toggle:hover { background: rgba(0,0,0,0.1); }
  #nav-menu .menu-item-has-children.mobile-menu-open .submenu-toggle { transform: rotate(180deg); }

  #nav-menu .sub-menu { display: none; position: static; width: 100%; margin: 0; padding: 0; box-shadow: none; border: none; background: #f8f8f8; border-top: 1px solid #ddd; border-bottom-left-radius: var(--radious); overflow: hidden; border-bottom-right-radius: var(--radious); }
  #nav-menu .menu-item-has-children.mobile-menu-open > .sub-menu { display: block; }
  .sub-menu .menu-item a { color: var(--headingColor) !important; padding-left: 2rem; padding-right: 1rem; background: #f8f8f8; border-bottom: 1px solid #e0e0e0; }
  .sub-menu .menu-item a:hover { background: #e8e8e8; }

  #hamburger { display: block; }
  #nav-menu { display: none; flex-direction: column; gap: 0; padding: 3rem 1rem 1rem; width: 100%; border-radius: 0; background: unset; backdrop-filter: unset;}

  nav { position: fixed; top: 0; right: 0; height: 100vh; width: 60%; opacity: 0; visibility: hidden; pointer-events: none; z-index: 100001; transform: translateX(100%); transition: transform 450ms cubic-bezier(0.22, 1, 0.36, 1), opacity 300ms ease-out, visibility 0s linear 450ms; box-shadow: -5px 0 15px rgba(0,0,0,0.1); overflow-y: auto; -webkit-overflow-scrolling: touch; }
  nav.navwidth { transform: translateX(0); opacity: 1; visibility: visible; pointer-events: auto; transition: transform 450ms cubic-bezier(0.22, 1, 0.36, 1), opacity 300ms ease-out, visibility 0s linear 0s; background: url('../../images/home/bg.webp');}
  .nav-con { flex-direction: column !important; justify-content: flex-start; height: 100%; }
  body.navopenbg header { z-index: 100000; }
  .main-logo.new { padding: 3.5rem 3.5rem 3.5rem 0;}
  #nav-menu.navopen { display: flex; }
  /* @keyframes menuFadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } } */
  body.navopenbg { overflow: hidden; }

  /* Banner */
  
  #banner {height: auto;padding: 0 0 3rem;}
   .banner-con { padding: 13rem 0 0 0; }
   #banner::before {all: unset;}

  /* Middle */
  .middle-con { position: relative; top: 0; left: 0; margin: 5rem 0 0; --middle-rot: unset;}
  .floating-section section:nth-child(2) h3 { width: 100%; }
  .floating-section section:nth-child(2) span { margin: 0 0 4rem; }
  .floating-section::after { z-index: -1; }
  .floating-section section { padding: 2rem 1rem; }
  .content-wrapper { padding: 3rem 1rem; }
  .floating-section::after { all: unset;}

  /* Main */
  .main-con { margin: 8rem 0 0; }
  .main-info {width: 100%; text-align: center;}
  .main-con .sidebar-img {display: none;}
  .main-info .sub-heading {margin: 0 auto 1rem; width: fit-content;}
  .main-info .sub-heading::after { width: 15%; }

  /* Bottom */
  .marketing-section section figure { width: 51%; }
  #marketing::after { top: -3%; right: 10%; }

  /* Testiminoals */
  .quote-badge { width: 160px; height: 160px; }
  .testimonial-item { padding: 1rem; }
 
}


@media (max-width: 900px) {
    .wcuc-top .sidebar-content { width: 100%;}
    .wcuc-top .sidebar-img { width:   fit-content; margin: 0 auto;}
    .wcuc-top { gap: 4rem; }
    .wcuc-bottom .sidebar-content { width: 100%;}
    .wcuc-bottom { flex-direction: column-reverse;  gap: 4rem;}
    .wcuc-bottom .sidebar-img { width: fit-content; }
    
}

@media (max-width: 767px) {
  .floating-section { flex-wrap: wrap; flex-direction: column; gap: 2rem;}
  .floating-section section {width: 100%;height: 25rem;}
  .floating-section::after {all: unset;}


  /* Main */
  .main-btm-info section { width: 100%; text-align: center; }
  .main-btm-info section svg.number-outline { text-align: center; margin: 0 auto; }
  .main-btm-info { margin: 4rem 0 0; }
  .main-btm-info section a { width: fit-content; margin: 2rem auto; }

  .services-con .left-info { width: 70%; width: 100%; text-align: center; }
  .sub-heading-bullet { margin: 0 auto 1rem; width: fit-content; }

  /* Bottom */
  .m-heading-info-con { flex-wrap: wrap; justify-content: center; }
  .m-heading-info-con .left-info { width: 100%; text-align: center; }
  .marketing-con .button { margin: 2rem auto 0; }
  .marketing-section section { flex-direction: column; }
  .marketing-section section figure, .marketing-section section .sidebar-content {width: 100%;}
  .marketing-section section .sidebar-content { padding: 0 2rem 2rem;}
  #marketing::before {all: unset;}
  .marketing-section section { position: static; height: auto; }


.wcuc-top .sidebar-content ul li { padding: 8rem 0 0; text-align: center; }
.wcuc-top .sidebar-content ul li::after {top: 0; left: 50%; transform: translateX(-50%); }
.wcuc-top .sidebar-content, .wcuc-top .sidebar-img { text-align: center; }
.wcuc-bottom .sidebar-content { text-align: center; }
.wcuc-bottom .sidebar-content .business li::after { left: 50%; transform: translateX(-50%); }

  #business-goals::after {all: unset;}
  .wcuc-bottom .sidebar-img ul li:nth-child(1) { left: 0; }
  .wcuc-bottom .sidebar-img ul li:nth-child(3) { left: 0; width: 100%; }
  .wcuc-bottom .sidebar-img ul li:nth-child(3) { padding: 2rem 2rem 2rem 8rem; }

  .business-goals-con .bgc-info { text-align: center;}
  .business-goals-con .bgc-info h2{ width: 100%;}

  .testimonials-con { flex-direction: column; }
  .testimonials-slider { width: 100%; }
  .testimonial-item h3 {text-align: center;}
  .quote-badge { margin: 0 auto; }
  
  /* Blog */
  .blog-con .left-info {width: 100%;}
  .blog-heading-info { text-align: center;}
  .blog-con .button { margin: 0 auto;}

  /* Footer */
  .footer-heading-info { flex-direction: column; text-align: center; }
  .footer-heading-info .left-info {width: 100%;}
  .footer-heading-info .right-info {width: 100%;}

  .footer-btm::after { top: -35%; }
  .footer-btm { flex-direction: column; align-items: center; gap: 2rem; }
  .footer-btm section .social-media { margin: 1.5rem 0 0; }
  .footer-btm .footer-logo, .footer-btm section {width: 100%; justify-content: center; margin: 0 0 2rem;}
  .contat-info { text-align: center; }
  .footer-btm .address { text-align: center; }

  .footer-btm section:nth-of-type(3) h4, .footer-btm section:nth-of-type(4) h4 { position: relative; padding-right: 1.5rem; cursor: pointer; }
  .footer-btm section:nth-of-type(3) h4::after, .footer-btm section:nth-of-type(4) h4::after { content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); color: var(--whiteColor); font-size: 1rem; }
  .footer-btm section:nth-of-type(3).open h4::after, .footer-btm section:nth-of-type(4).open h4::after { content: '–'; }
  .footer-btm section:nth-of-type(3) ul, .footer-btm section:nth-of-type(4) ul { max-height: 0; overflow: hidden; opacity: 0; transform: translateY(-4px); transition: max-height 500ms ease, opacity 250ms ease, transform 250ms ease; }
  .footer-btm section:nth-of-type(3).open ul, .footer-btm section:nth-of-type(4).open ul { max-height: 500px; opacity: 1; transform: translateY(0); }
  .footer-btm section {margin: 0;}
  .footer-btm section h4 { margin: 0;}
  .footer-btm .open ul { margin: 1rem 0 0; }
  .footer-btm section:nth-child(3), .footer-btm section:nth-child(4) { border-bottom: 1px solid var(--border2); padding: 0 0 .7rem; }
}


@media (max-width: 600px) {
  .wcuc-top .total-sales { left: 0; width: 100%; }
  .wcuc-top .happy-client { display: none;}
  .wcuc-bottom .sidebar-img { width: fit-content; }


  .business-goals-con .business-logo figure img { margin: 0 auto; width: 90%;}
  .testimonial-item h3 { margin: 0 0 6rem; }
  .testimonials .slick-arrow { top: 111%; }
  .item-footer { justify-content: center; }
  .testimonials .slick-prev { right: 53%; }
  .testimonials .slick-next { right: 40%; }
}

@media (max-width: 480px) {
  .wcuc-bottom .sidebar-content .business li { width: 100%;}

.testimonials .slick-prev { right: 60%; }
.testimonials .slick-next { right: 30%; }

/* Blog */
  .footer-heading-info .right-info .subscribe-form .email-icon { display: none; }
  .footer-heading-info .right-info .subscribe-form { padding: .5rem 1rem; }
  .footer-heading-info .right-info .subscribe-form .subscribe-btn { width: 36%; }
  .footer-heading-info .right-info .subscribe-form input { flex: unset; width: 100%;}  
  .subscribe-form .button-2::after {right: 0;}
  .footer-btm::after { top: -24%; }
  .footer-heading-info .right-info .subscribe-form {gap: .5rem;}
}
