body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 10px auto;
    text-align: justify;
    padding: 10px;
}

h1 {
    margin:auto;
    text-align: center;
}

/* Tabs */
.tab-container {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
    margin-top: 20px;
}

.tab-button {
    padding: 10px 20px;
    margin: 0 5px;
    cursor: pointer;
    border: none;
    background-color: #f0f0f0;
    font-size: 16px;
}

.tab-button.active {
    background-color: #d9534f;
    color: white;
}

/* Hide inactive tab content */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Box styling without red border */
.box {
    background-color: #f8f9fa;
    padding: 15px;
    margin: 20px 0;
    border-radius: 5px;
}

/* Table Styling */
.table-container {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

th, td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: center;
}

th {
    background-color: #f4f4f4;
}
/* UKUPNO Styling */
.total-box {
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 10px;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 5px;
}

.donation-images {
    margin: 30px 0;
    text-align: center; /* centers images horizontally */
}

.donation-images img {
    display: block;          /* allows margin auto centering */
    max-width: 100%;         /* never overflow page width */
    height: auto;            /* keep aspect ratio */
    margin: 20px auto;       /* center horizontally if smaller than container */
}

.hero{
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;  /* ✅ always 16:9 */
  height: auto;          /* ✅ let ratio decide height */
  min-height: 0;         /* ✅ remove previous constraint */
  overflow: hidden;
  background: #f3f3f3;
}


.hero-img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;                 /* 80% opacity */
  transition: opacity 700ms ease;
}

.hero-img--back{ z-index: 1; }
.hero-img--front{
  z-index: 2;
  opacity: 0;                   /* hidden until we fade it in */
}
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;       /* two lines */
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
    background: rgba(0,0,0,0.25);
}

.hero-typing {
    color: #fff;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    text-shadow: 0 4px 12px rgba(0,0,0,0.6);
    margin: 0;
    padding: 0 32px;

    white-space: nowrap;          /* each line stays one line */
}

