/* product.css */

.content {
  padding: 0;
  /* Let hero take full width */
  margin-top: 0;
}

/* Hero Section - Inherited from main.css */
.page-hero {
  margin-bottom: 50px;
  /* Consistent margin */
}

/* Services Wrapper */
.services-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 60px;
}

.service-intro {
  text-align: center;
  margin-bottom: 50px;
}

.service-intro h2 {
  font-size: 2rem;
  color: #2c3e50;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.service-intro h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: #3498db;
}

.service-intro p {
  color: #7f8c8d;
  font-size: 1.1rem;
}

/* Grid Layout */
.service-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

/* Service Category Cards - Glassmorphism */
.service-category {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.service-category:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.12);
  border: 1px solid rgba(52, 152, 219, 0.3);
}

.category-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.service-category h3 {
  font-size: 1.4rem;
  color: #2c3e50;
  margin-bottom: 20px;
  border-left: 4px solid #3498db;
  padding-left: 12px;
}

.category-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.category-links a,
.category-links span {
  font-size: 1.05rem;
  text-decoration: none;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.category-links a {
  color: #3498db;
  font-weight: 500;
}

.category-links span {
  color: #7f8c8d;
}

.category-links a:hover {
  color: #2980b9;
  text-decoration: underline;
}

.badge {
  background: linear-gradient(135deg, #ff416c 0%, #ff4b2b 100%);
  color: white;
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 20px;
  font-weight: bold;
  box-shadow: 0 2px 5px rgba(255, 75, 43, 0.3);
}

/* CTA Section */
.product-cta {
  background: #f8f9fa;
  padding: 80px 20px;
  text-align: center;
}

.cta-inner {
  max-width: 800px;
  margin: 0 auto;
}

.product-cta h2 {
  font-size: 2.2rem;
  color: #2c3e50;
  margin-bottom: 20px;
}

.product-cta p {
  font-size: 1.2rem;
  color: #7f8c8d;
  margin-bottom: 40px;
}

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

.cta-btn {
  padding: 15px 35px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s;
  display: inline-block;
}

.cta-btn-primary {
  background: #06c755;
  color: white;
  box-shadow: 0 4px 15px rgba(6, 199, 85, 0.3);
}

.cta-btn-primary:hover {
  background: #05b34c;
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(6, 199, 85, 0.4);
}

.cta-btn-secondary {
  background: #34495e;
  color: white;
  box-shadow: 0 4px 15px rgba(52, 73, 94, 0.3);
}

.cta-btn-secondary:hover {
  background: #2c3e50;
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(52, 73, 94, 0.4);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .product-hero h1 {
    font-size: 2.2rem;
  }

  .service-categories {
    grid-template-columns: 1fr;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .cta-btn {
    width: 100%;
  }
}