.large-padding {
  padding: 100px 0;
  background-color: #d7e6f0;
}

@media (max-width: 768px) {
  .large-padding {
    padding: 40px 0;
  }
}

/* Swiper Container */
.swiper {
  width: 100%;
  padding: 10px 0 30px;
}

.swiper-wrapper {
  padding-bottom: 20px;
}

/* Project Card Styles */
.project-card {
  border: 1px solid #e5e7eb;
  overflow: hidden;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15) !important;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  padding-inline: 20px;
}

.project-card:hover {
  box-shadow: 2px 12px 24px rgba(50, 50, 51, 0.1);
  transform: translateY(-7px);
}

.card-body {
  padding: 20px 10px;
}

.image-container {
  height: 360px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.scroll-on-hover {
  width: 100%;
  height: auto;
  transition: transform 8s linear;
  display: block;
}

.image-container:hover .scroll-on-hover {
  transform: translateY(calc(-100% + 360px));
}





.project-img-box {
  height: 360px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover; 
  transition: transform 10s linear;
  display: block;
}

.project-img-box:hover .project-img {
  transform: translateY(calc(-100% + 360px));
}

/* Swiper Pagination */
.pagination-web .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: #03218f;
  opacity: 0.5;
}

.pagination-web .swiper-pagination-bullet-active {
  background: #2563eb;
  opacity: 1;
}

/* Modal Styles */
.ReussitesModal {
  padding-top: 15px;
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
}

.ReussitesModal .modal-content {
  width: 80%;
  height: auto;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  border-radius: 10px;
}

.ReussitesModal .modal-content img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.ReussitesModal .close {
  position: fixed;
  right: 50px;
  top: 10px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
  z-index: 1100;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .project-card {
    margin-bottom: 20px;
  }

  .image-container {
    height: 250px;
  }
  
  .image-container:hover .scroll-on-hover {
    transform: translateY(calc(-100% + 250px));
  }
  
  .universal-btn-wrapper {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .universal-btn-wrapper a {
    width: 80%;
    text-align: center;
    margin-bottom: 10px;
  }
}

@media (max-width: 480px) {
  .image-container {
    height: 200px;
  }
  
  .image-container:hover .scroll-on-hover {
    transform: translateY(calc(-100% + 200px));
  }
  
  .ReussitesModal .modal-content {
    max-width: 95%;
  }

  .ReussitesModal .close {
    font-size: 30px;
    right: 15px;
  }
}

/* Button Styles */
.universal-btn-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.crumina-button {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.button--dark {
  background-color: #2d3748;
  color: white;
  border: 2px solid #2d3748;
}

.button--dark:hover {
  background-color: transparent;
  color: #2d3748;
}

.button--primary {
  background-color: #2563eb;
  color: white;
  border: 2px solid #2563eb;
}

.button--primary:hover {
  background-color: #1d4ed8;
  border-color: #1d4ed8;
}

.button--bordered {
  background-color: transparent;
}

.button--l {
  font-size: 1.1rem;
}



.fw-bold{
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  color: #2d2b6d;
}
