:root {
    color-scheme: light;
}
@media (prefers-color-scheme: dark) {
    :root {
        color-scheme: light;
    }
    body {
        background-color: #ffffff;
        color: #000000;
    }
}

@font-face {
    font-family: 'Charis SIL Regular';
    src: url(../../Fonts/Charis-SIL/CharisSIL-Regular.ttf);
}
@font-face {
    font-family: 'Charis SIL Bold';
    src: url(../../Fonts/Charis-SIL/CharisSIL-Bold.ttf);
}
@font-face {
    font-family: 'Charis SIL Bold Italic';
    src: url(../../Fonts/Charis-SIL/CharisSIL-BoldItalic.ttf);
}
@font-face {
    font-family: 'Charis SIL Italic';
    src: url(../../Fonts/Charis-SIL/CharisSIL-Italic.ttf);
}
@font-face {
    font-family: 'Geist';
    src: url(../../Fonts/Geist/Geist-VariableFont_wght.ttf);
}
body {
    font-family: 'Geist', sans-serif;
    font-size: 16px;
    color: #000000;
    background-color: #ffffff;
}

.navbarWrapper {
    background-color: transparent;
}
.navbarMain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 100%);
    transition: background-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.navbarMain #navbarBrand,
.navbarMain #navbarLinks a {
    color: #FFFFFF;
    text-shadow: none;
}
.navbarMain .nav-link.active {
    text-decoration: underline;
    text-underline-offset: 6px;
}
.navbarMain .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.7);
}
.navbarMain .navbar-toggler-icon {
    filter: none;
}
.navbarMain.navbar--scrolled {
    background: #FFFFFF;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.navbarMain.navbar--scrolled #navbarBrand,
.navbarMain.navbar--scrolled #navbarLinks a {
    color: #000000;
    text-shadow: none;
}
.navbarMain.navbar--scrolled .navbar-toggler {
    border-color: rgba(0, 0, 0, 0.3);
}
.navbarMain.navbar--scrolled .navbar-toggler-icon {
    filter: invert(1) !important;
}
.aboutSection {
    margin-top: -25px;
}
.sectionTitle {
    margin-bottom: 20px;
    font-size: 2.5rem;
}
.aboutContentRow {
    margin-top: 0;
}
.missionVisionRow {
    margin-top: 75px;
    margin-left: 60px;
    margin-right: 60px;
}
.missionVisionRow .col-md-6 {
    padding: 0 70px;
    margin-top: 15px;
    text-align: justify;
}
.historySection {
    margin-top: 60px;
}
.meetTheCouncil {
    margin-top: 70px;
}
.council-slider {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.council-window {
    overflow: hidden;
    width: 100%;
}
.council-track {
    display: flex;
    align-items: center;
    transition: transform var(--council-slide-duration, 0.5s) var(--council-slide-ease, ease);
    will-change: transform;
}
.council-card {
    flex: 0 0 33.333%;
    max-width: 33.333%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.council-card img {
    max-width: 260px;
}
.council-btn-prev,
.council-btn-next {
    width: 56px;
    height: 56px;
    top: 50%;
    transform: translateY(-50%);
}
.council-btn-prev {
    position: absolute;
    left: -70px;
}
.council-btn-next {
    position: absolute;
    right: -70px;
}
@media (max-width: 1100px) {
    .council-btn-prev {
        left: -20px;
    }
    .council-btn-next {
        right: -20px;
    }
}
@media (max-width: 992px) {
    .council-card {
        flex: 0 0 100%;
        max-width: 100%;
    }
}
@media (max-width: 991.98px) {
    .missionVisionRow .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}
@media (max-width: 1199.98px) {
    .navbarMain #navbarLinks .nav-link::after {
        background-color: rgba(255, 255, 255, 0.35);
    }
    .navbarMain.navbar--scrolled #navbarLinks .nav-link::after {
        background-color: rgba(0, 0, 0, 0.25);
    }
}
@media (max-width: 768px) {
    .council-track {
        --council-slide-duration: 0.8s;
        --council-slide-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
    }
    .navbarMain {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
    }
    .council-card {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .council-btn-prev {
        left: -10px;
    }
    .council-btn-next {
        right: -10px;
    }
    #goToTop {
        width: 44px;
        height: 44px;
        padding: 0;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0 !important;
        color: transparent;
    }
    #goToTop i {
        font-size: 18px;
        margin: 0;
        color: #ffffff;
    }
}
.homeBanner {
    width: 100%;
    display: block;
    margin: 0 0 -50px 0;
    padding: 0;
}
.homeBannerImage {
    width: 100%;
    height: auto;
    display: block;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Charis SIL Bold', serif;
    color: #FE993C;
}
#imgLandscape {
    width: 510px;
    height: 270px;
    box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.1);
}
#imgPortrait {
    width: 100%;
    height: 450px;
    max-width: 280px;
    object-fit: cover;
    object-position: center;
    border-radius: 5px;
    margin-left: 10px;
    margin-right: 10px;
    box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.1);
}
#carouselImg {
    width: auto;
    height: 350px;
    box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.1);
}
.carouselBtn .carousel-control-prev-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23FE993C' viewBox='0 0 8 8'%3E%3Cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E") !important;
}
.carouselBtn .carousel-control-next-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23FE993C' viewBox='0 0 8 8'%3E%3Cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E") !important;
}
#goToTop {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: #DE710C;
    color: white;
    cursor: pointer;
    padding: 10px;
    border-radius: 10px;
    font-size: 16px;
    font-family: 'Geist', sans-serif;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease-in-out;
}
#goToTop:hover {
  background-color: #ffffff;
  color: #DE710C;
  outline: #DE710C solid 2px;
  font-family: 'Geist', sans-serif;
  box-shadow: 2px 2px 6 rgba(0, 0, 0, 0.2);
}
.fa-arrow-up:hover, .fa-solid:hover {
    color: #DE710C !important;
}
@media (max-width: 768px) {
    .council-carousel {
        padding: 0 20px;
    }
    .council-track {
        min-height: 420px;
    }
    .council-card.is-left,
    .council-card.is-right {
        opacity: 0;
        transform: translateX(-50%) scale(0.85);
        pointer-events: none;
    }
    #imgLandscape {
        width: 100% !important;
        height: auto !important;
    }
    #imgPortrait {
        width: 100% !important;
        height: 300px !important;
        max-width: 220px;
        object-fit: cover;
        object-position: center;
        border-radius: 5px;
        margin-left: 8px;
        margin-right: 8px;
    }
    .carousel-item .d-flex {
        flex-direction: column !important;
        align-items: center !important;
    }
    .carousel-item figure {
        margin: 0 auto !important;
    }
    #carouselImg {
        width: 200px !important;
        height: auto !important;
    }
    .aboutSection .col-md-8 {
        margin-top: 20px;
    }
    .aboutSection, .historySection, .meetTheCouncil {
        margin-top: 50px;
    }
    .missionVisionRow {
        margin-top: 40px;
        margin-left: 10px;
        margin-right: 10px;
    }
    .missionVisionRow .col-md-6 {
        padding: 0 10px;
        margin-top: 10px;
    }
    p {
        font-size: 14px;
    }
}
