:root {
  /* Brand Colors */
  --color-primary: #103466; /* Navy Blue */
  --color-secondary: #333333; /* Dark Grey */
  --color-accent: #333333; /* Charcoal */
  --color-light: #F4F6F8;
  --color-white: #FFFFFF;
  --color-text: #4A4A4A;
  --color-text-dark: #1A1A1A;
  --color-border: #E5E7EB;
  
  /* Typography */
  --font-main: 'Inter', system-ui, -apple-system, sans-serif;
  
  /* Layout Shadows & Transitions */
  --shadow-sm: 0 2px 4px rgba(16, 52, 102, 0.05);
  --shadow-md: 0 4px 12px rgba(16, 52, 102, 0.08);
  --shadow-lg: 0 12px 24px rgba(16, 52, 102, 0.12);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  color: var(--color-text);
  line-height: 1.6;
  background-color: var(--color-white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--color-primary);
  font-weight: 700;
  line-height: 1.2;
}

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

ul {
  list-style: none;
}

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

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

.section-padding {
  padding: 80px 0;
}
@media (min-width: 768px) {
  .section-padding { padding: 100px 0; }
}
@media (min-width: 1024px) {
  .section-padding { padding: 120px 0; }
}

.text-center { text-align: center; }
.bg-light { background-color: var(--color-light); }
.bg-navy { background-color: var(--color-primary); color: var(--color-white); }
.bg-navy h2, .bg-navy h3 { color: var(--color-white); }

.label {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-secondary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.label::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background-color: var(--color-secondary);
  vertical-align: middle;
  margin-right: 12px;
}

.section-title {
  font-size: 2.25rem;
  margin-bottom: 24px;
}
@media (min-width: 768px) {
  .section-title { font-size: 2.75rem; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}

.btn-primary {
  background-color: #00A3E0;
  color: var(--color-white);
  box-shadow: var(--shadow-md);
}
.btn-primary:hover {
  background-color: #008BBE;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

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

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: transparent;
  transition: var(--transition);
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  background-color: var(--color-white);
  box-shadow: var(--shadow-md);
}

.nav-container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 100px;
  transition: var(--transition);
}
.header.scrolled .nav-container {
  height: 80px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-white);
  display: flex;
  align-items: center;
  gap: 8px;
  justify-self: start;
}
.header.scrolled .logo { color: var(--color-primary); }
.logo span { color: var(--color-secondary); }

.brand-logo {
  max-height: 60px;
  width: auto;
  display: block;
}
.header:not(.scrolled) .brand-logo {
  filter: brightness(0) invert(1);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  justify-self: center;
}

.nav-links > a,
.nav-links .dropdown-toggle {
  font-weight: 600;
  letter-spacing: 1px;
  font-size: 0.9rem;
  color: var(--color-white);
  position: relative;
  cursor: pointer;
}
.header.scrolled .nav-links > a,
.header.scrolled .nav-links .dropdown-toggle {
  color: var(--color-primary);
}
/* Hover text color removed as per user request */
.nav-links > a::after,
.nav-links .dropdown-toggle::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: var(--transition);
}
.nav-links > a:hover::after, .nav-links > a.active::after {
  width: 100%;
}
.nav-links .dropdown-toggle::after { display: none !important; }

/* Dropdown CSS */
.dropdown {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  cursor: pointer;
}
.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
}
.dropdown-icon {
  transition: transform 0.3s ease;
}
.dropdown:hover .dropdown-icon {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  background: var(--color-white);
  min-width: 220px;
  box-shadow: var(--shadow-lg);
  border-radius: 4px;
  padding: 10px 0;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1001;
}
.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown-menu a {
  color: var(--color-text) !important;
  font-weight: 500;
  padding: 12px 20px;
  font-size: 0.9rem;
  width: 100%;
  text-transform: none;
  letter-spacing: normal;
}
.dropdown-menu a::after {
  display: none !important;
}
.dropdown-menu a:hover {
  background: rgba(0, 0, 0, 0.03);
  color: var(--color-secondary) !important;
}

/* Right Actions */
.right-actions {
  justify-self: end;
  display: flex;
  align-items: center;
}

.mobile-menu-btn {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.hamburger {
  width: 32px;
  height: 2px;
  background-color: var(--color-white);
  position: relative;
  transition: var(--transition);
}
.header.scrolled .hamburger { background-color: var(--color-primary); }
.hamburger::before, .hamburger::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: var(--color-white);
  left: 0;
  transition: var(--transition);
}
.header.scrolled .hamburger::before,
.header.scrolled .hamburger::after { background-color: var(--color-primary); }
.hamburger::before { top: -8px; }
.hamburger::after { bottom: -8px; }

/* Mobile Menu Active State */
.active-menu .hamburger { background-color: transparent; }
.active-menu .hamburger::before { transform: rotate(45deg); top: 0; }
.active-menu .hamburger::after { transform: rotate(-45deg); bottom: 0; }

@media (max-width: 1023px) {
  .desktop-nav {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--color-white);
    flex-direction: column;
    justify-content: flex-start;
    padding: 40px 24px;
    transition: left 0.4s ease;
    border-top: 1px solid var(--color-border);
    overflow-y: auto;
  }
  .header.scrolled .desktop-nav { top: 64px; height: calc(100vh - 64px); }
  .active-menu .desktop-nav { left: 0; }
  .mobile-menu-btn { display: block; }
  .nav-actions { display: none; }
  
  .desktop-nav a { font-size: 1.25rem; width: 100%; padding: 12px 0; border-bottom: 1px solid var(--color-light); }
  .desktop-nav a::after { display: none; }
}

/* Base Hero layout */
.hero {
  position: relative;
  padding-top: 140px;
  padding-bottom: 80px;
  min-height: 80vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  color: var(--color-white);
}

.hero-bottom-aligned {
  align-items: flex-end;
  min-height: 100vh;
  padding-bottom: 60px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.85) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  text-align: center;
  margin: 0 auto;
}
.hero-title {
  color: var(--color-white);
  font-size: 3rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 12px;
  letter-spacing: 2px;
}
.hero-subtitle {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 40px;
  opacity: 0.95;
  color: var(--color-white);
}
.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

@media (min-width: 768px) {
  .hero-title { font-size: 4.5rem; letter-spacing: 4px; }
  .hero-subtitle { font-size: 1.5rem; }
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Home - Intro Section */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
.intro-img {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.intro-img::before {
  content: '';
  position: absolute;
  top: -20px; left: -20px;
  width: 100%; height: 100%;
  border: 2px solid var(--color-secondary);
  z-index: -1;
  border-radius: 4px;
}
@media (min-width: 992px) {
  .intro-grid { grid-template-columns: 1fr 1fr; }
}

/* Stats */
.stats-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-item {
  padding: 32px 24px;
  background: var(--color-white);
  border-radius: 4px;
  box-shadow: var(--shadow-sm);
  border-bottom: 3px solid var(--color-secondary);
}
.stat-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 8px;
}
@media (min-width: 768px) {
  .stat-num { margin-bottom: 16px; }
}
@media (min-width: 992px) {
  .stats-container { grid-template-columns: repeat(4, 1fr); }
  .stat-num { font-size: 3rem; }
}

/* Cards Grid (Products / Industries) */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 768px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .cards-grid { grid-template-columns: repeat(3, 1fr); }
}

.card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  overflow: hidden;
  transition: var(--transition);
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.card-img {
  height: 240px;
  overflow: hidden;
}
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.card:hover .card-img img {
  transform: scale(1.05);
}
.card-body {
  padding: 24px;
}
.card-body h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
.card-link {
  display: inline-flex;
  align-items: center;
  color: var(--color-primary);
  font-weight: 600;
  margin-top: 16px;
  transition: var(--transition);
}
.card-link:hover {
  color: var(--color-secondary);
  gap: 8px;
}

/* Manufacturing Grid */
.mfg-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 48px;
}
@media (min-width: 768px) {
  .mfg-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .mfg-grid { grid-template-columns: repeat(3, 1fr); }
}

.mfg-step {
  padding: 32px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.mfg-step:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-4px);
}
.mfg-num {
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-secondary);
  opacity: 0.3;
  position: absolute;
  top: 16px;
  right: 24px;
  line-height: 1;
}
.mfg-step h4 {
  font-size: 1.25rem;
  color: var(--color-white);
}

/* Quality Timeline */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 32px;
  position: relative;
  padding-left: 32px;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 0; left: 11px;
  width: 2px; height: 100%;
  background: var(--color-border);
}
.timeline-item {
  position: relative;
}
.timeline-item::before {
  content: '';
  position: absolute;
  top: 6px; left: -32px;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--color-secondary);
  border: 4px solid var(--color-white);
  box-shadow: 0 0 0 2px var(--color-secondary);
  z-index: 2;
}

@media (min-width: 768px) {
  .timeline {
    flex-direction: row;
    padding-left: 0;
    padding-top: 48px;
    justify-content: space-between;
  }
  .timeline::before {
    top: 24px; left: 0;
    width: 100%; height: 2px;
  }
  .timeline-item::before {
    top: -24px; left: 50%;
    transform: translateX(-50%);
  }
  .timeline-item {
    text-align: center;
    flex: 1;
  }
}

/* Why Choose Us Grid */
.why-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) {
  .why-cards-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .why-cards-grid { grid-template-columns: repeat(4, 1fr); }
}

.why-card {
  background-color: #F8FAFC; /* Light Ash Surface */
  padding: 40px 24px;
  border-radius: 8px;
  text-align: center;
  transition: var(--transition);
}
.why-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.why-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background-color: var(--color-primary); /* Navy Blue */
  color: #FFFFFF;
  border-radius: 8px;
  margin-bottom: 24px;
}
.why-card-title {
  color: #2D3748; /* Dark Ash Main */
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.why-card-text {
  color: #718096; /* Lighter Ash */
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Contact Forms & Layout */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact-card {
  padding: 32px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  transition: var(--transition);
}
.contact-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-secondary);
}

.contact-card svg {
  color: var(--color-secondary);
  width: 32px;
  height: 32px;
}

.contact-form-wrap {
  padding: 40px;
  background: var(--color-white);
  border-radius: 4px;
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: 24px;
}
.form-group label {
  display: block;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 8px;
}
.form-control {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
  background: #FAFAFA;
}
.form-control:focus {
  outline: none;
  border-color: var(--color-secondary);
  background: var(--color-white);
  box-shadow: 0 0 0 4px rgba(0, 163, 224, 0.2);
}
textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.form-message {
  padding: 16px;
  border-radius: 4px;
  margin-bottom: 24px;
  display: none;
  font-weight: 500;
}
.form-message.success {
  background: #E6F4EA;
  color: #137333;
  display: block;
}
.form-message.error {
  background: #FCE8E6;
  color: #C5221F;
  display: block;
}

@media (min-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr 1.5fr;
  }
}

/* Footer */
.footer {
  background-color: #0A2142;
  color: #A0B2C9;
  padding: 80px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
}

.footer-col h4 {
  color: var(--color-white);
  font-size: 1.25rem;
  margin-bottom: 24px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-links a:hover {
  color: var(--color-secondary);
}
.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.875rem;
}

/* Process Timeline */
.process-timeline {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 60px;
  position: relative;
}

.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  z-index: 2;
}

.timeline-bullet {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: #FFFFFF;
  border: 2px solid #333333;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
  flex-shrink: 0;
  box-shadow: 0 0 0 4px var(--color-light); /* Create white spacing if lines bleed */
}
.timeline-bullet::after {
  content: '';
  width: 14px;
  height: 14px;
  background-color: #333333;
  border-radius: 50%;
}

.timeline-title {
  color: var(--color-primary);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.timeline-text {
  font-size: 0.9rem;
  color: #4A4A4A;
  line-height: 1.5;
}

@media (min-width: 768px) {
  .process-timeline {
    flex-direction: row;
    justify-content: space-between;
    text-align: center;
    gap: 16px;
  }
  .process-timeline::before {
    content: '';
    position: absolute;
    top: 14px; /* Center with the 28px bullet */
    left: 24px;
    right: 24px;
    height: 1px;
    background-color: #D1D5DB;
    z-index: 1;
  }
  .timeline-step {
    flex: 1;
    align-items: center;
  }
}

/* Restored Feature List for Industries */
.features-list {
  display: grid;
  gap: 24px;
}
.feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.feature-icon {
  color: var(--color-primary);
  flex-shrink: 0;
  padding-top: 2px;
}
@media (min-width: 768px) {
  .features-list { grid-template-columns: repeat(2, 1fr); padding-right: 48px;}
}
