* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
  background: #f4f9f7;
  color: #1c2b28;
  overflow-x: hidden;
}

/* ================= MODERN AUTH STYLES ================= */
.auth-wrapper {
  min-height: 100vh;
  background: linear-gradient(135deg, #f4f9f7 0%, #e8f5f0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 20px;
}

.auth-side-decoration {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 0;
  pointer-events: none;
}

.decoration-circle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
}

.decoration-1 {
  width: 300px;
  height: 300px;
  background: #0f5c45;
  top: -100px;
  right: -100px;
}

.decoration-2 {
  width: 200px;
  height: 200px;
  background: #1e8f6f;
  bottom: -50px;
  left: -50px;
}

.decoration-3 {
  width: 150px;
  height: 150px;
  background: #0f5c45;
  bottom: 100px;
  right: 50px;
}

.auth-container {
  background: white;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(15, 92, 69, 0.15);
  width: 100%;
  max-width: 480px;
  padding: 50px 40px;
  position: relative;
  z-index: 10;
  animation: slideUp 0.6s ease-out;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  min-height: 500px;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.auth-header {
  text-align: center;
  margin-bottom: 20px;
}

.auth-header h1 {
  color: #0f5c45;
  font-size: 28px;
  margin-bottom: 8px;
  font-weight: 700;
}

.auth-header .subtitle {
  color: #666;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* ================= TAB NAVIGATION ================= */
.auth-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 30px;
  margin-top: 10px;
  background: #f5f5f5;
  padding: 4px;
  border-radius: 12px;
  justify-content: center;
  width: 100%;
  position: relative;
  z-index: 10;
}

.tab-btn {
  flex: 1;
  padding: 12px 20px;
  border: none;
  background: transparent;
  color: #999;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.tab-btn:hover {
  color: #0f5c45;
}

.tab-btn.active {
  background: white;
  color: #0f5c45;
  box-shadow: 0 2px 8px rgba(15, 92, 69, 0.1);
}

/* ================= FORMS ================= */
.auth-form {
  display: none;
  opacity: 0;
  animation: fadeIn 0.4s ease-out forwards;
  position: relative;
  z-index: 1;
}

.auth-form.active {
  display: block;
  opacity: 1;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.auth-form h2 {
  color: #0f5c45;
  font-size: 24px;
  margin-bottom: 8px;
  font-weight: 700;
}

.auth-form .form-subtitle {
  color: #999;
  font-size: 14px;
  margin-bottom: 30px;
  font-weight: 500;
}

/* ================= FORM GROUPS ================= */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  color: #333;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 14px;
  transition: all 0.3s ease;
  font-family: inherit;
}

.form-group input:focus {
  outline: none;
  border-color: #0f5c45;
  box-shadow: 0 0 0 3px rgba(15, 92, 69, 0.1);
}

.form-group input::placeholder {
  color: #bbb;
}

/* ================= PASSWORD INPUT WITH TOGGLE ================= */
.password-group {
  margin-bottom: 20px;
}

.password-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.password-input-wrapper input {
  flex: 1;
  width: 100%;
  padding: 14px 16px;
  padding-right: 45px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 14px;
  transition: all 0.3s ease;
  font-family: inherit;
}

.password-input-wrapper input:focus {
  outline: none;
  border-color: #0f5c45;
  box-shadow: 0 0 0 3px rgba(15, 92, 69, 0.1);
}

.password-toggle {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  padding: 6px 8px;
  transition: all 0.3s ease;
  color: #666;
}

.password-toggle:hover {
  color: #0f5c45;
  transform: scale(1.1);
}

/* ================= LOADING OVERLAY ================= */
.loading-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 999;
  align-items: center;
  justify-content: center;
}

.loading-overlay.show {
  display: flex;
}

.loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top: 4px solid #ffffff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.verifying-text {
  color: white;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 2px;
  animation: blink 1.5s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/* ================= AUTH BUTTON ================= */
.auth-button {
  width: 100%;
  padding: 14px;
  background: linear-gradient(90deg, #0f5c45, #1e8f6f);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.auth-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(15, 92, 69, 0.3);
}

.auth-button:active {
  transform: translateY(0);
}

/* ================= FORM FOOTER ================= */
.form-footer {
  margin-top: 20px;
}

.remember-me,
.terms-agree {
  display: flex;
  align-items: center;
  color: #666;
  font-size: 13px;
  cursor: pointer;
  user-select: none;
}

.remember-me input,
.terms-agree input {
  width: 18px;
  height: 18px;
  margin-right: 8px;
  cursor: pointer;
  accent-color: #0f5c45;
}

/* ================= OLD STYLES FOR OTHER PAGES ================= */
#authSection.hide {
  display: none;
}

/* HEADER */
header {
  background: linear-gradient(90deg, #0f5c45, #1e8f6f);
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
  flex-wrap: wrap;
  gap: 20px;
  position: relative;
  z-index: 1000;
}

header h1 {
  font-size: 24px;
}

/* MOBILE MENU */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
}

.menu-open .menu-toggle {
  display: block;
}

.menu-open nav {
  display: flex !important;
}

/* NAV LINKS */
nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

nav a {
  position: relative;
  color: #fff;
  margin-left: 0;
  font-weight: 600;
  padding-bottom: 6px;
  font-size: 14px;
  cursor: pointer;
}

/* single animated line */
nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: #ffffff;
  transition: width 0.3s ease;
}

/* hover effect */
nav a:hover::after {
  width: 100%;
}

 


/* CARD */
.card {
  background: white;
  max-width: 1100px;
  margin: 30px auto;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  width: 100%;
}

/* FORMS */
.form-container {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.form-box {
  width: 280px;
  padding: 25px;
  background: white;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.form-box input, .form-box button {
  width: 100%;
  margin-top: 12px;
  padding: 10px;
}

.form-box button {
  background: #0f5c45;
  color: white;
  border: none;
  cursor: pointer;
}

/* SLIDER */
.slider {
  position: relative;
  height: 420px;
  overflow: hidden;
  background-image: url("image1.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.slides {
  display: flex;
  width: 400%;
  animation: slide 40s linear infinite;
}

.slides img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

@keyframes slide {
  from { transform: translateX(0); }
  to { transform: translateX(-300%); }
}

.slider-text {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* PAGE SWITCH ANIMATION */
.page {
  display: none;
  opacity: 0;
  transform: translateY(30px);
}

.page.active {
  display: block;
  animation: pageAnim 0.6s ease forwards;
}

@keyframes pageAnim {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes trainMove {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

/* ================= ACTIVITIES GALLERY ================= */

.activities-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 25px;
}

.activities-gallery img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.12);
}

/* HOVER EFFECT */
.activities-gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

/* ================= GALLERY STYLES ================= */
.gallery-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 30px;
  gap: 25px;
}

.gallery-viewer {
  background: linear-gradient(135deg, #ffffff 0%, #f5f9f7 100%);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(15, 92, 69, 0.15);
  width: 100%;
  max-width: 750px;
  border: 3px solid #0f5c45;
  position: relative;
  overflow: hidden;
}

.gallery-viewer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(15, 92, 69, 0.05) 0%, transparent 50%);
  pointer-events: none;
  border-radius: 17px;
}

.gallery-image-wrapper {
  position: relative;
  width: 100%;
  padding-top: 75%;
  overflow: hidden;
  border-radius: 15px;
  background: linear-gradient(135deg, #f0f0f0 0%, #e8e8e8 100%);
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.1);
}

.gallery-main-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 12px;
  animation: slideInAndZoom 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes slideInAndZoom {
  0% {
    opacity: 0;
    transform: scale(0.7) translateY(30px);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.gallery-main-image.animate-rotate {
  animation: rotateInImage 0.9s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes rotateInImage {
  0% {
    opacity: 0;
    transform: rotateY(90deg) scale(0.5);
  }
  100% {
    opacity: 1;
    transform: rotateY(0) scale(1);
  }
}

.gallery-main-image.animate-slide-left {
  animation: slideFromLeft 0.7s ease-out forwards;
}

@keyframes slideFromLeft {
  0% {
    opacity: 0;
    transform: translateX(-100px) scale(0.9);
  }
  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

.gallery-main-image.animate-slide-right {
  animation: slideFromRight 0.7s ease-out forwards;
}

@keyframes slideFromRight {
  0% {
    opacity: 0;
    transform: translateX(100px) scale(0.9);
  }
  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

.gallery-main-image.animate-bounce {
  animation: bounceIn 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0) translateY(-20px);
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.gallery-counter {
  text-align: center;
  margin-top: 20px;
  font-size: 18px;
  color: #0f5c45;
  font-weight: 700;
  letter-spacing: 1px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  animation: fadeInDown 0.6s ease-out;
}

@keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translateY(-10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.gallery-controls {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.gallery-btn {
  padding: 14px 35px;
  background: linear-gradient(135deg, #0f5c45 0%, #1e8f6f 100%);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(15, 92, 69, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.gallery-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}

.gallery-btn:hover::before {
  left: 100%;
}

.gallery-btn:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 30px rgba(15, 92, 69, 0.4);
}

.gallery-btn:active {
  transform: translateY(-1px) scale(1.02);
}

/* GALLERY PROGRESS INDICATORS */
.gallery-progress {
  width: 100%;
  height: 3px;
  background: #e0e0e0;
  border-radius: 10px;
  margin-top: 15px;
  overflow: hidden;
}

.gallery-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #0f5c45, #1e8f6f);
  width: 0%;
  transition: width 0.6s ease;
  border-radius: 10px;
}

/* OTHERS */
.center-text {
  text-align: center;
  margin-top: 20px;
}

.center-img {
  text-align: center;
  margin-top: 25px;
}

.center-img img {
  max-width: 90%;
  border-radius: 14px;
}

footer {
  text-align: center;
  padding: 20px;
  background: #0f5c45;
  color: white;
  margin-top: 40px;
}

nav a.active {
  text-decoration: underline;
  font-weight: bold;
}

/* ================= DONATION PAGE STYLES ================= */
.donation-container {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
}

.donation-box {
  background: white;
  padding: 30px;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
  width: 100%;
  max-width: 450px;
  border: 2px solid #0f5c45;
}

.donation-box h3 {
  color: #0f5c45;
  margin-bottom: 20px;
  text-align: center;
}

.donation-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.amount-btn {
  padding: 12px 15px;
  background: #f0f0f0;
  border: 2px solid #0f5c45;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  color: #0f5c45;
  cursor: pointer;
  transition: all 0.3s ease;
}

.amount-btn:hover {
  background: #0f5c45;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(15,92,69,0.3);
}

.amount-btn.selected {
  background: #0f5c45;
  color: white;
  box-shadow: 0 6px 15px rgba(15,92,69,0.3);
}

.custom-amount {
  margin-bottom: 20px;
}

.custom-amount label {
  display: block;
  margin-bottom: 8px;
  color: #333;
  font-weight: 600;
}

.custom-amount input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
}

.donor-info {
  margin-bottom: 20px;
}

.donor-info input {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
}

.donate-btn {
  width: 100%;
  padding: 14px;
  background: linear-gradient(90deg, #0f5c45, #1e8f6f);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 15px;
}

.donate-btn:hover {
  box-shadow: 0 10px 25px rgba(15,92,69,0.4);
  transform: translateY(-2px);
}

.donate-btn:active {
  transform: translateY(0);
}

.info-text {
  text-align: center;
  font-size: 13px;
  color: #666;
  line-height: 1.6;
}

.impact-box {
  background: linear-gradient(135deg, #e8f5f0, #f0faf8);
  padding: 25px;
  border-radius: 14px;
  width: 100%;
  max-width: 350px;
  border: 2px solid #0f5c45;
}

.impact-box h3 {
  color: #0f5c45;
  margin-bottom: 20px;
  text-align: center;
}

.impact-item {
  background: white;
  padding: 15px;
  margin-bottom: 12px;
  border-radius: 8px;
  border-left: 4px solid #0f5c45;
  text-align: center;
  font-size: 14px;
  line-height: 1.6;
}

.impact-item strong {
  display: block;
  color: #0f5c45;
  font-size: 16px;
  margin-bottom: 5px;
}

@media (max-width: 768px) {
  .donation-options {
    grid-template-columns: repeat(2, 1fr);
  }

  .donation-container {
    flex-direction: column;
    align-items: center;
  }

  .donation-box,
  .impact-box {
    width: 100%;
    max-width: 100%;
  }
}

/* ================= ENHANCED MOBILE RESPONSIVENESS ================= */

@media (max-width: 1024px) {
  header {
    padding: 12px 15px;
  }

  header h1 {
    font-size: 20px;
  }

  nav {
    gap: 10px;
  }

  nav a {
    font-size: 12px;
  }

  .card {
    margin: 20px 15px;
    padding: 20px;
  }

  .auth-container {
    padding: 40px 30px;
  }

  .form-box {
    width: 250px;
  }

  .activities-gallery {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
  }

  .donation-options {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

@media (max-width: 768px) {
  * {
    margin: 0;
    padding: 0;
  }

  body {
    font-size: 14px;
  }

  header {
    padding: 10px;
    gap: 10px;
    justify-content: space-between;
  }

  header h1 {
    font-size: 18px;
    flex: 1;
    min-width: 200px;
  }

  nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 10px;
    background: #0f5c45;
    padding: 15px;
    border-radius: 8px;
    min-width: 180px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    gap: 10px;
    z-index: 1001;
  }

  nav a {
    margin: 0;
    padding: 10px 0;
    font-size: 14px;
    color: white;
    text-align: left;
    display: block;
  }

  header.menu-open nav {
    display: flex !important;
  }

  .menu-toggle {
    display: block;
    order: -1;
  }

  .card {
    margin: 15px 10px;
    padding: 15px;
    border-radius: 12px;
  }

  .card h3 {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .page {
    padding: 0;
  }

  .page h2 {
    font-size: 22px;
    padding: 20px 15px 10px;
    margin: 0;
  }

  .center-text {
    padding: 0 15px;
    margin-top: 15px;
    font-size: 14px;
    line-height: 1.5;
  }

  .center-img {
    margin: 20px 10px;
  }

  .center-img img {
    max-width: 95%;
    border-radius: 10px;
  }

  .slider {
    height: 280px;
  }

  .slides img {
    height: 280px;
  }

  .slider-text h2 {
    font-size: 18px;
  }

  .slider-text p {
    font-size: 12px;
  }

  /* AUTH STYLES FOR MOBILE */
  .auth-wrapper {
    padding: 10px;
  }

  .auth-container {
    padding: 30px 20px;
    min-height: 450px;
  }

  .auth-header h1 {
    font-size: 22px;
  }

  .auth-header .subtitle {
    font-size: 12px;
  }

  .auth-tabs {
    margin-bottom: 20px;
  }

  .tab-btn {
    padding: 10px 15px;
    font-size: 13px;
  }

  .form-group label {
    font-size: 12px;
  }

  .form-group input {
    padding: 12px 12px;
    font-size: 13px;
  }

  .auth-button {
    padding: 12px;
    font-size: 13px;
  }

  .auth-form h2 {
    font-size: 20px;
    margin-bottom: 5px;
  }

  .auth-form .form-subtitle {
    font-size: 12px;
    margin-bottom: 20px;
  }

  /* DONATION PAGE MOBILE */
  .donation-container {
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
  }

  .donation-box,
  .impact-box {
    width: 100%;
    max-width: 100%;
    padding: 20px;
    margin: 0 10px;
  }

  .donation-box h3,
  .impact-box h3 {
    font-size: 18px;
    margin-bottom: 15px;
  }

  .donation-options {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 15px;
  }

  .amount-btn {
    padding: 10px 12px;
    font-size: 14px;
  }

  .custom-amount input {
    padding: 10px;
    font-size: 14px;
  }

  .donor-info input {
    padding: 10px;
    font-size: 13px;
    margin-bottom: 10px;
  }

  .donate-btn {
    padding: 12px;
    font-size: 14px;
    margin-bottom: 12px;
  }

  .info-text {
    font-size: 12px;
    line-height: 1.5;
  }

  .impact-item {
    padding: 12px;
    margin-bottom: 10px;
    font-size: 13px;
  }

  .impact-item strong {
    font-size: 15px;
    margin-bottom: 3px;
  }

  /* GALLERY MOBILE */
  .gallery-viewer {
    padding: 15px;
    margin: 0 10px;
    box-shadow: 0 10px 25px rgba(15, 92, 69, 0.2);
  }

  .gallery-controls {
    gap: 10px;
    padding: 0 10px;
  }

  .gallery-btn {
    padding: 10px 20px;
    font-size: 14px;
    flex: 1;
    min-width: 120px;
  }

  .gallery-counter {
    font-size: 16px;
  }

  .gallery-progress {
    height: 4px;
    margin-top: 12px;
  }

  /* ACTIVITIES GALLERY */
  .activities-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 15px;
    padding: 0 10px;
  }

  .activities-gallery img {
    height: 150px;
    border-radius: 8px;
  }

  /* FORM CONTAINERS */
  .form-container {
    gap: 15px;
  }

  .form-box {
    width: 100%;
    max-width: 280px;
    padding: 15px;
  }

  .form-box input,
  .form-box button {
    margin-top: 10px;
    padding: 10px;
    font-size: 13px;
  }

  footer {
    padding: 15px 10px;
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  header {
    padding: 8px;
  }

  header h1 {
    font-size: 16px;
  }

  .page h2 {
    font-size: 20px;
    padding: 15px 10px 8px;
  }

  .center-text {
    padding: 0 10px;
    margin-top: 12px;
    font-size: 13px;
  }

  .auth-container {
    padding: 25px 15px;
    min-height: 400px;
  }

  .auth-header h1 {
    font-size: 20px;
  }

  .tab-btn {
    padding: 8px 12px;
    font-size: 12px;
  }

  .form-group {
    margin-bottom: 15px;
  }

  .form-group input {
    padding: 10px;
    font-size: 12px;
  }

  .auth-button {
    padding: 10px;
    font-size: 12px;
    margin-top: 8px;
  }

  .donation-options {
    grid-template-columns: 1fr;
  }

  .amount-btn {
    padding: 10px;
    font-size: 13px;
  }

  .donation-box {
    margin: 0 8px;
  }

  .activities-gallery {
    grid-template-columns: 1fr;
  }

  .activities-gallery img {
    height: 200px;
  }

  .slider {
    height: 200px;
  }

  .slides img {
    height: 200px;
  }

  .slider-text h2 {
    font-size: 16px;
  }

  .slider-text p {
    font-size: 11px;
  }

  .decoration-1 {
    width: 200px;
    height: 200px;
  }

  .decoration-2 {
    width: 150px;
    height: 150px;
  }

  .decoration-3 {
    width: 100px;
    height: 100px;
  }
}