* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  width: 100%;
  font-family: Arial, sans-serif;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body::-webkit-scrollbar {
  display: none;
}

/* Backgrounds */
#background {
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover; 
  height: 100vh;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
  background-image: linear-gradient(to bottom, #d9c6a8, #e3d6bb, #DBB361);
}
#background video {
  object-fit: cover;
  height: 100%;
  width: 100%;
}
#background::before {
  content: "";
  position: absolute;
  height: 100%;
  width: 100%;
  backdrop-filter: blur(8px);
}
#background2 {
  background-image: url(assests/bg2.jpeg);
  background-size: cover;
  background-position: center;
  height: 100vh;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
}
#background2::before {
  content: "";
  position: absolute;
  height: 100%;
  width: 100%;
  backdrop-filter: blur(10px);
}

/* Navbar */
#navbar {
  height: 80px;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  padding: 0 20px;
}
#navbar a {
  text-decoration: none;
  color: black;
  font-weight: bold;
}
#navbar h1 {
  color: black;
}
#navbar h1:hover {
  color: rgb(180, 81, 0);
  cursor: pointer;
}
#nav2 {
  display: flex;
  gap: 40px;
  align-items: center;
  font-size: 25px;
}
#nav2 a {
  text-decoration: none;
  color: black;
  font-weight: bold;
}
#nav2 a:hover {
  color:  rgb(180, 81, 0);
  cursor: pointer;
}
#nav2 i {
  color:  black;
}
#nav2 i:hover {
  color: rgb(180, 81, 0);
  cursor: pointer;
}

/* Welcome Content Section */
#content {
  height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
  text-align: center;
  font-size: 30px;
  gap: 15px;
  padding-top: 100px; 
}
#content h2 {
  color: #a57327;
  font-weight: 900;
}
#content p {
  font-weight: 600;
  color: rgb(0, 0, 0);
}
.divine-button {
  display: inline-block;
  background-color: #c98900;
  color: black;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  font-size: 25px;
}
.divine-button:hover {
  background-color: #a87000;
  cursor: pointer;
}

/* About Sections */
.about-section {
  width: 100%;
  min-height: 100vh;
  padding: 80px 20px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 5%;
}
#about {
  background-image: linear-gradient(to bottom, #eab45e, #e3d6bb, #DBB361);
}
#about2 {
  background-image: linear-gradient(to right, #FDCD8E, #FED095, #FDB559);
}
.about-section img {
  height: auto;
  width: 40%;
  object-fit: contain;
}
.about-text {
  width: 45%;
  text-align: left;
  line-height: 1.5;
}
.about-text h1 {
  font-size: 50px;
  margin-bottom: 20px;
}
.about-text h3 {
  font-size: 25px;
}

/* Footers */
.footer {
  width: 100%;
  height: 50px;
  color: black;
  display: flex;
  justify-content: center;
  align-items: center;
}
#footer-index {
  background-image: linear-gradient(to right, #DCB766, #DBB361);
}
#footer-main {
  background-image: linear-gradient(to right, #FDCD8E, #FED095, #FDB559);
}

/* Preloader */
#preloader {
  position: fixed;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(to right, #FDCD8E, #FED095, #FDB559);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.5s ease;
}
.loader-container {
  position: relative;
  width: 150px;
  height: 150px;
}
.loader-logo {
  width: 150px;
  height: 150px;
  z-index: 2;
  position: absolute;
  top: 25px;
  left: 25px;
}
.loader-ring {
  width: 130%;
  height: 130%;
  border: 6px solid transparent;
  border-top: 6px solid #d49623; 
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Chatbot Interface */
#chat-interface {
  position: relative;
  z-index: 1;
  margin: 100px auto;
  width: 80%;
  max-width: 800px;
  height: 70vh;
  display: flex;
  flex-direction: column;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 15px;
  backdrop-filter: blur(5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  overflow: hidden;
}
#chat-messages {
  flex-grow: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
#chat-messages::-webkit-scrollbar {
  width: 8px;
}
#chat-messages::-webkit-scrollbar-track {
  background: transparent;
}
#chat-messages::-webkit-scrollbar-thumb {
  background-color: #d4a017;
  border-radius: 4px;
}
#chat-input-area {
  padding: 20px;
  display: flex;
  gap: 10px;
  background-color: rgba(255, 255, 255, 0.8);
  border-top: 1px solid #ddd;
}
#input {
  flex-grow: 1;
  padding: 15px;
  border: 1px solid #ccc;
  border-radius: 25px;
  font-size: 16px;
  outline: none;
}
#input:focus {
  border-color: #d4a017;
}
#send-btn {
  background-color: #d4a017;
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
#send-btn:hover {
  background-color: #c98900;
}
#send-btn i {
  font-size: 24px;
}

.message {
  max-width: 70%;
  padding: 12px 20px;
  border-radius: 20px;
  line-height: 1.6;
  word-wrap: break-word;
  opacity: 0;
  transform: translateY(20px);
  animation: message-fade-in 0.5s forwards;
}
.user-message {
  align-self: flex-end;
  background-color: #d4a017;
  color: white;
  text-align: right;
  border-bottom-right-radius: 5px;
}
.bot-message {
  align-self: flex-start;
  background-color: #fff8e7;
  color: #5A381A;
  border: 1px solid #d4a017;
  border-bottom-left-radius: 5px;
}
.bot-message h3, .bot-message p {
  margin: 0;
  font-size: 16px;
}
.loading::after {
  content: '...';
  animation: loading-dots 1s infinite;
}
@keyframes loading-dots {
  0% { content: '.'; }
  33% { content: '..'; }
  66% { content: '...'; }
}
@keyframes message-fade-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Media Queries*/
@media (max-width: 768px) {
  #navbar {
    height: 80px;
    padding: 0 10px;
  }
  #navbar h1 {
    font-size: 24px;
  }
  #nav2 {
    gap: 15px;
    padding-right: 15px;
    font-size: 16px;
  }
  #content {
    font-size: 20px;
    gap: 10px;
  }
  #content h2 {
    font-size: 24px;
  }
  #content p {
    font-size: 18px;
  }
  .divine-button {
    font-size: 18px;
    padding: 10px 20px;
  }
  .about-section {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }
  .about-section img {
    height: auto;
    width: 80%;
  }
  .about-text {
    width: 90%;
    margin-top: 20px;
    text-align: center;
  }
  .about-text h1 {
    font-size: 36px;
  }
  .about-text h3 {
    font-size: 18px;
  }
  #chat-interface {
    width: 95%;
    height: 85vh;
    margin: 120px auto;
  }
  #chat-messages {
    padding: 10px;
    gap: 10px;
  }
  .message {
    padding: 10px 15px;
    font-size: 14px;
    max-width: 90%;
  }
  #chat-input-area {
    padding: 10px;
  }
  #input {
    padding: 12px;
    font-size: 14px;
  }
  #send-btn {
    width: 40px;
    height: 40px;
  }
  #send-btn i {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  #navbar {
    padding: 0 5px;
  }
  #navbar h1 {
    font-size: 20px;
  }
  #nav2 {
    gap: 10px;
    padding-right: 10px;
  }
  #nav2 a {
    font-size: 14px;
  }
  #nav2 i {
    font-size: 20px;
  }
  #content {
    font-size: 18px;
  }
  #content h2 {
    font-size: 20px;
  }
  #content p {
    font-size: 16px;
  }
  .divine-button {
    font-size: 16px;
    padding: 8px 16px;
  }
  .about-section {
    padding: 10px;
    text-align: center;
  }
  .about-text h1 {
    font-size: 30px;
  }
  .about-text h3 {
    font-size: 16px;
  }
  .message {
    font-size: 12px;
    padding: 8px 12px;
  }
  #input {
    padding: 10px;
    font-size: 12px;
  }
  #send-btn {
    width: 35px;
    height: 35px;
  }
  #send-btn i {
    font-size: 18px;
  }
}








   

