@import url("https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,100..700;1,100..700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Marcellus&display=swap");
* {
	margin: 0;
	padding: 0;
	text-transform: none;
}

html {
	-webkit-text-size-adjust: 100%;
}

html body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-family: "Josefin Sans", sans-serif;
	margin: 0;
	padding: 0px;
	font-size: 16px;
	font-weight: 500;
}

a:active {
	outline: none;
	border: none;
}

a:focus {
	-moz-outline-style: none;
	outline: none;
}

body select::-ms-expand {
	display: none;
}

input::-moz-focus-inner,
button::-moz-focus-inner,
select::-moz-focus-inner,
option::-moz-focus-inner,
a::-moz-focus-inner,
button,
a {
	border: 0;
	outline: none;
}

*::-moz-selection {
	color: #fff;
	background: #000;
}

*::-webkit-selection {
	color: #fff;
	background: #000;
}

a,
a:hover,
a:active,
a:focus,
button {
	text-decoration: none;
}

*::after,
*::before,
* {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	-o-box-sizing: border-box;
	box-sizing: border-box;
}

ul,
ol {
	margin: 0;
	padding: 0;
	line-height: 1;
}

li {
	list-style: outside none none;
	position: relative;
}

body p {
	color: #333;
	font-family: "Josefin Sans", sans-serif;
	font-size: 16px;
	font-weight: 500;
	line-height: 160%;
	margin: 0 0 15px;
	padding: 0;
}

body p:empty {
	display: none;
	line-height: 0;
}

body p:last-child {
	margin: 0;
}

body p strong {
	font-weight: bold;
}

body a {
	color: #000;
}

body a:hover {
	color: #666;
}

* {
	outline: none !important;
	text-decoration: none;
}

body h1,
body h2,
body h3,
body h4,
body h5,
body h6 {
	font-family: "Marcellus", serif;
	line-height: 1.2;
	margin: 0 0 15px;
}

img {
	margin: 0 auto;
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	display: block;
}

.container {
	margin: 0 auto;
	position: relative;
	width: 100%;
	max-width: 1300px;
	padding: 0 15px;
}

.section-gapping {
	padding-top: 80px;
	padding-bottom: 80px;
}

.main-title {
	text-align: center;
	width: 100%;
	max-width: 870px;
	margin: 0 auto 30px;
}

.main-title h2 {
	text-align: center;
	font-size: 40px;
	position: relative;
	display: inline-flex;
	color: #000;
}
.text-center {
	text-align: center;
}

body .btn {
	color: #fff;
	background-color: #f06c26;
	border-radius: 0;
	padding: 5px 10px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-weight: 600;
	transition: all 0.5s ease 0s;
	border: none;
	text-transform: capitalize;
	font-size: 14px;
	gap: 10px;
	cursor: pointer;
}

body .btn:hover {
	color: #fff;
	background-color: #000;
}

.img-responsive {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top;
}

/*******************************************/

.banner-section {
	height: 420px;
	background-image: url(../images/banner-img.webp);
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	position: relative;
}

.banner-section .banner-content {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	left: 0;
	right: 0;
}

.banner-content h2 {
	text-align: center;
	color: #ffffff;
	font-family: "Marcellus", serif;
	font-size: 42px;
	font-weight: 400;
	letter-spacing: 1px;
}

.main-pdf {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 30px;
}

.main-pdf .box {
	box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.1);
	overflow: hidden;
	border-radius: 15px;
}

.box .pdf-img {
	height: 470px;
	overflow: hidden;
}

.main-pdf .pdf-content {
	padding: 15px;
}

.pdf-content h2 {
	font-size: 20px;
}

.pdf-content h2 a {
	color: #f06c26;
}

.pdf-content h2 a:hover {
	color: #f16f23;
}

.pdf-section #chatbox {
	height: 100vh;
	width: 100%;
	max-width: 450px;
	background-color: #eef4ff;
	padding: 20px;
	flex-direction: column;
	position: fixed;
	right: -450px;
	display: flex;
	top: 0;
	bottom: 0;
	z-index: 9;
	transition: all 0.5s ease 0s;
}

.pdf-section #chatbox.open {
	right: 0;
}

#pdf-section {
	flex: 1 1 0%;
	padding: 20px;
	height: 100vh;
	overflow-y: auto;
}

#slider {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
}

#chatbox h2 {
	color: #f06c26;
	font-size: 24px;
	margin: 0;
}

.top-chatbox {
	margin-bottom: 15px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 15px;
}

.top-chatbox .close-icon {
	background-color: hsl(221deg 88% 24% / 30%);
	border: none;
	width: 35px;
	height: 35px;
	cursor: pointer;
	color: #fff;
	border-radius: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
}

#chatbox #chat-input-container {
	margin-top: auto;
	display: flex;
	gap: 5px;
	align-items: center;
}

#chat-input-container #send-btn {
	background-color: #f06c26;
	border: none;
	padding: 10px 20px;
	color: #fff;
	font-size: 18px;
}

#chat-input-container #send-btn {
	background-color: #f06c26;
	border: none;
	padding: 10px;
	color: #fff;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50px;
	cursor: pointer;
}

#chat-input-container #chat-input {
	flex: 1 1 0%;
	min-height: 40px;
	padding: 0 15px;
	border: none;
	border-radius: 50px;
	font-size: 16px;
}

#chatbox #messages {
	height: calc(100vh - 200px);
	margin-bottom: 20px;
	position: relative;
}

#pdf-container canvas {
	margin: 0 auto;
	display: table;
}

.messages-box {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.messages-box .box .messages {
	background-color: #fff;
	padding: 10px 15px;
	display: inline-block;
	border-radius: 0 10px 10px 0;
	border-left: 2px solid #f06c26;
	line-height: 120%;
}

.messages-box .box.right {
	text-align: right;
}

.messages-box .box.right .messages {
	background-color: #fff;
	padding: 10px 15px;
	font-size: 14px;
	display: inline-block;
	border-radius: 10px 0 0 10px;
	border-right: 2px solid #f06c26;
	border-left: none;
}

#chatbox {
	display: none; /* Hide by default */
	/* Other styling */
}

#chatbox.open {
	display: block;
}

.pdf-section {
	display: flex;
	justify-content: space-between;
	background-image: url(../images/body-bg.jpg);
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
}

#pdf-container {
	flex-grow: 1;
	position: relative;
	width: 100%;
	max-width: 892px;
	margin: 20px auto;
}

.textLayer {
	margin: 0 auto;
}

.open_chatbot {
	position: fixed;
	right: 20px;
	bottom: 20px;
	border: none;
	background-color: #f06c26;
	padding: 10px 15px;
	color: #fff;
	font-weight: 600;
	font-size: 16px;
	cursor: pointer;
}

#messages .empty-div {
	position: absolute;
	top: 0;
	bottom: 0;
	margin: auto;
	left: 0;
	right: 0;
	width: 100%;
	max-width: 230px;
	height: 230px;
	border-radius: 15px;
	overflow: hidden;
}
#messages .empty-div img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.inline-btn {
	display: flex;
	gap: 5px;
	justify-content: center;
	align-items: center;
	text-align: center;
	margin-bottom: 15px;
}

.inline-btn .btn {
	padding: 9px 15px;
}

#bg-video {
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%; 
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
    background-size: cover;
    transition: 1s opacity;
    opacity: 0.7; /* Adjust the opacity as needed */
}

.pdf-section {
    position: relative;
    z-index: 1;
}

#chatbox {
    position: relative;
    z-index: 2;
}

/* Styling for the open_chatbot button */
.open_chatbot {
    position: fixed;
    right: 20px;
    bottom: 20px;
    border: none;
    background-color: #f06c26;
    padding: 15px 20px;
    color: #fff;
    font-weight: 600;
    font-size: 18px;
    cursor: pointer;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.open_chatbot:hover {
    background-color: #000;
}

.open_chatbot {
    position: fixed;
    right: 40px;
    bottom: 40px;
    border: none;
    background-color: #f06c26;
    padding: 15px 20px;
    color: #fff;
    font-weight: 600;
    font-size: 18px;
    cursor: pointer;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.open_chatbot:hover {
    background-color: #000;
}



/* Add your existing CSS */
.inline-btn {
    display: flex;
    gap: 5px;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-bottom: 15px;
}

.inline-btn .btn {
    padding: 9px 15px;
    display: flex;
    align-items: center;
    gap: 5px;
    border: none;
    background-color: #f06c26;
    color: white;
    cursor: pointer;
    border-radius: 5px;
    font-size: 14px;
}

.inline-btn .btn svg {
    fill: white;
}

.inline-btn .btn:hover {
    background-color: #f09f26;
}

#send-btn {
    background-color: #f06c26;
    border: none;
    padding: 9px 15px;
    color: white;
    cursor: pointer;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#send-btn svg {
    fill: white;
}

#send-btn:hover {
    background-color: #f06c26;
}
