:root {
    --primary-color: #c9a73e;
    --text-dark: #334155;
    --text-white: #f1f5f9;
    --background-color: #2f4858;
    --border-table-color: #9ca3af;
    --whatsapp-color: #2ba55a;
}

html,
body {
    font-family: "Quicksand", sans-serif, Helvetica, Arial;
    color: var(--text-dark) !important;
    background-color: #f8f8f8 !important;
    font-size: 16px !important;
    font-weight: 500 !important;
}

h1 {
    font-size: 47px !important;
    font-weight: bold !important;
    color: var(--text-dark);
}

h2,
h3,
h4,
h5,
h6 {
    color: var(--text-dark);
}

.brand {
    color: var(--primary-color);
}

.imageBackground {
    background-size: cover !important;
    background-position: center !important;
}

.slide-background {
    height: 100%;
    width: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    background-repeat: no-repeat;
}

.customBtn {
    background-color: var(--primary-color) !important;
    padding: 0.5rem 0.75rem;
    color: white !important;
    font-weight: bold !important;
    border: none !important;
}

.customBtn.active {
    background-color: var(--background-color) !important;
}

.customBtn.active:hover {
    background-color: #867025 !important;
}

.customBtn:hover {
    background-color: #b49530 !important;
}

.customBtn:active {
    background-color: #a68a2d !important;
}

.table {
    border: 2px solid var(--border-table-color);
}

swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* back to top */

.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 30px;
    font-size: 40px;
    color: #00c4a7;
    cursor: pointer;
    transition: opacity 0.3s ease;
    z-index: 10;
}

/* konsultasi online */

.konsultasiOnilne {
    position: fixed;
    bottom: 0px;
    right: 10px;
    font-size: 17px;
    background-color: #2cd46b;
    border: none;
    padding: 5px 15px;
    color: white;
    cursor: pointer;
    font-weight: 600;
    border-radius: 14px 14px 0px 0px;
    z-index: 20;
}

.cardKonsultasi {
    position: fixed;
    bottom: 50px;
    right: 15px;
    font-size: 15px;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    z-index: 20;
    background-color: var(--whatsapp-color);
    width: 300px;
    padding-top: 15px;
    border-radius: 14px 14px 0px 0px;
}

.avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: auto;
}

.chat-container {
    display: flex;
    align-items: flex-start;
    margin-left: 15px;
    margin-right: 20px;
    margin-bottom: 20px;
}

.profile-pic {
    flex-grow: 1;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 10px;
    background-size: cover;
    background-position: center;
    background-color: #ddd;
}

.chat-container img {
    border-radius: 50%;
    margin-right: 10px;
    width: 15%;
    height: 15%;
}

.chat-bubble {
    background-color: #f1f1f1;
    border-radius: 10px;
    padding: 10px;
    width: 85%;
    max-width: 300px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    position: relative;
}

.chat {
    background-color: #f1f5f9;
    display: flex;
    flex-direction: column;
}

.balas {
    width: 95%;
    background-color: var(--whatsapp-color);
    margin-bottom: 10px;
    transition: background-color 0.3s ease;
}

.balas:hover {
    background-color: #249d4e;
}

.balas:active {
    background-color: #1f8a44;
}

@media screen and (max-width: 600px) {
    h1 {
        font-size: 8vw;
    }
}
