/* =========================================================
   KRITIK & SARAN — BERANDA
   DESKTOP ONLY
========================================================= */


/* =========================================================
   SECTION
========================================================= */

.home-feedback{
    background:
    radial-gradient(
        circle at 80% 40%,
        rgba(230,0,18,0.12),
        transparent 35%
    ),
    linear-gradient(
        135deg,
        #ffffff,
        #fff7f8
    );
    padding:50px 0;
    position:relative;
    overflow:hidden;
}

.home-feedback::marker{
    display:none;
}

/* =========================================================
   DECORATIVE BACKGROUND
========================================================= */
.home-feedback::before{
    content:"";
    position:absolute;
    width:320px;
    height:320px;
    background:#e60012;
    opacity:.06;
    border-radius:50%;
    left:-120px;
    bottom:-80px;
    z-index:0;
}

/* .home-feedback::after{
    content:"";

    position:absolute;

    right:-120px;
    top:-40px;

    width:420px;
    height:420px;

    border-radius:50%;

    background:rgba(215,25,32,.06);

    pointer-events:none;
} */

.home-feedback::after{
    content:"";
    position:absolute;
    width:120px;
    height:120px;
    background:#e60012;
    opacity:.04;
    right:-40px;
    top:40px;
    transform:rotate(45deg);
}

/* =========================================================
   INNER
========================================================= */

.home-feedback-inner{
    position:relative;

    z-index:2;

    display:grid;

    grid-template-columns:280px minmax(430px,1fr) 520px;

    align-items:stretch;

    width:100%;

    min-height:350px;
}


/* =========================================================
   ILUSTRASI
========================================================= */

.home-feedback-illustration{
    position:relative;

    min-height:350px;
}


/* =========================================================
   CHAT BUBBLE
========================================================= */

.feedback-bubble{
    position:absolute;

    top:50px;
    left:65px;

    width:135px;
    height:78px;

    display:flex;
    align-items:center;
    justify-content:center;
    gap:11px;

    border-radius:18px;

    background:#d71920;

    box-shadow:
        0 10px 24px rgba(215,25,32,.23);
}

.feedback-bubble::after{
    content:"";

    position:absolute;

    left:17px;
    bottom:-21px;

    width:0;
    height:0;

    border-top:25px solid #d71920;
    border-right:21px solid transparent;
}

.feedback-bubble span{
    width:15px;
    height:15px;

    border-radius:50%;

    background:#fff;
}


/* =========================================================
   PAPER
========================================================= */

.feedback-paper{
    position:absolute;

    left:120px;
    top:108px;

    width:155px;
    height:140px;

    border-radius:15px;

    background:#fff;

    box-shadow:
        0 9px 24px rgba(0,0,0,.08);

    transform:rotate(-1deg);
}


/* =========================================================
   PAPER LINES
========================================================= */

.feedback-line{
    position:absolute;

    left:23px;

    height:7px;

    border-radius:7px;

    background:#d8d8d8;
}

.line-1{
    top:28px;
    width:103px;
}

.line-2{
    top:52px;
    width:88px;
}

.line-3{
    top:76px;
    width:65px;
}

.line-4{
    top:100px;
    width:44px;
}


/* =========================================================
   PENCIL
========================================================= */

.feedback-pencil{
    position:absolute;

    left:215px;
    top:165px;

    width:19px;
    height:98px;

    border-radius:6px;

    background:#d71920;

    transform:rotate(42deg);

    box-shadow:
        0 6px 14px rgba(0,0,0,.15);
}

.feedback-pencil::after{
    content:"";

    position:absolute;

    bottom:-12px;
    left:3px;

    width:0;
    height:0;

    border-top:16px solid #333;
    border-left:7px solid transparent;
    border-right:7px solid transparent;
}


/* =========================================================
   CONTENT
========================================================= */

.home-feedback-content{
    display:flex;

    flex-direction:column;

    justify-content:center;

    padding:45px 35px 45px 25px;
}


/* =========================================================
   LABEL
========================================================= */

.home-feedback-label{
    display:block;

    margin-bottom:10px;

    color:#d71920;

    font-size:13px;

    font-weight:800;

    letter-spacing:4px;

    line-height:1.4;
}


/* =========================================================
   TITLE
========================================================= */

.home-feedback-content h2{
    margin:0 0 12px;

    color:#101828;

    font-size:56px;

    line-height:1.05;

    font-weight:800;
}

.home-feedback-content h2 strong{
    color:#d71920;

    font-weight:800;
}


/* =========================================================
   DESCRIPTION
========================================================= */

.home-feedback-content p{
    max-width:570px;

    margin:0 0 22px;

    color:#334155;

    font-size:16px;

    line-height:1.6;
}


/* =========================================================
   BUTTON
========================================================= */

.home-feedback-button{
    display:inline-flex;

    align-items:center;

    gap:12px;

    width:max-content;

    padding:14px 22px;

    border-radius:10px;

    background:#d71920;

    color:#fff;

    text-decoration:none;

    font-size:15px;

    font-weight:700;

    box-shadow:
        0 8px 18px rgba(215,25,32,.18);

    transition:
        transform .2s ease,
        background .2s ease,
        box-shadow .2s ease;
}

.home-feedback-button,
.home-feedback-button:hover,
.home-feedback-button:focus,
.home-feedback-button:active{
    text-decoration:none !important;
}

.home-feedback-button i:first-child{
    font-size:19px;
}

.home-feedback-button i:last-child{
    margin-left:8px;

    font-size:14px;
}

.home-feedback-button:hover{
    background:#b9141a;

    transform:translateY(-2px);

    box-shadow:
        0 12px 24px rgba(215,25,32,.25);
}


/* =========================================================
   NOTE
========================================================= */

.home-feedback-note{
    margin-top:12px;

    color:#475569;

    font-size:13px;

    line-height:1.5;
}


/* =========================================================
   FOTO RSUD
========================================================= */

.home-feedback-image{
    position:relative;
    min-height:350px;
    overflow:hidden;

    background-image:
        url("/static/img/profil/hero.jpg");

    background-size:cover;
    background-position:center;

    /* Membuat gambar lebih lembut */
    opacity:.92;

     /* menyatu dengan section, tidak terlihat seperti kotak */
    mask-image:
    linear-gradient(
        to right,
        transparent 0%,
        black 12%,
        black 100%
    ),

    linear-gradient(
        to bottom,
        transparent 0%,
        rgba(0,0,0,.25) 10%,
        black 28%,
        black 100%
    );

    -webkit-mask-image:
    linear-gradient(
        to right,
        transparent 0%,
        black 12%,
        black 100%
    ),

    linear-gradient(
        to bottom,
        transparent 0%,
        rgba(0,0,0,.25) 10%,
        black 28%,
        black 100%
    );

    -webkit-mask-composite: source-in;
    mask-composite: intersect;
}


/* =========================================================
   IMAGE OVERLAY
========================================================= */

.home-feedback-image-overlay{
    position:absolute;

    inset:0;

    background:

        /* FADE ATAS — LEMBUT */
        linear-gradient(
            to bottom,
            rgba(255,255,255,.88) 0%,
            rgba(255,255,255,.72) 7%,
            rgba(255,255,255,.48) 14%,
            rgba(255,255,255,.28) 22%,
            rgba(255,255,255,.12) 32%,
            rgba(255,255,255,0) 90%
        ),

        /* FADE KIRI */
        linear-gradient(
            90deg,
            rgba(255,255,255,1) 0%,
            rgba(255,255,255,.96) 8%,
            rgba(255,255,255,.82) 22%,
            rgba(255,255,255,.45) 42%,
            rgba(255,255,255,.12) 65%,
            rgba(215,25,32,.08) 82%,
            rgba(120,0,0,.18) 100%
        );

    pointer-events:none;

    /* CSS background yang sekarang tetap */
    z-index:1;

}


/* =========================================================
   IMAGE DECORATION
========================================================= */

.home-feedback-image::after{
    content:"";

    position:absolute;

    right:-120px;
    bottom:-150px;

    width:390px;
    height:300px;

    background:
        linear-gradient(
            135deg,
            rgba(215,25,32,0) 0%,
            rgba(215,25,32,.16) 30%,
            rgba(215,25,32,.55) 70%,
            rgba(120,0,0,.40) 100%
        );

    transform:rotate(-18deg);

    filter:blur(1px);

    pointer-events:none;

    z-index:2;
}


/* =========================================================
   IMAGE TEXT
========================================================= */

.home-feedback-image-text{
    position:absolute;

    right:25px;
    bottom:35px;

    z-index:3;

    display:flex;
    flex-direction:column;
    align-items:flex-end;

    color:#fff;

    font-family:cursive;
    font-size:32px;
    font-weight: 700;
    line-height:1.05;

    transform:rotate(-11deg);

    /* STROKE HALUS */
    -webkit-text-stroke:1px rgba(120,0,0,.35);

    /* sedikit depth supaya tulisan lebih hidup */
    text-shadow:
        1px 2px 3px rgba(0,0,0,.15);
}

.home-feedback-image-text span:last-child{
    margin-top:4px;
}


/* =========================================================
   MOBILE
   SECTION BELUM KITA KERJAKAN
========================================================= */

@media(max-width:600px){

    .home-feedback{
        display:none;
    }

}