/* SolarBoard Ltd homepage: Serinic-inspired dark system, scoped to homepage components. */
:root {
    --kor-blue: #1769ff;
    --kor-blue-bright: #4ba3ff;
    --kor-blue-deep: #08285f;
    --kor-ink: #05070b;
    --kor-surface: #0a0d13;
    --kor-line: rgba(255, 255, 255, 0.16);
}

body {
    background: var(--kor-ink);
}

.topbar-area.home-page-four {
    background: rgba(5, 7, 11, 0.96) !important;
    border-bottom-color: rgba(75, 163, 255, 0.14) !important;
}

.topbar-area .info-items li i,
.topbar-area .social-link a:hover {
    color: var(--kor-blue-bright) !important;
}

#fhDesktopNav {
    padding: 12px 0;
}

#fhDesktopNav.fh-dn-scrolled {
    background: rgba(5, 7, 11, 0.82) !important;
    border-bottom-color: rgba(75, 163, 255, 0.14) !important;
}

#fhDesktopNav::before {
    background: radial-gradient(circle, rgba(23, 105, 255, 0.14), transparent 68%) !important;
}

#fhDesktopNav .fh-dn-inner {
    height: 86px;
    max-width: 1460px;
}

#fhDesktopNav .fh-dn-logo {
    margin-right: 42px;
}

#fhDesktopNav .fh-dn-divider {
    display: none;
}

#fhDesktopNav .fh-dn-links {
    flex: 0 1 auto;
    justify-content: center;
    gap: 4px;
    padding: 13px 24px;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(22px) saturate(130%);
    -webkit-backdrop-filter: blur(22px) saturate(130%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.13), 0 18px 48px rgba(0, 0, 0, 0.2);
}

#fhDesktopNav .fh-dn-links > li > a {
    color: rgba(255, 255, 255, 0.9) !important;
    padding: 9px 15px;
}

#fhDesktopNav .fh-dn-links > li > a::before {
    background: rgba(23, 105, 255, 0.2) !important;
}

#fhDesktopNav .fh-dn-links > li > a::after {
    background: linear-gradient(90deg, var(--kor-blue), var(--kor-blue-bright)) !important;
}

#fhDesktopNav .fh-dn-actions {
    margin-left: 42px;
}

#fhDesktopNav .fh-dn-wa {
    min-height: 54px;
    padding: 0 26px !important;
    border-color: rgba(75, 163, 255, 0.5) !important;
    background: linear-gradient(135deg, var(--kor-blue), #0e4fc8) !important;
    color: #fff !important;
    box-shadow: 0 12px 34px rgba(23, 105, 255, 0.28) !important;
}

#fhDesktopNav .fh-dn-wa:hover {
    border-color: var(--kor-blue-bright) !important;
    box-shadow: 0 16px 42px rgba(23, 105, 255, 0.42) !important;
}

.fh-hero-swiper-section {
    background: var(--kor-ink);
}

.fh-hero-swiper-section .fh-hero-swiper,
.fh-hero-swiper-section .fh-hero-inner {
    min-height: 760px;
}

.fh-hero-swiper-section .fh-hero-overlay {
    background:
        linear-gradient(90deg, rgba(5, 7, 11, 0.95) 0%, rgba(5, 7, 11, 0.74) 43%, rgba(5, 7, 11, 0.22) 74%, rgba(5, 7, 11, 0.36) 100%),
        linear-gradient(0deg, rgba(5, 7, 11, 0.55), transparent 45%) !important;
}

.kor-hero-row {
    min-height: 100vh;
    align-items: center;
    padding-top: 80px;
}

.fh-hero-swiper-section .fh-hero-text-wrap {
    max-width: 980px;
    padding-top: 105px;
}

.fh-hero-swiper-section .fh-hero-eyebrow {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.24);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
    letter-spacing: 1.4px;
    padding: 9px 17px;
}

.fh-hero-swiper-section .fh-hero-eyebrow::before {
    content: '\f0e7';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    margin-right: 9px;
    border-radius: 50%;
    background: var(--kor-blue);
    color: #fff;
}

.fh-hero-swiper-section .fh-hero-headline {
    max-width: 930px;
    font-size: clamp(4rem, 6.8vw, 7.4rem);
    line-height: 0.94;
    letter-spacing: -0.065em;
    margin-bottom: 34px;
    text-wrap: balance;
}

.fh-hero-swiper-section .fh-hero-body {
    max-width: 560px;
    margin-left: 250px;
    font-size: 1.08rem;
    line-height: 1.7;
}

.fh-hero-swiper-section .fh-hero-btn {
    margin-left: 250px;
    background: linear-gradient(135deg, var(--kor-blue-bright), var(--kor-blue)) !important;
    color: #fff !important;
    box-shadow: 0 12px 36px rgba(23, 105, 255, 0.32) !important;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.fh-hero-swiper-section .fh-hero-btn:hover {
    background: linear-gradient(135deg, #68b4ff, #1769ff) !important;
    box-shadow: 0 16px 48px rgba(23, 105, 255, 0.48) !important;
}

.fh-hero-swiper-section .fh-hero-social {
    margin-left: 250px;
}

/* Keep admin slide copy readable throughout Swiper's fade lifecycle. */
.fh-hero-swiper-section .fh-hero-eyebrow,
.fh-hero-swiper-section .fh-hero-headline,
.fh-hero-swiper-section .fh-hero-body,
.fh-hero-swiper-section .fh-hero-btn,
.fh-hero-swiper-section .fh-hero-social {
    opacity: 1 !important;
    transform: none !important;
}

.fh-hero-swiper-section .fh-hero-slide:not(.swiper-slide-active) .fh-hero-eyebrow,
.fh-hero-swiper-section .fh-hero-slide:not(.swiper-slide-active) .fh-hero-headline,
.fh-hero-swiper-section .fh-hero-slide:not(.swiper-slide-active) .fh-hero-body,
.fh-hero-swiper-section .fh-hero-slide:not(.swiper-slide-active) .fh-hero-btn,
.fh-hero-swiper-section .fh-hero-slide:not(.swiper-slide-active) .fh-hero-social {
    opacity: 0 !important;
    visibility: hidden;
}

.fh-hero-swiper-section .swiper-slide-active .fh-hero-eyebrow,
.fh-hero-swiper-section .swiper-slide-active .fh-hero-headline,
.fh-hero-swiper-section .swiper-slide-active .fh-hero-body,
.fh-hero-swiper-section .swiper-slide-active .fh-hero-btn,
.fh-hero-swiper-section .swiper-slide-active .fh-hero-social {
    animation: korHeroReveal 0.75s cubic-bezier(.2,.75,.25,1) both;
}

.fh-hero-swiper-section .swiper-slide-active .fh-hero-headline { animation-delay: 0.1s; }
.fh-hero-swiper-section .swiper-slide-active .fh-hero-body { animation-delay: 0.18s; }
.fh-hero-swiper-section .swiper-slide-active .fh-hero-btn { animation-delay: 0.26s; }
.fh-hero-swiper-section .swiper-slide-active .fh-hero-social { animation-delay: 0.34s; }

@keyframes korHeroReveal {
    from { opacity: 0; transform: translateY(22px); }
    to { opacity: 1; transform: translateY(0); }
}

.fh-hero-swiper-section .fh-hero-social a:hover,
.fh-hero-swiper-section .fh-hero-prev:hover,
.fh-hero-swiper-section .fh-hero-next:hover {
    background: var(--kor-blue) !important;
    border-color: var(--kor-blue-bright) !important;
    color: #fff !important;
}

.fh-hero-swiper-section .fh-hero-pagination .swiper-pagination-bullet-active,
.fh-hero-swiper-section .fh-hero-scroll-dot {
    background: var(--kor-blue-bright) !important;
}

.fh-hero-swiper-section .fh-hero-progress-fill {
    background: linear-gradient(90deg, var(--kor-blue), var(--kor-blue-bright)) !important;
}

.kor-hero-aside {
    align-items: flex-end;
    justify-content: flex-end;
    align-self: stretch;
    padding-top: 245px;
    padding-bottom: 128px;
}

.kor-hero-proof {
    width: 100%;
    max-width: 290px;
    padding: 12px 12px 20px;
    border: 1px solid rgba(255, 255, 255, 0.48);
    border-radius: 24px;
    background: linear-gradient(150deg, rgba(255, 255, 255, 0.24), rgba(23, 105, 255, 0.28));
    backdrop-filter: blur(22px) saturate(135%);
    -webkit-backdrop-filter: blur(22px) saturate(135%);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.28);
}

.kor-hero-proof-image {
    height: 168px;
    border-radius: 17px;
    background-size: cover;
    background-position: center;
    margin-bottom: 18px;
}

.kor-hero-proof-kicker {
    display: block;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.kor-hero-proof strong {
    display: block;
    margin: 3px 0 0;
    color: #fff;
    font-size: 2.25rem;
    line-height: 1;
}

.kor-hero-proof p {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 9px 0 16px;
}

.kor-hero-proof-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.kor-hero-proof-meta span {
    padding: 6px 9px;
    border-radius: 999px;
    background: rgba(5, 7, 11, 0.46);
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.7rem;
}

.kor-hero-proof-meta i {
    color: var(--kor-blue-bright);
    margin-right: 4px;
}

.fh-hero-deco-1 {
    background: rgba(23, 105, 255, 0.1) !important;
}

.fh-hero-deco-2 {
    background: rgba(75, 163, 255, 0.08) !important;
}

@media (max-width: 1199px) {
    #fhDesktopNav .fh-dn-inner { padding: 0 24px; }
    #fhDesktopNav .fh-dn-logo { margin-right: 20px; }
    #fhDesktopNav .fh-dn-actions { margin-left: 20px; }
    #fhDesktopNav .fh-dn-links { padding-inline: 13px; }
    #fhDesktopNav .fh-dn-links > li > a { padding-inline: 11px; }
    .fh-hero-swiper-section .fh-hero-body,
    .fh-hero-swiper-section .fh-hero-btn,
    .fh-hero-swiper-section .fh-hero-social { margin-left: 160px; }
}

@media (max-width: 991px) {
    .topbar-area.home-page-four {
        display: none !important;
    }

    #fhMainNav {
        top: 0 !important;
        min-height: 82px;
        padding: 0 !important;
        background: rgba(5, 7, 11, 0.9) !important;
        border-bottom: 1px solid rgba(75, 163, 255, 0.16);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
    }

    #fhMainNav .nav-container {
        position: relative;
        display: flex !important;
        align-items: center;
        width: 100%;
        min-height: 82px;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    #fhMainNav img.fh-hp-logo-img {
        height: 58px;
        max-height: 58px;
    }

    #fhMainNav .fh-hp-logo-wrapper {
        position: fixed !important;
        top: 23px !important;
        left: 18px !important;
        z-index: 10020 !important;
    }

    #fhMainNav .responsive-mobile-menu {
        position: fixed;
        top: 18px;
        right: 18px;
        z-index: 10010;
        display: flex !important;
        width: auto !important;
        margin: 0 !important;
    }

    body #fhHpMenuToggler {
        display: flex !important;
        position: fixed !important;
        top: 18px !important;
        right: 18px !important;
        z-index: 10020 !important;
        width: 46px !important;
        height: 46px !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        border-color: rgba(75, 163, 255, 0.4) !important;
        background: rgba(23, 105, 255, 0.14) !important;
    }

    body #fhHpMenuToggler .fh-bar,
    body #fhHpMenuToggler.open .fh-bar {
        background: var(--kor-blue-bright) !important;
    }

    .fh-hero-swiper-section .fh-hero-body,
    .fh-hero-swiper-section .fh-hero-btn,
    .fh-hero-swiper-section .fh-hero-social { margin-left: 0; }

    .fh-hero-swiper-section .fh-hero-headline {
        font-size: clamp(3.25rem, 10vw, 5.5rem);
    }
}

@media (max-width: 767px) {
    .kor-hero-row {
        min-height: 100svh;
        padding-top: 72px;
    }

    .fh-hero-swiper-section .fh-hero-text-wrap {
        padding-top: 76px;
    }

    .fh-hero-swiper-section .fh-hero-headline {
        max-width: 100%;
        font-size: clamp(2.75rem, 12vw, 3.6rem);
        line-height: 0.98;
        letter-spacing: -0.055em;
        margin-bottom: 26px;
        white-space: normal !important;
        overflow-wrap: break-word;
    }

    .fh-hero-swiper-section .fh-hero-body {
        width: 330px !important;
        max-width: 330px !important;
        font-size: 1rem;
        line-height: 1.65;
    }

    .fh-hero-swiper-section .fh-hero-btn {
        padding: 14px 26px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fh-hero-swiper-section .fh-hero-bg,
    .fh-hero-swiper-section .fh-hero-eyebrow,
    .fh-hero-swiper-section .fh-hero-headline,
    .fh-hero-swiper-section .fh-hero-body,
    .fh-hero-swiper-section .fh-hero-btn,
    .fh-hero-swiper-section .fh-hero-social {
        transition-duration: 0.01ms !important;
    }
}

/* Preserve GDPR behavior while bringing the panel into the KOR theme. */
#gdpr-cookie-message {
    background: rgba(8, 12, 20, 0.96) !important;
    border: 1px solid rgba(75, 163, 255, 0.42) !important;
    border-radius: 18px !important;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.48) !important;
    color: rgba(255, 255, 255, 0.82) !important;
}

#gdpr-cookie-message h4,
#gdpr-cookie-message p,
#gdpr-cookie-message a {
    color: inherit !important;
}

#gdpr-cookie-message a {
    color: var(--kor-blue-bright) !important;
}

#gdpr-cookie-message button#gdpr-cookie-accept {
    background: linear-gradient(135deg, var(--kor-blue-bright), var(--kor-blue)) !important;
    border-color: var(--kor-blue) !important;
    color: #fff !important;
}

#gdpr-cookie-message button#gdpr-cookie-advanced {
    background: #fff !important;
    border-color: #fff !important;
    color: #080c14 !important;
}

/* Desktop hero: a shared baseline, with room for the slider controls. */
.fh-hero-swiper-section .kor-hero-aside {
    flex-direction: column;
    align-items: stretch;
    gap: 26px;
    perspective: 1000px;
}

.kor-hero-proof {
    position: relative;
    isolation: isolate;
    padding: 30px 24px;
    overflow: hidden;
    transform: rotateX(var(--card-rx, 0deg)) rotateY(var(--card-ry, 0deg));
    transition: transform 350ms cubic-bezier(.2,.8,.2,1), border-color 350ms, box-shadow 350ms;
}

.kor-hero-proof::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    background: radial-gradient(circle at var(--card-x, 50%) var(--card-y, 30%), rgba(120,190,255,.28), transparent 65%);
    opacity: .35;
    transition: opacity 350ms;
}

.kor-hero-proof:hover {
    border-color: rgba(170,214,255,.85);
    box-shadow: 0 28px 65px rgba(0,0,0,.35), 0 0 32px rgba(23,105,255,.18);
}
.kor-hero-proof:hover::before { opacity: 1; }
.kor-hero-proof p { hyphens: none; word-break: normal; }
.swiper-slide-active .kor-hero-proof { animation: korProofEntrance 900ms cubic-bezier(.16,1,.3,1) both; }
@keyframes korProofEntrance {
    from { opacity: 0; translate: 0 24px; }
    to { opacity: 1; translate: 0 0; }
}

.kor-hero-partners { display: block; color: #fff; text-decoration: none; }
.kor-hero-partners:hover { color: #fff; text-decoration: none; }
.kor-hero-partner-logos { display: flex; align-items: center; margin-bottom: 16px; padding-left: 0; }
.kor-hero-partner-logos > span {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    border-radius: 50%;
    border: 3px solid #fff;
    background: #fff;
    box-shadow: 0 5px 16px rgba(0,0,0,.2);
    transition: translate 300ms, box-shadow 300ms;
}
.kor-hero-partner-logos > span + span { margin-left: -10px; }
.kor-hero-partner-logos img { width: 43px; height: 36px; object-fit: contain; }
.kor-hero-partner-logos > span:hover { translate: 0 -5px; box-shadow: 0 8px 22px rgba(23,105,255,.3); }
.kor-hero-partner-more { color: #0a0d13; font-size: 20px; }
.kor-hero-partner-title { display: block; font-size: 21px; font-weight: 700; line-height: 1.3; }
.kor-hero-partner-caption { display: block; margin-top: 7px; font-size: 14px; line-height: 1.5; color: rgba(255,255,255,.75); }
.kor-hero-partners:focus-visible { outline: 2px solid var(--kor-blue-bright); outline-offset: 8px; border-radius: 8px; }
.swiper-slide-active .kor-hero-partners { animation: korProofEntrance 900ms 150ms cubic-bezier(.16,1,.3,1) both; }
@media (prefers-reduced-motion: reduce) {
    .swiper-slide-active .kor-hero-proof,
    .swiper-slide-active .kor-hero-partners { animation: none; }
    .kor-hero-proof { transform: none; transition: none; }
    .kor-hero-partner-logos > span { transition: none; }
}

@media (min-width: 992px) {
    .fh-hero-swiper-section {
        padding: 0;
    }

    .fh-hero-swiper-section .fh-hero-swiper {
        height: max(740px, calc(100svh - 36px));
        min-height: 740px;
    }

    .fh-hero-swiper-section .fh-hero-inner {
        height: 100%;
        min-height: 0;
        width: 100%;
        max-width: 1440px;
        padding-inline: clamp(80px, 7vw, 120px);
    }

    .fh-hero-swiper-section .kor-hero-row {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(240px, 290px);
        gap: clamp(40px, 5vw, 90px);
        height: 100%;
        min-height: 0;
        margin: 0;
        padding: 140px 0 100px;
        align-items: center;
    }

    .fh-hero-swiper-section .kor-hero-row > .col-lg-9,
    .fh-hero-swiper-section .kor-hero-aside {
        width: 100%;
        max-width: none;
        padding: 0;
    }

    .fh-hero-swiper-section .fh-hero-text-wrap { padding: 0; }
    .fh-hero-swiper-section .fh-hero-eyebrow { margin-bottom: 24px; }
    .fh-hero-swiper-section .fh-hero-headline {
        font-size: clamp(48px, 4.8vw, 78px);
        line-height: 1.04;
        letter-spacing: -0.045em;
        margin-bottom: 24px;
    }

    .fh-hero-swiper-section .fh-hero-body {
        max-width: 560px;
        margin: 0 0 28px;
        font-size: 17px;
        line-height: 1.7;
        hyphens: none;
        word-break: normal;
    }

    .fh-hero-swiper-section .fh-hero-btn { margin-left: 0; }
    .fh-hero-swiper-section .fh-hero-social { margin: 24px 0 0; }
    .fh-hero-swiper-section .kor-hero-aside { align-self: end; }
    .fh-hero-swiper-section .fh-hero-pagination.swiper-pagination { bottom: 35px !important; }
    .fh-hero-swiper-section .fh-hero-scroll-cue { bottom: 16px; }
}

/* Masked word lift replays as Swiper assigns the active slide. */
.fh-hero-headline .kor-reveal-word {
    display: inline-block;
    overflow: hidden;
    vertical-align: bottom;
    padding-bottom: 0.12em;
    margin-bottom: -0.12em;
}

.fh-hero-headline .kor-reveal-word > span { display: inline-block; }
.fh-hero-swiper-section .swiper-slide-active .fh-hero-headline { animation: none; }
.swiper-slide-active .kor-reveal-word > span {
    animation: korWordLift 850ms cubic-bezier(.16,1,.3,1) both;
    animation-delay: calc(120ms + var(--word-delay));
}

.fh-hero-swiper-section .swiper-slide-active .fh-hero-eyebrow,
.fh-hero-swiper-section .swiper-slide-active .fh-hero-body,
.fh-hero-swiper-section .swiper-slide-active .fh-hero-btn,
.fh-hero-swiper-section .swiper-slide-active .fh-hero-social {
    animation-name: korSoftReveal;
}

@keyframes korWordLift {
    from { transform: translateY(115%) rotate(2deg); filter: blur(3px); }
    to { transform: translateY(0) rotate(0); filter: blur(0); }
}

@keyframes korSoftReveal {
    from { clip-path: inset(0 0 100% 0); filter: blur(4px); }
    to { clip-path: inset(-40px); filter: blur(0); }
}

@media (prefers-reduced-motion: reduce) {
    .fh-hero-swiper-section .swiper-slide-active .fh-hero-eyebrow,
    .fh-hero-swiper-section .swiper-slide-active .fh-hero-body,
    .fh-hero-swiper-section .swiper-slide-active .fh-hero-btn,
    .fh-hero-swiper-section .swiper-slide-active .fh-hero-social,
    .swiper-slide-active .kor-reveal-word > span { animation: none !important; }
}

/* Phone hero: show the complete photograph above the slide copy. */
.kor-hero-mobile-image { display: none; }
@media (max-width: 767px) {
    .fh-hero-swiper-section .fh-hero-swiper,
    .fh-hero-swiper-section .fh-hero-inner {
        height: auto; min-height: 0;
    }
    .fh-hero-swiper-section .fh-hero-slide { height: auto; background: #080f1e; }
    .fh-hero-swiper-section .kor-hero-mobile-image {
        display: block; width: 100%; height: auto; aspect-ratio: 16 / 10;
        object-fit: contain; background: #080f1e;
    }
    .fh-hero-swiper-section .fh-hero-bg,
    .fh-hero-swiper-section .fh-hero-overlay,
    .fh-hero-swiper-section .fh-hero-deco,
    .fh-hero-swiper-section .fh-hero-scroll-cue { display: none; }
    .fh-hero-swiper-section .fh-hero-inner { padding: 26px 24px 64px; }
    .fh-hero-swiper-section .kor-hero-row { min-height: 0; padding-top: 0; }
    .fh-hero-swiper-section .fh-hero-text-wrap { padding-top: 0; }
    .fh-hero-swiper-section .fh-hero-eyebrow {
        max-width: 100%; white-space: normal; font-size: .68rem;
        letter-spacing: .1em; margin-bottom: 14px;
    }
    .fh-hero-swiper-section .fh-hero-headline {
        font-size: clamp(1.9rem, 8vw, 2.75rem); line-height: 1.08;
        letter-spacing: -.035em; margin-bottom: 16px;
    }
    .fh-hero-swiper-section .fh-hero-body {
        width: auto !important; max-width: 100% !important;
        font-size: .95rem; line-height: 1.6; margin-bottom: 20px;
    }
    .fh-hero-swiper-section .fh-hero-social { margin-top: 20px; }
    .fh-hero-swiper-section .fh-hero-pagination.swiper-pagination { bottom: 20px !important; }
}
