* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: #333;
    font-size: 16px;
}

h1 {
    font-size: 2rem;
    font-weight: 700;
}

h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #0d6efd;
}

h3 {
    font-size: 1.2rem;
    font-weight: 600;
}

h4 {
    font-size: 1.1rem;
    font-weight: 500;
}

h5 {
    font-size: 1.1rem;
    font-weight: 500;
}

h6 {
    font-size: 1rem;
    font-weight: 500;
}

p {
    font-size: 14.5px;
}

ol {
    list-style: none;
    counter-reset: my-counter;
    padding: 0;
}

ol li {
    counter-increment: my-counter;
    margin: 0.5rem 0;
    padding-left: 2.5rem;
    position: relative;
}

/* Number circle */
ol li::before {
    content: counter(my-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: #0d6efd;
    color: #fff;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar,
.btn {
    font-weight: 500;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
    font-size: 15px;
}


table th,
table td {
    border: 1px solid #ddd;
    padding: 0.75rem;
    text-align: left;
}

table th {
    background: #f8f8f8;
    font-weight: 600;
}

table tr:hover {
    background: #f1f1f1;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

section {
    padding: 20px 20px;
}


.btn-gradient {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
    background: linear-gradient(135deg, #0034de, #006eff);
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(0, 52, 222, 0.4);
    width: 120px;
    border-bottom: 3px solid #002cbb;
}

.btn-gradient:hover {
    color: #ffffff;
    background: linear-gradient(135deg, #0048ff, #0080ff);
    box-shadow: 0 10px 25px rgba(0, 110, 255, 0.6);
    transform: translateY(-2px);
}

.btn-gradient:active {
    transform: translateY(1px);
    box-shadow: 0 4px 10px rgba(0, 52, 222, 0.5);
    border-bottom: 1px solid #002cbb;
}

.btn-gradient-1 {
    display: inline-block;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #0034de, #006eff);
    border-radius: 5px;
    width: 120px;
    border-bottom: 3px solid #002cbb;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.3s ease;
}

.btn-gradient-1:hover {
    color: #ffffff;
    background: linear-gradient(135deg, #0048ff, #0080ff);
    box-shadow: 0 10px 25px rgba(0, 110, 255, 0.6);
    transform: translateY(-2px);
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    background: #25D366;
    border-radius: 5px;
    border-bottom: 3px solid #1ebe57;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.3s ease;
}

.btn-whatsapp:hover {
    box-shadow: 0 10px 25px rgba(30, 190, 87, 0.6);
    background: #1ebe57;
    transform: translateY(-1px);
}

.navbar-nav .nav-item {
    margin-right: 15px;
}

.contact-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    z-index: 9999;
}

.contact-buttons a {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-bottom: 10px;
    color: #ffffff;
}

.whatsapp-button {
    background-color: #25D366;
}

.chat-button {
    background-color: #9b59b6;
    position: relative;
}

.chat-badge {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 12px;
    height: 12px;
    background-color: #ff3b30;
    border-radius: 50%;
    border: 2px solid #fff;
    display: none;
    z-index: 10;
}

/* Chat Popup Container */
.chat-popup {
    position: fixed;
    bottom: 85px;
    right: 20px;
    width: 350px;
    height: 500px;
    z-index: 10000;
    display: none;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    overflow: hidden;
    animation: slideUp 0.3s ease-out;
}

@media (max-width: 500px) {
    .chat-popup {
        width: 90%;
        right: 5%;
        bottom: 80px;
    }
}

/* Chat Widget Internal Styles (Namespaced) */
.chat-widget {
    height: 100%;
    background: #fff;
    display: flex;
    flex-direction: column;
}

.chat-header {
    background: linear-gradient(135deg, #9b59b6, #8e44ad);
    color: white;
    padding: 12px;
    text-align: center;
}

.chat-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 16px;
    font-weight: bold;
}

.chat-info {
    margin-top: 5px;
}

.chat-info .title {
    font-size: 14px;
    font-weight: bold;
}

.chat-info .subtitle {
    font-size: 11px;
    color: #eee;
    margin-top: 2px;
}

.online {
    color: #2ecc71;
    font-size: 10px;
    margin-right: 5px;
}

.chat-register {
    background: #f9f9ff;
    padding: 15px;
    flex: 1;
    overflow-y: auto;
}

.chat-register h3 {
    font-size: 16px;
    margin-bottom: 10px;
}

.chat-register input,
.chat-register textarea {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 13px;
}

.chat-register button {
    width: 100%;
    background: #9b59b6;
    border: none;
    padding: 10px;
    border-radius: 6px;
    color: #fff;
    cursor: pointer;
}

.chat-user {
    background: #f4f4f4;
    padding: 5px 12px;
    font-size: 12px;
    border-left: 4px solid #9b59b6;
}

.chat-body {
    flex: 1;
    padding: 10px;
    overflow-y: auto;
    background: #f9f9f9;
    display: flex;
    flex-direction: column;
}

.chat-body .message {
    max-width: 80%;
    margin: 5px 0;
    padding: 8px 12px;
    border-radius: 15px;
    font-size: 13px;
    line-height: 1.4;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.chat-body .bot {
    background: #e5e5ea;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.chat-body .user {
    background: #d1f4d3;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.chat-footer {
    display: flex;
    padding: 10px;
    border-top: 1px solid #eee;
    background: #fff;
}

.chat-footer input {
    flex: 1;
    padding: 8px 12px;
    border-radius: 20px;
    border: 1px solid #ccc;
    outline: none;
    font-size: 13px;
}

.chat-footer button {
    margin-left: 8px;
    width: 35px;
    height: 35px;
    border: none;
    border-radius: 50%;
    background: #9b59b6;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.email-button {
    background-color: #DC3545;
    /* Email button red */
}

.contact-buttons a:hover {
    opacity: 0.8;
    /* Dim button on hover */
}

.footer-link:hover {
    color: #002cbb !important;
    text-decoration: underline;
    transition: 0.3s;
}

.footer-social:hover {
    color: #002cbb !important;
    transform: scale(1.2);
    transition: 0.3s;
}

#toc a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #1f1f1f;
    padding: 8px 12px;
    border-radius: 0px;
    margin: 4px 0;
    font-size: 13px !important;
    font-weight: 500;
    background: #f8f8f8;
    border: 1px solid #f1f1f1;
    transition: 0.2s;
}

/* H2 hover */
#toc a:hover {
    background: #f4f7ff;
    border-color: #dce6ff;
    color: #0a42ff;
}

/* H2 icon */
#toc a i {
    color: #4c74ff;
    font-size: 16px;
}

#toc a.small-link {
    background: transparent !important;
    border: none !important;
    padding: 0;
    padding-left: 34px;
    font-size: 13px;
}

#toc a.small-link:hover {
    color: #0a42ff;
}

/* Remove icon for H3 */
#toc a.small-link i {
    display: none;
}