:root {
    --primary-color: #FF4444;    /* Bright red from BongzTech logo */
    --secondary-color: #ffffff;   /* White */
    --text-color:rgb(56, 56, 56);       /* Dark gray for text */
    --light-bg: #f8f9fa;         /* Light gray background */
    --white: #ffffff;            /* Pure white */
    --header-height: 80px;
    --accent-color: #FF4444;     /* Red accent */* Bright blue from BongzTech */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

.header {
    background: var(--white);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    height: var(--header-height);
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 24px;
    font-weight: 700;
}

.logo-first {
    color: var(--primary-color);
}

.logo-second {
    color: var(--text-color);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.mobile-menu {
    display: none;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    margin: 5px 0;
    transition: 0.3s;
}

.cta-button {
    display: inline-block;
    padding: 12px 24px;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.cta-button:hover {
    background: var(--white);
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(255, 68, 68, 0.2);
    border: 1px solid var(--primary-color);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--light-bg);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.submit-btn {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}
.form-group textarea {
    height: 150px;
    resize: vertical;
}

.submit-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s;
}

.submit-btn:hover {
    background: #3d8b40;
}

.footer {
    background: var(--text-color);
    color: white;
    padding: 60px 20px 20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-section h3 {
    margin-bottom: 20px;
}

.social-links a {
    color: white;
    font-size: 24px;
    margin-right: 15px;
    text-decoration: none;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu {
        display: block;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: white;
        padding: 20px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }
}

.donation-options {
    padding: 60px 20px;
    background: var(--light-bg);
}

.donation-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.donation-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.donation-card p {
    margin-bottom: 20px;
    color: var(--text-color);
}

.donation-card .small {
    font-size: 0.9em;
    color: #666;
    margin-top: 15px;
}

.progress-container {
    padding: 60px 20px;
    background: white;
    text-align: center;
}

.progress-container h2 {
    color: var(--primary-color);
    margin-bottom: 30px;
}

.progress-bar {
    max-width: 600px;
    margin: 0 auto;
    height: 30px;
    background: var(--light-bg);
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: var(--primary-color);
    width: 0;
    transition: width 0.5s ease-in-out;
}

.progress-percentage {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    z-index: 1;
}

.donor-count {
    margin-top: 20px;
    font-size: 1.1em;
    color: var(--secondary-color);
}

/* Fix z-index and positioning issues */
.header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: white;
}

.fundraising-hero {
    margin-top: var(--header-height);
}

/* Ensure consistent section spacing */
section {
    position: relative;
    z-index: 1;
}

#donorCount {
    font-weight: bold;
    color: var(--primary-color);
}

.contact {
    background: var(--light-bg);
    padding: 60px 20px;
    width: 100%;
}

.contact-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-form {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 25px;
    width: 100%;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--light-bg);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1.1rem;
}

.submit-btn {
    width: 100%;
    padding: 15px 30px;
    font-size: 1.1rem;
    margin-top: 20px;
}

.contact-wrapper {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.contact-form {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.section-title {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 40px;
    font-size: 2.5rem;
}

/* Add founder section styles */
.founder-section {
    padding: 60px 20px;
    background: var(--white);
}

.founder-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    align-items: center;
}

.founder-image {
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    max-width: 100%;
    height: auto;
}

.founder-content h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.founder-content p {
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 20px;
}

.story-section {
    padding: 100px 20px;
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('https://bongztech.co.za/images/me.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    position: relative;
}

.story-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.story-content {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.story-content h2 {
    color: var(--white);
    margin-bottom: 30px;
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.story-content p {
    margin-bottom: 25px;
    line-height: 1.8;
    font-size: 1.1rem;
}

.story-content ul {
    margin: 25px auto;
    padding-left: 0;
    list-style: none;
    max-width: 600px;
}

.story-content li {
    margin-bottom: 15px;
    line-height: 1.6;
    padding-left: 25px;
    position: relative;
}

.story-content li:before {
    content: "•";
    color: var(--primary-color);
    font-size: 1.5em;
    position: absolute;
    left: 0;
    top: -2px;
}

/* Remove the story-image styles since we're using it as background */
.story-image {
    display: none;
}

@media (max-width: 768px) {
    .story-container {
        grid-template-columns: 1fr;
    }
    
    .story-image {
        margin-top: 30px;
    }
}

/* Remove the founder-section styles */

/* Add back link styles */
.back-link {
    display: inline-flex;
    align-items: center;
    color: var(--text-color);
    text-decoration: none;
    padding: 10px 20px;
    margin: 20px;
    font-weight: 500;
    transition: color 0.3s;
}

.back-link i {
    margin-right: 8px;
}

.back-link:hover {
    color: var(--primary-color);
}
.progress-container {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px;
    margin: 40px auto;
    max-width: 600px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.progress-container h2 {
    color: #333;
    margin-bottom: 30px;
    font-size: 2rem;
    font-weight: 600;
}

.progress-bar {
    background: #e0e0e0;
    height: 25px;
    border-radius: 12px;
    overflow: hidden;
    margin: 20px 0;
    position: relative;
}

.progress-fill {
    background: var(--primary-color);
    height: 100%;
    width: 15%;
    transition: width 0.5s ease-in-out;
}

.progress-percentage {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    font-weight: bold;
    font-size: 14px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    z-index: 1;
}

.donor-count {
    color: #333;
    font-size: 1.2rem;
    margin-top: 20px;
}

.donor-count span {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.4rem;
}