/* Global Styles for WorkMoves Website */

/* 1. CSS VARIABLES (DESIGN TOKENS) */
:root {
  /* COLOR PALETTE */
  --color-text-dark: #3F3F3F;
  --color-text-light: #FFFFFF;

  --color-teal-dark: #00817E;
  --color-teal-medium: #5DAAB0;
  --color-teal-button: #83BEC3;
  --color-teal-light: #AAD3D6;
  --color-teal-extralight: #C4E0E2;
  --color-teal-faint: #D2E2E4;

  --color-header-bg: #9ACACE; /* Transparency will be handled with rgba */
  --color-white: #FFFFFF;
  --color-black: #000000;
  --color-grey-tagline: #555555;

  /* WARM NEUTRALS */
  --color-sand: #F2EFE9; /* Warmer, more 'oatmeal' natural tone */
  --color-sand-darker: #E5E0D5;

  /* Added for diagram management */
  --color-orbital-lines: rgba(0, 129, 126, 0.12); 

  /* TYPOGRAPHY */
  --font-main: 'Open Sans', sans-serif;
  --font-h1: 'Noto Serif', serif;
  --font-h2: 'Montserrat', sans-serif;

  /* FONT SIZES (using a responsive REM scale based on 16px root) */
  --fs-body: 1.1rem; /* 17.6px */
  --fs-h2: 1.75rem; /* 28px */
  --fs-h1: 3rem; /* 48px */
  --fs-small: 0.875rem; /* 14px */
  --fs-x-small: 0.75rem; /* 12px */
  --fs-button: 1rem; /* 16px */

  /* LAYOUT */
  --container-width: 1100px;
  --container-padding: 2rem;
  --para-margin: 1.5rem;
}

/* 2. GLOBAL RESETS AND BASE STYLES */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  font-size: var(--fs-body);
  color: var(--color-text-dark);
  background-color: #ffffff; /* UPDATED: White background for the body */
  line-height: 1.6;
  /* Body padding to prevent content from being hidden by fixed header */
  padding-top: 125px; /* Adjust this value based on the actual height of your header */
}

.main-content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.divider-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  /* Reset to solid white to remove blur */
  background: #ffffff;
  padding: 3.25rem 0; /* Perfectly even 3.25rem cushion above and below the line */
}

h1, h2, h3 {
  line-height: 1.2;
  font-weight: 700;
}

h1 {
  font-family: var(--font-h1);
  font-size: var(--fs-h1);
  color: var(--color-teal-dark); /* CHANGED: Teal color for headings */
}

h2 {
  font-family: var(--font-h2);
  font-size: var(--fs-h2);
  color: var(--color-teal-dark); /* CHANGED: Teal color for headings */
}

a {
  color: var(--color-teal-dark);
  text-decoration: underline; /* Standard: Underlined links */
  font-weight: 700; /* Standard: Bold links */
}

a:hover {
  text-decoration: none; /* Hover: Remove underline */
  color: var(--color-teal-medium);
}

img {
  max-width: 100%;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background-color: transparent;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

.performance-container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 82px;
  padding-right: 82px;
  margin-top: 0;
  margin-bottom: 0;
}

.desktop-only { display: inline; }
.mobile-show { display: none; }

/* 3. HEADER STYLES */
#main-header {
  background-color: #C2DFE2;
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-teal-extralight);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* Retaining a subtle shadow for depth */
}

#main-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px; /* Aligned with the main-content-wrapper width */
  padding-left: 1rem; /* Nudge logo right to align tagline */
  padding-right: 1rem; /* Nudge contact button left for symmetry */
}

.logo-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center; /* Center flex items (tagline) horizontally */
}

.logo-tagline {
  font-family: var(--font-main);
  font-style: italic;
  font-size: 0.75rem; /* Reduced from 0.875rem */
  color: var(--color-grey-tagline);
  margin-top: -0.2rem; /* Increased breathing room from -0.4rem */
  line-height: 1; /* Tighten line height to allow closer positioning */
}

.header-logo {
  height: 60px; /* Increased logo size */
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 1.3rem; /* Increased from 0.9rem to breathe better */
}

.nav-links a {
  text-decoration: none; /* Override global default */
  font-weight: 400; /* Reset weight (customize if needed) */
  color: var(--color-black);
  font-family: var(--font-h2);
  font-size: 0.9rem; /* Reduced from 0.95rem */
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  border-bottom: 2px solid transparent; /* Static height for stability */
  padding-bottom: 4px; /* Space for the underline */
}

.nav-links a:hover,
.nav-links a.active-nav-item {
  color: var(--color-teal-dark);
  text-decoration: none;
  border-bottom: 2px solid var(--color-teal-dark); /* The active indicator */
}

.mobile-break {
    display: none; /* Hidden on desktop */
}

.contact-button {
  background-color: var(--color-teal-dark);
  color: var(--color-white) !important;
  font-family: Arial, sans-serif; /* Match the rest of the menu */
  padding: 0.6rem 1.5rem; /* Slightly adjusted padding for Arial */
  border-radius: 5px;
  font-weight: 700; /* Keeping button bold for visibility */
  transition: background-color 0.2s ease-in-out;
}

.contact-button:hover {
  background-color: var(--color-teal-medium); /* Changed to match cta-button hover */
  color: var(--color-white) !important;
}

/* Dropdown Styles */
.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none; /* Hidden by default */
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--color-white);
  border: 1px solid var(--color-teal-extralight);
  border-radius: 5px;
  padding: 0.5rem 0;
  margin-top: 1rem;
  min-width: 200px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  list-style: none;
  z-index: 10;
}

.dropdown:hover .dropdown-menu {
  display: block; /* Show on hover */
}

.dropdown-menu li a {
  display: block;
  padding: 0.5rem 1rem;
  white-space: nowrap;
  font-size: var(--fs-x-small); /* Further decreased font size */
}

.dropdown-menu li a:hover {
  background-color: var(--color-teal-faint);
}

/* 4. HOME PAGE STYLES */

.hero-section {
  background-color: #ffffff;
  color: var(--color-text-dark); /* CHANGED: Dark text for contrast */
  padding: 0; /* Removed bottom padding to balance divider spacing */
  text-align: left;
}

.hero-images {
  display: flex;
  margin-bottom: 2.5rem; /* Increased margin for better separation from text */
  width: 100%;
}

.hero-image-placeholder {
  width: 33.334%; 
  height: 380px; /* Increased height from 200px for more impact */
  object-fit: cover;
}

.hero-image-center {
  object-position: 15% center; /* Shift focus further left to show more of the person */
}

.hero-section h1 {
  color: #000000; 
  font-size: 3.75rem;
  line-height: 1.1;
  letter-spacing: 1px;
}

.hero-section .subtitle {
  font-size: 1.5rem; /* Increased from 1.25rem */
  font-weight: 700; /* Added bold weight */
  font-style: italic;
  margin-top: 0.5rem;
  color: var(--color-teal-dark); /* Keep the teal color */
  letter-spacing: 0.5px; /* Added minimal kerning */
}

.hero-content {
  max-width: 950px; /* Increased from 800px */
}

.hero-content p {
  margin-top: 1rem; /* Slightly reduced from 1.5rem */
  margin-bottom: var(--para-margin);
  color: var(--color-text-dark);
}

.hero-content .quote {
  margin-top: 2rem;
  margin-bottom: 0; /* Reset to 0 to let the divider-wrapper control the space */
  font-style: italic;
  font-size: 1rem;
  color: var(--color-text-dark); /* CHANGED: Dark text for white background */
}

    .challenges-section {
        padding: 0 !important; /* Zeroed top/bottom padding to let the divider-wrapper control the gap */
        background-color: #ffffff;
        color: var(--color-text-dark); /* Default text color for this section */
    }

    .challenges-section .container {    max-width: 950px;
    text-align: left;
}

.challenges-section h1.full-width-heading,
.performance-section h1.full-width-heading {
    text-align: left;
    margin-top: 0; /* Zero top margin to prevent interference with the divider gap */
    margin-bottom: 2rem; /* Standardized to 2rem for more air */
    color: var(--color-teal-dark);
    font-size: var(--fs-h1); 
    font-family: var(--font-h1);
    line-height: 1.1; /* Tightened line-height to reduce visual gap */
}

.approach-section h1.full-width-heading {
    text-align: left;
    margin-bottom: 2.5rem; /* Increased from 1.5rem for more air */
    color: var(--color-teal-dark); 
    font-size: var(--fs-h1); 
    font-family: var(--font-h1);
    line-height: 1.1;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: -0.01em; /* Subtle tightening to fit on one line */
}

.about-section h2.full-width-heading,
.experience-section h2.full-width-heading {
    font-family: var(--font-h2);
    font-size: 1.75rem; /* Refined from 2rem */
    color: var(--color-black); 
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    text-align: left;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.2;
}

/* Styling for the two sub-headings */
.challenges-section .subtitle-italic,
.challenges-section .closing-statement {
    font-family: var(--font-h2); /* Montserrat */
    font-size: 1.3rem; /* Reduced to fix line breaks */
    font-weight: 700; /* Bold */
    font-style: normal; /* REMOVED Italic */
    color: var(--color-black); /* CHANGED to Black */
    background-color: transparent;
    padding: 0;
    margin: 1rem 0; /* REDUCED vertical margin */
    display: block;
    letter-spacing: 1px; /* ADDED: for readability */
    line-height: 1.2; /* TIGHTENED: Reduced line spacing for large text */
}

.challenges-section ul {
    list-style: none; /* Remove default bullets */
    padding-left: 0;
    text-align: left;
    margin: 0; 
}

/* Set bullet points and the paragraph after them to dark grey */
.challenges-section ul + p {
    color: var(--color-text-dark);
    margin-top: 2rem; /* Match spacing between bullets */
}

.challenges-section ul li {
    position: relative; /* Establish context for the custom bullet */
    color: var(--color-text-dark);
    font-size: 1.1rem; 
    padding-bottom: 2rem; 
    padding-left: 1.5rem; /* Space for the dot */
}

/* The Option B: Minimalist Dot (matches site-wide standard) */
.challenges-section ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 6px;
    height: 6px;
    background-color: var(--color-teal-medium);
    border-radius: 50%;
}

.challenges-section ul li:last-child {
    padding-bottom: 0;
}

/* Match spacing between paragraphs */
.challenges-section .closing-statement {
    margin-top: 2rem;
}

/* ADDED: Two-column layout styles */
.two-column-layout {
    display: flex;
    align-items: center; /* Changed to center to align content vertically */
    gap: 2rem;
}

.two-column-layout .text-content {
    flex: 2; /* Text takes up 2/3 of the space */
}

.two-column-layout .image-content {
    flex: 1; /* Images take up 1/3 of the space */
    display: flex;
    flex-direction: column;
    gap: 1rem; /* Space between images */
}

.two-column-layout .image-content img {
    width: 100%;
    height: 185px; /* Increased height to better match text column height */
    object-fit: cover; /* Prevents distortion */
    border-radius: 5px;
}

.cta-section {
    padding: 0 0 1.5rem; /* Adjusted padding to reduce space after divider */
    text-align: center;
    background-color: #ffffff;
}

.final-section-padding {
    padding-bottom: 3.5rem !important; /* Standardized to match other pages */
}

.first-section-padding {
    padding-top: 4rem !important; /* Forces top padding even when section defaults are 0 */
}

.cta-section p {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-teal-dark);
    margin-bottom: 2.5rem; /* Increased to 2.5rem to match divider spacing */
}

.divider {
    border: 0;
    height: 1px;
    background-color: var(--color-teal-dark);
    opacity: 0.6;
    width: calc(var(--container-width) - (2 * var(--container-padding)));
    margin: 0 auto; /* Removed vertical margins to rely on wrapper padding */
}

.cta-button {
    display: inline-block;
    background-color: var(--color-teal-dark);
    color: var(--color-white) !important; /* Force white text */
    padding: 0.75rem 2rem;
    border-radius: 5px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}

.cta-button:hover {
    background-color: var(--color-teal-medium);
    color: var(--color-white) !important;
    text-decoration: none;
}

.mobile-slice-image {
    display: none; /* Hidden on desktop */
}

/* 5. PERFORMANCE PAGE STYLES */

.performance-section {
    padding: 0; 
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    background: #ffffff;
}

.pillar-row {
    display: flex;
    align-items: flex-start; 
    gap: 3rem; /* Reduced from 4rem */
    justify-content: center; /* Center the two columns */
    margin: 0; 
    padding-top: 5rem; 
    padding-bottom: 0.8rem;
    scroll-margin-top: 130px; /* Offset for desktop fixed header */
}

.pillar-row.reverse-layout {
    flex-direction: row-reverse;
}

/* Fixed Width Column for Image/Stats */
.pillar-info-block {
    flex: 0 0 300px; /* Reduced to 300px to restore significant margin air */
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start; 
}

.pillar-header-box {
    position: absolute;
    top: -4.2rem; /* Nudged higher to ensure it's not touching the image */
    left: 25%;
    width: 700px; 
    background-color: transparent;
    padding: 1.5rem 2rem 1.5rem 6rem; /* Maintained horizontal indentation */
    z-index: 20;
    display: flex;
    justify-content: flex-start; 
    align-items: center;
}

/* Pseudo-element for the transparent brushstroke */
.pillar-header-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('public/Brushstroke for Pillar headings - 1000x200px.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    opacity: 0.45; /* Lightened to make it more subtle and clear the text */
    z-index: -1; /* Behind the text */
}

/* For the Zig-Zag (Reverse) Rows */
.pillar-row.reverse-layout .pillar-header-box {
    left: auto;
    right: 40%; /* Moved left (further from right edge) */
    justify-content: flex-end;
    padding: 1.5rem 12rem 1.5rem 2rem; /* Increased right padding to push text left */
}

.pillar-header-box h2 {
    margin: 0; 
    line-height: 1; 
    font-size: 2.5rem; 
    color: #333333; /* Dark Grey instead of Solid Black */
    font-family: var(--font-h2);
    font-weight: 700; 
    letter-spacing: 2px; /* Added breathing room */
    text-align: left;
    position: relative; /* Ensure text sits above pseudo-element */
    z-index: 1;
}

.pillar-row.reverse-layout .pillar-header-box h2 {
    text-align: right;
}

/* ... existing code ... */

/* Align ALL Pillar Images with Subheadings */
.pillar-image {
    width: 300px; /* Width back to original for more white space */
    height: 367.25px; /* Reduced by 1 line (25.6px) for final fine-tuning */
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    margin-top: 5rem; /* Pushes images down to align with subheadings */
}

/* Specific Header Alignment Rules */

/* Standard Layout (Image Left): Anchor Left, Bridge Right */
.pillar-row:not(.reverse-layout) .pillar-header-box {
    left: -2rem; 
    padding-left: 3rem; 
    justify-content: flex-start;
}

/* Reverse Layout (Image Right): Anchor Right, Bridge Left */
.pillar-row.reverse-layout .pillar-header-box {
    right: -2rem; 
    left: auto;
    padding-right: 3rem;
    justify-content: flex-end;
}

.stats-box {
    background-color: #F0F7F8; /* Lighter teal for better readability */
    padding: 1.5rem; /* Slightly more breathing room */
    margin-top: 0.5rem; 
    width: 100%; /* Changed from 300px to 100% to stretch with content block */
    border-radius: 4px;
    font-size: 0.95rem; /* Standardized for desktop */
    box-shadow: 0 2px 10px rgba(0,0,0,0.05); /* Extremely subtle shadow */
    /* SHARPENING FIXES */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.stats-box h4 {
    color: #000000; /* Sharp black heading */
    font-family: var(--font-h2);
    font-weight: 700;
    font-size: 1.05rem; /* Standardized for desktop */
    line-height: 1.3; /* Clean spacing for wrapped text */
    margin-bottom: 0.6rem; /* Balanced gap matching paragraphs */
    text-align: left; 
    letter-spacing: 0.2px; /* Tiny bit of air between letters */
}

.stats-box sup {
    margin-left: 2px; /* A "smidgen" of space for citations */
    font-size: 0.6rem;
    line-height: 0;
    vertical-align: baseline;
    position: relative;
    top: -0.4em;
}

.stats-box p {
    margin-bottom: 0.6rem !important; /* Standardized spacing for desktop */
    color: var(--color-black);
    line-height: 1.3;
}

.stats-box p:last-child {
    margin-bottom: 0;
}

/* Fluid Content Column */
.pillar-content-block {
    flex: 1; /* Takes remaining space */
    max-width: 600px; /* Constrains line length for readability */
    padding-top: 5rem; 
}

/* Intro Section Unique Styling */
.intro-row {
    display: flex;
    align-items: flex-start;
    gap: 4rem; /* Synchronized with pillars */
    margin-top: 2rem;
}

.intro-text-content {
    flex: 1.2; /* Slightly narrower text column */
}

.intro-image-content {
    flex: 0.8; /* Smaller image footprint */
    display: flex;
    justify-content: flex-end; /* Push image toward right margin */
}

.intro-image-content img {
    max-width: 350px; /* Constrained image size */
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}



.pillar-subtitle {
    font-family: var(--font-h2);
    font-size: 1.5rem; /* Slightly smaller than before to create hierarchy */
    color: var(--color-teal-dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

.pillar-content-block p {
    margin-bottom: var(--para-margin);
    line-height: 1.6;
}

/* Intro Section Specifics */
.intro-text-content p {
    margin-bottom: 1.5rem; /* Spacing between paragraphs */
}

.pillar-list {
    list-style: none;
    padding-left: 1.2rem; /* Match Challenges list indentation */
    margin: 2rem 0 0 0; /* Removed bottom margin */
}

.pillar-list li {
    margin-bottom: 1.5rem; /* Match vertical spacing of Challenges bullets */
    font-weight: 700;
}

.pillar-list li a::before {
    content: "•";
    color: var(--color-teal-dark);
    margin-right: 1rem; /* Increased to 1rem for consistent visual spacing */
    display: inline-block;
}

/* 6. OUR APPROACH STYLES */

.approach-section {
    padding: 0; /* Zeroed bottom padding */
    background-color: #ffffff;
}

.approach-section .container {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 82px;
    padding-right: 82px;
}

.rros-advantage-block {
    margin-top: 0; /* Removed to match other sub-pages */
}

.rros-advantage-block h2 {
    font-family: var(--font-h2);
    font-size: 2rem; /* Reduced from 2.25rem for better hierarchy */
    color: #333333; /* Match Pillar dark grey */
    letter-spacing: 2px; /* Match Pillar spacing */
    margin-bottom: 1.5rem;
    text-align: left;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.rros-advantage-block p {
    margin-bottom: var(--para-margin);
    color: var(--color-text-dark);
    max-width: 900px; /* Constrained width */
    margin-left: auto; /* Center the text block */
    margin-right: auto; /* Center the text block */
}

.mobile-column-labels {
    display: none;
}

/* RROS Table Styles */
/* ADVANTAGES STAGGERED GRID */
.advantages-section-header {
    display: flex !important;
    justify-content: center !important;
    margin-top: 1.8rem !important; /* Decreased from 2.1rem to move the whole block up */
    margin-bottom: 1.5rem !important; 
    width: 100%;
    max-width: 900px;
    position: relative;
    border-bottom: 1px solid var(--color-teal-extralight);
    padding: 0 !important; /* Ensure no padding is pushing the line away */
}

.advantages-main-heading {
    position: relative;
    margin-bottom: 0.9rem !important;
    padding: 0 !important;
    line-height: 1; 
    font-family: var(--font-h2);
    font-weight: 700;
    font-size: 2.0rem !important;
    color: var(--color-teal-dark) !important;
    letter-spacing: 4px;
    text-align: center;
    white-space: nowrap;
    display: block; /* Ensure it takes full width for centering */
}

.advantages-staggered-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.advantages-main-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.advantages-circles-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.25rem; /* Tightened gap */
    margin-bottom: 2.2rem; /* Matched to sidebar margin-right for symmetry */
    width: 100%;
    max-width: 900px; /* Aligned with wrapper */
    padding: 1.5rem 2rem 3rem 2rem; 
    z-index: 1;
}

.advantages-circles-grid::before {
    content: "";
    position: absolute;
    top: 0; /* Reset so the wash doesn't touch the line */
    left: 0;
    right: 0;
    bottom: 0;
    /* Textured background for visual interest */
    background-image: url('public/RROS_advantage_background_jake-trotman.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.05;
    z-index: -1;
    border-radius: 12px;
}

.advantage-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
}

.advantage-item:hover .advantage-circle,
.advantage-item.active .advantage-circle {
    background-color: var(--color-teal-medium); /* Darker teal for contrast */
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    border-color: var(--color-teal-dark);
}

.advantage-item.locked .advantage-circle {
    background-color: var(--color-teal-dark); /* Even darker for locked state */
    transform: translateY(-8px) scale(1.1); /* Slightly more prominent than hover */
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
    border-color: var(--color-teal-dark);
}

.advantage-item.locked .advantage-circle span,
.advantage-item:hover .advantage-circle span,
.advantage-item.active .advantage-circle span {
    color: var(--color-white) !important;
}

.mobile-outcome-text {
    display: none; /* Hidden by default (desktop) */
}

/* Staggering the items */
.item-low {
    margin-top: 140px; 
}

.advantage-circle {
    width: 150px; 
    height: 150px;
    background-color: var(--color-teal-extralight);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.1rem;
    margin-bottom: 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid var(--color-teal-light);
}

.advantage-circle span {
    color: var(--color-text-dark);
    font-family: var(--font-h2);
    font-weight: 700; 
    font-size: 0.85rem;
    line-height: 1.2;
    -webkit-font-smoothing: antialiased;
}

/* MINIMALIST OUTCOME DISPLAY */
.outcome-display-panel {
    width: 100%;
    max-width: 900px; /* Aligned with grid and wrapper */
    margin: 1.5rem 0 0 0; /* Reduced margin to pull closer to image */
    background-color: transparent; 
    padding: 0;
    /* min-height removed to allow total collapse when empty */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    border: none;
    box-shadow: none;
    position: relative;
    border-top: 1px solid var(--color-teal-extralight); /* The static blueprint line */
}

#outcome-label {
    position: absolute;
    top: -2.7rem;
    left: 0;
    font-family: var(--font-h2);
    font-weight: 700;
    font-size: 1.4rem !important; /* Matched to advantages heading */
    color: var(--color-teal-dark);
    letter-spacing: 4px; 
    text-align: left;
    white-space: nowrap;
}
#outcome-text-area {
    width: 100%;
    padding-top: 1.5rem;
    transition: opacity 0.2s ease-in-out;
    /* min-height removed to allow collapse */
}

#outcome-text-area p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--color-text-dark);
    margin: 0;
    font-style: italic;
    text-align: left;
}

.default-msg {
    opacity: 0.4; /* Very subtle to indicate it's a prompt */
    font-size: 0.95rem !important;
    text-align: center !important; /* Horizontally centered */
    width: 100%;
}

.fade-in-text {
    animation: fadeInUp 0.4s ease-out;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .advantage-labels {
        display: none;
    }
    .advantages-circles-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .item-low {
        margin-top: 0;
    }
}

/* 7. RROS FRAMEWORK STYLES */

.framework-section {
    padding: 0; /* Removed all padding */
    background-color: #ffffff;
}

.framework-section .container {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 82px;
    padding-right: 82px;
}

.framework-heading {
    font-family: var(--font-h2);
    font-size: 2.25rem;
    color: var(--color-black);
    letter-spacing: 2px;
    margin-top: 5rem; /* Increased from 2.5rem to prevent crowding on hover */
    margin-bottom: 1.5rem; 
    text-align: left;
    line-height: 1.1;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.content-intro-wrapper {
    max-width: 900px;
    margin: 0 auto 1.5rem auto; /* Restored to a balanced 1.5rem */
}

.content-intro-wrapper p {
    margin-bottom: 1.5rem; /* Restored to standard 1.5rem */
    color: var(--color-text-dark);
}

.content-intro-wrapper h1, 
.content-intro-wrapper h2 {
    text-align: left;
    margin-bottom: 1.5rem; /* Restored to standard 1.5rem */
}

.content-intro-wrapper .full-width-heading,
.content-intro-wrapper .framework-heading {
    margin-bottom: 1.5rem; 
    margin-top: 0; /* Standardized look */
}

/* Added for smooth section pushing */
.framework-section {
    transition: all 0.3s ease-in-out;
}

.framework-content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.framework-content-wrapper p {
    margin-bottom: 1.5rem;
    color: var(--color-text-dark);
}

.process-note-box {
    background-color: #f5f5f5; /* Soft Grey */
    padding: 1.25rem 2rem;
    border-radius: 8px;
    max-width: 750px; /* Reduced width for a more compact look */
    margin: 2rem auto; /* Centered with vertical space */
    text-align: center;
    border-left: 4px solid var(--color-teal-medium); /* Brand accent */
}

.process-note-box p {
    font-style: italic;
    font-size: 0.9rem;
    color: var(--color-text-dark);
    margin-bottom: 0 !important; /* Overwrite default paragraph margin */
}

.framework-image-container {
    width: 100%;
    margin-top: 3rem;
    display: flex;
    justify-content: center;
}

.framework-main-graphic {
    max-width: 1000px;
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.enablers-label {
    display: none;
}

.diagram-header-label {
    position: absolute;
    top: 1.5rem; /* Happy medium */
    left: 0;
    width: 100%;
    text-align: center;
    font-family: var(--font-h2);
    font-size: 1.25rem;
    color: var(--color-black);
    letter-spacing: 2px;
    z-index: 10;
    font-weight: 700; /* Made bold */
    opacity: 0.9;
}

/* --- ORBITAL DIAGRAM STYLES --- */

.framework-diagram-container {
    position: relative;
    width: 100%;
    max-width: 1100px;
    height: auto;
    min-height: 850px; 
    margin: 1rem auto 2rem auto;
    overflow: hidden; 
    border: none;
    border-radius: 20px; 
    background-color: #FAF9F6; /* Lightened from var(--color-sand) for better contrast */
    box-shadow: inset 0 0 60px rgba(255, 255, 255, 0.5), 0 10px 40px rgba(0, 0, 0, 0.02);
}

/* Subtle Paper Grain Texture Overlay - More pronounced organic effect */
.framework-diagram-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Use a mix of grain and a very soft vignette for an organic feel */
    background-image: 
        url("data:image/svg+xml,%3Csvg viewBox='0 0 250 250' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.5' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E"),
        radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.01) 100%);
    opacity: 0.07; /* Reduced from 0.12 to lighten the overall feel */
    pointer-events: none;
    z-index: 1;
    mix-blend-mode: multiply;
}

/* --- CENTRAL ANCHOR STYLES --- */

.diagram-center {
    position: absolute;
    top: calc(50% - 8px); 
    left: calc(50% - 15px); /* Nudged left */
    transform: translate(-50%, -50%) rotate(-10deg);
    z-index: 10;
    text-align: center;
    width: 350px; 
}

.diagram-center h3 {
    font-family: var(--font-h1);
    font-size: 2.2rem;
    color: #9E9E9E; /* Lighter silver/grey */
    margin: 0;
    position: relative;
    padding: 0; 
    letter-spacing: 3px;
    display: inline-block;
    line-height: 1;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.9); /* Enhanced light glow */
}

.diagram-center .full-name {
    font-family: var(--font-main);
    font-style: italic;
    font-size: 0.85rem;
    color: #9E9E9E; /* Matching silver/grey */
    margin-top: -0.1rem; /* Nudged much closer */
    opacity: 0.9;
    letter-spacing: 0.5px;
}

.diagram-center h3 span {
    font-size: 1rem;
    vertical-align: super;
}

/* Main RROS Graphic - SVG Styles */
.main-orbital-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: visible;
}

/* Reusing .orbit-path from the services section for consistency (Teal, thin, crisp) */
/* If unique tweaks are needed, we can add a specific class here */

/* Remove old image class */

/* Individual Node Container */
.framework-node {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 200px; /* Width of the text area */
    z-index: 1;
    text-align: center;
}

.node-link {
    text-decoration: none !important;
    color: inherit !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    transition: transform 0.3s ease;
}

.node-link:hover {
    transform: scale(1.02);
}

/* Circular Image - Default Size */
.node-image-wrapper {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    overflow: hidden;
    margin-bottom: 0.4rem;
    background-color: #fff;
    transition: transform 0.3s ease;
}

.node-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.framework-node:hover .node-image-wrapper {
    transform: scale(1.05); /* Gentle zoom on hover */
    /* border-color removed */
}

/* Text Label - Clean floating style */
.node-label {
    background-color: transparent;
    padding: 0;
    margin-top: 0; /* Removed margin to close the gap */
    position: relative;
    z-index: 2;
    text-align: center;
}

.node-label h4 {
    display: inline-block;
    width: 210px; /* Fixed width for uniform brushstrokes */
    text-align: center;
    position: relative;
    font-family: var(--font-h2);
    font-size: 1rem;
    color: var(--color-black); 
    margin-bottom: 0.4rem;
    font-weight: 700;
    padding: 0.2rem 0; 
    z-index: 1;
    white-space: nowrap; /* Keep heading on one line */
}

/* Brushstroke Style for all Node Headings */
.node-label h4::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%; /* Fits the 210px width exactly */
    height: 130%;  /* Slightly increased for better vertical presence */
    background-image: url('public/Brushstroke for Pillar headings - 1000x200px.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    opacity: 0.6; 
    z-index: -1;
}

.node-label p {
    font-size: 0.8rem;
    color: var(--color-black);
    line-height: 1.3;
    margin-bottom: 0;
    max-width: 180px; /* Narrower margins for descriptive text */
    margin-left: auto;
    margin-right: auto;
}

/* --- NODE POSITIONS --- */
/* Organic Tweaks: Slight offsets and hierarchy */

/* 1. Knowledge (Top Left - Start) */
.node-2 {
    top: 135px; /* Shifted up 60px */
    left: 15%; /* Shifted -3% */
}

/* 2. Communication (Bottom Left) */
.node-5 {
    top: 460px; /* Shifted up 60px */
    left: 5%; /* Shifted -3% */
}

/* 3. Competence (Bottom Center/Right - Weighted) */
.node-3 {
    top: 505px; /* Shifted up 60px */
    left: 42%; /* Shifted -3% */
}

/* 4. Coherence (Mid Right) */
.node-4 {
    top: 320px; /* Shifted up 60px */
    left: 75%; /* Shifted -3% */
}

/* 5. Clarity and Purpose (Top Peak) */
.node-1 {
    top: 80px; /* Shifted up 60px */
    left: 55%; /* Shifted -3% */
}

/* --- NEW 4-STAGE ILLUSTRATION STYLES --- */

.rros-stages-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1200px; /* Aligned with main container */
    margin: 4rem auto;
}

.stages-row {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem; /* Space between pillars */
    margin-bottom: 2rem; /* Space between pillars and foundation */
    position: relative;
}

.stage-card {
    flex: 1;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08); /* Soft shadow */
    overflow: hidden; /* Contains the header color */
    display: flex;
    flex-direction: column;
    text-align: center;
    border: 1px solid #eee;
}

.stage-header {
    padding: 1rem;
    color: #ffffff;
    font-family: var(--font-h2);
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    height: 80px; /* Fixed height for alignment */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Graduated Header Colors */
.stage-1 .stage-header { background-color: #AAD3D6; color: #004d4b; } /* Lightest */
.stage-2 .stage-header { background-color: #83BEC3; color: #003a38; }
.stage-3 .stage-header { background-color: #5DAAB0; color: #ffffff; }
.stage-4 .stage-header { background-color: #00817E; color: #ffffff; } /* Darkest */

.stage-body {
    padding: 1.5rem;
    font-size: 0.9rem;
    color: var(--color-text-dark);
    line-height: 1.5;
}

.stage-body strong {
    color: var(--color-teal-dark);
}

/* Foundation Bar */
.foundation-bar {
    background-color: var(--color-teal-dark);
    color: #ffffff;
    padding: 1.5rem 2rem;
    border-radius: 8px;
    text-align: center;
    width: 100%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.foundation-bar p {
    margin-bottom: 0 !important;
    font-size: 1.1rem;
    font-weight: 400;
    max-width: none !important; /* Override section p constraint */
}

/* Flexibility Note */
.flexibility-note {
    text-align: center;
    font-style: italic;
    color: var(--color-grey-tagline);
    margin-top: 1rem;
    font-size: 0.9rem;
}
/* --- RROS GRID FRAMEWORK (NEW DESIGN) --- */

.rros-grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    width: 100%;
    max-width: 900px; /* Reduced from 1000px to match text margins */
    margin: 3rem auto 4rem auto; /* 4rem bottom margin for the 'sweet spot' balance */
    position: relative; /* For overlays */
    /* Removed shadow and radius for a flatter, cleaner look matching the 'lines' description */
    border: none;
}

.rros-cell {
    padding: 3rem 2.5rem;
    color: var(--color-black); /* Changed to Black */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
}

.rros-cell h3 {
    font-family: var(--font-h2);
    font-size: 1.35rem;
    margin-bottom: 1rem;
    color: var(--color-black); /* Changed to Black */
    font-weight: 700;
}

.rros-cell p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--color-text-dark); /* Dark Grey */
    margin-bottom: 0;
}

/* Checkerboard Lighter Teals - Very Soft Pastels */
.cell-1 { background-color: #E3F1F3; }  /* Top Left - Very soft teal */
.cell-2 { background-color: #F0F7F8; }  /* Top Right - Almost white teal */
.cell-3 { background-color: #F0F7F8; }  /* Bottom Left */
.cell-4 { background-color: #E3F1F3; }  /* Bottom Right */

/* Center Vertical Line - Shorter */
.rros-center-line {
    position: absolute;
    top: 10%; 
    bottom: 10%; 
    left: 50%; /* Aligns left edge to center grid line */
    width: 1px;
    background-color: var(--color-teal-dark); 
    z-index: 5;
    pointer-events: none;
    /* Removed transform to prevent sub-pixel blurring */
}

/* Horizontal Arrow Lines */
.rros-arrow-line {
    position: absolute;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--color-teal-dark);
    z-index: 10;
    pointer-events: none;
}

/* Arrowhead Styling using ::after - Now Solid Triangles */
.rros-arrow-line::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 10px; /* Shorter length */
    height: 14px; /* Greater width (vertical spread) */
    background-color: var(--color-teal-dark); /* Solid fill */
    z-index: 10;
}

/* Top Arrow: Right (Solid Triangle) */
.arrow-line-top {
    top: 0;
}
.arrow-line-top::after {
    right: 0; 
    transform: translateY(-50%);
    clip-path: polygon(0% 0%, 100% 50%, 0% 100%); /* Right-pointing triangle */
}

/* Middle Arrow: Left (Solid Triangle) */
.arrow-line-middle {
    top: 50%; 
}
.arrow-line-middle::after {
    left: 0; 
    transform: translateY(-50%);
    clip-path: polygon(100% 0%, 0% 50%, 100% 100%); /* Left-pointing triangle */
}

/* Bottom Arrow: Right (Solid Triangle) */
.arrow-line-bottom {
    bottom: 0;
}
.arrow-line-bottom::after {
    right: 0; 
    transform: translateY(-50%);
    clip-path: polygon(0% 0%, 100% 50%, 0% 100%); /* Right-pointing triangle */
}

/* Hide original arrows if they exist */
.rros-arrow { display: none; }

/* Responsive: Stack on mobile */
@media (max-width: 768px) {
    .rros-grid-container {
        grid-template-columns: 1fr;
    }
    
    .rros-center-line {
        display: none; 
    }
    
    .arrow-line-middle {
        top: auto;
        bottom: 50%; /* Just valid logic for mobile separation if needed, or hide */
        display: none;
    }
}

/* --- OUR SERVICES STYLES (VERTICAL ORBITAL FLOW) --- */

.services-section {
    padding: 0 0 0 0; /* Removed bottom padding to rely on divider margin */
    background-color: #ffffff;
}

.services-section .container {
    width: 100%;
    max-width: 1200px; /* Aligned with general content width */
    margin-left: auto;
    margin-right: auto;
    padding-left: 82px;
    padding-right: 82px;
}

.services-intro-row {
    display: flex;
    gap: 4rem;
    align-items: flex-start; /* Align tops for a cleaner header look */
    margin-bottom: 4rem;
    width: 100%;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.services-intro-text {
    flex: 1.8; /* Significantly wider text column */
    text-align: left;
}

.services-intro-visual {
    flex: 1; /* Narrower visual column */
    display: flex; 
    justify-content: flex-end;
}

.services-header-image {
    width: 100%;
    max-width: 320px; /* Narrower width */
    height: 340px; /* Adjusted to match the vertical height of the paragraphs */
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.services-intro-text p {
    margin-bottom: 1.5rem; 
    color: var(--color-text-dark);
    line-height: 1.6;
}

.services-intro-text p:last-child {
    margin-bottom: 0; 
}

/* Ensure Heading Aligns with Content */
.services-section h1.full-width-heading {
    font-family: var(--font-h1);
    font-size: var(--fs-h1);
    color: var(--color-teal-dark);
    margin-bottom: 1.5rem;
    text-align: left;
    line-height: 1.1;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* ... (intermediate code) ... */

/* Service Row Container */
.service-row {
    display: flex;
    gap: 2rem; /* Reduced gap to pull text left */
    margin-bottom: 4rem; /* Increased to 4rem for more breathing room */
    position: relative;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Visual Side (Left) - Flush with Paragraphs */
.service-visual {
    flex: 0 0 80px; /* Narrower column */
    display: flex;
    justify-content: flex-start; /* Align node to left edge */
    position: relative;
    overflow: visible; /* Ensure terminal dot isn't clipped */
}

/* The Vertical Connecting Line */
.service-visual::before {
    content: "";
    position: absolute;
    top: 30px; 
    bottom: -4rem; /* Match the new margin */
    left: 30px; /* Centered behind the 60px node */
    width: 1px;
    background-color: var(--color-teal-extralight);
    z-index: 0;
}

/* The Terminal Shape on the Last Item */
.service-row-final .service-visual::before {
    display: block; 
    bottom: 1.2rem; /* Nudged up slightly more */
}

.service-row-final .service-visual::after {
    content: "";
    position: absolute;
    bottom: 0.7rem; /* Nudged up from 0 to align with text line */
    left: 24px; 
    width: 12px;
    height: 12px;
    background-color: #ffffff; 
    border: 2px solid var(--color-teal-medium);
    border-radius: 50%;
    z-index: 1;
    display: block; 
}

/* The Terminal Shape on the Last Item */
.service-row:last-child .service-visual::before {
    display: block; 
    bottom: 1.2rem; 
}

.service-row:last-child .service-visual::after {
    content: "";
    position: absolute;
    bottom: 0.7rem; 
    left: 24px; 
    width: 12px;
    height: 12px;
    background-color: #ffffff; 
    border: 2px solid var(--color-teal-medium);
    border-radius: 50%;
    z-index: 1;
}

/* The Orbital Node Graphic */
.service-node {
    width: 60px;
    height: 60px;
    position: relative;
    z-index: 1; /* Above the line */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -0.25rem; /* Nudge up to align center with heading */
}

/* Central Circle */
.node-core {
    width: 60px;
    height: 60px;
    flex-shrink: 0; /* Prevents oval stretching */
    background-color: var(--color-teal-dark);
    border-radius: 50%;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-h2);
    font-weight: 700;
    font-size: 1.25rem;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0, 129, 126, 0.2);
}

/* SVG Path Styling */
.orbit-path {
    fill: none !important;
    stroke: #00817E; /* Teal Dark */
    stroke-opacity: 0.3; /* Increased for better visibility */
    stroke-width: 1.2; /* Slightly thicker */
    vector-effect: non-scaling-stroke;
}

/* Text Content Side (Right) */
.service-content {
    flex: 1;
    padding-top: 0; /* Align flush with top */
}

.service-content h3 {
    font-family: var(--font-h2);
    font-size: 1.75rem;
    color: var(--color-teal-dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

.service-intro-bold {
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: 1.5rem;
    display: block;
}

.service-bullets {
    list-style: none;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.4s ease, margin 0.4s ease;
    pointer-events: none;
}

.service-bullets.expanded {
    max-height: 1000px; /* Large enough for content */
    opacity: 1;
    pointer-events: auto;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.read-more-toggle {
    background: none;
    border: none;
    color: var(--color-teal-dark);
    font-family: var(--font-h2);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    padding: 0;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.read-more-toggle:hover {
    color: var(--color-teal-medium);
}

.read-more-toggle::after {
    content: "▼";
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.read-more-toggle.active::after {
    transform: rotate(180deg);
}

.service-bullets li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-text-dark);
    font-size: 1.1rem; /* Increased to match standard body font size */
}

.service-bullets li strong {
    color: #000000;
}

/* Custom Bullet: Small Teal Dash or Dot */
.service-bullets li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 6px;
    height: 6px;
    background-color: var(--color-teal-medium);
    border-radius: 50%;
}

.services-footer {
    margin-top: 1.5rem; /* Nudged up from 2.5rem */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem; /* Reduced from 3.5rem to nudge button up further */
    width: 100%;
}

.signature-brush {
    position: relative;
    width: 100%;
    max-width: 800px;
    padding: 2rem 1rem;
    min-height: 120px; /* Ensure enough height for the brush */
    display: flex;
    justify-content: center;
    align-items: center;
}

.signature-brush::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Simplified filename */
    background-image: url('public/brushstroke.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    opacity: 0.45; /* Lightened to prevent competition with text */
    z-index: 0; /* Changed from -1 to 0 to sit on top of white bg */
}

.tagline-italic {
    font-family: var(--font-main);
    font-style: italic;
    font-weight: 700; 
    font-size: 1.5rem; 
    color: #000000; 
    margin-bottom: 0;
    text-align: center;
    line-height: 1.3;
    position: relative; /* Ensure stacking */
    z-index: 1; /* Sit above the brushstroke */
}

.footer-action {
    width: 100%;
    max-width: 900px; /* Match content width */
    display: flex;
    justify-content: flex-end; /* Align button to the right */
    padding-right: 0;
}

/* 8. ABOUT US SECTION STYLES */
.about-section {
    padding: 0 0 0 0;
    background-color: #ffffff;
}

.about-section h1.full-width-heading {
    margin-bottom: 1.5rem !important; /* Fixed back to 1.5rem as agreed */
    font-size: var(--fs-h1);
    font-family: var(--font-h1);
    color: var(--color-teal-dark);
    line-height: 1.1;
}

.about-section .container,
.experience-section .container {
    max-width: 900px; /* Constrained for readability */
}

.about-content-block {
    margin-bottom: 3rem;
}

.about-content-block p {
    margin-bottom: var(--para-margin);
    color: var(--color-text-dark);
    line-height: 1.6;
}

.about-text p:first-child {
    margin-top: 0;
}

.about-text p {
    margin-bottom: 1.5rem; /* Explicitly set for columned text */
}

.about-content-block p:last-child {
    margin-bottom: 0;
}

/* About Intro Columns */
.about-intro-columns {
    display: flex;
    gap: 3rem;
    align-items: center; /* Centered images vertically relative to text */
    margin-top: 0 !important; /* Ensure no extra space above columns */
    margin-bottom: 2rem;
}

.about-text {
    flex: 0 0 70%;
}

.about-images {
    flex: 0 0 30%;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    align-items: center;
}

.partner-card {
    text-align: center;
}

.partner-photo-wrapper {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    background-color: #F0F7F8; /* Fallback */
    border: none;
    margin-bottom: 0.75rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
}

/* Blurred Nature Background Overlay */
.partner-photo-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('public/partner_photo_background_forest.jpg');
    background-size: cover;
    background-position: center;
    filter: blur(4px) brightness(1.1) saturate(0.6); /* Reduced saturation to make greens less vibrant */
    z-index: 1;
    transform: scale(1.1); /* Prevent blurred edges from leaking */
}

.partner-photo {
    width: 180px;
    height: 180px;
    border: none;
    border-radius: 50%;
    object-fit: cover;
    position: relative;
    z-index: 2; /* Sits ABOVE the wash */
}

/* Individual Photo Adjustments */
.angela-photo img,
.ryan-photo img {
    transform: none !important;
}

.partner-card .partner-name {
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: 0 !important; /* Force removal of margin */
}

.partner-card .partner-title {
    font-style: italic;
    font-size: 0.85rem;
    color: var(--color-grey-tagline);
    margin-top: -0.2rem !important; /* Nudge up closer to name */
    line-height: 1.2 !important;
}

.proservices-note {
    margin-top: 2rem;
    font-size: 0.9rem;
    color: var(--color-text-dark);
    font-style: italic;
    border-top: 1px solid var(--color-teal-extralight);
    padding-top: 1rem;
}

.text-teal-bold {
    color: var(--color-teal-dark);
    font-weight: 700;
}

/* 9. OUR EXPERIENCE SECTION STYLES */
.experience-section {
    padding: 0 0 3.5rem 0;
    background-color: #ffffff;
}

.experience-list {
    max-width: 900px;
    margin: 0; /* Margin handled by container */
    display: flex;
    flex-direction: column;
    padding-left: 0;
}

/* NEW: Two-column layout */
.experience-two-column {
    display: flex;
    gap: 4rem; /* Gap between text and image */
    align-items: flex-start;
    margin: 3rem auto;
}

.experience-left-content {
    flex: 0 0 65%; /* Content takes 65% */
}

.experience-right-visual {
    flex: 1; /* Takes remaining space */
    align-self: stretch; /* Stretches to match the height of the left column */
}

.experience-image-container {
    height: 100%;
    position: relative; /* Ensure absolute children are contained */
}

.experience-image {
    width: 100%;
    height: 100%; /* Fills the entire stretched column */
    object-fit: cover; /* Maintains integrity by cropping rather than stretching */
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    filter: saturate(0.65) brightness(0.95); /* More significant muting */
    opacity: 0.9; /* More noticeable softening */
}

/* Slideshow Overrides */
.experience-image.slide {
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 1.5s ease-in-out; /* Slow, elegant fade */
}

.experience-image.slide.active {
    opacity: 1 !important; /* Force visibility for active slide */
    z-index: 2;
}


.image-caption-italic {
    font-style: italic;
    font-size: 0.85rem;
    color: var(--color-teal-dark);
    line-height: 1.4;
    text-align: right;
}

/* Experience Row Container */
.experience-row {
    display: flex;
    gap: 3rem; /* Indentation gap */
    position: relative;
}

/* Visual Side (Left) */
.experience-visual {
    flex: 0 0 12px; /* Narrow column exactly for the 12px dot */
    display: flex;
    justify-content: center;
    position: relative;
}

/* The Vertical Connecting Line - Updated to full height */
.experience-visual::before {
    content: "";
    position: absolute;
    top: 0; 
    bottom: 0; 
    left: calc(50% - 0.5px); 
    width: 1.2px; 
    background-color: var(--color-teal-medium); 
    opacity: 0.4;
    z-index: 0;
}

/* Terminal Dots (Top and Bottom) */
.experience-dot {
    width: 12px;
    height: 12px;
    background-color: #ffffff;
    border: 2px solid var(--color-teal-medium);
    border-radius: 50%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%); 
    z-index: 2;
}

.experience-row:first-child .experience-dot {
    top: 0; /* Align with section start */
}

.experience-row-final .experience-dot {
    bottom: 0; /* Align with section end */
    top: auto;
}

/* terminal logic for the last item - full stretch */
.experience-row-final .experience-visual::before {
    bottom: 0;
    height: 100%; 
}

/* Text Content Side (Right) */
.experience-content {
    flex: 1;
    padding-bottom: 2.5rem; /* Reduced from 4rem */
}

.experience-row:last-child .experience-content {
    padding-bottom: 0;
}

.experience-header {
    position: relative;
    padding: 0; 
    margin-bottom: 0.75rem; /* Reduced from 1.5rem */
    display: flex;
    align-items: center;
    min-height: 60px; /* Reduced from 80px to pull content up */
    z-index: 1;
}

.experience-header::before {
    content: "";
    position: absolute;
    top: 50%; /* Center vertically in the 60px box */
    left: -1rem; 
    transform: translateY(-50%);
    width: 100%;
    max-width: 500px; 
    height: 60px; /* Reduced from 80px */
    background-image: url('public/Brushstroke for Pillar headings - 1000x200px.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    opacity: 0.4;
    z-index: -1;
}

.experience-row:last-child .experience-content {
    padding-bottom: 0;
}

.experience-header {
    position: relative;
    padding: 0; /* Flush with line start */
    margin-bottom: 0.75rem; /* Reduced from 1.5rem */
    display: flex;
    align-items: center;
    z-index: 1;
}

.experience-header::before {
    content: "";
    position: absolute;
    top: 50%;
    left: -1rem; 
    transform: translateY(-50%);
    width: 100%;
    max-width: 500px; 
    height: 100%; 
    background-image: url('public/Brushstroke for Pillar headings - 1000x200px.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    opacity: 0.4;
    z-index: -1;
}

.experience-header h3 {
    font-family: var(--font-h2);
    font-size: 1.5rem;
    color: var(--color-black);
    margin: 0;
    font-weight: 700;
    letter-spacing: 1px;
}

.experience-intro {
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: 1rem; /* Reduced from 1.5rem */
    font-size: 1.1rem;
    line-height: 1.5;
}

.experience-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem; /* Reduced from 0.8rem */
}

.experience-bullets li {
    position: relative;
    padding-left: 1.5rem;
    font-size: 1.08rem; /* Fine-tuned to balance hierarchy with site-wide consistency */
    color: var(--color-text-dark);
    line-height: 1.4;
}

.experience-bullets li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 6px;
    height: 6px;
    background-color: var(--color-teal-medium);
    border-radius: 50%;
}

@media (max-width: 768px) {
    .experience-bullets {
        grid-template-columns: 1fr; /* Stack bullets on mobile */
    }
}

.experience-footer {
    max-width: 900px;
    margin: 3rem auto 0;
    text-align: left;
}

.experience-footer p {
    color: var(--color-text-dark);
    margin-bottom: 3.5rem; /* Increased to 3.5rem to balance with the section's bottom padding */
    font-size: 1.1rem;
}

.experience-actions {
    margin-top: 3rem; /* Increased from default */
    display: flex;
    justify-content: flex-end;
}

.success-stories-btn {
    background-color: transparent;
    color: var(--color-teal-dark);
    padding: 0;
    text-decoration: underline;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    transition: color 0.2s ease;
}

.success-stories-btn:hover {
    background-color: transparent;
    color: var(--color-teal-medium);
    text-decoration: none;
}

.success-stories-btn::after {
    content: " →";
    font-weight: 700;
}

.contact-right-btn {
    /* Standard contact button style inherited from .cta-button */
}

@media (max-width: 768px) {
    .experience-grid {
        grid-template-columns: 1fr;
    }
    
    .experience-actions {
        flex-direction: column;
        align-items: flex-start;
    }
}
    
/* 10. SATELLITE PAGE SPECIAL STYLES */

.contact-h1-brush {
    position: relative;
    z-index: 1;
    display: inline-block; /* Changed to inline-block to wrap the text */
    text-align: left;
}

.contact-h1-brush::before {
    content: "";
    position: absolute;
    top: 50%;
    left: -1rem;
    transform: translateY(-50%);
    width: 110%; /* Slightly wider than the text */
    height: 120%; 
    background-color: #F0F7F8; /* Using the preferred light teal wash color */
    border-radius: 4px;
    z-index: -1; /* Back to -1 since we want it behind the text */
    pointer-events: none;
}

.article-header {
    margin-bottom: 3rem;
}

.article-header h1 {
    font-size: 2.5rem;
    color: var(--color-teal-dark);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.article-body {
    line-height: 1.8;
    color: var(--color-text-dark);
    font-size: 1.1rem;
}

.article-body h2 {
    font-family: var(--font-h2);
    font-size: 1.8rem;
    color: var(--color-teal-dark);
    margin: 2.5rem 0 1.2rem;
}

.article-body p {
    margin-bottom: 1.5rem !important;
}

.article-footer {
    margin-top: 5rem;
    text-align: center;
}

.linkedin-trademark-note {
    margin-bottom: -1rem; /* Pulls the following concept statement up */
}

/* =========================================
   TABLET & LAPTOP ADJUSTMENTS (769px - 1100px)
   ========================================= */
@media (min-width: 769px) and (max-width: 1100px) {
    .header-logo {
        height: 50px; /* Smaller logo for more room */
    }
    
    .nav-links {
        gap: 0.75rem; /* Tighter gap */
    }
    
    .nav-links a {
        font-size: 0.8rem; /* Smaller font */
    }
    
    .contact-button {
        padding: 0.5rem 1rem; /* Smaller button footprint */
    }
}

/* =========================================
   MOBILE RESPONSIVENESS (Max-Width: 768px)
   ========================================= */
/* Mobile-only note for desktop-optimized content (Hidden by default) */
.desktop-view-note {
    display: none !important;
}

@media (max-width: 768px) {
    :root {
        --para-margin: 0.8rem;
    }

    /* 1. GLOBAL LAYOUT */
    body {
        padding-top: 155px; /* Increased from 140px to create white space sliver */
        margin: 0 !important;
        width: 100% !important;
        overflow-x: hidden !important;
        font-size: 1.0rem !important; /* Standardized mobile body font size */
        background-color: #f4f4f4 !important; /* Permanent light grey screen background */
    }

    .first-section-padding {
        padding-top: 2.5rem !important; /* Increased from 2rem for a bit more air */
    }

    .final-section-padding {
        padding-bottom: 2rem !important; /* Reduced from 3.5rem */
    }

    .last-section-padding {
        padding-bottom: 1.5rem !important;
    }

    /* Mobile-only note for desktop-optimized content */
    .desktop-view-note {
        display: block !important;
        text-align: center;
        font-family: var(--font-main);
        font-style: italic !important;
        font-size: 0.85rem;
        color: #333333 !important; /* Deeper dark grey */
        background-color: #F0F7F8;
        padding: 0.8rem 1rem;
        border-radius: 6px;
        margin-bottom: 2rem;
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
        line-height: 1.4;
    }

    .main-content-wrapper {
        padding-top: 0; 
        width: 92% !important; /* Consistent narrowed page width */
        margin: 0 auto !important; /* Centered layout */
        overflow-x: hidden !important;
        background-color: #ffffff !important; /* White page background */
        box-shadow: 0 0 20px rgba(0,0,0,0.05) !important; /* Subtle depth against grey bg */
    }

    /* Constrain Header and Footer to the same white box */
    #main-header,
    #main-footer {
        width: 92% !important;
        margin: 0 auto !important;
        left: 0;
        right: 0;
    }

    .container,
    .performance-container {
        padding-left: 1.4rem !important; /* Standardized for perfect symmetry */
        padding-right: 1.4rem !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .success-stories-container {
        padding-top: 2.5rem !important;
        padding-left: 1.4rem !important;
        padding-right: 1.4rem !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .category-block {
        margin-bottom: 1.5rem !important;
    }

    .divider-wrapper {
        display: none !important; /* Hiding horizontal dividers on mobile for a smoother vertical flow */
    }
    
    .divider {
        display: none !important;
    }

    /* PILLAR PAGE ADJUSTMENTS */
    .pillar-row {
        flex-direction: column !important;
        align-items: center;
        gap: 1.5rem;
        padding-top: 1.5rem !important; /* Balanced gap from divider above */
        padding-bottom: 1.5rem !important; /* Balanced gap from divider below */
        scroll-margin-top: 150px; /* Offset for taller mobile header */
    }

    .pillar-info-block {
        flex: 0 0 auto;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.25rem;
        margin-bottom: 1rem;
        padding: 0 1rem;
    }

    .pillar-header-box {
        flex: 0 0 auto;
        width: 100%;
        position: relative;
        top: 0 !important; /* Reset desktop negative offset */
        padding: 0.4rem 0 !important; /* Force tightened brushstroke height */
        justify-content: center !important;
        display: flex;
        margin-bottom: 1.25rem; /* Added gap between brushstroke and image */
        left: 0 !important;
        right: 0 !important;
        order: 1;
    }

    .pillar-row.reverse-layout .pillar-header-box {
        padding: 0.4rem 0 !important; /* Overriding desktop reverse-layout padding */
        justify-content: center !important;
    }

    .pillar-header-box h2 {
        font-size: 1.5rem !important;
        text-align: center !important;
        margin: 0;
        letter-spacing: 1px;
    }

    .pillar-image {
        flex: 0 0 auto;
        width: calc(100% + 2.8rem) !important; /* Compensates for 1.4rem padding on each side */
        max-width: none !important;
        margin-left: -1.4rem !important; /* Pulls exactly to the left edge */
        margin-right: -1.4rem !important; /* Pulls exactly to the right edge */
        height: 120px !important; /* Maintained slice height */
        object-fit: cover;
        margin-top: 0 !important;
        border-radius: 0 !important; /* Sharp edges for the full-width slice */
        order: 2;
    }

    .pillar-image-test {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        border-radius: 8px !important; /* Matches Challenges page rounded look */
        height: 120px !important; /* Tighter vertical height to match slices */
        object-fit: cover;
        order: 2;
    }

    .article-header h1 {
        font-size: 1.8rem !important;
    }

    .article-body {
        font-size: 1.0rem !important;
        line-height: 1.6 !important;
    }

    .article-footer {
        margin-top: 1.25rem !important;
    }

    .portfolio-invitation {
        margin-top: 1.5rem !important;
    }

    .success-stories-footer-btn {
        margin-top: 1.25rem !important;
        text-align: right !important;
    }

    .legal-section div[style*="text-align: right"],
    .credits-section div[style*="text-align: center"] {
        margin-top: 1.25rem !important;
    }

    .linkedin-trademark-note {
        margin-top: 1rem !important;
    }

    .hero-content p {
        font-size: 1.0rem !important;
    }

    .hero-content .quote {
        font-size: 0.85rem !important;
    }

    .challenges-section ul li {
        font-size: 1.0rem !important;
        padding-bottom: 1rem !important;
    }

    .pillar-content-block p,
    .hero-content p,
    .challenges-section p,
    .services-intro-text p,
    .about-content-block p,
    .experience-left-content p,
    .content-intro-wrapper p,
    .about-text p,
    .insights-welcome,
    .article-excerpt p,
    .success-stories-container p,
    .portfolio-invitation p {
        margin-bottom: var(--para-margin) !important;
        font-size: 1.0rem !important;
        line-height: 1.5;
    }

    .challenges-section ul li,
    .pillar-list li,
    .service-bullets li {
        padding-bottom: 0.5rem !important; /* Further reduced from 0.75rem */
        font-size: 1.0rem !important;
    }

    .pillar-content-block {
        text-align: left;
        padding-top: 0;
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 0.5rem; /* Tightened from 0.8rem */
    }

    .approach-section {
        padding-bottom: 1.25rem !important;
    }

    .framework-section {
        padding-top: 1.25rem !important;
    }

    .framework-heading {
        margin-top: 0 !important;
        font-size: 1.75rem !important; 
    }

    .content-intro-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        text-align: left !important;
    }

    .content-intro-wrapper p {
        font-size: 1.0rem !important;
        line-height: 1.5 !important;
        text-align: left !important;
    }

    .stats-box {
        width: 100% !important;
        max-width: 100% !important;
        margin-top: 0.2rem !important; /* Reduced from 1rem to tighten the gap */
        padding: 1rem !important;
        min-height: auto !important;
        display: flex;
        flex-direction: column;
        justify-content: center;
        order: 3;
    }

    .stats-box h4 {
        font-size: 0.95rem !important;
        margin-bottom: 0.4rem !important;
        line-height: 1.2;
    }

    .stats-box p {
        font-size: 0.9rem !important;
        line-height: 1.3 !important;
        margin-bottom: 0.45rem !important;
    }

    .diagram-header-label {
        display: none !important;
    }

    /* 2. HEADER & NAVIGATION */
    #main-header {
        padding: 0.5rem 0 0.8rem 0; 
    }

    #main-header .container {
        flex-direction: column;
        gap: 0.8rem;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.2rem 0.6rem;
        line-height: 1.2;
    }

    .nav-links li {
        margin: 0;
        padding: 0;
    }

    .mobile-break {
        display: block !important;
        flex-basis: 100%;
        height: 0;
    }

    .nav-links li a {
        padding: 0.2rem 0;
        font-size: 0.8rem;
    }

    .nav-links li {
        margin: 0;
    }

    .logo-tagline {
        margin-top: 0 !important; /* Remove the negative margin for mobile */
    }

    /* .cta-button { display: none; } - REMOVED to show section CTAs on mobile */

/* 3. HERO SECTIONS & GENERAL IMAGES */
    .hero-section {
        /* Removed padding-top: 0 !important to respect body padding */
    }

    .hero-images {
        flex-direction: column;
        gap: 0.5rem;
        margin-top: 0 !important;
    }

    .hero-image-placeholder {
        width: 100%;
        height: 150px; /* Reduced from 180px for a more compact start */
    }

    .hero-image-placeholder:nth-child(3) {
        display: none !important; /* Hide the third image on mobile */
    }

    .mobile-slice-image {
        display: block !important;
        width: 100% !important;
        height: 200px !important; /* Split the difference */
        object-fit: cover;
        object-position: center 15%; /* Adjusted focus for taller view */
        border-radius: 8px; 
        margin-bottom: 1.5rem;
    }

    .challenges-section ul li:last-child {
        padding-bottom: 0.25rem !important; /* Tightened gap to 'You sense the struggle' */
    }

    .challenges-section ul {
        margin-bottom: 0 !important; /* Eliminated gap after list to pull paragraph up */
    }

    p.transition-para {
        margin-top: 1.2rem !important; 
        margin-bottom: 1.2rem !important; /* Forcefully adding space */
    }

    .challenges-section .closing-statement {
        margin-top: 4rem !important; /* Further increased to ensure visible separation */
        font-size: 1.35rem !important; /* Increased for better mobile presence */
    }

    .services-header-image.mobile-slice-image {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important; /* Force removal of 450px constraint */
        height: 150px !important;
        object-fit: cover;
        object-position: center 40%;
        border-radius: 8px;
        margin-bottom: 1.5rem;
    }

    /* Reduce general image dominance on mobile */
    .services-header-image,
    .intro-image-content img,
    .experience-image {
        max-width: 280px !important; /* Cap width */
        height: 180px !important; /* Cap height */
        margin-left: auto;
        margin-right: auto;
        object-fit: cover;
    }

    .two-column-layout {
        flex-direction: column;
    }

    .two-column-layout .image-content {
        flex-direction: row;
        justify-content: center;
        width: 100%;
    }

    .two-column-layout .image-content img {
        height: 120px;
        width: 48%; /* Side-by-side on mobile */
    }

    h1.full-width-heading {
        font-size: 2rem !important; /* Reduced from 2.25rem for better mobile fit */
        word-wrap: break-word;
        line-height: 1.2;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        text-align: left !important;
    }

    .hero-section h1 {
        font-size: 2.5rem !important; /* Smaller hero title on mobile */
        margin-top: 1rem;
    }

    .hero-section .subtitle {
        font-size: 1.2rem !important;
        font-weight: 700 !important; /* Added bold weight for mobile too */
        letter-spacing: 0.3px !important; /* Added minimal mobile kerning */
    }

    .article-banner {
        height: 200px !important; /* Smaller banner on mobile */
    }

    /* 4. SERVICES PAGE */
    .services-intro-row {
        flex-direction: column;
        gap: 2rem;
        margin-bottom: 1.5rem !important; /* Reduced from 4rem to pull sections up */
    }

    .services-intro-visual {
        width: 100%;
        margin-left: 0;
    }

    .service-row {
        display: flex !important;
        flex-direction: column !important;
        gap: 0.5rem;
        padding-left: 0;
        margin-bottom: 2rem !important; /* Reduced from 4rem for mobile efficiency */
    }

    .service-visual {
        display: none !important; /* Hide the old top-centered node container */
    }

    .service-content h3 {
        display: flex;
        align-items: center;
        gap: 1rem;
        font-size: 1.4rem !important; /* Marginally stretched for better balance */
        text-align: left;
    }

    .category-heading {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 375px !important;
        margin: 0 auto 1.5rem auto !important;
        font-size: 1.2rem !important;
        letter-spacing: -0.1px !important; /* Slight squeeze to fit the brush */
        padding: 0.8rem 0 !important;
        text-align: center !important;
        white-space: nowrap !important;
    }

    .category-heading::before {
        left: -3% !important;
        width: 106% !important;
        height: 55px !important; 
        top: 50% !important;
        transform: translateY(-50%) !important;
        background-size: 100% 100% !important; /* Ensure image stretches to full width */
    }

    /* Specific adjustment to keep the longest title on one line */
    .service-content h3[data-number="02"] {
        font-size: 1.3rem !important;
    }

    .signature-brush {
        min-height: 80px !important; /* Reduced height */
        padding: 1rem 0.5rem !important; /* Tighter padding */
    }

    .tagline-italic {
        font-size: 1.0rem !important; /* Reduced for better mobile fit */
    }

    /* Create the inline node using a pseudo-element or a repositioned element */
    .service-content h3::before {
        content: attr(data-number);
        flex: 0 0 40px;
        width: 40px;
        height: 40px;
        background-color: var(--color-teal-dark);
        color: white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.9rem;
        font-family: var(--font-h2);
        font-weight: 700;
        letter-spacing: 1px; /* Added minimal kerning */
    }

    .service-intro-bold {
        font-size: 1.0rem !important;
        margin-bottom: 1.0rem !important; /* Increased gap before bullets */
    }

    .service-bullets li,
    .experience-bullets li {
        font-size: 1.0rem !important;
        margin-bottom: 0.3rem !important; /* Reduced from 0.5rem */
    }

    .experience-row {
        margin-bottom: 2rem !important; /* Increased from 0.5rem to give brushstrokes room */
        padding: 0 !important;
        display: block !important;
    }

    .experience-row:last-of-type {
        margin-bottom: 0 !important;
    }

    .experience-visual {
        display: none !important; /* Hide the line and dots */
    }

    .experience-content {
        margin-left: 10px !important; /* Force shift to the right */
        padding: 0 !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    .experience-header,
    .experience-intro,
    .experience-bullets {
        margin-left: 15px !important; /* All content now perfectly aligned */
    }

    .experience-header {
        margin-bottom: 0.25rem !important;
    }

    .experience-header h3 {
        font-size: 1.1rem !important;
        line-height: 1.2;
    }

    .experience-intro {
        margin-bottom: 0.5rem !important;
        font-size: 0.9rem !important;
    }

    .experience-bullets {
        gap: 0.2rem !important;
        margin-bottom: 0 !important;
    }

    .experience-two-column {
        flex-direction: column !important;
        gap: 1rem !important;
        margin: 1.5rem 0 0 0 !important; /* Reduced top margin, removed bottom margin */
    }

    .experience-right-visual {
        display: none !important; /* Hide the supporting image on mobile to save space */
    }

    .experience-footer {
        margin-top: 0.5rem !important; /* Pull the concluding text up */
    }

    .experience-footer p {
        margin-bottom: 1.0rem !important;
    }

    .experience-section {
        padding-bottom: 0 !important;
    }

    .footer-action {
        display: flex !important;
        justify-content: flex-end !important;
        text-align: right !important;
        padding-right: 0 !important;
        margin-top: 0;
    }

    .experience-actions {
        display: flex !important;
        justify-content: flex-end !important;
        margin-top: 1.5rem !important;
        margin-bottom: 1.5rem !important; /* Balanced gap below the button */
    }

    .cta-section {
        justify-content: center !important;
        text-align: center !important;
        padding-right: 0 !important;
        padding-top: 1rem !important; /* Reduced from 1.5rem */
        margin-top: 1.25rem !important; /* Reduced from 2rem to pull it up */
    }

    .cta-section p {
        font-size: 1.25rem !important; /* Increased for prominence */
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 1.5rem !important; /* Tightened gap to button */
        font-weight: 700;
    }

    /* Override: Keep Home page CTA bold */
    #home-cta p {
        font-size: 1.25rem !important;
    }

    .cta-button {
        display: inline-block !important; /* Force visibility */
        margin: 1rem auto;
    }

    .footer-action .cta-button,
    .experience-actions .cta-button {
        margin-right: 0 !important;
        margin-left: auto !important;
    }

    /* R.R.O.S. Grid Mobile Fixes */
    .rros-grid-container {
        grid-template-columns: 1fr 1fr; /* 2x2 Grid on mobile */
        grid-template-rows: auto auto;
        border: none;
        max-width: 100%;
        margin: 2rem auto;
    }

    .rros-cell {
        padding: 1.5rem 1rem; /* Tightened padding */
        text-align: left;
    }

    .rros-cell h3 {
        font-size: 1.0rem; /* Increased headers */
        margin-bottom: 0.5rem;
    }

    .rros-cell p {
        font-size: 0.9rem; /* Matched to stats boxes */
        line-height: 1.4;
    }

    /* Re-enable and scale the center line for 2x2 grid */
    .rros-center-line {
        display: block;
        top: 5%;
        bottom: 5%;
    }

    .challenges-section .closing-statement {
        font-family: var(--font-main) !important;
        font-size: 1.15rem !important;
        margin-top: 1.2rem !important;
        line-height: 1.2;
        text-align: left;
    }

    /* Re-enable and scale arrows */
    .rros-arrow-line {
        display: block;
    }

    .rros-arrow-line::after {
        width: 8px;
        height: 12px;
    }

    .arrow-line-middle {
        top: 50%;
    }

    /* Insights Page Redesign */
    .insights-layout {
        flex-direction: column !important;
        gap: 2rem !important;
    }

    .insights-sidebar {
        order: 2; /* Move sidebar to the bottom on mobile */
        flex: 0 0 auto !important;
        margin-top: 2rem !important;
        width: 100% !important;
    }

    .sidebar-box {
        padding: 1.5rem !important;
        background-color: transparent !important; /* Remove solid background */
        border: 1px solid var(--color-teal-dark) !important; /* Thin teal line */
        color: var(--color-teal-dark) !important;
    }

    .sidebar-box h3 {
        color: var(--color-teal-dark) !important; /* Change heading to teal */
    }

    .sidebar-box ul li a {
        color: var(--color-teal-dark) !important; /* Change links to teal */
    }

    .insights-content {
        order: 1; /* Keep content at the top */
        width: 100% !important;
    }

    .article-banner {
        height: 180px !important;
        margin-bottom: 1.5rem !important;
    }

    /* R.R.O.S. Advantages Mobile Redesign */
    .advantages-section-header {
        margin-top: 2rem;
        margin-bottom: 1rem;
        width: 100%;
        max-width: 100%;
        display: block !important; /* Force block to prevent side-by-side */
        text-align: left !important;
    }

    .advantages-main-heading {
        display: block !important;
        width: 100% !important;
        font-size: 1.1rem !important; 
        letter-spacing: 1px;
        color: var(--color-black) !important;
        white-space: normal !important; /* Allow wrapping */
        text-transform: none !important;
        text-align: left !important;
    }

    .mobile-column-labels {
        display: flex !important;
        justify-content: flex-start;
        gap: 1.5rem;
        padding: 0 !important;
        margin-bottom: 0.4rem; /* Even tighter gap */
        width: 100%;
    }

    .label-drivers, .label-outcomes {
        font-family: var(--font-h2);
        font-size: 0.85rem;
        font-weight: 700;
        color: var(--color-teal-dark);
        text-transform: none !important;
        letter-spacing: 0.5px;
    }

    .label-drivers {
        width: 90px;
        text-align: center;
    }

    .label-outcomes {
        flex: 1;
        text-align: left;
    }

    .advantages-staggered-wrapper {
        flex-direction: column;
        align-items: center; /* Center the wrapper */
        gap: 0;
        width: 100%;
    }

    .advantages-circles-grid {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        padding: 1.5rem 1.5rem 1.5rem 1.5rem !important; /* Standardized for internal centering */
        margin-bottom: 0 !important; /* Cushion handled by section padding */
        max-width: 100%;
        background-color: transparent; /* Clear base */
        position: relative;
        z-index: 1;
        border-radius: 12px;
        overflow: hidden;
    }

    /* Textured Background Pseudo-element for mobile */
    .advantages-circles-grid::before {
        content: "";
        position: absolute;
        top: 0; left: 0; right: 0; bottom: 0;
        background-image: url('public/RROS_advantage_background_jake-trotman.jpg');
        background-size: cover;
        background-position: center;
        opacity: 0.08; /* Subtle texture matching desktop feel */
        z-index: -1;
    }

    /* Light wash overlay to ensure text pop */
    .advantages-circles-grid::after {
        content: "";
        position: absolute;
        top: 0; left: 0; right: 0; bottom: 0;
        background-color: rgba(240, 247, 248, 0.4); /* Faint teal wash overlay */
        z-index: -1;
    }

    .advantage-item {
        display: flex;
        flex-direction: row !important;
        align-items: center;
        text-align: left;
        gap: 1.5rem; /* Space between circle and text */
        width: 100%;
        margin-top: 0 !important;
    }

    .advantage-circle {
        width: 110px !important; /* Increased from 90px */
        min-width: 110px !important;
        height: 110px !important;
        flex-shrink: 0;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        text-align: center !important;
        padding: 10px !important; /* Increased padding */
        transition: all 0.3s ease;
    }

    .advantage-circle span {
        font-size: 0.8rem !important; /* Increased from 0.6rem for legibility */
        line-height: 1.2;
        display: block;
        width: 100%;
        margin: 0;
        transition: color 0.3s ease;
    }

    /* Active/Locked State for Mobile Circles */
    .advantage-item.active .advantage-circle {
        background-color: var(--color-teal-dark) !important;
        border-color: var(--color-teal-dark) !important;
        transform: scale(1.05);
    }

    .advantage-item.active .advantage-circle span {
        color: #ffffff !important; /* Force white text on dark background */
    }

    /* Mobile-specific outcome text next to circle */
    .mobile-outcome-text {
        display: block !important;
        font-size: 0.85rem; 
        color: var(--color-text-dark);
        line-height: 1.4;
        flex: 1;
        transition: all 0.3s ease;
    }

    /* Highlight effect when tapped */
    .advantage-item.active .mobile-outcome-text {
        color: var(--color-teal-dark);
        font-weight: 700;
    }

    /* Hide the desktop outcome panel on mobile as text is now inline */
    .outcome-display-panel {
        display: none !important;
    }

    #outcome-label {
        display: none;
    }

    .advantage-labels {
        display: none;
    }

    /* 5. ABOUT PAGE (Partner Cards) */
    .about-intro-columns {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

    .about-text {
        flex: 0 0 100%;
    }

    .about-text p {
        margin-bottom: 0.8rem !important; /* Reduced from 1.2rem to tighten the gap to images */
    }

    .about-images {
        flex: 0 0 100%;
        width: 100%;
        margin: 0 !important; /* Eliminated margin to pull images up as much as possible */
        padding: 0 !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: center !important;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .partner-photo-wrapper {
        width: 120px !important;
        height: 120px !important;
    }

    .partner-photo-placeholder,
    .partner-photo {
        width: 120px !important;
        height: 120px !important;
    }

    .hero-content {
        padding-bottom: 1.5rem !important;
    }

    .framework-diagram-container {
        min-height: auto;
        height: auto;
        padding: 0.5rem !important; /* Further reduced for a snug fit */
        margin: 1.5rem auto !important;
        padding-bottom: 1.5rem !important; /* Cushion for divider below */
        overflow: visible;
        background: transparent;
        border: 1px solid var(--color-teal-light) !important; /* Fine frame */
        border-radius: 15px; /* Rounded corners */
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.25rem 0.5rem; /* Tighter horizontal gap, comfortable vertical gap */
    }

    .framework-diagram-container::before {
        display: none; /* Hide texture on mobile stack */
    }

    .main-orbital-svg {
        display: none; /* Hide complex orbits on mobile */
    }

    .diagram-center {
        flex: 0 0 100%; /* Title takes full width at top */
        width: 100% !important;
        position: relative;
        top: 0;
        left: 0 !important; /* Force reset of desktop offset */
        transform: none;
        text-align: center !important;
        margin-top: 1.5rem; /* Nudged down from intro paragraphs */
        margin-bottom: 0.75rem; /* Brought closer to the nodes below */
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .diagram-center h3 {
        display: block !important;
        margin-bottom: 0.2rem !important; /* Single spacing gap */
    }

    .diagram-center .full-name {
        display: inline-block !important; /* Necessary for the border to match text length */
        border-bottom: 1px solid var(--color-teal-dark) !important;
        padding-bottom: 0.1rem !important;
        margin-top: 0 !important;
    }

    .enablers-label {
        display: block !important;
        color: var(--color-teal-dark);
        font-family: var(--font-main);
        font-style: italic;
        font-size: 0.8rem;
        margin-top: 0.5rem;
        font-weight: 400; /* Removed bold */
        text-align: center;
    }

    .framework-node {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        flex: 0 0 46%; /* Reduced from 48% to fit the frame */
        margin-bottom: 1.5rem !important; /* Standardized spacing */
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .node-image-wrapper {
        width: 130px !important;
        height: 130px !important;
        margin-bottom: 0.8rem;
    }

    .node-label h4 {
        width: 160px !important; /* Scaled down brushstroke width */
        min-width: 160px !important;
        font-size: 0.85rem !important;
        white-space: normal;
        padding: 0.3rem 0;
    }

    .node-label p {
        font-size: 0.75rem !important;
        max-width: 140px !important;
        line-height: 1.3;
    }

    /* 7. FOOTER REDESIGN (Compact Mobile) */
    .footer-nav-grid {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        text-align: left !important;
        gap: 0.8rem !important;
    }

    .footer-col {
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        border-right: none !important;
        border-bottom: none !important;
        height: auto !important;
    }

    .footer-col h4 {
        display: block !important;
        font-size: 0.85rem !important;
        font-weight: 700;
        margin-bottom: 0 !important; /* Strict single spacing */
        line-height: 1.1 !important;
    }

    .footer-col h4::after {
        content: none !important;
    }

    .footer-col ul {
        display: block !important; /* Links on new line directly below */
        padding: 0 !important;
        margin: 0 !important;
        line-height: 1.1 !important;
    }

    .footer-col ul li {
        display: inline !important;
    }

    .footer-col ul li a {
        display: inline !important;
        font-size: 0.75rem !important;
        font-weight: 400;
        text-decoration: none !important;
    }

    .footer-col ul li:not(:last-child) a::after {
        content: ", ";
        color: var(--color-white);
    }

    /* Column 6 (Insights) - Split layout for button on far right */
    .footer-col:last-child {
        display: grid !important;
        grid-template-areas: "heading heading" "links button";
        grid-template-columns: 1fr auto;
        gap: 0 !important;
        width: 100% !important;
    }

    .footer-col:last-child h4 {
        grid-area: heading;
        margin-bottom: 0 !important;
    }

    .footer-col:last-child ul {
        grid-area: links;
        display: inline !important;
    }

    .footer-col:last-child a.footer-cta-button {
        grid-area: button;
        align-self: end;
        display: inline-block !important;
        margin: 0 !important; 
        padding: 0.4rem 1rem !important;
        font-size: 0.8rem !important;
        white-space: nowrap;
        transform: translateY(-8px); /* Nudged further upwards to align with text */
    }

    .footer-divider {
        display: none !important; /* Remove horizontal line */
    }

    .footer-bottom-bar {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: space-between !important;
        align-items: flex-start !important;
        padding-top: 1rem !important;
        margin-top: 1rem !important; 
        gap: 1rem !important;
        border-top: 1px solid rgba(255, 255, 255, 0.1) !important; /* Restored line above logo area */
    }

    .footer-logo-section {
        flex: 1 !important;
        max-width: 50% !important;
        align-items: flex-start !important;
        text-align: left !important;
    }

    .footer-logo {
        height: 45px !important;
    }

    .footer-logo-section p {
        font-size: 0.65rem !important;
        white-space: normal !important;
        line-height: 1.2;
    }

    .footer-center-info {
        flex: 1 !important;
        text-align: right !important;
        font-size: 0.7rem !important;
    }

    .footer-center-info p {
        margin-bottom: 0.1rem;
    }

    .linkedin-link {
        justify-content: flex-end !important;
        margin-top: 0.2rem;
    }

    .footer-legal {
        flex: 1 0 100% !important;
        text-align: center !important;
        margin-top: 0 !important; /* Reduced margin to nudge upwards */
        padding-top: 0 !important;
        border-top: none !important;
        font-size: 0.7rem !important;
    }

        .footer-legal p {

            margin-bottom: 0.1rem !important; /* Tightened spacing between lines */

        }

    

    /* 8. CONTACT PAGE MOBILE */
    .contact-h1-brush {
        font-size: 1.6rem !important;
        margin-bottom: 2rem !important;
        line-height: 1.2 !important;
    }

    .contact-layout {
        flex-direction: column-reverse !important; /* Form on top, Card on bottom */
        gap: 2rem !important;
        align-items: center !important;
    }

    .contact-info-panel {
        flex: 0 0 auto !important;
        width: 100% !important;
        aspect-ratio: auto !important;
        padding: 2rem 1.5rem !important;
        margin-top: 0 !important;
    }

    .contact-info-panel p {
        font-size: 1.0rem !important;
        margin-bottom: 1rem !important; /* Standardized tight gap */
    }

    .contact-info-panel img {
        margin-bottom: 1rem !important; /* Reduced from 2rem */
        width: 200px !important; /* Slightly smaller logo for vertical efficiency */
    }

    /* Remove extra space between Ottawa and Email */
    .contact-info-panel p:nth-of-type(1) {
        margin-bottom: 0 !important;
    }

    .contact-form-panel {
        width: 100% !important;
        padding: 2rem 1.5rem !important;
    }

    /* VISIBILITY OVERRIDES - MUST BE LAST */

        .mobile-hide,

        .desktop-only {

            display: none !important;

        }

    

        .mobile-show {

            display: inline-block !important;

        }

    }

    

