* {
  /* margin: 0; */
  padding: 0;
  box-sizing: border-box;
}

.swiper {
  padding-bottom: 60px;
}

.slide-content {
  background: linear-gradient(135deg,rgb(28,77,134) 0%,rgb(0, 0, 0) 100%);
  border-radius: 20px;
  padding: 50px;
  display: flex;
  align-items: center;
  gap: 50px;
  justify-content: space-around;
  transition: all 0.6s ease;
}

.slide-left img {
  width: 380px;
  transition: transform 0.6s ease;
}

.portfolioSwiper .swiper-slide {
background: none;
border: none;
padding: 40px;
}

.swiper-slide-active .slide-left img {
  transform: scale(1.05);
}

.portfolioSwiper .swiper-slide-active{
box-shadow: none;
}

.slide-right h3 {
  font-size: 28px;
  margin-bottom: 20px;
    color: #fff;
}

.slide-right p {
  color: #b8c6d9;
  margin-bottom: 30px;
  max-width: 550px;
}

.stats {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.stat-box {
  border: 1px solid rgba(255,255,255,0.2);
  padding: 20px;
  border-radius: 12px;
  min-width: 150px;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: all 0.4s ease;
}

.stat-box:hover {
  background: rgba(139, 217, 60, 0.1);
  border-color: #8bd93c;
}

.stat-box h4 {
  font-size: 22px;
  margin-bottom: 8px;
  margin-top: 8px;
  color: #fff;
}

.stat-box span {
  font-size: 14px;
  color: #9fb3c8;
}

.btn-primary {
  background: transparent;
  border: 2px solid #8bd93c;
  padding: 12px 28px;
  border-radius: 30px;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-right: 10px;
}

.btn-primary:hover {
  background: #8bd93c;
  color: #000;
}

/* Navigation */
.swiper-button-prev,
.swiper-button-next {
  color: #8bd93c;
}

.swiper-pagination-bullet {
  background: #fff;
  opacity: 0.4;
}

.swiper-pagination-bullet-active {
  background: #8bd93c;
  opacity: 1;
}
/* Header row layout */
.header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 50px;
}

/* Navigation wrapper */
.custom-nav {
  display: flex;
  gap: 12px;
}

/* Remove default Swiper styles */
.portfolio-home .swiper-button-prev{
  left: 50px;
}

.portfolio-home .swiper-button-next{
  right: 50px;
}

.swiper-button-prev,
.swiper-button-next {
  position: relative;
  width: 45px;
  height: 45px;
  background: #A8CF45;
  border-radius: 50%;
  margin: 0;
  top: 0;
  right: 0;
  left: 0;
  color: #0a1a2b;
  transition: all 0.3s ease;
  padding: 22px;
}

/* Remove default arrow size */
.portfolio-home .swiper-button-prev::after,
.portfolio-home .swiper-button-next::after {
  font-size: 16px;
  font-weight: bold;
  color: #000;
}

/* Hover effect */
.swiper-button-prev:hover,
.swiper-button-next:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(168, 207, 69, 0.4);
}

/* Remove absolute positioning from swiper defaults */
.portfolioSwiper .swiper-button-prev,
.portfolioSwiper .swiper-button-next {
  position: static;
}

.portfolio-pagination{
    position: absolute !important;
    left: 50% !important;
    bottom: 50px !important;
    width: auto !important;
}

/* ============================= */
/* RESPONSIVE FIX - DO NOT ALTER DESIGN */
/* ============================= */

/* Tablet */
@media (max-width: 1024px) {

  .slide-content {
    padding: 40px 30px;
    gap: 30px;
  }

  .slide-left img {
    width: 320px;
    max-width: 100%;
  }

  .stats {
    flex-wrap: wrap;
  }

  .stat-box {
    min-width: 130px;
  }
}

/* Mobile */
@media (max-width: 768px) {

  .slide-content {
    flex-direction: column;
    padding: 30px 20px;
    text-align: center;
  }

  .slide-left img {
    width: 260px;
    max-width: 100%;
  }

  .stats {
    justify-content: center;
    flex-wrap: wrap;
  }

  .stat-box {
    min-width: 120px;
    flex: 1 1 45%;
  }

  .btn-primary {
    display: block;
    width: 100%;
    margin-bottom: 10px;
  }

  .portfolio-pagination {
    left: 50% !important;
    transform: translateX(-50%);
  }

  .portfolioSwiper .swiper-slide{
    padding: 0;
  }

  .swiper.portfolioSwiper{
    height: auto;
  }
  .portfolio-pagination {
    position: absolute !important;
    bottom: 30px !important;
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .portfolio-home .swiper-button-prev{
    left: 50px;
    bottom: 10px;
    top: auto;
  }

  .portfolio-home .swiper-button-next{
    right: 50px;
    bottom: 10px;
    top: auto;
  }

  .portfolio-home h2{
    margin-bottom: 2rem;
  }

}

/* Small Mobile */
@media (max-width: 480px) {

  .slide-content {
    padding: 20px 15px;
  }

  .slide-left img {
    width: 220px;
  }

  .slide-right h3 {
    font-size: 20px;
  }

  .slide-right p {
    font-size: 14px;
  }
}