/* ==========================================================================
   شرکت دانش‌بنیان داده‌ورز پیوند | سامانه طراحی سازمانی (طرح همکاران سیستم)
   DadeVarz Peyvand Software Enterprise Design System (System Group Style)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
  /* DadeVarz Peyvand Signature Corporate Palette (Blue & Orange) */
  --peyvand-blue: #0265dc;
  --peyvand-blue-hover: #004ea8;
  --peyvand-blue-dark: #0a3272;
  --peyvand-blue-deep: #0f2b5c;
  --peyvand-blue-light: #eff6ff;
  --peyvand-blue-subtle: #dbeafe;
  --peyvand-blue-glow: rgba(2, 101, 220, 0.16);

  --peyvand-orange: #f26522;
  --peyvand-orange-hover: #d94f0d;
  --peyvand-orange-light: #fff7ed;
  --peyvand-orange-subtle: #ffedd5;
  --peyvand-orange-glow: rgba(242, 101, 34, 0.22);

  --primary: var(--peyvand-blue);
  --primary-hover: var(--peyvand-blue-hover);
  --primary-light: var(--peyvand-blue-light);
  --primary-glow: var(--peyvand-blue-glow);

  --secondary: var(--peyvand-orange);
  --secondary-hover: var(--peyvand-orange-hover);
  --secondary-light: var(--peyvand-orange-light);
  --secondary-glow: var(--peyvand-orange-glow);

  /* Legacy & Semantic Aliases Mapped to Blue & Orange */
  --sg-red: var(--peyvand-blue);
  --sg-red-hover: var(--peyvand-blue-hover);
  --sg-red-light: var(--peyvand-blue-light);
  --sg-red-glow: var(--peyvand-blue-glow);

  --corporate-navy: #0f172a;
  --corporate-blue: var(--peyvand-blue);
  --corporate-blue-light: var(--peyvand-blue-light);

  /* Surfaces & Backgrounds */
  --bg-body: #ffffff;
  --bg-surface: #ffffff;
  --bg-subtle: #f8fafc;
  --bg-muted: #f1f5f9;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --bg-input: #ffffff;
  --bg-dark-section: #0f2b5c;
  --bg-dark-card: #1e293b;

  /* Typography Colors */
  --text-main: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --text-white: #ffffff;
  --text-blue: var(--peyvand-blue);
  --text-orange: var(--peyvand-orange);
  --text-red: var(--peyvand-orange);

  /* Borders & Dividers */
  --border-light: #e2e8f0;
  --border-muted: #cbd5e1;
  --border-focus: var(--peyvand-blue);

  /* Accent Colors */
  --accent-cyan: #0284c7;
  --accent-emerald: #059669;
  --accent-emerald-light: #ecfdf5;
  --accent-amber: #d97706;
  --accent-orange: var(--peyvand-orange);

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -1px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 10px 25px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -2px rgba(15, 23, 42, 0.03);
  --shadow-xl: 0 20px 30px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -4px rgba(15, 23, 42, 0.04);
  --shadow-blue: 0 10px 20px -3px rgba(2, 101, 220, 0.28);
  --shadow-orange: 0 10px 20px -3px rgba(242, 101, 34, 0.28);
  --shadow-red: var(--shadow-blue);
  --shadow-card-hover: 0 14px 28px rgba(15, 23, 42, 0.09), 0 8px 10px rgba(15, 23, 42, 0.04);

  /* Radius */
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Typography */
  --font-sans: 'Vazirmatn', -apple-system, BlinkMacSystemFont, 'Segoe UI', Tahoma, Arial, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Container Widths */
  --container-max: 1240px;
  --container-wide: 1360px;

  /* Transitions */
  --transition-fast: 0.18s ease-in-out;
  --transition-smooth: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  scroll-behavior: smooth;
  direction: rtl;
  text-align: right;
  -webkit-text-size-adjust: 100%;
  color: var(--text-body);
  background-color: var(--bg-body);
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-body);
  color: var(--text-body);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
}

ul, ol {
  list-style: none;
}

input, textarea, select {
  font-family: inherit;
}

/* ==========================================================================
   Typography
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.35;
}

.text-red { color: var(--sg-red) !important; }
.text-muted { color: var(--text-muted) !important; }
.text-white { color: #ffffff !important; }

/* ==========================================================================
   Container & Layout
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.container-wide {
  width: 100%;
  max-width: var(--container-wide);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* ==========================================================================
   Top Utility Bar (System Group Style)
   ========================================================================== */
.top-bar {
  background-color: var(--peyvand-blue-deep);
  color: #e2e8f0;
  font-size: 0.82rem;
  padding: 0.45rem 0;
  border-bottom: 2px solid var(--peyvand-orange);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.top-bar-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #cbd5e1;
  font-weight: 400;
  transition: color var(--transition-fast);
}

.top-bar-link:hover {
  color: #ffffff;
}

.top-bar-contact {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.top-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #f8fafc;
  font-weight: 600;
  direction: ltr;
}

.top-portal-pill {
  background-color: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  padding: 0.2rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: background-color var(--transition-fast);
}

.top-portal-pill:hover {
  background-color: var(--sg-red);
  color: #ffffff;
}

/* ==========================================================================
   Main Header & Navigation (System Group Style)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-fast);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
}

/* Brand Logo */
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.nav-brand-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.nav-brand-title {
  display: flex;
  flex-direction: column;
}

.nav-brand-name {
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--corporate-navy);
  line-height: 1.2;
}

.nav-brand-desc {
  font-size: 0.74rem;
  color: var(--text-muted);
  font-weight: 500;
}

.nav-badge-bonyan {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background-color: var(--accent-emerald-light);
  color: var(--accent-emerald);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(5, 150, 105, 0.2);
}

/* Desktop Navigation Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.6rem 0.9rem;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--text-main);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--sg-red);
  background-color: var(--sg-red-light);
}

.nav-link svg.chevron {
  transition: transform var(--transition-fast);
}

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

/* Mega Menu / Dropdown (System Group Style) */
.mega-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-light);
  padding: 1.5rem;
  min-width: 680px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1100;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.nav-item:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-menu-col-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding-bottom: 0.6rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mega-menu-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mega-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.6rem;
  border-radius: var(--radius-sm);
  transition: background-color var(--transition-fast);
}

.mega-item:hover {
  background-color: var(--bg-subtle);
}

.mega-item-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background-color: var(--sg-red-light);
  color: var(--sg-red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mega-item-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
  margin-bottom: 0.2rem;
}

.mega-item:hover .mega-item-title {
  color: var(--sg-red);
}

.mega-item-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.92rem;
  font-weight: 700;
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-smooth);
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--sg-red);
  color: #ffffff;
  border: 1px solid var(--sg-red);
  box-shadow: 0 4px 14px rgba(2, 101, 220, 0.28);
}

.btn-primary:hover {
  background-color: var(--sg-red-hover);
  border-color: var(--sg-red-hover);
  box-shadow: 0 6px 18px rgba(2, 101, 220, 0.38);
  transform: translateY(-1px);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-muted);
}

.btn-outline:hover {
  background-color: var(--bg-subtle);
  border-color: var(--text-main);
  color: var(--text-main);
}

.btn-white {
  background-color: #ffffff;
  color: var(--sg-red);
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

.btn-white:hover {
  background-color: var(--bg-subtle);
  color: var(--sg-red-hover);
  transform: translateY(-1px);
}

.btn-sm {
  padding: 0.45rem 0.95rem;
  font-size: 0.84rem;
}

.btn-lg {
  padding: 0.85rem 1.85rem;
  font-size: 1.05rem;
}

.btn-mobile-toggle {
  display: none;
  padding: 0.5rem;
  color: var(--text-main);
}

/* ==========================================================================
   Hero Section (System Group Style)
   ========================================================================== */
.hero-section {
  position: relative;
  background: linear-gradient(160deg, #f0f7ff 0%, #ffffff 50%, #fff7ed 100%);
  padding: 4.5rem 0 4rem;
  border-bottom: 1px solid var(--border-light);
  overflow: hidden;
}

.hero-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(rgba(2, 101, 220, 0.06) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  opacity: 0.7;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--sg-red-light);
  color: var(--sg-red);
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  font-weight: 700;
  border: 1px solid rgba(2, 101, 220, 0.22);
  margin-bottom: 1.25rem;
}

.hero-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--sg-red);
  box-shadow: 0 0 0 4px rgba(2, 101, 220, 0.22);
}

.hero-title {
  font-size: 2.85rem;
  font-weight: 900;
  line-height: 1.28;
  color: var(--corporate-navy);
  margin-bottom: 1.25rem;
  letter-spacing: -0.5px;
}

.hero-title span.highlight {
  color: var(--sg-red);
  position: relative;
  display: inline-block;
}

.hero-subtitle {
  font-size: 1.12rem;
  color: var(--text-body);
  line-height: 1.85;
  margin-bottom: 2rem;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-trust-notes {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-muted);
}

.hero-trust-item svg {
  color: var(--accent-emerald);
  flex-shrink: 0;
}

/* Hero Showcase Card / Visual */
.hero-visual-card {
  position: relative;
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-light);
}

.hero-browser-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.75rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border-light);
}

.browser-dots {
  display: flex;
  gap: 6px;
}

.browser-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot-red { background-color: #ef4444; }
.dot-yellow { background-color: #f59e0b; }
.dot-green { background-color: #10b981; }

.browser-url {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-muted);
  background-color: var(--bg-muted);
  padding: 0.2rem 0.8rem;
  border-radius: var(--radius-sm);
  direction: ltr;
}

.hero-card-img {
  width: 100%;
  height: 270px;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

/* Floating Stats Badges */
.floating-stat-badge {
  position: absolute;
  background-color: #ffffff;
  border-radius: var(--radius-md);
  padding: 0.75rem 1.1rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: float 4s ease-in-out infinite;
}

.floating-badge-1 {
  top: -15px;
  right: -20px;
}

.floating-badge-2 {
  bottom: -20px;
  left: -20px;
  animation-delay: 2s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.stat-badge-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background-color: var(--sg-red-light);
  color: var(--sg-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
}

.stat-badge-number {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--corporate-navy);
  line-height: 1.2;
}

.stat-badge-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ==========================================================================
   Trust Bar & Client Logos (System Group Style)
   ========================================================================== */
.trust-section {
  padding: 3rem 0;
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-light);
  text-align: center;
}

.trust-title {
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.trust-logos-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
  align-items: center;
}

.trust-logo-card {
  background-color: var(--bg-subtle);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  padding: 1rem 1.25rem;
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.trust-logo-card:hover {
  background-color: #ffffff;
  border-color: var(--sg-red);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.trust-logo-img {
  max-height: 48px;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.75;
  transition: all var(--transition-fast);
}

.trust-logo-card:hover .trust-logo-img {
  filter: grayscale(0%);
  opacity: 1;
}

/* ==========================================================================
   Section Headers (System Group Style)
   ========================================================================== */
.section {
  padding: 5.5rem 0;
}

.section-alt {
  background-color: var(--bg-subtle);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--sg-red);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--corporate-navy);
  line-height: 1.3;
  margin-bottom: 1rem;
}

.section-description {
  font-size: 1.05rem;
  color: var(--text-body);
  line-height: 1.8;
}

/* ==========================================================================
   Solutions Tabs (System Group Hallmark Feature)
   ========================================================================== */
.solutions-tabs-nav {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  border-bottom: 2px solid var(--border-light);
  padding-bottom: 0.5rem;
}

.sol-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.4rem;
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--text-body);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  position: relative;
}

.sol-tab-btn svg {
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.sol-tab-btn:hover {
  color: var(--sg-red);
  background-color: var(--sg-red-light);
}

.sol-tab-btn.active {
  color: var(--sg-red);
  background-color: #ffffff;
  box-shadow: var(--shadow-sm);
}

.sol-tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  right: 0;
  height: 3px;
  background-color: var(--sg-red);
  border-radius: 2px;
}

.sol-tab-btn.active svg {
  color: var(--sg-red);
}

.solution-tab-pane {
  display: none;
  animation: fadeIn 0.3s ease;
}

.solution-tab-pane.active {
  display: block;
}

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

.solution-card-body {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  padding: 3rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.solution-pill {
  display: inline-block;
  background-color: var(--corporate-blue-light);
  color: var(--corporate-blue);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.solution-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--corporate-navy);
  margin-bottom: 1rem;
}

.solution-text {
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.85;
  margin-bottom: 1.5rem;
}

.solution-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.solution-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
}

.solution-feature-item svg {
  color: var(--sg-red);
  flex-shrink: 0;
  margin-top: 3px;
}

.solution-visual {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
}

.solution-visual img {
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  margin-bottom: 1rem;
}

.solution-metric-box {
  background-color: #ffffff;
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-light);
  display: flex;
  justify-content: space-around;
  text-align: center;
}

.metric-item .val {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--sg-red);
}

.metric-item .lbl {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Product Cards Showcase (System Group Style)
   ========================================================================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.product-card {
  background-color: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background-color: var(--border-light);
  transition: background-color var(--transition-fast);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--border-muted);
}

.product-card:hover::before {
  background-color: var(--sg-red);
}

.product-card-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background-color: var(--sg-red-light);
  color: var(--sg-red);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.product-card-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--text-muted);
  background-color: var(--bg-muted);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.product-card-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--corporate-navy);
  margin-bottom: 0.75rem;
}

.product-card-desc {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.product-card-features {
  border-top: 1px solid var(--border-light);
  padding-top: 1.25rem;
  margin-bottom: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.product-feature-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.84rem;
  color: var(--text-main);
  font-weight: 500;
}

.product-feature-row svg {
  color: var(--accent-emerald);
  flex-shrink: 0;
}

.product-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.product-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--sg-red);
  font-weight: 700;
  font-size: 0.88rem;
}

.product-link-btn:hover {
  color: var(--sg-red-hover);
  gap: 0.55rem;
}

/* ==========================================================================
   Architecture & Engineering Advantage (Why DadeVarz Peyvand?)
   ========================================================================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

.why-card {
  background-color: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.why-card:hover {
  border-color: var(--sg-red);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.why-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background-color: var(--bg-subtle);
  color: var(--sg-red);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.why-title {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--corporate-navy);
  margin-bottom: 0.6rem;
}

.why-desc {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.75;
}

/* ==========================================================================
   Implementation Methodology (4-Step Roadmap)
   ========================================================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}

.step-card {
  background-color: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  padding: 2rem 1.5rem;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.step-number {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 2.2rem;
  font-weight: 900;
  color: #f1f5f9;
  font-family: var(--font-mono);
  line-height: 1;
}

.step-badge {
  display: inline-block;
  background-color: var(--sg-red-light);
  color: var(--sg-red);
  font-weight: 700;
  font-size: 0.74rem;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.step-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--corporate-navy);
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 1;
}

.step-desc {
  font-size: 0.86rem;
  color: var(--text-body);
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   CEO Quote & Engineering Philosophy
   ========================================================================== */
.quote-banner {
  background: linear-gradient(135deg, var(--peyvand-blue-deep) 0%, var(--peyvand-blue-dark) 60%, #1e293b 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
  box-shadow: var(--shadow-xl);
  border-right: 5px solid var(--peyvand-orange);
}

.quote-icon {
  color: var(--sg-red);
  margin-bottom: 1rem;
}

.quote-text {
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.85;
  color: #f8fafc;
  margin-bottom: 1.5rem;
}

.quote-author-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
}

.quote-author-role {
  font-size: 0.84rem;
  color: #94a3b8;
}

/* ==========================================================================
   Stats Banner (System Group Counter Style)
   ========================================================================== */
.stats-section {
  background-color: #ffffff;
  padding: 3.5rem 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item {
  padding: 1rem;
}

.stat-val {
  font-size: 3rem;
  font-weight: 900;
  color: var(--sg-red);
  line-height: 1.1;
  margin-bottom: 0.5rem;
  font-family: var(--font-sans);
}

.stat-lbl {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--corporate-navy);
  margin-bottom: 0.25rem;
}

.stat-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   CTA Banner (System Group Consultation Banner)
   ========================================================================== */
.cta-banner {
  background: linear-gradient(135deg, var(--peyvand-blue) 0%, var(--peyvand-orange) 100%);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-blue);
}

.cta-banner-content h2 {
  color: #ffffff;
  font-size: 2.1rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.cta-banner-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
  max-width: 650px;
  line-height: 1.7;
}

.cta-banner-actions {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}

/* ==========================================================================
   Footer (System Group Style)
   ========================================================================== */
.site-footer {
  background-color: #0a1e40;
  color: #94a3b8;
  padding-top: 4.5rem;
  border-top: 3px solid var(--peyvand-orange);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-col-title {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 24px;
  height: 2px;
  background-color: var(--sg-red);
}

.footer-desc {
  font-size: 0.88rem;
  line-height: 1.85;
  color: #94a3b8;
  margin-bottom: 1.5rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-link {
  font-size: 0.88rem;
  color: #94a3b8;
  transition: color var(--transition-fast), padding-right var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-link:hover {
  color: #ffffff;
  padding-right: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 0.85rem;
}

.footer-contact-item svg {
  color: var(--sg-red);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-contact-item a {
  color: #cbd5e1;
}

.footer-contact-item a:hover {
  color: #ffffff;
}

.footer-badges {
  display: flex;
  gap: 1rem;
  margin-top: 1.25rem;
  align-items: center;
}

.footer-badge-box {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-badge-img {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.footer-bottom {
  padding: 1.75rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: #64748b;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.social-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.06);
  color: #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.social-icon-btn:hover {
  background-color: var(--sg-red);
  color: #ffffff;
  transform: translateY(-2px);
}

/* ==========================================================================
   Modal: Demo & Consultation Request (System Group Interactive Form)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-smooth);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 580px;
  width: 100%;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-light);
  overflow: hidden;
  transform: scale(0.95);
  transition: transform var(--transition-smooth);
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

.modal-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--bg-subtle);
}

.modal-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--corporate-navy);
}

.modal-close-btn {
  color: var(--text-muted);
  padding: 0.35rem;
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast);
}

.modal-close-btn:hover {
  color: var(--sg-red);
}

.modal-body {
  padding: 2rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.92rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background-color: #ffffff;
  color: var(--text-main);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--sg-red);
  box-shadow: 0 0 0 3px var(--sg-red-glow);
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* Toast Alert */
.toast-alert {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  background-color: #0f172a;
  color: #ffffff;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 2500;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s ease;
  font-weight: 600;
  font-size: 0.92rem;
}

.toast-alert.show {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================================================
   Mobile Menu Drawer
   ========================================================================== */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100vh;
  background-color: #ffffff;
  z-index: 1500;
  box-shadow: var(--shadow-xl);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  transition: right var(--transition-smooth);
  overflow-y: auto;
}

.mobile-drawer.open {
  right: 0;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.25rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-light);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.mobile-nav-link {
  display: block;
  padding: 0.75rem 1rem;
  font-weight: 700;
  font-size: 0.96rem;
  color: var(--text-main);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.mobile-nav-link:hover, .mobile-nav-link.active {
  background-color: var(--sg-red-light);
  color: var(--sg-red);
}

.drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1400;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
}

.drawer-backdrop.open {
  opacity: 1;
  visibility: visible;
}

/* ==========================================================================
   Articles & Blog Showcase (System Group Insights Style)
   ========================================================================== */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.article-card {
  background-color: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--border-muted);
}

.article-thumb-wrapper {
  position: relative;
  height: 200px;
  overflow: hidden;
  background-color: var(--bg-muted);
}

.article-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.article-card:hover .article-thumb {
  transform: scale(1.04);
}

.article-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
}

.article-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.article-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.article-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--corporate-navy);
  line-height: 1.45;
  margin-bottom: 0.75rem;
  transition: color var(--transition-fast);
}

.article-card:hover .article-title {
  color: var(--sg-red);
}

.article-excerpt {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.article-readmore {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--sg-red);
  font-weight: 700;
  font-size: 0.86rem;
  margin-top: auto;
}

.article-readmore:hover {
  gap: 0.6rem;
  color: var(--sg-red-hover);
}

/* ==========================================================================
   FAQ Accordion (System Group Style)
   ========================================================================== */
.faq-accordion {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background-color: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.faq-item.open {
  border-color: var(--sg-red);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  text-align: right;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--corporate-navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  background-color: transparent;
  transition: color var(--transition-fast);
}

.faq-question:hover {
  color: var(--sg-red);
}

.faq-chevron {
  color: var(--text-muted);
  transition: transform var(--transition-fast), color var(--transition-fast);
  flex-shrink: 0;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  color: var(--sg-red);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
  padding: 0 1.5rem;
  color: var(--text-body);
  font-size: 0.94rem;
  line-height: 1.85;
}

.faq-item.open .faq-answer {
  padding-bottom: 1.5rem;
}

/* ==========================================================================
   Floating Widgets: Quick Contact & Back to Top
   ========================================================================== */
.floating-widgets {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
}

.btn-float-contact {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background-color: var(--sg-red);
  color: #ffffff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 24px rgba(2, 101, 220, 0.35);
  font-size: 0.88rem;
  font-weight: 700;
  transition: all var(--transition-smooth);
}

.btn-float-contact:hover {
  background-color: var(--sg-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(2, 101, 220, 0.45);
  color: #ffffff;
}

.btn-back-to-top {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #ffffff;
  color: var(--corporate-navy);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.8);
  transition: all var(--transition-fast);
}

.btn-back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.btn-back-to-top:hover {
  background-color: var(--corporate-navy);
  color: #ffffff;
  border-color: var(--corporate-navy);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1200px) {
  .hero-title { font-size: 2.35rem; }
  .trust-logos-grid { grid-template-columns: repeat(3, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 992px) {
  .nav-menu { display: none !important; }
  .btn-mobile-toggle { display: block !important; }
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .solution-card-body { grid-template-columns: 1fr; padding: 2rem; }
  .quote-banner { grid-template-columns: 1fr; padding: 2.5rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-banner { flex-direction: column; text-align: center; gap: 2rem; }
  .top-bar-inner { flex-direction: column; gap: 0.5rem; text-align: center; }
  .top-bar-contact { flex-wrap: wrap; justify-content: center; }
  .top-bar-links { justify-content: center; }
}

@media (max-width: 768px) {
  /* Prevent horizontal overflow on mobile screens */
  body, html {
    overflow-x: hidden !important;
    width: 100% !important;
  }
  
  .site-header {
    padding: 0.5rem 0;
  }

  .nav-brand {
    gap: 0.5rem;
  }

  .nav-brand-logo {
    height: 38px;
  }

  .nav-brand-name {
    font-size: 1.05rem;
  }

  .nav-brand-desc {
    font-size: 0.68rem;
  }

  .nav-badge-bonyan {
    display: none; /* Hide on small mobile to avoid header clutter */
  }

  .nav-actions .btn-primary {
    padding: 0.45rem 0.85rem;
    font-size: 0.8rem;
  }

  .hero-section {
    padding: 2.5rem 0 3rem;
  }

  .hero-title { 
    font-size: 1.65rem;
    line-height: 1.35;
    word-break: break-word;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-visual-card {
    padding: 0.85rem;
    margin: 0;
  }

  .hero-card-img {
    height: 200px;
  }

  .floating-stat-badge { 
    display: none !important; 
  }

  .trust-logos-grid { 
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }

  .trust-logo-card {
    padding: 0.85rem;
  }

  .products-grid { 
    grid-template-columns: 1fr; 
    gap: 1.5rem;
  }

  .why-grid { 
    grid-template-columns: 1fr; 
    gap: 1rem;
  }

  .steps-grid { 
    grid-template-columns: 1fr; 
  }

  .solution-features { 
    grid-template-columns: 1fr; 
  }

  .footer-top { 
    grid-template-columns: 1fr; 
    gap: 2rem;
  }

  .footer-bottom { 
    flex-direction: column; 
    gap: 1rem; 
    text-align: center; 
  }

  .form-grid-2 { 
    grid-template-columns: 1fr; 
    gap: 0.75rem;
  }

  /* Floating Quick Contact Widget */
  .floating-widgets {
    bottom: 1.25rem;
    right: 1.25rem;
    left: auto;
    z-index: 999;
  }

  .btn-float-contact span {
    display: none; /* Icon-only on mobile to prevent overlapping with content */
  }

  .btn-float-contact {
    padding: 0.75rem;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    justify-content: center;
  }

  .btn-back-to-top {
    width: 40px;
    height: 40px;
  }

  /* Modal responsiveness */
  .demo-modal-dialog {
    width: 95% !important;
    max-width: 95% !important;
    margin: 1rem auto;
    padding: 1.5rem 1.25rem !important;
  }

  /* Solutions page tabs */
  .solutions-tabs-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.5rem;
  }

  .sol-tab-btn {
    white-space: nowrap;
    flex-shrink: 0;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.45rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .trust-logos-grid {
    grid-template-columns: 1fr;
  }
}
