:root {
    --primary-color: #ef7f1b;
    --bg-color-white: #f9f9fb;
    --bg-color-grey: #f4f4f4;
    --text-color-primary: #0e1f2b;
    --text-color-secondary: #7a7a7a;
    --secondary-color: #0b60a3;
    --button-clicked-secondary-color: #f3b505;
}

a {
    text-decoration: none;
}
p {
    white-space: normal; /* allow wrapping */
    word-break: break-word; /* older browsers */
    overflow-wrap: break-word; /* modern browsers */
}

.container img {
  max-width: 100%;   /* never exceed container width */
  height: auto;      /* scale proportionally */
  /*display: block; */    /* removes inline gaps, optional */
}

.display-6 {
    font-weight: 600 !important;
}
.color-white {
    color: var(--bg-color-white);
}
.event_data {
    a {
        color: var(--text-color-primary);
    }
}

section {
    /* padding: 80px 0; */
}
.padding_80 {
    padding: 80px 0;
}

.header_info {
    display: flex;
    justify-content: center;
    align-items: center;
}

.header_fa {
    font-size: 30px;
    color: var(--primary-color);
}


.icon_circle {
    border: 1px solid var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
}
.header_info_content p {
    margin: 0;
}

.icon_div {
    margin-right: 10px;
    padding: 16px 0;
}
.icon_div i {
    font-size: 56px;
    color: var(--bg-color-white);
}

.icon_circle i {
    font-size: 24px;
    color: var(--primary-color);
}

@media (max-width: 576px) {
    /* for mobile */
    .header_info {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }
    .header_info_content {
        text-align: center;
    }
    .icon_circle i {
        font-size: 16px;
    }
    .icon_circle {
        width: 36px;
        height: 36px;
    }
    .header_info_content h6 {
        font-size: 14px;
    }
    .header_info_content p {
        font-size: 12px;
    }
    .header_donate_btn{
        width: 100%;
    }
}

/******************** Buttons****************/
.btn {
    font-size: 14px;
    padding: 12px 32px;
}

.btn-md-round-solid {
    background-color: var(--primary-color);
    color: var(--bg-color-white);
    border-radius: 30px;
}

.btn-md-round-solid:hover {
    border: 2px solid var(--primary-color);
    background-color: var(--bg-color-white);
    color: var(--primary-color);
}

.btn-sm-round-white {
    border: 2px solid var(--primary-color);
    background-color: var(--bg-color-white);
    color: var(--primary-color);
    border-radius: 30px;
    padding: 6px 16px;
    font-size: 12px;
}

.btn-sm-round-white:hover {
    background-color: var(--primary-color);
    color: var(--bg-color-white);
}

.btn-md-round-white {
    border: 2px solid var(--primary-color);
    background-color: var(--bg-color-white);
    color: var(--primary-color);
    border-radius: 30px;
}

.btn-md-round-white:hover {
    background-color: var(--primary-color);
    color: var(--bg-color-white);
}

.btn-md-round-hollow {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 30px;
}

.btn-md-round-hollow-white {
    border: 2px solid var(--bg-color-white);
    color: var(--bg-color-white);
    border-radius: 30px;
}
.btn-md-round-hollow-white:hover {
    color: var(--primary-color);
    background-color: var(--bg-color-white);
}

.dropdown-item.active,
.dropdown-item:active {
    background-color: var(--primary-color);
}

/******************** Buttons****************/
.sticky-top {
    top: -100px;
    transition: 0.5s;
}

.navbar_top {
    background-color: var(--secondary-color);
    border-bottom: 2px solid var(--primary-color);
}
.navbar .navbar-nav .nav-link {
    margin-right: 24px;
    padding: 25px 0;
    color: var(--bg-color-white);
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 600;
    outline: none;
}

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

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        top: 120%;
        opacity: 0;
        border: none;
        margin-top: 0;
        visibility: hidden;
        transition: 0.5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        visibility: visible;
        top: 100%;
        opacity: 1;
        transition: 0.5s;
    }
}

.home-carousel .owl-nav {
    position: absolute;
    /* background: red; */
    bottom: 15%;
    /* margin: 0 auto; */
    left: 50%;
    display: flex;
    gap: 16px;
}

.home-carousel .owl-prev,
.home-carousel .owl-next {
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.5s;
    color: var(--primary-color);
}
.home-carousel .owl-prev > .bi-arrow-left,
.home-carousel .owl-next > .bi-arrow-right {
    font-size: 16px;
}
.home-carousel .owl-prev:hover,
.home-carousel .owl-next:hover {
    background: var(--primary-color);
    color: var(--bg-color-white) !important;
}

.home-carousel .home-slider-item .content {
    position: absolute;
    top: 15%;
    /* width: 100%;
    max-width: 80%; */
    left: 15%;
    transform: translateX(-20%);
    color: white;
    /* background-color: rgba(19,19,18,0.6); */
    /* text-shadow: 0 50px 10px #0004; */
    border-radius: 20px;
    padding: 1.5rem;
}

/* .home-carousel .home-slider-item .content .sub_head{
    font-size: 2rem;
    line-height: 130%;
} */

.home-carousel .home-slider-item .content .head_part {
    font-size: 3rem;
    font-weight: bold;
    line-height: 100%;
    margin: 10px 0;
    text-transform: uppercase;
    display: inline-block;
    background: var(--primary-color);
    padding: 8px 16px;
}

.home-carousel .home-slider-item .content .head {
    font-size: 3.5rem;
    font-weight: bold;
    line-height: 100%;
    text-transform: uppercase;

    background: var(--secondary-color);
    padding: 8px 16px;
}

/*** Home Box***/
.hbox1 {
    background: url("../img/home_box1.jpg");
}
.hbox2 {
    background: url("../img/home_box2.jpg");
}
.hbox3 {
    background: url("../img/home_box3.jpg");
}
.home_box {
    position: relative;
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    margin-top: -110px;
    z-index: 1;
}

.home_box::before {
    position: absolute;
    content: "";
    background-color: rgb(239 127 27 / 89%);
    width: 100%;
    height: 100%;
    z-index: -1;
}

.icon_div,
.home_box_link,
.home_box_copy,
.home_box_button {
    text-align: center;
}

.home_box_link {
    margin-bottom: 10px;
}
.home_box_link a {
    font-size: 24px;
    color: var(--bg-color-white);
    font-weight: 600;
}

.home_box_copy {
    color: var(--bg-color-white);
    margin-bottom: 10px;
    padding: 1rem;
}

.home_box_button {
    padding-bottom: 25px;
}

/*** Home Box***/

/*** Headings***/
.heading1,
.heading3,
.heading4 {
    text-align: center;
    display: inline-block;
    position: relative; /* required for ::before absolute positioning */
    display: inline-block; /* keeps width tight around the text */
    padding-bottom: 16px;
}

.heading2 {
    display: inline-block;
    position: relative;
    padding-bottom: 16px;
    color: var(--bg-color-white);
}
/*****::before********/

.heading1::before,
.heading3::before,
.heading4::before {
    content: "";
    position: absolute;
    bottom: -10px; /* adjust spacing below heading */
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 5px;
    background: var(--primary-color);
}
.heading2::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 90px;
    height: 5px;
    background: var(--primary-color);
}

/*****::before********/

/* .heading3::before,
.heading4::before {
    content: "";
    position: absolute;
    bottom: -10px; 
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 5px;
    background: var(--primary-color);
} */
/* .heading4::before {
    left: 30%;
} */
.welcome {
    position: relative;
    background: url("../img/welcome.webp");
    /* padding: 80px 0; */
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    z-index: 1;
}

.welcome::before {
    content: "";
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    background-color: rgba(11, 97, 163, 0.9);
    z-index: -1;
}
.welcome p {
    color: var(--bg-color-white);
}

/*****need_help*****/
.need_help {
    /* padding: 80px 0; */
}

/*****need_help*****/

/*********counter**********/

.counter {
    background: var(--primary-color);
    color: var(--bg-color-white);
}

.counter h2,
.counter h3 {
    color: var(--bg-color-white);
}

.counter_box {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.counter_icon {
    width: 100px;
    height: 100px;
    border: 2px solid white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.counter_icon i {
    font-size: 50px;
}
/*********counter**********/

/*********impact*************/
.impact_item {
    display: flex;
    align-items: center;
    justify-content: center;
}

.impact_card {
    width: 85%;
    background: var(--bg-color-grey);
    padding: 20px;
}

.impact_carousel .owl-nav {
    display: flex;
    justify-content: flex-end;
    margin-right: 10%;
}
.impact_carousel .owl-nav i {
    font-size: 32px;
    color: var(--primary-color);
}

/*********impact*************/

/**********volunteers**************/
.volunteers {
    background-color: var(--bg-color-grey);
}
.volunteers .card-text {
    color: var(--primary-color);
    font-weight: 700;
}

.volunteers p:not(.card-text) {
    color: var(--text-color-secondary);
    margin: 0;
}
/**********volunteers**************/

/**********testnimonial***********/
.testimonial_carousel {
    position: relative;
}
.testnimonial_item {
    display: flex;
    justify-content: center;
    align-items: center;
}
.testimonial_data {
    width: 60%;
    text-align: center;
}

.testimonial_data .testnimonial_icon i {
    font-size: 50px;
    color: var(--primary-color);
    margin-bottom: 20px;
}
.testnimonial_text {
    margin-bottom: 20px;
}

.testimonial_carousel .owl-nav {
    position: absolute;
    top: 50%;
    left: 10%;
    width: 80%;
    display: flex;
    justify-content: space-between;
}
.testimonial_carousel .owl-nav i {
    font-size: 40px;
    color: var(--primary-color);
}
/**********testnimonial***********/

/************Our events*************/

.events {
    position: relative;
    background: url("../img/events_background.webp");
    /* padding: 80px 0; */
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    z-index: 1;
}

.events::before {
    content: "";
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    z-index: -1;
}

.event_box {
    display: flex;
    margin-bottom: 15px;
}
.date_box {
    background: orange;
    padding: 10px 30px;
    text-align: center;
    color: white;
    /* width: 120px; */
    /* height: 120px; */
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 110px;
}
.date {
    font-size: 40px;
    font-weight: bold;
    line-height: 40px;
}
.month {
    font-size: 24px;
    font-weight: bold;
    line-height: 24px;
}
.year {
    font-weight: bold;
}
.event_data {
    padding: 10px;
}
.time_info span {
    font-size: 14px;
}
.time_info span i {
    margin-right: 5px;
    color: orange;
}
.event_info {
    margin-top: 10px;
    margin-bottom: 0;
}
/************Our events*************/

/************News***********/
.news .card-body {
    padding: 1rem 0px;
}
.news_box {
    display: flex;
    align-items: flex-start;
}

.news_data {
    padding: 0 5px 5px 10px;
}

.news_data .card-text {
    font-size: 14px;
}

.news_date_box {
    background: orange;
    padding: 10px 30px;
    text-align: center;
    color: white;
    /* width: 120px; */
    /* height: 120px; */
    padding: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 76px;
}
.news_date {
    font-size: 24px;
    font-weight: bold;
    line-height: 24px;
}
.news_month {
    font-size: 18px;
    font-weight: bold;
    line-height: 18px;
}
.news_year {
    font-weight: bold;
}

/************News***********/

/***********Footer************/

.footer_icon {
    font-size: 24px;
}
.footer_icon_circle {
    border: 2px solid var(--bg-color-white);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    transition: 0.5s;
}
.footer_icon_circle:hover {
    cursor: pointer;
    background-color: var(--bg-color-white);
    color: var(--primary-color);
}
.footer_icon_container {
    justify-content: space-between;
}

.footer_designer {
    opacity: 0.1;
}

/***********Footer************/

.footer {
    background-color: var(--secondary-color);
    color: var(--bg-color-white);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--bg-color-white);
    font-weight: normal;
    text-transform: capitalize;
    transition: 0.3s;
    text-decoration: none;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--bg-color-white);
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--bs-primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.copyright {
    background: #222222;
}

.copyright a {
    color: var(--bs-white);
}

.copyright a:hover {
    color: var(--bs-primary);
}

@media (max-width: 576px) {
    .navbar-toggler {
        background-color: #53b0f9;
    }
    .navbar .navbar-nav .nav-link {
        padding: 5px 0;
    }
    .home_box {
        margin-top: 0px;
    }
    .head_part {
    }
    .home-carousel .home-slider-item .content .head_part {
        position: relative;
        font-size: 1rem;
        opacity: 0.8;
        top: 5% !important;
    }
    .home-carousel .home-slider-item .content .head {
        font-size: 1.2rem;
        padding: 8px 10px;
        width: 70%;
        opacity: 0.8;
    }
    .home-carousel .home-slider-item .content {
        top: 10%;
        padding: 0.5rem;
    }
    .owl-nav {
        display: none !important;
    }
    .btn-md-round-white {
        font-size: 12px;
    }
    .btn-md-round-solid {
        font-size: 14px;
    }
    .btn {
        padding: 8px 18px;
    }
    .home_box_section {
        margin-top: -1.5rem;
    }
    .icon_div {
        padding-top: 32px;
        padding-bottom: 12px;
    }
    .icon_div i {
        font-size: 16px;
    }
    .home_box .icon_div i {
        font-size: 40px;
    }
    .home_box_button {
        padding-bottom: 32px;
    }
    .home_box_link {
        margin-bottom: 0px;
    }
    .home_box_copy {
        margin-bottom: 0px;
        padding: 0.5rem 1rem;
    }
    .counter_icon {
        width: 65px;
        height: 65px;
    }
    .counter_icon i {
        font-size: 26px;
    }

    .counter_count h2 {
        font-size: 1.5rem;
        font-weight: 600;
    }
    .counter_text h3 {
        font-size: 1rem;
    }
}
