/** 
 *------------------------------------------------------------------------------
 * articles
 *------------------------------------------------------------------------------
**/

    html { scroll-behavior: smooth; }
    .fade-in {
      opacity: 0;
      transform: translateY(20px);
      transition: opacity 1s ease-out, transform 1s ease-out;
    }
    .fade-in.show {
      opacity: 1;
      transform: none;
    }
    .fade-out {
      animation: fadeOut 1s ease forwards;
    }
    @keyframes fadeOut {
      to { opacity: 0; visibility: hidden; }
    }






/** 
 *------------------------------------------------------------------------------
 * modal CTA  [modal of CRM form]
 *------------------------------------------------------------------------------
**/
.modal-backdrop {
  z-index: 1040 !important;
}
.modal {
  z-index: 1050 !important;
  display: block;
}
.modal-dialog {
  z-index: 1060 !important;
}

.modal-backdrop {
  display: none !important; /* hides the dark background */
}

  @media (min-width: 768px) {
    .modal-dialog.custom-modal-width {
      max-width: 95vw; /* or any width you prefer */
      width: 95vw;
    }
  }

  
/** 
 *------------------------------------------------------------------------------
 * menu bar items  [increases height of area]
 *------------------------------------------------------------------------------
**/

.topbar-wrap {
  height: 70px; /* or your preferred height */
  padding-top: 10px;
  padding-bottom: 10px;
}

@media only screen 
  and (max-device-width: 667px) { 
.topbar-l {
    text-align: center;
    width: 100%;
}
}


/** 
 *------------------------------------------------------------------------------
 * menu bar items  [controls topbar-l size on small screens]
 *------------------------------------------------------------------------------
**/
@media (max-width: 768px) {
  .topbar-l {
    padding-top: 1rem;
    padding-bottom: 1rem;
    font-size: 1.875rem;
    text-align: center; /* This will center the text content */
  }

  .topbar-l .some-inner-class { /* Optional: increase logo or other inner content */
    font-size: 2.4rem;
  }
}



/** 
 *------------------------------------------------------------------------------
 * hero-2 slideshow potion  [increases height of area]
 *------------------------------------------------------------------------------
**/
.acm-hero.style-2 .hero-content {
padding: 11rem 2rem;
max-width: 760px;
}

/** 
 *------------------------------------------------------------------------------
 * header  [controls header width and functions]
 *------------------------------------------------------------------------------
**/




/** 
 *------------------------------------------------------------------------------
 * menu bar items  [increases height of area]
 *------------------------------------------------------------------------------
**/
#t4-header {
	min-height: 100px;
}

.logo-img {
	max-width: 180px;
}

.t4-navbar.mx-auto.mb-3 {
margin-bottom: 0 !important;
}

/** 
 *------------------------------------------------------------------------------
 * section-2 modules [creates full-wdith]
 *------------------------------------------------------------------------------
**/

#Mod121 .acm-features.style-2 .container {
  max-width: 1920px;
}

#Mod212 .acm-features.style-3 .container {
  max-width: 75%;
}

/** 
 *------------------------------------------------------------------------------
 * homepage  [What We Are Good At module]
 *------------------------------------------------------------------------------
**/
/* Remove bottom border line from nav-tabs */
.custom-tabs {
  border-bottom: none !important;
}

/* Style nav-link buttons like icon-boxes */
.custom-tabs .nav-link {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  padding: 30px 20px;
  font-weight: 600;
  color: #333;
  min-width: 200px;
  min-height: 200px;
  text-align: center;
  transition: all 0.3s ease;
  width: 100%;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hover and active states */
.custom-tabs .nav-link:hover {
  background-color: #f9f9f9;
  border-color: #bbb;
}

.custom-tabs .nav-link.active {
  background-color: #f0f0f0;
  border-color: #999;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
}

/* Responsive behavior */
@media (min-width: 768px) {
  .custom-tabs .nav-item {
    flex: 0 0 auto;
    width: auto;
  }
}

@media (max-width: 767.98px) {
  .custom-tabs {
    flex-direction: column !important;
    align-items: center;
  }

  .custom-tabs .nav-item {
    width: 100%;
    max-width: 340px;
  }

  .custom-tabs .nav-link {
    width: 100%;
  }
}
    .tab-content .icon-box {
      transition: transform 0.3s ease;
      text-align: center;
      padding: 30px;
      border: 1px solid #f0f0f0;
    }

    .tab-content .icon-box:hover {
      transform: translateY(-5px);
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    }

    .icon-box i {
      font-size: 2rem;
      color: #a078f9;
    }

    .icon-box h5 {
      margin-top: 15px;
      font-weight: 600;
    }

  .icon-box {
    height: 100%;
    padding: 2rem 1rem;
    text-align: center;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .row.equal-height > div {
    display: flex;
  }

  .row.equal-height > div > .icon-box {
    width: 100%;
  }



/** 
 *------------------------------------------------------------------------------
 * demo page with video's  [grid layout & component width adjustment]
 *------------------------------------------------------------------------------
**/
/* Adjust the selector to match your container's class or ID */
.container {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

.grid-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) {
  .grid-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

.grid-item {
  background-color: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.grid-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 20px rgba(0,0,0,0.1);
}

.has-brand-color-color {
  color: #0073e6;
}

.button {
  display: inline-block;
  margin-top: 16px;
  padding: 10px 16px;
  background-color: #0073e6;
  color: #fff;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  cursor: pointer;
}

.button:hover {
  background-color: #005bb5;
  transform: scale(1.05);
}

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

.modal-content {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  max-width: 700px;
  width: 90%;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
  position: relative;
  animation: fadeIn 0.3s ease;
}

.close-modal {
  position: absolute;
  top: 10px;
  right: 14px;
  font-size: 20px;
  cursor: pointer;
  color: #888;
}

.close-modal:hover {
  color: #000;
}

.modal-media {
  margin-bottom: 20px;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

iframe {
  width: 100%;
  height: 315px;
  border: none;
  border-radius: 8px;
}

@keyframes fadeIn {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

