
/* =======================
   Desktop Styles
   ======================= */
@media (min-width: 992px) {
  .zpcontainer {
    width: 90%;
    max-inline-size: none;
  }
}

h2 {
  line-height: 1;
}

.mag-header {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.main-container {
  height: 100%;
  overflow: hidden;
}

.main-container .zpcontainer-fluid.zpcontainer {
  display: flex;
  width: 100%;
  height: 100vh;
  padding: 0;
}

.main-container .zpcontainer-fluid.zpcontainer .zprow-container:nth-child(2) {
  width: 1px;
  cursor: col-resize;
}

.main-container .zpcontainer-fluid.zpcontainer .zprow-container:not(:nth-child(2)) {
  display: flex;
  align-items: center;
  padding: 100px 50px;
  cursor: pointer;
  transition: flex 0.3s ease;
}

.services-list ul {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  height: 180px;
}

.services-list ul li {
  width: 50%;
}

.box-right-border, .zsbox-right-border {
  border-inline-end: 1px solid #FFF;
}


/* =======================
   Modal Styling
   ======================= */
.modal {
  justify-content: center;
  display: none;
  position: fixed;
  z-index: 300;
  padding-top: 50px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.4);
}

.modal-content {
  display: inline-flex;
  position: relative;
  background-color: #fefefe;
  margin: auto;
  padding: 0;
  border: 1px solid #888;
  width: 60%;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2), 0 6px 20px rgba(0,0,0,0.19);
  animation: animatetop 0.4s;
}

@media screen and (max-width: 767px) {
  .modal-content {
    width: 90%;
    height: 700px;
  }
}

@keyframes animatetop {
  from { top: -300px; opacity: 0; }
  to { top: 0; opacity: 1; }
}

.close {
  color: white;
  position: absolute;
  top: -13px;
  right: -13px;
  font-size: 20px;
  font-weight: bold;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  background: #969494;
  text-align: center;
}

.close:hover,
.close:focus {
  text-decoration: none;
  cursor: pointer;
}

.modal-header,
.modal-footer {
  padding: 2px 16px;
  background-color: #5cb85c;
  color: white;
}

.modal-body {
  padding: 2px 16px;
}


/* =======================
   Mobile Styles
   ======================= */
@media screen and (max-width: 767px) {
  * {
    box-sizing: border-box;
  }

  html, body {
    background-color: transparent !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }

  .main-container,
  .zpcontainer,
  .zpcontainer-fluid,
  .zprow-container {
    background-color: transparent !important;
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
    margin: 0 auto !important;
    padding: 0 !important;
  }

  .main-container {
    height: auto !important;
    overflow: visible !important;
  }

  .main-container .zpcontainer-fluid.zpcontainer {
    flex-direction: column !important;
    height: auto !important;
    padding: 0 !important;
  }

  .main-container .zpcontainer-fluid.zpcontainer .zprow-container {
    width: 100% !important;
    padding: 40px 20px !important;
    flex-direction: column !important;
    text-align: center;
  }

  .main-container .zpcontainer-fluid.zpcontainer .zprow-container:nth-child(2) {
    display: none !important;
  }

  .services-list ul {
    flex-direction: column !important;
    height: auto !important;
  }

  .services-list ul li {
    width: 100% !important;
    margin-bottom: 10px;
  }

  h1, h2, .zs-text, .headline-text {
    word-break: break-word;
    white-space: normal;
    font-size: 28px !important;
    line-height: 1.3 !important;
    text-align: center;
  }

  .zs-button {
    display: block;
    margin: 20px auto;
    text-align: center;
  }

  img, video, iframe, .zs-image, .zs-section {
    max-width: 100% !important;
    height: auto !important;
    display: block;
  }
}@media screen and (max-width: 767px) {
  /* Force show Zoho's hamburger menu */
  .zs-navbar-toggle,
  .zs-hamburger-icon {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: fixed !important;
    top: 20px !important;
    right: 20px !important;
    z-index: 9999 !important;
    width: 40px !important;
    height: 40px !important;
    background-color: transparent !important;
  }

  /* Make sure nothing is hiding the nav container */
  .zs-topnav,
  .zs-header,
  .zs-navbar-collapse {
    display: block !important;
    position: relative !important;
    z-index: 1000 !important;
  }

  /* Reset any overflow-hiding parents */
  .main-container,
  .zpcontainer,
  .zpcontainer-fluid {
    overflow: visible !important;
  }

  /* Optional debug outline */
  .zs-hamburger-icon {
    outline: 2px dashed red !important;
  }
}