/*
 * This CSS file was extracted from the provided index0.html file.
 * It contains all the original styling, plus new rules for the projects grid.
 * The projects grid uses a specific yellow/orange/black color theme as requested.
 */

/* General Body Styles */
body {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    background-color: #f8f6f0;
    color: #222222;
    line-height: 1.6;
    scroll-behavior: smooth; /* Smooth scrolling for anchor links */
}

/* Navigation Bar */
nav {
    background-color: #222222;
    padding: 15px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    text-align: center;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap; /* Allows items to wrap on smaller screens */
    justify-content: center;
    gap: 20px; /* Space between nav items */
}

nav ul li a {
    color: #FFC632;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 16px;
    padding: 8px 15px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

nav ul li a:hover {
    background-color: #FF6F31;
    color: #0A0A0A;
}

/* Section Styling */
section {
    padding: 50px 20px;
    min-height: 80vh; /* Ensures sections take up a good portion of the viewport */
    display: flex; /* For vertical centering of content if needed */
    flex-direction: column;
    justify-content: center;
    align-items: center; /* Center content horizontally within the section */
    text-align: left; /* Default text alignment for content within sections */
}

section > div {
    max-width: 900px;
    width: 100%; /* Ensure content div takes full width up to max-width */
}

/* Hero Section Specifics (Page 1) */
#hero {
    background: linear-gradient(to bottom, #FFC632, #FF6F31); /* Gradient from your banner */
    color: #222222;
    text-align: center;
    padding: 80px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 90vh; /* Make hero section taller */
}

/* Stacking all content vertically */
#hero .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    max-width: 900px;
    width: 100%;
}

/* Allows that the two banners with GoFundme appear horizontally */
/*#hero .hero-content {
    align-items: center;
    gap: 30px;
    max-width: 900px;
    width: 100%;
}*/

#hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 52px;
    margin-bottom: 10px;
    color: #0A0A0A;
    line-height: 1.1;
}

#hero h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 28px;
    margin-top: 0;
    color: #222222;
}

#hero p {
    font-family: 'Open Sans', sans-serif;
    font-size: 20px;
    max-width: 700px;
    margin: 0 auto 40px auto;
    color: #333;
}

#hero .hero-logo {
    width: 200px; /* Adjust size as needed */
    height: auto;
    margin-bottom: 20px;
}

#hero .banner-image {
    width: 80%;
    max-width: 800px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    margin-top: 40px;
}

/* Adjustments for existing section styles */
/* Page 1 - Building a Future Despite the Barriers. */

.flex-container {
    display: flex;
    flex-direction: column; /* Default to a single column on small screens */
    gap: 20px;
    align-items: center; /* Center items for single column layout */
}

@media (min-width: 768px) {
    .flex-container {
        flex-direction: row; /* Switch to a row layout on larger screens */
        justify-content: space-between;
        align-items: flex-start;
    }

    .image-column {
        flex: 1;
        max-width: 50%;
    }
}

/* New isolated container for the two banners */
.banner-container-new {
    display: flex;
    flex-direction: row; /* Always start in a row */
    justify-content: center;
    align-items: center;
    gap: 30px;
}

/* Make it responsive on smaller screens */
@media (max-width: 900px) {
    .banner-container-new {
        flex-direction: column; /* Stack on mobile */
        gap: 15px;
    }
}

/* Styling for the subtle text beneath the GoFundMe section */
.subtle-text {
    font-weight: 200; /* Regular font weight */
    color: #555555; /* A dark gray color */
    font-size: 7px; /* A little smaller than the default */
    line-height: 1.2; /* Good for readability */
}

/* Adjustments for existing section styles */
/* Page 2 - Current Situation */
#current-situation .content-box {
    background:#1A1A1A;
    padding:40px;
    margin:0 auto;
    border-radius:12px;
    box-shadow:0 0 15px rgba(255,198,50,0.2);
    color:#FFC632;
}
#current-situation h2 {
    font-family:Montserrat, sans-serif; font-weight:700; font-size:36px; color:#FFC632; border-bottom:3px solid #FF6F31; padding-bottom:12px; margin-bottom:24px;
}
#current-situation ul {
    font-family:Open Sans, sans-serif; font-weight:400; font-size:18px; color:#FFC632; line-height:1.6; list-style-type:disc; padding-left:20px;
}
#current-situation button {
    margin-top:30px; background:transparent; border:2px solid #FFC632; color:#FFC632; font-family:Montserrat, sans-serif; font-weight:700; font-size:18px; padding:14px 40px; border-radius:8px; cursor:pointer; transition:background 0.3s, color 0.3s;
}
#current-situation button:hover {
    background: #FFC632;
    color: #0A0A0A;
}

/* Page 3 - Why This Matters */
#why-it-matters {
    background:#F8F6F0; color:#222222;
}
#why-it-matters h2 {
    font-family:Montserrat, sans-serif; font-weight:700; font-size:36px; border-bottom:3px solid #FF6F31; padding-bottom:12px; margin-bottom:24px;
}
#why-it-matters p, #why-it-matters ul {
    font-family:Open Sans, sans-serif; font-weight:400; font-size:18px; line-height:1.6;
}
#why-it-matters ul {
    list-style-type:disc; padding-left:20px; margin-bottom:30px;
}
#why-it-matters .quote-box {
    background:#FFC632; color:#0A0A0A; font-family:Open Sans, sans-serif; font-style: italic; font-size:16px; padding:20px; border-radius:10px; margin-bottom:30px;
}
#why-it-matters button {
    background:#FFC632; color:#0A0A0A; font-family:Montserrat, sans-serif; font-weight:700; font-size:18px; padding:14px 40px; border:none; border-radius:8px; cursor:pointer; transition:background 0.3s;
}
#why-it-matters button:hover {
    background: #FF6F31;
}

/* Page 4 - About Me */
#about-me {
    background:#1A1A1A; color:#FFC632;
}
#about-me .content-box {
    background:#1A1A1A; padding:40px; margin:0 auto; border-radius:12px; box-shadow:0 0 15px rgba(255,198,50,0.2); color:#FFC632;
}
#about-me h2 {
    font-family:Montserrat, sans-serif; font-weight:700; font-size:36px; color:#FFC632; margin-bottom:24px;
}
#about-me p, #about-me ul {
    font-family:Open Sans, sans-serif; font-weight:400; font-size:18px; line-height:1.6;
}
#about-me ul {
    padding-left:20px; margin-bottom:30px; color:#FFC632;
}
#about-me p a {
    color:#FF6F31; text-decoration: none; transition: color 0.3s;
}
#about-me p a:hover {
    color: #FFC632;
}
#about-me button {
    background:#FFC632; color:#0A0A0A; font-family:Montserrat, sans-serif; font-weight:700; font-size:18px; padding:14px 40px; border:none; border-radius:8px; cursor:pointer; transition:background 0.3s;
}
#about-me button:hover {
    background: #FF6F31;
}

/* Page 5 - Current Active Projects */
#active-projects {
    background:#F8F6F0; color:#222222;
}
#active-projects h2 {
    font-family:Montserrat, sans-serif; font-weight:700; font-size:36px; border-bottom:3px solid #FF6F31; padding-bottom:12px; margin-bottom:24px;
}
#active-projects ul {
    font-family:Open Sans, sans-serif; font-weight:400; font-size:18px; line-height:1.6; padding-left:20px; margin-bottom:30px;
}
#active-projects ul strong {
    font-weight: 600;
}
#active-projects button {
    background:#FF6F31; color:#0A0A0A; font-family:Montserrat, sans-serif; font-weight:700; font-size:18px; padding:14px 40px; border:none; border-radius:8px; cursor:pointer; transition:background 0.3s;
}
#active-projects button:hover {
    background: #FFC632;
}

/* Styles for the two-column layout */
/* Base styles, applies to all screen sizes initially */

#active-projects .two-column-wrapper {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

#active-projects .two-column-layout {
  display: flex; /* This is crucial for creating columns */
  flex-direction: column; /* Stacks items on smaller screens by default */
  gap: 20px; /* Space between the text and image */
  align-items: flex-start; /* Aligns items to the top of the container */
}

#active-projects .text-content {
  flex: 2; /* Takes up more space in the flex container */
  min-width: 0; /* Prevents overflow issues */
}

#active-projects .image-thumbnail {
  flex: 1; /* Takes up less space, ideal for a thumbnail */
  display: flex; /* Use flexbox to center the image within its column if needed */
  justify-content: center; /* Center horizontally within its column */
  align-items: flex-start; /* Align to the top within its column */
}

#active-projects .image-thumbnail img {
  max-width: 100%; /* Ensures image is responsive and doesn't overflow */
  height: auto; /* Maintains aspect ratio */
  display: block; /* Removes extra space below the image */
  border-radius: 8px; /* Optional: adds rounded corners */
}

/* Media query: Applies when screen width is 600 or 768px or wider */
@media (min-width: 600px) {
  #active-projects .two-column-layout {
    flex-direction: row; /* Switches to side-by-side layout for larger screens */
  }
}

/* Page 6 - How Support Will Be Used */
#how-support-used {
    background:#1A1A1A; color:#FFC632;
}
#how-support-used .content-box {
    background:#1A1A1A; padding:40px; margin:0 auto; border-radius:12px; box-shadow:0 0 20px rgba(255,198,50,0.3); color:#FFC632;
}
#how-support-used h2 {
    font-family:Montserrat, sans-serif; font-weight:700; font-size:36px; margin-bottom:24px;
}
#how-support-used ul {
    font-family:Open Sans, sans-serif; font-weight:400; font-size:18px; line-height:1.6; list-style:none; padding-left:0; margin-bottom:30px;
}
#how-support-used ul li {
    margin-bottom:15px;
}
#how-support-used button {
    background:#FFC632; color:#0A0A0A; font-family:Montserrat, sans-serif; font-weight:700; font-size:18px; padding:14px 40px; border:none; border-radius:8px; cursor:pointer; transition:background 0.3s;
}
#how-support-used button:hover {
    background: #FF6F31;
}

/* Page 7 - Proof of Accountability and Transparency */
#accountability {
    background:#F8F6F0; color:#222222;
}
#accountability h2 {
    font-family:Montserrat, sans-serif; font-weight:700; font-size:36px; border-bottom:3px solid #FF6F31; padding-bottom:12px; margin-bottom:24px;
}
#accountability p {
    font-family:Open Sans, sans-serif; font-weight:400; font-size:18px; line-height:1.6;
}
#accountability a {
    color:#FFB400; text-decoration:underline; transition: color 0.3s;
}
#accountability a:hover {
    color: #FF6F31;
}
#accountability img {
    max-width:800px; margin-bottom:20px;
}
#accountability button {
    background:#FFC632; color:#0A0A0A; font-family:Montserrat, sans-serif; font-weight:700; font-size:18px; padding:14px 40px; border:none; border-radius:8px; cursor:pointer; transition:background 0.3s;
}
#accountability button:hover {
    background: #FF6F31;
}

/* Page 8 - Long-Term Vision */
#long-term-vision {
    background:#1A1A1A; color:#FFC632;
}
#long-term-vision h2 {
    font-family:Montserrat, sans-serif; font-weight:700; font-size:42px; margin-bottom:40px;
}
#long-term-vision blockquote {
    background:#FF6F31; color:#0A0A0A; font-family:Open Sans, sans-serif; font-style: italic; font-size:20px; padding:30px; border-radius:15px; box-shadow:0 0 20px rgba(255,111,49,0.6); margin-bottom:40px; line-height:1.5;
}
#long-term-vision p {
    font-family:Open Sans, sans-serif; font-weight:400; font-size:18px; line-height:1.6; margin-bottom:30px;
}
#long-term-vision button {
    background:#FFC632; color:#0A0A0A; font-family:Montserrat, sans-serif; font-weight:700; font-size:18px; padding:14px 40px; border:none; border-radius:8px; cursor:pointer; transition:background 0.3s;
}
#long-term-vision button:hover {
    background: #FF6F31;
}

/* Page 9 - Ways to Contribute */
#ways-to-contribute {
    background:#F8F6F0; color:#222222;
}
#ways-to-contribute h2 {
    font-family:Montserrat, sans-serif; font-weight:700; font-size:36px; border-bottom:3px solid #FF6F31; padding-bottom:12px; margin-bottom:24px;
}
#ways-to-contribute p, #ways-to-contribute ul, #ways-to-contribute label, #ways-to-contribute input {
    font-family:Open Sans, sans-serif; font-weight:400; font-size:18px; line-height:1.6;
}
#ways-to-contribute ul {
    list-style:none; padding-left:0; margin-bottom:30px;
}
#ways-to-contribute ul a {
    color:#FF6F31; text-decoration:none; transition: color 0.3s;
}
#ways-to-contribute ul a:hover {
    color: #FFC632;
}
#ways-to-contribute .button-group {
    display:flex; flex-wrap:wrap; gap:15px; justify-content:center; margin-bottom:30px;
}
#ways-to-contribute button {
    flex:1 1 120px; font-family:Montserrat, sans-serif; font-weight:700; font-size:18px; padding:14px; border:none; border-radius:8px; cursor:pointer; transition:background 0.3s;
}
#ways-to-contribute button:nth-of-type(1), #ways-to-contribute button:nth-of-type(3) { /* PayPal & Crypto */
    background:#FFC632; color:#0A0A0A;
}
#ways-to-contribute button:nth-of-type(2) { /* Stripe */
    background:#FF6F31; color:#0A0A0A;
}
#ways-to-contribute button:hover {
    opacity: 0.9;
}
#ways-to-contribute .note {
    font-family:Open Sans, sans-serif; font-style: italic; font-size:16px; color:#FF6F31; text-align:center;
}
#ways-to-contribute .bottom-button {
    background:#FF6F31; color:#0A0A0A; font-family:Montserrat, sans-serif; font-weight:700; font-size:18px; padding:14px 40px; border:none; border-radius:8px; cursor:pointer; display:block; margin:0 auto; transition:background 0.3s;
}
#ways-to-contribute .bottom-button:hover {
    background: #FFC632;
}
.donation-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.donation-form-buttons {
    display: flex;
    gap: 10px;
}

.donation-form-buttons button {
    flex-grow: 1;
}

/* Page 10 - Thank You & Stay Connected */
#thank-you {
    background:#0A0A0A; color:#FFC632; text-align:center;
}
#thank-you p:first-of-type {
    font-family:Montserrat, sans-serif; font-weight:700; font-size:24px; margin-bottom:40px; line-height:1.4;
}
#thank-you p:nth-of-type(2) {
    font-family:Open Sans, sans-serif; font-weight:400; font-size:18px; margin-bottom:40px;
}
#thank-you .social-links {
    display:flex; justify-content:center; gap:30px; margin-bottom:40px; flex-wrap: wrap; /* Added for responsiveness */
}
#thank-you .social-links a {
    color:#FFC632; font-size:22px; text-decoration:none; transition: color 0.3s;
}
#thank-you .social-links a:hover {
    color: #FF6F31;
}
#thank-you footer {
    font-family:Open Sans, sans-serif; font-size:14px; color:#EDEDED;
}

/* General button styling adjustments for hover */
button {
    transition: background 0.3s ease, color 0.3s ease;
}

/* New CSS for the Projects Grid */
#project-details {
    background: #1A1A1A;
    color: #FFC632;
}

#project-details h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 36px;
    border-bottom: 3px solid #FF6F31;
    padding-bottom: 12px;
    margin-bottom: 24px;
    color: #FFC632;
}

#project-details p {
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 40px;
    text-align: center;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    width: 100%;
}

.project-card {
    background: #0A0A0A;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(255, 198, 50, 0.2);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.card-content {
    padding: 20px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-content h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    margin-top: 0;
    margin-bottom: 10px;
    color: #FFC632;
}

.card-content p {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    color: #EDEDED;
    margin-bottom: 20px;
    flex-grow: 1;
}

.card-content a.card-button {
    background: #FF6F31;
    color: #0A0A0A;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 16px;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    transition: background 0.3s ease;
}

.card-content a.card-button:hover {
    background: #FFC632;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        gap: 10px;
    }

    nav ul li a {
        width: 100%;
        box-sizing: border-box; /* Include padding in width */
        display: block; /* Make links take full width */
    }

    section {
        padding: 30px 15px;
    }

    #hero h1 {
        font-size: 38px;
    }

    #hero h2 {
        font-size: 24px;
    }

    #hero p {
        font-size: 16px;
    }

    h2 {
        font-size: 28px !important; /* Important to override inline styles */
    }

    p, ul li {
        font-size: 16px !important;
    }

    .button-group button {
        flex: 1 1 100%; /* Make buttons full width on small screens */
    }
}

@media (max-width: 480px) {
    #hero h1 {
        font-size: 32px;
    }

    #hero h2 {
        font-size: 20px;
    }

    #long-term-vision h2 {
        font-size: 32px !important;
    }

    blockquote {
        font-size: 16px !important;
        padding: 20px !important;
    }

    .social-links {
        flex-direction: column;
        gap: 15px !important;
    }
}

