html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
    background: linear-gradient( 115deg, rgba(22,105,109, 0.08) 0%, rgba(247,158,14, 0.06) 45%, rgba(130,130,130, 0.08) 100% );
    background-attachment: fixed;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

.responsive-image {
    display: block;
    margin: 0 auto;
    max-width: 45vw;
    width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .responsive-image {
        max-width: 100vw;
    }
}

.nav-link {
    margin-left: 25px;
}

.download-item {
    margin-bottom: 15px;
}

.candidate-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 2rem 0;
}

.candidate-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #fafafa;
    transition: background 0.2s ease, transform 0.2s ease;
}

    .candidate-item:hover {
        background: #f0f0f0;
        transform: translateY(-3px);
    }

.candidate-photo {
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
}

.candidate-info {
    flex: 1;
}

.candidate-name {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.candidate-role {
    margin-top: 0.3rem;
    color: #555;
    font-size: 0.95rem;
}

/* Mobile */
@media (max-width: 768px) {
    .candidate-item {
        flex-direction: column;
        text-align: center;
    }

    .candidate-photo {
        width: 150px;
        height: 150px;
    }
}

.person-card-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

.person-card {
    background: #fafafa;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .person-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }

.person-photo {
    width: 100%;
    max-width: 180px;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.person-name {
    margin: 0.5rem 0 0.2rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.person-role {
    color: #555;
    font-size: 0.95rem;
    /* Mobile layout */
    @media (max-width: 768px) {
        .person-card-container {
            grid-template-columns: 1fr;
        }
    }
}

.event-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 2rem 0;
}

.event-item {
    display: flex;
    gap: 1.5rem;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #fafafa;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

    .event-item:hover {
        background: #f0f0f0;
        transform: translateY(-3px);
    }

.event-date {
    width: 70px;
    height: 70px;
    border-radius: 10px;
    background: var(--color-primary);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.event-day {
    font-size: 1.6rem;
    font-weight: 700;
}

.event-month {
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* Past events – grey, slightly faded */
.event-past {
    opacity: 0.6;
    border-left: 6px solid rgba(130,130,130, 0.6);
    background: rgba(130,130,130, 0.08);
}

/* Events in the next 7 days – orange highlight */
.event-soon {
    border-left: 6px solid rgb(247,158,14);
    background: rgba(247,158,14, 0.15);
    box-shadow: 0 4px 12px rgba(247,158,14, 0.25);
}

/* Future events – teal accent */
.event-future {
    border-left: 6px solid rgb(22,105,109);
    background: rgba(22,105,109, 0.10);
}

.event-item:hover {
    transform: translateY(-3px);
    transition: 0.25s ease;
}

.event-soon:hover {
    box-shadow: 0 6px 16px rgba(247,158,14, 0.35);
}

.event-future:hover {
    box-shadow: 0 6px 16px rgba(22,105,109, 0.35);
}

.event-past:hover {
    opacity: 0.75;
}



/* MODAL */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
}

.modal-content {
    background: white;
    margin: 10% auto;
    padding: 1.5rem;
    border-radius: 10px;
    width: 90%;
    max-width: 800px;
}

.close {
    float: right;
    font-size: 1.8rem;
    cursor: pointer;
}

/* Mobile */
@media (max-width: 768px) {
    .modal-content {
        margin-top: 30%;
        width: 90%;
    }
}

.support-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
}

.support-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 1rem;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    background: #f9f9f9;
    transition: background 0.2s ease;
}

    .support-item:hover {
        background: #f1f1f1;
    }

.support-photo {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
    opacity: 0.9; /* slightly softer than candidates */
}

.support-info {
    flex: 1;
}

.support-name {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: #333;
}

.support-role {
    margin: 0.2rem 0 0;
    font-size: 0.9rem;
    color: #666;
}

/* Mobile */
@media (max-width: 768px) {
    .support-item {
        flex-direction: column;
        text-align: center;
    }

    .support-photo {
        width: 100px;
        height: 100px;
    }
}
.goals-title {
    text-align: center;
    margin-bottom: 0.5rem;
}

.goals-intro {
    text-align: center;
    color: #555;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.goals-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem; 
    margin-bottom: 3rem;
}


.goal-item {
    margin-bottom:15px;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid #e2e2e2;
    border-radius: 10px;
    background: #fafafa;
    transition: background 0.2s ease, transform 0.2s ease;
}

    .goal-item:hover {
        background: #f5f5f5;
        transform: translateY(-2px);
    }

.goal-thumb {
    width: 75px;
    height: 75px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
}

.goal-content {
    flex: 1;
}

.goal-title {
    margin: 0 0 0.3rem;
    font-size: 1.15rem;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.goal-text {
    margin: 0;
    color: #555;
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Mobile */
@media (max-width: 600px) {
    .goal-item {
        flex-direction: column;
        text-align: center;
    }

    .goal-thumb {
        width: 100px;
        height: 100px;
    }

    .goal-title {
        text-align: center;
        justify-content: center;
    }
}


/* -----------------------------------------
   BRAND COLOR VARIABLES
----------------------------------------- */
:root {
    --color-primary: rgb(22,105,109); /* teal */
    --color-accent: rgb(247,158,14); /* orange */
    --color-neutral: rgb(130,130,130); /* grey */

    --color-primary-light: rgba(22,105,109, 0.15);
    --color-accent-light: rgba(247,158,14, 0.18);
    --color-neutral-light: rgba(130,130,130, 0.18);
}

/* -----------------------------------------
   NAVBAR — MORE COLORFUL
----------------------------------------- */
.nav-bar {
    border-bottom: 6px solid var(--color-primary);
    background: linear-gradient( to right, rgba(22,105,109, 0.15), rgba(247,158,14, 0.15) );
}

    .nav-bar a:hover,
    .nav-item:hover {
        color: var(--color-accent);
    }

/* -----------------------------------------
   CARD ACCENTS — STRONGER COLORS
----------------------------------------- */
.goal-item,
.person-card,
.support-item,
.event-item,
.candidate-item {
    border: 1px solid var(--color-primary-light);
    background: rgba(22,105,109, 0.05);
}

    .goal-item:hover,
    .person-card:hover,
    .support-item:hover,
    .event-item:hover,
    .candidate-item:hover {
        background: var(--color-accent-light);
        border-color: var(--color-accent);
    }

/* Stronger left border for goals */
.goal-item {
    border-left: 6px solid var(--color-primary);
}

/* -----------------------------------------
   TITLES & TEXT — MORE COLOR POP
----------------------------------------- */
.goal-title,
.candidate-name,
.support-name {
    color: var(--color-primary);
}

.goal-text,
.support-role,
.candidate-role {
    color: var(--color-neutral);
}

/* Icons next to titles — now orange by default */
.goal-title .icon {
    color: var(--color-accent);
}

/* -----------------------------------------
   BUTTONS — MORE VIBRANT
----------------------------------------- */
.btn-primary {
    background: var(--color-primary);
    color: white;
    border: none;
}

    .btn-primary:hover {
        background: var(--color-accent);
    }

/* -----------------------------------------
   SECTION BACKGROUNDS — MORE PRESENCE
----------------------------------------- */
.section-light {
    background: rgba(22,105,109, 0.10);
}

.section-alt {
    background: rgba(247,158,14, 0.10);
}

/* -----------------------------------------
   HOVER SHADOWS — MORE COLORFUL
----------------------------------------- */
.card-hover:hover {
    box-shadow: 0 6px 16px rgba(22,105,109, 0.25);
}


/* -----------------------------------------
   NAVBAR BASE
----------------------------------------- */
.navbar {
    background: linear-gradient( to right, rgba(22,105,109, 0.15), rgba(247,158,14, 0.15) );
    border-bottom: 4px solid rgb(22,105,109);
    padding: 0.6rem 1rem;
}

    /* Container alignment */
    .navbar .container {
        display: flex;
        align-items: center;
        gap: 1.5rem;
    }

/* -----------------------------------------
   LOGO
----------------------------------------- */
.nav-logo-link {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-bar-logo {
    height: 55px;
    width: auto;
    display: block;
    cursor: pointer;
    transition: transform 0.2s ease;
}

    .nav-bar-logo:hover {
        transform: scale(1.05);
    }

/* -----------------------------------------
   NAV LINKS
----------------------------------------- */
.navbar-nav .nav-link {
    font-size: 1.05rem;
    font-weight: 500;
    color: rgb(22,105,109) !important;
    padding: 0.6rem 1rem;
    border-radius: 6px;
    transition: color 0.2s ease, background 0.2s ease;
}

    /* Hover effect */
    .navbar-nav .nav-link:hover {
        background: rgba(247,158,14, 0.15);
        color: rgb(247,158,14) !important;
    }

    /* Active link (optional) */
    .navbar-nav .nav-link.active {
        background: rgba(22,105,109, 0.15);
        color: rgb(22,105,109) !important;
    }

/* -----------------------------------------
   NAV ITEMS SPACING
----------------------------------------- */
.navbar-nav {
    display: flex;
    gap: 0.5rem;
}

/* -----------------------------------------
   MOBILE
----------------------------------------- */
@media (max-width: 768px) {
    .navbar-nav {
        padding-top: 1rem;
        gap: 0.3rem;
    }

        .navbar-nav .nav-link {
            padding: 0.8rem;
            text-align: center;
        }

    .nav-bar-logo {
        max-width: 10%;
        width: 100%;
        height: auto;
    }
}

/* -----------------------------------------
   PAGE TITLE
----------------------------------------- */
.page-title {
    text-align: center;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}

.intro-text {
    text-align: center;
    color: var(--color-neutral);
    margin-bottom: 2rem;
}

/* -----------------------------------------
   DOWNLOAD LIST
----------------------------------------- */
.download-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

/* -----------------------------------------
   DOWNLOAD CARD
----------------------------------------- */
.download-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.2rem;
    border-radius: 12px;
    border-left: 6px solid var(--color-primary);
    background: rgba(22,105,109, 0.05);
    border: 1px solid var(--color-primary-light);
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

    .download-card:hover {
        background: var(--color-accent-light);
        border-color: var(--color-accent);
        border-left-color: var(--color-accent);
        transform: translateY(-4px);
        box-shadow: 0 6px 16px rgba(22,105,109, 0.25);
    }

/* -----------------------------------------
   ICON
----------------------------------------- */
.download-icon {
    font-size: 2.2rem;
    color: var(--color-primary);
    flex-shrink: 0;
    margin-top: 0.2rem;
}

/* -----------------------------------------
   CONTENT
----------------------------------------- */
.download-title {
    margin: 0 0 0.3rem;
    font-size: 1.3rem;
    color: var(--color-primary);
}

.download-content p {
    margin: 0;
    color: var(--color-neutral);
    line-height: 1.45;
}

/* -----------------------------------------
   DOWNLOAD BUTTON
----------------------------------------- */
.download-btn {
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: underline;
    transition: color 0.2s ease;
}

    .download-btn:hover {
        color: var(--color-accent);
    }

/* -----------------------------------------
   MOBILE
----------------------------------------- */
@media (max-width: 600px) {
    .download-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .download-icon {
        margin-bottom: 0.5rem;
    }
}

/* -----------------------------------------
   JOIN CARD
----------------------------------------- */
.join-card {
    max-width: 700px;
    margin: 2rem auto;
    padding: 2rem;
    border-radius: 14px;
    border-left: 6px solid var(--color-primary);
    background: rgba(22,105,109, 0.05);
    border: 1px solid var(--color-primary-light);
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

    .join-card:hover {
        background: var(--color-accent-light);
        border-color: var(--color-accent);
        border-left-color: var(--color-accent);
        transform: translateY(-4px);
        box-shadow: 0 6px 16px rgba(22,105,109, 0.25);
    }

/* -----------------------------------------
   ICON
----------------------------------------- */
.join-icon {
    font-size: 3rem;
    color: var(--color-primary);
    flex-shrink: 0;
}

/* -----------------------------------------
   CONTENT
----------------------------------------- */
.join-title {
    margin: 0 0 0.5rem;
    color: var(--color-primary);
    font-size: 1.6rem;
}

.join-content p {
    color: var(--color-neutral);
    margin-bottom: 1.2rem;
    line-height: 1.5;
}

/* -----------------------------------------
   BUTTON
----------------------------------------- */
.join-button {
    display: inline-block;
    padding: 0.8rem 1.4rem;
    background: var(--color-primary);
    color: white;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.25s ease;
}

    .join-button:hover {
        background: var(--color-accent);
    }

/* -----------------------------------------
   MOBILE
----------------------------------------- */
@media (max-width: 600px) {
    .join-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .join-icon {
        margin-bottom: 0.5rem;
    }
}

