/* Services page specific styles extracted from index.html */

/* Services Section */
.services-intro {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 50px;
  color: #1f2b5b;
  font-size: 18px;
  line-height: 1.7;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 640px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.service-card {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.6);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.02);
  position: relative;
  background-clip: padding-box;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 12px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(139, 92, 246, 0.1), rgba(236, 72, 153, 0.1));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04), 0 0 0 1px rgba(59, 130, 246, 0.05);
  border-color: rgba(59, 130, 246, 0.2);
}

.service-card:hover::before {
  opacity: 1;
}

.service-image {
  height: 200px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-card:hover .service-image img {
  transform: scale(1.1);
}

.service-content {
  padding: 32px;
  position: relative;
  z-index: 1;
}

.service-card h3 {
  color: #0f172a;
  margin-bottom: 14px;
  font-size: 20px;
  font-weight: 700;
  transition: color 0.3s ease;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.service-card:hover h3 {
  color: #1e40af;
}

.service-card p {
  color: #64748b;
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 18px;
  font-weight: 400;
}

.service-arrow {
  display: inline-block;
  color: #3b82f6;
  font-size: 14px;
  font-weight: 600;
  margin-top: 12px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  transform: translateY(5px);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.service-card:hover .service-arrow {
  opacity: 1;
  transform: translateY(0);
  color: #1e40af;
}

/* CTA */
.services-cta {
  margin-top: 0;
  background: linear-gradient(135deg, rgba(51, 65, 85, 0.92) 0%, rgba(71, 85, 105, 0.92) 100%),
              url('https://images.unsplash.com/photo-1600880292203-757bb62b4baf?w=1200&auto=format&fit=crop&q=80') center/cover;
  color: white;
  padding: 40px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.services-cta::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
}

.services-cta h3 {
  font-size: 28px;
  margin-bottom: 16px;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.services-cta p {
  margin-bottom: 24px;
  opacity: 0.9;
  font-size: 16px;
  position: relative;
  z-index: 1;
}

.cta-btn {
  display: inline-block;
  background: white;
  color: #1e40af;
  padding: 16px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 1;
}

.cta-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
  background: #f8fafc;
}

.cta-btn:hover {
  background: #e6e9f2;
}

/* Service Detail Page Styles */
.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid #1f2b5b;
  color: #1f2b5b;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 30px;
  transition: all 0.3s ease;
}

.back-btn:hover {
  background: #1f2b5b;
  color: white;
}

.service-detail-header {
  text-align: center;
  margin-bottom: 30px;
  padding: 40px 30px;
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
  border-radius: 24px;
  color: white;
  position: relative;
  overflow: hidden;
}

.service-detail-header::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
}

.service-detail-header::after {
  content: '';
  position: absolute;
  bottom: -50px;
  left: -50px;
  width: 150px;
  height: 150px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}

.service-detail-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.2);
  border-radius: 20px;
  backdrop-filter: blur(10px);
}

.service-detail-icon svg {
  width: 40px;
  height: 40px;
  stroke: white;
  stroke-width: 1.5;
  fill: none;
}

.service-detail-title {
  font-size: 42px;
  color: white;
  margin-bottom: 16px;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.service-detail-subtitle {
  font-size: 18px;
  color: rgba(255,255,255,0.9);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.service-detail-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 50px;
}

@media (max-width: 768px) {
  .service-detail-content {
    grid-template-columns: 1fr;
  }
}

.service-detail-section {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.service-detail-section h3 {
  color: #1e293b;
  font-size: 22px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.service-detail-section h3 svg {
  color: #3b82f6;
}

.service-detail-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-detail-section ul li {
  padding: 14px 0;
  border-bottom: 1px solid #f1f5f9;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
}

.service-detail-section ul li:last-child {
  border-bottom: none;
}

.service-benefits {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
  color: white;
  border: none;
}

.service-benefits h3 {
  color: white;
}

.service-benefits h3 svg {
  color: #fbbf24;
}

.service-benefits ul li {
  color: rgba(255,255,255,0.9);
  border-bottom-color: rgba(255,255,255,0.1);
}

.service-process {
  margin-bottom: 50px;
  background: #f8fafc;
  padding: 48px;
  border-radius: 24px;
}

.service-process h3 {
  text-align: center;
  color: #1e293b;
  font-size: 28px;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-weight: 700;
}

.service-process h3 svg {
  color: #3b82f6;
}

.process-steps {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.process-step {
  flex: 1;
  min-width: 200px;
  text-align: center;
  padding: 32px 24px;
  background: white;
  border-radius: 16px;
  position: relative;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  border: 1px solid #e2e8f0;
  transition: transform 0.3s, box-shadow 0.3s;
}

.process-step:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.process-step-number {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #3b82f6, #1e40af);
  color: white;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  margin: 0 auto 20px;
}

.process-step h4 {
  color: #1e293b;
  margin-bottom: 12px;
  font-size: 18px;
  font-weight: 600;
}

.process-step p {
  color: #64748b;
  font-size: 14px;
  line-height: 1.6;
}

.service-cta-section {
  background: linear-gradient(135deg, #1f2b5b 0%, #2d3a6d 100%);
  color: white;
  padding: 50px;
  border-radius: 20px;
  text-align: center;
}

.service-cta-section h3 {
  font-size: 28px;
  margin-bottom: 15px;
}

.service-cta-section p {
  opacity: 0.9;
  margin-bottom: 25px;
  font-size: 16px;
}

.service-cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.service-cta-btn {
  padding: 14px 30px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-size: 15px;
}

.service-cta-btn.primary {
  background: white;
  color: #1f2b5b;
}

.service-cta-btn.primary:hover {
  background: #e6e9f2;
}

.service-cta-btn.secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.service-cta-btn.secondary:hover {
  background: white;
  color: #1f2b5b;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  #servicesPage .container {
    padding: 40px 16px !important;
  }

  .services-intro {
    font-size: 16px;
    margin-bottom: 30px;
    padding: 0;
  }
  
  .service-content {
    padding: 24px;
  }
  
  .service-card h3 {
    font-size: 18px;
  }
  
  .service-card p {
    font-size: 14px;
    margin-bottom: 12px;
  }
  
  .service-image {
    height: 180px;
  }
  
  .services-cta {
    padding: 30px 20px;
  }
  
  .services-cta h3 {
    font-size: 22px;
  }
  
  .services-cta p {
    font-size: 14px;
  }
  
  .cta-btn {
    padding: 14px 28px;
    font-size: 14px;
  }
  
  .service-detail-header {
    padding: 30px 20px;
  }
  
  .service-detail-title {
    font-size: 28px;
  }
  
  .service-detail-subtitle {
    font-size: 15px;
  }
  
  .service-detail-section {
    padding: 24px;
  }
  
  .service-detail-section h3 {
    font-size: 18px;
  }
  
  .service-process {
    padding: 30px 20px;
  }
  
  .service-process h3 {
    font-size: 22px;
  }
  
  .process-steps {
    flex-direction: column;
  }
  
  .process-step {
    min-width: 100%;
  }
  
  .service-cta-section {
    padding: 30px 20px;
  }
  
  .service-cta-section h3 {
    font-size: 22px;
  }
}

@media (max-width: 480px) {
  .service-content {
    padding: 20px;
  }
  
  .service-card h3 {
    font-size: 16px;
  }
  
  .service-image {
    height: 150px;
  }
  
  .service-detail-title {
    font-size: 24px;
  }
  
  .service-detail-icon {
    width: 60px;
    height: 60px;
  }
  
  .service-detail-icon svg {
    width: 30px;
    height: 30px;
  }
  
  .service-detail-section {
    padding: 20px;
  }
  
  .service-cta-buttons {
    flex-direction: column;
    gap: 12px;
  }
  
  .service-cta-btn {
    width: 100%;
    text-align: center;
  }
}
