/* ---------- GLOBAL STYLES ---------- */
::-moz-selection {
    background-color: rgba(0, 0, 0, 0.75);
    color: #ffffff;
}

::selection {
    background-color: rgba(0, 0, 0, 0.75);
    color: #ffffff;
}

:root {
    color-scheme: only light;

    --brand-blue: #1c4267;
    --brand-blue-dark: #14324d;
    --brand-accent: #dcbdaf;
    --brand-cream: #f8f4ed;
    --brand-cream-deep: #f6ecdd;
    --brand-sage: #4c6434;
    --brand-text: #2b241e;
    --brand-border: #e7ddd1;
    --brand-white: #ffffff;

    --shadow-sm: 0 8px 24px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 14px 36px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 24px 55px rgba(0, 0, 0, 0.14);

    --radius-sm: 14px;
    --radius-md: 20px;
    --radius-lg: 28px;

    --transition: 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    padding-top: 100px;
    font-family: 'Comic Sans MS', sans-serif;
    background-color: #ffffff;
    color: var(--brand-text);
    line-height: 1.65;
    text-rendering: optimizeLegibility;
}

@media (min-width: 768px) {
    body {
        padding-top: 100px;
    }
}

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

p,
li {
    font-size: clamp(1rem, 0.96rem + 0.25vw, 1.125rem);
}

table {
    font-size: 18px;
    width: 100%;
}

a {
    color: var(--brand-blue);
    text-underline-offset: 0.18em;
    transition: color var(--transition), opacity var(--transition);
}

a:hover,
a:focus {
    color: var(--brand-blue-dark);
}

/* ---------- NAVBAR ---------- */
.navbar {
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 8px 24px rgba(28, 66, 103, 0.08);
    backdrop-filter: blur(10px);
}

.navbar .navbar-nav li a {
    color: var(--brand-blue);
    border-radius: 999px;
    padding: 0.5rem 0.95rem;
    transition: color var(--transition), background-color var(--transition), transform var(--transition);
}

.navbar .navbar-nav li a:hover,
.navbar .navbar-nav li a:focus,
.navbar .navbar-nav li a:active {
    color: #9a6b57;
    background-color: rgba(59, 126, 153, 0.08);
    transform: translateY(-1px);
}

.dropdown-menu {
    background: #ffffff;
    border: 1px solid var(--brand-border);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    padding: 0.5rem;
}

.dropdown-menu .dropdown-item {
    background: #ffffff;
    color: var(--brand-blue);
    border-radius: 12px;
    transition: color var(--transition), background-color var(--transition);
}

.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus,
.dropdown-menu .dropdown-item:active {
    color: #9a6b57;
    background-color: rgba(59, 126, 153, 0.08);
}

/* ---------- UTILITIES ---------- */
.end-grid {
    display: grid !important;
    place-items: end center !important;
}

.center-grid {
    display: grid !important;
    place-items: center !important;
}

.w-33 {
    width: 33% !important;
}

.font-slab {
    font-family: 'Roboto Slab', serif !important;
}

.fw-medium {
    font-weight: 500 !important;
}

.cursor-pointer {
    cursor: pointer !important;
}

.section-shell {
    padding: 4.5rem 0;
}

.section-shell--cream {
    background-color: var(--brand-cream-deep);
}

.section-shell--tight {
    padding: 3rem 0;
}

.section-kicker {
    margin-bottom: 0.75rem;
    color: var(--brand-blue);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.section-heading {
    color: var(--brand-text);
    font-size: clamp(2rem, 1.55rem + 2vw, 3.3rem);
    line-height: 1.12;
    margin-bottom: 1rem;
}

.section-copy {
    max-width: 760px;
    margin-inline: auto;
}

.surface-card {
    background: #ffffff;
    border: 1px solid var(--brand-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

/* ---------- BUTTONS ---------- */
.btn-brand,
.btn-soft {
    border-radius: 999px;
    padding: 0.85rem 1.4rem;
    font-weight: 700;
    transition: transform var(--transition), box-shadow var(--transition), background-color var(--transition), color var(--transition), border-color var(--transition);
}

.btn-brand {
    background-color: var(--brand-blue);
    border: 1px solid var(--brand-blue);
    color: #ffffff;
    box-shadow: 0 10px 26px rgba(28, 66, 103, 0.22);
}

.btn-brand:hover,
.btn-brand:focus {
    background-color: var(--brand-blue-dark);
    border-color: var(--brand-blue-dark);
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-soft {
    background-color: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #ffffff;
    backdrop-filter: blur(6px);
}

.btn-soft:hover,
.btn-soft:focus {
    background-color: #ffffff;
    border-color: #ffffff;
    color: var(--brand-blue);
    transform: translateY(-2px);
}

/* ---------- HERO ---------- */
.hero-banner {
    position: relative;
    overflow: hidden;
    background: var(--brand-text);
}

.hero-banner__image {
    width: 100%;
    height: 72svh;
    object-fit: cover;
    object-position: center;
    filter: saturate(1.04) contrast(1.02);
}



.hero-banner__content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
}

.hero-banner__panel {
    max-width: 860px;
    padding: clamp(1.5rem, 2vw + 1rem, 3rem);
    border-radius: var(--radius-lg);
    background: rgba(0, 0, 0, 0.24);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(8px);
}

.hero-banner__eyebrow {
    color: #f2e9dd;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-banner__title {
    margin: 0;
    color: #ffffff;
    font-size: clamp(2.2rem,3vw, 3.7rem);
    line-height: 1.05;
    text-shadow: 6px 6px 20px rgba(0, 0, 0, 0.78);
    font-weight: bolder;
}

.hero-banner__subtitle {
    margin: 0 auto;
    max-width: 700px;
    color: #ffffff;
    font-size: clamp(1.05rem, 0.95rem + 0.7vw, 1.45rem);
    text-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

/* ---------- INTRO / MILESTONE ---------- */
.intro-copy {
    max-width: 900px;
    margin-inline: auto;
}

.milestone-card {
    border: 1px solid rgba(76, 100, 52, 0.16);
    border-radius: 24px;
    background: linear-gradient(180deg, #ffffff 0%, #fcfaf6 100%);
    box-shadow: var(--shadow-md);
}

.milestone-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: rgba(76, 100, 52, 0.12);
    color: var(--brand-sage);
    font-weight: 700;
    font-size: 0.95rem;
}

/* ---------- FOCUS / CAROUSEL ---------- */
.focus-wrap {
    margin-top: 2rem;
}

.focus-carousel {
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid rgba(43, 36, 30, 0.08);
    box-shadow: var(--shadow-md);
    background: #eadfce;
}

.focus-carousel .carousel-inner {
    border-radius: 24px;
}

.focus-carousel .carousel-item {
    height: 700px;
}

.focus-carousel__image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: var(--brand-cream-deep);
}

.focus-carousel .carousel-indicators {
    margin-bottom: 1rem;
}

.focus-carousel .carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-inline: 0.25rem;
    color: #111111;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-size: 65% 65%;
    filter: brightness(0) invert(1);
}

.focus-carousel .carousel-control-prev,
.focus-carousel .carousel-control-next {
    width: 12%;
}

/* ---------- VALUE CARDS ---------- */
.value-card {
    height: 100%;
    background: #ffffff;
    border: 1px solid var(--brand-border);
    border-radius: 22px;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.value-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: rgba(28, 66, 103, 0.18);
}

.value-card__body {
    padding: 1.6rem;
}

.value-card__title {
    margin-bottom: 0.35rem;
    color: var(--brand-text);
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.value-card__subtitle {
    color: var(--brand-blue);
    font-weight: 700;
    margin-bottom: 1rem;
}

.value-card__divider {
    width: 72px;
    border: 0;
    border-top: 3px solid var(--brand-sage);
    opacity: 1;
    margin: 0 0 1rem;
}

/* ---------- FEATURE CARDS ---------- */
.feature-card {
    overflow: hidden;
    border: 1px solid var(--brand-border);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.feature-card__media {
    height: 100%;
    min-height: 260px;
    background: #ffffff;
}

.feature-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-card__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    padding: 1.75rem;
}

.feature-card__title {
    color: var(--brand-text);
    font-size: 1.55rem;
    margin-bottom: 0.65rem;
}

.feature-card__text {
    color: #222222;
    margin-bottom: 1.25rem;
}

/* ---------- EXISTING CARD STYLE CLEANUP ---------- */
.cardl {
    border-radius: 20px;
    background: #fff;
    border: 1px solid var(--brand-border);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
    padding: 0;
    cursor: pointer;
}

.cardl:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

/* ---------- QUOTE / LOGO ---------- */
.quote-div {
    background-color: rgba(220, 189, 175, 0.45);
    color: #111111;
    text-align: center;
    padding: 24px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    margin: 20px auto;
    max-width: 800px;
}

.closing-quote {
    font-size: 1.25rem;
    color: var(--brand-text);
}

.logo-wrap img {
    width: min(280px, 60vw);
    height: auto;
    margin-inline: auto;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.08));
}

/* ---------- TIMELINE ---------- */
@media (max-width: 768px) {
    #timeline .inner-container {
        margin-left: 5%;
        margin-right: 5%;
    }
}

@media (min-width: 769px) {
    #timeline .inner-container {
        margin-left: 30%;
        margin-right: 30%;
    }
}

/* ---------- MEDIA QUERIES ---------- */
@media (min-width: 768px) {
    .w-md-25 {
        width: 25% !important;
    }
}

@media (max-width: 767.98px) {
    body {
        padding-top: 88px;
    }

    .section-shell {
        padding: 3.5rem 0;
    }

    .hero-banner__image {
        height: 82vh;
    }

    .hero-banner__panel {
        padding: 1.5rem 1.2rem;
    }

    .feature-card__media {
        min-height: 220px;
    }

    .feature-card__body {
        padding: 1.4rem;
    }
    .hero-banner__subtitle{
        display: none;
    }
}

    .theme-dark { color: #2b241e; }
    .theme-light { background-color: #dcbdaf; }
    .btn-theme { background-color: #693b2f; color: white; }
    .btn-theme:hover { background-color: #9c5c50; color: white; }
    .card-border { border: 2px solid #b49a8d; }

    .finalists-card {
        border-radius: 20px;
        box-shadow: 0 10px 30px rgba(43, 36, 30, 0.08);
    }

    .finalists-pill {
        display: inline-block;
        background-color: #693b2f;
        color: #fff;
        padding: 0.45rem 0.9rem;
        border-radius: 999px;
        font-size: 0.85rem;
        font-weight: 600;
        letter-spacing: 0.03em;
    }

    .finalist-name {
        display: inline-block;
        background-color: #f6ede8;
        color: #2b241e;
        border: 1px solid #b49a8d;
        padding: 0.55rem 1rem;
        border-radius: 999px;
        font-weight: 600;
    }



    .finalist-name {
    display: inline-block;
    background-color: #f6ede8;
    color: #2b241e;
    border: 1px solid #b49a8d;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    font-weight: 600;
    transition: all 0.25s ease;
}

.finalist-name:hover {
    background-color: #ead8cf;
    color: #693b2f;
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 8px 16px rgba(43, 36, 30, 0.12);
    border-color: #9c5c50;
}

.finalists-pill,
.finalist-name {
    cursor: pointer;
}