body {
    margin: 0 60px;
    padding: 0;
    font-family: 'Raleway';
}
/* ======================================== */

header {
    background-color: white;
    padding: 20px 0 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    display: flex;
    align-items: center;
}
.logo img {
    width: 100%;
}
.navBar {
    font-size: 20px;
    display: flex;
    gap: 28px;
    font-weight: 450;
}
nav a {
    color: #000000;
    text-decoration: none;
}
.hamburger-menu{
    display: none;
}
 /* sections */
div.section {
    font-family: 'Raleway';
    padding: 5px 0 85px;
}
.section {
    display: flex;
    align-items: center;
    gap: 40px;
}
.content {
    flex: 1;
    flex-grow: 1.5;
}
.content h2 {
    text-align: center;
    margin-bottom: 0px;
}
.image {
    flex: 1;
}
.section img {
    max-width: 100%;
    height: auto;
}
.section h2 {
    font-size: 45px;
    font-weight: 600;
}
.section p {
    font-size: 22px;
}
.donate-button {
    position: relative;
    top: -8px;
    background-color: #FEC107;
    border: none;
    color: #ffff;
    padding: 8px 20px;
    text-align: center;
    text-decoration: none;
    font-size: inherit;
    cursor: pointer;
    border-radius: 37px;
}
.icons {
    display: flex;
    justify-content: space-evenly;
    margin-top: 32px;
}
.icons img{
    width: 25%;
} 
/* feature */
.container {
    margin: 0 -20px;
    padding: 80px 0;
    font-family: 'Raleway';
}
.container h2 {
    margin-top: 0;
    text-align: center;
    font-size: 51px;
}
.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 100px;
}
.card {
    position: relative;
    overflow: hidden;
    border: 8px solid;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}
.card:hover {
    border: 8px solid #FEC107;
    transform: scale(1.05);
}
.card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.card-content {
    font-size: 35px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    background: rgba(61, 41, 0, 0.61);
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.card-content h3 {
    margin: 0 0 20px;
}
.card-content p {
    font-family: 'Roboto';
    font-size: 13px;
}
.btn {
    background-color: transparent;
    border: 2px solid white;
    color: white;
    padding: 7px;
    text-decoration: none;
    display: inline-block;
    font-family: 'Roboto';
    font-weight: bold;
    font-size: 12px;
}
.gallery {
    /* background-image: url('../Images\ and\ icons/galleryBackground.jpg'); */
    background-size: cover;
    background-position: center;
    padding: 0 0 62px 0;
    margin-bottom: -50px;
}
.thumbnails {
    position: absolute;
    width: 94%;
    display: flex;
    justify-content: center;
    gap: 15px;
}
.thumbnail {
    width: 80px;
    aspect-ratio: 1;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.thumbnail:hover {
    border: solid 4px #fff;
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

/* newsletter */
.newsletter {
    background-color: #422c17;
    color: white;
    padding: 45px;
    text-align: center;
    align-items: center;
    border-radius: 10px;
    margin: 0 163px;
    margin: 104px 163px 0;
    display: flex;
    flex-direction: column;
}

.newsletter h2 {
    font-size: 25px;
    letter-spacing: 1px;
    word-spacing: 7px;
    margin-top: 0;
    margin-bottom: 10px;
}
.newsletter h6 {
    margin-bottom: 0;
}
.newsletter p {
    font-size: 15px;
    margin-bottom: 20px;
}

.input-group {
    display: flex;
    width: 400px;
    max-width: 100%;
    position: relative;
    align-items: center;
}

.input-group input {
    border: none;
    border-radius: 26px;
    padding: 10px 15px;
    width: 100%;
    font-size: 16px;
}

.input-group button {
    background-color: #ffc107;
    color: white;
    border: none;
    padding: 10px 29px;
    cursor: pointer;
    font-size: 16px;
    height: 90%;
    border-radius: 26px;
    margin: 1px;
    position: absolute;
    right: 0px;
    transform: translateX(-1%);
}
.hamburger-menu {
    position: relative;
    cursor: pointer;
    z-index: 1001;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px 0;
    transition: 0.4s;
}

.fullscreen-menu {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.fullscreen-menu.active {
opacity: 1;
visibility: visible;
}

.fullscreen-menu a {
text-decoration: none;
color: #fff;
font-size: 25px;
margin: 15px 0;
transition: color 0.3s;
}

.fullscreen-menu a:hover {
color: #f8f8f8;
}

/* Hamburger menu animation */
.hamburger-menu.active .bar:nth-child(1) {
transform: rotate(-45deg) translate(-5px, 6px);
background-color: #fff;
}

.hamburger-menu.active .bar:nth-child(2) {
opacity: 0;
}

.hamburger-menu.active .bar:nth-child(3) {
transform: rotate(45deg) translate(-5px, -6px);
background-color: #fff;
}

/* ================================ footer_copy-right section start    ===================================== */
.flex {
    display: flex;
    justify-content: center;
    align-items: center;
}
.footer_copy-right {
    padding: 45px 0;
}
.footer_copy-right_icon {
    width: 22px;
    height: 22px;
    cursor: pointer;
    margin-right: 8px;
}
.footer_copy-right_Text {
    color: rgba(0, 0, 0, 0.39);
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 0.01px;
}

/*============================= About Page =====================*/
#eventPage, #aboutPage {
    margin: 0;
}
#hero {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 35vh;
    background-size: cover;
    color: white;
    text-transform: uppercase;
    text-align: center;
    overflow: hidden;
    font-weight: 800;
    font-size: 2.6em;
}
.aboutHero {
    background-image: url('../Images and icons/aboutUs.jpg');
}
.margin {
    margin: 0 60px;
    padding-bottom: 0;
}
#heroText {
    font-size: 1em;
    font-weight: 900;
}
.welcomeText {
    font-size: 35px;
    font-family: 'Damion';
    color: #FEC107;
    text-align: center;
    margin-bottom: 70px;
}
.content.aboutIntro p {
    font-size: 25px;
}
.section.margin {
    padding-bottom: 35px;
}
.section.margin p {
    text-align: center;
}
.mission {
    text-align: center;
    font-size: 22px;
}
.mission h1 {
    font-family: 'Damion';
    margin-bottom: 0;
    font-size: 1.5em;
    font-weight: 500;
}
.mission h2 {
    margin: 0;
}
.mission p {
    margin-top: 0;
}
.purpose {
    font-family: 'Damion';
    padding-top: 100px;
    margin-bottom: 0;
    font-size: 30px;
    font-weight: 500;
}
.section.about h2 {
    font-size: 1.5em;
    text-align: left;
    font-weight: 700;
    margin-bottom: 0;
}
.section.about p {
    margin-top: 0;
    font-size: 25px;
}
.content.about {
    padding-left: 16px;
}
#teamHeader {
    font-size: 30px;
    font-family: 'damion';
    font-weight: 500;
    text-align: center;
}
/* ======================================== */
.team {
    display: flex;
    padding-bottom: 30px;
    gap: 40px;
}
.teamDetails h2 {
    text-align: center;
    font-size: 24px;
    margin-bottom: 20px;
}
.teamDetails {
    display: flex;
    gap: 20px;
}
.teamMember {
    text-align: center;
}
.teamMember img {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    transition: filter 0.3s ease;
}
.teamMember img.blurred {
    filter: blur(3px);
}
.teamMember h4 {
    font-size: 25px;
    margin: 10px 0 0;
}
.teamMember p {
    font-size: 12px;
    color: #888;
    margin: 0;
}
.aboutMember {
    flex: 1;
    text-align: center;
    position: relative;
}
.aboutMember p {
    font-size: 22px;
    line-height: 1.4;
    display: none;
}
.aboutMember p.active {
    display: block;
}
.aboutMember .buttons {
    /* position: absolute;
    bottom: -5px;
    left: 15px; */
    background: none;
    border: none;
    cursor: pointer;
}
.buttons button {
    border: none;
    border-radius: 50%;
    background-color: #D9D9D9;
    font-size: 29px;
    cursor: pointer;
}

/*======================== event page ==========================*/
.eventHero {
    background-image:url(../Images\ and\ icons/eventHero.jpg);
}
.upcomingDate {
    font-size: 25px;
    color: #FEC107;
    font-weight: 500;
    margin: 40px 0 0 0;
}
.eventCounter {
    text-align: center;
}
.eventCounter h1 {
    margin-top: 30px;
    margin-bottom: 20px;
    font-size: 90px;
    font-weight: 800;
}
.countdown {
    display: flex;
    justify-content: center;
    gap: 4px;
}
.time-block {
    position: relative;
    background-color: #fff;
    border-radius: 50%;
    border: 8px solid;
    width: 195px;
    height: 195px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.time-block.yellow {
    border-color: #FEC107;
}
.time-block.gery {
    border-color: #6C6D6E;
}
.time-value {
    font-size: 68px;
    font-weight: 800;
}
.time-label {
    font-size: 25px;
    text-transform: uppercase;
    position: absolute;
    bottom: -50px;
}
.events {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 40px;
}
.events h2 {
    font-size: 74px;
    margin-bottom: 0;
    padding-top: 90px;
    font-weight: 800;
}
.events h3 {
    margin-top: 0;
    margin-bottom: 60px;
    font-size: 30px;
    color: #fec107;
}
.event {
    display: flex;
    align-items: center;
    border-top: 1px solid #eee;
    padding-top: 50px;
    padding-bottom: 20px;
}
.date {
    text-align: center;
}
.day {
    font-size: 60px;
    font-weight: bold;
    color: #FEC107;
}
.subDetail {
    font-size: 19px;
    color: #888;
}
.details {
    flex-grow: 1;
}
.title {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 5px;
}
.detButton {
    font-size: 25px;
    font-weight: 700;
    margin: 0 40px 24px 0;
    background-color: #FEC107;
    color: white;
    border: none;
    padding: 10px 22px;
    border-radius: 25px;
    cursor: pointer;
}

/* meadia query */
@media screen and (max-width: 1024px) {
    body {
        margin: 0 40px;
    }

    .navBar{
        font-size: 1.15rem;
    }

    .logo img {
        transform: scale(0.7);
    }

    .section h2 {
        font-size: 2.5rem;
    }

    .section p {
        font-size: 1.2rem;
    }

    .gallery {
        padding: 0 0 62px 0;
    }

    .card {
        height: 31rem;
        width: 25rem;
    }

    .card-content h3 {
        font-size: 1.9rem;
    }

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

    .grid.marg {
        margin-bottom: 0;
        padding-bottom: 10rem;
    }

    /* About Page */
    .team {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .mission h2 {
        font-size: 1.7rem;
    }

    .mission p {
        font-size: 1.4rem;
    }

    .aboutMember .buttons {
        left: 50%;
        bottom: -1rem;
    }

    .section {align-items: center;
        gap: 30px;
    }

    .section.about p {
        font-size: 1.3rem;
    }

    /* Event Page */
    .eventCounter h1 {
        font-size: 70px;
    }

    .newsletter {
        margin: 80px 80px 0;
    }

    .time-block {
        width: 140px;
        height: 140px;
    }

    .event {
        padding-top: 40px;
        padding-bottom: 15px;
    }

    .events h2 {
        font-size: 70px;
        padding-top: 80px;
    }
    .events h3 {
        font-size: 25px;
    }

    .day {
        font-size: 50px;
    }

    .title {
        font-size: 2rem;
    }

    .detButton {
        font-size: 1.1rem;
    }

    .time-value {
        font-size: 50px;
    }

    .time-label {
        font-size: 20px;
        bottom: -40px;
    }
}

@media screen and (max-width: 768px) {
    body {
        margin: 0 20px;
    }
    
    header {
        padding: 11px 0 32px;
    }

    .logo img {
        transform: scale(0.8);
    }

    .logo img {
        width: 70%;
    }

    .section {
        flex-direction: column;
    }

    .section .image {
        order: 1;
        transform: scale(1);
        height: 30px;
        width: max-content;
    }

    .section img {
        max-width: max-content;
        height: 370px;
    }

    .icons img {
        max-width: max-content;
        height: 146px;
    }

    .container {
        margin: 0 16px;
    }

    .card {
        height: 25rem;
        width: 20rem;
    }

    /* Improve newsletter section */
    .newsletter {
        margin: 40px 15px;
        padding: 30px 20px;
        border-radius: 8px;
    }

    .input-group {
        width: 100%;
        max-width: 300px;
        margin: 20px auto;
    }

    .input-group input {
        padding: 12px 20px;
        font-size: 14px;
    }

    .input-group button {
        padding: 10px 20px;
        font-size: 14px;
    }

    /* Adjust icons for mobile */
    .icons {
        flex-direction: row;
        gap: 15px;
        margin-top: 25px;
    }

    .icons img {
        width: 30%;
    }

    .mission p {
        font-size: 1.3rem;
    }

    
    .welcomeText {
        font-size: 24px;
        margin-bottom: 43px;
    }
    .content.aboutIntro p {
        font-size: 19px;
    }
    .mission {
        font-size: 18px;
    }
    .section.about p {
        font-size: 19px;
    }
    .teamMember h4 {
        font-size: 15px;
        margin: 7px 0 0;
    }
    .teamMember img {
        width: 88px;
        height: 88px;
    }
    .aboutMember p {
        font-size: 15px;
        line-height: inherit;
    }
    .buttons button {
        font-size: 22px;
    }
    .purpose {
        padding-top: 70px;
        font-size: 26px;
    }
    .navBar {
        display: none;
    }
    .hamburger-menu{
        display: block;
    }
    .fullscreen-menu .donate-button {
        font-size: inherit;
    }
    div.section {
        font-family: 'Raleway';
        padding: 5px 0 60px;
    }
    .section {
        display: flex;
        align-items: center;
        gap: 20px;
    }
    .section h2 {
        font-size: 30px;
    }
    .section p {
        font-size: 19px;
    }
    .donate-button {
        font-size: 14px;
        margin: 19px auto;
    }
    .container h2 {
        text-align: center;
        font-size: 27px;
    }
    .icons{
        margin-top: 20px;
    }
    .card-content {
        font-size: 20px;
    }
    .btn {
        padding: 5px;
        font-size: 8px;
    }
    .gallery {
        padding: 34px 0;
    }
    .thumbnail {
        width: 55px;
    }
    .thumbnails {
        padding-top: 25px;
        margin-bottom: 45px;
    }
    .newsletter {
        margin: 68px 0 0 41px;
        max-width: 553px;
        padding: 17px 45px;
    }
    .input-group {
        margin: 14px auto 0 auto;
    }
    .newsletter h2 {
        font-size: 23px;
        margin-bottom: 10px;
    }
    .input-group {
        width: 334px;
        margin: 14px auto 0 auto;
    }
    .footer_copy-right_Text {
        font-size: 15px;
    }

    /* event page */
    #hero {
        height: 23vh;
        font-size: 1.5em;
    }
    .upcomingDate {
        font-size: 15px;
        font-weight: 600;
        margin: 30px 0 0 0;
    }
    .eventCounter h1 {
        margin-top: 15px;
        margin-bottom: 10px;
        font-size: 50px;
    }
    .time-block {
        border: 4px solid;
        width: 105px;
        height: 105px;
    }
    .time-value {
        font-size: 45px;
    }
    .time-label {
        font-size: 19px;
        bottom: -30px;
    }
    .events h2 {
        font-size: 40px;
        padding-top: 65px;
    }
    .events h3 {
        margin-bottom: 50px;
        font-size: 20px;
    }
    .day {
        font-size: 35px;
    }
    .margin {
        margin: 0 50px;
    }
    .title {
        font-size: 25px;
    }
    .subDetail {
        font-size: 14px;
    }
    .detButton {
        font-size: 18px;
        margin: 0 20px 24px 0;
        padding: 7px 15px;
    }
    .event {
        padding-top: 40px;
        padding-bottom: 15px;
    }
    .events {
        margin-top: 40px;
        margin-bottom: 40px;
    }
}

@media screen and (max-width: 431px) {
    body {
        margin: 0 25px;
    }

    /* Header */
    header {
        padding: 11px 0 10px;
        width: fit-content
    }

    .logo img {
        width: 47%;
        transform: scale(1);
    }

    .hamburger-menu {
        margin-left: 35px;
    }

    /* Hero Section */
    #hero {
        height: 13vh;
    }

    #heroText {
        font-size: 15px;
    }

    /* Main Sections */
    .section {
        gap: 10px;
    }

    .section img {
        height: 180.3px;
    }

    div.section {
        padding: 5px 0 22px;
        width: 355px;
        overflow: hidden;
    }

    .section h2 {
        font-size: 20px;
    }

    .section p {
        font-size: 14px;
        margin-top: 5px
    }

    .icons img {
        height: 95.3px;
    }

    .grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 10px;
    }
    
    .card {
        height: 23em;
        width: 17.5rem;
    }

    .section .image {
        transform: scale(1);
    }


    /* Cards and Grid */
    .container {
        margin: 0 -14px;
        padding: 0 0 48px;
    }

    .container h2 {
        margin-top: 49px;
        font-size: 25px;
        margin-bottom: 20px;
    }

    .grid {
        gap: 12px;
        margin-bottom: -26px;
    }

    .card {
        border: 4px solid;
    }

    .card:hover {
        border: 4px solid #FEC107;
        transform: scale(1.05);
    }

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

    .card-content h3 {
        font-size: 25px;
        margin: 0 0 20px;
    }

    .card-content p {
        font-size: 9px;
    }

    .grid {
        width: fit-content;
        overflow: hidden;
        margin:0 auto;
    }

    .grid.marg {
        padding-bottom: 5rem
    }

    /* Team Section */
    .team {
        gap: 12px;
        padding-bottom: 5px;
    }

    .teamDetails {
        gap: 10px;
    }

    .teamMember img {
        width: 50px;
        height: 50px;
    }

    .teamMember h4 {
        font-size: 10px;
        margin: 3px 0 0;
    }

    #teamHeader {
        font-size: 22px;
    }

    .gallery {
        padding-top: 0;
    }

    /* Newsletter */
    .newsletter {
        margin: 50px auto 0;
        max-width: 90%;
        padding: 20px;
    }

    .newsletter h2 {
        font-size: 14px;
        margin-bottom: 0;
    }

    .newsletter p {
        font-size: 10px;
        margin-bottom: 0;
    }

    .input-group {
        width: 230px;
    }

    .input-group input {
        padding: 10px 15px;
        font-size: 9px;
    }

    .input-group button {
        padding: 5px 14px;
        font-size: 12px;
    }

    /* Events Page */
    .upcomingDate {
        font-size: 9px;
        margin: 20px 0 0 0;
    }

    .eventCounter h1 {
        margin: 10px 0 5px;
        font-size: 27px;
    }

    .time-block {
        border: 2px solid;
        width: 58px;
        height: 58px;
    }

    .time-value {
        font-size: 25px;
    }

    .time-label {
        font-size: 10px;
        bottom: -16px;
    }

    /* Footer */
    .footer_copy-right_Text {
        font-size: 11px;
    }

    .footer_copy-right_icon {
        width: 19px;
        aspect-ratio: 1;
    }
}

@media screen and (max-width: 376px) {
    body {
        margin: 0 19px;
    }
    div.section {
        width: 330px;
    }
    .section h2 {
        font-size: 18px;
    }
    .section p {
        font-size: 12px;
        font-weight: 400;
    }
    .donate-button {
        margin: 10px auto;
        padding: 5px 9px;
        font-size: 9px;
    }
    .content.aboutIntro p {
        font-size: 15px;
    }
    .mission p {
        font-size: 1.15rem;
    }
    .mission p {
        font-size: 1rem;
    }
    .mission h2 {
        font-size: 1.3rem;
    }
    .section.about h2 {
    font-size: 1.4em;
    }
    .section.about p {
        font-size: 17px;
    }
    .container h2 {
        margin-top: 35px;
        font-size: 17px;
    }
    .container h2 {
        margin-top: 49px;
        font-size: 25px;
        line-height: 24px;
        font-weight: 600;
    }
    .card {
        height: 17rem;
        width: 13.5rem;
    }
    .card-content h3 {
        font-size: 18px;
        margin: 0 0 8px;
        font-weight: 700;
    }
    .container {
        padding: 0 0 35px;
    }
    .newsletter h2 {
        font-size: 12px;
        margin-bottom: 0px;
        letter-spacing: 1px;
        word-spacing: 0px;
    }
    .newsletter p {
        font-size: 12px;
        margin-bottom: 8px;
    }
    .input-group {
        width: 206px;
    }
    .newsletter {
        padding: 25px 40px;
    }
    .footer_copy-right_icon {
        width: 14px;
        height: auto;
        aspect-ratio: 1;
        padding-top: 4px;
        margin: 1px;
    }
    .footer_copy-right_Text {
        font-weight: 200;
        margin: 0;
    }

    #hero {
        height: 9vh;
    }
    .teamDetails {
        gap: 18px;
    }
    .teamMember h4 {
        font-size: 8px;
    }
    .teamMember h4 {
        font-size: 8px;
        margin: 3px 0 0;
    }
    .teamMember p {
        font-size: 8px;
    }
    .teamMember img {
        width: 45px;
        height: 45px;
    }
    .team {
        padding-bottom: 0;
    }
    .team {
        gap: 5px;
    }
    .aboutMember p {
        font-size: 12px;
    }

    /* events page */
    header {
        padding: 11px 0 32px;
    }
    .logo img {
        width: 50%;
    }
    #hero {
        height: 9vh;
    }
    #heroText {
        font-size: 12px;
    }
    .margin {
        margin: 0 20px;
    }
    .upcomingDate {
        font-size: 6px;
        margin: 13px 0 0 0;
    }
    .eventCounter h1 {
        margin-top: 8px;
        margin-bottom: 0;
        font-size: 20px;
    }
    .time-block {
        border: 1px solid;
        width: 42px;
        height: 42px;
    }
    .time-value {
        font-size: 18px;
    }
    .time-label {
        font-size: 8px;
        bottom: -13px;
    }
    .events h2 {
        font-size: 16px;
        padding-top: 25px;
    }
    .events h3 {
        margin-bottom: 18px;
        font-size: 8.5px;
    }
    .day {
        font-size: 16px;
    }
    .title {
        font-size: 12px;
        margin-bottom: 0;
    }
    .subDetail {
        font-size: 5.7px;
    }
    .detButton {
        font-size: 8px;
        margin: 0 5px 10px 0;
        padding: 4px 8px;
    }
    .event {
        padding-top: 10px;
        padding-bottom: 4px;
    }
}