:root {
    --tw-ring-shadow: 0 0 #0000;
    --tw-ring-offset-shadow: 0 0 #0000;
}

body {
    position: relative;
    background: #ffffff;
    font-family: poppins, sans-serif;
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #111;
}

a {
    text-decoration: none;
}

h2,
.h2 {
    font-size: 24px;
    font-weight: 600;
}

h3,
.h3 {
    font-size: 20px;
    font-weight: 600;
}

h4,
.h4 {
    font-size: 17px;
    font-weight: 600;
}

.d-flex {
    display: flex!important;
}
.align-items-center {
    align-items: center!important;
}
.justify-content-between {
    justify-content: space-between!important;
}

.chatbot .container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
}
.chatbot {
    padding: 146px 15px 168px 15px;
    margin: -146px 0 -168px 0;
}
.card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    padding: 0;
    border: none;
    background: #ffffff;
    height: calc(100vh - 116px - 169px);
    max-width: 100%;
    margin: 25px auto;
    --tw-shadow: 0 25px 50px -12px rgba(0, 0, 0, .25);
    --tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.card-header {
    border: none;
    color: #fff;
    padding: 16px 16px 10px;
    background: #007BFF;
}
.list-unstyled li {
    list-style: none;
}
.card-body {
    margin-top: 40px;
    background-color: #fff;
    padding: 0 15px 0;
    overflow: hidden;
    padding-top: 0;
    height: calc(100% - 90px);
}
input[type=text]:focus {
    border-color: transparent!important;
}
.back a {
    color: #007BFF;
    background: #fff;
    border-radius: 16px;
    padding: 4px 16px;
    text-decoration: none;
    transition: all 0.25s ease;
}
.back a:hover {
    background: #007BFF;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
    transform: translateY(-2px);
}
#nav-tabContent {
    height: calc(100% - 60px);
    overflow-y: auto;
    padding-right: 16px;
}

.card-title .h2 {
    font-size: 22px;
    font-weight: 600;
}

.chat-icon {
    width: 42px;
    height: 42px;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgb(250 255 242);
    margin-right: 12px;
}

.chat-icon img {
    width: 32px;
}

.card-header ul {
    margin: 0 -8px;
}

.card-header ul a {
    font-size: 13px;
    padding: 0 8px;
    line-height: 20px;
    position: relative;
    color: #fff;
}

.card-header ul li:not(:last-child) a:before {
    content: "";
    position: absolute;
    width: 1px;
    height: 14px;
    background: #fff;
    right: 0px;
    top: 2px;
}

.lang-dropdown img {
    width: 20px;
    height: 20px;
    margin-right: 6px;
}

.lang-dropdown .dropdown-toggle {
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgb(220 248 236 / 24%);
    color: #fff;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.card-header ul a.dropdown-item {
    color: #000;
    font-size: 14px;
}

.card-header ul.dropdown-menu li {
    padding: 5px 2px;
}

/* tabing css start */
.nav-tabs {
    display: none!important;
    border: none;
    margin: 16px -4px 0;
    display: flex;
}

.nav-tabs .nav-link {
    border: none;
    background: #1e3a8a;
    font-size: 14px;
    font-weight: 500;
    padding: 9px 24px;
    border-radius: 16px;
    margin: 4px;
    color: #ffffff;
    width: calc(25% - 8px);
}

.nav-tabs .nav-link:last-child {
    margin-right: 0;
}

.nav-tabs .nav-link.active {
    background: #ffffff;
}

/* tabing css end */
.alert {
    background-color: #f2f2ff;
    padding: 12px 12px 16px;
    font-size: 14px;
    color: #161f84;
    border-radius: 12px;
}

.alert p:last-child {
    margin-bottom: 0;
}

.alert img {
    width: 24px;
    height: 24px;
    margin-bottom: auto;
    margin-right: 6px;
}

.tabs-img {
    max-width: 200px;
    text-align: center;
    margin: 40px auto;
    color: #161f84;
}

.tabs-img img {
    max-width: 200px;
}

.tabs-img .h5 {
    margin-bottom: 4px;
    margin-top: 12px;
    font-size: 18px;
}

.send-message-input {
    position: absolute;
    bottom: 4px;
    width: calc(100% - 32px);
    left: 16px;
    right: 16px;
    border: 1px solid #edeff0;
    padding: 4px;
    background-color: #f8fafc;
    border-radius: 52px;
    display: flex;
}

.send-message-input img {
    width: 42px;
    height: 42px;
}

.send-message-input input {
    border: none;
    background: transparent !important;
    box-shadow: none !important;
    padding-left: 16px;
}

#sendButton {
    border-radius: 26px;
    padding: 0 14px 0 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #007BFF;
    border: none;
}

#sendButton img {
    width: 22px;
    height: 22px;
}

.card-body .chats {
    padding-top: 8px;
}

.chat-msg {
    margin-bottom: 16px;
}

.chat-img {
    display: flex;
    align-items: flex-end;
    margin-bottom: 2px;
}

.who-msg {
    color: #5452b7;
    font-weight: 500;
    font-size: 14px;
}

.chat-msg:nth-child(odd) .chat-img img {
    background-image: linear-gradient(to bottom right, #121C84, #8278DA);
    padding: 3px;
    border-radius: 100%;
}

.chat-img img {
    height: 40px;
    width: 40px;
}

.chat-img p {
    padding: 15px 20px;
    background: #f8fafc;
    border-radius: 16px 16px 16px 2px;
    margin: 0px 10px;
    max-width: calc(100% - 92px);
    width: 100%;
}

.msg-details {
    font-size: 13px;
    color: #adb0cc;
    margin: 0 46px;
}

.chat-msg:nth-child(odd) .chat-img {
    flex-direction: row-reverse;
}

.chat-msg:nth-child(odd) .msg-details {
    text-align: right;
}

.chat-msg:nth-child(odd) .chat-img p {
    border-radius: 16px 16px 2px 16px;
    background: #3b82f6;
    color: #ffffff;
}

.link-btn {
    background: transparent;
    border: none;
    padding: 0;
    color: #8588a9;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.link-btn:after {
    display: none;
}

.link-btn.show {
    display: none;
}

.link-btn img {
    width: 16px;
    margin-right: 4px;
}

.msg-dropdown {
    position: initial !important;
    transform: initial !important;
    background: transparent;
    border: none;
    padding: 0;
}

.hide-btn {
    background: #d2d5f3;
    border: none;
    padding: 12px 20px;
    border-radius: 12px;
    color: #161f84;
}

#gt_float_wrapper .gt_float_switcher {
    background: transparent;
}

#gt_float_wrapper .gt-selected {
    background: transparent;
}

#gt_float_wrapper .gt_float_switcher .gt-selected .gt-current-lang {
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgb(220 248 236 / 24%);
    color: #fff;
    font-size: 14px;
    display: flex;
    align-items: center;
    padding: 4px 12px;
    font-weight: 400;
    border-radius: 16px;
}

#gt_float_wrapper .gt_float_switcher .gt-selected .gt-current-lang img {
    width: 20px;
    height: 20px;
    margin-right: 6px;
}

#gt_float_wrapper .gt_float_switcher .gt-selected .gt-current-lang span.gt_float_switcher-arrow {
    filter: invert(100%) sepia(100%) saturate(1%) hue-rotate(95deg) brightness(1000%) contrast(101%);
    margin-left: 8px !important;
    display: flex;
    width: 12px;
}

#gt_float_wrapper .gt_float_switcher .gt_options {
    background: #fff;
    color: #fff;
    font-size: 14px;
    padding: 4px 0;
    font-weight: 400;
    position: absolute;
    right: 0;
    top: 34px;
    min-width: 180px;
    border-radius: 6px;
}

#gt_float_wrapper .gt_float_switcher .gt_options {
    background: #fff;
    color: #fff;
    font-size: 14px;
    padding: 4px 0;
    font-weight: 400;
    position: absolute;
    right: 0;
    top: 34px;
    min-width: 180px;
    border-radius: 6px;
    box-shadow: 0 0 2px 1px rgba(0, 0, 0, .2);
    overflow: hidden;
    overflow-y: auto;
}

#gt_float_wrapper .gt_float_switcher .gt_options a {
    padding: 4px 15px;
}

#gt_float_wrapper .gt_float_switcher .gt_options a.nturl img {
    width: 20px;
    height: 20px;
    margin-right: 6px;
}






.footer {
    max-width: 1000px;
    margin: 16px auto;
    font-size: 13px;
    font-weight: 500;
    color: #6a6f99;
}

.footer ul {
    margin: 0 -8px;
}

.footer li a {
    padding: 0 8px;
    line-height: 20px;
    position: relative;
    color: #5452b7;
}

.footer ul li:not(:last-child) a:before {
    content: "";
    position: absolute;
    width: 1px;
    height: 14px;
    background: #adb0cc;
    right: 0px;
    top: 2px;
}

.mobile-hide {
    position: absolute;
    width: 45%;
    bottom: 45px;
    left: 0;
    z-index: -1;
    padding-right: 150px;
    mix-blend-mode: multiply;
}

img.chatbot-right-img {
    right: 0;
    left: inherit;
    padding-left: 150px;
    padding-right: 0;
}


/* About Page css start */
.content-page {
    padding: 12px 24px 12px 8px;
    height: 70vh;
    overflow-y: auto;
}

.content-page .h2 {
    margin-bottom: 26px;
    color: #121C84;
}

.content-page .h3 {
    margin-bottom: 16px;
    margin-top: 24px;
}

.content-page .h4 {
    margin-bottom: 16px;
    margin-top: 24px;
}

.font-500 {
    font-weight: 500;
}

/* From theme style */
.highlight {
	cursor: pointer;
	/* Makes it look clickable */
	text-decoration: none;
	color: inherit;
}


/* Popup styles*/

/* Popup container and animation */
.popup-container {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 1000;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s, visibility 0.3s;
}

.popup-container.active {
	opacity: 1;
	visibility: visible;
}

/* Popup styling */
.popup {
	position: relative;
	width: 450px;
	background-color: white;
	border-radius: 12px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
	padding: 20px;
	transform: scale(0.9);
	transition: transform 0.3s;
}

.popup-container.active .popup {
	transform: scale(1);
}

/* Basic layout structure */
.popup-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: 15px;
}

.highlight {
	background-color: rgba(59, 130, 246, 0.5);
	padding: 2px 4px;
	border-radius: 4px;
}

.close-btn {
	background-color: #f0f2f5;
	border: none;
	width: 40px;
	/* Increased for better visibility */
	height: 40px;
	/* Ensures a perfect circle */
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	font-size: 24px;
	/* Larger cross */
	color: #444;
	font-weight: bold;
	line-height: 1;
	/* Ensures the '×' stays vertically centered */
	transition: background 0.3s ease, transform 0.2s ease;
	padding: 0px 0px 2px 0px;
}

.close-btn:hover {
	background-color: #e0e2e5;
	transform: scale(1.1);
}


.result-item {
	display: flex;
	padding: 15px 0;
	border-top: 1px solid #eee;
}


.result-content {
	flex: 1;
}


/* Bolt UI POPUP */

/* Popup container and animation */
.popup-container {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 1000;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s, visibility 0.3s;
}

.popup-container.active {
	opacity: 1;
	visibility: visible;
}

/* Popup styling */
.popup {
	position: relative;
	width: 450px;
	background-color: white;
	border-radius: 12px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
	padding: 20px;
	transform: scale(0.9);
	transition: transform 0.3s;
}

.popup-container.active .popup {
	transform: scale(1);
}

/* Basic layout structure */
.popup-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: 15px;
}

.popup-title {
	font-size: 16px;
	font-weight: 500;
	margin-bottom: 4px;
}

.popup-subtitle {
	font-size: 14px;
	color: #666;
}

.highlight {
	cursor: help;
}
.result-container {
	position: relative;
	overflow: hidden;
}

.slide {
	display: flex;
	flex-direction: column;
	opacity: 0;
	transform: translateX(100%);
	transition: opacity 0.3s, transform 0.3s;
	position: absolute;
	width: 100%;
	background: white;
}

.slide.active {
	opacity: 1;
	transform: translateX(0);
	position: relative;
}

.result-item {
	display: flex;
	padding: 15px 0;
	border-top: 1px solid #eee;
}

.result-logo {
	width: 120px;
	/* Increased size */
	height: 80px;
	/* Increased size */
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	/* Optional: Background color */
	border-radius: 8px;
	/* Optional: Rounded corners */
	overflow: hidden;
}

.result-logo img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	/* Ensures full visibility of the logo */
}

.result-content {
	flex: 1;
}

.result-title {
	font-weight: 500;
	margin-bottom: 4px;
}

.result-description {
	font-size: 14px;
	color: #666;
	margin-bottom: 4px;
}

.result-link {
	color: #1a73e8;
	text-decoration: none;
	font-size: 14px;
}

/* Pagination styling */
.pagination {
	display: flex;
	justify-content: center;
	margin-top: 20px;
}

.dots {
	display: flex;
	gap: 8px;
}

.dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background-color: #ddd;
	cursor: pointer;
	transition: background-color 0.3s;
}

.dot.active {
	background-color: #1a73e8;
}

/************* Responsive CSS Start *************/
@media (max-width: 1366px) {
    .nav-tabs .nav-link {
        padding: 9px 24px;
        margin: 3px;
        width: calc(25% - 6px);
    }

    /* #nav-tabContent {
        height: 39vh;
    } */

    .chat-img p {
        padding: 13px 20px;
    }

    .chat-msg {
        margin-bottom: 12px;
    }
}

@media (max-width: 1023px) {
    .footer {
		flex-direction: column;
		justify-content: center !important;
		text-align: center;
	}
	.footer ul {
        margin: 4px auto 0;
    }
    .card {
        height: calc(100vh - 116px - 280px);
    }
    .chatbot {
        padding: 146px 15px 280px 15px;
        margin: -146px 0 -280px 0;
    }
}

@media (max-width: 991px) {
    /* #nav-tabContent {
        height: 58vh;
    } */
}

@media (max-width: 767px) {

    .nav-tabs .nav-link {
        padding: 7px 12px;
    }

    .footer {
        flex-direction: column;
        align-items: center;
    }
	
	.footer ul {
        flex-wrap: wrap;
		padding: 0 20px;
		justify-content: center;
    }
    .card {
        min-height: 600px;
    }
    .chatbot {
        padding: 120px 15px 390px 15px;
        margin: -90px 0 -390px 0;
        height: calc(100vh + 120px + 390px);
    }

}

@media (max-width: 576px) {
    .chatbot .container {
        padding: 0;
    }

    .card-body {
        border-radius: 22px 22px 0 0;
    }

    .card-header ul {
        position: absolute;
        top: 72px;
        left: 16px;
    }

    .nav-tabs {
        flex-wrap: wrap;
        margin: 40px -3px -3px;
    }

    .nav-tabs .nav-link {
        width: calc(50% - 6px);
    }

    .msg-details {
        font-size: 12px;
        margin: 0 0 0 46px;
    }

    .chat-msg:nth-child(odd) .msg-details {
        margin: 0 46px 0 0;
    }

    .who-msg {
        font-size: 12px;
    }

    /* 
    #nav-tabContent {
        height: calc(100% - 60px);
    } */

    .footer {
        margin: 12px auto;
        display: inline-block !important;
        text-align: center;
        width: 100%;
    }

    .footer ul {
        justify-content: center;
    }

    .mobile-hide {
        display: none;
    }

    .content-card-body {
        margin-top: 24px;
    }

    .content-page {
        height: 75vh;
    }
}

/************* Responsive CSS End *************/


/**** loader css start ****/
/* Full-page overlay */
.fade-bg::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: rgba(255, 255, 255, .6);
    z-index: 999;
    backdrop-filter: blur(3px);
}

/**** Loader CSS Start ****/
.loader {
    animation: rotate 1s infinite;
    height: 50px;
    width: 50px;
    position: fixed;
    /* Keep it fixed above everything */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    /* Ensure loader is above the overlay */
}

.loader:before,
.loader:after {
    border-radius: 50%;
    content: "";
    display: block;
    height: 20px;
    width: 20px;
}

.loader:before {
    animation: ball1 1s infinite;
    background-color: #fff;
    box-shadow: 30px 0 0 #defa8e;
    margin-bottom: 10px;
}

.loader:after {
    animation: ball2 1s infinite;
    background-color: #defa8e;
    box-shadow: 30px 0 0 #fff;
}

/* Rotation animation */
@keyframes rotate {
    0% {
        transform: rotate(0deg) scale(0.8);
    }

    50% {
        transform: rotate(360deg) scale(1.2);
    }

    100% {
        transform: rotate(720deg) scale(0.8);
    }
}

/* Ball animations */
@keyframes ball1 {
    0% {
        box-shadow: 30px 0 0 #defa8e;
    }

    50% {
        box-shadow: 0 0 0 #defa8e;
        margin-bottom: 0;
        transform: translate(15px, 15px);
    }

    100% {
        box-shadow: 30px 0 0 #defa8e;
        margin-bottom: 10px;
    }
}

@keyframes ball2 {
    0% {
        box-shadow: 30px 0 0 #fff;
    }

    50% {
        box-shadow: 0 0 0 #fff;
        margin-top: -20px;
        transform: translate(15px, 15px);
    }

    100% {
        box-shadow: 30px 0 0 #fff;
        margin-top: 0;
    }
}

.typing {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 10px 1px;
  box-sizing: border-box;
  background-color: #8278DA;
  border-radius: 50%;
}

.typing.typing-1 {
  animation: typing 3s infinite;
}

.typing.typing-2 {
  animation: typing 3s 250ms infinite;
}

.typing.typing-3 {
  animation: typing 3s 500ms infinite;
}

@keyframes typing {

    0%,
    75%,
    100% {
        transform: translate(0, 0.25rem) scale(0.9);
        opacity: 0.5;
    }

    25% {
        transform: translate(0, -0.25rem) scale(1);
        opacity: 1;
    }
}

.custom-product-card {
    background: #fff;
    padding: 10px;
    margin: 10px;
    border-radius: .75rem;
    color: rgb(15 23 42 / 1);
    gap: 12px;
}

.custom-product-card:hover {
    --tw-shadow: 0 20px 25px -5px rgba(0, 0, 0, .1), 0 8px 10px -6px rgba(0, 0, 0, .1);
    --tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.custom-link-card {
    text-decoration: none;
    color: #111 !important;
    border-radius: .75rem;
}

.popup {
    width: 100%;
    max-width: 32rem;
    background-color: rgb(241 245 249 / 1) !important;
    box-shadow: 0 4px 15px rgb(0 0 0 / 40%);
}

.span-result-link {
    font-size: .75rem;
    line-height: 1rem;
    color: rgb(37 99 235 / 1);
}

.popup-container {
    background-color: rgba(255, 255, 255, 0.3) !important;
    backdrop-filter: blur(5px);
    background-color: rgba(255, 255, 255, 0.4) !important;
    backdrop-filter: blur(10px);
}

.swiper-pagination {
    position: initial !important;
}

.notranslate {
    translate: no;
}

.chat-container {
    max-height: 500px;
    /* or whatever height you want */
    overflow-y: auto;
}

.swiper-wrapper {
    height: min-content!important;
}