* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background: #1a1a1a;
    color: #e0e0e0;
    min-height: 100vh;
    padding: 80px 20px 20px; /* Increased top padding for more space */
    width: 100%;
    overflow-x: hidden;
}

.top-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #2a2a2a;
    padding: 8px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    border-bottom: 1px solid #444;
}

.contact-info {
    display: flex;
    align-items: center;
    font-family: 'Roboto', sans-serif;
    font-size: 0.9rem;
    color: #ffffff; /* White text */
}

.contact-stack {
    display: flex;
    flex-direction: column;
    gap: 4px; /* Small gap between email and phone */
}

.contact-stack span {
    color: #ffffff; /* White text */
}

.total-raised {
    display: flex;
    align-items: center;
    font-family: 'Roboto', sans-serif;
    font-size: 1.2rem; /* Larger for emphasis */
    font-weight: 500;
    color: #ffffff; /* White text */
}

.total-stack {
    display: flex;
    flex-direction: column;
    gap: 4px; /* Small gap between label and amount */
    text-align: right;
}

.total-stack span {
    color: #ffffff; /* White text for label */
}

.total-stack .amount {
    color: #90EE90; /* Green for peso amount and + */
}

header {
    text-align: center;
    margin-bottom: 2rem;
}

.header-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
}

.title-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.header-image {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

header h1 {
    font-family: 'Geist', sans-serif;
    font-size: 2.5rem;
    font-weight: 300;
    color: #e0e0e0;
    text-transform: uppercase;
}

.header-subheading {
    font-family: 'Roboto', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: #e0e0e0;
    margin-top: 0.3rem;
}

.donate-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: #ffffff;
    color: #000000;
    border: none;
    border-radius: 8px;
    font-family: 'Roboto', sans-serif;
    font-size: 1.2rem;
    font-weight: 500;
    text-decoration: none;
    text-align: center;
    margin: 1.5rem auto;
    display: block;
    max-width: 200px;
}

.instructions-card {
    max-width: 1000px;
    width: 80%;
    margin: 0 auto 2rem;
    background: #2a2a2a; /* Slightly lighter grey background */
    border-radius: 8px; /* Rounded edges */
    padding: 1.5rem;
    position: relative; /* For absolute positioning of the icon */
}

.instructions-icon {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 32px; /* Increased size for desktop */
    height: 32px;
    object-fit: contain;
}

.instructions {
    text-align: left;
    font-size: 1.1rem;
    color: #a0a0a0; /* Faded grey for professional look */
}

.instructions h2 {
    text-align: center;
    font-size: 1.5rem;
    color: #ffffff; /* Pure white for the header */
    margin-bottom: 1rem;
}

.instructions ol {
    list-style-position: outside;
    padding-left: 1.5rem;
}

.instructions ol li {
    margin-bottom: 0.5rem;
}

.controls {
    max-width: 1000px;
    margin: 0 auto 1rem;
    text-align: center;
}

.search-container {
    display: flex;
    justify-content: center;
    align-items: stretch;
    width: 80%;
    max-width: 1000px;
    margin: 0 auto 1rem;
}

.search-bar {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #444;
    border-radius: 8px 0 0 8px;
    background: #2a2a2a;
    color: #e0e0e0;
    font-size: 1rem;
    margin: 0;
    height: 40px;
}

.search-bar:focus {
    outline: none;
}

.search-bar::placeholder {
    color: #a0a0a0;
}

.search-button {
    padding: 0.5rem 1rem;
    border: 1px solid #444;
    border-left: none;
    border-radius: 0 8px 8px 0;
    background: #ffffff;
    color: #666666;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    cursor: pointer;
    height: 40px;
}

.search-button:hover {
    background: #e0e0e0;
}

.tabs {
    display: flex;
    justify-content: center;
    width: 80%;
    margin: 0 auto;
    border-radius: 8px;
}

.tab {
    flex: 1;
    padding: 0.5rem 1rem;
    background: transparent;
    border: 1px solid #1e90ff;
    color: #1e90ff;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    margin-right: -1px;
}

.tab:first-child {
    border-radius: 8px 0 0 8px;
}

.tab:last-child {
    border-radius: 0 8px 8px 0;
    margin-right: 0;
}

.tab.active {
    color: #ffffff;
    background: #1e90ff;
    border: 1px solid #1e90ff;
}

.tab:not(.active) {
    color: #1e90ff;
    background: transparent;
}

section {
    max-width: 1000px;
    margin: 0 auto;
}

@media (min-width: 769px) {
    .donate-button:hover {
        background: #e0e0e0;
    }
    .tab:not(.active):hover {
        color: #1e90ff;
        background: rgba(30, 144, 255, 0.1);
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 75px; /* Increased for more space */
    }
    .top-header {
        padding: 6px 15px;
    }
    .contact-info {
        font-size: 0.8rem;
    }
    .contact-stack {
        gap: 3px;
    }
    .total-raised {
        font-size: 1.0rem; /* Slightly smaller for mobile */
    }
    .total-stack {
        gap: 3px;
    }
    .header-container {
        gap: 0.3rem;
    }
    .title-container {
        gap: 0.8rem;
    }
    .header-image {
        width: 32px;
        height: 32px;
    }
    header h1 {
        font-size: 1.8rem;
    }
    .header-subheading {
        font-size: 0.8rem;
        margin-top: 0.2rem;
    }
    .donate-button {
        font-size: 1rem;
        padding: 0.5rem 1rem;
        max-width: 90%;
    }
    .instructions-card {
        width: 90%;
        padding: 1rem;
    }
    .instructions-icon {
        width: 28px; /* Adjusted for tablet */
        height: 28px;
    }
    .instructions {
        font-size: 1rem;
    }
    .instructions h2 {
        font-size: 1.3rem;
    }
    .search-container {
        width: 90%;
        max-width: 1000px;
    }
    .search-bar {
        font-size: 0.9rem;
        padding: 0.5rem;
        height: 36px;
    }
    .search-button {
        font-size: 0.9rem;
        padding: 0.5rem 0.8rem;
        height: 36px;
    }
    .tabs {
        width: 90%;
    }
    .tab {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }
    .tab:first-child {
        border-radius: 8px 0 0 8px;
    }
    .tab:last-child {
        border-radius: 0 8px 8px 0;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 70px; /* Increased for more space */
    }
    .top-header {
        padding: 5px 10px;
    }
    .contact-info {
        font-size: 0.7rem;
    }
    .contact-stack {
        gap: 2px;
    }
    .total-raised {
        font-size: 0.9rem;
    }
    .total-stack {
        gap: 2px;
    }
    .header-container {
        gap: 0.2rem;
    }
    .title-container {
        gap: 0.6rem;
    }
    .header-image {
        width: 28px;
        height: 28px;
    }
    header h1 {
        font-size: 1.5rem;
    }
    .header-subheading {
        font-size: 0.7rem;
        margin-top: 0.2rem;
    }
    .donate-button {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
    .instructions-card {
        width: 95%;
        padding: 0.8rem;
    }
    .instructions-icon {
        width: 24px; /* Adjusted for mobile */
        height: 24px;
    }
    .instructions {
        font-size: 0.9rem;
    }
    .instructions h2 {
        font-size: 1.2rem;
    }
    .search-container {
        width: 95%;
        max-width: 1000px;
    }
    .search-bar {
        font-size: 0.8rem;
        padding: 0.5rem;
        height: 32px;
    }
    .search-button {
        font-size: 0.8rem;
        padding: 0.5rem 0.6rem;
        height: 32px;
    }
    .tabs {
        width: 95%;
    }
    .tab {
        font-size: 0.8rem;
        padding: 0.3rem 0.6rem;
    }
    .tab:first-child {
        border-radius: 8px 0 0 8px;
    }
    .tab:last-child {
        border-radius: 0 8px 8px 0;
    }
}