@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');

:root {
  --color-primary: #132448; /* Deep Navy Blue */
  --color-accent: #c69420; /* Rich Mustard Gold */
  --color-bg-light: #f4f5f7; /* Light Grey */
  --color-bg-white: #ffffff; /* White */
  --color-text-main: #333333; /* Dark Grey */
  --color-text-secondary: #555555; /* Lighter Grey */
  --font-main: 'Inter', 'Segoe UI', Tahoma, Arial, sans-serif;
  --transition-speed: 0.3s;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-main);
  color: var(--color-text-main);
  background-color: var(--color-bg-white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  color: var(--color-primary);
  margin-bottom: 1rem;
  font-weight: 700;
}

h1 {
  font-size: 3rem;
  line-height: 1.2;
}

h2 {
  font-size: 2.2rem;
}

p {
  color: var(--color-text-main);
  margin-bottom: 1rem;
}

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

a {
  text-decoration: none;
}

/* Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 6rem 0;
}

.bg-light {
  background-color: var(--color-bg-light);
}

.bg-primary {
  background-color: var(--color-primary);
  color: var(--color-bg-white);
}

.bg-primary h1, .bg-primary h2, .bg-primary p {
  color: var(--color-bg-white);
}

.bg-accent {
  background-color: var(--color-accent);
  color: var(--color-bg-white);
}

.bg-accent h2, .bg-accent p {
  color: var(--color-bg-white);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
  border: none;
  font-size: 1.1rem;
}

.btn-accent {
  background-color: var(--color-accent);
  color: #fff;
  box-shadow: 0 4px 6px rgba(198, 148, 32, 0.3);
}

.btn-accent:hover {
  background-color: #a87d19;
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(198, 148, 32, 0.4);
}

/* Header */
header {
  background-color: var(--color-primary);
  padding: 1.5rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-accent);
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  color: var(--color-bg-white);
  font-weight: 600;
  transition: color var(--transition-speed) ease;
}

.nav-links a:hover {
  color: var(--color-accent);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, rgba(30, 50, 92, 0.95), rgba(30, 50, 92, 0.8)), url('hero-bg-placeholder.jpg') center/cover;
  color: var(--color-bg-white);
  padding: 8rem 0;
  text-align: center;
}

.hero h1 {
  color: var(--color-bg-white);
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.25rem;
  max-width: 800px;
  margin: 0 auto 2.5rem;
  color: rgba(255, 255, 255, 0.9);
}

/* Core Competencies BCG Split Section */
.split-section {
  display: flex;
  flex-direction: column;
  min-height: 500px;
  padding: 0;
}

@media (min-width: 992px) {
  .split-section {
    flex-direction: row;
  }
}

.split-left {
  flex: 1;
  background-color: var(--color-accent);
  padding: 4rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.split-content {
  width: 100%;
  max-width: 480px;
}

@media (min-width: 992px) {
  .split-left {
    padding: 6rem 4rem;
  }
}

.split-left h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--color-bg-white);
  font-weight: 300;
}

.split-left p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 3rem;
  max-width: 400px;
  line-height: 1.6;
}

.custom-select-container {
  position: relative;
  max-width: 400px;
}

.custom-select {
  appearance: none;
  width: 100%;
  padding: 1.2rem 3rem 1.2rem 1.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-bg-white);
  background-color: var(--color-primary);
  border: 1px solid var(--color-primary);
  border-radius: 8px;
  cursor: pointer;
  font-family: var(--font-main);
  transition: all 0.2s ease;
}

.custom-select:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(19, 36, 72, 0.3);
}

.custom-select-container::after {
  content: '▼';
  font-size: 0.8rem;
  color: var(--color-bg-white);
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.split-right {
  flex: 1.5;
  background-color: #e1e4e8; /* Solid grey fallback so the white card is visible */
  background-image: url('finance-bg.png');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  padding: 4rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 992px) {
  .split-right {
    padding: 6rem;
  }
}

.glass-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 3.5rem;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  width: 100%;
  max-width: 550px;
  transition: opacity 0.3s ease;
}

.glass-card h3 {
  font-size: 2.2rem;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.glass-card p {
  font-size: 1.15rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: 0;
}


/* Process Section */
.process-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 3rem;
  position: relative;
}

.process-step {
  flex: 1;
  min-width: 200px;
  text-align: center;
  padding: 2rem;
  background-color: var(--color-bg-white);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  position: relative;
  z-index: 1;
}

.step-icon {
  width: 64px;
  height: 64px;
  background-color: var(--color-primary);
  color: var(--color-bg-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 10px rgba(19, 36, 72, 0.2);
}

.process-step h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.process-step p {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
}

/* Contact Section */
.contact-section {
  text-align: center;
}

.contact-section h2 {
  color: var(--color-bg-white);
}

.contact-section .text-secondary {
  color: rgba(255, 255, 255, 0.9);
}

.contact-form-container {
  background-color: var(--color-bg-white);
  max-width: 700px;
  margin: 3rem auto 0;
  padding: 3rem;
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  text-align: left;
}

.contact-form .form-group {
  margin-bottom: 1.5rem;
}

.contact-form label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: var(--font-main);
  font-size: 1rem;
  color: var(--color-text-main);
  background-color: #fafafa;
  transition: border-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(198, 148, 32, 0.2);
  background-color: var(--color-bg-white);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form .btn-primary {
  width: 100%;
  background-color: var(--color-primary);
  color: var(--color-bg-white);
  margin-top: 1rem;
}

.contact-form .btn-primary:hover {
  background-color: #0b152b;
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(11, 21, 43, 0.4);
}

/* Footer */
footer {
  background-color: #0b152b;
  color: rgba(255, 255, 255, 0.7);
  padding: 3rem 0;
  text-align: center;
}

footer p {
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  font-size: 0.9rem;
}

/* Teaser Section */
.featured-teaser {
  border-bottom: 1px solid #e1e4e8;
}

.teaser-content {
  background: var(--color-bg-white);
  padding: 3rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border-top: 5px solid var(--color-primary);
}

.teaser-badge {
  display: inline-block;
  background: rgba(19, 36, 72, 0.1);
  color: var(--color-primary);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.teaser-headline {
  margin-bottom: 2rem;
  font-size: 2rem;
}

.teaser-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.teaser-block h4 {
  color: var(--color-accent);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.teaser-block p {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
}

/* Case Study Hero */
.case-study-hero {
  padding: 6rem 0 4rem;
  text-align: center;
}

.case-study-hero h1 {
  margin-bottom: 1rem;
  font-size: 3.5rem;
}

.hero-meta {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
}

.meta-label {
  font-weight: 700;
  color: var(--color-accent);
}

/* Case Study Pillars */
.case-study-content {
  background: var(--color-bg-light);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.pillar-card {
  background: var(--color-bg-white);
  padding: 3rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform var(--transition-speed) ease;
}

.pillar-card:hover {
  transform: translateY(-5px);
}

.pillar-icon {
  width: 54px;
  height: 54px;
  background: rgba(198, 148, 32, 0.1);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  margin-bottom: 1.5rem;
}

.pillar-card h3 {
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
}

.pillar-card ul {
  list-style: none;
}

.pillar-card ul li {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.95rem;
  color: var(--color-text-secondary);
}

.pillar-card ul li::before {
  content: '✓';
  color: var(--color-accent);
  position: absolute;
  left: 0;
  font-weight: bold;
}

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

.btn-primary:hover {
  background-color: #0b152b;
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(11, 21, 43, 0.4);
}

/* Results & Impact Section */
.results-section {
  background-color: var(--color-bg-white);
  border-top: 1px solid #e1e4e8;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
}

.results-column {
  background: #fdfdfd;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  border: 1px solid #f0f0f0;
}

.results-col-title {
  color: var(--color-primary);
  font-size: 1.5rem;
  margin-bottom: 2rem;
  border-bottom: 2px solid var(--color-accent);
  padding-bottom: 0.8rem;
  display: inline-block;
}

.results-list {
  list-style: none;
}

.results-list li {
  display: flex;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.result-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: #10b981; /* Success Green */
  margin-right: 1rem;
  margin-top: 0.2rem;
}

.results-list li div:last-child {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.results-list li strong {
  color: var(--color-text-main);
  display: block;
  margin-bottom: 0.3rem;
  font-size: 1.05rem;
}

/* AI Timeline Section */
.timeline-section {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.timeline-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 0;
}

/* The vertical connecting line in the center */
.timeline-container::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background-color: rgba(198, 148, 32, 0.3);
  transform: translateX(-50%);
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  margin-bottom: 4rem;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

/* Alternate flex direction for zig-zag */
.timeline-item:nth-child(odd) {
  flex-direction: row-reverse;
}

/* The Marker */
.timeline-marker {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  background-color: var(--color-primary);
  border: 4px solid var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  z-index: 2;
  box-shadow: 0 0 0 5px var(--color-primary);
}

/* The Card */
.timeline-card {
  width: 45%;
  background-color: #1e325c; /* Subtly lighter navy blue */
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform var(--transition-speed) ease;
}

.timeline-card:hover {
  transform: translateY(-5px);
  border-color: rgba(198, 148, 32, 0.4);
}

.timeline-step {
  color: var(--color-accent);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.timeline-card h4 {
  color: #ffffff;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.timeline-card p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }
  .nav-links {
    display: none; /* Simplification for prototype */
  }
  .teaser-grid,
  .pillars-grid,
  .results-grid,
  .competencies-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hero-meta {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  /* Timeline Mobile Adjustments */
  .timeline-container::before {
    left: 25px;
    transform: none;
  }
  
  .timeline-item, 
  .timeline-item:nth-child(odd) {
    flex-direction: row;
    justify-content: flex-end;
  }
  
  .timeline-marker {
    left: 0;
    transform: translateX(0);
  }
  
  .timeline-card {
    width: calc(100% - 70px);
  }
}
