/* 
 * Footer Styles
 * 
 * This file contains all styles related to the footer component.
 * The footer.css file is now properly enqueued in functions.php
 * and ready to receive footer-specific styles.
 * 
 * Moved from style30.css (lines 5077-5351)
 */

/* Go to Top Section */
.go-to-top-section {
    width: 100%;
    max-width: var(--container-max-width);
    margin-left: auto;
    margin-right: auto;
}

.element-go-to-top-section {
    width: 48px;
    height: 48px;
    border: 1px solid #151515;
    border-radius: 50%;
    background-color: transparent;
    background-image: url("data:image/svg+xml,%3Csvg width='8' height='30' viewBox='0 0 8 30' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_2797_23837)'%3E%3Cpath d='M4 28L4 3' stroke='black'/%3E%3Cpath d='M1 6L4 3L7 6' stroke='black'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_2797_23837'%3E%3Crect width='30' height='8' fill='white' transform='translate(0 30) rotate(-90)'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 8px 30px;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
    cursor: pointer;
    margin-left: auto;
    margin-right: var(--container-padding);
    margin-bottom: 12px;
}

.element-go-to-top-section:hover {
    background-color: #151515;
    background-image: url("data:image/svg+xml,%3Csvg width='8' height='30' viewBox='0 0 8 30' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_2797_23837)'%3E%3Cpath d='M4 28L4 3' stroke='white'/%3E%3Cpath d='M1 6L4 3L7 6' stroke='white'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_2797_23837'%3E%3Crect width='30' height='8' fill='white' transform='translate(0 30) rotate(-90)'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");
}


.company-logos-footer {
    padding-top: 40px;
    align-items: center;
    color: #ffffff;
}

.company-logos-footer a {
    display: inline-block;
    width: fit-content;
    height: fit-content;
    color: #ffffff;
}

.lista-footer-menus {
    row-gap: 40px;
}

@media (min-width: 992px) {
    .lista-footer-menus {
        row-gap: 0;
    }
}

.footer-top .row-first-footer-top {
    margin-bottom: 80px;
}

.footer-newsletter-container {
    width: 100%;
}

.newsletter-footer {
    display: flex;
    flex-direction: row;
    align-items: center;
    column-gap: 65px;
}

.newsletter-footer label {
    display: flex;
    flex-direction: row;
    column-gap: 65px;
}

.newsletter-footer .newsletter-footer-title {
    color: var(--color-white);
    font-family: var(--font-primary);
    font-weight: var(--font-weight-bold);
    font-style: Bold;
    font-size: var(--font-size-4xl);
    line-height: var(--line-height-normal);
    letter-spacing: 0%;
    vertical-align: middle;
    text-align: left;
    margin-bottom: 0.75rem;
}

.newsletter-footer .newsletter-footer-subtitle {
    color: var(--color-white);
    font-family: var(--font-primary);
    font-weight: var(--font-weight-regular);
    font-style: Regular;
    font-size: var(--font-size-lg);
    line-height: var(--line-height-normal);
    letter-spacing: 0%;
    vertical-align: middle;
    text-align: left;
}

.newsletter-footer .footer-btn {
    width: 100%;
    justify-content: center;
}

.footer-section-secondary {
    width: 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}

.footer-top .row-first-footer-top {
    padding-bottom: 50px;
    border-bottom: 1px solid var(--color-gray-800);
    margin-bottom: 50px;
}

.footer-logo {
    width: 100%;
    height: 8.9375rem;
    object-fit: contain;
    object-position: center;
    margin-bottom: 1.5rem;
}

.footer-social-media-container {
    margin-bottom: 1.5rem;
    justify-content: center;
}

.footer-social-media-list-items {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.footer-social-media-list-item-icon {
    width: 2.5rem;
    height: 2.5rem;
    object-fit: contain;
    object-position: center;
}

.footer-social-media-list-item-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}


.footer-social-media-list-item a {
    display: inline-block;
}

.footer-menus-container-wrapper {
    display: flex;
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    gap: 2rem;
}

.footer-menus-container-left {
    display: flex;
    flex-direction: column;
    min-width: 9rem;
    gap: 1.5rem;
}

.footer-menus-container-right {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-company-logos-container-wrapper {
    border-bottom: 1px solid var(--color-gray-800);
    border-top: 1px solid var(--color-gray-800);
}

.footer-menus-container-wrapper .widget-title {
    color: var(--color-white);
    font-family: var(--font-primary);
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-base);
    line-height: 24px;
    letter-spacing: 0%;
    vertical-align: middle;
    margin-bottom: 25px;
}

.footer-menus-container-wrapper ul li a {
    color: var(--color-white);
    font-family: var(--font-primary);
    font-weight: var(--font-weight-regular);
    font-style: Regular;
    font-size: var(--font-size-base);
    line-height: 24px;
    letter-spacing: 0%;
    vertical-align: middle;
}

/* Apply underline animation using reusable classes */
.footer-menus-container-wrapper ul li a.underline-basic,
.footer-menus-container-wrapper ul li a.underline-center,
.footer-menus-container-wrapper ul li a.underline-slide,
.footer-menus-container-wrapper ul li a.underline-thick {
    /* Override any conflicting styles */
    text-decoration: none !important;
}

/* Alternative: Direct CSS for footer menus (if you prefer not to use classes) */
.footer-menus-container-wrapper ul li a {
    position: relative;
    text-decoration: none;
    transition: var(--underline-transition);
}

.footer-menus-container-wrapper ul li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: var(--underline-height);
    background-color: var(--underline-color);
    transition: var(--underline-transition);
}

.footer-menus-container-wrapper ul li a:hover::after {
    width: 100%;
}

.footer-company-logos-container {
    width: 100%;
    margin-top: 3rem;
    margin-bottom: 3rem;
}


.footer-company-logos {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
    width: 100%;
    align-items: center;
    justify-items: center;
    flex-direction: unset;
    flex-wrap: unset;
    margin-bottom: 3rem;
}

.footer-company-logos .first-row {
    grid-column: 1 / 4;
    grid-row: 1;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    width: 100%;
    flex-direction: unset;
    flex-wrap: unset;
}

.footer-company-logos .second-row {
    grid-column: 1 / 4;
    grid-row: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    width: 100%;
    flex-direction: unset;
    flex-wrap: unset;
}

.footer-company-logos a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 43px;
    padding-bottom: 0;
    text-align: center;
    width: 100%;
}

.footer-company-logos img {
    height: 43px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
    filter: none;
    display: block;
}

.company-logos-footer-bottom {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.company-logos-footer-bottom-image {
    width: 43px;
    height: 43px;
}

.company-logos-footer-bottom-text {
    color: var(--color-white);
    width: 100%;
    font-family: var(--font-primary);
    font-weight: var(--font-weight-regular);
    font-style: Oblique;
    font-size: var(--font-size-xs);
    line-height: 16px;
    letter-spacing: 0%;
    vertical-align: middle;

}

.footer-bottom-copyrights {
    padding-bottom: 2rem !important;
    background-color: var(--color-dark);
}

.footer-bottom .menu {
    padding-bottom: 3rem !important;
}

.footer-bottom .menu {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    row-gap: 12px;
}

.footer-bottom .menu li {
    display: inline-block;
    margin-right: 35px;
}

.footer-bottom .menu li a {
    color: var(--color-white);
    font-family: var(--font-primary);
    font-weight: var(--font-weight-regular);
    font-style: Regular;
    font-size: var(--font-size-xs);
    line-height: 16px;
    letter-spacing: 0%;
    vertical-align: middle;
    /* Apply underline animation */
    position: relative;
    text-decoration: none;
    transition: var(--underline-transition);
}

.footer-bottom .menu li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: var(--underline-height);
    background-color: var(--underline-color);
    transition: var(--underline-transition);
}

.footer-bottom .menu li a:hover::after {
    width: 100%;
}

.footer-bottom .menu li:nth-child(4),
.footer-bottom .menu li:nth-child(8) {
    margin-bottom: 20px;
}

.footer-copyrights-sidebar {
    padding-top: 3rem;
    border-top: 1px solid var(--color-gray-800);
}

.copyrights {
    color: var(--color-white);
    font-family: var(--font-primary);
    font-weight: var(--font-weight-bold);
    font-style: Bold;
    font-size: var(--font-size-xs);
    line-height: 16px;
    letter-spacing: 0%;
    text-align: center;
    vertical-align: middle;
}

.how_can_we_help {
    border: 1px solid var(--color-gray-800);
    border-radius: 100%;
    min-width: 52px;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-dark);
    cursor: pointer;
}

@media (max-width: 1199px) {
    #how_can_we_help_footer{
      position: fixed;
      bottom: 0;
      z-index: 98;
      right: 1.5rem;
    }
  
  
    #how_can_we_help_footer ul.how_can_we_help > li > ul {
      position: inherit;
    }
  
    #how_can_we_help_footer ul.how_can_we_help > li > a {
        padding: 15px 15px;
    }
}

.footer-top {
    padding-top: 10px;
    padding-bottom: 0px;
    border-top: 1px solid var(--color-gray-800);
    background-color: #000000;
}


.footer-top ul li {
    padding-bottom: 25px;
    line-height: 16px;
}



.footer-top #nav_menu-6 li a {
    font-weight: 700;
}

.footer-top .menu-item-description {
    display: none;
}

.footer-top .last-col li a {
    font-weight: bold;
}

/* Footer Bottom */
.footer-bottom {
    padding-top: 1px;
    padding-bottom: 1px;
    background-color: #000000;
}

.footer-top .footer-bottom {
    padding-top: 0;
}


/* Social Media Footer */
.redes-sociais-footer {
    display: flex;
    flex-direction: column;
    row-gap: 26px;
    align-items: start;
    padding-top: 0px;
}

.redes-sociais-footer .icon {
    width: 22px;
    height: 22px;
    position: relative;
}

.redes-sociais-footer .icon img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    left: 0;
    top: 0;
}

.redes-sociais-footer ul {
    margin-bottom: 0px;
    display: flex;
    justify-content: center;
    flex-direction: row;
    z-index: 1;
}

.redes-sociais-footer span {
    font-size: 16px;
    font-weight: bold;
    font-family: HurmeGeometricSans4;
    color: #ffffff;
}

.redes-sociais-footer ul li {
    display: inline-block;
    margin-right: 40px;
    padding-bottom: 0px;
}

/* Search Results Footer */
.search-results .inner_wapper .conhecimento_row {
    padding-bottom: 85px;
}

.search-results .inner_wapper .oe21_sec:last-child .conhecimento_row {
    padding-bottom: 165px;
}

.search-results .seccao-top-tags-noticias {
    padding-top: 0;
    padding-bottom: 85px;
}

/* Cookie Law Footer */
.cli-tab-footer .wt-cli-privacy-accept-btn {
    background-color: #050600;
    border: 3px solid #050600;
}

.cli-tab-footer .wt-cli-privacy-accept-btn:hover {
    color: #050600;
    background: transparent;
    border: 3px solid #050600;
}

/* Form Styles in Footer */
.siganos_sec .gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]),
.siganos_form form textarea,
.siganos_form form li.input-text select {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
}

.btn-pdf .ginput_container_fileupload {
    background-color: #f5f4f4;
    position: relative;
    height: 58px;
    background-image: url(../images/icon-pdf.svg);
    background-repeat: no-repeat;
    background-position: center right 6px;
    background-size: auto 80%;
    overflow: hidden;
}

.btn-pdf .ginput_container_fileupload input[type='file'] {
    position: absolute;
    z-index: 222;
    width: 100%;
    height: 100%;
    opacity: 0;
    background: transparent;
    cursor: pointer;
    -webkit-appearance: none;
    /*margin-left: -145px;*/
    margin-top: 14px;
    z-index: 1;
}

.btn-pdf .ginput_container_fileupload .filename {
    width: 100%;
    padding: 19px 25px;
    cursor: pointer;
}

.btn-pdf .ginput_container_fileupload:after {
    content: '';
    position: absolute;
    background-color: #f5f4f4;
    left: 0;
    width: 20px;
    height: 100%;
    top: 0;
    z-index: 2;
}

.btn-pdf-place {
    position: relative;
}

.btn-pdf-place .gfield_label {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 3;
    background-color: #f5f4f4;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    padding-left: 25px;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    color: #050600;
    cursor: pointer;
}

.btn-pdf-place .ginput_container_fileupload .filename:not(:empty) {
    background-color: #f5f4f4;
}

/* Events Footer */
.term-events .row-carregar-mais {
    padding-bottom: 85px;
}

/* Iframe Footer */
.iframebox iframe {
    border: 0;
}

/* Form Footer */
.gform_wrapper#gform_wrapper_3 input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]),
.gform_wrapper textarea {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
}

/* Blog Footer */
.post-single-content-blogs {
    margin-bottom: 100px;
}

.post-single-content-blogs img {
    height: auto !important;
    max-width: 100% !important;
    margin-bottom: 14px;
}

.blog-post-single-blogs img {
    height: auto !important;
    max-width: 100% !important;
    margin-bottom: 14px;
}

/* ------------------------------------------------ */
/* breackpoint for tablet */
/* ------------------------------------------------ */
@media (min-width: 668px) {
    .footer-menus-container-wrapper {
        width: fit-content;
        gap: 3rem;
        margin-left: auto;
        margin-right: auto;
    }

    .footer-menus-container-left {
        width: 100%;
        flex-direction: row;
        justify-content: end;
        gap: 3rem;
    }

    .footer-menus-container-right {
        width: 100%;
        flex-direction: row;
        gap: 3rem;
    }

    .footer-menus-container-right-item {
        min-width: 7rem;
    }

    .footer-bottom .menu {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        row-gap: 6px;
    }
}

/* ------------------------------------------------ */
/* breackpoint for desktop */
/* ------------------------------------------------ */
@media (min-width: 1200px) {
    .footer-top {
        padding-top: 80px;
    }

    .newsletter-footer {
        justify-content: space-between;
    }

    .newsletter-footer .label {
        max-width: 800px;
    }

    .newsletter-footer .newsletter-footer-title {
        font-size: var(--font-size-6xl);
    }

    .newsletter-footer .newsletter-footer-subtitle {
        font-size: var(--font-size-xl);
    }

    .footer-top .row-first-footer-top {
        margin-bottom: 80px;
    }

    .newsletter-footer .footer-btn {
        width: fit-content;
    }
    
    .footer-top .row-first-footer-top {
        padding-bottom: 80px;
    }

    .footer-social-media-container {
        justify-content: flex-start;
    }

    .footer-section-secondary {
        flex-direction: row;
        justify-content: space-between;
        margin-bottom: 1rem;
    }

    .footer-menus-container-wrapper {
        margin-left: 0;
        margin-right: 0;
    }

    .footer-company-logos {
        display: flex;
        flex-direction: row;
        gap: 3rem;
    }

    .company-logos-footer-bottom-text {
        font-size: var(--font-size-sm);
    }

    .footer-bottom .menu li:nth-child(4), 
    .footer-bottom .menu li:nth-child(8) {
        margin-bottom: 0;
    }

    
  .footer-bottom-copyrights {
    padding-bottom: 2rem;
  }

}