/* indexstyles.css */

/* 
  =========================================================
  Base Reset & Body
  =========================================================
*/
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: "Source Sans Pro", sans-serif;
  background: linear-gradient(120deg, #0c0c0c 0%, #1c1c1e 100%);
  color: #f5f5f7;
  overflow-x: hidden;
}
a {
  text-decoration: none;
  color: #007aff;
  transition: color 0.3s ease;
}
a:hover {
  color: #0a84ff;
}

/* 
  =========================================================
  Navigation Menu
  =========================================================
*/
.main-header {
  background-color: rgba(33, 33, 33, 0.8);
  backdrop-filter: saturate(180%) blur(10px);
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 4px rgba(0,0,0,0.7);
}
.navbar-brand {
  display: none; /* Hidden branding */
}
.navbar-nav .nav-link {
  color: #f5f5f7 !important;
  padding: 10px 15px !important;
}
.navbar-nav .nav-link:hover {
  color: #0a84ff !important;
  background-color: transparent;
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' fill='%23f5f5f7' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='%23f5f5f7' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/ %3E%3C/svg%3E");
}

/* 
  =========================================================
  Hero Section (Optional)
  =========================================================
*/
.hero-section {
  height: 60vh;
  min-height: 400px;
  background: #2c2c2e;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-content {
  text-align: center;
  padding: 20px;
}
.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}
.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

/* 
  =========================================================
  Sections
  =========================================================
*/
.section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.section-title {
  font-size: 2.5rem;
  margin-bottom: 40px;
  text-align: center;
}

/* 
  =========================================================
  Three Boxes
  =========================================================
*/
.three-boxes-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 20px;
}
.box-item {
  background-color: #2c2c2e;
  border-radius: 8px;
  padding: 20px;
  flex: 1 1 250px;
  max-width: 320px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.5);
}
.icon-box {
  font-size: 3rem;
  margin-bottom: 15px;
  color: #0a84ff;
}

/* 
  =========================================================
  Two-Column Layout
  =========================================================
*/
.two-col {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}
.two-col .col {
  flex: 1 1 500px;
  padding: 15px;
  min-width: 300px;
}
.two-col.reverse {
  flex-direction: row-reverse;
}
.img-placeholder {
  width: 100%;
  height: auto;
  background: #333;
  display: block;
}

/* 
  =========================================================
  Chat Widget (Full Width)
  =========================================================
*/
.chat-widget {
  background: #2c2c2e;
  width: 100%;
  padding: 0 20px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
  margin: 40px 0;
  overflow: hidden;
}
.chat-header {
  background: #212529;
  padding: 15px;
  font-size: 1.2em;
  font-weight: 600;
  text-align: center;
  border-bottom: 1px solid #444;
}
.chat-messages {
  padding: 15px;
  height: 300px;
  overflow-y: auto;
  background: #2c2c2e;
}
.chat-msg {
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
}
.chat-msg.user {
  flex-direction: row-reverse;
}
.chat-msg img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin: 0 10px;
}
.chat-msg .message-content {
  background-color: #212529;
  padding: 10px 15px;
  border-radius: 10px;
  max-width: 75%;
  word-wrap: break-word;
}
.chat-msg.user .message-content {
  background-color: #007aff;
}
.chat-footer {
  background: #212529;
  padding: 10px;
  border-top: 1px solid #444;
}
.chat-input-container {
  display: flex;
  gap: 5px;
  margin-top: 5px;
}
.chat-input-container textarea {
  flex: 1;
  padding: 8px;
  border: 1px solid #444;
  border-radius: 5px;
  background: #343a40;
  color: #fff;
  resize: none;
}
.chat-input-container button {
  background: #007aff;
  border: none;
  padding: 8px 12px;
  border-radius: 5px;
  color: #fff;
  cursor: pointer;
  transition: background 0.3s, box-shadow 0.3s;
}
.chat-input-container button:hover {
  background: #0a84ff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

/* 
  =========================================================
  Footer
  =========================================================
*/
.footer {
  background-color: #212529;
  padding: 40px 20px;
  color: #aaa;
  border-top: 1px solid #444;
}
.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}
.footer-column {
  flex: 1 1 200px;
  margin: 10px;
}
.footer-column h4 {
  margin-bottom: 15px;
  font-size: 1.2rem;
  color: #fff;
}
.footer-column ul {
  list-style: none;
  padding: 0;
}
.footer-column ul li {
  margin-bottom: 10px;
}
.footer-column ul li a {
  color: #aaa;
  font-size: 0.9rem;
  transition: color 0.3s;
}
.footer-column ul li a:hover {
  color: #fff;
}

/* 
  =========================================================
  Loading Overlay
  =========================================================
*/
#loadingOverlay {
  display: none;
  position: fixed;
  top: 0; 
  left: 0;
  width: 100%; 
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  text-align: center;
  padding-top: 200px;
  font-size: 2em;
  color: #fff;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.fade-in {
  animation: fadeIn 0.5s ease-in-out;
}
