/* ==================== WO-CS-02: DIGITAL TRANSFORMATION CONSULTING ==================== */
/* InnovateTech Solutions - Tech Consulting Template */
/* Color Palette: Deep Blue, Teal, Orange */

:root {
  --primary: #1e40af;
  --primary-dark: #1e3a8a;
  --secondary: #14b8a6;
  --accent: #f97316;
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --bg-light: #eff6ff;
  --bg-teal: #f0fdfa;
  --white: #ffffff;
}

/* Override base colors */
.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  box-shadow: 0 4px 15px rgba(30, 64, 175, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 8px 25px rgba(30, 64, 175, 0.4);
}

.btn-secondary {
  border-color: var(--primary);
  color: var(--primary);
}

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

.section-badge {
  background: rgba(30, 64, 175, 0.1);
  color: var(--primary);
}

/* Typography */
body {
  font-family: 'Inter', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
}

/* Navbar */
.navbar-brand {
  font-size: 1.75rem;
  font-weight: 800;
}

.navbar-brand span {
  color: var(--secondary);
}

.navbar-link:hover,
.navbar-link.active {
  color: var(--primary);
}

.navbar-link::after {
  background: var(--primary);
}

/* Hero Tech Consulting */
.hero-tech-consulting {
  min-height: 100vh;
  background: url('https://images.pexels.com/photos/3184418/pexels-photo-3184418.jpeg?auto=compress&cs=tinysrgb&w=1920') center/cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
}

.hero-tech-consulting .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.9) 0%, rgba(20, 184, 166, 0.8) 100%);
}

.hero-tech-consulting .container {
  position: relative;
  z-index: 1;
}

.hero-tech-consulting .hero-content {
  max-width: 700px;
  color: var(--white);
  text-align: center;
  margin: 0 auto;
}

.hero-tech-consulting .hero-badge {
  background: rgba(249, 115, 22, 0.3);
  color: var(--white);
}

.hero-tech-consulting .hero-title {
  color: var(--white);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
}

.hero-tech-consulting .hero-title span {
  color: var(--accent);
}

.hero-tech-consulting .hero-description {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.125rem;
}

.hero-tech-consulting .hero-buttons {
  justify-content: center;
  margin-bottom: 40px;
}

.hero-tech-consulting .btn-secondary {
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--white);
}

.hero-tech-consulting .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 50px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
}

.stat-label {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 768px) {
  .hero-stats {
    flex-wrap: wrap;
    gap: 30px;
  }

  .stat-item {
    flex: 1 1 40%;
  }
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  padding: 32px;
  border-radius: 20px;
  text-align: center;
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  border-color: var(--primary);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--text-light);
  font-size: 0.9375rem;
  margin-bottom: 20px;
  line-height: 1.6;
}

.service-features {
  margin-bottom: 20px;
}

.service-features li {
  padding: 6px 0;
  color: var(--text-light);
  font-size: 0.875rem;
  position: relative;
  padding-left: 20px;
}

.service-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--secondary);
}

.service-link {
  color: var(--primary);
  font-weight: 600;
  transition: color 0.3s ease;
}

.service-link:hover {
  color: var(--primary-dark);
}

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

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

/* Solutions Grid */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.solution-card {
  background: var(--white);
  padding: 32px;
  border-radius: 20px;
  text-align: center;
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
}

.solution-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  border-color: var(--secondary);
}

.solution-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.solution-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.solution-card p {
  color: var(--text-light);
  font-size: 0.9375rem;
  margin-bottom: 24px;
  line-height: 1.6;
}

.solution-metrics {
  display: flex;
  justify-content: space-around;
  gap: 16px;
}

.metric {
  text-align: center;
}

.metric-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary);
}

.metric-label {
  font-size: 0.75rem;
  color: var(--text-light);
}

@media (max-width: 1200px) {
  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .solutions-grid {
    grid-template-columns: 1fr;
  }
}

/* Process Timeline */
.process-timeline {
  max-width: 800px;
  margin: 0 auto;
}

.process-step {
  display: flex;
  gap: 24px;
  padding: 32px 0;
  border-bottom: 1px solid #e5e7eb;
}

.process-step:last-child {
  border-bottom: none;
}

.step-number {
  min-width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  flex-shrink: 0;
}

.step-content h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.step-content p {
  color: var(--text-light);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 576px) {
  .process-step {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .step-number {
    margin: 0 auto;
  }
}

/* Case Studies Grid */
.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.case-study-card {
  background: var(--white);
  padding: 32px;
  border-radius: 20px;
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
}

.case-study-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.case-study-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.case-study-header h3 {
  font-size: 1.125rem;
  margin: 0;
  flex: 1;
}

.case-industry {
  background: rgba(20, 184, 166, 0.1);
  color: var(--secondary);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.case-challenge {
  color: var(--text-light);
  font-size: 0.875rem;
  margin-bottom: 12px;
}

.case-solution {
  color: var(--text-dark);
  font-size: 0.875rem;
  margin-bottom: 20px;
  line-height: 1.5;
}

.case-results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.result-item {
  text-align: center;
}

.result-value {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
}

.result-label {
  font-size: 0.75rem;
  color: var(--text-light);
}

@media (max-width: 992px) {
  .case-studies-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .case-studies-grid {
    grid-template-columns: 1fr;
  }

  .case-study-header {
    flex-direction: column;
    gap: 8px;
  }
}

/* Why Grid */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.why-content h2 {
  font-size: 2.25rem;
  margin-bottom: 20px;
}

.why-content > p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 32px;
}

.why-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 32px;
}

.why-feature {
  display: flex;
  gap: 16px;
}

.feature-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.why-feature h4 {
  font-size: 1.125rem;
  margin-bottom: 4px;
}

.why-feature p {
  color: var(--text-light);
  font-size: 0.9375rem;
  margin: 0;
}

.why-image {
  position: relative;
}

.why-image img {
  border-radius: 20px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.why-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--white);
  padding: 20px 24px;
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 12px;
}

.badge-icon {
  font-size: 2rem;
}

.why-badge strong {
  display: block;
  font-size: 1.125rem;
  color: var(--primary);
}

.why-badge span {
  font-size: 0.8125rem;
  color: var(--text-light);
}

@media (max-width: 992px) {
  .why-grid {
    grid-template-columns: 1fr;
  }

  .why-badge {
    right: 20px;
  }
}

/* CTA Tech */
.cta-tech {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.cta-tech .btn-secondary {
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--white);
}

.cta-tech .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Footer */
.footer-brand span {
  color: var(--secondary);
}

.footer-social a:hover {
  background: var(--primary);
}

.footer-link:hover {
  color: var(--primary);
}

/* Section Alt */
.section-alt {
  background: var(--bg-teal);
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 1.25rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(30, 64, 175, 0.4);
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-5px);
}
