
:root {
    --primary-color: #00427A;
    --secondary-color: #e60078 ;
    --accent-color: #009ddc;
    --active-color: #e60078;
    --off-white: #f7f5f0;
}


.btn {
    text-transform: none!important;
}

p { line-height: 1.75}

p, a {
    font-family: "Onest", sans-serif;
}

h1,h2,h3,h4 {
    font-family: "Parkinsans", sans-serif;
}
.menu-item a {
    font-size: 20px;
}

/* Header Logo */
@media screen and (max-width: 650px) {
    .logo-image {
        width: 160px;
    }
    .flag-divider {
        background-size: 180%!important;
    }
}



/* Header menu */
.urt-header {
    position: sticky;
    top: -250px;
    width: 100%;
    z-index: 1030;
    transition: top 0.3s ease-in-out;
}

.urt-header.show-on-scroll-up {
    top: 0;
}



/* Header alert */
.closable-alert .close-btn {
    position: absolute;
    top: 0;
    right: 5px;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}
.closable-alert .close-btn:focus {
    outline: none;
}
@media screen and (max-width: 690px) {
    .closable-alert {
        border-radius: 0!important;
    }
}


/* Slick sliders */
.slider-item { padding: 15px; text-align: center; }
.slider-item img { max-width: 180px; height: auto; }
.slick-prev, .slick-next {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 18px;
    z-index: 1;
}
.slick-prev:hover, .slick-next:hover {
    background: var(--secondary-color);
    color: white;
}
.slick-prev:before, .slick-next:before {
    display: none;
}
.slick-dots li button:before { color: var(--primary-color); }
.slick-dots li.slick-active button:before { color: var(--secondary-color); }



/* Timeline slider */
.timeline-line {
    height: 2px;
    background-color: var(--primary-color);
    position: relative;
    margin: 0 160px 50px 20px;
}
.timeline-node {
    width: 20px;
    height: 20px;
    background-color: white;
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}
.timeline-node.active {
    background-color: var(--active-color);
    border-color: var(--primary-color);
    transform: translateY(-50%) scale(1.5);
}
.phase-label {
    position: absolute;
    top: -30px;
    transform: translateX(-50%);
    color: var(--primary-color);
    font-weight: bold;
    text-align: right;
    width: 100px;
}
.phase-label.active {
    color: var(--active-color);
    font-weight: 700;
}
.nav-buttons-container {
    position: absolute;
    right: -160px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    gap: 10px;
}
.nav-button {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.nav-button:hover {
    background-color: var(--secondary-color);
}
.nav-button.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.content-container {
    position: relative;
    min-height: 300px;
    transition: none;
}
.content-card {
    background-color: white;
    height: 100%;
    transition: all 0.5s ease;
    opacity: 0;
    transform: translateY(20px);
    border: 1px solid var(--primary-color);
}
.content-card.active {
    opacity: 1;
    transform: translateY(0);
}
.card-image {
    overflow: hidden;
    margin-bottom: 15px;
}
.card-image img {
    max-height: 200px;
    width: 100%;
    object-fit: cover;
    padding: 5px;
    border-radius: 25px;
}
.card-layout-1 {
    display: flex;
    flex-direction: column;
}
.card-layout-1 .card-image {
    order: 1;
}
.card-layout-1 .card-content {
    order: 2;
}
.card-layout-2 {
    display: flex;
    flex-direction: column;
}
.card-layout-2 .card-image {
    order: 2;
    margin-top: 15px;
    margin-bottom: 0;
}
.card-layout-2 .card-content {
    order: 1;
}
.more-button {
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
    margin-top: 20px;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}
.more-button:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    color: white;
    text-decoration: none;
}
@media (max-width: 768px) {
    .timeline-line {
        margin: 0 40px 100px 0;
    }

    .phase-label {
        font-size: 12px;
        width: 70px;
    }
    .nav-buttons-container {
        position: absolute;
        right: 1px;
        margin-top: 50px;
        transform: translateY(-50%);
        display: flex;
    }
}



/* Sidebar Navigation */
.sidebar-nav {
    border-radius: 8px;
    overflow: hidden;
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-nav li {
    margin-top:0!important;
}

.sidebar-nav li:last-child {
    border-bottom: none;
}

.sidebar-nav a {
    display: block;
    padding: 15px 20px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.sidebar-nav a:hover {
    background-color: #f1ede3;
    text-decoration: none;
    border-radius: 30px;
}

.sidebar-nav .current_page_item > a,
.sidebar-nav .current_page_parent > a {
    background-color: #f1ede3;
    color: var(--primary-color);
    font-weight: 700;
    border-radius: 30px;
}

.sidebar-nav .current_page_item > a::before,
.sidebar-nav .current_page_parent > a::before {
    content: '>';
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 8px;
}

.sidebar-nav .children {
    list-style: none;
    padding-left: 20px;
}

.children .page_item > a::before {
    content: '>';
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 8px;
}
.sidebar-heading {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
}

.sidebar-heading a {
    color: var(--primary-color);
    text-decoration: none;
}

@media (max-width: 768px) {
    .sidebar-nav {
        margin-bottom: 2rem;
    }

    .sidebar-nav a {
        padding: 12px 15px;
    }

    .sidebar-heading {
        padding: 12px 15px;
    }
}



/* Resource component*/
.resource-content {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}
.resource-icon i {
    font-size: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.resource-icon svg {
    width: 100%;
    height: 100%;
}
.resource-title {
    font-size: 18px;
    font-weight: 500;
    margin: 0;
}
.resource-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 14px;
    opacity: 0.8;
}
.resource-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.download-icon i {
    font-size: 30px;
}



/* Image overlap Card*/
.profile-image {
    right: -10%;
    top: 0;
}
.rounded-xl {
    border-radius: 20px;
}
.profile-badge {
    margin-top: -20px;
    z-index: 99;
    position: relative;
    width: fit-content;
}



/* Events slider*/
.events-section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 300px;
    height: 3px;
    background: var(--secondary-color);
}
.events-slider .slick-list {
    padding: 5px 0!important;
}
.date-day {
    font-size: 2.7rem;
    line-height: 1;
}
.date-month {
    font-size: 1.3rem;
}
.nav-btn:hover:not(:disabled) {
    background-color: var(--secondary-color)!important;
    border-color: var(--secondary-color)!important;
    transform: scale(1.05);
}
a.events-view-all-btn {
    text-decoration: underline;
}

a.events-view-all-btn:hover {
    color: var(--secondary-color)!important;
    text-decoration: underline;
}
.event-date {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}



/* News Slider */
.news-section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    position: relative;
}
.news-section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 300px;
    height: 3px;
    background: var(--secondary-color);
}
.news-view-all-btn {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 600;
}
.news-view-all-btn:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}
.card-img-top {
    object-fit: cover;
    max-height: 200px;
    padding: 5px;
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}



/* Text component*/
.text-component ul li {
    padding: 5px 0;
    font-weight: bold;
}
.text-component ul {
    list-style: none;
    padding-left: 0;
}

.text-component ul li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    line-height: 1.5;
}

.text-component ul li::before {
    content: "•";
    color: var(--accent-color);
    font-size: 40px;
    position: absolute;
    left: 0;
    top: -7px;
    line-height: 1;
}



/*Staff Modal*/
.section-divider {
    height: 3px;
    width: 250px;
}

.team-img-container {
    overflow: hidden;
    position: relative;
}
.team-img-container img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: center;
}
.bio-button {
    border: none;
    width: 80%;
    cursor: pointer;
    transition: background-color 0.3s;
}
.bio-button:hover {
    background-color: var(--secondary-color);
    color: white;
}
.bio-modal {
    display: none;
    position: fixed;
    z-index: 1050;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 500px;
}
.bio-modal.show {
    display: block;
}
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1040;
}
.modal-open {
    overflow: hidden;
}
.modal-body {
    max-height: 70vh;
    overflow-y: auto;
    background-color: #fff!important;
}
.modal-header {
    background-color: #fff!important;
}
.close-button {
    background: transparent;
    border: 0;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: #000;
    opacity: 0.5;
    cursor: pointer;
    padding: 0;
    margin: 0;
}
.close-button:hover {
    opacity: 1;
}
@media (max-width: 767.98px) {
    .bio-modal {
        width: 95%;
        max-height: 80vh;
    }
}


/*News Listing*/
.pagination .page-link {
    color: #111;
    font-weight: bold;
    border: none;
    margin: 0 3px;
    border-radius: 50%!important;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pagination .page-item.active .page-link {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
}
.pagination .page-link:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: white;
}



/*Flexible image text block*/
.text-image-section .circular-image-container {
    width: 100%;
    max-width: 450px;
    height: auto;
    aspect-ratio: 1/1;
    border-radius: 50%;
    overflow: hidden;
    display: inline-block;
    position: relative;
}

.text-image-section .circular-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

@media (max-width: 767.98px) {
    .text-image-section .circular-image-container {
        max-width: 350px;
        margin-bottom: 2rem;
    }
}


/*Gallery*/
.gallery-grid .gallery-item {
    cursor: pointer;
    overflow: hidden;
    border-radius: 8px;
    position: relative;
    transition: transform 0.3s ease;
}
.gallery-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: #f8f9fa;
}
.gallery-image {
    transition: transform 0.3s ease;
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: white;
    font-size: 24px;
}
.gallery-item:hover .gallery-overlay {
    opacity: 1;
}
.gallery-item:hover .gallery-image {
    transform: scale(1.1);
}
.gallery-item:hover {
    transform: translateY(-5px);
}
.custom-gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    display: none;
}
.custom-gallery-modal.show {
    display: block;
}
.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
}
.modal-container {
    position: relative;
    width: 90%;
    max-width: 1200px;
    height: 80vh;
    margin: 10vh auto;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    z-index: 10000;
}
.modal-header {
    padding: 15px 20px;
    background: #000;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}
.modal-title {
    margin: 0;
    font-size: 1.25rem;
}
.modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}
.modal-body {
    flex: 1;
    background: #000;
    position: relative;
    overflow: hidden;
}

/* Slider Styles */
.gallery-slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.slider-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
}

.slide-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    width: auto;
    height: auto;
}

.slide-caption {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    text-align: center;
    padding: 10px 20px;
    max-width: 600px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 4px;
}

.slider-prev, .slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: background 0.3s ease;
    z-index: 10001;
}

.slider-prev:hover, .slider-next:hover {
    background: rgba(255, 255, 255, 0.4);
}

.slider-prev {
    left: 20px;
}

.slider-next {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10001;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

.dot.active {
    background: white;
}
@media (max-width: 768px) {
    .gallery-image {
        height: 150px;
    }

    .modal-container {
        width: 95%;
        height: 85vh;
        margin: 7.5vh auto;
    }

    .slider-prev, .slider-next {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .slider-prev {
        left: 10px;
    }

    .slider-next {
        right: 10px;
    }
}


/*Dropdown menu*/
.urt-main-menu .dropdown:hover > .urt-main-menu-dropdown-wrapper .dropdown-menu {
    display: block;
}
.urt-main-menu .urt-main-menu-dropdown-wrapper {
    position: absolute;
    z-index: 1000;
}
.urt-main-menu .dropdown-menu .urt-main-menu-item {
    display: block;
}
.urt-main-menu-wrapper .urt-main-menu .urt-main-menu-item .urt-main-menu-dropdown-wrapper .urt-main-menu-dropdown-content {
    min-width: 0!important;
    padding: 0!important;
    margin: 0;
    background-color: transparent!important;
}


/*Search bar*/

.search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border-radius: 25px;
    overflow: hidden;
    transition: all 0.3s ease;
    width: 45px;
    height: 45px;
    transform-origin: center center;
    background-color: var(--secondary-color);
}
.search-wrapper.expanded {
    width: 650px;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border: 2px solid #6c757d;
    transform: translateX(calc(-50% + 22.5px));
}
@media screen and (max-width: 1025px) {
    .search-wrapper.expanded {
        width: 500px;
        transform: translateX(calc(-30% + 22.5px));
    }
}
@media screen and (max-width: 770px) {
    .search-wrapper.expanded {
        width: 300px;
        transform: translateX(calc(-20% + 22.5px));
    }
}
.search-field {
    border: none;
    background: transparent;
    padding: 10px 15px;
    font-size: 14px;
    outline: none;
    width: 0;
    opacity: 0;
    transition: all 0.3s ease;
}
.search-wrapper.expanded .search-field {
    width: calc(100% - 45px);
    opacity: 1;
}
.search-button {
    background: transparent;
    border: none;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #6c757d;
    transition: color 0.3s ease;
    position: absolute;
    right: -5px;
    top: -4px;
}
.search-button:hover {
    color: #495057;
}
.search-form {
    margin: 0;
    width: 100%;
}
.search-wrapper-alt.expanded {
    width: 600px;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border: 2px solid #6c757d;
    margin-left: -277.5px;
}

/*Pagination*/
.urt-pagination li {
    background-image: none!important;
    padding: 0 3px!important;
}
.urt-pagination .page.current {
    color: #fff!important;
}

.urt-main-menu-footer li a i {
    display: none;
}


/*Sidebar*/
@media (min-width: 768px) {
    .sidebar {
        position: sticky;
        top: 60px;
        max-height: calc(100vh - 40px);
        overflow-y: auto;
    }
    .page-content {
        align-items: flex-start !important;
        min-height: 100vh;
    }
}
@media (min-width: 768px) {
    .sidebar {
        position: sticky;
        top: 60px;
        max-height: calc(100vh - 40px);
        overflow-y: auto;
        scrollbar-width: thin;
        scrollbar-color: var(--off-white) transparent;
    }
    .sidebar::-webkit-scrollbar {
        width: 6px;
    }
    .sidebar::-webkit-scrollbar-track {
        background: transparent;
        border-radius: 10px;
    }
    .sidebar::-webkit-scrollbar-thumb {
        background: var(--off-white);
        border-radius: 10px;
        transition: background 0.3s ease;
    }
    .sidebar::-webkit-scrollbar-thumb:hover {
        background: #5a6268;
    }
    .sidebar {
        scrollbar-width: thin;
        scrollbar-color: var(--off-white) transparent;
    }

    .page-content {
        align-items: flex-start !important;
        min-height: 100vh;
    }
}
.sidebar.scrollbar-ultra-thin::-webkit-scrollbar {
    width: 4px;
}
.sidebar.scrollbar-on-hover::-webkit-scrollbar-thumb {
    background: transparent;
}
.sidebar.scrollbar-on-hover:hover::-webkit-scrollbar-thumb {
    background: var(--off-white);
}


.urt-main-menu-wrapper .urt-main-menu .urt-main-menu-item a {
    color: #343a40 !important;
}



.header-nav-inner .menu-item a {color:var(--info)!important;}
.mobile-search-form .form-control {
    border-radius: 25px 0 0 25px;
    border-right: none;
    border: 0;
}
.mobile-search-form .btn {
    border-radius: 0 25px 25px 0;
    border-left: none;
}
.mobile-search-form .input-group {
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.sub-menu li {
    padding-top: 5px!important;
    padding-bottom: 5px!important;
}
.sub-menu li a{
    font-size: 18px!important;
}
.sub-menu li::marker {
    font-size: 1rem!important;
}

@media (max-width: 767.98px) {
    .header-nav .menu-item-has-children { position: static; }
    .header-nav .menu-item-has-children > a {
        display: inline-flex;
        align-items: center;
        padding-right: 0;
        margin-right: .5rem;
    }

    .header-nav .menu-item-has-children > .submenu-toggle {
        position: static;
        transform: none;
        border: 0;
        background: #e60078;
        color: #fff;
        width: 30px;
        height: 30px;
        border-radius: 50%;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        font-size: 1rem;
        line-height: 1;
        vertical-align: middle;
        margin-left: 10px;
        transition: background .2s ease, transform .2s ease;
    }

    .header-nav .menu-item-has-children.is-open > .submenu-toggle {
        transform: rotate(180deg);
    }

    .header-nav .menu-item-has-children > .sub-menu {
        display: none;
        margin-top: .35rem;
        padding-left: 1rem;
    }
    .header-nav .menu-item-has-children.is-open > .sub-menu {
        display: block;
    }
    .header-nav .header-nav-inner .menu-item a {
        display: inline!important;
    }
}
