#about {
    padding: 30px 0; /* Reduced padding for mobile */
    background-color: var(--container-bg-color); 
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* Reduced gap for mobile */
    align-items: center;
    justify-content: center;
}

.about-image {
    width: 180px; /* Smaller for mobile */
    height: 180px; /* Smaller for mobile */
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--accent-gold); /* Thinner border for mobile */
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1); /* Lighter shadow for mobile */
    flex-shrink: 0;
}

.about-text {
    flex: 1;
    min-width: 250px; /* Smaller min-width for mobile */
    max-width: 90%; /* More width for mobile */
    text-align: center; /* Changed from left */
}

.about-text p {
    margin-bottom: 12px; /* Reduced margin */
    font-size: 0.9em; /* Smaller for mobile */
    color: var(--text-dark); 
    text-align: center; /* Added */
}

#investments {
    padding: 30px 0; /* Reduced padding for mobile */
    background-color: var(--section-alt-bg); 
    border-top: 1px solid var(--border-light);
}

.wallet-info {
    text-align: center;
    margin-bottom: 25px; /* Reduced margin */
    color: var(--text-dark); 
    font-size: 1.1em; /* Smaller for mobile */
    font-family: var(--font-heading);
    letter-spacing: 1px;
}

.wallet-info span {
    color: var(--accent-gold); 
}

/* Top Investors Section */
#top-investors {
    padding: 30px 0; /* Reduced padding for mobile */
    text-align: center;
    border-top: 1px solid var(--border-light);
}

#top-investors h2 {
    margin-bottom: 30px; /* Reduced margin */
    font-size: 1.5em; /* Smaller for mobile */
}

.top-investors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Smaller min-width for mobile */
    gap: 20px; /* Reduced gap for mobile */
    max-width: 90%; /* More width for mobile */
    margin: 0 auto;
}

.investor-card {
    background-color: var(--container-bg-color);
    border: 1px solid var(--soft-grey);
    border-radius: 10px; /* Slightly smaller radius for mobile */
    padding: 20px; /* Reduced padding for mobile */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.investor-card:hover {
    transform: translateY(-3px); /* Reduced hover effect for mobile */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.investor-avatar {
    width: 80px; /* Smaller for mobile */
    height: 80px; /* Smaller for mobile */
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-gold); /* Thinner border for mobile */
    margin-bottom: 12px; /* Reduced margin */
}

.investor-card h3 {
    font-size: 1.2em; /* Smaller for mobile */
    margin-bottom: 8px; /* Reduced margin */
    color: var(--text-dark); /* Changed from --primary-dark-blue for theme adaptability */
}

.investor-card p {
    font-size: 0.9em; /* Smaller for mobile */
    color: var(--text-dark);
    margin-bottom: 0;
}

.investor-card .impact-value {
    font-weight: bold;
    color: var(--success-green); /* Use success green for impact values */
}

#faqs {
    padding: 30px 0; /* Reduced padding for mobile */
    background-color: var(--container-bg-color);
    border-top: 1px solid var(--border-light);
}

#faqs h2 {
    margin-bottom: 30px; /* Reduced margin */
    font-size: 1.5em; /* Smaller for mobile */
}

.faq-items {
    max-width: 95%; /* More width for mobile */
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px; /* Reduced gap for mobile */
}

.faq-item {
    background-color: var(--section-alt-bg);
    border: 1px solid var(--border-light);
    border-radius: 6px; /* Slightly smaller radius for mobile */
    padding: 15px; /* Reduced padding for mobile */
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);
}

.faq-item h3 {
    margin-top: 0;
    margin-bottom: 0; /* Remove bottom margin as content is hidden */
    font-size: 1em; /* Smaller for mobile */
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-right: 12px; /* Reduced padding */
    text-align: left; /* Aligned to left */
    user-select: none; /* Prevent text selection on click */
}

.faq-item h3::after {
    content: '\25B6'; /* Right-pointing triangle */
    font-size: 0.7em; /* Smaller icon for mobile */
    color: var(--accent-gold);
    transition: transform 0.3s ease;
}

.faq-item.active h3::after {
    transform: rotate(90deg); /* Rotate to point down when active */
}

.faq-answer-content {
    max-height: 0; /* Hidden by default using max-height */
    padding-top: 0; /* Reset padding-top for transition */
    overflow: hidden; /* For smooth slide effect */
    transition: max-height 0.4s ease-out, padding-top 0.4s ease-out; /* Transition max-height and padding-top */
}

.faq-item.active .faq-answer-content {
    max-height: 500px; /* Or a sufficiently large value to ensure content fits */
    padding-top: 12px; /* Reduced padding */
}

.faq-item p {
    margin: 0 0 12px 0; /* Reduced margin */
    font-size: 0.85em; /* Smaller for mobile */
    color: var(--text-dark);
    line-height: 1.5;
    text-align: left; /* Aligned to left */
}

.faq-feedback {
    display: flex;
    align-items: center;
    gap: 8px; /* Reduced gap */
    margin-top: 0; /* Adjust margin as it's inside faq-answer-content */
    padding-top: 12px; /* Reduced padding */
    border-top: 1px dashed var(--border-light);
    justify-content: flex-start; /* Aligned to left */
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.faq-feedback p {
    margin: 0;
    font-size: 0.8em; /* Smaller for mobile */
    color: var(--text-dark); /* Changed from #666 for theme adaptability */
    font-weight: bold;
    flex-shrink: 0; /* Prevent text from shrinking */
    text-align: left; /* Consistent alignment */
}

.faq-feedback .feedback-btn {
    width: 60px; /* Smaller for mobile */
    height: 30px; /* Smaller for mobile */
    display: grid; /* Use grid for perfect centering of text */
    place-items: center;
    background-color: var(--primary-dark-blue);
    color: var(--text-light);
    border: none;
    border-radius: var(--btn-border-radius); /* Use variable for rounded corners */
    cursor: pointer;
    font-size: 0.75em; /* Smaller for mobile */
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease, opacity 0.3s ease, box-shadow 0.3s ease; /* Add box-shadow to transition */
    flex-shrink: 0; /* Prevent buttons from shrinking */
    box-shadow: var(--btn-shadow); /* Apply subtle shadow */
}

.faq-feedback .feedback-btn:hover:not(:disabled) {
    background-color: var(--accent-gold);
    transform: translateY(-2px); /* Reduced hover effect */
    box-shadow: var(--btn-hover-shadow); /* Enhanced shadow on hover */
}

.faq-feedback .feedback-btn:focus-visible {
    outline: 2px solid var(--btn-focus-outline-color); /* Accessible focus outline */
    outline-offset: 2px;
}

.faq-feedback .feedback-btn:disabled {
    cursor: not-allowed;
    background-color: #ccc;
    box-shadow: none; /* No shadow when disabled */
}

.faq-feedback .feedback-message {
    margin-left: 8px; /* Reduced margin */
    font-size: 0.8em; /* Smaller for mobile */
    color: var(--success-green);
    opacity: 0;
    transition: opacity 0.5s ease-in;
}

/* Responsive adjustments for dashboard */
@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
        align-items: center;
    }

    .about-image {
        width: 150px;
        height: 150px;
    }

    .about-text {
        min-width: 280px;
        max-width: 100%;
    }

    .faq-items {
        flex-direction: column;
        align-items: center;
    }

    .faq-item {
        width: 100%;
    }

    .faq-feedback {
        flex-direction: column;
        align-items: flex-start; /* Changed to flex-start for column layout */
    }

    .faq-feedback .feedback-btn {
        width: 100%; /* Make full width on small screens */
        max-width: 100px; /* Limit width even if 100% on very small screens */
        height: 40px; /* Slightly taller for better touch target */
        margin-bottom: 5px; /* Add some space between stacked buttons */
    }

    .top-investors-grid {
        grid-template-columns: 1fr; /* Stack on small screens */
    }
}

/* Mobile adjustments */
@media (max-width: 480px) {
    #about {
        padding: 20px 0; /* Even less padding for very small screens */
    }

    .about-image {
        width: 150px; /* Even smaller for very small screens */
        height: 150px; /* Even smaller for very small screens */
    }

    .about-text {
        min-width: 200px; /* Even smaller min-width */
        max-width: 100%; /* Full width for very small screens */
    }

    .about-text p {
        font-size: 0.8em; /* Even smaller for very small screens */
    }

    #investments {
        padding: 20px 0; /* Even less padding */
    }

    .wallet-info {
        font-size: 1em; /* Even smaller */
        margin-bottom: 20px; /* Even less margin */
    }

    #top-investors {
        padding: 20px 0; /* Even less padding */
    }

    #top-investors h2 {
        font-size: 1.3em; /* Even smaller */
        margin-bottom: 25px; /* Even less margin */
    }

    .top-investors-grid {
        grid-template-columns: 1fr; /* Stack on very small screens */
        gap: 15px; /* Even less gap */
        max-width: 100%; /* Full width */
    }

    .investor-avatar {
        width: 70px; /* Even smaller */
        height: 70px; /* Even smaller */
    }

    .investor-card h3 {
        font-size: 1.1em; /* Even smaller */
        margin-bottom: 6px; /* Even less margin */
    }

    .investor-card p {
        font-size: 0.8em; /* Even smaller */
    }

    #faqs {
        padding: 20px 0; /* Even less padding */
    }

    #faqs h2 {
        font-size: 1.3em; /* Even smaller */
        margin-bottom: 25px; /* Even less margin */
    }

    .faq-items {
        gap: 10px; /* Even less gap */
        max-width: 100%; /* Full width */
    }

    .faq-item {
        padding: 12px; /* Even less padding */
        border-radius: 5px; /* Even smaller radius */
    }

    .faq-item h3 {
        font-size: 0.9em; /* Even smaller */
        padding-right: 10px; /* Even less padding */
    }

    .faq-item h3::after {
        font-size: 0.6em; /* Even smaller icon */
    }

    .faq-item.active .faq-answer-content {
        padding-top: 10px; /* Even less padding */
    }

    .faq-item p {
        font-size: 0.8em; /* Even smaller */
        margin-bottom: 10px; /* Even less margin */
    }

    .faq-feedback {
        gap: 6px; /* Even less gap */
        padding-top: 10px; /* Even less padding */
    }

    .faq-feedback p {
        font-size: 0.75em; /* Even smaller */
    }

    .faq-feedback .feedback-btn {
        width: 50px; /* Even smaller */
        height: 25px; /* Even smaller */
        font-size: 0.7em; /* Even smaller */
    }

    .faq-feedback .feedback-message {
        margin-left: 6px; /* Even less margin */
        font-size: 0.75em; /* Even smaller */
    }
}