/* ==========================================================================
   PT MAREL SUKSES PRATAMA - EXACT ASTRA & ELEMENTOR REPLICATION
   Faithfully matching live marelsp.com (Visuals, Colors, Typography)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,500;1,600;1,700&family=Roboto+Slab:wght@400;500;600;700&family=Roboto:ital,wght@0,300;0,400;0,500;0,700;1,400&display=swap');

:root {
  /* Official Marelsp Palette matching marelsp.com */
  --header-bg: #2d4a87;
  --footer-bg: #2d4a87;
  --primary: #153243;
  --secondary: #2d4a87;
  --accent: #f68b2d;
  --accent-orange: #f7941d;
  --accent-hover: #e97816;
  --text-dark: #2c3e50;
  --text-body: #555555;
  --text-muted: #808285;
  --border: #e2e8f0;
  --bg-main: #ffffff;
  --bg-alt: #f8fafc;
  
  /* Typography matching Astra & Elementor on marelsp.com */
  --font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-roboto: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-slab: 'Roboto Slab', Georgia, serif;
  
  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.12);
  
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-family);
  font-size: 16px;
  color: var(--text-body);
  background-color: var(--bg-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-family);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-body);
  background-color: var(--bg-main);
}

/* Headings Hierarchy (Astra exact scale on marelsp.com) */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--primary);
  font-weight: 600;
  line-height: 1.3;
}

h1 {
  font-size: 50px;
  line-height: 1.4;
  font-weight: 600;
}

h2 {
  font-size: 28px;
  line-height: 1.3;
  font-weight: 600;
}

h3 {
  font-size: 22px;
  line-height: 1.3;
  font-weight: 600;
}

h4 {
  font-size: 23px;
  line-height: 1.25;
  font-weight: 600;
}

h5 {
  font-size: 18px;
  line-height: 1.25;
  font-weight: 600;
}

h6 {
  font-size: 15px;
  line-height: 1.25;
  font-weight: 600;
}

@media (max-width: 921px) {
  h1 { font-size: 40px; }
  h2 { font-size: 30px; }
  h3 { font-size: 25px; }
  h4 { font-size: 20px; }
}

@media (max-width: 544px) {
  h1 { font-size: 34px; line-height: 1.3; }
  h2 { font-size: 24px; line-height: 1.3; }
  h3 { font-size: 22px; line-height: 1.3; }
  h4 { font-size: 20px; line-height: 1.25; }
}

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

:focus-visible {
  outline: 3px solid rgba(247, 148, 29, 0.7);
  outline-offset: 3px;
}

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

.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 24px;
  padding-right: 24px;
}

@media (max-width: 640px) {
  .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}

/* ==========================================================================
   HEADER & NAVBAR (Exact Astra Blue Header matching user specification)
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #2d4a87;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  transition: var(--transition);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  height: 72px;
  padding: 0;
  gap: 20px;
}

.site-branding {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.custom-logo-link {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}
.custom-logo-link img,
.custom-logo {
  width: auto;
  height: 54px;
  max-height: 54px;
  object-fit: contain;
  display: block;
}

.main-navigation {
  display: flex;
  align-items: center;
}
.main-header-menu {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.menu-item a {
  font-family: var(--font-family);
  font-size: 15px;
  font-weight: 500;
  color: #ffffff;
  padding: 6px 0;
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
  position: relative;
  text-decoration: none;
  white-space: nowrap;
}
.menu-item a:hover {
  color: var(--accent);
}
.menu-item.current-menu-item > a {
  color: #ffffff;
  font-weight: 500;
}
.menu-item.current-menu-item > a::after {
  display: none;
}

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

.nav-cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  transition: all 0.2s ease;
  text-decoration: none;
}
.nav-cart-link:hover,
.nav-cart-link.active {
  background-color: rgba(255, 255, 255, 0.22);
  color: var(--accent);
  border-color: var(--accent);
}
.nav-cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background-color: #f7941d;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid #2c4782;
  line-height: 1;
}

.header-btn-cs {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background-color: #f68b2d;
  color: #ffffff;
  font-family: var(--font-family);
  font-size: 13.5px;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 6px;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(246, 139, 45, 0.35);
  transition: all 0.2s ease;
  white-space: nowrap;
}
.header-btn-cs:hover {
  background-color: #e97816;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(246, 139, 45, 0.45);
}

/* Submenu Dropdown */
.menu-item-has-children {
  position: relative;
}
.menu-item-has-children > a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.menu-item-has-children > a::after {
  content: '▾';
  font-size: 11px;
  transition: transform 0.2s ease;
}
.menu-item-has-children:hover > a::after {
  transform: rotate(180deg);
}
.menu-item-has-children .sub-menu {
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  min-width: 250px;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
  padding: 10px 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1010;
  border: 1px solid rgba(0, 0, 0, 0.06);
}
.menu-item-has-children:hover .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.sub-menu li a {
  display: block;
  padding: 10px 20px;
  color: #2c3e50;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s ease;
}
.sub-menu li a:hover {
  background: #f8fafc;
  color: var(--accent-orange);
  padding-left: 24px;
}

/* Integrated Header Cart Icon & Badge spacing */
.menu-item-cart {
  margin-left: 6px;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: #ffffff;
  align-items: center;
  justify-content: center;
}

@media (max-width: 1024px) {
  .navbar {
    min-height: 64px;
    height: 64px;
  }
  .custom-logo-link img,
  .custom-logo {
    height: 48px;
    max-height: 48px;
  }
  .main-navigation {
    display: none;
  }
  .header-btn-cs {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .mobile-drawer {
    display: flex;
  }
}

/* Mobile Drawer */
.mobile-drawer {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 280px;
  background: var(--header-bg);
  z-index: 1500;
  padding: 24px;
  box-shadow: -4px 0 24px rgba(0,0,0,0.3);
  flex-direction: column;
  gap: 20px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}
.mobile-drawer.open {
  transform: translateX(0);
}
.mobile-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1400;
}
.mobile-backdrop.open {
  display: block;
}
.mobile-menu-link {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
}
.mobile-menu-link:hover {
  color: var(--accent);
}

/* ==========================================================================
   HOMEPAGE (Replicating exact marelsp.com)
   ========================================================================== */

/* 1. Hero Section */
.hero-marel {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f68b2d;
  background-image: url('/uploads/2026/06/BENER-MAREL.jpg.jpeg');
  background-position: top center;
  background-size: cover;
  background-repeat: no-repeat;
  text-align: center;
  color: #ffffff;
  padding: 110px 20px;
}

.hero-marel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(356deg, rgba(61, 94, 167, 0.85) 37%, rgba(246, 139, 45, 0.75) 100%);
  z-index: 1;
}

.hero-marel-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.hero-marel-title {
  font-family: var(--font-heading);
  font-size: 50px;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.35;
  margin-bottom: 35px;
  text-transform: lowercase;
}

.btn-outline-orange {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid var(--accent);
  padding: 13px 36px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: var(--radius-xs);
  display: inline-block;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-family);
}
.btn-outline-orange:hover {
  background-color: var(--accent);
  color: #ffffff;
}

/* 2. Vision & Mission Section */
.vision-mission-section {
  position: relative;
  background-image: url('/uploads/2024/08/Page-3.5.png');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  color: #ffffff;
  padding: 85px 0 95px 0;
  text-align: center;
}

.vision-mission-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(180deg, rgba(21, 50, 67, 0.90) 43%, rgba(246, 139, 45, 0.82) 100%);
  z-index: 1;
}

.vision-mission-inner {
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin: 0 auto;
}

.vm-title {
  font-size: 2rem;
  font-weight: 700;
  font-style: italic;
  color: #ffffff;
  margin-bottom: 12px;
}

.vm-text {
  font-size: 1.12rem;
  line-height: 1.8;
  color: #ffffff;
  margin-bottom: 40px;
}

.mission-list {
  text-align: left;
  display: inline-block;
  list-style: none;
  font-size: 1.05rem;
  line-height: 2;
  color: #ffffff;
}

/* 3. Service Excellence Cards / Slider */
.service-excellence-section {
  padding: 80px 0 50px 0;
  background-color: #ffffff;
}

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

.service-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background-color: #0f2432;
  height: 380px;
  transition: var(--transition);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.service-card:hover img {
  transform: scale(1.05);
}
.service-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(to top, rgba(15, 36, 50, 0.95) 0%, rgba(15, 36, 50, 0.7) 60%, transparent 100%);
  color: #ffffff;
}
.service-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
  text-transform: uppercase;
}
.service-card-desc {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
}

/* Company Intro Split (2 Columns) */
.company-intro-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 40px 0 70px 0;
}
.intro-heading-left {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.3;
}
.intro-text-right {
  font-family: var(--font-family);
  font-size: 16px;
  color: var(--text-body);
  line-height: 1.7;
}

/* 4. Global Section Titles */
.section-title-wrap {
  text-align: center;
  margin-bottom: 50px;
}
.section-title-main {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--primary);
  display: inline-block;
  position: relative;
  padding-bottom: 12px;
}
.section-title-main::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--accent);
}

/* 5. Our products (Clean 3x2 Grid) */
.our-products-section {
  padding: 80px 0;
  background-color: var(--bg-alt);
}
.live-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.live-product-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background-color: #ffffff;
  transition: var(--transition);
}
.live-product-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.live-prod-img {
  width: 100%;
  height: auto;
  display: block;
}

/* 6. our customers (Clean Logo Row) */
.our-customers-section {
  padding: 80px 0;
  background-color: #ffffff;
}
.customers-logos-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 35px;
}
.customer-logo-wrap {
  background-color: #ffffff;
  border: 1px solid #edf2f7;
  border-radius: var(--radius-md);
  padding: 20px 28px;
  height: 90px;
  width: 135px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.customer-logo-wrap:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}
.customer-logo-wrap img {
  max-height: 48px;
  max-width: 95px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.75;
  transition: var(--transition);
}
.customer-logo-wrap:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* ==========================================================================
   CERTIFICATES SLIDER / CAROUSEL
   ========================================================================== */

.certificates-section {
  padding: 80px 0 90px 0;
  background-color: var(--bg-alt);
  position: relative;
}
.cert-slider-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  max-width: 560px;
  margin: 0 auto;
  width: 100%;
}
.cert-slider-track {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 15px 0 25px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  width: 100%;
}
.cert-slider-track::-webkit-scrollbar {
  display: none;
}
.cert-slide-item {
  flex: 0 0 100%;
  min-width: 100%;
  width: 100%;
  box-sizing: border-box;
  scroll-snap-align: center;
  padding: 0 6px;
}
.cert-img-box {
  background-color: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
  padding: 28px 24px 22px;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}
.cert-img-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.12);
  border-color: #f7941d;
}
.cert-img-box img {
  height: 380px;
  max-height: 420px;
  width: 100%;
  object-fit: contain;
  margin-bottom: 16px;
  transition: transform 0.3s ease;
}
.cert-img-box:hover img {
  transform: scale(1.02);
}
.cert-caption {
  font-size: 1.05rem;
  font-weight: 700;
  color: #153243;
  margin-top: auto;
  line-height: 1.4;
}

/* Nav Arrows */
.cert-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 50%;
  color: #153243;
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.14);
  z-index: 10;
  transition: all 0.25s ease;
}
.cert-nav-btn:hover {
  background: #f7941d;
  color: #ffffff;
  border-color: #f7941d;
  box-shadow: 0 6px 20px rgba(247, 148, 29, 0.45);
}
.cert-prev {
  left: -65px;
}
.cert-next {
  right: -65px;
}
@media (max-width: 768px) {
  .cert-slider-wrapper {
    max-width: 90%;
  }
  .cert-img-box img {
    height: 300px;
  }
  .cert-prev { left: 8px; background: rgba(255, 255, 255, 0.9); }
  .cert-next { right: 8px; background: rgba(255, 255, 255, 0.9); }
}

/* Dots */
.cert-slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 15px;
}
.cert-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e1;
  cursor: pointer;
  transition: all 0.25s ease;
}
.cert-dot.active {
  background: #f7941d;
  width: 26px;
  border-radius: 10px;
}

/* Lightbox Modal */
.cert-modal-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.85);
  z-index: 3000;
  align-items: center;
  justify-content: center;
  padding: 24px;
  backdrop-filter: blur(5px);
}
.cert-modal-lightbox.active {
  display: flex;
}
.cert-modal-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cert-modal-content img {
  max-height: 75vh;
  max-width: 85vw;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  background: #ffffff;
  padding: 8px;
}
.cert-modal-close {
  position: absolute;
  top: -42px;
  right: -10px;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 2.4rem;
  cursor: pointer;
  line-height: 1;
}


/* ==========================================================================
   PRODUCTION PROCESS PAGE (Exact marelsp.com layout)
   ========================================================================== */

.prod-hero-banner {
  background: linear-gradient(135deg, #153243 0%, #2b4c7e 100%);
  padding: 60px 0;
  text-align: center;
  color: #ffffff;
}
.prod-hero-title {
  font-family: var(--font-heading);
  font-size: 50px;
  font-weight: 600;
  color: #ffffff;
  text-transform: lowercase;
  line-height: 1.4;
}

.prod-main-section {
  padding: 80px 0;
  background-color: #ffffff;
}
.prod-section-heading {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 600;
  color: var(--primary);
  text-transform: lowercase;
  line-height: 1.3;
}

.prod-step-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 70px;
}
.prod-step-col-text {
  display: flex;
  align-items: center;
}
.prod-step-paragraph {
  font-size: 1.12rem;
  font-weight: 400;
  color: #555555;
  line-height: 1.85;
}
.prod-step-col-media {
  display: flex;
  justify-content: center;
}
.prod-figure {
  margin: 0;
  text-align: center;
  max-width: 480px;
  width: 100%;
}
.prod-step-image {
  width: 100%;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
}
.prod-image-caption {
  font-size: 1rem;
  font-weight: 600;
  color: #555555;
  margin-top: 10px;
}

/* Machine Support */
.machine-support-wrap {
  margin-top: 100px;
  text-align: center;
}
.machine-support-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}
.machine-support-subtitle {
  font-size: 1.05rem;
  font-weight: 400;
  color: #555555;
  max-width: 780px;
  margin: 0 auto 50px auto;
  line-height: 1.7;
}

.machine-support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  text-align: center;
}
.machine-support-card {
  background-color: #ffffff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.machine-support-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.machine-card-figure img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}
.machine-card-body {
  padding: 18px;
}
.machine-card-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
}

/* ==========================================================================
   FOOTER (Exact marelsp.com Structure & Colors)
   ========================================================================== */

.site-footer {
  background-color: var(--footer-bg);
  color: #ffffff;
  padding: 65px 0 60px 0;
}
.footer-primary-wrap {
  width: 100%;
}
.footer-columns-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.footer-widget-title {
  color: #ffffff;
  margin: 0 0 15px 0;
  font-size: 28px;
  font-weight: bold;
}
.footer-title-bar {
  width: 60px;
  height: 4px;
  background: var(--accent-orange);
  margin-bottom: 25px;
}

.footer-link-item {
  color: #ffffff;
  text-decoration: none;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.5px;
  display: inline-block;
  transition: var(--transition);
}
.footer-link-item:hover {
  color: var(--accent);
  padding-left: 6px;
}

.footer-col-logo {
  display: flex;
  justify-content: center;
  align-items: center;
}
.footer-logo-img {
  width: 229px;
  height: auto;
  object-fit: contain;
}

.footer-social-icons {
  display: flex;
  align-items: center;
  gap: 18px;
}
.social-circle-btn {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  color: #ffffff;
  text-decoration: none;
  transition: var(--transition);
}
.social-circle-btn:hover {
  background: var(--accent-orange);
  transform: translateY(-3px);
}

/* ==========================================================================
   CATALOG & OTHER PAGES UTILITIES
   ========================================================================== */

.page-hero {
  position: relative;
  background: linear-gradient(135deg, #153243 0%, #2b4c7e 100%);
  color: #ffffff;
  padding: 70px 0 50px 0;
  text-align: center;
}
.page-hero-title {
  font-family: var(--font-heading);
  font-size: 50px;
  font-weight: 600;
  color: #ffffff;
  text-transform: lowercase;
  line-height: 1.4;
}
/* Filterable Gallery (Products matching marelsp.com) */
.eael-gallery-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.eael-tab-btn {
  font-family: var(--font-family);
  font-size: 15px;
  font-weight: 600;
  color: #555555;
  background: #ffffff;
  border: 1px solid #dcdcdc;
  padding: 10px 24px;
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: var(--transition);
}
.eael-tab-btn:hover {
  background: #f1f5f9;
}
.eael-tab-btn.active {
  background: #333333;
  color: #ffffff;
  border-color: #333333;
}
.eael-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.eael-gallery-item {
  transition: var(--transition);
}
.eael-item-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  background: #ffffff;
}
.eael-item-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.eael-item-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}
.eael-item-card:hover .eael-item-img {
  transform: scale(1.05);
}
.eael-item-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
  color: #ffffff;
}
.eael-item-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

/* Product Catalog */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.product-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}
.product-image-wrap {
  position: relative;
  height: 220px;
  background-color: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 16px;
}
.product-image-wrap img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}
.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--accent);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-xs);
  text-transform: uppercase;
}
.product-body {
  padding: 18px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.product-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}
.product-price {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
}
.product-moq {
  font-size: 0.82rem;
  color: #64748b;
  margin-bottom: 14px;
}
.btn-quick-view {
  width: 100%;
  background-color: var(--primary);
  color: #ffffff;
  border: none;
  padding: 9px 16px;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: var(--transition);
}
.btn-quick-view:hover {
  background-color: var(--accent);
}

/* Modals */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.65);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.open {
  display: flex;
}
.modal-box {
  background-color: #ffffff;
  border-radius: var(--radius-md);
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  padding: 30px;
  box-shadow: var(--shadow-lg);
}
.modal-close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: #888888;
}

/* Article Cards */
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.article-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.article-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.article-cover {
  height: 200px;
  overflow: hidden;
  position: relative;
}
.article-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.article-cat-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--accent);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-xs);
}
.article-body {
  padding: 22px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.article-meta {
  font-size: 0.82rem;
  color: #808285;
  margin-bottom: 8px;
}
.article-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}
.article-excerpt {
  font-size: 0.92rem;
  color: #555555;
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
}
.article-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent);
}

/* Career Cards */
.career-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
  transition: var(--transition);
}
.career-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
}
.career-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
}
.career-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.career-pill {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background-color: var(--bg-alt);
  color: var(--primary);
}
.career-desc {
  font-size: 0.98rem;
  color: #555555;
  line-height: 1.7;
  margin-bottom: 16px;
}
.career-lists {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
  font-size: 0.92rem;
}
.career-lists ul {
  padding-left: 20px;
  line-height: 1.7;
  color: #555555;
}
.btn-apply-modal {
  background-color: var(--accent);
  color: #ffffff;
  padding: 10px 22px;
  border-radius: var(--radius-xs);
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-family: var(--font-heading);
}

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
}
.contact-info-card, .contact-form-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}
.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
  align-items: flex-start;
}
.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: #fff3e8;
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.contact-label {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #808285;
  margin-bottom: 4px;
}
.contact-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.5;
}
.form-group {
  margin-bottom: 20px;
}
.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 6px;
}
.form-control {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-family);
  font-size: 0.95rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  outline: none;
}
.form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(246, 139, 45, 0.15);
}
textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

/* Alert Boxes */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius-xs);
  margin-bottom: 20px;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.alert-success {
  background-color: #d1fae5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}
.alert-danger {
  background-color: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: var(--radius-xs);
  text-decoration: none;
  transition: var(--transition);
}
.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
  padding: 12px 28px;
  border: 1px solid var(--primary);
}
.btn-accent {
  background-color: var(--accent);
  color: #ffffff;
  padding: 12px 28px;
  border: 1px solid var(--accent);
}
.btn-accent:hover {
  background-color: var(--accent-hover);
}
.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}
.btn-lg {
  padding: 14px 32px;
  font-size: 1.05rem;
}
.btn-whatsapp {
  background-color: #25D366;
  color: #ffffff;
  padding: 12px 24px;
}

/* ==========================================================================
   ADMIN CMS STYLES (High-End SaaS Aesthetic)
   ========================================================================== */

.admin-body {
  background-color: #f8fafc;
  color: #0f172a;
  font-family: var(--font-family);
  margin: 0;
  padding: 0;
}

.admin-layout {
  display: flex;
  min-height: 100vh;
  background-color: #f8fafc;
}

/* Sidebar */
.admin-sidebar {
  width: 260px;
  background-color: #0b1329;
  border-right: 1px solid #1e293b;
  color: #f8fafc;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

.admin-sidebar-header {
  padding: 16px 20px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.admin-brand-link {
  display: block;
  text-decoration: none;
}

.admin-logo-badge {
  background: #ffffff;
  padding: 8px 14px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease;
}

.admin-logo-badge:hover {
  transform: translateY(-1px);
}

.admin-logo-img {
  height: 32px;
  width: auto;
  object-fit: contain;
  display: block;
}

.admin-nav-section-title {
  font-size: 0.68rem;
  font-weight: 700;
  color: #64748b;
  letter-spacing: 0.08em;
  padding: 0 20px;
  margin: 12px 0 6px;
  text-transform: uppercase;
}

.admin-nav {
  padding: 0 12px;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex-grow: 1;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  margin: 0;
}

.admin-nav::-webkit-scrollbar {
  display: none;
}

.admin-nav-item a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 8px;
  color: #94a3b8;
  font-weight: 500;
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.15s ease;
  border: 1px solid transparent;
}

.admin-nav-item a:hover {
  background-color: #162447;
  color: #ffffff;
}

.admin-nav-item a.active {
  background-color: rgba(45, 74, 135, 0.4);
  color: #ffffff;
  border: 1px solid rgba(79, 117, 189, 0.4);
  font-weight: 600;
}

.admin-nav-item a.active .admin-nav-icon {
  color: #f7941d;
}

.admin-nav-icon {
  color: #64748b;
  flex-shrink: 0;
  transition: color 0.15s ease;
}

.admin-nav-item a:hover .admin-nav-icon {
  color: #f8fafc;
}

.admin-badge {
  margin-left: auto;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 10px;
  line-height: 1.2;
}

.admin-badge-warning {
  background: rgba(247, 148, 29, 0.18);
  color: #fba94b;
  border: 1px solid rgba(247, 148, 29, 0.35);
}

.admin-badge-danger {
  background: rgba(239, 68, 68, 0.18);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.35);
}

/* Admin Nav Submenu (WordPress style) */
.admin-nav-has-sub > a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.admin-nav-arrow {
  margin-left: auto;
  transition: transform 0.2s ease;
  color: #64748b;
}
.admin-nav-has-sub.open .admin-nav-arrow {
  transform: rotate(90deg);
  color: #f7941d;
}
.admin-nav-submenu {
  list-style: none;
  padding: 4px 0 6px 36px;
  margin: 0;
  display: none;
  flex-direction: column;
  gap: 2px;
}
.admin-nav-has-sub.open .admin-nav-submenu {
  display: flex;
}
.admin-nav-sub-item a {
  padding: 6px 12px;
  font-size: 0.8rem;
  color: #94a3b8;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.15s ease;
  border: 1px solid transparent;
}
.admin-nav-sub-item a:hover {
  color: #ffffff;
  background-color: #162447;
}
.admin-nav-sub-item a.active {
  color: #fba94b;
  font-weight: 600;
  background-color: rgba(247, 148, 29, 0.12);
  border-color: rgba(247, 148, 29, 0.25);
}
.admin-nav-sub-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: #64748b;
  flex-shrink: 0;
  transition: background-color 0.15s ease;
}
.admin-nav-sub-item a:hover .admin-nav-sub-dot,
.admin-nav-sub-item a.active .admin-nav-sub-dot {
  background-color: #f7941d;
}

.admin-sidebar-footer {
  padding: 16px 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.admin-logout-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  border: 1px solid #1e293b;
  color: #94a3b8;
  padding: 9px 14px;
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
}

.admin-logout-btn:hover {
  background: #1e293b;
  color: #f8fafc;
  border-color: #334155;
}

/* Main Area */
.admin-main {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.admin-topbar {
  background: #ffffff;
  height: 64px;
  border-bottom: 1px solid #e2e8f0;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 10;
}

.admin-topbar-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.01em;
}

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

.admin-btn-preview {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #475569;
  font-size: 0.82rem;
  font-weight: 500;
  padding: 7px 13px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.15s ease;
}

.admin-btn-preview:hover {
  background: #f8fafc;
  color: #0f172a;
  border-color: #cbd5e1;
}

.admin-user-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 10px 4px 4px;
  border-radius: 20px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.admin-user-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #2d4a87;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.78rem;
}

.admin-user-info {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.admin-user-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: #0f172a;
}

.admin-user-role {
  font-size: 0.68rem;
  color: #64748b;
  font-weight: 500;
}

.admin-content {
  padding: 30px 32px;
  flex-grow: 1;
}

/* Alerts */
.admin-alert {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-radius: 8px;
  margin-bottom: 24px;
  font-size: 0.9rem;
  font-weight: 500;
}

.admin-alert-success {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
}

.admin-alert-success .admin-alert-icon {
  color: #16a34a;
}

.admin-alert-danger {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.admin-alert-danger .admin-alert-icon {
  color: #dc2626;
}

.admin-alert-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.admin-alert-text {
  flex-grow: 1;
}

/* Table Cards */
.admin-table-card {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
  overflow: hidden;
}

.admin-table-header {
  padding: 18px 24px;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  background: #ffffff;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.admin-table th {
  background-color: #f8fafc;
  padding: 13px 20px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #64748b;
  letter-spacing: 0.05em;
  border-bottom: 1px solid #e2e8f0;
}

.admin-table td {
  padding: 16px 20px;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.88rem;
  vertical-align: middle;
}

.admin-table tr:hover td {
  background-color: #fafbfc;
}

.admin-table-primary-text {
  font-weight: 600;
  color: #0f172a;
  font-size: 0.92rem;
  margin-bottom: 3px;
}

.admin-table-sub-text {
  font-size: 0.78rem;
  color: #64748b;
}

/* Badges & Chips */
.admin-chip {
  background: #f1f5f9;
  color: #334155;
  font-size: 0.78rem;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  display: inline-block;
}

.admin-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.admin-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: currentColor;
}

.admin-status-active {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
}

.admin-status-closed {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

/* Action Buttons */
.admin-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #2d4a87;
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid #2d4a87;
  transition: all 0.15s ease;
  cursor: pointer;
}

.admin-btn-primary:hover {
  background: #223a6b;
  border-color: #223a6b;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(45, 74, 135, 0.25);
}

.admin-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #ffffff;
  color: #334155;
  padding: 8px 15px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid #cbd5e1;
  transition: all 0.15s ease;
  cursor: pointer;
}

.admin-btn-secondary:hover {
  background: #f8fafc;
  color: #0f172a;
  border-color: #94a3b8;
}

.admin-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 11px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.15s ease;
  cursor: pointer;
  line-height: 1;
}

.admin-action-edit {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #334155;
}

.admin-action-edit:hover {
  background: #f1f5f9;
  color: #0f172a;
  border-color: #94a3b8;
}

.admin-action-delete {
  background: #fff5f5;
  border: 1px solid #fee2e2;
  color: #dc2626;
}

.admin-action-delete:hover {
  background: #fee2e2;
  border-color: #fca5a5;
  color: #b91c1c;
}

/* KPI Grid */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}

.kpi-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 22px 24px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  display: flex;
  align-items: center;
  gap: 18px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.kpi-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.kpi-icon {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.kpi-num {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.1;
}

.kpi-label {
  font-size: 0.85rem;
  color: #64748b;
  font-weight: 500;
  margin-top: 3px;
}

/* ==========================================================================
   SHARED PAGE HERO & BREADCRUMBS
   ========================================================================== */

.page-hero {
  position: relative;
  min-height: 320px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  padding: 90px 20px 80px;
  text-align: center;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(21, 50, 67, 0.88) 0%, rgba(49, 82, 141, 0.85) 100%);
  z-index: 1;
}
.page-hero .container {
  position: relative;
  z-index: 2;
  max-width: 900px;
}
.page-hero-title {
  font-family: var(--font-heading);
  font-size: 50px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 12px;
  text-transform: lowercase;
  line-height: 1.4;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
.page-hero-desc {
  font-size: 1.15rem;
  max-width: 700px;
  margin: 0 auto 18px;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.6;
}
.breadcrumbs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 18px;
}
.breadcrumbs a {
  color: #f7941d;
  font-weight: 600;
}
.breadcrumbs a:hover {
  text-decoration: underline;
}

/* Section Wrapper */
.section {
  padding: 60px 0;
  background: var(--bg-alt);
}
.section-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #f7941d;
  margin-bottom: 8px;
}
.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 16px;
}

/* ==========================================================================
   BUTTONS & ALERTS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
  border: 1.5px solid transparent;
  font-family: var(--font-family);
  line-height: 1.4;
}
.btn-sm {
  padding: 7px 15px;
  font-size: 0.85rem;
}
.btn-lg {
  padding: 14px 28px;
  font-size: 1.05rem;
}
.btn-primary {
  background: var(--header-bg);
  color: #ffffff !important;
  border-color: var(--header-bg);
}
.btn-primary:hover {
  background: #233e6d;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(49, 82, 141, 0.35);
}
.btn-secondary {
  background: #31528d;
  color: #ffffff !important;
  border-color: #31528d;
}
.btn-secondary:hover {
  background: #203a67;
  transform: translateY(-2px);
}
.btn-accent {
  background: linear-gradient(135deg, #f7941d 0%, #e97816 100%);
  color: #ffffff !important;
  border: none;
  box-shadow: 0 4px 15px rgba(247, 148, 29, 0.35);
}
.btn-accent:hover {
  background: linear-gradient(135deg, #ff9e2b 0%, #f68b2d 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(247, 148, 29, 0.5);
}
.btn-outline {
  background: transparent;
  color: #31528d !important;
  border-color: #cbd5e1;
}
.btn-outline:hover {
  background: #f8fafc;
  border-color: #31528d;
}
.btn-outline-white {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(4px);
}
.btn-outline-white:hover {
  background: #ffffff;
  color: #153243 !important;
  border-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.alert {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  font-weight: 600;
  font-size: 0.95rem;
}
.alert-success {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #86efac;
}
.alert-danger {
  background: #fee2e2;
  color: #b91c1c;
  border: 1px solid #f87171;
}

/* ==========================================================================
   CAREER PAGE STYLING
   ========================================================================== */

.career-cta-card {
  background: linear-gradient(135deg, #153243 0%, #31528d 100%);
  color: #ffffff;
  padding: 50px 40px;
  border-radius: var(--radius-xl);
  text-align: center;
  margin-top: 20px;
  margin-bottom: 55px;
  position: relative;
  z-index: 10;
  box-shadow: 0 16px 36px rgba(21, 50, 67, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.career-cta-card h2 {
  font-size: 2.2rem;
  color: #ffffff;
  margin: 12px 0 16px;
  font-weight: 800;
  line-height: 1.3;
}
.career-cta-card p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.92);
  max-width: 680px;
  margin: 0 auto 30px auto;
  line-height: 1.7;
}
.career-cta-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.career-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  padding: 32px;
  margin-bottom: 24px;
  transition: all 0.25s ease;
}
.career-card:hover {
  border-color: #cbd5e1;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.career-empty-state {
  padding: 48px 24px;
  margin-bottom: 24px;
  border: 1px dashed #cbd5e1;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  text-align: center;
}
.career-empty-icon {
  display: block;
  margin-bottom: 12px;
  font-size: 2rem;
}
.career-empty-state h4 {
  margin-bottom: 8px;
  color: var(--primary);
  font-size: 1.15rem;
}
.career-empty-state p {
  max-width: 560px;
  margin: 0 auto 18px;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}
.career-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.career-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 10px;
}
.career-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.career-pill {
  background: #f1f5f9;
  color: #475569;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 6px;
}
.career-desc {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 22px;
}
.career-lists {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  background: #f8fafc;
  padding: 22px;
  border-radius: var(--radius-md);
  margin-bottom: 22px;
  border: 1px solid #f1f5f9;
}
.career-lists h5 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}
.career-lists ul {
  padding-left: 20px;
  font-size: 0.88rem;
  color: #555555;
  line-height: 1.6;
}

/* Modals */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(4px);
}
.modal-overlay.active {
  display: flex;
}
.modal-box {
  background: #ffffff;
  border-radius: 16px;
  width: 100%;
  max-width: 600px;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  animation: modalFadeIn 0.25s ease;
  overflow: hidden;
}
@keyframes modalFadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: #64748b;
  cursor: pointer;
  line-height: 1;
}
.modal-close:hover {
  color: #1e293b;
}

.form-group {
  margin-bottom: 18px;
}
.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 6px;
}
.form-control {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-control:focus {
  outline: none;
  border-color: #31528d;
  box-shadow: 0 0 0 3px rgba(49, 82, 141, 0.15);
}

/* ==========================================================================
   CONTACT & BLOG ARTICLES STYLING
   ========================================================================== */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.contact-info-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}
.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 22px;
}
.contact-icon {
  font-size: 1.5rem;
  width: 48px;
  height: 48px;
  background: #f1f5f9;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
}
.article-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.article-cover {
  height: 210px;
  background: #f1f5f9;
  overflow: hidden;
}
.article-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.article-card:hover .article-cover img {
  transform: scale(1.05);
}
.article-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.article-meta {
  display: flex;
  gap: 12px;
  font-size: 0.82rem;
  color: #64748b;
  margin-bottom: 8px;
  font-weight: 600;
}
.article-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 10px;
  line-height: 1.4;
}
.article-excerpt {
  font-size: 0.92rem;
  color: #555555;
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */


@media (max-width: 1024px) {
  .main-navigation { display: none; }
  .menu-toggle { display: block; }
  .mobile-drawer { display: flex; }
  .service-grid { grid-template-columns: 1fr; }
  .company-intro-split { grid-template-columns: 1fr; gap: 30px; }
  .live-products-grid { grid-template-columns: repeat(2, 1fr); }
  .certificates-live-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-columns-grid { grid-template-columns: 1fr; gap: 40px; }
  .prod-step-row { grid-template-columns: 1fr; gap: 30px; }
  .machine-support-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-layout { grid-template-columns: 1fr; }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
  .admin-sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 1050;
    transform: translateX(-100%);
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.4);
    display: flex !important;
  }
  .admin-sidebar.mobile-open {
    transform: translateX(0);
  }
  .admin-topbar {
    padding: 0 16px;
  }
  .admin-content {
    padding: 16px;
  }
}

@media (max-width: 640px) {
  .hero-marel-title { font-size: 2.2rem; }
  .prod-hero-title { font-size: 2.2rem; }
  .live-products-grid { grid-template-columns: 1fr; }
  .certificates-live-grid { grid-template-columns: 1fr; }
  .machine-support-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .kpi-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   PAGINATION STYLING
   ========================================================================== */

nav[role="navigation"] svg {
  width: 18px !important;
  height: 18px !important;
  max-width: 18px !important;
  max-height: 18px !important;
  display: inline-block !important;
  vertical-align: middle !important;
}

.marel-pagination-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
  margin: 30px 0 10px;
}

.marel-pagination-info {
  font-size: 0.9rem;
  color: #64748b;
  text-align: center;
}
.marel-pagination-info strong {
  color: #1e293b;
  font-weight: 700;
}

.marel-pagination-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  list-style: none;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
}

.marel-pagination-list .page-item {
  display: inline-block;
}

.marel-pagination-list .page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background-color: #ffffff;
  color: #1e293b;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  line-height: 1;
}

.marel-pagination-list .page-link:hover {
  background-color: #f1f5f9;
  border-color: #94a3b8;
  color: #2d4a87;
  transform: translateY(-1px);
}

.marel-pagination-list .page-item.active .page-link {
  background-color: #2d4a87;
  border-color: #2d4a87;
  color: #ffffff !important;
  box-shadow: 0 4px 10px rgba(45, 74, 135, 0.3);
}

.marel-pagination-list .page-item.disabled .page-link {
  background-color: #f8fafc;
  border-color: #e2e8f0;
  color: #94a3b8;
  cursor: not-allowed;
  pointer-events: none;
}
