/* =========================
   GLOBAL
========================= */

body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: #0b2242;
    background: #f2f5f9;
}

html {
    scroll-behavior: smooth;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* =========================
   HEADER
========================= */

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: #0b2242;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 100px;
    width: auto;
}

.nav nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav nav a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
}

.nav nav a:hover {
    color: #d62828;
}

/* =========================
   BUTTONS
========================= */

.btn {
    background: #d62828;
    color: white;
    padding: 12px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
}

.btn:hover {
    background: #b71c1c;
}

.btn-outline {
    border: 2px solid #d62828;
    color: #d62828;
    padding: 12px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
}

.btn-outline:hover {
    background: #d62828;
    color: white;
}

/* =========================
   HERO (HOME PAGE)
========================= */

.hero {
    display: flex;
    gap: 30px;
    align-items: stretch;

    padding: 50px 10%;
    margin-bottom: 20px;
}

.hero-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;

    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.hero-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image {
    flex: 1;
    display: flex;
    align-items: center;   /* vertical center */
    justify-content: center; /* horizontal center */
}

.hero-image img {
    width: 90%;
    height: 90%;
    object-fit: cover;

    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

/* =========================
   SECTIONS
========================= */

section {
    padding: 60px 10%;
}
.two-col {
    display: flex;
    justify-content: center;
    padding: 10px 10% 60px;
}

.two-col > div {
    max-width: 800px;
    width: 100%;
}
/* =========================
   PLATFORM / ISSUES GRID
========================= */

.grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;

    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background: #0b2242;
    color: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-6px);
}

/* =========================
   ABOUT PAGE
========================= */
.about-main {
    display: flex;
    gap: 50px;
    align-items: flex-start;
    padding: 60px 10%;
}

/* LEFT IMAGE */
.about-main img {
    width: 45%;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);

    position: sticky;
    top: 120px;   /* makes it scroll with text */
    align-self: flex-start;
}

/* RIGHT TEXT */
.about-text {
    width: 55%;
}

/* TITLE STYLE */
.about-text h2 {
    text-align: center;
    margin-bottom: 30px;
}

/* TEXT READABILITY */
.about-text p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 15px;
}
/* =========================
   FOOTER
========================= */

footer {
    text-align: center;
    padding: 20px;
    background: #111;
    color: white;
}

.social-bar {
    margin-top: 12px;
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}

.social-bar a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    padding: 6px 10px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 6px;
}

.social-bar a:hover {
    background: #d62828;
    border-color: #d62828;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 900px) {

    .hero {
        flex-direction: column;
    }

    .grid {
        grid-template-columns: 1fr;
    }

    .about-main {
        flex-direction: column;
    }

    .about-main img,
    .about-text {
        width: 100%;
    }
}
@media (min-width: 1200px) {

    .hero {
        align-items: stretch;
    }

    .hero-text,
    .hero-image {
        min-height: 520px; 
    }

    .hero-image img {
        height: 100%;
        width: 100%;
        object-fit: cover;
    }
}
.about-values h2 {
    text-align: center;
    width: 100%;
    margin: 0 auto 40px auto;
}

.about-values .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 250px));
    gap: 20px;

    justify-content: center;
    margin: 0 auto;
}
.about-main {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

/* LEFT IMAGE */
.about-main img {
    width: 45%;
    border-radius: 10px;
}

/* RIGHT TEXT */
.about-text {
    width: 55%;
}


@media (max-width: 1100px) {
    .about-main {
        flex-direction: column;
    }

    .about-main img,
    .about-text {
        width: 100%;
    }

    .about-main img {
        position: static; 
    }
}
.page-hero {
    padding: 30px 10% 10px 10%;
    text-align: center;
}

.page-hero h1 {
    margin: 0;
}
@media (max-width: 900px) {

    .nav {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }

    .logo img {
        height: 70px;
        width: auto;
    }

    .nav nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .nav nav a {
        font-size: 16px;
    }

    .hero {
        flex-direction: column;
    }

    .grid {
        grid-template-columns: 1fr;
    }

    .about-main {
        flex-direction: column;
    }

    .about-main img,
    .about-text {
        width: 100%;
    }

    .about-main img {
        position: static;
    }
}
.volunteer-section {
    max-width: 700px;
    margin: 40px auto 80px;
    padding: 0 20px;
}

.volunteer-section form {
    background: white;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,.08);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {

    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
    box-sizing: border-box;
}

.form-group textarea {
    resize: vertical;
}

.volunteer-section .btn {
    width: 100%;
    border: none;
    cursor: pointer;
    font-size: 18px;
}
/* ===========================
   ISSUES
=========================== */

.issues{
    max-width:1000px;
    margin:60px auto;
    padding:0 20px;
}

.issue-card{
    background:#fff;
    border-radius:14px;
    margin-bottom:18px;
    box-shadow:0 8px 25px rgba(0,0,0,.08);
    overflow:hidden;
    transition:.3s;
}

.issue-card:hover{
    transform:translateY(-3px);
}

.issue-card summary{
    list-style:none;
    cursor:pointer;
    padding:22px 28px;
    font-size:1.3rem;
    font-weight:bold;
    background:#0b2242;
    color:white;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.issue-card summary::-webkit-details-marker{
    display:none;
}

.issue-card summary::after{
    content:"+";
    font-size:1.8rem;
    transition:.3s;
}

.issue-card[open] summary::after{
    content:"−";
}

.issue-content{
    padding:28px;
    line-height:1.8;
    background:white;
}

.issue-content ul{
    margin-top:20px;
    padding-left:22px;
}

.issue-content li{
    margin-bottom:10px;
}
/* =========================
   NEWS PAGE
========================= */

.news-page {
    text-align: left;
}

.news-page h1 {
    text-align: center;
}

.news-intro {
    max-width: 700px;
    margin: 15px auto 30px;
    text-align: center;
}

@media (max-width: 768px) {

    .news-page h1 {
        text-align: left;
    }

    .news-intro {
        text-align: left;
        margin-left: 0;
        margin-right: 0;
        max-width: 100%;
    }

}

/* TABS */


.news-tabs{

display:flex;
justify-content:center;
gap:15px;
margin-bottom:40px;

}


.news-tab{

background:#0b2242;
color:white;
border:none;
padding:14px 25px;
border-radius:8px;
font-size:17px;
cursor:pointer;

}


.news-tab.active,
.news-tab:hover{

background:#d62828;

}




/* CONTENT */


.news-content{

display:none;

}


.news-content.active{

display:block;

}



.news-content h2{

color:#0b2242;
margin-bottom:30px;

}
/* =========================
   NEWS EVENTS
========================= */

.event-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}


.event-card {
    width: 90%;
    max-width: 420px;
    background: white;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.12);
}


.event-card img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}



}.event-info{

padding:20px;

}
.event-info h3{

color:#0b2242;

}
.event-info p{

line-height:1.8;

}

/* VIDEO */
.video-section{

text-align:center;
background:white;
padding:50px;
border-radius:12px;
box-shadow:0 5px 20px rgba(0,0,0,.15);

}
.youtube-button{

display:inline-block;
background:#d62828;
color:white;
padding:15px 30px;
border-radius:8px;
text-decoration:none;
margin-top:20px;

}


.youtube-button:hover{

background:#0b2242;

}
.empty-events{

background:white;
padding:50px;
text-align:center;
border-radius:12px;
box-shadow:0 5px 20px rgba(0,0,0,.15);
font-size:18px;
color:#555;

}