

html, body {
  max-width: 100%;
  overflow-x: hidden;
}
img, video, svg, canvas {
  max-width: 100%;
  height: auto;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
  scroll-behavior: smooth;
}

:root {
  --primary-yellow: #FDB913;
  --primary-black: #333333;
  --primary-black-dark: #222222;
  --primary-white: #ffffff;

  --font-heading: 'Gotham', sans-serif;
  --font-body: 'Montserrat', sans-serif;
}

body {
  background-color: var(--primary-black);
    font-family: var(--font-body);
    color: var(--primary-white);
}

h1, h2, h3 {
    font-family: var(--font-heading);
  }

h1 {
  font-size: 5rem;
}

h2 {
  font-size: 4rem;
}

h3 {
  font-size: 2rem;
}
  
p {
    font-family: var(--font-body);
    font-size: 1.1rem;
    line-height: 2rem;
}

li {
    font-family: var(--font-heading);
    list-style-type: none;
    font-size: 1rem;
    font-weight: 300;
}

hr {
  color: var(--primary-white);
  margin-top: 2rem;
  margin-bottom: 2rem;
}

a {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

a:hover {
  color: var(--primary-yellow);
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    width: 100%;
    padding: 0 4rem;
    box-sizing: border-box;
}

.indent {
  padding-left: 10%;
}

.thin {
  font-weight: 300;
}

button {
  background: none;
  border: none;
  cursor: pointer;
}

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

/* ----- FLEX CLASSES ------ */

.row {
  display: flex;
  gap: 3rem;
}

.column {
  width:50%;
  display: flex;
  flex-direction: column;
}

.flex {
  display: flex;
  flex-direction: row;
}

.center {
  justify-content: center;
}

.end {
  flex-direction: row;
  justify-content: flex-end;
}

.start {
  flex-direction: row;
  justify-content: flex-start;
}

/* ------ RESPONSIVE -------- */

@media (max-width:1024px) {

  .container {
    max-width: 800px;
    padding: 0 1.2rem;
}

  .row {
    flex-direction: column;
  }

  .column {
    width: 100%;
  }

  h1 {
    font-size: 26px;
  }
  
  h2 {
    font-size: 2rem;
  }
  h3 {
    font-size: 1.5rem;
  }

  li {
    font-size: 1rem;
  }

  div#contact {
      padding: 0 1rem!important;
  }

}

button, a {
    background: none;
    border: none;
    cursor: pointer;
  }

/* ----- BUTTON FILL DOWN ------ */

.icon-btn-down, .icon-btn-right, .icon-btn-up {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 1.3rem;
    color: var(--primary-white);
    text-decoration: none;
    background-image: linear-gradient( var(--primary-yellow) 0 0);
    background-repeat: no-repeat;
    transition: background-size .3s, background-position .3s .3s;
    width: 9rem;
    background-size: 100% 0;
    cursor: pointer;
  }
  
  .icon-btn-down:hover, .icon-btn-right:hover {
    background-color: var(--primary-black-dark);
    text-align: var(--primary-black);
    transition: background-size .3s .3s, background-position .3s;
    background-size: 100% 100%;
  }

  .icon-btn-left:hover, .icon-btn-right:hover {
    color: var(--primary-white);
    transition: .4s ease;
  }
  
   .icon-btn-right {
  color: var(--primary-yellow); /* change this to whatever hover color you want */
}

  

  .icon-btn-up:hover {
    background-size: 100% 100%;
    transition: background-size .3s .3s, background-position .3s;
  }
  
  /* ----- BUTTON FILL RIGHT ------ */
  
  
  .icon-btn-down {
    background-size: 100% 0;
    flex-direction: column;
  }
  
  .icon-btn-right {
    background-size: 0 100%;
  }

  .icon-btn-up {
    background-position: 0 100%;
    flex-direction: column;
  }


  /* --------- GOTHAM --------- */

@font-face {
  font-family: 'Gotham';
  src: url('../fonts/Gotham/Gotham-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gotham';
  src: url('../fonts/Gotham/Gotham-LightItalic.otf') format('opentype');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Gotham';
  src: url('../fonts/Gotham/Gotham-Book.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gotham';
  src: url('../fonts/Gotham/Gotham-BookItalic.otf') format('opentype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Gotham';
  src: url('../fonts/Gotham/Gotham-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gotham';
  src: url('../fonts/Gotham/Gotham-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* --------- MONTSERRAT --------- */

@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/Montserrat/Montserrat-Thin.ttf') format('truetype');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/Montserrat/Montserrat-ThinItalic.ttf') format('truetype');
  font-weight: 100;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/Montserrat/Montserrat-ExtraLight.ttf') format('truetype');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/Montserrat/Montserrat-ExtraLightItalic.ttf') format('truetype');
  font-weight: 200;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/Montserrat/Montserrat-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/Montserrat/Montserrat-LightItalic.ttf') format('truetype');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/Montserrat/Montserrat-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/Montserrat/Montserrat-Italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/Montserrat/Montserrat-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/Montserrat/Montserrat-MediumItalic.ttf') format('truetype');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/Montserrat/Montserrat-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/Montserrat/Montserrat-SemiBoldItalic.ttf') format('truetype');
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/Montserrat/Montserrat-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/Montserrat/Montserrat-BoldItalic.ttf') format('truetype');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/Montserrat/Montserrat-ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/Montserrat/Montserrat-ExtraBoldItalic.ttf') format('truetype');
  font-weight: 800;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/Montserrat/Montserrat-Black.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/Montserrat/Montserrat-BlackItalic.ttf') format('truetype');
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}

section.column-container.container {
  height: 0;
}

.columns-container.container {
    padding: 40px;
    width: 50%;
    height: 0;
  }
  
  .column .cta {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    flex-direction: column;
    cursor: pointer;
  }
  
  .column.above {
    background-color: var(--primary-black);
    color: var(--primary-white);
    padding: 1rem;
    transform: translateY(-95%);
  }

  .column.below.dark {
    color: var(--primary-white);
    padding: 1rem;
  }

  .column.dark {
    background-color: var(--primary-black);
    padding: 1rem;
    color: var(--primary-white);
  }

  .column.dark.empresas {
    padding: 4rem;
  }

  .column.dark h2 {
    font-weight: 300;
    color: var(--primary-yellow);
  }

  .column.dark h3  {
    font-weight: 300;
    margin: 2rem 0;
  }

  .column.below.cta {
    display: flex;
    justify-content: flex-end;
    cursor: pointer;
}
  
  .arrow {
    font-size: 1.5rem;
    margin-top: 0.5rem;
  }
  
  .atuacoes-nav, .nos {
    padding: 4rem;
    max-width: calc(1600px - 6rem);
    margin: 0 auto;
  }

  .atuacoes-nav h2 {
    color: var(--primary-white);
  }

  .atuacoes-nav h3 {
    font-weight: 300;
    color: var(--primary-white);
    margin-top: 2rem;
  }

  section.background-image {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: right;
    height: max-content;
    padding-bottom: 4rem;
    width: 100%;
  }

  @media (max-width:1024px) {

  .column.dark.empresas {
    padding: 2rem;
  }

  .container.nos {
    padding: 1rem;
}

section#atuacao {
    padding: 1rem 2rem;
}

  }



  nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1;
  opacity: 0;
  background: transparent;
  transform: translateY(-40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

  nav.visible {
    opacity: 1!important;
    transform: translateY(0);
  }

  nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    position: relative;
  }
  
  nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    padding: 0;
    margin: 0;
    color: var(--primary-white);
    position: relative;
  }

  nav a, nav ul {
    color: var(--primary-white);
    text-decoration: none;
    text-transform: uppercase;
  }
  
  nav li {
    position: relative;
    height: 24px;
    cursor: pointer;
    font-weight: 300;
  }
  
  nav li ul {
    display: none;
    right: 0;
    grid-template-columns: 1fr 1fr;
    position: absolute;
    top: 100%;
    flex-direction: column;
    background: var(--primary-black-dark);
    padding: 4rem;
    z-index: 10;
    flex-wrap: wrap;
    width: max-content;
  }
  
  nav li:hover ul {
    display: grid;
  }

  nav li:hover{
    border-bottom: 3px solid var(--primary-yellow);
  }
  
  nav.sticky {
    background-color: var(--primary-black);
  }
  
  .logo {
    height: 8rem;
    margin-top: 40px;
    transition: all 0.3s ease;
  }
  
  .logo.small {
    height: 3rem;
    margin-top: 0;
  }


  /* ------ RESPONSIVE -------- */

@media (max-width:1024px) {
  .logo {
    height: 10rem;
    margin-top: 40px;
    transition: all 0.3s ease;
  }
  .logo {
    height: 40px;
    margin-top: 0;
  }

  nav {
    background-color: var(--primary-black);
  }
}
  
  
.intro {
padding: 3rem 0 1rem 0;
}

.services {
    padding-bottom: 4rem;
    padding-top: 4rem;
    display: grid;
}

.services h3 {
    margin-bottom: 1rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.box {
    max-width: 700px;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 3rem;
}

.service-links-wrapper {
    background-color: var(--primary-black);
    color: var(--primary-white);
    padding: 4rem 0;
}

.service-links-wrapper .container {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: 4rem;
}

#service-list {
    color: var(--primary-white);
}

#service-list li a {
    font-size: 1rem;
}

#service-list li.active a {
    color: var(--primary-yellow);
    font-weight: bold;
    pointer-events: none;
  }

#service-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  list-style: none;
  gap: 0.5rem 2rem;
  padding: 0;
  margin: 0 0 2rem 0;
}

#service-list li {
  cursor: pointer;
  text-transform: uppercase;
  font-size: 18px;
  padding: 1.5rem 0rem;
  transition: background-color 0.2s, color 0.2s;
  border-bottom: 1px solid var(--primary-white);
  color: var(--primary-white);
}

#service-list li.active {
color: var(--primary-yellow);
cursor: default;
}


@media (max-width:1024px) {
    
.service-links-wrapper .container {
    flex-direction: column;
}    
.grid {
    grid-template-columns: repeat(1, 1fr);
}
#service-list {
    grid-template-columns: repeat(1, 1fr);
}
}

/* ------- HIGHLIGHTED SERVICE BACKGROUND IMAGE -----*/

.highlighted-service {
    background-repeat: no-repeat;
    background-size: cover;
    padding: 6rem 0;
}

.bancario-image {
    background-image: url('../assets/banners-atuacao/CFBP_BANNER_BANCARIO_2.png');
}

    .familia-image {
    background-image: url('../assets/banners-atuacao/CFBP_BANNER_FAMILIA_2.png');
  }

    .sucessorio-image {
    background-image: url('../assets/banners-atuacao/CFBP_BANNER_SUCESSORIO_2.png');
  }

    .previdenciario-image {
    background-image: url('../assets/banners-atuacao/CFBP_BANNER_PREVIDENCIARIO_2.png');
  }

    .responsabilidade-civil-image {
    background-image: url('../assets/banners-atuacao/CFBP_BANNER_RESPONSABILIDADE_CIVIL_2.png');
  }

    .direito-medico-image {
    background-image: url('../assets/banners-atuacao/CFBP_BANNER_DIREITO_MEDICO_2.png');
  } 

    .imobiliario-image {
    background-image: url('../assets/banners-atuacao/CFBP_BANNER_IMOBILIARIO_2.png');
  }
    .consumidor-image {
    background-image: url('../assets/banners-atuacao/CFBP_BANNER_CONSUMIDOR_3.png');
  }        
    .civil-image {
    background-image: url('../assets/banners-atuacao/CFBP_BANNER_CIVIL_2.png');
  }     

  .bancario-image {
    background-image: url('../assets/banners-atuacao/CFBP_BANNER_BANCARIO_2.png');
  }

  .trabalhista-image {
    background-image: url('../assets/banners-atuacao/CFBP_BANNER_TRABALHISTA_2.png');
  }

  .page-para-empresa {
    background-image: url('../assets/banners-atuacao/CFBP_BANNER_TRABALHISTA_2.png');
  }
 


  
.service-wrapper {
    display: flex;
    flex-direction: row;
    margin-top: 32px;
    gap: 40px;
}

.column.result {
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
    align-items: center;
}

#services-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  list-style: none;
  gap: 0.5rem 2rem;
  padding: 0;
  margin: 0 0 2rem 0;
}

#services-list li {
  cursor: pointer;
  text-transform: uppercase;
  font-size: 18px;
  padding: 1.5rem 0rem;
  transition: background-color 0.2s, color 0.2s;
  border-bottom: 1px solid var(--primary-white);
  color: var(--primary-white);
}

#services-list li.active {
color: var(--primary-yellow);
}


#service-details h2 {
    font-weight: 300;
    text-transform: uppercase;
    font-size: 2rem;
    color: var(--primary-yellow);
}

span#base-text {
    color: var(--primary-white);
    font-size: 1.1rem;
    font-weight: 300;
}

#service-details {
  max-width: 600px;
}

#service-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  text-transform: capitalize;
}

#service-description {
  line-height: 1.6;
}

#extra-text {
  display: block;
}

#toggle-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  padding: 0;
  margin: 2rem 0;
  margin-top: 0.5rem;
}

.cta-mais {
    display:flex;
    align-items: center;
    justify-content: flex-end; 
    gap:1rem;
    color: var(--primary-yellow);
}

.nav-buttons {
  display: none;
}

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

.service-wrapper {
    flex-direction: column;
}
  #services-list {
    display: none;
  }

  #mobile-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border-radius: 6px;
    text-decoration: none;
    color: inherit;
  }

  .nav-buttons {
    display: flex;
    justify-content: flex-start;
    width: 100%;
    margin-top: 1rem;
  }

  .nav-buttons button {
    padding: 0.5rem 1rem;
    font-size: 1rem;
    cursor: pointer;
  }

  #service-details {
    width: 100%;
  }

  .cta-mais {
    justify-content: flex-start;
  }
}

.hero-banner {
    position: relative;
    width: 100vw;
    min-height: 1000px;
    background: var(--primary-black);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: -1;
  }

  .hero-banner {
    opacity: 0;
    animation: fadeIn 3s ease-in forwards;
  }


@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

.hero-title {
  font-weight: 600;
  color: var(--primary-white);
  line-height: 1.1;
}

.highlight {
  font-weight: bold;
  color: var(--primary-yellow);
}

.indented-line {
  display: block;
  padding-left: 10%;
}

.word-rotator {
  overflow: hidden;
  height: 1.2em;
  position: relative;
}

.word-list {
  display: flex;
  flex-direction: column;
  transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);
  padding-left: 20%;
}

.word {
  height: 1.2em;
  white-space: nowrap;
}

.hero-line {
  display: block;
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.hero-line.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width:768px) {
  .hero-title {
    font-size: 26px!important;
    text-align: center!important;
}
}

@media (max-width:1024px) {
    .hero-banner {
    min-height: 600px;
}
}

/* ---------- HERO BANNERS PER PAGE --------- */

  .page-home .hero-banner {
    background-image: url('../assets/hero-banner.png');
  }

    .page-familia .hero-banner {
    background-image: url('../assets/banners-atuacao/CFBP_BANNER_FAMILIA_1.png');
  }

    .page-sucessorio .hero-banner {
    background-image: url('../assets/banners-atuacao/CFBP_BANNER_SUCESSORIO_1.png');
  }

    .page-previdenciario .hero-banner {
    background-image: url('../assets/banners-atuacao/CFBP_BANNER_PREVIDENCIARIO_1.png');
  }

    .page-responsabilidade-civil .hero-banner {
    background-image: url('../assets/banners-atuacao/CFBP_BANNER_RESPONSABILIDADE_CIVIL_1.png');
  }

    .page-direito-medico .hero-banner {
    background-image: url('../assets/banners-atuacao/CFBP_BANNER_DIREITO_MEDICO_1.png');
  } 

    .page-imobiliario .hero-banner {
    background-image: url('../assets/banners-atuacao/CFBP_BANNER_IMOBILIARIO_1.png');
  }
    .page-consumidor .hero-banner {
    background-image: url('../assets/banners-atuacao/CFBP_BANNER_CONSUMIDOR_1.png');
  }        
    .page-civil .hero-banner {
    background-image: url('../assets/banners-atuacao/CFBP_BANNER_CIVIL_1.png');
  }     

  .page-bancario .hero-banner {
    background-image: url('../assets/banners-atuacao/CFBP_BANNER_BANCARIO_1.png');
  }

    .page-trabalhista .hero-banner {
    background-image: url('../assets/banners-atuacao/CFBP_BANNER_TRABALHISTA_1.png');
  }

  .page-para-empresa .hero-banner {
    background-image: url('assets/banners-atuacao/CFBP_BANNER_ESTRAT_EMPRESA_1.png');
  }

    .page-privacidade .hero-banner {
    background-image: url('assets/banners-atuacao/CFBP_BANNER_PRIV_TERMS.png');
  }


  .io-left, .io-right, .io-up, .io-down {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  
  .io-left {
    transform: translateX(-30px);
  }
  .io-right {
    transform: translateX(30px);
  }
  .io-up {
    transform: translateY(30px);
  }
  .io-down {
    transform: translateY(-30px);
  }
  
  .io-left.visible,
  .io-right.visible,
  .io-up.visible,
  .io-down.visible {
    opacity: 1;
    transform: translate(0, 0);
  }

  .io-left {
    animation: slideInLeft 0.4s ease-out;
  }
  
  @keyframes slideInLeft {
    from {
      opacity: 0;
      transform: translateX(-30px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }
  

  footer {
  background-color: var(--primary-black);
  color: var(--primary-white);
  position: relative;
}

form {
    font-family: "Gotham";
  }

  input[type="text"],
  input[type="email"],
  textarea {
    width: 100%;
    background: transparent;
    border: 1px solid var(--primary-white);
    border-radius: 0;
    padding: 10px;
    color: var(--primary-white);
    margin-bottom: 15px;
    font-size: 1.2rem;
    box-sizing: border-box;
    font-family: "Gotham";
    min-height: 56px;
  }
  
  input[type="text"]:focus,
  input[type="email"]:focus,
  textarea:focus {
    outline: none;
    border-color: var(--primary-yellow);
  }

  textarea {
    min-height: 9rem;
  }

  .contatos {
    display: flex;
    flex-direction: column;
    font-size: 1.2rem;
    max-width: 80%;
  }

  button.icon-btn-right {
    width: 11rem;
  }

  /* --- SOCIAL ICONS -----*/

  .social-icons {
    margin-top: 3rem;
    display: flex;
    gap: 10px;
    cursor: pointer;
  }
  
  .social-icons .icon {
    position: relative;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--primary-yellow);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    text-decoration: none;
    color: #111;
    font-size: 18px;
    transition: color 0.3s ease;
  }

    .fab.fa-whatsapp {
    font-size: 18px;
        width: 30px;
    height: 30px;
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 10px;
    margin-top: -8px;
    float: right;
    border-radius: 30px;
    background-color: var(--primary-yellow);
    color: var(--primary-black);
  }

  a.icon {
    width: max-content;
}
  
  .social-icons .icon::before {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-white);
    transition: top 0.3s ease;
    z-index: 0;
  }
  
  .social-icons .icon i {
    z-index: 1;
    transition: color 0.3s ease;
  }
  
  .social-icons .icon:hover::before {
    top: 0;
  }
  
  .social-icons .icon:hover i {
    color: var(--primary-yellow);
  }

  .footer-bottom, .legal {
    padding: 4rem 0 0 0;
    display: flex;
    justify-content: space-between;
  }

  .legal {
    padding: 0;
  }

  @media (max-width:1024px) {
    button.icon-btn-right {
      width: 100%;
    }
    .legal {
      flex-direction: column;
      gap: 2rem;
      align-items: center;
      padding-bottom: 2rem;
  }

  .footer-bottom {
    flex-direction: column-reverse;
    align-items: center;
}
  }

/* ----- HAMBURGER MENU ------*/

.hamburger {
  width: 30px;
  height: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 1001;
  position: absolute;
  top: 1.5rem;
  right: 1rem;
}

.hamburger span {
  display: block;
  height: 4px;
  background: var(--primary-white);
  transition: all 0.3s ease;
}

.hamburger.active {
  z-index: 9999999;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 8px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -8px);
}

@media (min-width:1024px) {
  div#mobileMenu, .hamburger span {
    display: none;
}
}

@media (max-width: 1024px) {
  #mainNav ul {
    display: none;
  }

  .hamburger {
    display: flex;
    font-size: 2rem;
    cursor: pointer;
    position: fixed;
    right: 1.6rem;
    top: 1.6rem;
    z-index: 999999989;
    color: var(--primary-white);
  }

  .mobile-menu {
    position: absolute;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--primary-white);
    z-index: 1000;
    display: flex;
    flex-direction: column;
  }

  .mobile-menu.hidden {
    display: none;
  }

  .mobile-screen {
    position: fixed;
    width: 100%;
    height: 100%;
    padding: 2rem;
    background: var(--primary-black);
    color: var(--primary-white);
    transition: transform 0.3s ease;
    overflow-y: auto;
  }

  .mobile-main {
    transform: translateX(0%);
  }

  .mobile-main.slide-out {
    transform: translateX(-100%);
  }

  .mobile-sub {
    transform: translateX(100%);
  }

  .mobile-sub.active {
    transform: translateX(0%);
    background-color: var(--primary-yellow);
  }

  .mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .mobile-menu li {
    margin: 1.2rem 0;
    text-transform: uppercase;
  }

  .mobile-menu a,
  .mobile-menu .nav-link,
  .mobile-menu .back-button {
    font-size: 1rem;
    text-decoration: none;
    color: var(--primary-white);
    cursor: pointer;
  }

  .back-button {
    font-weight: bold;
    margin-bottom: 3rem;
    display: inline-block;
  }

  #closeSubMenu {
    display: flex;
    gap: 1rem;
    align-items: center;
  }
}


/*------ PAGE TRANSITIONS BAR/STAIRS ------*/

.bridge-transition {
  position: fixed;
  bottom: 0;
  left: 0;
  display: flex;
  width: 100vw;
  height: 100vh;
  z-index: 10;
  pointer-events: none;
}

.bridge-vertical .bar {
  flex: 1;
  align-self: flex-end;
  width: 20%;
  height: 100%;
  transition: height .6s ease-in-out;
}

.home-page  .bar-1,
.home-page  .bar-2,
.home-page  .bar-3,
.home-page  .bar-4,
.home-page  .bar-5 {
  background: var(--primary-black-dark);
}

.bar-1, .bar-2, .bar-3, .bar-4, .bar-5 {
  background: var(--primary-white);
}

/*------- INTERSECTION OBSERVERS -------*/

.io-float-vertical {
  animation: floatUpDown 2s ease-in-out infinite;
}

@keyframes floatUpDown {
  0% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

.io-float-horizontal {
  animation: floatLeftRight 2s ease-in-out infinite;
}

@keyframes floatLeftRight {
  0% { transform: translateX(0); }
  50% { transform: translateX(-10px); }
  100% { transform: translateX(0); }
}



