/* Google Font already linked in <head> */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


html, body {
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Rethink Sans', sans-serif;
  line-height: 1.6;
  color: #030B1D;
  background-color: #F9FBFC;
}



.nav-links a {
  margin-left: 20px;
  text-decoration: none;
  font-weight: 500;
  color: #030B1D;
  padding: 8px 16px;
  border-radius: 6px;
}

.nav-links a {
  position: relative;
  margin-left: 20px;
  text-decoration: none;
  font-weight: 500;
  color: #030B1D;
  padding: 8px 4px;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background-color: #FFBA08;
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a:hover {
  color: #FFBA08;
}

/* Active */
.nav-links .active {
  font-weight: 700;
  color: #FFBA08;
}

.nav-links .active::after {
  width: 100%;
}


.nav-links .demo-btn {
  background-color: #030B1D;
  color: #ffffff;
  border-radius: 10px;
  padding: 14px 24px;
  font-weight: bold;
}

/* 1. Kill the underline on demo-btn entirely */
.nav-links .demo-btn::after {
  display: none;
}

/* 2. Disable the generic hover‐color on demo-btn */
.nav-links .demo-btn:hover {
  /* your custom hover background / text color here */
  background-color: #FFBA08;
  color: #030B1D;
  transition: background-color 0.3s ease, color 0.3s ease;
}


/* NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  z-index: 999;
  background-color: #F9FBFC;
  padding: 20px 60px;
}

.navbar.scrolled {
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

section[id],
main[id] {
  scroll-margin-top: 100px;
  /* adjust this based on your navbar height */
}


.navbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}


 

/* HERO */
.hero {
  padding: 50px 60px;

}

.hero-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 50px;
}


.content {
  flex: 1;
 
}

.content h1 {
  font-size: 55px;
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.2;
  color: #030B1D;
}

.content .desc {
  color: #030B1D;
  font-size: 20px;
  margin-bottom: 20px;
  max-width: 600px;
  text-align: justify;
}

.content .highlight {
  color: #030B1D;
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 30px;
}

.cta-btn-1 {
  text-decoration: none;
  background-color: #FFBA08;
  color: #030B1D;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.hero-img {
  flex: 1;
  display: flex;
  justify-content: center;
}

.hero-img img {
  width: 100%;
  max-width: 515px;
  border-radius: 20px;
}


/* ERP SECTION */
.erp-section {
  background-color: #D0E4FB;
  padding: 50px 60px;
  /* remove horizontal padding */
}

.erp-content {
  display: flex;
  align-items: center;
  gap: 50px;
}


.erp-text {
  max-width: 100%;
}

.erp-text h2 {
  font-size: 45px;
  color: #030B1D;
  font-weight: 800;
  margin-bottom: 20px;
}

.erp-text p {
  font-size: 20px;
  color: #030B1D;
  line-height: 1.7;
  max-width: 100%;
    text-align: justify;

}

/* end */

/* ─── Features Section (tweaked) ────────────────────────────────────────────────── */
.features-section {
  padding: 50px 60px;
  /* background-color: #fff; */
}
.features-section .section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #030B1D;
}

/* → increase minimum card width to 300px (was 250px) */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background-color: #ffffff;
  border-radius: 20px;
  padding: 2rem;           /* a bit more breathing room */
  border: 1px solid #030B1D;
  box-shadow: 0 4.5px 0 #030B1D;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-align: center;      /* center contents for icon + title */
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.feature-icon {
  font-size: 2.5rem;       /* nice & big */
  color: #FFBA08;          /* match your accent */
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 20px;
  margin-bottom: 1rem;
  color: #030B1D;
}

.feature-card ul {
  text-align: left;
  list-style: disc inside;
  color: #030B1D;
}

.feature-card ul li {
  margin-bottom: 0.5rem;
  line-height: 1.4;
}
/* ───────────────────────────────────────────────────────────────────────────── */



/* Hamburger style (hidden on large screens) */
.hamburger {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: #030B1D;
}

.section-heading {
  font-size: 32px;
  font-weight: 700;
  background-color: #FFBA08;
  padding: 0 12px;
  border-radius: 10px;
}

.benefits-section {
  padding: 50px 60px;
  background-color: #F9FBFC;
}

.benefits-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 60px;
}



.benefits-header p {
  font-size: 16px;
  max-width: 400px;
  color: #030B1D;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.benefit-card {
  background-color: #Fefefe;
  padding: 24px;
  border-radius: 20px;
  border: 1px solid #030B1D;
  box-shadow: 0 4.5px 0 #030B1D;
  transition: transform 0.2s ease;
}

.benefit-card:hover {
  border: 1px solid #B4D2FF;
  box-shadow: 0 4.5px 0 #B4D2FF;
  transform: translateY(-4px);

}

.benefit-card h3 {
  font-size: 25px;
  font-weight: bold;
  margin-bottom: 10px;
  line-height: 1.4;
}

.benefit-card h3 span {
  background-color: #D0E4FB;
  border-radius: 4px;
  padding: 0 4px;
}

.benefit-card p {
  font-size: 18px;
  line-height: 1.6;
}

.industry-section {
  padding: 50px 60px;
  background-color: #F8FAFD;
}

.industry-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
}



.industry-header p {
  font-size: 16px;
  color: #030B1D;
  max-width: 400px;
}

.industry-subtext {
  font-size: 18px;
  color: #030B1D;
  margin-bottom: 50px;
  max-width: 1000px;
}

.industry-carousel-wrapper {
  position: relative;
}

.industry-cards {
  display: flex;
  gap: 40px;
  overflow-x: hidden;
  scroll-behavior: smooth;
  padding-bottom: 20px;
  scroll-snap-type: x mandatory;
  user-select: none;
  -webkit-user-drag: none;
}

.industry-card {
  background-color: #fff;
  border: 1px solid #B0B0B0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 0 #030B1D;
  text-align: center;
  max-width: 350px;
  margin: 0 auto;
  transition: all 0.2s ease;
}

.industry-img-wrapper {
  background-color: transparent;  
  padding: 0;                      
  border: none;                    
  box-shadow: none;                
}

.industry-img-wrapper img {
  display: block;
  width: 100%;
  height: 240px; /* Adjust height as needed */
  object-fit: cover;

   border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border: none;                 
  box-shadow: none;             
}


.industry-label {
  padding: 10px;
  font-size: 18px;
  font-weight: bold;
  color: #030B1D;
}

.scroll-indicator {
  width: 100%;
  height: 4px;
  background-color: #e0e0e0;
  margin-top: 10px;
  border-radius: 2px;
  overflow: hidden;
}

.scroll-bar {
  height: 100%;
  background-color: #FFBA08;
  width: 0%;
  transition: width 0.2s ease;
}

@media (min-width: 768px) {
  .industry-card {
    flex: 0 0 48%;
    /* show 2 cards side-by-side on desktop */
    max-width: 31%;
  }
}

.industry-card:hover {
  box-shadow: 0 6px 0 #00297b;
  transform: translateY(-5px);
}

.industry-card h3 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
}

.industry-card h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 14px;
}

.industry-card p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.industry-card hr {
  border: none;
  border-top: 1px solid #030B1D;
  margin: 12px 0 16px;
}

@media (max-width: 767px) {

  .industry-cards {
    display: flex;
    flex-direction: row;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    padding: 7px 16px;
    /* Hide default scrollbar */
    scrollbar-width: none; /* Firefox */
  }
  .industry-cards::-webkit-scrollbar {
    display: none; /* Chrome, Safari */
  }

  .industry-card {
    flex: 0 0 100%;
    max-width: 100%;
    scroll-snap-align: start;
    margin: 0 auto; /* center align slide */
  }

  /* Optional: hide nav buttons */
  .nav-controls {
    display: none;
  }

  .scroll-indicator {
    display: block;
  }
}

.learn-more {
  text-decoration: none;
  color: #030B1D;
  font-weight: 300;
  display: flex;
  align-items: center;
  gap: 8px;
}

.arrow-icon {
  width: 28px;
  height: 28px;
}


.nav-controls {
  display: flex;
  padding-top: 20px;
  gap: 20px;
}

.circle-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #030B1D;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s;
}

.circle-btn img {
  width: 20px;
  height: 20px;
  pointer-events: none;
}

.circle-btn:hover {
  background: #F8FAFD;
}

/* CTA Section */
.cta-section {
  background-color: #FFBA08;
  padding: 50px 60px;
}

.cta-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.cta-text {
  flex: 1;
  max-width: 600px;
}

.cta-text h2 span {
  background-color: #fff;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 24px;
  font-weight: bold;
  color: #030B1D;
}

.cta-text p {
  margin: 20px 0;
  font-size: 16px;
  color: #030B1D;
  line-height: 1.6;
  text-align: justify;

}

.cta-btn {
  background-color: white;
  color: #030B1D;
  font-weight: bold;
  padding: 12px 20px;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}

.cta-image {
  flex: 1;
  text-align: center;
}

.cta-image img {
  width: 100%;
  max-width: 300px;

}





#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #FFBA08;
  color: #030B1D;
  font-size: 24px;
  padding: 6px 20px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1000;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  text-decoration: none;
}
#backToTop:hover {
  background-color: #0196D2;
  color: white;
}

/* Mobile Optimization CSS Additions */

/* Mobile menu toggle: show hamburger and hide nav-links */
@media (max-width: 600px) {
  
    .navbar-inner {
    position: relative;
  }
  .hamburger {
    display: inline-flex !important;
    position: absolute !important;
    top: 12px !important;
    right: 16px !important;
    flex-direction: column;
    gap: 4px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
  }
  .hamburger .bar {
    width: 24px;
    height: 3px;
    background-color: #030B1D;
    border-radius: 2px;
  }
  .nav-links {
    display: none !important;
  }

  /* When active (e.g. .open class on navbar), show links vertically */
  .navbar.open .nav-links {
    display: flex !important;
    flex-direction: column;
    background-color: white;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    padding: 16px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  }
}


/* Footer Section */
.footer {
  background-color: #030B1D;
  color: white;
  padding: 60px 60px;
  font-size: 14px;
}

.footer .container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* --- TOP ROW --- */
.footer-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-brand h3 {
  font-size: 18px;
  margin: 0;
  color: white;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

.footer-nav a:hover {
  text-decoration: underline;
}

.footer-icons {
  display: flex;
  gap: 12px;
}

.footer-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: #fff;
  border-radius: 50%;
  transition: background 0.3s ease;
}

.footer-icons a:hover {
  background-color: #FFBA08;
}

.footer-icons img {
  width: 20px;
  height: 20px;
}


/* --- MAIN SECTION --- */
.footer-main {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}

.footer-contact {
  flex: 1;
  min-width: 220px;
}

.contact-label {
  background-color: #FFBA08;
  color: black;
  display: inline-block;
  padding: 6px 12px;
  border-radius: 6px;
  margin-bottom: 12px;
  font-weight: bold;
}

.footer-newsletter {
  background-color: #fefefe;
  border-radius: 12px;
  padding: 12px 20px;
  /* smaller top/bottom for tighter vertical centering */
  max-width: 550px;
  flex: 1;
  display: flex;
  align-items: center;
  /* ✅ vertical centering of inner form */
}

.newsletter-form {
  display: flex;
  align-items: center;
  /* ✅ ensure children are vertically centered */
  width: 100%;
  gap: 10px;
}

.newsletter-form input[type="email"] {
  flex: 1;
  padding: 5px 16px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 14px;
  outline: none;
  height: 48px;
  /* ✅ forces same height as button */
}

.newsletter-form button {
  background-color: #FFBA08;
  color: #030B1D;
  font-weight: normal;
  padding: 0px 16px;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  cursor: pointer;
  height: 59.6px;
  /* ✅ match input height */
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal-content {
  background-color: #fff;
  max-width: 800px;
  width: 90%;
  padding: 30px;
  border-radius: 12px;
  position: relative;
  overflow-y: auto;
  max-height: 90vh;
}

.modal-content h2 {
  font-size: 28px;
  margin-bottom: 10px;
}

.modal-content p {
  font-size: 16px;
  margin-bottom: 20px;
}

.close-btn {
  position: absolute;
  top: 14px;
  right: 20px;
  font-size: 30px;
  color: #333;
  cursor: pointer;
}

/* --- BOTTOM BAR --- */
.footer-bottom {
  border-top: 1px solid #555;
  padding-top: 20px;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
}

.footer-bottom a {
  color: #fff;
  text-decoration: underline;
}

/* 1) Remove default link color & underline */
.phone-link {
  color: inherit;          /* inherit text color from parent (or set your own) */
  text-decoration: none;   /* remove underline */
}

/* 2) (Optional) Add a custom hover effect */
.phone-link:hover,
.phone-link:focus {
  color: #FFBA08;          /* pick any hover color you like */
  text-decoration: underline;
}



/* Global adjustments for small screens (max-width: 600px) */
@media (max-width: 600px) {
  /* Reduce overall padding */
   .hero, .erp-section, .benefits-section, .features-section, .industry-section, .cta-section {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  /* Navbar adjustments */
  .navbar { padding: 10px 16px; }

  /* Hero section stacking */
  .hero-content {
    flex-direction: column;
    padding: 24px 0;
  }
  .content h1 { font-size: 28px; line-height: 1.3; }
  .content .desc, .content .highlight { font-size: 16px; }
  .cta-btn-1 { padding: 12px 20px; font-size: 16px; }
  .hero-img img { max-width: 100%; height: auto; }

  /* ERP section stacking */
  .erp-content { flex-direction: column; gap: 16px; }
  .erp-text h2 { font-size: 32px; }
  .erp-text p { font-size: 16px; }

  /* Benefits cards: single column layout */
  .benefit-grid { grid-template-columns: 1fr; gap: 24px; }
  .benefit-card { padding: 16px; }
  .benefit-card h3 { font-size: 20px; }
  .benefit-card p { font-size: 14px; }

  /* Industry carousel: ensure full-width slides */
  .industry-cards { gap: 16px; padding: 8px 0; }
  .industry-card { max-width: 100%; }
  .industry-img-wrapper img { height: 180px; }
  .industry-label { font-size: 16px; padding: 8px; }

  /* CTA section: stack vertically */
  .cta-content { flex-direction: column; align-items: stretch; text-align: center; gap: 32px; }
  .cta-text h2 span { font-size: 20px; }
  .cta-text p { font-size: 14px; }
  .cta-btn { padding: 10px 16px; font-size: 16px; }
  .cta-image img { max-width: 80%; }

  /* Sections headings */
  .section-heading { font-size: 24px; }

  /* Back to top button hidden on mobile */
  #backToTop { display: none; }
}

/* Optional: Increase touch target sizes */
button, .cta-btn, .cta-btn-1, .nav-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/*────────────────────────────────────────
  Disable hover effects on the mobile nav
────────────────────────────────────────*/
@media (max-width: 600px) {
  /* 1) Kill the pseudo‐underline entirely */
  .navbar.open .nav-links a::after {
    display: none !important;
  }

  /* 2) Neutralize any color or background change on hover */
  .navbar.open .nav-links a:hover {
    color: inherit !important;           /* stay the same as normal */
    background: none     !important;     /* remove any bg highlight */
  }
}

/* Footer tweaks for small screens */
@media (max-width: 600px) {
  /* 1) Reduce footer’s side padding to match the rest */
  .footer {
    padding: 40px 16px;
  }

  /* 2) Make the newsletter form full-width and flush */
  .footer-newsletter {
    width: 100%;
    max-width: none;
    padding: 12px 16px;
  }

  /* 3) Match button height to the input for perfect vertical alignment */
  .newsletter-form button {
    height: 48px;
  }
}


/* === FINAL: Stronger mobile alignment overrides === */
.logo { display: flex; align-items: center; }
.logo img { height: 40px; width: auto; display: block; }

@media (max-width: 600px) {
  /* Put the logo + hamburger in a full-width flex row */
  .navbar-inner { 
    display: block;         /* avoid nested flex weirdness */
    position: relative; 
  }
  .navbar-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding-top: 20px;
  }
  /* Override the absolute positioning (note the higher specificity) */
  .navbar .hamburger {
    position: static !important;
    top: auto !important;
    right: auto !important;
    display: inline-flex !important;
    margin-left: auto;
  }
  .navbar .logo img {
    height: 32px; /* neat size on phones */
  }
}

/* minimal modal form styling */
.modal-overlay { display:none; position:fixed; inset:0; background:rgba(0,0,0,.6); align-items:center; justify-content:center; padding:1rem; }
.modal-content { background:#fff; max-width:640px; width:100%; border-radius:10px; padding:24px; position:relative; }
.close-btn { position:absolute; right:14px; top:10px; cursor:pointer; font-size:28px; line-height:1; }

#demoForm .form-row { display:flex; flex-direction:column; gap:.4rem; margin-bottom:12px; }
#demoForm input { padding:.7rem .9rem; border:1px solid #ddd; border-radius:8px; font-size:1rem; }
#demoForm button { padding:.8rem 1.2rem; border:0; border-radius:8px; cursor:pointer; font-weight:600; }
#demoForm button[disabled] { opacity:.7; cursor:not-allowed; }
