/* 项目案例页面样式 - 使用特殊类名避免冲突 */

/* 引入AOS动画库CSS */
@import url('https://cdnjs.cloudflare.com/ajax/libs/aos/2.3.4/aos.css');

/* Banner样式 */
.fangan_pg_banner {
    position: relative;
    height: 400px;
    background-image: url('../images/fangan-banner.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.fangan_pg_banner_overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(3, 49, 143, 0.3);
}

.fangan_pg_banner_content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    width: 100%;
}

.cases_pg_title {
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 20px;
    opacity: 0;
    animation: cases_pg_fadeInUp 1s forwards 0.3s;
}

.cases_pg_subtitle {
    font-size: 20px;
    opacity: 0;
    animation: cases_pg_fadeInUp 1s forwards 0.6s;
}

@keyframes cases_pg_fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.solutions-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 1600px;
  margin: 0 auto;
  padding: 20px;
}

.solution-item {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  padding: 15px;
  transition: box-shadow 0.3s ease;
}

.solution-item a{
  text-decoration: none;
}

.solution-item:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.solution-image-wrapper {
  overflow: hidden;
  border-radius: 6px;
  height: 220px;
}

.solution-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.solution-title {
  margin: 15px 0 10px;
  font-size: 18px;
  font-weight: 600;
  padding-left: 0px;
  color: #333;
  padding-bottom: 10px;
  position: relative;
  transition: color 0.3s ease;
}

.solution-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: #e0e0e0;
  transition: width 0.4s ease, background-color 0.4s ease;
}

.solution-title::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #e0e0e0;
}

.solution-description {
  color: #555;
  font-size: 14px;
  line-height: 1.6;
  margin-top: 12px;
  margin-bottom: 15px;
}

.solution-products-title {
  margin: 10px 0;
  font-size: 16px;
  font-weight: 500;
  color: #444;
}

.solution-products-list {
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.solution-products-list li {
  position: relative;
  padding-left: 15px;
  font-size: 14px;
  color: #666;
}

.solution-products-list li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: #666;
}

/* Hover effects */
.solution-item:hover .solution-image {
  transform: scale(1.05);
}

.solution-item:hover .solution-title {
  color: #424480;
}

.solution-item:hover .solution-title::after {
  width: 100%;
  background-color: #424480;
}