/* ==========================================================================
   1. CORE GLOBAL VARIABLES & BASE RULES
   ========================================================================== */
:root {
  --bg: #F8F9FA;
  --text: #1F2933;
  --accent: #3F8EBC;
  --max-width: 1200px;
}

body {
  font-family: 'Inter', sans-serif;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* ==========================================================================
   2. CONSOLIDATED HEADER & NAVIGATION (Batimat + ESSA Style)
   ========================================================================== */
.site-header {
  background: #fff;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
}

/* Top Utility Row Ribbon */
.utility-row {
  background: #F8F9FA;
  border-bottom: 1px solid #EAEAEA;
  padding: 0.5rem 0;
  width: 100%;
}

.utility-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 2.5rem;
  padding: 0 2rem;
}

/* Book Time Consultation Action */
.book-time-btn {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.8rem;  /* Added padding to form the capsule background shape */
  border-radius: 4px;      /* Matches the menu item corner curves */
  transition: color 0.2s ease;
}

.book-time-btn:hover {
  background-color: #F0F2F5; /* Neutral light grey capsule */
  color: #000000;
}

.cal-icon {
 color: var(--text);       /* Matches your body text color by default */
  font-size: 1rem;
  transition: color 0.25s ease;
}
.book-time-btn:hover .cal-icon {
  color: #000000;           /* Sharpens to deep black alongside the text on hover */
}

/* Language Selection Rules inside Utility Grid */
.utility-inner .lang-toggle {
  display: flex;
  font-size: 0.85rem;
  font-weight: 600;
  color: #ccc;
}

.utility-inner .lang-toggle button {
  border: none;
  background: none;
  cursor: pointer;
  color: #ccc;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0 0.2rem;
}

.utility-inner .lang-toggle button.active { 
  color: #000; 
}

/* Main Ribbon Container Layout */
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 2rem;
}

.brand {
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 600;
  font-size: 1.9rem;
  color: var(--text);
  text-decoration: none;
}

.nav-right-group {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-right-group nav {
  display: flex;
  gap: 0.5rem;
}

/* Menu Anchor Item Links with Pill Background Animation */
.nav-right-group nav a {
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.nav-right-group nav a:hover {
  background-color: #F0F2F5; /* Neutral light grey capsule */
  color: #000000;
}

.nav-right-group nav a.active {
  background-color: #E4E7EB; /* Slightly deeper slate grey than the hover state */
  color: #000000;            /* Crisp black text for high readability */
  font-weight: 600;
}

/* ==========================================================================
   3. HERO IMAGES & COVER WRAPPERS
   ========================================================================== */
.hero-section {
  position: relative;
  height: 400px;
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-title {
  color: #fff;
  font-size: 3.5rem;
  font-weight: 300;
}

/* Service Page Hero (60% Height Variant) */
.service-hero {
  height: 60vh; 
  height: 60dvh;
  min-height: 500px;
  background: 
    linear-gradient(rgba(31, 41, 51, 0.7), rgba(31, 41, 51, 0.7)), 
    url('service.png') no-repeat center center;
  background-size: cover;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 2rem;
}

.subhead {
  font-size: 1.4rem;
  font-weight: 300;
  margin-bottom: 2rem;
  letter-spacing: 0.05em;
  color: #F8F9FA;
}

/* About / Content Hero (70% Height Variant) */
.hero-section-tall {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 450px;
  overflow: hidden;
}

.about-hero-img-tall {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Text Overlay Layout Positioning Rules */
.hero-text-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 90%;
  max-width: 1000px;
  background: rgba(255, 255, 255, 0.1); 
  padding: 2rem;
  border-radius: 8px;
}

.hero-tagline {
  display: inline-block;
  white-space: nowrap;
  font-size: clamp(1.6rem, 3.6vw, 2.8rem);
  line-height: 1.02;
  letter-spacing: 0.01em;
  color: #1F2933;
}

.hero-tagline .accent-text {
  white-space: nowrap;
}

.hero-subhead {
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 1.4rem;
  font-weight: 600;
  margin-top: 0.15rem;
}

/* Specific Contextual State Overrides For Home Page Only */
.home-page .hero-text-overlay {
  background: none;
  padding: 0;
  box-shadow: none;
}

.home-page .hero-tagline {
  color: #FFFFFF;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.home-page .hero-subhead {
  color: #FFFFFF;
  opacity: 0.95;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.4);
}

/* ==========================================================================
   4. CONTENT STRUCTURAL LAYOUTS & SPLIT GEOMETRY
   ========================================================================== */
.services-main {
  max-width: var(--max-width);
  margin: 4rem auto;
  padding: 0 2rem;
}

.services-container {
  max-width: var(--max-width);
  margin: 5rem auto;
  padding: 0 2rem;
}

/* Base Legacy Row Layout */
.service-row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  margin: 4rem 0;
}

.service-label h2 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.service-text h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

/* Clean Dynamic Asymmetric Columns (Alice Layout System) */
.split-row, .service-block {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 5rem;
  gap: 4rem;
}

.split-left, .block-left {
  flex: 0 0 250px;
  padding-top: 0.5rem;
}

.split-right, .block-right {
  flex: 1;
  max-width: 1000px;
}

.section-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-top: 0;
  line-height: 1.2;
}

.service-num {
  font-family: monospace;
  color: var(--accent);
  font-weight: bold;
  display: block;
  margin-bottom: 0.5rem;
}

.service-title {
  font-size: 1.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text);
  margin-top: 0;
  line-height: 1.4;
}

.pillar-subtitle {
  font-size: 2.0rem;
  margin-bottom: 1.5rem;
  font-weight: 500;
  margin-top: 0;
  line-height: 1.2;
}

/* Typography Overrides For Split Columns Paragraph Content */
.split-row .split-right p,
.split-row .block-right p,
.block-right p {
  font-size: 1.35rem;
  line-height: 1.8;
  color: #1F2933;
  margin-top: 1rem;
}

.split-right .subtitle {
  font-size: 2rem;
  margin-bottom: 1.2rem;
}

/* Technical Lead / Intro Modules */
.lead-intro-container {
  max-width: var(--max-width);
  margin: 4rem auto;
  padding: 0 2rem;
  text-align: center;
margin-bottom: 2rem; /* adds breathing room before the title */
}

.lead-text-box {
  font-size: 1.5rem;
  color: var(--text);
  max-width: 1250px;
  margin: 0 auto;
  line-height: 1.8;
  text-align: center;
  padding: 0 1rem;
}

.lead-paragraph {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #CBD5E0;
}

.tagline {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 10px;
  color: #1a365d;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.services-list-header {
  max-width: var(--max-width);
  margin: 2rem auto 4rem auto;
  padding: 0 2rem;
  text-align: left;
}

.pre-service-label {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 2.0rem;
  font-weight: 600;
  color: var(--text);
  border-top: 1.75px solid var(--accent);
  border-bottom: 1.75px solid var(--accent);
  display: inline-block;
  padding-bottom: 0.2rem;
  margin-bottom: 1rem;
  
  letter-spacing: 0.02em;
}

.focus-section h4 {
  margin-top: 2rem;
  font-size: 1.4rem;
  text-transform: uppercase;
  color: var(--accent);
}

.focus-section {
  background-color: #f0fdfa; /* Matches the light blue in image_eca788.png */
  border-left: 5px solid #0d9488;; /* Creates the blue vertical line */
  padding: 1.5rem;
  margin: 2rem 0;
}

.focus-list ul, .focus-section ul {
  list-style: none;
  padding: 0;
}

.focus-section ul li {
  font-size: 1.1rem;
  line-height: 1.3;
  margin-bottom: 0.8rem;
  padding-left: 1.5rem;
  position: relative;
}

.focus-list li::before {
  content: "•";
  color: var(--accent);
  position: absolute;
  left: 0;
}

.outcome {
  margin-top: 2rem;
  padding: 1.5rem;
  background: #F1F7FA;
  border-left: 4px solid var(--accent);
  font-style: italic;
}

.geo-edge {
  max-width: 650px;
  margin: 6rem auto;
  padding: 0 2rem;
  text-align: left;
}

.geo-edge h3 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--text);
  border-bottom: 3px solid var(--accent);
  display: inline-block;
  padding-bottom: 0.3rem;
}

.geo-edge p {
  font-size: 1.3rem;
  line-height: 1.75;
  max-width: var(--max-width);
  margin-bottom: 2.5rem;
}

.technical-focus {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: #718096;
  line-height: 1.6;
  font-family: 'Inter', sans-serif;
}

.portfolio-desc {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: #2D3748;
}

.keywords {
  font-size: 0.85rem;
  color: #718096;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
  line-height: 1.5;
}

.keyword-tagline {
  font-size: 0.85rem;
  color: #718096;
  margin-bottom: 1.5rem;
  line-height: 1.4;
  border-left: 2px solid #e2e8f0;
  padding-left: 15px;
}

.summary {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

/* Overview Sections */
.overview-section {
  padding: 60px 0 40px;
  background-color: #fcfcfc;
  text-align: center;
  border-bottom: 1px solid #eee;
}

.container-thin {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.overview-text {
  font-size: 1.25rem;
  line-height: 1.6;
  color: #2d3748;
  margin-bottom: 20px;
}

.overview-sub {
  font-style: italic;
  color: #718096;
}

/* ==========================================================================
   5. BUTTON ENHANCEMENTS & LINK ACTIONS
   ========================================================================= */
.collab-button {
  display: inline-block;
  padding: 0.9rem 1.8rem;
  background: #2e7d32;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border-radius: 4px;
  transition: background 0.2s ease;
}

.collab-button:hover {
  background: #d48c00;
}

.consult-button {
  display: inline-block;
  padding: 0.9rem 1.8rem;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border-radius: 4px;
  transition: background 0.2s ease;
}

.consult-button:hover {
  background: #2f6f94;
}

.story-link {
  color: #1a365d;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}

.story-link:hover {
  border-bottom: 1px solid #1a365d;
  color: #2b6cb0;
}

/* ==========================================================================
   6. CONTACT PANEL & INPUT COMPONENT FORMS
   ========================================================================== */
.contact-details-box {
  margin-top: 2rem;
}

.contact-details-box h3 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.contact-details-box p, .direct-email {
  font-size: 1.15rem;
  color: var(--text);
  line-height: 1.6;
  text-decoration: none;
}

.direct-email:hover {
  text-decoration: underline;
}

.minimal-contact-form {
  margin-top: 3rem;
  max-width: 100%;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #718096;
  margin-bottom: 0.5rem;
}

.form-group input, .form-group textarea {
  width: 100%;
  padding: 0.75rem 0;
  font-size: 1.1rem;
  color: var(--text);
  background: transparent;
  border: none;
  border-bottom: 1px solid #E2E8F0;
  transition: border-color 0.3s ease;
}

.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-bottom-color: var(--accent);
}

.submit-button {
  margin-top: 2rem;
  background-color: #000000;
  color: #FFFFFF;
  padding: 1rem 3rem;
  font-size: 1rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.submit-button:hover {
  background-color: #333333;
}

/* ==========================================================================
   7. INTERACTIVE ACCORDIONS & MODAL WINDOWS
   ========================================================================== */
.expert-toggle {
  margin: 1.5rem 0;
  border-top: 1px solid #d48c00;
  border-bottom: 1px solid #d48c00;
  padding: 0.5rem 0;
}

.toggle-trigger {
  font-size: 1.5rem;
  font-weight: 800;
  color: #1E5631 ;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
}

/* Target the summary tag directly to override native browser styling */
summary.toggle-trigger {
  color: #2E5A44 !important; /* Forces your new premium green color */
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
}

/* Optional: Add a subtle hover state so users know it's a clickable button */
summary.toggle-trigger:hover {
  color: #1E3B2D; 
}
.toggle-trigger::before {
  content: "+";
  margin-right: 15px;
  font-family: monospace;
}

.expert-toggle[open] .toggle-trigger::before {
  content: "−";
}

.toggle-content {
  padding: 1rem 0;
  animation: fadeIn 0.4s ease;
}

.toggle-content p {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #4A5568;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Modals */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0; top: 0; width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.7);
}

.modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 40px;
  width: 90%;
  max-width: 700px;
  border-radius: 4px;
  position: relative;
}

.close-btn {
  position: absolute;
  right: 20px; top: 10px;
  font-size: 28px; font-weight: bold; cursor: pointer;
}

/* ==========================================================================
   8. CLEAN STRUCTURAL SEPARATORS & FOOTERS
   ========================================================================== */
.divider {
  border: 0;
  border-top: 1px solid #E4E7EB;
  margin: 2rem 0 5rem 0;
}

.site-footer {
  text-align: center;
  padding: 3rem;
  font-size: 0.8rem;
  color: #999;
}

/* ==========================================================================
   9. MEDIA QUERIES (Responsive System Grid)
   ========================================================================== */
@media (max-width: 768px) {
  .service-row, .split-row, .service-block { 
    flex-direction: column; 
    display: flex;
    grid-template-columns: 1fr; 
    gap: 1.5rem; 
    margin-bottom: 3rem;
  }
  
  .split-left, .block-left {
    flex: none;
    width: 100%;
    padding-top: 0;
  }
  
  .split-right, .block-right {
    max-width: 100%;
  }

  .nav-right-group { 
    gap: 1rem; 
  }
  
  .nav-right-group nav { 
    display: none; /* Triggers mobile menu behavior standard context */
  } 

  .tagline { 
    font-size: 2.5rem; 
  }
  
  .service-hero { 
    height: auto; 
    padding: 4rem 2rem; 
  }
}

@media (max-width: 420px) {
  .hero-tagline {
    white-space: normal;
    font-size: 1.25rem;
  }
}

==========================================================================
   10. Profile 
   ========================================================================== */
/* Stacked Profile Layout */
.expert-profile-stacked {
  display: flex;
  flex-direction: column; /* This forces the stack */
  align-items: center;    /* Centers the image and text */
  margin: 3rem auto;
  max-width: 800px;       /* Keeps the text readable, not too wide */
}

.profile-image-stacked {
  width: 100%;
  max-width: 400px;       /* Sets a max size for the image */
  margin-bottom: 3rem; 
  margin-top: 3rem;    /* Adds space between image and text */
}

.profile-image-stacked img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.profile-content-stacked h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: #3A3F47;
  text-align: left;     /* Centers the name header */
}

.profile-content-stacked p {
  font-size: 1.25rem;     /* Slightly larger for better readability in a stack */
  line-height: 1.7;
  color: #4A5568;
  margin-bottom: 1.5rem;
}

/* ==========================================================================
   UPDATED ABOUT PAGE STYLING TWEAKS
   ========================================================================== */

/* Fix Accordion Line Colors (Replacing un-styled gold with your brand accent line) */
.expert-toggle {
  margin: 2rem 0;
  border-top: 1px solid #E4E7EB;
  border-bottom: 1px solid #E4E7EB;
  padding: 0.75rem 0;
}

.toggle-trigger {
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Ensure the bullet marks in Who We Serve and Mission align nicely */
.focus-section ul li {
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* Green Action Button Hover State Shift */
.collab-button {
  background: #2E7D32; /* Kept your deep operational green */
  transition: background-color 0.25s ease;
}

.collab-button:hover {
  background: #1B5E20; /* Darkens naturally on hover rather than shifting to orange */
}

/* ============================================================
   BBC‑STYLE SCROLLYTELLING MODULE (Hybrid)
   For STEMS + Story Pages Only
   ============================================================ */

/* Full‑bleed story sections */
.story-section {
  width: 100%;
  padding: 0;
  margin: 0;
  position: relative;
  overflow: hidden;
}

/* Parallax hero */
.story-hero {
  height: 80vh;
  min-height: 500px;
  position: relative;
  overflow: hidden;
}

.story-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translateY(0);
  transition: transform 0.2s ease-out;
}

.story-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(0,0,0,0.2),
    rgba(0,0,0,0.3)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.story-hero-title {
  color: #fff;
  font-size: clamp(2.8rem, 5vw, 4rem);
  font-weight: 300;
  letter-spacing: 0.04em;
}

.story-hero-sub {
  color: #e5e7eb;
  font-size: 1.2rem;
  margin-top: 1rem;
}

/* Alternating bands */
.story-band-light {
  background: #ffffff;
  padding: 6rem 0;
}

.story-band-dark {
  background: #111827;
  color: #f3f4f6;
  padding: 6rem 0;
}

/* Narrow text column (BBC style) */
.story-text {
  max-width: 750px;
  margin: 0 auto;
  padding: 0 2rem;
  font-size: 1.25rem;
  line-height: 1.75;
}

.story-text h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.story-text p {
  margin-bottom: 1.5rem;
}

/* Full‑width image transitions */
.story-image-full {
  width: 100%;
  height: auto;
  display: block;
  margin: 4rem 0;
}

/* Step‑reveal blocks */
.story-step {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.story-step.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Fade‑in narrative blocks */
.story-fade {
  opacity: 0;
  transition: opacity 1s ease;
}

.story-fade.visible {
  opacity: 1;
}

/* Spacing rhythm */
.story-spacer {
  height: 4rem;
}

/* CTA buttons for story pages */
.story-cta {
  text-align: center;
  margin-top: 3rem;
}

.story-cta a {
  display: inline-block;
  padding: 0.9rem 2rem;
  background: #3F8EBC;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  transition: background 0.2s ease;
}

.story-cta a:hover {
  background: #2f6f94;
}

/* ================================
   SERVICE PORTFOLIO TITLE + QUICKLIST
   ================================ */

/* Center the title */
.pre-service-label {
  text-align: center;
  display: block;
  width: 100%;
margin-top: 4rem;      /* extra space above the title */
  margin-bottom: 2rem;   /* space below the title */
}

/* Quicklist container */
.service-quicklist {
  text-align: center;
  margin: 2rem auto 3rem auto;
  padding: 0 1rem;
}

/* Remove bullets and center list */
.service-quicklist ul {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: inline-block; /* keeps list centered */
  text-align: left;      /* keeps text aligned while block is centered */
}

/* List items */
.service-quicklist ul li {
  font-size: 4.5rem;
  margin: 0.6rem 0;
  letter-spacing: 0.02em;
}

/* Links */
.service-quicklist ul li a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: color 0.25s ease, border-bottom-color 0.25s ease;
}

/* Hover effect */
.service-quicklist ul li a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* ================================
   SERVICE PORTFOLIO QUICKLIST BLOCK
   ================================ */

.service-quicklist {
  margin-top: 3rem;          /* space above */
  margin-bottom: 4rem;       /* space below */
  padding: 2rem 1rem;        /* internal breathing room */

  background-color: #F4F8FA; /* subtle tint (soft blue-grey) */
  border: 1px solid #E4E7EB; /* faint outline for definition */
  border-radius: 6px;        /* soft rounding to match your design */

  text-align: center;
}

/* Center the list block but keep text left-aligned */
.service-quicklist ul {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: inline-block;
  text-align: left;
}

/* List items */
.service-quicklist ul li {
  font-size: 1.25rem;
  margin: 0.6rem 0;
  letter-spacing: 0.02em;
}

/* Links */
.service-quicklist ul li a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: color 0.25s ease, border-bottom-color 0.25s ease;
}

/* Hover */
.service-quicklist ul li a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* ================================
   CENTER THE SERVICE PORTFOLIO TITLE
   ================================ */

.pre-service-label {
  text-align: center;
  display: block;
  width: 100%;
  margin-top: 3rem;
  margin-bottom: 2rem;
}

.modal {
  display: none; 
  position: fixed; 
  z-index: 1000; 
  left: 0; top: 0; 
  width: 100%; height: 100%; 
  background-color: rgba(0,0,0,0.8);
}

.modal-content {
  background-color: #fff;
  margin: 5% auto;
  padding: 40px;
  width: 80%;
  max-width: 800px;
  border-radius: 8px;
  overflow-y: auto;
  max-height: 80vh;
}

.close-btn {
  float: right;
  font-size: 28px;
  cursor: pointer;
}

/* This will only affect the button where you added class="book-time-btn" */
.book-time-butn {
    display: inline-block;
    padding: 10px 20px;
    border: 2px solid #333; /* Matches your professional tone */
    border-radius: 4px;
    text-decoration: none;
    font-size: 16px;
    color: #333;
    font-weight: 600;
}