:root{
  /* Core theme */
  --bg:#1C2B3A;
  --card:rgba(255,255,255,0.08);
  --border:rgba(234,241,247,0.12);
  --ink:#EAF1F7;
  --muted:rgba(234,241,247,0.72);

  /* Brand accents (update to your exact brand hex codes if desired) */
  --teal:#16C2D5;
  --teal2:#89DEE2;
  --brand-kicker: #E76F51;


  /* Layout + styling */
  --radius:16px;
  --radius-lg:22px;
  --shadow:0 18px 40px rgba(0,0,0,0.35);
  --maxw:1160px;
  --navh:78px;
  --font:ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}

body{
  margin:0;
  font-family:var(--font);
  color:var(--ink);
  background:
    radial-gradient(1000px 700px at 10% -10%, rgba(22,194,213,0.10), transparent 60%),
    radial-gradient(900px 650px at 85% 5%, rgba(15,55,85,0.30), transparent 60%),
    var(--bg);
  line-height:1.55;
}

a{color:var(--teal);text-decoration:none}
a:hover{text-decoration:underline}

.wrap{max-width:var(--maxw);margin:0 auto;padding:0 20px}

/* ================================
   Header / Nav
   ================================ */

header{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(7,26,43,0.85);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--border);
  min-height:var(--navh);
}

.nav{
  min-height:var(--navh);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}

nav a.active {
  color: var(--accent);
  font-weight: 800;
  position: relative;
}

nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.brand-name{
  font-weight:900;
  font-size:24px;
  line-height:1.05;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:240px;
  text-decoration:none;
  color:inherit;
}

.brand:hover{
  text-decoration:none;
  opacity:0.9;
}

.brand img{
  height:54px;
  width:auto;
  display:block;
}

.brand .sub{
  font-size:12px;
  color:var(--muted);
}

.kicker{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;

  /* New brand styling */
  color: var(--brand-kicker);
  border: 1px solid rgba(231,111,81,0.45);
  background: rgba(231,111,81,0.10);

  font-weight: 900;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}


nav ul{
  list-style:none;
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin:0;
  padding:0;
}

nav a{
  padding:10px;
  border-radius:12px;
  color:var(--ink);
}

nav a:hover{
  background:rgba(255,255,255,0.06);
  text-decoration:none;
}

.cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 14px;
  border-radius:14px;
  background:linear-gradient(135deg,var(--teal),var(--teal2));
  color:#06202B;
  font-weight:900;
  border:1px solid rgba(255,255,255,0.10);
  box-shadow:0 12px 28px rgba(22,194,213,0.18);
}

.cta:hover{
  filter:brightness(1.02);
  text-decoration:none;
}

/* ================================
   Full-width fixed homepage image
   ================================ */

.homepage-image{
  height: 340px;              /* Desktop default */
  width: 100%;
  background-image: url("../img/homepage.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  /* Desktop parallax effect */
  background-attachment: fixed;

  border-bottom: 1px solid var(--border);
}

/* Tablet */
@media (max-width: 980px){
  .homepage-image{
    height: 260px;
    /* Mobile/tablet reliability: fixed backgrounds can be inconsistent */
    background-attachment: scroll;
  }
}

/* Phone */
@media (max-width: 520px){
  .homepage-image{
    height: 210px;
  }
}

/* --- Home Page Grid Updates --- */
.home-grid-section {
    padding: 60px 0;
    text-align: center;
}

.home-subtitle {
    max-width: 800px;
    margin: 0 auto 50px auto;
    font-size: 1.2rem;
    color: var(--text-muted); /* Uses your existing variable */
    line-height: 1.6;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.value-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border-color: var(--primary);
}

.value-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    margin-bottom: 0;
}

.value-card h3 {
    margin: 24px 24px 12px 24px;
    font-size: 1.4rem;
    color: var(--primary);
    text-align: left;
}

.value-card p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0 24px 24px 24px;
    text-align: left;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .value-grid {
        grid-template-columns: 1fr;
    }
}

/* ================================
   Main sections
   ================================ */

section{padding:12px 0}

.hero{padding:28px 0 18px} /* slightly tighter since homepage image sits above */

.hero-card{
  background:rgba(255,255,255,0.06);
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow);
  padding:30px;
}

.kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(22,194,213,0.12);
  border:1px solid rgba(22,194,213,0.28);
  color:var(--teal2);
  font-size:12px;
  font-weight:900;
  margin-bottom:12px;
}

h1{
  margin:0 0 10px;
  font-size:34px;
  line-height:1.1;
}

p{
  margin:0;
  color:var(--muted);
}

.btnrow{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:18px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 14px;
  border-radius:14px;
  font-weight:900;
  font-size:13px;
  border:1px solid rgba(234,241,247,0.14);
  background:rgba(255,255,255,0.06);
  color:var(--ink);
}

.btn:hover{
  background:rgba(255,255,255,0.09);
  text-decoration:none;
}

.btn.primary{
  border-color:rgba(22,194,213,0.36);
  background:linear-gradient(135deg, rgba(22,194,213,0.95), rgba(137,222,226,0.95));
  color:#06202B;
  box-shadow:0 14px 30px rgba(22,194,213,0.18);
}

/* ================================
   Cards / Grid
   ================================ */

.grid{
  display:grid;
  grid-template-columns:repeat(12,1fr);
  gap:14px;
  margin-top:18px;
}

.card{
  grid-column:span 4;
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:16px;
  box-shadow:0 14px 28px rgba(0,0,0,0.22);
}

.card h3{
  margin:0 0 8px;
  font-size:15px;
}

.card div{
  color:var(--muted);
  margin-top:6px;
  font-size:13px;
}

/* About page helpers */
.section{ padding: 18px 0; }

.about-hero .hero-card{ padding-bottom: 24px; }

.h2{
  margin: 10px 0 10px;
  font-size: 20px;
  line-height: 1.25;
}

.h3{
  margin: 10px 0 10px;
  font-size: 18px;
  line-height: 1.25;
}

/* Principles chips */
.principles{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:16px;
}
.chip{
  display:inline-flex;
  align-items:center;
  padding:8px 12px;
  border-radius:999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(234,241,247,0.14);
  color: rgba(234,241,247,0.9);
  font-size: 12px;
  font-weight: 800;
}

/* Systems vs People callout */
.callout{
  margin-top:16px;
  padding:14px;
  border-radius: var(--radius);
  background: rgba(22,194,213,0.08);
  border: 1px solid rgba(22,194,213,0.22);
}
.callout-title{
  font-weight: 900;
  font-size: 12px;
  color: rgba(137,222,226,0.95);
  margin-bottom: 6px;
}
.callout-text{
  color: rgba(234,241,247,0.9);
}

/* Checklist */
.checklist{
  margin: 12px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
  color: rgba(234,241,247,0.8);
}
.checklist strong{ color: rgba(234,241,247,0.95); }

/* Founder layout */
.founder{
  display:grid;
  grid-template-columns: 220px 1fr;
  gap: 18px;
  margin-top: 10px;
  align-items:start;
}
.founder-photo{
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 14px 28px rgba(0,0,0,0.22);
}

/* Timeline */
.timeline{ margin-top: 12px; display:grid; gap: 14px; }
.timeline-item{ display:flex; gap: 12px; align-items:flex-start; }
.timeline-dot{
  margin-top: 4px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(22,194,213,0.95);
  box-shadow: 0 0 0 4px rgba(22,194,213,0.14);
}
.timeline-title{ font-weight: 900; margin-bottom: 2px; }
.timeline-text{ color: rgba(234,241,247,0.72); font-size: 13px; }

/* CTA band */
.cta-band{
  padding: 26px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
}
.cta-band-inner{
  display:flex;
  flex-wrap:wrap;
  gap: 16px;
  align-items:center;
  justify-content: space-between;
}
.cta-kicker{
  font-weight: 900;
  color: rgba(137,222,226,0.95);
  margin-bottom: 6px;
}
.cta-text{
  color: rgba(234,241,247,0.78);
  max-width: 760px;
}
.cta-actions{
  display:flex;
  gap: 10px;
  flex-wrap:wrap;
}

/* Responsive */
@media (max-width: 820px){
  .founder{ grid-template-columns: 1fr; }
  .founder-photo{ height: 260px; }
  .cta-band-inner{ justify-content: flex-start; }
}

/* AI boxes (About page) */
.ai-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.ai-box{
  padding: 14px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
}
.ai-icon{
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display:flex;
  align-items:center;
  justify-content:center;
  border: 1px solid rgba(234,241,247,0.14);
  background: rgba(255,255,255,0.06);
  color: rgba(137,222,226,0.95);
}
.ai-icon svg{ width: 18px; height: 18px; }
.ai-title{
  margin-top: 10px;
  font-size: 16px;
  font-weight: 900;
  color: rgba(234,241,247,0.95);
}
.ai-text{
  margin-top: 6px;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(234,241,247,0.76);
}
.ai-text strong{ color: rgba(234,241,247,0.92); }

@media (max-width: 980px){
  .ai-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px){
  .ai-grid{ grid-template-columns: 1fr; }
}

/* Services page hero background */
.services-hero {
  position: relative;
  overflow: hidden;
  background-image:
    linear-gradient(
      rgba(10, 18, 28, 0.82),
      rgba(10, 18, 28, 0.82)
    ),
    url("../img/services-hero.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.services-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(234,241,247,0.12);
}

/* Services packages layout (FIXED alternating alignment) */
.package-row{
  display:grid;
  grid-template-columns: 320px 1fr;
  grid-template-areas: "media body";
  gap: 18px;
  align-items: start;
}

.package-media{ grid-area: media; }
.package-body{ grid-area: body; }

.package-row.reverse{
  grid-template-columns: 1fr 320px;
  grid-template-areas: "body media";
}

.package-thumb{
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
  box-shadow: 0 14px 28px rgba(0,0,0,0.22);
}

.package-body .h2{ margin-top: 8px; }

.package-list{
  margin: 12px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
  color: rgba(234,241,247,0.78);
}
.package-list strong{ color: rgba(234,241,247,0.95); }

/* Mobile responsive */
@media (max-width: 900px){
  .package-row,
  .package-row.reverse{
    grid-template-columns: 1fr;
    grid-template-areas:
      "media"
      "body";
  }
  .package-thumb{ height: 240px; }
}

/* ================================
   Thought Leadership Page Styles
   ================================ */

/* Insights Hero Section */
.insights-hero {
  padding: 40px 20px 32px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.insights-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, transparent 0%, rgba(7, 26, 43, 0.4) 100%);
  pointer-events: none;
}

.insights-hero h1,
.insights-hero p {
  position: relative;
  z-index: 1;
}

.insights-hero h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.insights-hero p {
  font-size: 18px;
  color: rgba(234, 241, 247, 0.8);
  max-width: 700px;
  margin: 0 auto;
}

/* Filter Bar */
.filter-bar {
  background: rgba(255, 255, 255, 0.05);
  padding: 24px 20px;
  border-bottom: 1px solid var(--border);
}

.filter-container {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.filter-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  margin-right: 8px;
}

.filter-btn {
  padding: 8px 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(234, 241, 247, 0.14);
  border-radius: 20px;
  color: rgba(234, 241, 247, 0.9);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--teal);
  color: var(--bg);
  border-color: var(--teal);
}

/* Featured Content Section */
.featured-section {
  margin-bottom: 24px;
}

.section-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--ink);
}

.featured-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 40px;
  transition: all 0.3s ease;
}

.featured-card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.featured-image {
  width: 100%;
  height: 320px;
  background: linear-gradient(135deg, rgba(45, 62, 80, 0.4) 0%, rgba(7, 26, 43, 0.6) 100%);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
}

.featured-content h3 {
  font-size: 24px;
  margin-bottom: 12px;
  color: var(--ink);
}

.featured-meta {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
  font-size: 14px;
  color: rgba(234, 241, 247, 0.6);
}

.featured-excerpt {
  color: rgba(234, 241, 247, 0.85);
  line-height: 1.8;
  margin-bottom: 20px;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--teal);
  text-decoration: none;
  font-weight: 600;
  transition: gap 0.3s ease;
}

.read-more:hover {
  gap: 12px;
}

/* Content Grid */
.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 24px;
  margin-bottom: 24px;
}

.content-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}

.content-card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.card-image {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, rgba(45, 62, 80, 0.4) 0%, rgba(7, 26, 43, 0.6) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
}

.card-content {
  padding: 24px;
}

.card-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(22, 194, 213, 0.2);
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.card-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--ink);
}

.card-meta {
  font-size: 13px;
  color: rgba(234, 241, 247, 0.6);
  margin-bottom: 12px;
}

.card-excerpt {
  font-size: 15px;
  color: rgba(234, 241, 247, 0.8);
  line-height: 1.6;
}

/* Newsletter Section */
.newsletter-section {
  background: linear-gradient(135deg, rgba(22, 194, 213, 0.1) 0%, rgba(22, 194, 213, 0.05) 100%);
  border: 1px solid rgba(22, 194, 213, 0.2);
  border-radius: var(--radius-lg);
  padding: 24px 40px;
  text-align: center;
  margin-bottom: 24px;
}

.newsletter-section h2 {
  font-size: 32px;
  margin-top: 0;
  margin-bottom: 8px;
  color: var(--ink);
}

.newsletter-section p {
  font-size: 18px;
  color: rgba(234, 241, 247, 0.8);
  margin-top: 0;
  margin-bottom: 20px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-input {
  flex: 1;
  padding: 16px 20px;
  background: rgba(7, 26, 43, 0.5);
  border: 1px solid rgba(234, 241, 247, 0.2);
  border-radius: var(--radius);
  color: var(--ink);
  font-size: 16px;
}

.newsletter-input::placeholder {
  color: rgba(234, 241, 247, 0.5);
}

.newsletter-btn {
  padding: 16px 32px;
  background: var(--teal);
  border: none;
  border-radius: var(--radius);
  color: var(--bg);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.newsletter-btn:hover {
  background: var(--teal2);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(22, 194, 213, 0.3);
}

.newsletter-privacy {
  font-size: 14px;
  margin-top: 12px;
  margin-bottom: 0;
  color: rgba(234, 241, 247, 0.6);
}

/* Thought Leadership Responsive */
@media (max-width: 768px) {
  .insights-hero h1 {
    font-size: 36px;
  }

  .featured-card {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px;
  }

  .content-grid {
    grid-template-columns: 1fr;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .section-title {
    font-size: 24px;
  }
}

.contact-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 900px){
  .contact-grid{
    grid-template-columns: 1fr;
  }
}

/* Ensure the grid displays two columns on desktop */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}

/* Custom styles for form inputs to match the AIML brand */
.contact-input {
  width: 100%;
  padding: 12px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05); /* Match card transparency */
  border: 1px solid var(--border);
  color: var(--ink);
  font-family: var(--font);
  font-size: 14px;
  transition: border-color 0.2s;
}

.contact-input:focus {
  outline: none;
  border-color: var(--teal);
  background: rgba(255, 255, 255, 0.08);
}

/* Fix for mobile */
@media (max-width: 820px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* ================================
   Services overview – 3x2 hero tiles
   ================================ */

.services-overview{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 18px;
}

.service-tile{
  position: relative;
  display: block;
  min-height: 260px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: var(--shadow);
}

/* readable overlay */
.service-tile::before{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(10,18,28,0.78), rgba(10,18,28,0.86));
}

.service-tile .tile-content{
  position: relative;
  z-index: 1;
  padding: 26px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
}

.service-tile .tile-kicker{
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(22,194,213,0.12);
  border: 1px solid rgba(22,194,213,0.28);
  color: var(--teal2);
  font-size: 12px;
  font-weight: 900;
}

.tile-kickers-wrapper {
  display: flex;
  gap: 10px; /* Adjust spacing between the kickers */
  flex-wrap: wrap; /* Optional: allows wrapping on smaller screens */
}
.service-tile h2{
  margin: 0;
  font-size: 26px;
  line-height: 1.15;
}

.service-tile p{
  margin: 0;
  color: rgba(234,241,247,0.80);
  max-width: 56ch;
}

.service-tile .tile-cta{
  margin-top: 2px;
  font-weight: 900;
  color: var(--teal2);
}

.service-tile:hover{
  text-decoration: none;
  transform: translateY(-2px);
  border-color: rgba(22,194,213,0.35);
}

@media (max-width: 900px){
  .services-overview{
    grid-template-columns: 1fr;
  }
  .service-tile{
    min-height: 240px;
  }
  .service-tile .tile-content{
    padding: 20px;
  }
}

/* ================================
   Tile background images placeholders
   Add these images to assets/img/
   ================================ */
.tile-implementation {
  background-image: url('../img/aimain.png');
}
.tile-genai{
  background-image: url("../img/services-genai.jpg");
}
.tile-specialized{
  background-image: url("../img/services-specialized.jpg");
}
.tile-managed{
  background-image: url("../img/services-managed.jpg");
}
.tile-executive{
  background-image: url("../img/services-executive.jpg");
}
.tile-learning{
  background-image: url("../img/learning.png");
}

/* FIX: Executive page thumbnails too large (override any global img rules) */
.leader-amplification .service-thumb{
  width: 72px !important;
  height: 72px !important;
  max-width: 72px !important;
  max-height: 72px !important;
  object-fit: cover;
  flex: 0 0 72px;
  border-radius: 12px;
}

@media (max-width: 768px){
  .leader-amplification .service-thumb{
    width: 56px !important;
    height: 56px !important;
    max-width: 56px !important;
    max-height: 56px !important;
    flex: 0 0 56px;
  }
  .leader-amplification .service-item{
    gap: 16px;
  }
}

/* Services page: top-align hero tiles and keep CTA at the bottom */
.services-overview-top .service-tile{
  display: flex;              /* ensure consistent stretching */
}

.services-overview-top .tile-content{
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* TOP align */
  height: 100%;
  width: 100%;
}

.services-overview-top .tile-cta{
  margin-top: auto;            /* pushes CTA to the bottom */
}

/* optional: keep dual kickers tidy */
.services-overview-top .tile-kickers-wrapper{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}


/* ================================
   Footer
   ================================ */

.footer{padding:30px 0 44px}

.footerbar{
  border:1px solid rgba(234,241,247,0.10);
  border-radius:16px;
  padding:14px;
  background:rgba(255,255,255,0.05);
  color:var(--muted);
  font-size:12px;
}

/* ================================
   Responsive
   ================================ */

@media(max-width:980px){
  h1{font-size:30px}
  .card{grid-column:span 12}
  
  /* Mobile navigation - keep everything on one line */
  header{
    min-height:auto;
  }
  
  .nav{
    min-height:auto;
    flex-wrap:nowrap;
    gap:6px;
    padding:10px 0;
  }
  
  .brand{
    min-width:auto;
    flex-shrink:1;
    gap:8px;
  }
  
  .brand-name{
    font-size:18px;
  }
  
  .brand img{
    height:48px;
  }
  
  nav{
    flex:0 1 auto;
    display:flex;
    justify-content:center;
  }
  
  nav ul{
    display:flex;
    flex-direction:row;
    gap:4px;
    flex-wrap:nowrap;
    justify-content:center;
  }
  
  nav a{
    padding:8px 6px;
    font-size:12px;
    white-space:nowrap;
  }
  
  .cta{
    padding:8px 10px;
    font-size:12px;
    white-space:nowrap;
    flex-shrink:0;
  }
  
  /* Hide brand subtitle on very small screens */
  .brand .sub{
    display:none;
  }
}

/* Extra small screens - further compact navigation */
@media(max-width:640px){
  .nav{
    gap:4px;
    padding:8px 0;
  }
  
  .brand{
    max-width:140px;
    gap:6px;
  }
  
  nav ul{
    gap:2px;
  }
  
  nav a{
    padding:6px 4px;
    font-size:10px;
  }
  
  .cta{
    padding:6px 8px;
    font-size:10px;
  }
  
  .brand-name{
    font-size:15px;
  }
  
  .brand img{
    height:38px;
  }
}

/* ================================
   GenAI packages grid (3 + 2 layout)
   ================================ */

.packages-col{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 14px;
}

/* Row 2 centered: two equal-width cards */
.packages-row2{
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;

  /* Center the row visually */
  width: min(900px, 100%);
  margin: 0 auto;
}

.package-col-card{
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(234,241,247,0.12);
  border-radius: var(--radius);
  padding: 18px;
}

.package-col-title{
  margin: 0 0 10px 0;
  font-size: 18px;
  font-weight: 900;
  color: rgba(234,241,247,0.95);
}

/* Green tick bullets */
.package-bullets{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  color: rgba(234,241,247,0.78);
}

/* Two-line bullet rows (label on line 1, description on line 2) */
.package-bullets li{
  display: grid;
  grid-template-columns: 18px 1fr;
  grid-template-rows: auto auto;
  column-gap: 10px;
  row-gap: 4px;
  align-items: start;
  line-height: 1.55;
}

.package-bullets li::before{
  content: "✓";
  color: #22c55e;
  font-weight: 900;
  margin-top: 2px;
  grid-column: 1;
  grid-row: 1 / span 2;
}

.package-bullets .tick-label{
  grid-column: 2;
  grid-row: 1;
  font-weight: 800;
  color: rgba(234,241,247,0.95);
}

.package-bullets .tick-desc{
  grid-column: 2;
  grid-row: 2;
  color: rgba(234,241,247,0.78);
}
/* Responsive */
@media (max-width: 980px){
  .packages-col{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .packages-row2{
    width: 100%;
  }
}

@media (max-width: 640px){
  .packages-col{
    grid-template-columns: 1fr;
  }
  .packages-row2{
    grid-template-columns: 1fr;
  }
}

/* ================================
   Specialized Services – Core offers cards
   ================================ */

.core-offers-grid{
  display: grid;
  grid-template-columns: 1fr; /* 3x1 vertical stack */
  gap: 16px;
  margin-top: 14px;
}

.offer-card{
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 22px;
}

.offer-title{
  margin: 0 0 8px 0;
  font-size: 20px;
  font-weight: 900;
  color: rgba(234,241,247,0.95);
}

.offer-desc{
  margin: 0 0 10px 0;
  color: rgba(234,241,247,0.78);
}

/* Tighten tick list spacing inside offer cards */
.offer-card .tick-list{
  margin-top: 12px;
}

@media (max-width: 768px){
  .offer-card{
    padding: 18px;
  }
}

/* AI Learning Solutions - stacked readable layout */
.learning-steps{
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 18px;
}
.learning-step{
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(234,241,247,0.12);
  border-radius: var(--radius);
  padding: 22px 22px;
}
.learning-step-title{
  margin: 0 0 12px 0;
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
}
.learning-step .package-bullets{
  gap: 12px;
}
@media (max-width: 768px){
  .learning-step{
    padding: 18px 18px;
  }
  .learning-step-title{
    font-size: 18px;
  }
}


/* ================================
   Pillar tiles (hover + click expand)
   ================================ */

.pillars-wrap{ margin-top: 18px; }
.pillars-head h2{ margin: 18px 0 8px; font-size: 22px; }
.pillars-sub{ margin: 0; color: rgba(234,241,247,0.78); }

.pillars-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 16px;
}

/* 2-2-1 layout */
.pillars-grid.pillars-grid-5 > :nth-child(5){
  grid-column: 1 / -1;
  min-height: 260px;
}

.pillar-tile{
  position: relative;
  display: block;
  min-height: 280px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: var(--shadow);
  color: var(--ink);
}

/* Background images (styles.css lives in assets/css, so ../img is correct) */
.pillar-gov1{ background-image: url("../img/gov1.jpg"); }
.pillar-gov2{ background-image: url("../img/gov2.jpg"); }
.pillar-gov3{ background-image: url("../img/gov3.jpg"); }
.pillar-gov4{ background-image: url("../img/gov4.jpg"); }
.pillar-gov5{ background-image: url("../img/gov5.jpg"); }

.pillar-tile::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(rgba(10,18,28,0.72), rgba(10,18,28,0.88));
}

.pillar-expand{ cursor: pointer; }
.pillar-expand > summary{ list-style:none; }
.pillar-expand > summary::-webkit-details-marker{ display:none; }

.pillar-expand > summary.tile-content{
  position: relative;
  z-index: 1;
  padding: 26px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
}

.pillar-expand h2{ margin: 0; font-size: 24px; line-height: 1.15; }
.pillar-expand p{ margin: 0; color: rgba(234,241,247,0.82); max-width: 60ch; }
.pillar-expand .tile-cta{ margin-top: 2px; font-weight: 900; color: var(--teal2); }

.tile-expand{
  position:absolute;
  left:0; right:0; bottom:0;
  z-index: 2;
  padding: 0 22px 18px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 260ms ease, opacity 200ms ease;
}

.tile-expand-inner{
  margin-top: 12px;
  padding: 14px 14px 12px;
  border-radius: 14px;
  background: rgba(10,18,28,0.86);
  border: 1px solid rgba(234,241,247,0.12);
  backdrop-filter: blur(6px);
}

.tile-more-list{
  margin: 0 0 0 18px;
}

.pillar-expand:hover{ transform: translateY(-2px); border-color: rgba(22,194,213,0.35); }
.pillar-expand:hover .tile-expand{
  max-height: 240px;
  opacity: 1;
}

.pillar-expand[open] .tile-expand{
  max-height: 260px;
  opacity: 1;
}

.pillar-expand[open] .tile-more-list{
  max-height: 160px;
  overflow: auto;
  padding-right: 8px;
}

@media (max-width: 900px){
  .pillars-grid{ grid-template-columns: 1fr; }
  .pillars-grid.pillars-grid-5 > :nth-child(5){ grid-column: auto; min-height: 240px; }
  .pillar-tile{ min-height: 260px; }
  .pillar-expand > summary.tile-content{ padding: 20px; }
  .tile-expand{ padding: 0 20px 16px; }
  .pillar-expand:hover .tile-expand{ max-height: 0; opacity: 0; } /* no hover on touch */
  .pillar-expand[open] .tile-expand{ max-height: 340px; opacity: 1; }
  .pillar-expand[open] .tile-more-list{ max-height: 220px; }
}


/* ================================
   Learning Solutions layout fix
   Restores side-by-side image/text rows (incl. .reversed)
   ================================ */

.learning-solutions-section{
  margin-top: 18px;
}

.learning-row{
  display: flex;
  gap: 22px;
  align-items: stretch;
  margin: 18px 0;
}

.learning-row.reversed{
  flex-direction: row-reverse;
}

.learning-image{
  flex: 1 1 46%;
  min-width: 0;
}

.learning-image img{
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(234,241,247,0.10);
  box-shadow: var(--shadow);
  display: block;
}

.learning-text{
  flex: 1 1 54%;
  min-width: 0;
  padding: 6px 2px;
}

.learning-text h2{
  margin-top: 10px;
}

/* Keep tick list tidy in learning cards */
.learning-text .package-bullets{
  margin: 14px 0 0;
  padding-left: 0;
}

.learning-text .package-bullets br{
  display: none; /* removes the hard line break in markup */
}

/* Responsive: stack on small screens */
@media (max-width: 900px){
  .learning-row,
  .learning-row.reversed{
    flex-direction: column;
  }
  .learning-image img{
    min-height: 220px;
  }
}


/* ================================
   Services pages — detail cards + managed catalogue tiles
   Restores tiled "hero card" style for service lists
   ================================ */

.detail-wrap{
  margin-top: 18px;
}

.detail-card{
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 26px;
}

.detail-card h2{
  margin: 0 0 8px;
  font-size: 24px;
}

.muted{
  color: var(--muted);
}

/* Managed services catalogue */
.managed-catalog{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.managed-item{
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 18px 16px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.22);
}

.managed-head{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.managed-head h3{
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
}

.managed-vptext{
  margin: 0 0 10px;
  color: rgba(234,241,247,0.86);
  font-weight: 800;
}

.managed-desc{
  margin: 0 0 14px;
  color: rgba(234,241,247,0.74);
}

.managed-cta{
  margin-top: 10px;
}

@media (max-width: 900px){
  .managed-catalog{
    grid-template-columns: 1fr;
  }
}


/* ================================
   Managed Services Catalogue hero background
   ================================ */

.detail-card.services-managed-catalogue-hero{
  position: relative;
  overflow: hidden;
  background-image:
    linear-gradient(rgba(10,18,28,0.72), rgba(10,18,28,0.90)),
    url("../img/services-managed.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.detail-card.services-managed-catalogue-hero > *{
  position: relative;
  z-index: 1;
}

/* ================================
   Learning Solutions 2x2 Grid Layout
   ================================ */

.learning-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 18px;
}

.learning-grid-item{
  position: relative;
  min-height: 400px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: var(--shadow);
}

/* Background images for each learning solution */
.learning-bg-1{
  background-image:
    linear-gradient(rgba(10,18,28,0.75), rgba(10,18,28,0.92)),
    url("../img/learn1.jpg");
}

.learning-bg-2{
  background-image:
    linear-gradient(rgba(10,18,28,0.75), rgba(10,18,28,0.92)),
    url("../img/learn2.jpg");
}

.learning-bg-3{
  background-image:
    linear-gradient(rgba(10,18,28,0.75), rgba(10,18,28,0.92)),
    url("../img/learn3.jpg");
}

.learning-bg-4{
  background-image:
    linear-gradient(rgba(10,18,28,0.75), rgba(10,18,28,0.92)),
    url("../img/learn4.jpg");
}

.learning-grid-content{
  position: relative;
  z-index: 1;
  padding: 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.learning-grid-content .kicker{
  display: inline-flex;
  align-self: flex-start;
}

.learning-grid-content h2{
  margin: 4px 0 8px;
  font-size: 22px;
  line-height: 1.2;
  color: var(--ink);
}

.learning-grid-content p{
  margin: 0 0 10px;
  color: rgba(234,241,247,0.85);
  font-size: 14px;
  line-height: 1.5;
}

.learning-grid-content .package-bullets{
  margin: 8px 0 0;
  padding-left: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.learning-grid-content .package-bullets .tick-item{
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px;
  align-items: start;
}

.learning-grid-content .package-bullets .tick-item::before{
  content: "✓";
  color: #22c55e;
  font-weight: 900;
}

.learning-grid-content .package-bullets .tick-label{
  font-weight: 700;
  color: rgba(234,241,247,0.92);
  font-size: 13px;
}

.learning-cta{
  margin-top: auto;
  padding-top: 8px;
}

/* Responsive: stack on smaller screens */
@media (max-width: 900px){
  .learning-grid{
    grid-template-columns: 1fr;
  }
  
  .learning-grid-item{
    min-height: 380px;
  }
  
  .learning-grid-content{
    padding: 20px;
  }
  
  .learning-grid-content h2{
    font-size: 20px;
  }
}

@media (max-width: 640px){
  .learning-grid-item{
    min-height: 420px;
  }
  
  .learning-grid-content{
    padding: 18px;
  }
  
  .learning-grid-content p{
    font-size: 13px;
  }
}

/* ================================
   Executive Services - Progressive Journey Pathway
   ================================ */

.journey-pathway{
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.journey-card{
  background: rgba(255,255,255,0.06);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.journey-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.45);
}

/* Stage-specific border colors */
.journey-stage-1{
  border-color: rgba(34, 197, 94, 0.4);
}

.journey-stage-2{
  border-color: rgba(251, 191, 36, 0.35);
}

.journey-stage-3{
  border-color: rgba(59, 130, 246, 0.35);
}

.journey-stage-4{
  border-color: rgba(230,183,170,0.35);
}

.journey-header{
  padding: 18px 24px 14px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.journey-badge{
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.journey-badge.foundation{
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #22c55e;
}

.journey-badge.enhancement{
  background: rgba(251, 191, 36, 0.15);
  border: 1px solid rgba(251, 191, 36, 0.35);
  color: #fbbf24;
}

.journey-badge.mastery{
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.35);
  color: #3b82f6;
}

.journey-badge.automate {
  background: rgba(230,183,170,0.15);
  color: #e6b7aa;
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

.journey-elite{
  font-size: 11px;
  font-weight: 800;
  color: #22c55e;
  background: rgba(34, 197, 94, 0.1);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(34, 197, 94, 0.3);
  letter-spacing: 0.02em;
}

.journey-optional{
  font-size: 11px;
  font-weight: 700;
  color: rgba(234,241,247,0.7);
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(234,241,247,0.15);
}

.journey-content{
  padding: 28px 24px;
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  align-items: start;
}

.journey-image{
  width: 140px;
  height: 140px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.journey-image img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.journey-text h3{
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.2;
  color: var(--ink);
}

.journey-desc{
  margin: 0 0 16px;
  color: rgba(234,241,247,0.85);
  line-height: 1.6;
  font-size: 15px;
}

.journey-benefits{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.benefit-tag{
  display: inline-flex;
  align-items: center;
  padding: 6px 11px;
  background: rgba(22,194,213,0.08);
  border: 1px solid rgba(22,194,213,0.25);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  color: rgba(137,222,226,0.95);
  line-height: 1.3;
}

.journey-stat{
  margin-top: 16px;
  padding: 14px 16px;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.25);
  border-radius: var(--radius);
  border-left: 4px solid #22c55e;
}

.stat-source{
  font-size: 11px;
  font-weight: 800;
  color: #22c55e;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.stat-highlight{
  font-size: 14px;
  font-weight: 700;
  color: rgba(234,241,247,0.95);
  line-height: 1.5;
}

.journey-footer{
  padding: 14px 24px;
  background: rgba(255,255,255,0.02);
  border-top: 1px solid var(--border);
}

.journey-note{
  font-size: 13px;
  font-weight: 700;
  color: rgba(234,241,247,0.7);
  font-style: italic;
}

/* Journey Connectors */
.journey-connector{
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 0;
  margin: 0 auto;
  max-width: 600px;
}

.connector-line{
  flex: 1;
  height: 2px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(234,241,247,0.15) 50%,
    transparent
  );
}

.connector-text{
  font-size: 13px;
  font-weight: 700;
  color: rgba(234,241,247,0.6);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
  padding: 8px 16px;
  background: rgba(255,255,255,0.04);
  border-radius: 999px;
  border: 1px solid rgba(234,241,247,0.1);
}

/* Responsive adjustments */
@media (max-width: 900px){
  .journey-content{
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 24px 20px;
  }
  
  .journey-image{
    width: 100%;
    max-width: 200px;
    height: 200px;
    margin: 0 auto;
  }
  
  .journey-text h3{
    font-size: 20px;
  }
  
  .journey-desc{
    font-size: 14px;
  }
  
  .journey-header{
    padding: 16px 20px 12px;
  }
  
  .journey-footer{
    padding: 12px 20px;
  }
}

@media (max-width: 640px){
  .journey-badge{
    font-size: 11px;
    padding: 6px 10px;
  }
  
  .journey-elite,
  .journey-optional{
    font-size: 10px;
    padding: 5px 10px;
  }
  
  .journey-text h3{
    font-size: 18px;
  }
  
  .journey-desc{
    font-size: 13px;
  }
  
  .benefit-tag{
    font-size: 11px;
    padding: 5px 9px;
  }
  
  .connector-text{
    font-size: 11px;
    padding: 6px 12px;
  }
  
  .stat-highlight{
    font-size: 13px;
  }
}

/* ================================
   Executive Services - Regulatory Safety Banner
   ================================ */

.regulatory-safety-banner{
  margin: 28px 0;
  background: rgba(34, 197, 94, 0.06);
  border: 2px solid rgba(34, 197, 94, 0.3);
  border-left: 6px solid #22c55e;
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  gap: 20px;
  align-items: start;
}

.safety-icon{
  font-size: 36px;
  line-height: 1;
  color: #22c55e;
  flex-shrink: 0;
}

.safety-content h3{
  margin: 0 0 10px;
  font-size: 20px;
  color: #22c55e;
  font-weight: 900;
}

.safety-content > p{
  margin: 0 0 16px;
  color: rgba(234,241,247,0.9);
  line-height: 1.6;
}

.safety-details{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 16px;
}

.safety-label{
  font-size: 12px;
  font-weight: 900;
  color: #22c55e;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.safety-list{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.safety-list li{
  font-size: 13px;
  color: rgba(234,241,247,0.85);
  padding-left: 20px;
  position: relative;
}

.safety-list li::before{
  content: "✓";
  position: absolute;
  left: 0;
  color: #22c55e;
  font-weight: 900;
}

.safety-footnote{
  font-size: 13px;
  color: rgba(234,241,247,0.8);
  font-style: italic;
  padding: 12px;
  background: rgba(255,255,255,0.03);
  border-radius: 8px;
  line-height: 1.5;
}

@media (max-width: 900px){
  .regulatory-safety-banner{
    flex-direction: column;
    gap: 16px;
    padding: 20px;
  }
  
  .safety-details{
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .safety-icon{
    font-size: 28px;
  }
  
  .safety-content h3{
    font-size: 18px;
  }
}

/* ================================
   Executive Services - Pain Point Section
   ================================ */

.executive-pain-section{
  margin: 32px 0;
  padding: 28px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.executive-pain-section h2{
  margin: 0 0 12px;
  font-size: 26px;
  color: var(--ink);
}

.pain-intro{
  margin: 0 0 24px;
  color: rgba(234,241,247,0.85);
  font-size: 16px;
  line-height: 1.6;
}

.pain-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.pain-item{
  display: flex;
  align-items: start;
  gap: 12px;
  padding: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(234,241,247,0.1);
  border-radius: var(--radius);
}

.pain-emoji{
  font-size: 28px;
  line-height: 1;
  flex-shrink: 0;
}

.pain-text{
  font-size: 14px;
  font-weight: 600;
  color: rgba(234,241,247,0.9);
  line-height: 1.5;
}

.solution-statement{
  padding: 20px;
  background: linear-gradient(135deg, rgba(22,194,213,0.12), rgba(137,222,226,0.08));
  border: 1px solid rgba(22,194,213,0.3);
  border-radius: var(--radius);
  font-size: 15px;
  color: rgba(234,241,247,0.95);
  line-height: 1.7;
  text-align: center;
}

.solution-statement strong{
  color: var(--teal2);
  font-size: 16px;
}

@media (max-width: 900px){
  .executive-pain-section{
    padding: 20px;
  }
  
  .executive-pain-section h2{
    font-size: 22px;
  }
  
  .pain-grid{
    grid-template-columns: 1fr;
  }
  
  .pain-intro{
    font-size: 15px;
  }
}

/* ================================
   Executive Services - Pilot Offer
   ================================ */

.leader-closing{
  margin-top: 40px;
  padding: 32px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.leader-closing h3{
  margin: 0 0 16px;
  font-size: 24px;
  color: var(--ink);
}

.leader-closing > p{
  margin: 0 0 20px;
  color: rgba(234,241,247,0.85);
  line-height: 1.7;
  font-size: 15px;
}

.pilot-offer{
  margin: 28px 0;
  padding: 24px;
  background: rgba(22,194,213,0.08);
  border: 2px solid rgba(22,194,213,0.25);
  border-radius: var(--radius-lg);
}

.pilot-offer h4{
  margin: 0 0 10px;
  font-size: 20px;
  color: var(--teal2);
}

.pilot-offer > p{
  margin: 0 0 16px;
  color: rgba(234,241,247,0.85);
  font-size: 14px;
}

.pilot-features{
  display: grid;
  gap: 10px;
}

.pilot-feature{
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  color: rgba(234,241,247,0.9);
}

.pilot-check{
  color: #22c55e;
  font-size: 18px;
  font-weight: 900;
}

.cta-text{
  margin: 24px 0 0;
  padding: 20px;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius);
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--teal2);
  line-height: 1.6;
}

@media (max-width: 900px){
  .leader-closing{
    padding: 24px 20px;
  }
  
  .leader-closing h3{
    font-size: 20px;
  }
  
  .pilot-offer{
    padding: 20px;
  }
  
  .pilot-offer h4{
    font-size: 18px;
  }
}

/* ================================
   Insights Section
   ================================ */

.video-embed{
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 12px; /* optional */
}

.video-embed iframe{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ================================
   Useful Links (above footer)
   ================================ */

.useful-links{
  padding: 24px 0 40px;
  background: rgba(255,255,255,0.02);
  border-top: 1px solid var(--border);
  margin-top: 24px;
}

.useful-links-card{
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
}

.useful-links-head{
  text-align: center;
  margin-bottom: 40px;
}

.useful-links-head h2{
  margin: 0 0 12px;
  font-size: 32px;
  color: var(--ink);
}

.useful-links-head p{
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Category sections */
.links-category{
  margin-bottom: 36px;
}

.links-category:last-child{
  margin-bottom: 0;
}

.category-title{
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal2);
  margin: 0 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(22,194,213,0.2);
}

.useful-links-list{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.useful-links-list li{
  display: flex;
}

.useful-links-list a{
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--radius);
  border: 1px solid rgba(234,241,247,0.08);
  background: rgba(255,255,255,0.03);
  color: rgba(234,241,247,0.9);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s ease;
  position: relative;
}

.useful-links-list a::before{
  content: "→";
  color: var(--teal);
  font-weight: 900;
  font-size: 16px;
  flex-shrink: 0;
}

.useful-links-list a:hover{
  background: rgba(22,194,213,0.08);
  border-color: rgba(22,194,213,0.3);
  color: var(--teal2);
  text-decoration: none;
  transform: translateX(4px);
}

/* Mobile: single column */
@media (max-width: 900px){
  .useful-links{
    padding: 20px 0 32px;
  }
  
  .useful-links-head{
    margin-bottom: 24px;
  }
  
  .useful-links-head h2{
    font-size: 26px;
  }
  
  .useful-links-list{
    grid-template-columns: 1fr;
  }
  
  .links-category{
    margin-bottom: 24px;
  }
}

/* ================================
   Newsletter Modal (Brevo Integration)
   ================================ */

.newsletter-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  animation: fadeIn 0.3s ease;
}

.newsletter-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.newsletter-modal-content {
  background: var(--bg);
  border: 2px solid rgba(22, 194, 213, 0.3);
  border-radius: var(--radius-lg);
  position: relative;
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  animation: slideUp 0.3s ease;
}

.newsletter-modal-header {
  padding: 24px 24px 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.newsletter-modal-header h3 {
  margin: 0;
  font-size: 24px;
  color: var(--ink);
}

.newsletter-modal-close {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(234, 241, 247, 0.14);
  border-radius: 8px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--muted);
  font-size: 24px;
  line-height: 1;
  transition: all 0.2s ease;
}

.newsletter-modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--ink);
}

.newsletter-modal-body {
  padding: 0;
}

.newsletter-modal-body iframe {
  width: 100%;
  min-height: 400px;
  border: none;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@media (max-width: 640px) {
  .newsletter-modal-content {
    width: 95%;
    max-height: 95vh;
  }
  
  .newsletter-modal-header {
    padding: 20px 20px 14px;
  }
  
  .newsletter-modal-header h3 {
    font-size: 20px;
  }
  
  .newsletter-modal-body iframe {
    min-height: 450px;
  }
}

/* --- AI OPERATIONS SPECIFIC STYLES --- */

.hero-card.services-ops-hero {
  background-image: 
    linear-gradient(rgba(7, 26, 43, 0.65), rgba(7, 26, 43, 0.85)), 
    url("../img/aimain.png");
  background-size: cover;
  background-position: center;
}

.ops-card-bg {
  background-image: 
    linear-gradient(rgba(7, 26, 43, 0.8), rgba(7, 26, 43, 0.95)), 
    url("../img/aimain.png");
  background-size: cover;
  background-position: center;
  border: 1px solid var(--border);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.ops-card-bg:hover {
  transform: translateY(-5px);
  border-color: var(--teal);
}

/* --- ASSESSMENT OVERRIDES (SAFE APPEND) --- */
.assessment-container { max-width: 850px; margin: 0 auto; padding: 40px 20px; }
.counter-badge { display: inline-block; background: rgba(22, 194, 213, 0.1); padding: 10px 24px; border-radius: 30px; border: 1px solid var(--teal); color: var(--teal); font-weight: 800; margin-bottom: 30px; }
.progress-container { width: 100%; background: rgba(255, 255, 255, 0.1); height: 8px; border-radius: 10px; margin-bottom: 40px; overflow: hidden; }
#progress-fill { height: 100%; background: var(--teal); width: 0%; transition: width 0.4s ease; }
.question-category { color: var(--teal); text-transform: uppercase; font-weight: 800; font-size: 0.85rem; letter-spacing: 0.1em; margin-bottom: 12px; }
.question-text { font-size: 1.8rem; font-weight: 700; margin-bottom: 32px; }
.answer-options { display: grid; gap: 12px; }
.option-btn { background: rgba(255, 255, 255, 0.05); border: 1px solid var(--border); color: var(--ink); padding: 18px 24px; border-radius: var(--radius); text-align: left; cursor: pointer; transition: 0.2s ease; }
.option-btn:hover { background: rgba(22, 194, 213, 0.1); border-color: var(--teal); transform: translateX(5px); }
.option-btn.active { background: var(--teal); color: var(--bg); font-weight: 700; }
#email-modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(7, 26, 43, 0.98); z-index: 9999; display: flex; align-items: center; justify-content: center; }
.modal-content-lead { background: #EAF1F7; color: #071A2B; padding: 40px; border-radius: var(--radius-lg); max-width: 480px; width: 90%; text-align: center; }
.modal-content-lead input { width: 100%; padding: 14px; margin-bottom: 15px; border-radius: 10px; border: 1px solid #ccc; }
.modal-content-lead button { width: 100%; background: var(--teal); color: white; padding: 16px; border: none; border-radius: 10px; font-weight: 800; cursor: pointer; }
.hidden { display: none !important; }

/* Vibe Coder UI Polish */
#assessment-container.value-card {
  padding: 60px !important; /* Significant padding to push border away */
  max-width: 900px;
  margin: 40px auto;
  border: 1px solid rgba(234, 241, 247, 0.2);
  background: rgba(7, 26, 43, 0.4);
}

.question-text {
  font-size: 1.9rem !important;
  line-height: 1.4;
  margin-bottom: 48px !important;
  color: #fff;
}

.answer-options {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.option-btn {
  padding: 22px 30px !important;
  font-size: 1.05rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  text-align: left;
  transition: all 0.25s ease;
}

.option-btn:hover {
  background: rgba(22, 194, 213, 0.1) !important;
  border-color: var(--teal) !important;
  padding-left: 35px !important; /* Subtle slide effect */
}

.option-btn.active {
  background: var(--teal) !important;
  color: #071A2B !important;
  font-weight: 700;
  border-color: var(--teal) !important;
}

/* Results Dashboard & Matrix */
.results-dashboard {
    color: #fff;
    animation: fadeIn 0.8s ease-out;
}

.matrix-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
    margin-top: 20px;
}

.matrix-cell {
    background: rgba(255,255,255,0.03);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
    opacity: 0.5;
    transition: all 0.4s ease;
}

.matrix-cell.active {
    opacity: 1;
    border-color: var(--teal);
    background: rgba(22, 194, 213, 0.05);
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.matrix-cell h4 {
    margin-top: 0;
    color: var(--teal);
    font-size: 1rem;
    text-transform: uppercase;
}

.matrix-cell ul {
    padding-left: 18px;
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .results-dashboard > div { grid-template-columns: 1fr !important; }
    .matrix-grid { grid-template-columns: 1fr; }
}
/* ================================
   Pain-Point Cards
   ================================ */

/* CHANGE BG COLOUR HERE>> */
:root { --pain-card-bg: #BCDEE6; }

.pain-grid-label {
  font-size: 1.1rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #EAF1F7 !important;
  margin-bottom: 20px;
  display: block;
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.pain-card {
  border-radius: 14px;
  padding: 22px 20px 20px;
  position: relative;
  text-decoration: none;
  display: block;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  background: var(--pain-card-bg);
  border: 1px solid rgba(22,194,213,0.4);
  box-shadow: 0 4px 20px rgba(22,194,213,0.25), 0 1px 4px rgba(0,0,0,0.08);
  color: #071A2B;
}

.pain-card:hover {
  border-color: #16C2D5;
  box-shadow: 0 12px 36px rgba(22,194,213,0.20), 0 4px 12px rgba(0,0,0,0.14);
  transform: translateY(-3px);
  text-decoration: none;
}

.pain-card-arrow {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 1.1rem;
  color: rgba(22,194,213,0.35);
  transition: color 0.2s, transform 0.2s;
  font-weight: 700;
}

.pain-card:hover .pain-card-arrow {
  color: #16C2D5;
  transform: translateX(4px);
}

.pain-card-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 13px;
  flex-shrink: 0;
  float: left;
  margin-right: 12px;
  margin-bottom: 0;
}

.pain-card-icon svg { width: 18px; height: 18px; }

.pain-ic1 { background: linear-gradient(135deg, #d4f5ec, #b8edd8); border: 1px solid rgba(29,158,117,0.25); }
.pain-ic2 { background: linear-gradient(135deg, #dbeeff, #c3dff7); border: 1px solid rgba(24,95,165,0.2); }
.pain-ic3 { background: linear-gradient(135deg, #fff0d4, #ffe4b0); border: 1px solid rgba(186,117,23,0.25); }
.pain-ic4 { background: linear-gradient(135deg, #ffe4e4, #ffd0d0); border: 1px solid rgba(162,45,45,0.2); }
.pain-ic5 { background: linear-gradient(135deg, #ede9ff, #ddd7fc); border: 1px solid rgba(83,74,183,0.2); }

.pain-card-q {
  font-size: 0.92rem;
  font-weight: 800;
  color: #0d2233;
  margin: 0 0 7px;
  line-height: 1.35;
  padding-right: 22px;
}

.pain-card-sub {
  font-size: 0.76rem;
  color: #4a6070;
  margin: 0 0 13px;
  line-height: 1.55;
}

.pain-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.pain-tag {
  font-size: 0.65rem;
  font-weight: 600;
  background: rgba(255,255,255,0.3);
  color: #0a5060;
  border-radius: 4px;
  padding: 3px 8px;
  border: 1px solid rgba(255,255,255,0.5);
}

.pain-cta-slot {
  border: 1px dashed rgba(22,194,213,0.35);
  border-radius: 14px;
  padding: 22px 18px;
  background: rgba(22,194,213,0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
}

.pain-cta-slot p {
  font-size: 0.9rem;
  font-weight: 800;
  color: #EAF1F7;
  margin: 0;
}

.pain-cta-slot span {
  font-size: 0.73rem;
  color: rgba(234,241,247,0.6);
  line-height: 1.4;
  margin: 0;
}

.pain-cta-slot a {
  font-size: 0.78rem;
  font-weight: 700;
  background: linear-gradient(135deg, #16C2D5, #89DEE2);
  color: #071A2B;
  padding: 9px 20px;
  border-radius: 7px;
  text-decoration: none;
  margin-top: 4px;
  transition: filter 0.2s;
  box-shadow: 0 4px 14px rgba(22,194,213,0.25);
}

.pain-cta-slot a:hover {
  filter: brightness(1.06);
  text-decoration: none;
}

.what-we-do-heading {
  text-align: center;
  margin: 0 0 24px;
  font-size: 1.5rem;
  font-weight: 800;
  color: #EAF1F7;
  letter-spacing: -0.01em;
}

/* About page: business challenge cards */
.biz-challenge-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 18px 0 6px;
}
.biz-challenge-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(234,241,247,0.12);
  border-radius: 12px;
  padding: 16px 18px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.biz-challenge-card:hover {
  background: rgba(22,194,213,0.06);
  border-color: rgba(22,194,213,0.22);
}
.biz-ch-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.biz-ch-title {
  font-weight: 800;
  font-size: 0.88rem;
  color: rgba(234,241,247,0.96);
  margin-bottom: 3px;
}
.biz-ch-desc {
  font-size: 0.76rem;
  color: rgba(234,241,247,0.62);
  line-height: 1.5;
  margin: 0;
}
@media (max-width: 640px) {
  .biz-challenge-grid { grid-template-columns: 1fr; }
  .pain-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .pain-grid { grid-template-columns: 1fr; }
}
