/* Public frontpage — Character HUB / PositiveCampus style */
.home-body {
    font-family: "DM Sans", system-ui, -apple-system, sans-serif;
    color: #0f172a;
    background: #f8fafc;
}

.home-header {
    position: sticky;
    top: 0;
    z-index: 1030;
}

.home-nav {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 55%, #0ea5e9 100%);
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
    box-shadow: 0 4px 24px rgba(30, 58, 138, 0.25);
}

.home-nav .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.45);
}

.home-nav .navbar-toggler-icon {
    filter: invert(1);
}

.home-brand {
    color: #fff !important;
    font-weight: 700;
    font-size: 1.2rem;
    text-decoration: none;
}

.home-nav .nav-link {
    color: rgba(255, 255, 255, 0.92) !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.35rem 0.75rem !important;
    border-radius: 999px;
}

.home-nav .nav-link:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.12);
}

.home-nav-btn {
    font-weight: 600;
    border-radius: 999px;
    padding-left: 1rem;
    padding-right: 1rem;
}

.home-nav-btn--primary {
    color: #1d4ed8 !important;
}

.home-hero {
    position: relative;
    min-height: clamp(420px, 72vh, 640px);
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 45%, #0ea5e9 100%);
    overflow: hidden;
}

.home-hero--image {
    background-size: cover;
    background-position: center;
}

.home-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.72) 0%, rgba(37, 99, 235, 0.55) 100%);
}

.home-hero-inner {
    position: relative;
    z-index: 1;
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.home-hero-content {
    max-width: 640px;
    color: #fff;
}

.home-hero-kicker {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.78rem;
    font-weight: 600;
    opacity: 0.85;
    margin-bottom: 0.75rem;
}

.home-hero-title {
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    font-weight: 700;
    line-height: 1.08;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.home-hero-subtitle {
    font-size: clamp(1.05rem, 2.5vw, 1.35rem);
    opacity: 0.92;
    margin-bottom: 1.75rem;
    line-height: 1.5;
}

.home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.home-cta {
    font-weight: 600;
    color: #1d4ed8 !important;
    border-radius: 999px;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.home-section {
    padding: 4rem 0;
}

.home-section--alt {
    background: #fff;
}

.home-section--contact {
    padding-bottom: 5rem;
}

.home-section-title {
    font-size: clamp(1.65rem, 3vw, 2.25rem);
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1rem;
}

.home-section-lead {
    color: #64748b;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.home-about-text {
    color: #475569;
    font-size: 1.05rem;
    line-height: 1.75;
    white-space: pre-wrap;
}

.home-about-image-wrap {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.12);
}

.home-about-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 4 / 3;
}

.home-value-card {
    background: #fff;
    border-radius: 1rem;
    padding: 1.5rem;
    height: 100%;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.07);
    border-top: 4px solid var(--value-accent, #2563eb);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-value-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.1);
}

.home-value-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    background: color-mix(in srgb, var(--value-accent, #2563eb) 15%, white);
    color: var(--value-accent, #2563eb);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.home-value-name {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.home-value-desc {
    color: #64748b;
    margin-bottom: 0;
    line-height: 1.6;
}

.home-contact-card {
    background: linear-gradient(135deg, #eff6ff 0%, #f0f9ff 100%);
    border-radius: 1.25rem;
    padding: 2.5rem;
    border: 1px solid #dbeafe;
    max-width: 720px;
    margin: 0 auto;
}

.home-contact-email {
    font-weight: 600;
    color: #2563eb;
    text-decoration: none;
}

.home-contact-email:hover {
    text-decoration: underline;
}

.home-footer {
    background: #0f172a;
    color: rgba(255, 255, 255, 0.75);
    padding: 1.5rem 0;
    font-size: 0.9rem;
}

.home-footer a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
}

.home-footer a:hover {
    color: #fff;
    text-decoration: underline;
}

@media (max-width: 991.98px) {
    .home-nav .navbar-collapse {
        background: rgba(15, 23, 42, 0.15);
        border-radius: 0.75rem;
        padding: 0.75rem;
        margin-top: 0.75rem;
    }

    .home-nav-btn {
        width: 100%;
        margin-top: 0.35rem;
    }
}
