:root {
  --primary-dark: #04172a;
  --primary-brand: #09233f;
  --secondary-dark: #14253a;
  
  /* Derived Color Shades for Gradient Section Titles */
  --orange-800: #87410d; 
  --accent-orange: #f47b20;
  --accent-orange-hover: #d96615;
  --accent-blue: #125b9d;
  --accent-blue-light: #eef5fc;
  --accent-green: #2d8b57;
  
  /* Standard text colors */
  --text-main: #14253a;
  --text-muted: #607087;
  --text-light: #829ab1;
  --bg-light: #f6f8fb;
  --card-bg: #ffffff;
  --line: #dfe6ee;
  
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
}

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

body {
  font-family: 'Inter', Segoe UI, Arial, sans-serif;
  color: var(--text-main);
  background-color: var(--card-bg);
  line-height: 1.55;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; cursor: pointer; }
.text-center { text-align: center; }

/* Container utility */
.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Buttons */
.btn-primary {
  background-color: var(--accent-orange);
  color: #ffffff;
  padding: 0.8rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  display: inline-block;
  transition: background 0.3s ease;
}
.btn-primary:hover { background-color: var(--accent-orange-hover); }

.btn-outline {
  border: 1px solid rgba(255,255,255,0.65);
  color: #ffffff;
  padding: 0.8rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  display: inline-block;
  transition: all 0.3s ease;
}
.btn-outline:hover { background-color: rgba(255,255,255,0.1); }

/* Header & Nav */
header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 5%;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.logo-container {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-container img {
  height: 48px;
  width: auto;
  display: block;
  cursor: pointer;
  flex-shrink: 0; 
}

/* Fallback Text Logo Styles (used if image fails to load) */
.logo-fallback {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.7px;
  color: var(--primary-dark);
  font-family: 'Inter', sans-serif;
}
.logo-fallback span {
  color: var(--accent-orange);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: var(--primary-dark);
  cursor: pointer;
}

nav ul { display: flex; list-style: none; align-items: center; gap: 1.75rem; }
nav ul li { position: relative; }
nav ul li a, .services-toggle {
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.25s ease;
  background: transparent;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: inherit;
}
nav ul li a:hover, nav ul li a.active, .services-toggle:hover { color: var(--accent-orange); }

.btn-contact {
  background-color: var(--accent-orange) !important;
  color: #ffffff !important;
  padding: 0.55rem 1.25rem !important;
  border-radius: 6px;
}
.btn-contact:hover { background-color: var(--accent-orange-hover) !important; }

/* Mega Menu */
.services-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: -80px;
  width: min(880px, calc(100vw - 40px));
  background-color: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 1001;
  overflow: hidden;
}
nav ul li:hover > .services-dropdown, nav ul li.dropdown-open > .services-dropdown {
  opacity: 1; pointer-events: auto; transform: translateY(0);
}

.mega-menu { display: grid; grid-template-columns: 220px 1fr; min-height: 300px; list-style: none; }
.mega-menu-sidebar { display: flex; flex-direction: column; padding: 30px 22px; background: var(--primary-dark); }
.mega-menu-tab { padding: 1.2rem 1rem; border-radius: var(--radius-md); background: var(--primary-brand); color: #ffffff; font-weight: 700; font-size: 0.95rem; text-transform: uppercase; }
.mega-menu-content { padding: 30px; background: #ffffff; }
.mega-menu-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.mega-service-card { padding: 1.35rem; border-radius: var(--radius-md); background: var(--bg-light); border: 1px solid var(--line); transition: all 0.25s ease; }
.mega-service-card:hover { background: var(--accent-blue-light); transform: translateY(-2px); }
.mega-service-card strong { color: var(--accent-blue); font-size: 0.95rem; font-weight: 700; display: block; margin-bottom: 0.4rem; }
.mega-service-card p { color: var(--text-muted); font-size: 0.85rem; }

/* Responsive Hero Section Using Picture Tag */
.hero-section {
  position: relative;
  min-height: 590px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end; 
  padding: 4rem 5% 1rem 5%; 
  overflow: hidden;
}

.hero-picture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-banner {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 468px;
  margin-bottom: 57px;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
  color: var(--primary-dark);
}
.hero-content h1 span { color: var(--accent-orange); }
.hero-subtitle {
  font-size: 1.15rem;
  color: black;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-actions .btn-outline {
  border: 1.5px solid var(--primary-dark);
  color: var(--primary-dark);
  background-color: transparent;
}
.hero-actions .btn-outline:hover { 
  background-color: var(--primary-dark);
  color: #ffffff;
}

/* Trust Strip */
.trust-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
  background: var(--primary-dark);
  color: #fff;
  padding: 2rem 5%;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.trust-item { display: flex; align-items: center; gap: 1rem; }
.trust-item i { font-size: 1.8rem; color: var(--accent-orange); }
.trust-item strong { display: block; font-size: 1.05rem; color: #fff; }
.trust-item span { font-size: 0.85rem; color: #94a3b8; }


/* ========================================================
   Gradient & Solid Text for Section Titles
   ======================================================== */
.section-title h2 {
  background: linear-gradient(to right, var(--accent-orange), #db1414);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  display: inline-block; 
}

/* Force solid color for specified sections */
.section-title h2.new-h2-color,
.cta-text h2,
.contact-info-panel h2 {
  background: none;
  -webkit-text-fill-color: var(--accent-orange);
  color: var(--accent-orange);
  display: inline-block; 
}

/* Section Common */
.section-title { text-align: center; margin-bottom: 3.5rem; }
.section-title h2 { font-size: 2.2rem; font-weight: 800; letter-spacing: -0.5px; margin-bottom: 0.5rem; }
.section-title h4 { font-size: 1.1rem; font-weight: 500; color: var(--text-muted); }

/* Consulting Practices */
.practices-section { padding: 5rem 5%; background: var(--bg-light); }
.practices-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; max-width: 1200px; margin: 0 auto; }
.practice-card { background: #fff; padding: 3rem 2rem; border-radius: 12px; text-align: center; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform 0.3s ease; }
.practice-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.practice-icon { font-size: 2.5rem; margin-bottom: 1.5rem; }
.practice-icon .fa-users-gear { color: var(--accent-orange); }
.practice-icon .fa-network-wired { color: var(--accent-blue); }
.practice-icon .fa-vial-circle-check { color: var(--accent-green); }
.practice-card h3 { font-size: 1.4rem; color: var(--primary-dark); margin-bottom: 1rem; }
.practice-card p { color: var(--text-muted); margin-bottom: 2rem; font-size: 0.95rem; }
.practice-link { font-weight: 600; color: var(--accent-blue); font-size: 0.9rem; }
.practice-link:hover { color: var(--accent-orange); }

/* The Assayor Method */
.method-section { padding: 5rem 5%; background: #ffffff; text-align: center; }
.method-timeline { display: flex; align-items: flex-start; justify-content: center; gap: 1rem; max-width: 1000px; margin: 0 auto; flex-wrap: nowrap; }
.method-step { flex: 1; text-align: center; padding: 0 1rem; position: relative; }
.method-circle { width: 70px; height: 70px; margin: 0 auto 1.5rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; color: #fff; box-shadow: var(--shadow-md); z-index: 2; position: relative; }
.circle-assay { background: var(--accent-orange); }
.circle-architect { background: var(--accent-blue); }
.circle-accelerate { background: var(--accent-green); }
.method-name { font-size: 0.9rem; font-weight: 800; color: var(--text-muted); letter-spacing: 1px; margin-bottom: 0.5rem; }
.method-step strong { font-size: 1.1rem; color: var(--primary-dark); display: block; margin-bottom: 0.8rem; }
.method-step p { font-size: 0.9rem; color: var(--text-muted); }
.method-line { flex: 0.2; height: 2px; background: var(--line); margin-top: 35px; border-style: dashed; border-width: 2px; border-color: #cbd5e1; background: transparent; }

/* Expertise Section */
.expertise-section { padding: 5rem 5%; background: var(--bg-light); border-top: 1px solid var(--line); }
.expertise-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 2rem; max-width: 1000px; margin: 0 auto; text-align: center; }
.expertise-item { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.expertise-item i { font-size: 2rem; color: var(--text-light); transition: color 0.3s ease; }
.expertise-item:hover i { color: var(--accent-orange); }
.expertise-item span { font-size: 0.95rem; font-weight: 600; color: var(--primary-dark); }

/* Backed By Industry Experts Section */
.stats-section { padding: 5rem 5%; background: var(--primary-brand); color: #fff; text-align: center; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2.5rem; max-width: 1200px; margin: 0 auto; }
.stat-item { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.stat-item i { font-size: 2.5rem; color: #ffffff; }
.stat-info h4 { font-size: 1.2rem; font-weight: 800; color: var(--accent-orange); margin-bottom: 0.5rem; line-height: 1.2; }
.stat-info span { font-size: 0.95rem; font-weight: 500; color: #ffffff; letter-spacing: 0.5px; text-transform: none; line-height: 1.4; display: block; }

/* Who We Help */
.who-we-help-section { padding: 5rem 5%; background: #ffffff; }
.help-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; max-width: 1200px; margin: 0 auto; }
.help-item { text-align: center; padding: 2rem; border-radius: 12px; background: var(--bg-light); border: 1px solid var(--line); }
.help-icon { font-size: 2rem; color: var(--accent-orange); margin-bottom: 1rem; }
.help-item h3 { font-size: 1.15rem; color: var(--primary-dark); margin-bottom: 1rem; }
.help-item p { font-size: 0.9rem; color: var(--text-muted); }

/* How We Engage Section */
.engage-section { 
  padding: 5rem 5%; 
  background: var(--bg-light); 
  border-top: 1px solid var(--line);
}
.eyebrow {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  /* background: rgba(249, 115, 22, 0.15); */
  color: var(--accent-orange);
  /* border: 1px solid rgba(249, 115, 22, 0.35); */
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 1rem;
}
.engage { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
  gap: 2rem; 
  max-width: 1200px; 
  margin: 0 auto; 
}
.engage .card { 
  background: #ffffff; 
  padding: 2.5rem 2rem; 
  border-radius: 12px; 
  border: 1px solid var(--line); 
  box-shadow: var(--shadow-sm); 
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; 
}
.engage .card:hover { 
  transform: translateY(-5px); 
  box-shadow: var(--shadow-lg); 
  border-color: var(--accent-orange); 
}
.engage .card h3 { 
  font-size: 1.25rem; 
  color: var(--primary-dark); 
  margin-bottom: 1rem; 
}
.engage .card p { 
  font-size: 0.95rem; 
  color: var(--text-muted); 
}

/* Final CTA */
.final-cta-section { padding: 5rem 5%; background: var(--primary-brand); text-align: center; border-bottom: 1px solid rgba(255,255,255,0.1); }
.cta-content { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 2rem; }
.cta-text p { font-size: 1.1rem; color: #ffffff; } 

/* Contact Us Section */
.contact-section { position: relative; padding: 5.5rem 5%; background-color: var(--primary-dark); background-image: linear-gradient(135deg, rgba(4, 23, 42, 0.94) 0%, rgba(9, 35, 63, 0.92) 100%), url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=1600&q=80'); background-size: cover; background-position: center; background-repeat: no-repeat; color: #ffffff; }
.contact-container { max-width: 1200px; margin: 0 auto; }
.contact-split-wrapper { display: grid; grid-template-columns: 1fr 1.25fr; gap: 3.5rem; align-items: center; }

/* Left: Info Panel */
.contact-info-panel { padding-right: 1rem; }
.contact-sub-badge { display: inline-block; padding: 0.35rem 0.9rem; background: rgba(249, 115, 22, 0.15); color: var(--accent-orange); border: 1px solid rgba(249, 115, 22, 0.35); border-radius: 50px; font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 1rem; }
.contact-lead-desc { font-size: 1rem; color: #cbd5e1; line-height: 1.6; margin-bottom: 2rem; }
.contact-info-items { display: flex; flex-direction: column; gap: 1.25rem; margin-bottom: 2rem; }
.info-item { display: flex; align-items: center; gap: 1rem; }
.info-icon { width: 44px; height: 44px; border-radius: 10px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.12); display: flex; align-items: center; justify-content: center; color: var(--accent-orange); font-size: 1.1rem; flex-shrink: 0; }
.info-text { text-align: left; } /* Fixed Contact Text Alignment */
.info-text small { display: block; font-size: 0.75rem; color: #94a3b8; text-transform: uppercase; font-weight: 600; letter-spacing: 0.5px; }
.info-text a, .info-text span { font-size: 0.98rem; font-weight: 600; color: #f1f5f9; text-decoration: none; transition: color 0.25s ease; }
.info-text a:hover { color: var(--accent-orange); }
.contact-quick-tagline { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; color: #94a3b8; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.contact-quick-tagline i { color: #10b981; }

/* Right: Form Card */
.contact-form-panel { background: #ffffff; color: var(--primary-dark); padding: 2.5rem; border-radius: 18px; box-shadow: var(--shadow-lg); }
.form-panel-header { margin-bottom: 1.5rem; }
.form-panel-header h3 { font-size: 1.45rem; font-weight: 800; color: var(--primary-dark); margin-bottom: 0.25rem; }
.form-panel-header p { font-size: 0.88rem; color: var(--text-light); }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }
.contact-form input, .contact-form textarea { width: 100%; padding: 0.85rem 1.15rem; border: 1px solid var(--line); border-radius: 8px; font-family: inherit; font-size: 0.92rem; outline: none; background: #ffffff; color: var(--primary-dark); transition: border-color 0.25s ease, box-shadow 0.25s ease; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--accent-orange); box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.15); }
.contact-form .full-width { grid-column: span 2; }
.cta-btn { background: linear-gradient(135deg, var(--accent-orange) 0%, var(--accent-orange-hover) 100%); color: #ffffff; border: none; font-weight: 700; padding: 1rem; border-radius: 8px; cursor: pointer; letter-spacing: 0.5px; font-family: inherit; display: inline-flex; align-items: center; justify-content: center; transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease; }
.cta-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(234, 88, 12, 0.35); }
.cta-btn:disabled { opacity: 0.7; cursor: not-allowed; }

/* Footer */
footer { background: var(--secondary-dark); color: #ffffff; padding: 4.5rem 5% 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 3rem; max-width: 1200px; margin: 0 auto 3rem; }
.footer-logo { height: 48px; width: auto; margin-bottom: 1rem; display: block; flex-shrink: 0; }
.footer-brand p { color: #94a3b8; font-size: 0.9rem; line-height: 1.6; }
.footer-links h4 { font-size: 1.05rem; font-weight: 700; margin-bottom: 1.25rem; color: #ffffff; }
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; }
.footer-links ul li, .footer-links ul li a { color: #94a3b8; font-size: 0.9rem; transition: color 0.2s ease; }
.footer-links ul li a:hover { color: var(--accent-orange); }
.copyright { text-align: center; border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 2rem; color: #64748b; font-size: 0.85rem; }

/* Responsive Media Queries */
@media (max-width: 992px) {
  .hero-content h1 { font-size: 2.4rem; }
  .method-timeline { flex-direction: column; align-items: center; gap: 3rem; }
  .method-line { display: none; }
  .contact-split-wrapper { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-info-panel { padding-right: 0; text-align: center; }
  .contact-info-items { align-items: baseline; }
  .contact-quick-tagline { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  .menu-toggle { display: block; }
  nav { position: absolute; top: 100%; left: 0; right: 0; background: #ffffff; border-bottom: 1px solid var(--line); padding: 1.2rem 0; display: none; box-shadow: var(--shadow-md); }
  nav.nav-open { display: block; }
  nav ul { flex-direction: column; align-items: flex-start; gap: 1.2rem; }
  nav ul li { width: 100%; }
  nav a, .services-toggle { padding: 0.9rem 6%; border-bottom: 1px solid var(--bg-light); font-size: 1rem; width: 100%; justify-content: space-between; }
  .services-dropdown { position: static; width: 100%; box-shadow: none; border: none; padding: 0.5rem 0; margin-top: 0.5rem; }
  
  /* Hero Section scaling for mobile overlay */
  .hero-section { justify-content: center; align-items: flex-end; padding-bottom: 1rem; } 
  .hero-content { background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(0.1px); padding: 2rem; border-radius: 12px; text-align: center; margin-top: 20px;top: 30px; }
  .hero-content h1 { font-size: 2rem; }
  .hero-actions { justify-content: center; }

  .trust-strip { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .expertise-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .contact-form { grid-template-columns: 1fr; }
  .contact-form .full-width { grid-column: span 1; }
  .footer-grid { grid-template-columns: 1fr; }
  
  h2.new-h2-color, .cta-text h2, .contact-info-panel h2 { color: var(--accent-orange); -webkit-text-fill-color: unset; background: none; }
}

/* ========================================================
   Services Page Specific Styles
   ======================================================== */

.services-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #123d63 100%);
  color: #ffffff;
  padding: 8rem 5% 6rem;
  text-align: center;
}

.services-hero .eyebrow { margin-bottom: 1.5rem; }

.services-hero h1 {
  font-size: clamp(2.5rem, 4vw, 3.8rem);
  line-height: 1.15;
  font-weight: 800;
  max-width: 900px;
  margin: 0 auto 1.5rem;
  letter-spacing: -1px;
}

.services-hero p {
  font-size: 1.15rem;
  color: #dbe6ef;
  max-width: 800px;
  margin: 0 auto;
}

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

.service-detail-section { padding: 6rem 5%; border-bottom: 1px solid var(--line); scroll-margin-top: 80px; }

.service-detail-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.service-detail-row.reverse .service-content { order: 2; }
.service-detail-row.reverse .service-image { order: 1; }

.service-content h2 { font-size: 2.2rem; font-weight: 800; margin-bottom: 1rem; }
.service-content p { font-size: 1.05rem; color: var(--text-muted); margin-bottom: 2rem; line-height: 1.7; }

.service-capabilities {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.service-capabilities li {
  position: relative;
  padding-left: 1.8rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary-dark);
}

.service-capabilities li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--accent-orange);
}

.service-image img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  max-height: 500px;
}

/* Case Studies Section */
.case-studies-section { padding: 6rem 5%; }
.case-studies-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; max-width: 1200px; margin: 0 auto; }
.case-card { background: #ffffff; border: 1px solid var(--line); border-radius: 12px; padding: 2.5rem; box-shadow: var(--shadow-sm); transition: transform 0.3s ease; }
.case-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

.case-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--accent-blue-light);
  color: var(--accent-blue);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.case-card h3 { font-size: 1.3rem; margin-bottom: 1.5rem; color: var(--primary-dark); }
.case-step { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 1rem; padding-left: 1rem; border-left: 3px solid var(--line); }
.case-step strong { color: var(--primary-dark); display: block; margin-bottom: 0.2rem; }
.case-step.outcome { border-left-color: var(--accent-green); background: rgba(45, 139, 87, 0.05); padding: 1rem; border-radius: 0 8px 8px 0; margin-top: 1.5rem; }
.case-step.outcome strong { color: var(--accent-green); }

/* Responsive adjustments for Services page */
@media (max-width: 992px) {
  .service-detail-row, .service-detail-row.reverse { grid-template-columns: 1fr; gap: 3rem; }
  .service-detail-row.reverse .service-content, .service-detail-row.reverse .service-image { order: unset; }
  .service-image img { max-height: 400px; }
}
@media (max-width: 768px) {
  .service-capabilities { grid-template-columns: 1fr; }
  .services-hero { padding: 6rem 5% 4rem; }
}
/* ========================================================
   Services Page - Image Strip UI & Animations
   ======================================================== */

.services-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #123d63 100%);
  color: #ffffff;
  padding: 8rem 5% 6rem;
  text-align: center;
}

.services-hero .eyebrow { margin-bottom: 1.5rem; }

.services-hero h1 {
  font-size: clamp(2.5rem, 4vw, 3.8rem);
  line-height: 1.15;
  font-weight: 800;
  max-width: 900px;
  margin: 0 auto 1.5rem;
  letter-spacing: -1px;
}

.services-hero p {
  font-size: 1.15rem;
  color: #dbe6ef;
  max-width: 800px;
  margin: 0 auto;
}

.bg-alt { background-color: var(--bg-light); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* Banner Strip Design */
.practice-banner-section { 
  scroll-margin-top: 75px; 
  padding-bottom: 3rem;
}

.practice-banner {
  position: relative;
  height: 320px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
}

.banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(4, 23, 42, 0.85), rgba(9, 35, 63, 0.7));
}

.banner-content {
  position: relative;
  z-index: 1;
  /* max-width: 900px; */
  padding: 0 5%;
}

.banner-content .eyebrow {
  display: inline-block;
  padding: 0.35rem 1rem;
  background: rgba(244, 123, 32, 0.2);
  color: var(--accent-orange);
  border: 1px solid rgba(244, 123, 32, 0.4);
  border-radius: 50px;
  font-size: 1.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.25rem;
}

.banner-content h2 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.banner-content p {
  font-size: 1.15rem;
  color: #e2e8f0;
  font-weight: 400;
}

/* Service Grid Styles */
.practice-content {
  padding-top: 4.5rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 2.5rem 1.8rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  position: relative;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-orange);
}

.service-card i {
  font-size: 2.4rem;
  color: var(--text-light);
  margin-bottom: 1.25rem;
  transition: color 0.35s ease, transform 0.35s ease;
}

.service-card:hover i {
  color: var(--accent-orange);
  transform: scale(1.1);
}

.service-card h4 {
  font-size: 1.15rem;
  color: var(--primary-dark);
  margin-bottom: 0.85rem;
  font-weight: 700;
}

.service-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Fade Up Animation Styles */
.fade-up-item {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up-item.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Case Studies Layout (Preserved from previous implementation) */
.case-studies-section { padding: 6rem 5%; }
.case-studies-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; max-width: 1200px; margin: 0 auto; }
.case-card { background: #ffffff; border: 1px solid var(--line); border-radius: 12px; padding: 2.5rem; box-shadow: var(--shadow-sm); transition: transform 0.3s ease; }
.case-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

.case-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--accent-blue-light);
  color: var(--accent-blue);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.case-card h3 { font-size: 1.3rem; margin-bottom: 1.5rem; color: var(--primary-dark); }
.case-step { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 1rem; padding-left: 1rem; border-left: 3px solid var(--line); }
.case-step strong { color: var(--primary-dark); display: block; margin-bottom: 0.2rem; }
.case-step.outcome { border-left-color: var(--accent-green); background: rgba(45, 139, 87, 0.05); padding: 1rem; border-radius: 0 8px 8px 0; margin-top: 1.5rem; }
.case-step.outcome strong { color: var(--accent-green); }

/* Responsive Adjustments */
@media (max-width: 768px) {
  .practice-banner { height: 280px; }
  .banner-content h2 { font-size: 2.2rem; }
  .services-hero { padding: 6rem 5% 4rem; }
}
/* ========================================================
   Oracle HCM Lifecycle Banner (Full-Width Overlay)
   ======================================================== */

.lifecycle-banner {
  position: relative;
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* Optional: adds a slight parallax effect */
  padding: 6rem 0;
  color: #ffffff;
  margin-top: 4.5rem;
}

.lifecycle-overlay {
  position: absolute;
  inset: 0;
  background: rgba(4, 23, 42, 0.88); /* Deep overlay for text readability */
}

.relative-z {
  position: relative;
  z-index: 2;
}

.lifecycle-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.lifecycle-content .eyebrow {
  display: inline-block;
  padding: 0.35rem 1rem;
  background: rgba(244, 123, 32, 0.2);
  color: var(--accent-orange);
  border: 1px solid rgba(244, 123, 32, 0.4);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.25rem;
}

.lifecycle-content h2 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 1.2rem;
  letter-spacing: -0.5px;
}

.lifecycle-content p {
  font-size: 1.1rem;
  color: #e2e8f0;
  margin-bottom: 3.5rem;
  line-height: 1.6;
}

.checks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  text-align: left;
}

.check-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.1rem 1.25rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.check-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
}

.check-item i {
  color: var(--accent-orange);
  font-size: 1.15rem;
}

/* Responsive fixes for Lifecycle banner */
@media (max-width: 768px) {
  .lifecycle-banner { padding: 4rem 0; }
  .lifecycle-content h2 { font-size: 2rem; }
  .checks-grid { grid-template-columns: 1fr; }
}
/* ========================================================
   Oracle HCM Lifecycle (Light Theme Split Layout)
   ======================================================== */


.lifecycle-section .eyebrow {
  display: inline-block;
  padding: 0.35rem 1rem;
  /* background: rgba(244, 123, 32, 0.1); */
  color: var(--accent-orange);
  /* border: 1px solid rgba(244, 123, 32, 0.3); */
  /* border-radius: 50px; */
  font-size: 1.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.lifecycle-split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr; /* Pointers take more space on left, text on right */
  gap: 4rem;
  align-items: center;
}

/* Detailed Pointers Layout (Left) */
.lifecycle-pointers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.pointer-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.light-check {
  background: #ffffff;
  border: 1px solid var(--line);
  padding: 1rem 1.25rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.light-check:hover {
  transform: translateY(-3px);
  border-color: var(--accent-orange);
  box-shadow: var(--shadow-md);
}

.light-check i {
  color: var(--accent-orange);
  font-size: 1.15rem;
}

/* Text Section (Right) */
.lifecycle-text h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  color: var(--primary-dark);
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.lifecycle-text p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Responsive fixes for Lifecycle Split */
@media (max-width: 992px) {
  .lifecycle-split {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  .lifecycle-text {
    order: -1; /* Bumps the text above the checkmarks on mobile */
    text-align: center;
  }
}

@media (max-width: 768px) {
  .lifecycle-pointers {
    grid-template-columns: 1fr; /* Stacks the 2 groups of 4 into a single column of 8 on small phones */
  }
}
/* ========================================================
   Oracle HCM Lifecycle (Updated Light Theme Split)
   ======================================================== */

.lifecycle-section {
  padding-top: 0.5rem; /* Reduced top padding */
  padding-bottom: 2.5rem;
  /* border-top: 1px solid var(--line); */
  margin-top: 3rem; /* Reduced margin to pull it up */
}

.plain-lifecycle-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent-orange);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.lifecycle-split {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr; /* Inverted: Text Left, Pointers Right */
  gap: 4rem;
  align-items: center;
}

/* Text Section (Left) */
.lifecycle-text h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  color: var(--primary-dark);
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.lifecycle-text p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Detailed Pointers Layout (Right) */
.lifecycle-pointers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.pointer-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.light-check {
  background: #ffffff;
  border: 1px solid var(--line);
  padding: 1rem 1.25rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.light-check:hover {
  transform: translateY(-3px);
  border-color: var(--accent-orange);
  box-shadow: var(--shadow-md);
}

.light-check i {
  color: var(--accent-orange);
  font-size: 1.15rem;
}

/* Responsive fixes for Lifecycle Split */
@media (max-width: 992px) {
  .lifecycle-split {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  .lifecycle-text {
    text-align: center;
  }
}
@media (max-width: 768px) {
  .lifecycle-pointers {
    grid-template-columns: 1fr; 
  }
}

/* ========================================================
   Engagement Models Section
   ======================================================== */

.engage-intro {
  max-width: 800px;
  margin: 1.5rem auto 0;
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.engagement-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 1rem;
}

.eng-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.eng-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.eng-header {
  padding: 1.8rem;
  background: var(--primary-brand);
  color: #ffffff;
}

.eng-header h3 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--accent-orange);
}

.eng-header p {
  font-size: 0.95rem;
  color: #e2e8f0;
  line-height: 1.5;
}

.eng-content {
  padding: 1.8rem;
  flex-grow: 1;
}

.eng-section {
  margin-bottom: 1.5rem;
}

.eng-section:last-child {
  margin-bottom: 0;
}

.eng-section strong {
  display: block;
  font-size: 0.95rem;
  color: var(--primary-dark);
  margin-bottom: 0.8rem;
}

.eng-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.eng-tags span {
  background: var(--bg-light);
  border: 1px solid var(--line);
  padding: 0.35rem 0.75rem;
  border-radius: 5px;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
}

.eng-section ul {
  list-style: none;
  padding: 0;
}

.eng-section ul li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}

.eng-section ul li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--accent-green);
  font-size: 0.9rem;
  top: 0.15rem;
}

.philosophy-box {
  background: linear-gradient(135deg, var(--accent-orange), #db1414);
  color: #ffffff;
  padding: 3rem 2rem;
  border-radius: 12px;
  text-align: center;
  grid-column: 1 / -1; /* Spans across all grid columns */
  box-shadow: var(--shadow-md);
  margin-top: 1.5rem;
}

.philosophy-box h3 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
}

.philosophy-box p {
  font-size: 1.1rem;
  max-width: 950px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Ensure consistent spacing in mobile views for Engagement Grid */
@media (max-width: 768px) {
  .engagement-grid { grid-template-columns: 1fr; }
  .philosophy-box { padding: 2.5rem 1.5rem; }
  .philosophy-box h3 { font-size: 1.4rem; }
}
/* ========================================================
   Mega Menu & Navigation Adjustments
   ======================================================== */

.mega-menu-sidebar { 
  display: flex; 
  flex-direction: column; 
  gap: 0.75rem; 
  padding: 30px 22px; 
  background: var(--primary-dark); 
}

.mega-menu-tab { 
  padding: 1.2rem 1rem; 
  border-radius: var(--radius-md); 
  font-weight: 700; 
  font-size: 0.95rem; 
  text-transform: uppercase; 
  cursor: pointer; 
  text-decoration: none; 
  display: block; 
  transition: all 0.2s ease; 
}

.mega-menu-tab.active { 
  background: var(--primary-brand); 
  color: #ffffff; 
}

/* New Link Style in Sidebar */
.mega-menu-tab.link { 
  background: transparent; 
  color: rgba(255,255,255,0.65); 
}

.mega-menu-tab.link:hover { 
  background: rgba(255,255,255,0.08); 
  color: #ffffff; 
}

/* Service Card Titles in Mega Menu */
.mega-service-card strong { 
  color: var(--accent-orange) !important; 
  font-size: 1.05rem; 
  font-weight: 700; 
  display: block; 
  margin-bottom: 0.5rem; 
}
/* ========================================================
   Services Page - Image Strip UI & Animations
   ======================================================== */

.services-hero {
  position: relative;
  background-size: cover;
  background-position: center;
  color: #ffffff;
  padding: 10rem 5% 8rem;
  text-align: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(4, 23, 42, 0.92) 0%, rgba(9, 35, 63, 0.8) 100%);
  z-index: 1;
}

.services-hero .container {
  position: relative;
  z-index: 2;
}

/* Decorative Hero Corners */
.hero-corner-detail {
  position: absolute;
  z-index: 2;
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-corner-detail.top-left {
  top: 2rem;
  left: 3rem;
  border-left: 2px solid var(--accent-orange);
  padding-left: 0.75rem;
}

.hero-corner-detail.bottom-right {
  bottom: 2rem;
  right: 3rem;
  border-right: 2px solid var(--accent-orange);
  padding-right: 0.75rem;
}

/* Centering Actions */
.hero-actions.justify-center {
  justify-content: center;
}

.services-hero .eyebrow { margin-bottom: 1.5rem; }

.services-hero h1 {
  font-size: clamp(2.5rem, 4vw, 3.8rem);
  line-height: 1.15;
  font-weight: 800;
  max-width: 900px;
  margin: 0 auto 1.5rem;
  letter-spacing: -1px;
}

.services-hero p {
  font-size: 1.15rem;
  color: #dbe6ef;
  max-width: 800px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .hero-corner-detail { display: none; } /* Hidden on mobile to keep layout clean */
  .services-hero { padding: 7rem 5% 5rem; }
}
/* ========================================================
   Services Page - Hero Section (White Theme)
   ======================================================== */

.services-hero {
  position: relative;
  background-color: #ffffff; /* White background */
  padding: 10rem 5% 8rem;
  text-align: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

/* Subtle Digital Grid Background */
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(9, 35, 63, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(9, 35, 63, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: 0;
  pointer-events: none;
}

.services-hero .container {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.services-hero .eyebrow { 
  margin-bottom: 1.5rem; 
  display: inline-block;
  padding: 0.35rem 1rem;
  background: rgba(244, 123, 32, 0.1);
  color: var(--accent-orange);
  border: 1px solid rgba(244, 123, 32, 0.3);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.services-hero h1 {
  font-size: clamp(2.5rem, 4.5vw, 4rem);
  line-height: 1.15;
  font-weight: 800;
  margin: 0 auto 1.5rem;
  letter-spacing: -1.5px;
  color: #edf2f7; /* Dark text for contrast */
}

.services-hero .highlight-text {
  color: var(--accent-orange);
}

.services-hero p {
  font-size: 1.2rem;
  color: #abb5c5; /* Darker muted text */
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Centering Actions & adjusting secondary button for white bg */
.hero-actions.justify-center {
  justify-content: center;
}

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

.btn-outline.dark-outline:hover {
  background: var(--primary-dark);
  color: #ffffff;
}

@media (max-width: 768px) {
  .services-hero { padding: 7rem 5% 5rem; }
}