/* ==========================================================================
   PagePeak Promotions - Header, Popup & AI Chatbot Styles
   ========================================================================== */

:root {
  --bg-dark: #0D1117;
  --bg-modal: #FFFFFF;
  --text-dark: #0F172A;
  --text-muted: #64748B;
  --text-light: #F8FAFC;

  /* Deep Dark Yellow Color Scheme */
  --accent-yellow: #D98E04;
  --accent-yellow-dark: #B37400;
  --accent-yellow-light: #F5AD18;
  --accent-yellow-glow: rgba(217, 142, 4, 0.3);

  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Plus Jakarta Sans', sans-serif;
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-light);
  overflow-x: hidden;
}

a { text-decoration: none; }

/* Navigation Bar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 24px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background-color: rgba(13, 17, 23, 0.95);
  backdrop-filter: blur(12px);
  padding: 16px 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 800;
  color: #FFFFFF;
}

.brand-logo .logo-mark {
  background: var(--accent-yellow);
  color: #FFFFFF;
  padding: 2px 10px;
  border-radius: 6px;
  margin-right: 6px;
  font-family: var(--font-sans);
}

.brand-logo span { color: var(--accent-yellow); }

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent-yellow-light);
}

/* Hero Section with Library Background */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 24px 80px 24px;
  background: url('https://images.unsplash.com/photo-1507842217343-583bb7270b66?q=80&w=2000&auto=format&fit=crop') center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 17, 23, 0.85) 0%, rgba(13, 17, 23, 0.95) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.badge {
  display: inline-block;
  padding: 8px 18px;
  background-color: var(--accent-yellow-glow);
  color: var(--accent-yellow-light);
  border: 1px solid var(--accent-yellow);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: 1px;
}

.hero-content h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  line-height: 1.15;
  margin-bottom: 20px;
}

.txt-rotate {
  color: var(--accent-yellow);
  border-bottom: 3px solid var(--accent-yellow);
  display: inline-block;
  transition: opacity 0.3s ease;
}

.hero-subtext {
  font-size: 1.2rem;
  color: #94A3B8;
  max-width: 680px;
  margin: 0 auto 36px auto;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.btn {
  padding: 16px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: var(--accent-yellow);
  color: #FFFFFF;
  box-shadow: 0 4px 20px var(--accent-yellow-glow);
}

.btn-primary:hover {
  background-color: var(--accent-yellow-dark);
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #FFFFFF;
}

/* ==========================================================================
   Image Promo Popup Modal
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background-color: var(--bg-modal);
  color: var(--text-dark);
  width: 100%;
  max-width: 480px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  transform: scale(0.9);
  transition: var(--transition);
}

.modal-overlay.active .modal-card {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: rgba(0,0,0,0.5);
  color: #FFFFFF;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  z-index: 10;
}

.modal-banner {
  position: relative;
  height: 180px;
}

.modal-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-badge {
  position: absolute;
  bottom: 12px;
  left: 16px;
  background-color: #DC2626;
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 20px;
  text-transform: uppercase;
}

.modal-body {
  padding: 24px;
  text-align: center;
}

.modal-body h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.modal-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.modal-features {
  list-style: none;
  text-align: left;
  margin-bottom: 20px;
  background: #F1F5F9;
  padding: 14px;
  border-radius: 10px;
}

.modal-features li {
  font-size: 0.85rem;
  color: var(--text-dark);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-features li:last-child { margin-bottom: 0; }
.modal-features i { color: #059669; }

.btn-modal {
  width: 100%;
  justify-content: center;
  background-color: var(--accent-yellow);
  color: #FFFFFF;
  margin-bottom: 12px;
}

.btn-modal:hover { background-color: var(--accent-yellow-dark); }

.modal-dismiss {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.85rem;
  cursor: pointer;
  text-decoration: underline;
}

/* ==========================================================================
   Interactive AI Chatbot Widget
   ========================================================================== */
.chatbot-wrapper {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1500;
}

.chat-trigger {
  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 8px 24px var(--accent-yellow-glow);
  position: relative;
  transition: var(--transition);
}

.chat-trigger:hover {
  transform: scale(1.08);
  background-color: var(--accent-yellow-dark);
}

.chat-trigger .badge-dot {
  position: absolute;
  top: 2px;
  right: 2px;
  background: #E11D48;
  color: #FFF;
  font-size: 0.7rem;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-tooltip {
  position: absolute;
  right: 70px;
  top: 50%;
  transform: translateY(-50%);
  background: #FFFFFF;
  color: var(--text-dark);
  padding: 6px 12px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.8rem;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.chat-box {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 340px;
  height: 460px;
  background-color: #FFFFFF;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
}

.chat-box.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.chat-header {
  background: var(--bg-dark);
  color: #FFFFFF;
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-title .avatar {
  width: 36px;
  height: 36px;
  background: var(--accent-yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.chat-title h4 { font-size: 0.95rem; }

.status {
  font-size: 0.75rem;
  color: #94A3B8;
  display: flex;
  align-items: center;
  gap: 4px;
}

.status .dot {
  width: 6px;
  height: 6px;
  background: #22C55E;
  border-radius: 50%;
}

.chat-close {
  background: none;
  border: none;
  color: #94A3B8;
  font-size: 1.4rem;
  cursor: pointer;
}

.chat-messages {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #F8FAFC;
}

.msg {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.88rem;
  line-height: 1.4;
}

.msg.bot {
  background: #FFFFFF;
  color: var(--text-dark);
  align-self: flex-start;
  border: 1px solid #E2E8F0;
}

.msg.user {
  background: var(--accent-yellow);
  color: #FFFFFF;
  align-self: flex-end;
}

.chat-options {
  padding: 10px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: #F8FAFC;
}

.chip {
  background: #FFFFFF;
  border: 1px solid var(--accent-yellow);
  color: var(--accent-yellow-dark);
  padding: 8px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: var(--transition);
}

.chip:hover {
  background: var(--accent-yellow);
  color: #FFFFFF;
}

.chat-input-area {
  padding: 12px;
  display: flex;
  gap: 8px;
  border-top: 1px solid #E2E8F0;
  background: #FFFFFF;
}

.chat-input-area input {
  flex: 1;
  border: 1px solid #CBD5E1;
  padding: 8px 12px;
  border-radius: 6px;
  outline: none;
  font-size: 0.85rem;
}

.chat-input-area button {
  background: var(--accent-yellow);
  color: #FFF;
  border: none;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
}

/* ==========================================================================
   Services Showcase Grid (Warm Off-White Version)
   ========================================================================== */

.services-showcase {
  padding: 100px 24px;
  background-color: #F4F1EA; /* Elegant Off-White / Cream Tone */
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Centered Header Styles */
.section-header.center {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px auto;
}

.sub-heading {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-yellow-dark);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: var(--text-dark);
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-header p {
  color: #475569;
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Grid Layout & Cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-bottom: 50px;
}

.service-card {
  background: #FFFFFF;
  border: 2px solid #D1D5DB; /* Defined medium-thick border */
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-yellow); /* Highlight border on hover */
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
}

.card-number {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent-yellow-dark);
  margin-bottom: 16px;
}

.card-image {
  width: 100%;
  height: 200px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 24px;
  border: 1px solid #E5E7EB;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .card-image img {
  transform: scale(1.05);
}

.card-content h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.card-content p {
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 24px;
}

.btn-details {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #FFFFFF;
  background-color: var(--accent-yellow);
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  width: fit-content;
  transition: var(--transition);
  box-shadow: 0 4px 12px var(--accent-yellow-glow);
}

.btn-details:hover {
  background-color: var(--accent-yellow-dark);
  gap: 12px;
}

.services-cta {
  text-align: center;
}

/* ==========================================================================
   Reality Check Video Section
   ========================================================================== */

.reality-check-section {
  position: relative;
  padding: 120px 24px;
  background-color: #0D1117;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 520px;
}

/* Background Video Styling */
.bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 1;
}

/* Dark Gradient Overlay for High Text Readability */
.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg, 
    rgba(13, 17, 23, 0.92) 0%, 
    rgba(13, 17, 23, 0.78) 50%, 
    rgba(13, 17, 23, 0.6) 100%
  );
  z-index: 2;
}

.reality-check-section .container {
  position: relative;
  z-index: 3;
  max-width: 1200px;
  margin: 0 auto;
}

.reality-content {
  max-width: 720px;
}

.sub-heading-light {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-yellow);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.reality-content h2 {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  color: #FFFFFF;
  line-height: 1.15;
  margin-bottom: 24px;
  font-weight: 700;
}

.reality-content .lead-text {
  font-size: 1.2rem;
  color: #E2E8F0;
  line-height: 1.6;
  margin-bottom: 16px;
}

.reality-content .body-text {
  font-size: 1rem;
  color: #94A3B8;
  line-height: 1.6;
  margin-bottom: 20px;
}

.reality-content .highlight-text {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--accent-yellow-light);
  margin-bottom: 32px;
}

.action-btn-wrap {
  margin-top: 10px;
}

/* ==========================================================================
   Strategic Transformation Timeline
   ========================================================================== */

.transformation-journey {
  padding: 100px 24px;
  background-color: #0D1117; /* Dark background */
  color: #FFFFFF;
}

/* Force Header Text to Pure White in this Section */
.transformation-journey .section-header h2 {
  color: #FFFFFF !important;
}

.transformation-journey .section-header p {
  color: #CBD5E1;
}

.timeline-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* Timeline Item Layout */
.timeline-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Reversed Row Layout */
.timeline-item.reverse {
  grid-template-columns: 1fr 1fr;
}

/* Scroll Animation Trigger State */
.timeline-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Media Block with Badge */
.timeline-media {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.timeline-media img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.timeline-item:hover .timeline-media img {
  transform: scale(1.04);
}

.step-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--accent-yellow);
  color: #000000;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 6px 14px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Content Block */
.timeline-content {
  display: flex;
  flex-direction: column;
}

.stage-tag {
  color: var(--accent-yellow);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}

.timeline-content h3 {
  font-family: var(--font-serif);
  font-size: 2rem;
  margin-bottom: 16px;
  color: #FFFFFF;
  line-height: 1.25;
}

.timeline-content p {
  color: #94A3B8;
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.stage-deliverables {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.stage-deliverables li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #E2E8F0;
  font-size: 0.95rem;
}

.stage-deliverables i {
  color: var(--accent-yellow);
}

/* Timeline Arrows Connector */
.timeline-connector {
  text-align: center;
  color: var(--accent-yellow);
  font-size: 1.8rem;
  opacity: 0.6;
  padding: 10px 0;
}

/* Responsive adjustments */
@media (max-width: 868px) {
  .timeline-item,
  .timeline-item.reverse {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .timeline-item.reverse .timeline-content {
    order: 2;
  }
  
  .timeline-item.reverse .timeline-media {
    order: 1;
  }

  .timeline-media img {
    height: 260px;
  }
}

/* ==========================================================================
   Why Us / Publisher Partnership Section
   ========================================================================== */

.partnership-section {
  padding: 100px 24px;
  background-color: #F4F1EA; /* Warm off-white background matching our light sections */
  color: #1E293B;
}

.partnership-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: start;
}

/* Left Image Styling */
.partnership-media {
  position: sticky;
  top: 100px;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid #D1D5DB;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

.partnership-media img {
  width: 100%;
  height: 100%;
  min-height: 580px;
  object-fit: cover;
  display: block;
}

/* Right Content Styling */
.sub-heading-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-yellow-dark);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.partnership-content h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: #0F172A;
  line-height: 1.25;
  margin-bottom: 20px;
}

.intro-copy p {
  color: #475569;
  font-size: 0.98rem;
  line-height: 1.6;
  margin-bottom: 12px;
}

/* 3 Pillars Card Grid */
.pillars-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 32px 0;
}

.pillar-card {
  background: #FFFFFF;
  border: 2px solid #D1D5DB;
  border-radius: 12px;
  padding: 20px 24px;
  transition: var(--transition);
}

.pillar-card:hover {
  border-color: var(--accent-yellow);
  transform: translateX(6px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.pillar-card h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: #0F172A;
  margin-bottom: 8px;
}

.pillar-card p {
  color: #64748B;
  font-size: 0.92rem;
  line-height: 1.5;
  margin: 0;
}

.partnership-footer {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 40px;
}

.partnership-footer p {
  font-size: 1.05rem;
  color: #475569;
  font-weight: 600;
  margin-bottom: 16px;
  text-align: center;
}

/* Responsive Handling */
@media (max-width: 992px) {
  .partnership-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .partnership-media {
    position: static;
  }

  .partnership-media img {
    min-height: 380px;
  }
}
/* ==========================================================================
   Why Us / Publisher Partnership Section
   ========================================================================== */

.partnership-section {
  padding: 80px 24px;
  background-color: #F4F1EA;
  color: #1E293B;
}

/* Top Row: Fixed Image Height Beside Intro Text */
.partnership-hero {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 32px;
}

.partnership-media {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #D1D5DB;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  height: 360px;
}

.partnership-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sub-heading-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-yellow-dark, #D97706);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.partnership-intro h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  color: #0F172A;
  line-height: 1.25;
  margin-bottom: 16px;
}

.intro-copy p {
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.55;
  margin-bottom: 10px;
}

.intro-copy p:last-child {
  margin-bottom: 0;
}

/* 3 Feature Cards Stacked vertically */
.pillars-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.pillar-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 20px 24px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.pillar-card:hover {
  border-color: var(--accent-yellow, #EAB308);
  transform: translateX(6px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
}

.pillar-card h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: #0F172A;
  margin-bottom: 6px;
}

.pillar-card p {
  color: #64748B;
  font-size: 0.92rem;
  line-height: 1.5;
  margin: 0;
}

/* Footer CTA */
.partnership-footer p {
  font-size: 0.95rem;
  color: #475569;
  font-weight: 600;
  margin-bottom: 12px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .partnership-hero {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .partnership-media {
    height: 300px;
  }
}
/* 3-Column Horizontal Grid Layout */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.pillar-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.pillar-card:hover {
  border-color: var(--accent-yellow, #EAB308);
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
}

/* Numbering Style (e.g., 01, 02, 03) */
.pillar-number {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-yellow-dark, #D97706);
  margin-bottom: 16px;
  display: block;
}

.pillar-card h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: #0F172A;
  margin-bottom: 12px;
  line-height: 1.3;
}

.pillar-card p {
  color: #64748B;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* Responsive adjustment for tablet/mobile */
@media (max-width: 868px) {
  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 80px; /* Offset for navbar height */
  overflow: hidden;
}

.navbar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 20px 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(13, 17, 23, 0.75); /* Dark ambient overlay */
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2; /* Keeps text above the overlay */
}
/* ==========================================================================
   Mobile Responsive Navigation & Hamburger Bar
   ========================================================================== */

/* Hide toggle button on desktop screens */
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  padding: 0;
  z-index: 1001;
}

.nav-toggle .bar {
  width: 100%;
  height: 3px;
  background-color: #0F172A; /* Dark line color */
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Mobile Screen Breakpoint */
@media (max-width: 868px) {
  .nav-toggle {
    display: flex; /* Show 3-line hamburger box */
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%; /* Slide off-screen by default */
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background-color: #FFFFFF;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
    padding: 90px 30px 30px;
    transition: right 0.4s cubic-bezier(0.77, 0.2, 0.05, 1);
    z-index: 1000;
  }

  /* Active Drawer Menu State */
  .nav-menu.active {
    right: 0;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    font-size: 1.15rem;
    display: block;
  }

  /* Transform 3-line hamburger into 'X' icon when active */
  .nav-toggle.active .bar:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
  }

  .nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active .bar:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
  }
}

/* ==========================================================================
   Navigation Bar Styles
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 100px;
  overflow: hidden;
}

.navbar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 24px 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* Brand Logo */
.brand-logo {
  font-family: var(--font-serif, serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: #FFFFFF;
  text-decoration: none;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-mark {
  background: #EAB308;
  color: #0F172A;
  padding: 2px 10px;
  border-radius: 6px;
  font-weight: 800;
}

/* Desktop Links (Single Straight Line) */
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
  white-space: nowrap;
}

.nav-links a {
  color: #E2E8F0;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #EAB308;
}

/* Hide Hamburger on Desktop */
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  padding: 0;
  z-index: 1002;
}

.nav-toggle .bar {
  width: 100%;
  height: 3px;
  background-color: #FFFFFF;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ==========================================================================
   Mobile Responsive View (Screen width 900px and smaller)
   ========================================================================== */

@media (max-width: 900px) {
  /* Show Hamburger 3-Line Toggle Button */
  .nav-toggle {
    display: flex !important;
  }

  /* Slide-Out Mobile Drawer */
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 300px;
    height: 100vh;
    background-color: #0F172A; /* Dark theme drawer */
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    padding: 100px 30px 40px;
    transition: right 0.4s ease;
    z-index: 1001;
  }

  /* Active Menu Drawer */
  .nav-menu.active {
    right: 0;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .nav-links a {
    font-size: 1.15rem;
  }

  /* Transform Hamburger into 'X' when open */
  .nav-toggle.active .bar:nth-child(1) {
    transform: translateY(9.5px) rotate(45deg);
  }

  .nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active .bar:nth-child(3) {
    transform: translateY(-9.5px) rotate(-45deg);
  }
}

/* ==========================================================================
   Testimonials / Client Reviews Section
   ========================================================================== */

.testimonials-section {
  padding: 90px 24px;
  background-color: #FFFFFF;
  color: #1E293B;
  text-align: center;
}

.testimonials-section .section-header {
  margin-bottom: 50px;
}

.testimonials-section .sub-heading {
  font-size: 0.85rem;
  font-weight: 700;
  color: #94A3B8;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}

.testimonials-section h2 {
  font-family: var(--font-serif, serif);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: #0F172A;
  font-weight: 700;
}

/* 3 Cards Grid Layout */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1140px;
  margin: 0 auto 40px;
  text-align: left;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Speech Bubble Card Container */
.quote-bubble {
  background: #F1F5F9; /* Off-white / light grayish blue card bg */
  border-radius: 20px 20px 20px 0px; /* Speech bubble corner curve */
  padding: 32px 28px 40px;
  position: relative;
  flex-grow: 1;
}

.quote-icon {
  font-family: var(--font-serif, serif);
  font-size: 3.5rem;
  line-height: 1;
  color: #CBD5E1;
  margin-bottom: 8px;
  font-weight: 700;
}

.quote-text {
  font-size: 1.05rem;
  font-weight: 600;
  color: #1E293B;
  line-height: 1.5;
  margin: 0;
}

/* Author Avatar & Handle Meta (Notched Corner Effect) */
.author-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: -20px; /* Overlaps into the bubble notch */
  padding-left: 12px;
  position: relative;
  z-index: 2;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #FFFFFF;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: #0F172A;
  margin: 0;
}

.author-handle {
  font-size: 0.8rem;
  color: #94A3B8;
  font-weight: 500;
}

/* Carousel Slider Dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.carousel-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background-color: #E2E8F0;
  transition: all 0.3s ease;
  cursor: pointer;
}

.carousel-dots .dot.active {
  width: 24px;
  background-color: #0F172A;
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ==========================================================================
   FAQ Section Styles
   ========================================================================== */

.faq-section {
  padding: 100px 24px;
  background-color: #0F172A; /* Dark theme contrast section */
  color: #FFFFFF;
}

.faq-section .section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 50px;
}

.faq-section .sub-heading {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-yellow, #EAB308);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 12px;
}

.faq-section h2 {
  font-family: var(--font-serif, serif);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: #FFFFFF;
  margin-bottom: 16px;
}

.faq-intro {
  color: #94A3B8;
  font-size: 1rem;
  line-height: 1.6;
}

/* Accordion Container */
.faq-accordion {
  max-width: 800px;
  margin: 0 auto 48px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: #1E293B;
  border: 1px solid #334155;
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.faq-item:hover,
.faq-item.active {
  border-color: var(--accent-yellow, #EAB308);
}

.faq-question {
  width: 100%;
  padding: 22px 28px;
  background: transparent;
  border: none;
  color: #FFFFFF;
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  gap: 16px;
}

.faq-icon {
  color: var(--accent-yellow, #EAB308);
  font-size: 0.9rem;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease;
  padding: 0 28px;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 28px 24px;
}

.faq-answer p {
  color: #CBD5E1;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* FAQ Footer CTA */
.faq-footer {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.faq-footer p {
  color: #94A3B8;
  font-size: 1rem;
  font-weight: 500;
  margin: 0;
}

/* ==========================================================================
   Footer Styles (Complimentary Slate & Gold Theme)
   ========================================================================== */

.site-footer {
  background-color: #0F172A; /* Deep slate matching hero & FAQ background */
  color: #FFFFFF;
  padding: 80px 0 0;
  font-family: inherit;
  border-top: 1px solid #1E293B;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1.2fr;
  gap: 40px;
  align-items: start;
  padding-bottom: 60px;
}

/* Col 1: Brand */
.footer-brand .brand-logo {
  font-size: 1.5rem;
  margin-bottom: 20px;
  display: inline-flex;
}

.brand-tagline {
  color: #94A3B8;
  font-size: 1.02rem;
  line-height: 1.6;
  max-width: 320px;
  font-weight: 500;
  margin: 0;
}

/* Col 2: Company Links */
.footer-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 20px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--accent-yellow, #EAB308); /* Primary golden link accent */
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.footer-links a:hover {
  color: #FDE047;
  text-decoration: underline;
}

/* Col 3: Framing Box & CTA */
.footer-action {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 28px;
}

.portfolio-box {
  width: 100%;
  max-width: 380px;
  border: 1px solid #334155; /* Slate border accent */
  border-radius: 16px;
  padding: 24px;
  text-align: left;
  background: #1E293B; /* Slightly lighter container card */
}

.portfolio-box h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 16px;
  font-family: var(--font-serif, serif);
}

.btn-portfolio {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 20px;
  background-color: #0F172A;
  color: #FFFFFF;
  border: 1px solid #334155;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-portfolio:hover {
  background-color: #1E293B;
  border-color: var(--accent-yellow, #EAB308);
  color: var(--accent-yellow, #EAB308);
}

/* Social Icons Row */
.social-icons {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  width: 100%;
  max-width: 380px;
}

.social-icons a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid #334155;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #CBD5E1;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  background: #1E293B;
}

.social-icons a:hover {
  border-color: var(--accent-yellow, #EAB308);
  color: var(--accent-yellow, #EAB308);
  transform: translateY(-3px);
}

/* Copyright Bottom Bar */
.footer-bottom {
  border-top: 1px solid #1E293B;
  padding: 20px 0;
  text-align: center;
}

.footer-bottom p {
  color: #64748B;
  font-size: 0.85rem;
  margin: 0;
}

/* Mobile & Tablet Responsiveness */
@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-action {
    align-items: flex-start;
  }

  .social-icons {
    justify-content: flex-start;
  }
}

/* ==========================================================================
   AI Chatbot Widget Styles (Matching Homepage Layout)
   ========================================================================== */

.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;
}

.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;
}