@import url('https://fonts.cdnfonts.com/css/plumpfull');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
:root {
    --fuel-bank-blue: #007bff; /* Primary Blue */
    --fuel-bank-dark: #0a0a0a;
    --fuel-bank-light-grey: #f8f8f8;
    --fuel-bank-text: #0e0d0d;
    --accent-green: #28a745;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    line-height: 1.6;
    color: var(--fuel-bank-text);
    background-color: #fff;
    font-family: Montserrat;
}

.container {
    margin: 0 auto;
}


/* --- Hero Section --- */
.hero {
    padding: 40px 0;
    height: 400px;
    text-align: center;
    background-color: #FFD300;
    display: grid;
    place-items: center;
    font-weight: 400;
    font-family: 'Plumpfull', sans-serif;
    position: relative;
}
.overlay_bg{
    width: 100%;
    height: 100px;
    background: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none' viewBox='0 0 100 50' fill='%23FFD300'%3E%3Cpath d='m0 0 100 50V0z'/%3E%3C/svg%3E");
}
.hero h1 {
    font-size: 2.5em;
    color: var(--fuel-bank-dark);
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.1em;
    color: var(--fuel-bank-text);
}

/* --- Accordion Styling --- */
.accordion-group {
    border-top: 1px solid #ddd;
    margin-top: 30px;
}

.accordion-item {
    border-bottom: 1px solid #ddd;
    display: flex;
    gap: 10px;
    min-height: 200px;
    padding: 20px 10px;
}

.accordion-header {
    background: none;
    border: none;
    width: 50%;
    text-align: left;
    padding: 20px 0;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--fuel-bank-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    transition: color 0.3s;
}

.accordion-header:hover {
    color: var(--fuel-bank-blue);
}

.read-toggle {
    font-size: 0.8em;
    font-weight: normal;
    color: var(--fuel-bank-blue);
    padding: 5px 10px;
    border: 1px solid var(--fuel-bank-blue);
    border-radius: 20px;
    transition: background-color 0.3s, color 0.3s;
}

.accordion-header[aria-expanded="true"] .read-toggle {
    background-color: var(--fuel-bank-blue);
    color: #fff;
}

.accordion-content {
    width: 50%;
    max-height: 200px;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    padding: 0 0;
    position: relative;
}
.span_btn_cv{
    width: 100%;
    background-color: #fff;
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 10px;
}

.accordion-header[aria-expanded="true"] + .accordion-content {
    padding: 0 0 20px 0;
    max-height:fit-content;
    height: fit-content;
    overflow: auto;
}
.accordion-header[aria-expanded="true"] + .accordion-content  .span_btn_cv{
    position: relative;
}

.accordion-content p, .accordion-content ul, .accordion-content ol {
    margin-bottom: 50px;
    font-size: 20px;
    font-weight: bold;
}

.accordion-content ul, .accordion-content ol {
    padding-left: 20px;
}

.accordion-content h3 {
    color: var(--fuel-bank-blue);
    margin: 20px 0 10px 0;
    font-size: 1.1em;
}

.img_help {
    height: 600px;
    margin-top:60px;
    display: flex;
    
}
.img_help .bg_img{
    background:url("https://plottcreative.s3.eu-west-2.amazonaws.com/fuelbank/wp-content/uploads/2020/04/04095835/jack-monroe.png");
    background-repeat: no-repeat;
    background-size: cover;
    width: 60%;
    position: relative;
}
.img_help .text {
    width:45%;
    background-color: #007bff;
    height: 100%;
    text-align: center;
    display: grid;
    place-content: center;
    position: relative;
    z-index: 2;
}
.img_help .bg_img::after{
    background-position: 100%;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    bottom: 0;
    content: "";
    position: absolute;
    left:0;
    top: 0;
    width: 300px;
    height: 100%;
    z-index: 1;
    border-radius: 0px 300px 300px 0px;
    background-color: #007bff;
    
}
.img_help .text h2{
    color: #fff;
    padding-top: 60px;
    font-size: 50px;
    font-family: plumpfull, sans-serif;
}
.img_help .text p{
    color: #fff;
    padding: 20px 40px;
    font-size: 1.1em;
    font-weight: bolder;
    line-height: 1.4em;
}
.img_help .text .tx_overlay{
    width: 70%;
    margin: 0 auto;
}
/* --- Key Aims Section --- */
.key-aims {
    background-color: var(--fuel-bank-light-grey);
    padding: 40px 20px;
    margin-top: 40px;
}

.key-aims h2 {
    text-align: center;
    color: var(--fuel-bank-dark);
    margin-bottom: 30px;
    font-family: plumpfull, sans-serif;
}

.aims-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.aim-card {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.aim-card h3 {
    color: var(--fuel-bank-blue);
    font-size: 1.4em;
    margin-bottom: 10px;
    font-family: plumpfull, sans-serif;
}

/* --- CTA Section --- */
.cta-support {
    text-align: center;
    height: 950px;
    position: relative;
    background:url("../images/missions/partner.png");
    background-size: cover;
}
.cta-support::after{
    content:"";
    position: absolute;
    top:0;      
    left:0;
    width:100%;
    height:100%;
    background-color: rgba(0, 0, 0, 0.5);
}
.cta-support .text,.cta-support h2{
    z-index: 1;
    position: relative;
}
.cta-support h2{
    font-size: 40px;
    font-family: plumpfull, sans-serif;
}
.cta-support .text {
    width: 60%;
    height: 100%;
    margin: 0 auto;
    float: right;
    display: grid;
    place-items: center;
}

.cta-support h2, .cta-support p {
    color: var(--fuel-bank-light-grey);
    margin-bottom: 10px;
}
.cta-support p{
    font-size: 27px;
}
.cta-support p span {
    background-color: var(--accent-green);
    padding-inline: 10px;
}
.donate-btn-large {
    display: inline-block;
    background-color: var(--accent-green);
    color: #fff;
    padding: 12px 30px;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: bold;
    border-radius: 4px;
    margin-top: 20px;
    transition: background-color 0.3s;
}

.donate-btn-large:hover {
    background-color: #218838;
}

a{
    text-decoration: none;
    color:var(--text-color-main);
}
/* Responsive Adjustments */

@media (max-width: 768px) {

    .main-nav {
        margin-top: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .main-nav .donate-btn {
        margin-top: 10px;
    }
   
    .accordion-header {
        font-size: 1.1em;
    }
    .img_help .bg_img::after{
        display: none;
    }
    .img_help .bg_img{
        width: 100%;
        height: 50%;
        background-position: center center;
    }
    .img_help {
        flex-direction: column-reverse;
        align-items: flex-end;
    }
    .img_help .text {
        width:100%;
        height: 50%;
        border-radius: 0px;
    }
    .img_help .text .tx_overlay {
        width: 100%;
    }
    .img_help .text h2{
        font-size: 25px;
        padding-top: 0px;
    }
    
    .cta-support .text {
        width: 95%;
        margin:0px auto;
        float: none;
        display: block;
        
    }
    .cta-support p {
        font-size: 20px;
    }
}
@media screen and (max-width:500px) {
    .accordion-item{
        flex-direction: column;
    }
    .accordion-header,.accordion-content{
        width: 100%;
    }
    .accordion-content{
        padding-bottom: 100px;
    }
}