@font-face {
  font-family: 'Noto Sans';
  font-style: normal;
  font-weight: 350;
  font-stretch: 100%;
  font-display: swap;
  src: url("../fonts/NotoSans-VariableFont_wdth,wght.ttf") format('truetype');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Material Symbols Outlined';
  font-style: normal;
  src: url("../fonts/MaterialSymbolsOutlined-VariableFont_FILL\,GRAD\,opsz\,wght.ttf") format('woff2');
}

.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  display: inline-block;
  line-height: 1;
  text-transform: none;
  letter-spacing: normal;
  word-wrap: normal;
  white-space: nowrap;
  direction: ltr;
}

:root {
  --color-black: #000000;
  --color-white: #FFFFFF;
  --color-blue: #0080FE;
  --color-green: #27C195;
  --color-orange: #FDCA5E;
  --color-grey: #7F7F7F;
  --color-light-grey: #F2F2F2;
  --color-red: #F13967;
  --color-pink: #BF40BF;
  --color-purple: #5D3FD3;
  --color-light-light-grey: #FBFBFB;
}

/* # General */

html {
    scroll-behavior: smooth;
    font-size: 19px;
    
}

body {
  font-family: 'Noto Sans', sans-serif;
  background-color: var(--color-light-light-grey);
}

p {
    font-size: 19px;
}

/* ## Colors */

.color-black { color: var(--color-black) !important; }
.color-white { color: var(--color-white) !important; }
.color-blue { color: var(--color-blue) !important; }
.color-green { color: var(--color-green) !important; }
.color-orange { color: var(--color-orange) !important; }
.color-grey { color: var(--color-grey) !important; }
.color-light-grey { color: var(--color-light-grey) !important; }
.color-red { color: var(--color-red) !important; }
.color-pink { color: var(--color-pink) !important; }
.color-purple { color: var(--color-purple) !important; }

.bg-color-black { background-color: var(--color-black) !important; --bs-bg-opacity: 1; }
.bg-color-white { background-color: var(--color-white) !important; --bs-bg-opacity: 1; }
.bg-color-blue { background-color: var(--color-blue) !important; --bs-bg-opacity: 1; }
.bg-color-green { background-color: var(--color-green) !important; --bs-bg-opacity: 1; }
.bg-color-orange { background-color: var(--color-orange) !important; --bs-bg-opacity: 1; }
.bg-color-grey { background-color: var(--color-grey) !important; --bs-bg-opacity: 1; }
.bg-color-red { background-color: var(--color-red) !important; --bs-bg-opacity: 1; }
.bg-color-pink { background-color: var(--color-pink) !important; --bs-bg-opacity: 1; }
.bg-color-purple { background-color: var(--color-purple) !important; --bs-bg-opacity: 1; }

.bd-color-black { border-color: var(--color-black) !important; }
.bd-color-blue { border-color: var(--color-blue) !important; }
.bd-color-orange { border-color: var(--color-orange) !important; }

/* ## Blocks title section and bloack separator */

.block-section-title { 
  background-color: var(--color-blue);
  color: white;
  text-align: center;
  margin-bottom: 3rem !important;
  padding-top: 1.0rem !important;
  padding-bottom: 1.0rem !important;
}

.block-section-title-main-title {
  font-size: 1.75rem;
}

.block-section-title-main-subtitle {
  font-size: 2rem;
  margin-top: 1.5rem !important;
}

.block-section-title-separator { 
  width: 142px; 
  height: 4px; 
  background-color: var(--color-white);
  border-radius: 999px;
}

.block-separator {
  background-image: url('../img/sagacity-health-visual-assets-official-banner-website-1600x500.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  max-height: 600px;
  display: flex; 
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  padding: 3rem !important;
}

.block-separator-text {
  margin: 0px;
}

/* ## Effects and animations */

.highlight-word-type-01 {
  color: var(--color-orange);
}

.pulse {
  animation: pulse 3s infinite;
}

@keyframes pulse {
  0% {
    font-variation-settings: 'wght' 100;
  }
  50% {
    font-variation-settings: 'wght' 700;
  }
  100% {
    font-variation-settings: 'wght' 100;
  }
}

/* ## Top return button */

#privacyModal .modal-content {
  background: #ffffff;
}

.modal-backdrop.show {
  opacity: 0.9 !important;
}


#btn-back-to-top {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 999;
  color: var(--color-grey);
  bottom: 10px; right: 10px;  
}

/* Section - Hero */ 

.hero {
  background-image: url('../img/sagacity-health-visual-assets-official-banner-website-1600x500.png');
  background-size: cover;        
  background-position: center;    
  background-repeat: no-repeat;   
  min-height: 100vh;              
  display: flex; 
  align-items: center;            
  justify-content: center;        
  color: white;
  text-align: center;
  position: relative;
  overflow-x: hidden;
}

.glow-on-hover {
  width: 140px;
  height: 50px;
  outline: none;
  color: #0080FE;
  cursor: pointer;
  position: relative;
  z-index: 0;
  border-radius: 20px;
  border: 0;
}

.glow-on-hover::before {
  content: '';
  position: absolute;
  inset: -4px;
  background: linear-gradient(45deg,#ff0000,#ff7300,#fffb00,#48ff00,#00ffd5,#002bff,#7a00ff,#ff00c8,#ff0000);
  background-size: 400%;
  filter: blur(6px);
  z-index: -1;
  border-radius: 20px;
  animation: glowing 20s linear infinite, pulseGlow 2.2s ease-in-out infinite;
  opacity: .55;
  transition: opacity .25s ease;
}

.glow-on-hover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: white;
  z-index: -1;
  border-radius: 20px;
  
}

.glow-on-hover:hover::before {
  opacity: 1;
}

@keyframes glowing {
    0% { background-position: 0 0; }
    50% { background-position: 400% 0; }
    100% { background-position: 0 0; }
}

/* Section - Navbar */

.navbar-toggler {
  background-color: var(--color-white);
  border: var(--color-blue);
}


.nav-item {
    padding: 12px;
    color: var(--color-blue);
}
.nav-item .nav-link {
    color: var(--color-blue);
    font-size: 20px;
}

.nav-item .nav-link:hover {
    color: var(--color-black);
    transition: 0.1s all ease;
    border-bottom: var(--color-black);
} 

.nav-link {
  position: relative;             
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  width: 0;
  height: 4px;                     
  background-color: currentColor;  
  transition: width 0.4s ease;     
}

.nav-link:hover::after, .nav-link:focus::after {
  width: 100%;                     
}

/* Section - Mission */

.card {
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease;
  cursor: pointer;
}

.card:hover {
  background-color: #f8f9fa;
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .12);
}

.card:hover .material-symbols-outlined {
  transform: scale(0.9);
  transition: transform .25s ease;
}

/* Section - Innovation */

.card-back-innovation {
  top: 8px;
  left: 8px;
  border-radius: 1rem;
  background: var(--color-blue);
  opacity: .8;
}

/* Section - Team */

/* :root{
  --team-border: var(--color-orange);
  --overlay-bg: var(--color-orange);
} */

.border-orange{ border: 2px solid var(--color-orange) !important; }

.team-card{ position: relative; }

.image-wrapper{
  position: relative;
  max-width: 360px;
  margin-inline: auto;
  outline: none;
  cursor: pointer;
}

/* Image: fluide + ratio 3/4 */
.team-photo{
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border: 4px solid var(--color-orange);
  transition: transform .35s ease, filter .35s ease;
  display: block;
}

.team-name{ margin-top: .75rem; }
.team-role{ color: #6c757d; }

.overlay{
  position: absolute;
  inset: 0;
  background: var(--color-orange);
  color: #111;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 1rem 1.25rem;
  opacity: 0;
  transform: translateY(8px) scale(.98);
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}

.image-wrapper:hover .overlay,
.image-wrapper:focus-within .overlay{
  opacity: 1;
  transform: translateY(0) scale(1.05);
  pointer-events: auto;
}

.image-wrapper:hover .team-photo,
.image-wrapper:focus-within .team-photo{
  transform: scale(.90);
  filter: saturate(105%);
}

.team-social a{
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s ease, background-color .2s ease, color .2s ease;
}
.team-social a:hover,
.team-social a:focus-visible{
  background: #fff;
  color: var(--color-orange) !important;
  transform: translateY(-2px);
}

.image-wrapper a:focus-visible{
  outline: 3px dashed #000;
  outline-offset: 4px;
}

@media (max-width: 576px){
  .image-wrapper{ max-width: 260px; }
  .overlay{ font-size: .95rem; padding: .9rem 1rem; }
}

@media (prefers-reduced-motion: reduce){
  *{ transition: none !important; animation: none !important; }
}

@media (max-width: 576px){
  .image-wrapper{
    max-width: min(92vw, 420px);
  }

  .overlay{
    inset: 6px;
    padding: 1rem 1rem .85rem;
    text-align: left;
    line-height: 1.45;
    font-size: .95rem;
    max-height: 100%;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }

  .overlay p{
    margin-bottom: .75rem;
  }

  .image-wrapper:hover .team-photo,
  .image-wrapper:focus-within .team-photo{
    transform: scale(.97);
  }
}

/* Section - Skills */

.list-skills {
  list-style: none; 
  padding: 0; 
  color: var(--color-black);
  font-size: 18px;
}

.list-skills li {
  font-size: 19px;
  margin-top: 22px;
}

.list-skills li p {
  font-size: 17px;
  color: #6c757d;
  margin-top: 4px;
}

.skills-contact-box {
  transition: background-color 0.3s ease, transform 0.2s ease;
  background-color: var(--color-red); color:white; cursor:pointer;
}

.skills-contact-box:hover {
  
  transform: translateY(-4px);
  opacity: .9;
}

/* Section - Divider - Partners */ 

.partners-slider-logo {
  overflow: hidden;
  position: relative;
}

.partners-slider-logo-logos {
  display: flex;
  width: max-content;
  animation: scroll 20s linear infinite;
}

.partners-slider-logo-logos-slide {
  display: flex;
}

.partners-slider-logo-logos img {
  height: 120px;
  object-fit: contain;
  transition: filter 0.3s;
}

.partners-slider-logo-logos-slide img {
  padding: 0 35px;
}

@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Section - About */

.list-values {
  list-style: none; 
  padding: 0; 
  color: var(--color-black);
  font-size: 18px;
}

.list-values li {
  font-size: 18px;
  margin-bottom: 12px;
}

/* Section - Contact */

.icon-badge-contact{
  width: clamp(40px, 6vw, 56px);
  height: clamp(40px, 6vw, 56px);
  font-size: clamp(18px, 3vw, 24px);
  background: #f5f7fb; 
  color: var(--color-blue);
  flex: 0 0 auto;
}

figure {
  margin: 0px;
}


.hover-text {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 1s ease;
  
}
.hover-card {
  cursor: pointer;
}


.hover-card:hover .hover-text,
.hover-card:focus-within .hover-text {
  opacity: 1;
  max-height: 500px;
}