body
{
    margin: 0;
    padding: 0;
}

:root
{
    --btn-color: #097969;
    --hover-btnColor: #478778;
    --icon-color: #097969;
    --subbody-bgcolor: #F5F5F5;
    --border-color--grey: #E8E8E8;
    --checkout-form-color: #C0C0C0;
}

a
{
    text-decoration: none;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

/* ---------- Home Page ------------- */
/* ------- top header ------- */
.top_header
{
    margin: 0 5vw;
    padding: 15px 0;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-color--grey);
}

.top_header .social_media_icons .bx
{
    border: 1px solid #F8F8F8;
    padding: 5px;
    color: #484848;
    background-color: #F8F8F8;
    border-radius: 50%;
    font-size: 10px;
}

.top_header .social_media_icons .bx:hover
{
    background-color: #484848;
    color: white;
}

.top_header .contact_info .location 
{
    font-size: 12px;
    color: #484848;
    margin-left: 50px;
    text-align: right;
}

.top_header .contact_info .location .bx
{
    color: var(--icon-color);
}

/* --------- second header -------- */
.second_header
{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 5vw;
    padding: 10px 0;
}

.second_header .logo img
{
    width: 200px;
    height: 118px;
}

.second_header .header_links a 
{
    font-size: 15px;
    color: grey;
    padding: 0 5px;
}

.second_header .header_links .active
{
    color: #000;
}

.second_header .header_links a:hover
{
    color: #000;
}

.second_header .donation_section
{
    display: flex;
    align-items: center;
}

.second_header .donation_section img
{
    width: 45px;
    height: 45px;
    margin-right: 10px;
}

.second_header .donation_section .volunteer span:first-child
{
    font-size: 12px;
    color: grey;
}

.second_header .donation_section .volunteer span:last-child
{
    font-weight: bold;
    font-size: 15px;
    color: black;
}

.second_header .donation_section .donation_button 
{
    background-color: var(--btn-color);
    color: white;
    padding: 10px 25px;
    border-radius: 5px;
    font-size: 14px;
    margin-left: 10px;
}

.second_header .donation_section .donation_button:hover
{
    background-color: var(--hover-btnColor);
}

.second_header .toggle_button
{
    display: none;
}

.second_header .toggle_button img
{
    width: 45px;
}

/* --------------- side panel --------------- */
.sidepanel  
{
    width: 0;
    position: fixed;
    z-index: 1;
    height: 100%;
    top: 0;
    right: 0;
    background-color: #111;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
}
  
.sidepanel a 
{
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 25px;
    color: #818181;
    display: block;
    transition: 0.3s;
}
  
.sidepanel a:hover 
{
    color: #f1f1f1;
}
  
.sidepanel .closebtn 
{
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
}
  
/* ------ landing image ------- */
.landing_image
{
    width: 100%;
    height: 500px;
    background-color: var(--btn-color);
    background-image: url('images/land_1.jpg');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
}

/* ---- sub body section a ----- */
.sub_body_section_a
{
    display: flex;
    padding: 60px 0;
    justify-content: center;
    flex-wrap: wrap;
}

.sub_body_section_a a 
{
    margin: 0 10px;
}

.sub_body_section_a .sub_section_i
{
    display: flex;
    align-items: center;
    width: 300px;
    padding: 20px;
}

.sub_body_section_a .sub_section_i:hover
{
    /* border: 1px solid var(--checkout-form-color); */
    border-radius: 10px;
    background-color: black;
}

.sub_body_section_a .sub_section_i:hover .note span:first-child,
.sub_body_section_a .sub_section_i:hover .note span:last-child
{
    color: white;
}

.sub_body_section_a .sub_section_i:nth-child(2)
{
    margin: 0 20px;
}

.sub_body_section_a .sub_section_i img
{
    width: 50px;
    height: 50px;
    border: 1px solid #FFFDD0;
    padding: 5px;
    background: #FFFDD0;
    border-radius: 50%;
}

.sub_body_section_a .sub_section_i .note
{
    margin-left: 10px;
}

.sub_body_section_a .sub_section_i .note span:first-child
{
    font-size: 18px;
    font-weight: bold;
    display: block;
    padding-bottom: 4px;
    color: #000;
}

.sub_body_section_a .sub_section_i .note span:last-child
{
    font-size: 13px;
    color: grey;
}

/* ------ landing image B ------- */
.landing_image_b
{
    width: 100%;
    height: 500px;
    background-color: var(--btn-color);
    background-image: url('images/land_2.jpg');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
}

/* ------ services ------- */
.services_section
{
    padding: 40px 0;
    background-image: url('images/service_bg.jpg');
    background-repeat: no-repeat;
    /* background-attachment: fixed; */
    background-size: cover;
}

.services_section .services_section_sub_a
{
    display: block;
    text-align: center;
    font-size: 13px;
    color: grey;
    font-weight: bold;
}

.services_section .services_section_sub_b
{
    font-size: 22px;
    display: block;
    text-align: center;
    font-weight: bold;
    padding: 10px 0;
}

.services_section .services_section_sub_c
{
    display: block;
    margin: auto;
    text-align: center;
    font-size: 14px;
    color: grey;
}

.services_section .services_section_sub_c_div
{
    display: block;
    margin: auto;
    width: 500px;
}

.services_section .services_items
{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding-top: 30px;
}

.services_section .services_items a
{
    color: black;
}

.services_section .services_items .service_item
{
    padding: 20px 10px;
    width: 150px;
    border: 1px solid var(--border-color--grey);
    border-radius: 10px;
    margin: 10px;
    background: white;
}

.services_section .services_items .service_item .service_item_sub_a,
.services_section .services_items .service_item .service_item_sub_b
{
    display: block;
    text-align: left;
}

.services_section .services_items .service_item .service_item_sub_a
{
    font-size: 16px;
    font-weight: bold;
}

.services_section .services_items .service_item .service_item_sub_b
{
    margin-top: 5px;
    font-size: 12px;
    color: grey;
}

.services_section .services_items .service_item img
{
    width: 50px;
    height: 50px;
    border: 1px solid #FFFDD0;
    padding: 5px;
    background: #FFFDD0;
    border-radius: 50%;
}

/* ------- contact us ------- */
.contact_us
{
    padding: 40px 0;
    background-image: url('images/contact_bg.jpg');
    background-repeat: no-repeat;
    /* background-attachment: fixed; */
    background-size: cover;
}

.contact_us form
{
    width: 350px;
    margin: 0 20px;
    margin-top: 30px;
}

.contact_us .contact_fill_info form input[type=text]
{
    display: block;
    width: 100%;
    height: 35px;
    margin-bottom: 10px;
    border: 1px solid var(--checkout-form-color);
    border-radius: 5px;
    padding: 0 10px;
    outline: none;
    -moz-box-sizing:border-box;
    -webkit-box-sizing:border-box;
    box-sizing:border-box;
}

.contact_us .contact_fill_info form input[type=text]:focus
{
    border: 1px solid var(--btn-color);
}

.contact_us .contact_fill_info form textarea
{
    width: 100%;
    margin-bottom: 10px;
    resize: none;
    border: 1px solid var(--checkout-form-color);
    border-radius: 5px;
    padding: 10px;
    outline: none;
    -moz-box-sizing:border-box;
    -webkit-box-sizing:border-box;
    box-sizing:border-box;
}

.contact_us .contact_fill_info form textarea:focus
{
    border: 1px solid var(--btn-color);
}

.contact_us .contact_fill_info form input[type=submit]
{
    width: 120px;
    padding: 10px 0;
    background: var(--btn-color);
    color: white;
    border: 1px solid var(--btn-color);
    cursor: pointer;
    border-radius: 5px;
}

.contact_us .contact_fill_info form input[type=submit]:hover
{
    background: var(--hover-btnColor);
}

.contact_us .contact_headings span
{
    display: block;
    text-align: center;
}

.contact_us .contact_headings span:nth-child(1)
{
    color: grey;
    font-weight: bold;
    font-size: 13px;
}

.contact_us .contact_headings span:nth-child(2)
{
    font-weight: bold;
    font-size: 22px;
    margin-top: 10px;
}

.contact_us .contact_fill_info .contact_fill_view img
{
    width: 400px;
    margin: 0 20px;
    border-radius: 15px;
    margin-top: 30px;
    /* height: 267px; */
}

.contact_us .contact_fill_info
{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
}

/* ---------- footer ------- */
.footer
{
    padding: 20px 0;
    background-color: #E5E4E2;
}

.footer .footer_section_a
{
    margin: 0 10vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--checkout-form-color);
    flex-wrap: wrap;
}

.footer .footer_section_a img
{
    width: 200px;
    height: 118px;
    color: white;
}

.footer .footer_section_a .footer_links
{
    text-align: right;
}

.footer .footer_section_a .footer_links a
{
    margin-left: 10px;
    color: black;
}

.footer .footer_section_a .footer_links a:hover
{
    color: grey;
}

.footer .footer_section_b
{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin: 0 10vw;
    padding: 20px 0;
}

.footer .footer_section_b .footer_socials .bx
{
    border: 1px solid #F8F8F8;
    padding: 5px;
    color: #484848;
    background-color: #F8F8F8;
    border-radius: 50%;
    font-size: 10px;
}

.footer .footer_section_b .footer_socials .bx:hover
{
    background-color: #484848;
    color: white;
}

/* ====================================================================== */
/* ----------------------- Donation and volunteer -------------------------- */
.donate_body
{
    display: flex;
    justify-content: space-between;
    height: 100vh;
}

.section_a
{
    height: 100vh;
    flex-basis: 60%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-image: url('images/section_a_bg.jpg');
    background-repeat: no-repeat;
    /* background-attachment: fixed; */
    background-size: cover;
}

.section_a form
{
    width: 60%;
    display: block;
    margin: auto;
}

.section_a img 
{
    width: 200px;
}

.section_a .heading
{
    font-size: 25px;
    font-weight: bold;
}

.section_a .sub_heading
{
    display: block;
    color: grey;
    font-size: 13px;
    font-weight: normal;
    border-bottom: 1px solid grey;
    padding-top: 10px;
    padding-bottom: 5px;
}

.section_a form input[type=text],
.section_a form input[type=number]
{
    width: 100%;
    height: 40px;
    border-radius: 5px;
    outline: none;
    border: 1px solid var(--btn-color);
    padding-left: 10px;
    -moz-box-sizing:border-box;
    -webkit-box-sizing:border-box;
    box-sizing:border-box;
}

.section_a form input[type=submit]
{
    margin-top: 20px;
    display: block;
    width: 100%;
    height: 40px;
    border-radius: 5px;
    font-size: 17px;
    cursor: pointer;
    font-weight: bold;
    background-color: var(--btn-color);
    border: 1px solid var(--btn-color);
    color: #fff;
}

.section_a form input[type=submit]:hover
{
    background-color: var(--hover-btnColor);
}

.section_b
{
    flex-basis: 45%;
    background-color: var(--btn-color);
    height: 100vh;
    background-image: url('images/donation_bg.jpg');
    background-repeat: no-repeat;
    /* background-attachment: fixed; */
    background-size: cover;
}

.section_b_volunteer
{
    flex-basis: 45%;
    background-color: var(--btn-color);
    height: 100vh;
    background-image: url('images/volunteer.jpg');
    background-repeat: no-repeat;
    /* background-attachment: fixed; */
    background-size: cover;
}

/* ====================================================================== */
/* ----------------------- Project Page -------------------------- */
.project_landing_image
{
    width: 100%;
    height: 500px;
    background-color: var(--btn-color);
    background-image: url('images/project_header.jpg');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
}

.select_projects
{
    margin: 50px 5vw;
    border-bottom: 1px solid var(--border-color--grey);
}

.select_projects a 
{
    font-size: 30px;
    color: black;
    display: inline-block;
    padding-bottom: 10px;
}

.project_item
{
    width: 98%;
    height: 500px;
    background-color: var(--btn-color);
    background-image: url('images/project_item.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    display: block;
    margin: auto;
    margin-bottom: 20px;
    position: relative;
}

.project_item_2
{
    width: 98%;
    height: 500px;
    background-color: var(--btn-color);
    background-image: url('images/project_item_2.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    display: block;
    margin: auto;
    margin-bottom: 20px;
    position: relative;
}

.project_item_3
{
    width: 98%;
    height: 500px;
    background-color: var(--btn-color);
    background-image: url('images/project_item_3.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    display: block;
    margin: auto;
    margin-bottom: 20px;
    position: relative;
}

.project_item:hover,
.project_item_2:hover,
.project_item_3:hover
{
    box-shadow: 2px 2px 8px 5px #000;
}

.project_item_note
{
    z-index: 1;
    background-color: #000;
    opacity: 0.8;
    position: absolute;
    right: 0;
    top: 350px;
    width: 400px;
    padding: 20px 0;
    border-radius: 10px 0 0 10px;
}

.project_item_note span
{
    color: #fff;
    font-weight: bold;
    margin-left: 20px;
    font-size: 20px;
}

.project_item_note span .sub_note
{
    display: block;
    padding-top: 10px;
    font-size: 15px;
}

/* ========================================================================= */
/* -------------------------- blog page ---------------------------- */
.blog_header
{
    width: 100%;
    height: 500px;
    background-color: var(--btn-color);
    background-image: url('images/project_item.jpg');
    background-repeat: no-repeat;
    background-size: cover;
}

.write_blog_section
{
    margin: 0 10vw;
}

.write_blog_section .blog_title
{
    text-align: center;
    font-size: 40px;
    font-weight: bold;
}

.write_blog_section .sub_title
{
    font-weight: bold;
    font-size: 18px;
}

/* Gallery styles */
.gallery {
    gap: 15px;
    margin-top: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 20px;
    background-color: var(--hover-btnColor);
}

.gallery-item {
    overflow: hidden;
    border-radius: 8px;
}

.gallery-img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.gallery-img:hover {
    transform: scale(1.05);
}

/* Lightbox styles */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
    flex-direction: column;
}

.lightbox-img {
    max-width: 80%;
    max-height: 80%;
    margin-bottom: 20px;
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 30px;
    color: white;
    cursor: pointer;
}

.lightbox-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.lightbox-controls button {
    background-color: #fff;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 20px;
    border-radius: 5px;
}

.lightbox-controls button:hover {
    background-color: #ddd;
}


/* ================== Responsiveness =================== */
/* -------- width for 1041px --------- */
@media only screen and (max-width: 1041px)
{
    .second_header .header_links,
    .second_header .donation_section
    {
        display: none;
    }

    .second_header .toggle_button
    {
        cursor: pointer;
        display: block;
    }
}

/* -------- width for 791px --------- */
@media only screen and (max-width: 791px)
{
    .donate_body
    {
        display: block;
    }

    .section_a
    {
        display: block;
        padding: 30px;
    }

    .section_b_volunteer,
    .section_b
    {
        display: none;
    }
}

/* -------- width for 600px --------- */
@media only screen and (max-width: 660px)
{

}

/* -------- width for 600px --------- */
@media only screen and (max-width: 600px)
{
    .top_header
    {
        flex-wrap: wrap;
    }

    .top_header .contact_info .location
    {
        text-align: left;
        margin-left: 0px;
        margin-top: 10px;
    }

    .services_section .services_section_sub_c_div
    {
        width: 300px;
    }

    .footer .footer_section_a .footer_links
    {
        margin: 20px 0;
    }

    .section_a form
    {
        width: 90%;
    }
}

/* ----------- height for 572px ---------------- */
@media only screen and (max-height: 599px)
{
    .donate_body
    {
        display: block;
    }

    .section_a
    {
        display: block;
        padding-top: 50px;
        padding-bottom: 200px;
        height: 100vh;
    }

    .section_b_volunteer,
    .section_b
    {
        display: none;
    }
}

/* -------- width for 500px --------- */
@media only screen and (max-width: 500px)
{
    .project_item_note
    {
        width: 300px;
    }
}

/* -------- width for 400px --------- */
@media only screen and (max-width: 400px)
{
    .contact_us .contact_fill_info .contact_fill_view img
    {
        width: 300px;
    }

    .services_section .services_items .service_item
    {
        width: 200px;
    }

}