:root {
    --primary-color: #0f9602;
    --primary-dark: #002400;
    --secondary-color: #0496ff;
    --accent-color: #fcba04;
    --light-color: #ecf0f1;
    --dark-color: #23282c;
    --font-main: 'Roboto', sans-serif;
    --font-heading: 'Domine', sans-serif;
}

.hidden-section{
    display: none;
}

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

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--dark-color);
    overflow-x: hidden;
    background-color: #f9f9f9;
    max-width: 100vw;
}

body.preload {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

body.fade-in {
    opacity: 1;
}

a {
    text-decoration: none;
    color: inherit;
}

header {
    position: fixed;
    width: 100%;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: var(--light-color);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 0.7rem 5%;
}

gmp-map {
    height: 60%;
  }
  
.logo {
    width: 8%;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    font-size: 1.25rem;
    font-weight: 700;
    transition: all 0.3s ease;
    position: relative;
    color: var(--primary-dark)
}

nav ul li a:hover {
    color: var(--primary-color);
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    bottom: -5px;
    left: 0;
    transition: all 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

.mobile-menu {
    display: none;
    cursor: pointer;
}

.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 5%;
    z-index: 1;
    overflow: hidden;
}

.canvas-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    background: linear-gradient(to top, rgba(0, 36, 0, 0.8), rgba(15, 150, 2, 0.7)), url(../images/webp/BTRLogo-White.webp) center/contain no-repeat;
    animation: animate 20s linear infinite;
}

.hero-content {
    max-width: 800px;
    z-index: 2;
}

.custom-shape-divider-bottom-1742328735 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.custom-shape-divider-bottom-1742328735 svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 77px;
    transform: rotateY(180deg);
}

.custom-shape-divider-bottom-1742328735 .shape-fill {
    fill: var(--light-color);
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: 5px;
    margin-bottom: 1.5rem;
    color: var(--light-color);
    text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.8);
}

.hero h1 span {
    font-family: 'Rubik Burned', sans-serif;
    font-size: 3.5rem;
    letter-spacing: 20px;
}

.hero p {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 1px 2px 3px rgba(0, 0, 0, 0.8);
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.4);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(46, 204, 113, 0.6);
}

.btn-secondary {
    background-color: transparent;
    color: var(--light-color);
    border: 2px solid white;
    margin-left: 1rem;
}


.btn-secondary:hover {
    background-color: var(--light-color);
    color: var(--dark-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

.section {
    position: relative;
    padding: 3em 5% 7em;
    background-color: var(--light-color);
    overflow: hidden;
}

.section::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 0;
    width: 100%;
    height: 40px;
    background-color: inherit;
    border-radius: 50%;
    transform: translateX(-100%) translateY(80%) scale(1);
    z-index: -1;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    text-align: center;
    letter-spacing: 4px;
    margin-bottom: 3rem;
    position: relative;
}

.section-title span {
    font-family: 'Metal Mania', sans-serif;
    font-size: 3rem;
    letter-spacing: 10px;
    color: var(--primary-color);
}

.section-title::after {
    content: '';
    position: absolute;
    width: 20%;
    height: 4px;
    background-color: var(--primary-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.about {
    background-color: var(--light-color);
}

.custom-shape-divider-bottom-1742328901 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.custom-shape-divider-bottom-1742328901 svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 100px;
    transform: rotateY(180deg);
}

.custom-shape-divider-bottom-1742328901 .shape-fill {
    fill: var(--accent-color);
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
  }
  
.about-text {
    flex: 1 1 31.25rem;
}

.about-text h3 {
    font-family: var(--font-heading);
    font-size: 2.75rem;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.about-text span {
    font-size: 2.25rem;
}

.about-text p {
    font-size: 1.75rem;
    margin-bottom: 1.9rem;
    color: var(--primary-dark);
}

.about-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.15);
}

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

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

.events {
    background-color: var(--secondary-color);
}

.custom-shape-divider-bottom-1742329057 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.custom-shape-divider-bottom-1742329057 svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 100px;
    transform: rotateY(180deg);
}

.custom-shape-divider-bottom-1742329057 .shape-fill {
    fill: #0496FF;
}

.registration-time {
    text-align: center;
    color: var(--light-color);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    opacity: 0.9;
}

.event-card {
    background-color: var(--light-color);
    border-radius: 10px;
    overflow: hidden;
    width: 60%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.event-date {
    background-color: var(--primary-color);
    color: var(--light-color);
    text-align: center;
    padding: 1rem;
}

.event-date .day {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1;
}

.event-date .month {
    font-size: 2.5rem;
    text-transform: uppercase;
}

.event-content {
    align-self: center;
    padding: 1rem;
}

.event-content img {
    width: 30rem;
    height: 100%;
    object-fit: contain;
}

.event-details {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 1.5rem;
}

.event-details svg {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.event-shape-fill {
    fill: var(--secondary-color)
}

.custom-shape-divider-bottom-1742333600 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.custom-shape-divider-bottom-1742333600 svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 100px;
    transform: rotateY(180deg);
}

.custom-shape-divider-bottom-1742333600 .shape-fill {
    fill: #002400;
}

/* donation style */

.donate {
    background: var(--primary-dark);
    color: var(--light-color);
    text-align: center;
    letter-spacing: 4px;
}

.donate-container {
    max-width: 800px;
    margin: 0 auto;
}

.donate p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    opacity: 0.9;
}

.custom-shape-divider-bottom-1742331555 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.custom-shape-divider-bottom-1742331555 svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 100px;
    transform: rotateY(180deg);
}

.custom-shape-divider-bottom-1742331555 .shape-fill {
    fill: #FCBA04;
}

.donation-form {
    background-color: var(--light-color);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    text-align: left;
    color: var(--dark-color);
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form-group {
    flex: 1;
    min-width: 250px;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
}

#frequency {
    display: block;
    width: 50%;
    margin: 0 auto;
}

.donation-amounts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.amount-option {
    flex: 1;
    min-width: 80px;
}

.amount-option input[type="radio"] {
    display: none;
}

.amount-option label {
    display: block;
    padding: 0.8rem;
    text-align: center;
    background-color: rgba(15, 150, 2, 0.2);
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.amount-option input[type="radio"]:checked + label {
    background-color: var(--primary-color);
    color: white;
}

.custom-amount {
    flex: 1;
    min-width: 120px;
}

.custom-amount input {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
}

.btn-donate {
    display: block;
    width: 50%;
    margin: 0.5rem auto;
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.btn-donate::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 50%, rgba(255,255,255,0.2) 100%);
    transform: translateX(-100%);
    transition: all 0.5s ease;
    z-index: -1;
}

.btn-donate:hover {
    background-color: var(--primary-dark);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-donate:hover::before {
    transform: translateX(100%);
}

/* donation + reel grid */

.donate-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.donate-column {
    min-width: 0;
}

/* reel panel */

.impact-reel {
    --reel-h: clamp(260px, 25vw, 420px);
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 0.75rem 0 0.75rem 0.5rem;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.reel-viewport {
    position: relative;
    display: block;
    overflow: hidden;
    clip-path: inset(0);
    contain: layout paint;
    width: clamp(300px, 50vw, 800px);
    max-width: 100%;
    height: var(--reel-h, 360px);
    border-radius: 10px;
    background: #111111;
    margin: 0 auto;
}

.reel-track {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    height: 100%;
    width: max-content;
    overflow: hidden;
    will-change: transform;
    animation: reel-scroll 45s linear infinite;
}

.reel-item {
    flex: 0 0 auto;
    height: 100%;
    width: auto;
    aspect-ratio: 16 / 9;
    border-radius: 10px;
    box-shadow: 0 12px 20px rgba(0,0,0,0.3);
    position: relative;
    margin-right: 1rem;
    overflow: hidden;
    max-width: 400px;
}

.reel-item.is-last {
    margin-right: 0;
}

.reel-item img {
      display: block;
    width: 100%;
    height: 100%;
    max-width: none;                   
    object-fit: cover;
    filter: saturate(1.05) contrast(1.05);
}

/* subtle “caption-like” overlay */
.reel-item::after {
  content: attr(data-caption);
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: .4rem .6rem;
  font-weight: 700;
  font-size: .85rem;
  color: #fff;
  background: linear-gradient(to top, rgba(0,0,0,.55) 0%, rgba(0,0,0,0) 80%);
  pointer-events: none;
}

.reel-caption {
  margin-top: 0.5rem;
  text-align: center;
  font-weight: 700;
  opacity: 0.85;
  letter-spacing: 1px;
}

/* seamless loop: translate exactly 50% because we duplicate the set twice */
@keyframes reel-scroll {
    0% { 
    transform: translateX(0); 
    }
    100% { 
        transform: translateX(-50%); 
    }
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reel-track { animation: none; }
}

/* Responsive: stack on tablet/phone */
@media (max-width: 1024px) {
  .donate-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .reel-viewport { aspect-ratio: 16/9; }
  .reel-item { width: 80%; }
}

/* constact */

.contact {
    background-color: var(--accent-color);
}

.custom-shape-divider-bottom-1742331684 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.custom-shape-divider-bottom-1742331684 svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 100px;
    transform: rotateY(180deg);
}

.custom-shape-divider-bottom-1742331684 .shape-fill {
    fill: #23282C;
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    color: var(--primary-dark)
}

.contact-item svg {
    font-size: 2rem;
    color: var(--primary-color);
    align-self: center;
    margin-right: 0.75em;
}

.contact-text h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.contact-text p {
    color: var(--primary-color);
    font-weight: 700;
}

.contact-form {
    background-color: var(--light-color);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    resize: vertical;
    min-height: 150px;
}

/* footer styles */

footer {
    background-color: var(--dark-color);
    color: rgba(255, 255, 255, 0.8);
    padding: 4rem 5% 2rem;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    width: 40%;
    margin-bottom: 1rem;
}

.footer-about p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-subscribe {
    margin-top: 7em;
}

.footer-subscribe p {
    margin-bottom: 1.5rem;
}

.subscribe-form {
    display: flex;
}

.subscribe-form input {
    flex: 1;
    padding: 0.8rem;
    border: none;
    border-radius: 5px 0 0 5px;
    font-family: inherit;
    font-size: 1rem;
}

.subscribe-form .send-btn{
    background-color: var(--primary-color);
    color: var(--light-color);
    border: none;
    padding: 0.8rem 1.2rem;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.subscribe-form .send-btn:hover {
    background-color: var(--primary-dark);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-around;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
}

/* 3D Button Styles */
.btn-3d-container {
    position: relative;
    perspective: 800px;
    display: inline-block;
    margin-top: 1rem;
}

.btn-3d {
    position: relative;
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--secondary-color);
    color: var(--light-color);
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transform-style: preserve-3d;
    transform: translateZ(-30px);
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-3d::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--accent-color);
    border-radius: 50px;
    transform: translateZ(-30px);
    transition: all 0.3s ease;
}

.btn-3d:hover {
    transform: translateZ(-15px) rotateX(15deg);
}

.btn-3d:active {
    transform: translateZ(0px);
}

.footer-bottom p {
    font-size: 0.8rem;
}


.footer-bbd-logo {
    width: 3%;
}

/* admin link */
.footer-bottom a {
    font-size: 0.75rem;
    color: var(--light-color);
}

.map-container {
    width: 30em;
    height: 25em;
    margin-top: 1em;
    border: none;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* admin html */

.admin-view {
    font-family: sans-serif;
    padding: 2rem;
    background-color: #f7f7f7;
  }

.message-container {
    display: none;
}
  
#message-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  
.message-card {
    background: #fff;
    border-left: 4px solid #2ecc71;
    padding: 1rem;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
  }
  
.message-card .timestamp {
    font-size: 0.8rem;
    color: gray;
  }

/* modals */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.modal-content {
    background-color: var(--light-color);
    color: var(--dark-color);
    padding: 2em;
    border-radius: 10px;
    text-align: center;
    max-width: 31.25em;
    width: 90%;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.5s ease;
}

.modal-content h2 {
    margin-bottom: 1em;
    color: var(--primary-color)
}

.modal-content button {
    margin-top: 1.5em;
    padding: 0.8em 1.5em;
    background-color: var(--primary-color);
    color: var(--light-color);
    border: none;
    border-radius: 5px;
    font-weight: 900;
    cursor: pointer;
    transition: background 0.3s ease;
}

.modal-content button:hover {
    background-color: var(--primary-dark);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* alert modal */
.toast {
    position: fixed;
    top: 20%;
    left: 50%;
    background-color: var(--primary-dark);
    color: var(--light-color);
    padding: 1em 1.5em;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 999;
    font-weight: 900;
    transform: translateY(20px);
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

.toast.success {
    background-color: var(--primary-color);
}

.toast.error {
    background-color: #e74c3c
}

.toast.hidden {
    display: none;
}

/* register btn */

.register-container {
  margin-top: 1rem;
  text-align: center;
}

.disabled-btn {
  background-color: #ccc !important;
  color: #666 !important;
  cursor: not-allowed !important;
  pointer-events: auto; 
}

.visible-toast {
  opacity: 1;
  pointer-events: auto;
}

.hidden {
  opacity: 0;
}

.custom-shape-divider-bottom-1742331555 svg,
.custom-shape-divider-bottom-1742333600 svg,
.custom-shape-divider-bottom-1742331684 svg,
.custom-shape-divider-bottom-1742329057 svg,
.custom-shape-divider-bottom-1742328735 svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 50px;
    transform: rotateY(180deg);
}


/* Responsive Design */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .section {
        padding: 5rem 5%;
    }

    .map-container {
        width: 23em;
        height: 20em;
    }
    .donate-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    /* .impact-reel {
        --reel-h: clamp(220px, 40vw, 360px);
    } */
}

@media (max-width: 768px) {
    .section,
    .about,
    .about-content,
    .about-text,
    .about-image {
      max-width: 100vw;
      overflow-x: hidden;
    }
    
    .hero h1 {
        font-size: 2.25rem;
    }

    .hero h1 span {
        font-size: 3rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .btn {
        padding: 0.7rem 1.5rem;
    }
    
    .btn-secondary {
        margin-left: 0;
        margin-top: 1rem;
    }
    
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 50%;
        height: 100vh;
        background-color: var(--light-color);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: all 0.5s ease;
    }
    
    nav.active {
        right: 0;
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    nav ul li {
        margin: 1.5rem 0;
    }

    nav ul li a {
        color: var(--primary-color);
        font-size: 1.5rem;
    }
    
    .mobile-menu {
        display: block;
        position: fixed;
        top: 1rem;
        right: 3rem;
        z-index: 100;
        
    }

    .logo {
        width: 10%;
    }
    
    .bar {
        display: block;
        width: 25px;
        height: 3px;
        margin: 5px auto;
        background-color: var(--dark-color);
        transition: all 0.3s ease;
    }
    
    .mobile-menu.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
        background-color: #ff0000;
    }
    
    .mobile-menu.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
        background-color: #ff0000;
    }

    .about-content {
        flex-direction: column;
        align-items: center;
    }

    .about-content h3 {
        text-align: center;
        font-size: 2rem;
    }

    .about-image,
    .about-text {
      width: 100%;
      max-width: 100%;
      min-width: 0;
      flex: 1 1 100%;
    }

    .about-text {
        text-align: center;
        font-size: 1rem;
        padding: 1rem;
    }

    .about-text span {
        font-size: 1.5rem;
    }

    .about-text p {
        font-size: 1.25rem;
        text-align: center;
    }

    .about-image {
        min-width: 0;
        flex: 0 0 auto;
        width: 100%;
        max-width: 100%;
        height: auto;
    }
    
    .about-image img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }
    .custom-shape-divider-bottom-1742331555 svg,
    .custom-shape-divider-bottom-1742333600 svg,
    .custom-shape-divider-bottom-1742331684 svg   {
        position: relative;
        display: block;
        width: calc(100% + 1.3px);
        height: 80px;
        transform: rotateY(180deg);
    }

    .event-card {
        width: 70%;
    }

    .event-date .day {
        font-size: 3rem;
    }

    .event-date .month {
        font-size: 1.5rem;
    }

    .event-content img {
        width: 100%;
    }

    .event-details {
        font-size: 1.25rem;
    }

    .contact-container {
        display: flex;
        flex-direction: column;
    }

    .contact-info {
        flex-direction: column;
        align-self: start;
    }

   .contact-item {
        align-self: start;
        padding-left: 4em;
   }

    .footer-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }

    .footer-about {
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-subscribe{
        margin-top: 3rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
    }
    .footer-bbd-logo {
        width: 10%;
    }

    .map-container {
        width: 30em;
        height: 20em;
    }

    .gallery,
    .contact,
    .donate {
        padding-bottom: 6rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.25rem;
    }

    .hero-content h1 span {
        display: block;
        font-size: 1.5rem;
        letter-spacing: 10px;
    }

    .logo {
        width: 15%;
    }

    .about-content {
        display: flex;
        flex-direction: column;
    }

    .about-text {
        text-align: center;
    }

    .about-image {
        min-width: unset !important;
        flex: 1 1 100%
    }
    
    .section {
        padding: 4rem 5%;
    }
    
    .section-title {
        font-size: 1.8rem;
    }

    .event-card {
        width: 90%;
    }
    
    .donation-amounts {
        flex-direction: column;
    }

    .contact-item {
        padding-left: 1.25em;
    }

    .map-container {
        width: 16em;
        height: 12em;
    }

    .gallery,
    .contact,
    .donate {
        padding-bottom: 6rem;
        position: relative;
        z-index: 1;
    }

    .custom-shape-divider-bottom-1742331555,
    .custom-shape-divider-bottom-1742331684,
    .custom-shape-divider-bottom-1742333600 {
        z-index: 0;
    }
}

