/* General Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Roboto', Arial, sans-serif;
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

* {
  box-sizing: border-box;
}

/* Adjust scroll position to account for fixed header (height ~80px) */
section {
  scroll-margin-top: 100px;
}
html {
  scroll-behavior: smooth;
}

.site-header {
  background-color: #fff;
  border-bottom: 1px solid #0b1f2c;
  width: 100%;
  position: fixed;       /* ⬅ Makes it stay at the top */
  top: 0;                /* ⬅ Anchor to the top of the screen */
  left: 0;
  z-index: 1000;         /* ⬅ Keeps it above other content */
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  padding: 1rem 2rem;
  margin: 0 auto;
  position: relative;
}

.logo img {
  height: 60px;
  max-width: 200px;
  width: auto;
  display: block;
}

/* Navigation */
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.main-nav a {
  text-decoration: none;
  color: #000;
  font-weight: 400;
}

.main-nav a:hover {
  font-weight: 500;
  text-decoration: underline;
}

/* Hamburger button */
.menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
}

/* Responsive behavior */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #f8f8f8;
    display: none;
    border-top: 1px solid #ccc;
    padding: 1rem 2rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  }

  .main-nav.open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    padding: 1rem 2rem;
    gap: 1rem;
  }

  .main-nav a {
    font-size: 1.2rem;
    font-weight: 600;
    color: #111;
    padding: 0.5rem 0;
    display: block;
    border-bottom: 1px solid #ddd;
  }

  .main-nav a:last-child {
    border-bottom: none;
  }

}

/* ABOUT (hero) */
.about-section {
  position: relative;               /* contain ::before */
  overflow: hidden;                 /* prevent bleed */
  margin-top: 80px;
  background-color: #112228;        /* fallback if image fails */
  display: flex;
  justify-content: center;
  text-align: center;
  color: #fff;
}

/* Section-wide dimmer over the background image */
.about-section::before {
  content: "";
  position: absolute;
  inset: 0;                         /* top:0; right:0; bottom:0; left:0; */
  background: rgba(0, 0, 0, 0.40);  /* adjust to taste */
  z-index: 1;
}

/* Centered container with the background image */
.about-container {
  position: relative;               /* keeps content above ::before */
  z-index: 2;
  max-width: 1200px;
  width: 100%;
  min-height: 500px;
  padding: 4rem 2rem;
  background: url('/img/background.jpg?v=5');
  background-repeat:no-repeat;
  background-position:center;
  background-size: cover;           /* or 'contain' if you prefer */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Single text panel */
.about-text {
  position: relative;
  z-index: 3;                        /* ensures panel is above overlay */
  background: rgba(0, 0, 0, 0.70);
  padding: 2rem;
  border-radius: 10px;
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.6;
  color: #fff;                       /* explicit text color */
  text-align: center;                /* forces centering */
}


/* Typography */
.about-text h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.about-text h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.about-text p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto;
}

/* Responsive */
@media (max-width: 768px) {
  .about-section { padding: 0; }
  .about-container { min-height: 420px; padding: 3rem 1.5rem; }
  .about-text { padding: 1.25rem 1.5rem; }
  .about-text h1 { font-size: 1.6rem; }
  .about-text h2 { font-size: 1.3rem; }
  .about-text p { font-size: 1rem; }
}

.expertise-section {
  background-color: #f3f6f9;
  padding: 4rem 2rem;
  border-bottom: 1px solid #ddd;
}

.expertise-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.section-heading {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 3rem;
  text-align: center;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}
.expertise-card {
  position: relative;
  width: 100%;
  min-height: 250px;
  border: 1px solid #0b1f2c;
  overflow: hidden;
  cursor: pointer;
  perspective: 1000px; /* optional for 3D effects */
}

/* Front & back setup */
.expertise-front,
.expertise-back {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  transition: opacity 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 1rem;
  background-color: #11222833;
  color: white;
}

.expertise-front {
  z-index: 1;
}

.expertise-back {
  z-index: 2;
  opacity: 0;
  padding: 1rem;
  background-color: #112228;
  display: flex;
  flex-direction: column; /* stack elements vertically */
  justify-content: flex-start; /* align content to top */
  align-items: flex-start; /* align text to left */
  text-align: left; /* ensure text aligns left */
}
.expertise-back h3 {
  margin-bottom: 0.5rem; /* or adjust to your preferred spacing */
}

.expertise-back li {
  margin-bottom: 0.5rem; /* Adjust spacing as needed */
  margin-left: 0.5rem;
}


/* Hover effect */
.expertise-card:hover {
    box-shadow: 0 0 12px 4px rgba(0, 123, 255, 0.4);
}

.expertise-card:hover .expertise-back {
  opacity: 1;
  }

.expertise-card:hover .expertise-front {
  opacity: 0;
  }

  .expertise-card.active {
  box-shadow: 0 0 12px 4px rgba(0, 123, 255, 0.4);
}

.expertise-card.active .expertise-back {
  opacity: 1;
  z-index: 2;
}

.expertise-card.active .expertise-front {
  opacity: 0;
  z-index: 1;
}


/* Image fills the whole front */
.expertise-front img {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5; /* Adjust transparency */
  z-index: 0;
}

/* Text on top of image */
.expertise-front-text {
  position: relative;
  z-index: 1;
  background-color: rgba(17, 34, 40, 0.822); /* Optional: dark background for readability */
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
}

.expertise-front-text h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0;
}


.team-section {
  padding: 4rem 1rem;
  background-color: #f9f9f9;
  text-align: center;
}

.podcast-interview {
  padding: 4rem 1rem;
  background-color: #f9f9f9;
  text-align: center;
}

.podcast-wrap{
  max-width: 500px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  justify-content: center;
}
.podcast-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height:100%;
  min-height: 100px;
  background-color: #f4f4f4;
  border: 1px solid #333;
  border-radius: 6px;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.podcast-card:hover {
  box-shadow: 0 0 12px 4px rgba(0, 123, 255, 0.4);
}

.section-heading {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 3rem;
}

.team-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding: 2rem 0;
}

.team-card {
  position: relative;
  width: 320px;
  height: 500px;
  background-color: #f9f9f9;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.2s ease;
}

.team-card:hover,
.team-card.active {
  transform: scale(1.03);
  box-shadow: 0 0 12px 4px rgba(0, 123, 255, 0.4);
}

.card-face {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0; left: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 1rem;
  border-radius: 12px;
  transition: opacity 0.3s ease;
}

.card-photo {
  z-index: 2;
  background-color: #f9f9f9;
  opacity: 1;
}

.card-bio {
  z-index: 1;
  background: transparent;
  opacity: 0;
  overflow-y: auto;
}

.team-card:hover .card-photo,
.team-card.active .card-photo {
  opacity: 0;
  z-index: 1;
}

.team-card:hover .card-bio,
.team-card.active .card-bio {
  opacity: 1;
  z-index: 2;
}

.bio-inner {
  background-color: #f0f0f0;
  border-radius: 12px;
  padding: 1.5rem;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  overflow-y: auto;
}

.bio-inner h3 {
  align-self: center;
  text-align: center;
  margin-bottom: 1rem;
}

.bio-inner p {
  font-size: 0.9rem;
  color: #333;
  line-height: 1.4;
  text-align: left;
  margin-bottom: 0.5rem;
}

.team-photo {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1rem;
}

.linkedin-link {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: inline-block;
}

.linkedin-button {
  height: 32px;
  width: auto;
  display: block;
  margin: 0 auto;
  transition: opacity 0.3s;
}

.linkedin-button:hover {
  opacity: 0.8;
}



.insights-section {
  padding: 4rem 1rem;
  background-color: #f3f6f9;
  text-align: center;
}

.section-heading {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 3rem;
}

.insights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: stretch;
}

.insight-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height:100%;
  min-height: 500px;
  background-color: #f4f4f4;
  border: 1px solid #333;
  border-radius: 6px;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.insight-card:hover {
  box-shadow: 0 0 12px 4px rgba(0, 123, 255, 0.4);
}

.insight-text h3 {
  padding: 1rem 1rem 1rem 1rem;
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0;
  text-align: center;
}

.insight-text {
  padding: 0 2rem 1rem 2rem;
  text-align: left;
  flex-grow: 1;
}

.insight-text h4 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0.5rem 0;
}

.insight-text li {
  font-size: 0.95rem;
  margin-top: 0.5rem; 
}
.insight-text p {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  margin: 0;
  color: #333;
}

.insight-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-top: 1rem;
}

.testimonials {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
  font-family: sans-serif;
}

.testimonials h2 {
  text-align: center;
  margin-bottom: 30px;
}

.testimonial-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.testimonial-link {
  text-decoration: none;
  color: inherit;
  display: block
}

.testimonial-card {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 12px;
  background-color: #fafafa;
  transition: box-shadow 0.3s ease;
}

.testimonial-card:hover {
  box-shadow: 0 0 12px 4px rgba(0, 123, 255, 0.4);
}

.testimonial-card img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  }

.testimonial-content {
  flex: 1;
}

.quote {
  font-style: italic;
  margin: 0 0 10px 0;
}

.name {
  font-weight: bold;
  margin: 0;
}

.role {
  font-size: 0.9em;
  color: #555;
  margin: 0 0 8px 0;
}

.linkedin-icon {
  width: 20px;
  height: 20px;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.linkedin-icon:hover {
  opacity: 1;
}



.contact-section {
  padding: 4rem 1rem;
  background-color: #112228;
  color: white;
  text-align: center;
}

.section-heading {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 2.5rem;
}

.contact-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-details {
  flex: 1 1 280px;
  text-align: left;
  font-size: 1rem;
  line-height: 1.6;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  }

.contact-row .icon {
  width: 30px;
  height: 22px;
  flex-shrink: 0;
}

.contact-row a {
  color: white;
  text-decoration: none;
}

.contact-row a:hover {
  text-decoration: underline;
}

.contact-form {
  flex: 1 1 400px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: left;
}

.contact-form label {
  font-weight: bold;
}

.contact-form input,
.contact-form textarea {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  width: 100%;
  box-sizing: border-box;
}

.contact-form button {
  padding: 0.75rem 1.25rem;
  background-color: #0077b5;
  color: #fff;
  font-size: 1rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  opacity: 1;
}

.contact-form button:hover {
  opacity: 0.8;
}

.contact-form .note {
  font-size: 0.85rem;
  color: #666;
  margin-top: 0.5rem;
}
.icon {
  height: 32px;
  width: 32px;
  vertical-align: middle;
  margin-right: 0.2rem;
}
.site-footer {
  text-align: center;
  padding: 2rem 0;
  font-size: 0.9rem;
  color: #666;
  background-color: #f9f9f9; /* Optional for contrast */
}

.insight-contact-section {
  margin-top: 60px;
}

/* Insight article styling */
.insight-article {
  background-color: #f3f6f9;
  padding: 4rem 2rem;
  border-bottom: 1px solid #ddd;
}

.insight-article > .container {
  box-sizing: border-box;
  width: 100% !important;
  max-width: 1000px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 80px 1rem 1rem !important; /* 80px offset for fixed header */
  line-height: 1.5;
}


/* Paragraph spacing */
.insight-article .container p {
  margin-top: 0;
  margin-bottom: 1.5rem; /* increased spacing between paragraphs */
}

/* List styling */
.insight-article .container ol,
.insight-article .container ul {
  margin-left: 2rem;     /* indent the whole list */
  padding-left: 1rem;    /* space between marker/number and text */
  padding-right: 2rem;
  line-height: 1.6;      /* increased line spacing for list items */
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

.insight-article .container li {
  padding-left: 0.5rem;
  margin-bottom: 0.5rem; /* slight gap between list items */
}
.insight-article .container h1 {
  margin-bottom: 1.5rem;
  margin-top: 2rem;
  font-size: 2.5rem;
  text-align: center;
}

.insight-article .container h2 {
  margin-bottom: 1.25rem;
  margin-top: 2rem;
}

.insight-article .container h3 {
  margin-bottom: 1rem;
  margin-top: 2rem;
}
.insight-article .container img {
  width: 100%;
  max-width: 1000px;
  height: auto;
  display: block;
  margin: 1.5rem auto;
  border: 1px solid #ccc;
  border-radius: 4px;
  }

.insight-article .container figure {
  display: block;
  text-align: center; /* center image and caption */
  margin: 1.5rem auto; /* spacing above and below figure */
}

.insight-article .container figure img {
  width: 100%;
  max-width: 1000px;
  height: auto;
}

.insight-article .container figure figcaption {
  font-size: 0.9rem; /* slightly smaller */
  font-style: italic;
  margin-top: 0.5rem; /* gap between image and caption */
  color: #555; /* softer text color */
}

/* Header grid keeps tagline centered and controls right */
.site-header .header-bar {
  display: grid;
  grid-template-columns: auto 1fr auto; /* logo | center | right controls */
  align-items: center;
  column-gap: 1rem;
}

/* Tagline: centered and spaced from neighbors */
.site-header .tagline {
  text-align: center;
  font-size: 2rem;      /* your chosen size */
  font-style: italic;
  color: #666;
  margin: 0 1.5rem;        /* separation from logo/controls */
  white-space: nowrap;     /* avoid wrap if possible */
  overflow: hidden;
  text-overflow: ellipsis; /* prevent overlap on very small widths */
}

/* Keep nav/hamburger on the right */
.site-header .menu-toggle {
  grid-column: 3;          /* right-most column */
  justify-self: end;
  background: none;
  border: 0;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.site-header .main-nav {
  grid-column: 3;          /* right-most column with the toggle */
  justify-self: end;
  margin-left: 0.75rem;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .site-header .tagline {
    margin: 0 2rem;        /* a bit more breathing room on narrow screens */
    font-size: 1.1rem;
  }

  /* Typical mobile nav pattern (example) */
  .site-header .main-nav {
    position: fixed;
    top: var(--header-height, 64px);
    right: 0;
    width: min(85vw, 320px);
    max-height: calc(100vh - var(--header-height, 64px));
    overflow-y: auto;
    background: #fff;
    box-shadow: 0 4px 16px rgba(0,0,0,.12);
    transform: translateX(100%);
    transition: transform .25s ease;
    padding: 1rem 1.25rem;
  }
  .site-header .main-nav.open { transform: translateX(0); }
}

/* Optional: ensure header height variable matches your fixed header */
.site-header { --header-height: 64px; }

.insight-article .container img.title-image {
  width:auto;
  max-width: 80%; /* adjust as needed */
  height: auto;
  display: block;  /* optional: remove inline spacing */
  margin: 0 auto 2rem;  /* optional: center it */
}
.original-publication {
  font-size: 0.9rem;
  color: #666;
  font-style: italic;
  margin-bottom: 1.5rem;
  text-align: center;         /* center the note */
}

.original-publication a {
  color: #0077b5;              /* LinkedIn blue */
  text-decoration: none;
}

.original-publication a:hover {
  text-decoration: underline; /* subtle hover effect */
}

/* Prevent fixed header from overlapping contact section when linked via #contact */
#contact {
  scroll-margin-top: 80px; /* same as your fixed-header height */
}

blockquote.pull {
  border-left: 4px solid #7e7e7e;
  padding: 0.4em 1em;
  margin: 0.9em 0 0.6em 1.8em;   /* indent relative to bullet */
  font-style: italic;
  background: #f9f9f9;
  color: #333;
  border-radius: 4px;
  line-height: 1.4;
}
li > blockquote.pull:first-of-type { margin-top: 0.8em; }   /* small gap after bullet text */
blockquote.pull + blockquote.pull { margin-top: 0.4em; }    /* tighter stack */
blockquote.pull p { margin: 0; }                            /* remove extra space inside */


