 :root {
      --chat-bg: #f7f7f8;
      --chat-surface: #ffffff;
      --chat-border: #e5e5e7;
      --chat-text: #0f172a;
      --chat-muted: #6b7280;
      --chat-accent: #10a37f;

      --site-bg: #ffffff;
      --site-text: #111111;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
      font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
        Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    }

    body {
      height: 100vh;
      overflow: hidden;
    }

    /* ===== MAIN SPLIT ===== */
    .app {
      display: flex;
      width: 100vw;
      height: 100vh;
    }

    /* ===== LEFT CHAT PANEL ===== */
    .chat-panel {
      width: 40%;
      height: 100vh;
      background: var(--chat-bg);
      border-right: 1px solid var(--chat-border);
      display: flex;
      flex-direction: column;
    }

    /* ---- TOP (15%) ---- */
    .chat-header {
      height: 15%;
      min-height: 90px;
      background: var(--chat-surface);
      border-bottom: 1px solid var(--chat-border);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 20px;
      font-weight: 700;
      color: var(--chat-text);
    }

    .chat-header span {
      color: var(--chat-accent);
    }

    /* ---- MIDDLE (65%) ---- */
    .chat-history {
      height: 70%;
      padding: 20px;
      overflow-y: auto;
      display: flex;
      flex-direction: column;
      gap: 14px;
    }

    .message {
      max-width: 80%;
      padding: 12px 14px;
      border-radius: 10px;
      font-size: 14px;
      line-height: 1.5;
    }

    .message.user {
      align-self: flex-end;
      background: #e8f5f1;
      color: var(--chat-text);
    }

    .message.bot {
      align-self: flex-start;
      background: var(--chat-surface);
      border: 1px solid var(--chat-border);
      color: var(--chat-text);
    }

    /* ---- BOTTOM (20%) ---- */
    .chat-footer {
      height: 15%;
      min-height: 120px;
      background: var(--chat-surface);
      border-top: 1px solid var(--chat-border);
      padding: 16px;
      display: flex;
      align-items: center;
    }

    .chat-input {
      width: 100%;
      display: flex;
      gap: 10px;
      border: 1px solid var(--chat-border);
      border-radius: 10px;
      padding: 10px;
      background: #fafafa;
    }

    .chat-input input {
      flex: 1;
      border: none;
      outline: none;
      font-size: 14px;
      background: transparent;
      color: var(--chat-text);
    }

    .chat-input button {
      background: var(--chat-accent);
      border: none;
      color: white;
      padding: 8px 14px;
      border-radius: 8px;
      cursor: pointer;
      font-weight: 600;
    }
    
/* Specific styling for the Submit button */
.chat-input button[type="submit"] {
  background: var(--chat-accent, #007bff); /* Use a default color if var() is missing */
}

/* Specific styling for the Reset button */
.chat-input button[type="reset"] {
  background: #dc3545; /* Example reset button color (red) */
  margin-left: 10px; /* Add some space between buttons */
}

    /* ===== RIGHT SITE PANEL ===== */
    .site-panel {
      width: 60%;
      background: var(--site-bg);
      color: var(--site-text);
      overflow-y: auto;
    }

    .site-section {
      padding: 40px 40px;
      border-bottom: 1px solid #eee;
    }

    .site-section h2 {
      font-size: 32px;
      margin-bottom: 16px;
    }

    .site-section p {
      font-size: 16px;
      line-height: 1.7;
      max-width: 700px;
    }

    /* ===== SCROLLBAR (CHAT STYLE) ===== */
    .chat-history::-webkit-scrollbar {
      width: 8px;
    }

    .chat-history::-webkit-scrollbar-thumb {
      background: #d1d5db;
      border-radius: 4px;
    }

    /* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  /* 1. Re-enable scrolling on the main page */
  body, html {
    overflow: auto !important; 
    height: auto !important;
  }

  .app {
    flex-direction: column;
    height: auto; 
    overflow: visible;
  }

  /* 2. Reset panels so they don't scroll independently */
  .chat-panel,
  .site-panel {
    width: 100%;
    height: auto;          /* Let height be determined by content */
    overflow-y: visible;   /* Disable internal scrollbars */
    flex-shrink: 0;
  }

  /* 3. The Chat Panel specific fixes */
  .chat-history {
    height: auto;          /* Expand to show all messages */
    max-height: 500px;     /* Optional: keep chat from being TOO long */
    overflow-y: auto;      /* Keep only this scrollable if it's very long */
  }

  .chat-header, .chat-footer {
    height: auto;          /* Allow headers/footers to fit naturally */
    min-height: unset;
    position: relative;    /* Prevents them from floating weirdly */
  }

  .site-section {
    padding: 40px 20px;
    border-bottom: 1px solid #eee;
  }
}


.logo-container {
    width: 200px;  /* Fixed width for the logo area */
    height: 200px; /* Fixed height for the logo area */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 4px; /* Optional: gives a slight rounded corner to the logo */
}

.header-logo {
    width: 100%;
    height: 100%;
    /* 'contain' ensures the whole logo is visible without cropping. 
       Use 'cover' if you want it to fill the square completely (good for icons) */
    object-fit: contain; 
}

/****************************************/

/* ===== SERVICES GRID ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.service-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.service-card .icon {
  font-size: 28px;
  margin-bottom: 12px;
}

.service-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.service-card p {
  font-size: 14px;
  line-height: 1.6;
  color: #4b5563;
}

/* ===== COLORFUL FINAL SECTION ===== */
.highlight-section {
  background: linear-gradient(
    135deg,
    #10a37f,
    #1ba7b4,
    #6366f1
  );
  color: white;
}

.highlight-section h2 {
  font-size: 36px;
}

.highlight-section p {
  max-width: 600px;
  margin-bottom: 40px;
  opacity: 0.95;
}

.highlight-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.highlight-stats div {
  display: flex;
  flex-direction: column;
}

.highlight-stats strong {
  font-size: 32px;
  font-weight: 700;
}

.highlight-stats span {
  font-size: 14px;
  opacity: 0.9;
}


/***********************************************************/

.section-subtitle {
  color: var(--chat-muted);
  font-size: 18px;
  margin-bottom: 20px;
}

.value-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.value-item {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 20px 0;
}

.value-number {
  font-size: 40px;
  font-weight: 800;
  color: var(--chat-accent);
  opacity: 0.3;
  line-height: 1;
  font-family: 'Courier New', Courier, monospace; /* Monospace gives a "tech" feel */
}

.value-content h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--chat-text);
}

.value-content p {
  color: var(--chat-muted);
  max-width: 600px;
}

/* On mobile, make the numbers slightly smaller */
@media (max-width: 600px) {
  .value-number {
    font-size: 30px;
  }
}

/***********************************************************/


.contact-refined {
  padding: 80px 40px;
}

.contact-container {
  display: flex;
  flex-direction: column;
  gap: 48px;
  max-width: 900px;
}

.contact-text h2 {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.contact-text p {
  color: var(--chat-muted);
  font-size: 16px;
  line-height: 1.6;
}

.contact-links {
  border-top: 1px solid #eee;
}

.contact-row {
  display: flex;
  justify-content: bween;
  align-items: baseline;
  padding: 24px 0;
  border-bottom: 1px solid #eee;
  transition: padding-left 0.3s ease;
}

/* Optional: subtle hover effect */
.contact-row:hover {
  padding-left: 8px;
}

.contact-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--chat-muted);
  width: 120px; /* Keeps everything aligned */
  flex-shrink: 0;
}

.contact-value {
  font-size: 18px;
  font-weight: 500;
  color: var(--chat-text);
  text-decoration: none;
  transition: color 0.2s ease;
}

a.contact-value:hover {
  color: var(--chat-accent);
}

/* Mobile Tweak */
@media (max-width: 600px) {
  .contact-row {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
  
  .contact-label {
    font-size: 11px;
  }
  
  .contact-value {
    font-size: 16px;
  }
}


.traffic-notice {
    font-size: 12px !important;
    background-color: #fef9c3 !important; /* light yellow warning color */
    border: 1px dashed #eab308 !important;
    color: #854d0e !important;
}