html,
body {
  overflow-x: hidden;
  position: relative;
  width: 100%;
}

:root {
  /* Professional Blue Color Palette - Enhanced */
  --color-primary: rgb(30, 58, 138);
  --color-primary-dark: rgb(0, 9, 71);
  --color-primary-light: rgb(30, 115, 190);
  --color-secondary: rgb(35, 68, 255);
  --color-accent: rgb(0, 0, 255);
  --color-accent-light: rgba(30, 58, 138, 0.8);
  
  /* Backgrounds */
  --color-bg: rgb(255, 255, 255);
  --color-surface: rgb(255, 255, 255);
  --color-bg-light: rgb(237, 243, 243);
  --color-bg-dark: rgb(40, 40, 40);
  --color-bg-darker: rgb(0, 0, 40);
  --color-bg-darkest: rgb(45, 46, 50);
  
  /* Text Colors */
  --color-text: rgb(0, 0, 0);
  --color-text-muted: rgb(122, 122, 122);
  --color-text-secondary: rgb(119, 119, 119);
  --color-text-light: rgb(172, 172, 172);
  --color-text-lighter: rgb(177, 177, 177);
  --color-text-lightest: rgb(194, 194, 194);
  --color-text-gray: rgb(153, 153, 153);
  
  /* Borders */
  --color-border: rgba(30, 58, 138, 0.1);

  /* Professional Gradients */
  --gradient-primary: linear-gradient(135deg, rgb(30, 58, 138) 0%, rgb(35, 68, 255) 100%);
  --gradient-accent: linear-gradient(135deg, rgb(30, 115, 190) 0%, rgb(35, 68, 255) 100%);
  --gradient-dark: linear-gradient(145deg, rgb(0, 9, 71) 0%, rgb(30, 58, 138) 100%);
  --gradient-overlay: linear-gradient(135deg, rgba(0, 9, 71, 0.95), rgba(30, 58, 138, 0.9));
  --gradient-glass: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.9));
  --gradient-dark-glass: linear-gradient(145deg, rgba(0, 9, 71, 0.98), rgba(30, 58, 138, 0.85));

  /* Professional Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(30, 58, 138, 0.12);
  --shadow-lg: 0 8px 24px rgba(30, 58, 138, 0.15);
  --shadow-xl: 0 16px 48px rgba(0, 9, 71, 0.2);
  --shadow-premium: 0 20px 60px rgba(30, 58, 138, 0.25);
  --shadow-glass: 0 8px 32px 0 rgba(30, 58, 138, 0.1);
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(30, 58, 138, 0.2);

  /* Modern Professional Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Precision Layout Tokens */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Construction Technical Aesthetics */
  --grid-pattern: radial-gradient(var(--color-border) 1px, transparent 1px);
  --blueprint-grid:
    linear-gradient(rgba(37, 99, 235, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.03) 1px, transparent 1px);

  /* Premium Industrial Tokens */
  --color-industrial-gold: #c5a059;
  --color-industrial-slate: #334155;
  --color-industrial-silver: #94a3b8;
  --shadow-premium: 0 25px 50px -12px rgba(15, 23, 42, 0.15);
  --glow-accent: 0 0 20px rgba(59, 130, 246, 0.3);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  touch-action: pan-x pan-y;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  touch-action: pan-x pan-y;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-top: 0;
  color: var(--color-primary-dark);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1200px, 100% - 2.5rem);
  margin: 0 auto;
}

@media (max-width: 768px) {
  .container {
    width: min(1200px, 100% - 2rem);
  }
}

.section {
  padding: 2rem 0;
  position: relative;
  overflow: hidden;
}

.section-tight {
  padding: 1rem 0 !important;
}

.section-none {
  padding: 0 !important;
}

.technical-bg {
  background-size: 40px 40px;
  background-image: var(--blueprint-grid);
}

.parallax-bg {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.glassmorphism {
  background: var(--glass-bg);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-glass);
}

.enterprise-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.enterprise-card:hover {
  transform: translateY(-8px);
  border-color: var(--color-accent);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

.icon-box {
  width: 60px;
  height: 60px;
  background: rgba(59, 130, 246, 0.1);
  color: var(--color-accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.enterprise-card:hover .icon-box {
  background: var(--color-accent);
  color: #ffffff;
  transform: scale(1.1) rotate(5deg);
}

/* Animations */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-delay-1 {
  transition-delay: 0.1s;
}

.stagger-delay-2 {
  transition-delay: 0.2s;
}

.stagger-delay-3 {
  transition-delay: 0.3s;
}

.stagger-delay-4 {
  transition-delay: 0.4s;
}



/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-header h2 {
  font-size: clamp(2.2rem, 4vw, 3rem);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-header p {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  font-weight: 500;
  max-width: 60ch;
  margin-inline: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 0.02em;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #fff;
  border: none;
  box-shadow: 0 4px 15px rgba(15, 52, 96, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(15, 52, 96, 0.4);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
}

/* --- Enterprise Cards & Utility --- */
.service-card,
.industrial-card,
.about-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--color-border);
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.industrial-card {
  background: white;
  border: 1px solid var(--color-border);
  min-height: 400px;
}

.industrial-tag {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-text-muted);
  opacity: 0.5;
}

.service-card:hover,
.industrial-card:hover,
.about-card:hover {
  transform: translateY(-8px);
  border-color: var(--color-accent-light);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

.industrial-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--color-primary-dark);
}

.industrial-card p {
  color: var(--color-text-muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* --- Enterprise Project Cards --- */
.project-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.12);
  border-color: var(--color-accent-light);
}

.project-image {
  position: relative;
  height: 260px;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.project-card:hover .project-image img {
  transform: scale(1.1);
}

.project-label {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(8px);
  color: white;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  z-index: 2;
}

.project-body {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.project-body h3 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  color: var(--color-primary-dark);
}

.project-body p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.project-meta {
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-border);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-accent);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.project-meta::before {
  content: '📍';
  font-size: 1rem;
}

.industrial-edge {
  border-left: 5px solid var(--color-secondary) !important;
}

/* Premium Utility Classes */
.glass-panel {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-glass);
}

.glass-panel-dark {
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow-glass);
}

.premium-card {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: var(--shadow-sm);
}

.premium-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: var(--shadow-premium);
  border-color: var(--color-accent-light);
}

.accent-glow {
  box-shadow: var(--glow-accent);
}

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hover-lift {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hover-lift:hover {
  transform: translateY(-5px);
}

.blueprint-overlay {
  background-image: var(--blueprint-grid);
  background-size: 30px 30px;
}

.section-kicker {
  display: inline-block;
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-secondary);
  background: rgba(37, 99, 235, 0.1);
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

/* ── Portal Entry Button (Navigation) ── */
.portal-entry {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 99px;
  color: var(--color-primary-dark) !important;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  text-decoration: none;
  margin-left: 1.25rem;
}

.portal-entry span {
  font-size: 0.85rem;
  transition: transform 0.3s ease;
}

.portal-entry:hover {
  background: white;
  border-color: var(--color-accent);
  color: var(--color-accent) !important;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.12);
  transform: translateY(-2px);
}

.portal-entry:hover span {
  transform: scale(1.2);
}

@media (max-width: 992px) {
  .portal-entry {
    margin: 1.5rem 0 0.5rem;
    width: 100%;
    justify-content: center;
    padding: 0.75rem 1.25rem;
  }
}

/* Header & Navigation — Professionalized Redesign */
.site-header {
  position: fixed;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: min(1200px, calc(100% - 2rem));
  padding: 0.8rem 0;
  z-index: 1000;
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  background: rgb(255, 255, 255);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border-radius: var(--radius-full);
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.site-header.scrolled {
  top: 0;
  width: 100%;
  border-radius: 0;
  background: rgb(255, 255, 255);
  padding: 0.6rem 0;
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.15);
  border-bottom: 1px solid rgba(15, 23, 42, 0.1);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: min(44px, 10vw);
  width: auto;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
}

.logo:hover img {
  transform: scale(1.05) translateY(-2px);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-text strong {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

.logo-text span {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-text-muted);
  font-weight: 600;
  margin-top: 0.15rem;
}

.main-nav {
  display: flex;
  gap: 0.5rem;
  background: rgba(15, 23, 42, 0.05);
  padding: 0.35rem;
  border-radius: var(--radius-full);
}

.main-nav a {
  padding: 0.6rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-industrial-slate);
  border-radius: var(--radius-full);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 0.01em;
}

.main-nav a:hover {
  background: rgba(255, 255, 255, 0.9);
  color: var(--color-primary);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
}

.main-nav a.active {
  background: var(--color-primary);
  color: white;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.header-cta {
  background: var(--gradient-primary);
  color: white !important;
  padding: 0.65rem 1.75rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 4px 15px rgba(15, 52, 96, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.header-cta:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 25px rgba(15, 52, 96, 0.35);
  filter: brightness(1.1);
}

.notif-wrapper {
  position: relative;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  transition: all 0.3s ease;
}

.notif-wrapper:hover {
  transform: translateY(-2px);
  border-color: var(--color-accent);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.notif-bell {
  font-size: 1.4rem;
  color: var(--color-primary);
  transition: transform 0.3s ease;
}

.notif-wrapper:hover .notif-bell {
  transform: scale(1.1) rotate(15deg);
}

.notif-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--color-secondary);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid white;
  opacity: 0;
  transform: scale(0);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.notif-badge.active {
  opacity: 1;
  transform: scale(1);
}

.main-nav {
  display: flex;
  gap: 2.5rem;
}

.main-nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-primary);
  transition: all 0.3s ease;
  position: relative;
  padding: 0.5rem 0;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-secondary) 100%);
  transition: width 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  border-radius: 2px;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--color-accent);
  transform: translateY(-2px);
}

.header-cta {
  background: var(--gradient-primary);
  color: white;
  padding: 0.85rem 1.75rem;
  border-radius: 99px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow:
    0 6px 20px rgba(15, 52, 96, 0.25),
    0 3px 10px rgba(15, 52, 96, 0.15);
  position: relative;
  overflow: hidden;
}

.header-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
}

.header-cta:hover::before {
  left: 100%;
}

.header-cta:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow:
    0 10px 30px rgba(15, 52, 96, 0.35),
    0 5px 15px rgba(15, 52, 96, 0.25);
}

/* Mobile Menu */
/* Mobile Menu — Refined */
.hamburger {
  display: none;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--color-border);
  cursor: pointer;
  padding: 0.6rem;
  border-radius: 12px;
  transition: all 0.3s ease;
  z-index: 2000;
}

.hamburger:hover {
  background: white;
  border-color: var(--color-accent);
  transform: translateY(-2px);
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--color-primary-dark);
  margin: 4px 0;
  transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 2px;
}

/* Hero Section */
.hero {
  padding-top: 8rem;
  padding-bottom: 6rem;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.8) 100%),
    url("assets/images/98.jpeg") center/cover fixed;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(3.5rem, 6vw, 5rem);
  margin-bottom: 1.5rem;
  letter-spacing: -0.04em;
  color: #ffffff;
  line-height: 1.05;
  font-weight: 800;
}

.hero-text h1 span {
  display: block;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 10px 20px rgba(37, 99, 235, 0.3));
}

.hero-text p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 3rem;
  max-width: 600px;
  line-height: 1.8;
  font-weight: 400;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-kicker {
  display: inline-block;
  padding: 0.6rem 1.25rem;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  letter-spacing: 0.05em;
}

.kicker-black {
  color: var(--color-primary-dark) !important;
  border-color: rgba(15, 23, 42, 0.2) !important;
  background: rgba(15, 23, 42, 0.05) !important;
  text-shadow: none !important;
}



.hero-benefits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
  list-style: none;
  padding: 0;
}

.hero-benefits li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
  color: var(--color-primary-dark);
}

.hero-benefits li::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: var(--color-accent);
  color: white;
  border-radius: 50%;
  font-size: 0.7rem;
  flex-shrink: 0;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-highlights {
  display: flex;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.hero-highlights div {
  display: flex;
  flex-direction: column;
}

.hero-highlights strong {
  font-size: 2.5rem;
  color: #ffffff;
  font-weight: 800;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.hero-highlights span {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  font-weight: 600;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-image {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(12, 1fr);
  height: 650px;
  perspective: 1500px;
  perspective-origin: center center;
}

.hero-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    0 25px 60px rgba(0, 0, 0, 0.3),
    0 15px 35px rgba(0, 0, 0, 0.2),
    0 5px 15px rgba(0, 0, 0, 0.15);
  position: absolute;
  transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
  transform-style: preserve-3d;
  background: white;
  will-change: transform;
}

.hero-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
  color: white;
  padding: 4rem 2rem 2rem;
  z-index: 3;
}

.hero-card-overlay h3 {
  margin: 0;
  font-size: 2.2rem;
  font-weight: 900;
  text-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.8),
    0 4px 8px rgba(0, 0, 0, 0.6),
    0 8px 16px rgba(0, 0, 0, 0.4);
  letter-spacing: 1px;
  text-transform: uppercase;
  background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 50%, #e0f2fe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: 'Outfit', sans-serif;
  line-height: 1.2;
}

.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.hero-card.large {
  width: 85%;
  height: 85%;
  top: 0;
  left: 0;
  z-index: 1;
  transform: translateZ(20px) rotateY(-2deg) rotateX(2deg);
}

.hero-card.small {
  width: 55%;
  height: 55%;
  bottom: 5%;
  right: 0;
  z-index: 2;
  border: 8px solid white;
  transform: translateZ(60px) rotateY(5deg) rotateX(-3deg);
}

.hero-card:hover {
  z-index: 10;
  box-shadow:
    0 50px 100px rgba(15, 23, 42, 0.5),
    0 30px 60px rgba(15, 23, 42, 0.35),
    0 15px 30px rgba(15, 23, 42, 0.25);
}

.hero-card.large:hover {
  transform: translateZ(80px) translateY(-15px) rotateY(-8deg) rotateX(5deg) scale(1.02);
}

.hero-card.small:hover {
  transform: translateZ(120px) translateY(-20px) rotateY(10deg) rotateX(-5deg) scale(1.05);
}

.hero-card:hover img {
  transform: scale(1.15);
  filter: brightness(1.05) contrast(1.05);
}

/* About Section */
.about {
  background: var(--color-surface);
  background-image: var(--blueprint-grid);
  background-size: 40px 40px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: stretch;
}

.about-image {
  position: relative;
}

.main-about-img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: auto;
  object-fit: cover;
}

.experience-badge {
  position: absolute;
  bottom: -2rem;
  right: -2rem;
  background: var(--gradient-accent);
  color: white;
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  z-index: 2;
  border: 4px solid white;
}

.experience-badge strong {
  font-size: 2.5rem;
  line-height: 1;
  display: block;
}

.experience-badge span {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
}

.mission-vision {
  display: grid;
  gap: 2rem;
  margin: 2.5rem 0;
}

.mv-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.mv-icon {
  font-size: 2rem;
  padding: 1rem;
  background: rgba(197, 160, 89, 0.1);
  border-radius: var(--radius-md);
  line-height: 1;
}

.mv-text h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--color-primary);
}

.mv-text p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin: 0;
}

.values-list {
  background: var(--color-bg);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--color-accent);
}

.values-list h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.values-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.values-list li {
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
  position: relative;
  padding-left: 1.5rem;
}

.values-list li::before {
  content: '→';
  color: var(--color-accent);
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Services */
.services {
  background: var(--color-surface);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 2.5rem;
}

@media (max-width: 1024px) {
  .service-grid {
    grid-template-columns: 1fr;
  }
}

/* Extreme Premium Industrial Cards */
.industrial-card {
  background: var(--gradient-dark-glass);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  z-index: 1;
}

.industrial-card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.1), transparent 70%);
  pointer-events: none;
}

.industrial-card:hover {
  transform: translateY(-15px) scale(1.02);
  border-color: var(--color-industrial-gold);
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.3),
    inset 0 0 0 1px rgba(197, 160, 89, 0.2);
}

.industrial-card .icon-box {
  width: 70px;
  height: 70px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--color-industrial-gold);
  font-size: 1.8rem;
  border-radius: var(--radius-md);
  margin-bottom: 2rem;
  transition: all 0.5s ease;
}

.industrial-card:hover .icon-box {
  background: var(--color-industrial-gold);
  color: var(--color-primary-dark);
  transform: rotateY(180deg);
  box-shadow: 0 0 20px rgba(197, 160, 89, 0.4);
}

.industrial-card h3 {
  color: white !important;
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.industrial-card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.05rem;
  line-height: 1.8;
}

.industrial-tag {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-industrial-gold);
  margin-bottom: 1rem;
  display: block;
}

/* Technical Blueprint Process Path */
.process-path-container {
  position: relative;
  padding: 4rem 0;
}

.process-grid-modern {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 2;
}

.process-card-premium {
  background: white;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  transition: all 0.4s ease;
  position: relative;
  text-align: center;
}

.process-card-premium:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-lg);
}

.process-connector {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--color-border), var(--color-border) 10px, transparent 10px, transparent 20px);
  z-index: 1;
  opacity: 0.5;
}

.watermark-bg {
  position: absolute;
  font-size: 20rem;
  font-weight: 900;
  color: rgba(15, 23, 42, 0.03);
  pointer-events: none;
  z-index: 0;
  white-space: nowrap;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-10deg);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.service-card {
  background: white;
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  transition: color 0.3s ease;
}

.service-card:hover h3 {
  color: var(--color-accent);
}

.service-card p {
  color: var(--color-text-muted);
  line-height: 1.7;
  font-size: 1rem;
}

.service-card ul {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  color: var(--color-text-muted);
}

.service-card li {
  margin-bottom: 0.5rem;
  padding-left: 1.2rem;
  position: relative;
}

.service-card li::before {
  content: '•';
  color: var(--color-accent);
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Projects */
.projects {
  background: linear-gradient(to bottom, var(--color-bg) 0%, #eef2ff 100%);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
  perspective: 1500px;
}

.project-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    0 15px 35px rgba(0, 0, 0, 0.1),
    0 8px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  transform-style: preserve-3d;
  border: 1px solid var(--color-border);
  will-change: transform, box-shadow;
  position: relative;
}

.project-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: var(--radius-lg);
  pointer-events: none;
  background: radial-gradient(circle at center, var(--color-accent) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: -1;
  filter: blur(30px);
}

.project-card:hover {
  transform: translateY(-15px) rotateX(4deg) rotateY(-2deg) scale(1.02);
  box-shadow:
    0 35px 70px rgba(15, 23, 42, 0.2),
    0 20px 40px rgba(15, 23, 42, 0.15);
  border-color: var(--color-accent);
}

.project-card:hover::after,
.project-card:active::after {
  opacity: 0.5;
}

.project-image {
  position: relative;
  overflow: hidden;
  height: 280px;
  background: #f1f5f9;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
  transform: scale(1);
}

.project-card:hover .project-image img {
  transform: scale(1.12) translateZ(20px);
  filter: brightness(1.05) contrast(1.05);
}

.project-label {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  color: var(--color-primary);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.5);
  z-index: 2;
}

.project-body {
  padding: 2rem;
}

.project-body h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--color-primary-dark);
  font-weight: 700;
  transition: color 0.3s ease;
}

.project-card:hover .project-body h3 {
  color: var(--color-accent);
}

.project-body p {
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

/* Contact Page Enhancements */
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info {
  background: white;
  padding: 3rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: #f8fafc;
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
}

.contact-list li:hover {
  transform: translateX(5px);
  background: #f1f5f9;
}

.contact-form {
  background: white;
  padding: 3rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
}

.contact-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gradient-primary);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--color-primary-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: inherit;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.map-container {
  margin-top: 2rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

@media (max-width: 992px) {
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* Machinery & HSSE */
.machinery,
.hsse {
  background: var(--color-bg);
}

.about-card.industrial-edge {
  border-left: 5px solid var(--color-secondary) !important;
  background: white;
  padding: 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

/* Structural Transformations Section */
.transformations {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.transformations::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: var(--blueprint-grid);
  background-size: 40px 40px;
  opacity: 0.3;
  pointer-events: none;
}

.before-after-card {
  max-width: 900px;
  margin: 0 auto;
  perspective: 1500px;
}

.before-after-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  cursor: ew-resize;
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.before-after-slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.before-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  z-index: 2;
  border-right: 2px solid white;
}


/* Before/After Labels */
.before-after-slider::before,
.before-after-slider::after {
  position: absolute;
  top: 1.5rem;
  padding: 0.6rem 1.2rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  z-index: 5;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
}

/* --- Video Card Premium --- */
.video-card-premium {
  position: relative;
  background: #020617;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}

.video-card-premium video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.video-info-bar {
  padding: 1.5rem 2.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: linear-gradient(to right, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.95));
}

.play-button-visual {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.2);
  border: 1px solid rgba(59, 130, 246, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  animation: pulse-blue 2s infinite;
}

@keyframes pulse-blue {
  0% {
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(59, 130, 246, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
  }
}

/* --- Before/After Slider Enhancements --- */
.slider-label {
  position: absolute;
  top: 1.5rem;
  padding: 0.5rem 1rem;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  border-radius: 4px;
  z-index: 5;
  pointer-events: none;
}

.slider-label.before {
  left: 1.5rem;
}

.slider-label.after {
  right: 1.5rem;
}

/* --- Milestone Grid --- */
.milestone-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
  padding: 0 1rem;
}

.milestone-card {
  background: rgba(15, 23, 42, 0.4);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.milestone-card:hover {
  transform: translateY(-5px);
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.milestone-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.milestone-content {
  padding: 1.25rem;
}

.milestone-content h5 {
  color: #fff;
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
}

.milestone-content p {
  color: #94a3b8;
  font-size: 0.8rem;
  margin: 0.5rem 0 0;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .milestone-grid {
    grid-template-columns: 1fr;
  }

  .video-info-bar {
    padding: 1rem;
    flex-direction: column;
    text-align: center;
  }
}

/* Before/After Slider Handle */
.slider-handle {
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background: white;
  z-index: 10;
  cursor: ew-resize;
  transform: translateX(-50%);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

.handle-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background: var(--color-accent);
  border: 3px solid white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.slider-handle:hover .handle-circle {
  transform: translate(-50%, -50%) scale(1.1);
}

.before-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  z-index: 2;
  overflow: hidden;
  border-right: 2px solid white;
}

/* Expert Team Section */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  margin-top: 4rem;
}

.expert-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
}

.expert-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.12);
  border-color: var(--color-accent-light);
}

.expert-img-wrapper {
  height: 380px;
  overflow: hidden;
  position: relative;
  background: #f1f5f9;
}

.expert-img-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, transparent 40%, rgba(15, 23, 42, 0.08) 100%);
  pointer-events: none;
  z-index: 2;
}

.expert-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s ease;
}

.expert-img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0f172a 0%, #334155 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  opacity: 0.9;
}

.expert-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.expert-card:hover img {
  transform: scale(1.08);
}

.expert-info {
  padding: 2.5rem 2rem;
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.expert-status {
  display: inline-block;
  padding: 0.35rem 1rem;
  background: rgba(59, 130, 246, 0.1);
  color: var(--color-accent);
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 auto 1.2rem;
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.expert-info h3 {
  font-size: 1.6rem;
  color: var(--color-primary-dark);
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
}

.expert-role {
  color: var(--color-text-muted);
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  display: block;
}

.expert-bio {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  font-weight: 400;
}

.expert-socials {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  margin-top: auto;
}

.expert-socials a {
  width: 40px;
  height: 40px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.expert-socials a:hover {
  background: var(--color-primary);
  color: white;
  transform: translateY(-3px);
  border-color: var(--color-primary);
}

.expert-card.founder {
  background: linear-gradient(to bottom, #ffffff, #f8fafc);
  border: 1.5px solid var(--color-accent-light);
}

.expert-card.founder::after {
  content: 'LEADERSHIP';
  position: absolute;
  top: 1.5rem;
  right: -2.5rem;
  background: var(--color-accent);
  color: white;
  padding: 0.4rem 3rem;
  transform: rotate(45deg);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  box-shadow: 0 4px 10px rgba(59, 130, 246, 0.3);
  z-index: 5;
}

/* Chat Widget */
.chat-toggle {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  z-index: 1000;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: none;
}

.chat-toggle:hover {
  transform: scale(1.1) rotate(5deg);
}

.chat-window {
  position: fixed;
  bottom: 6rem;
  right: 2rem;
  width: 380px;
  height: 500px;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2), 0 10px 20px rgba(0, 0, 0, 0.1);
  z-index: 1001;
  display: none;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--color-border);
}

/* Support BOTH .open and .active for the chat window */
.chat-window.open,
.chat-window.active {
  display: flex;
  animation: slideInUp 0.3s ease-out;
}

.chat-header {
  padding: 1rem 1.25rem;
  background: var(--gradient-primary);
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}

.chat-header-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.chat-avatar {
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-status-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.chat-status-text strong {
  font-size: 0.95rem;
  font-weight: 700;
}

.chat-status-text span {
  font-size: 0.75rem;
  opacity: 0.8;
}

.chat-body {
  flex: 1;
  padding: 1rem;
  overflow-y: auto;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Chat Message Bubbles */
.chat-message {
  max-width: 85%;
  padding: 0.75rem 1rem;
  border-radius: 16px;
  font-size: 0.9rem;
  line-height: 1.5;
  word-wrap: break-word;
  animation: msgFadeIn 0.3s ease-out;
}

.chat-message.bot {
  background: white;
  color: var(--color-text);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--color-border);
}

.chat-message.user {
  background: var(--gradient-primary);
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.2);
}

/* Typing Indicator */
.typing-indicator {
  display: flex;
  gap: 4px;
  padding: 0.75rem 1.25rem !important;
  align-items: center;
}

.typing-indicator .dot {
  width: 8px;
  height: 8px;
  background: var(--color-text-muted);
  border-radius: 50%;
  animation: dotBounce 1.4s infinite ease-in-out both;
}

.typing-indicator .dot:nth-child(1) {
  animation-delay: 0s;
}

.typing-indicator .dot:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-indicator .dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes dotBounce {

  0%,
  80%,
  100% {
    transform: scale(0.6);
    opacity: 0.4;
  }

  40% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes msgFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Quick Reply Chips */
.chat-quick-replies {
  padding: 0.5rem 1rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  background: white;
  border-top: 1px solid var(--color-border);
  flex-shrink: 0;
}

.quick-reply-chip {
  padding: 0.4rem 0.9rem;
  border: 1.5px solid var(--color-accent);
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--color-accent);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.quick-reply-chip:hover {
  background: var(--color-accent);
  color: white;
  transform: translateY(-1px);
}

.chat-footer {
  padding: 0.75rem 1rem;
  background: white;
  border-top: 1px solid var(--color-border);
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

/* Premium Social Media Section */
.footer-socials {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.social-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 1.25rem;
  border-radius: 50px;
  color: white !important;
  font-weight: 500;
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  position: relative;
}

.social-chip.facebook {
  background: linear-gradient(135deg, #1877F2, #0D47A1);
}

.social-chip.youtube {
  background: linear-gradient(135deg, #FF0000, #C62828);
}

.social-chip.tiktok {
  background: linear-gradient(135deg, #010101, #333333);
}

.social-chip:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.3);
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  font-size: 0.9rem;
  font-style: normal;
  font-weight: 800;
}

/* Footer Section */
.site-footer {
  background: var(--color-primary-dark);
  color: white;
  padding: 6rem 0 3rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-section h4,
.site-footer h4 {
  color: white !important;
  margin-bottom: 2rem;
  font-size: 1.2rem;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: white;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

/* Inquiry Modal */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1100;
  backdrop-filter: blur(4px);
}

.modal-overlay.active {
  display: block;
}

.inquiry-modal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 500px;
  max-height: 80vh;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
  z-index: 1101;
  overflow: hidden;
}

.inquiry-modal.active {
  display: block;
  animation: slideInUp 0.3s ease-out;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  background: var(--gradient-primary);
  color: white;
}

.modal-header h3 {
  color: white;
  margin: 0;
}

.modal-body {
  padding: 1rem;
  overflow-y: auto;
  max-height: 60vh;
}

.inquiry-item {
  position: relative;
  background: #f8fafc;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1rem;
}

.inquiry-item h4 {
  margin: 0 0 0.5rem;
  color: var(--color-primary);
}

.inquiry-item p {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.inquiry-item .time {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.delete-inquiry {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: none;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
  color: #ef4444;
  line-height: 1;
}

@keyframes slideInUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* ═══════════════════════════════════════════════ */
/*  RESPONSIVE: Tablets (max-width: 992px)        */
/* ═══════════════════════════════════════════════ */
@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
  }

  .hero-image {
    height: 400px;
  }

  .experience-badge {
    bottom: -1rem;
    right: -1rem;
    padding: 1.25rem;
  }

  .experience-badge strong {
    font-size: 2rem;
  }
}

/* ═══════════════════════════════════════════════ */
/*  RESPONSIVE: Mobile (max-width: 768px)         */
/* ═══════════════════════════════════════════════ */
@media (max-width: 768px) {

  /* ── Mobile Navigation — Premium Redesign ── */
  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 1001;
  }

  .hamburger.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
  }

  .hamburger.active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 380px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(25px) saturate(200%);
    -webkit-backdrop-filter: blur(25px) saturate(200%);
    flex-direction: column;
    padding: 7.5rem 2.5rem 3rem;
    gap: 0.5rem;
    z-index: 1000;
    transition: right 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: -15px 0 50px rgba(0, 0, 0, 0.15);
    border-left: 1px solid rgba(15, 23, 42, 0.05);
  }

  .main-nav.active {
    right: 0;
  }

  .main-nav a {
    color: var(--color-industrial-slate) !important;
    font-size: 1.25rem;
    font-weight: 700;
    padding: 1.25rem 1.5rem;
    border-radius: 16px;
    transition: all 0.3s ease;
    border-bottom: none !important;
    width: 100%;
    display: block;
  }

  .main-nav a:hover {
    background: rgba(15, 23, 42, 0.05);
    color: var(--color-primary) !important;
    transform: translateX(5px);
  }

  .main-nav a.active {
    background: var(--color-primary);
    color: white !important;
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.15);
  }

  .main-nav a::after {
    display: none;
  }

  .header-actions {
    gap: 0.75rem;
  }

  .site-header {
    top: 1rem;
    padding: 0.6rem 0;
  }

  .site-header.scrolled {
    top: 0;
    padding: 0.6rem 0;
  }

  .logo img {
    height: 38px !important;
  }

  .logo-text strong {
    font-size: 0.9rem;
  }

  .logo-text span {
    font-size: 0.65rem;
  }

  /* ── Hero Section ── */
  .hero {
    padding-top: 5rem;
    padding-bottom: 3rem;
    min-height: auto;
  }

  .hero-inner {
    flex-direction: column;
    text-align: center;
    padding-top: 4rem;
  }

  .hamburger {
    display: flex;
  }
}

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: clamp(1.8rem, 10vw, 2.5rem);
    line-height: 1.1;
  }

  .hero-actions {
    gap: 0.75rem;
  }

  .site-header {
    width: calc(100% - 1rem);
    /* Tighter margin on tiny screens */
  }

  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* ── Process Section ── */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
  position: relative;
}

.process-step {
  text-align: center;
  position: relative;
  padding: 2rem;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: all 0.3s ease;
}

.process-step:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-accent);
}

.step-number {
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 auto 1.5rem;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.2);
}

.process-step h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.process-step p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

/* ── Quality Section ── */
.quality-highlight {
  background: var(--color-primary-dark);
  color: white;
  padding: 5rem 0;
  border-radius: var(--radius-lg);
  margin-top: 4rem;
  position: relative;
  overflow: hidden;
}

.quality-highlight::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: var(--grid-pattern);
  opacity: 0.05;
  pointer-events: none;
}

.quality-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  align-items: center;
}

.quality-content h2 {
  color: white !important;
  -webkit-text-fill-color: white !important;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.quality-content p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.quality-features {
  display: grid;
  gap: 1.5rem;
}

.q-feat {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}

.q-feat-icon {
  font-size: 1.5rem;
  color: var(--color-accent-light);
  line-height: 1;
}

.q-feat-text h4 {
  color: white;
  margin-bottom: 0.3rem;
  font-size: 1.1rem;
}

.q-feat-text p {
  font-size: 0.9rem;
  margin: 0;
}

/* ==========================================================================
   Responsive Design (Mobile & Tablet)
   ========================================================================== */

/* Tablet & Smaller Desktop */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .hero-text p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-highlights {
    justify-content: center;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .process-grid-modern {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-inner {
    grid-template-columns: 1fr;
  }
}

/* Mobile Devices */
@media (max-width: 768px) {

  /* Header & Nav */
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    gap: 0;
    padding: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 16px 16px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    /* Mobile menu handles navigation */
  }

  .main-nav.active {
    display: flex;
  }

  .main-nav a {
    width: 100%;
    text-align: center;
    padding: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .main-nav a:last-child {
    border-bottom: none;
  }

  .header-actions {
    display: none;
  }

  .hamburger {
    display: block;
  }

  /* Hero Section */
  .hero {
    padding-top: 6rem;
    padding-bottom: 4rem;
  }

  .hero-text h1 {
    font-size: clamp(2.5rem, 8vw, 3.5rem);
  }

  .hero-highlights {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    align-items: stretch;
  }

  .hero-actions .header-cta,
  .hero-actions .portal-entry {
    width: 100%;
    text-align: center;
    margin: 0.5rem 0;
  }

  .hero-benefits {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .hero-image {
    height: 400px;
    margin-top: 2rem;
  }

  /* Structural Components */
  .mission-vision {
    grid-template-columns: 1fr;
  }

  .process-grid-modern {
    grid-template-columns: 1fr;
  }

  .milestone-grid {
    grid-template-columns: 1fr;
  }

  .mv-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  /* Core Grids */
  .projects-grid,
  .service-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  /* Utilities */
  .section-header h2 {
    font-size: 2rem;
  }

  .experience-badge {
    position: static;
    margin-top: 2rem;
  }
}