﻿@charset "UTF-8";

:root {
    --gray-light-color: #f4f4f4;
    --gray-light-medium-color: #d8d8d8;
    --gray-medium-color: #969696;
    --gray-medium-dark-color: #646464;
    --gray-dark-color: #323232;
    --gray-body: #EBEFEE;
    --primary-color: #32dbbc;
    --primary-color-2: #3DB4BC;
    --primary-light-1-color: #64c3c9;
    --primary-light-2-color: #8BD2D7;
    --primary-light-3-color: #B1E1E4;
    --primary-light-4-color: #D8F0F2;
    --primary-light-medium-color: #319096;
    --primary-medium-color: #256c71;
    --primary-dark-medium-color: #18484b;
    --primary-dark-color: #0c2426;
    --primary-gray-color: #667085;
    --bs-body-font-size: 16px;
    --bs-body-font-family: Lora, Roboto, Arial, sans-serif, Helvetica;
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
}

/* Sticky Footer Styles */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-size: var(--bs-body-font-size);
    font-family: var(--bs-body-font-family);
    text-align: justify;
    color: var(--primary-dark-color);
    background-color: var(--gray-body, #FFF);
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    /* Disable underscore */
    text-decoration: none;
    color: inherit;
}

a:not([href]):not([class]),
a:not([href]):not([class]):hover {
    color: inherit;
    text-decoration: none;
}

hr {
    color: inherit;
    background-color: var(--primary-light-medium-color);
    width: 80%;
    margin: 1rem auto;
    height: 2px;
}

h6,
.h6 {
    font-weight: 700;
    line-height: 1.2;
}

h5,
.h5 {
    font-weight: 700;
    line-height: 1.7rem;
    font-size: 1.5rem
}

h3,
.h3 {
    font-size: 2.625rem;
    font-weight: 700;
}

h2,
.h2 {
    font-size: 3.5rem;
    font-weight: 700;
}

h1,
.h1 {
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.6;

}

p {
    text-align: justify;
    font-size: 1.25rem;
}

.text-white {
    color: var(--white, #FFF);
}

.text-color-primary-light-medium {
    color: var(--primary-light-medium-color);
}

.text-size-1 {
    font-size: 1.5rem;
}

.btn.btn-link {
    color: var(--primary-light-medium-color);
    font-weight: 800;
    letter-spacing: 0.1rem;
    text-decoration: none;
    padding: 1rem;
    width: fit-content;
}

.navbar {
    position: sticky;
    z-index: 1000;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
    background-color: #fff;
    padding: 1.25rem 0;
    width: 100%;
    box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.10), 0px 4px 24px 0px rgba(49, 144, 150, 0.20);
}

.navbar>.container {
    display: flex;
    flex-wrap: inherit;
    align-items: center;
    justify-content: space-between;
}

.container {
    padding-left: 10%;
    padding-right: 10%;
    max-width: 100%;
    margin: 0;
}

.navbar-brand {
    padding-right: 15%;
    padding-top: 0;
    height: 6rem;
    white-space: nowrap;
}

.sponsor-image {
    height: 4rem;
    margin-bottom: 2rem;
    padding-left: 0.5rem;
}

.cncc-header {
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary-light-medium-color);
    margin-bottom: 1rem;
    margin-left: 0.5rem;
}

.navbar-main-nav {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0;
    margin: 0;
    list-style: none;
    flex-grow: 1;
}

.gap-1 {
    gap: 1rem;
}

.navbar-nav .nav-link {
    padding: 0.5rem;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-medium-color);
}

.navbar-nav .dropdown-menu {
    position: absolute;
    z-index: 1000;
    display: none;
    min-width: 12rem;
    max-width: 20rem;
    padding: 0.25rem 0;
    margin: 0;
    font-size: 1rem;
    text-align: left;
    list-style: none;
    background-color: #ffffff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 0.375rem;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    transition: opacity 0.2s ease-in-out, transform 0.2s ease-in-out;
    opacity: 0;
    visibility: hidden;
}

.navbar-nav .dropdown-menu>.nav-item>.dropdown-menu {
    left: 100%;
    top: 0%;
}

/* Show dropdown on hover */
.navbar-nav .dropdown:hover>.dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown {
    position: relative;
    z-index: 1000;
}

.dropdown-toggle {
    white-space: nowrap;
}

.dropdown-toggle::after {
    display: inline-block;
    margin-left: 0.255em;
    vertical-align: 0.255em;
    content: "";
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
}

.dropdown-toggle:empty::after {
    margin-left: 0;
}

.nav-text-1 {
    color: var(--primary-medium-color);
    padding: 0 0.5rem;
}

.nav-text-2 {
    color: var(--primary-dark-medium-color);
    font-weight: 500;
}

.footer-container {
    padding-top: 2.5rem;
    padding-bottom: 5.5rem;
    background-color: var(--primary-light-medium-color);
}

.footer-container .row {
    margin: 0;
    width: 100%;
}

.footer-container-dark {
    padding-top: 0;
    padding-bottom: 0;
    background-color: var(--primary-medium-color);
}

.footer-logo {
    height: 8rem;
    padding: 0.5rem;
}

.page {
    max-width: 100%;
    margin: 0 9%;
    box-sizing: border-box;
    position: relative;
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.page::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: white;
    z-index: -1;
}

.page > * {
    margin: 0;
}

.rncc-button {
    /* Button layout */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    gap: 0.625rem;
    padding: 0.75rem;

    /* Button style */
    background-color: var(--primary-light-medium-color);
    color: var(--white, #fff);
    border-radius: 0.25rem;
    border-color: transparent;
}

.rncc-button:hover {
    background-color: var(--primary-medium-color);
}

.page-section {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.page-section.header-section {
    background: linear-gradient(180deg, var(--white, #FFF), var(--white, #FFF) 40%, var(--primary-light-medium-color) 40%, var(--primary-light-medium-color));
}

.page-section .summary-text {
    font-size: 1.75rem;
    font-weight: 500;
    padding: 3rem 0;
}

.page-section button {
    background-color: var(--primary-color-2);
    font-weight: 600;
}

.section-2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 5rem;
    gap: 5rem;
}

.section-2-header {
    text-align: center;
    padding: 0 2rem;
}

.section-2-text p {
    display: flex;
    text-align: center;
    font-size: 1.5rem;
}

.section-3 {
    display: flex;
    flex-direction: column;
    padding: 5rem 0;
    gap: 4rem;
}

.section-3-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(0, 1fr);
    gap: 1.5rem;
}

.section-3 .section-3-item {
    display: grid;
    grid-template-columns: 80% 20%;
    align-items: center;
    padding: 1.5rem;
    font-size: 1.25rem;
    font-weight: 600;
    flex-wrap: wrap;
    width: 100%;
    height: 100%;
    border-radius: 1rem;
    background: var(--white, #FFF);
    box-shadow: 0px 2px 4px 0px rgba(41, 64, 64, 0.20);
}

.section-3 .section-3-item i {
    justify-self: flex-end;
}

.about-page-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.about-page-logo img {
    height: 13.5rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.header-separator {
    width: 7rem;
    align-self: flex-start;
    margin: 0;
    margin-top: 1rem;
    height: 0.5rem;
    border-radius: 0.375rem;
    border-width: 0;
    background-color: var(--primary-light-medium-color);
    opacity: 1;
}

.about-page-description {
    align-self: stretch;
    font-size: 1.25rem;
    text-align: justify;
    padding: 3rem 0;
}

.about-page-description p {
    padding-bottom: 1.5rem;
    margin-bottom: 0;
}

.rncc-objectives {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.rncc-objectives .rncc-objectives-item {
    display: grid;
    grid-template-columns: 70% 30%;
    align-items: center;
    padding: 1.5rem;
    font-size: 1.25rem;
    font-weight: 600;
    flex-wrap: wrap;
    width: 100%;
}

.rncc-objectives-item:nth-child(odd) {
    grid-template-areas: "text img";
    grid-template-columns: 70% 30%;
}

.rncc-objectives-item:nth-child(even) {
    grid-template-areas: "img text";
    grid-template-columns: 30% 70%;
}

.rncc-objectives-item img {
    width: 100%;
    grid-area: img;
}

.rncc-objectives-item div {
    grid-area: text;
}

.rncc-objectives-item:nth-child(odd)>div:first-child {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding-right: 5rem;
}

.rncc-objectives-item:nth-child(even)>div:first-child {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding-left: 5rem;
}

.rncc-objectives-item .rncc-objective-title {
    position: relative;
    font-size: 2.5rem;
    font-weight: 500;
    line-height: 3rem;
}

.rncc-objective-title .circle {
    position: absolute;
    left: 0;
    top: -0.15em;
    z-index: 0;
    /* Updated z-index value */
    width: 1em;
    height: 1em;
    border-radius: 50%;
    background-color: var(--primary-light-medium-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.rncc-objective-title>span {
    position: relative;
    display: flex;
    padding-left: 0.5em;
    width: 100%;
    z-index: 1;
}

.rncc-objectives-item .rncc-objective-subtitle {
    font-size: 2rem;
    font-weight: 500;
    line-height: 2.5rem;
}

.rncc-objectives-item .rncc-objective-description p {
    font-size: 1.25rem;
    font-weight: 400;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 2fr;
}

.contact-form>.contact-form-description {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    font-size: 1.125rem;
    padding: 3rem;
    background-color: #f9fafb;
}

.contact-form>.contact-form-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: var(--BG-comp, linear-gradient(0deg, rgba(255, 255, 255, 0.60) 0%, rgba(255, 255, 255, 0.60) 100%), #D8F0F2);
    padding: 6rem 12rem;
    gap: 1.5rem;
}

.contact-form-content .input-group-text {
    padding: 0rem;
}

.contact-form-content .form-select {
    height: 100%;
}

.contact-form-content .form-control {
    padding: 0.75rem;
}

.contact-form-content .form-control:focus {
    border-color: var(--primary-light-medium-color);
}

.contact-form-content button {
    background: var(--primary-light-medium-color);
    padding: 0.75rem 1.25rem;
}

.contact-form-content button::after {
    content: none;
}

.contact-form-description .form-text {
    font-size: 1.125rem;
    line-height: 1.75rem;
    color: var(--primary-gray-color);
}

.contact-form-grid-icon {
    display: grid;
    grid-template-columns: 3rem 1fr;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
}

.contact-form-grid-icon i {
    font-size: 1.5rem;
    color: var(--primary-light-medium-color);
}

.contact-form-grid-icon-text {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-form-grid-icon-text .form-text-header {
    font-size: 1.25rem;
    font-weight: 700;
}

.contact-form-grid-icon-text .form-text {
    font-size: 1rem;
    line-height: 1.5rem;
}

.contact-form-grid-icon-text a {
    color: var(--primary-light-medium-color);
    font-weight: 700;
    line-height: 1.5rem;
    padding-top: 1rem;
}

.page-section .banner-image {
    display: block;
    width: 100%;
    height: auto;
    margin-top: 7rem;
    margin-bottom: 1rem;
    cursor: pointer;
}

.page-section .banner-text {
    /* Center the text perfectly */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    z-index: 1;

    /* Font style */
    font-size: 3rem;
    color: var(--white, #FFF);
    font-style: italic;
    text-align: center;
    color: white;
    padding: 1.5rem;

    /* Container styling */
    background-color: var(--primary-light-medium-color);
    cursor: pointer;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    padding: 0 1.5rem;
}

.sidebar-nav li {
    padding: .25rem 1.5rem;
    border-bottom: 1px solid var(--gray-light-medium-color);
}

/* Remove the last border to avoid extra space at the end */
.sidebar-nav li:last-child {
    border-bottom: none;
}

.navbar-nav.sidebar-nav .submenu {
    list-style: none;
    padding-left: 0;
    margin: 0;
    margin-left: 20px;
    padding-left: 10px;
}

.sidebar-nav .menu-item.active, 
.sidebar-nav .menu-item-container.active {
    font-weight: bold;
}

.sidebar-nav .menu-item-container {
    position: relative;
    padding: 5px 0;
}

/* Hide collapsed submenus */
.sidebar-nav .submenu.collapsed {
    display: none;
}

/* Style for the collapsible menu toggle button */
.sidebar-nav .toggle-submenu {
    display: flex;
    justify-content: right;
    cursor: pointer;
    font-weight: bold;
    width: 1rem;
    margin-left: 0.5rem;
}

/* Style for the collapsible menu toggle button (if no subitems) */
.sidebar-nav .toggle-submenu.placeholder {
    opacity: 0;
}

.navbar-nav.sidebar-nav .menu-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.navbar-nav.sidebar-nav .menu-item .menu-item-text {
    flex: 1;
}

.gray-background {
    background-color: var(--gray-body);
}

.repository-page {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 5rem;
    padding: 1rem;
    padding-bottom: 5rem;
}

#repository-page-content {
    display: flex;
    flex-direction: column;
    gap: 5rem;
}

#repository-page-content p {
    margin-bottom: 0;
}

#repository-page-content a {
    font-size: 1rem;
    color: var(--primary-light-medium-color);
}

.repository-page .sidemenu-header {
    display: inline-flex;
    gap: 0.75em;
    font-size: 1.1375rem;
    color: var(--primary-light-medium-color);
    font-weight: 700;
    line-height: 1.5rem;
    padding-bottom: 0.5rem;
}

.sidemenu-header .rectangle {
    background-color: var(--primary-light-medium-color);
    border-radius: 0.1rem;
    width: 0.25rem;
}

.news-page-header {
    font-size: 3rem;
    font-weight: 700;
    line-height: 4.25rem;
    letter-spacing: -0.06rem;
    margin: 0;
    padding: 1.5rem calc(var(--bs-gutter-x) * .5);
}

.article-padding {
    padding: 1rem 8rem;
}

.articles-list {
    display: grid;
    grid-template-rows: repeat(auto-fill, 1fr);
    gap: 1.5rem;
    padding-bottom: 3rem;
    margin: 0;
}

.article-preview {
    border: 1px solid #ddd;
    padding: 1rem;
    border-radius: 0.5rem;
    box-shadow: 1px 2px 16px 4px rgba(37, 108, 113, 0.04);
    width: 100%;
}

.article-preview img {
    width: 100%;
    height: auto;
    align-self: center;
}

.ribbon {
    position: relative;
    background-color: var(--primary-light-medium-color);
    /* Blue */
    color: white;

    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.125rem;
    text-transform: uppercase;
    text-align: center;

    padding: 0.5rem 2rem;
    max-width: fit-content;
    align-self: flex-end;
}

.avatar {
    width: 3rem;
    height: 3rem;
    font-size: 1.5rem;
    background: var(--gray-medium-color);
}

.article-content>h1,
.article-content>h2,
.article-content>h3,
.article-content>h4,
.article-content>h5,
.article-content>h6 {
    padding: 3rem 0;
}

.article-content p {
    text-indent: 4ch;
}

.article-content hr {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.article-content img {
    max-width: 100%;
}

.article-content p>img {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    padding: 1rem 0;
}

.partner-card {
    height: 100%;
    padding: 2rem;
    box-shadow: 1px 2px 16px 4px rgba(37, 108, 113, 0.06);
}

.card-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
}

.article-card {
    height: 100%;
    padding: 1rem 2.25rem;
    box-shadow: 1px 2px 16px 4px rgba(37, 108, 113, 0.06);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    flex-shrink: 0;
}

.list-group-item.filter-checkbox-item {
    border: none;
    margin-left: 1rem;
}

.list-group-item.filter-checkbox-item .form-check-input {
    --bs-border-color: var(--primary-light-medium-color);
    --bs-border-width: 1px;
}

.list-group-item.filter-checkbox-item .form-check-input:checked {
    background-color: var(--primary-light-medium-color);
    border-color: var(--primary-light-medium-color);
    accent-color: var(--primary-light-medium-color);
}

.ai-toolkit-list {
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(0, 1fr);
    gap: 3rem;
}

@media (max-width: 1700px) {
    .ai-toolkit-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1360px) {
    .ai-toolkit-list {
        grid-template-columns: repeat(1, 1fr);
    }
}

.ai-toolkit-card {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 3rem;
    border-radius: 0.5rem;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    transition: box-shadow 0.3s ease-in-out;
    height: 100%;
}

.ai-toolkit-card:hover {
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.2);
}

.ai-toolkit-card .card-header {
    display: grid;
    grid-template-columns: auto 3rem;
    align-items: start;
    padding-bottom: 2rem;
    color: var(--primary-light-medium-color);
    font-weight: 700;
}

.ai-toolkit-card .card-header span {
    font-size: 1.25rem;
}

.ai-toolkit-card .card-description {
    flex: 1 0 0;
    line-height: 1.75rem;
}

/* Search bar */
.search-container {
    position: relative;
    width: fit-content;
    height: fit-content;
}

.search-container .form-control {
    width: 0;
    padding: 0.375rem 2.5rem 0.375rem 1rem;
    /* Reserve space for the border by using a transparent border */
    border: 1px solid transparent;
    box-sizing: border-box;
    transition: all 0.2s ease-in-out;
    opacity: 0;
    cursor: pointer;
}

.search-container:hover .form-control,
.search-container.active .form-control {
    width: 300px;
    opacity: 1;
    /* Change the border color while retaining its space */
    border-color: var(--gray-light-medium-color);
}

.search-icon {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-light-medium-color);
    cursor: pointer;
    z-index: 2;
}

.search-results {
    position: absolute;
    top: 100%;
    right: 0;
    width: 300px;
    background: white;
    border: 1px solid var(--gray-light-medium-color);
    border-radius: 0 0 0.375rem 0.375rem;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 1050;
    max-height: 300px;
    overflow-y: auto;
    display: none;
}

.search-result-item {
    padding: 8px 16px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.search-result-item:hover,
.search-result-item.selected {
    background-color: #f0f0f0;
}

.search-result-item.selected {
    border-left: 3px solid var(--primary-light-medium-color);
}

.search-result-item.no-results {
    color: #666;
    font-style: italic;
    cursor: default;
}

/* New wrapper to contain header and main content */
.wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
}

main {
    display: flex;
    flex-direction: column;
    flex: 1 0 auto;
}

/* Ensure that the footer elements inside the wrapper are pushed to the bottom */
.wrapper .footer-container,
.wrapper footer {
    margin-top: auto;
}