/* ==================== WO-CS-01: BUSINESS CONSULTING ==================== */
/* Stratex - Professional Consulting Template */
/* Color Palette: Navy, Gold, White */

:root {
  --primary: #1e3a5f;
  --primary-dark: #152a45;
  --secondary: #c9a227;
  --accent: #3b82f6;
  --text-dark: #1e293b;
  --text-light: #64748b;
  --bg-light: #f8fafc;
  --bg-navy: #0f172a;
  --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, 58, 95, 0.3);
}

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

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

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

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

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

.section-badge {
  background: rgba(30, 58, 95, 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(--secondary);
}

/* Hero Consulting */
.hero-consulting {
  background: linear-gradient(135deg, var(--bg-light) 0%, #e2e8f0 100%);
  min-height: 100vh;
  padding-top: 100px;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-title span {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-clients {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid #e2e8f0;
}

.hero-clients > span {
  display: block;
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: 16px;
}

.client-logos {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.client-logo {
  padding: 8px 16px;
  background: var(--white);
  border-radius: 8px;
  font-weight: 600;
  color: var(--text-light);
  font-size: 0.875rem;
}

.hero-visual {
  position: relative;
}

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

.hero-stats-card {
  position: absolute;
  bottom: -30px;
  left: -30px;
  background: var(--white);
  padding: 24px 32px;
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.stat-row {
  display: flex;
  gap: 32px;
}

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

.stat-value {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
}

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

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

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

  .hero-clients {
    text-align: center;
  }

  .client-logos {
    justify-content: center;
  }

  .hero-stats-card {
    left: 20px;
  }
}

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

.service-card {
  background: var(--white);
  padding: 32px;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  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(--secondary);
}

.service-icon {
  font-size: 2.5rem;
  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(--secondary);
}

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

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

/* Results Section */
.section-dark {
  background: var(--bg-navy);
  color: var(--white);
}

.section-dark .section-badge {
  background: rgba(201, 162, 39, 0.2);
  color: var(--secondary);
}

.section-dark .section-title,
.section-dark .section-subtitle {
  color: var(--white);
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.result-card {
  text-align: center;
  padding: 40px 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.result-value {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--secondary);
}

.result-suffix {
  font-size: 2rem;
  font-weight: 700;
  color: var(--secondary);
}

.result-label {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9375rem;
}

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

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

/* Case Studies */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.case-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid #e2e8f0;
}

.case-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.case-image {
  height: 200px;
  overflow: hidden;
}

.case-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.case-content {
  padding: 24px;
}

.case-industry {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(30, 58, 95, 0.1);
  color: var(--primary);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.case-content h3 {
  font-size: 1.125rem;
  margin-bottom: 12px;
  line-height: 1.4;
}

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

.case-results {
  display: flex;
  gap: 24px;
  margin-bottom: 20px;
  padding-top: 16px;
  border-top: 1px solid #e2e8f0;
}

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

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

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

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

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

/* Process Grid */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.process-step {
  text-align: center;
  padding: 40px 24px;
  background: var(--white);
  border-radius: 16px;
  position: relative;
}

.step-number {
  display: inline-block;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  border-radius: 50%;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 60px;
  margin-bottom: 20px;
}

.process-step h3 {
  font-size: 1.125rem;
  margin-bottom: 12px;
}

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

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

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

/* Team Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.team-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid #e2e8f0;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.team-card .team-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.team-card .team-content {
  padding: 24px;
}

.team-card h3 {
  font-size: 1.125rem;
  margin-bottom: 4px;
}

.team-role {
  display: block;
  color: var(--secondary);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.team-card p {
  color: var(--text-light);
  font-size: 0.875rem;
  margin: 0;
  line-height: 1.5;
}

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

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

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

.cta-consulting .btn-primary {
  background: var(--secondary);
  color: var(--primary-dark);
}

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

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

/* Footer */
.footer {
  background: var(--bg-navy);
}

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

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

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

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

/* 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, 58, 95, 0.4);
  z-index: 999;
}

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

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