
.container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
}

/* Top bar */
.top-bar {
  background-color: #1F7A4C !important;
  color: #FFFFFF;
}

.top-bar .container {
  display: flex;              /* make sure flex is set */
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 24px;
}

.volunteer-text {
  font-size: 14px;
  font-weight: bold;
}

/* Social media links replacing language selector */
.social-links {
  display: flex;
  gap: 15px;                  /* space between icons */
}

.social-icon {
  color: #FFFFFF;
  font-size: 18px;
  transition: color 0.3s ease, transform 0.3s ease;
}

.social-icon:hover {
  color: #ff6347;            /* accent color on hover */
  transform: scale(1.1);      /* subtle pop on hover */
}

/* Optional: make icons circular background */
.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.1); /* subtle circle */
}

/* Navbar */
.navbar {
  background-color: #FFFFFF;
  border-bottom: 2px solid #1F7A4C;
   
}

.navbar .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
}

.logo img {
  width: 120px; /* fixed width for logo */
  height: auto;
}

.logo span {
  font-weight: bold;
  color: #1F7A4C;
  margin-left: 8px;
}

.nav-links {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.nav-links a {
  text-decoration: none;
  color: #1F7A4C;
  font-weight: 700;
  font-size: 15px;
}

.nav-links a:hover {
  color: orangered;
}

#donateBtn {
  background-color: orangered;
  color: #FFFFFF;
  border: none;
  padding: 10px 18px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
}



/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #FFFFFF;
  border: 1px solid #1F7A4C;
  list-style: none;
  padding: 8px 0;
  min-width: 180px;
  z-index: 1000;
}

.dropdown-menu li a {
  color: #1F7A4C;
  padding: 8px 16px;
  display: block;
}

.dropdown-menu li a:hover {
  background-color: orangered;
  color: #FFFFFF;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

/* Mobile */
.menu-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

@media (max-width: 768px) {
  .navbar .container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .menu-toggle {
    display: block;
    margin-left: auto; /* keeps toggle beside logo */
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background-color: #FFFFFF;
    border: 1px solid #1F7A4C;
    padding: 10px;
    width: 100%;
  }

  .nav-links.active {
    display: flex;
  }

  /* Donate button fixed at bottom */
   #donateBtn {
  background: #ff4d00;
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
  margin-left: 2rem;
}
}


.page-banner {
  position: relative;
  height: 300px;
  background: url('images/smile.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* DARK OVERLAY */


/* CONTENT */
.banner-content {
  position: relative;
  text-align: center;
  color: #fff;
  z-index: 2;
  text-decoration: none;
}

.banner-content h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 10px;
}

.breadcrumb {
  font-size: 16px;
}

.breadcrumb a{
    text-decoration: none;
}
.breadcrumb .home {
  color: orangered;
  font-weight: 600;
}

.breadcrumb .arrow {
  margin: 0 8px;
  opacity: 0.7;
}

/* Tablet */
@media (max-width: 768px) {
  .page-banner {
    height: 250px;
  }

  .banner-content h1 {
    font-size: 36px;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .page-banner {
    height: 200px;
  }

  .banner-content h1 {
    font-size: 28px;
  }

  .breadcrumb {
    font-size: 14px;
  }
}




.about-section {
  background: #f5f5f5;
  padding: 80px 20px;
}

.about-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 50px;
}

/* IMAGES */
.about-images {
  display: flex;
  gap: 20px;
}

.about-images img {
  width: 220px;
  height: 350px;
  object-fit: cover;
}

.img-left {
  margin-top: 40px; /* creates staggered look */
}

.img-right {
  margin-bottom: 40px;
}

/* TEXT */
.about-text {
  flex: 1;
}

.about-text h2 {
  font-size: 40px;
  margin-bottom: 20px;
  font-weight: 700;
  color: orangered;
}

.about-text p {
  font-size: 15px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
    text-align: center;
  }

  .about-images {
    justify-content: center;
  }

  .about-images img {
    width: 45%;
    height: 250px;
  }

  .img-left,
  .img-right {
    margin: 0;
  }

  .about-text h2 {
    font-size: 30px;
  }
}

@media (max-width: 480px) {
  .about-images {
    flex-direction: column;
    align-items: center;
  }

  .about-images img {
    width: 90%;
    height: 220px;
  }
}





.vision-section {
  background: #ffffff;
  padding: 80px 20px;
  text-align: center;
}

.vision-container {
  max-width: 800px;
  margin: 0 auto;
}

.vision-section h2 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 20px;
  color: orangered;
}

.vision-text {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
}

@media (max-width: 768px) {
  .vision-section {
    padding: 60px 15px;
  }

  .vision-section h2 {
    font-size: 30px;
  }

  .vision-text {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .vision-section h2 {
    font-size: 26px;
  }

  .vision-text {
    font-size: 14px;
  }
}




/* Tablet */
.values-section {
  background: #f8f8f8;
  padding: 100px 20px;
  text-align: center;
}

.values-container {
  max-width: 1100px;
  margin: 0 auto;
}

.values-section h2 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 60px;
  color: orangered;
  position: relative;
}

/* UNDERLINE EFFECT */
.values-section h2::after {
  content: "";
  width: 60px;
  height: 3px;
  background: orangered;
  display: block;
  margin: 12px auto 0;
}

/* GRID */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* CARD */
.value-card {
  background: #fff;
  padding: 35px 25px;
  border-radius: 15px;
  transition: all 0.35s ease;
  border: 1px solid #eee;
}

/* HOVER EFFECT */
.value-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

/* ICON */
.icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: rgba(106,44,145,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon i {
  font-size: 28px;
  color: orangered;
}

/* TEXT */
.value-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: #222;
}

.value-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.7;
}

/* Tablet */
@media (max-width: 992px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .values-section h2 {
    font-size: 34px;
  }
}

/* Mobile */
@media (max-width: 576px) {
  .values-grid {
    grid-template-columns: 1fr;
  }

  .values-section {
    padding: 70px 15px;
  }

  .value-card {
    padding: 25px 20px;
  }

  .values-section h2 {
    font-size: 28px;
  }
}

/* footer */
.site-footer {
  background-color: #1F7A4C; /* deep purple */
  color: #fff;
  padding: 60px 20px 30px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-container h3,
.footer-container h4 {
  margin-bottom: 15px;
  font-weight: bold;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: #fff;
  text-decoration: none;
}

.footer-links ul li a:hover {
  text-decoration: underline;
}

.footer-newsletter input {
  padding: 10px;
  border: none;
  border-radius: 4px;
  margin-right: 10px;
}

.footer-newsletter button {
  padding: 10px 18px;
  background-color: orangered;
  border: none;
  border-radius: 4px;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
}

.footer-newsletter button:hover {
  background-color: #1F7A4C;
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 20px;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-newsletter input {
    margin-bottom: 10px;
    width: 100%;
  }
  .footer-newsletter button {
    width: 100%;
  }
}




.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* Main card */
.modal-container {
  background: #ffffff;
  width: 90%;
  max-width: 520px;
  border-radius: 18px;
  padding: 30px 25px;
  position: relative;
  font-family: 'Segoe UI', sans-serif;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  animation: popUp 0.4s ease;
}

/* Smooth entrance */
@keyframes popUp {
  0% { transform: scale(0.9) translateY(40px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}

/* Close button */
.close-modal {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 22px;
  border: none;
  background: #f2f2f2;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s;
}

.close-modal:hover {
  background: orangered;
  color: #fff;
}

/* Foundation name */
.foundation-name {
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  color: orangered;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

/* Amount buttons */
.donation-amounts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.amount-btn {
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #e5e5e5;
  background: #fafafa;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.25s ease;
}

.amount-btn:hover {
  background: orangered;
  color: #fff;
  transform: translateY(-2px);
}

.amount-btn.active {
  background: orangered;
  color: #fff;
  box-shadow: 0 6px 20px rgba(31,122,76,0.3);
}

/* Custom amount */
.custom-amount-wrap input {
  grid-column: span 2;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #ddd;
  outline: none;
  transition: 0.3s;
}

.custom-amount-wrap input:focus {
  border-color: orangered;
  box-shadow: 0 0 0 3px rgba(31,122,76,0.15);
}

/* Form */
.form-row {
  display: flex;
  gap: 10px;
}

.input-group {
  flex: 1;
  margin-bottom: 12px;
}

.input-group label {
  font-size: 13px;
  color: #555;
}

.input-group input {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ddd;
  margin-top: 5px;
  transition: 0.3s;
}

.input-group input:focus {
  border-color: #1F7A4C;
  box-shadow: 0 0 0 2px rgba(31,122,76,0.1);
}

/* Checkbox */
.anonymous-check {
  font-size: 13px;
  color: #666;
  display: block;
  margin-top: 5px;
}

/* Bank details box */
.bank-details {
  background: linear-gradient(135deg, #1F7A4C, #145c38);
  color: #fff;
  padding: 15px;
  border-radius: 12px;
  margin-top: 18px;
  font-size: 14px;
  line-height: 1.6;
}

/* Footer */
.donation-footer {
  margin-top: 18px;
  text-align: center;
}

.donation-total {
  font-size: 18px;
  font-weight: 700;
  color: #1F7A4C;
}

/* Mobile */
@media (max-width: 500px) {
  .form-row {
    flex-direction: column;
  }
}

.submit-btn {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 10px;
  background: #1F7A4C;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  margin-top: 10px;
  transition: 0.3s;
}

.submit-btn:hover {
  background: #145c38;
  transform: translateY(-2px);
}

.copy-btn {
  margin-left: 10px;
  padding: 6px 12px;
  border: none;
  background: #1F7A4C;
  color: #fff;
  border-radius: 6px;
  font-size: 12px;
  cursor: pointer;
  transition: 0.3s;
}

.copy-btn:hover {
  background: #145c38;
}

.copy-tooltip {
  display: inline-block;
  margin-left: 8px;
  color: white;
  font-weight: bold;
  opacity: 0;
  transition: opacity 0.3s;
}
.copy-tooltip.show {
  opacity: 1;
}


.floating-donate {
  position: fixed;
  bottom: 20px;
  right: 15px;
  background: linear-gradient(135deg, #ff4d00, #ff7a00);
  color: #fff;
  padding: 14px 18px;
  border-radius: 50px;
  border: none;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
}

/* Hover effect */
.floating-donate:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

/* Pulse animation */
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 77, 0, 0.6); }
  70% { box-shadow: 0 0 0 12px rgba(255, 77, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 77, 0, 0); }
}

.floating-donate {
  animation: pulse 2.5s infinite;
}