html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    overflow-x: hidden;
}

body.no-scroll {
    position: fixed;
    width: 100%;
    overflow: hidden;
}

img,
svg {
    max-width: 100%;
}

.bg-1 {
    background-color: rgb(23, 23, 23);
}

.text-1 {
    color: #9582e8 !important;
}
.text-2 {
    color: #dad9d9 !important;
}
.text-4 {
    color: #662525 !important;
}

.text-justify {
    text-align: justify;
}

.text-p {
    font-size: clamp(1rem, 4vw, 1.25rem);
}

.blog:hover {
    background-color: rgb(39 39 42);
}

.border {
    border: solid 1px #cbcbcb !important;
}

.color-animation {
    background: linear-gradient(to right, #4f308c 20%, #4d247f 40%, #411774 60%, #5340a9 80%, #4d247f 100%);
    background-size: 200% auto;

    color: #000;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: pulse 5s infinite;
}

@keyframes pulse {
    to {
      background-position: 350% center;
    }
  }

.container-margin {
    max-width: 800px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: #fff !important;
    font-weight: 500;
}

.brand img {
    width: 34px;
    height: 34px;
}

.navbar-collapse {
    max-height: 80vh;
    overflow-y: auto;
}

/* ---------- home ---------- */

.hero {
    min-height: 100vh;
    min-height: 100svh;
    padding: 6rem 0 3rem;
}

.hero-photo {
    width: clamp(140px, 38vw, 190px);
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 1.25rem;
    border: 3px solid rgba(149, 130, 232, 0.55);
    box-shadow: 0 0 0 6px rgba(149, 130, 232, 0.1), 0 12px 40px rgba(83, 64, 169, 0.35);
}

.hero-intro {
    font-size: clamp(1rem, 3.4vw, 1.25rem);
}

.hero-name {
    font-size: clamp(2.3rem, 10vw, 4.5rem);
    line-height: 1.08;
    margin-bottom: 0.5rem;
}

.hero-role {
    font-size: clamp(1.05rem, 4.4vw, 1.75rem);
    margin-bottom: 0;
}

.hero-role-2 {
    font-size: clamp(0.95rem, 3.8vw, 1.5rem);
}

section h2 {
    font-size: clamp(1.5rem, 6vw, 2rem);
}

.card-text,
.job-list li {
    overflow-wrap: break-word;
}

.job-card {
    display: flex;
    gap: 1.15rem;
    align-items: flex-start;
    padding: 1.15rem 1.2rem;
    margin: 0.85rem 0;
    border-radius: 16px;
    background: rgb(27, 27, 30);
    border: 1px solid rgba(149, 130, 232, 0.14);
}

.job-logo-wrap {
    flex: 0 0 92px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.job-logo-wrap img {
    max-width: 92px;
    max-height: 44px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.job-body {
    flex: 1;
    min-width: 0;
}

.job-body h5 {
    margin-bottom: 0.2rem;
}

.job-list {
    margin: 0;
    padding-left: 1.1rem;
}

.job-list li {
    margin-bottom: 0.35rem;
}

.job-photo {
    display: block;
    width: 100%;
    height: auto;
    max-width: 420px;
    margin-top: 0.9rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ---------- news + live agents ---------- */

.news-card,
.live-card,
.live-feature {
    border-radius: 16px;
    background: rgb(27, 27, 30);
    border: 1px solid rgba(149, 130, 232, 0.14);
}

.news-card {
    overflow: hidden;
    margin: 0.85rem 0 1.5rem;
}

.news-photo {
    display: block;
    width: 100%;
    height: auto;
}

.news-body {
    padding: 1.15rem 1.25rem 1.3rem;
}

.news-badge {
    display: inline-block;
    margin-bottom: 0.55rem;
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(90deg, #5340a9, #9582e8);
}

.news-meta {
    margin-bottom: 0.3rem;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(218, 217, 217, 0.6);
}

.news-title {
    font-size: clamp(1.15rem, 4.6vw, 1.45rem);
    margin-bottom: 0.75rem;
}

.news-body p.text-2 {
    line-height: 1.6;
}

.news-link {
    display: inline-block;
    color: #9582e8;
    text-decoration: none;
    font-weight: 500;
}

.news-link:hover {
    color: #b3a5f0;
}

.live-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.85rem;
}

.live-card {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.1rem 1.15rem;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.live-card:hover {
    background: rgb(39, 39, 42);
    border-color: rgba(149, 130, 232, 0.4);
}

.live-org {
    color: #fff;
    font-weight: 600;
    font-size: 1.05rem;
}

.live-what {
    flex: 1;
    font-size: 0.95rem;
    line-height: 1.5;
}

.live-phone {
    color: #9582e8;
    font-weight: 600;
    font-size: 1.2rem;
    letter-spacing: 0.03em;
}

.live-phone i {
    font-size: 0.9em;
    margin-right: 0.3rem;
}

.live-feature {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 0.85rem;
    padding: 1rem;
}

.live-feature img {
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: cover;
    object-position: center 35%;
    border-radius: 12px;
}

/* ---------- /me gallery ---------- */

.me-page {
    max-width: 1120px;
    margin: 0 auto;
    padding: 4.75rem 1rem 3rem;
}

.me-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.85rem;
}

.me-card {
    margin: 0;
    aspect-ratio: 4 / 5;
    border-radius: 16px;
    overflow: hidden;
    background: rgb(32, 32, 35);
    border: 1px solid rgba(149, 130, 232, 0.16);
    content-visibility: auto;
    contain-intrinsic-size: auto 420px;
}

.me-card-btn {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
}

.me-media {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.me-play {
    position: absolute;
    right: 0.7rem;
    bottom: 0.7rem;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(12, 12, 14, 0.66);
    border: 1px solid rgba(255, 255, 255, 0.35);
    pointer-events: none;
}

/* Speaker glyph: muted in the grid, tap the card to hear it. */
.me-play::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 52%;
    transform: translate(-50%, -50%);
    border-style: solid;
    border-width: 7px 0 7px 11px;
    border-color: transparent transparent transparent #fff;
}

.me-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1080;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(8, 8, 10, 0.94);
}

.me-lightbox[hidden] {
    display: none;
}

.me-lightbox img,
.me-lightbox video {
    max-width: 100%;
    max-height: 85vh;
    max-height: 85svh;
    border-radius: 14px;
    object-fit: contain;
}

.me-lightbox video {
    width: auto;
    background: #000;
}

.me-lightbox [hidden] {
    display: none;
}

.me-lightbox-close {
    position: absolute;
    top: 0.5rem;
    right: 0.75rem;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 2.4rem;
    line-height: 1;
    cursor: pointer;
}

/* ---------- goose ---------- */

/* The crossing itself is animated from JS so each appearance takes a
   different route; only the waddle lives here. */
.goose {
    position: fixed;
    top: 0;
    left: 0;
    width: 92px;
    height: 85px;
    z-index: 1060;
    pointer-events: none;
    will-change: transform;
}

.goose[hidden] {
    display: none;
}

.goose-body {
    animation: goose-bob 0.24s ease-in-out infinite alternate;
}

.goose-leg {
    transform-box: fill-box;
    transform-origin: 50% 0;
}

.goose-leg-a {
    animation: goose-step 0.24s ease-in-out infinite alternate;
}

.goose-leg-b {
    animation: goose-step 0.24s ease-in-out infinite alternate-reverse;
}

@keyframes goose-bob {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-3px);
    }
}

@keyframes goose-step {
    from {
        transform: rotate(-26deg);
    }
    to {
        transform: rotate(26deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .goose {
        display: none;
    }
}

/* ---------- breakpoints ---------- */

@media (min-width: 576px) {
    .me-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .live-feature {
        flex-direction: row;
        align-items: center;
        gap: 1.4rem;
        padding: 1.15rem;
    }

    .live-feature img {
        flex: 0 0 200px;
        width: 200px;
        max-height: none;
    }
}

@media (min-width: 768px) {
    .live-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 768px) {
    .me-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.1rem;
    }

    .me-page {
        padding: 7rem 1.25rem 4rem;
    }
}

@media (hover: hover) {
    .me-card:hover .me-media {
        transform: scale(1.04);
    }
}

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

    .mx-3 {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

@media (max-width: 575.98px) {
    .job-card {
        flex-direction: column;
        gap: 0.7rem;
        padding: 1rem;
    }

    .job-logo-wrap {
        flex: 0 0 auto;
        height: 40px;
        justify-content: flex-start;
    }

    .job-logo-wrap img {
        max-width: 84px;
        max-height: 36px;
    }

    .job-list {
        padding-left: 1rem;
    }

    .job-photo {
        max-width: 100%;
    }
}
