.color-dark {
	--bs-bg-opacity: 1;
	color: rgba(var(--bs-dark-rgb),var(--bs-bg-opacity))!important;
}
.color-dark-gray {
	color: #60697b;
}
.btn-icon { 
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
	background: rgba(255, 255, 255, 0.15);
	border-color: transparent;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.rounded-circle {
    border-radius: 50% !important;
}
.zindex-2 {
	z-index: 2 !important;
}
.top-100px {
	top: 100px;
}
.top-280px {
	top: 280px;
}
.background-cover {
	background-repeat: no-repeat;
	/* background-size: cover; */
	object-fit: cover;
	height: 100%;
}
.bg-light-gray {
	background: #e2e2e2;
}
@media (max-width: 444px) 
{
	.height-1000px {
		height: 2200px;
	}
	
	.device-image{
		width: 370px;
		height: 250px;
	}
}
@media (min-width: 445px) and (max-width: 543px) 
{
	.height-1000px {
		height: 1800px;
	}
	
	.device-image{
		width: 445px;
		height: 320px;
	}
}
@media (min-width: 544px) and (max-width: 575px) 
{
	.device-image{
		width:530px;
		height:350px;
	}
}
@media (min-width: 544px) and (max-width: 767px) 
{
	.height-1000px {
		height: 1700px;
	}
}
@media (min-width: 576px) and (max-width: 767px) 
{
	.device-image{
		width:310px;
		height:220px;
	}
}
@media (min-width: 768px) and (max-width: 990px) 
{
	.height-1000px {
		height: 1200px;
	}
	.device-image{
		width:330px;
		height:240px;
	}
}
@media (min-width: 991px ) and (max-width: 1199px) 
{
	.height-1000px {
		height: 1200px;
	}
	.device-image{
		width:450px;
		height:310px;
	}
}
@media (min-width: 1200px) 
{
	.height-1000px {
		height: 1200px;
	}
	.device-image{
		width:640px;
		height:430px;
	}
}

.device-image-1{
	transform: translate3d(26px, 62px, 10px);
}
.device-image-2{
	transform: translate3d(12px, 84px, 15px);
}
.device-image-3{
	transform: translate3d(-7px, 11px, 20px);
}
.device-image-4{
	transform: translate3d(0px, 3px, 50px);
}
.hm-400
{
	min-height: 400px;
}
.hmx-500
{
	max-height: 500px;
}
.h-550
{
	height: 550px!important;
}
@media (max-width: 550px) 
{
	.h-550
	{
		height: 350px!important;
	}
}
.h-250
{
	height: 250px!important;
}
.text-justify 
{
	text-align: justify;
}
.object-fit-contain 
{
	object-fit: contain;
}
.main-logo 
{
	max-width: 250px;
}
.object-fit-contain
{
	object-fit : contain;
}
.thumbnail-interactive
{
	height:400px!important;
	object-fit:cover;
}


/* chatbot */
.chatbot-box * {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent; 
}

.chatbot-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #26699E;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    cursor: pointer;
    z-index: 1030;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.chatbot-btn i, 
.chatbot-btn svg {
    color: #FFFFFF;
    font-size: 24px;
    transition: color 0.3s ease; 
}

/* Hover State */
.chatbot-btn:hover {
    transform: scale(1.1); 
	color: #75B3D8;
}


.chatbot-box {
    position: fixed;
    right: 20px;
    bottom: 100px;
    width: min(92vw, 380px);
    height: min(75dvh, 600px);
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    display: none;
    flex-direction: column;
    z-index: 1050;
    border: none;
	overflow: hidden;
}

.chatbot-box.open {
    display: flex;
    animation: slideUp 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.1);
}

/* Opened Chatbox */
.chatbot-box {
    overscroll-behavior: contain;
}

/* Header Section */
.chatbot-header {
    background: #26699E;
    color: #fff;
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-header-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    padding: 6px;
    object-fit: contain;
}

.chat-header-title {
    font-size: 16px;
    font-weight: 700;
}
.chat-header-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.chat-header-status {
    font-size: 11px;
    display: flex;
    align-items: center;
	margin-top: -7px;
    gap: 5px;
	opacity: 0.9;
}

.chat-header-status::before {
	content: '';
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7);
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(74, 222, 128, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(74, 222, 128, 0);
    }
}

.chatbot-close {
    cursor: pointer;
    font-size: 18px;
    padding: 5px;
}

.chatbot-close:hover {
    color: #dc3545;
    transform: scale(1.1);
}

/* Messages Area */
.chatbot-messages {
    flex: 1;
	order: 1;
    padding: 10px;
    overflow-y: auto !important;
    overflow-x: hidden;
    background: #f9fafb;
    display: flex;
    flex-direction: column;
    gap: 8px;
    -webkit-overflow-scrolling: touch;
}

/* Hide Custom Scrollbar for Chrome */
.chatbot-messages::-webkit-scrollbar {
    width: 0px;
    display: none;
}

.message {
    max-width: 85%;
    font-size: 14.5px;
    line-height: 1.5;
    animation: fadeIn 0.3s ease;
    display: flex;
    flex-direction: column; 
    background: transparent !important;
    padding: 0 !important;
    margin-bottom: 6px;
}

.message.bot {
    align-self: flex-start;
    align-items: flex-start;
}

.message.user {
    align-self: flex-end;
    align-items: flex-end;
}

.message.bot .bot-text, 
.message.user .bot-text {
    padding: 8px 12px;
    border-radius: 18px;
    white-space: pre-wrap;
}

.message.bot .bot-text {
    background: #f1f3f4;
    color: #1a1a1b;
    border-top-left-radius: 4px;
}

.message.user .bot-text {
    background: #26699E;
    color: #fff;
    border-top-right-radius: 4px;
}

.chat-time {
    font-size: 10px;
    color: #9ca3af;
    margin-top: 4px;
    padding: 0 5px;
    white-space: nowrap;
    opacity: 0.8;
}

.chatbot-messages {
    overscroll-behavior: contain !important;
}

/* Quick Replies */
.quick-replies {
    display: flex;
    gap: 8px;
    padding: 10px 15px;
    overflow-x: auto !important;
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    background: #f9fafb;
    flex-shrink: 0;
	overscroll-behavior: contain !important;
	order: 2;
}

.quick-replies::-webkit-scrollbar {
    display: none;
}

.quick-reply-btn {
    flex: 0 0 auto;
    background: #fff;
    color: #26699E;
    border: 1px solid #26699E;
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
}

.quick-reply-btn:hover {
    border-color: #26699E;
    background: #f8faff;
    transform: translateY(-1px);
}

/* Input Area */
.chatbot-input {
    padding: 12px 15px;
    background: #fff;
    border-top: 1px solid #f0f0f0;
    display: flex;
    gap: 10px;
    align-items: center;
    width: 100%;
    flex-shrink: 0;
	border-bottom-left-radius: 20px; 
    border-bottom-right-radius: 20px;
	order: 3;
}

.chatbot-input input {
    flex: 1;
    min-width: 0;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    border-radius: 25px;
    padding: 0 18px;
    font-size: 16px;
    outline: none;
    height: 44px;
	margin: 0;
}

.chatbot-input input:focus {
    border-color: #26699E;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.1);
}


.chat-send-btn {
    flex-shrink: 0;
    background: #26699E;
    color: #fff;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
	transition: transform 0.2s ease;
}


.chat-send-btn i, 
.chat-send-btn svg {
    transition: color 0.3s ease;
}

/* Hover State */
.chat-send-btn:hover {
    transform: scale(1.1); 
}

/* Typing indicator styles */
.typing-dots {
    display: flex;
    align-items: center;
    gap: 4px;
}

.typing-dots .dot {
    width: 6px;
    height: 6px;
    background: #9ca3af; 
    border-radius: 50%;
    display: inline-block;
    animation: bounce 1.4s infinite ease-in-out;
}

.typing-dots .dot:nth-child(1) { animation-delay: -0.32s; }
.typing-dots .dot:nth-child(2) { animation-delay: -0.16s; }
.typing-dots .dot:nth-child(3) { animation-delay: 0s; }

@keyframes bounce {
    0%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-5px); }
}

/* Background Overlay */
.chatbot-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1040;
    display: none;
}

/* Only show overlay and lock scroll on Mobile/Tablets */
@media (max-width: 991px) {
	body.chatbot-mobile-locked {
        overflow: hidden !important;
        position: fixed;
        width: 100%;
        height: 100%;
        top: var(--scroll-y, 0);
    }

    /* Only added via JS when on mobile */
    body.chatbot-mobile-locked {
        overflow: hidden !important;
        position: fixed; 
        width: 100%;
        height: 100%;
        top: var(--scroll-y, 0); 
    }
}

/* Mobile Fullscreen */
@media (max-height: 500px) and (orientation: landscape) {
    .chatbot-box {
        height: 85dvh !important;
        width: min(80vw, 500px) !important;
        bottom: 10px !important;
        right: 10px !important;
    }
    .chatbot-header {
        padding: 8px 15px;
    }
    .chat-header-logo {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 480px) {
    .quick-replies {
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        padding-bottom: 15px; 
    }

    .quick-reply-btn {
        text-align: center;
        padding: 10px;
        font-size: 12px;
    }
}

.chatbot-input {
    padding-bottom: calc(12px + env(safe-area-inset-bottom));
}

/* Desktop Positioning */
@media (min-width: 1024px) {
    .chatbot-box {
        right: 30px;
        bottom: 110px;
    }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}