/*
=========================================================
Copyright © 2023 Aibond Corp. All Rights Reserved.
=========================================================
*/
/*--------------------------------------------------------------
# Four Pillars Of Aibond Popup
--------------------------------------------------------------*/
.portfolio-details {
  padding-top: 40px;
}
.portfolio-details .portfolio-details-slider img {
  width: 100%;
}
.portfolio-details .portfolio-details-slider .swiper-pagination {
  margin-top: 20px;
  position: relative;
}
.portfolio-details
  .portfolio-details-slider
  .swiper-pagination
  .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #fff;
  opacity: 1;
  border: 1px solid #d9232d;
}
.portfolio-details
  .portfolio-details-slider
  .swiper-pagination
  .swiper-pagination-bullet-active {
  background-color: #d9232d;
}
.portfolio-details .portfolio-info {
  padding: 30px;
  box-shadow: 0px 0 30px rgba(85, 98, 112, 0.08);
}
.portfolio-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}
.portfolio-details .portfolio-info ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}
.portfolio-details .portfolio-info ul li + li {
  margin-top: 10px;
}
.portfolio-details .portfolio-description {
  padding-top: 30px;
}
.portfolio-details .portfolio-description h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
}
.portfolio-details .portfolio-description p {
  padding: 0;
}
/* Full screen dark + blur background */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);   /* dark shade */
  backdrop-filter: blur(5px);      /* blur effect */
  display: none;                  /* hidden by default */
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* Popup box */
.popup-content {
  position: relative;
  background: transparent;
  padding: 0;
  border-radius: 8px;
  max-width: 90vw;
  max-height: 90vh;
  box-sizing: border-box;
  overflow: hidden;
}

/* Image inside popup */
.popup-content img {
  width: auto;
  height: auto;
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  display: block;
  border-radius: 8px;
}

/* Close button */
.popup-content .close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 28px;
  font-weight: bold;
  color: #fff;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  border-radius: 50%;
  padding: 0 8px;
  line-height: 32px;
  z-index: 10;
}

.popup-image-wrapper {
  position: relative;
  width: 100%;
}

.popup-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

/* Button overlay */
.popup-cta-btn {
  position: absolute;
  bottom: 11%;
  left: 50%;
  transform: translateX(-50%);

  background: #0d3b66;
  color: #ffffff;
  padding: 14px 32px;

  font-family: Poppins, sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;

  border-radius: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);

  transition: all 0.25s ease;
}

.popup-cta-btn:hover {
  background: #0b2f52;
  transform: translateX(-50%) scale(1.05);
}

