/* Reset default body and html padding/margin */
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  box-sizing: border-box;
  background-color: #ffffff;
  overflow-x: hidden; /* Prevent sideways scroll */
}

/* Apply box-sizing border-box globally */
*, *::before, *::after {
  box-sizing: border-box;
}
.cmms-demo-submit[disabled] {
    background-color: #ccc;
    cursor: not-allowed;
    opacity: 0.7;
  }
  .cmms-demo-section {
    padding: 50px 20px;
    margin-top: 70px;
    background: linear-gradient(120deg, #eef2f7, #ffffff);
    color: #333;
  }
  .phone-input-group {
      display: flex;
      gap: 8px;
      align-items: center;
  }
  .phone-input-group select,
  .phone-input-group input {
      flex: 1;
  }
  .cmms-demo-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
  }
  
  .cmms-demo-info {
    flex: 1 1 400px;
  }
  
  .cmms-demo-info h1 {
    font-size: 4.4rem;
    color: #1a3e72;
  }
  
  .cmms-demo-info ul {
    margin-top: 20px;
    padding-left: 20px;
  }
  
  .cmms-demo-info li {
    margin-bottom: 10px;
    font-size: 1.8rem;
  }
  
  .cmms-demo-info p {
    font-size: 1.4rem;
  }
  
  .cmms-demo-form {
    flex: 1 1 500px;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
  }
  
  .cmms-demo-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
  }
  
  .cmms-demo-form input,
  .cmms-demo-form select,
  .cmms-demo-form textarea {
    flex: 1 1 200px;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1.6rem;
  }
  
  .cmms-demo-form textarea {
    width: 100%;
    height: 100px;
    resize: vertical;
  }
  
  .cmms-demo-form button {
    background-color: #1a3e72;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 6px;
    font-size: 1.4rem;
    cursor: pointer;
    transition: background 0.3s ease;
  }
  
  .cmms-demo-form button:hover {
    background-color: #2c5ba8;
  }
  
  @media (max-width: 768px) {
    .cmms-demo-container {
      flex-direction: column;
    }
  
    .cmms-demo-row {
      flex-direction: column;
    }
  }
  
  /* cmms-demo-popup.css */
  .cmms-demo-btn {
    padding: 10px 20px;
    background-color: #1a3e72;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    z-index: 1;
  }
  
  .cmms-demo-popup,
  .cmms-demo-thankyou {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.075);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    overflow: auto;
    padding: 20px;
  }
  
  
  body.cmms-demo-lock {
    overflow: hidden;
    height: 100vh;
  }
  
  .cmms-demo-popup-content {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    width: 100%;
    max-width: 750px;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.4);
    position: relative;
    animation: popupFade 0.3s ease-in-out;
    z-index: 10000;
    max-height: 90vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  @keyframes popupFade {
    from {
      transform: scale(0.9);
      opacity: 0;
    }
  
    to {
      transform: scale(1);
      opacity: 1;
    }
  }
  
  .cmms-demo-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
    color: #555;
    font-weight: bold;
    background: none;
    border: none;
  }
  
  .cmms-demo-title {
    font-size: 26px;
    margin-bottom: 30px;
    color: #1a3e72;
    text-align: center;
    font-weight: bold;
  }
  
  .cmms-demo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
    position: relative;
  }
  
  .cmms-demo-grid textarea,
  .cmms-demo-submit,
  .text-contact{
    grid-column: 1 / -1;
  }
  .text-contact {
    padding-top: 8px;
    font-size: 14px;
    margin-bottom: -15px;
    color: #2c2c40;
  }
  .cmms-demo-grid input,
  .cmms-demo-grid select,
  .cmms-demo-grid textarea {
    padding: 12px;
    font-size: 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    width: 100%;
  }
  
  .cmms-demo-grid textarea {
    resize: vertical;
    height: 100px;
  }
  
  .cmms-demo-submit {
    background-color: #1a3e72;
    color: white;
    padding: 14px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
    margin-top: 10px;
  }
  
  .cmms-demo-submit:hover {
    background-color: #274d9a;
  }
  
  .choices__list--dropdown {
    max-height: 200px !important;
  
    z-index: 10001 !important;
    position: absolute;
    top: 100%;
    overscroll-behavior: none !important;
    -webkit-overflow-scrolling: auto !important;
  }
  
  #cmms-demo-other-country {
    position: sticky;
    top: 0;
    background: #fff;
    padding-top: 5px;
    z-index: 100;
  }
  
  @media (max-width: 768px) {
    .cmms-demo-popup-content {
      padding: 25px;
    }
  
    .cmms-demo-title {
      font-size: 22px;
    }
  
    .cmms-demo-grid {
      grid-template-columns: 1fr;
    }
  }
  
  
  .thank-you-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    justify-content: center;
    align-items: center;
  }
  
  .thank-you-popup-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    max-width: 800px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.3);
  }
  
  .thank-you-title {
    font-size: 24px;
    margin-bottom: 10px;
  }
  
  .thank-you-message {
    font-size: 16px;
    margin-bottom: 20px;
  }
  
  .thank-you-button {
    padding: 10px 20px;
    font-size: 16px;
    background-color: #0077cc;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
  }
  
  
  
  .integration-section {
    background: #0e0e1f;
    color: white;
    padding: 60px 20px;
    font-family: 'Segoe UI', sans-serif;
  }
  
  .integration-container {
    max-width: 1200px;
    margin: auto;
    text-align: center;
  }
  
  .integration-heading {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 10px;
  }
  
  .integration-subheading {
    font-size: 1rem;
    color: #ccc;
    margin-bottom: 40px;
  }
  
  .integration-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }
  
  .integration-box {
    background: #1c1c2e;
    border-radius: 14px;
    padding: 20px;
    width: 200px;
    transition: transform 0.3s ease;
  }
  
  .integration-box:hover {
    transform: translateY(-8px);
    background: #2c2c40;
  }
  
  .integration-box img {
    height: 40px;
    margin-bottom: 10px;
  }
  
  .integration-box h4 {
    margin: 0;
    font-size: 1.1rem;
    color: #fff;
  }
  
  .integration-box p {
    font-size: 0.9rem;
    color: #bbb;
  }
  
  .integration-buttons {
    margin-top: 40px;
  }
  
  .integration-btn-main {
    background: #ff7a59;
    color: white;
    padding: 12px 30px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    margin-right: 20px;
    transition: background 0.3s;
  }
  
  .integration-btn-main:hover {
    background: #e66040;
  }
  
  .integration-link {
    color: #ccc;
    text-decoration: none;
    font-size: 2.8rem;
  }
  
  .integration-link:hover {
    text-decoration: underline;
  }
  
  .demo-button-container {
    display: flex;
    justify-content: flex-end;
    margin-top: -60px;
  }
  
  .demo-button {
    padding: 10px 25px;
    border: 2px solid #ffffff;
    color: #ffffff;
    background-color:  #d35400;
    text-decoration: none;
    font-weight: 500;
    border-radius: 6px;
    font-size: 1.8rem;
    transition: all 0.3s ease;
    font-family: 'Segoe UI', sans-serif;
  }
  
  .demo-button:hover {
    background-color: white;
    /* Orange background on hover */
    color: #d35400;
    /* White text on hover */
  }
  
  @keyframes intenseShakeAndGlow {
    0%   { transform: translateX(0);   box-shadow: 0 0 0 transparent; }
    10%  { transform: translateX(-6px); box-shadow: 0 0 10px rgba(211, 84, 0, 0.6); }
    40%  { transform: translateX(6px);  box-shadow: 0 0 15px rgba(211, 84, 0, 0.8); }
    60%  { transform: translateX(-6px); box-shadow: 0 0 12px rgba(211, 84, 0, 0.7); }
    80%  { transform: translateX(6px);  box-shadow: 0 0 18px rgba(211, 84, 0, 0.9); }
   
    100% { transform: translateX(0);   box-shadow: 0 0 0 transparent; }
  }
  
  .demo-button.highlight {
    animation: intenseShakeAndGlow 0.89s ease-in-out 20; /* 0.2s * 20 = 4 seconds */
  }
  
  @media (max-width: 768px) {
    .demo-button-container {
      display: flex;
      justify-content: flex-end;
      margin-top: -10px;
    }
  
    .demo-button {
      padding: 10px 10px;
      border: 1px solid #d35400;
      color: #d35400;
      background-color: transparent;
      text-decoration: none;
      font-weight: 500;
      border-radius: 2px;
      font-size: 1.4rem;
      transition: all 0.3s ease;
      font-family: 'Segoe UI', sans-serif;
    }
  }