:root {
  --brand-blue: #1f2552;
  --accent1: #ff9d3d;
  --accent2: #fe5c96;
  --muted: #8a91bc;
  --blue-gradient-start: #1e54b7;
  --blue-gradient-end: #ffb638;
}

/* Reset basics */
* {
  box-sizing: border-box;
}

/* html {
  overflow-x: hidden;
  width: 100%;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
} */

/* Ensure all images are responsive */
img {
  max-width: 100%;
  height: auto;
}

.about-image img,
.gallery-item img,
.chart-image,
.feature-icon-img,
.title-icon-img {
  max-width: 100%;
  height: auto;
}


@media (max-width: 768px) {
  body {
    padding-top: 0;
  }
  
  /* Hero section */
  .hero {
    margin-top: 0;
    padding-top: 40px; /* Account for competency-nav */
    min-height: auto;
  }
}

/* ============ HERO SECTION ============ */
.hero {
  position: relative;
  overflow: visible;
  padding: 0;
  margin-top: 0;
  display: flex;
  flex-direction: column;
  min-height: 500px;
}

.hero-slides {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 0.7s ease;
  margin: 0;
  padding: 0;
}

.hero-slide.active {
  opacity: 1;
}

.comp-portal-title {
    display: inline-block;
    margin-right: 2rem;
    background: linear-gradient(90deg, #236EBB 0%, #9B68C8 48.08%, #FEAD34 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;

}

.competency-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(83deg, #291151 6.81%, rgba(35, 12, 82, 0.00) 77.51%);
  pointer-events: none;
  /* z-index: 1; */
}
.competency-home-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(83deg, #291151 6.81%, rgba(35, 12, 82, 0.00) 77.51%);
  pointer-events: none;
  z-index: 1;
}

.portal-section-with-background {
  position: relative;
  background-image: url('../images/inner-header.jpg');
  /* Replace with your image   videos/title-bg.mp4*/
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 15rem;
  /* Adjust height as needed */

  flex-direction: column;
  justify-content: center;
  color: white;
  /* Text color */
  padding: 5px;
}
/* Hero bottom content - Title and Breadcrumb */
.hero-bottom-content {
  position: absolute;
  top: 6rem;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 0 5rem;
  text-align: left;
  margin: 0;
}

.hero .container {
  margin: 0;
  padding: 0;
  max-width: 100%;
  overflow: visible;
}

.hero .container .row {
  margin: 0;
  padding: 2.5rem 1rem;
  align-items: stretch;
  overflow: visible;
  position: relative;
  min-height: 450px; /* Adjusted to match hero min-height */
}

.hero-left {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  position: relative;
  overflow: visible;
}

@media (min-width: 992px) {
  .hero-left {
    padding-left: 60px; /* Add padding to accommodate scroller */
  }
}

.hero-left .col-lg-7,
.hero .col-lg-7 {
  margin: 0;
  padding: 0;
}

.hero .col-lg-5 {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
}

.hero .card {
  margin: 0;
  border: none;
}

.hero .row > * {
  padding-left: 0;
  padding-right: 0;
}

@media (min-width: 992px) {
  .hero .row > .col-lg-7 {
    padding-right: 1rem;
  }
  
  .hero .row > .col-lg-5 {
    padding-left: 1rem;
  }
}

@media (max-width: 768px) {
  .hero-bottom-content {
    text-align: center;
  }
}

.breadcrumb-text {
  color: #ffce4f;
  font-size: 0.9rem;
  font-weight: 500;
  margin-top: 0.5rem;
  margin-left: 0.5rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Hero title with gradient */
.hero-title {
  font-family: Inter, sans-serif;
  font-size: 2.75rem;
  font-weight: 900;
  line-height: 100%;
  letter-spacing: 0%;
  margin-bottom: 0;
  position: relative;
  z-index: 2;
}

.title-gradient-1 {
  background: linear-gradient(135deg, #ff9d3d 0%, #ffb638 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.title-gradient-2 {
  background: linear-gradient(135deg, #52ff8e 0%, #3ab3ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Left vertical scroller - Always visible and vertically centered */
#views-bootstrap-portal-page-slide-block-1 .carousel-indicators {
  position: absolute !important;
  z-index: 2 !important;
  display: flex !important;
  justify-content: center !important;
  padding: 0 !important;
  margin-left: -5% !important;
  margin-right: 90% !important;
  margin-bottom: 26rem !important;
  transform: rotate(90deg) !important;
  list-style: none !important;
  top: 35% !important;
}

.hero-scroller {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}


.scroller-dot {
  width: 10px;
  height: 48px;
  border-radius: 999px;
  border: none;
  display: block;
  margin: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.18);
  transition: all 0.25s ease;
  box-shadow: inset 0 -6px 14px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  flex-shrink: 0;
}

.scroller-dot.active {
  background: linear-gradient(180deg, #3ab3ff, #47e8ff);
  transform: translateY(-2px) scale(1.03);
}

/* Glass card */
.hero-card.glass-card {
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(6, 18, 40, 0.68), rgba(4, 10, 30, 0.48));
  border: 1px solid #FFFFFF59;
  color: #eaf6ff;
  height: 380px; /* Moderately increased glass card height */
  padding: 1.25rem 0;
  box-shadow: 0 18px 50px rgba(7, 12, 40, 0.55);
  margin: 0;
  width: 100%;
  backdrop-filter: blur(9.100000381469727px);
  display: flex;
  flex-direction: column;
}

/* Segmented tabs in card */
.btn-seg {
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  border: none;
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.2s;
  margin: 0;
  flex: 1;
}

.btn-seg.active {
  color: #3ab3ff;
  text-decoration: underline;
  box-shadow: none;
}

.btn-seg:hover:not(.active) {
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.9);
}

/* Hero card body */
.hero-card-body {
  flex: 1;
  overflow: auto;
  padding: 0 1.25rem; 
  padding-right: 8px;
  margin: 1rem 0 0 0;
  min-height: 0;
}

.hero-tabs-wrap {
  /* margin: 0 0 1rem 0; */
  /* padding: 0 0 0.75rem 0; */
  gap: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

/* Hero card footer */
.hero-card-footer {
  flex-shrink: 0;
  margin-top: auto;
}

.course-item {
  margin: 0 0 0.25rem 0;
  padding: 0 0 1.25rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.course-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.hero-card-body::-webkit-scrollbar {
  width: 4px;
}

.hero-card-body::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
}

.hero-card-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
}

.course-item h6 {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.course-item p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 12px;
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.course-item p .domain-tag {
  color: #3ab3ff;
  font-weight: 500;
}

.btn-apply {
  background: #3ab3ff;
  color: #fff;
  border: none;
  padding: 0.5rem 1.5rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(58, 179, 255, 0.3);
}

.btn-apply:hover {
  background: #2a9de8;
  box-shadow: 0 4px 12px rgba(58, 179, 255, 0.4);
  transform: translateY(-1px);
}

.btn-view-all {
  background: #3ab3ff;
  color: #fff;
  border: none;
  padding: 0.6rem 1.75rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(58, 179, 255, 0.3);
}

.btn-view-all:hover {
  background: #2a9de8;
  box-shadow: 0 4px 12px rgba(58, 179, 255, 0.4);
  transform: translateY(-1px);
}

/* ============ TICKER ============ */
 .node--type-portal .ticker {
  background: linear-gradient(90deg, #236EBB 0%, #9B68C8 48.08%, #FEAD34 100%);
}
/*
.ticker-label {
  background: #ffb703;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  text-align: center;
  font-weight: 700;
  font-size: 11px;
  line-height: 1.2;
  color: #05121f;
  background: #ffb703;
  border-radius: 4px;
}

.ticker-items {
  flex: 1;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  margin-left: 1rem;
}

.ticker-track {
  display: inline-flex;
  white-space: nowrap;
  gap: 4rem;
  animation: tickerMove 22s linear infinite;
  padding-left: 1rem;
}

.ticker:hover {
  cursor: pointer;
}

.ticker:hover .ticker-track {
  animation-play-state: paused;
}

.ticker-track span {
  font-size: 18px;
  color: #ffffff;
  opacity: 0.95;
  font-weight: 400;
}

@keyframes tickerMove {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
} */



/* ============ COMPETENCY NAV ============ */
.competency-nav {
  position: relative;
  margin: -10px 0 10px;
  z-index: 50;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.competency-nav .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.competency-nav .comp-nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: fit-content;
  margin: 0 auto;
  padding: 12px 30px;
  /* background: #ffffff; */
  border-radius: 48px;
  box-shadow: 0 8px 22px rgba(32, 57, 124, 0.08);
  gap: 25px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: visible;
  backdrop-filter: blur(4px);
  border: 1px solid #B6C1C7;
  background: #FFFFFFA6;
}

.competency-nav.is-sticky {
  position: fixed;
  left: 0;
  right: 0;
  margin: 0;
  padding: 0;
  background: #ffffff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid #e0e0e0;
  z-index: 998;
  transition: top 0.3s ease;
}

.competency-nav.is-sticky .container {
  padding: 0;
}

.competency-nav.is-sticky .comp-nav-content {
  width: 100%;
  margin: 0;
  border-radius: 0;
  border: none;
  box-shadow: none;
  padding: 0px 40px;
  justify-content: flex-start;
}

.competency-nav .nav-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand-blue);
  white-space: nowrap;
  display: none;
}

.competency-nav.is-sticky .nav-brand {
  display: block;
  margin-right: 2rem;
  background: linear-gradient(90deg, #236EBB 0%, #9B68C8 48.08%, #FEAD34 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.competency-nav.is-sticky .menu-list {
  margin-left: 0;
}

/* Menu list always visible */
.competency-nav .menu-list {
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}


/* Submenu arrow icons */
.competency-nav .submenu-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 8px;
  position: relative;
  width: 16px;
  height: 16px;
  vertical-align: middle;
}

.competency-nav .menu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.competency-nav .submenu-arrow .arrow-icon {
  position: absolute;
  width: 16px;
  height: 16px;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.competency-nav .submenu-arrow .arrow-icon.arrow-down {
  opacity: 1;
  transform: rotate(0deg);
}

.competency-nav .submenu-arrow .arrow-icon.arrow-up {
  opacity: 0;
  transform: rotate(180deg);
}

.competency-nav .competency-menu-item.has-sub:hover > .menu-link .submenu-arrow .arrow-icon.arrow-down {
  opacity: 0;
  transform: rotate(-180deg);
}

.competency-nav .competency-menu-item.has-sub:hover > .menu-link .submenu-arrow .arrow-icon.arrow-up {
  opacity: 1;
  transform: rotate(0deg);
}

/* Inner submenu arrows */
.competency-nav .sub-menu .has-sub > a .submenu-arrow {
  width: 14px;
  height: 14px;
  margin-left: auto;
}

.competency-nav .sub-menu .has-sub > a .submenu-arrow .arrow-icon {
  width: 14px;
  height: 14px;
}

.competency-nav .sub-menu .has-sub > a .submenu-arrow .arrow-icon.arrow-down {
  opacity: 1;
  transform: rotate(0deg);
}

.competency-nav .sub-menu .has-sub > a .submenu-arrow .arrow-icon.arrow-up {
  opacity: 0;
  transform: rotate(180deg);
}

.competency-nav .sub-menu .has-sub:hover > a .submenu-arrow .arrow-icon.arrow-down {
  opacity: 0;
  transform: rotate(-180deg);
}

.competency-nav .sub-menu .has-sub:hover > a .submenu-arrow .arrow-icon.arrow-up {
  opacity: 1;
  transform: rotate(0deg);
}



.competency-nav .menu-link {
  font-size: 18px;
  font-weight: 500;
  color: #1F2552;
  padding: 5px 10px;
  border-radius: 50px;
  transition: 0.2s ease;
  text-decoration: none;
  border: 1px solid #DEDEDE;
}

.competency-nav.is-sticky .menu-link {
  font-size: 12px;
  border: none;
}

.competency-nav .menu-link:hover {
  background: rgba(103, 126, 255, 0.08);
}

.competency-nav .menu-link.active {
  color: #613AF5;
  font-weight: 600;
}

.competency-nav .competency-menu-item {
  position: relative;
}

.competency-nav .sub-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: #ffffff;
  min-width: 220px;
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(48, 64, 140, 0.12);
  padding: 12px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 200;
  list-style: none;
}

.competency-nav .competency-menu-item.has-sub:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Add padding to menu item to create hoverable gap */
.competency-nav .competency-menu-item.has-sub::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 8px;
  background: transparent;
}

.competency-nav .sub-menu li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
  color: #1F2552;
  font-size: 16px;
  transition: 0.2s;
  text-decoration: none;
  width: 100%;
}

.competency-nav .sub-menu li:not(.has-sub) a {
  justify-content: flex-start;
}

.competency-nav .sub-menu li a:hover {
  background: #f1f4ff;
}


.competency-nav .inner-sub {
  top: 0;
  left: calc(100% + 8px);
  transform: translateX(-10px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.competency-nav .competency-menu-item.has-sub:hover > .sub-menu .has-sub:hover > .inner-sub {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* Add padding to submenu item with inner-sub to create hoverable gap */
.competency-nav .sub-menu .has-sub::after {
  content: '';
  position: absolute;
  right: -8px;
  top: 0;
  bottom: 0;
  width: 8px;
  background: transparent;
}



/* ============ ABOUT SECTION ============ */
.about-section {
  background: #ffffff;
  position: relative;
}

.section-separator {
  width: 100%;
  margin: 3rem 0 0 0;
  height: 1px;
  background: #e0e0e0;
}

.section-title {
  font-family: Inter, sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 0%;
  background: linear-gradient(90deg, #236EBB 0%, #9B68C8 48.08%, #FEAD34 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.title-icon-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
}

.about-text {
  font-size: 1rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 1.5rem;
  text-align: justify;
}

.about-features {
  margin-top: 2rem;
}

.feature-item {
  text-align: justify;
}

.feature-icon {
  font-size: 2rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
}

.feature-icon-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.feature-item h5 {
  color: var(--brand-blue);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

/* ============ TRAININGS SECTION ============ */
.trainings-section {
  background: #ffffff;
}

.section-title-large {
  font-family: Inter, sans-serif;
  line-height: 100%;
  letter-spacing: 0%;
  background: linear-gradient(90deg, #236EBB 0%, #9B68C8 48.08%, #FEAD34 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
}

.btn-view-all-link {
  color: var(--brand-blue);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.2s;
}

.btn-view-all-link:hover {
  color: #6670d9;
}

.training-card {
  position: relative;
  background: #FFFCF9;
  border-radius: 12px;
  box-shadow: 0px 4px 21.1px 0px #00000021;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.training-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 12px;
  padding: 2px;
  background: linear-gradient(90deg, #236EBB 0%, #9B68C8 48.08%, #FEAD34 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
  z-index: 0;
}

.training-card-header {
  position: relative;
  z-index: 1;
  background: linear-gradient(90deg, #236EBB 0%, #9B68C8 48.08%, #FEAD34 100%);
  color: #fff;
  padding: 1rem 1.25rem;
}

.training-card-header h5 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

.training-card-body {
  padding: 1.25rem;
  flex: 1;
  overflow-y: auto;
  height: 320px;
  max-height: 320px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}


.training-item {
  padding-bottom: 1rem;
  border-bottom: 1px solid #e0e0e0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.training-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.training-content {
  flex: 1;
  min-width: 0;
}

.training-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #000000;
  margin-bottom: 0.5rem;
  line-height: 1.4;
  display: block;
}

.training-domain-link {
  color: #1f2552;
  text-decoration: none;
  font-size: 0.85rem;
  display: block;
  margin-bottom: 0.25rem;
}

.training-meta {
  color: #666;
  font-size: 0.85rem;
  margin-bottom: 0;
}

.training-action {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.training-card-footer {
  position: relative;
  z-index: 1;
  padding: 1rem 1.25rem;
  border-top: 1px solid #e0e0e0;
  text-align: center;
}

/* ============ INSIGHTS SECTION ============ */
.insights-section {
  background: #ffffff;
}

.insight-card {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.insight-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--brand-blue);
  margin-bottom: 1.5rem;
}

/* Chart container */
.chart-container {
  position: relative;
  height: 200px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.chart-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}


/* ============ GALLERY SECTION ============ */
.gallery-section {
  background: #ffffff;
}

.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.gallery-item:hover {
  transform: translateY(-4px);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
  color: #fff;
  padding: 1rem;
  font-weight: 500;
  font-size: 0.95rem;
}


/* ============ RESPONSIVE DESIGN ============ */

/* Tablet and below */
@media (max-width: 992px) {

  .hero-bottom-content {
    padding: 0 2rem;
  }

  .hero-title {
    font-size: 2.25rem;
  }

  .hero .container .row {
    padding: 1.5rem 1rem;
  }

  .hero-left {
    padding-left: 0;
  }

  .hero-card.glass-card {
    margin-top: 1rem;
    height: 340px; /* Moderately increased for tablet */
  }

  .hero-card-body {
    max-height: 240px; /* Adjusted for tablet */
  }

  .about-section .row {
    flex-direction: column;
  }

  .about-section .col-lg-5 {
    margin-top: 2rem;
  }

  .training-card-body {
    height: 280px;
    max-height: 280px;
  }

  .training-item {
    flex-direction: column;
    gap: 0.75rem;
  }

  .training-action {
    align-self: flex-start;
    margin-top: 0.5rem;
  }

  .hero-scroller {
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
  }

  .hero-bottom-content .hero-title {
    font-size: 2rem;
  }

  .competency-nav {
    width: calc(100% - 2rem);
    margin: -30px auto 0;
    max-width: calc(100% - 2rem);
  }
  
  .insights-section .col-lg-4,
  .gallery-section .col-lg-4 {
    margin-bottom: 1.5rem;
  }

  .competency-nav.is-sticky .comp-nav-content {
    padding: 10px 20px;
  }

  .competency-nav .menu-list {
    gap: 12px;
  }

  .competency-nav .menu-link {
    padding: 6px 12px;
    font-size: 15px;
  }

  .competency-nav.is-sticky .menu-link {
    font-size: 15px;
  }

  .section-title {
    font-size: 1.35rem;
  }

  .section-title-large {
    font-size: 1.75rem;
  }

  .training-card-header h5 {
    font-size: 0.9rem;
  }

  .insights-section .row,
  .gallery-section .row {
    gap: 1.5rem;
  }
  
  .hero-slide {
    background-position: center center;
  }
}

/* Medium tablets (landscape phones, 577px-768px) */
@media (min-width: 577px) and (max-width: 768px) {
  .hero-bottom-content {
    padding: 0 1.5rem;
  }
  
  .competency-nav .comp-nav-content {
    padding: 0.75rem 1.5rem;
  }
  
  .competency-nav .menu-link {
    font-size: 14px;
    padding: 7px 12px;
  }
}

/* Mobile */
@media (max-width: 768px) {


  .mobile-menu-toggle {
    display: flex !important;
    z-index: 1001;
    position: relative;
  }

  .competency-nav .menu-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    padding: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    margin-top: 0.5rem;
    gap: 0.5rem;
  }

  .competency-nav .menu-list.active {
    display: flex;
  }

  .competency-nav.is-sticky .menu-list {
    position: fixed;
    top: 60px; /* Below nav */
    left: 0;
    right: 0;
    border-radius: 0;
    margin-top: 0;
    max-height: calc(100vh - 60px);
  }

  .hero {
    min-height: auto;
    margin-top: 0;
    padding-top: 40px; /* Account for competency-nav */
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
  }
  
  .hero .container .row {
    padding: 1rem;
    flex-direction: column;
  }

  .hero-left {
    padding-left: 0;
    margin-bottom: 1rem;
  }

  .hero .col-lg-5 {
    width: 100%;
    margin-top: 1rem;
  }

  #views-bootstrap-portal-page-slide-block-1 .carousel-indicators {
    display: none;
  }

  .hero-card.glass-card {
    padding: 1rem;
    height: auto;
    min-height: 280px;
  }

  .hero-tabs-wrap {
    flex-direction: column;
    gap: 0.5rem;
  }

  .btn-seg {
    width: 100%;
    text-align: center;
  }

  .hero-card-body {
    max-height: 200px;
  }

  .hero-bottom-content {
    position: relative;
    bottom: auto;
    padding: 1rem;
    margin-top: 1rem;
    text-align: center;
  }

  .hero-bottom-content .hero-title {
    font-size: 1.75rem;
    text-align: center;
  }

  .hero-bottom-content .breadcrumb-text {
    font-size: 0.8rem;
  }

  .ticker {
    height: 56px;
  }

  .ticker-label {
    width: 100px;
    min-width: 100px;
    font-size: 14px;
  }

  .ticker-track {
    gap: 2rem;
  }

  .ticker-track span {
    font-size: 14px;
  }

  .competency-nav {
    position: fixed;
    top: auto;
    left: 0;
    right: 0;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid #e0e0e0;
    z-index: 999;
    box-sizing: border-box;
  }
  
  /* Position competency nav below top header on mobile - handled by JS */

  .competency-nav .container {
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  .competency-nav .comp-nav-content {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0.75rem 1rem;
    border-radius: 0;
    flex-wrap: nowrap;
    justify-content: space-between;
    position: relative;
    align-items: center;
    min-height: 50px;
    margin: 0 !important;
    border: none;
    box-shadow: none;
    background: transparent;
    backdrop-filter: none;
    box-sizing: border-box;
  }

  .competency-nav.is-sticky {
    position: fixed;
    top: auto;
    left: 0;
    right: 0;
    margin: 0;
    padding: 0;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid #e0e0e0;
    z-index: 998;
  }

  .competency-nav.is-sticky .comp-nav-content {
    padding: 0.75rem 1rem;
    border-radius: 0;
    border: none;
    box-shadow: none;
    margin: 0;
  }

  .competency-nav .nav-brand {
    display: block;
    order: 1;
    margin-right: auto;
    font-size: 1.1rem;
    font-weight: 700;
    background: linear-gradient(90deg, #236EBB 0%, #9B68C8 48.08%, #FEAD34 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .competency-nav.is-sticky .nav-brand {
    display: block;
    order: 1;
    margin-right: auto;
    font-size: 1.1rem;
    font-weight: 700;
  }

  .mobile-menu-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    order: 2;
    font-size: 1.5rem;
    padding: 0.5rem;
    background: transparent;
    border: none;
    color: var(--brand-blue);
    cursor: pointer;
    z-index: 1001;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    transition: background-color 0.2s;
    pointer-events: auto;
    position: relative;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    flex-shrink: 0;
  }

  .mobile-menu-toggle.d-lg-none {
    display: flex !important;
  }

  .mobile-menu-toggle:focus {
    outline: 2px solid var(--brand-blue);
    outline-offset: 2px;
  }

  .mobile-menu-toggle:hover {
    background-color: rgba(31, 37, 82, 0.05);
  }

  .mobile-menu-toggle:active {
    background-color: rgba(31, 37, 82, 0.1);
  }

  .competency-nav.is-sticky .mobile-menu-toggle {
    display: flex !important;
  }

  .competency-nav .menu-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    padding: 0.5rem 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 0;
    margin-top: 0;
    gap: 0;
    z-index: 1000;
    max-height: calc(100vh - 150px);
    overflow-y: auto;
    border-left: none;
    border-right: none;
    border-bottom: none;
    border-top: 1px solid #e0e0e0;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .competency-nav .menu-list.active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
  }

  .competency-nav .competency-menu-item {
    width: 100%;
    border-bottom: 1px solid #f0f0f0;
  }

  .competency-nav .competency-menu-item:last-child {
    border-bottom: none;
  }

  .competency-nav .menu-link {
    padding: 1rem 1.25rem;
    font-size: 15px;
    width: 100%;
    justify-content: space-between;
    border: none;
    border-radius: 0;
    background: transparent;
    color: var(--brand-blue);
    font-weight: 500;
    transition: all 0.2s;
    text-align: left;
  }

  .competency-nav .menu-link:hover {
    background-color: #f8f9fa;
  }

  .competency-nav .menu-link.active {
    background-color: #f1f4ff;
    color: #613AF5;
    font-weight: 600;
  }

  .competency-nav.is-sticky .menu-link {
    font-size: 15px;
  }

  .competency-nav .sub-menu {
    display: none;
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    margin: 0;
    padding: 0;
    width: 100%;
    background: #f8f9fa;
    border-top: 1px solid #e0e0e0;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    max-height: 0;
    overflow: hidden;
    list-style: none;
  }

  .competency-nav .competency-menu-item.has-sub.active > .sub-menu {
    display: block;
    max-height: 1000px;
    opacity: 1;
    visibility: visible;
  }

  .competency-nav .sub-menu li {
    border-bottom: 1px solid #e8e8e8;
    list-style: none;
  }

  .competency-nav .sub-menu li:last-child {
    border-bottom: none;
  }

  .competency-nav .sub-menu li a {
    padding: 0.875rem 1.25rem 0.875rem 2.5rem;
    font-size: 14px;
    color: #555;
    display: block;
    transition: all 0.2s;
    text-decoration: none;
    width: 100%;
  }

  .competency-nav .sub-menu li a:hover {
    background-color: #f0f0f0;
    color: var(--brand-blue);
    padding-left: 3rem;
  }

  .competency-nav .sub-menu .has-sub > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .competency-nav .inner-sub {
    background: #f0f0f0;
    margin-left: 0;
    padding: 0;
    display: none;
    max-height: 0;
    overflow: hidden;
    list-style: none;
  }

  .competency-nav .sub-menu .has-sub.active > .inner-sub {
    display: block;
    max-height: 1000px;
  }

  .competency-nav .inner-sub li a {
    padding-left: 3.5rem;
  }

  .competency-nav .inner-sub li a:hover {
    padding-left: 4rem;
  }

  .competency-nav .submenu-arrow {
    transition: transform 0.3s ease;
    display: inline-flex;
    align-items: center;
  }

  .competency-nav .submenu-arrow .arrow-icon {
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  /* Default state - arrow down visible, arrow up hidden (when not active) */
  .competency-nav .competency-menu-item.has-sub:not(.active) .submenu-arrow .arrow-icon.arrow-down {
    opacity: 1 !important;
    transform: rotate(0deg) !important;
  }

  .competency-nav .competency-menu-item.has-sub:not(.active) .submenu-arrow .arrow-icon.arrow-up {
    opacity: 0 !important;
    transform: rotate(180deg) !important;
  }

  /* Active state - arrow down hidden, arrow up visible */
  .competency-nav .competency-menu-item.has-sub.active .submenu-arrow .arrow-icon.arrow-down {
    opacity: 0 !important;
    transform: rotate(180deg) !important;
  }

  .competency-nav .competency-menu-item.has-sub.active .submenu-arrow .arrow-icon.arrow-up {
    opacity: 1 !important;
    transform: rotate(0deg) !important;
  }

  /* Nested submenu arrows - default state (when not active) */
  .competency-nav .sub-menu .has-sub:not(.active) > a .submenu-arrow .arrow-icon.arrow-down {
    opacity: 1 !important;
    transform: rotate(0deg) !important;
  }

  .competency-nav .sub-menu .has-sub:not(.active) > a .submenu-arrow .arrow-icon.arrow-up {
    opacity: 0 !important;
    transform: rotate(180deg) !important;
  }

  /* Nested submenu arrows - active state */
  .competency-nav .sub-menu .has-sub.active > a .submenu-arrow .arrow-icon.arrow-down {
    opacity: 0 !important;
    transform: rotate(180deg) !important;
  }

  .competency-nav .sub-menu .has-sub.active > a .submenu-arrow .arrow-icon.arrow-up {
    opacity: 1 !important;
    transform: rotate(0deg) !important;
  }

  .section-title {
    font-size: 1.25rem;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .section-title-large {
    font-size: 1.5rem;
  }

  .about-section {
    padding: 2rem 0;
  }

  .about-section .container,
  .trainings-section .container,
  .insights-section .container,
  .gallery-section .container {
    padding: 0 1rem;
  }

  .about-image img {
    width: 100%;
    height: auto;
  }

  .about-section .row {
    flex-direction: column;
  }

  .about-section .col-lg-6,
  .about-section .col-lg-5 {
    width: 100%;
    margin-bottom: 1.5rem;
  }

  .about-text {
    font-size: 0.9rem;
    text-align: left;
  }

  .feature-item {
    flex-direction: row;
    text-align: left;
    gap: 1rem;
    padding: 0.75rem 0;
  }

  .feature-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
  }

  .trainings-section {
    padding: 2rem 0;
  }

  .trainings-section .container {
    padding: 0 1rem;
  }

  .trainings-section .row {
    flex-direction: column;
  }

  .trainings-section .col-lg-6 {
    width: 100%;
    margin-bottom: 1.5rem;
  }

  .training-card {
    margin-bottom: 1.5rem;
  }

  .training-card-body {
    height: 260px;
    max-height: 260px;
    padding: 1rem;
  }

  .training-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    padding-bottom: 1rem;
  }

  .training-content {
    width: 100%;
  }

  .training-title {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
  }

  .training-action {
    align-self: flex-start;
    width: 100%;
  }

  .insights-section,
  .gallery-section {
    padding: 2rem 0;
  }

  .insights-section .container,
  .gallery-section .container {
    padding: 0 1rem;
  }

  .insights-section .row,
  .gallery-section .row {
    flex-direction: column;
  }

  .insights-section .col-lg-4,
  .gallery-section .col-lg-4 {
    width: 100%;
    margin-bottom: 1.5rem;
  }

  .gallery-item img {
    height: 200px;
  }

  .breadcrumb-text {
    font-size: 0.85rem;
    margin-left: 0;
  }
}

/* Small mobile */
@media (max-width: 576px) {

  .hero {
    min-height: auto;
  }

  .hero .container .row {
    padding: 0.75rem;
  }

  .hero-card.glass-card {
    padding: 0.75rem;
    min-height: 260px;
  }

  .hero-card-body {
    max-height: 180px;
    padding: 0.75rem;
  }

  .hero-bottom-content {
    padding: 0.75rem;
  }

  .hero-bottom-content .hero-title {
    font-size: 1.5rem;
  }

  .hero-bottom-content .breadcrumb-text {
    font-size: 0.75rem;
    margin-left: 0;
  }

  .btn-seg {
    font-size: 0.75rem;
    padding: 0.35rem 0.5rem;
  }

  .ticker {
    height: 48px;
  }

  .ticker-label {
    width: 70px;
    min-width: 70px;
    font-size: 11px;
    padding: 0 6px;
  }

  .ticker-track {
    gap: 1.5rem;
  }

  .ticker-track span {
    font-size: 11px;
  }

  .competency-nav .comp-nav-content {
    padding: 0.5rem;
  }

  .competency-nav .menu-list {
    padding: 0.75rem;
  }

  .competency-nav .menu-link {
    padding: 0.5rem 0.75rem;
    font-size: 13px;
  }

  .competency-nav.is-sticky .menu-link {
    font-size: 13px;
  }

  .section-title {
    font-size: 1.1rem;
  }

  .section-title-large {
    font-size: 1.25rem;
  }

  .about-section,
  .trainings-section,
  .insights-section,
  .gallery-section {
    padding: 1.5rem 0;
  }

  .about-text {
    font-size: 0.85rem;
  }

  .feature-item {
    flex-direction: row;
    gap: 0.75rem;
  }

  .training-card-body {
    height: 240px;
    max-height: 240px;
    padding: 0.75rem;
  }

  .training-card-header {
    padding: 0.75rem;
  }

  .training-card-header h5 {
    font-size: 0.85rem;
    line-height: 1.3;
  }

  .training-title {
    font-size: 0.85rem;
  }

  .training-domain-link {
    font-size: 0.8rem;
  }

  .training-meta {
    font-size: 0.8rem;
  }

  .btn-apply {
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
  }

  .gallery-item img {
    height: 180px;
  }
}
.cbt-card {
      border: 2px dashed #dbe3f0;
      border-radius: 16px;
      padding: 24px;
      height: 100%;
      background: #fff;
      position: relative;
    }
 
    .cbt-card h5 {
      font-weight: 700;
    }
 
    .cbt-card p {
      margin-bottom: 6px;
      color: #555;
    }
 
    .contact-info {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-top: 10px;
      font-size: 0.95rem;
    }
 
    .contact-info i {
      color: #000;
      font-size: 1.1rem;
    }
/* Common button styles */
.btn {
  padding: 12px 32px;
  font-size: 16px;
  font-weight: 500;
 
  -webkit-border-radius: 30px;
  -moz-border-radius: 30px;
  border-radius: 30px;
 
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
 
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
 
/* 1️⃣ Linear border button */
.btn-outline-gradient {
  background: #ffffff;
  border: 1px solid #A35DFF;
  color: #7a5cff;
}
 
.btn-outline-gradient:hover {
  background: -webkit-linear-gradient(
    92deg,
    #A35DFF 1.66%,
    #667BFF 61.25%,
    #00AFFF 98.58%
  );
  background: -moz-linear-gradient(
    92deg,
    #A35DFF 1.66%,
    #667BFF 61.25%,
    #00AFFF 98.58%
  );
  background: -o-linear-gradient(
    92deg,
    #A35DFF 1.66%,
    #667BFF 61.25%,
    #00AFFF 98.58%
  );
  background: linear-gradient(
    92deg,
    #A35DFF 1.66%,
    #667BFF 61.25%,
    #00AFFF 98.58%
  );
 
  color: #ffffff;
  border-color: transparent;
}
 
/* 2️⃣ Solid gradient button */
.btn-gradient {
  background: -webkit-linear-gradient(
    92deg,
    #A35DFF 1.66%,
    #667BFF 61.25%,
    #00AFFF 98.58%
  );
  background: -moz-linear-gradient(
    92deg,
    #A35DFF 1.66%,
    #667BFF 61.25%,
    #00AFFF 98.58%
  );
  background: -o-linear-gradient(
    92deg,
    #A35DFF 1.66%,
    #667BFF 61.25%,
    #00AFFF 98.58%
  );
  background: linear-gradient(
    92deg,
    #A35DFF 1.66%,
    #667BFF 61.25%,
    #00AFFF 98.58%
  );
 
  border: 1px solid #E3E9FA;
  color: #ffffff;
}
 
.btn-gradient:hover {
  opacity: 0.9;
}
