@font-face {
  font-family: 'Orbitron';
  src: url('fonts/Orbitron-Regular.woff2') format('woff2'),
       url('fonts/Orbitron-Regular.woff') format('woff');
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: 'Share Tech Mono';
  src: url('fonts/ShareTechMono-Regular.woff2') format('woff2'),
       url('fonts/ShareTechMono-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

:root {
  --primary: #ff6600;
  --background: #0f0f0f;
  --text: #ffffff;
  --gray: #cccccc;
  --semi-glass: rgba(30, 30, 30, 0.6);
  --light-glass: rgba(255, 255, 255, 0.05);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
height: auto;
min-height: 100%;
background-color: black;
font-family: 'Share Tech Mono', monospace;
position: relative;
z-index: 0;
overflow-x: hiden;
color: var(--text);
line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: black;
  background: url('1920.avif');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
  z-index: -1;
  pointer-events: none;
}


header {
  background: var(--semi-glass);
  padding: 2rem 1rem 1rem 1rem;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

header h1 {
  font-size: 3.2rem;
  color: var(--primary);
  text-transform: uppercase;
  font-family: 'Orbitron', sans-serif;
  letter-spacing: 3px;
  text-shadow: 0 0 6px rgba(255, 102, 0, 0.8);
  background: rgba(0, 0, 0, 0.25);
  padding: 0.3rem 1rem;
  border-radius: 12px;
  display: inline-block;
}

header p {
  font-size: 1.1rem;
  color: var(--gray);
  margin-top: 0.3rem;
}

nav {
  text-align: center;
  padding: 0.8rem;
  background: rgba(0, 0, 0, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

nav a {
  margin: 0 1.2rem;
  color: var(--gray);
  text-decoration: none;
  text-transform: uppercase;
  padding: 0.5rem 0.9rem;
  border-radius: 10px;
  transition: all 0.3s ease-in-out;
}

nav a:hover {
  background: var(--semi-glass);
  color: var(--primary);
}

section {
  padding: 3rem 1rem;
  max-width: 900px;
  margin: auto;
}

section h2 {
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 2rem;
}

.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--semi-glass);
  padding: 1.5rem;
  border-radius: 15px;
}

.card h3 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.glass-box {
  background: var(--semi-glass);
  padding: 2rem;
  border-radius: 15px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: var(--semi-glass);
  padding: 2rem;
  border-radius: 15px;
}

input, textarea {
  padding: 0.8rem;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
  font-family: 'Share Tech Mono', monospace;
}

input[type="submit"] {
  background: rgba(255, 102, 0, 0.3);
  color: var(--text);
  border: 1px solid var(--primary);
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s;
}

input[type="submit"]:hover {
  background: rgba(255, 102, 0, 0.5);
}

#team {
  padding: 3rem 1rem;
  max-width: 900px;
  margin: auto;
  text-align: center;
}

.team-members {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.team-card {
  background: var(--semi-glass);
  padding: 1.5rem;
  border-radius: 15px;
}

.team-card img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 2px solid var(--primary);
}

footer {
  text-align: center;
  padding: 2rem;
  font-size: 0.9rem;
  color: var(--gray);
  background: var(--semi-glass);
}

.chat-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: rgba(255, 102, 0, 0.3);
  color: var(--text);
  font-family: 'Share Tech Mono', monospace;
  border: 1px solid var(--primary);
  border-radius: 12px;
  padding: 0.7rem 1rem;
  font-size: 1rem;
  cursor: pointer;
  z-index: 999;
  transition: all 0.3s ease-in-out;
}

.chat-button:hover {
  background: rgba(255, 102, 0, 0.5);
}

/* Floating Chat Button */

/* Chat Box */
.chat-box {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 320px;
  max-height: 400px;
  background: rgba(20, 20, 20, 0.85);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.chat-box.open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

/* Chat Header (optional) */
/* .chat-box::before { content: "Support"; padding: 10px; font-weight: bold; } */

/* Chat messages */
#chatMessages {
  flex: 1;
  padding: 12px;
  overflow-y: auto;
  font-family: 'Share Tech Mono', monospace;
  font-size: 14px;
  color: white;
}

/* Message style */
.chat-message {
  margin: 8px 0;
  padding: 8px 10px;
  border-radius: 8px;
  max-width: 80%;
  line-height: 1.3;
}

.chat-message.user {
  background: rgba(255, 102, 0, 0.7);
  align-self: flex-end;
}

/* Chat input */
.chat-input {
  display: flex;
  padding: 10px;
  border-top: 1px solid rgba(255,255,255,0.1);
  background: rgba(0,0,0,0.2);
}

.chat-input textarea {
  flex: 1;
  min-width: 0;
  resize: none;
  height: 40px;
  padding: 8px;
  font-family: inherit;
  font-size: 14px;
  background: rgba(255,255,255,0.05);
  border: none;
  border-radius: 6px;
  color: white;
  outline: none;
}

.chat-input button {
  background: rgba(255, 102, 0, 0.3);
  color: var(--text);
  font-family: 'Share Tech Mono', monospace;
  border: 1px solid var(--primary);
  border-radius: 12px;
  padding: 0.7rem 1rem;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}
.chat-input button:hover {
  background: rgba(255, 102, 0, 0.5);
}
