.sticky-navmenu {
    width: 100%;
    height: auto;
}

#sticky-menu {
    font-size: 18px;
    position: relative;
    font-weight: 500;
    cursor: pointer;
    padding-right: 10px;
    line-height: 2.2em
}

#sticky-menu a {
    text-decoration: none
}

#logo {
    font-size: 18px;
    position: relative;
    top: 5px;
    font-weight: 500;
    cursor: pointer;
    padding-left: 10px;
    line-height: 2.2em;
    min-height: 50px;
    height: 100%;
}

nav.sticky-nav {
    display: none
}

nav.sticky-nav ul {
    list-style-type: none;
    padding-left: 0;
    font-size: 0;
}

nav.sticky-nav li {
    display: block;
    font-size: 18px;
    color: black;
    font-weight: bold;
}

ul.sticky-navbar-ul>li>a {
    color: black;
    font-weight: bold;
}

ul.sticky-navbar-ul>li>a:hover {
    text-decoration: none;
}

#sub-menu {
    padding: 10px;
    padding-bottom: 20px !important;
    padding-top: 20px !important;
}

ul.sticky-navbar-ul>li:hover {
    background-color: #d0c9e8b3;
    border-top-right-radius: 10px;
    border-bottom-left-radius: 10px;
}

nav.sticky-nav a {
    display: block;
    padding: 10px;
    text-decoration: none;
    color: inherit;
    padding-bottom: 20px !important;
    padding-top: 20px !important;
}

.sub-menu li {
    list-style-type: none;
    display: inline-block
}

ul.sticky-navbar-ul li ul.sub-menu {
    display: none;
    position: absolute
}

ul.sticky-navbar-ul li {
    position: relative
}

ul.sticky-navbar-ul li:hover ul.sub-menu {
    display: block;
}

.sub-menu li {
    margin-left: 0 !important;
    z-index: 1;
}

ul.sub-menu>li>a {
    color: black
}

ul.sub-menu>li>a:hover {
    background-color: #d0c9e8;
    border-top-right-radius: 10px;
    border-bottom-left-radius: 10px;
}

@media screen and (max-width:1285px) {
    #SiteIdentidade {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        height: 65px;
        padding: 0 15px;
        overflow: hidden;
    }

    #SiteIdentidade > * {
        float: none;
        width: auto;
    }
    
    #SiteIdentidade #logo {
        height: 45px;
        line-height: normal;
        padding-left: 0;
        position: static; 
        top: auto;        
        display: flex;
        align-items: center;
    }
    
    #SiteIdentidade #logo img {
        height: 100%;
        width: auto;
    }
    
    #SiteIdentidade #brand {
        justify-content: center;
        align-items: center;
        display: flex;
        flex-grow: 1;
        text-align: center;
    }
    
    #SiteIdentidade #sticky-menu {
        line-height: 1;
        padding-right: 0;
        display: flex;
        align-items: center;
    }
    
    
    #SiteIdentidade #sticky-menu img {
        height: 24px;
        width: auto;
    }

    #sticky-navbar-nav {
        display: none;
    }
    
    nav.sticky-nav ul {
        display: inline-block;
        width: 100% !important
    }

    #sub-menu {
        display: none
    }
    
    nav.sticky-nav a {
        padding: 5px 10px
    }

    .sticky-navmenu {
        background-color: #ecd5f1;
    }

    .sticky-navbar-ul {
        height: 100vh;
        overflow-x: scroll;
        padding-bottom: 150px !important;
    }
}

@media screen and (min-width:1286px) {
    #SiteIdentidade {
        display: none;
    }

    #sticky-navbar-nav {
        display: block
    }

    .sticky-navmenu {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    #sticky-menu {
        display: none
    }

    nav.sticky-nav {
        display: block !important
    }
    
    nav.sticky-nav li {
        display: inline-block
    }

    .sticky-navmenu {
        background-image: linear-gradient(to right, var(--header-gradient-start) 0%, 90%, var(--header-gradient-end) 100%);
    }
}

@media (max-width: 1024px) {
    .sticky-navmenu {
        background-color: #ecd5f1;
    }
}

@media (max-width: 1285px) {
    #search-form {
        display: none;
    }
}

@media (min-width: 1285px) {
    #search-form {
        display: none;
    }
}

#search-form input[type=text] {
    width: 200px;
    height: 30px;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: black;
    background-color: inherit;
    background-clip: padding-box;
    border: 2px solid #eba9d9;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

#button-submit {
    display: inline-flex;
    font-weight: 400;
    color: black;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: .25rem;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.sticky-navbar-ul {
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
}

@media screen and (max-width:480px) {
    .toggle-nav {
        padding: 6px 10px
    }

    #search-form input {
        width: 150px
    }
}

@media (max-width: 500px) {
    .nomeBrand {
        font-size: 18px;
    }
}

@media (min-width: 500px) {
    .nomeBrand {
        font-size: 25px;
    }
}

#navbarDropdown {
    color: black !important;
}

body {
    margin: 0;
    font-family: arial !important;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

.content {
    position: relative;
    animation-name: beside;
    animation-duration: 2s;
    transition: padding 1s;
}

.content-area {
    min-height: 768px!important;
}

@media (max-width: 960px) {
    .content {
        min-height: auto;
    }
}

@media (min-width: 960px) {
    .content {
        min-height: 800px;
    }
}

@keyframes beside {
    0% { opacity: 0 };
    50% { opacity: 0.5 };
    100% { opacity: 1 };
}

@keyframes appear {
    0% { background-color: "" };
    100% { background-color: purple };
}

#topbar {
    font-family: montserrat;
}

@keyframes slide2 {
    0% { margin-left: -400px };
    100% { margin-left: 0 };
}

@keyframes slide {
    0% { margin-left: -300px };
    100% { margin-left: 0 };
}

#internal-header-container {
    transition: transform 0.4s ease-in-out, opacity 0.4s ease-in-out;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.header-hidden {
    opacity: 0;
    transform: translateY(-100%);
    pointer-events: none;
}

.header-visible {
    opacity: 1;
    transform: translateY(0%);
    pointer-events: auto;
}

.page-internal .sticky-header-bar {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1020;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.custom-dropdown-toggle::after {
    display: inline-block;
    margin-left: .4em;
    vertical-align: .255em;
    content: "";
    border-top: .3em solid;
    border-right: .3em solid transparent;
    border-bottom: 0;
    border-left: .3em solid transparent;
}

.custom-dropdown-menu {
    display: none;
    position: absolute;
    background-color: #d0c9e8b3;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 5px;
    border: 1px solid rgba(0,0,0,.15);
}

.custom-dropdown-menu .dropdown-item {
    color: black;
    padding: 10px 15px;
    text-decoration: none;
    display: block;
    clear: both;
    font-weight: bold;
    font-size: 18px;
    text-align: inherit;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
}

.custom-dropdown-menu .dropdown-item:hover {
    background-color: #c5bddba8;
    color: #16181b;
}

.top-bar {
    background-color: #f8f9fa;
    padding: 0.75rem 0;
    font-size: 0.9rem;
    border-bottom: 1px solid #e9ecef;
}
.top-bar-brand {
    display: flex;
    align-items: center;
}
.top-bar-brand img {
    height: 40px;
    margin-right: 15px;
}
.top-bar-brand .ong-name {
    font-weight: 600;
    color: var(--text-color);
    font-size: 1.1rem;
}
.top-bar-brand .ong-name span {
    color: var(--primary-color);
}
.top-bar-contact {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
}
.top-bar-contact .contact-item {
    display: flex;
    align-items: center;
    color: #6c757d;
}
.top-bar-contact .contact-item i {
    color: var(--primary-color);
    margin-right: 8px;
}
.top-bar-contact .social-icons a {
    color: #6c757d;
    margin-left: 15px;
    font-size: 1.2rem;
    transition: color 0.2s;
}
.top-bar-contact .social-icons a:hover {
    color: var(--primary-color);
}
@media (max-width: 991px) {
    .top-bar-brand {
        justify-content: center;
        margin-bottom: 10px;
    }
    .top-bar-contact {
        justify-content: center;
        flex-wrap: wrap;
    }
}
@media (max-width: 767px) {
    .top-bar {
        display: none;
    }
}

.about-section {
    padding: 4rem 0;
}
.mission-vision-values {
    background-color: var(--secondary-color);
    border-radius: 15px;
}
.mission-vision-values .card {
    border: none;
    background-color: transparent;
    text-align: center;
    color: var(--light-text-color);
}
.mission-vision-values .card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: block;
}
.mission-vision-values .card-title {
    color: var(--light-text-color);
    font-weight: 600;
}
.mission-vision-values .card-text {
    color: rgba(255, 255, 255, 0.85);
}
.directors-section {
    background-color: #fff;
}
.directors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
@media (max-width: 991px) {
    .directors-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 767px) {
    .directors-grid {
        grid-template-columns: 1fr;
    }
}
.director-card {
    display: flex;
    flex-direction: column;
    text-align: center;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 1.5rem;
    transition: transform .2s ease-in-out, box-shadow .2s ease-in-out;
    width: 100%;
    height: 100%;
}
.director-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}
.director-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 4px solid #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    align-self: center;
}
.director-card .card-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.director-card .director-name {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-color);
}
.director-card .director-role {
    font-weight: 500;
    color: var(--primary-color);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    margin-top: auto;
}


.file-card {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
}
.file-card .file-info {
    flex-grow: 1;
    word-break: break-word;
}
.file-card .file-name {
    font-weight: 600;
    color: var(--text-color);
}
.file-card .file-description {
    color: #6c757d;
    font-size: 0.9rem;
}
.file-card .file-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-shrink: 0; 
    min-width: 250px; 
    justify-content: flex-end;
}
@media (max-width: 767px) {
    .file-card .file-actions {
        justify-content: flex-start;
        margin-top: 1rem;
        min-width: auto;
    }
}
.file-card .btn-details {
    background-color: #f8f9fa;
    border-color: #dee2e6;
    color: #343a40;
}

.social-media-card {
    border: 1px solid #e9ecef;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 2rem;
}
.social-media-card .card-header {
    font-size: 1.25rem;
    font-weight: 600;
    background-color: #f8f9fa;
}
.social-media-card .card-body {
    display: flex;
    align-items: center;
    gap: 20px;
}
.social-media-card .is-resized img {
    border: 5px solid white;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

@media (max-width: 767px) {
    .social-media-card .card-body {
        flex-direction: column;
    }
}