html {
    overflow-x: hidden;
}

body {
    background-color: #e0e0e0;
    display: flex;
    overflow-x: hidden;
    flex-direction: column;
    min-height: 100%;
    margin: 0;
    padding-top: 80px;
    overflow-x: hidden;
}

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

header {
    width: 100%;
}

/* Nav-Bar */
.nav-bar {
    position: fixed;
    top: 6px;
    left: 6px;
    right: 6px;
    z-index: 9999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background-color: #272626;
    border-radius: 10px;

    transition: top .3s ease;
}

.nav-bar.hide {
    transform: translateY(-100%);
}

/* logo */
.logo img {
    max-height: 3.125rem;
    display: block;
    transition: transform 0.5s ease-in-out;
    cursor: pointer;
}

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

/* nav-bar links */
.nav-links {
    display: flex;
    list-style: none;
    gap: 1.25rem;
    margin: 0;
    padding: 0;
}

/* Links styling */
.nav-links a {
    position: relative;
    color: rgb(12, 207, 158);
    text-decoration: none;
    font-size: 1.125rem;
    font-family: "Roboto", sans-serif;
    font-weight: bold;
}

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

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

/* Navigation Bar Hover Effect */
.nav-links a:hover {
    color: rgb(236, 73, 73);
}

/* wellcome-page */
.wellcome-page {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 6px;
    margin-top: 20px;
    padding: 6px;
    background-color: rgb(255, 255, 255);
    border-radius: 0.625rem;
    box-sizing: border-box;
}

/* wellcome-page text */
.text {
    text-decoration: none;
    color: rgb(2, 12, 8);
    max-width: 700px;
    font-size: x-large;
    margin-left: 10px;
    font-family: "Roboto", sans-serif;
}

.text u::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    height: 4px;
    width: 100%;
    background-color: #0ccf9e;
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform .5s ease;
}

.text u:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* wellcome-page image */
.wellcome-image img {
    max-height: 28.125rem;
    display: block;
    transition: transform 0.3s ease-in-out;
}

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


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


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

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

.footer-content {
    width: 33.3%;
}

#email {
    color: #fff;
    cursor: pointer;
}

.footer-content p {
    width: 190px;
    margin: auto;
    padding: 7px;
    padding-left: 29px;
}

.links1 {
    margin-right: 29px;
}

.footer-content h3 {
    font-size: 1.25rem;
    color: #0ccf9e;
    margin-bottom: 15px;
    text-align: center;
}

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

.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: #0ccf9e;
    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;
}

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

a:hover {
    color: #0ccf9e;
}

.social-icons i:hover {
    color: #0ccf9e;
}

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

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

    padding: 7px;
}

/* work section */
.work-text{
    margin: 30px;
}
.work-a {
    position: relative;
    color: #000000;
    font-size: 38px;
    font-weight: 600;
    font-family: "Poppins", sans-serif;
}

.work-a:hover {
    color: #000000;
}

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

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

/* work images */
.work {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 20px;
    justify-content: center;
    align-items: center;
    margin: 6px;
    padding: 20px;
    border-radius: 10px;
    background-color: #222020;
    overflow: hidden;
}

.work img {
    width: 100%;
    border-radius: 5px;
    transition: .3s ease-in-out;
}

.work img:hover {
    transform: scale(1.09);
}

/* card */
.card-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
    overflow: visible;
}

.card-text {
    font-family: "Roboto", sans-serif;
    text-align: center;
}

.card {
    width: 300px;
    height: 420px;
    background-color: #f0f0f0;
    overflow: hidden;
    border-radius: 0.5rem;
    margin: 20px;
    transition: transform 0.3s ease-in-out;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px #ffffff;
}

.card img {
    width: 100%;
    height: 195px;
    object-fit: cover;
    cursor: pointer;

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

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

.card-content {
    padding: 16px;
}

.card-content h3 {
    font-size: 1.75rem;
    font-family: "Roboto", sans-serif;
    margin-bottom: 5px;
    margin-top: 5px;
}

.card-content p {
    color: #666;
    font-size: 0.938rem;
    font-family: "Roboto", sans-serif;
    line-height: 1.3;
}

.card-content .btn {
    display: inline-block;
    font-family: "Roboto", sans-serif;
    padding: 8px 16px;
    background-color: #333;
    border-radius: 4px;
    text-decoration: none;
    margin-top: 10px;
    color: #fff;
}

/* 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/office.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: 10px;
}

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

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

.group2 textarea {
    display: block;
    width: 70%;
    height: 80px;
    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 #ffffff;
    box-shadow: 0 0 5px #ffffff;
}

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

.contact-btn {
    display: block;
    width: 40%;
    height: 40px;
    margin: 20px auto;
    background-color: #333;
    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 #ffffff;
}

/* 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);
}


/* Hamburger */

.menu-toggle {
    display: none;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    cursor: pointer;
    z-index: 10001;
    background: transparent;
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    margin: 3px 0;
    background: #0ccf9e;
    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 - General
========================= */

@media (max-width:768px) {

    body {
        padding-top: 90px;
    }

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

    .menu-toggle {
        display: flex;
    }

    .nav-links li {
        margin: 12px 0;
    }

    .branding {
        flex-direction: column;
        gap: 20px;
    }

    .branding img {
        width: 100%;
        max-width: 320px;
        height: auto;
        margin: 10px auto;
    }

    .food-one,
    .food-two {
        flex-direction: column;
    }

    .food-one img,
    .food-two img {
        width: 100%;
        max-width: 350px;
        height: auto;
    }

    .card {
        width: min(350px, 95%);
    }

}

/* =========================
   Mobile - Navigation
========================= */

@media (max-width:768px) {

    .nav-links {

        position: absolute;
        top: 105%;
        left: 0;
        width: 100%;

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

        background: rgba(39, 38, 38, 0.603);
        backdrop-filter: blur(8px);

        max-height: 0;
        overflow: hidden;

        transition: .5s ease;

        border-radius: 0 0 15px 15px;
    }

    .nav-links.active {

        border-radius: 12px;
        max-height: 350px;
        padding: 20px 0;

    }

}

/* =========================
   Mobile - Welcome
========================= */

@media (max-width:768px) {

    .wellcome-page {

        flex-direction: column-reverse;
        text-align: center;
        padding: 25px;

    }

    .text {

        font-size: 18px;
        margin: 0;

    }

    .text h1 {

        font-size: 35px;

    }

    .text p {

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

    }

    .wellcome-image img {

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

    }

}

/* =========================
   Mobile - Footer
========================= */

@media (max-width:768px) {

    .footer-container {

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

    }

    .footer-content {

        width: 100%;
        max-width: 400px;

    }

}

/* Fast food section responsive design */
@media (max-width:768px) {

    .food-one {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .food-one img,
    .food-two img {
        width: 95%;
        max-width: 350px;
        height: auto;
        margin: 10px auto;
    }

}

/* Contact section responsive design */

@media (max-width:768px) {

    .contact-container {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 20px;
        box-sizing: border-box;
    }

    .contact {
        width: 100%;
        max-width: 380px;
        margin: 0 auto;
        box-sizing: border-box;
    }

    .group1 input,
    .group2 textarea {
        width: 80%;
        height: auto;
        box-sizing: border-box;
    }

    .contact-btn {
        width: 45%;
        font-size: 1rem;
    }

}


/* =================================
   NAVBAR GLASS SHINE ONLY
================================= */

@media (max-width: 768px) {

    .nav-links {
        overflow: hidden;
    }

    .nav-links::after {
        content: "";
        position: absolute;

        top: 0;
        left: -100%;

        width: 50%;
        height: 100%;

        background: linear-gradient(110deg,
                transparent,
                rgba(255, 255, 255, 0.18),
                transparent);

        transform: skewX(-20deg);

        pointer-events: none;

        opacity: 0;
    }

    .nav-links.active::after {
        opacity: 1;
        animation: glassShine 2.5s ease-in-out infinite;
    }

}

@keyframes glassShine {

    0% {
        left: -100%;
    }

    100% {
        left: 150%;
    }

}