/* ==========================================================================
   Aasaa Smart Home & BMS Systems - Complete Master CSS Design System
   Website: aasaa.ir | Language: Persian (Farsi) RTL
   ========================================================================== */

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

/* Local Font Fallbacks from Theme */
@font-face {
  font-family: 'BYekan';
  src: url('../fonts/BYekan.eot?#') format('embedded-opentype'),
       url('../fonts/BYekan.woff') format('woff'),
       url('../fonts/BYekan.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'BMitra';
  src: url('../fonts/BMitra.eot?#') format('embedded-opentype'),
       url('../fonts/BMitra.woff') format('woff'),
       url('../fonts/BMitra.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

:root {
  /* Dark Mode Palette */
  --bg-body: #090E18;
  --bg-surface: #111A2E;
  --bg-card: #17243C;
  --bg-card-hover: #1F304E;
  --bg-glass: rgba(17, 26, 46, 0.94);
  
  --border-color: rgba(255, 255, 255, 0.12);
  --border-highlight: #00BFFF;
  
  --text-main: #FFFFFF;
  --text-muted: #CBD5E1;
  --text-subtle: #94A3B8;
  
  --primary-blue: #235C98;
  --primary-hover: #00BFFF;
  --accent-cyan: #00BFFF;
  --accent-emerald: #10B981;

  --gradient-topbar: linear-gradient(180deg, #111827 0%, #030712 100%);
  --gradient-primary: linear-gradient(135deg, #235C98 0%, #00BFFF 100%);
  --gradient-card: linear-gradient(180deg, #17243C 0%, #111A2E 100%);

  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 15px 30px rgba(0, 0, 0, 0.5);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;

  --transition-fast: 0.25s ease;
  --transition-normal: 0.35s ease;
}

/* Light Mode Palette & High-Contrast System */
[data-theme="light"] {
  --bg-body: #F1F5F9;
  --bg-surface: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-card-hover: #F8FAFC;
  --bg-glass: rgba(255, 255, 255, 0.96);
  
  --border-color: #CBD5E1;
  --border-highlight: #1E40AF;
  
  --text-main: #0F172A;
  --text-muted: #334155;
  --text-subtle: #475569;
  
  --primary-blue: #1E40AF;
  --primary-hover: #2563EB;
  --accent-cyan: #0284C7;
  --accent-emerald: #059669;

  --gradient-topbar: linear-gradient(180deg, #1E293B 0%, #0F172A 100%);
  --gradient-card: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
}

/* Light Mode Overrides for Perfect Legibility & High Contrast */
[data-theme="light"] body {
  background-color: #F1F5F9;
  color: #0F172A;
}

[data-theme="light"] h1, 
[data-theme="light"] h2, 
[data-theme="light"] h3, 
[data-theme="light"] h4, 
[data-theme="light"] h5, 
[data-theme="light"] h6,
[data-theme="light"] .section-title,
[data-theme="light"] .page-hero-title,
[data-theme="light"] .card-title,
[data-theme="light"] .solution-title,
[data-theme="light"] .article-title,
[data-theme="light"] .about-card-title,
[data-theme="light"] .article-header h1 {
  color: #0F172A !important;
}

[data-theme="light"] .section-title span,
[data-theme="light"] .page-hero-title span {
  color: #0284C7 !important;
}

[data-theme="light"] .btn-secondary {
  background: #FFFFFF !important;
  border: 2px solid #1E40AF !important;
  color: #1E40AF !important;
  box-shadow: 0 4px 14px rgba(30, 64, 175, 0.15) !important;
  font-weight: 800 !important;
}

[data-theme="light"] .btn-secondary:hover {
  background: #1E40AF !important;
  color: #FFFFFF !important;
  border-color: #1E40AF !important;
  box-shadow: 0 6px 20px rgba(30, 64, 175, 0.35) !important;
}

[data-theme="light"] .btn-primary {
  background: linear-gradient(135deg, #1E40AF 0%, #0284C7 100%) !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 16px rgba(30, 64, 175, 0.35) !important;
}

[data-theme="light"] .btn-primary:hover {
  box-shadow: 0 6px 22px rgba(30, 64, 175, 0.55) !important;
}

[data-theme="light"] .card, 
[data-theme="light"] .solution-card, 
[data-theme="light"] .article-card,
[data-theme="light"] .about-card,
[data-theme="light"] .calc-container,
[data-theme="light"] .info-card,
[data-theme="light"] .contact-form-box,
[data-theme="light"] .training-card,
[data-theme="light"] .article-content {
  background: #FFFFFF !important;
  border-color: #CBD5E1 !important;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08) !important;
}

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

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

body {
  font-family: 'Vazirmatn', 'BYekan', 'BMitra', system-ui, -apple-system, sans-serif;
  direction: rtl;
  text-align: right;
  background: var(--bg-body) url('../img/bg-patterns-1.png') repeat;
  color: var(--text-main);
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

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

a:hover {
  color: var(--accent-cyan);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Top Bar */
.top-bar {
  background: var(--gradient-topbar);
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
}

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

.top-bar-contact {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #E2E8F0;
  font-weight: 600;
}

.top-bar-contact a {
  color: #FFFFFF;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Main Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 3px solid var(--primary-blue);
  padding: 10px 0;
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-logo img {
  height: 44px;
  width: auto;
}

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

.brand-name {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--text-main);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.brand-sub {
  font-size: 0.72rem;
  color: var(--accent-cyan);
  font-weight: 800;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-main);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  position: relative;
  transition: all var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-cyan);
  background: rgba(255, 255, 255, 0.08);
}

[data-theme="light"] .nav-link:hover, [data-theme="light"] .nav-link.active {
  background: rgba(2, 132, 199, 0.1);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  right: 12px;
  left: 12px;
  height: 2.5px;
  background: var(--accent-cyan);
  opacity: 0;
  transition: opacity var(--transition-fast);
  border-radius: var(--radius-full);
}

.nav-link.active::after {
  opacity: 1;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.theme-btn {
  background: rgba(255, 255, 255, 0.15);
  border: 1.5px solid var(--border-color);
  color: var(--text-main);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.theme-btn:hover {
  background: var(--primary-blue);
  color: #FFF;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gradient-primary);
  color: #FFFFFF !important;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 0.95rem;
  box-shadow: 0 4px 14px rgba(0, 191, 255, 0.35);
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 191, 255, 0.55);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1.5px solid var(--border-color);
  color: var(--text-main) !important;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
}

.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.8rem;
  cursor: pointer;
}

/* Page Hero Header Section */
.page-hero {
  padding: 60px 0 40px 0;
  background: var(--bg-surface);
  border-bottom: 2px solid var(--border-color);
  text-align: center;
  position: relative;
  margin-bottom: 40px;
}

.page-hero-title {
  font-size: 2.75rem;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 12px;
}

.page-hero-title span {
  color: var(--accent-cyan);
}

.page-hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto;
  font-weight: 500;
}

/* Featured Banner Slider */
.hero-slider-section {
  padding: 30px 0;
  background: var(--bg-surface);
  border-bottom: 2px solid var(--border-color);
}

.slider-box {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #000;
  border: 2px solid var(--border-color);
}

.slider-slide {
  display: none;
  position: relative;
  height: 440px;
}

.slider-slide.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0.5; }
  to { opacity: 1; }
}

.slider-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 48px 36px 28px 36px;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.9) 100%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.slider-title {
  font-size: 2.25rem;
  font-weight: 900;
  color: #FFFFFF;
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.9);
}

.slider-desc {
  font-size: 1.1rem;
  color: #F1F5F9;
  max-width: 750px;
  margin-bottom: 20px;
  font-weight: 500;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.9);
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px;
  background: #090E18;
}

.slider-dot {
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.slider-dot:hover, .slider-dot.active {
  background: var(--primary-blue);
  color: #FFF;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 14px rgba(0, 191, 255, 0.6);
}

/* Callout Bar */
.callout-bar {
  background: var(--gradient-primary);
  padding: 28px 36px;
  margin: 36px 0;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.callout-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.callout-text h3 {
  font-size: 1.5rem;
  font-weight: 900;
  color: #FFFFFF;
  margin-bottom: 6px;
}

.callout-text p {
  font-size: 1rem;
  color: #F0F9FF;
  font-weight: 500;
}

/* Section Header */
.section-header {
  text-align: center;
  margin: 60px 0 40px 0;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--text-main);
  position: relative;
  display: inline-block;
  padding-bottom: 14px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
}

/* Grids & Solid High-Contrast Cards */
.products-grid, .articles-grid, .solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 40px;
}

.card, .solution-card, .article-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.card:hover, .solution-card:hover, .article-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-highlight);
  box-shadow: var(--shadow-lg);
}

.card-img-holder, .solution-icon, .article-img-wrap {
  height: 220px;
  background: #000;
  overflow: hidden;
  position: relative;
}

.card-img-holder img, .article-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card:hover .card-img-holder img, .article-card:hover .article-img-wrap img {
  transform: scale(1.08);
}

.card-body, .article-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-title, .solution-title, .article-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 12px;
  line-height: 1.5;
}

.card-desc, .solution-desc, .article-excerpt {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 24px;
  font-weight: 500;
  flex-grow: 1;
}

.card-footer, .article-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
  font-size: 0.9rem;
  font-weight: 700;
}

/* Contact Section & Form Styling Fix */
.contact-section {
  padding: 60px 0;
  margin-bottom: 60px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  box-shadow: var(--shadow-sm);
}

.info-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background: rgba(0, 191, 255, 0.15);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.info-details h4 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 6px;
}

.info-details p, .info-details a {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 600;
}

.contact-form-box {
  background: var(--bg-card);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-lg);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-label {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-main);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: rgba(9, 14, 24, 0.7);
  border: 1.5px solid var(--border-color);
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  outline: none;
  transition: all var(--transition-fast);
}

[data-theme="light"] .form-input,
[data-theme="light"] .form-select,
[data-theme="light"] .form-textarea {
  background: #FFFFFF;
  border-color: #CBD5E1;
  color: #0F172A;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(0, 191, 255, 0.25);
}

.form-textarea {
  resize: vertical;
  min-height: 110px;
}

/* BMS Training Section */
.bms-training {
  padding: 60px 0;
  background: var(--bg-surface);
  border-top: 2px solid var(--border-color);
  border-bottom: 2px solid var(--border-color);
  margin: 50px 0;
}

.training-card {
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 44px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  box-shadow: var(--shadow-lg);
}

.training-content h3 {
  font-size: 1.85rem;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 16px;
}

.training-content p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 28px;
  font-weight: 500;
}

.syllabus-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 32px;
}

.syllabus-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-main);
}

.training-badge-box {
  background: rgba(0, 0, 0, 0.3);
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-color);
  padding: 36px;
  text-align: center;
}

[data-theme="light"] .training-badge-box {
  background: #F8FAFC;
}

/* Filter Bar */
.product-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.tab-btn {
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1.5px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.tab-btn:hover, .tab-btn.active {
  background: var(--primary-blue);
  color: #FFFFFF;
  border-color: var(--accent-cyan);
  box-shadow: 0 4px 12px rgba(0, 191, 255, 0.4);
}

/* Search Bar */
.product-search-bar {
  max-width: 520px;
  margin: 0 auto 36px auto;
  position: relative;
}

.search-input {
  width: 100%;
  padding: 14px 20px 14px 48px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1.5px solid var(--border-color);
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition-fast);
}

.search-input:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(0, 191, 255, 0.25);
}

.search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-subtle);
}

/* Calculator Section */
.calc-container {
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 44px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  margin-bottom: 60px;
  box-shadow: var(--shadow-lg);
}

.range-slider {
  width: 100%;
  height: 10px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.2);
  outline: none;
  accent-color: var(--primary-blue);
  cursor: pointer;
}

.building-type-selector {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.type-btn {
  padding: 12px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  transition: all var(--transition-fast);
}

.type-btn.active {
  background: var(--primary-blue);
  border-color: var(--accent-cyan);
  color: #FFFFFF;
}

/* Single Article Reader */
.single-container {
  max-width: 960px;
  margin: 0 auto;
  padding: 40px 0 100px 0;
}

.article-header h1 {
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1.35;
  margin-bottom: 18px;
  color: var(--text-main);
}

/* Single Article Reader */
.single-container {
  max-width: 960px;
  margin: 0 auto;
  padding: 40px 0 100px 0;
}

.article-header h1 {
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1.35;
  margin-bottom: 18px;
  color: var(--text-main);
}

.article-content {
  font-size: 1.15rem;
  line-height: 2.15;
  color: var(--text-main);
  font-weight: 500;
  background: var(--bg-card);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 48px 44px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 40px;
}

.article-content p {
  margin-bottom: 20px;
}

.article-content h2, .article-content h3 {
  color: var(--accent-cyan);
  margin-top: 32px;
  margin-bottom: 16px;
  font-weight: 800;
}

/* About Page & Premium Card Spacing System */
.about-section {
  padding: 60px 0 80px 0;
  background: var(--bg-surface);
}

.about-content-wrap {
  max-width: 980px;
  margin: 0 auto;
}

.about-card {
  background: var(--gradient-card);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 48px 44px;
  margin-bottom: 36px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.about-card:hover {
  border-color: var(--border-highlight);
  box-shadow: 0 16px 36px rgba(0, 191, 255, 0.12);
}

.about-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 2px solid rgba(0, 191, 255, 0.2);
}

.about-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(0, 191, 255, 0.15);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.about-card-title {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--primary-hover);
  line-height: 1.4;
  margin: 0;
}

.about-card-body {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 2.15;
  text-align: justify;
}

.about-card-body p {
  margin-bottom: 18px;
}

.about-card-body p:last-child {
  margin-bottom: 0;
}

/* Stats Grid inside About */
.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.about-stat-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border-color);
  padding: 36px 24px;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.about-stat-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-cyan);
  box-shadow: var(--shadow-lg);
}

.about-stat-number {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--primary-hover);
  line-height: 1.2;
  margin-bottom: 10px;
}

.about-stat-label {
  font-size: 0.95rem;
  color: var(--text-subtle);
  font-weight: 600;
}

/* Footer */
.footer {
  background: #060B14;
  border-top: 4px solid var(--primary-blue);
  padding: 60px 0 24px 0;
  margin-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 44px;
}

.footer-widget h3 {
  font-size: 1.3rem;
  font-weight: 900;
  color: #FFFFFF;
  margin-bottom: 20px;
  border-bottom: 3px solid var(--primary-blue);
  padding-bottom: 8px;
  display: inline-block;
}

.footer-widget p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.85;
  font-weight: 500;
}

.small-footer {
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-subtle);
  font-weight: 600;
}

/* Responsive */
@media (max-width: 1024px) {
  .products-grid, .articles-grid, .solutions-grid { grid-template-columns: repeat(2, 1fr); }
  .calc-container, .training-card, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-surface);
    padding: 24px;
    border-bottom: 3px solid var(--primary-blue);
  }
  .mobile-nav-toggle { display: block; }
  .top-bar-container { flex-direction: column; gap: 8px; text-align: center; }
  .callout-container { flex-direction: column; gap: 16px; text-align: center; }
  .products-grid, .articles-grid, .solutions-grid { grid-template-columns: 1fr; }
}
