* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none !important;
    list-style: none !important;
    font-family: "Poppins", sans-serif;
}

p {
    margin-bottom: 0 !important;
}

body {
    margin: 0;
    padding: 0;
    background: var(--bg-color);
    overflow-x: auto;
}

:root {
    --section-padY: 3rem;
    --main-color: rgb(10, 143, 0);
    --main-light-color: rgb(112, 221, 104);
    --main2-color: #ff5401;
    /* --main2-color: #857E7B; */
    --bg-color: #f6f6fc;
}

/* ---- Header ---- */
.header {
    padding: 0.5rem;
    background: white;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header .logo img {
    width: 8rem;
}

.header .contactDetail {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    gap: 0.75rem;
}

.header .contactDetail div {
    display: flex;
    color: var(--main-color);
    font-weight: bold;
    letter-spacing: 0.05rem;
    font-size: 1rem;
    gap: 0.5rem;
    align-items: center;
}

.headerName {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.headerName p:first-child {
    color: var(--main-color);
}

.headerName p {
    color: var(--main2-color);
    font-weight: bold;
    font-size: 1.3rem;
}

.donateBtn {
    border-radius: 0 !important;
    background: var(--main2-color) !important;
    border: 0.12rem solid var(--main2-color) !important;
}

.donateBtn:hover {
    background: transparent !important;
    color: var(--main2-color) !important;
    font-weight: bold !important;
    border: 0.12rem solid var(--main2-color) !important;
}

.navbar {
    background: var(--main-color);
    padding: 0 !important;
    z-index: 100 !important;
    position: sticky !important;
    top: 0 !important;
}

.navlist {
    width: 100%;
    margin: 0;
    padding: 0.3rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navitem {
    position: relative;
}

.navitem a,
.navitem {
    color: white;
    transition: 0.2s linear;
    font-weight: bold;
    letter-spacing: 0.04rem;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.navitem a:hover {
    color: var(--main2-color);
}

.navitem:hover .submenu {
    visibility: visible;
    opacity: 1;
    z-index: 1001 !important;
    transform: translateY(0);
    transition-delay: 0s, 0s, 0.3s;
}

.submenu {
    background: white;
    position: absolute;
    margin-top: 1rem;
    margin-left: -0.5rem;
    width: max-content;
    visibility: hidden;
    opacity: 0;
    /* z-index: -1; */
    padding-left: 0;
    transform: translateY(-0.3rem);
    transition: all 0.3s ease-in-out 0s, visibility 0s linear 0.3s,
        z-index 0s linear 0.01s, transform 0.2s ease-in-out 0.2s;
}

.submenu .navitem a {
    color: black;
    transition: 0.2s linear;
}

.submenu .navitem {
    padding: 1rem 1.4rem;
    border-bottom: 0.12rem solid rgba(10, 143, 0, 0.4);
}

.submenu .navitem a:hover {
    color: var(--main-color);
}

.openMenu,
.closeMenu {
    display: none;
}

/* ---- Footer ---- */
.footer {
    margin-top: 3rem;
    width: 100%;
}

.footer-text a,
.footer-text p,
.footer-text a i,
.bottomFooter a {
    transition: 0.2s linear;
    cursor: pointer;
}

.footer-text p:hover,
.footer-text a:hover,
.footer-text a i:hover,
.bottomFooter a:hover {
    color: var(--main2-color) !important;
}

.bottomFooter {
    background: var(--main-color) !important;
    color: white;
}

/* ---- Page ---- */
.page-header {
    text-align: center;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    /* background: var(--main-light-color); */
    text-transform: capitalize;
    background: rgb(109 109 109);
    color: white;
    padding: 2rem 0;
    font-size: 1.8rem;
    margin-bottom: 3rem;
    font-weight: bolder;
}

/* HOme page */
.sliderImg img {
    width: 100%;
    height: 33.5em;
    object-fit: cover;
    position: relative;
    animation-name: sliderImg;
    animation-duration: 20s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}

@keyframes sliderImg {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.1);
    }
}

.sliderContent {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    color: white;
    z-index: 1 !important;
}

.sliderText {
    height: 100%;
    padding-left: 4rem;
    padding-right: 2rem;
    display: flex;
    font-size: .85rem !important;
    justify-content: end;
    align-items: center;
    flex-direction: column;
    animation-name: sliderText;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
    animation-duration: 4s;
    animation-delay: 0.5s;
    visibility: hidden;
    transition: 0.3s linear;
}

@keyframes sliderText {
    0% {
        visibility: visible;
        padding-top: 2rem;
    }

    100% {
        visibility: visible;
        padding-top: 0;
    }
}

.sliderText .title {
    font-size: 2.4rem;
    font-weight: bolder;
}

.sliderText,
.desc {
    font-weight: bold;
}

@media (max-width: 426px) {
    .sliderImg img {
        height: 15rem;
    }

    .sliderContent .title {
        font-size: 1.5rem;
    }

    .sliderContent .desc {
        font-size: 0.75rem;
    }
}
.homeActivityItem .card {
    height: 25 rem !important;
}

/* ---- About ---- */
.aboutUs-img {
    width: 100%;
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.aboutUs-desc {
    width: 100%;
}

.aboutUs-img img {
    height: 20rem;
    object-fit: scale-down;
}

.content-text a {
    padding: 0.6rem 0.7rem !important;
}
.content-text p {
    padding-bottom: 1rem !important;
}

/* ----- Program ------ */
/* Lisiting */
.programItem:hover {
    color: black;
}
.programItem {
    padding: 2rem 0;
    color: black;
    transition: 0.2s linear;
    margin: auto !important;
    /* border-bottom: .10rem solid rgba(0,0,0,.1); */
}
.programItem h1:hover,
.programItem p:hover {
    color: var(--main-color);
}
.programItem:last-child {
    border-bottom: none;
}
.programItem img {
    height: 13rem;
    width: 100%;
    object-fit: fill;
}
.programItem h1 {
    font-size: 1.5rem;
}
/* Showing */
.programSide {
    height: fit-content;
}
.sideTitle {
    padding: 1rem 0;
    font-weight: bold;
    font-size: 1.5rem;
    padding-bottom: 0.75rem;
    color: var(--main-color);
    border-bottom: 0.1rem solid rgba(0, 0, 0, 0.2);
}
.otherProgramItem {
    margin: 0;
    padding: 1rem 0;
    color: black;
    border-bottom: 0.1rem solid rgba(0, 0, 0, 0.2);
    font-weight: bold;
}
.otherProgramItem:last-child {
    border: none;
}
.otherProgramItem:hover {
    color: var(--main-color);
}

/* ----- Breakpoint ------ */

@media (max-width: 769px) {
    /* header */
    .openMenu {
        display: block;
        font-size: 1.5rem;
        color: var(--main-color);
        cursor: pointer;
        font-weight: 800;
    }

    .closeMenu {
        display: block;
        color: white;
        font-size: 1.6rem;
        font-weight: bolder;
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
    }

    .navbar {
        position: absolute !important;
        top: 0;
        left: 0;
        width: 100%;
        visibility: hidden;
        opacity: 0;
        transition: 0.3s linear;
    }

    .showNavbar {
        opacity: 1;
        visibility: visible;
    }

    .navlist {
        flex-direction: column;
        align-items: start;
    }

    .navitem {
        padding: 0.7rem 0;
        font-size: 0.85rem;
    }

    .headerName p {
        font-size: 1.3rem;
    }

    .header .contactDetail {
        display: none;
    }

    .header .logo img {
        width: 7rem;
    }

    /* footer */
    .footerAbout {
        display: none;
    }

    /* page */
    .page-header {
        font-size: 1.2rem;
    }

    /* Home */
    .homeActivityItem .card {
        height: 25rem !important;
        overflow: hidden;
    }
    .homeActivityItem .card-title,
    .activities-link {
        font-size: 1rem;
    }
    .homeActivityItem .card-text {
        font-size: 0.71rem !important;
    }

    .executiveElem {
        display: none;
    }

    .sideTitle {
        font-size: 1.2rem;
    }

    .aboutUs-img img {
        width: 100%;
    }

    .programItem h1 {
        font-size: 1rem;
        font-weight: bolder;
    }

    .programItem p {
        font-size: 0.75rem;
    }
}

@media (max-width: 426px) {
    /* header */
    .headerName {
        display: none !important;
    }

    /* page */
    .page-header {
        font-size: 1rem;
    }

    .sideTitle {
        padding-top: 4rem;
    }

    .programItem h1 {
        padding: 0.5rem 0;
        margin: 0;
    }

    .programSide,
    .otherProgramItem {
        margin: auto !important;
    }

    .otherProgramItem div {
        font-size: 0.8rem;
        padding: 0.4rem 0;
    }

    .otherProgramItem .img-fluid {
        height: 6rem !important;
    }

    .aboutUs-desc {
        font-size: 0.75rem;
    }

    .homeActivityItem .card {
        height: 20rem !important;
    }

    .homeProgramText h3 {
        font-size: 1rem !important;
    }

    .homeProgramText {
        font-size: 0.75rem !important;
    }

    .content-img img {
        height: 18rem !important;
        object-fit: fill !important;
    }
}

@media (max-width: 1441px) {
    .homeActivityItem .card {
        height: 24rem !important;
    }
}

@media (max-width: 1025px) {
    .homeActivityItem .card {
        height: 25rem !important;
    }
}

@media (max-width: 426px) {
    .homeActivityItem .card {
        height: 22rem !important;
    }
}

@media (max-width: 321px) {
    .homeActivityItem .card {
        height: 23rem !important;
    }
}
