:root {
  --primary-gradient: var(--primary-color);
  --chat-width: 450px;
  --chat-height: 520px;
  --header-height: 56px;
  --border-radius: 16px;
  --transition-speed: 0.3s;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, sans-serif;
}
body {
  min-height: 100vh;
  background-color: #f3f4f6;
}
#chatbot-popup {
  display: none;
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: var(--chat-width);
  height: var(--chat-height);
  background: white;
  border-radius: 0 !important;
  box-shadow: 0 18px 40px -5px rgba(0, 0, 0, 0.2),
    0 15px 20px -5px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  opacity: 0;
  transform-origin: bottom right;
  transform: scale(0.95);
  transition: all var(--transition-speed) ease-in-out;
  z-index: 2147483647;
}
#chatbot-popup.visible {
  display: block;
  opacity: 1;
  transform: scale(1);
}
#chatbot-header {
  background: var(--primary-color);
  padding: 16px 20px;
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--header-textColor);
}
.header-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 500;
}
.header-buttons {
  display: flex;
  gap: 12px;
  align-items: center;
}
.icon-button {
  background: none;
  border: none;
  color: var(--header-textColor);
  cursor: pointer;
  padding: 8px;
  border-radius: 0px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.icon-button:hover {
  color: var(--header-textColor);
  background: rgba(255, 255, 255, 0.1);
  outline: 3px solid  #dbad0b !important /* DCG Orange */;
}
.icon-button:focus {
  outline: 3px solid  #dbad0b !important /* DCG Orange */;
  outline-offset: 2px;
}



.logo-img {
width: auto;
max-width: 30px;
height: auto;
max-height: 100%;
  object-fit: contain;
}

/* On smaller screens, scale down the logo proportionally */
@media (max-width: 576px) {
.logo-img {
width: auto;
max-width: 100%;
height: auto;
max-height: 30px;
  object-fit: contain;
}
}



#webchat {
  height: calc(100% - var(--header-height));
  background-color: #f9fafb;
  position: relative;
}
.webchat-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.85);
  pointer-events: none;
  z-index: 1;
}
#webchat > div {
  position: relative;
  z-index: 2;
}
#webchat .webchat__basic-transcript__content {
  white-space: pre-wrap !important;
  word-break: break-word !important;
}
#webchat .webchat__bubble__content {
  padding: 8px 12px !important;
}
#webchat .webchat__bubble {
  max-width: 85% !important;
  margin: 8px !important;
}
#webchat .webchat__basic-transcript__content ul,
#webchat .webchat__basic-transcript__content ol,
#webchat .webchat__bubble__content ul,
#webchat .webchat__bubble__content ol {
  padding-left: 24px !important;
  margin: 8px 0 !important;
  list-style-position: outside !important;
}
#webchat .webchat__basic-transcript__content li,
#webchat .webchat__bubble__content li {
  margin: 4px 0 !important;
  padding-left: 4px !important;
}
#open-chat {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 64px;
  height: 64px;
  border-radius: 0%;
  background: var(--primary-gradient);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: all var(--transition-speed) ease-in-out;
  z-index: 998;
outline: 1px solid #dbad0b !important /* DCG Orange */;
}
#open-chat.hidden {
  opacity: 0;
  transform: scale(0.95) translateY(10px);
  pointer-events: none;
}
#open-chat:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  outline: 5px solid #dbad0b !important; /* DCG Orange */;
  outline-offset: 0px;
}
#open-chat:focus {
  outline: 5px solid #dbad0b !important; /* DCG Orange */;
  outline-offset: 2px;
}
#open-chat svg {
  width: 28px;
  height: 28px;
  color: white;
  transition: transform 0.2s ease;
}
.main-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px;
}
.main-content h1 {
  font-size: 36px;
  color: #111827;
  text-align: center;
}
.main-content p {
  font-size: 18px;
  color: #4b5563;
  line-height: 1.6;
  margin-bottom: 48px;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.content-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 32px;
}
.content-box {
  background: linear-gradient(135deg, #e6e6e6, #c4c4c4, #9f9f9f);
  padding: 32px;
  border-radius: 12px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
              0 2px 4px -1px rgba(0, 0, 0, 0.06);
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.content-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}
.content-box.featured {
  grid-column: span 2;
  min-height: 350px;
  background: linear-gradient(135deg, #e6e6e6, #c4c4c4, #9f9f9f);
  color: #000000;
}
.content-box h2 {
  font-size: 24px;
  margin-bottom: 16px;
  position: relative;
}
.content-box p {
  font-size: 16px;
  color: #6b7280;
  margin-bottom: 0;
}
.content-box.featured p {
  color: #000000;
}
@media (max-width: 768px) {
  .content-grid {
    grid-template-columns: 1fr;
  }
  .content-box.featured {
    grid-column: span 1;
  }
  .main-content {
    padding: 24px 16px;
  }
  .main-content h1 {
    font-size: 28px;
  }
  #chatbot-popup {
    width: 100%;
    height: 100%;
    bottom: 0;
    right: 0;
    border-radius: 0;
  }
}