/* BUTTON STYLE */
.view-btn {
  background: #0f2340;
  padding: 12px 30px;
  color: white;
  border: none;
  cursor: pointer;
  font-weight: 600;
  letter-spacing: 1px;
}

/* MODAL BACKDROP */
.modal {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 9999;
  padding-top: 150px;

  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal.show {
  display: block;
  opacity: 1;
}

/* ANIMATION */
@keyframes popupFadeZoom {
  0% {
    opacity: 0;
    transform: scale(0.7);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Apply animation when modal appears */
.modal.show .modal-content {
  animation: popupFadeZoom 0.35s ease-out;
}



/* MODAL BOX */
.modal-content {
  background: white;
  width: 80%;
  height: 90%;
  margin: auto;
  padding: 20px;
  border-radius: 4px;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

/* CLOSE BUTTON */
.close {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 28px;
  cursor: pointer;
}

/* TITLE */
.modal-title {
  text-align: center;
  margin-bottom: 20px;
  color: #d37a20;
  font-size: 20px;
}

/* TOP IMAGES */
.top-images {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 20px;
}

.top-images img {
  width: 500px;
}

.top-images.width-300 img {
  width: 300px;
}

.top-images.width-400 img {
  width: 400px;
}

@media only screen and (min-width: 991px) {
  .modal-content {
    width: 900px;
  }
}

@media only screen and (max-width: 992px) {
  .modal-content {
    padding-top: 110px;
  }
}

@media only screen and (max-width: 767px) {
  .top-images img {
    width: 100%;
  }
  .modal-title{
    font-size: 16px;
  }
  .modal-content{
    padding: 10px;
    width: 90%;
  }
}

@media only screen and (max-width: 480px) {
  .modal-content{
    width: 100%;
  }
  .view-btn{
    padding: 7px 12px;
  }
  .services-details__title-1{
    font-size: 30px;
    margin-top: 41px;
    margin-bottom: 40px;
  }
}

/* TABLE STYLING */
.table-wrapper {
  overflow-x: auto;
}

.div-table-content .table>thead{
  background: var(--austry-base);
}
.table-bordered>:not(caption)>*>*{
  padding: 5px;
}
table {
  width: 100%;
  border-collapse: collapse;
}

table th { 
  border: 1px solid; 
  color: #FFFFFF;
  padding: 10px;
  text-align: center;
}
table thead{
  position: sticky;
  top: 0;
  z-index: 10;
}

.table-responsive table td {
  padding: 8px;
  border-bottom: 1px solid #ddd;
  text-align: center;
}

.table>:not(:last-child)>:last-child>*{
  border: 1px solid;
}
table.border-non tbody tr td{
  border: none !important;
}


/*.main-header{
  z-index: 1 !important;
}*/