.readmoremodal .readmore-img {
  height: 260px;
  width: 260px;
  object-fit: fill;
  padding: 1px;
  border: 3px dashed #ed8111;
  border-radius: 50%;
}
@media (min-width: 992px) and (max-width: 1150px) { 
  .readmoremodal .readmore-img{
    height: 200px;
    width: 200px;
  }
 }
 @media only screen and (max-width: 991px) {
  .readmoremodal .readmore-img{
    height: 250px;
    width: 250px;
  }
 }
.readmoremodal {
  max-height: 400px;
  overflow-y: scroll;
  overflow-x: hidden;
}

.readmoremodal .cancel-btn,
.readmoremodal .cancel-btn:focus {
  background-color: #263238;
  color: #fff;
  padding: 0.4rem 2rem;
  border-radius: 10px;
  margin: 0.25rem 0.25rem 0.25rem 0.75rem;
}

.readmoremodal .img-section {
  text-align: center;
}

.gallery-casestudy-row .popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.popup {
  display: none;
  position: relative;
  width: 60%;
  background-color: #fff;
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}
@media only screen and (max-width: 768px) {
  .popup {
    width: 100%;
  }
}

.popup.active {
  display: block;
}

.close-btn {
  position: absolute;
  top: 0;
  right: 10px;
  font-size: 24px;
  color: #999;
  cursor: pointer;
  background: none;
  border: none;
}

.modal-body::-webkit-scrollbar {
  height: 2px;
  width: 4px;
}

.popup-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

.nav-btn {
  padding: 8px 16px;
  background-color: #ed8111;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.nav-btn:hover {
  background-color: #ed8111;
}

.nav-btn:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}
.readmoremodal h2 {
  color: #000;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 1rem;
}
/* Tabs */
.tabs{
  display: flex;
  overflow: auto;
  justify-content: center;
}
.tabs-wrapper ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 8px 5px;
  background: #601F79;
  border-radius: 10px;
}
.tabs-wrapper ul li a{
  border-radius: 10px;
  cursor: pointer;
  padding: 5px 20px;
  margin-right: 10px;
}
.tabs-wrapper ul li:last-child {
  margin-right: 0;
}
.tabs-wrapper .nav-item a:hover,
.tabs-wrapper .nav-item a.active {
  background-color: #fff;
}
.tabs-wrapper .nav-item a {
  text-decoration: none;
  color: #fff;
  text-transform: uppercase;
  font-weight: 500;
}
.tabs-wrapper .nav-item a:hover,
.tabs-wrapper .nav-item a.active {
  color: #601F79;
}
.tabs-wrapper .nav-item a.active {
  font-weight: 700;
}
.tab-content {
  padding: 20px 15px 0 15px;
  border: 1px solid #CFCFCF;
  border-radius: 10px;
  margin-top: 30px;
}
.tab-content h4{
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.tab-content a{
  text-decoration: none;
}
.gallery-casestudy {
  border: 1px solid #C8C3C3;
  border-radius: 10px;
  background: #F9F9F9;
  padding: 10px;
  overflow: hidden;
}
.title-caption {
  font-size: 14px;
  text-align: center;
  color: #000;
  font-weight: 600;
  margin-bottom: 1rem;
} 
.gallery-casestudy-thumnail-img {
  width: 100%;
  transition: all 0.2s linear;
  margin-bottom: 1rem;
  height: auto;
  border-radius: 10px;
}
.gallery-casestudy-thumnail-img:hover {
  transform: scale(1.1);
}
.gallery-casestudy-row {
  display: flex;
  flex-wrap: wrap; 
}

.gallery-casestudy-row>*{
  margin-bottom: 30px;
  display: flex;
}
.gallery-casestudy {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.btn-read-more{
  background: #601F79;
  text-decoration: none;
  padding: 5px 10px;
  border-radius: 5px;
  display: inline-block;
  margin-left: auto;
}
.btn-more{
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}