/* 
 * Services CSS file for CHIC CHIC CREATIVE TECHNOLOGY Website
 * Author: Development Team
 * Created: 2023
 * Description: Contains styles for services and SME Digital Support Program pages
 */

/* Services Section */
.services-section {
  background-color: var(--light-color);
  padding: 5rem 0;
}

.service-card {
  position: relative;
  background-color: #fff;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.service-icon {
  width: 70px;
  height: 70px;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 2rem;
}

.service-header {
  margin-bottom: 1.5rem;
}

.service-header h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-size: 1.75rem;
}

.service-header p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0;
}

.service-content {
  flex-grow: 1;
  margin-bottom: 1.5rem;
}

.service-features {
  list-style: none;
  padding-left: 0;
  margin-top: 1rem;
}

.service-features li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-color);
}

.service-features li:before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

.service-footer {
  padding: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  text-align: center;
}

/* Digital Support Program Specific Styles */
.program-header {
  background-color: var(--dark-color);
  color: #fff;
  padding: 4rem 0;
  position: relative;
}

.program-header:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M1200 120L0 16.48V0h1200v120z' fill='%23ffffff'/%3E%3C/svg%3E");
  background-size: 100% 100%;
}

.program-header-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.program-header h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.program-header p {
  font-size: 1.25rem;
  max-width: 800px;
  margin: 0 auto;
  opacity: 0.9;
}

.program-steps {
  margin: 4rem 0;
}

.step-item {
  display: flex;
  margin-bottom: 3rem;
  position: relative;
}

.step-number {
  width: 60px;
  height: 60px;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-right: 1.5rem;
}

.step-content {
  flex-grow: 1;
}

.step-item:not(:last-child):after {
  content: '';
  position: absolute;
  top: 60px;
  left: 30px;
  height: calc(100% - 30px);
  width: 2px;
  background-color: var(--primary-color);
  opacity: 0.3;
}

/* Benefits Section */
.benefits-section {
  background-color: #f8f9fa;
  padding: 5rem 0;
}

.benefit-card {
  text-align: center;
  padding: 2rem;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  height: 100%;
}

.benefit-card:hover {
  transform: translateY(-10px);
}

.benefit-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

/* Case Studies */
.case-study {
  margin-bottom: 3rem;
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.case-study-content {
  padding: 2rem;
}

.case-study-image {
  height: 250px;
  background-size: cover;
  background-position: center;
}

/* Call To Action */
.cta-section {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  padding: 5rem 0;
  color: white;
  text-align: center;
}

.cta-section h2 {
  color: white;
  margin-bottom: 1.5rem;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 2rem;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.btn-white {
  background-color: white;
  color: var(--primary-color);
}

.btn-white:hover {
  background-color: #f5f5f5;
  color: var(--secondary-color);
}

/* Tech Animation for Service Cards */
.tech-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.tech-circle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(30, 136, 229, 0.2);
  opacity: 0;
  animation: techPulse 4s infinite;
}

.tech-circle:nth-child(1) {
  width: 50px;
  height: 50px;
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.tech-circle:nth-child(2) {
  width: 70px;
  height: 70px;
  top: 50%;
  right: 10%;
  animation-delay: 1s;
}

.tech-circle:nth-child(3) {
  width: 40px;
  height: 40px;
  bottom: 20%;
  left: 30%;
  animation-delay: 2s;
}

@keyframes techPulse {
  0% {
    transform: scale(0);
    opacity: 0.5;
  }
  50% {
    opacity: 0.3;
  }
  100% {
    transform: scale(3);
    opacity: 0;
  }
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
  .step-item {
    flex-direction: column;
  }
  
  .step-number {
    margin-bottom: 1rem;
    margin-right: 0;
  }
  
  .step-item:not(:last-child):after {
    display: none;
  }
}

@media screen and (max-width: 768px) {
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .program-header {
    padding: 3rem 0;
  }
  
  .program-header h1 {
    font-size: 2.5rem;
  }
}

/* Program Cards */
.program-card {
  border-radius: 10px;
  padding: 1.5rem;
  height: 100%;
  background-color: #fff;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.program-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.program-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.program-title {
  margin-bottom: 1rem;
  color: var(--heading-color);
  font-size: 1.5rem;
}

/* Feature Cards for Industry Solution Pages */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background-color: #fff;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.feature-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  text-align: center;
}

.feature-card h3 {
  color: var(--heading-color);
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
  text-align: center;
}

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

.feature-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--text-color);
}

.feature-list li:before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

.services-page-title {
  text-align: center;
}

.services-page-title h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.services-page-title p {
  font-size: 1.25rem;
  max-width: 800px;
  margin: 0 auto;
  opacity: 0.9;
}

/* Service Features Section */
.service-features-section {
  padding: 6rem 0;
  background-color: #f9f9f9;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .program-header h1,
  .services-page-title h1 {
    font-size: 2.5rem;
  }
  
  .feature-card {
    padding: 1.5rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
} 