/* ==== Global Styles ==== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html {
    font-size: 16px;
    font-family: 'Roboto', sans-serif;
    color: var(--text-color);
    background-color: var(--background-color);
  }
  
  body {
    min-height: 100vh;
    line-height: 1.5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #1a1c2c; /* Dark background */
    color: #E0E0E0;
   }
  
  /* ==== Theme Variables ==== */
  :root {
    --primary-color: #008080;
    --secondary-color: #FFD700;
    --accent-color: #00CED1;
    --background-color: #062326;
    --text-color: #E0E0E0;
    --text-on-primary: #FFFFFF;
    --text-on-secondary: #000000;
    --border-radius: 4px;
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --transition-duration: 0.3s;
  }
  
  /* ==== Buttons ==== */
  button, .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    border: none;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-duration) ease;
  }
  
  .btn-primary {
    background-color: var(--primary-color);
    color: var(--text-on-primary);
  }
  
  .btn-primary:hover {
    background-color: #005555;
  }
  
  
  /* Responsive Buttons */
  @media (max-width: 768px) {
    button, .btn {
      width: 100%;
      padding: 0.75rem;
    }
  }
  
  /* ==== Animations ==== */
  @keyframes logoPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.03); }
    100% { transform: scale(1); }
  }
  
  .logo-animation {
    animation: logoPulse 2s ease-in-out infinite;
  }
  
  /* ==== Chat UI Styles ==== */
  .chat-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: var(--background-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    overflow: hidden;
  }
  
  .chat-header {
    background-color: var(--primary-color);
    color: var(--text-on-primary);
    padding: 15px;
    font-size: 18px;
    font-weight: 600;
  }
  
  .chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  
  .chat-bubble {
    max-width: 70%;
    padding: 12px 16px;
    border-radius: 10px;
    position: relative;
    animation: fadeIn var(--transition-duration) ease-in;
  }
  
  .chat-bubble.user {
    background-color: #e0f7f7;
    color: var(--primary-color);
    border-radius: 10px 10px 0 10px;
    align-self: flex-end;
  }
  
  .chat-bubble.bot {
    background-color: #2d2f40;
    color: var(--text-color);
    border-radius: 10px 10px 10px 0;
    align-self: flex-start;
  }
  
  .chat-input-container {
    display: flex;
    gap: 10px;
    padding: 15px;
    background-color: #222;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .chat-input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid var(--primary-color);
    border-radius: 20px;
    font-size: 14px;
    background-color: var(--background-color);
    color: var(--text-color);
  }
  
  .chat-input:focus {
    outline: none;
    border-color: var(--accent-color);
  }
  
  .chat-input button {
    padding: 10px 20px;
    border: none;
    border-radius: var(--border-radius);
    background-color: var(--primary-color);
    color: var(--text-on-primary);
    font-size: 1rem;
    cursor: pointer;
  }
  
  .chat-input button:hover {
    background-color: #1e5c62;
  }
  
  /* ==== Fade-In Animation ==== */
  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
  }

/* Toggle Button Styling */
/* Light Mode */
.light-mode {
    background-color: #ffffff !important; /* White background */
    color: #1a1c2c !important;
    transition: background-color 0.5s ease, color 0.5s ease;
}

/* Target h1 and p inside light mode */
.light-mode h1,
.light-mode p {
    color: #1a1c2c !important;
}

/* Dark Mode */
.dark-mode {
    background-color: #1a1c2c !important; /* Ensure it stays dark */
    color: #E0E0E0 !important;
    transition: background-color 0.5s ease, color 0.5s ease;
}

/* Ensure h1 and p remain light in dark mode */
.dark-mode h1,
.dark-mode p {
    color: #E0E0E0 !important;
}

/* Toggle Button */
.theme-toggle-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 100px;
    height: auto;
    cursor: pointer;
    transition: opacity 0.5s ease, transform 0.3s ease;
}

/* Fade effect when switching */
.transitioning .theme-toggle-btn {
    opacity: 0.5;
    transform: scale(0.95);
}

.footer {
  text-align: center;
  padding: 15px;
  background-color: #1A1C2C;
  color: #ffffff;
  font-size: 14px;
  position: relative;
  bottom: 0;
  width: 100%;
  /* box-shadow: 0px 0px 10px #008080;  */
  /* border-top: 1px solid #008080;  */
}

.footer a {
  color: #00cccc; /* Teal to match the glow */
  text-decoration: none;
  font-weight: bold;
}

.footer a:hover {
  text-decoration: underline;
  color: #66ffff; /* Slightly brighter on hover */
}

/* Quinzey Font */
@font-face {
  font-family: 'Quinzey';
  src: url('../fonts/Quinzey.otf') format('opentype');
  font-weight: 200; /* ExtraLight */
  font-style: normal;
}

@font-face {
  font-family: 'Quinzey';
  src: url('../fonts/Quinzey_Medium.otf') format('opentype');
  font-weight: 500; /* Medium */
  font-style: normal;
}

@font-face {
  font-family: 'Quinzey';
  src: url('../fonts/Quinzey_Bold.otf') format('opentype');
  font-weight: 900; /* Bold */
  font-style: normal;
}

/* Class for headings */
.quinzey-headings-h3 {
  font-family: 'Quinzey', sans-serif;
  font-weight: 900; 
  letter-spacing: 2px; 
  color: #000; 
  font-size: 16px; 
  margin-top: 15px; 
  margin-left: -2em;
}

/* Class for thin text */
.quinzey-thin {
  font-family: 'Quinzey', sans-serif;
  font-weight: 200; /* ExtraLight */
  letter-spacing: 2px; /* Adjust letter spacing as needed */
  font-size: 16px; /* Add font-size if needed */
}

/* Class for thinner text */
.quinzey-thinner {
  font-family: 'Quinzey', sans-serif;
  font-weight: 900; 
  letter-spacing: 12px; 
  font-size: 24px;
}

.quinzey-headings-h4 {
  font-family: 'Quinzey', sans-serif;
  font-weight: 900; 
  letter-spacing: 2px; 
  color: #11dfdf;/* Green color */
  font-size: 48px; 
}

.quinzey-headings-h6 {
  font-family: 'Quinzey', sans-serif;
  font-weight: 900; 
  letter-spacing: 2px; 
  color: #007676;/* Green color */
  font-size: 20px; 
}
