.landing-page {
    background: var(--ui-muted, #f8fafc);
    color: var(--ui-text, #314158);
}

.landing-surface {
    background-color: var(--ui-default, #ffffff);
    border: 1px solid var(--ui-border, #e2e8f0);
    max-width: 1200px;
    margin: 0 auto;
}

.landing-surface--full {
    max-width: none;
    margin: 0;
}

.landing-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.landing-body {
    padding: 0 0 72px;
}

.landing-gradient-text {
    background: linear-gradient(
        180deg,
        var(--biru-muda-lambang, #75bde0),
        var(--biru-tua, #233f7c)
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ── Hero (full-bleed) ───────────────────────────────────────── */
.landing-hero {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-top: -1px;
    /* min-height: 620px; */
    height: 85vh;
    overflow: hidden;
    background-color: var(--biru-cover, #243f81);
    display: flex;
    align-items: center;
    text-align: left;
    padding: 0;
}

.landing-hero__bg {
    position: absolute;
    inset: 0;
    background-image: url("../img/Campus-Building.png");
    background-size: cover;
    background-position: center 35%;
    opacity: 0.28;
    z-index: 0;
}

.landing-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(28, 49, 110, 0.97) 0%,
        rgba(28, 49, 110, 0.85) 40%,
        rgba(28, 49, 110, 0.55) 75%,
        rgba(28, 49, 110, 0.35) 100%
    );
    z-index: 1;
}

.landing-hero__inner {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-top: 56px;
    padding-bottom: 56px;
    height: 100%;
    display: flex;
    align-items: center;
}

.landing-hero__content {
    position: relative;
    z-index: 2;
    max-width: 620px;
}

.landing-hero__eyebrow {
    color: var(--kuning-tua, #fdbb16);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin-bottom: 18px;
}

.landing-hero__title {
    font-size: 60px;
    line-height: 1.08;
    color: var(--ui-text-inverted, #ffffff);
    margin-bottom: 22px;
}

.landing-hero__subtitle {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.82);
    max-width: 500px;
    margin-bottom: 0;
}

.landing-hero__cta {
    margin-top: 30px;
}

.landing-hero__cta-btn {
    background-color: var(--kuning-tua-safe, #ffa100);
    border-color: var(--kuning-tua-safe, #ffa100);
    color: var(--ui-text);
    box-shadow: 0 10px 22px rgba(255, 161, 0, 0.32);
}

.landing-hero__cta-btn:hover:not(:disabled) {
    filter: brightness(0.96);
}

.landing-hero__stats {
    margin-top: 40px;
    display: flex;
    align-items: center;
    gap: 28px;
}

.landing-hero__stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-left: 28px;
    border-left: 1px solid rgba(255, 255, 255, 0.28);
}

.landing-hero__stat:first-child {
    padding-left: 0;
    border-left: none;
}

.landing-hero__stat-value {
    font-size: 30px;
    line-height: 1.1;
    color: var(--ui-text-inverted, #ffffff);
}

.landing-hero__stat-label {
    color: rgba(255, 255, 255, 0.72);
}

.landing-hero__figures {
    position: absolute;
    right: 0;
    bottom: 0;
    top: 0;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    z-index: 1;
    pointer-events: none;
}

.landing-hero__figure {
    height: 94%;
    display: block;
    width: auto;
    object-fit: contain;
    object-position: bottom center;
    filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.25));
}

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

.landing-section__title {
    font-size: 32px;
    text-align: center;
}

.landing-featured__grid {
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.landing-featured__cta {
    margin-top: 24px;
    display: flex;
    justify-content: center;
}

.landing-testimonials__grid {
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.landing-testimonial-card {
    background-color: var(--biru-tua, #233f7c);
    border: 1px solid #c1c1c1;
    border-radius: 8px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
    height: 380px;
    color: var(--ui-text-inverted, #ffffff);
}

.landing-testimonial-card__body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    overflow: hidden;
}

.landing-testimonial-card__quote-mark {
    font-family: Georgia, serif;
    font-size: 48px;
    line-height: 1;
    color: rgba(255, 255, 255, 0.55);
    display: block;
}

.landing-testimonial-card__quote {
    font-family: "Work Sans", sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 1.45;
    color: var(--ui-text-inverted, #fff);
    display: -webkit-box;
    -webkit-line-clamp: 5;
    line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.landing-testimonial-card__profile {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-shrink: 0;
}

.landing-testimonial-card__profile-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.landing-testimonial-card__name,
.landing-testimonial-card__role {
    margin-bottom: 0;
}

.landing-testimonial-card__name {
    line-height: 1.2;
}

.landing-testimonial-card__role {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.2;
}

.landing-testimonial-card__avatar {
    width: 48px;
    height: 48px;
    border-radius: 9999px;
    overflow: hidden;
    flex-shrink: 0;
    background-color: var(--ui-accented, #e2e8f0);
}

.landing-testimonial-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.landing-testimonial-card--clickable-text {
    cursor: pointer;
    position: relative;
    transition: transform 0.15s, box-shadow 0.15s;
}

.landing-testimonial-card--clickable-text:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(35, 63, 124, 0.2);
}

.landing-testimonial-card__read-more {
    position: absolute;
    inset: 0;
    background: rgba(35, 63, 124, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s;
    border-radius: 8px;
    z-index: 10;
}

.landing-testimonial-card__read-more span {
    color: white;
    font-weight: 600;
    border: 1px solid white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
}

.landing-testimonial-card--clickable-text:hover .landing-testimonial-card__read-more {
    opacity: 1;
}

/* Modal text styling */
.landing-testimoni-modal__content.landing-testimoni-modal__content--text {
    background: var(--biru-tua, #233f7c) !important;
    color: var(--ui-text-inverted, #ffffff);
    padding: 32px;
    width: 90%;
    max-width: 540px !important;
    border-radius: 16px;
    border: 1px solid #c1c1c1;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    overflow: visible;
}
.landing-testimoni-modal__content--text .landing-testimoni-modal__close {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    top: 16px;
    right: 16px;
    transition: background 0.2s, transform 0.2s;
    width: 36px;
    height: 36px;
    font-size: 24px;
}
.landing-testimoni-modal__content--text .landing-testimoni-modal__close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}
.landing-testimoni-modal__quote {
    font-family: "Work Sans", sans-serif;
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 32px;
    margin-top: 16px;
    color: #ffffff;
    position: relative;
    z-index: 1;
}
.landing-testimoni-modal__quote::before {
    content: "“";
    position: absolute;
    top: -40px;
    left: -15px;
    font-family: Georgia, serif;
    font-size: 80px;
    line-height: 1;
    color: rgba(255, 255, 255, 0.1);
    z-index: -1;
}
.landing-testimoni-modal__profile {
    display: flex;
    align-items: center;
    gap: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 24px;
}
.landing-testimoni-modal__avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    background-color: var(--ui-accented, #e2e8f0);
    border: 2px solid rgba(255,255,255,0.2);
}
.landing-testimoni-modal__name {
    font-family: "Work Sans", sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    color: #ffffff;
    margin-bottom: 4px;
}
.landing-testimoni-modal__role {
    font-family: "Work Sans", sans-serif;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 1024px) {
    .landing-featured__grid,
    .landing-testimonials__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .landing-hero__title {
        font-size: 46px;
    }
}

@media (max-width: 860px) {
    .landing-hero {
        height: max-content;
    }

    .landing-hero__inner {
        padding-bottom: 500px;
    }

    .landing-hero__overlay {
        background: linear-gradient(
            180deg,
            rgba(28, 49, 110, 0.78) 0%,
            rgba(28, 49, 110, 0.92) 55%,
            rgba(28, 49, 110, 0.97) 100%
        );
    }

    .landing-hero__content {
        max-width: 100%;
    }

    .landing-hero__figures {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        top: auto;
        height: auto;
        justify-content: center;
        z-index: 1;
    }

    .landing-hero__figure {
        height: auto;
        width: auto;
        max-width: 100%;
        transform: translateY(42%);
    }
}

@media (max-width: 768px) {
    .landing-featured__grid,
    .landing-testimonials__grid {
        grid-template-columns: 1fr;
    }

    .landing-hero__inner {
        padding-bottom: 400px;
    }

    .landing-body {
        padding: 0 0 56px;
    }

    .landing-hero__title {
        font-size: 34px;
    }

    .landing-hero__subtitle {
        font-size: 16px;
    }

    .landing-hero__stats {
        gap: 18px;
    }

    .landing-hero__stat {
        padding-left: 18px;
    }

    .landing-hero__stat-value {
        font-size: 26px;
    }
}

@media (max-width: 480px) {
    .landing-hero__inner {
        padding-bottom: 250px;
    }
}

.landing-testimonial-card--foto {
    background-color: #dee2e6;
    padding: 0;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    transition: transform 0.15s;
}
.landing-testimonial-card--foto:hover {
    transform: scale(1.02);
}
.landing-testimonial-card__media-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.landing-testimonial-card__no-media {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #6c757d;
    font-size: 48px;
}

.landing-testimonial-card--video {
    background-color: #111827;
    padding: 0;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.15s;
}
.landing-testimonial-card--video:hover {
    transform: scale(1.02);
}
.landing-testimonial-card--video .landing-testimonial-card__media-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.65;
}
.landing-testimonial-card__play-btn {
    position: relative;
    z-index: 2;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #1a6dd4;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    box-shadow: 0 4px 18px rgba(26, 109, 212, 0.55);
    color: white;
    font-size: 18px;
    transition:
        background 0.15s,
        transform 0.15s;
}
.landing-testimonial-card--video:hover .landing-testimonial-card__play-btn {
    background: #1558b0;
    transform: scale(1.1);
}

/* ── Title overlay (foto / video / link cards) ── */
.landing-testimonial-card__title-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.72) 0%,
        transparent 100%
    );
    padding: 36px 12px 12px;
    z-index: 3;
    pointer-events: none;
}
.landing-testimonial-card__title-text {
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.landing-testimonial-card__badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
    z-index: 3;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ── Carousel track ── */
.landing-testimonials__carousel {
    margin-top: 24px;
}
.landing-testimonials__track-wrapper {
    overflow: hidden;
}
.landing-testimonials__track {
    display: flex;
    will-change: transform;
}
.landing-testimonials__slide {
    min-width: 0;
    height: 400px;
}
.landing-testimonials__slide > * {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}

/* ── Pagination controls ── */
.landing-testimonials__pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
}
.landing-testimonials__nav {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #233f7c;
    background: transparent;
    color: #233f7c;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition:
        background 0.2s,
        color 0.2s,
        transform 0.15s;
    flex-shrink: 0;
}
.landing-testimonials__nav:hover {
    background: #233f7c;
    color: white;
    transform: scale(1.08);
}
.landing-testimonials__nav:active {
    transform: scale(0.95);
}
.landing-testimonials__dots {
    display: flex;
    gap: 6px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 200px;
}
.landing-testimonials__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #cbd5e0;
    cursor: pointer;
    transition:
        background 0.25s,
        transform 0.25s,
        width 0.25s;
    flex-shrink: 0;
}
.landing-testimonials__dot.active {
    background: #233f7c;
    transform: scale(1.5);
}

.landing-testimoni-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.78);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}
.landing-testimoni-modal__content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
}
.landing-testimoni-modal__content img,
.landing-testimoni-modal__content video,
.landing-testimoni-modal__content iframe {
    display: block;
    max-width: 90vw;
    max-height: 80vh;
}
.landing-testimoni-modal__close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.55);
    border: none;
    color: white;
    font-size: 20px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
