/* 
  BEAAT BAGHDAD - Official Environmental Solutions & Consulting
  Advanced Responsive Design System (Light & Dark, RTL & LTR)
*/

:root {
  /* Brand Color Tokens */
  --primary: #0284c7;
  --primary-hover: #0369a1;
  --primary-light: #e0f2fe;
  --primary-glow: rgba(2, 132, 199, 0.25);
  
  --secondary: #10b981;
  --secondary-hover: #059669;
  --secondary-light: #d1fae5;
  --secondary-glow: rgba(16, 185, 129, 0.25);

  --accent-teal: #0d9488;
  --accent-amber: #f59e0b;
  --accent-blue: #2563eb;
  
  /* Neutral Tokens - Light Mode */
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-glass: rgba(255, 255, 255, 0.85);
  --bg-alt: #f1f5f9;
  --bg-nav: rgba(255, 255, 255, 0.92);
  --bg-input: #ffffff;
  
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-sub: #64748b;
  --text-light: #94a3b8;
  
  --border-light: #e2e8f0;
  --border-card: rgba(226, 232, 240, 0.8);
  --border-focus: #0284c7;
  
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 25px -3px rgba(15, 23, 42, 0.08), 0 4px 10px -4px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 20px 35px -5px rgba(15, 23, 42, 0.12);
  --shadow-glow: 0 0 25px rgba(2, 132, 199, 0.2);

  /* Typography */
  --font-main: 'IBM Plex Sans Arabic', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Alexandria', 'IBM Plex Sans Arabic', sans-serif;
  --font-en: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-family: var(--font-main);

  /* Radii & Transitions */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Dark Mode Tokens */
[data-theme="dark"] {
  --bg-main: #090e17;
  --bg-card: #111a28;
  --bg-card-glass: rgba(17, 26, 40, 0.85);
  --bg-alt: #0d1522;
  --bg-nav: rgba(9, 14, 23, 0.92);
  --bg-input: #152233;
  
  --text-main: #f8fafc;
  --text-muted: #cbd5e1;
  --text-sub: #94a3b8;
  --text-light: #64748b;
  
  --border-light: #1e293b;
  --border-card: rgba(30, 41, 59, 0.9);
  --border-focus: #38bdf8;
  
  --primary-light: rgba(2, 132, 199, 0.15);
  --secondary-light: rgba(16, 185, 129, 0.15);
  
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.5);
  --shadow-xl: 0 20px 40px rgba(0,0,0,0.6);
  --shadow-glow: 0 0 30px rgba(2, 132, 199, 0.35);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.75;
  transition: background-color 0.3s ease, color 0.3s ease;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Headings Typography */
h1, h2, h3, h4, h5, h6, 
.section-title, 
.hero-title, 
.brand-title, 
.stat-num, 
.why-num, 
.service-title,
.pillar-content h3 {
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
}

/* LTR Styles when in English */
[dir="ltr"] {
  --font-family: var(--font-en);
  --font-heading: var(--font-en);
}

[lang="ku"] {
  --font-family: var(--font-main);
  --font-heading: var(--font-heading);
}

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

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

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

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

/* Utility Classes */
.text-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-blue {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  border: 1px solid rgba(2, 132, 199, 0.2);
}

[data-theme="dark"] .section-tag {
  color: #38bdf8;
}

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

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 16px;
  line-height: 1.3;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 26px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #0369a1 100%);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0369a1 0%, #075985 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(2, 132, 199, 0.45);
  color: #ffffff;
}

.btn-secondary {
  background: linear-gradient(135deg, var(--secondary) 0%, #059669 100%);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.35);
}

.btn-secondary:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.45);
  color: #ffffff;
}

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

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

.btn-white {
  background: #ffffff;
  color: #0f172a;
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  background: #f8fafc;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

/* Top Notification / Contact Bar */
.topbar {
  background: linear-gradient(90deg, #0f172a 0%, #1e293b 100%);
  color: #e2e8f0;
  font-size: 0.82rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.topbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.topbar-items {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #cbd5e1;
}

.topbar-item i {
  color: var(--secondary);
  font-size: 0.9rem;
}

.topbar-item a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.topbar-link {
  color: #38bdf8;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.topbar-link:hover {
  color: #ffffff;
}

/* Sticky Main Navigation */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-nav);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  padding: 12px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
  padding: 8px 0;
}

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

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

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

.brand-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
  letter-spacing: -0.3px;
}

[data-theme="dark"] .brand-title {
  color: #38bdf8;
}

.brand-subtitle {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-sub);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
  padding: 6px 2px;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
  border-radius: 2px;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.navbar-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Controls: Theme & Lang Selector */
.control-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-alt);
  color: var(--text-muted);
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.control-btn:hover {
  background: var(--primary-light);
  color: var(--primary);
  border-color: var(--primary);
}

.lang-dropdown {
  position: relative;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  background: var(--bg-alt);
  color: var(--text-main);
  border: 1px solid var(--border-light);
  font-weight: 600;
  font-size: 0.85rem;
}

.lang-menu {
  position: absolute;
  top: 115%;
  right: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  min-width: 140px;
  padding: 6px;
  display: none;
  flex-direction: column;
  gap: 4px;
  z-index: 100;
}

[dir="ltr"] .lang-menu {
  right: auto;
  left: 0;
}

.lang-menu.show {
  display: flex;
  animation: fadeInDown 0.2s ease-out;
}

.lang-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  width: 100%;
  text-align: right;
  transition: var(--transition);
}

[dir="ltr"] .lang-item {
  text-align: left;
}

.lang-item:hover, .lang-item.active {
  background: var(--primary-light);
  color: var(--primary);
}

.mobile-toggle {
  display: none;
  font-size: 1.4rem;
  color: var(--text-main);
}

/* HERO SECTION */
.hero {
  position: relative;
  padding: 80px 0 60px;
  overflow: hidden;
  background: radial-gradient(circle at 85% 20%, rgba(2, 132, 199, 0.08) 0%, transparent 50%),
              radial-gradient(circle at 15% 80%, rgba(16, 185, 129, 0.08) 0%, transparent 50%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 50px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: var(--secondary-light);
  color: var(--secondary-hover);
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 22px;
  border: 1px solid rgba(16, 185, 129, 0.3);
  animation: pulseLight 2.5s infinite;
}

[data-theme="dark"] .hero-badge {
  color: #34d399;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 22px;
  letter-spacing: -0.5px;
}

.hero-title span.highlight {
  color: var(--primary);
  display: block;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 35px;
  max-width: 580px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 45px;
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding-top: 25px;
  border-top: 1px solid var(--border-light);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 4px;
}

[data-theme="dark"] .stat-num {
  color: #38bdf8;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-sub);
  font-weight: 600;
}

/* Hero Visual / Media Frame */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-card-stack {
  position: relative;
  width: 100%;
  max-width: 480px;
  border-radius: var(--radius-xl);
  padding: 16px;
  background: var(--bg-card-glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-xl);
}

.hero-main-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.hero-floating-card {
  position: absolute;
  padding: 14px 18px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 5;
  animation: floatSlow 4s ease-in-out infinite alternate;
}

.floating-card-1 {
  bottom: -20px;
  right: -20px;
}

[dir="ltr"] .floating-card-1 {
  right: auto;
  left: -20px;
}

.floating-card-2 {
  top: -20px;
  left: -20px;
}

[dir="ltr"] .floating-card-2 {
  left: auto;
  right: -20px;
}

.floating-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--secondary-light);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.floating-text h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
}

.floating-text p {
  font-size: 0.75rem;
  color: var(--text-sub);
}

/* PILLARS BAR SECTION */
.pillars-section {
  padding: 30px 0;
  position: relative;
  margin-top: -20px;
  z-index: 10;
}

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

.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  padding: 24px 20px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: var(--transition);
}

.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.pillar-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.pillar-icon-1 { background: var(--secondary-light); color: var(--secondary); }
.pillar-icon-2 { background: var(--primary-light); color: var(--primary); }
.pillar-icon-3 { background: #fef3c7; color: #d97706; }
.pillar-icon-4 { background: #ede9fe; color: #7c3aed; }

.pillar-content h3 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--text-main);
}

.pillar-content p {
  font-size: 0.82rem;
  color: var(--text-sub);
  line-height: 1.45;
}

/* ABOUT SECTION */
.about-section {
  padding: 90px 0;
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 60px;
}

.about-media {
  position: relative;
}

.about-img-box {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-card);
}

.about-img-box img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.about-exp-badge {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: var(--bg-card-glass);
  backdrop-filter: blur(10px);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 280px;
}

[dir="ltr"] .about-exp-badge {
  right: auto;
  left: 24px;
}

.about-exp-badge i {
  font-size: 2rem;
  color: var(--secondary);
}

.about-exp-badge span {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.35;
}

.about-text .section-title {
  text-align: right;
  margin-bottom: 20px;
}

[dir="ltr"] .about-text .section-title {
  text-align: left;
}

.about-paragraph {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.75;
}

.vision-mission-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 30px 0;
}

.vm-card {
  background: var(--bg-card);
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.vm-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.vm-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.vm-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.vm-icon-vision { background: var(--primary-light); color: var(--primary); }
.vm-icon-mission { background: var(--secondary-light); color: var(--secondary); }

.vm-header h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
}

.vm-card p {
  font-size: 0.88rem;
  color: var(--text-sub);
  line-height: 1.6;
}

/* WHY US SECTION */
.why-section {
  padding: 90px 0;
  background: var(--bg-alt);
  position: relative;
}

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

.why-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  opacity: 0;
  transition: var(--transition);
}

.why-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(2, 132, 199, 0.3);
}

.why-card:hover::before {
  opacity: 1;
}

.why-num {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--primary-light);
  line-height: 1;
  margin-bottom: 12px;
}

[data-theme="dark"] .why-num {
  color: rgba(56, 189, 248, 0.2);
}

.why-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 18px;
}

.why-card:nth-child(even) .why-icon {
  background: var(--secondary-light);
  color: var(--secondary);
}

.why-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 10px;
}

.why-card p {
  font-size: 0.9rem;
  color: var(--text-sub);
  line-height: 1.6;
}

/* SERVICES SECTION */
.services-section {
  padding: 90px 0;
  position: relative;
}

.filter-tabs {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 10px 22px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.9rem;
  transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
}

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

.service-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-card);
  padding: 30px;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary);
}

.service-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.service-icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: var(--shadow-sm);
}

.service-card:nth-child(2n) .service-icon-wrap {
  background: var(--secondary-light);
  color: var(--secondary);
}

.service-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: var(--bg-alt);
  color: var(--text-sub);
}

.service-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 6px;
}

.service-en-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}

.service-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-features {
  list-style: none;
  margin-bottom: 24px;
  border-top: 1px dashed var(--border-light);
  padding-top: 16px;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--text-sub);
  margin-bottom: 8px;
}

.service-features li i {
  color: var(--secondary);
  font-size: 0.85rem;
}

.service-card-footer {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* INDUSTRIES WE SERVE SECTION */
.industries-section {
  padding: 90px 0;
  background: var(--bg-alt);
  position: relative;
}

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

.industry-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 26px;
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.industry-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--secondary);
}

.industry-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: var(--secondary-light);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.industry-card:nth-child(odd) .industry-icon {
  background: var(--primary-light);
  color: var(--primary);
}

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

.industry-info p {
  font-size: 0.85rem;
  color: var(--text-sub);
  line-height: 1.55;
}

/* INTERACTIVE COMPLIANCE CALCULATOR */
.calc-section {
  padding: 90px 0;
  background: radial-gradient(circle at 50% 50%, rgba(2, 132, 199, 0.06) 0%, transparent 60%);
}

.calc-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-xl);
  max-width: 950px;
  margin: 0 auto;
}

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

.calc-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.calc-field label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
}

.calc-select {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-input);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition);
}

.calc-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.calc-btn-wrap {
  text-align: center;
  margin-bottom: 25px;
}

.calc-results-box {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  padding: 25px;
  border: 1px solid var(--border-light);
  display: none;
  animation: fadeIn 0.3s ease-out;
}

.calc-results-box.show {
  display: block;
}

.calc-results-header {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 16px;
}

.calc-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.calc-tag-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.85rem;
}

/* BROCHURE DOWNLOAD SECTION */
.brochure-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.brochure-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../assets/images/hero_skyline.png') no-repeat center right / cover;
  opacity: 0.12;
}

.brochure-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 50px;
}

.brochure-text .section-tag {
  background: rgba(56, 189, 248, 0.2);
  color: #38bdf8;
  border-color: rgba(56, 189, 248, 0.4);
}

.brochure-text .section-title {
  color: #ffffff;
  text-align: right;
}

[dir="ltr"] .brochure-text .section-title {
  text-align: left;
}

.brochure-text p {
  color: #cbd5e1;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 30px;
}

.brochure-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.brochure-preview-card {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 15px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  transition: var(--transition);
}

.brochure-preview-card:hover {
  transform: scale(1.02);
  border-color: #38bdf8;
}

.brochure-img {
  width: 100%;
  border-radius: var(--radius-md);
}

/* FAQ SECTION */
.faq-section {
  padding: 90px 0;
}

.faq-accordion {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
  text-align: right;
}

[dir="ltr"] .faq-question {
  text-align: left;
}

.faq-question i {
  font-size: 0.9rem;
  color: var(--primary);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  background: var(--bg-alt);
}

.faq-answer-inner {
  padding: 16px 24px 22px;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* CONTACT SECTION */
.contact-section {
  padding: 90px 0;
  background: var(--bg-alt);
  position: relative;
}

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

.contact-info-card {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: 36px;
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 25px 0;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-info-text label {
  display: block;
  font-size: 0.78rem;
  color: var(--text-sub);
  font-weight: 700;
  text-transform: uppercase;
}

.contact-info-text p, .contact-info-text a {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
}

.contact-info-text a:hover {
  color: var(--primary);
}

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

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full {
  grid-column: span 2;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-input);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

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

.form-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 10px;
}

.form-alert {
  padding: 12px 16px;
  border-radius: var(--radius-md);
  margin-bottom: 18px;
  font-size: 0.88rem;
  font-weight: 600;
  display: none;
}

.form-alert.success {
  background: var(--secondary-light);
  color: var(--secondary-hover);
  border: 1px solid rgba(16, 185, 129, 0.3);
  display: block;
}

/* FOOTER */
.footer {
  background: #090e17;
  color: #94a3b8;
  padding: 70px 0 25px;
  border-top: 1px solid #1e293b;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 1fr 1.1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand .brand-logo-img {
  height: 60px;
  margin-bottom: 18px;
}

.footer-brand .brand-title {
  color: #38bdf8;
}

.footer-desc {
  font-size: 0.88rem;
  line-height: 1.7;
  color: #94a3b8;
  margin-top: 12px;
}

.footer-social-links {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}

.footer-social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #1e293b;
  color: #cbd5e1;
  font-size: 0.95rem;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-social-links a:hover {
  background: var(--primary);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.3);
}

.footer-col h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 35px;
  height: 2px;
  background: var(--secondary);
}

[dir="ltr"] .footer-col h4::after {
  right: auto;
  left: 0;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.88rem;
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-links a:hover {
  color: #38bdf8;
  transform: translateX(-4px);
}

[dir="ltr"] .footer-links a:hover {
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.88rem;
  color: #cbd5e1;
}

.footer-contact-item i {
  color: var(--secondary);
  font-size: 1rem;
  margin-top: 4px;
}

.footer-bottom {
  padding-top: 25px;
  border-top: 1px solid #1e293b;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 0.82rem;
  color: #64748b;
}

/* FLOATING WIDGETS */
.floating-whatsapp {
  position: fixed;
  bottom: 25px;
  left: 25px;
  z-index: 999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
  transition: var(--transition-bounce);
}

[dir="ltr"] .floating-whatsapp {
  left: auto;
  right: 25px;
}

.floating-whatsapp:hover {
  transform: scale(1.1) rotate(10deg);
  color: #ffffff;
}

.back-to-top {
  position: fixed;
  bottom: 90px;
  left: 30px;
  z-index: 998;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

[dir="ltr"] .back-to-top {
  left: auto;
  right: 30px;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

/* MODAL SYSTEM */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.show {
  display: flex;
  animation: fadeIn 0.25s ease-out;
}

.modal-box {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  max-width: 650px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px;
  position: relative;
  box-shadow: var(--shadow-xl);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-alt);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

[dir="ltr"] .modal-close-btn {
  left: auto;
  right: 20px;
}

.modal-close-btn:hover {
  background: #fee2e2;
  color: #ef4444;
}

/* ANIMATIONS */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes floatSlow {
  0% { transform: translateY(0); }
  100% { transform: translateY(-12px); }
}

@keyframes pulseLight {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 1024px) {
  .hero-grid, .about-grid, .brochure-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .services-grid, .why-grid, .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-visual {
    order: -1;
  }
}

@media (max-width: 768px) {
  .topbar {
    display: none;
  }
  .navbar-menu {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 280px;
    height: calc(100vh - 70px);
    background: var(--bg-card);
    border-left: 1px solid var(--border-light);
    flex-direction: column;
    padding: 30px 20px;
    box-shadow: var(--shadow-xl);
    transition: right 0.3s ease;
    align-items: flex-start;
    overflow-y: auto;
  }
  [dir="ltr"] .navbar-menu {
    right: auto;
    left: -100%;
    border-left: none;
    border-right: 1px solid var(--border-light);
    transition: left 0.3s ease;
  }
  .navbar-menu.open {
    right: 0;
  }
  [dir="ltr"] .navbar-menu.open {
    left: 0;
  }
  .mobile-toggle {
    display: block;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .services-grid, .why-grid, .industries-grid, .pillars-grid, .calc-grid, .vision-mission-cards {
    grid-template-columns: 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-group.full {
    grid-column: span 1;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .calc-wrapper {
    padding: 24px 16px;
  }
}
