#nav-wrap 
{
   border-bottom: 1px solid;
}

p, h6, dl li 
{
   font-size: 17px !important;
}

dl {
   counter-reset: foo;
   display: table;
}

/*
dl > li {
   display: table-row;
   line-height: inherit;
}

dl > li::before {
   content: "⇒  ";   
   display: table-cell; /* aha! */
/*   text-align: right;
   padding-right: 10px; /* attempt to create space after bullet  */
/* }  */

/* Override list display in SERVICES to keep bullet and text on same line */
#what dl > li {
  display: inline-flex !important;
  align-items: flex-start;
}

#what dl > li::before {
  content: "⇒ ";
  display: inline-block !important;
  padding-right: 0.5rem;
}


strong 
{
   font-weight: 700 !important;
}

.white-section 
{
   background: white !important;
}

.white-section h3 
{
   color: black !important;
}

.padding-section
{
   padding: 5%;
}

.h1-white, .h2-white
{
   color: white;
   padding-bottom: 20px;
   text-align: center;
}

.section
{
   padding: 5%;
   background-color: #0F479A; /* logo blue; original #23292f "near black" */
}

section 
{
   padding-top: 5% !important;
   padding-bottom: 5% !important;
}

#navbar_top
{
    background-color: #13171B; /* near black */
    width: 100%;
}

header .logo1 {
    margin-left: 36px;
    margin-right: 20px;
    margin-top: 13px;
    float: left;
    width: auto; 
    z-index: 991; 
 
    /* add position relative since z-index only applies to  
    elements that have been given an explicit position */
    position: relative; 
 }

 header .logo1 a {
    display: block;
    margin: 0;
     padding: 0;
     border: none;
     outline: none;
    width: 60px;
 }

 /* primary navigation
 --------------------------------------------------------------------- */
 #nav-wrap1, #nav-wrap1 ul, #nav-wrap1 li, #nav-wrap1 a {
      margin: 0;
      padding: 0;
      border: none;
      outline: none;
 }
 
 /* nav-wrap */
 #nav-wrap1 {
    font: 11px 'montserrat-regular', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    float: right;
 }
 
 /* hide toggle button */
 #nav-wrap1 > a { display: none; }
 
 ul#nav1 {
    min-height: 54px;
    width: auto;
 
    /* left align the menu */
    text-align: left;
 }

 .top-section
 {
    width: 100%;
    max-width: 100%;
 }

 .heading-one-div
 {
    padding: 5%;
    padding-top: 5%;
    padding-bottom: 10%;
 }

 .heading-one-div p 
 {
    font-size: 26px; /* 18px */
    margin-top: 10px;
 }

 .heading-two-div
 {
    background-color: #0F479A; /* logo blue; original #242a2f "near black" */
    padding: 5%;
    margin: auto;
 }

 .heading-two-div1
 {
    padding: 5%;
    margin: auto;
 }

 .heading-two-div h2, .heading-two-div h3 
 {
    color: white !important;
 }

 .heading-two-div h3 
 {
   text-align: center;
 }

 .heading-two-div p, .heading-two-div dl, .heading-two-div li 
 {
    max-width: 950px;
    color: #d3d9d9; /* lt grey; new addition TG */
    margin: auto;
 }

 .top-heading
 {
    margin: 4%;
    margin-bottom: 0;
    font-size: 2.5rem;
 }

 .top-divs
 {
    display: flex;
    margin-top: 2%; /*  6% */
    justify-content: space-between;
 }

 .top-divs h2 
 {
    font-size: 1.8rem;
 }

 .card
 {
    box-shadow: 0px 2px 16px 0px rgba(0,0,0,0.21);
    -webkit-box-shadow: 0px 2px 16px 0px rgba(0,0,0,0.21);
    -moz-box-shadow: 0px 2px 16px 0px rgba(0,0,0,0.21);
    padding: 20px;
    border-radius: 10px;
    margin: 2%;
 }

/*  Hero  */

/* HERO BACKGROUND & TEXT READABILITY */
.hero-bg {
  position: relative;
  background-size: cover;
  background-position: center;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5); /* adds dark overlay */
}

.hero-bg > div {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 1rem;
}

.hero-bg h1, .hero-bg p {
  margin: 0 auto;
  max-width: 800px;
}

/* FLEX LAYOUT FOR WHY TRANSFORM */
#why .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
}

.why-transform-img {
  flex: 1 1 100%;
  max-width: 100%;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .why-transform-img {
    flex: 1 1 50%;
    max-width: 50%;
    margin-right: 2rem;
    margin-bottom: 0;
  }

  #why .container > div:nth-child(2) {
    flex: 1 1 50%;
    max-width: 50%;
  }
}

/* HEADING CONSISTENCY */
#why h1.text-3xl, #experience h3.text-3xl {
  font-size: 2rem; /* ensures "Why" and "Why Institute X Exists" headers match */
  margin-bottom: 0.5rem;
}

/* BUTTON STYLING (align with other sections) */
.btn-primary, .btn-secondary {
  display: inline-block;
  font-size: 1rem;
  padding: 0.75rem 1.25rem;
  margin-bottom: 1rem;
  text-decoration: none;
}

.btn-secondary {
  background-color: #541E67; /* logo purple */
  color: white;
}

/* TESTIMONIALS IMAGE (placeholder area styling) */
#testimonials .insert-image-placeholder {
  margin: 0 auto 1.5rem;
  width: 100%;
  max-width: 600px;
  text-align: center;
}

/* CLEAR FIX AFTER FLOATING IMAGES */
.content-with-image::after {
  content: "";
  display: block;
  clear: both;
}

/* FLOATING IMAGE STYLES (fallback if still using floats) */
.floating-image {
  max-width: 220px;
  margin: 1rem;
}

.floating-image.right {
  float: right;
}

.floating-image.left {
  float: left;
}


/*  Buttons  */

.btn {
  display: inline-block;
  font-size: 2rem;
  font-weight: 600;
  padding: 0.6em 1.2em;
  text-align: center;
  cursor: pointer;
  border: 4px solid transparent;
  border-radius: 5px;
  text-decoration: none;
}

.btn-primary {
  background-color: #0F479A; /* logo blue */
  color: #FFFFFF; /* white */
  border-color: #0F479A; /* logo blue */
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #1062CE; /* lighter blue */
  border-color: #1062CE; /* lighter blue */
}

.btn-secondary {
  background-color: #541E67; /* logo purple */
  color: #ffffff; /* white */
  border-color: #541e67; /* logo purple */
}

.btn-secondary:hover,
.btn-secondary:focus {
  background-color: #781E98; /* lighter purple */
  border-color: #781e98; /* lighter purple */
}

 .card h2
 {
    font-size: 1.8rem !important;
 }

 .second-section, .fourth-section
 {
    width: 100%;
    margin: 0;
    max-width: 100%;
    background-color: #ffffff  /*  /* white; 0F479A "logo blue"; original #242a2f "near black/blue" */
    padding: 0% 10% 5%;
 }

 .fourth-section
 {
    padding: 0% 5%;
 }

 .fourth-section dl
{
    list-style: none;
    color: 541E67 !important; /* logo purple */
}

.fourth-section img 
{
    max-width: 350px;
}

 .second-section h3, .fourth-section h3
 {
    color: #ffffff !important; /*  #e6e8e8 "lt grey/teal" */
    font-size: 1.8rem !important;
 }

 .second-section p, .fourth-section p
 {
    color: #0F479A !important; /* logo blue */
    font-size: 1.8rem !important;
 }

.second-section dl, .fourth-section dl
 {
    color: #0F479A !important; /* logo blue */
    font-size: 1.8rem !important;
 }

.second-section li, .fourth-section li
 {
    color: #0F479A !important; /* logo blue */
    font-size: 1.8rem !important;
 }

 /* dl 
 {
    list-style: none;
 } */
 .third-section
 {
    width: 100%;
    margin: 0;
    max-width: 100%;
    padding: 5% 5%;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-between;
 }

 .third-section h3
 {
    font-size: 1.8rem !important;
 }

.fifth-section p, .third-section p
 {
    color: #383d41 !important; /* near black/blue */
    font-size: 1.8rem !important;
 }

 .fifth-section
 {
    display: flex;
 }

 #mc_embed_signup
 {
    display: flex;
 }

 #mc_embed_signup form 
 {
    margin: auto;
 }

 .mc-field-group.size1of2 {
  float: left;
  width: 48%;
  margin-right: 4%;
}

#mc_embed_signup .mc-field-group input::placeholder {
  color: #555; /* med dk grey/red */
}

.contact-us
{
    width: 100% !important;
}

.contact-us h3 
{
    font-size: 1.8rem;
    margin-bottom: 20px;
}

 .contact-us li 
 {
    font-size: 16px;
 }

 .background-white
 {
   background-color: white;
   margin: 0 !important;
   max-width: 100% !important;
   padding: 5%;
   width: 100% !important;
 }

 .background-white h3 
 {
   color: black;
 }

.bg-white {
  background-color: #fff !important; /* white */
}

.shadow-sm {
  box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,0.075);
}

 footer 
 {
   background-color: white;
   margin-bottom: 0px;
   padding-bottom: 60px;
 }

 footer p, footer h3, li a 
 {
   color: #3c4753; /* dk grey/blue */
 }

 .margin-width {
   max-width: 100% !important; margin: none !important;
 }
 @media only screen and (max-width: 759px) {
   .top-divs,  .third-section, .fifth-section, #mc_embed_signup
   {
      flex-direction: column;
   }
 }

 /* ===== Headings ===== */
#what.fourth-section h3 {
  color: #541E67 !important; /* SERVICES heading fix */
}
#experience h3 {
  color: #541E67 !important; /* ABOUT heading fix */
}

/* ===== List Alignment in SERVICES ===== */
#what .left dl, 
#what .right dl {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
#what .left li, 
#what .right li {
  flex: 1;
}

/* ===== WHY TRANSFORM Layout Fix ===== */
@media (min-width: 768px) {
  #why .container {
    flex-direction: row;
  }
  #why .why-transform-img {
    order: 1;
  }
  #why .why-transform-text {
    order: 2;
  }
}

/* ===== TESTIMONIALS Image Center ===== */
#testimonials img {
  display: block;
  margin: 0 auto;
}

/* ===== 1. HERO full width ===== */
#change-knowns-unknowns {
  width: 100%;
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}

/* ===== 2. MATRIX image larger & between Awareness/Ability ===== */
.matrix-flex {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
}

.matrix-flex .matrix-image {
  flex: 0 0 40%; /* 40% of container */
  max-width: 40%;
  margin: 0 auto;
}

.matrix-flex .matrix-col {
  flex: 1;
  min-width: 250px;
}

.matrix-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* ===== 3. Padding between QUADRANTS and INSIGHTS ===== */
#change-knowns-unknowns .quadrants-section {
  margin-bottom: 3rem; /* space before Insights */
}

/* ===== 4. CONCLUSION text/bullets larger & indented ===== */
#change-knowns-unknowns .conclusion h2 {
  font-size: 2rem; /* larger heading */
}

#change-knowns-unknowns .conclusion p,
#change-knowns-unknowns .conclusion li {
  font-size: 1.125rem; /* larger body and bullet text */
  line-height: 1.6;
}

#change-knowns-unknowns .conclusion ol {
  padding-left: 2rem; /* indent bullets */
}

/* ===== 5. CTA buttons centered & side-by-side ===== */
#change-knowns-unknowns .conclusion .mt-8 {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

#change-knowns-unknowns .conclusion .btn {
  margin: 0;
}

/* ===== Quadrants Table Branding ===== */
#change-knowns-unknowns table {
  border: 2px solid #541E67; /* purple border */
  width: 100%;
}

#change-knowns-unknowns table td {
  border: 1px solid #ddd; /* subtle cell border */
  padding: 1rem;
  vertical-align: top;
}

#change-knowns-unknowns table tr:nth-child(odd) {
  background-color: #f8f6fb; /* very light purple tint */
}

#change-knowns-unknowns table tr:nth-child(even) {
  background-color: #ffffff; /* white */
}

#change-knowns-unknowns table td:first-child {
  background-color: #0F479A; /* logo blue */
  color: #ffffff;
  font-weight: bold;
  text-align: center;
  width: 3rem;
}

#change-knowns-unknowns table td:nth-child(2) {
  font-weight: bold;
  color: #541E67; /* purple for labels */
}

#change-knowns-unknowns table td em {
  font-style: italic;
  color: #0F479A; /* blue for emphasis */
}

/* ===== Insights Bullets Branding ===== */
#change-knowns-unknowns .insights-section ul {
  list-style: none; /* remove default bullets */
  padding-left: 1.5rem; /* indent */
}

#change-knowns-unknowns .insights-section ul li {
  position: relative;
  padding-left: 1.2rem;
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

#change-knowns-unknowns .insights-section ul li::before {
  content: "●"; /* custom bullet */
  position: absolute;
  left: 0;
  top: 0.1rem;
  font-size: 0.9rem;
  color: #541E67; /* purple bullet */
}

#change-knowns-unknowns .insights-section h3 {
  color: #0F479A; /* blue section headings */
}

/* ===== Conclusion Ordered List Branding ===== */
#change-knowns-unknowns .conclusion ol {
  list-style: none; /* remove default numbers */
  counter-reset: conclusion-counter;
  padding-left: 1.5rem; /* indent list */
}

#change-knowns-unknowns .conclusion ol li {
  counter-increment: conclusion-counter;
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.75rem;
  font-size: 1.125rem;
  line-height: 1.6;
}

#change-knowns-unknowns .conclusion ol li::before {
  content: counter(conclusion-counter) ".";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
  color: #541E67; /* purple numbers */
  font-size: 1.125rem;
}

/* Ensure WHY TRANSFORM image is left, text is right on desktop */
@media (min-width: 768px) {
  #why .container {
    display: flex !important;
    flex-wrap: nowrap;
    align-items: flex-start;
  }
  #why .why-transform-img {
    flex: 0 0 50%;
    max-width: 50%;
    margin-right: 2rem;
  }
  #why .why-transform-text {
    flex: 1;
    max-width: 50%;
  }
}

/* 1. HERO / INTRO full width and matching heading sizes */
#change-knowns-unknowns {
  width: 100%;
  max-width: 100%;
}

#change-knowns-unknowns h1 {
  font-size: 2.5rem; /* matches big headers on index */
  line-height: 1.2;
}

#change-knowns-unknowns h2 {
  font-size: 2rem; /* matches section headers */
  line-height: 1.3;
}

/* 2 & 3. Buffer between sections */
#change-knowns-unknowns .space-y-12 > * + *,
#change-knowns-unknowns .matrix-flex,
#change-knowns-unknowns .quadrants-section,
#change-knowns-unknowns .insights-section {
  margin-top: 3rem; /* 48px spacing between major blocks */
}

#change-knowns-unknowns .quadrants-section {
  margin-bottom: 3rem; /* buffer before Insights */
}

/* 4. Tie Insights visually to following image */
#change-knowns-unknowns .insights-section {
  border-bottom: 3px solid #541E67; /* purple divider to tie to brand */
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
}

/* 5. Conclusion header & text prominence */
#change-knowns-unknowns .conclusion h2 {
  font-size: 2.25rem;
  font-weight: 700;
  color: #541E67;
  text-align: center;
  margin-bottom: 1rem;
}

#change-knowns-unknowns .conclusion p,
#change-knowns-unknowns .conclusion li {
  font-size: 1.25rem;
  line-height: 1.6;
}

#change-knowns-unknowns .conclusion ol {
  padding-left: 4rem; /* bullet indent */
}

/* 6. Center CTA buttons side-by-side */
#change-knowns-unknowns .conclusion .mt-8 {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

#change-knowns-unknowns .conclusion .btn {
  margin: 0;
}

/* Force larger bullet text in Conclusion list */
#change-knowns-unknowns .conclusion ol li {
  font-size: 1.5rem !important; /* 24px */
  font-weight: 600; /* semi-bold */
  line-height: 1.6;
}

