* {
    font-family: 'Poppins' !important;
}

.navbar {
    background-color: #DC143C !important;
    color: white !important;
}

.navbar-brand {
    color: white !important;
    font-size: 1.em;
}

.nav-link {
    color: white !important;
}

.nav-link:hover {
    color: #37376d !important;
}

.logo {
    background-color: white !important;
    border-radius: 100%;
    width: auto;
    height: 50px;
}

.voting-landing {
    background-image: url('../img/wmsu-building.jpg');
    height: 100vh;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    display: flex;
    align-items: center;
}

.voting-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(220, 20, 60, 0.5);
    /* Crimson red */
    mix-blend-mode: multiply;
    /* Crimson red effect */
    z-index: 1;
    pointer-events: none;
    /* Makes sure it doesn’t interfere with content */
}

.voting-landing-content {
    position: relative;
    z-index: 2;
    /* Text stays above the overlay */
    color: white;

}

.c-navy {
    color: #071f8a;
}

.c-white {
    color: white !important;
    mix-blend-mode: normal !important;
}

.candidate-txt {
    color: white !important;
    background-color: #0000ff;
}

.jtc-btn {
    margin-top: 25px;
    background-color: #DC143C;
    color: white !important;
    border: none;
    padding: 10px;
    font-size: 1rem;
}

.jtc-btn:hover {
    transition: margin-left 1s ease, background-color 1s ease, border-radius 1s ease;
    background-color: #6b192a;
    border: 1px solid #DC143C;
    border-radius: 10px;

    .check {
        margin-left: 15px;
    }
}

.vr-btn {
    margin-top: 25px;
    background-color: #0a086e;
    color: white !important;
    border: none;
    padding: 10px;
    font-size: 1rem;
}

.vr-btn:hover {
    transition: margin-left 1s ease, background-color 1s ease, border-radius 1s ease;
    background-color: #0a7eac;
    border: 1px solid #0a086e;
    border-radius: 10px;

    .check {
        margin-left: 15px;
    }
}


.check {
    font-size: 1em;
    margin-left: 10px;
}

.first-part {
    margin: 25px;
    background-color: rgba(255, 255, 255, 0.726);
    display: flex;
    align-items: center;
}

.bold {
    font-weight: bolder;
}

.c-red {
    color: #6b192a;
}

.small-liner {
    text-align: center;
    border-bottom: 4px solid #6b192a;
    width: 10%;
}


.small-liner-1 {
    text-align: center;
    border-bottom: 4px solid #071f8a;
    width: 10%;
}

.info-g {
    height: 300px;
    width: 100%;
    object-fit: cover;
}

.second-part {
    background-color: #071f8a;
    color: white;
    padding: 50px;
}

.round {
    border-radius: 100%;
}

.small {
    height: 150px;
    width: 150px
}

.third-page {
    background-image: url('../img/Peach\ Ash\ Grey\ Gradient\ Color\ and\ Style\ Video\ Background.png');
    height: fit-content;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* Center content vertically */
    background-repeat: no-repeat; 
    background-size: cover;  /* Ensures the image covers the entire page */
    background-position: center;  /* Centers the image */
    padding: 50px 0; /* Adds some padding for better spacing */
}

.linker{
    color: black !important; 
    text-decoration: none;
}

.event-part{
    background-color: #071f8a;
    color: white !important;
}

.small-liner-white {
    text-align: center;
    border-bottom: 4px solid white;
    width: 10%;
}

.sidebar{
    height:auto;
    background-color:#6b192a;
    padding: 20px;
}

.btn-primary-self{
    background-color: #0000ff;
    color: white;
    border: 1px solid #0000ff;
}

.btn-primary-self:hover{
    border: 1px solid #37376d;
}

.btn-success-self{
    background-color: #6b192a;
    color: white;
    border: 1px solid #6b192a;
}

.btn-success-self:hover{
    border: 1px solid #6b192a;
}

.article-card{
    transition: 0.1s ease
}
.article-card:hover{
    border: 1px solid #6b192a;
}

.bordered-red{
    border: 2px solid #6b192a !important;
}

.bordered-black{
    border: 1px solid black !important;
}

/* ── Right-side logo in outer navbar ── */
.logo-right {
    height: 40px;
    width: auto;
    background-color: white;
    border-radius: 50%;
    padding: 2px;
    object-fit: contain;
}

/* ── Footer layout & alignment ── */
footer {
    background-color: #f8f9fa;
    border-top: 3px solid #6b192a;
    padding: 40px 0 30px;
    margin-top: 50px;
}

footer .container-fluid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

footer .row {
    margin-top: 0 !important;
    align-items: flex-start;
}

footer h1 {
    font-size: 1.4rem;
}

footer h5 {
    font-size: 1rem;
    margin-bottom: 12px;
}

footer p {
    margin-bottom: 6px;
    font-size: 0.9rem;
    color: #555;
}

footer .logo {
    height: 40px;
    vertical-align: middle;
}

/* Keep hero CTA buttons from colliding when they wrap */
.jtc-btn,
.vr-btn {
    margin-right: 10px;
}

/* ============================================================
   RESPONSIVE / MOBILE
   ============================================================ */

/* Tablets and below */
@media (max-width: 991.98px) {
    .voting-landing {
        height: auto;
        min-height: 100vh;
        padding: 90px 0 60px;
        /* clear the fixed-height hero + give breathing room */
        background-position: center center;
    }

    .voting-landing-content h1 {
        font-size: 2.2rem;
        line-height: 1.25;
    }

    .voting-landing-content h5 {
        font-size: 1.05rem;
    }

    .small-liner,
    .small-liner-1 {
        width: 30%;
    }
}

/* Phones */
@media (max-width: 575.98px) {
    .voting-landing {
        padding: 80px 0 48px;
        text-align: center;
    }

    .voting-landing-content h1 {
        font-size: 1.7rem;
    }

    .voting-landing-content h5 {
        font-size: 0.95rem;
    }

    /* Full-width stacked CTA buttons */
    .jtc-btn,
    .vr-btn {
        display: block;
        width: 100%;
        margin-right: 0;
        margin-top: 14px;
    }

    .jtc-btn a,
    .vr-btn a {
        display: block;
    }

    .small-liner,
    .small-liner-1 {
        width: 50%;
        margin-left: auto;
        margin-right: auto;
    }

    footer {
        text-align: center;
    }

    footer .container-fluid {
        padding: 0 16px;
    }
}

/* Universal modal scroll fix — keep header/footer fixed and scroll the body
   so tall modal content is never cut off (applies to every modal, all pages). */
.modal-content {
  max-height: calc(100vh - 3.5rem);
}
.modal-header,
.modal-footer {
  flex-shrink: 0;
}
.modal-body {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
