:root {
  --primary-color: #0066CC;
  --primary-dark: #0055b3;
  --primary-light: #e6f0ff;
  --secondary-color: #333333;
  --light-gray: #F5F5F7;
  --gray: #86868B;
  --dark-gray: #333333;
  --white: #FFFFFF;
  --border-radius: 12px;
  --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  --box-shadow-light: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* ========== BASE STYLES ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--carlito) ;
  color: var(--dark-gray);
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

.ha-container {
  width: 100%;
  padding: 0 16px;

  
 }

/* ========== HEADER & NAVIGATION ========== */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.ha-headerContainer {
  padding: 16px 0;
  max-width: 1200px;
  margin: 0 auto;
}

/* ---------- LOGO GRID ----------
   3-column grid on desktop:
   [ logo-image ] [ logo-qual ] [ active-roles ]
   - logo-image   : top-aligned
   - logo-qual    : vertically centered against the logo-image (baseline-ish)
   - active-roles : left-aligned, with extra spacing before it
*/
.ha-logo {
  display: grid;
  grid-template-columns: auto auto 1fr;
  grid-template-rows: auto;
  column-gap: 16px;
  cursor: pointer;
  transition: var(--transition);
}

.ha-logo-image {
  grid-column: 1;
  grid-row: 1;
  align-self: start;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: var(--font-28);
  font-weight: 300;
  letter-spacing: 0.5px;
  box-shadow: var(--box-shadow-light);
  flex-shrink: 0;
}

.ha-logo h1 {
  font-size: calc(0.3rem +  var(--header-font));
  font-weight: 500;
  margin: 0;
  line-height: 1.2;
}

/* .ha-logo h1 .ha-firstname {
  font-weight: 500;
} */

.ha-headerTitle {
  text-align: left;
  line-height: 0.75;
  padding-top: 0;
}

ul.ha-headerTitle {
  margin: 0;
}

.ha-active-roles {
  grid-column: 3;
  grid-row: 1;
  align-self: start;
  margin-left: 32px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-self: flex-end;
  padding-top: 4px;
}






/* Navigation Menu */
.ha-navMenu {
  display: flex;
  list-style: none;
  gap: 40px;
  margin: 24px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding-bottom: 12px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.ha-navMenu li a {
  color: var(--dark-gray);
  position: relative;
  padding-bottom: 8px;
  font-weight: 500;
  font-size: var(--sub-header-font);
  transition: var(--transition);
}


.ha-navMenu li a:hover,

.ha-navMenu li.active a  {
  color: var(--primary-color);
}

.ha-navMenu li a::after 
/* .ha-navMenu li.active::after */{
  content: '';
  position: absolute;
  bottom: -13px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary-color);
  transform: scaleX(0);
  transition: var(--transition);
}

.ha-navMenu li.active a::after,
.ha-navMenu li a:hover::after {
  transform: scaleX(1);
}

/* Mobile Navigation */
.ha-mobileNav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--white);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: var(--transition);
  padding: 60px 24px;
  text-align: center;
}

.ha-mobileNav.ha-active {
  opacity: 1;
  visibility: visible;
}

.ha-mobileNavMenu {
  list-style: none;
  text-align: center;
}

.ha-mobileNavMenu li {
  margin-bottom: 30px;
}

.ha-mobileNavMenu a {
  font-size: var(--section-header-font);
  font-weight: 500;
  color: var(--dark-gray);
}

.ha-mobileNavMenu a:hover {
  color: var(--primary-color);
}

.ha-mobileNavClose {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  font-size: var(--font-32);
  color: var(--dark-gray);
  cursor: pointer;
  transition: var(--transition);
}

.ha-mobileNavClose:hover {
  color: var(--primary-color);
}

li.ha-full-info-view {
    font-size: var(--header-font);
    margin-bottom: 0;
    line-height: 1.1;
    list-style: none;
    /* padding-left: 5px; */
}

.mobile-margin{
  padding-top: 4px;
}



.ha-quali-list {
  font-size: var(--header-font);
  color: var(--secondary-color);
}

.ha-logo-qual {
  padding-top: 4px;
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-direction: column;
}

span.ha-full-info-view.ha-quali-list {
  font-size: calc( var(--header-font) - 0.5px);
    font-weight: 500;
    text-wrap: nowrap;

}


h3 {
  font-size: var(--section-header-font);
  font-weight: 700;
  color: var(--dark-gray);
  margin: 0;
  line-height: 1.3;
}
/* ========== RESPONSIVE DESIGN ==========
   4-cell grid on mobile:
   [ logo-image ] [ logo-qual    ]
   [   (empty)  ] [ active-roles ]
*/


  @media (max-width: 1020px){
     .ha-container
 {
      padding: 0 18.5px;

    }
  }


@media (max-width: 768px) {
  body {
    font-size: var(--p-font);
  }

  .ha-container {
    padding: 0 16px;
  }

  .ha-headerContainer{

    padding: 16px 0;
  }
  header {
    position: sticky;
    top: 0;
  }

  .ha-headerContainer {
    flex-direction: column;
  } 

  .ha-logo {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 7px;
    row-gap: 2px;
  }

  .ha-logo-image {
    grid-column: 1;
    grid-row: 1;
  }

  .ha-logo-qual {
    grid-column: 2;
    grid-row: 1;
          align-self: center;
          padding-top: 0;
  }

  .ha-active-roles {
    grid-column: 2;
    grid-row: 2;
    margin-left: 0;
    margin-top: -5px;
    padding-top: 0;


    justify-self: flex-start;
  }

  .ha-quali-list{
    margin-bottom: 0;
/*     list-style: none;
 */  }

  .ha-idcName{
    margin-bottom: 0;
    
  }
}

@media (max-width: 480px) {
  .ha-container {
    padding: 0 12px;
  }


.ha-main-info.shine.less-margin {
  margin-top: -5px;
}

}



.ha-full-info-view.ha-hidden{
  display: none;
}

.ha-full-info-view-main.ha-main-info.ha-hidden{
  display: none;
}

.ha-active-roles.ha-hidden{
  display: none;
}
.ha-headerTitle.ha-info-view {
      max-height: 180px;
      text-align: left;
}

.ha-full-info-view-main {
  font-weight: 500;
  margin-top: 10px;
  margin-bottom: 5px;
}

.ha-main-info {
  font-size:  calc(1px +  var(--header-font));
  font-weight: 500;
  margin: 0 0 0 0;
  color: var(--primary-dark);
  position: relative;
  display: inline-block;
}



.shine {
  background: linear-gradient(
    90deg,
    #000 0%,
    #000 35%,
    #fff 50%,
    #000 65%,
    #000 100%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine 2s linear forwards , resetBg 0.01s linear forwards 2s ;
}

@keyframes shine {
  from {
    background-position: 200% 0;
  }
  to {
    background-position: -200% 0;
  }
}

@keyframes resetBg {
  to {
    background: none;
    -webkit-text-fill-color: initial;
    color: #000;
  }
}