:root {
    --navy: #28314f;
    --red: #d7312e;
    --light-gray: #e5e5e5;
}

* {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #fff;
    color: #111;
    margin: 0;
    padding: 0;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* =========================
   NAVBAR
========================= */

.campaign-nav {
    background: rgba(40, 49, 79, 0.75);
}

.navbar-brand {
    font-weight: 900;
    font-size: 1.7rem;
}

.navbar-brand span,
.footer-logo span {
    color: var(--red);
}

/* =========================
   HERO SECTION
========================= */

.hero-section {
    min-height: 720px;
    background:
        linear-gradient(rgba(40,49,79,.08), rgba(40,49,79,.08)),
        url("../pictures/hero-bg.jpg") center center / cover no-repeat;
    padding-top: 90px;
    overflow: hidden;
}

.hero-row {
    min-height: 630px;
}

.hero-card {
    background: var(--navy);
    color: white;
    border-radius: 14px;
    padding: 38px;
    box-shadow: 0 20px 45px rgba(0,0,0,.28);

    max-width: 620px;
    width: 100%;

    position: relative;
    z-index: 2;

    margin-top: 40px;
    margin-left: -20px;
}

.hero-title-wrap {
    margin-bottom: 2px;
}

.hero-title-wrap,
.hero-subtitle-wrap {
    margin: 0;
}

.hero-title-wrap .editable-block,
.hero-subtitle-wrap .editable-block {
    margin-bottom: 0;
}

.hero-title-wrap textarea,
.hero-title-wrap {
    font-size: 1.65rem;
    font-weight: 900;
    line-height: 1.1;
    color: white;
}

.hero-title-wrap textarea,
.hero-title-wrap {
    font-size: 1.9rem;
    font-weight: 900;
    line-height: 1.05;
    color: white;
}

.hero-subtitle-wrap textarea,
.hero-subtitle-wrap {
    font-size: 1.55rem;
    font-weight: 900;
    line-height: 1.1;
    color: var(--red);
}

.hero-title-wrap textarea:focus,
.hero-subtitle-wrap textarea:focus {
    background: rgba(255,255,255,.08);
    outline: 2px solid rgba(255,255,255,.25);
    border-radius: 6px;
}

.hero-title-wrap .save-content-btn,
.hero-subtitle-wrap .save-content-btn {
    display: block;
    margin: 6px 0 8px;
}

.hero-person-wrap {
    height: 630px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    position: relative;
}

.hero-person-wrap .editable-image-block {
    width: 100%;
    position: relative;
}

/* HERO PERSON POSITION FIX */
.hero-person-wrap img,
.hero-person-wrap .editable-image-preview {
    height: 780px !important;
    max-width: none !important;
    width: auto !important;
    transform: translateX(-180px) !important;
}

/* =========================
   FORMS
========================= */

.form-control,
.form-select {
    border: none;
    border-radius: 8px;
    height: 42px;
    font-size: 1rem;
}

textarea.form-control {
    height: auto;
}

.btn-danger {
    background: var(--red);
    border-color: var(--red);
    font-weight: 800;
    height: 44px;
    font-size: 1.05rem;
    border-radius: 8px;
}

.btn-dark {
    font-weight: 800;
}

/* =========================
   NEWSLETTER
========================= */

.newsletter-section {
    background: var(--red);
    color: white;
    padding: 18px 0 20px;
}

.newsletter-section h2 {
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 2px;
    line-height: 1;
}

.newsletter-section p {
    margin-bottom: 10px;
    font-size: .95rem;
    line-height: 1.1;
}

.newsletter-form {
    max-width: 690px;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    min-width: 0;
    height: 38px;
    border-radius: 0;
}

.newsletter-form button {
    height: 38px;
    border-radius: 0;
    font-weight: 800;
    padding: 0 22px;
    background: var(--navy);
    border: none;
    color: white;
    flex-shrink: 0;
}

.newsletter-form .cf-turnstile {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

/* =========================
   GENERAL SECTIONS
========================= */

.section-padding {
    padding: 60px 0;
}

.section-title {
    font-size: 2.4rem;
    font-weight: 900;
}

.section-copy {
    max-width: 760px;
    font-size: 1.05rem;
    line-height: 1.4;
}

/* =========================
   OBJECTIVES
========================= */

.objective-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.objective-tab {
    width: 180px;
    height: 10px;
    border: none;
    background: #d9d9d9;
    cursor: pointer;
    transition: .2s;
    padding: 0;
    font-size: 0;
}

.objective-tab.active {
    background: #005ba8;
}

.objective-content h3 {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 20px;
}

/* =========================
   EVENTS
========================= */

.events-section {
    background: var(--navy);
    padding: 40px 0 50px;
}

.events-section h2 {
    font-size: 2rem;
    font-weight: 900;
}

.event-card {
    background: white;
    border-radius: 4px;
    overflow: hidden;
    min-height: 110px;
    box-shadow: 0 8px 18px rgba(0,0,0,.25);
}

.event-date {
    background: var(--red);
    color: white;
    font-weight: 900;
    font-size: 1.35rem;
    text-align: center;
    padding: 6px;
}

.event-body {
    height: 75px;
    background: white;
}

#events-container {
    position: relative;
    padding: 0 80px 20px;
}

#eventsCarousel {
    padding-bottom: 10px;
}

#eventsCarousel .carousel-inner {
    overflow: visible;
}

#eventsCarousel .carousel-item {
    padding: 5px 0 15px;
}

.event-card {
    background: white;
    border-radius: 6px;
    overflow: hidden;
    min-height: 150px;
    height: 100%;
    box-shadow: 0 8px 18px rgba(0,0,0,.25);
}

.event-body {
    min-height: 105px;
    height: auto;
    background: white;
}

.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    opacity: 1;
}

.carousel-control-prev {
    left: -45px;
}

.carousel-control-next {
    right: -45px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-size: 100%;
    background-color: rgba(255,255,255,0.15);
    border-radius: 50%;
    padding: 20px;
}

@media (max-width: 768px) {
    #events-container {
        padding: 0 45px 20px;
    }

    .carousel-control-prev {
        left: -20px;
    }

    .carousel-control-next {
        right: -20px;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 2.2rem;
        height: 2.2rem;
        padding: 14px;
    }
}

/* =========================
   CONTACT
========================= */

.contact-form {
    background: var(--red);
    padding: 24px;
    border-radius: 12px;
}

.contact-form .btn {
    background: var(--navy);
    border: none;
}

/* =========================
   ABOUT
========================= */

.about-section {
    padding: 55px 0 40px;
}

.about-card {
    background: var(--navy);
    color: white;
    border-radius: 24px;
    padding: 30px 45px;
    max-width: 1050px;
    margin: 0 auto;
}

.about-card h2 {
    font-weight: 900;
}

.about-img {
    max-height: 230px;
    object-fit: cover;
    border-radius: 12px;
}

/* =========================
   FOOTER
========================= */

.footer-section {
    background: var(--navy);
    color: white;
    padding: 24px 0;
    font-size: .95rem;
}

.footer-logo {
    font-weight: 900;
}

.socials {
    display: flex;
    gap: 18px;
    justify-content: center;
    align-items: center;
}

.socials a {
    color: white;
    font-size: 1.2rem;
    transition: 0.2s ease;
    text-decoration: none;
}

.socials a:hover {
    color: var(--red);
    transform: translateY(-2px);
}
/* =========================
   MOBILE
========================= */

@media (max-width: 991px) {
    .campaign-nav {
        background: var(--navy);
    }

    .navbar-collapse {
        padding-top: 15px;
    }

    .navbar-nav {
        text-align: center;
        gap: 6px;
    }

    .navbar .btn {
        width: 100%;
        margin-top: 10px;
    }

    .hero-section {
        padding: 85px 0 35px;
    }

    .hero-person-wrap {
        height: 330px;
        margin-bottom: -28px;
        overflow: hidden;
        justify-content: center;
        align-items: flex-end;
        position: relative;
        z-index: 1;
    }

    .hero-person-wrap img,
    .hero-person-wrap .editable-image-preview {
        height: 430px !important;
        width: auto !important;
        max-width: none !important;
        transform: translateX(-120) translateY(55px) !important;
    }

    .hero-card {
        margin: 0 auto !important;
        max-width: 92%;
        text-align: left;
    }

    .hero-card form {
        width: 100%;
    }

.hero-card .btn-danger {
    min-height: 48px;
    font-size: 1.1rem;
    letter-spacing: 0.3px;
}
    .newsletter-form {
        flex-direction: column;
        gap: 10px;
    }

    .newsletter-form input,
    .newsletter-form button {
        border-radius: 8px;
        width: 100%;
    }

    .objective-tab {
        width: 85px;
    }

    .about-card {
        padding: 24px;
        border-radius: 18px;
        text-align: center;
    }

    .footer-section .container {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .hero-card {
        padding: 20px;
    }

    .hero-title-wrap,
    .hero-subtitle-wrap {
        font-size: 1rem;
    }
    .hero-person-wrap {
        height: 310px;
        margin-bottom: -22px;
    }

    .hero-person-wrap img,
    .hero-person-wrap .editable-image-preview {
        height: 360px !important;
        transform: translateX(-120) translateY(50px) !important;
    }
        .hero-card {
        max-width: 94%;
        padding: 22px;
    }
    .objective-tab {
        width: 70px;
    }

    .event-date {
        font-size: .95rem;
    }
}
@media (min-width: 577px) and (max-width: 1199px) {

    .hero-section {
        min-height: auto !important;
        padding-top: 68px !important;
        padding-bottom: 36px !important;
        background-position: center top !important;
    }

    .hero-section .container {
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .hero-row {
        display: flex !important;
        flex-direction: column !important;
        flex-wrap: nowrap !important;
        min-height: auto !important;
        height: auto !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        align-items: center !important;
    }

    .hero-row > [class*="col"] {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .hero-row > [class*="col"]:has(.hero-person-wrap) {
        order: 1 !important;
    }

    .hero-row > [class*="col"]:has(.hero-card) {
        order: 2 !important;
    }

    .hero-person-wrap {
        height: 330px !important;
        min-height: 330px !important;
        width: 100% !important;
        margin: 0 auto -8px !important;
        display: flex !important;
        justify-content: center !important;
        align-items: flex-end !important;
        overflow: visible !important;
    }

    .hero-person-wrap img,
    .hero-person-wrap .editable-image-preview {
        height: 430px !important;
        max-width: none !important;
        width: auto !important;
        transform: none !important;
        object-fit: contain !important;
    }

    .hero-card {
        width: min(88%, 560px) !important;
        max-width: 560px !important;
        margin: 0 auto !important;
        padding: 26px !important;
        position: relative !important;
        z-index: 5 !important;
    }
}
@media (max-width: 1199px) {

    .hero-person-wrap {
        height: 420px !important;
        min-height: 420px !important;
        display: flex !important;
        justify-content: center !important;
        align-items: flex-end !important;
        margin-bottom: -20px !important;
    }

    .hero-person-wrap img,
    .hero-person-wrap .editable-image-preview {
        height: 500px !important;
        width: auto !important;
        max-width: none !important;
        transform: translateX(-220px) translateY(60px) !important;
        object-fit: contain !important;
    }

}
.navbar-brand,
.navbar-brand:focus,
.navbar-brand:active,
.navbar-brand:focus-visible {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}