.mobileViewShow {
  display: none;
}

.mobileViewHide {
  display: block;
}

@media (min-width: 1200px) and (max-width: 1439px) {
  .container {
    max-width: 1140px;
  }

  .headerContentFonts,
  .featureTitle,
  .featureDesc {
    font-size: 14px;
  }

  .purpleBtn {
    width: 155px;
  }

  .headerContentFont {
    font-size: 30px;
  }

  .headerContentParagraph,
  .mobileSecFont,
  .intelligentParagraph,
  .actionParagraph {
    font-size: 16px;
  }

  .titleBadge,
  .badgeText {
    font-size: 10px;
  }

  .whyChooseCard {
    width: 447px !important;
  }

  .modernWorkforcesEmImg {
    width: 554px;
    height: 449px !important;
  }

  .modernWorkforcesContent {
    width: 482px;
    height: 149px !important;
  }

  .storeCard {
    width: 160px;
  }

  .storeButtons {
    margin-top: 16px;
  }

  .featureCard {
    width: 256px;
    height: 177px;
  }

  .aiFeaturesImg {
    width: 554px;
    height: 578px !important;
  }

  .customPills .nav-link {
    width: 269px;
    height: 55px;
  }

  .carousel-control-next {
    right: -127px !important;
  }

  .contactSubmitBtn {
    width: 685px !important;
  }

  .testimonialCard {
    width: 530px !important;
  }

  .appsSection .container {
    max-width: 1138px !important;
  }

  .payrollPhoneImg {
    left: 213px !important;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .container {
    max-width: 720px;
  }

  .heroSectionImg {
    width: 100%;
    height: auto !important;
  }

  .whyChooseDh {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 16px;
  }

  .whyChooseCard {
    display: contents;
  }

  .break {
    display: none;
  }

  .noBreak {
    display: block;
  }

  .whyChooseSection .whyChooseBox {
    text-align: center;
    padding: 30px 20px;
    height: auto;
    margin: 0% !important;
  }

  .whyChooseSection .chooseIcon {
    position: static;
    margin: 0 auto 15px;
  }

  .whyChooseSection .chooseText {
    padding-left: 0;
    margin-top: 0;
  }

  .chooseIcon {
    width: 70px;
    height: 70px;
    background: #eef1ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .whyChooseSection .element .element1 {
    left: 0px !important;
    bottom: 11px !important;
  }

  .whyChooseSection .element .element2 {
    right: 7px !important;
    top: 191px !important;
  }

  .modernWorkforcesScroll.d-flex.flex-column {
    display: flex !important;
    flex-direction: row !important;
    overflow-x: hidden !important;
    scroll-snap-type: none !important;
    gap: 16px !important;
    align-items: stretch !important;
    padding-bottom: 8px;
    scrollbar-width: none !important;
  }

  .modernWorkforcesScroll.d-flex.flex-column::-webkit-scrollbar {
    display: none !important;
  }

  .modernWorkforcesContent {
    min-width: calc(50% - 8px) !important;
    width: calc(50% - 8px) !important;
    height: 169px !important;
    flex-shrink: 0 !important;
    scroll-snap-align: start !important;
  }

  .mwImgWrapper {
    margin-top: 0px !important;
  }

  .modernWorkforcesSection .col-lg-6 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }

  .modernTexts {
    font-size: 18px !important;
  }

  .modernWorkforcesEmImg {
    width: 100% !important;
    height: auto !important;
  }

  .modernWorkforcesContent.activeCard {
    border-color: #5c32e2;
    transform: scale(1.02);
    box-shadow: 0px 4px 50px rgba(0, 0, 0, 0.1);
    z-index: 2;
  }

  .mobileViewShow {
    display: block;
  }

  .mobileViewHide {
    display: none;
  }

  .aiFeaturesImg {
    width: 694px;
  }

  .carousel-control-prev {
    left: -7px !important;
  }

  .carousel-control-next {
    right: -7px !important;
  }

  .testimonialCard {
    max-width: 513px;
    margin: 0 auto;
    text-align: center;
  }

  .testimonialCard .d-flex {
    flex-direction: column;
    align-items: center !important;
  }

  .profileImg {
    margin-right: 0;
    margin-bottom: 10px;
  }

  .rating {
    justify-content: center;
  }

  .priceCard {
    margin-bottom: 25px;
    width: 100%;
    padding: 20px 22px !important;
  }

  .features {
    grid-template-columns: 1fr;
    gap: 8px 15px !important;
  }

  .features li {
    min-height: 36px !important;
    font-size: 14px !important;
  }

  .divider {
    margin: 12px 0 !important;
  }

  .price {
    font-size: 36px !important;
  }

  .planTitle {
    font-size: 18px !important;
  }

  .contactFormCard {
    height: 100% !important;
  }

  .contactSubmitBtn {
    margin-top: 10px;
    width: 620px !important;
  }

  .storeButtons {
    margin-top: 28px;
    margin-left: 148px;
  }

  .appsPhoneImg {
    right: 120px;
  }

  .payrollPhoneImg {
    left: 293px !important;
  }

  .phoneImages {
    margin-top: 30px;
  }

  .appsSection .container .appInnerSec:before {
    top: 600px;
    left: -123px;
  }

  .appsIconStar .elements2 {
    bottom: -48px !important;
  }

  .appsIconStar .elements1 {
    left: 601px !important;
  }

  .footerInnerSec::before {
    right: 1px;
    top: -173px;
  }

  #demoTabs {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    gap: 10px;
    padding: 10px 0;
    scrollbar-width: none;
  }

  #demoTabs::-webkit-scrollbar {
    display: none;
  }

  #demoTabs .nav-link {
    flex: 0 0 auto;
    white-space: nowrap;
    width: auto !important;
    height: 50px;
    font-size: 13px !important;
    margin-top: 0 !important;
  }

  .customPills .nav-link.active::after {
    display: none !important;
  }

  #navbarSupportedContent {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh !important;
    background: #ffffff;
    z-index: 10000;
    display: flex !important;
    flex-direction: column;
    padding: 30px 24px !important;
    margin-top: 0;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 0;
    visibility: hidden;
  }

  #navbarSupportedContent.show {
    right: 0 !important;
    visibility: visible;
  }

  #navbarSupportedContent.collapsing {
    display: flex !important;
    height: 100% !important;
    right: -100%;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    visibility: visible;
  }

  .drawerHeader {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 2rem;
  }

  .navCloseBtn {
    background: transparent;
    border: none;
    font-size: 24px;
    color: var(--primary);
    padding: 0;
    cursor: pointer;
  }

  .navBackdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(8, 15, 34, 0.4);
    backdrop-filter: blur(4px);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
  }

  .menuOpen .navBackdrop {
    opacity: 1;
    visibility: visible;
  }

  .navbar-nav {
    gap: 24px !important;
    align-items: flex-start;
  }

  .navbar-nav .nav-link {
    font-size: 18px !important;
    color: var(--body-text) !important;
  }

  .menuOpen {
    overflow: hidden !important;
  }

  .modernHeading {
    font-size: 30px !important;
  }

  .demoImg {
    border-radius: 12px;
  }

  .actionsDemoSection {
    padding: 60px 0;
  }
}

/* Tablet footer layout refinement */
@media (min-width: 768px) and (max-width: 991px) {
  .footerBrand {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100%;
    margin-bottom: 2rem;
  }

  .footerBrandContent {
    max-width: 60%;
  }

  .footerBrandContent p {
    margin-top: 15px !important;
  }

  .storeBtnsWrapper {
    margin-top: 0 !important;
    justify-content: flex-end !important;
    flex: 1;
  }

  .footerSection .footerTop > .col-6 {
    margin-top: 1rem;
  }
}

@media (min-width: 1023px) and (max-width: 1199px) {
  .container {
    max-width: 960px;
  }

  .headerContentFont {
    font-size: 35px;
  }

  .heroSectionImg {
    width: 100%;
    height: auto !important;
  }

  .whyChooseDh {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 16px;
  }

  .whyChooseCard {
    display: contents;
  }

  /* .break {
        display: none;
    } */

  .noBreak {
    display: block;
  }

  .whyChooseSection .whyChooseBox {
    text-align: center;
    padding: 30px 20px;
    height: auto;
    margin: 0% !important;
  }

  .whyChooseSection .chooseIcon {
    position: static;
    margin: 0 auto 15px;
  }

  .whyChooseSection .chooseText {
    padding-left: 0;
    margin-top: 0;
  }

  .chooseIcon {
    width: 70px;
    height: 70px;
    background: #eef1ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .whyChooseSection .element .element1 {
    left: 0px !important;
    bottom: 11px !important;
  }

  .whyChooseSection .element .element2 {
    right: 7px !important;
    top: 191px !important;
  }

  .modernWorkforcesEmImg {
    width: 528px;
    height: 449px !important;
  }

  .modernWorkforcesContent.activeCard {
    border-color: #5c32e2;
    transform: scale(1.02);
    box-shadow: 0px 4px 50px rgba(0, 0, 0, 0.1);
    z-index: 2;
  }

  .modernWorkforcesContent {
    width: 329px;
    height: 150px;
  }

  .modernTexts {
    font-size: 18px !important;
  }

  .modernPara {
    font-size: 14px !important;
  }

  .mdContentImg {
    width: 46px;
    height: 46px;
  }

  .modernHeading {
    font-size: 30px !important;
  }

  .chooseHrms,
  .payrollHeading,
  .intelligenceHeading {
    font-size: 30px;
  }

  .mobileSecFont,
  .intelligentParagraph {
    font-size: 16px;
  }

  .featureTitle,
  .featureDesc {
    font-size: 14px;
  }

  .appsPhoneImg {
    width: 283px;
  }

  .payrollPhoneImg {
    width: 283px;
    left: 194px;
  }

  .storeButtons {
    margin-top: 46px;
    margin-left: 55px;
  }

  .aiFeaturesImg {
    width: 456px;
    height: 665px;
  }

  .featureCard {
    width: 218px;
    height: 185px;
  }

  .featureContentPara,
  .featureContentHeading {
    font-size: 14px;
  }

  .featureIcon img {
    width: 35px;
    height: 35px;
  }

  .customPills .nav-link {
    font-size: 14px;
    width: 239px;
    height: 46px;
  }

  .testimonialCard {
    width: 421px;
  }

  .contactSubmitBtn {
    width: 567px !important;
  }

  .pricingContent {
    width: 90% !important;
  }
}

@media (min-width: 320px) and (max-width: 480px) {
  .container {
    max-width: 390px;
  }

  .headerContentParagraph,
  .bestFeaturesPara {
    font-size: 16px !important;
  }

  .heroSectionImg {
    width: 100%;
    height: auto !important;
  }

  .logos {
    height: 55px;
  }

  .chooseHrms,
  .payrollHeading,
  .intelligenceHeading,
  .pricingTitle,
  .contactHeading,
  .customerTitle,
  .actionTitle {
    font-size: 30px;
  }

  .modernPara,
  .mobileSecFont,
  .intelligentParagraph,
  .contactDesc,
  .actionParagraph {
    font-size: 16px;
  }

  .featureTitle,
  .featureDesc {
    font-size: 14px;
  }

  .featureIcon {
    width: 15px;
    height: 15px;
  }

  .modernHeading {
    font-size: 27px;
  }

  .whyChooseDh {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 20px;
  }

  .whyChooseCard {
    display: contents;
  }

  .break {
    display: none;
  }

  .noBreak {
    display: block;
  }

  .whyChooseSection .whyChooseBox {
    text-align: center;
    padding: 30px 20px;
    height: auto;
  }

  .whyChooseSection .chooseIcon {
    position: static;
    margin: 0 auto 15px;
  }

  .whyChooseSection .chooseText {
    padding-left: 0;
    margin-top: 0;
  }

  .chooseIcon {
    width: 70px;
    height: 70px;
    background: #eef1ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .whyChooseSection .element .element1 {
    left: 0px !important;
    bottom: 11px !important;
  }

  .whyChooseSection .element .element2 {
    right: 7px !important;
    top: 191px !important;
  }

  .appsPhoneImg {
    right: 10px;
    width: 160px;
    height: auto !important;
  }

  .payrollPhoneImg {
    left: 116px;
    width: 160px;
    height: auto !important;
    top: 22px;
  }

  .storeBuys {
    width: 70px !important;
  }

  .storeCard {
    padding: 15px;
    width: 104px;
    height: 44px;
  }

  .footerStoreIcon {
    width: 110px;
    height: 32px;
    object-fit: contain;
  }

  .appsStoreIcon {
    width: 200px;
    height: 59px;
    object-fit: contain;
  }

  .appsSection .storeButtons {
    margin-left: 0;
    justify-content: center;
  }

  .appsSection .container .appInnerSec:before {
    right: 0px;
    top: 908px;
    width: 558px;
    height: 552px;
  }

  .aiFeaturesImg {
    width: 100%;
    height: 400px;
  }

  .contactFormCard {
    height: 100%;
  }

  .contactSubmitBtn {
    margin-top: 10px;
    width: 273px !important;
    height: 48px !important;
  }

  .pricingContent {
    width: 100% !important;
  }

  .priceCard {
    margin-bottom: 15px;
    width: 100%;
    padding: 20px 20px !important;
  }

  .features {
    grid-template-columns: 1fr;
    gap: 5px 10px !important;
  }

  .features li {
    min-height: 32px !important;
    font-size: 13px !important;
  }

  .divider {
    margin: 8px 0 !important;
  }

  .price {
    font-size: 28px !important;
  }

  .planTitle {
    font-size: 17px !important;
  }

  .testimonialCard {
    max-width: 313px;
    margin: 0 auto;
    text-align: center;
  }

  .testimonialCard .d-flex {
    flex-direction: column;
    align-items: center !important;
  }

  .carousel-control-prev {
    left: -1px !important;
  }

  .carousel-control-next {
    right: -1px !important;
  }

  .profileImg {
    margin-bottom: 10px !important;
  }

  .footerLine h5 {
    justify-content: flex-start;
  }

  .footerBrand {
    text-align: center;
  }

  .logosBox,
  .storeBtnsWrapper {
    justify-content: center;
  }

  .footerInnerSec {
    text-align: left;
  }

  .footerSocialLinks {
    flex-direction: row !important;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px !important;
  }

  .footerSocialLinks li {
    width: auto !important;
    margin-top: 0 !important;
  }

  .footerSocialLinks span {
    font-size: 13px;
  }

  .footerLinks li {
    margin-top: 8px !important;
  }

  .titleBadge,
  .badgeText {
    font-size: 10px;
  }

  .demoImg {
    border-radius: 10px;
  }

  .actionsDemoSection {
    padding: 40px 0;
  }

  .customPills {
    display: flex !important;
    flex-direction: row !important;
    overflow-x: hidden !important;
    white-space: nowrap !important;
    gap: 12px !important;
    padding-bottom: 10px;
    scrollbar-width: none !important;
    scroll-snap-type: none !important;
    width: 100%;
  }

  .customPills::-webkit-scrollbar {
    display: none !important;
  }

  .customPills .nav-link {
    font-size: 14px !important;
    height: auto !important;
    min-width: 200px !important;
    flex-shrink: 0 !important;
    border-radius: 8px !important;
    padding: 12px 16px !important;
    margin-top: 0 !important;
  }

  .pillBox {
    padding: 10px 12px;
    margin-top: 13px;
    margin-bottom: -23px;
  }

  .modernWorkforcesScroll.d-flex.flex-column {
    display: flex !important;
    flex-direction: row !important;
    overflow-x: hidden !important;
    scroll-snap-type: none !important;
    gap: 16px !important;
    align-items: stretch !important;
    padding-bottom: 8px;
    scrollbar-width: none !important;
  }

  .modernWorkforcesScroll.d-flex.flex-column::-webkit-scrollbar {
    display: none !important;
  }

  .modernWorkforcesContent {
    min-width: calc(50% - 8px) !important;
    width: calc(100% - 8px) !important;
    height: 172px !important;
    flex-shrink: 0 !important;
    scroll-snap-align: start !important;
  }

  .mwImgWrapper {
    margin-top: 0px !important;
  }

  .modernWorkforcesSection .col-lg-6 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }

  .modernTexts {
    font-size: 18px !important;
  }

  .modernWorkforcesEmImg {
    width: 100% !important;
    height: auto !important;
  }

  .modernWorkforcesContent.activeCard {
    border-color: #5c32e2;
    transform: scale(1.02);
    box-shadow: 0px 4px 50px rgba(0, 0, 0, 0.1);
    z-index: 2;
  }

  .mobileViewShow {
    display: block;
  }

  .mobileViewHide {
    display: none;
  }

  .featureCard {
    width: 100%;
  }

  .mobileCardTab {
    margin-top: 24px;
  }
}
