  :root {
    --font-heading: 'Bebas Neue', sans-serif;
    --font-body: 'Open Sans', sans-serif;
  }
  * {
    margin: 0;
    padding: 0;
    border: none;
    outline: none;
    box-sizing: border-box;
    transition: all ease 300ms;
  }
  body {
    font-family: var(--font-body);
    background-color: #e60000;
    border: none;
    outline: none;
  }
  body.no-scroll {
    overflow: hidden;
  }
  .nav {
    display: flex;
    justify-content: space-between;
    position: fixed;
    background-color: #ffffff;
    width: 100%;
    z-index: 1000;
    padding: .5em 3em;
    box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.5);
  }
  .logoname {
    display: flex;
  }
  .logo {
    width: 150px;
    object-fit: cover;
    padding: 0;
    margin: 0;
  }
  h1 {
    font-family: var(--font-heading);
    padding: .5em 0 0 .2em;
    font-weight: 800;
    color: #e60000;
    font-size: 2rem;
  }
  .letterspan {
    margin-left: -14px;
  }
  .menu {
    display: flex;
    list-style: none;
    align-items: center;
    justify-content: center;
    position: relative;
  }
  .menu a {
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: .9rem;
    color: #000000;
    padding: .5em;
    margin: .5em;
  }
  .menuu,
  .submenu {
    position: relative;
    font-size: .85rem;
    color: #000000;
    padding: .5em .8em;
    margin: .5em 1em .5em 0;
    cursor: pointer;
  }
  .menuu .onhavour:hover,
  .submenu .onhavour:hover {
    font-weight: 600;
  }
  .dropdownmenu {
    display: none;
    position: absolute;
    background-color: #fff;
    top: 60px;
    left: 0px;
    min-width: 190px;
    list-style: none;
    border-radius: .3em;
    padding: .2em .7em;
    z-index: 3;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
  }
  .dropdownmenu a {
    padding: .5em;
    text-decoration: none;
    display: block;
  }
  .dropdownmenu.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
  }
  .menu a:hover {
    font-weight: 600;
  }
  .menu a.active {
    color: #e60000 !important;
    font-size: .9rem;
    border-radius: .25em;
    font-weight: 900;
  }
  .down-arrow {
    position: absolute;
    font-size: 1.5rem;
    font-weight: 700;
    top: 5px;
    transition: transform 0.3s ease;
  }
  .down-arrow.rotate {
    transform: rotate(-0.5turn);
  }
  .menu-toggle {
    display: none;
  }
  .supportbtn {
    background-color: #e60000;
    padding: .5em .2em;
    border-radius: 1em;
    margin: 0 .8em;
  }
  .supportbtn a {
    color: #fff !important;
    font-size: 1rem;
  }
  a.sprtactive {
    background-color: #FFD700;
    color: #000 !important;
    padding: .5em .8em;
    font-size: 1em;
    font-weight: 700;
  }
  .login {
    background-color: #fff;
    border: 2px solid #e60000;
    font-size: 1rem;
    color: #e60000;
    border-radius: 1em;
    cursor: pointer;
  }
  .login:hover {
    background-color: #e60000;
    color: #fff;
    font-weight: 600;
  }
  main {
    padding-top: 5em;
  }
  .home-hero {
    display: none;
  }
 .hero-slideshow {
  position: relative;
  width: 100%;
  height: 75vh;
  overflow: hidden;
}

.slides-container {
  position: relative;
  width: 100%;
  height: 92vh
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  z-index: 1;
}

.slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 2;
}

.slide.active {
  opacity: 1;
  z-index: 3;
  animation: kenBurns 15s linear forwards;
}

@keyframes kenBurns {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.08);
  }
}

  .slide .hero-content {
    position: absolute;
    top: 60%;
    left: 2.5em;
    transform: translateY(-50%);
    z-index: 3;
    color: #ffffff;
    max-width: 48%;
  }
  .slide .hero-content h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: #ffffff;
    line-height: 1.1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out 0.5s, transform 0.8s ease-out 0.5s;
  }
  .slide.active .hero-content h1 {
    opacity: 1;
    transform: translateY(0);
  }
  .home-what-we-do,
  .home-impact,
  .home-cta {
    padding: 4em 3em;
  }
  .home-about {
    padding: 2em 3em;
  }
  .home-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
  }
  .home-about h2,
  .home-what-we-do h2,
  .home-impact h2,
  .home-cta h2 {
    font-family: var(--font-heading);
    color: #FFD700;
    font-size: 3rem;
    margin-bottom: .5em;
  }
  .home-about h2 {
    margin-bottom: 0;
  }
  .home-about p,
  .home-cta p {
    font-family: var(--font-body);
    font-size: 1.15rem;
    color: #ffffff;
    max-width: 800px;
    margin: 0 auto 1.5em;
    line-height: 1.6;
  }
  .home-button {
    font-family: var(--font-body);
    font-weight: 700;
    background-color: #ffffff;
    color: #e60000;
    padding: .75em 1.5em;
    text-decoration: none;
    border-radius: .25em;
    font-size: 1rem;
    transition: all ease 300ms;
  }
  .home-button:hover {
    background-color: #FFD700;
    color: #212121;
  }
  .home-what-we-do {
    background-color: #fff8e7;
  }
  .home-what-we-do h2 {
    color: #e60000;
  }
  .what-we-do-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2em;
    margin-top: 2em;
  }
  .card {
    background-color: transparent;
    min-height: 280px;
    border-radius: .5em;
    perspective: 1000px;
  }
  .card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: .5em;
  }
  .card:hover .card-inner {
    transform: rotateY(180deg);
  }
  .card-cover,
  .card-content {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: .5em;
    padding: 2em;
  }
  .card-cover {
    background: #ffffff;
    color: #212121;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  .card-cover i {
    font-size: 4rem;
    color: #e60000;
  }
  .card-cover h3 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: #212121;
    margin-top: .25em;
  }
  .card-content {
    background: #ffffff;
    color: #212121;
    transform: rotateY(180deg);
    text-align: left;
  }
  .card-content h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: #e60000;
    margin-bottom: .5em;
  }
  .card-content p {
    font-family: var(--font-body);
    font-size: 1rem;
    color: #42424f;
    line-height: 1.6;
  }
  .home-impact {
    background-color: #fcfcfc;
  }
  .home-impact h2 {
    color: #e60000;
  }
  .impact-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2em;
    margin-top: 2em;
  }
  .stat {
    background: #e60000;
    padding: 2em;
    border-radius: .5em;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }
  .stat i {
    font-size: 3rem;
    color: #FFD700;
  }
  .stat h3 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: #FFD700;
    margin: .25em 0;
  }
  .stat p {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
  }
  .home-cta {
    background-color: #FFD700;
  }
  .home-cta h2 {
    color: #e60000;
  }
  .home-cta p {
    color: #212121;
  }
  .home-button-cta {
    font-family: var(--font-heading);
    font-weight: 600;
    background-color: #e60000;
    color: #ffffff;
    padding: .75em 2em;
    text-decoration: none;
    border-radius: .25em;
    font-size: 1.5rem;
    transition: all ease 300ms;
  }
  .home-button-cta:hover {
    background-color: #212121;
    color: #ffffff;
  }
  .animate-on-scroll {
    opacity: 0;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  }
  .slide-in-left {
    transform: translateX(-50px);
  }
  .slide-in-right {
    transform: translateX(50px);
  }
  .slide-in-up {
    transform: translateY(50px);
  }
  .card.slide-in-up {
    transition-delay: 0.2s;
  }
  .card.slide-in-right {
    transition-delay: 0.4s;
  }
  .stat.slide-in-up {
    transition-delay: 0.2s;
  }
  .stat.slide-in-right {
    transition-delay: 0.4s;
  }
  .animate-on-scroll.visible {
    opacity: 1;
    transform: translate(0, 0);
  }
  .about-hero {
  position: relative;
  height: 75vh;
  min-height: 400px;
  background-image: url("../assets/images/aboutimg5.webp");
  background-size: cover;
  background-position: center 35%; /* IMPORTANT for best crop */
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.abouthero-content {
  position: relative;
  max-width: 550px;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;   /* centers button + text */
  text-align: center;
}
.abouthero-content h1 {
  color: #FFD700;
  font-size: 3.1rem;
  font-weight: 800;
  margin: 10rem 0 0.2em;
}

.abouthero-content p {
  font-family: var(--font-body);
  font-size: 1.4em;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 28px;
  color: #f1f1f1;
}

.hero-btn {
  display: inline-block;
  padding: 14px 34px;
  background-color: #e10600;
  color: #fff;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.hero-btn:hover {
  background-color: #b00000;
}


  .aboutoverview {
    padding: 1em 3em 1em;
  }
  .aboutvismission.slide-in-up,
  .aboutimpact.slide-in-up,
  .aboutteam.slide-in-up,
  .aboutjoin.slide-in-up,
  .aboutfounder {
    transition-delay: 0.1s;
  }
  .aboutoverview h1,
  .aboutoverview h2,
  .aboutstory h3,
  .aboutteam h3,
  .aboutimpact h3,
  .aboutjoin h3 {
    padding-bottom: .5em;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: #FFD700;
  }
  .aboutstory h3,
  .aboutteam h3,
  .aboutjoin h3, 
  .aboutoverview h1{
    font-size: 2rem;
  }
  .aboutoverview .over {
    font-family: var(--font-body);
    font-weight: 800;
    font-size: clamp(1.2rem,3.8vh,1.8rem);
    color: #fff;
    padding-left: .5em;
  }
  
  .abouttextcolor1 {
    color: #FFD700;
  }
  .abouteach_img {
    display: flex;
    padding: 3em 1em 3em 3em;
    gap: 2em;
  }
  .stickyline {
    padding: .2em;
    background-color: #ffd1d1;
    position: sticky;
    top: 100px;
    height: 300px;
    margin-top: 2em;
  }
  .abouteach {
    width: 55%;
  }
  .abouteach h2 {
    color: #FFD700;
    padding: 1em 0 .5em;
    font-family: var(--font-heading);
  }
  .abouteach p {
    color: #fff;
    font-weight: 500;
    font-family: var(--font-body);
  }
  .stickyimage img{
    position: sticky;
    top: 150px;
    margin: 2em 0 4em 2em;
    max-width: 457px;
    height: 195px;
    object-fit: contain;
    border-radius: 2em;
    box-shadow: 0 0 1em rgba(0, 0, 0, 0.5);
  }
  .aboutvismission h3,
  .aboutfounder h2 , .impact-container h3{
    padding: 2em 1.4em 0;
    color: #e60000;
    font-size: 2em;
    font-family: var(--font-heading);
  }
  .aboutvision,
  .aboutfounder,
  .aboutmission {
    background-color: #fff;
    display: flex;
    gap: 1em;
  }
  .aboutvision img {
    width: 29%;
  }
  .aboutmission {
    background-color: #fff8e7;
  }
  .aboutmission img {
    width: 30%;
  }
  .aboutfounder{
    padding-bottom: 1.5em;
  }
  .aboutfounder img {
    margin: 3em 0 0;
    width: 95%;
    border-radius: 50%;
    border: 5px solid #e60000;
  }
  .aboutvision p,
  .aboutmission p,
  .aboutfounder p {
    padding: .8em 2.05em;
    font-family: var(--font-body);
    font-size: 1.5rem;
    font-weight: 700;
    color: #212121;
  }
  .aboutvision p {
    padding-bottom: 3em;
  }
  .aboutfounder p {
    font-size: 1.3em;
    line-height: 1.6;
    padding-bottom: 0;
    padding-left: 2.4em;
  }
  .found,
  .found .desg {
    text-align: center;
    font-size: .95em;
    font-weight: 800;
  }
  .founder-name {
    text-align: center;
    font-size: 1.1em;
    font-weight: 800;
  }
  .found .desg {
    font-size: 1em;
    padding: 0 0 2em;
    color: #e60000;
  }
  .aboutstory,
  .aboutteam,
  .aboutimpact {
    padding: 1em 3em;
    color: #fff;
  }
  .aboutstory p,
  .aboutimpact p,
  .aboutteam p,
  .aboutimpact p,
  .aboutjoin p {
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-weight: 500;
    padding-left: .2em
  }
  .aboutjoin {
    padding: 2em 3em;
    color: #fff;
  }
  .aboutjoinquote {
    color: #FFD700;
  }
  .aboutimpact {
    position: relative;
    padding: 0;
    margin-bottom: 100px;
  }

.impact-container {
    height: 50vh ;
    padding: 0 3em 0;
    text-align: center;
    background-color: #fff8e7;
}

.impact-intro {
    font-size: 1.1rem;
    color: #212121;
    padding-bottom: 40px;
    padding-top: 1em;
}

.impact-areas {
    position: absolute;
    left: 7%;
    bottom: -70px;   /* HALF OUTSIDE */
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    width: 85%;
}

.impact-block {
    background-color: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    text-align: left;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.impact-block h4 {
    color: #e10600;
    margin-bottom: 10px;
}
.impact-block p{
  font-size: .9rem;
  color: #212121;
}
.impact-block:hover{
  transform: scale(1.06);
}

  .edudes {
    padding: 3em 6em;
  }
  .edudes h2 {
    color: #FFD700;
    font-family: var(--font-heading);
    font-size: clamp(3.2rem,1.7vw,3rem);
    font-weight: 800;
    padding-bottom: .5em;
    text-align: center;
  }
  .edudes p {
    color: white;
    font-family: var(--font-body);
    font-size: 1.1rem;
    text-align: center;
    line-height: 1.6;
    font-weight: 600;
  }
  .notebook {
    display: flex;
    background-color: #fcfcfc;
    gap: 2em;
    padding: 3em;
    margin: 1em 0 0;
  }
  .padsdistr {
    display: flex;
    background-color: #fff8e7;
    gap: 2em;
    padding: 3em;
  }
  .noteimg,
  .padimg,
  .studntimg,
  .ysrimg {
    width: 60%;
  }
  .ysrcnt {
    display: flex;
    gap: 2em;
    padding: 3em;
  }
  .noteimg img,
  .padimg img,
  .studntimg img,
  .ysrimg img {
    width: 100%;
    object-fit: cover;
    border-radius: 1em;
  }
  .notedes,
  .padsdes,
  .stdntdes,
  .ysrdes {
    width: 50%;
  }
  .notedes h2,
  .padsdes h2,
  .stdntdes h2,
  .ysrdes h2 {
    color: #e60000;
    font-family: var(--font-heading);
    font-size: 2.3rem;
    font-weight: 800;
    padding-bottom: .5em;
  }
  .ysrdes h2 {
    color: #FFD700;
  }
  .highlgtcnt,
  .funthl {
    color: #FFD700;
    font-weight: 600;
  }
  .notedes p,
  .padsdes p,
  .stdntdes p,
  .ysrdes p,
  .ysrdes p {
    line-height: 1.6;
    font-family: var(--font-body);
    font-size: 1.05rem;
  }
  .ysrdes p {
    color: #fff;
    font-weight: 500;
  }
  .twostdntcnt {
    display: flex;
    background-color: #fff;
    gap: 2em;
    padding: 3em;
  }
  .stdthl {
    color: #e60000;
    font-weight: 600;
  }
  .blood-button1 {
    font-family: var(--font-body);
    font-weight: 700;
    background-color: #FFD700;
    color: #212121;
    padding: .75em 1.5em;
    text-decoration: none;
    border-radius: .25em;
    font-size: 1rem;
    transition: all ease 300ms;
  }
  .blood-button1:hover {
    background-color: #e60000;
    color: #fff;
  }
  .bldcmnty {
    margin-bottom: 2em;
  }
  .arrw {
    padding-left: .5em;
  }
  .blood-button2 {
    font-family: var(--font-body);
    font-weight: 700;
    background-color: #fff;
    color: #e60000;
    padding: .75em 1.5em;
    text-decoration: none;
    border-radius: .25em;
    font-size: 1rem;
    transition: all ease 300ms;
  }
  .blood-button2:hover {
    background-color: #FFD700;
    color: #212121;
  }
  .head {
    text-align: center;
  }
  .head h2 {
    padding-bottom: .5em;
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #FFD700;
  }
  .bldcntn {
    padding-top: 2em;
  }
  .bldimg {
    width: 60%;
  }
  .bldimg img {
    width: 100%;
    object-fit: cover;
    border-radius: 1em;
  }
  .events-section {
    max-width: 1200px;
    margin: auto;
    padding: 40px 20px;
  }
  .events-section h1 {
    text-align: center;
    margin-bottom: 10px;
  }
  .events-intro {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
  }
  .event-block {
    margin-bottom: 50px;
  }
  .event-block h2 {
    margin-bottom: 15px;
    color: #222;
  }
  .image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
  }
  .image-grid img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
  }
  .image-grid img:hover {
    transform: scale(1.03);
  }
  .event-text {
    margin-top: 12px;
    color: #555;
    max-width: 800px;
  }
  .imageslides {
    width: 100%;
    height: 68vh;
    overflow: hidden;
    position: relative;
  }
  .slider {
    width: 100%;
    display: flex;
  }
  .slider>div {
    position: relative;
    flex-shrink: 0;
    width: 100%;
    height: 68vh;
  }
  .slider img {
    width: 100%;
    height: 90vh;
    object-fit: cover;
  }
  .slider>div::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
    pointer-events: none;
  }
  .quote {
    position: absolute;
    bottom: 7%;
    left: 25%;
    transform: translateX(-50%);
    color: #fff;
    width: 45%;
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    z-index: 3;
  }
  .support-intro {
    padding: 2em 3em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
  }
  .support-intro h2 {
    font-family: var(--font-heading);
    color: #FFD700;
    font-size: 3rem;
    padding-bottom: 0.3em;
  }
  .support-intro p {
    font-family: var(--font-body);
    font-size: 1.15rem;
    color: #ffffff;
    line-height: 1.6;
  }
  .member-donation {
    display: flex;
    margin: 1.5em;
    gap: 3em;
  }
  .memdonar {
    margin-right: 1em;
    flex: 1 1 65%;
    min-width: 0;
    background-color: #fafafa;
    position: relative;
    z-index: 1;
    padding-top: 0.1px;
    padding-bottom: 0.1px;
  }
  .donation-goal {
    padding: 8em 3em;
    flex: 1 1 35%;
    min-width: 0;
  }
  .donation-goal h2 {
    font-family: var(--font-heading);
    color: #fff;
    font-size: 3rem;
    margin: 0.5em auto;
    text-align: center;
  }
  .hidden {
  display: none;
  }
  .progress-bar-container {
    width: 100%;
    max-width: 800px;
    margin: 1em 0;
    background-color: #fff;
    border-radius: 0.5em;
    overflow: hidden;
    border: 2px solid #ddd;
  }
  .progress-bar {
    width: 65%;
    background-color: #e60000;
    color: white;
    padding: 0.75em 1.5em;
    text-align: right;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    white-space: nowrap;
  }
  .donation-goal p {
    font-family: var(--font-body);
    color: #FFD700;
    text-align: center;
    font-size: 1.1rem;
    margin-top: 1.5em;
    font-weight: 600;
  }
  .memberform form h3,
  .donationform form h3 {
    font-family: var(--font-heading);
    color: #e60000;
    font-size: 2rem;
    text-align: center;
    padding: .5em 0 0;
  }
  .auth-form-group1 {
    display: flex;
    flex-direction: column;
    gap: .7em;
  }
  .donationform form {
    width: 90%;
    max-width: 900px;
    background-color: #ffffff;
    padding: 1.5em 3em 2em;
    border-radius: .5em;
    margin: 2.5em auto;
    box-shadow: 0 0 .7em rgba(0, 0, 0, 0.65);
  }
  .mandatoryfield {
    color: red;
    font-size: 1rem;
  }
  .donation-tabs {
    display: flex;
    width: 100%;
  }
  .tab-toggle {
    flex: 1;
    padding: 1em 0.5em;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    background-color: #ccc;
    color: #181818;
    cursor: pointer;
    border: none;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
  }
  .tab-toggle:hover {
    background-color: #ddd;
  }
  .tab-toggle.active {
    background-color: #ffffff;
    color: #e60000;
    border-bottom: 3px solid #e60000;
  }
  .form-grid {
    margin-top: 2em;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1em;
  }
  .form-grid label {
    font-family: var(--font-heading);
    color: #212121;
    font-size: 1rem;
  }
  .form-grid input[type="text"],
  .form-grid input[type="email"],
  .form-grid input[type="tel"],
  .form-grid input[type="number"],
  .form-grid select {
    font-family: var(--font-body);
    color: #424242;
    font-size: 1rem;
    background-color: #EBEBEC;
    padding: 0.5em;
    border-radius: 0.25em;
    border: 1px solid #EBEBEC;
    appearance: none;
  }
  .form-grid input:focus,
  .form-grid select:focus {
    border-color: #e60000;
    box-shadow: 0 0 0 2px rgba(230, 0, 0, 0.2);
  }
  .select-wrapper {
    position: relative;
    display: grid;
  }
  .select-wrapper::after {
    content: '\25BC';
    position: absolute;
    top: 70%;
    right: 5%;
    transform: translateY(-50%);
    color: #424242;
    pointer-events: none;
    font-size: 0.8em;
  }
  .checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75em;
    margin-top: 0.5em;
    grid-column: span 2;
  }
  .checkbox-wrapper input[type="checkbox"] {
    width: 1.15em;
    height: 1.15em;
    margin: 0;
    accent-color: #e60000;
  }
  .checkbox-wrapper label {
    font-family: var(--font-body);
    color: #424242;
    font-size: 0.95rem;
    font-weight: 500;
    margin: 0;
  }
  .confirm-message {
    margin-top: 1em;
    padding: 1em;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    border-radius: 0.25em;
    text-align: center;
    font-family: var(--font-body);
    font-weight: 600;
    display: none;
  }
  .error-message {
    color: #e60000;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 0.25em;
    display: none;
  }
  .formsubmit {
    background-color: #fa1b1b;
    color: #ffffff;
    font-size: 1.35rem;
    padding: .3em 1em;
    border-radius: .25em;
    cursor: pointer;
    width: 50%;
    margin: 2em 6.5em .5em;
  }
  .container,
  .forgot-password {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #b40000;
  }
  .loghead,
  .forgot-password h2 {
    color: #FFD700;
    margin-bottom: 1em;
  }
  .role-selection {
    display: flex;
    gap: 20px;
    margin-bottom: 18px;
    font-weight: bold;
  }
  .role-selection label {
    margin: 0 25px;
  }
  .container form,
  .frgtform {
    display: flex;
    flex-direction: column;
    background: white;
    width: 320px;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  }
  label,
  .frgtform p {
    text-align: left;
    margin-bottom: .1em;
    font-weight: bold;
  }
  input,
  .frgtform input {
    font-family: var(--font-body);
    padding: .6em;
    margin-bottom: .9em;
    border: 1px solid #ccc;
    border-radius: .5em;
    font-size: 1.1em;
    outline: none;
  }
  #eyeSlashIcon,
  #eyeIcon {
    margin: -35px 0 0 250px;
    transform: translateY(-50%);
    color: grey;
    cursor: pointer;
    font-size: 1.2em;
    user-select: none;
    z-index: 2;
  }
  #eyeIcon {
    display: none;
  }
  #loginbtn,
  .frgtform button {
    padding: .7em;
    border: none;
    border-radius: .5em;
    background: #e60000;
    color: white;
    font-size: 1em;
    cursor: pointer;
    margin-top: 1em;
  }
  .backtn a{
    color:  wheat;
  }
  #loginbtn:hover,
  .frgtform button:hover {
    background: #e90808 !important;
  }
  .linkbckfp {
    padding-top: .7em;
  }
  .forget,
  .backtohome {
    text-decoration: none;
    color: #FFD700;
    margin-left: 90px;
  }
  .backtohome {
    margin-left: 0;
    font-weight: bold;
  }
  .success {
    display: none;
    color: green;
  }
  .fail {
    display: none;
    color: red;
  }
  .disclaimer {
    display: none;
    font-size: .7em;
    color: rgb(255, 67, 67);
    text-align: left;
    margin-top: -.5em;
    margin-bottom: .5em;
  }
  .empty,
  .empty1 {
    display: none;
    color: red;
    text-align: left;
    font-size: .8em;
    margin-bottom: .3em;
  }
  .frgtform {
    max-width: 500px;
  }
  .frgtform button {
    margin-top: .5em;
  }
  
  .forgot-password a {
    position: absolute;
    text-decoration: none;
    color: #FFD700;
    font-weight: 600;
    border-radius: .5em;
    top: 490px;
    right: 430px;
  }
  .image-slide {
    position: relative;
    width: 100%;
    height: 68vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .slides {
    position: absolute;
    width: 100%;
    height: 90vh;
    object-fit: cover;
    top: 0;
    left: 0;
    display: none;
  }
  .image-slide::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 68vh;
    background: rgba(0, 0, 0, 0.2);
    z-index: 2;
    pointer-events: none;
  }
  .image-slide h1,
  .mySlides h1 {
    font-family: var(--font-heading);
    position: absolute;
    top: 7.25em;
    left: 1em;
    z-index: 3;
    color: #fff;
    font-size: 2.8rem;
    font-weight: 700;
  }
  .contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }
  .contact.slide-in-up {
    transition-delay: 0.2s;
  }
  .contactdetails {
    margin: 4em 2em;
    padding: 1.5em 3em 2em;
    border-radius: .5em;
  }
  .question {
    font-family: var(--font-body);
    font-weight: 800;
    font-size: 2.7rem;
    color: #ffffff;
    padding-bottom: .7em;
    border-bottom: 2px solid #EBEBEC;
  }
  .location .bx,
  .email .bx,
  .contactphn .bx {
    background-color: #FFD700;
    font-size: 1.35rem;
    border-radius: 3em;
    padding: .4em;
    color: #fff;
    margin: .2em .3em;
  }
  .location,
  .email,
  .contactphn {
    display: flex;
    color: #fff;
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 600;
    padding-top: 2em;
  }
  .location p,
  .email p,
  .contactphn p {
    padding-top: .3em;
  }
  .contact-form form {
    width: 90%;
    margin: 3em 2em;
    background-color: #ffffff;
    padding: 1.5em 3em 2em;
    border-radius: .5em;
    box-shadow: 0 0 1em rgba(0, 0, 0, 0.65);
  }
  form h3,
  label {
    font-family: var(--font-heading);
    color: #212121;
  }
  .contact-grid {
    margin-top: 1.25em;
    display: grid;
    grid-template-columns: 270px 270px;
    gap: 2em;
  }
  .sub-grid {
    display: grid;
    grid-template-columns: 580px;
  }
  input {
    font-family: var(--font-body);
    width: 100%;
    color: #424242;
    font-size: 1.05rem;
    background-color: #EBEBEC;
    padding: .5em;
    border-radius: .25em;
    margin-top: .5em;
  }
  .mandatoryfield {
    color: red;
  }
  textarea {
    font-family: var(--font-body);
    margin-top: .5em;
    background-color: #EBEBEC;
    border: 1px solid #999;
    border-radius: .25em;
    padding: .5em;
    font-size: 1.05rem;
    color: #424242;
    resize: none;
  }
  .contact-form .formsubmit {
    margin: 1.3em 0 0;
    background-color: #fa1b1b;
    color: #ffffff;
    font-size: 1.35rem;
    padding: .3em 1em;
    border-radius: .25em;
    cursor: pointer;
  }
  .contact-form .formsubmit:hover {
    background-color: #e60000;
  }
  /* Events Page Styles */

.event-section {
  width: 100%;
  background-color: #fff8e7;
  padding: 0 0 2em ;
}

.event-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/*HEADINGS & INTRO*/

.event-section h1 {
  font-family: var(--font-heading);
  font-size: 3rem;
  color: #e60000;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.3em;
}
.event-intro {
  text-align: center;
  font-family: var(--font-body);
  font-size: 1.2rem;
  color: #444;
  max-width: 800px;
  margin: 0 auto 2.5em;
  font-weight: 600;
}

/*SECTION SUB HEADERS*/

.event-block h2,
#dynamic-events-container h2 {
  background-color: #fff;
  font-family: var(--font-heading);
  font-size: 2rem;
  color: #e60000;
  text-transform: uppercase;
  border-left: 6px solid #FFD700;
  padding: 15px 20px;
  margin-bottom: 1.2em;
}

/*GRID LAYOUTS*/

#dynamic-grid,
.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(278px, 1fr));
  gap: .5em;
  margin-bottom: 3em;
}

/*DYNAMIC EVENT CARDS */

#dynamic-grid > div {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #ffe6e6;
  box-shadow: 0 5px 15px rgba(230, 0, 0, 0.08);
  transition: all 0.4s ease;
}

#dynamic-grid > div:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(230, 0, 0, 0.25);
  border-bottom: 5px solid #e60000;
}

#dynamic-grid img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-bottom: 2px solid #FFD700;
  transition: transform 0.5s ease;
}

#dynamic-grid > div:hover img {
  transform: scale(1.08);
}

#dynamic-grid .content-box {
  padding: 1.5em;
}

#dynamic-grid h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.7rem;
  color: #b30000;
  margin-bottom: 0.5em;
}

#dynamic-grid p {
  color: #333;
  line-height: 1.6;
}

/* STATIC IMAGE GRID */

.image-grid img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  border: 4px solid #ebebeb;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: all 0.4s ease;
}

.image-grid img:hover {
  transform: scale(1.03);
  border-color: #e60000;
  box-shadow: 0 10px 25px rgba(230, 0, 0, 0.3);
}

/*EVENT DESCRIPTION BOX */

.event-text {
  background-color: #ffffff;
  color: #333;
  padding: 1.5em 2em ;
  font-size: 1.15rem;
  line-height: 1.8;
  border-left: 6px solid #e60000;
  border-radius: 0 15px 15px 0;
  box-shadow: 5px 5px 20px rgba(0,0,0,0.05);
  position: relative;
}

/* Quote decoration */
.event-text::before {
  content: "“";
  font-size: 4rem;
  color: #FFD700;
  opacity: 0.5;
  position: absolute;
  top: -10px;
  left: 10px;
}

/*MISC */

.event-block {
  margin-bottom: 70px;
}

.latest-updates {
  display: none;
  margin-bottom: 60px;
}

/* Animation */
@keyframes slideDown {
  from {
    transform: translateY(-40px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}


  /* social awareness */
  .hero-content {
    position: relative;
    z-index: 3;
    padding: 3em 1em;
  }
  .hero-content h1 {
    font-family: var(--font-heading);
    text-align: center;
    font-size: 3rem;
    color: #FFD700;
    margin-bottom: 0.25em;
    line-height: 1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  }
  .hero-content p {
    text-align: center;
    font-family: var(--font-body);
    color: #fff;
    padding: 1em;
    font-size: 1.3rem;
    max-width: 1000px;
    margin: 0 auto;
    font-weight: 500;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  }
  .social-intro {
    background-color: #fcfcfc;
    padding: 3em 6em;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }
  .social-intro h2 {
    color: #e60000;
    font-family: var(--font-heading);
    font-size: clamp(2rem,1.5vw,3rem);
    font-weight: 700;
    padding-bottom: .25em;
  }
  .social-intro p {
    color: #212121;
    font-family: var(--font-body);
    font-size: 1.2rem;
    padding: 1em;
    line-height: 1.7;
    font-weight: 500;
    text-align: center;
    margin: 0 auto;
  }
  .program-section {
    display: flex;
    gap: 2em;
    padding: 3em;
    align-items: center;
  }
  .program-section:nth-child(even) {
    background-color: #fff8e7;
    flex-direction: row-reverse;
  }

  .program-section .content-area {
    width: 50%;
    padding: 1em 2em;
  }
  .program-section .image-area {
    width: 50%;
    min-height: 250px;
  }
  .program-section .image-area img {
    width: 100%;
    object-fit: cover;
    border-radius: 1em;
    max-height: 350px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }
  .program-section .content-area h3 {
    color: #e60000;
    font-family: var(--font-heading);
    font-size: 2.3rem;
    font-weight: 800;
    padding-bottom: .5em;
    border-bottom: 2px solid #FFD700;
    margin-bottom: 0.5em;
  }
  .program-section .content-area .runhead{
    color: #FFD700;
    border-bottom: 2px solid #3a3a3a;
  }
  .program-section .content-area p {
    line-height: 1.6;
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: #212121;
  }
  .program-section .content-area .runp{
    color: white;
  }
  .video-container {
    padding-bottom: unset;
    height: auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }
  .video-container video {
    width: 100%;
    display: block;
    border-radius: 1em;
  }
  .program-section #socialimage img{
      width: 600px;
      height: 300px;
      object-fit: cover;
      border-radius: 1em;
      box-shadow: 0 0 1em rgba(0, 0, 0, 0.5);
      margin: 2em 0 4em 2em;
  }
  /* .dashboardhead h2 {
    padding-top: .8em;
    color: #fff;
    text-align: center;
    font-size: 2em;
  }
  .wrapper {
    display: flex;
  }
  .sidebar {
    margin: 0px 0 5px;
    padding-top: 5px;
    width: 230px;
    background-color: #fff;
    min-height: calc(100vh - 60px);
  }
  .sidebar ul {
    list-style: none;
    padding: 0;
  }
  .sidebar li {
    color: black;
    padding: 15px 20px;
    cursor: pointer;
  }
  .sidebar li.active,
  .sidebar li:hover {
    background-color: #FFD700;
    color: #e60000;
    font-size: 1.2em;
    font-weight: bold;
  }
  .content {
    flex: 1;
    padding: 25px;
  }
  .section {
    display: none;
  }
  .section.show {
    display: block;
  }
  .dashbrdCards {
    display: flex;
    gap: 20px;
    margin: 15px;
  }
  .viewcard {
    background: white;
    padding: 20px;
    border-left: 6px solid #212121;
    width: 200px;
    font-weight: bold;
  }
  .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .section-header button {
    background: white;
    color: #e60000;
    border-radius: 5px;
    padding: 8px 14px;
    font-size: 1.02em;
  }
  .list {
    margin-top: 15px;
    background: white;
    padding: 15px;
    border-radius: 6px;
  }
  .list-item {
    border-bottom: 1px solid #ddd;
    padding: 10px 0;
  }
  .modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
  }
  .modal-content {
    background: white;
    width: 400px;
    margin: 10% auto;
    padding: 20px;
  }
  .modal-content input,
  .modal-content textarea {
    width: 100%;
    margin: 8px 0;
    padding: 8px;
  }
  .modal-actions {
    text-align: right;
  }
  .cancel {
    background: #ccc;
    padding: 5px 8px;
    border-radius: 3px;
  }
  /* member */
  /* PAGE */
  /* .events-section {
    background-color: #e60000;
    padding: 4em 0;
    min-height: 80vh;
  }

  .page-title {
    color: #FFD700;
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 30px;
  }*/

  /* LAYOUT */
  /* .profile-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 2em;
    justify-content: center;
    align-items: flex-start;
  } */

  /* PROFILE CARD */
  /* .profile-card {
    background: white;
    padding: 2em;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    flex: 1 1 300px;
    max-width: 350px;
    text-align: center;
    border-top: 5px solid #212121;
  } */

  /* .profile-img-wrapper {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto 15px;
  }

  .profile-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #FFD700;
    cursor: pointer;
  }

  .camera-icon {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: #e60000;
    color: white;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 2px solid white;
  }

  .profile-name {
    font-family: var(--font-body);
    font-size: 2rem;
    color: #212121;
    margin: 5px 0;
  }

  .member-since {
    color: #666;
    font-size: 0.9em;
    margin-bottom: 15px;
  }

  .divider {
    margin: 15px 0;
    border: none;
    border-top: 1px solid #ccc;
  } */

  /* BUTTONS */
  /* .btn {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    border: none;
    margin-bottom: 10px;
  }

  .btn-dark {
    background: #333;
    color: #fff;
  }

  .btn-danger {
    background: #e60000;
    color: #fff;
  }

  .btn-gold {
    background: #FFD700;
    color: #000;
    padding: 8px 20px;
    width: 20%;
  } */

  /* DETAILS */
  /* .profile-details {
    margin-bottom: 1em;
    background: white;
    padding: 2em 3em;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    flex: 2 1 400px;
    max-width: 800px;
  }

  .section-heading {
    font-family: var(--font-body);
    font-size: 1.8rem;
    color: #e60000;
    margin-bottom: 1em;
    border-bottom: 2px solid #FFD700;
    display: inline-block;
  }

  .details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5em;
    margin-bottom: 2em;
  }

  .details-grid label {
    font-weight: bold;
    font-family: var(--font-body);
    color: #000;
    display: block;
  }

  .details-grid input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    background: #f9f9f9;
    border-radius: 4px;
    color: #333;
  } */
  /* IMPACT */
  /* .impact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1em;
  }

  .impact-card {
    padding: 1.5em;
    border-radius: 8px;
    text-align: center;
  }

  .impact-card h4 {
    font-size: 2rem;
    margin-bottom: 5px;
  }

  .impact-card.donation {
    background: #fff8e7;
    border: 1px solid #FFD700;
  }

  .impact-card.donation h4 {
    color: #e60000;
  }

  .impact-card.events {
    background: #e60000;
    color: #fff;
  }

  .impact-card.events h4 {
    color: #FFD700;
  } */ 

  /* MODAL */
  /* .membermodal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    z-index: 2000;
    backdrop-filter: blur(5px);
  }

  .modal-box {
    background: white;
    width: 90%;
    max-width: 400px;
    margin: 10% auto;
    padding: 2em;
    border-radius: 10px;
    text-align: center;
    border-top: 5px solid #e60000;
  }

  .modal-title {
    color: #e60000;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    margin-bottom: 1em;
  }

  .modal-box input {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
  }

  .membermodal-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
  }
  .member.footer{
    text-align: center;
    padding-bottom: 1em;
    font-size: 1.05em;
    font-weight: 700;
  } */ 
  /* .footer */
  footer {
    width: 100%;
    background-color: #fdfdfb;
    padding: 1.5em 3em 0;
  }
  .footerdetails {
    padding-bottom: 1em;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3em;
  }
  .footerlogo {
    width: 25%;
    padding: 0;
  }
  .footerlogoname h1 {
    font-size: 1.1rem;
    padding: 0 0 0 .25em;
  }
  .footletterspan {
    margin: -7px;
  }
  footer .footer-lines {
    padding: 1em 0;
  }
  .footersocialmedia {
    margin: .8em 0;
  }
  .footersocialmedia a {
    text-decoration: none;
  }
  .footersocialmedia .bx {
    margin: .5em;
    transition: transform 0.3s ease;
  }
  .footersocialmedia .bx:hover {
    transform: scale(1.1);
  }
  .footersocialmedia img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    border-radius: 50%;
  }
  .mail-icon {
    border: 1px solid #e60000;
    padding: .12em;
  }
  .popup {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 10;
  }
  .popup-content {
    background: #fff;
    width: 400px;
    height: 180px;
    padding: 20px;
    margin: auto;
    margin-top: 20%;
    border-radius: 8px;
    text-align: center;
    position: relative;
  }
  .popup-content h3 {
    font-family: var(--font-heading);
    color: #e60000;
    font-size: 1.3em;
  }
  .popup-content p {
    padding: 1em;
    font-size: 1.2em;
    font-family: var(--font-body);
    font-weight: 600;
  }
  .popup-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
  }
  .btn {
    margin: 0 1em;
    padding: 8px 15px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
  }
  .call {
    background: #e60000;
    color: #fff;
    text-decoration: none;
    padding: .5em 1.5em;
  }
  .copy {
    background: #FFD700;
    font-family: var(--font-body);
    font-weight: 600;
    padding: .5em 2em;
  }
  .close {
    position: absolute;
    top: 1px;
    right: 10px;
    cursor: pointer;
    font-size: 25px;
  }
  .footconmenu {
    display: flex;
    flex-direction: row;
    gap: 3em;
  }
  .footmenu {
    padding: 1em 0;
    display: flex;
    flex-direction: row;
    gap: 2em;
  }
  .footmenu li {
    list-style: none;
    padding: .2em 0;
  }
  .footconmenu a {
    text-decoration: none;
    color: white;
    font-weight: 500;
  }
  .footmenu a {
    text-decoration: none;
    color: #000;
    font-size: .95rem;
  }
  .footmenu span {
    border-bottom: 1px solid #e60000;
    font-size: 1em;
    font-weight: 600;
  }
  .footmenu a:hover {
    font-weight: 500;
    color: #e60000;
  }
  .donatebtn {
    background-color: #e60000;
    border-radius: 1.5em;
    padding: .5em;
    width: 113px;
    height: 40px;
    margin-top: 2em;
  }
  .donatebtn:hover {
    background-color: #fff;
    border: 2px solid #e60000;
    color: #e60000;
    font-weight: normal;
  }
  .copyrights {
    border-top: 1px solid #FFD700;
    padding: 1em 0;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .copyrights a {
    text-decoration: none;
    color: #000000;
    padding: 0 2em;
    font-family: var(--font-body);
    font-weight: 600;
  }
  .copyrights a:hover{
    font-weight: 700;
  }
  .copyrights p {
    padding: 0 2em;
    font-family: var(--font-body);
    font-weight: 600;
  }
  .disclaimercontent,
  .privacycontent {
    color: white;
    font-family: var(--font-body);
    padding: 1em 3em 2em;
    background-color: none;
  }
  
.disclaimercontent .content,
.privacycontent .content{
    background-color: transparent;
  }
  .disclaimercontent h1,
  .privacycontent h1,
  h3 {
    color: #FFD700;
    font-family: var(--font-heading);
  }
  .disclaimercontent h1 {
    padding-bottom: .5em;
  }
  .content {
    padding: .8em 1em;
  }
  .content a {
    text-decoration: none;
    color: #FFD700;
    font-weight: 600;
    cursor: pointer;
  }
  .privacycontent ul {
    padding: 0 0 1em 3em;
  }
  .copyrights a.active {
    color: #e60000 !important;
    font-weight: 700;
  }
  .auth-form-container {
    max-width: 700px;
    width: 90%;
    background-color: #ffffff;
    padding: 1.5em 3em 2em;
    border-radius: .5em;
    margin: 2.5em auto;
    box-shadow: 0 0 .7em rgba(0, 0, 0, 0.65);
  }
  .auth-form-container h3 {
    font-family: var(--font-heading);
    color: #e60000;
    font-size: 2rem;
    text-align: center;
    padding: .5em 0 1em;
  }
  .auth-form-row {
    margin-top: 1em;
  }
  .auth-form-row label {
    font-family: var(--font-heading);
    color: #212121;
    font-size: 1rem;
    display: block;
  }
  .aboutfounder .founder-name{
    font-size: 1.3rem;
  }
  .auth-form-row input[type="text"],
  .auth-form-row input[type="email"],
  .auth-form-row input[type="tel"],
  .auth-form-row input[type="password"] {
    font-family: var(--font-body);
    width: 100%;
    color: #424242;
    font-size: 1.05rem;
    background-color: #EBEBEC;
    padding: 0.5em;
    border-radius: 0.25em;
    margin-top: 0.8em;
    border: 1px solid #EBEBEC;
  }
  .auth-form-row input:focus {
    border-color: #e60000;
    box-shadow: 0 0 0 2px rgba(230, 0, 0, 0.2);
  }
  .radio-group,
  .role-selection,
  .radio-groupsts {
    display: flex;
    align-items: center;
    gap: 1em;
    margin-top: 0.9em;
  }
  .radio-group label.radio-label,
  .role-selection label input {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
  }
  .radio-group input[type="radio"],
  .role-selection input[type="radio"],
  .radio-groupsts input[type="radio"] {
    accent-color: #e60000;
    width: .9em;
    height: .9em;
    cursor: pointer;
    margin: 0;
  }
  .auth-instructions {
    font-family: var(--font-body);
    text-align: center;
    margin-bottom: 1.5em;
    color: #424242;
  }
  #otp-destination {
    font-weight: 700;
  }
  .auth-form-container .formsubmit {
    background-color: #fa1b1b;
    color: #ffffff;
    font-size: 1.35rem;
    padding: .3em 1em;
    border-radius: .25em;
    cursor: pointer;
    width: 50%;
    margin: 2em auto .5em;
    display: block;
  }
  .auth-form-container .formsubmit:hover {
    background-color: #e60000;
  }
  .auth-status-message {
    margin-top: 1em;
    padding: 1em;
    border-radius: 0.25em;
    text-align: center;
    font-family: var(--font-body);
    font-weight: 600;
    display: none;
  }
  .auth-status-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
  }
  .auth-status-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
  }
  .auth-form-row .error-message {
    color: #e60000;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 0.25em;
    display: none;
  }
  
/* --- Subscribe Popup Styles --- */
.subscribe-overlay {
  display: none; 
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7); 
  z-index: 2000; 
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.subscribe-overlay.show {
  display: flex;
  opacity: 1;
}

.subscribe-content {
  background-color: #ffffff;
  padding: 2.5em 2em;
  border-radius: 10px;
  width: 90%;
  max-width: 450px;
  text-align: center;
  position: relative;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
  border-top: 5px solid #e60000;
  transform: scale(0.7);
  transition: transform 0.3s ease;
}

.subscribe-overlay.show .subscribe-content {
  transform: scale(1);
}

.subscribe-content h2 {
  font-family: var(--font-heading);
  color: #e60000;
  font-size: 2.5rem;
  margin-bottom: 0.5em;
}

.subscribe-content p {
  font-family: var(--font-body);
  color: #555;
  margin-bottom: 1.5em;
  line-height: 1.5;
}

.subscribe-content input[type="email"] {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
  background-color: #f9f9f9;
}

.subscribe-content button {
  background-color: #FFD700;
  color: #212121;
  padding: 12px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  width: 100%;
  transition: background-color 0.3s;
}

.subscribe-content button:hover {
  background-color: #e60000;
  color: white;
}

.close-subscribe {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 28px;
  cursor: pointer;
  color: #888;
  line-height: 1;
}

.close-subscribe:hover {
  color: #e60000;
}


/* Respo */

@media (max-width: 768px) {
  .events-section h1 { font-size: 2.8rem; }
  #dynamic-grid, .image-grid { grid-template-columns: 1fr; }
}
.admin-wrapper {
    display: flex;
    margin-top: 20px; /* Adjust for fixed navbar */
}

/* Fix sidebar visibility */
.sidebar {
    position: sticky;
    top: 80px; /* Below navbar */
    height: calc(100vh - 80px);
    overflow-y: auto;
    background-color: #fff;
    box-shadow: 2px 0 5px rgba(0,0,0,0.05);
}

/* Dashboard Tables */
.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1em;
    background: white;
}
.admin-table th, .admin-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}
.admin-table th {
    background-color: #f8f9fa;
    color: #e60000;
    font-weight: 700;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
}
.admin-table tr:hover {
    background-color: #fff8e7;
}

/* Status Badges */
.badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.85em;
    font-weight: 600;
}
.badge-success { background: #d4edda; color: #155724; }
.badge-pending { background: #fff3cd; color: #856404; }

/* Action Buttons */
.btn-action {
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9em;
    margin-right: 5px;
    border: none;
}
.btn-edit { background-color: #FFD700; color: #000; }
.btn-delete { background-color: #333; color: #fff; }

/* Modal Improvements */
.close-modal {
    float: right;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    color: #aaa;
}
.close-modal:hover { color: #e60000; }

/* Responsive Dashboard */
@media (max-width: 768px) {
    .admin-wrapper { flex-direction: column; }
    .sidebar { 
        width: 100%; 
        height: auto; 
        position: relative; 
        top: 0; 
        margin: 0;
    }
    .sidebar ul { display: flex; overflow-x: auto; }
    .sidebar li { flex: 0 0 auto; white-space: nowrap; }
    .content { padding: 10px; }
}
/* Ensure consistent navbar styling */
header nav {
  display: flex;
  justify-content: space-between;
  position: fixed;
  background-color: #ffffff;
  width: 100%;
  z-index: 1000;
  padding: .5em 3em;
  box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.5);
}

/* Specific styling for the Donate button in the navbar */
.supportbtn a {
  text-decoration: none;
  color: #000;
  font-weight: 700;
  font-family: var(--font-heading);
}

.supportbtn:hover {
  background-color: #e60000;
}

.supportbtn:hover a {
  color: #fff;
}
/* Ensure vertical alignment and consistent spacing across all navbars */
nav {
    align-items: center; /* Centers logo and menu vertically */
    padding: 0.5em 2em; /* Standardizes padding */
}

.menu {
    gap: 15px; /* Adds uniform spacing between links */
}

/* Fixes the "Logout" button visibility on the profile page */
.login {
    display: inline-block;
    padding: 0.5em 1em;
    text-decoration: none;
    line-height: 1.2;
}

/* --- TOAST NOTIFICATION STYLES --- */
#toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
}

.toast {
    background-color: #333;
    color: #fff;
    padding: 15px 25px;
    border-radius: 5px;
    margin-top: 10px;
    font-family: var(--font-body);
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    border-left: 5px solid #FFD700;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slideIn 0.5s ease-out, fadeOut 0.5s ease-in 3.5s forwards;
}

.toast.success { border-left-color: #28a745; }
.toast.error { border-left-color: #e60000; }

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; visibility: hidden; }
}
.dashboardhead {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    background-color: rgba(1,1,1,0.5);
    padding: 20px;
    margin: 0 auto;
}

.dashboardhead h2 {
    padding-top: .8em;
    color: #ffe100;
    text-align: center;
    font-size: 3em;
    padding-bottom: 4px;
    border-bottom: 2px solid rgba(255,255,255,0.5);
}

.wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    width: 100%;
    overflow: hidden;
}

/* Tab Navigation */
.sidebar {
    width: 100%;
    box-sizing: border-box;
}

.sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: flex-end;
}

.sidebar li {
    background: #dcdcdc;
    color: #555;
    padding: 12px 30px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
    font-size: 0.9em;
    margin-right: 5px;
    border-radius: 15px 15px 0 0;
    position: relative;
    z-index: 1;
}

.sidebar li.active {
    background-color: #ffffff;
    color: #e60000;
    font-size: 1em;
    font-weight: 700;
    z-index: 10;
    padding-bottom: 18px;
    margin-bottom: -1px;
}

.sidebar li.active::before,
.sidebar li.active::after {
    content: "";
    position: absolute;
    bottom: 0;
    width: 20px;
    height: 20px;
    background: transparent;
    pointer-events: none;
}

.sidebar li.active::before {
    left: -20px;
    border-bottom-right-radius: 15px;
    box-shadow: 5px 5px 0 5px #ffffff;
}

.sidebar li.active::after {
    right: -20px;
    border-bottom-left-radius: 15px;
    box-shadow: -5px 5px 0 5px #ffffff;
}

.sidebar li:hover:not(.active) {
    background-color: #e8e8e8;
}

/* Content Container */
.content {
    width: 100%;
    background: #fff;
    padding: 30px;
    box-sizing: border-box;
    border-radius: 0 12px 12px 12px;
    flex: 1;
}

.section {
    display: none;
}

.section.show {
    display: block;
}

.section h3 {
    color: #6e0000;
    font-size: 2rem;
    margin-bottom: 25px;
    font-weight: 700;
    padding: 20px;
    width: 85%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}

/* Tables (Shared for Impact and List) */
.list, table {
    width: 100%;
    background: white;
    border-radius: 12px;
    border-collapse: collapse;
    overflow: hidden;
    color: #333;
}

th {
    background-color: #f8f9fa;
    color: #b59410; /* Gold headers for profile consistency */
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 15px;
    text-align: left;
    border-bottom: 2px solid #eee;
}

td {
    padding: 15px;
    border-bottom: 1px solid #f5f5f5;
    color: #444;
}

/* Dashboard Impact Cards */
.dashbrdCards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.viewcard {
    background: #fff;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.viewcard:hover {
    border-color: #d4af37;
    transform: translateY(-3px);
}

.viewcard p {
    font-size: 0.85rem;
    font-weight: 600;
    color: #b59410;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.viewcard span {
    display: block;
    font-size: 2.2em;
    font-weight: bold;
    color: #e60000;
}

/* Section Header for Tables */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    color: #fff;
}

/* Profile Specific Grid */
.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.details-grid div {
    display: flex;
    flex-direction: column;
}

.details-grid label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #b59410;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.details-grid input {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
}

.details-grid input[readonly] {
    background-color: #f9f9f9;
    color: #666;
    cursor: not-allowed;
}

/* Modal Styling */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 1000;
}

.modal-content {
    background: white;
    width: 90%;
    max-width: 400px;
    margin: 10% auto;
    padding: 30px;
    border-radius: 15px;
    border-top: 5px solid #d4af37;
}

.modal-content input,
.modal-content textarea {
    width: 100%;
    margin: 10px 0;
    padding: 12px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 6px;
}

/* Buttons */
button {
    cursor: pointer;
    transition: 0.2s;
    border: none;
}

button:hover {
    opacity: 0.8;
}

.btn-gold {
    background-color: #d4af37;
    color: white;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: bold;
}

.cancel {
    background: #ccc;
    padding: 5px 12px;
    border-radius: 3px;
    color: #333;
}

/* Status Pills */
.status-pill {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
}

.status-pill{
    background-color: #e6f4ea;
    color: #1e7e34;
}

/* Events Section Page Styling */
.events-section {
    background-color: #e60000;
    padding: 4em 0;
    min-height: 80vh;
    z-index: 40;
}

.page-title {
    color: #FFD700;
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 30px;
}
/* Layout Alignment */
.pofile-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    margin: 0 auto;
    background-color: rgba(1,1,1,0.5);
}

.profile-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

/* Tab Navigation */
.sidebar {
    width: 100%;
    background: transparent;
    box-sizing: border-box;
}

.sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: flex-end;
}

.sidebar li {
    background: #dcdcdc;
    color: #555;
    padding: 12px 30px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
    font-size: 0.9em;
    margin-right: 5px;
    border-radius: 15px 15px 0 0;
    position: relative;
    z-index: 1;
}

.sidebar li.active {
    background-color: #ffffff;
    color: #e60000;
    z-index: 10;
    padding-bottom: 18px;
    margin-bottom: -1px;
}

/* Smooth Tab Curves */
.sidebar li.active::before,
.sidebar li.active::after {
    content: "";
    position: absolute;
    bottom: 0;
    width: 20px;
    height: 20px;
    background: transparent;
}
.sidebar li.active::before {
    left: -20px;
    border-bottom-right-radius: 15px;
    box-shadow: 5px 5px 0 5px #ffffff;
}
.sidebar li.active::after {
    right: -20px;
    border-bottom-left-radius: 15px;
    box-shadow: -5px 5px 0 5px #ffffff;
}

/* White Content Area */

.profile-content-area {
    background: #ffffff;
    padding: 10px;
    display: flex;
    gap: 30px;
    min-height: 100vh;
    width: 1400px;
}

.profile-card {
  display: flex;
  flex-direction: column;
    flex: 1;
    min-width: 200px;
    max-width: 300px;
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 15px;
    height: fit-content;
    align-items: center;
    overflow: hidden;
    min-height: 300px;
    gap: 1rem;
}
.profile-card .profile-img-wrapper{
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid red;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.5);
  cursor: pointer;
}
.profile-card .profile-img-wrapper img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.profile-main-content {
    flex: 3;
}
.profile-card  .profile-name{
  color: red;
}
/* Section Toggle */
.section { display: none; }
.section.show { display: block; }

/* Reusing Admin Dashboard Card Style */
.dashbrdCards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.viewcard {
    background: #fff;
    padding: 25px;
    border-left: 6px solid #e60000;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.viewcard span {
    display: block;
    font-size: 2em;
    color: #e60000;
    font-weight: 800;
}
.dashbrdCards {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.viewcard {
    flex: 1;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #eee;
    text-align: center;
}

.viewcard p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 5px;
}

.viewcard span {
    font-size: 1.5rem;
    font-weight: bold;
    color: #d4af37;
}

.transaction-container {
    margin-top: 20px;
}

.sub-heading {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 15px;
}

.table-responsive {
    overflow-x: auto;
}

.transaction-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    font-size: 0.9rem;
}

.transaction-table th {
    background-color: #f8f9fa;
    color: #b59410;
    text-align: left;
    padding: 15px;
    border-bottom: 2px solid #eee;
    text-transform: uppercase;
    font-weight: 600;
}

.transaction-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
    color: #444;
}

.status-pill {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
}

.status-pill{
    background-color: #e6f4ea;
    color: #1e7e34;
}
/* Buttons */
.btn-gold {
    background: #FFD700;
    color: #e60000;
    border: none;
    padding: 12px 25px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
}
.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.details-grid div {
    display: flex;
    flex-direction: column;
}

.details-grid label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #b59410;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.details-grid input {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    background-color: #fff;
    transition: all 0.3s ease;
}

.details-grid input[readonly] {
    background-color: #f9f9f9;
    color: #666;
    border-color: #ececec;
    cursor: not-allowed;
    outline: none;
}

.save-wrapper {
    display: flex;
    justify-content: flex-end;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.btn-gold {
    background-color: #d4af37;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.btn-gold:hover {
    background-color: #b59410;
}
.membermodal {
    display: none; 
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    z-index: 2000;
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
}

.modal-box {
    background: white;
    width: 90%;
    max-width: 400px;
    padding: 2em;
    border-radius: 20px;
    text-align: center;
    border-top: 5px solid #e60000;
    position: relative;
    margin: auto;
}

.modal-title {
    color: #e60000;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    margin-bottom: 1em;
}

.modal-box input {
    width: 100%;
    padding: 12px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-sizing: border-box;
}

.membermodal-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.memberfooter {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2em 0;
    font-size: 1.05em;
    font-weight: 700;
}
/* Container Fixes */
.forgot-password {
    min-height: 100vh;
    display: flex;
    align-items: center; /* Vertically center */
    justify-content: center; /* Horizontally center */
    background-color: #e60000; /* Matching your brand red */
    padding: 20px;
}

/* Form Styling */
.auth-form-container h2 {
    font-family: var(--font-heading);
    color: #e60000;
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.frgtform-step {
    width: 100%;
}

.forgot-password a.backtohome {
    position: static; /* Remove the absolute positioning */
    color: #ffffff; 
    font-weight: 700;
    text-decoration: underline;
    display: inline-block;
}

.auth-form-container .formsubmit {
    width: 100%;
    margin: 1.5rem 0 0;
    display: block;
    font-family: var(--font-heading);
}

/* Instruction Text */
.auth-instructions {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 1.5rem;
    text-align: center;
}
@media (max-width: 1174px) {
    .nav {
      padding: .5em;
    }
    .menu a {
      font-size: .9rem;
      padding: .25em;
      margin: .25em;
    }
    .menuu {
      font-size: .9rem;
      padding: .25em .5em;
      margin: .25em 1em .25em 0;
    }
    .nav .menu a.active {
      font-size: 1rem;
      font-weight: 800;
    }
    .down-arrow {
      font-size: 1.2rem;
      font-weight: 700;
      top: 4px;
      transition: transform 0.3s ease;
    }
  }
  @media (max-width: 992px) {
    .nav {
      padding: .5em;
    }
    .menu a {
      font-size: .8rem;
      padding: .25em;
      margin: .25em;
    }
    .menuu {
      font-size: .8rem;
      padding: .25em .5em;
      margin: .25em 1em .25em 0;
    }
    .nav .menu a.active {
      font-size: .9rem;
      font-weight: 900;
    }
    .down-arrow {
      font-size: 1.2rem;
      font-weight: 700;
      top: 4px;
      transition: transform 0.3s ease;
    }
    .logo {
      width: 135px;
    }
    h1 {
      padding: .5em 0 0 .2em;
      font-size: 1.7rem;
    }
    .letterspan {
      margin-left: -12px;
    }
    .dropdownmenu {
      top: 55px;
    }
    .aboutoverview{
      padding: 4px;
    }
    .aboutoverview h2, .aboutstory h2, .aboutteam h2, .aboutimpact h2, .aboutjoin h2{
      padding: 12px;
    }
    .aboutoverview .over{
      padding: 20px;
    }
    .footermenu li {
      padding: .5em;
    }
    .footermenu a {
      font-size: .95rem;
    }
    .donation-goal {
      padding: 5em 1.5em;
    }
    .donation-goal h2 {
      font-size: 2.5rem;
    }
    .progress-bar {
      font-size: 1rem;
    }
    .memberform form,
    .donationform form {
      width: 90%;
      margin: 1.5em auto;
      padding: 1.5em;
    }
    .formsubmit {
      width: 100%;
      margin: 1.5em 0 0;
    }
    .question {
      font-size: 2rem;
    }
    .location .bx,
    .email .bx,
    .contactphn .bx {
      font-size: 1.25rem;
    }
    .location,
    .email,
    .contactphn {
      font-size: 1rem;
      padding-top: 1.5em;
    }
    .contactdetails {
      margin: 4em 0;
      padding: 1.5em 2em;
    }
    .contact-form form {
      margin: 3em 2em;
      padding: 1.5em 3em 2em;
    }
    .contact-grid {
      margin-top: 1.25em;
      grid-template-columns: 220px 220px;
    }
    .sub-grid {
      grid-template-columns: 480px;
    }
    .footlocation .bx,
    .footemail .bx,
    .footcontactphn .bx {
      font-size: 1.25rem;
      margin: 0 .2em 0 2em;
    }
    .footlocation p,
    .footemail p,
    .footcontactphn p {
      padding-top: .1em;
    }
    .footlocation,
    .footemail,
    .footcontactphn {
      font-size: 1rem;
      font-weight: 500;
      padding-bottom: 1em;
    }
    .footcontactphn {
      padding-bottom: 0;
    }
    .donationform form,
    .auth-form-container {
      width: 90%;
      margin: 1.5em auto;
      padding: 1.5em;
    }
    .auth-form-container .formsubmit {
      width: 100%;
      margin: 2em 0 .5em;
    }
  }
  @media (max-width: 768px) {
    .logo {
      width: 120px;
    }
    h1 {
      font-size: 1.5rem;
    }
    .letterspan {
      margin-left: -10px;
    }
    .menu {
      display: none;
      position: absolute;
      top: 53px;
      right: 0;
      background-color: #fff;
      width: 38%;
      flex-direction: column;
      align-items: start;
    }
    .menu li {
      padding: 8px;
    }
    .menuu {
      margin: 0 0 0 1em;
    }
    .dropdownmenu {
      min-width: 145px;
      top: 40px;
      padding: .2em;
      border: 1px solid #EBEBEC;
    }
    .dropdownmenu a {
      padding: 0;
    }
    .menu-toggle {
      display: block;
      padding: 0.2em .5em;
      font-size: 1.8rem;
    }
    .menu{
      gap: 6px;
    }
    .menu.active {
      display: flex;
    }
    main {
      padding-top: 3.8em;
    }
    .slide .hero-content {
      left: 1.5em;
      right: 1.5em;
      max-width: 90%;
      text-align: center;
    }
    .slide .hero-content h1 {
      font-size: 2.5rem;
    }
    .home-about h2,
    .home-what-we-do h2,
    .home-impact h2,
    .home-cta h2 {
      font-size: 2.5rem;
    }
    .home-about p,
    .home-cta p {
      font-size: 1rem;
    }
    .home-about,
    .home-what-we-do,
    .home-impact,
    .home-cta {
      padding: 3em 1.5em;
    }
    .hero-slideshow {
    min-height: auto;
  }

  .slides-container {
    height: 56vh;
  }
  .slide {
    height: 63vh;
    background-size: contain;
    background-repeat: no-repeat;
    margin: 0 !important;
  }
    .program-section .content-area h3 , .notedes h2, .padsdes h2, .stdntdes h2, .ysrdes h2{
    font-size: 1.7em;
  }
  .program-section .content-area p, .notedes p, .padsdes p, .stdntdes p, .ysrdes p{
    font-size: .95em;
  }
  .menu a.active {
    font-size: .8rem !important ;
    font-weight: 700;
  }
  .noteimg , .bldimg{
    margin-top: 2.5em;
  }
   .slide .hero-content h1 {
    width: 75%;
    font-size: 2.5rem;
  }
  .what-we-do-cards {
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  }
  .impact-stats {
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  }
  .card-cover h3{
    font-size: 2em;
  }
  .card-content h3{
    font-size: 1.4rem;
  }
  .card-content{
    padding-top: 14px !important;
  }
  .card-content p{
    font-size: .89rem;
  }
  .card-content a{
    font-size: .98rem;
  }
    .donation-tabs {
      flex-direction: column;
    }
        
    .quote {
      left: 50%;
      transform: translateX(-50%);
      width: 80%;
      font-size: 2.5rem;
      bottom: 15%;
    }
    .abouteach_img {
      flex-direction: column;
      padding: 2em;
    }
    .abouteach {
      width: 100%;
    }
    .stickyline {
      display: none;
    }
    .stickyimage img {
      position: relative;
      top: 0;
      margin: 1em 0;
    }
    .aboutvismission {
      flex-direction: column;
    }
    .aboutfounder,.aboutmission{
      flex-direction: column-reverse;
      padding: 16px 0;
    }
    .aboutmission{
      padding: 0 0;
      
    }
    .aboutvision img,.aboutmission img {
      align-self: center ;
      width: 100%;
    }
    .aboutfounder  .founder-name{
      font-size: 24px;
    }
    .found .desg{
      padding: 2px 0 0 8px;
    }
    .aboutfounder h2{
      padding: 20px 14px;
    }
    .aboutfounder p{
      padding: 0 30px;
    }

    .donatebtn {
      width: 140px;
      align-items: center;
    }
    .aboutvision p,
    .aboutmission p {
      font-size: 1.2rem;
    }
    .member-donation {
      flex-direction: column;
      margin: 1em;
      gap: 1.5em;
    }
    .memdonar {
      width: 100%;
      margin-right: 0;
      flex: none;
      padding: 0 12px;
    }
    .donation-goal {
      width: 100%;
      padding: 2em 1em;
      flex: none;
    }
    .memberform form,
    .donationform form {
      width: 95%;
      margin: 1.5em auto;
      padding: 1.5em;
    }
    .form-grid {
      grid-template-columns: 1fr;
    }
    .checkbox-wrapper {
      grid-column: span 1;
    }
    .formsubmit {
      width: 50%;
      margin: 1.5em auto .5em;
      display: block;
    }
    .contact {
      grid-template-columns: 1fr;
    }
    .contactdetails {
      margin: 1.5em;
      padding: 1.5em;
    }
    .contact-form form {
      width: 95%;
      margin: 1.5em auto;
      padding: 1.5em;
    }
    .contact-grid {
      grid-template-columns: 1fr;
      gap: 1em;
    }
    .sub-grid {
      grid-template-columns: 1fr;
    }
    .footerdetails {
      grid-template-columns: 1fr;
      gap: 2em;
      text-align: center;
    }
    .footerlogo {
      width: 150px;
      margin: 0 auto;
      padding: 0;
    }
    .footerlogoname h1 {
      font-size: 2rem;
      padding: 0;
      margin: 0;
    }
    .footletterspan {
      margin-left: -14px;
    }
    .footersocialmedia {
      margin: 1em auto;
    }
    .footmenu{
      gap: 1.8em;
    }
    .footconmenu {
      margin: 0;
      gap: 2em;
    }
    .footlocation,
    .footemail,
    .footcontactphn {
      justify-content: center;
      margin: 0 0 1em 0;
      padding: 0;
      flex-wrap: wrap;
    }
    .footlocation .bx,
    .footemail .bx,
    .footcontactphn .bx {
      margin: 0 .5em 0 0;
    }
    .copyrights {
    gap: 0.5em;
    text-align: center;
  }
  .copyrights a,
  .copyrights p {
    padding: 0;
  }
    .program-section {
      flex-direction: column;
      text-align: center;
      gap: 1rem;
      padding: 2em 1em;
    }
    .program-section:nth-child(even) {
      flex-direction: column;
    }
    .program-section .content-area,
    .program-section .image-area {
      width: 100%;
      padding: 1em;
    }
    .wrapper {
      flex-direction: column;
    }
    .sidebar {
      width: 100%;
      height: auto;
      margin: 0;
      min-height: auto;
    }
    .dashbrdCards {
      flex-wrap: wrap;
      justify-content: center;
    }
    .notebook,
    .padsdistr,
    .ysrcnt,
    .twostdntcnt {
      flex-direction: column;
      padding: 1.5em;
    }
    .noteimg,
    .padimg,
    .studntimg,
    .ysrimg,
    .notedes,
    .padsdes,
    .stdntdes,
    .ysrdes {
      width: 100%;
    }
    .donationform form,
    .auth-form-container {
      width: 95%;
      margin: 1.5em auto;
      padding: 1.5em;
    }
    .auth-form-container .formsubmit {
      width: 50%;
      margin: 2em auto .5em;
    }
  }
  @media (max-width: 480px) {
    .logo {
      width: 60px;
      height: 60px;
      object-fit: contain;
    }
    .nav{
      padding: 0 16px;
    }
    .aboutvision{
    flex-direction: column;
  }
  .aboutvismission h3, .aboutfounder h2{
    padding: 12px 24px;
  }
  .aboutvision p{
    padding: 4px 22px;
  }
    h1 {
      padding-top: .8em;
      font-size: 1.4rem;
    }
    .letterspan {
      margin-left: -8px;
    }
    .menu {
      display: none;
      position: absolute;
      top: 53px;
      right: 0;
      background-color: #fff;
      width: 38%;
      flex-direction: column;
      align-items: start;
    }
    .menu li {
      padding: 8px;
    }
    .menuu {
      margin: 0 0 0 1em;
    }
    .dropdownmenu {
      min-width: 145px;
      top: 40px;
      padding: .2em;
      border: 1px solid #EBEBEC;
    }
    .edudes{
    padding: 3rem 8px;
  }
  .social-intro {
    padding: 1em 0.1em;
  }
  .program-section .image-area{
    min-height: 0;
  }
    .dropdownmenu a {
      padding: 0;
    }
    .menu-toggle {
      display: block;
      padding: 0.3em;
      margin-top: .3em;
      font-size: 1.5rem;
    }
    .menu{
      gap: 6px;
    }
    .menu.active {
      display: flex;
    }
    main {
      padding-top: 3.2em;
    }
    .form-grid {
      display: flex;
      flex-direction: column;
    }
    .slide .hero-content {
      left: 1em;
      right: 1em;
      max-width: 90%;
      text-align: center;
    }
    .slide .hero-content h1 {
      font-size: 1.5rem;
    }
    .home-about h2,
    .home-what-we-do h2,
    .home-impact h2,
    .home-cta h2 {
      font-size: 2rem;
    }
    .home-about p,
    .home-cta p {
      font-size: 0.9rem;
    }
    .home-about,
    .home-what-we-do,
    .home-impact,
    .home-cta {
      padding: 2em 1em;
    }
    .stickyline {
      display: none;
    }
    .quote {
      width: 90%;
      font-size: 1.8rem;
      bottom: 10%;
    }
    .support-intro {
      padding: 2em;
    }
    .donation-goal h2 {
      margin: 0;
    }
    .memberform form,
    .donationform form {
      width: 100%;
      margin: 1.5em 0;
      padding: 1.5em 0.8em;
    }
    .contact-form form {
      padding: 1.5em 0.8em;
    }
    .question {
      font-size: 2rem;
    }
    .footer {
      padding: 1.5em 1.5em 0;
      flex-direction: column;
    }
    .video-container video{
      min-height: 200px;
      object-fit: fill;
    }
    .footerdetails {
      padding-bottom: 1em;
      display: grid;
      grid-template-columns: 1fr;
    }
    .footerlogo {
      width: 120px;
      padding: 0;
      margin: 0 auto;
    }
    .footerlogoname h1 {
      padding: 0;
      margin: 0;
    }
    .footletterspan {
      margin: -14px;
    }
    .footersocialmedia {
      margin: 1em auto;
    }
    .footconmenu {
      margin: 0 1.5em;
      flex-direction: column;
      align-items: center;
      gap: 1rem;
    }
    .manualslides {
      height: fit-content;
    }
    .mySlides img{
      height: fit-content;
    }
    .footmenu{
      flex-direction: column;
    }
    .footermenu li {
      padding: .5em;
    }
    .submenu .dropdownmenu {
      min-width: 150px;
      padding: .5em;
    }
    .footersocialmedia .bx {
      margin: .25em .5em;
      padding: .5em;
    }
    .footermenu{
      flex-direction: column;
    }
 
    .footcontact {
      padding: .5em 0;
    }
    .copyrights {
      display: flex;
      flex-direction: column;
      padding: .7em 0;
      gap: 0.5rem;
      text-align: center;
    }
    .copyrights a {
      padding: 0;
    }
    .hero-slideshow {
      min-height: 0;
      max-height: 40vh;
      margin-top: 10px;
    }
    .slides-container{
      height: 40vh;
      object-fit: contain;
    }
    .slide{
      height: 100%;
      object-fit: contain;
    }
    .image-slide{
      min-height: 25vh;
      max-height: 30vh;
      object-fit: contain;
    }
    .mySlides,.slides{
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    .image-slide h1,.mySlides h1{
      top: 4rem;
      bottom: 0.1rem;
      align-items: center;
      align-self: center;
      margin-top: 0;
      left: 0.5rem;
      font-size: 2rem;
    }
    .image-slide::after{
      height: 100%;
      background-color: rgba(0, 0, 0, 0.5);
    }
    .copyrights span{
      display: none;
    }
    .copyrights p {
      padding: 0;
    }
    .donationform form,
    .auth-form-container {
      width: 100%;
      margin: 1.5em 0;
      padding: 1.5em 0.8em;
    }
  }
