/* Basic Reset & Box-Sizing: Ensures consistent styling across browsers */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Body Styles: Sets default font, line height, text color, and background */
body {
    font-family: 'Open Sans', sans-serif; /* Primary body font */
    line-height: 1.6;
    color: #333; /* Dark gray for text */
    background-color: #ffffff; /* Pure white background for a lighter feel */
}

/* Top navigation */
.site-header {
    background-color: transparent;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: none;
}
.nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 14px 0;
}
.brand {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #2c3e50;
    text-decoration: none;
    font-size: 1.2em;
}
.nav-links {
    display: flex;
    gap: 24px;
}
.nav-links a {
    position: relative;
    text-decoration: none;
    color: #34495e;
    font-weight: 600;
    padding-bottom: 6px;
}
.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: #42a5f5;
    transition: width 0.25s ease;
}
.nav-links a:hover::after {
    width: 100%;
}
.nav-links a.active {
    color: #2c3e50;
}
.nav-links a.active::after {
    width: 100%;
}

/* Container: Centers content and applies horizontal padding */
.container {
    max-width: 1100px; /* Maximum width of the content area */
    margin: 0 auto; /* Centers the container horizontally */
    padding: 0 20px; /* Padding on left and right for smaller screens */
    position: relative; /* Needed for z-index of content over SVG */
    z-index: 2; /* Ensures content is above the SVG background */
}

/* Header/Hero Section: Styles for the top banner of the page */
.hero-section {
    /* Lighter background with a subtle gradient for a modern look */
    background: linear-gradient(to right, #e0f7fa, #ffffff); /* Very light blue to white gradient */
    color: #2c3e50; /* Darker text for contrast on light background */
    padding: 120px 0; /* Increased vertical padding for more space */
    text-align: center; /* Centers text content */
    box-shadow: 0 2px 10px rgba(0,0,0,0.05); /* Softer shadow */
    position: relative; /* Needed for absolute positioning of SVG */
    overflow: hidden; /* Hides any overflow from the SVG */
}

/* Compact variant for pages that need less bottom spacing */
.hero-section.hero-compact {
    padding-bottom: 60px;
}

/* SVG Background for Hero Section */
.hero-section .growth-accelerator-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Allows clicks to pass through to content */
    z-index: 1; /* Places SVG behind content */
    opacity: 0.2; /* Subtle opacity */
    /* transform: scale(1.2); Removed as the new SVG is designed to fill */
}

.hero-section h1 {
    font-family: 'Montserrat', sans-serif; /* Heading font */
    font-size: 3.5em; /* Slightly larger font size for the main headline */
    margin-bottom: 25px; /* Space below the headline */
    color: #2c3e50; /* Dark blue/charcoal for strong headings */
}

.hero-section p {
    font-size: 1.4em; /* Slightly larger font size for sub-headline */
    margin-bottom: 40px; /* More space below the paragraph */
    max-width: 800px; /* Limits width of paragraph for readability */
    margin-left: auto;
    margin-right: auto; /* Centers the paragraph */
    color: #555; /* Slightly softer text color */
}

/* Button Styling: Common styles for all call-to-action buttons */
.btn {
    display: inline-block; /* Allows padding and margin, but wraps content */
    background-color: #42a5f5; /* A slightly brighter, more modern blue accent color */
    color: #fff; /* White text on button */
    padding: 18px 35px; /* More padding for a bolder button */
    text-decoration: none; /* Removes underline from links */
    border-radius: 8px; /* More rounded corners */
    font-weight: 700; /* Bold text */
    transition: background-color 0.3s ease, transform 0.2s ease; /* Smooth transition for hover effect */
    box-shadow: 0 4px 10px rgba(0,0,0,0.1); /* Subtle shadow */
}

.btn:hover {
    background-color: #2196f3; /* Darker blue on hover */
    transform: translateY(-2px); /* Slight lift on hover */
}

/* Secondary button variant and button group */
.cta-buttons {
    display: inline-flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.btn-secondary {
    background-color: #ff6b35; /* Warm orange */
}

.btn-secondary:hover {
    background-color: #e55a2b;
}

/* General Section Styling: Common padding and alignment for content sections */
section {
    padding: 100px 0; /* Increased vertical padding for sections */
    text-align: center; /* Centers content within sections by default */
}

/* Alternating Backgrounds: Makes sections visually distinct with very light shades */
section:nth-of-type(even) {
    background-color: #f9f9f9; /* Very light gray background for even sections */
}

/* Heading 2 Styles: For main section titles */
h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.8em; /* Slightly larger and more prominent */
    margin-bottom: 50px; /* More space below the heading */
    color: #2c3e50; /* Dark blue/charcoal */
}

/* Tighter spacing from titles to first paragraph in overview-like panels */
.overview-panel h2 { margin-bottom: 16px; }
.overview-panel h3 { margin-bottom: 10px; }
.card h2 { margin-bottom: 12px; }

/* Extra spacing after Challenge intro paragraph */
.challenge-intro { margin-bottom: 16px; }

/* Heading 3 Styles: For sub-section titles (e.g., service item titles) */
h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2em; /* Larger and more impactful */
    margin-bottom: 20px;
    color: #34495e; /* Slightly lighter dark blue */
}

/* About Section Specifics */
.about-section {
    text-align: left; /* Aligns text to the left within this section */
}

/* Styles for the headshot image */
.headshot-container {
    text-align: center; /* Center the image within its container */
    margin-bottom: 40px; /* Space below the image */
}

.headshot {
    width: 200px; /* Size of the image */
    height: 200px; /* Size of the image */
    border-radius: 50%; /* Makes the image circular */
    object-fit: cover; /* Ensures the image covers the area without distortion */
    border: 5px solid #e0f7fa; /* Light border around the image */
    box-shadow: 0 8px 20px rgba(0,0,0,0.1); /* Soft shadow for depth */
}

.about-section p {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #555;
}

.about-section ul {
    list-style: none; /* Removes default list bullets */
    margin-top: 30px;
    padding-left: 0; /* Ensure no default padding */
}

.about-section ul li {
    margin-bottom: 18px; /* More space between list items */
    padding-left: 35px; /* Space for custom bullet */
    position: relative; /* Allows positioning of custom bullet */
    font-size: 1.1em;
    line-height: 1.8;
    color: #444;
}

.about-section ul li strong {
    color: #2c3e50; /* Make strong text stand out */
}

.about-section ul li::before {
    content: '✓'; /* Custom checkmark bullet point */
    color: #42a5f5; /* Blue color for the checkmark */
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.3em;
    font-weight: bold;
}

/* Services Section Grid Layout */
.service-grid {
    display: grid; /* Uses CSS Grid for layout */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Responsive columns, slightly wider min */
    gap: 40px; /* More space between grid items */
    margin-top: 50px;
}

.service-item {
    background-color: #fff; /* White background for each service card */
    padding: 40px; /* More padding */
    border-radius: 12px; /* More rounded corners for cards */
    box-shadow: 0 8px 25px rgba(0,0,0,0.08); /* Softer, larger shadow for depth */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth transition for hover effect */
    text-align: center; /* Center text within service items */
}

.service-item:hover {
    transform: translateY(-8px); /* Lifts the card slightly more on hover */
    box-shadow: 0 12px 30px rgba(0,0,0,0.15); /* More pronounced shadow on hover */
}

.service-item h3 {
    color: #42a5f5; /* Accent color for service titles */
    margin-bottom: 15px;
}

.service-item p {
    color: #666;
    font-size: 1.05em;
}

/* Case Studies styling reusing service look */
.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.case-study-card {
    background-color: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    text-decoration: none;
    color: inherit;
}

.case-study-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.case-study-card h3 {
    color: #42a5f5;
    margin-bottom: 15px;
}

.case-study-card p {
    color: #666;
    font-size: 1.05em;
}

.case-study-card-logo {
    width: 80px;
    height: auto;
    margin-bottom: 20px;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Case Study Detail Page Styling */
.case-study-header {
    text-align: center;
    margin-bottom: 20px;
}

.case-study-logo {
    width: 100px;
    height: auto;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.case-study-subtitle {
    font-size: 1.2em;
    color: #666;
    margin-top: 8px;
    font-weight: 600;
}

.case-study-content {
    padding: 60px 0;
    text-align: left;
}

.case-study-content:nth-of-type(even) {
    background-color: #f9f9f9;
}

.case-study-overview {
    max-width: 800px;
    margin: 0 auto;
}

/* Rounded panel wrapper for overview content */
.overview-panel {
    background-color: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    padding: 30px;
    text-align: left; /* Ensure content inside panels aligns left even in centered sections */
}

/* Override max-width constraint for Solution section */
.overview-panel .row {
    max-width: none;
    width: 100%;
}

/* Subsections inside overview as tidy cards */
.overview-subsection {
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    margin-top: 24px;
}
.overview-subsection h3 {
    margin-bottom: 10px;
}
.overview-subsection ul {
    padding-left: 18px;
}

/* Improve spacing for bullets in Who They Are */
.case-study-company ul {
    padding-left: 24px;
    margin-top: 10px;
}
.case-study-company ul li {
    margin-bottom: 10px;
    line-height: 1.6;
}

/* ===== Stalled Growth (Challenge) visuals ===== */
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; width: 100%; }
@media(max-width:900px){ .row { grid-template-columns: 1fr; } }
.card { background:#fff; border:1px solid #e5e7eb; border-radius: 12px; padding: 20px; box-shadow: 0 4px 15px rgba(0,0,0,.06); }
.small { font-size: 12px; }
.muted { color: #64748b; }
.legend { display:flex; gap:12px; flex-wrap:wrap; }
.legend .dot { width:10px; height:10px; border-radius:999px; display:inline-block; margin-right:6px; }
.chart-box { background:#ffffff; border-radius:12px; border:1px solid #e5e7eb; padding:14px; }
.list { display:grid; gap:8px; }
.list .item { display:flex; gap:10px; align-items:flex-start; background:#fbfdff; padding:12px; border-radius:12px; border:1px solid #e5e7eb; }
.chart-box .list .item .item { border: none; width: 100%; padding: 0; background: transparent; gap: 8px; margin-top: 35px; padding-top: 0; border-top: none; }
.chart-box .list .item .item > .small:first-child { width: 90px !important; }
.chart-box .list .item .item > .small:last-child { width: 48px !important; text-align: right; }
.chart-box .list .item .item .progress { flex: 1 1 auto; min-width: 0; }
.chart-box .list .item .item .progress { width: 100%; }
.case-study-content .list .item svg { width:32px; height:32px; }
.two-col { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
@media(max-width:900px){ .two-col { grid-template-columns:1fr; } }
.progress { height:10px; border-radius:999px; background:#ffffff; overflow:hidden; border:1px solid #e5e7eb; display:flex; }
/* Projected outcomes pills use default height */
/* (removed custom height override) */
/* Projected outcomes pills use the default rounded .progress */
.progress > span { display:block; height:100%; background:linear-gradient(90deg,#00d082,#008f97); }
.progress > span.base { background:#e5e7eb; }
.progress > span.lift { background:linear-gradient(90deg,#00d082,#008f97); }

.case-study-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
    padding: 40px 0;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.stat-item h3 {
    font-size: 2.5em;
    color: #42a5f5;
    margin-bottom: 10px;
    font-weight: 700;
}

.stat-item p {
    color: #666;
    font-size: 1.1em;
    font-weight: 600;
}

/* Call to Action Section Styling */
.cta-section {
    background-color: #bbdefb; /* Very light blue background for CTA */
    color: #2c3e50; /* Dark text for contrast */
    padding: 100px 0;
}

.cta-section h2 {
    color: #2c3e50; /* Dark heading */
    margin-bottom: 25px;
}

.cta-section p {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: #444;
}

.cta-section .btn {
    background-color: #2196f3; /* Stronger blue for CTA button */
    color: #fff;
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

.cta-section .btn:hover {
    background-color: #1976d2;
}

/* Contact Form Styling (added) */
form {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}
form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
}
form input, form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1em;
}
form button {
    background-color: #2196f3;
    color: #fff;
    padding: 14px 28px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    transition: background-color 0.3s ease, transform 0.2s ease;
}
form button:hover {
    background-color: #1976d2;
    transform: translateY(-2px);
}

/* Footer Styling */
footer {
    background-color: #455a64; /* Dark blue-gray background */
    color: #e0e0e0; /* Light gray text */
    padding: 40px 0; /* More padding */
    text-align: center;
    font-size: 0.95em;
}

.social-links {
    margin-top: 15px;
}

.social-links a {
    color: #e0e0e0; /* Light gray links */
    text-decoration: none;
    margin: 0 15px;
    transition: color 0.3s ease; /* Smooth transition for hover effect */
}

.social-links a:hover {
    color: #42a5f5; /* Blue on hover */
}

/* Media Queries for Responsiveness: Adjusts layout for different screen sizes */
@media (max-width: 992px) {
    .hero-section h1 {
        font-size: 3em;
    }
    .hero-section p {
        font-size: 1.2em;
    }
    h2 {
        font-size: 2.4em;
    }
    h3 {
        font-size: 1.6em;
    }
    .service-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 80px 0;
    }
    .hero-section h1 {
        font-size: 2.5em; /* Smaller headline on tablets */
    }
    .hero-section p {
        font-size: 1.1em;
    }
    h2 {
        font-size: 2em; /* Smaller section headings on tablets */
    }
    h3 {
        font-size: 1.4em;
    }
    section {
        padding: 70px 0;
    }
    .about-section ul li {
        font-size: 1em;
    }
    .service-grid {
        grid-template-columns: 1fr; /* Stacks service items vertically on smaller screens */
    }
    .service-item {
        padding: 30px;
    }
}

@media (max-width: 480px) {
    .hero-section h1 {
        font-size: 2em; /* Even smaller headline on mobile phones */
    }
    .hero-section p {
        font-size: 1em;
    }
    .btn {
        padding: 15px 25px;
        font-size: 0.9em;
    }
    h2 {
        font-size: 1.8em;
    }
    h3 {
        font-size: 1.2em;
    }
    section {
        padding: 50px 0;
    }
    .about-section ul li {
        padding-left: 25px;
    }
    .about-section ul li::before {
        font-size: 1.1em;
    }
}

/* Horizontal process steps with numbered circles + dotted connectors */
.process { list-style: none; margin: 0; padding: 0; }
.process-horizontal {
  display: grid;
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  gap: 28px;
  align-items: stretch; /* equal height cards so deliverables align */
}

.process-horizontal .step { position: relative; padding-right: 16px; text-align: left; display: flex; flex-direction: column; }
.process-horizontal .step-head { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; flex-wrap: wrap; }

.process-horizontal .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #00d082;   /* brand accent */
  color: #00d082;
  font-weight: 700;
  background: #f6fffb;
  padding: 0; /* prevent oval from padding */
  box-sizing: border-box;
  font-size: 16px;
  flex: 0 0 40px; /* prevent shrinking/stretching */
  aspect-ratio: 1 / 1; /* enforce perfect circle */
}

.process-horizontal .step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 22px;               /* align with center of the 40px circle (approx) */
  left: 52px;              /* circle (40) + gap (12) */
  right: -20px;            /* extends through the grid gap toward next card */
  border-top: 1px dotted rgba(15, 23, 42, 0.35); /* very thin dotted line */
  height: 0;
  pointer-events: none;
}

/* Tweak step headings within process to be smaller and balanced */
.process-horizontal .step-head h3 {
  font-size: 1rem;
  margin: 0;
  flex-basis: 100%; /* force title to a new line below the connector */
  margin-top: 12px;
  white-space: nowrap; /* keep titles like "Execution, Delivery & Review" on one line */
}


/* Responsive: stack vertically and hide the horizontal connector on small screens */
@media (max-width: 900px) {
  .process-horizontal { grid-template-columns: 1fr; }
  .process-horizontal .step { padding-right: 0; }
  .process-horizontal .step:not(:last-child)::after { display: none; }
  .process-horizontal .step-head h3 { white-space: normal; } /* allow wrapping on small screens */
}

/* Deliverables line: full text, pinned to bottom of each step */
.process-horizontal .small.muted {
  color: #475569; /* slightly darker than default muted */
  margin-top: auto; /* push deliverables to bottom of flex column */
  padding-top: 10px; /* add spacing above the deliverables row */
}

