
/* =========================================================
   LP3I COLLEGE SURABAYA
   TESTIMONI PAGE — PREMIUM STYLESHEET
   File: assets/css/style_testimoni.css

   Khusus halaman testimoni.php
   Tidak mengubah style homepage.
========================================================= */


/* =========================================================
   1. ROOT / PAGE VARIABLES
========================================================= */

:root {
    --testi-navy: #071b3a;
    --testi-navy-dark: #041126;
    --testi-blue: #123b75;
    --testi-gold: #d5ad55;
    --testi-gold-light: #f1d99a;

    --testi-text: #26364d;
    --testi-muted: #718096;

    --testi-bg: #f5f7fb;
    --testi-white: #ffffff;
    --testi-border: #e7ebf2;

    --testi-radius: 20px;
    --testi-shadow:
        0 12px 35px rgba(7, 27, 58, .07);

    --testi-transition:
        .3s ease;
}


/* =========================================================
   2. HERO SECTION
========================================================= */

.page-hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;

    padding: 105px 24px 95px;

    color: var(--testi-white);

    background:
        radial-gradient(
            circle at 85% 15%,
            rgba(213, 173, 85, .18),
            transparent 30%
        ),
        radial-gradient(
            circle at 10% 90%,
            rgba(34, 91, 157, .3),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            var(--testi-navy-dark),
            var(--testi-navy) 60%,
            #123b75
        );
}

.page-hero::before {
    content: "";

    position: absolute;
    z-index: -1;

    width: 380px;
    height: 380px;

    top: -190px;
    right: -100px;

    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 50%;

    box-shadow:
        0 0 0 35px rgba(255, 255, 255, .025),
        0 0 0 70px rgba(255, 255, 255, .02);
}

.page-hero::after {
    content: "";

    position: absolute;
    z-index: -1;

    width: 260px;
    height: 260px;

    bottom: -180px;
    left: 8%;

    border: 1px solid rgba(213, 173, 85, .25);
    border-radius: 50%;
}

.page-hero-inner {
    position: relative;
    z-index: 1;

    width: 100%;
    max-width: 1140px;

    margin: 0 auto;
}

.page-hero .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    margin-bottom: 22px;

    color: var(--testi-gold-light);

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
}

.page-hero .eyebrow-line {
    display: inline-block;

    width: 35px;
    height: 2px;

    background: var(--testi-gold);
}

.page-hero h1 {
    max-width: 800px;

    margin: 0 0 22px;

    color: var(--testi-white);

    font-size: clamp(38px, 5vw, 62px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -1.8px;
}

.page-hero h1 span {
    display: block;

    color: var(--testi-gold-light);
}

.page-hero p {
    max-width: 650px;

    margin: 0;

    color: rgba(255, 255, 255, .78);

    font-size: 16px;
    line-height: 1.9;
}


/* =========================================================
   3. BREADCRUMB
========================================================= */

.page-hero .breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;

    margin-top: 32px;

    color: rgba(255, 255, 255, .65);

    font-size: 13px;
}

.page-hero .breadcrumb a {
    color: var(--testi-gold-light);

    text-decoration: none;

    transition: var(--testi-transition);
}

.page-hero .breadcrumb a:hover {
    color: var(--testi-white);
}

.page-hero .breadcrumb span:last-child {
    color: var(--testi-white);
    font-weight: 600;
}


/* =========================================================
   4. MAIN CONTENT
========================================================= */

.page-content {
    position: relative;

    padding-top: 90px;
    padding-bottom: 100px;

    background: var(--testi-bg);
}

.page-content .container {
    width: min(1140px, calc(100% - 48px));

    margin-right: auto;
    margin-left: auto;
}


/* =========================================================
   5. SECTION HEADING
========================================================= */

.page-content .section-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;

    margin-bottom: 38px;
}

.page-content .section-heading > div {
    max-width: 720px;
}

.page-content .eyebrow-dark {
    display: inline-block;

    margin-bottom: 15px;

    color: var(--testi-gold);

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.page-content .section-heading h2 {
    margin: 0 0 16px;

    color: var(--testi-navy);

    font-size: clamp(30px, 4vw, 43px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1px;
}

.page-content .section-heading h2 span {
    color: var(--testi-blue);
}

.page-content .section-heading p {
    max-width: 650px;

    margin: 0;

    color: var(--testi-muted);

    font-size: 15px;
    line-height: 1.8;
}


/* =========================================================
   6. SEARCH AREA
========================================================= */

.page-content .page-tools {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;

    margin-bottom: 30px;
}

.page-content .search-form {
    display: flex;
    align-items: center;
    gap: 10px;

    width: min(100%, 650px);

    padding: 7px;

    background: var(--testi-white);

    border: 1px solid var(--testi-border);
    border-radius: 14px;

    box-shadow:
        0 5px 20px rgba(7, 27, 58, .035);

    transition: var(--testi-transition);
}

.page-content .search-form:focus-within {
    border-color: var(--testi-gold);

    box-shadow:
        0 0 0 4px rgba(213, 173, 85, .12);
}

.page-content .search-form input {
    flex: 1;
    min-width: 0;

    padding: 12px 15px;

    color: var(--testi-text);

    background: transparent;

    border: 0;
    outline: none;

    font-family: inherit;
    font-size: 13px;
}

.page-content .search-form input::placeholder {
    color: #9aa5b5;
}

.page-content .search-form button {
    flex-shrink: 0;

    padding: 13px 23px;

    color: var(--testi-white);

    background: var(--testi-navy);

    border: 0;
    border-radius: 10px;

    font-family: inherit;
    font-size: 13px;
    font-weight: 700;

    cursor: pointer;

    transition: var(--testi-transition);
}

.page-content .search-form button:hover {
    background: var(--testi-blue);

    transform: translateY(-2px);
}

.page-content .result-count {
    color: var(--testi-muted);

    font-size: 13px;
    font-weight: 600;
}


/* =========================================================
   7. TESTIMONIAL GRID
========================================================= */

.page-content .page-card-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 24px;

    align-items: stretch;
}


/* =========================================================
   8. TESTIMONIAL CARD
========================================================= */

.page-content .testimonial-card {
    position: relative;

    display: flex;
    flex-direction: column;

    min-width: 0;
    min-height: 290px;

    padding: 27px;

    overflow: hidden;

    background: var(--testi-white);

    border: 1px solid var(--testi-border);
    border-radius: var(--testi-radius);

    box-shadow: var(--testi-shadow);

    transition:
        transform .35s ease,
        box-shadow .35s ease,
        border-color .35s ease;
}

.page-content .testimonial-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 3px;

    background:
        linear-gradient(
            90deg,
            var(--testi-navy),
            var(--testi-gold)
        );

    transform: scaleX(0);
    transform-origin: left;

    transition: transform .35s ease;
}

.page-content .testimonial-card:hover {
    transform: translateY(-7px);

    border-color: rgba(213, 173, 85, .5);

    box-shadow:
        0 20px 45px rgba(7, 27, 58, .11);
}

.page-content .testimonial-card:hover::before {
    transform: scaleX(1);
}


/* =========================================================
   9. TESTIMONIAL IDENTITY
========================================================= */

.page-content .testimonial-card-top {
    display: flex;
    align-items: center;
    gap: 15px;

    min-width: 0;

    margin-bottom: 24px;
}

.page-content .testimonial-photo {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    width: 66px;
    height: 66px;

    overflow: hidden;

    background: #edf1f7;

    border: 3px solid rgba(213, 173, 85, .4);
    border-radius: 50%;
}

.page-content .testimonial-photo img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    border-radius: 50%;
}

.page-content .testimonial-avatar {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;

    color: var(--testi-white);

    background:
        linear-gradient(
            135deg,
            var(--testi-navy),
            var(--testi-blue)
        );

    font-size: 25px;
    font-weight: 800;

    text-transform: uppercase;
}

.page-content .testimonial-identity {
    flex: 1;
    min-width: 0;
}

.page-content .testimonial-identity h3 {
    margin: 0 0 5px;

    overflow-wrap: anywhere;

    color: var(--testi-navy);

    font-size: 16px;
    font-weight: 800;
    line-height: 1.4;
}

.page-content .testimonial-identity span {
    display: block;

    margin-bottom: 4px;

    color: var(--testi-blue);

    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
}

.page-content .testimonial-identity small {
    display: block;

    color: var(--testi-muted);

    font-size: 11px;
    line-height: 1.5;
}


/* =========================================================
   10. TESTIMONIAL QUOTE
========================================================= */

.page-content .testimonial-quote {
    position: relative;

    flex: 1;

    padding-left: 17px;

    border-left: 2px solid rgba(213, 173, 85, .6);
}

.page-content .quote-mark {
    display: block;

    height: 27px;

    color: var(--testi-gold);

    font-family: Georgia, serif;
    font-size: 43px;
    font-weight: 700;
    line-height: 1;
}

.page-content .testimonial-quote p {
    margin: 8px 0 20px;

    color: #526176;

    font-size: 13px;
    line-height: 1.9;

    overflow-wrap: anywhere;
}


/* =========================================================
   11. TESTIMONIAL FOOTER
========================================================= */

.page-content .testimonial-card-footer {
    display: flex;
    align-items: center;
    justify-content: flex-start;

    margin-top: auto;
    padding-top: 18px;

    border-top: 1px solid #edf0f5;
}

.page-content .tag-pill {
    display: inline-flex;
    align-items: center;

    padding: 7px 12px;

    color: var(--testi-blue);

    background: #edf3fb;

    border: 1px solid #e0eaf7;
    border-radius: 30px;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: .3px;
}


/* =========================================================
   12. EMPTY STATE
========================================================= */

.page-content .empty-state {
    grid-column: 1 / -1;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    min-height: 300px;

    padding: 45px 25px;

    text-align: center;

    background: var(--testi-white);

    border: 1px dashed #d6deea;
    border-radius: var(--testi-radius);
}

.page-content .empty-symbol {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 65px;
    height: 65px;

    margin-bottom: 20px;

    color: var(--testi-gold);

    background: #fbf7ed;

    border-radius: 50%;

    font-size: 30px;
    font-weight: 700;
}

.page-content .empty-state strong {
    margin-bottom: 10px;

    color: var(--testi-navy);

    font-size: 18px;
    font-weight: 800;
}

.page-content .empty-state p {
    max-width: 450px;

    margin: 0;

    color: var(--testi-muted);

    font-size: 13px;
    line-height: 1.8;
}


/* =========================================================
   13. PAGINATION
========================================================= */

.page-content .pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;

    margin-top: 55px;
}

.page-content .pagination a,
.page-content .pagination span {
    display: flex;
    align-items: center;
    justify-content: center;

    min-width: 42px;
    height: 42px;

    padding: 0 12px;

    color: var(--testi-navy);

    background: var(--testi-white);

    border: 1px solid var(--testi-border);
    border-radius: 11px;

    font-size: 13px;
    font-weight: 700;

    text-decoration: none;

    transition: var(--testi-transition);
}

.page-content .pagination a:hover {
    color: var(--testi-white);

    background: var(--testi-blue);

    border-color: var(--testi-blue);

    transform: translateY(-2px);
}

.page-content .pagination .current {
    color: var(--testi-white);

    background: var(--testi-navy);

    border-color: var(--testi-navy);
}


/* =========================================================
   14. FINAL CTA
========================================================= */

.final-cta {
    position: relative;
    isolation: isolate;

    overflow: hidden;

    padding: 90px 24px;

    color: var(--testi-white);

    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(213, 173, 85, .2),
            transparent 30%
        ),
        linear-gradient(
            120deg,
            var(--testi-navy-dark),
            var(--testi-navy),
            #123b75
        );
}

.final-cta::before {
    content: "";

    position: absolute;
    z-index: -1;

    width: 350px;
    height: 350px;

    top: -220px;
    left: -100px;

    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 50%;

    box-shadow:
        0 0 0 35px rgba(255, 255, 255, .025),
        0 0 0 70px rgba(255, 255, 255, .02);
}

.final-cta .cta-inner {
    position: relative;

    width: 100%;
    max-width: 900px;

    margin: 0 auto;

    text-align: center;
}

.final-cta .eyebrow {
    display: inline-block;

    margin-bottom: 20px;

    color: var(--testi-gold-light);

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2.5px;
}

.final-cta h2 {
    margin: 0 0 20px;

    color: var(--testi-white);

    font-size: clamp(32px, 4.5vw, 49px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1px;
}

.final-cta h2 span {
    color: var(--testi-gold-light);
}

.final-cta p {
    max-width: 650px;

    margin: 0 auto;

    color: rgba(255, 255, 255, .76);

    font-size: 15px;
    line-height: 1.9;
}

.final-cta .hero-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;

    margin-top: 32px;
}

.final-cta .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 49px;

    padding: 13px 24px;

    border: 1px solid transparent;
    border-radius: 10px;

    font-family: inherit;
    font-size: 13px;
    font-weight: 800;

    text-decoration: none;

    transition: var(--testi-transition);
}

.final-cta .btn-gold {
    color: var(--testi-navy);

    background: var(--testi-gold-light);
}

.final-cta .btn-gold:hover {
    background: var(--testi-white);

    transform: translateY(-3px);
}

.final-cta .btn-glass {
    color: var(--testi-white);

    background: rgba(255, 255, 255, .08);

    border-color: rgba(255, 255, 255, .35);
}

.final-cta .btn-glass:hover {
    color: var(--testi-navy);

    background: var(--testi-white);

    transform: translateY(-3px);
}


/* =========================================================
   15. TABLET RESPONSIVE
========================================================= */

@media (max-width: 1024px) {

    .page-hero {
        padding: 85px 24px 80px;
    }

    .page-content {
        padding-top: 75px;
        padding-bottom: 80px;
    }

    .page-content .page-card-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 20px;
    }

    .page-content .testimonial-card {
        padding: 24px;
    }

    .final-cta {
        padding: 75px 24px;
    }

}


/* =========================================================
   16. MOBILE RESPONSIVE
========================================================= */

@media (max-width: 640px) {

    .page-hero {
        padding: 70px 20px 65px;
    }

    .page-hero h1 {
        font-size: 37px;
        letter-spacing: -1px;
    }

    .page-hero p {
        font-size: 14px;
        line-height: 1.8;
    }

    .page-hero .breadcrumb {
        margin-top: 25px;
        font-size: 12px;
    }

    .page-content {
        padding-top: 60px;
        padding-bottom: 65px;
    }

    .page-content .container {
        width: calc(100% - 36px);
    }

    .page-content .section-heading {
        margin-bottom: 28px;
    }

    .page-content .section-heading h2 {
        font-size: 30px;
    }

    .page-content .section-heading p {
        font-size: 13px;
    }

    .page-content .page-tools {
        align-items: stretch;
        flex-direction: column;

        gap: 12px;

        margin-bottom: 24px;
    }

    .page-content .search-form {
        width: 100%;

        gap: 5px;
    }

    .page-content .search-form input {
        padding: 11px 9px;

        font-size: 12px;
    }

    .page-content .search-form button {
        padding: 12px 16px;

        font-size: 12px;
    }

    .page-content .result-count {
        font-size: 12px;
    }

    .page-content .page-card-grid {
        grid-template-columns: 1fr;

        gap: 17px;
    }

    .page-content .testimonial-card {
        min-height: 0;

        padding: 22px;
    }

    .page-content .testimonial-photo {
        width: 58px;
        height: 58px;
    }

    .page-content .testimonial-identity h3 {
        font-size: 15px;
    }

    .page-content .testimonial-quote p {
        font-size: 13px;
    }

    .page-content .pagination {
        gap: 6px;

        margin-top: 35px;
    }

    .page-content .pagination a,
    .page-content .pagination span {
        min-width: 38px;
        height: 38px;

        padding: 0 9px;
    }

    .final-cta {
        padding: 65px 20px;
    }

    .final-cta h2 {
        font-size: 32px;
    }

    .final-cta p {
        font-size: 13px;
    }

    .final-cta .hero-actions {
        flex-direction: column;

        width: 100%;
    }

    .final-cta .btn {
        width: 100%;
        max-width: 320px;
    }

}


/* =========================================================
   17. SMALL MOBILE
========================================================= */

@media (max-width: 380px) {

    .page-hero h1 {
        font-size: 32px;
    }

    .page-content .section-heading h2 {
        font-size: 27px;
    }

    .page-content .testimonial-card {
        padding: 18px;
    }

    .page-content .testimonial-card-top {
        gap: 11px;
    }

    .page-content .testimonial-photo {
        width: 52px;
        height: 52px;
    }

    .page-content .testimonial-identity h3 {
        font-size: 14px;
    }

    .page-content .search-form button {
        padding-right: 12px;
        padding-left: 12px;
    }

}


/* =========================================================
   18. ACCESSIBILITY
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .page-content .testimonial-card,
    .page-content .search-form,
    .page-content .search-form button,
    .page-content .pagination a,
    .final-cta .btn,
    .page-hero .breadcrumb a {
        transition: none !important;
        animation: none !important;
    }

    .page-content .testimonial-card:hover,
    .page-content .search-form button:hover,
    .page-content .pagination a:hover,
    .final-cta .btn:hover {
        transform: none;
    }

}
