/* Initially hide both donation forms */
#inKindDonationForm,
#monetaryDonationForm {
    display: none;
}

fieldset {
  flex: 1 1 45%;
  min-width: 300px;
  border: 1px solid var(--gray);
  padding: 1.5rem;
  margin-bottom: 2rem;
  border-radius: 8px;
  /* background-color: var(--light-bg); */
}

form legend {
  font-weight: bold;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

/* Basic styling for form groups */
.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--primary-color);
}


.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--gray);
  border-radius: 6px;
  font-size: 0.95rem;
  background-color: var(--white);
  color: var(--black);
}

 .form-group select{
    width: 90%;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 6px;
 }

.form-group textarea {
    resize: vertical; /* Allow vertical resizing */
    min-height: 80px;
}

.form-actions {
    margin-top: 20px;
    margin-bottom: 20px;
    text-align: right;
}

.form-actions input[type="submit"],
.form-actions input[type="reset"] {
  padding: 12px 28px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  margin: 10px 15px;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.form-actions input[type="submit"] {
  background-color: #4CAF50;
  color: white;
}

.form-actions input[type="reset"] {
  background-color: #f44336;
  color: white;
}

.form-actions input[type="submit"]:hover,
.form-actions input[type="reset"]:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

.form-actions input[type="submit"]:focus,
.form-actions input[type="reset"]:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(100, 100, 255, 0.3);
}

.donation-buttons {
    margin-top: 20px;
    margin-bottom: 20px;
}

.donation-buttons button {
    width: 200px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border: 1px solid var(--accent-color);
    border-radius: 5px;
    background-color: var(--accent-color);
    color: white;
    margin-right: 10px;
    transition: background-color 0.3s ease;
}

.donation-buttons button:hover {
    background-color: var(--primary-color);
}

.donation-buttons button.active {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    box-shadow: inset 0 0 0 2px rgba(255,255,255,0.2);
}

.form-group .bank-select{
    width: 90%;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    margin-left: 20px;
}

.payment-options {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 30px 0;
}

.gcash-btn,
.banktrans-btn {

  width: 220px;
  padding: 12px 24px;
  font-size: 20px;
  font-weight: 600;
  border-radius: 30px;
  border: 1.5px solid var(--accent-color);
  background-color: transparent;
  color: var(--accent-color);
  cursor: pointer;
  transition: all 0.3s ease;
}

.gcash-btn:hover,
.banktrans-btn:hover {
  background-color: var(--accent-color);
  color: white;
}

.gcash-btn.active,
.banktrans-btn.active {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
}

.bank-section {
  padding: 20px;
  border-radius: 16px;
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}

.bank-section h3 {
  text-align: center;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.bank-info {
  background-color: white;
  padding: 15px 20px;
  margin-bottom: 25px;
  border-left: 4px solid var(--accent-color);
  border-radius: 12px;
}

.bank-info h4 {
  margin-bottom: 15px;
  font-size: 16px;
  color: #333;
}



header::before {
  all: unset;
}




/*Footer*/

.Footer {
  position: fixed;
  width: 100%;
  padding: 1rem 1.5rem;
  background: var(--primary-color);
  backdrop-filter: blur(14px) saturate(160%);
  box-shadow: 0 -6px 30px rgba(0, 0, 0, 0.15);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px 24px 0 0;
  margin-top: 28rem;
  text-align: center;
  transition: background 0.3s ease-in-out;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer p {
  font-size: 1rem;
  color: #eaeaea;
  letter-spacing: 0.6px;
  font-weight: 400;
}

/* Modal */
#mapModal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

#mapModal.show {
    display: flex;
}

.modal-content {
    background: var(--white);
    margin: 5% auto;
    padding: 20px;
    width: 90%;
    max-width: 800px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
}


/* 🌟 Search Bar Container */
.search-bar {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    width: 100%;
}

/* 🔍 Search Bar Input Styling */
#search-input {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
    border: 2px solid #ddd;
    border-radius: 30px;
    background-color: var(--white);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#search-input::placeholder {
    color: #aaa;
    font-weight: 300;
}

#search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 8px rgba(20, 174, 187, 0.4);
}


/* Map Container Styling */
#mapContainer {
    width: 100%;
    height: 500px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.form-group-hidden{
    display: none;
}


#pinBtn {
    width: 100%;
    padding: 12px;
    background-color: var(--primary-color);
    color: var(--white);
    box-sizing: border-box;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    font-size: 15px;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px; /* space between icon and text */
    text-align: center;
    margin-top: 12px;
    transition:
      background-color 0.3s ease,
      box-shadow 0.3s ease,
      transform 0.2s ease;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
}

#pinBtn i {
    font-size: 18px; /* slightly larger for visibility */
    line-height: 1;
}

#pinBtn:hover {
    background-color: #0e8c96;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    transform: translateY(-3px);
}
