/* ============================================================
   VB PLASTO INDUSTRIES — Premium Industrial Design System
   Aesthetic: Industrial Luxury meets Precision Engineering
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=DM+Sans:ital,wght@0,400;0,500;0,700;1,400&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --brand-primary: #0A2E5C;
  --brand-secondary: #da251c;
  --brand-accent: #00B4D8;
  --brand-dark: #060E1A;
  --brand-light: #F0F4F8;
  --surface-white: #FFFFFF;
  --surface-off: #F7F9FC;
  --surface-card: #FFFFFF;
  --text-primary: #0A1628;
  --text-secondary: #4A5568;
  --text-muted: #8896A6;
  --text-inverse: #FFFFFF;
  --border-light: rgba(10, 46, 92, 0.08);
  --border-medium: rgba(10, 46, 92, 0.15);
  --success: #10B981;
  --warning: #da251c;
  --danger: #da251c;
  --font-display: 'Outfit', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 1px 3px rgba(6,14,26,0.06), 0 1px 2px rgba(6,14,26,0.04);
  --shadow-md: 0 4px 20px rgba(6,14,26,0.08);
  --shadow-lg: 0 12px 40px rgba(6,14,26,0.12);
  --shadow-xl: 0 20px 60px rgba(6,14,26,0.16);
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font-body); color: var(--text-primary); background: var(--surface-white); line-height: 1.7; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--transition-fast); }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); font-weight: 700; line-height: 1.2; }

/* ---- UTILITY ---- */
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section-sm { padding: 60px 0; }
.text-center { text-align: center; }
.text-brand { color: var(--brand-secondary); }
.text-accent { color: var(--brand-accent); }
.text-muted { color: var(--text-muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ---- SECTION HEADERS ---- */
.section-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; background: rgba(232, 116, 12, 0.08); border: 1px solid rgba(232, 116, 12, 0.2); border-radius: 100px; font-family: var(--font-mono); font-size: 12px; font-weight: 500; color: var(--brand-secondary); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 20px; }
.section-badge::before { content: ''; width: 6px; height: 6px; background: var(--brand-secondary); border-radius: 50%; animation: pulse-dot 2s infinite; }
@keyframes pulse-dot { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
.section-title { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800; color: var(--brand-primary); margin-bottom: 16px; letter-spacing: -0.02em; }
.section-subtitle { font-size: 1.125rem; color: var(--text-secondary); max-width: 640px; line-height: 1.8; }
.section-subtitle.centered { margin: 0 auto; }

/* ---- BUTTONS ---- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 32px; border-radius: var(--radius-md); font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; cursor: pointer; border: 2px solid transparent; transition: all var(--transition-smooth); position: relative; overflow: hidden; }
.btn::after { content: ''; position: absolute; top: 50%; left: 50%; width: 0; height: 0; background: rgba(255,255,255,0.15); border-radius: 50%; transform: translate(-50%, -50%); transition: width 0.6s, height 0.6s; }
.btn:hover::after { width: 300px; height: 300px; }
.btn-primary { background: var(--brand-secondary); color: var(--text-inverse); }
.btn-primary:hover { background: #da251c; transform: translateY(-2px); box-shadow: 0 8px 30px rgba(232,116,12,0.3); }
.btn-secondary { background: transparent; color: var(--brand-primary); border-color: var(--brand-primary); }
.btn-secondary:hover { background: var(--brand-primary); color: var(--text-inverse); transform: translateY(-2px); }
.btn-white { background: var(--surface-white); color: var(--brand-primary); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-ghost { background: rgba(255,255,255,0.1); color: var(--text-inverse); border-color: rgba(255,255,255,0.3); backdrop-filter: blur(10px); }
.btn-ghost:hover { background: rgba(255,255,255,0.2); border-color: rgba(255,255,255,0.5); }
.btn-icon { width: 48px; height: 48px; padding: 0; justify-content: center; border-radius: 50%; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ---- NAVBAR ---- */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 16px 0; transition: all var(--transition-smooth); }
.navbar.scrolled { background: rgba(255,255,255,0.95); backdrop-filter: blur(20px); box-shadow: var(--shadow-sm); padding: 10px 0; }
.navbar .container { display: flex; align-items: center; justify-content: space-between; }
.navbar-logo { display: flex; align-items: center; gap: 12px; }
.navbar-logo .logo-icon { width: 44px; height: 44px; background: var(--brand-secondary); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 900; font-size: 1.1rem; color: white; }
.navbar-logo .logo-text { font-family: var(--font-display); font-weight: 700; font-size: 1rem; }
.navbar-logo .logo-text span { color: var(--brand-secondary); }
.navbar:not(.scrolled) .navbar-logo .logo-text { color: white; }
.navbar.scrolled .navbar-logo .logo-text { color: var(--brand-primary); }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { padding: 8px 18px; font-family: var(--font-display); font-weight: 500; font-size: 0.9rem; border-radius: var(--radius-sm); transition: all var(--transition-fast); }
.navbar:not(.scrolled) .nav-links a { color: rgba(255,255,255,0.85); }
.navbar:not(.scrolled) .nav-links a:hover, .navbar:not(.scrolled) .nav-links a.active { color: white; background: rgba(255,255,255,0.12); }
.navbar.scrolled .nav-links a { color: var(--text-secondary); }
.navbar.scrolled .nav-links a:hover, .navbar.scrolled .nav-links a.active { color: var(--brand-primary); background: var(--surface-off); }
.nav-cta { margin-left: 12px; }
.navbar:not(.scrolled) .nav-cta .btn { background: var(--brand-secondary); color: white; }
.navbar.scrolled .nav-cta .btn { background: var(--brand-secondary); color: white; }
.mobile-toggle { display: none; width: 40px; height: 40px; background: none; border: none; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.mobile-toggle span { width: 24px; height: 2px; border-radius: 2px; transition: all var(--transition-fast); }
.navbar:not(.scrolled) .mobile-toggle span { background: white; }
.navbar.scrolled .mobile-toggle span { background: var(--brand-primary); }
.mobile-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.logo-text {
  font-size: 18px;
  font-weight: 600;
  color: #333;
}

.logo-text span {
  color: #007bff;
}

/* ---- HERO ---- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }

.hero-bg { 
  position: absolute; 
  inset: 0; 
  z-index: 0; 
  background: url("../images/machine.jpg") center center / cover no-repeat;}
.hero-bg::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(6,14,26,0.92) 0%, rgba(10,46,92,0.85) 50%, rgba(6,14,26,0.9) 100%); z-index: 1; }
.hero-bg-grid { position: absolute; inset: 0; z-index: 2; opacity: 0.04; background-image: linear-gradient(rgba(255,255,255,0.5) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.5) 1px, transparent 1px); background-size: 60px 60px; }
.hero-bg-pattern { position: absolute; right: -100px; top: -100px; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(232,116,12,0.15) 0%, transparent 70%); z-index: 2; }

.hero-content { position: relative; z-index: 3; padding: 140px 0 100px; }

.hero-label { display: inline-flex; align-items: center; gap: 10px; padding: 8px 20px; background: rgba(232,116,12,0.15); border: 1px solid rgba(232,116,12,0.3); border-radius: 100px; font-family: var(--font-mono); font-size: 12px; color: var(--brand-secondary); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 32px; animation: fadeInUp 0.8s ease; }

.hero-title { font-size: clamp(2.5rem, 5.5vw, 4.2rem); font-weight: 900; color: white; line-height: 1.1; margin-bottom: 24px; letter-spacing: -0.03em; max-width: 800px; animation: fadeInUp 0.8s ease 0.15s both; }

.hero-title .highlight { background: linear-gradient(135deg, var(--brand-secondary), #da251c); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.hero-desc { font-size: 1.2rem; color: rgba(255,255,255,0.7); max-width: 560px; line-height: 1.8; margin-bottom: 40px; animation: fadeInUp 0.8s ease 0.3s both; }

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; animation: fadeInUp 0.8s ease 0.45s both; }

.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 80px; padding-top: 40px; border-top: 1px solid rgba(255,255,255,0.1); animation: fadeInUp 0.8s ease 0.6s both; }

.hero-stat { text-align: center; padding: 0 20px; border-right: 1px solid rgba(255,255,255,0.08); }

.hero-stat:last-child { border: none; }

.hero-stat .stat-number { font-family: var(--font-display); font-size: 2.5rem; font-weight: 800; color: var(--brand-secondary); line-height: 1; }

.hero-stat .stat-label { font-size: 0.8rem; color: rgba(255,255,255,0.5); margin-top: 8px; text-transform: uppercase; letter-spacing: 1px; }

@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInLeft { from { opacity: 0; transform: translateX(-30px); } to { opacity: 1; transform: translateX(0); } }
@keyframes fadeInRight { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: translateX(0); } }

/* ---- CAPABILITY CARDS ---- */
.capabilities-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 48px; }
.capability-card { background: var(--surface-white); border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: 36px 28px; transition: all var(--transition-smooth); position: relative; overflow: hidden; }
.capability-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--brand-secondary); transform: scaleX(0); transform-origin: left; transition: transform var(--transition-smooth); }
.capability-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(232,116,12,0.2); }
.capability-card:hover::before { transform: scaleX(1); }
.capability-icon { width: 56px; height: 56px; background: rgba(232,116,12,0.08); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; color: var(--brand-secondary); }
.capability-icon svg { width: 28px; height: 28px; }
.capability-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; color: var(--brand-primary); }
.capability-card p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.7; }
.capability-icon{
  width: 100%;
  height: 220px;
  background: rgba(232,116,12,0.08);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 20px;
  position: relative;
}
.capability-icon img{
  width: 100%;
  height:100%;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.6s ease;
}

.capability-card:hover .capability-icon img{
  transform: scale(1.1);
  filter: brightness(1.2);
}
/*Content*/
.capability-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 24px 24px 10px;
  color: var(--brand-primary);
}

.capability-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
  padding: 0 24px 28px;
}

/* ---- STATS BAR ---- */
.stats-bar { background: var(--brand-primary); padding: 60px 0; position: relative; overflow: hidden; }
.stats-bar::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, transparent 0%, rgba(232,116,12,0.05) 100%); }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 32px; position: relative; }
.stat-item { text-align: center; }
.stat-item .number { font-family: var(--font-display); font-size: 2.8rem; font-weight: 800; color: var(--brand-secondary); line-height: 1; margin-bottom: 8px; }
.stat-item .label { font-size: 0.85rem; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 1px; }

/* ---- INDUSTRIES ---- */
.industries-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:20px;
  margin-top:48px;
}

/* Center last 3 items */
.industries-grid .industry-chip:nth-child(5){
  grid-column: 2;
}

.industries-grid .industry-chip:nth-child(6){
  grid-column: 3;
}

.industries-grid .industry-chip:nth-child(7){
  grid-column: 4;
}

/* move second row slightly left */
.industries-grid .industry-chip:nth-child(5),
.industries-grid .industry-chip:nth-child(6),
.industries-grid .industry-chip:nth-child(7){
  transform: translateX(-95px);
}

.industry-chip{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:12px;
  padding:28px 16px;
  background:var(--surface-white);
  border:1px solid var(--border-light);
  border-radius:var(--radius-lg);
  transition:all var(--transition-smooth);
  cursor:default;
}

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

.industry-chip .icon{
  width:48px;
  height:48px;
  background:linear-gradient(
    135deg,
    var(--brand-primary),
    var(--brand-accent)
  );
  border-radius:var(--radius-md);
  display:flex;
  align-items:center;
  justify-content:center;
  color:white;
}

.industry-chip .icon svg{
  width:24px;
  height:24px;
}

.industry-chip span{
  font-family:var(--font-display);
  font-weight:600;
  font-size:0.85rem;
  color:var(--text-primary);
  text-align:center;
}



/* ---- QUALITY / ABOUT CARDS ---- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 48px;
}

.about-image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* animated overlay */
.about-image::before{
  content:'';
  position:absolute;
  inset:0;

  background:
    linear-gradient(
      135deg,
      rgba(255,255,255,0.08),
      transparent
    );

  transition:
    transform 0.7s ease,
    opacity 0.7s ease;
}

/* hover movement */
.about-image:hover::before{
  transform: scale(1.15) translate(30px,-30px);
  opacity: 0.9;
}

/* content animation */
.about-image > div{
  position: relative;
  z-index: 2;
  transition: transform 0.5s ease;
}

.about-image:hover > div{
  transform: scale(1.05);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: none;
  opacity: 1;
  transform: translateZ(0);
  backface-visibility: hidden;
  image-rendering: auto;
}

/* REMOVE DARK OVERLAY */
.about-image::after {
  display: none;
}

/* YEAR CARD */
.year-card{
  position: relative;
  width: 100%;
  height: 100%;
  background: url("../images/building.jpeg") center center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.year-overlay{
  position: absolute;
  inset: 0;
}

.year-content{
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 16px;
}

.year-number{
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 900;
  color: rgba(245, 247, 250, 0.78);
  line-height: 1;
}

.year-text{
  color: rgba(240, 242, 243, 0.91);
  font-size: 0.9rem;
  font-family: var(--font-mono);
  letter-spacing: 3px;
}

/* TOOL ROOM IMAGE CARD */
.toolroom-card{
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background:
    url("../images/tool room.png") center center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* animated overlay */
.toolroom-overlay{
  position: absolute;
  inset: 0;
  transition:
    transform 0.6s ease,
    opacity 0.6s ease;
}

/* move gradient on hover */
.toolroom-card:hover .toolroom-overlay{
  transform: translateX(40px) translateY(-40px) scale(1.15);
  opacity: 0.9;
}

.toolroom-content{
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: transform 0.5s ease;
}

/* slight zoom content */
.toolroom-card:hover .toolroom-content{
  transform: scale(1.05);
}

.toolroom-text{
  color: rgba(255, 255, 255, 0.95);
  font-weight: 500;
  font-family: var(--font-mono);
  font-size: 1rem;
  letter-spacing: 3px;
}

/* Optional quality text */
.about-image .quality-text {
  position: absolute;
  bottom: 20px;
  left: 20px;
  z-index: 2;
  color: rgba(255,255,255,0.85);
  font-size: 0.85rem;
  font-family: var(--font-mono);
  letter-spacing: 2px;
}

/* Badge */
.about-image .badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: var(--brand-secondary);
  color: white;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  z-index: 2;
}

.about-image .badge span {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  opacity: 0.8;
}
.about-content h2 { font-size: 2.2rem; color: var(--brand-primary); margin-bottom: 16px; }
.about-content p { color: var(--text-secondary); margin-bottom: 16px; line-height: 1.8; }
.about-features { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.about-feature { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: var(--surface-off); border-radius: var(--radius-md); }
.about-feature .check { width: 24px; height: 24px; background: var(--success); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.about-feature .check svg { width: 14px; height: 14px; color: white; }
.about-feature span { font-size: 0.9rem; font-weight: 500; }

/* ---- MACHINE TABLE ---- */
.machine-table { width: 100%; border-collapse: separate; border-spacing: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); margin-top: 32px; }
.machine-table thead th { background: var(--brand-primary); color: white; padding: 16px 20px; font-family: var(--font-display); font-weight: 600; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; text-align: left; }
.machine-table tbody td { padding: 14px 20px; border-bottom: 1px solid var(--border-light); font-size: 0.9rem; }
.machine-table tbody tr:last-child td { border-bottom: none; }
.machine-table tbody tr:hover { background: rgba(232,116,12,0.04); }
.machine-table tbody tr:nth-child(even) { background: var(--surface-off); }

/* ---- PRODUCT CARDS ---- */
.products-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; margin-top: 48px; }
.product-card { background: var(--surface-white); border: 1px solid var(--border-light); border-radius: var(--radius-xl); overflow: hidden; transition: all var(--transition-smooth); }
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); }
.product-card .card-image{
    height:350px;
    overflow:hidden;
    border-radius:20px 20px 0 0; /* Top corners */
    background:#fff;
}

.product-card .card-image img{
    width:100%;
    height:100%;
    object-fit:contain; /* or cover */
    display:block;
    border-radius:20px 20px 0 0;
    transition:transform .6s ease;
}

.product-card:hover .card-image img{
    transform:scale(1.05);
}
.product-card .card-image::after { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='g' width='60' height='60' patternUnits='userSpaceOnUse'%3E%3Cpath d='M30 0v60M0 30h60' stroke='rgba(255,255,255,0.04)' stroke-width='1'/%3E%3C/pattern%3E%3C/defs%3E%3Crect fill='url(%23g)' width='100%25' height='100%25'/%3E%3C/svg%3E"); }
.product-card .card-image .product-icon { width: 80px; height: 80px; background: rgba(255,255,255,0.1); border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center; color: white; z-index: 1; backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.15); }
.product-card .card-image .product-icon svg { width: 40px; height: 40px; }
.product-card .card-body { padding: 28px; }
.product-card .card-body h3 { font-size: 1.15rem; font-weight: 700; color: var(--brand-primary); margin-bottom: 10px; }
.product-card .card-body p { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 16px; }
.product-card .card-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.product-card .card-tag { padding: 4px 12px; background: var(--surface-off); border-radius: 100px; font-size: 0.75rem; font-weight: 500; color: var(--brand-primary); }

/* ---- QUALITY INSTRUMENTS ---- */
.instruments-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 32px; }
.instrument-item { display: flex; align-items: center; gap: 12px; padding: 16px 20px; background: var(--surface-white); border: 1px solid var(--border-light); border-radius: var(--radius-md); transition: all var(--transition-fast); }
.instrument-item:hover { border-color: var(--brand-secondary); background: rgba(232,116,12,0.02); }
.instrument-dot { width: 8px; height: 8px; background: var(--brand-secondary); border-radius: 50%; flex-shrink: 0; }
.instrument-item span { font-size: 0.88rem; font-weight: 500; }

/* ---- LEADERSHIP ---- */
.leadership-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 32px; margin-top: 48px; }
.leader-card { background: var(--surface-white); border: 1px solid var(--border-light); border-radius: var(--radius-xl); padding: 36px; text-align: center; transition: all var(--transition-smooth); }
.leader-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.leader-avatar { width: 100px;height: 100px; border-radius: 50%; background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent)); display: flex; align-items: center; justify-content: center; margin: 0 auto 20px;font-family: var(--font-display);font-size: 2rem;font-weight: 800;color: white;
}
.leader-avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px;
  border: 4px solid rgba(11, 129, 240, 0.75);
  box-shadow: var(--shadow-md);
}

.leader-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.leader-card h3 { font-size: 1.2rem; color: var(--brand-primary); margin-bottom: 4px; }
.leader-card .role { font-size: 0.85rem; color: var(--brand-secondary); font-weight: 600; margin-bottom: 12px; }
.leader-card p { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.7; }

/* ---- CTA SECTION ---- */
.cta-section { background: linear-gradient(135deg, var(--brand-primary) 0%, #0D3A73 50%, var(--brand-dark) 100%); padding: 100px 0; position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='g' width='60' height='60' patternUnits='userSpaceOnUse'%3E%3Cpath d='M30 0v60M0 30h60' stroke='rgba(255,255,255,0.03)' stroke-width='1'/%3E%3C/pattern%3E%3C/defs%3E%3Crect fill='url(%23g)' width='100%25' height='100%25'/%3E%3C/svg%3E"); }
.cta-section .container { position: relative; text-align: center; }
.cta-section h2 { font-size: clamp(2rem, 4vw, 3rem); color: white; margin-bottom: 16px; }
.cta-section p { font-size: 1.1rem; color: rgba(255,255,255,0.65); max-width: 560px; margin: 0 auto 40px; }
.cta-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ---- CONTACT FORM ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 48px; }
.contact-form { background: var(--surface-white); border: 1px solid var(--border-light); border-radius: var(--radius-xl); padding: 40px; box-shadow: var(--shadow-md); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-family: var(--font-display); font-weight: 600; font-size: 0.85rem; color: var(--text-primary); margin-bottom: 6px; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 12px 16px; border: 1.5px solid var(--border-medium); border-radius: var(--radius-md); font-family: var(--font-body); font-size: 0.9rem; color: var(--text-primary); background: var(--surface-off); transition: all var(--transition-fast); }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--brand-secondary); background: white; box-shadow: 0 0 0 4px rgba(232,116,12,0.1); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-info-card { background: var(--surface-off); border-radius: var(--radius-lg); padding: 28px; border: 1px solid var(--border-light); }
.contact-info-card .info-icon { width: 44px; height: 44px; background: var(--brand-primary); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; color: white; margin-bottom: 12px; }
.contact-info-card h3 { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 4px; text-transform: uppercase; letter-spacing: 1px; }
.contact-info-card p { font-size: 1rem; font-weight: 600; color: var(--brand-primary); }
.contact-info-card a { color: var(--brand-secondary); font-weight: 600; }
.contact-info-card a:hover { text-decoration: underline; }

/* ---- FOOTER ---- */
.footer {
  background: var(--brand-dark);
  padding: 80px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
}

.footer-about .logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-about .logo .logo-icon {
  width: 40px;
  height: 40px;
  background: var(--brand-secondary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1rem;
  color: white;
}

.footer-about .logo span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: white;
}

.footer-about p {
  color: rgba(255,255,255,0.5);
  font-size: 0.88rem;
  line-height: 1.8;
}

.footer h4 {
  color: white;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.footer-links a {
  display: block;
  color: rgba(255,255,255,0.5);
  font-size: 0.88rem;
  padding: 6px 0;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--brand-secondary);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
  color: rgba(255,255,255,0.5);
  font-size: 0.88rem;
  line-height: 1.8;
}

.footer-contact-item svg {
  width: 22px;
  height: 22px;
  min-width: 22px;
  min-height: 22px;
  flex-shrink: 0;
  color: var(--brand-secondary);
  margin-top: 3px;
  overflow: visible;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-contact-item span {
  display: block;
  flex: 1;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 48px;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
  color: rgba(255,255,255,0.5);
  font-size: 0.88rem;
  line-height: 1.8;
}

.footer-contact-item svg {
  width: 22px;
  height: 22px;
  min-width: 22px;
  min-height: 22px;
  flex-shrink: 0;
  color: var(--brand-secondary);
  margin-top: 3px;
  overflow: visible;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-contact-item span {
  display: block;
  flex: 1;
}

/* ---- PAGE HEADER (inner pages) ---- */
.page-header { background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand-primary) 100%); padding: 160px 0 80px; position: relative; overflow: hidden; text-align: center; }
.page-header::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='g' width='60' height='60' patternUnits='userSpaceOnUse'%3E%3Cpath d='M30 0v60M0 30h60' stroke='rgba(255,255,255,0.03)' stroke-width='1'/%3E%3C/pattern%3E%3C/defs%3E%3Crect fill='url(%23g)' width='100%25' height='100%25'/%3E%3C/svg%3E"); }
.page-header .container { position: relative; }
.page-header h1 { font-size: clamp(2.2rem, 4vw, 3.2rem); color: white; margin-bottom: 12px; }
.page-header .breadcrumb { font-size: 0.9rem; color: rgba(255,255,255,0.5); }
.page-header .breadcrumb a { color: var(--brand-secondary); }
.page-header .breadcrumb span { margin: 0 8px; }

/* ---- TIMELINE ---- */
.timeline { position: relative; margin-top: 48px; padding-left: 40px; }
.timeline::before { content: ''; position: absolute; left: 15px; top: 0; bottom: 0; width: 2px; background: var(--border-medium); }
.timeline-item { position: relative; margin-bottom: 40px; }
.timeline-item::before { content: ''; position: absolute; left: -33px; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--brand-secondary); border: 3px solid var(--surface-white); box-shadow: var(--shadow-sm); }
.timeline-item h3 { font-size: 1.1rem; color: var(--brand-primary); margin-bottom: 4px; }
.timeline-item p { font-size: 0.9rem; color: var(--text-secondary); }

/* ---- VALUES GRID ---- */
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; margin-top: 40px; }
.value-card { background: var(--surface-off); border-radius: var(--radius-lg); padding: 32px 24px; border: 1px solid var(--border-light); text-align: center; transition: all var(--transition-smooth); }
.value-card:hover { border-color: var(--brand-secondary); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.value-card .value-num { font-family: var(--font-display); font-size: 2.5rem; font-weight: 800; color: rgba(232,116,12,0.15); margin-bottom: 8px; }
.value-card h3 { font-size: 1rem; font-weight: 700; color: var(--brand-primary); margin-bottom: 8px; }
.value-card p { font-size: 0.85rem; color: var(--text-secondary); }

/* ---- CLIENTS ---- */
.clients-showcase { display: flex; justify-content: center; align-items: center; flex-wrap: nowrap; gap: 18px; margin-top: 48px; padding: 40px; background: var(--surface-off); border-radius: var(--radius-xl); overflow-x: auto; }
.client-logo { padding: 14px 22px; white-space: nowrap; background: var(--surface-white); border-radius: var(--radius-md); border: 1px solid var(--border-light); font-family: var(--font-display); font-weight: 700; font-size: 0.92rem; color: var(--text-muted); transition: all var(--transition-smooth); flex-shrink: 0; }
.client-logo:hover { border-color: var(--brand-secondary); color: var(--brand-primary); box-shadow: var(--shadow-sm); }
.client-featured { background: linear-gradient(135deg, var(--brand-primary), #0D3A73); border-radius: var(--radius-xl); padding: 48px; display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: center; margin-top: 48px; }
.client-featured .featured-badge { width: 80px; height: 80px; background: var(--brand-secondary); border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; color: white; }
.client-featured h3 { font-size: 1.3rem; color: white; margin-bottom: 8px; }
.client-featured p { color: rgba(255,255,255,0.6); font-size: 0.9rem; }
.client-featured .since { color: var(--brand-secondary); font-weight: 600; font-size: 0.85rem; margin-top: 8px; }

/* ---- WHATSAPP FLOAT ---- */
.whatsapp-float { position: fixed; bottom: 24px; right: 24px; z-index: 999; width: 56px; height: 56px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(37,211,102,0.4); transition: all var(--transition-smooth); cursor: pointer; }
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 30px rgba(37,211,102,0.5); }
.whatsapp-float svg { width: 28px; height: 28px; fill: white; }

/* ---- MAP ---- */
.map-container { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); margin-top: 32px; }
.map-container iframe { width: 100%; height: 400px; border: 0; }

/* ---- SCROLL ANIMATIONS ---- */

.reveal,
.reveal-left,
.reveal-right {
  opacity: 0;
  will-change: transform, opacity;
}

/* bottom */
.reveal {
  transform: translate3d(0, 40px, 0);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translate3d(0,0,0);
}

/* left */
.reveal-left {
  transform: translate3d(-40px,0,0);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translate3d(0,0,0);
}

/* right */
.reveal-right {
  transform: translate3d(40px,0,0);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translate3d(0,0,0);
}
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* ---- RESPONSIVE ---- */

/* prevent horizontal scroll on small screens */
html,
body{
  width: 100%;
  overflow-x: hidden;
}

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


/*Tablet responsive*/
@media (max-width: 1024px) {
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-grid{
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .hero-stat{
    border-right:none;
    padding:12px 0;
  }

  .clients-showcase{
    gap:20px;
  }
    .industries-grid{
    grid-template-columns: repeat(2,1fr);
  }

/*industires*/
  /* reset positioning */
  .industries-grid .industry-chip:nth-child(5),
  .industries-grid .industry-chip:nth-child(6),
  .industries-grid .industry-chip:nth-child(7){
    grid-column:auto;
  }


  .industries-grid .industry-chip:nth-child(5),
  .industries-grid .industry-chip:nth-child(6),
  .industries-grid .industry-chip:nth-child(7){
    transform:none;
  }
}

.mobile-request-btn {
  display: none;
}


/* Mobile responsive */
@media(max-width: 768px){
  .container{
    padding: 0 18px;
  }

  .section{
    padding: 70px 0;
  }

  .section-sm{
    padding:50px 0;
  }

  /*Navbar*/
  .navbar{
    padding:12px 0;
  }
  .navbar .container{
    position:ralative;
  }

   .nav-links{
    display: none;
  }

  .nav-links.active .mobile-request-btn{
    display:block;
    background:#dc2626;
    color:#fff !important;
    border:2px solid #dc2626;
    padding:14px 18px;
    border-radius:12px;
    font-weight:700;
    font-size:1rem;
    margin-bottom:10px;
    text-decoration:none;
  }

  .nav-links.active .mobile-request-btn:hover{
    background:#b91c1c;
    border-color:#b91c1c;
    color:#fff !important;
  }

  .mobile-toggle{
    display:flex;
  }

  .nav-cta{
    display:none;
  }

  .home-link,
  .about-link,
  .capabilities-link,
  .product-link,
  .contact-link,
  .quality-link,
  .infrastructure-link
  {
    display:none;
  }

  .nav-links.active{
    display:flex;
    flex-direction:column;
    justify-content:center;
    position: absolute;
    top:100%;
    left:16px;
    right:16px;
    background:white;
    padding:20px;
    border-radius:16px;
    box-shadow:var(--shadow-xl);
    gap:3px;
    z-index:999;
    text-align:center;
  }
  .nav-links.active a{
    color: var(--text-primary) !important;
    padding: 14px 16px;
    width: 100%;
    border-radius:10px;
    font-size: 0.95rem;
  }
  .nav-links.active a:hover{
    background: var(--surface-off);
  }
  .navbar{
  transition:
    transform 0.4s ease,
    background 0.4s ease,
    padding 0.4s ease;
}
  .mobile-toggle{
    display:flex;
  }

  .logo-img{
    height:28px;
  }
  .logo-text{
    font-size:6px;
  }

  /*hero*/
  .hero{
    min-height:auto;
  }

  .hero-content{
    padding:120px 0 70px;
  }

  .hero-title{
    font-size: 2rem;
    line-height:1.2;
  }

  .hero-desc{
    font-size:1rem;
    line-height:1.7;
  }
  .hero-actions { 
      display: flex;
       gap: 16px; 
       flex-wrap: wrap; 
       animation: fadeInUp 0.8s ease 0.45s both; }
 
  .hero-stats{
    grid-template-columns: repeat(2, 1fr);
    margin-top:40px;
    padding-top:20px;
    gap: 12px;
  }

  .hero-stat .stat-number {
    font-family: var(--font-display); 
    font-size: 2.5rem; 
    font-weight: 800; 
    color: var(--brand-secondary); 
    line-height: 1;
  }

  .hero-stat .stat-label {
    font-size: 0.92rem;
  }

  /*cards*/

  .capabilities-grid,
  .products-grid,
  .leadership-grid,
  .values-grid{
    grid-template-columns: 1fr;
  }

  .capability-card,
  .value-card,
  .leader-card,
  .contact-form,
  .production-card .card-body{
    padding: 24px;
  }
  
  /* about section */
  .about-image .badge{
    left: 16px;
    bottom: 16px;
    right: 16px;
    padding: 10px 16px;
    width: fit-content;
    text-align: center;
  }

  .about-grid{
    grid-template-columns: 1fr !important;
    gap: 24px;
    margin-bottom: 26px;
  }

  .about-image{
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 18px;
    overflow: hidden;
  }

  .about-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translateZ(0);
    backface-visibility: hidden;
  }

  .quality-text{
    bottom: 14px;
    left: 14px;
    font-size: 12px;
    letter-spacing: 1.5px;
  }

  .about-content h2{
    font-size: 1.7rem;
    line-height: 1.3;
  }

  .about-content p{
    font-size: 0.95rem;
    line-height: 1.8;
  }

  .about-feature{
    padding: 12px 14px;
  }

  .about-feature span{
    font-size: 0.88rem;
  }


  .about-grid .section-title{
    font-size:1.35rem !important;
    margin-bottom:10px;
    line-height:1.3;
  }

  .about-grid .section-subtitle{
    font-size:0.92rem;
    line-height:1.7;
  }

  .about-grid .section-badge{
    font-size:11px;
    padding:5px 14px;
    margin-bottom:14px;
  }

  .about-content h2{
    font-size: 1.8rem;
  }

.cta-section h2{
  font-size: 1.8rem;
  line-height:1.3;
}

/* Keep buttons one below another */
.cta-actions{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:14px;
}

/* Same width buttons */
.cta-actions .btn{
  width:260px;
  justify-content:center;
}

  /* industries */
  .industries-grid{
    grid-template-columns: repeat(2, 1fr);
  }
  .industry-chip{
   padding: 22px 12px;
  }

  .industries-grid{
    grid-template-columns:1fr;
  }


  .industries-grid .industry-chip:nth-child(5),
  .industries-grid .industry-chip:nth-child(6),
  .industries-grid .industry-chip:nth-child(7){
    transform:none;
  }

  /*capabilities table*/
   .machine-table thead th{
    padding:18px 16px;
    font-size:0.82rem;
  }

  .machine-table tbody td{
    padding:18px 16px;
    font-size:0.85rem;
    line-height:4;
  }

  /* clients */

.client-featured{
  grid-template-columns: 1fr;
  text-align:center;
  padding: 32px 24px;
}

.clients-showcase{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:16px;
  flex-wrap:wrap;
}

.client-logo{
  width:220px;
  height:72px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  border-radius:18px;
  background:var(--surface-white);
  border:1px solid var(--border-light);
  font-family:var(--font-display);
  font-weight:700;
  font-size:0.95rem;
  color:var(--text-muted);
  transition:all 0.3s ease;
}

.client-logo:hover{
  transform:translateY(-6px);
  border-color:var(--brand-secondary);
}

/* contact */
  .form-row{
    grid-template-columns: 1fr;
  }

/* First button smaller */
.cta-actions .btn:first-child{
  width: 220px;
}

/* Second button bigger */
.cta-actions .btn:last-child{
  width: 280px;
}

/* footer */
.footer{
  padding: 60px 0 24px;
}

.footer-grid{
  grid-template-columns: 1fr;
  gap: 36px;
}

.footer h4{
  font-size: 1rem;
}

.footer-about p{
  font-size: 0.95rem;
  line-height: 1.8;
}

.footer-links a {
  display: block;
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  font-weight: 500;
  padding: 8px 0;
  transition: all 0.3s ease;
}


/* Mobile touch effect */
.footer-links a:active {
  color: #da251c;
  transform: scale(0.98);
}

.footer-contact-item{
  align-items: center;
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-bottom{
  flex-direction: column;
  gap: 3px;
  text-align: center;
  font-size: 0.8rem;
}

  /* table */
   .machine-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  /* map */
  .map-container iframe {
    height: 500px;
  }
}

/*SMALL MOBILE DEVICES */
@media (max-width: 480px) {

  .logo-text{
    font-size:8px;
  }

  .container {
    padding: 0 16px;
  }

  .section-title {
    font-size: 1.9rem;
  }

  .section-subtitle {
    font-size: 0.95rem;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .hero-desc {
    font-size: 0.95rem;
  }

  .hero-stats {
    grid-template-columns: 1fr 1fr;
  }

  .hero-stat .stat-number {
    font-size: 1.5rem;
  }

  .industries-grid {
    grid-template-columns: 1fr;
  }

  .industry-chip span {
    font-size: 0.82rem;
  }

  .btn {
    padding: 13px 20px;
    font-size: 0.9rem;
  }

  .contact-form {
    padding: 20px;
  }

  .footer-about p,
  .footer-links a,
  .footer-contact-item {
    font-size: 0.82rem;
  }

  /* WhatsApp */

  .whatsapp-float {
    width: 50px;
    height: 50px;
    right: 16px;
    bottom: 16px;
  }

  .whatsapp-float svg {
    width: 24px;
    height: 24px;
  }

}

/* EXTRA SMALL DEVICES */

@media (max-width: 360px) {

    .logo-text{
    font-size:8px;
  }

  .hero-title {
    font-size: 1.6rem;
  }

  .hero-desc {
    font-size: 0.9rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-actions .btn {
    font-size: 0.85rem;
  }
 .footer-about p,
.footer-links a,
.footer-contact-item {
  font-size: 0.9rem;
}
}