
/* ================= TENTANG KAMI ================= */

.tentang-page {
    padding: 120px 40px 100px;
    background: #f8fafc;
}

/* HEADER */
.tentang-header {
    text-align: center;
    margin-bottom: 70px;
}

.tentang-header h1 {
    font-size: 52px;
    margin-bottom: 15px;
    font-weight: 700;
}

.tentang-header p {
    font-size: 22px;
    color: #475569;
}

/* CONTAINER */
.tentang-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* TEXT */
.tentang-text {
    margin-bottom: 70px;
}

.tentang-text h2 {
    font-size: 36px;
    margin-bottom: 25px;
}

.tentang-text p {
    font-size: 17px;
    line-height: 1.9;
    color: #475569;
    text-align: justify;
}

/* GRID */
.tentang-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;

    margin-bottom: 100px;
}

/* CARD */
.tentang-card {
    background: white;
    padding: 40px 30px;

    border-radius: 18px;

    text-align: center;

    box-shadow: 0 10px 30px rgba(0,0,0,0.08);

    transition: 0.3s;
}

.tentang-card:hover {
    transform: translateY(-5px);
}

.tentang-card i {
    font-size: 55px;
    color: #1e3a8a;

    margin-bottom: 25px;
}

.tentang-card h3 {
    margin-bottom: 15px;
    font-size: 22px;
}

.tentang-card p {
    color: #64748b;
    line-height: 1.7;
}

/* VISI MISI */
.visi-misi h2 {
    text-align: center;
    margin-bottom: 60px;

    font-size: 42px;
}

.visi-item {
    display: grid;
    grid-template-columns: 250px 1fr;

    gap: 40px;

    margin-bottom: 60px;
}

.visi-item h3 {
    font-size: 34px;
}

.visi-item p {
    font-size: 17px;
    line-height: 1.9;
    color: #475569;
}

/* ==========================
   CHATBOT
========================== */

#chatbot-toggle{
    position:fixed;
    right:25px;
    bottom:25px;

    width:65px;
    height:65px;

    border-radius:50%;
    background:#0d6efd;

    display:flex;
    justify-content:center;
    align-items:center;

    color:white;
    font-size:28px;

    cursor:pointer;

    z-index:9999;

    box-shadow:
    0 0 20px rgba(13,110,253,.5);

    transition:.3s;
}

#chatbot-toggle:hover{
    transform:scale(1.1);
}

#chatbot-box{

    position:fixed;

    right:25px;
    bottom:100px;

    width:380px;
    height:550px;

    background:white;

    border-radius:20px;

    overflow:hidden;

    display:none;
    flex-direction:column;

    z-index:9999;

    box-shadow:
    0 10px 35px rgba(0,0,0,.25);

    animation:chatShow .3s ease;
}

@keyframes chatShow{

    from{
        opacity:0;
        transform:translateY(30px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }
}

.chat-header{

    background:#0d6efd;
    color:white;

    padding:18px;

    display:flex;
    justify-content:space-between;
    align-items:center;

    font-weight:600;
}

.chat-title{
    display:flex;
    gap:10px;
    align-items:center;
}

#close-chat{
    cursor:pointer;
}

#chat-messages{

    flex:1;

    padding:15px;

    overflow-y:auto;

    background:#f5f7fb;
}

.user-message{

    background:#0d6efd;
    color:white;

    padding:10px 15px;

    border-radius:15px 15px 0 15px;

    margin-bottom:12px;

    max-width:80%;

    margin-left:auto;
}

.bot-message{

    background:white;

    padding:10px 15px;

    border-radius:15px 15px 15px 0;

    margin-bottom:12px;

    max-width:80%;

    box-shadow:
    0 2px 8px rgba(0,0,0,.08);
}

.chat-input{

    display:flex;

    border-top:1px solid #eee;
}

.chat-input input{

    flex:1;

    border:none;

    padding:15px;

    outline:none;
}

.chat-input button{

    width:60px;

    border:none;

    background:#0d6efd;

    color:white;

    cursor:pointer;
}

.chat-input button:hover{
    background:#0b5ed7;
}

/* loading animation */

.typing{

    background:white;

    width:70px;

    padding:12px;

    border-radius:15px;

    display:flex;
    gap:5px;
}

.typing span{

    width:8px;
    height:8px;

    background:#999;

    border-radius:50%;

    animation:typing 1s infinite;
}

.typing span:nth-child(2){
    animation-delay:.2s;
}

.typing span:nth-child(3){
    animation-delay:.4s;
}

@keyframes typing{

    0%,100%{
        transform:translateY(0);
    }

    50%{
        transform:translateY(-5px);
    }
}

#chatbot-box{

    position:fixed;
    right:25px;
    bottom:100px;

    width:380px;
    height:550px;

    background:white;
    border-radius:20px;

    overflow:hidden;

    display:flex;
    flex-direction:column;

    z-index:9999;

    box-shadow:
    0 10px 35px rgba(0,0,0,.25);

    opacity:0;
    visibility:hidden;

    transform:translateY(30px) scale(.95);

    transition:
    opacity .3s ease,
    transform .3s ease,
    visibility .3s ease;
}

/* Saat dibuka */
#chatbot-box.show{

    opacity:1;
    visibility:visible;

    transform:
    translateY(0)
    scale(1);
}

#chatbot-toggle{

    animation:
    pulse 2s infinite;
}

@keyframes pulse{

    0%{
        box-shadow:
        0 0 0 0
        rgba(13,110,253,.7);
    }

    70%{
        box-shadow:
        0 0 0 18px
        rgba(13,110,253,0);
    }

    100%{
        box-shadow:
        0 0 0 0
        rgba(13,110,253,0);
    }
}