body.portoadmin-landing {
    background:
        radial-gradient(circle at top left, rgba(255, 202, 188, 0.45), transparent 24%), radial-gradient(circle at top right, rgba(215, 196, 240, 0.52), transparent 22%), linear-gradient(180deg, #f7d5cc 0%, #efd9ec 52%, #eadbf0 100%);
    color: #243043;
    font-family: "Poppins", sans-serif;
}

.landing-page {
    min-height: 100vh;
}

/* ── Top bar ──────────────────────────────────────────────── */
.topbar {
    background: #a768ce;
    color: #fff;
    font-size: 0.82rem;
    padding: 7px 0;
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.topbar-contact {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.topbar-contact a {
    color: #fff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.topbar-contact a:hover {
    color: #ffd86e;
}

.topbar-social {
    display: flex;
    align-items: center;
    gap: 6px;
}

.topbar-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 4px;
    color: #fff;
    font-size: 1rem;
    text-decoration: none;
    transition: opacity 0.18s;
}

.topbar-social-icon:hover {
    opacity: 0.82;
    color: #fff;
}

.topbar-facebook { background: #1877F2; }
.topbar-twitter  { background: #1DA1F2; }
.topbar-youtube  { background: #FF0000; }

/* ── Main navbar ─────────────────────────────────────────── */
.landing-header {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.landing-navbar {
    background: linear-gradient(90deg, #741c96 0%, #7B3FA0 40%, #b06ecf 100%);
    border-bottom: 1px solid rgba(100, 30, 140, 0.18);
    box-shadow: 0 2px 16px rgba(100, 30, 140, 0.18);
}

.landing-navbar .navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 0;
    gap: 16px;
    position: relative;
}

.landing-navbar .brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    text-decoration: none;
    flex-shrink: 0;
}

.landing-navbar .brand img {
    max-height: 52px;
    width: auto;
}

.landing-navbar .brand span {
    font-size: 1.22rem;
    font-weight: 800;
    color: #ffd86e;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

/* ── Primary nav links ───────────────────────────────────── */
.main-nav {
    display: flex;
    align-items: center;
}

.main-nav > a,
.nav-dropdown-toggle {
    position: relative;
    color: rgba(255, 255, 255, 0.92);
    font-weight: 600;
    font-size: 0.92rem;
    text-decoration: none;
    padding: 5px 18px;
    transition: color 0.18s;
    white-space: nowrap;
}

.main-nav > a:not(:last-child)::after,
.nav-dropdown::after {
    content: '|';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.35);
    font-weight: 300;
    pointer-events: none;
}

.main-nav > a:hover,
.main-nav > a.active,
.nav-dropdown-toggle:hover,
.nav-dropdown-toggle:focus,
.nav-dropdown--open .nav-dropdown-toggle {
    color: #ffd86e;
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.nav-dropdown-toggle i {
    font-size: 1rem;
    transition: transform 0.18s ease;
}

.nav-dropdown--open .nav-dropdown-toggle i {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    min-width: 230px;
    padding: 10px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(36, 48, 67, 0.1);
    box-shadow: 0 18px 40px rgba(26, 39, 59, 0.16);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
    z-index: 20;
}

.nav-dropdown--open .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-link {
    display: block;
    padding: 10px 14px;
    border-radius: 12px;
    color: #243043;
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.35;
    text-decoration: none;
    transition: background 0.18s ease, color 0.18s ease;
}

.nav-dropdown-link:hover,
.nav-dropdown-link:focus {
    background: rgba(123, 63, 160, 0.08);
    color: #7b3fa0;
}

.nav-dropdown-link--parent {
    color: #1d2840;
}

.nav-dropdown-group {
    margin: 2px 0 6px;
    padding-left: 12px;
    border-left: 1px solid rgba(123, 63, 160, 0.14);
}

.nav-dropdown-link--child {
    padding-top: 8px;
    padding-bottom: 8px;
    font-size: 0.87rem;
    font-weight: 500;
    color: #5d6a7c;
}

.nav-dropdown-link--logout {
    margin-top: 6px;
    color: #b23b57;
}

/* ── Hamburger toggler ───────────────────────────────────── */
.navbar-toggler {
    display: none;
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 6px;
    padding: 5px 9px;
    cursor: pointer;
    line-height: 1;
    color: #fff;
    font-size: 1.4rem;
    flex-shrink: 0;
}

/* ── Full-width home slider ──────────────────────────────── */
.home-slider {
    width: 100%;
    overflow: hidden;
}

.home-slider .carousel,
.home-slider .carousel-inner {
    height: 100%;
}

.slide-bg {
    position: relative;
    width: 100%;
    height: 560px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.48);
    z-index: 1;
    pointer-events: none;
}

.slide-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 20px 0;
}

@keyframes slideInDown {
    from { opacity: 0; transform: translateY(-28px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes slideInUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-28px); }
    to   { opacity: 1; transform: translateX(0); }
}

.slide-title {
    font-size: clamp(1.7rem, 3.5vw, 2.8rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.18;
    margin-bottom: 16px;
    max-width: 600px;
}

.slide-desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.88);
    max-width: 520px;
    line-height: 1.7;
    margin-bottom: 24px;
}

.btn-slide-cta {
    border: 2px solid #fff;
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.07em;
    padding: 10px 30px;
    border-radius: 4px;
    transition: background 0.2s, color 0.2s;
}

/* Slide text animation — applied to the active slide */
.carousel-item.active .slide-title,
.carousel-item.slide-animate .slide-title {
    animation: slideInDown 0.65s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

.carousel-item.active .slide-desc,
.carousel-item.slide-animate .slide-desc {
    animation: slideInUp 0.65s 0.15s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

.carousel-item.active .btn-slide-cta,
.carousel-item.slide-animate .btn-slide-cta {
    animation: slideInLeft 0.55s 0.3s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

@media (prefers-reduced-motion: reduce) {
    .carousel-item.active .slide-title,
    .carousel-item.slide-animate .slide-title,
    .carousel-item.active .slide-desc,
    .carousel-item.slide-animate .slide-desc,
    .carousel-item.active .btn-slide-cta,
    .carousel-item.slide-animate .btn-slide-cta {
        animation: none;
    }
}

.btn-slide-cta:hover {
    background: #fff;
    color: #7B3FA0;
}

.home-slider .carousel-control-prev,
.home-slider .carousel-control-next {
    width: 46px;
    height: 46px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    opacity: 1;
    margin: 0 10px;
    z-index: 5;
}

.home-slider .carousel-control-prev:hover,
.home-slider .carousel-control-next:hover {
    background: rgba(255, 255, 255, 0.34);
}

.landing-hero {
    padding: 42px 0 28px;
}

.landing-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(255, 191, 72, 0.16);
    color: #7a5a12;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.landing-title {
    margin: 18px 0 16px;
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1.02;
    font-weight: 800;
    color: #162334;
}

.landing-lead {
    max-width: 680px;
    color: #5b697d;
    font-size: 1rem;
    line-height: 1.8;
}

.landing-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 26px;
}

.landing-hero-actions .btn-primary,
.portal-card .btn-primary {
    background: linear-gradient(135deg, #7b3fa0 0%, #a768ce 55%, #c78ae6 100%);
    border-color: transparent;
    box-shadow: 0 16px 30px rgba(123, 63, 160, 0.24);
}

.landing-hero-media,
.landing-card,
.portal-card,
.methodology-card,
.ranking-card,
.blog-card {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(36, 48, 67, 0.08);
    border-radius: 24px;
    box-shadow: 0 18px 60px rgba(26, 39, 59, 0.08);
}

.landing-hero-media {
    overflow: hidden;
    min-height: 100%;
}

.landing-hero-media .carousel-item,
.landing-hero-media .hero-video {
    min-height: 460px;
}

.landing-hero-media img,
.landing-hero-media iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.landing-section {
    padding: 20px 0;
}

.landing-section-title {
    font-size: clamp(1.6rem, 2.4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 12px;
    color: #162334;
}

.landing-section-copy {
    color: #617085;
    line-height: 1.8;
    max-width: 760px;
}

.portal-grid,
.methodology-grid {
    margin-top: 8px;
}

.portal-card,
.methodology-card,
.ranking-card,
.blog-card {
    padding: 28px;
    height: 100%;
}

.portal-card .icon-wrap,
.methodology-card .icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 18px;
    background: linear-gradient(135deg, rgba(255, 180, 0, 0.14), rgba(239, 125, 26, 0.18));
    color: #d97117;
}

.portal-card h3,
.methodology-card h3,
.blog-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1c2b3d;
    margin-bottom: 12px;
}

.portal-card p,
.methodology-card p,
.blog-card p,
.ranking-card p {
    color: #647388;
    line-height: 1.75;
}

.landing-card {
    padding: 30px;
}

.overview-video {
    overflow: hidden;
    min-height: 100%;
}

.overview-video iframe {
    width: 100%;
    min-height: 320px;
    border: 0;
    border-radius: 20px;
}

.collaboration-strip {
    overflow: hidden;
    padding: 20px 0 4px;
}

.collaboration-track {
    display: flex;
    gap: 22px;
    width: max-content;
    animation: landing-scroll 24s linear infinite;
}

.collaboration-track img {
    width: 104px;
    height: 84px;
    object-fit: contain;
    padding: 14px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid rgba(36, 48, 67, 0.08);
}

.ranking-card .nav-tabs {
    border-bottom: 0;
    gap: 10px;
}

.ranking-card .nav-tabs .nav-link {
    border: 0;
    border-radius: 999px;
    background: #f1f4f8;
    color: #566477;
    font-weight: 600;
    padding: 10px 16px;
}

.ranking-card .nav-tabs .nav-link.active {
    background: #1f2c3d;
    color: #fff;
}

.ranking-card .table {
    margin-bottom: 0;
    border-radius: 18px;
    overflow: hidden;
}

.ranking-card .table thead th {
    border-top: 0;
    background: #f7f9fc;
    color: #44556b;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ranking-card .table td,
.ranking-card .table th {
    padding: 14px 16px;
    vertical-align: middle;
}

.ranking-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 10px;
}

.course-section .section-link {
    font-weight: 600;
    color: #d97117;
    text-decoration: none;
}

.blog-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 18px;
}

.blog-meta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    font-size: 0.86rem;
    color: #7b8798;
    margin-bottom: 12px;
}

.cta-band {
    padding: 30px;
    margin-top: 8px;
    background: linear-gradient(135deg, #2e0d6b 0%, #4a1b8f 50%, #6b2eb5 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    border-radius: 24px;
    box-shadow: 0 26px 60px rgba(30, 8, 80, 0.38);
}

.cta-band .landing-section-title,
.cta-band .landing-section-copy {
    color: #fff;
}

.cta-band .landing-section-copy {
    max-width: 100%;
    color: rgba(255, 255, 255, 0.86);
}

.cta-band__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    min-height: 62px;
    padding: 0 34px;
    border-radius: 999px;
    border: 0 !important;
    background: linear-gradient(135deg, #ffc63a 0%, #ffaa00 52%, #f08c00 100%) !important;
    background-color: #ffaa00 !important;
    color: #2e0d6b !important;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    box-shadow: 0 18px 34px rgba(240, 160, 0, 0.30);
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.cta-band__button:hover,
.cta-band__button:focus,
.cta-band__button:active {
    color: #2e0d6b !important;
    background: linear-gradient(135deg, #ffe070 0%, #ffc400 52%, #e88c00 100%) !important;
    background-color: #ffc400 !important;
    border-color: transparent !important;
    transform: translateY(-2px);
    box-shadow: 0 22px 38px rgba(240, 160, 0, 0.38);
    filter: brightness(1.04);
    text-decoration: none;
}

.landing-footer {
    margin-top: 28px;
}

.landing-footer .footer-brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.landing-footer .footer-brand img {
    max-height: 60px;
    width: auto;
}

.landing-footer-main {
    background: #31200c;
    color: rgba(255, 255, 255, 0.78);
    padding: 72px 0 64px;
}

.landing-footer-brand-block {
    max-width: 520px;
}

.landing-footer-copy {
    margin-top: 24px;
    font-size: 1.02rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.72);
}

.landing-footer-widget {
    max-width: 280px;
}

.landing-footer-title {
    margin: 0;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
}

.landing-footer-accent {
    width: 28px;
    height: 2px;
    background: #d3a42d;
    margin: 14px 0 20px;
}

.landing-footer-contact {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: rgba(255, 255, 255, 0.74);
    line-height: 1.75;
    margin-bottom: 22px;
}

.landing-footer-contact i {
    color: #ffffff;
    font-size: 1.05rem;
    margin-top: 4px;
    flex-shrink: 0;
}

.landing-footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.landing-footer-links li + li {
    margin-top: 8px;
}

.landing-footer-links a {
    color: #e03a61;
    text-decoration: none;
    transition: color 0.18s ease;
}

.landing-footer-links a:hover {
    color: #ff7d9a;
}

.landing-footer-links a::before {
    content: '- ';
}

.landing-footer-bottom {
    background: #0c0803;
    color: rgba(255, 255, 255, 0.72);
    padding: 18px 0;
    font-size: 0.92rem;
}

.landing-footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

@keyframes landing-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@media (max-width: 991px) {
    .landing-header {
        position: static;
    }

    .navbar-toggler {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .main-nav {
        display: none;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        padding: 8px 0 12px;
        border-top: 1px solid rgba(255, 255, 255, 0.18);
    }

    .main-nav.main-nav--open {
        display: flex;
    }

    .landing-navbar .navbar-inner {
        flex-wrap: wrap;
    }

    .main-nav > a,
    .nav-dropdown-toggle {
        width: 100%;
        padding: 9px 4px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
        justify-content: space-between;
    }

    .main-nav > a:not(:last-child)::after,
    .nav-dropdown::after {
        display: none;
    }

    .nav-dropdown-menu {
        position: static;
        min-width: 100%;
        margin-top: 6px;
        padding: 6px;
        border-radius: 14px;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
    }

    .nav-dropdown--open .nav-dropdown-menu {
        display: block;
    }

    .nav-dropdown-link {
        color: #243043;
    }

    .topbar-contact {
        gap: 10px;
    }

    .landing-hero-media .carousel-item,
    .landing-hero-media .hero-video {
        min-height: 320px;
    }
}

@media (max-width: 575px) {
    .topbar-contact a:first-child {
        display: none;
    }
}

@media (max-width: 767px) {
    .landing-title {
        font-size: 2.3rem;
    }

    .landing-hero {
        padding-top: 28px;
    }

    .landing-card,
    .portal-card,
    .methodology-card,
    .ranking-card,
    .blog-card,
    .cta-band {
        padding: 22px;
        border-radius: 20px;
    }

    .blog-card img {
        height: 190px;
    }

    .landing-footer-main {
        padding: 48px 0 40px;
    }

    .cta-band__button {
        width: 100%;
    }

    .landing-footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ── Card scroll-reveal animation ───────────────────────── */
@keyframes cardFadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.55s cubic-bezier(0.22, 0.61, 0.36, 1),
                transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
    will-change: opacity, transform;
}

.reveal-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .reveal-card {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
