/* --- 1. FONTS & VARIABLES --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #070B14;
  --bg-alt: #0F172A;
  --surface: rgba(15, 23, 42, 0.6);
  --card: rgba(17, 24, 39, 0.7);
  --text: #F8FAFC;
  --muted: #94A3B8;
  --brand: #00A651;
  --brand-600: #008A44;
  --brand-glow: rgba(0, 166, 81, 0.3);
  --radius: 12px;
  --border-light: rgba(255, 255, 255, 0.08);
  --shadow: 0 10px 30px rgba(0,0,0,0.35);
}

/* --- 2. BASE & RESET --- */
* { box-sizing: border-box; }
html, body { min-height: 100vh; margin: 0; }
body {
  font-family: 'PlusJakartaSans-Regular';
  letter-spacing: -0.01em;
  color: var(--text);
  background: radial-gradient(circle at top right, var(--bg-alt), var(--bg) 100%);
  background-attachment: fixed;
  line-height: 1.7;
  color:#fff;
}
@font-face {
    font-family: 'PlusJakartaSans-ExtraLight';
    font-style: normal;
    font-weight: 400;
    src: local("PlusJakartaSans-ExtraLight"),
        url(fonts/PlusJakartaSans-ExtraLight.ttf) format("woff");
}

@font-face {
    font-family: 'PlusJakartaSans-Regular';
    font-style: normal;
    font-weight: 400;
    src: local("PlusJakartaSans-Regular"),
        url(fonts/PlusJakartaSans-Regular.woff) format("woff");
}

@font-face {
    font-family: 'PlusJakartaSans-SemiBold';
    font-style: normal;
    font-weight: 400;
    src: local("PlusJakartaSans-SemiBold"),
        url(fonts/PlusJakartaSans-SemiBold.woff) format("woff");
}

@font-face {
    font-family: 'PlusJakartaSans-Bold';
    font-style: normal;
    font-weight: 400;
    src: local("PlusJakartaSans-Bold"),
        url(fonts/PlusJakartaSans-Bold.woff) format("woff");
}

@font-face {
    font-family: 'WixMadeforText-Regular';
    font-style: normal;
    font-weight: 400;
    src: local("WixMadeforText-Regular"),
        url(fonts/WixMadeforText-Regular.woff) format("woff");
}

@font-face {
    font-family: 'WixMadeforText-SemiBold';
    font-style: normal;
    font-weight: 400;
    src: local("WixMadeforText-SemiBold"),
        url(fonts/WixMadeforText-SemiBold.woff) format("woff");
}

@font-face {
    font-family: 'WixMadeforText-Bold';
    font-style: normal;
    font-weight: 400;
    src: local("WixMadeforText-Bold"),
        url(fonts/WixMadeforText-Bold.woff) format("woff");
}

@font-face {
    font-family: "degular";
    src: url("https://use.typekit.net/af/174e41/00000000000000007735c867/30/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3") format("woff2"), url("https://use.typekit.net/af/174e41/00000000000000007735c867/30/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3") format("woff"), url("https://use.typekit.net/af/174e41/00000000000000007735c867/30/a?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3") format("opentype");
    font-display: auto;
    font-style: normal;
    font-weight: 400;
    font-stretch: normal;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; transition: all 0.2s ease; }
a:hover { text-decoration: underline; }

/* --- ACCESSIBILITY --- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  position: fixed;
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  background: var(--brand);
  color: #fff;
  padding: 0.8rem 1.2rem;
  border-radius: 8px;
  z-index: 9999;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 4px 12px var(--brand-glow);
}

/* --- 3. LAYOUT --- */
.container { width: min(1100px, 92vw); margin-inline: auto; }
.section { padding: 6rem 0; }
.section.alt {
  background: rgba(255,255,255,0.01);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

/* --- 4. HEADER & NAV --- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 11, 20, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 1rem 0; }
.brand { display: flex; align-items: center; gap: 0.8rem; color: var(--text); font-weight: 700; font-size: 1.2rem; }
.brand:hover { text-decoration: none; }
.primary-nav ul { display: flex; gap: 1.5rem; list-style: none; margin: 0; padding: 0; align-items: center; }

/* Nav Link Animation */
.primary-nav a:not(.btn-sm) {
  position: relative; color: var(--text); text-decoration: none; padding-bottom: 4px; transition: color 0.3s ease;
}
.primary-nav a:not(.btn-sm)::after {
  content: ''; position: absolute; width: 0; height: 2px; bottom: 0; left: 0;
  background-color: var(--brand); transition: width 0.3s ease;
}
.primary-nav a:not(.btn-sm):hover { color: #ffffff; text-decoration: none; }
.primary-nav a:not(.btn-sm):hover::after { width: 100%; }

.nav-toggle { display: none; background: none; border: none; width: 42px; height: 42px; position: relative; cursor: pointer; }
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
  content: ""; position: absolute; left: 10px; right: 10px; height: 2px; background: #fff; transition: 0.3s;
}
.nav-toggle-bar { top: 20px; }
.nav-toggle-bar::before { top: -8px; }
.nav-toggle-bar::after { top: 8px; }

/* --- 5. HERO --- */
.hero {
  padding: clamp(4rem, 6vw, 6rem) 0 4rem;
  background: radial-gradient(1200px 500px at 10% -20%, rgba(34,197,94,0.15), transparent 60%),
              radial-gradient(800px 400px at 90% -10%, rgba(0,102,179,0.15), transparent 60%);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2rem; align-items: center; }
.hero h1 { font-size: clamp(2.2rem, 4vw, 3.5rem); line-height: 1.15; margin-bottom: 1rem; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--muted); margin-bottom: 2rem; }

/* --- 6. COMPONENTS (Cards, Buttons, Forms) --- */
.card {
  background: var(--card) !important;
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-light) !important;
    border-radius: var(--radius) !important;
    padding: 2.5rem 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s ease, box-shadow 0.3s ease;
    color: #fff;
}
.card:hover {
  transform: translateY(-6px);
  border-color: var(--brand);
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.3), 0 0 15px var(--brand-glow);
}
.card.highlight { border-color: rgba(34, 197, 94, 0.4); }

.btn, .btn-sm {
  display: inline-block;
  color: #ffffff;
  font-weight: 600;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
}
.btn {
  background: linear-gradient(135deg, var(--brand), var(--brand-600));
  padding: 0.8rem 1.75rem;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 12px var(--brand-glow);
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px var(--brand-glow);
  filter: brightness(1.1);
  text-decoration: none;
  color: #fff;
}
.btn-sm {
  background: transparent;
  padding: 0.45rem 1rem;
  border-radius: 999px;
}
.btn-sm:hover { background: rgba(255,255,255,0.1); color: #fff; text-decoration: none; }

.btn-outline { background: transparent; box-shadow: none; border-color: rgba(255,255,255,0.3); }
.btn-outline:hover { background: rgba(255,255,255,0.05); box-shadow: none; border-color: #fff; }

.actions { display: flex; gap: 1rem; margin-top: 1.5rem; flex-wrap: wrap; }

.kv { display: grid; grid-template-columns: auto 1fr; gap: 0.5rem 1rem; }
.kv dt { color: var(--brand); font-weight: 600; }
.kv dd { margin: 0; color: var(--muted); }

.form label { display: grid; gap: 0.4rem; margin-bottom: 1.2rem; font-weight: 500; }
.form input, .form textarea {
  width: 100%; padding: 0.8rem; border-radius: 8px;
  background: rgba(0,0,0,0.2); color: var(--text);
  border: 1px solid var(--border-light);
  font-family: inherit; transition: border-color 0.3s;
}
.form input:focus, .form textarea:focus {
  outline: none; border-color: var(--brand); background: rgba(0,0,0,0.4);
}

.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; padding: 4rem 0 2rem; border-top: 1px solid var(--border-light); margin-top: 4rem; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--brand); text-decoration: none; }
.fineprint { color: var(--muted); margin-top: 1rem; font-size: 0.9rem; }

/* --- 7. RESPONSIVE / MOBILE --- */
@media (max-width: 960px) {
  .hero-grid, .grid-2 { grid-template-columns: 1fr; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .primary-nav {
    display: none; position: absolute; right: 1rem; top: 70px;
    background: var(--card); backdrop-filter: blur(16px);
    border: 1px solid var(--border-light); border-radius: var(--radius);
    padding: 1.5rem; width: calc(100% - 2rem); box-shadow: var(--shadow);
  }
  .primary-nav.open { display: block; }
  .primary-nav ul { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .nav-toggle { display: block; }
  .section { padding: 4rem 0; }
}
/* --- 8. TYPOGRAPHY POLISH (Fixing the text walls) --- */
.section p {
  color: var(--muted);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}
.section p strong {
  color: var(--text);
}
/* Turn the first paragraph into a bold lead-in */
.grid-2 > div > p:first-of-type {
  color: var(--text);
  font-size: 1.2rem;
  font-weight: 500;
  border-left: 4px solid var(--brand);
  padding-left: 1.2rem;
  margin-bottom: 2rem;
}


/* --- 10. CAPABILITIES GRID & INTERACTIVE CARDS --- */

/* Fix the orphan card: Force a perfect 2x2 grid for this specific section */
#capabilities .cards {
  grid-template-columns: repeat(2, 1fr);
}

/* Make the text look like a premium header, not a random blue hyperlink */
.card h3 a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.3s ease;
}

/* Turn the text brand-green when the card is hovered */
.card:hover h3 a {
  color: var(--brand);
}

/* The ultimate UI trick: Expand the link's hit area to cover the entire card */
.card {
  position: relative; /* Keeps the expanded link contained to the card */
}
.card h3 a::after {
  content: '';
  position: absolute;
  top: 0; 
  right: 0; 
  bottom: 0; 
  left: 0;
  z-index: 1;
}

/* Ensure mobile responsiveness still works for this section */
@media (max-width: 768px) {
  #capabilities .cards {
    grid-template-columns: 1fr; /* Stack them in a single column on phones */
  }
}
/* --- 11. ACCORDION UI (Core Services) --- */
.accordion {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border-light);
  margin-top: 3rem;
}

.accordion-item {
  border-bottom: 1px solid var(--border-light);
}

.accordion-header {
  display: flex;
  align-items: center;
  padding: 1.5rem 0;
  cursor: pointer;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  list-style: none; /* Hides default marker in most browsers */
  transition: color 0.3s ease;
}
/* Hides default marker in WebKit (Chrome/Safari) */
.accordion-header::-webkit-details-marker {
  display: none;
}

.accordion-header:hover {
  color: var(--brand);
}

/* Custom Icons layout */
.accordion-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  margin-right: 1.2rem;
  color: var(--muted);
  font-size: 1.4rem;
  transition: color 0.3s ease;
}

/* The Animated Chevron */
.accordion-chevron {
  margin-left: auto;
  width: 20px;
  height: 20px;
  position: relative;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.accordion-chevron::before, 
.accordion-chevron::after {
  content: '';
  position: absolute;
  top: 9px;
  width: 12px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}
.accordion-chevron::before {
  left: 0;
  transform: rotate(45deg);
}
.accordion-chevron::after {
  right: 0;
  transform: rotate(-45deg);
}

/* Open State Styling */
details[open] .accordion-chevron {
  transform: rotate(-180deg);
}
details[open] .accordion-header {
  color: var(--brand);
}
details[open] .accordion-icon {
  color: var(--brand);
}

/* The Content Inside */
.accordion-content {
  padding: 0 1rem 2.5rem 2.8rem; /* Aligns perfectly under the text, avoiding the icon */
  color: var(--muted);
  animation: slideDown 0.3s ease-out;
}
.accordion-content ul {
  margin-top: 1.2rem;
  padding-left: 1.2rem;
}
.accordion-content li {
  margin-bottom: 0.8rem;
}
.accordion-content strong {
  color: var(--text);
}

/* Smooth reveal animation */
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
/* --- 12. VALUE CHAIN PILLARS --- */
.value-chain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

.vc-card {
  background: linear-gradient(180deg, var(--card) 0%, rgba(15, 23, 42, 0.2) 100%);
  border: 1px solid var(--border-light);
  border-top: 3px solid var(--brand); /* Gives it that structural 'pillar' look */
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  backdrop-filter: blur(10px);
}

.vc-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4), 0 0 15px var(--brand-glow);
  border-color: rgba(34, 197, 94, 0.3);
  border-top-color: var(--brand);
}

.vc-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(0, 166, 81, 0.1);
  color: var(--brand);
  margin-bottom: 1.5rem;
}

.vc-card h3 {
  color: var(--text);
  font-size: 1.15rem;
  line-height: 1.4;
  margin-top: 0;
  margin-bottom: 1.2rem;
  min-height: 3rem; /* Keeps titles aligned if one wraps */
}

.vc-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.vc-card li {
  position: relative;
  padding-left: 1.2rem;
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.4;
}

/* Custom glowing bullet points */
.vc-card li::before {
  content: '▹';
  color: var(--brand);
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
}

/* --- 13. OUTCOMES & FEATURES GRID --- */
.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.outcome-card {
  text-align: center;
  background: var(--card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.outcome-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.outcome-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0,166,81,0.1), rgba(0,138,68,0.2));
  color: var(--brand);
  margin-bottom: 1.5rem;
  border: 1px solid var(--border-light);
}

.outcome-card h3 {
  color: var(--text);
  font-size: 1.2rem;
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.outcome-card p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 0;
}
/* --- 14. OUTCOME CHECKLIST --- */
.outcome-list {
  max-width: 800px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 3rem;
  box-shadow: var(--shadow);
}

.outcome-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.5rem; /* Vertical spacing between items */
}

.outcome-list li {
  position: relative;
  padding-left: 2.5rem; /* Space for the icon */
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.5;
  display: flex;
  align-items: center;
}

/* The custom checkmark icon */
.outcome-list li::before {
  content: '✔';
  position: absolute;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 166, 81, 0.1);
  color: var(--brand);
  font-weight: bold;
  font-size: 1rem;
  border: 1px solid rgba(0, 166, 81, 0.3);
}

.card.highlight {
    background: transparent;
}
h1, h2, h3, h4, h5, h6 {
    color: #fff;
}
a.nav-link:hover {
	text-decoration:none;
	}
details.accordion-item {
    background: transparent;
    border: 0px;
	border-bottom: 1px solid #2e2e2e;
}
.accordion {
    background: transparent;
}
.containerPiller {
    display: flex;
    gap: 3.5rem;
    justify-content: center;
}
.containerPiller .vc-card {
	margin:10px 0px 20px 0px;
	}
.value-chain-grid.value-chain-gridPiller {
    display: block;
}
section#help h2, section#capabilities h2 {
    margin-bottom: 35px;
}
main#main .hero {
    padding-top: 170px;
}