/* Hero Section Styles */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  padding-top: 80px;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23228B22' fill-opacity='0.05'%3E%3Cpath d='M30 30c0-11.046-8.954-20-20-20s-20 8.954-20 20 8.954 20 20 20 20-8.954 20-20zm0 0c0 11.046 8.954 20 20 20s20-8.954 20-20-8.954-20-20-20-20 8.954-20 20z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: var(--spacing-md);
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-lg);
  line-height: 1.4;
}

.hero-cta-buttons {
  display: flex;
  gap: var(--spacing-md);
  flex-wrap: wrap;
}

.hero-image {
  position: relative;
  z-index: 2;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-large);
}

/* About Section Styles */
.about-content-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  align-items: center;
}

.about-text-content {
  padding: var(--spacing-md);
}

.about-image-content {
  position: relative;
}

.about-image-content img {
  width: 100%;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-medium);
}

.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.stat-item {
  text-align: center;
  padding: var(--spacing-md);
  background: var(--bg-card);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-soft);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  font-family: var(--font-heading);
  display: block;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: var(--spacing-xs);
}

/* Services Section Styles */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
}

.service-detailed-card {
  background: var(--bg-card);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

.service-detailed-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-large);
}

.service-card-image {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.service-card-content {
  padding: var(--spacing-lg);
}

.service-price {
  color: var(--accent);
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
  font-family: var(--font-heading);
}

.service-timeline {
  background: var(--bg-secondary);
  color: var(--text-secondary);
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--border-radius-sm);
  font-size: 0.9rem;
  display: inline-block;
  margin-top: var(--spacing-sm);
}

/* Methodology Section Styles */
.methodology-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-xl);
}

.methodology-step {
  background: var(--bg-card);
  padding: var(--spacing-lg);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-soft);
  position: relative;
  border: 1px solid var(--border-color);
}

.methodology-step::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  position: absolute;
  top: -15px;
  left: var(--spacing-md);
  background: var(--primary);
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.methodology-steps {
  counter-reset: step-counter;
}

.algorithm-list {
  list-style: none;
  margin-top: var(--spacing-md);
}

.algorithm-list li {
  padding: var(--spacing-xs) 0;
  border-bottom: 1px solid var(--border-color);
}

.algorithm-list li:last-child {
  border-bottom: none;
}

.algorithm-name {
  font-weight: 600;
  color: var(--primary);
}

/* Case Studies Section Styles */
.case-studies-grid {
  display: grid;
  gap: var(--spacing-xl);
}

.case-study-item {
  background: var(--bg-card);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  border: 1px solid var(--border-color);
}

.case-study-content {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 0;
  min-height: 300px;
}

.case-study-text {
  padding: var(--spacing-lg);
}

.case-study-visual {
  background: var(--bg-secondary);
  padding: var(--spacing-md);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.process-map-visual {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: var(--border-radius);
  position: relative;
  overflow: hidden;
}

.process-map-visual::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 20px;
  right: 20px;
  height: 2px;
  background: white;
  border-radius: 1px;
}

.process-map-visual::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 20px;
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
  transform: translateY(-50%);
}

.challenge-tag {
  background: #ff6b6b;
  color: white;
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--border-radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-block;
  margin-bottom: var(--spacing-sm);
}

.outcome-tag {
  background: var(--primary);
  color: white;
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--border-radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-block;
  margin-bottom: var(--spacing-sm);
}

/* Contact Section Styles */
.contact-section {
  background: var(--bg-secondary);
}

.contact-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  align-items: start;
}

.contact-info-card {
  background: var(--bg-card);
  padding: var(--spacing-lg);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-color);
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.contact-detail-item:last-child {
  margin-bottom: 0;
}

.contact-icon {
  width: 24px;
  height: 24px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-text {
  color: var(--text-secondary);
}

.contact-text strong {
  color: var(--text-primary);
  display: block;
  margin-bottom: var(--spacing-xs);
}

/* Page Title Bar */
.page-title-bar {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  padding: var(--spacing-xl) 0 var(--spacing-lg);
  margin-top: 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-title-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M20 20c0-5.5-4.5-10-10-10s-10 4.5-10 10 4.5 10 10 10 10-4.5 10-10zm0 0c0 5.5 4.5 10 10 10s10-4.5 10-10-4.5-10-10-10-10 4.5-10 10z'/%3E%3C/g%3E%3C/svg%3E") repeat;
}

.page-title-bar h1 {
  color: white;
  font-size: 3rem;
  margin-bottom: var(--spacing-sm);
  position: relative;
  z-index: 2;
}

.breadcrumb-area {
  position: relative;
  z-index: 2;
  margin-top: var(--spacing-sm);
}

.breadcrumb-list {
  display: flex;
  justify-content: center;
  gap: var(--spacing-sm);
  list-style: none;
  color: rgba(255, 255, 255, 0.8);
}

.breadcrumb-list li:not(:last-child)::after {
  content: '/';
  margin-left: var(--spacing-sm);
  opacity: 0.6;
}

.breadcrumb-list a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.breadcrumb-list a:hover {
  color: white;
}

/* Legal Pages Styles */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--spacing-xl) var(--spacing-md);
}

.legal-content h2 {
  margin-top: var(--spacing-lg);
  margin-bottom: var(--spacing-sm);
  color: var(--primary);
}

.legal-content h3 {
  margin-top: var(--spacing-md);
  margin-bottom: var(--spacing-sm);
  color: var(--accent);
}

.legal-content ul,
.legal-content ol {
  margin-left: var(--spacing-md);
  margin-bottom: var(--spacing-sm);
}

.legal-content li {
  margin-bottom: var(--spacing-xs);
}

/* Industry Selector (Methodology Page) */
.industry-selector {
  background: var(--bg-card);
  padding: var(--spacing-lg);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-soft);
  margin: var(--spacing-lg) 0;
  border: 1px solid var(--border-color);
}

.industry-dropdown {
  padding: var(--spacing-sm);
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  font-size: 1rem;
  margin-bottom: var(--spacing-md);
  width: 100%;
  max-width: 300px;
}

.sample-process-map {
  height: 300px;
  background: var(--bg-secondary);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.sample-process-map svg {
  width: 80%;
  height: 80%;
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .about-content-wrapper,
  .contact-content-grid,
  .case-study-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }

  .about-stats-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding-top: 100px;
    text-align: center;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.25rem;
  }

  .hero-cta-buttons {
    justify-content: center;
  }

  .page-title-bar h1 {
    font-size: 2rem;
  }

  .services-grid,
  .methodology-steps {
    grid-template-columns: 1fr;
  }

  .case-study-content {
    min-height: auto;
  }

  .case-study-visual {
    order: -1;
    min-height: 200px;
  }

  .contact-content-grid {
    gap: var(--spacing-md);
  }
}