/* Case Study Details Page Styles */
.case-study-details {
  background-color: #fff;
}

.case-study-main-content {
  padding-right: 30px;
}

.case-study-main-content h2 {
  color: #113adc;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
  border-bottom: 3px solid #113adc;
  padding-bottom: 10px;
}

.case-study-main-content h4 {
  color: #333;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
}

.case-study-main-content p {
  color: #555;
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.custom-list {
  list-style: none;
  padding-left: 0;
}

.custom-list li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 12px;
  color: #555;
  line-height: 1.6;
}

.custom-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #113adc;
  font-weight: bold;
  font-size: 16px;
}

/* Solution Features */
.solution-features {
  display: grid;
  gap: 25px;
  margin-top: 20px;
}

.feature-item {
  background: #f8f9fa;
  padding: 25px;
  border-radius: 10px;
  border-left: 4px solid #113adc;
  transition: all 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(17, 58, 220, 0.1);
}

.feature-item h4 {
  color: #113adc;
  margin-bottom: 10px;
  font-size: 18px;
}

.feature-item p {
  margin-bottom: 0;
  color: #666;
}

/* Tech Stack Grid */
.tech-stack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 20px;
}

.tech-category {
  background: #f8f9fa;
  padding: 25px;
  border-radius: 10px;
  border-top: 4px solid #113adc;
}

.tech-category h4 {
  color: #113adc;
  margin-bottom: 15px;
  font-size: 18px;
}

.tech-category ul {
  list-style: none;
  padding-left: 0;
}

.tech-category li {
  padding: 8px 0;
  border-bottom: 1px solid #e9ecef;
  color: #555;
}

.tech-category li:last-child {
  border-bottom: none;
}

.tech-category li strong {
  color: #113adc;
  font-weight: 600;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 20px;
}

.feature-card {
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: #113adc;
  box-shadow: 0 8px 30px rgba(17, 58, 220, 0.15);
}

.feature-icon {
  font-size: 40px;
  margin-bottom: 15px;
  display: block;
}

.feature-card h4 {
  color: #333;
  margin-bottom: 10px;
  font-size: 18px;
}

.feature-card p {
  color: #666;
  font-size: 14px;
  margin-bottom: 0;
}

/* Results Grid */
.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
  margin-top: 20px;
}

.result-item {
  background: linear-gradient(135deg, #113adc, #0d2db8);
  color: white;
  padding: 30px 20px;
  border-radius: 10px;
  text-align: center;
  transition: all 0.3s ease;
}

.result-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(17, 58, 220, 0.3);
}

.result-number {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 10px;
}

.result-label {
  font-size: 14px;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Testimonial */
.testimonial {
  background: #f8f9fa;
  padding: 30px;
  border-radius: 10px;
  border-left: 4px solid #113adc;
  margin-top: 30px;
}

.testimonial blockquote {
  font-size: 18px;
  font-style: italic;
  color: #333;
  margin-bottom: 15px;
  line-height: 1.6;
}

.testimonial cite {
  color: #113adc;
  font-weight: 600;
  font-style: normal;
}

/* Sidebar Styles */
.case-study-sidebar {
  padding-left: 30px;
}

.project-info-card,
.tech-stack-card,
.services-card,
.cta-card {
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  margin-bottom: 25px;
  border-top: 4px solid #113adc;
}

.project-info-card h3,
.tech-stack-card h3,
.services-card h3,
.cta-card h3 {
  color: #113adc;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
}

.info-item {
  padding: 10px 0;
  border-bottom: 1px solid #e9ecef;
  color: #555;
}

.info-item:last-child {
  border-bottom: none;
}

.info-item strong {
  color: #333;
  display: inline-block;
  width: 120px;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tech-tags .tech-tag {
  background: #113adc;
  color: white;
  padding: 5px 10px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: 500;
}

.services-card ul {
  list-style: none;
  padding-left: 0;
}

.services-card li {
  padding: 8px 0;
  color: #555;
  position: relative;
  padding-left: 20px;
}

.services-card li:before {
  content: "•";
  color: #113adc;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.btn-primary {
  background: #113adc;
  color: white;
  padding: 12px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: all 0.3s ease;
  border: 2px solid #113adc;
}

.btn-primary:hover {
  background: transparent;
  color: #113adc;
  transform: translateY(-2px);
}

/* Related Projects */
.related-projects {
  padding: 80px 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .case-study-main-content {
    padding-right: 0;
    margin-bottom: 40px;
  }
  
  .case-study-sidebar {
    padding-left: 0;
  }
  
  .tech-stack-grid {
    grid-template-columns: 1fr;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .results-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .case-study-main-content h2 {
    font-size: 24px;
  }
  
  .result-number {
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  .results-grid {
    grid-template-columns: 1fr;
  }
  
  .feature-item,
  .tech-category {
    padding: 20px;
  }
  
  .project-info-card,
  .tech-stack-card,
  .services-card,
  .cta-card {
    padding: 20px;
  }
}
