:root {
    --primary: #1b5f8c;
    --primary-soft: rgba(27, 95, 140, 0.12);
    --primary-strong: rgba(27, 95, 140, 0.9);
    --primary-dark: #154466;
    --bg: #0b1720;
    --text: #f9fafb;
    --muted: #cbd5f5;
    --surface: #ffffff;
    --brand: #1b5f8c;
    --ink: #0f172a;
}

.color-primary {
    color: var(--primary);
}

body {
    padding-top: 72px;
    padding-bottom: 40px;
}

/* Shadow for the fixed navbar */
.shadow-nav {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Custom navbar color */
.navbar-stimmtso {
    background-color: var(--primary);
}

/* Brand image sizing */
.navbar-stimmtso .navbar-brand img {
    max-height: 40px;
}

/* Links: spacing & transitions */
.navbar-stimmtso .navbar-nav .nav-link {
    color: #ffffff;
    font-weight: 400;
    padding: 0.5rem 0.85rem;
    position: relative;
    transition: color 0.2s ease, font-weight 0.2s ease;
}

/* Hover / focus styles */
.navbar-stimmtso .navbar-nav .nav-link:hover,
.navbar-stimmtso .navbar-nav .nav-link:focus {
    font-weight: 600;
    color: #f8f9fa;
}

/* Ensure visited stays white */
.navbar-stimmtso .navbar-nav .nav-link:visited {
    color: #ffffff;
}

/* Active link weight */
.navbar-stimmtso .navbar-nav .nav-link.active {
    font-weight: 600;
}

/* Animated underline */
.navbar-stimmtso .navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 0.85rem;
    right: 0.85rem;
    bottom: 0.2rem;
    height: 2px;
    background-color: #ffffff;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.2s ease-out;
}

.navbar-stimmtso .navbar-nav .nav-link:hover::after,
.navbar-stimmtso .navbar-nav .nav-link:focus::after,
.navbar-stimmtso .navbar-nav .nav-link.active::after {
    transform: scaleX(1);
}

/* Toggler contrast */
.navbar-stimmtso .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
}

.navbar-stimmtso .navbar-toggler-icon {
    filter: brightness(2);
}

/* HERO */
.hero-chor {
    background: radial-gradient(circle at top left, #F9E5FF 0, #1B5F8C 45%, #081B33 100%);
    color: #ffffff;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.25);
}

.hero-lead-text {
    color: rgba(255, 255, 255, 0.9);
}

.hero-logo-card2 {
    background-color: #ffffff;
    border-radius: 1.25rem;
    padding: 1rem 1.5rem;
}

.hero-logo-card {
    background-color: #f8f9fa;
    border-radius: 1.25rem;
    padding: 1.25rem 2rem;
    backdrop-filter: blur(4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.hero-logos {
    justify-content: center;
}

.hero-logo-img {
    max-height: 200px;
    object-fit: contain;
    filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.35));
}

.hero-blob {
    position: absolute;
    border-radius: 999px;
    opacity: 0.25;
    filter: blur(6px);
    pointer-events: none;
}

.hero-blob-1 {
    width: 220px;
    height: 220px;
    background: #FF9F80;
    top: -60px;
    right: -40px;
}

.hero-blob-2 {
    width: 180px;
    height: 180px;
    background: #6FFFE9;
    bottom: -50px;
    left: -40px;
}

.hero-icon {
    position: absolute;
    font-size: 2.8rem;
    color: rgba(255, 255, 255, 0.35);
    pointer-events: none;
}

.hero-icon-1 {
    top: 18%;
    right: 12%;
}

.hero-icon-2 {
    bottom: 18%;
    left: 8%;
}

.hero-logos-bar {
    margin-top: -0.5rem;
    padding: 1.75rem 0 2rem;
    background-color: #ffffff;
    border-radius: 0 0 1.5rem 1.5rem;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

@media (max-width: 767.98px) {
    .hero-chor {
        text-align: center;
    }

    .hero-logo-img {
        max-height: 130px;
    }

    .hero-icon {
        display: none;
    }

    .hero-logos-bar {
        margin-top: -1rem;
        border-radius: 0 0 1rem 1rem;
    }
}

.card-header-chor {
    background-color: #1B5C8C;
}

.row-wide-gap {
    --bs-gutter-x: 4rem;
}

/* Side bar */
.card {
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    /* Slight lift */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    /* More prominent shadow */
}

.card-footer a {
    color: #1B5F8C !important;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-decoration: none;
}

.card-footer a:hover {
    font-weight: bold;
    transform: scale(1.05);
    text-decoration: none;
}

.card-header {
    font-weight: bold;
    letter-spacing: 1px;
}


/* Questions */
.list-group-item {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 10px;
}

.list-group-item i {
    font-size: 1.2rem;
    vertical-align: middle;
}

.list-group-item strong {
    color: #1B5F8C;
}

.list-group-item p {
    color: #333;
    line-height: 1.6;
}

/*
    Footer
*/

.site-footer {
    background: #f9f9f9;
    color: #1B5F8C;
    text-align: center;
    padding-top: 5px;
    padding-bottom: 5px;
    border: 2px solid #ddd;
    font-size: 0.9rem;
}

.footer-content {
    color: #1B5F8C;
}

.footer-content a {
    color: #1B5F8C;
    text-decoration: none;
    transition: font-weight 0.2s ease-in-out;
}

.footer-content a:hover {
    font-weight: bold;
}

.footer-logo-img {
    height: 36px;
    width: auto;
    border-radius: 4px;
    object-fit: contain;
}

@media (max-width: 768px) {
    .site-footer {
        position: relative;
    }

    .footer-logo-img {
        height: 40px;
    }

    .text-center {
        text-align: center !important;
    }
}

/* Media teaser */
/* Section background: subtle continuation of hero feeling */
.media-chor {
    background: linear-gradient(135deg,
            #081b33 0%,
            #1b5f8c 55%,
            #0b1726 100%);
    color: #ffffff;
}

/* Card inside, similar to hero-logo-card style but dark */
.media-chor-inner {
    position: relative;
    border-radius: 1.5rem;
    background: radial-gradient(circle at top left,
            rgba(255, 255, 255, 0.12) 0,
            rgba(8, 27, 51, 0.9) 52%,
            rgba(8, 27, 51, 0.98) 100%);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
    overflow: hidden;
}

.media-chor-inner::before,
.media-chor-inner::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    filter: blur(10px);
    opacity: 0.22;
    pointer-events: none;
}

.media-chor-inner::before {
    width: 190px;
    height: 190px;
    background: #ff9f80;
    top: -60px;
    right: -40px;
}

.media-chor-inner::after {
    width: 170px;
    height: 170px;
    background: #6fffe9;
    bottom: -50px;
    left: -40px;
}

.media-chor-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    opacity: 0.9;
}

.media-chor-heading {
    font-weight: 700;
    letter-spacing: 0.2px;
    line-height: 1.2;
    margin-top: 0.25rem;
    margin-bottom: 0.4rem;
    color: #ffffff;
}

@media (min-width: 992px) {
    .media-chor-heading {
        font-size: 1.8rem;
    }
}

@media (max-width: 991.98px) {
    .media-chor-heading {
        font-size: 1.5rem;
    }
}

.media-chor-copy {
    color: rgba(255, 255, 255, 0.86);
    line-height: 1.6;
}

.media-chor-btn {
    background: #4fa5e0;
    background: linear-gradient(135deg,
            color-mix(in srgb, var(--primary) 35%, white 65%),
            #6fffe9);
    color: #041014;
    border-color: rgba(255, 255, 255, 0.85);

    padding: 0.9rem 2.3rem;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.9rem;

    box-shadow:
        0 0 0 2px rgba(0, 0, 0, 0.25),
        0 18px 48px rgba(0, 0, 0, 0.6);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    white-space: nowrap;
}

.media-chor-btn::after {
    content: "➜";
    font-size: 0.95rem;
}

.media-chor-btn:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
    box-shadow:
        0 0 0 2px rgba(255, 255, 255, 0.75),
        0 22px 60px rgba(0, 0, 0, 0.75);
}


.media-chor-btn::after {
    content: "➜";
    font-size: 0.9rem;
}

.media-chor-btn:hover {
    filter: brightness(1.03);
    transform: translateY(-1px);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.55);
}

@media (max-width: 767.98px) {
    .media-chor {
        text-align: center;
    }

    .media-chor-btn {
        width: 100%;
        margin-top: 0.75rem;
    }
}

.prominent-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease, border-bottom-color 0.2s ease;
}

.prominent-link:hover,
.prominent-link:focus {
    color: #164d72; 
    text-decoration: none;
    border-bottom: 2px solid var(--primary);;
}

.highlight-box {
  background: linear-gradient(180deg, #ffffff 0%, #f6faf6 100%);
  border: 2px solid var(--brand);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 6px 20px rgba(0,0,0,0.05);
  transition: transform .3s ease;
}

.highlight-box:hover {
  transform: translateY(-4px);
}