/* =============================================
   ECHO IRON – Premium Metal Trading
   style.css
   ============================================= */

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:    #2f2483;
  --primary-light: #3b2fa0;
  --primary-pale: #f3f1ff;
  --accent:     #6366f1;
  --dark:       #1a1a2e;
  --text:       #1a1a2e;
  --text-muted: #6a7282;
  --text-light: #99a1af;
  --border:     #e5e7eb;
  --bg:         #ffffff;
  --bg-soft:    #f8f8f8;
  --up:         #16a34a;
  --down:       #dc2626;
  --radius:     12px;
  --shadow:     0 4px 24px rgba(47,36,131,0.10);
  --shadow-lg:  0 8px 40px rgba(47,36,131,0.18);
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

.text-center { text-align: center; }

/* ---- Buttons ---- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 13px 30px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn-primary:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 13px 32px;
  border-radius: var(--radius);
  border: 2px solid #fff;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-2px);
}

/* ---- Sections ---- */
.section {
  padding: 96px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-title {
  font-family: 'Poppins', sans-serif;
  font-size: 40px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
}

.section-sub {
  margin-top: 12px;
  font-size: 16px;
  color: var(--text-muted);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-pale);
  color: var(--primary);
  font-size: 14px;
  font-weight: 500;
  padding: 6px 16px;
  border-radius: 99px;
  margin-bottom: 16px;
}
.section-tag span {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  display: inline-block;
}

/* ---- Scroll Animations ---- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--delay, 0s);
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeDown {
  from { opacity:0; transform:translateY(-20px); }
  to   { opacity:1; transform:translateY(0); }
}
@keyframes fadeUp {
  from { opacity:0; transform:translateY(30px); }
  to   { opacity:1; transform:translateY(0); }
}

.animate-fade-down { animation: fadeDown 0.8s ease forwards; }
.animate-fade-up   { animation: fadeUp 0.9s ease forwards; opacity:0; }
.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: 80px;
  background: #fff;
  box-shadow: 0 1px 6px rgba(0,0,0,0.1);
  transition: background var(--transition), box-shadow var(--transition);
}
.navbar.scrolled {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.12);
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo img { height: 60px; width: auto; }

.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
}
.nav-link {
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  transition: color var(--transition);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--primary);
  transition: width var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--primary); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.nav-cta { font-size: 16px; padding: 10px 28px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 80px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,26,46,0.82);
}
.hero-glow {
  position: absolute;
  top: 80px; left: 40px;
  width: 288px; height: 288px;
  background: rgba(99,102,241,0.3);
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 984px;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-pale);
  color: var(--primary);
  font-size: 14px;
  font-weight: 500;
  padding: 6px 18px;
  border-radius: 99px;
}
.badge-dot {
  width: 8px; height: 8px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:0.5; transform:scale(1.4); }
}
.hero-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(36px, 5vw, 50px);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
}
.hero-accent { color: #a5b4fc; }
.hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.85);
  max-width: 680px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.hero-btn { font-size: 17px; padding: 14px 34px; }
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  border-radius: var(--radius);
  padding: 16px 32px;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 32px;
}
.stat-value {
  font-family: 'Poppins', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: #fff;
}
.stat-label {
  font-size: 13px;
  color: var(--text-light);
  margin-top: 2px;
}
.stat-divider {
  width: 1px; height: 40px;
  background: rgba(229,231,235,0.3);
}

/* =============================================
   PRICES SECTION
   ============================================= */
.prices-section { background: #fff; }

.prices-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 16px;
  background: #fff;
  min-width: 240px;
  transition: border-color var(--transition);
}
.search-box:focus-within { border-color: var(--primary); }
.search-box input {
  border: none; outline: none;
  font-size: 14px; color: var(--text);
  background: transparent;
  width: 100%;
}
.filter-group {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.filter-btns, .currency-btns {
  display: flex;
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 4px;
  gap: 2px;
}
.filter-btn, .currency-btn {
  padding: 6px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: background var(--transition), color var(--transition);
}
.filter-btn:hover, .currency-btn:hover {
  background: rgba(47,36,131,0.08);
  color: var(--primary);
}
.filter-btn.active, .currency-btn.active {
  background: var(--primary);
  color: #fff;
}

.prices-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.price-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
  animation: fadeCard 0.4s ease;
}
@keyframes fadeCard { from { opacity:0; transform:translateY(12px); } to { opacity:1; transform:translateY(0); } }
.price-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: rgba(47,36,131,0.25);
}
.price-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}
.price-metal-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.price-value {
  font-family: 'Poppins', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
  margin-top: 4px;
}
.price-unit { font-size: 13px; color: var(--text-muted); }
.price-change {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 8px;
}
.price-change.up   { color: var(--up);   background: rgba(22,163,74,0.1); }
.price-change.down { color: var(--down); background: rgba(220,38,38,0.1); }
.price-chart-wrap {
  margin: 12px 0;
  height: 70px;
}
.price-chart-wrap canvas { width: 100% !important; }
.price-updated {
  font-size: 12px;
  color: var(--text-light);
}

/* =============================================
   SERVICES
   ============================================= */
.services-section { background: var(--bg-soft); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
}
.service-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 32px 28px;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
  cursor: pointer;
  
}
.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: rgba(47,36,131,0.25);
}
.service-icon {
  width: 52px; height: 52px;
  background: var(--primary-pale);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  color: var(--primary);
  transition: background var(--transition), color var(--transition);
}
.service-card:hover .service-icon {
  background: var(--primary);
  color: #fff;
}
.service-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--dark);
}
.service-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* =============================================
   WHY CHOOSE US
   ============================================= */
.why-section { background: #fff; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 24px;
}
.why-card {
  text-align: center;
  padding: 32px 20px;
  border-radius: 16px;
  border: 1.5px solid var(--border);
  background: #fff;
  transition: box-shadow var(--transition), transform var(--transition), background var(--transition);
}
.why-card:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.why-icon-wrap {
  width: 56px; height: 56px;
  background: var(--primary-pale);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  color: var(--primary);
  transition: background var(--transition), color var(--transition);
}
.why-card:hover .why-icon-wrap {
  background: rgba(255,255,255,0.2);
  color: #fff;
}
.why-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
  transition: color var(--transition);
}
.why-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
  transition: color var(--transition);
}
.why-card:hover h3, .why-card:hover p { color: rgba(255,255,255,0.95); }

/* =============================================
   HOW IT WORKS
   ============================================= */
.how-section { background: var(--bg-soft); }
.steps-wrapper { position: relative; }
.steps-line {
  position: absolute;
  top: 40px; left: calc(12.5%);
  width: 75%;
  height: 2px;
  background: var(--border);
  z-index: 0;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}
.step {
  text-align: center;
  padding: 0 16px;
}
.step-circle {
  width: 80px; height: 80px;
  background: var(--primary-pale);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
  position: relative;
  color: var(--primary);
  border: 3px solid #fff;
  box-shadow: 0 0 0 4px var(--primary-pale);
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
}
.step:hover .step-circle {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 0 0 4px rgba(47,36,131,0.2), var(--shadow);
}
.step-num {
  position: absolute;
  top: -8px; right: -8px;
  width: 26px; height: 26px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid #fff;
}
.step h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--dark);
}
.step p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* =============================================
   INDUSTRIES
   ============================================= */
.industries-section { background: #fff; }
.industries-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 20px;
}
.industry-card {
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
}
.industry-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.industry-img {
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform var(--transition);
}
.industry-card:hover .industry-img svg {
  transform: scale(1.1);
}
.industry-img svg { transition: transform var(--transition); }
.industry-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  position: absolute;
  bottom: 20px; left: 20px;
}

/* =============================================
   RECENT PROJECTS
   ============================================= */
.projects-section { background: var(--bg-soft); }
.projects-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
  gap: 24px;
  flex-wrap: wrap;
}
.projects-header-left { flex: 1; }
.projects-header-left .section-title { text-align: left; }
.projects-header-left .section-sub { text-align: left; }
.projects-stats {
  display: flex;
  gap: 32px;
}
.proj-stat { display: flex; flex-direction: column; }
.ps-num {
  font-family: 'Poppins', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
}
.ps-label { font-size: 13px; color: var(--text-muted); }

/* Featured Slider */
.featured-project {
  position: relative;
  margin-bottom: 40px;
  border-radius: 16px;
  overflow: hidden;
}
.fp-slides { width: 100%; }
.fp-slide {
  display: none;
  position: relative;
  min-height: 420px;
  align-items: center;
  overflow: hidden;
}
.fp-slide.active { display: flex; }

/* Background image — fills the entire slide behind everything */
.fp-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

/* Gradient overlay — keeps text readable over any photo */
.fp-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(10,10,40,0.85) 0%,
    rgba(10,10,40,0.60) 55%,
    rgba(10,10,40,0.15) 100%
  );
  z-index: 1;
}

/* Placeholder — always behind content, shown when image fails */
.fp-placeholder {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
}
/* Per-slide fallback gradient backgrounds */
.fp-slide--1 { background: linear-gradient(135deg, #1a1a2e 0%, #374151 100%); }
.fp-slide--2 { background: linear-gradient(135deg, #1e3a5f 0%, #1a1a2e 100%); }
.fp-slide--3 { background: linear-gradient(135deg, #14532d 0%, #1a1a2e 100%); }

.fp-placeholder svg { opacity: 0.2; }
.fp-placeholder span {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.05em;
  font-family: 'Inter', sans-serif;
}

/* Text block sits above both image and overlay */
.fp-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  padding: 60px 80px;
}
.fp-tags { display: flex; gap: 10px; margin-bottom: 20px; }
.fp-tag {
  font-size: 13px;
  font-weight: 500;
  padding: 4px 14px;
  border-radius: 6px;
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
}
.fp-tag.success { background: rgba(22,163,74,0.25); border-color: rgba(22,163,74,0.4); color: #86efac; }
.fp-content h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}
.fp-content p { font-size: 16px; color: rgba(255,255,255,0.75); margin-bottom: 24px; }
.fp-meta { display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.fp-meta span { font-size: 14px; color: rgba(255,255,255,0.8); }
.fp-cta { font-size: 15px; padding: 12px 26px; }
.fp-dots { display: flex; gap: 8px; position: absolute; bottom: 24px; right: 32px; }

.fp-nav {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(4px);
  border-radius: 50%;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  z-index: 10;
  transition: background var(--transition);
  border: 1px solid rgba(255,255,255,0.2);
}
.fp-nav:hover { background: rgba(255,255,255,0.3); }
.fp-prev { left: 16px; }
.fp-next { right: 16px; }


/* Project Filter */
.proj-filter-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.proj-filter-bar .filter-btn {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 20px;
  transition: all var(--transition);
}
.proj-filter-bar .filter-btn:hover, .proj-filter-bar .filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* Project Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
  margin-bottom: 40px;
}
.proj-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
  animation: fadeCard 0.4s ease;
}
.proj-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.proj-card-img {
  height: 220px;
  position: relative;
  overflow: hidden;
}
.proj-card-img .proj-bg {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.5s ease;
}
.proj-card:hover .proj-bg { transform: scale(1.05); }
.proj-card-badges {
  position: absolute;
  top: 12px;
  left: 12px; right: 12px;
  display: flex;
  justify-content: space-between;
}
.proj-badge {
  font-size: 12px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 6px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(4px);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
}
.proj-badge.value { background: rgba(0,0,0,0.4); }
.proj-card-body { padding: 24px; }
.proj-card-body h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--dark);
}
.proj-card-body p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 14px;
}
.proj-card-meta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.proj-card-meta span { font-size: 12px; color: var(--text-muted); }
.proj-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.proj-status {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px;
  color: var(--up);
  font-weight: 500;
}
.proj-status::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--up);
  border-radius: 50%;
}
.proj-details { font-size: 13px; color: var(--primary); font-weight: 500; }
.proj-details:hover { text-decoration: underline; }

.view-all-btn {
  color: var(--primary);
  border-color: var(--primary);
  padding: 14px 40px;
  font-size: 16px;
}
.view-all-btn:hover { background: var(--primary); color: #fff; }

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonials-section { background: #fff; }
.testimonials-wrapper {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  background: var(--bg-soft);
  border-radius: 20px;
  padding: 40px;
  border: 1.5px solid var(--border);
}
.testimonials-nav-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 56px;
}
.testi-avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--border);
  transition: border-color var(--transition), transform var(--transition);
  background: var(--bg-soft);
  display: flex; align-items: center; justify-content: center;
}
.testi-avatar:hover { transform: scale(1.08); }
.testi-avatar.active { border-color: var(--primary); }
.testimonials-content { flex: 1; }
.testi-stars { display: flex; gap: 4px; margin-bottom: 20px; }
.testi-stars svg { color: #fbbf24; }
.testi-quote {
  font-size: 18px;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 28px;
  font-style: italic;
}
.testi-person { display: flex; align-items: center; gap: 16px; }
.testi-person-info h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--dark);
}
.testi-person-info p { font-size: 13px; color: var(--text-muted); }
.testi-badges { display: flex; gap: 8px; margin-left: auto; }
.testi-loc, .testi-verified {
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 6px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  color: var(--text-muted);
}
.testi-verified { background: rgba(22,163,74,0.08); color: var(--up); border-color: rgba(22,163,74,0.2); }
.testi-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 28px;
}
.testi-nav-btns { display: flex; gap: 10px; }
.testi-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  transition: all var(--transition);
}
.testi-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.testi-count { font-size: 14px; color: var(--text-muted); }

/* =============================================
   MARKET INSIGHTS
   ============================================= */
.insights-section { background: var(--bg-soft); }
.insights-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
}
.insight-img img{
  height: 200px ;
  width: 100%;
}
.insight-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.insight-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.insight-img {
  height: 200px;
  display: flex; align-items: center; justify-content: center;
}
.insight-body { padding: 24px; }
.insight-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 6px;
  background: var(--primary-pale);
  color: var(--primary);
  margin-bottom: 12px;
}
.insight-body h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 10px;
  line-height: 1.4;
}
.insight-body p { font-size: 13px; color: var(--text-muted); margin-bottom: 16px; line-height: 1.65; }
.insight-link { font-size: 14px; color: var(--primary); font-weight: 500; }
.insight-link:hover { text-decoration: underline; }

/* =============================================
   GALLERY
   ============================================= */
.gallery-section { background: #fff; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 200px;
  gap: 16px;
}
.gallery-item img{
  height: 100%;
  width: 100%;
}
.gallery-item {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.gi-tall { grid-row: span 2; }
.gi-wide { grid-column: span 2; }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,26,46,0);
  display: flex; align-items: flex-end;
  padding: 16px;
  transition: background var(--transition);
}
.gallery-item:hover .gallery-overlay { background: rgba(26,26,46,0.5); }
.gallery-overlay span {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0);
  transition: color var(--transition);
}
.gallery-item:hover .gallery-overlay span { color: #fff; }
.gallery-item { transition: transform var(--transition); }
.gallery-item:hover { transform: scale(1.02); }

/* =============================================
   CTA
   ============================================= */
.cta-section { background: var(--dark); }
.cta-inner {
  text-align: center;
  padding: 80px 40px;
  position: relative;
  overflow: hidden;
}
.cta-glow {
  position: absolute;
  top: -60px; left: 50%;
  transform: translateX(-50%);
  width: 400px; height: 400px;
  background: rgba(99,102,241,0.25);
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.cta-inner h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 42px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}
.cta-inner p {
  font-size: 17px;
  color: rgba(255,255,255,0.72);
  margin-bottom: 36px;
  position: relative;
  z-index: 1;
}
.cta-btn {
  font-size: 17px;
  padding: 16px 40px;
  position: relative;
  z-index: 1;
}

/* =============================================
   FOOTER
   ============================================= */
.footer { background: var(--bg-soft); border-top: 1px solid var(--border); }
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-top: 56px;
  padding-bottom: 40px;
}
.footer-logo { height: 50px; width: auto; margin-bottom: 16px; }
.footer-brand p { font-size: 14px; color: var(--text-muted); line-height: 1.7; margin-bottom: 24px; }
.footer-socials { display: flex; gap: 10px; }
.social-btn {
  width: 36px; height: 36px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  transition: all var(--transition);
}
.social-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.footer-col h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col ul li a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--primary); }
.footer-bottom {
  border-top: 1px solid var(--border);
  text-align: center;
  padding: 20px 40px;
}
.footer-bottom p { font-size: 14px; color: var(--text-light); }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1100px) {
  .prices-grid { grid-template-columns: repeat(2,1fr); }
  .why-grid { grid-template-columns: repeat(2,1fr); }
  .industries-grid { grid-template-columns: repeat(2,1fr); }
  .projects-grid { grid-template-columns: repeat(2,1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .nav-link::after {background: none;}
  .section { padding: 64px 0; }
  .container { padding: 0 20px; }
  .section-title { font-size: 30px; }

  /* Nav */
  .nav-inner { padding: 0 20px; }
  .nav-links {
    display: none;
    position: fixed;
    top: 80px; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    padding: 24px 20px;
    gap: 0;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-link { padding: 14px 0; border-bottom: 1px solid var(--border); width: 100%; }
  .nav-link:last-child { border-bottom: none; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }

  /* Hero */
  .hero-title { font-size: 30px; }
  .hero-sub { font-size: 15px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-stats { flex-direction: column; gap: 16px; padding: 20px; }
  .stat-divider { width: 60px; height: 1px; }

  /* Prices */
  .prices-grid { grid-template-columns: 1fr; }
  .prices-toolbar { flex-direction: column; align-items: stretch; }
  .filter-group { flex-direction: column; }

  /* Grids */
  .services-grid,
  .why-grid,
  .industries-grid,
  .projects-grid,
  .insights-grid { grid-template-columns: 1fr; }

  /* Steps */
  .steps-line { display: none; }
  .steps-grid { grid-template-columns: 1fr 1fr; gap: 32px; }

  /* Featured project */
  .fp-slide { padding: 40px 28px; min-height: 300px; }
  .fp-content h2 { font-size: 22px; }
  .fp-meta { gap: 10px; }

  /* Projects */
  .projects-header { flex-direction: column; }
  .projects-stats { gap: 20px; }

  /* Testimonials */
  .testimonials-wrapper { flex-direction: column; gap: 24px; }
  .testimonials-nav-list { flex-direction: row; }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }

  /* Gallery */
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gi-tall { grid-row: span 1; }
  .gi-wide { grid-column: span 1; }


}

@media (max-width: 480px) {
  .nav-link::after {background: none;}
  .steps-grid { grid-template-columns: 1fr; }
  .hero-btn { width: 100%; justify-content: center; }
  .cta-inner h2 { font-size: 28px; }
  .gallery-grid { grid-template-columns: 1fr; }
}

/* =============================================
   SERVICES DROPDOWN
   ============================================= */
.nav-item-dropdown {
  position: relative;
}

.nav-link-services {
  display: flex;
  align-items: center;
  gap: 5px;
}

.dropdown-chevron {
  transition: transform var(--transition);
  flex-shrink: 0;
}

.nav-item-dropdown:hover .dropdown-chevron {
  transform: rotate(180deg);
}

.services-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  width: 560px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 48px rgba(47,36,131,0.16), 0 2px 12px rgba(0,0,0,0.08);
  border: 1px solid var(--border);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
  z-index: 2000;
  padding-top: 18px;
}

.services-dropdown::before {
  content: '';
  position: absolute;
  top: 11px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 14px;
  height: 14px;
  background: #fff;
  border-left: 1px solid var(--border);
  border-top: 1px solid var(--border);
  z-index: 1;
}

.services-dropdown::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 18px;
  background: transparent;
}

.nav-item-dropdown:hover .services-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.dropdown-inner {
  padding: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}

.dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 10px;
  color: var(--text);
  transition: background var(--transition), color var(--transition);
  text-decoration: none;
}

.dropdown-item:hover {
  background: var(--primary-pale);
}

.dropdown-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: background var(--transition), border-color var(--transition);
}

.dropdown-item:hover .dropdown-icon {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.dropdown-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.dropdown-text strong {
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  font-family: 'Poppins', sans-serif;
  line-height: 1.3;
}

.dropdown-text span {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.45;
}

.dropdown-item:hover .dropdown-text strong {
  color: var(--primary);
}

@media (max-width: 768px) {
  .nav-link::after {background: none;}

  .services-dropdown { display: none; }
  .dropdown-chevron { display: none; }
  .nav-link-services { display: block; }
}



/* =============================================
   OUR PRODUCTS
   ============================================= */
.products-section {
  background: #fff;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(47,36,131,0.25);
}

.product-image {
  height: 240px;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.08);
}

.product-content {
  padding: 24px;
}

.product-tag {
  display: inline-block;
  background: var(--primary-pale);
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 99px;
  margin-bottom: 14px;
}

.product-content h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--dark);
}

.product-content p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.product-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  transition: gap var(--transition);
}

.product-link:hover {
  gap: 12px;
}

/* Responsive */
@media (max-width: 992px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin-top: 40px;
  padding: 20px 0;
  background-color: #333;   /* black background */
}

.footer-bottom-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom-inner p {
  margin: 0;
  font-size: 0.875rem;
  color: #aaaaaa;
  white-space: nowrap;
}

.designed-by {
  color: #aaaaaa;
}

/* ===== CHAT WIDGET ===== */
.chat-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  font-family: 'Segoe UI', sans-serif;
}

.chat-toggle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.45);
  transition: all 0.3s ease;
  position: relative;
}

.chat-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.chat-toggle .close-icon { display: none; }
.chat-toggle.active .chat-icon { display: none; }
.chat-toggle.active .close-icon { display: block; }

/* Chat Box */
.chat-box {
  position: absolute;
  bottom: 75px;
  right: 0;
  width: 340px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  overflow: hidden;
  display: none;
  flex-direction: column;
  animation: slideUp 0.3s ease;
}

.chat-box.open {
  display: flex;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Header */
.chat-header {
  background: #25d366;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-header-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
  font-size: 0.85rem;
}

.chat-name {
  margin: 0;
  color: white;
  font-weight: 600;
  font-size: 0.95rem;
}

.chat-status {
  margin: 0;
  color: rgba(255,255,255,0.85);
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  gap: 4px;
}

.status-dot {
  width: 7px;
  height: 7px;
  background: white;
  border-radius: 50%;
  display: inline-block;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.chat-close-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
}

/* Messages */
.chat-messages {
  padding: 16px;
  height: 300px;
  overflow-y: auto;
  background: #f0f0f0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.chat-date-label {
  text-align: center;
  font-size: 0.72rem;
  color: #999;
  margin-bottom: 4px;
}

.msg {
  max-width: 80%;
  padding: 9px 13px;
  border-radius: 12px;
  font-size: 0.85rem;
  line-height: 1.4;
  position: relative;
}

.msg p { margin: 0 0 4px 0; }

.msg-time {
  font-size: 0.68rem;
  color: #999;
  display: block;
  text-align: right;
}

.bot-msg {
  background: #fff;
  border-radius: 0 12px 12px 12px;
  align-self: flex-start;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.user-msg {
  background: #dcf8c6;
  border-radius: 12px 0 12px 12px;
  align-self: flex-end;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

/* Quick Replies */
.quick-replies {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 4px;
}

.quick-replies button {
  background: #fff;
  border: 1.5px solid #25d366;
  color: #25d366;
  padding: 7px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
  font-weight: 500;
}

.quick-replies button:hover {
  background: #25d366;
  color: #fff;
}

/* Input */
.chat-input-area {
  display: flex;
  align-items: center;
  padding: 10px 12px;
  border-top: 1px solid #eee;
  gap: 8px;
  background: #fff;
}

.chat-input-area input {
  flex: 1;
  border: 1.5px solid #e0e0e0;
  border-radius: 20px;
  padding: 8px 14px;
  font-size: 0.85rem;
  outline: none;
  transition: border 0.2s;
}

.chat-input-area input:focus {
  border-color: #25d366;
}

.send-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #25d366;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  flex-shrink: 0;
}

.send-btn:hover { background: #20ba5a; }



/* ===== TYPING INDICATOR ===== */
.typing-indicator {
  display: flex !important;
  align-items: center;
  gap: 5px;
  padding: 12px 16px !important;
}

.typing-indicator span {
  width: 8px;
  height: 8px;
  background: #25d366;
  border-radius: 50%;
  display: inline-block;
  animation: typingBounce 1.2s infinite ease-in-out;
}

.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-6px); }
}

/* ===== CHAT WIDGET ===== */
.chat-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 99999;
  font-family: 'Segoe UI', sans-serif;
}

.chat-toggle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.45);
  transition: all 0.3s ease;
}

.chat-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.chat-toggle .close-icon { display: none; }
.chat-toggle.active .chat-icon { display: none; }
.chat-toggle.active .close-icon { display: block; }

.chat-box {
  display: none;
  flex-direction: column;
  position: absolute;
  bottom: 75px;
  right: 0;
  width: 340px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  overflow: hidden;
  z-index: 99999;
  animation: slideUp 0.3s ease;
}

.chat-box.open {
  display: flex !important;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.chat-header {
  background: #25d366;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-header-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
  font-size: 0.85rem;
}

.chat-name {
  margin: 0;
  color: white;
  font-weight: 600;
  font-size: 0.95rem;
}

.chat-status {
  margin: 0;
  color: rgba(255,255,255,0.85);
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  gap: 4px;
}

.status-dot {
  width: 7px;
  height: 7px;
  background: white;
  border-radius: 50%;
  display: inline-block;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.chat-close-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
}

.chat-messages {
  padding: 16px;
  height: 300px;
  overflow-y: auto;
  background: #f0f0f0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.chat-date-label {
  text-align: center;
  font-size: 0.72rem;
  color: #999;
  margin-bottom: 4px;
}

.msg {
  max-width: 80%;
  padding: 9px 13px;
  border-radius: 12px;
  font-size: 0.85rem;
  line-height: 1.4;
}

.msg p { margin: 0 0 4px 0; }

.msg-time {
  font-size: 0.68rem;
  color: #999;
  display: block;
  text-align: right;
}

.bot-msg {
  background: #fff;
  border-radius: 0 12px 12px 12px;
  align-self: flex-start;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.user-msg {
  background: #dcf8c6;
  border-radius: 12px 0 12px 12px;
  align-self: flex-end;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.quick-replies {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 4px;
}

.quick-replies button {
  background: #fff;
  border: 1.5px solid #25d366;
  color: #25d366;
  padding: 7px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
  font-weight: 500;
}

.quick-replies button:hover {
  background: #25d366;
  color: #fff;
}

.chat-input-area {
  display: flex;
  align-items: center;
  padding: 10px 12px;
  border-top: 1px solid #eee;
  gap: 8px;
  background: #fff;
}

.chat-input-area input {
  flex: 1;
  border: 1.5px solid #e0e0e0;
  border-radius: 20px;
  padding: 8px 14px;
  font-size: 0.85rem;
  outline: none;
  transition: border 0.2s;
}

.chat-input-area input:focus {
  border-color: #25d366;
}

.send-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #25d366;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  flex-shrink: 0;
}

.send-btn:hover { background: #20ba5a; }