.image-iot {
    height: 500px;
    object-fit: contain;
}
/* .services-img {
    top: -100px !important;
} */
/* Spinner nhỏ trong nút */
.button-spinner {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    vertical-align: middle;
    margin-right: 6px;
}
#sensor,
#energy,
#custom {
    scroll-margin-top: 160px;
}
.bg-lightblue:disabled {
    background-color: #0d74ce;
    opacity: 0.7;
}
.max-w-800 {
    max-width: 890px !important;
}

.text-2lg p {
    font-size: 20px !important;
}

.form-check-label {
    cursor: pointer;
}
.checbox-contact {
    width: 18px !important;
    height: 18px !important;
    border: 1px solid rgb(28, 32, 36) !important;
}
.section-content-blog p img {
    width: 100% !important;
    height: 100% !important;
}
.slick-prev {
    left: 35 !important;
}
.custom-content-service p img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
}
.custom-corp-logo-slide {
    animation: slideLeft 50s linear infinite;
    width: max-content;
}

.custom-corp-logo-slide img {
    width: 100px;
    height: 100px;
    object-fit: contain;
}
.custom-text-2lg p {
    font-size: 20px !important;
}
.section-contact {
    padding-bottom: 112px !important;
}
.height-banner {
    height: 100vh;
}
.content-header {
    padding-top: 112px;
}
.header-blog {
    margin-top: 70px;
}
#industry .slick-dots {
    bottom: -55px;
}
.authors {
    padding-top: 6rem !important;
    padding-bottom: 3rem !important;
}
/* Keyframes quay */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
@media only screen and (max-width: 1024px) {
    .height-banner {
        height: 55vh !important;
    }
}
@media only screen and (max-width: 768px) {
    .custom-text-2lg p {
        font-size: 16px !important;
    }
    .section-contact {
        padding-bottom: 75px !important;
    }
    .content-contact {
        padding-top: 120px;
    }
    .content-header {
        padding-top: 75px;
    }
    .height-banner {
        height: 55vh !important;
    }
    .header-blog {
        margin-top: 45px;
    }
}
@media screen and (max-width: 390px) {
    .h-full-screen {
        height: calc(100vh - 250px) !important;
    }
}


/* Ad Banner Modal */
.ad-banner-modal .modal-dialog {
    max-width: 100%;
    margin: 0;
  }
  
  .ad-banner-modal .modal-content {
    border: none;
    border-radius: 0;
    background: transparent;
    height: 100vh;
  }
  
  .ad-banner-content {
    background: transparent !important;
    border: none !important;
    height: 100%;
  }
  
  .ad-banner-modal .modal-body {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
  }
  
  .ad-banner-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    position: relative;
    width: 100%;
    height: 100%;
  }
  
  .ad-banner-close {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.9;
    transition: opacity 0.3s ease;
    border: none;
    background-image: none;
    padding: 0.5rem;
    flex-shrink: 0;
  }
  
  .ad-banner-close::before {
    display: none;
  }
  
  .ad-banner-close i {
    font-size: 18px;
    color: #000;
  }
  
  .ad-banner-close:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 1);
  }
  
  .ad-banner-link {
    display: inline-block;
    cursor: pointer;
    position: relative;
  }
  
  .ad-banner-link img {
    display: block;
    width: 85%;
    max-width: 85vw;
    max-height: 85vh;
    height: auto;
    object-fit: contain;
  }
  
/* Responsive styles for ad banner modal */
@media (min-width: 769px) {
    .ad-banner-wrapper {
      flex-direction: row;
      align-items: flex-start;
      justify-content: center;
      padding-top: calc((100vh - 85vh) / 2);
    }
  
    .ad-banner-link {
      flex-shrink: 0;
      position: relative;
    }
  
    .ad-banner-close {
      position: absolute;
      top: 0;
      right: -55px;
      margin-left: 15px;
      margin-top: 0;
    }
  }
  
  @media (max-width: 768px) {
    .ad-banner-wrapper {
      flex-direction: column;
      align-items: center;
    }
  
    .ad-banner-link {
      position: relative;
    }
  
    .ad-banner-close {
      position: absolute;
      top: 5px;
      right: 5px;
      width: 14px;
      height: 14px;
      z-index: 20;
      padding: 0.5rem;
    }
  
    .ad-banner-close i {
      font-size: 16px;
    }
  }
  @media (max-width: 767.98px) {
    .step-number {
      transform: translateY(-4px);
    }
  }

body.modal-open {
    overflow: auto !important;
    padding-right: 0 !important;
}
  