/*******************************************************
 * FOOTER
 *******************************************************/
 footer {
    background: var(--el-color-black);
    border-top: 1px solid rgba(16, 81, 185, 0.4);
    padding: 3rem 2rem 1rem;
    margin-top: 2rem;
    color: #9ca3af;
    font-size: 0.9rem;
    line-height: 1.6;
  }
  
  /* Top section: logo + columns */
  .footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto 2rem;
    gap: 2rem;
  }
  
  /* Logo container */
  .footer-logo img {
    max-height: 60px;
    width: auto;
  }
  
  /* Columns container */
  .footer-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    flex-grow: 1;
    justify-content: flex-end;
  }
  
  /* Individual column */
  .footer-col {
    min-width: 180px;
  }
  
  .footer-col h4 {
    color: var(--el-color-white);
    font-size: 1rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
  }
  
  .footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .footer-col ul li {
    margin-bottom: 0.5rem;
  }
  
  .footer-col ul li a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  .footer-col ul li a:hover {
    color: var(--brand-color);
    text-decoration: underline;
  }
  
  /* Bottom section */
  .footer-bottom {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    color: #9ca3af;
  }
  
  /*******************************************************
   * RESPONSIVE
   *******************************************************/
  @media (max-width: 768px) {
    .footer-top {
      flex-direction: column;
      align-items: center;
      text-align: center;
    }
  
    .footer-columns {
      flex-direction: column;
      align-items: center;
      justify-content: center;
    }
  
    .footer-col {
      min-width: auto;
      width: 100%;
      max-width: 300px;
    }
  
    .footer-logo {
      margin-bottom: 1.5rem;
    }
  }
  

    /* Disclaimer column in footer */
  .disclaimer-col {
    width: 100%;
    margin-top: 20px;
  }
  
  .disclaimer-text {
    font-size: 0.8rem;
    line-height: 1.4;
    color: #999;
    text-align: justify;
  }
  
  /* Adjust footer layout for advisory page */
  body[data-page="advisory"] .footer-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas: 
      "nav legal"
      "disclaimer disclaimer";
    gap: 30px;
  }
  
  body[data-page="advisory"] .disclaimer-col {
    grid-area: disclaimer;
  }
  
  @media (min-width: 992px) {
    body[data-page="advisory"] .footer-columns {
      grid-template-columns: 1fr 1fr 1fr;
      grid-template-areas: "nav legal disclaimer";
    }
    
    .disclaimer-col {
      margin-top: 0;
    }
  }