/* --- Google Font Import: Inter --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700;900&display=swap');

/* --- Color Palette & Base Styles --- */
:root {
    --tru-dark-blue: #0A0F1F;
    --tru-accent-blue: #3b82f6;
    --tru-light-silver: #E5E7EB;
    --tru-slate-gray: #475569;
    --tru-deep-indigo: #10142c;
    --tru-canadian-red: #d92121; /* Kept for potential future use */
    --tru-aurora-green: #4ade80;
    --tru-aurora-purple: #581c87;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--tru-dark-blue);
    color: var(--tru-light-silver);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* --- Header & Logo Animations --- */
@keyframes aurora-cycle {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.aurora-header {
    background: linear-gradient(270deg, var(--tru-canadian-red), var(--tru-aurora-purple), var(--tru-deep-indigo), var(--tru-aurora-green), var(--tru-dark-blue));
    background-size: 600% 600%;
    animation: aurora-cycle 50s ease infinite;
}

@keyframes illuminate {
    0%, 100% { filter: drop-shadow(0 0 3px rgba(59, 130, 246, 0.4)); }
    50% { filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.7)); }
}

.logo-star-animated {
    animation: illuminate 4s ease-in-out infinite;
}

/* --- Reusable Component Styles --- */
.strategy-container {
    background: rgba(16, 20, 44, 0.4);
    border: 1px solid rgba(71, 85, 105, 0.3);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.strategy-container:hover {
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.1);
}

.service-card {
    background: rgba(5, 8, 22, 0.5);
    border: 1px solid rgba(71, 85, 105, 0.2);
    transition: all 0.3s ease;
}
.service-card:hover {
    transform: translateY(-5px);
    background: rgba(16, 20, 44, 0.7);
    border-color: rgba(59, 130, 246, 0.5);
}

.section-divider {
    border: 0;
    height: 1px;
    background-image: linear-gradient(to right, rgba(10, 15, 31, 0), rgba(59, 130, 246, 0.3), rgba(10, 15, 31, 0));
}

.form-input {
    background-color: #10142c; /* deep-indigo */
    border: 1px solid #475569; /* slate-gray */
    color: #E5E7EB; /* light-silver */
    transition: all 0.3s ease;
}
.form-input:focus {
    outline: none;
    border-color: #3b82f6; /* accent-blue */
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5);
}

/* NEW: Style for the header background image */
.page-header-bg {
    background-image: linear-gradient(rgba(10, 15, 31, 0.8), rgba(10, 15, 31, 0.8)), url('https://images.unsplash.com/photo-1554493123-5a88c52b465b?q=80&w=2940&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
}
/* Chatbot Styling */
#chatbot-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 340px;
  background: #0d1117;
  border: 1px solid #2c2c2c;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  color: #ffffff;
  font-family: 'Segoe UI', sans-serif;
  z-index: 9999;
}

.chatbot-header {
  background: #1f6feb;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.chatbot-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid white;
}

.chat-log {
  max-height: 300px;
  overflow-y: auto;
  padding: 10px;
  background: #161b22;
}

.chat-input-area {
  display: flex;
  padding: 10px;
  background: #0d1117;
  border-top: 1px solid #2c2c2c;
}

#chat-input {
  flex-grow: 1;
  padding: 8px;
  border-radius: 6px;
  border: none;
  background: #161b22;
  color: #ffffff;
}

#send-button {
  margin-left: 8px;
  padding: 8px 12px;
  border: none;
  border-radius: 6px;
  background-color: #2ea043;
  color: white;
  font-weight: bold;
  cursor: pointer;
}


.dot {
  animation: blink 1.4s infinite both;
  display: inline-block;
  font-weight: bold;
}

.dot:nth-child(2) {
  animation-delay: 0.2s;
}
.dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes blink {
  0% { opacity: 0; }
  50% { opacity: 1; }
  100% { opacity: 0; }
}
