﻿:root {
    --public-primary: #696cff;
    --public-dark: #172b4d;
    --public-heading: #1f2d3d;
    --public-muted: #6f7b8b;
    --public-bg: #f7f8fc;
    --public-border: #e9ebf0;
}


/* =========================================================
   General
========================================================= */

.public-site {
    background: #fff;
    color: var(--public-heading);
}

    .public-site a {
        text-decoration: none;
    }

.public-section {
    padding: 5rem 0;
}

.public-section-soft {
    background: var(--public-bg);
}

.public-section-title {
    max-width: 720px;
    margin-inline: auto;
    margin-bottom: 3rem;
    text-align: center;
}

    .public-section-title h2 {
        margin-bottom: 1rem;
        font-weight: 700;
    }

    .public-section-title p {
        margin-bottom: 0;
        color: var(--public-muted);
        line-height: 1.9;
    }

.public-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .45rem .85rem;
    margin-bottom: 1rem;
    border-radius: 50rem;
    background: rgba(105, 108, 255, .1);
    color: var(--public-primary);
    font-size: .85rem;
    font-weight: 600;
}

.public-page-header {
    padding: 4.5rem 0 3.5rem;
    background: linear-gradient( 135deg, rgba(105, 108, 255, .10), rgba(3, 195, 236, .08) );
}

    .public-page-header h1 {
        font-weight: 700;
        margin-bottom: 1rem;
    }

    .public-page-header p {
        max-width: 700px;
        color: var(--public-muted);
        line-height: 1.9;
        margin-bottom: 0;
    }


/* =========================================================
   Navbar
========================================================= */

.public-header {
    z-index: 1030;
}

    .public-header .navbar {
        min-height: 76px;
        border-bottom: 1px solid var(--public-border);
        transition: box-shadow .25s ease;
    }

    .public-header.scrolled .navbar {
        box-shadow: 0 .3rem 1.4rem rgba(34, 48, 62, .08);
    }

.public-brand {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    color: var(--public-heading);
}

    .public-brand:hover {
        color: var(--public-heading);
    }

.public-brand-icon {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
    border-radius: 12px;
    background: var(--public-primary);
    color: #fff;
    font-size: 1.4rem;
}

.public-brand strong {
    font-size: 1rem;
    line-height: 1.2;
}

.public-brand small {
    margin-top: .15rem;
    font-size: .72rem;
    color: var(--public-muted);
}

.public-header .nav-link {
    position: relative;
    padding: .75rem .85rem !important;
    border-radius: .5rem;
    color: var(--public-heading);
    font-weight: 500;
}

    .public-header .nav-link:hover,
    .public-header .nav-link.active {
        color: var(--public-primary);
        background: rgba(105, 108, 255, .07);
    }


/* =========================================================
   Hero
========================================================= */

.public-hero {
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
    background: radial-gradient( circle at 20% 10%, rgba(105, 108, 255, .13), transparent 34% ), radial-gradient( circle at 90% 80%, rgba(3, 195, 236, .12), transparent 30% ), #fff;
}

.public-hero-title {
    max-width: 680px;
    margin-bottom: 1.5rem;
    font-size: clamp(2.2rem, 5vw, 4.2rem);
    line-height: 1.25;
    font-weight: 800;
    letter-spacing: -.03em;
}

    .public-hero-title span {
        color: var(--public-primary);
    }

.public-hero-text {
    max-width: 650px;
    margin-bottom: 2rem;
    color: var(--public-muted);
    font-size: 1.08rem;
    line-height: 2;
}

.public-hero-image-wrapper {
    position: relative;
}

.public-hero-image {
    width: 100%;
    min-height: 520px;
    object-fit: cover;
    border-radius: 1.5rem;
    box-shadow: 0 1.5rem 4rem rgba(34, 48, 62, .18);
}

.public-floating-card {
    position: absolute;
    inset-inline-start: -2rem;
    bottom: 2rem;
    max-width: 260px;
    padding: 1.2rem;
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 1rem;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 .8rem 2rem rgba(34, 48, 62, .15);
    backdrop-filter: blur(12px);
}


/* =========================================================
   Cards
========================================================= */

.public-card {
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--public-border);
    border-radius: 1rem;
    background: #fff;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

    .public-card:hover {
        transform: translateY(-5px);
        border-color: rgba(105, 108, 255, .25);
        box-shadow: 0 .8rem 2.5rem rgba(34, 48, 62, .09);
    }

.public-card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.public-card-body {
    padding: 1.5rem;
}

.public-card-title {
    margin-bottom: .75rem;
    font-weight: 700;
}

.public-card-text {
    color: var(--public-muted);
    line-height: 1.8;
}

.public-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem 1rem;
    color: var(--public-muted);
    font-size: .9rem;
}

    .public-meta span {
        display: inline-flex;
        align-items: center;
        gap: .35rem;
    }


/* =========================================================
   Training Fields
========================================================= */

.public-field-card {
    padding: 1.75rem;
}

.public-field-icon {
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
    border-radius: 1rem;
    background: rgba(105, 108, 255, .1);
    color: var(--public-primary);
    font-size: 1.65rem;
}


/* =========================================================
   Stats
========================================================= */

.public-stat {
    height: 100%;
    padding: 1.75rem;
    border: 1px solid var(--public-border);
    border-radius: 1rem;
    background: #fff;
    text-align: center;
}

.public-stat-number {
    display: block;
    margin-bottom: .35rem;
    color: var(--public-primary);
    font-size: 2rem;
    font-weight: 800;
}

.public-stat-label {
    color: var(--public-muted);
}


/* =========================================================
   CTA
========================================================= */

.public-cta {
    position: relative;
    overflow: hidden;
    padding: 3.5rem;
    border-radius: 1.5rem;
    color: #fff;
    background: linear-gradient( 135deg, #696cff, #4f51c9 );
}

    .public-cta h2 {
        color: #fff;
        font-weight: 700;
    }

    .public-cta p {
        max-width: 700px;
        margin-bottom: 0;
        color: rgba(255, 255, 255, .82);
        line-height: 1.9;
    }


/* =========================================================
   Details
========================================================= */

.public-details-cover {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    border-radius: 1.25rem;
}

.public-detail-panel {
    padding: 1.5rem;
    border: 1px solid var(--public-border);
    border-radius: 1rem;
    background: #fff;
}

.public-detail-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: .85rem 0;
    border-bottom: 1px solid var(--public-border);
}

    .public-detail-row:last-child {
        border-bottom: 0;
    }

    .public-detail-row span:first-child {
        color: var(--public-muted);
    }

.public-description {
    white-space: pre-line;
    color: var(--public-muted);
    line-height: 2;
}


/* =========================================================
   Trainers
========================================================= */

.public-trainer-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
}


/* =========================================================
   Filters
========================================================= */

.public-filter-panel {
    padding: 1.25rem;
    margin-bottom: 2rem;
    border: 1px solid var(--public-border);
    border-radius: 1rem;
    background: #fff;
}


/* =========================================================
   Empty / Loading
========================================================= */

.public-empty {
    padding: 4rem 1rem;
    color: var(--public-muted);
    text-align: center;
}

.public-loading {
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* =========================================================
   Footer
========================================================= */

.public-footer {
    padding: 4rem 0 1.5rem;
    background: #17233c;
    color: rgba(255, 255, 255, .65);
}

    .public-footer a {
        color: rgba(255, 255, 255, .68);
        transition: color .2s ease;
    }

        .public-footer a:hover {
            color: #fff;
        }

    .public-footer .public-brand small {
        color: rgba(255, 255, 255, .6);
    }

.public-footer-description {
    max-width: 500px;
    line-height: 1.9;
}

.public-footer-separator {
    margin: 3rem 0 1.5rem;
    border-color: rgba(255, 255, 255, .12);
}


/* =========================================================
   Reveal
========================================================= */

.reveal-pending {
    opacity: 0;
    transform: translateY(22px);
}

.reveal-item {
    transition: opacity .55s ease, transform .55s ease;
}

    .reveal-item.revealed {
        opacity: 1;
        transform: translateY(0);
    }


/* =========================================================
   Responsive
========================================================= */

@media (max-width: 991.98px) {

    .public-section {
        padding: 4rem 0;
    }

    .public-hero {
        padding: 4rem 0;
    }

    .public-hero-image {
        min-height: 420px;
    }

    .public-floating-card {
        inset-inline-start: 1rem;
        bottom: 1rem;
    }

    .public-header .navbar-collapse {
        padding: 1rem 0;
    }
}


@media (max-width: 767.98px) {

    .public-hero {
        padding: 3.5rem 0;
    }

    .public-hero-title {
        font-size: 2.3rem;
    }

    .public-hero-image {
        min-height: 320px;
        max-height: 390px;
    }

    .public-floating-card {
        position: relative;
        inset-inline-start: auto;
        bottom: auto;
        max-width: none;
        margin-top: 1rem;
    }

    .public-cta {
        padding: 2rem;
    }

    .public-card-image {
        height: 200px;
    }
}
