* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

html {
    overflow-x: hidden;
}

img {
    -webkit-user-drag: none;
}

header {
    position: relative;
    width: 100%;
    height: 85vh;
    overflow: hidden;
}

/* nav bar */
.nav-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.nav-bar {
    display: flex;
    position: relative;
    width: 100%;
    margin-top: 0;
    padding: 6px;
    z-index: 2;
    padding: 10px 10px;
    justify-content: space-between;
}

.logo img {
    height: 50px;
    display: block;

    transition: transform 0.3s ease-in-out;
}

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

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 20px;
    padding: 10px;
}

.nav-links a {
    display: block;
    position: relative;
    align-items: center;
    text-decoration: none;
    font-size: 18px;
    font-family: "roboto", sans-serif;
    font-weight: bold;
    color: #fff;
}

.nav-links a:hover {
    color: rgb(20, 173, 6);
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 0%;
    background-color: #fff;
    transition: all .3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* home section */

.bg-video {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    object-fit: cover;
}

.content {
    position: relative;
    z-index: 2;
    color: #ffffff;
    font-size: 25px;
    font-family: 'Poppins', sans-serif;
    font-weight: bold;
    height: 80%;
    padding: 15px;
    display: flex;
    flex-direction: column;
    float: left;
    justify-content: center;
}

.content p {
    font-size: 18px;
    font-family: 'poppins', sans-serif;
    max-width: 600px;
    width: 100%;
    padding-top: 30px;
    padding-right: 50px;
}

/* About section  */
.about-text {
    text-align: center;
    text-decoration: underline;
    text-decoration-color: #02a70b;
    text-decoration-thickness: 5px;
    font-family: 'Open Sans', sans-serif;
    color: rgb(46, 46, 46);
    padding-top: 40px;
    padding-bottom: 40px;
}

.about-content {
    display: flex;
    padding: 15px;
    justify-content: center;
    gap: 30px;
    align-items: center;
    width: 100%;
    max-width: 100%;
}

.about-content img {
    height: 350px;
    border-radius: 5px;
    cursor: pointer;
}

.about-heading {
    display: block;
}

.about-heading h3 {
    display: block;
    text-align: left;
    font-size: 40px;
    font-family: 'Open Sans', sans-serif;
    color: #008f07;
    padding: 10px;
    padding-bottom: 35px;
    justify-content: center;
}

.about-heading p {
    font-size: 20px;
    font-family: 'poppins', sans-serif;
    justify-content: center;
}

/* Footer */
footer {
    margin: 0;
    padding: 0;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 1rem;
    color: #fff;
}


footer {
    background-color: #222222;
    padding-top: 50px;
}

.footer-container {
    width: 100%;
    max-width: 75rem;
    margin: auto;
    display: flex;
    justify-content: center;
}

.footer-content {
    width: 33.3%;
}

.footer-content h3 {
    color: #008f07;
}

h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    text-align: center;
}

.footer-content p {
    width: 195px;
    margin: auto;
    padding: 7px;
    padding-left: 55px;
    padding-right: 42px;
}

.footer-content a {
    text-decoration: none;
}

#email {
    color: #fff;
}

.footer-content ul {
    text-align: center;
    list-style: none;
}

.links1 {
    margin-right: 29px;
}

.list {
    padding: 0;
}

.list li {
    width: auto;
    text-align: center;
    list-style-type: none;
    padding: 7px;
    position: relative;
}

.list li::before {
    content: '';
    position: absolute;
    transform: translate(-50%, -50%);
    left: 50%;
    top: 100%;
    width: 0;
    height: 2px;
    background: #008f07;
    transition: .5s;
}

.list li:hover::before {
    width: 70px;
}

.social-icons {
    text-align: center;
    padding: 0;
}

.social-icons li {
    display: inline-block;
    text-align: center;
    padding: 5px;
}

.social-icons i {
    color: white;
    font-size: 25px;
}

.links1 a {
    text-decoration: none;
    color: #fff;
}

.links1 a:hover {
    color: #008f07;
}

.social-icons i:hover {
    color: #008f07;
}

.bottom-bar {
    background-color: #00a008;
    padding: 10px 0;
    text-align: center;
    margin-top: 50px;
}

.bottom-bar p {
    color: #343434;
    margin: 0;
    font-size: 16px;

    padding: 7px;
}

/* Information Boxes */
.box-container {
    width: 100%;
    max-width: 1400px;
    margin: 50px auto;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 20px;
    flex-wrap: nowrap;
    padding: 0 20px;
}

.box {
    flex: 1;
    border: 2px solid #00a008;
    text-align: center;
    padding: 40px 20px;
    border-radius: 7px;
    transition: 0.5s ease-in-out;
    cursor: pointer;
}

.box-container .box:hover {
    transform: translateY(-35px);
    box-shadow: 0 12px 25px rgba(0, 160, 8, .2);
}

.box img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 20px;
}

.box h3 {
    color: #00a008;
    font-size: 2.2rem;
    font-family: 'Open Sans', sans-serif;
    margin-bottom: 20px;
}

.box p {
    color: #9c9c9c;
    font-size: 2rem;
    font-family: 'Open Sans', sans-serif;
}

/* gallery */

.gallery {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
}

.gallery img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    padding: 5px;
    border-radius: 10px;
    transition: .5s ease-in-out;
    cursor: pointer;
}

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

.column {
    display: flex;
    flex-direction: column;
    padding: 5px;
}

/* Our Campaigns card */
.card-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    flex-wrap: wrap;
    overflow: visible;
    gap: 20px;
}

.card {
    display: block;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    width: 300px;
    height: 370px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
    width: 260px;

    background-color: #fffdfd;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0, 160, 8, .2);
}

.card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform .3s ease-in-out;
}

.card img:hover {
    transform: scale(1.08);
}

.card-content {
    padding: 20px;
}

.card-content h1 {
    font-size: 1.5rem;
    font-family: 'Open Sans', sans-serif;
    color: #008f07;
    margin-bottom: 10px;
}

.card-content p {
    font-size: 1rem;
    font-family: 'Open Sans', sans-serif;
    color: #555;
    line-height: 1.3;
}

.card-text h1 {
    text-align: center;
    font-size: 2.5rem;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    color: #008f07;
    padding: 10px;
}

/* contact us */
.contact-container {
    display: flex;
    width: 100%;
    height: 500px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background-image: url(/Assets/Volunteers\ images/tree\ line.jpg);
    border-radius: 8px 8px 0 0;
    background-size: cover;
    background-position: center;
}

.contact {
    width: 40%;
    height: 80%;
    align-items: center;
    justify-content: center;
    background-color: rgba(46, 46, 46, 0.3);
    backdrop-filter: blur(8px);
    border-radius: 10px;
}

.contact h1 {
    font-size: 2.5rem;
    font-family: 'Open Sans', sans-serif;
    text-align: center;
    color: #ffff;
    padding: 20px;
}

.group1 input {
    width: 80%;
    height: 40px;
    padding: 15px;
    margin: 10px auto;
    display: block;
    font-size: 18px;
    background: white;
    font-family: "open sans", sans-serif;
    border: none;
    border-color: #00a008;
    border-radius: 4px;
}

.group1 input:hover {
    border: 1px solid #00a008;
    box-shadow: 0 0 5px #00a008;
}

.group2 textarea {
    display: block;
    width: 80%;
    height: 100px;
    font-size: 18px;
    font-family: "open sans", sans-serif;
    border-radius: 4px;
    border: none;
    resize: none;
    margin: 10px auto;
    padding: 10px;
}

.group2 textarea:hover {
    border: 1px solid #00a008;
    box-shadow: 0 0 5px #00a008;
}

.group1 input:focus,
.group2 textarea:focus {
    outline: none;
    border: 1px solid #00a008;
    box-shadow: 0 0 5px #00a008;
}

.contact-btn {
    display: block;
    width: 40%;
    height: 40px;
    margin: 20px auto;
    background-color: #00a008;
    color: white;
    font-size: 20px;
    font-family: "open sans", sans-serif;
    border-radius: 6px;
    border: none;
    cursor: pointer;

    transition: 0.3s ease-in-out;
}

.contact-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px #097e09;
}

/* Contact Toast Notification */

.toast {
    position: fixed;

    top: 20px;
    right: 20px;

    max-width: 400px;

    background: #ffffff;
    color: #333;

    padding: 14px 22px;

    border-radius: 10px;

    font-size: 16px;
    font-weight: 500;

    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);

    opacity: 0;
    visibility: hidden;

    transform: translateY(-20px);

    transition:
        opacity 0.35s ease,
        transform 0.35s ease,
        visibility 0.35s ease;

    z-index: 9999;
}

.toast.show {
    opacity: 1;
    visibility: visible;

    transform: translateY(0);
}


/* ==========================================
   VIDEO SECTION
========================================== */

.video-section {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center;
    box-sizing: border-box;
    overflow: hidden;
}

.video-section h1 {
    text-align: center;
    font-size: 35px;
    font-family: "Open Sans", sans-serif;
    color: #02a70b;
    padding-top: 30px;
    margin: 0;
}

.video-section p {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    font-size: 20px;
    font-family: "Open Sans", sans-serif;
    line-height: 1.6;
    padding: 20px;
    box-sizing: border-box;
}

.video-section .video2 {
    display: block;
    width: 100%;
    max-width: 1000px;
    height: auto;
    margin: 20px auto 0;
    border: 5px solid #008f07;
    border-radius: 5px;
    cursor: pointer;
    box-sizing: border-box;
}

/* =========================
   HAMBURGER MENU
========================= */

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    cursor: pointer;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 1000;
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    margin: 3px 0;
    background: #fff;
    border-radius: 20px;
    transition: .35s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* =========================
   MOBILE NAVBAR
========================= */

@media (max-width:768px) {

    .nav-bar {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        padding: 15px 20px;
        z-index: 10000;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-links {

        position: fixed;
        top: 80px;
        left: 10px;
        right: 10px;

        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 20px;

        background: rgba(25, 25, 25, .35);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);

        border: 1px solid rgba(255, 255, 255, .15);
        border-radius: 20px;

        overflow: hidden;

        opacity: 0;
        visibility: hidden;
        pointer-events: none;

        transform: translateY(-20px) scale(.97);

        max-height: 0;
        padding: 0;

        transition:
            opacity .35s ease,
            transform .35s ease,
            max-height .35s ease,
            padding .35s ease,
            visibility .35s;
    }

    .nav-links.active {

        opacity: 1;
        visibility: visible;
        pointer-events: auto;

        transform: translateY(0) scale(1);

        max-height: 350px;
        padding: 30px 0;
    }

    .nav-links li {

        list-style: none;

        opacity: 0;
        transform: translateY(-15px);

        transition: .35s;
    }

    .nav-links.active li {

        opacity: 1;
        transform: translateY(0);

    }

    .nav-links.active li:nth-child(1) {
        transition-delay: .05s;
    }

    .nav-links.active li:nth-child(2) {
        transition-delay: .10s;
    }

    .nav-links.active li:nth-child(3) {
        transition-delay: .15s;
    }

    .nav-links.active li:nth-child(4) {
        transition-delay: .20s;
    }

}

@keyframes glassMove {
    from {
        transform: translateX(-120%);
    }

    to {
        transform: translateX(120%);
    }
}

.nav-links::before {

    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(120deg,
            transparent 20%,
            rgba(255, 255, 255, .10) 50%,
            transparent 80%);

    transform: translateX(-120%);
    opacity: 0;
}

.nav-links.active::before {
    opacity: 1;
    animation: glassMove 2.5s linear infinite;
}

.nav-links:not(.active)::before {
    animation: none;
    opacity: 0;
}

/* =========================================
   HERO SECTION RESPONSIVE
========================================= */

@media (max-width:992px) {

    header {
        position: relative;
        width: 100%;
        height: 85vh;
        overflow: hidden;
    }

    .content {
        padding: 40px 30px;
    }

    .content h1 {
        font-size: 3rem;
    }

    .content h2 {
        font-size: 2rem;
    }

    .content p {
        max-width: 100%;
        padding-right: 0;
    }

}

@media (max-width:768px) {

    header {
        position: relative;
        width: 100%;
        height: 85vh;
        overflow: hidden;
    }

    .nav-bar {
        padding: 15px 20px;
    }

    .content {
        align-items: center;
        text-align: center;
        padding: 30px 20px;
        height: auto;
        padding-top: 120px;
    }

    .content h1 {
        font-size: 2.5rem;
    }

    .content h2 {
        font-size: 1.8rem;
        margin-top: 10px;
    }

    .content p {
        font-size: 16px;
        line-height: 1.7;
        padding: 20px 0 0;
    }

}

@media (max-width:480px) {

    .content h1 {
        font-size: 2rem;
    }

    .content h2 {
        font-size: 1.4rem;
    }

    .content p {
        font-size: 15px;
    }

}

/* =========================================
   ABOUT SECTION RESPONSIVE
========================================= */

@media (max-width: 992px) {

    .about-content {
        flex-direction: column;
        text-align: center;
        gap: 25px;
        padding: 20px;
    }

    .about-content img {
        width: 100%;
        max-width: 450px;
        height: auto;
    }

    .about-heading {
        width: 100%;
    }

    .about-heading h3 {
        text-align: center;
        font-size: 34px;
        padding-bottom: 20px;
    }

    .about-heading p {
        font-size: 18px;
        line-height: 1.8;
    }

}

@media (max-width: 576px) {

    .about-text {
        font-size: 28px;
        padding: 30px 15px;
    }

    .about-content img {
        max-width: 100%;
    }

    .about-heading h3 {
        font-size: 28px;
    }

    .about-heading p {
        font-size: 16px;
        line-height: 1.7;
    }

}

/* ==========================================
   BOX SECTION RESPONSIVE
========================================== */

@media (max-width:992px) {

    .box-container {

        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;

        width: 90%;
        margin: auto;
    }

    .box {

        width: 100%;
        margin: 0;
    }

}

@media (max-width:768px) {

    .box-container {

        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 50px;

        width: 100%;
        padding: 20px;
        box-sizing: border-box;
    }

    .box {

        width: 100%;
        max-width: 350px;
    }

    .box img {

        width: 70px;
        height: 70px;
    }

    .box h3 {

        font-size: 30px;
    }

    .box p {

        font-size: 17px;
    }

}

@media (max-width:480px) {

    .box {

        max-width: 100%;
        padding: 20px;
    }

    .box img {

        width: 60px;
        height: 60px;
    }

    .box h3 {

        font-size: 26px;
    }

    .box p {

        font-size: 16px;
    }

}

/* ==========================================
   GALLERY RESPONSIVE
========================================== */

@media (max-width:992px) {

    .gallery {

        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;

        width: 95%;
        margin: auto;
    }

    .column {

        display: flex;
        flex-direction: column;
        gap: 18px;
    }

    .column img {

        width: 100%;
        height: auto;
        display: block;
    }

}

@media (max-width:768px) {

    .gallery {

        display: flex;
        flex-direction: column;
        gap: 20px;

        width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
    }

    .column {

        width: 100%;
    }

    .column img {

        width: 100%;
        height: auto;
        border-radius: 12px;
    }

}

@media (max-width:480px) {

    .gallery {

        padding: 0 10px;
    }

    .column {

        gap: 15px;
    }

    .column img {

        border-radius: 10px;
    }

}

/* ==========================================
   VIDEO TABLET
========================================== */

@media (max-width: 992px) {

    .video-section {
        padding: 35px 20px;
    }

    .video-section h1 {
        font-size: 32px;
    }

    .video-section p {
        font-size: 18px;
        max-width: 800px;
        padding: 15px;
    }

    .video-section .video2 {
        width: 100%;
        max-width: 900px;
        margin: 20px auto;
    }

}

/* ==========================================
   VIDEO MOBILE
========================================== */

@media (max-width: 768px) {

    .video-section {
        width: 100%;
        padding: 30px 15px;
    }

    .video-section h1 {
        font-size: 28px;
        padding-top: 15px;
        line-height: 1.3;
    }

    .video-section p {
        font-size: 16px;
        line-height: 1.6;
        padding: 15px 5px;
    }

    .video-section .video2 {
        width: 100%;
        height: auto;
        margin: 15px auto 0;
        border-width: 4px;
    }

}

/* ==========================================
   SMALL MOBILE
========================================== */

@media (max-width: 480px) {

    .video-section {
        padding: 25px 10px;
    }

    .video-section h1 {
        font-size: 23px;
    }

    .video-section p {
        font-size: 15px;
        padding: 12px 5px;
        line-height: 1.5;
    }

    .video-section .video2 {
        border-width: 3px;
        border-radius: 6px;
    }

}

/* ==========================================
   OUR CAMPAIGNS RESPONSIVE
========================================== */

@media (max-width:992px) {

    .card-container {

        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;

        width: 95%;
        margin: 40px auto;
        justify-items: center;
    }

    .card {

        width: 100%;
        max-width: 340px;
        margin: 0;
    }

}

@media (max-width:768px) {

    .card-container {

        display: flex;
        flex-direction: column;
        align-items: center;

        gap: 25px;

        width: 100%;
        padding: 0 20px;
        box-sizing: border-box;
    }

    .card {

        width: 100%;
        max-width: 360px;
    }

    .card img {

        width: 100%;
        height: 220px;
        object-fit: cover;
    }

    .card-content {

        padding: 20px;
    }

    .card-content h1 {

        font-size: 26px;
    }

    .card-content p {

        font-size: 16px;
        line-height: 1.7;
    }

}

@media (max-width:480px) {

    .card {

        max-width: 100%;
    }

    .card img {

        height: 200px;
    }

    .card-content {

        padding: 18px;
    }

    .card-content h1 {

        font-size: 22px;
    }

    .card-content p {

        font-size: 15px;
    }

}

/* ==========================================
   CONTACT FORM RESPONSIVE
========================================== */

@media (max-width:992px) {

    .contact-container {

        padding: 50px 25px;
        height: auto;
    }

    .contact {

        width: 70%;
        height: auto;
        padding: 30px 0;
    }

}

@media (max-width:768px) {

    .contact-container {

        padding: 40px 15px;
        height: auto;
    }

    .contact {

        width: 100%;
        max-width: 500px;
        height: auto;

        margin: auto;
        padding: 30px 20px;

        box-sizing: border-box;
    }

    .contact h1 {

        font-size: 32px;
    }

    .group1 input,
    .group2 textarea {

        width: 100%;
        box-sizing: border-box;
        margin: 15px 0;
    }

    .group2 textarea {

        height: 120px;
    }

    .contact-btn {

        width: 100%;
        height: 48px;
        font-size: 18px;
        margin-top: 20px;
    }

}

@media (max-width:480px) {

    .contact-container {

        padding: 30px 10px;
    }

    .contact {

        padding: 25px 15px;
    }

    .contact h1 {

        font-size: 28px;
    }

    .group1 input {

        font-size: 16px;
        height: 46px;
    }

    .group2 textarea {

        font-size: 16px;
        height: 110px;
    }

    .contact-btn {

        font-size: 17px;
        height: 46px;
    }

}

/* ==========================================
   FOOTER RESPONSIVE
========================================== */

@media (max-width:992px) {

    .footer-container {

        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 35px;

        width: 90%;
        margin: auto;
        padding: 0 20px;
        box-sizing: border-box;
    }

    .footer-content {

        width: 100%;
        text-align: center;
    }

    .footer-content p {

        width: 100%;
        padding: 6px 0;
    }

}

@media (max-width:768px) {

    .footer-container {

        display: flex;
        flex-direction: column;
        align-items: center;

        gap: 35px;

        width: 100%;
        padding: 0 20px;
        box-sizing: border-box;
    }

    .footer-content {

        width: 100%;
        max-width: 350px;
        text-align: center;
    }

    .footer-content h3 {

        font-size: 24px;
        margin-bottom: 15px;
    }

    .footer-content p {

        width: 100%;
        padding: 6px 0;
        margin: 0;
    }

    .footer-content ul {

        padding: 0;
        margin: 0;
    }

    .links1 {

        margin: 0;
    }

    .links1 li {

        margin: 10px 0;
    }

    .social-icons {

        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;

        padding: 0;
        margin-top: 10px;
    }

    .social-icons li {

        padding: 0;
    }

    .social-icons i {

        font-size: 24px;
    }

    .bottom-bar {

        margin-top: 35px;
    }

    .bottom-bar p {

        font-size: 15px;
        padding: 12px;
    }

}

@media (max-width:480px) {

    .footer-container {

        padding: 0 15px;
    }

    .footer-content {

        max-width: 100%;
    }

    .footer-content h3 {

        font-size: 22px;
    }

    .footer-content p {

        font-size: 15px;
    }

    .footer-content a {

        font-size: 15px;
    }

    .social-icons {

        gap: 12px;
    }

    .social-icons i {

        font-size: 22px;
    }

    .bottom-bar p {

        font-size: 14px;
    }

}