/* ==========================================================================
   PagePeak Promotions - Process Page Stylesheet (css/process.css)
   ========================================================================== */

:root {
  --bg-light: #F8FAFC;        /* Off-White Base */
  --bg-white: #FFFFFF;        /* Pure White Card Background */
  --bg-accent: #0F172A;       /* Dark Slate Footer/Header Accent */
  --border-color: #E2E8F0;    /* Border Accent */
  --accent-yellow: #D97706;   /* Amber Gold Brand Highlight */
  --accent-gold: #EAB308;     /* Light Gold Accent */
  --text-dark: #0F172A;       /* Heading Dark Color */
  --text-body: #334155;       /* Primary Body Text */
  --text-muted: #64748B;      /* Secondary Muted Text */
  --font-sans: 'Inter', sans-serif;
  --font-serif: 'Playfair Display', serif;
}

/* Reset & Base Elements */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-light);
  color: var(--text-body);
  font-family: var(--font-sans);
  line-height: 1.5;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --------------------------------------------------------------------------
   Navigation Bar
   -------------------------------------------------------------------------- */
.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  padding: 16px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-dark);
  text-decoration: none;
}

.logo-mark {
  background: var(--accent-yellow);
  color: #FFFFFF;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
}

.brand-logo span {
  color: var(--accent-yellow);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-menu a {
  color: var(--text-body);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--accent-yellow);
}

.hamburger {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-dark);
  font-size: 1.5rem;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--accent-yellow);
  color: #FFFFFF;
}

.btn-primary:hover {
  background-color: #B45309;
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   Process Hero Section (Image Background Overlay)
   -------------------------------------------------------------------------- */
.process-hero {
  position: relative;
  background-image: url('https://images.unsplash.com/photo-1457369804613-52c61a468e7d?auto=format&fit=crop&w=1600&q=80');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 100px 0 80px;
  text-align: center;
  overflow: hidden;
}

.process-hero .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.85);
  z-index: 1;
}

.process-hero .hero-content {
  position: relative;
  z-index: 2;
}

.process-hero .sub-heading {
  color: var(--accent-gold);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 12px;
}

.process-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 16px;
  line-height: 1.25;
}

.process-hero .hero-description {
  max-width: 680px;
  margin: 0 auto;
  color: #CBD5E1;
  font-size: 1.05rem;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Step-by-Step Timeline Section
   -------------------------------------------------------------------------- */
.process-timeline-section {
  padding: 80px 0;
  background-color: var(--bg-light);
}

.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 50px;
}

.section-header .sub-heading {
  color: var(--accent-yellow);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}

.section-header h2 {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1rem;
}

/* Timeline Cards */
.timeline-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.timeline-step {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.step-badge {
  background-color: var(--accent-yellow);
  color: #FFFFFF;
  font-size: 1.25rem;
  font-weight: 800;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.2);
}

.step-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 32px;
  flex-grow: 1;
  display: flex;
  gap: 24px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-yellow);
}

.step-icon {
  font-size: 2rem;
  color: var(--accent-yellow);
  background-color: #FEF3C7;
  width: 56px;
  height: 56px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-content {
  flex-grow: 1;
}

.step-tag {
  color: var(--accent-yellow);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  display: block;
  margin-bottom: 6px;
}

.step-content h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.step-content p {
  color: var(--text-body);
  font-size: 0.98rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.step-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.step-checklist li {
  font-size: 0.9rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 10px;
}

.step-checklist li i {
  color: #10B981;
  font-size: 0.85rem;
}

/* --------------------------------------------------------------------------
   Banner CTA Section
   -------------------------------------------------------------------------- */
.process-cta-banner {
  background-color: var(--bg-accent);
  padding: 60px 0;
  text-align: center;
  color: #FFFFFF;
}

.process-cta-banner h2 {
  font-family: var(--font-serif);
  color: #FFFFFF;
  font-size: 2rem;
  margin-bottom: 12px;
}

.process-cta-banner p {
  color: #94A3B8;
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 28px;
}

/* --------------------------------------------------------------------------
   Impact Section (Video Background)
   -------------------------------------------------------------------------- */
.impact-truth-section {
  position: relative;
  padding: 100px 0;
  color: #FFFFFF;
  overflow: hidden;
  background-color: #0F172A;
}

.impact-video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: 1;
  pointer-events: none;
}

.impact-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.7) 100%);
  z-index: 2;
}

.impact-container {
  position: relative;
  z-index: 3;
}

.impact-content {
  max-width: 720px;
  text-align: left;
}

.impact-content h2 {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  color: #FFFFFF;
  line-height: 1.2;
  margin-bottom: 24px;
  font-weight: 700;
}

.impact-lead {
  font-size: 1.15rem;
  color: #CBD5E1;
  line-height: 1.6;
  margin-bottom: 16px;
}

.impact-sub {
  font-size: 1.05rem;
  color: #94A3B8;
  line-height: 1.6;
  margin-bottom: 16px;
}

.impact-highlight {
  font-size: 1.1rem;
  color: #FFFFFF;
  font-weight: 600;
  margin-bottom: 32px;
}

.btn-impact {
  background-color: var(--accent-yellow);
  color: #FFFFFF;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(217, 119, 6, 0.3);
}

.btn-impact:hover {
  background-color: #B45309;
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   Footer Section
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--bg-accent);
  color: #94A3B8;
  padding-top: 60px;
  border-top: 1px solid #1E293B;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  padding-bottom: 40px;
}

.brand-tagline {
  margin-top: 12px;
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-col h4 {
  color: #FFFFFF;
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #94A3B8;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: var(--accent-gold);
}

.portfolio-box {
  background: #1E293B;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 20px;
}

.portfolio-box h3 {
  color: #FFFFFF;
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.btn-portfolio {
  background-color: var(--accent-yellow);
  color: #FFFFFF;
}

.social-icons {
  display: flex;
  gap: 12px;
}

.social-icons a {
  color: #FFFFFF;
  background: #1E293B;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background 0.3s;
}

.social-icons a:hover {
  background: var(--accent-yellow);
}

.footer-bottom {
  border-top: 1px solid #1E293B;
  padding: 20px 0;
  text-align: center;
  color: #64748B;
  font-size: 0.85rem;
}

/* --------------------------------------------------------------------------
   AI Chatbot Widget Styles
   -------------------------------------------------------------------------- */
.chatbot-wrapper {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
}

.chat-trigger {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--accent-yellow);
  color: #FFFFFF;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.chat-trigger:hover {
  transform: scale(1.08);
  background-color: #B45309;
}

.badge-dot {
  position: absolute;
  top: -2px;
  right: -2px;
  background-color: #EF4444;
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #FFFFFF;
}

.chat-tooltip {
  position: absolute;
  right: 70px;
  background-color: var(--text-dark);
  color: #FFFFFF;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  white-space: nowrap;
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.chat-box {
  display: none;
  position: absolute;
  bottom: 75px;
  right: 0;
  width: 340px;
  height: 480px;
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  flex-direction: column;
  overflow: hidden;
}

.chat-box.active {
  display: flex;
}

.chat-header {
  background-color: var(--text-dark);
  color: #FFFFFF;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-title .avatar {
  background-color: var(--accent-yellow);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.chat-title h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0;
  color: #FFFFFF;
}

.chat-title .status {
  font-size: 0.75rem;
  color: #94A3B8;
  display: flex;
  align-items: center;
  gap: 4px;
}

.chat-title .status .dot {
  width: 8px;
  height: 8px;
  background-color: #22C55E;
  border-radius: 50%;
}

.chat-close {
  background: transparent;
  border: none;
  color: #FFFFFF;
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}

.chat-messages {
  flex-grow: 1;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background-color: var(--bg-light);
}

.msg {
  max-width: 82%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.88rem;
  line-height: 1.4;
}

.msg.bot {
  background-color: #E2E8F0;
  color: var(--text-dark);
  align-self: flex-start;
  border-bottom-left-radius: 2px;
}

.msg.user {
  background-color: var(--accent-yellow);
  color: #FFFFFF;
  align-self: flex-end;
  border-bottom-right-radius: 2px;
}

.chat-options {
  padding: 10px 12px;
  background-color: var(--bg-white);
  border-top: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.chip {
  background-color: var(--bg-white);
  color: var(--accent-yellow);
  border: 1px solid var(--accent-yellow);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 0.82rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
}

.chip:hover {
  background-color: var(--accent-yellow);
  color: #FFFFFF;
}

.chat-input-area {
  display: flex;
  padding: 10px 12px;
  border-top: 1px solid var(--border-color);
  background-color: var(--bg-white);
  gap: 8px;
}

.chat-input-area input {
  flex-grow: 1;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 0.88rem;
  outline: none;
}

.chat-input-area button {
  background-color: var(--accent-yellow);
  color: #FFFFFF;
  border: none;
  border-radius: 8px;
  padding: 8px 14px;
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   Responsive Layout Styles
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .hamburger {
    display: block;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px;
    gap: 16px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-actions {
    display: none;
  }

  .timeline-step {
    flex-direction: column;
    gap: 12px;
  }

  .step-card {
    flex-direction: column;
    padding: 24px;
  }

  .chat-box {
    width: calc(100vw - 48px);
    right: -10px;
  }
}

.brand-logo {
  display: flex;
  align-items: center;
}

.brand-logo .logo-img {
  height: 60px;      /* Adjust height to fit your navbar */
  width: auto;       /* Maintains aspect ratio */
  object-fit: contain;
  display: block;
}