:root {
    --maroon5: #7D0A0A;
    --burgundy: #BF3131;
    --putin: #F1F1F1;
    --blacky: #000000;
    --buabu: #E3E5E8;
}

@font-face {
    font-family: PJS;
    src: url(../assets/font/PlusJakartaSans-Regular.ttf)
}

body {
    font-family : PJS;
    }

    #navbarId{
    background-color: #7D0A0A !important;
    }

    /* Navbar */
    .navscroll {
        font-weight: bold;
    }

    .nav-link {
    color: var(--putin) !important; /* Pastikan warna link putih/terang */
    font-weight: 600; /* Sedikit lebih tebal */
    padding: 10px 15px; /* Tambahkan padding agar area klik lebih besar */
    border-radius: 5px; /* Sedikit lengkungan */
    transition: color 0.3s, background-color 0.3s;
    }
    
    .nav-link:hover {
    color: white !important; /* Warna teks tetap */
    background-color: var(--burgundy) !important; /* Latar belakang link saat hover menjadi burgundy */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Tambahkan sedikit bayangan */
    }

    .navbar-brand {
    color: white !important; /* Pastikan nama brand/logo terlihat */
    font-weight: bold;
    font-size: 1.5rem; /* Ukuran yang lebih menonjol */
    }
    
    .button-primary {
/* ... kode yang sudah ada ... */
    padding: 8px 20px; /* Padding lebih horisontal */
    background-color: white;
    color: var(--maroon5);
    border-radius: 20px; /* Lebih rounded/pill shape */
    border: 2px solid white; /* Tambahkan border tipis agar terlihat solid */
    font-weight: 700; /* Lebih tebal */
    /* ... kode yang sudah ada ... */
    }
    
    .button-primary:hover {
    background-color: var(--burgundy); /* Saat hover, ganti ke warna burgundy */
    color: white; /* Teks menjadi putih */
    border-color: var(--burgundy); /* Border ikut berubah */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Tambahkan sedikit bayangan */
    }

    .navbar {
    z-index: 3;
    }

    * {
    z-index: 2;
    }

    .navbar {
        /* Hapus transisi jika ada di sini, sudah ada di .navbar-scrolled */
        transition: background-color 0.5s ease; /* Hanya transisi warna latar belakang */
        background-color: transparent !important; /* Awalnya transparan */
        box-shadow: none !important; /* Hapus bayangan awal */
        padding-top: 15px; /* Tambahkan sedikit padding agar terlihat lebih lega */
        padding-bottom: 15px;
        z-index: 1030; /* Pastikan di atas elemen lain, standard Bootstrap */
    }
    .navbar-scrolled{
        background-color: var(--maroon5) !important; /* Warna saat di-scroll */
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important; /* Bayangan yang lebih kuat */
    }

    /* Hero */
    .header {
        padding-top: 100px;
        background-color: #7D0A0A;
        height: auto;
    }

    .info {
        padding-top: 130px;
    }

    .heroh {
        font-family: Playfair Display;
        color: white;
        font-weight: 700;
    }

    .herop {
        font-family : PJS;
        font-weight: 500;
        color: white;
    }

    .button-hero {
        font-family: PJS;
        height: 40px;
        width: 120px;
        background-color: var(--burgundy);
        border-radius: 6px;
        border: none;
        font-weight: bold;
        transition: 0.3s;
        color: white;
    }

    .button-hero:hover {
        background-color: var(--putin);
        color: var(--maroon5);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Tambahkan sedikit bayangan */
    }

    img {
        max-width: 100%;
    }
    
    .imghero {
        height: 500px;
        width: auto;
        padding-left: 50px;
        cursor: pointer;
    }

    /* Panduan */
    .pcard {
        height: 170px;
        width: 300px;
    }

    .txtdcr {
        text-decoration: none;
        
    }

    .szf {
        font-size: small;
    }

    h3 {
        font-family: Playfair Display;
        font-weight: 700;
    }

    .panduanimg {
        width: 70px;
    }

    h6 {
        font-family: PJS;
        font-weight: 700;
    }

    .bgpp {
        background-image: url(assets/Rectangle\ 85.png);
        height: 250px;
    }

    .panduanph {
        padding-top: 70px;
        padding-right: 50px;
    }

    .panduanp {
        font-family: PJS;
        font-weight: bold;
        text-align: right;
    }

    .panduanh {
        font-family: Playfair Display;
        font-weight: 700;
        text-align: right;
    }

    .clrh {
        color: var(--maroon5);
    }

    .pbutton2 {
        padding-top: 50px;
        padding-left: 50px;
    }

    .button-panduan {
        font-family: PJS;
        height: 55px;
        width: 350px;
        background-color: var(--maroon5);
        border-radius: 6px;
        border: none;
        font-weight: bold;
        transition: 0.3s;
        color: white;
        margin: 7px;
    }

    .button-panduan:hover {
        background-color: var(--burgundy);
    }

    .polybtn {
        padding-left: 200px;
    }

    .pbutton {
        width: 10px;
    }

    /* Berita */

    .berita {
        background-image: url(assets/Rectangle\ 21.png);
        height: 600px;
    }

    .beritah {
        font-family: Playfair Display;
        font-weight: 700;
        color: white;
    }

    .pberita {
        padding-left: 50px;
    }

    .becard {
        width: 18rem;
    }

    .bcard {
        height: 165px;
    }

    .b3card {
        height: 170px;
    }

    .card-img-top{
        border-radius: 8px;
        padding: 8px;
    }

    .cardb {
        font-family: PJS;
        color: #989595;
    }

    .cardh {
        font-family: Playfair Display;
        font-weight: 700;
    }

    /* Pertanyaan */
    .pertanyaan {
        padding-top: 140px;
    }

    .pertanyaanh {
        font-family: Playfair Display;
        font-weight: 700;
    }

    .pertanyaanp {
        font-family : PJS;
        font-weight: 500;
    }

    .button-pertanyaan {
        font-family: PJS;
        height: 40px;
        width: 180px;
        background-color: var(--maroon5);
        border-radius: 6px;
        border: none;
        font-weight: bold;
        transition: 0.3s;
        color: white;
    }
    
    .button-pertanyaan:hover {
        background-color: var(--burgundy);
        color: white;
    }

    .imgpertanyaan {
        height: 500px;
        width: auto;
        cursor: pointer;
    }

    /* Definisi */

    /* Navbar */

    .navdef {
        color: var(--maroon5);
    }
    
    .navdef:hover {
        color: var(--burgundy);
    }

    .navbar-scroll{
        background-color: white;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
    }

    .defnav {
        color: var(--maroon5);
    }

    .defnav:hover {
        color: var(--burgundy);
    }

    /* Hero Section */
    .defhero {
        background-image: url(assets/Rectangle\ 21.png);
        margin-top: 150px;
        height: 420px;
        width: 500px;
        border-radius: 6px;
        margin-left: 100px;
    }

    .definfo {
        margin: 30px;
    }

    .imgdef {
        margin-left: 550px;
        border-radius: 6px;
        margin-top: -360px;
        height: 420px;
        width: 500px;
    }

    /* Jenis KS */
    .jenisks {
        background-image: url(assets/Rectangle\ 21.png);
        height: 500px;
        margin-top: 50px;
    }

    .hks {
        font-family: Playfair Display;
        font-weight: bold;
        color: white;
        
    }

    .bgks {
        background-color: white;
        height: 150px;
        width: 100%;
        border-radius: 6px;
        padding-top: 20px;
    }
    
    .hjenis {
        font-family: Playfair Display;
        font-weight: 700;
    }

    .pjenis {
        font-family: PJS;
        font-size: small;
        font-weight: 550;
    }

    .bgks2 {
        margin-top: 30px;
        background-color: white;
        height: 150px;
        width: 45%;
        border-radius: 6px;
        padding-top: 7px;
        margin-left: 12px
    }

    .bgks3 {
        margin-top: 30px;
        background-color: white;
        height: 150px;
        width: 45%;
        border-radius: 6px;
        padding-top: 7px;
        margin-left: 90px;
    }

    /* Contoh KS */
    .hcks {
        font-family: Playfair Display;
        font-weight: bold;
    }

    .pictall {
        margin-top: 40px;
        margin-left: 100px;
    }

    .pict {
        background-image: url(assets/Rectangle\ 21.png);
        height: 200px;
        width: 200px;
        padding: 30px;
        border-radius: 6px;
    }
    .picta {
        width: 100px;
    }

    .pict2 {
        background-image: url(assets/Rectangle\ 80.png);
        height: 200px;
        width: 200px;
        padding: 30px;
        border-radius: 6px;
    }

    .p3 {
        color: white;
        font-family: PJS;
    }

    .p6 {
        font-family: PJS;
    }

    /* Report */
    .bgreport {
        background-image: url(../assets/Rectangle\ 21.png);
        height: 645px;
    }

    .hreport {
        font-family: Playfair Display;
        color: white;
        font-weight: bold;
    }

    .preport {
        color: white;
        font-family: PJs;
    }

    .padreport {
        margin-top: 50%;
        margin-right: 250px;
    }

    .frm {
        padding: 15px;
        margin-left: 13px;
    }

    .formreport {
        background-color: var(--putin);
        height: 600px;
        border-radius: 6px;
        margin-top: 25px;
        padding-left: 25px;
    }

    .lbl {
        font-family: PJS;
        font-weight: 700;
        margin: 5px 0px;
    }

    .inpt {
        width: 95%;
        font-size: small;
        border: none;
        border-radius: 6px;
        background-color: #D9D9D9;
        height: 45px;
        padding: 12px 15px;
        display: inline-block;
    }

    .inptt {
        width: 95%;
        font-size: small;
        border: none;
        border-radius: 6px;
        background-color: #D9D9D9;
        height: 225px;
        padding: 12px 15px;
        padding-bottom: 180px;
        display: inline-block;
        
    }

    .btnlpr {
        border: none;
        background-color: var(--maroon5);
        color: white;
        width: 95%;
        height: 40px;
        border-radius: 6px;
        font-family: PJS;
        font-weight: 700;
        margin-top: 20px;
        
    }

    .btnlpr:hover {
        background-color: var(--burgundy);
    }

    /* Report_Admin */
    form {
        background-color: var(--putin);
        border-radius: 6px;
        margin-top: 25px;
        padding-inline: 20px;
    }
    /* Hero Section */
    .pphero {
        margin-top: 70px;
    }

    .hpngn {
        font-weight: 700;
        font-family: Playfair Display;
    }

    .hppngn {
        font-weight: 600;
        color: var(--maroon5);
        font-family: PJS;
    }

    .bghpngn{
        background-color: #D9D9D9;
        height: 200px;
        width: 45%;
        border-radius: 6px;
        padding: 10px;
        margin-left: 50px
    }

    .bghpngn2 {
        background-color: #D9D9D9;
        height: 200px;
        width: 45%;
        border-radius: 6px;
        padding: 10px;
        margin-left: 35px;
    }

    .bghpngn3{
        background-color: #D9D9D9;
        height: 200px;
        width: 45%;
        border-radius: 6px;
        padding: 10px;
        margin-left: 50px;
        margin-top: 30px;
    }

    .bghpngn4{
        background-color: #D9D9D9;
        height: 200px;
        width: 45%;
        border-radius: 6px;
        padding: 10px;
        margin-left: 35px;
        margin-top: 30px;
    }

    .imghp {
        width: 150px;
        position: absolute;
        left: 450px;
        bottom: 220px;
    }

    .imghp2 {
        width: 150px;
        position: absolute;
        left: 1005px;
        bottom: 220px;
    }

    .imghp3 {
        width: 150px;
        position: absolute;
        left: 450px;
        bottom: -10px;
    }

    .imghp4 {
        width: 150px;
        position: absolute;
        left: 200px;
        bottom: -10px;
    }

    /* Pencegahan KS */
    .pncghks {
        margin-top: 50px;
        background-color: #7D0A0A;
        background-image: url(../assets/rectangle\ 2.png);
        height: 500px;
    }

    .pencegahpict {
        margin-left: 100px;
    }

    .allpict {
        padding-top: 100px;
        margin-left: 120px;
    }

    .allpict2 {
        padding-top: 50px;
        margin-left: 100px;
    }

    .hpncgh {
        font-weight: 700;
        font-family: Playfair Display;
        color: white;
    }

    .pictpks {
        background-color: white;
        height: 150px;
        width: 150px;
        border-radius: 6px;
        padding-left: 5px;
        padding-top: 10px;
        margin-left: 95px;
    }

    .pictpks2 {
        background-color: white;
        height: 150px;
        width: 150px;
        border-radius: 6px;
        padding-top: 10px;
        margin-left: -30px;
    }

    .pictpks3 {
        background-color: white;
        height: 150px;
        width: 150px;
        border-radius: 6px;
        padding-top: 10px;
        padding-left: 5px;
        margin-left: -10px;
    }

    .pictpks3a {
        background-color: white;
        height: 150px;
        width: 150px;
        border-radius: 6px;
        padding-top: 10px;
        margin-left: -45px;
    }

    .pictpks4 {
        background-color: white;
        height: 150px;
        width: 150px;
        border-radius: 6px;
        padding-top: 10px;
        padding-left: 5px;
        margin-left: -77px;
    }

    .pictpks4a {
        background-color: white;
        height: 150px;
        width: 150px;
        border-radius: 6px;
        padding-top: 10px;
        margin-left: -115px;
    }

    .imgpks {
        width: 70px;
    }

    .tks {
        font-size: x-small;
        text-align: center;
        font-family: PJS;
        font-weight: 700;
    }

    /* Footer */
    footer {
        background-color: #131313;
    }

    .textfoot {
        color: white;
    }

    /* Quiz */

    .imgquiz {
        height: 150px;
        margin-left: 280px;
        margin-top: -175px;
    }

    .bgquiz {
        background-color: var(--maroon5);
        height: 465px;
        margin-top: 177px;
    }
    
    .imgquiz2 {
        background-color: white;
        height: 385px;
        width: 100%;
        border-radius: 6px 6px 0px 0px;
        margin-top: 55px;
    }

    .pquiz {
        font-family: PJS;
        font-weight: 700;
        text-align: center;
        margin-top: 10px;
        margin-right: 10px;
    }

    .hquiz {
        font-family: PJS;
        font-weight: 700;
        text-align: center;
        margin-top: 30px;
    }

    .mgquiz {
        margin-left: 65px;
    }

    .btnquiz {
        background-color: var(--burgundy);
        font-size: small;
        border-radius: 6px;
        border-color: white;
        margin-top: 35px;
        border-width: 0.5px;
        color: white;
        width: 300px;
        height: 40px;
        margin-left: 90px;
        padding: 10px;
        padding-left: 30px;
    }

    .btnquiz2 {
        background-color: var(--burgundy);
        font-size: small;
        border-radius: 6px;
        border-color: var(--maroon5);
        margin-top: 35px;
        border-width: 0.5px;
        color: white;
        width: 300px;
        height: 40px;
        margin-right: 90px;
        padding: 10px;
        padding-left: 30px;
    }

    .btnquiz3 {
        border-radius: 6px;
        margin-top: 35px;
        width: 300px;
        height: 40px;
        margin-left: 90px;
        color: var(--blacky);
        font-weight: 500;
    }

    .btnquiz4 {
        border-radius: 6px;
        margin-top: 35px;
        width: 300px;
        height: 40px;
        margin-left: 190px;
        color: var(--blacky);
        font-weight: 500;
    }

    .btnquiz:hover {
        background-color: var(--maroon5);
    }

    .btnr:hover{
        background-color: var(--burgundy);
    }

    .btnquiz2:hover {
        background-color: var(--maroon5);
    }

    /* Tentang Kami */

    /* Hero Section */

    .imgttgkmi {
        background-image: url(../assets/ttgkami.png);
        height: 400px;
        margin-top: 80px;
        padding-top: 120px;
    }

    .httgkmi {
        color: white;
        font-family: Playfair Display;
        font-weight: 600;
        
    }

    .bghttgkmi {
        background-image: url(../assets/Rectangle\ 21.png);
        margin-top: 100px;
        height: 400px;
        width: 100%;
        border-radius: 6px;
    }

    .imgell {
        width: 200px;
        margin-top: 50px;
    }

    .himgttg {
        color: white;
        font-weight: 600;
        font-family: PJS;
    }

    .pimgttg {
        color: white;
        font-family: PJS;
    }

    /* Filosofi */
    .filosofi {
        margin-top: 330px;
    }

    .imgfilo {
        height: 250px;
        margin-left: 50px;
    }

    .mgfilo {
        margin-top: 45px;
        margin-right: 70px;
    }

    .hfilo {
        color: var(--maroon5);
        font-weight: 600;
        font-family: Playfair Display;
    }

    .pfilo {
        font-family: PJS;
    }

    .bgfilo {
        background-image: url(../assets/Rectangle\ 21.png);

    }

    .bgim {
        background-image: url(../assets/Rectangle\ 21.png);
        height: 250px;
        margin-top: 50px;
        padding-top: 60px;
    }

    .him {
        color: white;
        font-weight: 600;
        font-family: PJS;
        text-align: center;
        font-family: Playfair Display;
    }

    .pim {
        color: white;
        font-family: PJS;
        text-align: justify;
    }

    /* Color Pallete */

    .padclrplt {
        padding-top: 50px;
    }

    .clrplt {
        font-family: Playfair Display;
        font-weight: 600px;
        text-align: center;
    }

    .imgclrplt {
        width: 100%;
        box-shadow: 0 3px 5px rgba(0, 0, 0, 0.15);
    }

    /* Font */

    .plyfd {
        background-color: #D9D9D9;
        width: 100%;
        height: 100px;
        padding: 15px;
        margin-bottom: 50px;
    }

    .ply {
        font-family: Playfair Display;
        font-weight: 600;
        color: var(--maroon5);
    }

    .pply {
        font-weight: 600;
        font-family: Playfair Display;
        font-size: large;
    }

    .pjs {
        font-family: PJS;
        font-weight: 600;
        color: var(--maroon5);
    }

    .ppjs {
        font-weight: 600;
        font-family: PJS;
        font-size: large;
    }

    /* Generate */
    .btnchat {
    background-color: var(--maroon5);
    color: #F1F1F1;
    }

    .btnchat:hover {
    background-color: var(--burgundy);
    }

    .textrespond {
    background-color: #F1F1F1;
    color: #252525;
    }

    .textbox {
    padding-top: 150px;
    }

    .textbox2 {
        box-shadow: 0px 2px 5px #252525;
    }


    @media (max-width: 480px){
        form .half{
          flex-direction: column;
        }
        form .half .item{
          width: 100%;
        }
        form .action{
          display: flex;
          flex-direction: column;
        }
        form .action input{
          margin-bottom: 10px;
          width: 100%;
        }
      }
    