@media (max-width: 768px) {
  .ERP-landing-page .erp-frame-4 {
    display: flex;
    flex-direction: column;
    align-items: center;    /* ✅ This centers children horizontally */
    gap: 24px;
    padding: 16px;
  }

  .ERP-landing-page .erp-frame-4 > div {
    width: fit-content;     /* ✅ Prevent full-width stretch */
    max-width: 90vw;
  }
}




		  /* START INDUSTRIES MOBILE */
@media (max-width: 768px) {
  /* Ensure the entire section content is centered */
  .ERP-landing-page .frame-11 {
    display: flex;
    justify-content: center;
  }

  .ERP-landing-page .key-features-2 {
    width: 100%;
    max-width: 640px;
    padding: 0 16px;
    box-sizing: border-box;
  }

  /* Hide the image in mobile */
  .ERP-landing-page .frame-11 .frame-14 {
    display: none !important;
  }
}
	  /* START KEYFEATURES MOBILE */
@media (max-width: 768px) {
  /* Ensure the entire section content is centered */
  .ERP-landing-page .frame-11 {
    display: flex;
    justify-content: center;
  }

  .ERP-landing-page .key-features-2 {
    width: 100%;
    max-width: 640px;
    padding: 0 16px;
    box-sizing: border-box;
  }

  /* Hide the image in mobile */
  .ERP-landing-page .frame-11 .builderimg {
    display: none !important;
  }
}



	
/* START DASHBOARD MOBILE */
@media (max-width: 768px) {
  /* Container around the slider - match dashboard side padding */
  .ERP-landing-page .frame-5 {
      padding-left: 46px;
    padding-right: 46px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    background-color: var(--erp-white-3);
  }

  /* Slider track */
  .ERP-landing-page .frame-6 {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 40px;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    padding: 8px 0;
    margin: 0 auto;
  }

  .ERP-landing-page .frame-6::-webkit-scrollbar {
    display: none;
  }


  .ERP-landing-page .main-hero {
    padding: 24px 16px;
    background-position: center;
    background-size: cover;
  }

  .ERP-landing-page .inner {
    flex-direction: column;
    gap: 24px;
    align-items: center;
  }

  .ERP-landing-page .hero-texts {
    align-items: center;
    padding: 0;
    text-align: center;
    gap: 16px;
  }

  .ERP-landing-page .an-AI-powered2 {
    font-size: 29px;
    line-height: 32px;
    font-weight: 700;
  }

  .ERP-landing-page .an-AI-powered {
    font-size: 16px;
    line-height: 20px;
    max-width: 320px;
	
  }

  .ERP-landing-page .frame-3 {
    flex-direction: row;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
  }

  .main-hero .ERP-BUTTON,
  .main-hero .OUTLINED-ERPBUTTON2 {
    flex: 1;
    height: 48px;
    padding: 8px 12px;
    font-size: 14px;
  }

  .main-hero .ERP-BUTTON .register-2,
  .main-hero .OUTLINED-ERPBUTTON2 .learn-more {
    font-size: 14px;
    white-space: nowrap;
    margin-right: 0;
  }

  .main-hero .OUTLINED-ERPBUTTON2 img.ri-arrow-up-line2 {
    display: inline-block;
    width: 20px;
    height: 20px;
  }

  /* Image container tweaks */
  .ERP-landing-page .frame-wrapper {
    width: 100%;
    max-width: 360px;
    padding: 0;
    margin-top: 16px;
    border-radius: 16px;
  }

  .ERP-landing-page .frame-4 {
    height: auto;
    width: 100%;
    max-height: 220px;
    object-fit: contain;
  }
   .ERP-landing-page .frame-3 {
    margin-bottom: 24px;
  }
}
/* END DASHBOARD SECTION STYLES === */
/* Existing Why ERP styles - no mobile overrides */
/* ============================
   WHY ERP SECTION (Refined)
   ============================ */
@media screen and (max-width: 768px){
  .ERP-landing-page .div-3 {
    display: flex !important;
    flex-direction: column !important;
    gap: 32px !important;
    width: 90vw !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
  }

  .ERP-landing-page .frame-8 {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .ERP-landing-page .frame-8 li {
    width: 100% !important;
  }

  .ERP-landing-page .img-wrapper {
    width: 90vw !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .ERP-landing-page .img-wrapper .frame-9 {
    width: 100% !important;
    height: auto !important;
  }
}
 /* END WHY ERP MOBILE STYLES*/	
	
	
	
        /* START RESOURCE DROPDOWN STYLES*/
        .nav-item.nav-resources {
            position: relative;
        }

        .nav-resources__toggle {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            cursor: pointer;
            text-decoration: none;
        }

        /* Dropdown menu */
        .nav-resources__menu {
            position: absolute;
            top: 100%;
            left: 0;
            width: 200px;

            background-color: white;
            padding: 12px 16px;
            border-radius: 8px;
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
            z-index: 999;

            max-height: 0;
            opacity: 0;
            transform: scale(0.95) translateY(10px);
            pointer-events: none;
            transform-origin: top;

            transition: max-height 0.4s ease, opacity 0.4s ease, transform 0.4s ease;
        }

        /* Links inside */
        .nav-resources__menu li {
            margin: 6px 0;
        }

        .nav-resources__menu li {
            font-size: 14px;
            padding: 4px 8px;
            display: block;
            color: #333;
            text-decoration: none;
            border-radius: 4px;
            transition: background 0.2s ease;
        }

        .nav-resources__menu li:hover {
            background: #f0f0f0;
        }

        /* Arrow rotation */
        .nav-resources__icon {
            width: 14px;
            height: 14px;
            transition: transform 0.4s ease;
        }

        /* On hover (desktop) */
        @media (hover: hover) {
            .nav-item.nav-resources:hover .nav-resources__menu {
                max-height: 500px;
                opacity: 1;
                transform: scale(1) translateY(0);
                pointer-events: auto;
            }

            .nav-item.nav-resources:hover .nav-resources__icon {
                transform: rotate(180deg);
            }
        }

        /* On click (mobile) */
        .nav-item.nav-resources.open .nav-resources__menu {
            max-height: 500px;
            opacity: 1;
            transform: scale(1) translateY(0);
            pointer-events: auto;
        }

        .nav-item.nav-resources.open .nav-resources__icon {
            transform: rotate(180deg);
        }
		
		
		
		
		  /* START MOBILE RESOURCE DROPDOWN STYLES*/
@media (max-width: 768px) {
.nav-resources__toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
  padding: 14px 16px;
  width: 100%;
  font-size: 16px;
  font-weight: 500;
  color: var(--erp-blk);
  background: none;
  border: none;
  cursor: pointer;
  text-align: center;
}


.nav-resources__menu {
  position: static !important;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  opacity: 0;
  transform: translateY(-6px);
  max-height: 0;
  overflow: hidden;
  pointer-events: none;
  transition: max-height 0.4s ease, opacity 0.4s ease, transform 0.4s ease;

  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.nav-item.nav-resources.open .nav-resources__menu {
  opacity: 1;
  transform: translateY(0);
  max-height: 500px;
  pointer-events: auto;
  margin-top: 6px;
}

.nav-resources__menu li {
  list-style: none;
  padding-left: 18px;
  margin-bottom: 4px;
  position: relative;
}

.nav-resources__menu li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background-color: var(--erp-primary, #007bff);
  border-radius: 50%;
}

.nav-resources__menu a {
  display: inline-block;
  font-size: 16px;
  color: var(--erp-blk);
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-resources__menu a:hover {
  color: var(--erp-primary);
}

.nav-item.nav-resources {
  margin-top: -15px;  /* Adjust this value as needed */
}
 .nav-resources__toggle {
    transform: translateX(9px); /* Shift entire line right */
  }

}



        /* END RESOURCE DROPDOWN STYLES*/

        /* START FOOTER STYLES*/
        #footer .footer-states div {
            text-decoration: none;
            color: #333;
            transition: all 0.3s ease;
            position: relative;
            display: inline-flex;
            align-items: center;
            gap: 5px;
        }

        /* Hover effect: pop out */
        #footer .footer-states div:hover {
            color: var(--erp-primary);
            transform: scale(1.05);
		}
            /* END FOOTER STYLES*/
			
			 /* START CONTACT US PAGE STYLES*/
         .contact-text {
            text-decoration: none !important;
            color: #333;
            transition: all 0.3s ease;
            
        }

        /* Hover effect: pop out */
           .contact-text:hover {
            color: var(--erp-primary);
     
     

            /* END CONTACT US PAGE STYLES*/