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

body{
    font-family:'Montserrat',sans-serif;
    color:#1f2937;
}

header{
    background:#3f066f;
    color:white;
    position:sticky;
    top:0;
    z-index:100;
}

.nav{
    max-width:1200px;
    margin:auto;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:1rem;
}

nav a{
    color:white;
    text-decoration:none;
    margin-left:1.5rem;
    font-weight:600;
}

nav a.active{
    border-bottom:2px solid #c8102e;
    padding-bottom:2px;
}

.hero{
    background:#3f066f url("images/hero.jpg") center/cover;
    min-height:80vh;
    display:flex;
    align-items:center;
}

.rotating-header{
    background:#0B066F;
    color:white;
    padding:5rem 2rem;
    text-align:center;
}

.hero-content{
    max-width:1200px;
    margin:auto;
    padding:2rem;
    color:white;
    display:flex;
    flex-direction:row-reverse;
    align-items:center;
    justify-content:space-between;
    gap:3rem;
}

.hero h1{
    font-size:4rem;
    font-weight:800;
    margin-bottom:1rem;
}

.hero p{
    font-size:1.4rem;
    max-width:700px;
    margin-bottom:2rem;
}

.btn{
    display:inline-block;
    padding:1rem 2rem;
    text-decoration:none;
    font-weight:700;
    border-radius:4px;
}

.btn-primary{background:#c8102e;color:white;}
.btn-secondary{background:white;color:#002868;margin-left:1rem;}

.section{
    margin:auto;
    padding:5rem 2rem;
    background:#3f066f;
    color:white;
}

.section-title{
    text-align:center;
    font-size:2.5rem;
    margin-bottom:3rem;
}

/* Issues / Priority cards */
.issues{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:2rem;
    max-width:1200px;
    margin:0 auto;
}

.card{
    padding:2rem;
    background:#f4f6f8;
    border-radius:10px;
}

.card details summary{
    cursor:pointer;
    list-style:none;
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:0.4rem;
}

.card details summary::-webkit-details-marker{display:none;}

.card details summary h3{margin-bottom:0;}

.card details[open] summary h3{margin-bottom:0.5rem;}

.expand-hint{
    flex-shrink:0;
    display:inline-flex;
    align-items:center;
    gap:0.3rem;
    font-size:0.8rem;
    font-weight:700;
    color:#3f066f;
    text-transform:uppercase;
    letter-spacing:0.03em;
    white-space:nowrap;
}

.chevron{
    display:inline-block;
    transition:transform 0.25s ease;
}

.card details[open] .chevron{transform:rotate(180deg);}

.card details[open] .expand-hint{opacity:0;width:0;overflow:hidden;}

.card h3{margin-bottom:1rem;color:#3f066f;}

.card p{color:#3f066f;line-height:1.7;}

/* Volunteer signup */
.signup{
    background:#3f066f;
    color:white;
    text-align:center;
}

.signup form{margin-top:2rem;}

.signup input{
    padding:1rem;
    width:300px;
    max-width:90%;
    border:none;
}

.signup button{
    padding:1rem 2rem;
    background:#c8102e;
    color:white;
    border:none;
    font-weight:700;
    cursor:pointer;
}

/* Election dates */
.dates-section{
    background: linear-gradient(180deg, #3f066f 0%, #0B066F 100%);
    padding:5rem 2rem;
    color:white;
    border-bottom:1px solid rgba(255,255,255,0.1);
}

.dates-content{max-width:1200px;margin:auto;}

.dates-title{
    text-align:center;
    font-size:2.5rem;
    margin-bottom:3.5rem;
    font-weight:800;
}

.dates-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:3rem;
}

.date-card{
    background:rgba(255,255,255,0.05);
    border:1px solid rgba(255,255,255,0.1);
    border-radius:12px;
    padding:2.5rem 2rem;
    position:relative;
    transition:transform 0.3s ease,box-shadow 0.3s ease,border-color 0.3s ease;
}

.date-card:hover{
    transform:translateY(-5px);
    box-shadow:0 10px 25px rgba(0,0,0,0.2);
    border-color:rgba(255,255,255,0.25);
}

.date-badge{
    position:absolute;
    top:-14px;
    left:2rem;
    padding:0.4rem 1.2rem;
    border-radius:50px;
    font-size:0.85rem;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:0.05em;
}

.primary-badge{background:#c8102e;color:white;}
.general-badge{background:#002868;color:white;border:1px solid rgba(255,255,255,0.2);}

.date-card h3{
    font-size:1.8rem;
    font-weight:800;
    margin-top:0.5rem;
    margin-bottom:1.5rem;
    color:white;
}

.date-details{list-style:none;padding:0;}

.date-details li{
    font-size:1.1rem;
    margin-bottom:0.8rem;
    color:rgba(255,255,255,0.8);
    display:flex;
    justify-content:space-between;
    border-bottom:1px dashed rgba(255,255,255,0.1);
    padding-bottom:0.5rem;
}

.date-details li:last-child{border-bottom:none;margin-bottom:0;padding-bottom:0;}
.date-details li strong{color:white;}

/* About section */
.about-content{
    max-width:800px;
    margin:0 auto;
}

.about-content blockquote{
    border-left:4px solid #fff;
    margin:0 0 2.5rem;
    padding:0.75rem 1.25rem;
    font-style:italic;
    font-size:1.1rem;
    line-height:1.6;
    color:#fff;
}

.about-content cite{
    display:block;
    margin-top:0.5rem;
    font-style:normal;
    font-size:0.9rem;
    color:rgba(255,255,255,0.8);
}

.about-content p{
    margin:0 0 1rem;
    line-height:1.7;
    font-size:1.05rem;
}

.about-content h2{
    color:#fff;
    margin:2rem 0 1rem;
    font-size:1.4rem;
    border-bottom:1px solid rgba(255,255,255,0.2);
    padding-bottom:0.4rem;
}

.about-content ul{
    list-style:none;
    padding:0;
    margin:0 0 2rem;
    line-height:1.9;
}

.about-content ul li::before{
    content:"→ ";
    color:#c8102e;
}

/* Footer */
footer{
    background:#3f066f;
    color:white;
    text-align:center;
}

.footer-signup{
    padding:2.5rem 2rem 2rem;
    border-bottom:1px solid rgba(255,255,255,0.15);
}

.footer-signup h3{
    font-size:1.4rem;
    font-weight:800;
    margin-bottom:0.5rem;
}

.footer-signup p{
    font-size:1rem;
    margin-bottom:1.25rem;
    opacity:0.85;
}

.footer-container{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:1.25rem;
    padding:1.25rem 2rem;
}

.footer-socials{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:1.25rem;
}

.footer-socials a{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:38px;
    height:38px;
    border-radius:50%;
    background:rgba(255,255,255,0.1);
    transition:background 0.2s ease,transform 0.2s ease;
}

.footer-socials a:hover{
    background:rgba(255,255,255,0.2);
    transform:translateY(-2px);
}

.footer-icon{width:18px;height:18px;object-fit:contain;}

.footer-legal{
    padding:0.75rem 2rem 1.5rem;
    font-size:0.85rem;
    opacity:0.75;
}

/* Hero image */
.hero-image img{
    max-width:320px;
    width:100%;
    height:auto;
    display:block;
}

/* Mobile menu toggle */
.menu-toggle{
    display:none;
    background:none;
    border:none;
    color:white;
    font-size:1.8rem;
    cursor:pointer;
    line-height:1;
    padding:0.25rem 0.5rem;
}

/* ============================
   RESPONSIVE
   ============================ */
@media(max-width:992px){
    .hero h1{font-size:3rem;}
    .hero p{font-size:1.2rem;}
    .rotating-header{font-size:2.2rem;padding:4rem 2rem;}
}

@media(max-width:768px){
    .nav{flex-wrap:wrap;position:relative;}
    .menu-toggle{display:block;}
    header nav{display:none;flex-direction:column;width:100%;background:#3f066f;padding-top:1rem;}
    header nav.active{display:flex;}
    header nav a{margin:0;padding:0.75rem 0;border-top:1px solid rgba(255,255,255,0.1);text-align:center;}
    .hero{min-height:auto;padding:3rem 0;}
    .hero-content{flex-direction:column;text-align:center;padding:1.5rem;gap:2rem;}
    .hero-image{display:flex;justify-content:center;width:100%;}
    .hero-image img{max-width:220px;margin:0 auto;}
    .hero h1{font-size:2.4rem;margin-bottom:0.75rem;}
    .hero p{font-size:1.05rem;margin-bottom:1.5rem;}
    .btn{display:block;width:100%;max-width:320px;margin:0 auto;text-align:center;padding:0.9rem 1.5rem;}
    .btn-secondary{margin-left:0;margin-top:1rem;}
    .dates-section{padding:3rem 1.25rem;}
    .dates-title{font-size:1.9rem;margin-bottom:2rem;}
    .dates-grid{gap:1.5rem;}
    .date-card{padding:2rem 1.5rem;}
    .date-card h3{font-size:1.5rem;}
    .date-details li{flex-direction:column;align-items:flex-start;gap:0.25rem;}
    .rotating-header{font-size:1.6rem;padding:2.5rem 1.25rem;line-height:1.4;}
    .section{padding:3rem 1.25rem;}
    .section-title{font-size:1.9rem;margin-bottom:2rem;}
    .issues{gap:1.25rem;}
    .card{padding:1.5rem;}
    .signup input{width:100%;max-width:100%;margin-bottom:1rem;display:block;}
    .signup form{display:flex;flex-direction:column;align-items:center;gap:0.75rem;max-width:400px;margin:2rem auto 0;}
    .signup .btn{width:100%;}
    footer{font-size:0.85rem;}
}

@media(max-width:420px){
    .hero h1{font-size:2rem;}
    .hero p{font-size:1rem;}
    .rotating-header{font-size:1.35rem;}
    .dates-title,.section-title{font-size:1.6rem;}
    .date-card h3{font-size:1.3rem;}
}
