/* Fonts */
:root {
  --default-font: "Poppins", sans-serif;
  --heading-font: "Poppins", sans-serif;
  --nav-font: "Poppins", sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root { 
  --background-color: #ffffff; /* Background color for the entire website, including individual sections */
  --default-color: #4b4b4b; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #172863; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #5fcf80; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: #272828;  /* The default color of the main navmenu links */
  --nav-hover-color: #5fcf80; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #ffffff; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #ffffff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #272828; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #5fcf80; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */


/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font) !important;
}

a {  
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6, .sitename, .display-4, .display-5, .display-6 {
	color: var(--heading-color);
	font-family: var(--heading-font) !important;
}

.bd-placeholder-img {
        font-size: 1.125rem;
        text-anchor: middle;
        -webkit-user-select: none;
        -moz-user-select: none;
        user-select: none;
      }
      @media (min-width: 768px) {
        .bd-placeholder-img-lg {
          font-size: 3.5rem;
        }
      }
      .b-example-divider {
        width: 100%;
        height: 3rem;
        background-color: #0000001a;
        border: solid rgba(0, 0, 0, 0.15);
        border-width: 1px 0;
        box-shadow:
          inset 0 0.5em 1.5em #0000001a,
          inset 0 0.125em 0.5em #00000026;
      }
      .b-example-vr {
        flex-shrink: 0;
        width: 1.5rem;
        height: 100vh;
      }
      .bi {
        vertical-align: -0.125em;
        fill: currentColor;
      }
      .nav-scroller {
        position: relative;
        z-index: 2;
        height: 2.75rem;
        overflow-y: hidden;
      }
      .nav-scroller .nav {
        display: flex;
        flex-wrap: nowrap;
        padding-bottom: 1rem;
        margin-top: -1px;
        overflow-x: auto;
        text-align: center;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
      }
      .btn-bd-primary {
        --bd-violet-bg: #712cf9;
        --bd-violet-rgb: 112.520718, 44.062154, 249.437846;
        --bs-btn-font-weight: 600;
        --bs-btn-color: var(--bs-white);
        --bs-btn-bg: var(--bd-violet-bg);
        --bs-btn-border-color: var(--bd-violet-bg);
        --bs-btn-hover-color: var(--bs-white);
        --bs-btn-hover-bg: #6528e0;
        --bs-btn-hover-border-color: #6528e0;
        --bs-btn-focus-shadow-rgb: var(--bd-violet-rgb);
        --bs-btn-active-color: var(--bs-btn-hover-color);
        --bs-btn-active-bg: #5a23c8;
        --bs-btn-active-border-color: #5a23c8;
      }
      .bd-mode-toggle {
        z-index: 1500;
      }
      .bd-mode-toggle .bi {
        width: 1em;
        height: 1em;
      }
      .bd-mode-toggle .dropdown-menu .active .bi {
        display: block !important;
      }

.hero-tb{background: url('assets/img/hero-bg.jpg') center center / cover no-repeat !important; min-height: 550px;}
.text-tb-blue{color:#172863;}
.text-tb-brown{color:#a86329;}
.text-tb-gray{color:#c0bfbf;}
.text-tb-white{Color:#ffffff;}
.bg-tb-blue{background:#172863;}
.bg-tb-brown{background:#a86329;}
.fw-extrabold{font-weight:800}
.btn-brown{background:#a86329;}
.btn-brown:hover{background:#bd6f2f;}
.watermark-logo {
 background: url('assets/img/watermark-logo.png') center center / cover no-repeat; 
  min-height: 450px; /* Gives the container visible space */
}
.bg-tb-gray{background:#f8f7f7;}
.arrow-left{width: 42px; height: 42px; background: #121c42;}
.arrow-left:hover{width: 42px; height: 42px; background: #121c42;}
.quick-icon-box{width: 54px; height: 54px; background: #f7ede2;}
.border{border-color:#e4e2e2!important;}
.border-bottom{border-color:#e4e2e2!important;}

/* Hidden Description State */
.values-hover-desc {
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Revealed State on Mouse Hover */
.values-hover-card:hover .values-hover-desc {
  max-height: 150px;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  margin-top: 8px; /* Adds spacing between heading and text when open */
}

/* Image Zoom & Overlay Transitions */
.values-card-img {
  transition: transform 0.5s ease;
}

.values-card-overlay {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 40%, rgba(0, 0, 0, 0.8) 100%);
  transition: background 0.4s ease;
}

.values-hover-card:hover .values-card-img {
  transform: scale(1.08);
}

.values-hover-card:hover .values-card-overlay {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 10%, rgba(18, 28, 66, 0.92) 100%);
}



@media (max-width: 1200px) {
 
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Navmenu - Desktop */
@media (min-width: 1200px) {
 
}
/* Desktop View: Keep Offcanvas as Normal Inline Navbar */







/* Navmenu - Mobile */
@media (max-width: 1199px) {
  
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/

@media (max-width: 767px) {}

/*--------------------------------------------------------------
# Courses Course Details Section
--------------------------------------------------------------*/


/*--------------------------------------------------------------
# Tabs Section
--------------------------------------------------------------*/

@media (max-width: 992px) {}

/*--------------------------------------------------------------
# Trainers Section
--------------------------------------------------------------*/
@media (max-width: 1024px) {}

.hero-bg-art {
  background-color: #f3f3f4;
  background-image: var(--hero-bg);
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}
@media (max-width: 991.98px) {
  .hero-bg-art {
    background-image:
      linear-gradient(90deg, rgba(243, 243, 244, .94) 0%, rgba(243, 243, 244, .88) 65%, rgba(243, 243, 244, .6) 100%),
      var(--hero-bg);
    background-position: center, left center;
  }
  .hero-tb { background-position: left center !important; }
}

/*--------------------------------------------------------------
# CMS content helpers (added for the database-driven front end)
--------------------------------------------------------------*/
.tb-rich > *:last-child { margin-bottom: 0; }
.tb-rich img { max-width: 100%; height: auto; border-radius: 1rem; }
.tb-rich .ql-align-center { text-align: center; }
.tb-rich .ql-align-right { text-align: right; }
.tb-rich .ql-align-justify { text-align: justify; }
.legal-content section { padding-top: 2rem !important; }
.legal-content .tb-rich { max-width: 820px; line-height: 1.7; }
.legal-content .tb-rich h2, .legal-content .tb-rich h3 { margin-top: 1.75rem; color: var(--heading-color); font-weight: 700; }
.values-hover-card:focus-visible { outline: 3px solid #c87a32; outline-offset: -3px; }

/* Menu dropdown: clicked / current link */
.dropdown-menu {
  --bs-dropdown-link-active-bg: #172863;
  --bs-dropdown-link-active-color: #fff;
}
.dropdown-menu .dropdown-item.active,
.dropdown-menu .dropdown-item:active {
  background-color: #172863;
  color: #fff;
}

/* ---------------------------------------------------------------- Mega dropdown (header) */
.tb-mega {
  --tb-mega-navy: #172863;
  padding: 1.5rem;
  border-radius: 1.25rem;
  min-width: 340px;
  white-space: normal;
}
.tb-mega .row { --bs-gutter-x: 1.5rem; }
.tb-mega-label {
  font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: #6c7383; margin: .25rem 0 .5rem .5rem;
}
.tb-mega-label a { color: inherit; text-decoration: none; }
.tb-mega-label a:hover { color: var(--tb-mega-navy); }
.tb-mega .tb-mega-item {
  display: flex; align-items: flex-start; gap: .85rem;
  padding: .6rem .5rem; border-radius: .75rem; white-space: normal;
  color: var(--tb-mega-navy);
}
.tb-mega .tb-mega-item:hover, .tb-mega .tb-mega-item:focus { background: #f2f4f9; color: var(--tb-mega-navy); }
.tb-mega-icon {
  flex: 0 0 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.35rem; line-height: 1; margin-top: .1rem;
}
.tb-mega-text { display: flex; flex-direction: column; min-width: 0; }
.tb-mega-title { font-weight: 600; font-size: .98rem; line-height: 1.3; }
.tb-mega-desc { font-size: .85rem; color: #6c7383; margin-top: .15rem; line-height: 1.4; }
.tb-mega-divider { margin: 1rem -.25rem; border-color: #e6e8ef; opacity: 1; }

/* current page / clicked: navy with white text (same as the simple dropdown) */
.tb-mega .tb-mega-item.active, .tb-mega .tb-mega-item:active { background: var(--tb-mega-navy); color: #fff; }
.tb-mega .tb-mega-item.active .tb-mega-desc, .tb-mega .tb-mega-item:active .tb-mega-desc { color: rgba(255,255,255,.75); }

/* featured card */
.tb-mega .tb-mega-feature {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  margin-top: 1.25rem; padding: 1.35rem 1.5rem; border-radius: 1rem;
  background: #121c42; color: #fff; white-space: normal; transition: background-color .2s;
}
.tb-mega .tb-mega-feature:hover, .tb-mega .tb-mega-feature:focus,
.tb-mega .tb-mega-feature.active, .tb-mega .tb-mega-feature:active { background: var(--tb-mega-navy); color: #fff; }
.tb-mega-eyebrow { font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #d4893a; margin-bottom: .2rem; }
.tb-mega-feature-title { font-weight: 700; font-size: 1.2rem; line-height: 1.3; }
.tb-mega-feature .tb-mega-desc { color: rgba(255,255,255,.65); }
.tb-mega-arrow {
  flex: 0 0 44px; height: 44px; border-radius: 50%; background: #c87a32; color: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-size: 1.15rem;
  transition: transform .2s;
}
.tb-mega-feature:hover .tb-mega-arrow { transform: translateX(3px); }

/* desktop: wide panel centred under its menu link */
@media (min-width: 1200px) {
  .tb-mega-parent { position: relative; }
  .navbar-expand-xl .navbar-nav .tb-mega {
    left: 50%; transform: translateX(-50%); margin-top: .75rem;
  }
  .tb-mega.tb-mega-wide { width: 720px; }
}
/* mobile menu (offcanvas): flat, full width */
@media (max-width: 1199.98px) {
  .tb-mega { box-shadow: none !important; padding: .5rem 0 .5rem .75rem; min-width: 0; }
  .tb-mega-divider { margin: .5rem 0; }
  .tb-mega .tb-mega-feature { margin-top: .75rem; padding: 1rem 1.1rem; }
  .tb-mega-feature-title { font-size: 1.05rem; }
}
.tb-mega-icon .bi { color: #c87a32; font-size: 1.3rem; }
.tb-mega .tb-mega-item.active .tb-mega-icon .bi, .tb-mega .tb-mega-item:active .tb-mega-icon .bi { color: #fff; }

/* ---------------------------------------------------------------- Module: problem tabs (chips) */
.tb-chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.tb-chip {
  border: 0; background: #fff; color: #272828; border-radius: 50rem;
  padding: .5rem 1rem; font-size: .9rem; line-height: 1.3; transition: background-color .2s, color .2s;
}
.tb-chip:hover { background: #e9ebf3; }
.tb-chip.active, .tb-chip.active:hover { background: #172863; color: #fff; }
.tb-chip:focus-visible { outline: 3px solid #c87a32; outline-offset: 2px; }
.tb-chips-hint { font-size: .9rem; color: #4b4b4b; margin: 1.25rem 0 1.25rem 1rem; }
.tb-chips-card {
  background: #fff; border: 2px solid #172863; border-radius: 1rem;
  padding: 1.75rem; min-height: 100%;
}
.tb-chips-card-title { font-size: 1.05rem; font-weight: 600; text-transform: uppercase; color: #172863; margin-bottom: 1.25rem; letter-spacing: .01em; }
.tb-chips-answer { color: #272828; line-height: 1.6; margin-bottom: 1.75rem; }
.tb-chips-wa { color: #a86329; text-decoration: none; font-size: .9rem; display: inline-flex; align-items: center; gap: .4rem; }
.tb-chips-wa:hover { color: #172863; }
.tb-chips-wa .bi { font-size: 1.15rem; }
@media (min-width: 992px) { .tb-chips-card { padding: 2rem 1.9rem; } }

/* ---------------------------------------------------------------- Module: numbered steps */
.tb-steps { margin-top: 5rem; row-gap: 5rem !important; }
.tb-step {
  position: relative; background: #fff; border: 1px solid #e6e6e6; border-radius: 1rem;
  padding: 2.75rem 1.75rem 2.25rem; text-align: center;
}
.tb-step-num {
  position: absolute; left: 50%; top: 0; transform: translate(-50%, -100%);
  width: 136px; height: 62px; border-radius: 68px 68px 0 0; background: #a86329; color: #fff;
  display: flex; align-items: flex-end; justify-content: center; padding-bottom: .55rem;
  font-weight: 700; font-size: 1.6rem; line-height: 1;
}
.tb-step-icon { color: #a86329; font-size: 3rem; line-height: 1; margin-bottom: 1.6rem; }
.tb-step-title { color: #a86329; font-size: 1.45rem; font-weight: 500; line-height: 1.3; max-width: 260px; margin: 0 auto 1rem; }
.tb-step-text { color: #272828; line-height: 1.75; margin: 0; hyphens: auto; }

/*--------------------------------------------------------------
# Pain points module ("Sound familiar?")  - templates/modules/pain_points.php
# Site font (Poppins) only - no external fonts.
--------------------------------------------------------------*/
.tb-pains { --pains-ink: #1d2330; --pains-muted: #5b6270; --pains-line: #ddd5c7; color: var(--pains-ink); }
.tb-pains-cream { background-color: #f5f1ea; }
@media (min-width: 1200px) { .tb-pains > .container { max-width: 940px; } }
.tb-pains-eyebrow {
  font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--pains-muted); margin-bottom: .9rem;
}
.tb-pains .tb-pains-title {
  font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.1rem); line-height: 1.22; font-weight: 600;
  color: var(--heading-color); letter-spacing: -.015em; margin-bottom: 1.5rem;
}
.tb-pains-intro { font-size: .95rem; line-height: 1.7; color: var(--pains-muted); max-width: 46ch; margin-bottom: 0; }
.tb-pains-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--pains-line); }
.tb-pains-list li {
  padding: 1.3rem 0; border-bottom: 1px solid var(--pains-line);
  font-size: clamp(1rem, .95rem + .25vw, 1.1rem); line-height: 1.55; font-weight: 500; color: var(--pains-ink);
}
.tb-pains-list li:last-child { border-bottom: 0; }

@media (max-width: 991.98px) {
  .tb-pains-list li { padding: 1.1rem 0; }
}

/*--------------------------------------------------------------
# Card grid (Home - Services grid)  - templates/modules/card_grid.php
# "01 · LABEL" eyebrow + heading, optional icon. Site font (Poppins).
--------------------------------------------------------------*/
.tb-cards-cream { background-color: #f3efe8; }
.tb-card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid #e9e3d8; border-radius: 1rem;
  padding: 1.6rem 1.6rem 1.5rem; transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.tb-cards-cream .tb-card { background: #fdfbf7; }
.tb-card-link:hover { box-shadow: 0 10px 28px rgba(23, 40, 99, .08); transform: translateY(-2px); border-color: #e0d6c6; }
.tb-card-link:focus-within { outline: 3px solid #c87a32; outline-offset: 2px; }
.tb-card-head { margin-bottom: .9rem; }
.tb-card-head.has-icon { display: flex; gap: 1rem; align-items: flex-start; }
.tb-card-icon {
  width: 3.75rem; height: 3.75rem; flex-shrink: 0; border-radius: .8rem;
  background: #f7e7d8; color: #a86329; display: flex; align-items: center; justify-content: center; font-size: 1.6rem;
}
.tb-card-icon img { max-width: 60%; max-height: 60%; object-fit: contain; }
.tb-card-label {
  font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: #6b6f7b; margin: .15rem 0 .45rem;
}
.tb-cards .tb-card-title {
  font-size: 1.15rem; line-height: 1.38; font-weight: 500; letter-spacing: -.005em;
  color: var(--heading-color); margin: 0;
}
.tb-card-title a { color: inherit; text-decoration: none; }
.tb-card-link:hover .tb-card-title a { color: #a86329; }
.tb-card-text { font-size: .875rem; line-height: 1.65; color: #5b6270; margin: 0; }
.tb-card-bullets { font-size: .85rem; color: #5b6270; padding-left: 1.1rem; margin: .75rem 0 0; }
.tb-card-bullets li + li { margin-top: .25rem; }
@media (max-width: 575.98px) {
  .tb-card { padding: 1.35rem 1.25rem; }
  .tb-card-icon { width: 3.25rem; height: 3.25rem; font-size: 1.4rem; }
}
