:root {
  --primary-color: #9FEDED;
  --primary-gradient: linear-gradient(135deg, #56F5D2 0%, #45E5C4 100%);
  --secondary-color: #7A3EE3;
  --secondary-gradient: linear-gradient(135deg, #7A3EE3 0%, #9B59B6 100%);
  --accent-gradient: linear-gradient(135deg, #56F5D2 0%, #7A3EE3 100%);
  --blue: #45A8F0;
  --white: #F9F9FE;
  --black: #1C1C1F;
  --background-color: #1C1C1F;
  --surface-color: #2A2A2E;
  --card-bg: #2A2A2E;
}

.text-white {
  color: var(--white) !important;
}

.text-black {
  color: var(--black) !important;
}

.text-primary {
  color: var(--primary-color) !important;
}

/* Sticky footer layout */
html,
body {
  height: 100%;
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
  /* ensures main content stretches and pushes footer down */
}

footer {
  flex-shrink: 0;
  /* footer stays at the bottom */
}

body {
  font-family: "Archivo Narrow", sans-serif;
  background: #332D2E;
  color: var(--white);
  line-height: 1.6;
  font-size: 18px;
}

/* Enhanced Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  text-transform: uppercase;
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary-color);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1.5rem;
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 2rem;
  position: relative;
}

h2:not(.client-header)::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 2px;
}

a {
  color: var(--primary-color);
  text-decoration: underline;
}

header,
section {
  margin-bottom: 100px;
}

.container {
  padding-right: calc(var(--bs-gutter-x) * 2);
  padding-left: calc(var(--bs-gutter-x) * 2);
}

/* Enhanced Buttons */
.bg-primary,
.btn-primary {
  background: var(--primary-gradient) !important;
  border: none !important;
  color: var(--black) !important;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.bg-secondary,
.btn-secondary {
  background: var(--secondary-gradient) !important;
  border: none !important;
  color: var(--white) !important;
  font-weight: 400 !important;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.bg-black {
  background-color: var(--surface-color) !important;
}

.btn-xl {
  padding: 1.25rem 2.5rem;
  font-size: 1.25rem;
  border-radius: 8px;
  font-family: "Bebas Neue", sans-serif;
}

/* Navigation */
.navbar {
  background-color: transparent !important;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  width: 100%;
  height: 100px;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(28, 28, 31, 0.95) !important;
}

.navbar .navbar-brand,
.navbar .nav-link {
  color: var(--white) !important;
  font-size: 18px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.navbar .navbar-brand {
  color: var(--primary-color) !important;
  font-size: 80px;
  font-weight: 900;
}

.navbar .nav-link {
  position: relative;
  margin: 0 10px;
}

.navbar .nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 50%;
  background: var(--primary-color);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
  width: 100%;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--primary-color) !important;
}

.navbar .navbar-toggler {
  border-color: var(--white);
}

.navbar .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(241, 241, 241, 0.75)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='m4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar .navbar-nav {
  margin-left: auto;
  justify-content: flex-end;
  align-items: center;
}

.lang-button {
  padding: 5px 10px;
  margin: 0 2px;
  cursor: pointer;
  border: 1px solid #ccc;
  background-color: white;
}

.lang-button.active {
  background-color: var(--primary-color);
  /* highlight color */
  color: white;
}

/* Mobile Navigation */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: rgba(42, 42, 46, 1);
    border-radius: 10px;
    margin-top: 1rem;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  }

  .navbar-collapse.show {
    animation: slideDown 0.3s ease-out;
  }


  /* Prevent flicker when navbar collapses/expands */
  .navbar-collapse.collapsing {
    transition: none !important;
  }

  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-20px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

/* Enhanced Hero Section */
.hero-section {
  position: relative;
  background-size: cover;
  background-position: center;
  background-image: url('../images/Nick_Hero.jpg');
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-top: 120px;
  /* offset so text clears navbar */
  padding-bottom: 60px;
  /* some breathing space at bottom */
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../images/Nick_Hero.jpg');
  background-size: cover;
  background-position: left;
  filter: grayscale(100%) brightness(0.4);
  z-index: 0;
}

.hero-overlay {
  z-index: 1;
  background: linear-gradient(to bottom,
      rgba(51, 45, 46, 0) 0%,
      /* strong overlay at top */
      rgba(51, 45, 46, 0.4) 40%,
      /* fade a little */
      #332D2E 100%
      /* match page background at bottom */
    ) !important;
}

.hero-section .container {
  z-index: 2;
  padding-top: 0;
  /* remove old padding */
  padding-bottom: 0;
}

.hero-section h1 {
  max-width: 100%;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 1s ease-out;
}

.hero-section .lead {
  animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-section .btn {
  animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-section .container {
  z-index: 2;
  padding-top: 75px;
  /* keeps hero text below navbar */
  padding-bottom: calc(var(--bs-gutter-x) * 2);
}

.hero-buttons {
  display: flex;
  flex-direction: row;
  gap: 10px;
}

@media (max-width: 768px) {
  .hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
  }

/*@media (max-width: 768px) {
  .hero-section .container {
    padding-top: 140px;  push text lower on mobile 
  }
} */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.lead {
  font-size: 1.5rem;
  font-family: "Archivo Narrow", sans-serif;
  text-transform: uppercase;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.95);
}

main.container {
  padding-top: 120px;
}

.client-header {
  margin-bottom: 3rem;
  color: var(--primary-color) !important;
  font-size: 1.5rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.client-logo {
  filter: grayscale(100%) brightness(0.7);
  opacity: 0.7;
  transition: all 0.4s ease;
}

.client-logo:hover {
  filter: none;
  opacity: 1;
  transform: scale(1.05);
}

/* Introduction Section */
.introduction-content {
  display: flex;
  flex-direction: row;
  gap: 4rem;
  align-items: center;
  background: var(--card-bg);
  border-radius: 15px;
  padding: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.profile-img {
  width: 100%;
  max-width: 350px;
  /* still cap it for larger screens */
  height: auto;
  /* keeps aspect ratio */
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

@media (max-width: 768px) {
  .profile-img {
    max-width: 100%;
  }
}

.profile-img:hover {
  transform: scale(1.02);
}

.about-text {
  font-size: 1.25rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

/* Services Section */
#services-overview .services-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
}

#services-overview .service-card {
  flex: 1 1 350px;
  max-width: 500px;
  padding: 2.5rem;
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

#services-overview .service-card:hover {
  border-color: rgba(86, 245, 210, 0.3);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

#services-overview h3 {
  margin-bottom: 1rem;
  color: var(--primary-color);
}

#services-overview ul {
  padding-left: 1.2rem;
  margin-bottom: 2rem;
}

#services-overview ul li {
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.9);
}

#services-overview .btn {
  margin-top: auto;
}

#services-overview .service-card .btn {
  margin-top: auto;
}

/* Public Speaking Section */
.public-speaking-cards {
  gap: 1.5rem;
  /* spacing between cards */
}

.public-speaking-card {
  flex: 1 1 300px;
  /* grows and shrinks with min width */
  max-width: 350px;
  /* keeps cards from stretching too wide */
}


/* Testimonials */

.carousel {
  background: rgba(255, 255, 255, 0.95);
  padding: 3rem;
  border-radius: 15px;
  color: var(--black);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.avatar {
  border: 4px solid var(--secondary-color);
  border-radius: 50%;
  margin-bottom: 2rem;
  box-shadow: 0 8px 20px rgba(122, 62, 227, 0.3);
}

.quote {
  color: var(--secondary-color);
  font-size: 1.25rem;
}

.carousel-dark .carousel-control-next-icon,
.carousel-dark .carousel-control-prev-icon {
  color: var(--secondary-color);
}

/* Blog Section */
#latest-blog .card {
  display: flex;
  flex-direction: column;
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  transition: all 0.3s ease;
  overflow: hidden;
}

#latest-blog .card:hover {
  border-color: rgba(86, 245, 210, 0.3);
}

#latest-blog .card-img-top {
  transition: transform 0.3s ease;
}

#latest-blog .card:hover .card-img-top {
  transform: scale(1.05);
}

#latest-blog .card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

#latest-blog .card-body .btn {
  margin-top: auto;
}

/* Footer */
#footer {
  font-size: 1rem;
  background: var(--secondary-gradient) !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 1.5em;
  padding: 3em;
  flex-shrink: 0;
}

.social-icon {
  color: white;
  margin: 0.5em;
  padding: 0.75em;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.social-icon:hover {
  color: var(--primary-color);
  transform: translateY(-2px);
}

/* Executive Coaching Cards */
.executive-coaching-cards {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.executive-coaching-cards>div {
  flex: 1 1 350px;
  min-width: 300px;
  max-width: 500px;
  display: flex;
}

/* Blog List Styles */
.blog-list-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1rem;
}

.blog-card {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  align-items: stretch;
  margin-bottom: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  overflow: hidden;
  background-color: var(--card-bg);
  transition: transform 0.2s ease;
  width: 100%;
}

.blog-card .col-md-4,
.blog-card .col-md-6 {
  overflow: hidden;
}

.blog-card img {
  width: 120px;
  height: 100px;
  object-fit: cover;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  display: block;
}

.blog-card:hover img {
  transform: scale(1.1);
}

.blog-card-body {
  flex: 1;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}

.blog-card-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--white);
  line-height: 1.3;
}

.blog-card-date {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.5rem;
}

.blog-card a.btn {
  align-self: flex-start;
  font-size: 0.85rem;
  padding: 0.375rem 0.75rem;
}

.featured-blog-card {
  height: auto;
  width: 100%;
  margin-bottom: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  background-color: var(--card-bg);
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
  padding: 2rem;
  overflow: hidden;
}

.featured-blog-card h2 {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--white);
  text-transform: none;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.featured-blog-card .card-subtitle {
  font-size: 1.125rem;
  color: var(--white);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.featured-blog-card .card-text {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.featured-blog-card .btn {
  font-size: 1rem;
  padding: 0.75rem 1.5rem;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.featured-blog-card .col-md-6 {
  overflow: hidden;
}

.featured-blog-card:hover img {
  transform: scale(1.05);
}

.object-fit-cover {
  object-fit: cover;
}

.image-link-expand {
  display: none;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
  .container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  section {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  header,
  section {
    margin-bottom: 60px;
  }

  .introduction-content {
    flex-direction: column;
    gap: 2rem;
    padding: 2rem;
  }

  #clients,
  #testimonials {
    padding: 2rem;
  }

  .hero-section h1 {
    max-width: 100%;
  }

  .blog-card {
    max-width: 100%;
    flex-direction: column;
  }

  .blog-card img {
    width: 100%;
    height: 150px;
  }

  .featured-blog-card {
    height: auto;
    max-width: 100%;
  }

  .featured-blog-card .row {
    flex-direction: column;
  }

  .featured-blog-card img {
    height: auto;
  }
}

/* ABOUT ME SECTION */
/* Split section flex layout */
/* Split section flex layout */
.split-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 4rem;
}

.split-section.reverse {
  flex-direction: row-reverse;
}

/* Equal split for text and media */
.text-block,
.media-block {
  flex: 1;
}

/* Responsive stacking on smaller screens */
@media (max-width: 768px) {

  .split-section,
  .split-section.reverse {
    flex-direction: column;
  }

  .media-block {
    order: -1;
    /* media on top when stacked */
  }
}

/* Shared media styles for images & video */
.media-block img,
.media-block iframe {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: block;
}

/* Videos should always keep 16:9 ratio */
.media-block iframe {
  aspect-ratio: 16 / 9;
  height: auto;
  min-height: 300px;
  /* ensures it doesn't shrink too small */
}

.mission-quote {
  font-weight: 600;
  color: var(--primary-color);
}




/* Blog post images - full width, maintain aspect ratio */
article img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1.5rem 0;
  border-radius: 8px;
  /* optional: keeps a consistent style */
}

/* Optional: center figure content */
article figure {
  margin: 0;
  text-align: center;
}

article figcaption {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0.5rem;
}

/* Additional Polish */
.container-small {
  max-width: 1320px !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 15px !important;
  padding-right: 15px !important;
}

html {
  scroll-behavior: smooth;
}

::selection {
  background: var(--primary-color);
  color: var(--black);
}

*:focus {
  color: var(--bs-body-color) !important;
  border-color: var(--primary-color) !important;
  outline: 0 !important;
  box-shadow: 0 0 0 .25rem rgba(86, 245, 210, .5) !important;
  border-radius: 4px !important;
}

*:focus-visible {
  color: var(--bs-body-color) !important;
  border-color: var(--primary-color) !important;
  outline: 0 !important;
  box-shadow: 0 0 0 .25rem rgba(86, 245, 210, .5) !important;
  border-radius: 4px !important;
}

.social-icon:focus-visible {
  color: var(--primary) !important;
  border-color: var(--primary-color) !important;
  outline: 0 !important;
  box-shadow: 0 0 0 .25rem rgba(86, 245, 210, .5) !important;
  border-radius: 4px !important;
}