@import url('https://fonts.cdnfonts.com/css/satoshi');

/* RESET CSS */
*{
  margin: 0; 
  padding: 0;
  font-family: 'Satoshi', sans-serif;
  -moz-osx-font-smoothing: grayscale;
  word-break: break-word;
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
  scroll-behavior: smooth;
  /* max-width: 1300px; */
  justify-content: center;
  /* display: flex; */
 
}


  /* header nav */
nav {
  position: fixed;
  top: 0;
  z-index: 999;
  width: 100%;
  background: #fff;
}

  nav .wrapper {
      position: relative;
      max-width: 1300px;
      padding: 0px 30px;
      height: 70px;
      line-height: 70px;
      margin: auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
  }

.wrapper .logo a {
  color: #f2f2f2;
  font-size: 30px;
  font-weight: 600;
  text-decoration: none;
}

.optimogov-nav-logo {
  height: 63px;
}

.wrapper .nav-links {
  display: inline-flex;
}

.nav-links li {
  list-style: none;
}

  .nav-links li a {
      color: #3f3f5c;
      text-decoration: none;
      font-size: 16px;
      font-weight: 500;
      padding: 9px 15px;
      border-radius: 5px;
      transition: all 0.3s ease;
  }

      .nav-links li a:hover {
          background: #368DD3;
          color: #fff;
      }

.nav-links .mobile-item {
  display: none;
}

.nav-links .drop-menu {
  position: absolute;
  background: #fff;
  width: 180px;
  line-height: 45px;
  top: 85px;
  opacity: 0;
  visibility: hidden;
  box-shadow: 0 6px 10px rgba(0,0,0,0.15);
}

.nav-links li:hover .drop-menu,
.nav-links li:hover .mega-box {
  transition: all 0.3s ease;
  top: 70px;
  opacity: 1;
  visibility: visible;
}

.drop-menu li a {
  width: 100%;
  display: block;
  padding: 0 0 0 15px;
  font-weight: 400;
  border-radius: 0px;
}

.mega-box {
  position: absolute;
  left: 25rem;
  width: 75%;
  padding: 0 30px;
  top: 50px;
  opacity: 0;
  visibility: hidden;
}

  .mega-box .content {
      background: #fff;
      padding: 25px 20px;
      margin-top: -15px;
      display: flex;
      width: 100%;
      justify-content: space-between;
      box-shadow: 0 6px 10px rgba(0,0,0,0.15);
  }

      .mega-box .content .row {
          /* width: calc(50% - 30px); */
          width: 50%;
          /* line-height: 45px; */
          line-height: 30px;
      }

.content .row img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content .row header {
  color: #368DD3;
  font-size: 20px;
  font-weight: 500;
}

.content .row .mega-links {
  margin-left: -40px;
  border-left: 1px solid rgba(255,255,255,0.09);
}

.row .mega-links li {
  padding: 0 20px;
}

  .row .mega-links li a {
      padding: 0px;
      /* background-image: url(../wwwroot/assets/img/arrow.svg); */
      padding: 0 20px;
      color: #3f3f5c;
      font-size: 14px;
      display: block;
  }

      .row .mega-links li a:hover {
          color: #f2f2f2;
      }

.wrapper .btn {
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  display: none;
}

  .wrapper .btn.close-btn {
      position: absolute;
      right: 30px;
      top: 10px;
  }

@media screen and (max-width: 991px) {
  .wrapper .btn {
      display: block;
  }

  .wrapper .nav-links {
      position: fixed;
      height: 100vh;
      width: 100%;
      max-width: 100%;
      top: 0;
      left: -100%;
      background: #fff;
      display: block;
      padding: 50px 10px;
      line-height: 50px;
      overflow-y: auto;
      box-shadow: 0px 15px 15px rgba(0,0,0,0.18);
      transition: all 0.3s ease;
  }
  /* custom scroll bar */
  ::-webkit-scrollbar {
      width: 10px;
  }

  ::-webkit-scrollbar-track {
      background: #242526;
  }

  ::-webkit-scrollbar-thumb {
      background: #3A3B3C;
  }

  #menu-btn:checked ~ .nav-links {
      left: 0%;
  }

  #menu-btn:checked ~ .btn.menu-btn {
      display: none;
  }

  #close-btn:checked ~ .btn.menu-btn {
      display: block;
  }

  .nav-links li {
      margin: 15px 10px;
  }

      .nav-links li a {
          padding: 0 20px;
          display: block;
          font-size: 20px;
      }

  .nav-links .drop-menu {
      position: static;
      opacity: 1;
      top: 65px;
      visibility: visible;
      padding-left: 20px;
      width: 100%;
      max-height: 0px;
      overflow: hidden;
      box-shadow: none;
      transition: all 0.3s ease;
  }

  #showDrop:checked ~ .drop-menu,
  #showMega:checked ~ .mega-box {
      max-height: 100%;
      width: 100%;
  }

  .nav-links .desktop-item {
      display: none;
  }

  .nav-links .mobile-item {
      display: block;
      color: #3f3f5c;
      font-size: 20px;
      font-weight: 500;
      padding-left: 20px;
      cursor: pointer;
      border-radius: 5px;
      transition: all 0.3s ease;
  }

      .nav-links .mobile-item:hover {
          background: #368DD3;
      }

  .drop-menu li {
      margin: 0;
  }

      .drop-menu li a {
          border-radius: 5px;
          font-size: 18px;
      }

  .mega-box {
      position: static;
      top: 65px;
      opacity: 1;
      visibility: visible;
      padding: 0 20px 0 0;
      max-height: 0px;
      overflow: hidden;
      transition: all 0.3s ease;
  }

      .mega-box .content {
          box-shadow: none;
          flex-direction: column;
          padding: 20px 20px 0 20px;
      }

          .mega-box .content .row {
              width: 100%;
              margin-bottom: 15px;
              border-top: 1px solid rgba(255,255,255,0.08);
          }

              .mega-box .content .row:nth-child(1),
              .mega-box .content .row:nth-child(2) {
                  border-top: 0px;
              }

  .content .row .mega-links {
      border-left: 0px;
      padding-left: 15px;
  }

  .row .mega-links li {
      margin: 0;
  }

  .content .row header {
      font-size: 19px;
  }
}

nav input {
  display: none;
}

.fa-solid, .fas {
  font-weight: 900;
  color: black;
  font-size: 26px;
}

.img-fluid-custom {
  height: 3rem;
  display: grid;
  align-items: center;
}


    /* Footer Section */
    .optimogov-footer-section {
      background-color: #0B2039;
      color: #FFFFFF;
      padding: 40px 20px;
  }

  .optimogov-footer-container {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 20px;
      max-width: 1200px;
      margin: 0 auto;
  }

  .optimogov-footer-logo img {
      max-width: 150px;
  }

  .optimogov-footer-logo p {
      margin-top: 10px;
      font-size: 14px;
      line-height: 1.6;
      text-align: left;
  }

  .optimogov-footer-products h4,
  .optimogov-footer-head-office h4,
  .optimogov-footer-branch-office h4,
  .optimogov-footer-links h4 {
      margin-bottom: 10px;
      font-size: 18px;
  }

  .optimogov-footer-products ul {
      list-style: none;
      padding: 0;
  }

      .optimogov-footer-products ul li {
          margin-bottom: 5px;
      }

  .optimogov-footer-links a {
      text-decoration: none;
      color: #FFFFFF;
  }

  .optimogov-footer-social a {
      color: #FFFFFF;
      font-size: 20px;
      margin-right: 10px;
      display: inline-block;
  }

      .optimogov-footer-social a:hover {
          color: #FDD800;
      }

  .optimogov-footer-head-office p,
  .optimogov-footer-branch-office p {
      margin-bottom: 12px;
      font-size: 14px;
      text-align: left;
  }

  @media only screen and (max-width: 768px) {
      .optimogov-footer-container {
          grid-template-columns: 1fr;
          text-align: center;
      }

      .optimogov-footer-head-office p,
      .optimogov-footer-branch-office p {
          text-align: center;
      }

      .optimogov-footer-logo img {
          margin: 0 auto;
      }

      .optimogov-footer-social {
          margin-top: 20px;
      }
  }


  
  .munilogic-rd-header {
    background: linear-gradient(to right, #f0f0f0, #dff0ff);
    padding: 20px;
  }
  
  .munilogic-rd-header-banner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 6.5rem 5rem 2rem 5rem;
  }
  
  .munilogic-rd-banner-content {
    flex: 1;
    padding: 20px;
    max-width: 750px;
    font-weight: 500;
  }

  .munilogic-rd-banner-content span {
    color: #178BE9;
    font-size: 1em;
    font-weight: bold;    
  }
  
  .munilogic-rd-banner-image img {
    max-width: 100%;
  }
  
  .munilogic-rd-tabs {
    display: flex;
    justify-content: right;
    background-color: #f9f9f9;
    padding: 10px 0;
  }
  
  .munilogic-rd-tab {
    margin: 0 10px;
    padding: 10px 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-weight: bold;
  }
  
  .munilogic-rd-tab.active {
    border-bottom: 3px solid #fdd017;
    color: #fdd017;
  }
  
  .munilogic-rd-content {
    padding: 20px;
  }
  
  .munilogic-rd-tab-content {
    display: none;
  }
  
  .munilogic-rd-tab-content.active {
    display: block;
  }
  
  .munilogic-rd-card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
  }
  
  .munilogic-rd-card {
    background: #fff;
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.15);
    padding: 20px;
    flex: 1 1 calc(33.333% - 20px);
    max-width: calc(33.333% - 20px);
    box-sizing: border-box;
    border-radius: 10px;
  }

  .munilogic-rd-card-image img {
    max-width: 100%;
  }

  .munilogic-rd-card-link:hover {
    background-color: #178BE9;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
    color: #fff;
  }

  .munilogic-rd-card-link {
    display: block;
    background-color: #fdd017;
    color: #000000;
    font-weight: 500;
    padding: 15px 30px;
    font-size: 16px;
    /* border-radius: 8px; */
    text-decoration: none;
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    width: 100%;
    text-align: center;
  }

  .munilogic-rd-banner-content h2:hover {
    background-color: #fcc307;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
  }

  .munilogic-rd-banner-content h2 {
      background-color: #178BE9;
      color: #fff;
      padding: 15px 30px;
      font-size: 24px;
      border-radius: 8px;
      text-decoration: none;
      box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.15);
      transition: all 0.3s ease;
      max-width: 12rem;
      text-align: center;
      position: absolute;
      top: 125px;
  }

  .munilogic-rd-card h3, .munilogic-rd-card p{
    margin-top: 1rem;
    margin-bottom: 1.5rem;
  }

  .munilogic-rd-card p{    
    font-weight: 300;
  }
  
  @media (max-width: 991px) {
    .munilogic-rd-banner-content h2{
      position: unset;
      margin-bottom: 1.5rem;
      font-size: 18px
    }
    
  }
  
  @media (max-width: 768px) {
    .munilogic-rd-card {
      flex: 1 1 calc(50% - 20px);
      max-width: calc(50% - 20px);
    }
  }
  
  @media (max-width: 480px) {
    .munilogic-rd-card {
      flex: 1 1 100%;
      max-width: 100%;
    }
  }
  

  /* The form popup */
.munilogic-rd-form-popup {
  display: none;
  position: fixed;
  z-index: 9;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.5);
}

.munilogic-rd-form-container {
  background-color: white;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 30%;
}

.munilogic-rd-form-btn {
  background-color: blue;
  color: white;
  padding: 10px;
  margin: 10px 0;
  border: none;
  cursor: pointer;
}

.munilogic-rd-form-btn.cancel {
  background-color: red;
}


/* Popup form styles */

.hidden {
  display: none;
}

.popup-form {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  display: flex;
  justify-content: center;
  align-items: center;
}

.popup-content {
  background-color: white;
  padding: 30px;
  border-radius: 5px;
  position: relative;
}

.close-button {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 24px;
  cursor: pointer;
}
