/* GLOBAL RESET — prevent horizontal scroll */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  overflow-x: hidden !important;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: linear-gradient(180deg, #f7fbff, #eef5ff);
  color: #021e32;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: min(1180px, 92%);
  margin: auto;
}

.section {
  padding: 70px 0;
}

.h1 { font-size: 46px; font-weight: 800; letter-spacing: -1px; }
.h2 { font-size: 34px; font-weight: 800; text-align: center; margin-bottom: 26px; }

.small { font-size: 14px; opacity: 0.8; }

/* Cards */
.card {
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(12px);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 8px 30px rgba(0,60,130,0.08);
}

.btn {
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: .2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn.primary {
  background: #006CFF;
  color: #fff;
}

.btn.primary:hover {
  background: #0058d9;
}

.btn.ghost {
  border: 2px solid #d6e6ff;
  background: transparent;
}

.btn.ghost:hover {
  background: #eaf2ff;
}

/* ROW / COL */
.row {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.col {
  flex: 1;
  min-width: 320px;
}

/* FORMS */
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

input, select, textarea {
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #d9e7ff;
  background: #ffffff;
  font-size: 14px;
  width: 100%;
}

textarea { min-height: 120px; resize: vertical; }

label { font-weight: 600; }

/* GLASS Special */
.glass {
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(14px);
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(0,60,140,0.10);
  padding: 24px;
}

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}

/* Toast container fix */
#toast-container {
  position: fixed;
  right: 20px;
  top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 5000;
}

/* Chat widget global styles */
#chatWidget {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9999;
}

.chat-btn, .chat-toggle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background: #00eaff;
  color: #003647;
  font-size: 22px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.chat-box {
  width: 280px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  padding: 12px;
  position: absolute;
  bottom: 70px;
  right: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: 0.25s ease;
}

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