/*************************************/
/************ GLOBAL CSS *************/
/*************************************/
:root {
    --primary-color: #ff4d4d;
    --secondary-color: #e04444;
    --background-color: #f9f9f9;
    --text-color: #333;
    --hover-color: #555;
    --border-color: rgba(0, 0, 0, 0.1);
    --shadow-color: rgba(0, 0, 0, 0.2);
    --animation-timing: 0.3s ease-in-out;
}

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

body {
    width: 100vw;
    overflow-x: hidden;
}

body.dark-mode {
    --background-color: #191919;
    --card-background: #212121;
    --primary-background: #121212;
    --input-background: #000000;
    --text-color: #FFFFFF;
    --text-muted: #DDDDDD;
    --input-hover-border: #DDDDDD
}

/*************************************/
/********** HEADER (NAVBAR) **********/
/*************************************/
header {
    background: #fff;
    height: fit-content;
    width: fit-content;
    display: flex;
    justify-content: center;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    z-index: 999 !important;
    padding: 0.4em 0;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.2) !important;
}

.main {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
}

.lower {
    padding: 0.01% 4vw;
    display: flex;
    justify-content: space-around !important;
    align-items: center !important;
    width: 65vw !important;
    gap: 1rem !important;
}

.image {
    display: flex !important;
    align-items: center !important;
}

.image img {
    height: 50px;
    margin-left: 70px;
    margin-top: 10px;
}

.image p {
    margin-top: 20px;
    font-weight: bold;
    font-size: 1.1rem;
    white-space: nowrap;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Logo */
.logoContainer {
    display: flex;
    gap: 8px;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.logoContainer img {
    margin: 0 !important;
    height: auto;
}

.logoContainer p {
    margin: 0 !important;
}

.socials {
    display: flex;
    padding: 0 3%;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    gap: 4%;
    width: fit-content !important;
}

.mobileBtn {
    display: flex !important;
    flex-direction: column !important;
    justify-content: left !important;
    align-items: center !important;
    padding: 0 !important;
}

/* Login */
.login {
    margin: 0 !important;
    padding: 0 !important;
}

.login {
    display: flex;
    align-items: center;
    margin-left: 120px;
    margin-top: 10px;
}

.login-btn {
    margin-left: 20px;
    min-width: 110px;
}

.login-btn:hover {
    color: white;
}

.login-btn a {
    text-decoration: none;
    color: #e04444;
}

.login-btn a:hover {
    color: white;
}

.navBtn {
    white-space: nowrap;
    margin: 0 !important;
}

/* Navbar */
.navbar {
    position: static !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 2vw !important;
    width: fit-content !important;
    margin: 0 !important;
    padding: 0;
    padding-left: 10% !important;
    pointer-events: none;
}

.navbar.active {
    pointer-events: auto;
}

.navbar a {
    position: relative;
    text-decoration: none;
    color: black;
    font-weight: 400;
    display: inline-block;
    transition: color var(--animation-timing);
    pointer-events: auto;
}

.navbar a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: red;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform var(--animation-timing);
}

.navbar a:hover {
    color: red;
}

.navbar a:hover::after {
    -webkit-transform: scaleX(1);
    -ms-transform: scaleX(1);
    transform: scaleX(1);
}

/* Socials Section */
.modalbtn {
    margin-top: 10px;
    margin-left: 20px;
}

.menu-icon {
    display: none;
}

.navbar {
    display: flex;
    gap: 20px;
}

.menu-icon {
    font-size: 30px;
    cursor: pointer;
    margin: 15px;
    display: inline-block;
}

.menu-overlay {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    transform: translateX(100%);
    transition: transform var(--animation-timing);
    z-index: 9999;
}

.menu-overlay.open {
    transform: translateX(0);
    pointer-events: auto;
}

.menu-content {
    display: flex;
    flex-direction: column;
    margin-top: 100px;
    padding: 0 30px;
}

.menu-content a {
    font-size: 24px;
    color: #000;
    text-decoration: none;
    margin: 15px 0;
    transition: color 0.2s;
}

.menu-content a:hover {
    color: #555;
}

.bttn {
    transition: transform var(--animation-timing);
}

.bttn:hover {
    transform: scale(1.1);
    transition: transform var(--animation-timing);
}

.menu-icon {
    display: block;
    position: fixed;
    top: 20px;
    left: 20px;
    font-size: 24px;
    cursor: pointer;
    z-index: 1000;
    width: 10px;
}

.mobile-menu {
    position: fixed;
    top: 10%;
    left: -100%;
    width: 75%;
    height: 100vh !important;
    background: white;
    box-shadow: 2px 0px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;

    padding: 20px;
    transition: left 0.4s ease-in-out;
    z-index: 1000;
}

.mobile-menu.active {
    left: 0;
    pointer-events: auto;
}

.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.menu-title {
    font-size: 18px;
    color: gray;
    font-weight: bold;
}

/* Close Button */
.menu-close {
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    display: none;
}

/* Menu Links */
.mobile-menu a {
    text-decoration: none;
    color: black;
    font-size: 18px;
    padding: 10px 0;
    display: block;
    transition: color 0.3s;
}

.mobile-menu a:hover {
    color: red;
}

/* Focus Styles */
a:focus,
button:focus,
.donate-btn:focus,
.login-btn a:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    box-shadow: 0 0 4px var(--primary-color);
}

.navbar a:focus::after {
    transform: scaleX(1);
    background: var(--primary-color);
}

/* Enhanced Focus Styles */
a:focus,
button:focus,
input:focus,
.donate-btn:focus,
.login-btn a:focus {
    outline: 3px solid var(--primary-color);
    outline-offset: 3px;
    box-shadow: 0 0 6px var(--primary-color);
    border-radius: 4px;
}

.navbar a:focus::after {
    transform: scaleX(1);
    background: var(--primary-color);
}

input:focus {
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 4px var(--primary-color);
}

/*************************************/
/*********** HERO SECTION ************/
/*************************************/
/* Hero Section */
.mainbox {
    height: 630px;
    width: 100%;
    background-color: rgb(219, 229, 234);
    display: flex;
    align-items: center;
    flex-direction: column-reverse;
    justify-content: space-between;
    padding: 40px 20px;
    margin-top: 8vh;
    text-align: center;
}

/* Text Content */
.text-content {
    max-width: 800px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 5px;
    order: 2;
    margin: 0 auto;
    padding: 10px 0;
}

.text-content p {
    font-size: 2.2rem;
    margin: 3px 0;
    color: #333;
    line-height: 1;
    font-family: 'Times New Roman', Times, serif;
}

#heading {
    font-size: 3rem;
    line-height: 1.1;
    font-weight: bold;
    color: #000;
    margin-bottom: 1px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

#text {
    font-size: 1.2rem;
    color: #555;
    line-height: 1.5;
    margin-top: 15px;
    margin-bottom: 10px;
}

/* Donate Button */
.donate-btn {
    margin: 25px auto 0;
    padding: 15px 40px;
    background-color: var(--primary-color);
    color: #fff;
    font-size: 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    max-width: fit-content;
    transition: background-color var(--animation-timing), transform var(--animation-timing);
}

.donate-btn:hover {
    -webkit-transform: scale(1.03);
    -ms-transform: scale(1.03);
    transform: scale(1.03);
    background-color: var(--secondary-color);
    transition: background-color var(--animation-timing), transform var(--animation-timing);
}

.img {
    order: 2;
    margin: 20px 0;
    height: 44rem;
}

.img img {
    height: auto;
    max-width: 100%;
    object-fit: contain;
}

.hero {
    margin-top: 8vh !important;
}

/*************************************/
/********** DONATION CARDS ***********/
/*************************************/
.third {
    height: 280px;
}


.cards {
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 130px;
    display: flex;
    gap: 1vw;
}

.card1 {
    justify-content: center;
    background-color: var(--background-color);
    color: var(--text-color);
    width: 280px;
    height: 230px;
    border-radius: 5%;
    align-items: center;
    text-align: center;
    box-shadow: 0 4px 6px var(--shadow-color);
    transition: transform var(--animation-timing), box-shadow var(--animation-timing);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.card1:hover {
    -webkit-transform: scale(1.05);
    -ms-transform: scale(1.05);
    transform: scale(1.05);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
    background-color: var(--hover-color);
    transition: transform var(--animation-timing), box-shadow var (--animation-timing);
}

.card1 p,
.card1 h3 {
    margin: 0;
    color: #333;
}

.card1:hover h3,
.card1:hover p {
    color: #555;
}


.circle {
    border-radius: 50%;
    background-color: white;
    color: #212529;
    height: 70px;
    width: 70px;
    align-items: center;
    align-self: center;
}

.circle svg {
    justify-content: center;
    align-items: center;
    margin-top: 15px;

}

#donate {
    font-size: 1rem;
    font-weight: bold;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    color: #555;
    margin-top: 8px;
    margin-bottom: 0%;
}

.card1 h3 {
    position: relative;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.55rem;
    margin-bottom: 10px;
}

.card1 p a{
    font-size: 1rem;
    color: crimson;
    text-decoration: none;
}

.rightitems {
    margin-left: 40px;
}

.socials svg {
    color: #000;
}

.rightitems a svg {
    margin: 15px;
    margin-top: 20px;
}

/*************************************/
/********** POVERTY SECTION **********/
/*************************************/
.sad {
    width: 100%;
    height: fit-content;
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    align-items: center;
    justify-content: center;
    margin-top: 50px;
}

.para {
    width: 40%;
    height: fit-content;
    align-items: baseline;
    justify-content: center;
}

.para p {
    line-height: 1.5;
    font-size: 1.1rem;
}


#head {
    font-size: 1.3rem;
    font-weight: 500;
    opacity: 70%;
    margin-bottom: 3px;
}

.button {
    margin-top: 30px;
    display: flex;
    align-items: center;
}

.button svg:hover {
    transform: scale(1.05);
}

.button svg {
    margin-left: 40px;
    margin-right: 10px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.button p {
    margin-top: 8px;
    font-weight: 500;
}

.povert {
    width: 90%;
    height: auto;
}

/*************************************/
/********** EVENTS SECTION ***********/
/*************************************/
.fourth {
    margin-top: 10px;
    height: fit-content;
    background-color: white;
}

.events {
    margin-top: 150px;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.events-cards2 {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 10px 20px;
    box-sizing: border-box;
}

.events-leftcard {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
    background-color: #fefefe;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(25, 25, 25, 0.2);
}

.events-rightcards {
    flex: 1;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    gap: 20px;
    min-width: 300px;
    max-width: 600px;
}

.events-rcard {
    background-color: #fefefe;
    padding: 20px 25px;
    border-left: 6px solid #ff6b6b;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(25, 25, 25, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.events-rcard:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(255, 102, 102, 0.25);
}

.events-image {
    width: 100%;
    margin-bottom: 20px;
}

.events-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    object-fit: cover;
}

.events-text h1 {
    margin: 0 0 10px;
    font-size: 1.8rem;
    color: #b22222;
}

.events-text h2 {
    margin: 0 0 10px;
    font-size: 1.2rem;
    color: #e63946;
}

.events-text p,
.events-text1 p {
    margin: 0;
    color: #444;
    line-height: 1.5;
    margin-bottom: 10px;
}

.events-text1 h6 {
    margin: 0;
    font-size: 0.9rem;
    color: #7d7d7d;
}

.events-text1 h4 {
    margin: 5px 0;
    color: #2f3e46;
    font-size: 1.1rem;
}

.events-icon-wrapper {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.events-icon-text {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 150px;
}

.events-icon-text span {
    font-size: 1.4rem;
    color: #ff6b6b;
}

.events-icon-text h6 {
    margin: 0;
    font-size: 0.85rem;
    color: #666;
}

.events-icon-text p {
    margin: 0;
    font-size: 0.9rem;
    color: #333;
}

.events-subscribe-btn {
    margin-top: 20px;
    padding: 12px 24px;
    background-color: #ff6b6b;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.35);
    transition: background-color 0.3s ease, transform 0.2s ease;
    width: 100%;
    text-align: center;
    display: block;
}

.events-subscribe-btn:hover {
    background-color: #e63946;
    transform: translateY(-2px);
}

/* Tablet & Mobile */
@media (max-width: 768px) {
    .events-cards2 {
        flex-direction: column;
        align-items: center;
    }
}

/* Small phones */
@media (max-width: 480px) {
    .events-text h1 {
        font-size: 1.4rem;
    }

    .events-text h2 {
        font-size: 1rem;
    }

    .events-text p,
    .events-text1 p {
        font-size: 0.9rem;
    }

    .events-subscribe-btn {
        padding: 10px 16px;
        font-size: 0.9rem;
    }

    .events-icon-text span {
        font-size: 1.2rem;
    }
}
.donatebutton{
    color: white;
    transition: transform 0.2s ease-in-out ;
}

.donatebutton:hover {
    transform: scale(1.01);
}

.events {
    margin-top: 150px;
    justify-content: center;
    align-items: center;
    margin-bottom: 50px;
}

.head2 {
    width: 100%;
    line-height: 1;
    justify-content: center;
    text-align: center;
}

#upper {
    font-size: 1.5rem;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    line-height: 2;
}

.head2 p {
    font-size: 2.9rem;
    font-weight: 600;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    line-height: 0.9;
}

.cards2 {
    display: flex;
    justify-content: center !important;
    align-items: start !important;
    padding: 2em auto !important;
    gap: 0.2em;
}

.leftcard {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: white;
    height: 740px;
    width: 48vw !important;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    border-radius: 2%;
    transition: transform 0.3s ease;
    padding-bottom: 1em !important;
}

.rcard {
    width: 100%;
    height: 210px;
    margin-bottom: 30px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    border-radius: 4%;
    transition: transform var(--animation-timing);
}

.rcard:hover {
    transform: scale(1.03);
    transition: transform var(--animation-timing);
}

.lastcard {
    width: 48vw;
    height: fit-content;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    border-radius: 4%;
    transition: transform var(--animation-timing);
}

.lastcard:hover {
    transform: scale(1.03);
    transition: transform var(--animation-timing);
}

.rcard,
.lastcard {
    border-radius: 2em;
    padding: 0.5em !important;
    padding-bottom: 0.1em !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    width: 45vw !important;
    height: fit-content !important;
}

.donatebutton {
    color: white;
    transition: transform 0.2s ease-in-out;
}

.donatebutton:hover {
    transform: scale(1.01);
}

.text {
    padding: 0.5em !important;
    width: 100% !important;
}

.rightcards {

    height: fit-content;
    width: 46vw !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.2em;
}

.eventImage img {
    width: 100% !important;
    height: fit-content !important;
    object-fit: fill !important;
    border-radius: 5%;
}

.eventImage {
    align-items: center;
    width: 100%;
}

.text1 {
    margin-left: 15px;
}

.icons {
    display: flex;
    justify-content: start;
    align-content: center;
    gap: 1em;
    height: 100%;
    width: 100%;
    border-radius: 10%;

}

.text1 p {
    font-size: 0.9rem;
    margin-bottom: 30px;
    line-height: 1.4;
    margin-right: 10px;
}

/*************************************/
/******* FUND RAISING BANNER *********/
/*************************************/
.fight {
    min-height: 100vh;
    height: fit-content;
    width: 100vw !important;
    background: url("../assets/kids.jpg") no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2em !important;
}

.contento {
    color: white;
    width: 70%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.p1 {
    text-align: center;
    font-size: 2rem;
}

.p2 {
    text-align: center;
    font-size: 3.2rem;
    font-weight: 500;
}

.b1 {
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: white;
    position: relative;
    gap: 23px;
    padding: 0 30px;
}

/*************************************/
/******* INFORMATION BANNER *********/
/*************************************/
.break2 {
    height: 100px;
}

.horizontal {
    width: 100%;
    height: 200px;
    justify-content: center;
    align-items: center;
    background: linear-gradient(transparent 40%, rgb(216, 231, 234) 40%) no-repeat;

}

.bar {
    background-color: white;
    height: 200px;
    width: 80%;
    margin-left: 150px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    display: flex;
    gap: 20px;
}

.cont1 {
    height: 200px;
    width: 300px;
    background-color: white;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.ok {
    margin-left: 30px;
}

.no2 {
    background-color: rgb(216, 231, 234);
    height: 120px;
}

/*************************************/
/*********** NEWS SECTION ************/
/*************************************/
.cards3 {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1em;
    width: 100%;
    margin-top: 50px;
    padding-left: 20px;
    padding-right: 20px;
}

.leftcard1 {
    height: 550px;
    width: 100%;
    overflow: hidden;
    margin: 0;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    border-radius: 5%;

}

.leftcard1 img {
    object-fit: fill;
    border-image: fill;
    min-width: fit-content;
}



/*************************************/
/************** FOOTER ***************/
/*************************************/
.footer {
    background-color: #333;
    color: #fff;
    padding: 40px 20px;
    font-family: Arial, sans-serif;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-about,
.footer-links,
.footer-contact {
    flex: 1;
    min-width: 250px;
}

.footer h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.footer p,
.footer ul,
.footer a {
    font-size: 14px;
    line-height: 1.6;
    text-decoration: none;
    color: #ccc;
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin-bottom: 10px;
}

.footer ul li a:hover {
    color: #fff;
}

.footer-socials a {
    margin-right: 10px;
    color: #ccc;
    font-size: 18px;
    transition: color 0.3s;
}

.footer-socials a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
    border-top: 1px solid #444;
    padding-top: 10px;
    font-size: 14px;
    color: #aaa;
}

/* Scroll to Top Button */
#scrollToTop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: #ff4757;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Show Button on Scroll */
#scrollToTop.show {
    opacity: 1;
    transform: scale(1);
}

/* Arrow Icon */
.arrow {
    font-size: 20px;
    color: white;
}

/* Circular Progress Indicator */
.progress-circle {
    position: absolute;
    top: 0;
    left: 0;
    width: 50px;
    height: 50px;
    transform: rotate(-90deg);
}

/* Background Circle */
.progress-circle circle {
    fill: none;
    stroke: rgba(255, 255, 255, 0.2);
    stroke-width: 4;
}

/* Progress Indicator */
#progress {
    stroke: white;
    stroke-width: 4;
    stroke-dasharray: 138;
    stroke-dashoffset: 138;
    transition: stroke-dashoffset 0.2s;
}

.cont1 h1 {
    transition: all 0.3s ease;
    font-variant-numeric: tabular-nums;
}

/*************************************/
/************** OTHERS ***************/
/*************************************/
.small-heading {
    font-size: 18px;
    color: #999;
    margin-bottom: 20px;
    display: block;
}

/* Contact Section */
.menu-contact-title {
    font-size: 14px;
    color: gray;
    margin-top: 20px;
}

.menu-contact-info {
    font-size: 14px;
    color: black;
}

.newsletter {
    background: var(--card-background);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px var(--shadow-color);
    text-align: center;
    margin-top: 40px;
}
.newsletter p {
    font-size: 16px;
    margin-bottom: 15px;
    color: #555;
  }
  
  .newsletter input {
    padding: 10px;
    width: 70%;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-right: 10px;
    font-size: 14px;
  }
  
  .newsletter button {
    padding: 10px 20px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    font-size: 14px;
    transition: background var(--animation-timing);
  }
  
  .newsletter button:hover {
    background: var(--primary-hover-color);
  }

/*************************************/
/*********** MEDIA QUERIES ***********/
/*************************************/

/* Medium (Tablets & Small Laptops) - 769px to 905px */
@media only screen and (max-width: 905px) {

    /* Styles for medium screens */
    .navBtn {
        font-size: 70% !important;
    }

    .lower {
        width: 65vw !important;
    }

    .navbar a {
        font-size: 0.9rem !important;
    }

    .cards3 {
        flex-wrap: wrap;
    }

    .leftcard {
        margin-bottom: 2em;
        width: 48vw !important;
    }

    .rcard,
    .lastcard {
        width: 48vw !important;
    }
}

/* Hide the menu icon on desktop */
@media only screen and (min-width: 769px) {

    .menu-icon,
    .mobile-menu {
        display: none !important;
    }

    .navbar {
        left: 100px;
    }

    .mainbox {
        flex-direction: row;
        text-align: left;
        padding: 80px 40px;
    }

    .text-content {
        order: 1;
        width: 50%;
        padding-right: 40px;
    }

    .img {
        order: 2;
        width: 50%;
        margin: 0;
    }

    .donate-btn {
        margin-left: 0;
        margin-right: 0;
    }

    #heading {
        font-size: 4rem;
    }

    .text-content p {
        font-size: 3rem;
    }

    .leftcard {
        width: 48%;
        margin: 0;
        padding: 0;
    }
}

/* Small (Tablets & Small Screens) - 481px to 768px */
@media only screen and (max-width: 768px) {
    body,
    html {
        max-width: 768px;
        margin: 0 auto;
        overflow-x: hidden;
    }

    .desktopBtn {
        display: none !important;
    }

    .navbar {
        display: none !important;
    }

    .logoContainer {
        margin-left: 20% !important;
    }



    .menu-icon {
        display: block;
        position: absolute;
        top: 14px !important;
        right: 1px !important;
        margin: 0 !important;
        font-size: 30px;
        cursor: pointer;
        z-index: 999;
    }

    .menu {
        display: none;
        position: absolute;
        top: 60px;
        right: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        text-align: center;
        z-index: 998;
    }

    .menu a {
        display: block;
        padding: 10px;
        border-bottom: 1px solid #ddd;
    }

    .mainbox,
    .content-section,
    .events,
    .third,
    .fourth {
        display: flex;
        flex-direction: column;
        align-items: center;
        max-width: 768px;
        width: 100%;
        margin: 0 auto;
        padding: 20px;
    }

    .fourth,
    .events,
    .content-section {
        height: auto !important;
        position: static !important;
        overflow: visible !important;
    }

    .mainbox {
        margin-top: 8vh !important;
    }

    .cards,
    .cards2,
    .cards3 {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 3px;
        width: 100%;
        margin-bottom: 50px;
    }

    .cards3 {
        margin: 0 auto 80px auto;
    }

    .card1,
    .rcard,
    .lastcard {
        width: 98% !important;
        height: auto;
        margin: 0 auto;
        padding: 10px;
    }

    .leftcard {
        width: 98% !important;
    }

    .leftcard h1:hover {
        text-decoration: underline;
    }

    .rightcards {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        height: fit-content;
        gap: 1em !important;
        width: 100% !important;
    }

    .rcard,
    .lastcard {
        height: auto !important;
        position: static !important;
    }

    .cards3 .rcard,
    .cards3 .lastcard,
    .cards3 .leftcard {
        width: 90% !important;
        max-width: 500px;
        margin: 0 auto 30px;
        padding: 10px;
        box-sizing: border-box;
    }

    /* Ensure images don’t overflow */
    .cards3 .rcard img,
    .cards3 .lastcard img,
    .cards3 .leftcard img {
        width: 100%;
        height: auto;
        object-fit: contain;
        /* or 'contain' if you prefer no cropping */
        border-radius: 5%;
        /* Keep your rounded corners if desired */
        display: block;
    }

    /* Center the entire bar */
    .horizontal,
    .bar {
        margin: 0 auto !important;
        /* Overrides large left margins */
        width: 90% !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        flex-wrap: wrap;
        /* Allow items to wrap on smaller screens */
        gap: 20px;
        /* Space between items */
        height: auto !important;
        /* Let it grow with content */
    }

    /* Each stat container is centered */
    .cont1 {
        width: auto !important;
        margin: 10px !important;
        /* Add spacing around each item */
        text-align: center !important;
        /* Center text and icons */
    }

    .sad {
        margin: 0 !important;
    }

    .para {
        width: fit-content;
        margin: 0;
        padding: 0 10vw;
    }

    .contento {
        width: 85%;
    }

    .p1 {
        font-size: 1.5rem;
    }

    .p2 {
        font-size: 2.8rem;
    }

    .b1 {
        --bs-btn-padding-y: 0.8rem !important;
        --bs-btn-padding-x: 3rem !important;
        --bs-btn-font-size: 1.2rem !important;
    }

    .img,
    .text-content {
        width: 100%;
        text-align: center;
        margin-bottom: 20px;
    }

    .img img {
        width: 100%;
        height: auto;
        display: block;
    }

    .footer {
        margin-top: 40px;
        padding-top: 20px;
        position: relative;
        z-index: 0;
    }

    h1,
    h2,
    h3,
    p {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .mainbox {
        margin-bottom: 40px !important;
    }

    main.third {
        height: auto !important;
        margin: 0 !important;
        padding: 20px 0 !important;
        position: static !important;
    }

    .cards {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2em;
        width: 100%;
        margin-top: 0 !important;
        position: static !important;
    }

    .card1 {
        width: 90% !important;
        height: auto !important;
        margin-bottom: 20px;
        position: static !important;
    }

    .circle {
        margin: 0 auto !important;
    }

    /* Hamburger Menu */
    .navbar {
        display: none;
    }

    .menu-icon {
        display: block;
        position: absolute;
        top: 15px;
        right: 20px;
        font-size: 30px;
        cursor: pointer;
    }

    .menu {
        display: none;
        position: absolute;
        top: 60px;
        right: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        text-align: center;
    }

    .menu a {
        display: block;
        padding: 10px;
        border-bottom: 1px solid #ddd;
    }

    .image-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        margin-bottom: 40px;
    }

    .img {
        width: 100%;
        text-align: center;
        position: relative;
    }

    .img img {
        width: 100%;
        height: auto;
        max-width: 100%;
        display: block;
    }

    .cards {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.5em;
        width: 100%;
    }

    .card1 {
        width: 90%;
        height: auto;
        padding: 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .mainbox {
        flex-direction: column;
        padding: 20px;
        text-align: center;
        width: 100%;
        max-width: 768px;
        margin: 0 auto;
    }

    .text-content {
        max-width: 100%;
        word-wrap: break-word;
    }

    .content-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: 768px;
        margin: 0 auto;
        padding: 10px;
    }

    .content-box {
        width: 90%;
        padding: 20px;
        background: white;
    }

    h1,
    h2,
    h3,
    p {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    main.third {
        margin-bottom: 150px !important;
    }

    main.fourth {
        margin-top: 600px !important;
        margin-bottom: 7px !important;
    }

    main.third {
        margin-top: 500px !important;
    }

    div.sad {
        margin-top: 80px !important;
    }

    div.image1 {
        margin-top: -600px !important;
        margin-bottom: -500px !important;
    }

    main.fourth {
        margin-top: 150px !important;
    }

    main.fight {
        margin-top: 80px;

    }

    .image1 {
        position: relative;
        width: 100%;
        height: auto;
    }

    .image1 img {
        width: 100%;
        height: auto;
        object-fit: cover;
        display: block;
    }

    .image1 {
        position: relative;
        width: 100%;
        height: auto;
        bottom: 300px;
    }

    .image1 img {
        width: 100%;
        height: auto;
        object-fit: cover;
        display: block;
    }

    .image1 {
        display: flex;
        flex-direction: column;
    }

    body,
    html {
        max-width: 768px;
        margin: 0 auto;
        overflow-x: hidden;
    }

    .socials {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 10px;
        width: 100%;
    }

    .socials>div {
        margin-left: 0;
        margin-right: 0;
    }

    .btn,
    .login-btn,
    .modalbtn {
        width: auto;
        padding: 10px 20px;
    }

    body,
    html {
        max-width: 768px;
        margin: 0 auto;
        overflow-x: hidden;
    }

    header .lower {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        width: 100%;
        padding: 0 15px !important;
    }

    header .image {
        margin-right: 10px;
    }

    header .socials {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 10px;
    }

    .header-btn {
        width: 110px;
        padding: 10px 0;
        text-align: center;
    }

    body,
    html {
        max-width: 768px;
        margin: 0 auto;
        overflow-x: hidden;
    }

    .menu-icon {
        display: block;
        position: fixed;
        top: 15px;
        left: 15px;
        font-size: 30px;
        cursor: pointer;

        color: #000;
    }

    .navbar {
        position: fixed;
        top: 0;
        left: -100%;
        width: 70%;
        height: 100%;
        background: #fff;
        padding: 20px;
        display: flex;
        flex-direction: column;
        gap: 20px;
        transition: left 0.3s ease;
        z-index: 1000;
    }

    .navbar.active {
        left: 0;
    }

    .navbar a {
        text-decoration: none;
        color: #333;
        font-size: 1.2rem;
        padding: 10px 0;
        border-bottom: 1px solid #ddd;
    }

    .menu-icon {
        display: block;
        position: fixed;
        top: 15px;
        left: 15px;
        font-size: 30px;
        cursor: pointer;
        z-index: 1100;
        color: #000;
    }

    .navbar {
        position: fixed;
        top: 0;
        left: -100%;
        width: 70%;
        height: 100%;
        background: #fff;
        padding: 20px;
        display: flex;
        flex-direction: row;
        gap: 20px;
        transition: left 0.3s ease;
        z-index: 1000;
        background-color: white;
    }

    .navbar.active {
        left: 0;
        background-color: white;
    }

    .navbar a {
        text-decoration: none;
        color: #333;
        font-size: 1.2rem;
        padding: 10px 0;
        border-bottom: 1px solid #ddd;

    }

    .donate-btn {
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .text-content {
        order: 2;
    }

    .cards3 {
        padding: 20px;
    }
}

@media only screen and (max-width: 480px) {
    .desktopBtn {
        display: none !important;
    }

    .para {
        width: 98%;
        padding: 1em;
    }

    .para p {
        font-size: 0.9rem;
    }

    #head {
        font-size: 1.1rem;
    }

    .para h2 {
        font-size: 2.5rem !important;
    }

    .paraLearn {
        width: fit-content !important;
        padding: auto 0.2em !important;
        font-size: 1em !important;
    }

    .events {
        padding: 0;
    }

    .head2 p {
        font-size: 1.8rem !important;
    }

    #upper {
        font-size: 1.2rem !important;
    }

    .leftcard {
        width: 100%;
    }

    .rcard,
    .lastcard {
        width: 92vw;
    }

    .contento {
        width: 95%;
    }

    .p1 {
        font-size: 1rem;
    }

    .p2 {
        font-size: 2rem;
    }

    .b1 {
        --bs-btn-padding-y: 0.6rem !important;
        --bs-btn-padding-x: 2.5rem !important;
        --bs-btn-font-size: 1rem !important;
    }

    .cards3 {
        height: fit-content;
        display: flex;
        flex-direction: column;
        gap: 1em;
    }
}

/* Dark Mode Styles with Glow on Hover and Thin Borders */
.dark-mode .events-leftcard,
.dark-mode .events-rcard {
    background-color: #1e1e1e;
    color: #f1f1f1;
    border: 1px solid #444; /* Thin border */
    box-shadow: 0 0 20px rgba(255, 107, 107, 0.1), 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.dark-mode .events-rightcards {
    background-color: transparent;
}

.dark-mode .events-rcard {
    border-left-color: #ff6b6b;
    border-left: 6px solid #ff6b6b;

}

.dark-mode .events-rcard:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 25px rgba(255, 107, 107, 0.3), 0 12px 35px rgba(0, 0, 0, 0.6);
}

.dark-mode .events-leftcard:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 25px rgba(255, 107, 107, 0.3), 0 12px 35px rgba(0, 0, 0, 0.6);
}

.dark-mode .events-image img {
    border: 2px solid #333;
    box-shadow: 0 0 10px rgba(255, 107, 107, 0.1);
}

.dark-mode .events-text h1 {
    color: #ff7f7f;
    text-shadow: 0 0 5px rgba(255, 107, 107, 0.3);
}

.dark-mode .events-text h2 {
    color: #ff6b6b;
    text-shadow: 0 0 4px rgba(255, 107, 107, 0.2);
}

.dark-mode .events-text p,
.dark-mode .events-text1 p {
    color: #ccc;
}

.dark-mode .events-text1 h6 {
    color: #aaa;
}

.dark-mode .events-text1 h4 {
    color: #f1f1f1;
}

.dark-mode .events-icon-text span {
    color: #ff7f7f;
    text-shadow: 0 0 6px rgba(255, 107, 107, 0.4);
}

.dark-mode .events-icon-text h6 {
    color: #bbb;
}

.dark-mode .events-icon-text p {
    color: #e0e0e0;
}

.dark-mode .events-subscribe-btn {
    background-color: #ff6b6b;
    color: #fff;
    box-shadow: 0 0 15px rgba(255, 107, 107, 0.3);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.dark-mode .events-subscribe-btn:hover {
    background-color: #e63946;
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(255, 107, 107, 0.5);
}

.dark-mode .main,
.dark-mode .mobile-menu,
.dark-mode .footer,
.dark-mode .bar,
.dark-mode .cont1 {
    background-color: var(--primary-background) !important;
}

.dark-mode .modal-content,
.dark-mode .modal-header,
.dark-mode .modal-footer,
.dark-mode .mainbox,
.dark-mode .dark-bg,
.dark-mode .leftcard,
.dark-mode .rcard,
.dark-mode .lastcard {
    background-color: var(--card-background) !important;
}

body.dark-mode,
.dark-mode .fourth {
    background-color: var(--background-color);
}

.dark-mode .modal-content,
.dark-mode .modal-header,
.dark-mode .modal-footer .dark-mode .leftcard,
.dark-mode .rcard,
.dark-mode .lastcard {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.dark-mode .modal-content,
.dark-mode .modal-header,
.dark-mode .modal-footer,
.dark-mode .head2 p,
body.dark-mode,
.dark-mode .fourth,
.dark-mode .navbar a,
.dark-mode .mobile-menu a,
.dark-mode .menu-icon {
    color: var(--text-color) !important;
}

.dark-mode #head,
.dark-mode #upper,
.dark-mode .cont1 p,
.dark-mode .subsection {
    opacity: 100% !important;
}

.dark-mode .modal-content,
.dark-mode .modal-header,
.dark-mode .modal-footer {
    border-color: var(--text-muted);
}

.dark-mode #head,
.dark-mode #upper,
.dark-mode .cont1 p,
.dark-mode .subsection,
.dark-mode .text-content p,
.dark-mode #text,
.dark-mode u,
.dark-mode b {
    color: var(--text-muted) !important;
}


.dark-mode .modal-header .btn-close {
    filter: brightness(0) invert(1);
}

.dark-mode .horizontal {
    background: linear-gradient(transparent 40%, var(--card-background) 40%) no-repeat;
}

.dark-mode .events-primary {
    background: linear-gradient(var(--card-background) 60%, transparent 30%) no-repeat !important;
}

.logo {
    transition: opacity 0.3s ease;
    margin: 0 !important;
    height: auto;
}

.light-logo {
    display: inline;
}

.dark-logo {
    display: none;
}

body.dark-mode .light-logo {
    display: none;
}

body.dark-mode .dark-logo {
    display: inline;
}

::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #f90000, #7d2e44);
    border-radius: 10px;
    border: 2px solid #f0f0f0;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #bb6c66, #8e3838);
}

html {
    scrollbar-width: auto;
}