
:root {
    --sh-blue: #005271;
    --sh-blue-dark: #254b5c;
    --sh-blue-soft: #e9f0f3;
    --sh-text: #1f2c33;
    --sh-muted: #6d7a80;
    --sh-white: #ffffff;
}

body {
    background: #ffffff;
}

.sociohub-landing {
    max-width: 1180px;
    margin: 0 auto;
    background: #ffffff;
    color: var(--sh-text);
    font-family: Arial, Helvetica, sans-serif;
    position: relative;
}

/* Topbar */
.sh-topbar {
    background: var(--sh-blue-dark);
    color: #ffffff;
    height: 42px;
}

.sh-topbar-inner {
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 28px;
}

.sh-logo-small img {
    height: 28px;
    width: auto;
}

.sh-mainnav {
    display: flex;
    gap: 26px;
    align-items: center;
}

.sh-mainnav a,
.sh-usernav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 700;
}

.sh-usernav {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
}

.sh-lang {
    background: #8ea63a;
    padding: 3px 7px;
    border-radius: 2px;
    margin-left: 8px;
    color: #fff;
}

/* Hero */
.sh-hero {
    min-height: 300px;
    background:
        /*linear-gradient(rgba(0, 82, 113, 0.72), rgba(0, 82, 113, 0.72)),*/
        url('../img/landingpage/2.png') center center / cover no-repeat;
}

.sh-hero-overlay {
    min-height: 300px;
    display: flex;
    align-items: center;
    padding: 50px 72px;
}

.sh-hero-content h1 {
    color: #ffffff;
    font-size: 43px;
    line-height: 1.22;
    letter-spacing: 7px;
    font-weight: 800;
    margin: 0 0 26px;
}

.sh-hero-content p {
    color: #ffffff;
    font-size: 19px;
    line-height: 1.45;
    margin: 0;
}

/* Stats */
.sh-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
    padding: 30px 78px;
    background: #ffffff;
}

.sh-stat {
    background: var(--sh-blue);
    color: #ffffff;
    text-align: center;
    padding: 14px 10px 12px;
    border-radius: 2px;
}

.sh-stat strong {
    display: block;
    font-size: 25px;
    line-height: 1;
    margin-bottom: 4px;
}

.sh-stat span {
    display: block;
    font-size: 13px;
}

/* Brand */
.sh-brand {
    text-align: center;
    padding: 22px 20px 28px;
}

.sh-brand img {
    max-width: 260px;
    height: auto;
}

/* Features */
.sh-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 34px;
    padding: 10px 42px 18px;
}

.sh-feature-card {
    text-align: center;
}

.sh-feature-card img {
    height: 60px;
    width: auto;
    margin-bottom: 14px;
}

.sh-feature-card h2 {
    color: var(--sh-blue);
    font-size: 17px;
    font-weight: 800;
    margin: 0 0 8px;
}

.sh-feature-card p {
    color: var(--sh-text);
    font-size: 14px;
    line-height: 1.45;
    min-height: 100px;
    margin: 0 0 18px;
}

.sh-btn {
    display: inline-block;
    background: var(--sh-blue);
    color: #ffffff !important;
    border-radius: 3px;
    padding: 9px 22px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
    transition: background 0.2s ease, transform 0.2s ease;
}

.sh-btn:hover,
.sh-btn:focus {
    background: #003f57;
    transform: translateY(-1px);
}

/* Dots */
.sh-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 16px 0 26px;
}

.sh-dots button {
    width: 16px;
    height: 16px;
    background: #c5cbd0;
    border-radius: 50%;
    display: inline-block;
}

.sh-dots button.active {
    background: var(--sh-blue);
}

/* Search */
.sh-search-section {
    background: var(--sh-blue-soft);
    text-align: center;
    padding: 34px 20px 44px;
}

.sh-section-icon img {
    height: 68px;
    width: auto;
    margin-bottom: 10px;
}

.sh-search-section h2 {
    color: var(--sh-blue);
    font-size: 21px;
    font-weight: 800;
    margin: 0 0 5px;
}

.sh-search-section p {
    font-size: 14px;
    margin: 0 0 22px;
}

.sh-search-form {
    max-width: 760px;
    margin: 0 auto;
    position: relative;
}

.sh-search-form form {
    position: relative;
}

.sh-search-input {
    height: 39px;
    border: 3px solid var(--sh-blue);
    border-radius: 30px;
    padding: 0 58px 0 24px;
    box-shadow: none;
    font-size: 14px;
}

.sh-search-button {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 0;
    background: var(--sh-blue);
    color: #ffffff;
    position: absolute;
    top: -1px;
    right: -1px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* News */
.sh-news {
    background: #f4f6f7;
    text-align: center;
    padding: 34px 20px 38px;
}

.sh-news h2,
.sh-service h2,
.sh-partners h2 {
    font-size: 19px;
    font-weight: 800;
    color: var(--sh-blue);
    margin: 0 0 20px;
}

.sh-news-card {
    max-width: 700px;
    margin: 0 auto 18px;
    background: #ffffff;
    border: 1px solid #e2e5e8;
    text-align: left;
    padding: 18px 22px;
}

.sh-news-header {
    display: flex;
    justify-content: space-between;
    color: var(--sh-muted);
    font-size: 13px;
    margin-bottom: 10px;
}

.sh-news-card h3 {
    color: var(--sh-text);
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 8px;
}

.sh-news-card p {
    margin: 0;
    color: var(--sh-muted);
}

.sh-more-link {
    color: var(--sh-blue);
    font-size: 14px;
    text-decoration: none;
}

/* Service */
.sh-service {
    text-align: center;
    padding: 38px 20px 36px;
}

.sh-video-wrap {
    width: 100%;
    max-width: 650px;
    margin: 0 auto 18px;
    aspect-ratio: 16 / 9;
    background: #dfe7eb;
    overflow: hidden;
}

.sh-video-wrap iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.sh-service-meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
    margin: 14px 0 22px;
    color: var(--sh-text);
    font-size: 14px;
}

.sh-service-meta span:not(:last-child)::after {
    content: "•";
    margin: 0 10px;
    color: var(--sh-blue);
}

.sh-btn-wide {
    min-width: 190px;
}

/* Partners */
.sh-partners {
    text-align: center;
    padding: 10px 20px 40px;
}

.sh-partner-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 58px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.sh-partner-row img {
    max-height: 64px;
    max-width: 210px;
    object-fit: contain;
}

.sh-funded img {
    max-height: 76px;
}

/* Footer */
.sh-footer {
    background: var(--sh-blue-dark);
    color: #ffffff;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
    padding: 17px 12px;
}

.sh-footer a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
}

.sh-footer a:not(:last-child)::after {
    content: "|";
    margin: 0 10px;
    color: #d7e0e4;
}

/* Feedback tab */
.sh-feedback {
    position: fixed;
    right: 0;
    top: 58%;
    transform: translateY(-50%) rotate(-90deg);
    transform-origin: right bottom;
    background: var(--sh-blue);
    color: #ffffff !important;
    text-decoration: none !important;
    padding: 10px 16px;
    border-radius: 4px 4px 0 0;
    font-size: 13px;
    font-weight: 700;
    z-index: 1000;
}

/* Responsive */
@media (max-width: 991px) {
    .sh-mainnav {
        display: none;
    }

    .sh-stats,
    .sh-features {
        grid-template-columns: repeat(2, 1fr);
    }

    .sh-hero-overlay {
        padding: 45px 34px;
    }

    .sh-hero-content h1 {
        font-size: 34px;
        letter-spacing: 4px;
    }
}

@media (max-width: 640px) {
    .sh-topbar {
        height: auto;
    }

    .sh-topbar-inner {
        height: auto;
        padding: 12px 15px;
        gap: 12px;
        flex-direction: column;
    }

    .sh-usernav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .sh-hero,
    .sh-hero-overlay {
        min-height: 260px;
    }

    .sh-hero-overlay {
        padding: 36px 24px;
    }

    .sh-hero-content h1 {
        font-size: 27px;
        letter-spacing: 3px;
    }

    .sh-stats,
    .sh-features {
        grid-template-columns: 1fr;
        padding-left: 24px;
        padding-right: 24px;
    }

    .sh-feature-card p {
        min-height: auto;
    }

    .sh-partner-row {
        gap: 30px;
    }

    .sh-feedback {
        display: none;
    }
}

.sh-features-slider {
    position: relative;
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 55px;
}

.sh-features-wrapper {
    overflow: hidden;
    width: 100%;
}

.sh-features-track {
    display: flex;
    transition: transform 0.45s ease;
}

.sh-feature-card {
    min-width: 100%;
    box-sizing: border-box;
    background: #fff;
    border-radius: 18px;
    padding: 35px 30px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.sh-feature-card img {
    max-width: 90px;
    margin-bottom: 20px;
}

.sh-feature-card h2 {
    margin-bottom: 15px;
}

.sh-feature-card p {
    max-width: 650px;
    margin: 0 auto 25px;
}

.sh-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: #004b76;
    color: #fff;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
}

.sh-prev {
    left: 0;
}

.sh-next {
    right: 0;
}

.sh-slider-btn:hover {
    background: #006fa8;
}

.sh-dots {
    text-align: center;
    margin-top: 20px;
}

.sh-dots span {
    display: inline-block;
    width: 11px;
    height: 11px;
    margin: 0 5px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
}

.sh-dots span.active {
    background: #004b76;
}

@media (min-width: 768px) {
    .sh-feature-card {
        min-width: 50%;
    }
}

@media (min-width: 1100px) {
    .sh-feature-card {
        min-width: 33.333%;
    }
}

/* HumHub 1.18 / Bootstrap 5 landing page slider */
.sociohub-landing { width: 100%; }
.sh-features-slider { position: relative; max-width: 1180px; margin: 20px auto 0; padding: 0 55px; }
.sh-features-wrapper { overflow: hidden; width: 100%; }
.sh-features-track { display: flex; transition: transform 0.45s ease; will-change: transform; }
.sh-feature-card { flex: 0 0 100%; min-width: 100%; box-sizing: border-box; background: #fff; border-radius: 18px; padding: 35px 30px; text-align: center; box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08); }
.sh-feature-card img { max-width: 90px; max-height: 72px; height: auto; margin-bottom: 20px; }
.sh-feature-card h2 { margin-bottom: 15px; }
.sh-feature-card p { max-width: 650px; margin: 0 auto 25px; min-height: 112px; }
.sh-slider-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border: none; border-radius: 50%; background: var(--sh-blue); color: #fff; font-size: 32px; line-height: 1; cursor: pointer; z-index: 2; }
.sh-prev { left: 0; }
.sh-next { right: 0; }
.sh-slider-btn:hover, .sh-slider-btn:focus { background: #006fa8; }
.sh-dots { display: flex; justify-content: center; gap: 10px; padding: 16px 0 26px; }
.sh-dots button { width: 12px; height: 12px; border: 0; padding: 0; border-radius: 50%; background: #c5cbd0; cursor: pointer; }
.sh-dots button.active { background: var(--sh-blue); }
@media (min-width: 768px) { .sh-feature-card { flex-basis: 50%; min-width: 50%; } }
@media (min-width: 1100px) { .sh-feature-card { flex-basis: 33.333333%; min-width: 33.333333%; } }
@media (max-width: 640px) { .sh-features-slider { padding: 0 44px; } .sh-feature-card p { min-height: auto; } }
